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
=5: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 # Runs configure.target, finds CC, CXX and assorted other critical bits.
756 # Must run this before the GLIBCPP_ENABLE_* macros below.
757 if test $host != $build; then
758 ac_tool_prefix=${host_alias}-
763 echo $ac_n "checking
for Cygwin environment
""...
$ac_c" 1>&6
764 echo "configure
:765: checking
for Cygwin environment
" >&5
765 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
766 echo $ac_n "(cached
) $ac_c" 1>&6
768 cat > conftest.$ac_ext <<EOF
769 #line 770 "configure
"
770 #include "confdefs.h
"
775 #define __CYGWIN__ __CYGWIN32__
780 if { (eval echo configure:781: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
784 echo "configure
: failed program was
:" >&5
785 cat conftest.$ac_ext >&5
793 echo "$ac_t""$ac_cv_cygwin" 1>&6
795 test "$ac_cv_cygwin" = yes && CYGWIN=yes
796 echo $ac_n "checking
for mingw32 environment
""...
$ac_c" 1>&6
797 echo "configure
:798: checking
for mingw32 environment
" >&5
798 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
799 echo $ac_n "(cached
) $ac_c" 1>&6
801 cat > conftest.$ac_ext <<EOF
802 #line 803 "configure
"
803 #include "confdefs.h
"
809 if { (eval echo configure:810: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
813 echo "configure
: failed program was
:" >&5
814 cat conftest.$ac_ext >&5
822 echo "$ac_t""$ac_cv_mingw32" 1>&6
824 test "$ac_cv_mingw32" = yes && MINGW32=yes
826 # Export build and source directories.
827 # These need to be absolute paths, yet at the same time need to
828 # canonicalize only relative paths, because then amd will not unmount
829 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
830 glibcpp_builddir=`${PWDCMD-pwd}`
832 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
833 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
840 for ac_prog in gawk mawk nawk awk
842 # Extract the first word of "$ac_prog", so it can be a program name with args.
843 set dummy $ac_prog; ac_word=$2
844 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
845 echo "configure
:846: checking
for $ac_word" >&5
846 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
847 echo $ac_n "(cached
) $ac_c" 1>&6
849 if test -n "$AWK"; then
850 ac_cv_prog_AWK="$AWK" # Let the user override the test.
852 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
854 for ac_dir in $ac_dummy; do
855 test -z "$ac_dir" && ac_dir=.
856 if test -f $ac_dir/$ac_word; then
857 ac_cv_prog_AWK="$ac_prog"
864 AWK="$ac_cv_prog_AWK"
865 if test -n "$AWK"; then
866 echo "$ac_t""$AWK" 1>&6
868 echo "$ac_t""no
" 1>&6
871 test -n "$AWK" && break
874 # Will set LN_S to either 'ln -s' or 'ln'. With autoconf 2.5x, can also
875 # be 'cp -p' if linking isn't available. Uncomment the next line to
876 # force a particular method.
877 #ac_cv_prog_LN_S='cp -p'
878 echo $ac_n "checking whether
ln -s works
""...
$ac_c" 1>&6
879 echo "configure
:880: checking whether
ln -s works
" >&5
880 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
881 echo $ac_n "(cached
) $ac_c" 1>&6
884 if ln -s X conftestdata 2>/dev/null
887 ac_cv_prog_LN_S="ln -s"
892 LN_S="$ac_cv_prog_LN_S"
893 if test "$ac_cv_prog_LN_S" = "ln -s"; then
894 echo "$ac_t""yes" 1>&6
896 echo "$ac_t""no
" 1>&6
900 # We use these options to decide which functions to include.
901 # Check whether --with-target-subdir or --without-target-subdir was given.
902 if test "${with_target_subdir+set}" = set; then
903 withval="$with_target_subdir"
907 # Check whether --with-cross-host or --without-cross-host was given.
908 if test "${with_cross_host+set}" = set; then
909 withval="$with_cross_host"
914 glibcpp_basedir=$srcdir/$toprel/./libstdc++-v3
917 # Never versions of autoconf add an underscore to these functions.
918 # Prevent future problems ...
925 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
926 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
927 # are probably using a cross compiler, which will not be able to fully
928 # link an executable. This is addressed in later versions of autoconf.
933 # Extract the first word of "gcc
", so it can be a program name with args.
934 set dummy gcc; ac_word=$2
935 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
936 echo "configure
:937: checking
for $ac_word" >&5
937 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
938 echo $ac_n "(cached
) $ac_c" 1>&6
940 if test -n "$CC"; then
941 ac_cv_prog_CC="$CC" # Let the user override the test.
943 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
945 for ac_dir in $ac_dummy; do
946 test -z "$ac_dir" && ac_dir=.
947 if test -f $ac_dir/$ac_word; then
956 if test -n "$CC"; then
957 echo "$ac_t""$CC" 1>&6
959 echo "$ac_t""no
" 1>&6
962 if test -z "$CC"; then
963 # Extract the first word of "cc
", so it can be a program name with args.
964 set dummy cc; ac_word=$2
965 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
966 echo "configure
:967: checking
for $ac_word" >&5
967 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
968 echo $ac_n "(cached
) $ac_c" 1>&6
970 if test -n "$CC"; then
971 ac_cv_prog_CC="$CC" # Let the user override the test.
973 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
976 for ac_dir in $ac_dummy; do
977 test -z "$ac_dir" && ac_dir=.
978 if test -f $ac_dir/$ac_word; then
979 if test "$ac_dir/$ac_word" = "/usr
/ucb
/cc
"; then
988 if test $ac_prog_rejected = yes; then
989 # We found a bogon in the path, so make sure we never use it.
990 set dummy $ac_cv_prog_CC
992 if test $# -gt 0; then
993 # We chose a different compiler from the bogus one.
994 # However, it has the same basename, so the bogon will be chosen
995 # first if we set CC to just the basename; use the full file name.
997 set dummy "$ac_dir/$ac_word" "$@
"
1005 if test -n "$CC"; then
1006 echo "$ac_t""$CC" 1>&6
1008 echo "$ac_t""no
" 1>&6
1011 test -z "$CC" && { echo "configure
: error
: no acceptable cc found
in \
$PATH" 1>&2; exit 1; }
1014 echo $ac_n "checking whether we are using GNU C
""...
$ac_c" 1>&6
1015 echo "configure
:1016: checking whether we are using GNU C
" >&5
1016 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1017 echo $ac_n "(cached
) $ac_c" 1>&6
1019 cat > conftest.c <<EOF
1024 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1031 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1033 if test $ac_cv_prog_gcc = yes; then
1035 ac_test_CFLAGS="${CFLAGS+set}"
1036 ac_save_CFLAGS="$CFLAGS"
1038 echo $ac_n "checking whether
${CC-cc} accepts
-g""...
$ac_c" 1>&6
1039 echo "configure
:1040: checking whether
${CC-cc} accepts
-g" >&5
1040 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1041 echo $ac_n "(cached
) $ac_c" 1>&6
1043 echo 'void f(){}' > conftest.c
1044 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1053 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1054 if test "$ac_test_CFLAGS" = set; then
1055 CFLAGS="$ac_save_CFLAGS"
1056 elif test $ac_cv_prog_cc_g = yes; then
1063 test "${CFLAGS+set}" = set || CFLAGS="-g"
1067 # Likewise for AC_PROG_CXX. We can't just call it directly because g++
1068 # will try to link in libstdc++.
1072 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1073 # flags that come in CXX while configuring libstdc++. They're different
1074 # from those used for all other target libraries. If CXX is set in
1075 # the environment, respect that here.
1077 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1079 # Extract the first word of "$ac_prog", so it can be a program name with args.
1080 set dummy $ac_prog; ac_word=$2
1081 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1082 echo "configure
:1083: checking
for $ac_word" >&5
1083 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1084 echo $ac_n "(cached
) $ac_c" 1>&6
1086 if test -n "$glibcpp_CXX"; then
1087 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
1089 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1091 for ac_dir in $ac_dummy; do
1092 test -z "$ac_dir" && ac_dir=.
1093 if test -f $ac_dir/$ac_word; then
1094 ac_cv_prog_glibcpp_CXX="$ac_prog"
1101 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1102 if test -n "$glibcpp_CXX"; then
1103 echo "$ac_t""$glibcpp_CXX" 1>&6
1105 echo "$ac_t""no
" 1>&6
1108 test -n "$glibcpp_CXX" && break
1110 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc
"
1114 test -z "$glibcpp_CXX" && { echo "configure
: error
: no acceptable c
++ found
in \
$PATH" 1>&2; exit 1; }
1116 echo $ac_n "checking whether we are using GNU C
++""...
$ac_c" 1>&6
1117 echo "configure
:1118: checking whether we are using GNU C
++" >&5
1118 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1119 echo $ac_n "(cached
) $ac_c" 1>&6
1121 cat > conftest.C <<EOF
1126 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1127: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1133 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1135 if test $ac_cv_prog_gxx = yes; then
1137 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1138 ac_save_CXXFLAGS="$CXXFLAGS"
1140 echo $ac_n "checking whether
${CXX-g++} accepts
-g""...
$ac_c" 1>&6
1141 echo "configure
:1142: checking whether
${CXX-g++} accepts
-g" >&5
1142 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1143 echo $ac_n "(cached
) $ac_c" 1>&6
1145 echo 'void f(){}' > conftest.cc
1146 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1147 ac_cv_prog_cxx_g=yes
1155 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1156 if test "$ac_test_CXXFLAGS" = set; then
1157 CXXFLAGS="$ac_save_CXXFLAGS"
1158 elif test $ac_cv_prog_cxx_g = yes; then
1165 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1169 # For directory versioning (e.g., headers) and other variables.
1170 echo $ac_n "checking
for GCC version number
""...
$ac_c" 1>&6
1171 echo "configure
:1172: checking
for GCC version number
" >&5
1172 gcc_version=`$glibcpp_CXX -dumpversion`
1173 echo "$ac_t""$gcc_version" 1>&6
1175 # For some reason, gettext needs this.
1177 echo $ac_n "checking
for strerror
in -lcposix""...
$ac_c" 1>&6
1178 echo "configure
:1179: checking
for strerror
in -lcposix" >&5
1179 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
1180 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1181 echo $ac_n "(cached
) $ac_c" 1>&6
1183 ac_save_LIBS="$LIBS"
1184 LIBS="-lcposix $LIBS"
1185 cat > conftest.$ac_ext <<EOF
1186 #line 1187 "configure
"
1187 #include "confdefs.h
"
1188 /* Override any gcc2 internal prototype to avoid an error. */
1189 /* We use char because int might match the return type of a gcc2
1190 builtin and then its argument prototype would still apply. */
1197 if { (eval echo configure:1198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1199 eval "ac_cv_lib_
$ac_lib_var=yes"
1201 echo "configure
: failed program was
:" >&5
1202 cat conftest.$ac_ext >&5
1204 eval "ac_cv_lib_
$ac_lib_var=no
"
1207 LIBS="$ac_save_LIBS"
1210 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1211 echo "$ac_t""yes" 1>&6
1212 LIBS="$LIBS -lcposix"
1214 echo "$ac_t""no
" 1>&6
1220 # Extract the first word of "${ac_tool_prefix}as
", so it can be a program name with args.
1221 set dummy ${ac_tool_prefix}as; ac_word=$2
1222 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1223 echo "configure
:1224: checking
for $ac_word" >&5
1224 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1225 echo $ac_n "(cached
) $ac_c" 1>&6
1227 if test -n "$AS"; then
1228 ac_cv_prog_AS="$AS" # Let the user override the test.
1230 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1232 for ac_dir in $ac_dummy; do
1233 test -z "$ac_dir" && ac_dir=.
1234 if test -f $ac_dir/$ac_word; then
1235 ac_cv_prog_AS="${ac_tool_prefix}as
"
1240 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as
"
1244 if test -n "$AS"; then
1245 echo "$ac_t""$AS" 1>&6
1247 echo "$ac_t""no
" 1>&6
1252 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1253 set dummy ${ac_tool_prefix}ar; ac_word=$2
1254 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1255 echo "configure
:1256: checking
for $ac_word" >&5
1256 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1257 echo $ac_n "(cached
) $ac_c" 1>&6
1259 if test -n "$AR"; then
1260 ac_cv_prog_AR="$AR" # Let the user override the test.
1262 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1264 for ac_dir in $ac_dummy; do
1265 test -z "$ac_dir" && ac_dir=.
1266 if test -f $ac_dir/$ac_word; then
1267 ac_cv_prog_AR="${ac_tool_prefix}ar"
1272 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1276 if test -n "$AR"; then
1277 echo "$ac_t""$AR" 1>&6
1279 echo "$ac_t""no
" 1>&6
1284 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
1285 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1286 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1287 echo "configure
:1288: checking
for $ac_word" >&5
1288 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1289 echo $ac_n "(cached
) $ac_c" 1>&6
1291 if test -n "$RANLIB"; then
1292 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1294 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1296 for ac_dir in $ac_dummy; do
1297 test -z "$ac_dir" && ac_dir=.
1298 if test -f $ac_dir/$ac_word; then
1299 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
1306 RANLIB="$ac_cv_prog_RANLIB"
1307 if test -n "$RANLIB"; then
1308 echo "$ac_t""$RANLIB" 1>&6
1310 echo "$ac_t""no
" 1>&6
1314 if test -z "$ac_cv_prog_RANLIB"; then
1315 if test -n "$ac_tool_prefix"; then
1316 # Extract the first word of "ranlib
", so it can be a program name with args.
1317 set dummy ranlib; ac_word=$2
1318 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1319 echo "configure
:1320: checking
for $ac_word" >&5
1320 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1321 echo $ac_n "(cached
) $ac_c" 1>&6
1323 if test -n "$RANLIB"; then
1324 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1326 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1328 for ac_dir in $ac_dummy; do
1329 test -z "$ac_dir" && ac_dir=.
1330 if test -f $ac_dir/$ac_word; then
1331 ac_cv_prog_RANLIB="ranlib
"
1336 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error
"
1339 RANLIB="$ac_cv_prog_RANLIB"
1340 if test -n "$RANLIB"; then
1341 echo "$ac_t""$RANLIB" 1>&6
1343 echo "$ac_t""no
" 1>&6
1347 RANLIB="ranlib-not-found-in-path-error
"
1351 # Find a good install program. We prefer a C program (faster),
1352 # so one script is as good as another. But avoid the broken or
1353 # incompatible versions:
1354 # SysV /etc/install, /usr/sbin/install
1355 # SunOS /usr/etc/install
1356 # IRIX /sbin/install
1358 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1359 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1360 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
1361 # ./install, which can be erroneously created by make from ./install.sh.
1362 echo $ac_n "checking
for a BSD compatible
install""...
$ac_c" 1>&6
1363 echo "configure
:1364: checking
for a BSD compatible
install" >&5
1364 if test -z "$INSTALL"; then
1365 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1366 echo $ac_n "(cached
) $ac_c" 1>&6
1368 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1369 for ac_dir in $PATH; do
1370 # Account for people who put trailing slashes in PATH elements.
1372 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1374 # OSF1 and SCO ODT 3.0 have their own names for install.
1375 # Don't use installbsd from OSF since it installs stuff as root
1377 for ac_prog in ginstall scoinst install; do
1378 if test -f $ac_dir/$ac_prog; then
1379 if test $ac_prog = install &&
1380 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1381 # AIX install. It has an incompatible calling convention.
1384 ac_cv_path_install="$ac_dir/$ac_prog -c"
1395 if test "${ac_cv_path_install+set}" = set; then
1396 INSTALL="$ac_cv_path_install"
1398 # As a last resort, use the slow shell script. We don't cache a
1399 # path for INSTALL within a source directory, because that will
1400 # break other packages using the cache if that directory is
1401 # removed, or if the path is relative.
1402 INSTALL="$ac_install_sh"
1405 echo "$ac_t""$INSTALL" 1>&6
1407 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1408 # It thinks the first close brace ends the variable substitution.
1409 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1411 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1413 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1416 echo $ac_n "checking whether to
enable maintainer-specific portions of Makefiles
""...
$ac_c" 1>&6
1417 echo "configure
:1418: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
1418 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1419 if test "${enable_maintainer_mode+set}" = set; then
1420 enableval="$enable_maintainer_mode"
1421 USE_MAINTAINER_MODE=$enableval
1423 USE_MAINTAINER_MODE=no
1426 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1429 if test $USE_MAINTAINER_MODE = yes; then
1430 MAINTAINER_MODE_TRUE=
1431 MAINTAINER_MODE_FALSE='#'
1433 MAINTAINER_MODE_TRUE='#'
1434 MAINTAINER_MODE_FALSE=
1436 MAINT=$MAINTAINER_MODE_TRUE
1440 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1441 # at least currently, we never actually build a program, so we never
1442 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1443 # fails, because we are probably configuring with a cross compiler
1444 # which can't create executables. So we include AC_EXEEXT to keep
1445 # automake happy, but we don't execute it, since we don't care about
1448 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1449 # to nothing, so nothing would remain between `then' and `fi' if it
1450 # were not for the `:' below.
1454 echo $ac_n "checking
for executable suffix
""...
$ac_c" 1>&6
1455 echo "configure
:1456: checking
for executable suffix
" >&5
1456 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1457 echo $ac_n "(cached
) $ac_c" 1>&6
1459 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1463 echo 'int main () { return 0; }' > conftest.$ac_ext
1465 if { (eval echo configure:1466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1466 for file in conftest.*; do
1468 *.c | *.o | *.obj) ;;
1469 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1473 { echo "configure
: error
: installation or configuration problem
: compiler cannot create executables.
" 1>&2; exit 1; }
1476 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1481 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1482 echo "$ac_t""${ac_cv_exeext}" 1>&6
1487 case ${glibcpp_basedir} in
1488 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1489 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1492 # Find platform-specific directories containing configuration info. In
1493 # addition to possibly modifying the same flags, it also sets up symlinks.
1495 . ${glibcpp_basedir}/configure.target
1496 echo "$ac_t""CPU config directory is
$cpu_include_dir" 1>&6
1497 echo "$ac_t""OS config directory is
$os_include_dir" 1>&6
1501 echo $ac_n "checking whether build environment is sane
""...
$ac_c" 1>&6
1502 echo "configure
:1503: checking whether build environment is sane
" >&5
1505 echo timestamp > conftestfile
1506 # Do `set' in a subshell so we don't clobber the current shell's
1507 # arguments. Must try -L first in case configure is actually a
1508 # symlink; some systems play weird games with the mod time of symlinks
1509 # (eg FreeBSD returns the mod time of the symlink's containing
1512 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1513 if test "$
*" = "X
"; then
1515 set X `ls -t $srcdir/configure conftestfile`
1517 if test "$
*" != "X
$srcdir/configure conftestfile
" \
1518 && test "$
*" != "X conftestfile
$srcdir/configure
"; then
1520 # If neither matched, then we have a broken ls. This can happen
1521 # if, for instance, CONFIG_SHELL is bash and it inherits a
1522 # broken ls alias from the environment. This has actually
1523 # happened. Such a system could not be considered "sane
".
1524 { echo "configure
: error
: ls -t appears to fail. Make sure there is not a broken
1525 alias in your environment
" 1>&2; exit 1; }
1528 test "$2" = conftestfile
1534 { echo "configure
: error
: newly created
file is older than distributed files
!
1535 Check your system
clock" 1>&2; exit 1; }
1538 echo "$ac_t""yes" 1>&6
1539 if test "$program_transform_name" = s,x,x,; then
1540 program_transform_name=
1542 # Double any \ or $. echo might interpret backslashes.
1543 cat <<\EOF_SED > conftestsed
1544 s,\\,\\\\,g; s,\$,$$,g
1546 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
1549 test "$program_prefix" != NONE &&
1550 program_transform_name="s
,^
,${program_prefix},; $program_transform_name"
1551 # Use a double $ so make ignores it.
1552 test "$program_suffix" != NONE &&
1553 program_transform_name="s
,\$\$
,${program_suffix},; $program_transform_name"
1555 # sed with no file args requires a program.
1556 test "$program_transform_name" = "" && program_transform_name="s
,x
,x
,"
1558 echo $ac_n "checking whether
${MAKE-make} sets \
${MAKE}""...
$ac_c" 1>&6
1559 echo "configure
:1560: checking whether
${MAKE-make} sets \
${MAKE}" >&5
1560 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
1561 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
1562 echo $ac_n "(cached
) $ac_c" 1>&6
1564 cat > conftestmake <<\EOF
1566 @echo 'ac_maketemp="${MAKE}"'
1568 # GNU make sometimes prints "make[1]: Entering...
", which would confuse us.
1569 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
1570 if test -n "$ac_maketemp"; then
1571 eval ac_cv_prog_make_${ac_make}_set=yes
1573 eval ac_cv_prog_make_${ac_make}_set=no
1577 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1578 echo "$ac_t""yes" 1>&6
1581 echo "$ac_t""no
" 1>&6
1582 SET_MAKE="MAKE
=${MAKE-make}"
1588 VERSION=$gcc_version
1590 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1591 { echo "configure
: error
: source directory already configured
; run
"make distclean" there first
" 1>&2; exit 1; }
1593 cat >> confdefs.h <<EOF
1594 #define PACKAGE "$PACKAGE"
1597 cat >> confdefs.h <<EOF
1598 #define VERSION "$VERSION"
1603 missing_dir=`cd $ac_aux_dir && pwd`
1604 echo $ac_n "checking
for working aclocal
""...
$ac_c" 1>&6
1605 echo "configure
:1606: checking
for working aclocal
" >&5
1606 # Run test in a subshell; some versions of sh will print an error if
1607 # an executable is not found, even if stderr is redirected.
1608 # Redirect stdin to placate older versions of autoconf. Sigh.
1609 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
1611 echo "$ac_t""found
" 1>&6
1613 ACLOCAL="$missing_dir/missing aclocal
"
1614 echo "$ac_t""missing
" 1>&6
1617 echo $ac_n "checking
for working autoconf
""...
$ac_c" 1>&6
1618 echo "configure
:1619: checking
for working autoconf
" >&5
1619 # Run test in a subshell; some versions of sh will print an error if
1620 # an executable is not found, even if stderr is redirected.
1621 # Redirect stdin to placate older versions of autoconf. Sigh.
1622 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1624 echo "$ac_t""found
" 1>&6
1626 AUTOCONF="$missing_dir/missing autoconf
"
1627 echo "$ac_t""missing
" 1>&6
1630 echo $ac_n "checking
for working automake
""...
$ac_c" 1>&6
1631 echo "configure
:1632: checking
for working automake
" >&5
1632 # Run test in a subshell; some versions of sh will print an error if
1633 # an executable is not found, even if stderr is redirected.
1634 # Redirect stdin to placate older versions of autoconf. Sigh.
1635 if (automake --version) < /dev/null > /dev/null 2>&1; then
1637 echo "$ac_t""found
" 1>&6
1639 AUTOMAKE="$missing_dir/missing automake
"
1640 echo "$ac_t""missing
" 1>&6
1643 echo $ac_n "checking
for working autoheader
""...
$ac_c" 1>&6
1644 echo "configure
:1645: checking
for working autoheader
" >&5
1645 # Run test in a subshell; some versions of sh will print an error if
1646 # an executable is not found, even if stderr is redirected.
1647 # Redirect stdin to placate older versions of autoconf. Sigh.
1648 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1649 AUTOHEADER=autoheader
1650 echo "$ac_t""found
" 1>&6
1652 AUTOHEADER="$missing_dir/missing autoheader
"
1653 echo "$ac_t""missing
" 1>&6
1656 echo $ac_n "checking
for working makeinfo
""...
$ac_c" 1>&6
1657 echo "configure
:1658: checking
for working makeinfo
" >&5
1658 # Run test in a subshell; some versions of sh will print an error if
1659 # an executable is not found, even if stderr is redirected.
1660 # Redirect stdin to placate older versions of autoconf. Sigh.
1661 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1663 echo "$ac_t""found
" 1>&6
1665 MAKEINFO="$missing_dir/missing makeinfo
"
1666 echo "$ac_t""missing
" 1>&6
1675 # Check whether --enable-shared or --disable-shared was given.
1676 if test "${enable_shared+set}" = set; then
1677 enableval="$enable_shared"
1678 p=${PACKAGE-default}
1680 yes) enable_shared=yes ;;
1681 no) enable_shared=no ;;
1684 # Look at the argument we got. We use all the common list separators.
1685 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1686 for pkg in $enableval; do
1687 if test "X
$pkg" = "X
$p"; then
1698 # Check whether --enable-static or --disable-static was given.
1699 if test "${enable_static+set}" = set; then
1700 enableval="$enable_static"
1701 p=${PACKAGE-default}
1703 yes) enable_static=yes ;;
1704 no) enable_static=no ;;
1707 # Look at the argument we got. We use all the common list separators.
1708 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1709 for pkg in $enableval; do
1710 if test "X
$pkg" = "X
$p"; then
1721 # Check whether --enable-fast-install or --disable-fast-install was given.
1722 if test "${enable_fast_install+set}" = set; then
1723 enableval="$enable_fast_install"
1724 p=${PACKAGE-default}
1726 yes) enable_fast_install=yes ;;
1727 no) enable_fast_install=no ;;
1729 enable_fast_install=no
1730 # Look at the argument we got. We use all the common list separators.
1731 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1732 for pkg in $enableval; do
1733 if test "X
$pkg" = "X
$p"; then
1734 enable_fast_install=yes
1741 enable_fast_install=yes
1744 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1745 if test "${with_gnu_ld+set}" = set; then
1746 withval="$with_gnu_ld"
1747 test "$withval" = no || with_gnu_ld=yes
1753 if test "$GCC" = yes; then
1754 # Check if gcc -print-prog-name=ld gives a path.
1755 echo $ac_n "checking
for ld used by GCC
""...
$ac_c" 1>&6
1756 echo "configure
:1757: checking
for ld used by GCC
" >&5
1759 # gcc leaves a trailing carriage return which upsets mingw
1760 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1762 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1765 # Accept absolute paths.
1766 [\\/]* | [A-Za-z]:[\\/]*)
1767 re_direlt='/[^/][^/]*/\.\./'
1768 # Canonicalize the path of ld
1769 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1770 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1771 ac_prog=`echo $ac_prog| sed "s
%$re_direlt%/%"`
1773 test -z "$LD" && LD="$ac_prog"
1776 # If it fails, then pretend we aren't using GCC.
1780 # If it is relative, then search for the first ld in PATH.
1784 elif test "$with_gnu_ld" = yes; then
1785 echo $ac_n "checking
for GNU ld
""...
$ac_c" 1>&6
1786 echo "configure
:1787: checking
for GNU ld
" >&5
1788 echo $ac_n "checking
for non-GNU ld
""...
$ac_c" 1>&6
1789 echo "configure
:1790: checking
for non-GNU ld
" >&5
1791 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1792 echo $ac_n "(cached
) $ac_c" 1>&6
1794 if test -z "$LD"; then
1795 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1796 for ac_dir in $PATH; do
1797 test -z "$ac_dir" && ac_dir=.
1798 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1799 lt_cv_path_LD="$ac_dir/$ac_prog"
1800 # Check to see if the program is GNU ld. I'd rather use --version,
1801 # but apparently some GNU ld's only accept -v.
1802 # Break only if it was the GNU/non-GNU ld that we prefer.
1803 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1804 test "$with_gnu_ld" != no && break
1806 test "$with_gnu_ld" != yes && break
1812 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1817 if test -n "$LD"; then
1818 echo "$ac_t""$LD" 1>&6
1820 echo "$ac_t""no
" 1>&6
1822 test -z "$LD" && { echo "configure
: error
: no acceptable ld found
in \
$PATH" 1>&2; exit 1; }
1823 echo $ac_n "checking
if the linker
($LD) is GNU ld
""...
$ac_c" 1>&6
1824 echo "configure
:1825: checking
if the linker
($LD) is GNU ld
" >&5
1825 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1826 echo $ac_n "(cached
) $ac_c" 1>&6
1828 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1829 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1830 lt_cv_prog_gnu_ld=yes
1832 lt_cv_prog_gnu_ld=no
1836 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1837 with_gnu_ld=$lt_cv_prog_gnu_ld
1840 echo $ac_n "checking
for $LD option to reload object files
""...
$ac_c" 1>&6
1841 echo "configure
:1842: checking
for $LD option to reload object files
" >&5
1842 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1843 echo $ac_n "(cached
) $ac_c" 1>&6
1845 lt_cv_ld_reload_flag='-r'
1848 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1849 reload_flag=$lt_cv_ld_reload_flag
1850 test -n "$reload_flag" && reload_flag=" $reload_flag"
1852 echo $ac_n "checking
for BSD-compatible nm
""...
$ac_c" 1>&6
1853 echo "configure
:1854: checking
for BSD-compatible nm
" >&5
1854 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1855 echo $ac_n "(cached
) $ac_c" 1>&6
1857 if test -n "$NM"; then
1858 # Let the user override the test.
1861 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1862 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1863 test -z "$ac_dir" && ac_dir=.
1864 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1865 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1866 # Check to see if the nm accepts a BSD-compat flag.
1867 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1868 # nm: unknown option "B
" ignored
1869 # Tru64's nm complains that /dev/null is an invalid object file
1870 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1871 lt_cv_path_NM="$tmp_nm -B"
1873 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1874 lt_cv_path_NM="$tmp_nm -p"
1877 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1878 continue # so that we can try to find one that supports BSD flags
1883 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1888 echo "$ac_t""$NM" 1>&6
1890 echo $ac_n "checking how to recognise dependant libraries
""...
$ac_c" 1>&6
1891 echo "configure
:1892: checking how to recognise dependant libraries
" >&5
1892 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1893 echo $ac_n "(cached
) $ac_c" 1>&6
1895 lt_cv_file_magic_cmd='$MAGIC_CMD'
1896 lt_cv_file_magic_test_file=
1897 lt_cv_deplibs_check_method='unknown'
1898 # Need to set the preceding variable on all platforms that support
1899 # interlibrary dependencies.
1900 # 'none' -- dependencies not supported.
1901 # `unknown' -- same as none, but documents that we really don't know.
1902 # 'pass_all' -- all dependencies passed with no checks.
1903 # 'test_compile' -- check by making test program.
1904 # 'file_magic [regex]' -- check by looking for files in library path
1905 # which responds to the $file_magic_cmd with a given egrep regex.
1906 # If you have `file' or equivalent on your system and you're not sure
1907 # whether `pass_all' will *always* work, you probably want this one.
1911 lt_cv_deplibs_check_method=pass_all
1915 lt_cv_deplibs_check_method=pass_all
1919 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1920 lt_cv_file_magic_cmd='/usr/bin/file -L'
1921 lt_cv_file_magic_test_file=/shlib/libc.so
1924 cygwin* | mingw* |pw32*)
1925 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1926 lt_cv_file_magic_cmd='$OBJDUMP -f'
1929 darwin* | rhapsody*)
1930 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1931 lt_cv_file_magic_cmd='/usr/bin/file -L'
1933 rhapsody* | darwin1.012)
1934 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
1937 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
1943 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1946 # Not sure whether the presence of OpenBSD here was a mistake.
1947 # Let's accept both of them until this is cleared up.
1948 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1949 lt_cv_file_magic_cmd=/usr/bin/file
1950 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1954 lt_cv_deplibs_check_method=pass_all
1959 lt_cv_deplibs_check_method=pass_all
1965 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1966 lt_cv_file_magic_cmd=/usr/bin/file
1967 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1970 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
1971 lt_cv_file_magic_cmd=/usr/bin/file
1972 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
1980 # this will be overridden with pass_all, but let us keep it just in case
1981 lt_cv_deplibs_check_method="file_magic ELF
32-bit MSB dynamic lib MIPS
- version
1"
1985 *-32|*"-32 ") libmagic=32-bit;;
1986 *-n32|*"-n32 ") libmagic=N32;;
1987 *-64|*"-64 ") libmagic=64-bit;;
1988 *) libmagic=never-match;;
1990 # this will be overridden with pass_all, but let us keep it just in case
1991 lt_cv_deplibs_check_method="file_magic ELF
${libmagic} MSB mips-
[1234] dynamic lib MIPS
- version
1"
1994 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
1995 lt_cv_deplibs_check_method=pass_all
1998 # This must be Linux ELF.
2001 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
2002 lt_cv_deplibs_check_method=pass_all ;;
2004 # glibc up to 2.1.1 does not perform some relocations on ARM
2005 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2007 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2011 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2012 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2014 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2019 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2020 lt_cv_file_magic_cmd=/usr/bin/file
2021 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2024 osf3* | osf4* | osf5*)
2025 # this will be overridden with pass_all, but let us keep it just in case
2026 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2027 lt_cv_file_magic_test_file=/shlib/libc.so
2028 lt_cv_deplibs_check_method=pass_all
2032 lt_cv_deplibs_check_method=pass_all
2036 lt_cv_deplibs_check_method=pass_all
2037 lt_cv_file_magic_test_file=/lib/libc.so
2040 sysv5uw[78]* | sysv4*uw2*)
2041 lt_cv_deplibs_check_method=pass_all
2044 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2045 case $host_vendor in
2047 lt_cv_deplibs_check_method=pass_all
2050 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]'
2051 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2059 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2060 file_magic_cmd=$lt_cv_file_magic_cmd
2061 deplibs_check_method=$lt_cv_deplibs_check_method
2063 echo $ac_n "checking
for object suffix
""...
$ac_c" 1>&6
2064 echo "configure
:2065: checking
for object suffix
" >&5
2065 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2066 echo $ac_n "(cached
) $ac_c" 1>&6
2069 echo 'int i = 1;' > conftest.$ac_ext
2070 if { (eval echo configure:2071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2071 for ac_file in conftest.*; do
2074 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2078 { echo "configure
: error
: installation or configuration problem
; compiler does not work
" 1>&2; exit 1; }
2083 echo "$ac_t""$ac_cv_objext" 1>&6
2084 OBJEXT=$ac_cv_objext
2085 ac_objext=$ac_cv_objext
2087 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2089 # Only perform the check for file, if the check method requires it
2090 case $deplibs_check_method in
2092 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2093 echo $ac_n "checking
for ${ac_tool_prefix}file""...
$ac_c" 1>&6
2094 echo "configure
:2095: checking
for ${ac_tool_prefix}file" >&5
2095 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2096 echo $ac_n "(cached
) $ac_c" 1>&6
2100 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2103 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2106 ac_save_MAGIC_CMD="$MAGIC_CMD"
2107 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2108 ac_dummy="/usr
/bin
:$PATH"
2109 for ac_dir in $ac_dummy; do
2110 test -z "$ac_dir" && ac_dir=.
2111 if test -f $ac_dir/${ac_tool_prefix}file; then
2112 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2113 if test -n "$file_magic_test_file"; then
2114 case $deplibs_check_method in
2116 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2117 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2118 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2119 egrep "$file_magic_regex" > /dev/null; then
2124 *** Warning: the command libtool uses to detect shared libraries,
2125 *** $file_magic_cmd, produces output that libtool cannot recognize.
2126 *** The result is that libtool may fail to recognize shared libraries
2127 *** as such. This will affect the creation of libtool libraries that
2128 *** depend on shared libraries, but programs linked with such libtool
2129 *** libraries will work regardless of this problem. Nevertheless, you
2130 *** may want to report the problem to your system manager and/or to
2131 *** bug-libtool@gnu.org
2141 MAGIC_CMD="$ac_save_MAGIC_CMD"
2146 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2147 if test -n "$MAGIC_CMD"; then
2148 echo "$ac_t""$MAGIC_CMD" 1>&6
2150 echo "$ac_t""no
" 1>&6
2153 if test -z "$lt_cv_path_MAGIC_CMD"; then
2154 if test -n "$ac_tool_prefix"; then
2155 echo $ac_n "checking
for file""...
$ac_c" 1>&6
2156 echo "configure
:2157: checking
for file" >&5
2157 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2158 echo $ac_n "(cached
) $ac_c" 1>&6
2162 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2165 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2168 ac_save_MAGIC_CMD="$MAGIC_CMD"
2169 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2170 ac_dummy="/usr
/bin
:$PATH"
2171 for ac_dir in $ac_dummy; do
2172 test -z "$ac_dir" && ac_dir=.
2173 if test -f $ac_dir/file; then
2174 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2175 if test -n "$file_magic_test_file"; then
2176 case $deplibs_check_method in
2178 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2179 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2180 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2181 egrep "$file_magic_regex" > /dev/null; then
2186 *** Warning: the command libtool uses to detect shared libraries,
2187 *** $file_magic_cmd, produces output that libtool cannot recognize.
2188 *** The result is that libtool may fail to recognize shared libraries
2189 *** as such. This will affect the creation of libtool libraries that
2190 *** depend on shared libraries, but programs linked with such libtool
2191 *** libraries will work regardless of this problem. Nevertheless, you
2192 *** may want to report the problem to your system manager and/or to
2193 *** bug-libtool@gnu.org
2203 MAGIC_CMD="$ac_save_MAGIC_CMD"
2208 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2209 if test -n "$MAGIC_CMD"; then
2210 echo "$ac_t""$MAGIC_CMD" 1>&6
2212 echo "$ac_t""no
" 1>&6
2224 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
2225 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2226 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2227 echo "configure
:2228: checking
for $ac_word" >&5
2228 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2229 echo $ac_n "(cached
) $ac_c" 1>&6
2231 if test -n "$RANLIB"; then
2232 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2234 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2236 for ac_dir in $ac_dummy; do
2237 test -z "$ac_dir" && ac_dir=.
2238 if test -f $ac_dir/$ac_word; then
2239 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
2246 RANLIB="$ac_cv_prog_RANLIB"
2247 if test -n "$RANLIB"; then
2248 echo "$ac_t""$RANLIB" 1>&6
2250 echo "$ac_t""no
" 1>&6
2254 if test -z "$ac_cv_prog_RANLIB"; then
2255 if test -n "$ac_tool_prefix"; then
2256 # Extract the first word of "ranlib
", so it can be a program name with args.
2257 set dummy ranlib; ac_word=$2
2258 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2259 echo "configure
:2260: checking
for $ac_word" >&5
2260 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2261 echo $ac_n "(cached
) $ac_c" 1>&6
2263 if test -n "$RANLIB"; then
2264 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2266 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2268 for ac_dir in $ac_dummy; do
2269 test -z "$ac_dir" && ac_dir=.
2270 if test -f $ac_dir/$ac_word; then
2271 ac_cv_prog_RANLIB="ranlib
"
2276 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2279 RANLIB="$ac_cv_prog_RANLIB"
2280 if test -n "$RANLIB"; then
2281 echo "$ac_t""$RANLIB" 1>&6
2283 echo "$ac_t""no
" 1>&6
2291 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
2292 set dummy ${ac_tool_prefix}strip; ac_word=$2
2293 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2294 echo "configure
:2295: checking
for $ac_word" >&5
2295 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2296 echo $ac_n "(cached
) $ac_c" 1>&6
2298 if test -n "$STRIP"; then
2299 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2301 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2303 for ac_dir in $ac_dummy; do
2304 test -z "$ac_dir" && ac_dir=.
2305 if test -f $ac_dir/$ac_word; then
2306 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
2313 STRIP="$ac_cv_prog_STRIP"
2314 if test -n "$STRIP"; then
2315 echo "$ac_t""$STRIP" 1>&6
2317 echo "$ac_t""no
" 1>&6
2321 if test -z "$ac_cv_prog_STRIP"; then
2322 if test -n "$ac_tool_prefix"; then
2323 # Extract the first word of "strip
", so it can be a program name with args.
2324 set dummy strip; ac_word=$2
2325 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2326 echo "configure
:2327: checking
for $ac_word" >&5
2327 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2328 echo $ac_n "(cached
) $ac_c" 1>&6
2330 if test -n "$STRIP"; then
2331 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2333 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2335 for ac_dir in $ac_dummy; do
2336 test -z "$ac_dir" && ac_dir=.
2337 if test -f $ac_dir/$ac_word; then
2338 ac_cv_prog_STRIP="strip
"
2343 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2346 STRIP="$ac_cv_prog_STRIP"
2347 if test -n "$STRIP"; then
2348 echo "$ac_t""$STRIP" 1>&6
2350 echo "$ac_t""no
" 1>&6
2359 # Check for any special flags to pass to ltconfig.
2360 libtool_flags="--cache-file=$cache_file"
2361 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2362 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2363 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2364 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2365 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2366 libtool_flags="$libtool_flags --enable-dlopen"
2368 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2369 if test "${enable_libtool_lock+set}" = set; then
2370 enableval="$enable_libtool_lock"
2374 test "x
$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2375 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2377 # Check whether --with-pic or --without-pic was given.
2378 if test "${with_pic+set}" = set; then
2385 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2386 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2388 # Some flags need to be propagated to the compiler or linker for good
2392 # Find out which ABI we are using.
2393 echo '#line 2394 "configure
"' > conftest.$ac_ext
2394 if { (eval echo configure:2395: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2395 case `/usr/bin/file conftest.$ac_objext` in
2411 # Find out which ABI we are using.
2412 echo 'int i;' > conftest.$ac_ext
2413 if { (eval echo configure:2414: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2414 case "`/usr/bin/file conftest.o`" in
2427 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2428 SAVE_CFLAGS="$CFLAGS"
2429 CFLAGS="$CFLAGS -belf"
2430 echo $ac_n "checking whether the C compiler needs
-belf""...
$ac_c" 1>&6
2431 echo "configure
:2432: checking whether the C compiler needs
-belf" >&5
2432 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2433 echo $ac_n "(cached
) $ac_c" 1>&6
2437 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2438 ac_cpp='$CPP $CPPFLAGS'
2439 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2440 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2441 cross_compiling=$ac_cv_prog_cc_cross
2443 cat > conftest.$ac_ext <<EOF
2444 #line 2445 "configure
"
2445 #include "confdefs.h
"
2451 if { (eval echo configure:2452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2453 lt_cv_cc_needs_belf=yes
2455 echo "configure
: failed program was
:" >&5
2456 cat conftest.$ac_ext >&5
2458 lt_cv_cc_needs_belf=no
2462 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2463 ac_cpp='$CPP $CPPFLAGS'
2464 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2465 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2466 cross_compiling=$ac_cv_prog_cc_cross
2470 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2471 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2472 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2473 CFLAGS="$SAVE_CFLAGS"
2480 echo $ac_n "checking how to run the C
++ preprocessor
""...
$ac_c" 1>&6
2481 echo "configure
:2482: checking how to run the C
++ preprocessor
" >&5
2482 if test -z "$CXXCPP"; then
2483 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2484 echo $ac_n "(cached
) $ac_c" 1>&6
2487 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2488 ac_cpp='$CXXCPP $CPPFLAGS'
2489 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2490 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2491 cross_compiling=$ac_cv_prog_cxx_cross
2492 CXXCPP="${CXX-g++} -E"
2493 cat > conftest.$ac_ext <<EOF
2494 #line 2495 "configure
"
2495 #include "confdefs.h
"
2498 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2499 { (eval echo configure:2500: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2500 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2501 if test -z "$ac_err"; then
2505 echo "configure
: failed program was
:" >&5
2506 cat conftest.$ac_ext >&5
2511 ac_cv_prog_CXXCPP="$CXXCPP"
2513 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2514 ac_cpp='$CPP $CPPFLAGS'
2515 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2516 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2517 cross_compiling=$ac_cv_prog_cc_cross
2520 CXXCPP="$ac_cv_prog_CXXCPP"
2521 echo "$ac_t""$CXXCPP" 1>&6
2524 # Save cache, so that ltconfig can load it
2525 cat > confcache <<\EOF
2526 # This file is a shell script that caches the results of configure
2527 # tests run on this system so they can be shared between configure
2528 # scripts and configure runs. It is not useful on other systems.
2529 # If it contains results you don't want to keep, you may remove or edit it.
2531 # By default, configure uses ./config.cache as the cache file,
2532 # creating it if it does not exist already. You can give configure
2533 # the --cache-file=FILE option to use a different cache file; that is
2534 # what configure does when it calls configure scripts in
2535 # subdirectories, so they share the cache.
2536 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2537 # config.status only pays attention to the cache file if you give it the
2538 # --recheck option to rerun configure.
2541 # The following way of writing the cache mishandles newlines in values,
2542 # but we know of no workaround that is simple, portable, and efficient.
2543 # So, don't put newlines in cache variables' values.
2544 # Ultrix sh set writes to stderr and can't be redirected directly,
2545 # and sets the high bit in the cache file unless we assign to the vars.
2547 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2549 # `set' does not quote correctly, so add quotes (double-quote substitution
2550 # turns \\\\ into \\, and sed turns \\ into \).
2552 -e "s
/'/'\\\\''/g
" \
2553 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
2556 # `set' quotes correctly as required by POSIX, so do not add quotes.
2557 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2560 if cmp -s $cache_file confcache; then
2563 if test -w $cache_file; then
2564 echo "updating cache
$cache_file"
2565 cat confcache > $cache_file
2567 echo "not updating unwritable cache
$cache_file"
2573 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2574 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2575 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2576 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2577 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2578 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2579 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2580 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2581 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2582 || { echo "configure
: error
: libtool configure failed
" 1>&2; exit 1; }
2584 # Reload cache, that may have been modified by ltconfig
2585 if test -r "$cache_file"; then
2586 echo "loading cache
$cache_file"
2589 echo "creating cache
$cache_file"
2594 # This can be used to rebuild libtool when needed
2595 LIBTOOL_DEPS="$ac_aux_dir/ltconfig
$ac_aux_dir/ltmain.sh
$ac_aux_dir/ltcf-c.sh
"
2597 # Always use our own libtool.
2598 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2600 # Redirect the config.log output again, so that the ltconfig log is not
2601 # clobbered by the next message.
2602 exec 5>>./config.log
2606 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh
"
2608 lt_save_CFLAGS="$CFLAGS"
2609 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2610 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2611 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2612 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2613 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2614 deplibs_check_method="$deplibs_check_method" \
2615 file_magic_cmd="$file_magic_cmd" \
2616 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2617 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2618 || { echo "configure
: error
: libtool tag configuration failed
" 1>&2; exit 1; }
2620 CFLAGS="$lt_save_CFLAGS"
2622 # Redirect the config.log output again, so that the ltconfig log is not
2623 # clobbered by the next message.
2624 exec 5>>./config.log
2634 # Check for c++ or library specific bits that don't require linking.
2635 #GLIBCPP_CHECK_COMPILER_VERSION
2636 echo $ac_n "checking
for GNU
make""...
$ac_c" 1>&6
2637 echo "configure
:2638: checking
for GNU
make" >&5
2638 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2639 echo $ac_n "(cached
) $ac_c" 1>&6
2641 _cv_gnu_make_command='' ;
2642 for a in "${MAKE-make}" make gmake gnumake ; do
2643 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2645 _cv_gnu_make_command=$a ;
2652 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2653 if test "x
$_cv_gnu_make_command" != "x
" ; then
2661 # Enable all the variable C++ stuff. C_MBCHAR must come early.
2662 # Check whether --enable-debug or --disable-debug was given.
2663 if test "${enable_debug+set}" = set; then
2664 enableval="$enable_debug"
2665 case "${enableval}" in
2666 yes) enable_debug=yes ;;
2667 no) enable_debug=no ;;
2668 *) { echo "configure
: error
: Unknown argument to enable
/disable extra debugging
" 1>&2; exit 1; } ;;
2674 case "${enable_debug}" in
2676 DEBUG_FLAGS='-O0 -ggdb3'
2684 echo $ac_n "checking how to run the C preprocessor
""...
$ac_c" 1>&6
2685 echo "configure
:2686: checking how to run the C preprocessor
" >&5
2686 # On Suns, sometimes $CPP names a directory.
2687 if test -n "$CPP" && test -d "$CPP"; then
2690 if test -z "$CPP"; then
2691 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2692 echo $ac_n "(cached
) $ac_c" 1>&6
2694 # This must be in double quotes, not single quotes, because CPP may get
2695 # substituted into the Makefile and "${CC-cc}" will confuse make.
2697 # On the NeXT, cc -E runs the code through the compiler's parser,
2698 # not just through cpp.
2699 cat > conftest.$ac_ext <<EOF
2700 #line 2701 "configure
"
2701 #include "confdefs.h
"
2705 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2706 { (eval echo configure:2707: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2707 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2708 if test -z "$ac_err"; then
2712 echo "configure
: failed program was
:" >&5
2713 cat conftest.$ac_ext >&5
2715 CPP="${CC-cc} -E -traditional-cpp"
2716 cat > conftest.$ac_ext <<EOF
2717 #line 2718 "configure
"
2718 #include "confdefs.h
"
2722 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2723 { (eval echo configure:2724: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2724 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2725 if test -z "$ac_err"; then
2729 echo "configure
: failed program was
:" >&5
2730 cat conftest.$ac_ext >&5
2732 CPP="${CC-cc} -nologo -E"
2733 cat > conftest.$ac_ext <<EOF
2734 #line 2735 "configure
"
2735 #include "confdefs.h
"
2739 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2740 { (eval echo configure:2741: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2741 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2742 if test -z "$ac_err"; then
2746 echo "configure
: failed program was
:" >&5
2747 cat conftest.$ac_ext >&5
2756 ac_cv_prog_CPP="$CPP"
2758 CPP="$ac_cv_prog_CPP"
2760 ac_cv_prog_CPP="$CPP"
2762 echo "$ac_t""$CPP" 1>&6
2765 echo $ac_n "checking
for cstdio to use
""...
$ac_c" 1>&6
2766 echo "configure
:2767: checking
for cstdio to use
" >&5
2767 # Check whether --enable-cstdio or --disable-cstdio was given.
2768 if test "${enable_cstdio+set}" = set; then
2769 enableval="$enable_cstdio"
2770 if test x$enable_cstdio = xno; then
2778 enable_cstdio_flag=$enable_cstdio
2780 case x${enable_cstdio_flag} in
2782 CSTDIO_H=config/io/c_io_libio.h
2783 BASIC_FILE_H=config/io/basic_file_libio.h
2784 BASIC_FILE_CC=config/io/basic_file_libio.cc
2785 echo "$ac_t""libio
" 1>&6
2787 # see if we are on a system with libio native (ie, linux)
2788 ac_safe=`echo "libio.h
" | sed 'y%./+-%__p_%'`
2789 echo $ac_n "checking
for libio.h
""...
$ac_c" 1>&6
2790 echo "configure
:2791: checking
for libio.h
" >&5
2791 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2792 echo $ac_n "(cached
) $ac_c" 1>&6
2794 cat > conftest.$ac_ext <<EOF
2795 #line 2796 "configure
"
2796 #include "confdefs.h
"
2799 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2800 { (eval echo configure:2801: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2801 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2802 if test -z "$ac_err"; then
2804 eval "ac_cv_header_
$ac_safe=yes"
2807 echo "configure
: failed program was
:" >&5
2808 cat conftest.$ac_ext >&5
2810 eval "ac_cv_header_
$ac_safe=no
"
2814 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2815 echo "$ac_t""yes" 1>&6
2818 echo "$ac_t""no
" 1>&6
2823 # Need to check and see what version of glibc is being used. If
2824 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2825 # compile most of libio for linux systems.
2826 if test x$has_libio = x"yes"; then
2829 echo $ac_n "checking
for glibc version
>= 2.2""...
$ac_c" 1>&6
2830 echo "configure
:2831: checking
for glibc version
>= 2.2" >&5
2831 cat > conftest.$ac_ext <<EOF
2832 #line 2833 "configure
"
2833 #include "confdefs.h
"
2835 #include <features.h>
2836 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2841 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
2842 egrep "ok
" >/dev/null 2>&1; then
2844 glibc_satisfactory=yes
2847 glibc_satisfactory=no
2851 echo "$ac_t""$glibc_satisfactory" 1>&6
2855 # XXX at the moment, admit defeat and force the recompilation
2856 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2857 glibc_satisfactory=no
2859 if test x$glibc_satisfactory = x"yes"; then
2864 # bkoz XXX need to add checks to enable this
2865 # pme XXX here's a first pass at such a check
2866 if test x$enable_c_mbchar != xno; then
2874 # Using libio, but <libio.h> doesn't exist on the target system. . .
2876 # bkoz XXX need to add checks to enable this
2877 # pme XXX here's a first pass at such a check
2878 if test x$enable_c_mbchar != xno; then
2885 xstdio | x | xno | xnone | xyes)
2887 CSTDIO_H=config/io/c_io_stdio.h
2888 BASIC_FILE_H=config/io/basic_file_stdio.h
2889 BASIC_FILE_CC=config/io/basic_file_stdio.cc
2890 echo "$ac_t""stdio
" 1>&6
2892 # We're not using stdio.
2897 echo "$enable_cstdio is an unknown io package
" 1>&2
2905 # 2000-08-04 bkoz hack
2906 CCODECVT_C=config/io/c_io_libio_codecvt.c
2908 # 2000-08-04 bkoz hack
2912 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2913 GLIBCPP_BUILD_LIBIO_TRUE=
2914 GLIBCPP_BUILD_LIBIO_FALSE='#'
2916 GLIBCPP_BUILD_LIBIO_TRUE='#'
2917 GLIBCPP_BUILD_LIBIO_FALSE=
2921 if test "$need_libio" = yes; then
2922 GLIBCPP_NEED_LIBIO_TRUE=
2923 GLIBCPP_NEED_LIBIO_FALSE='#'
2925 GLIBCPP_NEED_LIBIO_TRUE='#'
2926 GLIBCPP_NEED_LIBIO_FALSE=
2930 if test "$need_wlibio" = yes; then
2931 GLIBCPP_NEED_WLIBIO_TRUE=
2932 GLIBCPP_NEED_WLIBIO_FALSE='#'
2934 GLIBCPP_NEED_WLIBIO_TRUE='#'
2935 GLIBCPP_NEED_WLIBIO_FALSE=
2937 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2938 libio_la=../libio/libio.la
2945 echo $ac_n "checking
for clocale to use
""...
$ac_c" 1>&6
2946 echo "configure
:2947: checking
for clocale to use
" >&5
2947 # Check whether --enable-clocale or --disable-clocale was given.
2948 if test "${enable_clocale+set}" = set; then
2949 enableval="$enable_clocale"
2950 if test x$enable_clocale = xno; then
2958 enable_clocale_flag=$enable_clocale
2960 if test x$enable_clocale_flag = xno; then
2961 case x${target_os} in
2963 cat > conftest.$ac_ext <<EOF
2964 #line 2965 "configure
"
2965 #include "confdefs.h
"
2967 #include <features.h>
2968 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2973 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
2974 egrep "_GLIBCPP_ok
" >/dev/null 2>&1; then
2976 enable_clocale_flag=gnu
2979 enable_clocale_flag=generic
2984 # Test for bugs early in glibc-2.2.x series
2985 if test x$enable_clocale_flag = xgnu; then
2986 if test "$cross_compiling" = yes; then
2987 enable_clocale_flag=generic
2989 cat > conftest.$ac_ext <<EOF
2990 #line 2991 "configure
"
2991 #include "confdefs.h
"
2993 #define _GNU_SOURCE 1
2996 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
2997 extern __typeof(newlocale) __newlocale;
2998 extern __typeof(duplocale) __duplocale;
2999 extern __typeof(strcoll_l) __strcoll_l;
3003 const char __one[] = "Äuglein Augmen
";
3004 const char __two[] = "Äuglein
";
3009 loc = __newlocale(1 << LC_ALL, "de_DE
", 0);
3010 loc_dup = __duplocale(loc);
3011 i = __strcoll_l(__one, __two, loc);
3012 j = __strcoll_l(__one, __two, loc_dup);
3017 if { (eval echo configure:3018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3019 enable_clocale_flag=gnu
3021 echo "configure
: failed program was
:" >&5
3022 cat conftest.$ac_ext >&5
3024 enable_clocale_flag=generic
3031 # ... at some point put __strxfrm_l tests in as well.
3034 enable_clocale_flag=generic
3039 # Check whether --enable-nls or --disable-nls was given.
3040 if test "${enable_nls+set}" = set; then
3041 enableval="$enable_nls"
3049 case x${enable_clocale_flag} in
3051 echo "$ac_t""generic
" 1>&6
3053 CLOCALE_H=config/locale/generic/c_locale.h
3054 CLOCALE_CC=config/locale/generic/c_locale.cc
3055 CCODECVT_H=config/locale/generic/codecvt_specializations.h
3056 CCODECVT_CC=config/locale/generic/codecvt_members.cc
3057 CCOLLATE_CC=config/locale/generic/collate_members.cc
3058 CCTYPE_CC=config/locale/generic/ctype_members.cc
3059 CMESSAGES_H=config/locale/generic/messages_members.h
3060 CMESSAGES_CC=config/locale/generic/messages_members.cc
3061 CMONEY_CC=config/locale/generic/monetary_members.cc
3062 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3063 CTIME_CC=config/locale/generic/time_members.cc
3064 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
3067 echo "$ac_t""gnu
" 1>&6
3069 # Declare intention to use gettext, and add support for specific
3071 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
3074 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
3075 # Extract the first word of "msgfmt
", so it can be a program name with args.
3076 set dummy msgfmt; ac_word=$2
3077 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
3078 echo "configure
:3079: checking
for $ac_word" >&5
3079 if eval "test \"`echo '$''{'ac_cv_prog_check_msgfmt'+set}'`\" = set"; then
3080 echo $ac_n "(cached
) $ac_c" 1>&6
3082 if test -n "$check_msgfmt"; then
3083 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
3085 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3087 for ac_dir in $ac_dummy; do
3088 test -z "$ac_dir" && ac_dir=.
3089 if test -f $ac_dir/$ac_word; then
3090 ac_cv_prog_check_msgfmt="yes"
3095 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no
"
3098 check_msgfmt="$ac_cv_prog_check_msgfmt"
3099 if test -n "$check_msgfmt"; then
3100 echo "$ac_t""$check_msgfmt" 1>&6
3102 echo "$ac_t""no
" 1>&6
3105 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
3108 # Export the build objects.
3109 for ling in $ALL_LINGUAS; do \
3110 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo
"; \
3111 glibcpp_POFILES="$glibcpp_POFILES $ling.po
"; \
3116 CLOCALE_H=config/locale/gnu/c_locale.h
3117 CLOCALE_CC=config/locale/gnu/c_locale.cc
3118 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3119 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
3120 CCOLLATE_CC=config/locale/gnu/collate_members.cc
3121 CCTYPE_CC=config/locale/gnu/ctype_members.cc
3122 CMESSAGES_H=config/locale/gnu/messages_members.h
3123 CMESSAGES_CC=config/locale/gnu/messages_members.cc
3124 CMONEY_CC=config/locale/gnu/monetary_members.cc
3125 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
3126 CTIME_CC=config/locale/gnu/time_members.cc
3127 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
3130 echo "$ac_t""generic
" 1>&6
3132 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
3133 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
3134 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3135 CCODECVT_CC=config/locale/generic/codecvt_members.cc
3136 CCOLLATE_CC=config/locale/generic/collate_members.cc
3137 CCTYPE_CC=config/locale/generic/ctype_members.cc
3138 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
3139 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
3140 CMONEY_CC=config/locale/generic/monetary_members.cc
3141 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3142 CTIME_CC=config/locale/generic/time_members.cc
3143 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
3146 echo "$enable_clocale is an unknown locale package
" 1>&2
3151 # This is where the testsuite looks for locale catalogs, using the
3152 # -DLOCALEDIR define during testsuite compilation.
3153 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3156 # For the time being, transform ctype_noninline.h to ctype_members_char.cc
3157 # CCTYPE_CHAR_CC=config/${os_include_dir}/ctype_noninline.h
3166 # AC_LINK_FILES($CCTYPE_CHAR_CC, src/ctype_members_char.cc)
3174 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3175 if test "${enable_c_mbchar+set}" = set; then
3176 enableval="$enable_c_mbchar"
3177 case "$enableval" in
3178 yes) enable_c_mbchar=yes ;;
3179 no) enable_c_mbchar=no ;;
3180 *) { echo "configure
: error
: Unknown argument to enable
/disable c-mbchar
" 1>&2; exit 1; } ;;
3187 # Check whether --enable-c99 or --disable-c99 was given.
3188 if test "${enable_c99+set}" = set; then
3189 enableval="$enable_c99"
3190 case "$enableval" in
3191 yes) enable_c99=yes ;;
3192 no) enable_c99=no ;;
3193 *) { echo "configure
: error
: Unknown argument to enable
/disable C99
" 1>&2; exit 1; } ;;
3201 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3202 ac_cpp='$CXXCPP $CPPFLAGS'
3203 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3204 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3205 cross_compiling=$ac_cv_prog_cxx_cross
3208 # Check for the existence of <math.h> functions used if C99 is enabled.
3210 echo $ac_n "checking
for ISO C99 support
in <math.h
>""...
$ac_c" 1>&6
3211 echo "configure
:3212: checking
for ISO C99 support
in <math.h
>" >&5
3212 cat > conftest.$ac_ext <<EOF
3213 #line 3214 "configure
"
3214 #include "confdefs.h
"
3220 if { (eval echo configure:3221: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3223 echo "configure
: failed program was
:" >&5
3224 cat conftest.$ac_ext >&5
3229 cat > conftest.$ac_ext <<EOF
3230 #line 3231 "configure
"
3231 #include "confdefs.h
"
3237 if { (eval echo configure:3238: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3240 echo "configure
: failed program was
:" >&5
3241 cat conftest.$ac_ext >&5
3246 cat > conftest.$ac_ext <<EOF
3247 #line 3248 "configure
"
3248 #include "confdefs.h
"
3254 if { (eval echo configure:3255: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3257 echo "configure
: failed program was
:" >&5
3258 cat conftest.$ac_ext >&5
3263 cat > conftest.$ac_ext <<EOF
3264 #line 3265 "configure
"
3265 #include "confdefs.h
"
3271 if { (eval echo configure:3272: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3274 echo "configure
: failed program was
:" >&5
3275 cat conftest.$ac_ext >&5
3280 cat > conftest.$ac_ext <<EOF
3281 #line 3282 "configure
"
3282 #include "confdefs.h
"
3288 if { (eval echo configure:3289: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3291 echo "configure
: failed program was
:" >&5
3292 cat conftest.$ac_ext >&5
3297 cat > conftest.$ac_ext <<EOF
3298 #line 3299 "configure
"
3299 #include "confdefs.h
"
3305 if { (eval echo configure:3306: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3308 echo "configure
: failed program was
:" >&5
3309 cat conftest.$ac_ext >&5
3314 cat > conftest.$ac_ext <<EOF
3315 #line 3316 "configure
"
3316 #include "confdefs.h
"
3322 if { (eval echo configure:3323: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3325 echo "configure
: failed program was
:" >&5
3326 cat conftest.$ac_ext >&5
3331 cat > conftest.$ac_ext <<EOF
3332 #line 3333 "configure
"
3333 #include "confdefs.h
"
3336 isgreaterequal(0.0,0.0);
3339 if { (eval echo configure:3340: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3342 echo "configure
: failed program was
:" >&5
3343 cat conftest.$ac_ext >&5
3348 cat > conftest.$ac_ext <<EOF
3349 #line 3350 "configure
"
3350 #include "confdefs.h
"
3356 if { (eval echo configure:3357: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3359 echo "configure
: failed program was
:" >&5
3360 cat conftest.$ac_ext >&5
3365 cat > conftest.$ac_ext <<EOF
3366 #line 3367 "configure
"
3367 #include "confdefs.h
"
3370 islessequal(0.0,0.0);
3373 if { (eval echo configure:3374: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3376 echo "configure
: failed program was
:" >&5
3377 cat conftest.$ac_ext >&5
3382 cat > conftest.$ac_ext <<EOF
3383 #line 3384 "configure
"
3384 #include "confdefs.h
"
3387 islessgreater(0.0,0.0);
3390 if { (eval echo configure:3391: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3393 echo "configure
: failed program was
:" >&5
3394 cat conftest.$ac_ext >&5
3399 cat > conftest.$ac_ext <<EOF
3400 #line 3401 "configure
"
3401 #include "confdefs.h
"
3404 isunordered(0.0,0.0);
3407 if { (eval echo configure:3408: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3410 echo "configure
: failed program was
:" >&5
3411 cat conftest.$ac_ext >&5
3416 echo "$ac_t""$ac_c99_math" 1>&6
3418 # Check for the existence in <stdio.h> of vscanf, et. al.
3420 echo $ac_n "checking
for ISO C99 support
in <stdio.h
>""...
$ac_c" 1>&6
3421 echo "configure
:3422: checking
for ISO C99 support
in <stdio.h
>" >&5
3422 cat > conftest.$ac_ext <<EOF
3423 #line 3424 "configure
"
3424 #include "confdefs.h
"
3427 snprintf("12", 0, "%i
");
3430 if { (eval echo configure:3431: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3433 echo "configure
: failed program was
:" >&5
3434 cat conftest.$ac_ext >&5
3439 cat > conftest.$ac_ext <<EOF
3440 #line 3441 "configure
"
3441 #include "confdefs.h
"
3444 void foo(char* fmt, ...)
3445 {va_list args; va_start(args, fmt);
3446 vfscanf(stderr, "%i
", args);}
3451 if { (eval echo configure:3452: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3454 echo "configure
: failed program was
:" >&5
3455 cat conftest.$ac_ext >&5
3460 cat > conftest.$ac_ext <<EOF
3461 #line 3462 "configure
"
3462 #include "confdefs.h
"
3465 void foo(char* fmt, ...)
3466 {va_list args; va_start(args, fmt);
3467 vscanf("%i
", args);}
3472 if { (eval echo configure:3473: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3475 echo "configure
: failed program was
:" >&5
3476 cat conftest.$ac_ext >&5
3481 cat > conftest.$ac_ext <<EOF
3482 #line 3483 "configure
"
3483 #include "confdefs.h
"
3486 void foo(char* fmt, ...)
3487 {va_list args; va_start(args, fmt);
3488 vsnprintf(fmt, 0, "%i
", args);}
3493 if { (eval echo configure:3494: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3496 echo "configure
: failed program was
:" >&5
3497 cat conftest.$ac_ext >&5
3502 cat > conftest.$ac_ext <<EOF
3503 #line 3504 "configure
"
3504 #include "confdefs.h
"
3507 void foo(char* fmt, ...)
3508 {va_list args; va_start(args, fmt);
3509 vsscanf(fmt, "%i
", args);}
3514 if { (eval echo configure:3515: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3517 echo "configure
: failed program was
:" >&5
3518 cat conftest.$ac_ext >&5
3523 echo "$ac_t""$ac_c99_stdio" 1>&6
3525 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3527 echo $ac_n "checking
for lldiv_t declaration
""...
$ac_c" 1>&6
3528 echo "configure
:3529: checking
for lldiv_t declaration
" >&5
3529 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3530 echo $ac_n "(cached
) $ac_c" 1>&6
3533 cat > conftest.$ac_ext <<EOF
3534 #line 3535 "configure
"
3535 #include "confdefs.h
"
3541 if { (eval echo configure:3542: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3545 echo "configure
: failed program was
:" >&5
3546 cat conftest.$ac_ext >&5
3554 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3556 echo $ac_n "checking
for ISO C99 support
in <stdlib.h
>""...
$ac_c" 1>&6
3557 echo "configure
:3558: checking
for ISO C99 support
in <stdlib.h
>" >&5
3558 cat > conftest.$ac_ext <<EOF
3559 #line 3560 "configure
"
3560 #include "confdefs.h
"
3563 char* tmp; strtof("gnu
", &tmp);
3566 if { (eval echo configure:3567: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3569 echo "configure
: failed program was
:" >&5
3570 cat conftest.$ac_ext >&5
3575 cat > conftest.$ac_ext <<EOF
3576 #line 3577 "configure
"
3577 #include "confdefs.h
"
3580 char* tmp; strtold("gnu
", &tmp);
3583 if { (eval echo configure:3584: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3586 echo "configure
: failed program was
:" >&5
3587 cat conftest.$ac_ext >&5
3592 cat > conftest.$ac_ext <<EOF
3593 #line 3594 "configure
"
3594 #include "confdefs.h
"
3600 if { (eval echo configure:3601: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3603 echo "configure
: failed program was
:" >&5
3604 cat conftest.$ac_ext >&5
3609 cat > conftest.$ac_ext <<EOF
3610 #line 3611 "configure
"
3611 #include "confdefs.h
"
3617 if { (eval echo configure:3618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3620 echo "configure
: failed program was
:" >&5
3621 cat conftest.$ac_ext >&5
3626 cat > conftest.$ac_ext <<EOF
3627 #line 3628 "configure
"
3628 #include "confdefs.h
"
3634 if { (eval echo configure:3635: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3637 echo "configure
: failed program was
:" >&5
3638 cat conftest.$ac_ext >&5
3643 cat > conftest.$ac_ext <<EOF
3644 #line 3645 "configure
"
3645 #include "confdefs.h
"
3651 if { (eval echo configure:3652: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3654 echo "configure
: failed program was
:" >&5
3655 cat conftest.$ac_ext >&5
3660 if test x"$ac_c99_lldiv_t" = x"no
"; then
3663 echo "$ac_t""$ac_c99_stdlib" 1>&6
3665 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3666 # XXX the wchar.h checks should be rolled into the general C99 bits.
3668 echo $ac_n "checking
for additional ISO C99 support
in <wchar.h
>""...
$ac_c" 1>&6
3669 echo "configure
:3670: checking
for additional ISO C99 support
in <wchar.h
>" >&5
3670 cat > conftest.$ac_ext <<EOF
3671 #line 3672 "configure
"
3672 #include "confdefs.h
"
3675 wcstold(L"10.0", NULL);
3678 if { (eval echo configure:3679: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3681 echo "configure
: failed program was
:" >&5
3682 cat conftest.$ac_ext >&5
3687 cat > conftest.$ac_ext <<EOF
3688 #line 3689 "configure
"
3689 #include "confdefs.h
"
3692 wcstoll(L"10", NULL, 10);
3695 if { (eval echo configure:3696: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3698 echo "configure
: failed program was
:" >&5
3699 cat conftest.$ac_ext >&5
3704 cat > conftest.$ac_ext <<EOF
3705 #line 3706 "configure
"
3706 #include "confdefs.h
"
3709 wcstoull(L"10", NULL, 10);
3712 if { (eval echo configure:3713: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3715 echo "configure
: failed program was
:" >&5
3716 cat conftest.$ac_ext >&5
3721 echo "$ac_t""$ac_c99_wchar" 1>&6
3723 echo $ac_n "checking
for enabled ISO C99 support
""...
$ac_c" 1>&6
3724 echo "configure
:3725: checking
for enabled ISO C99 support
" >&5
3725 if test x"$ac_c99_math" = x"no
" ||
3726 test x"$ac_c99_stdio" = x"no
" ||
3727 test x"$ac_c99_stdlib" = x"no
" ||
3728 test x"$ac_c99_wchar" = x"no
"; then
3731 echo "$ac_t""$enable_c99" 1>&6
3733 # Option parsed, now set things appropriately
3734 if test x"$enable_c99" = x"yes"; then
3735 cat >> confdefs.h <<\EOF
3736 #define _GLIBCPP_USE_C99 1
3742 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3743 ac_cpp='$CPP $CPPFLAGS'
3744 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3745 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3746 cross_compiling=$ac_cv_prog_cc_cross
3750 # Check whether --enable-long-long or --disable-long-long was given.
3751 if test "${enable_long_long+set}" = set; then
3752 enableval="$enable_long_long"
3753 case "$enableval" in
3754 yes) enable_long_long=yes ;;
3755 no) enable_long_long=no ;;
3756 *) { echo "configure
: error
: Unknown argument to enable
/disable long long
" 1>&2; exit 1; } ;;
3759 enable_long_long=yes
3764 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3765 ac_cpp='$CXXCPP $CPPFLAGS'
3766 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3767 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3768 cross_compiling=$ac_cv_prog_cxx_cross
3771 echo $ac_n "checking
for enabled long long I
/O support
""...
$ac_c" 1>&6
3772 echo "configure
:3773: checking
for enabled long long I
/O support
" >&5
3773 # iostreams require strtoll, strtoull to compile
3774 cat > conftest.$ac_ext <<EOF
3775 #line 3776 "configure
"
3776 #include "confdefs.h
"
3779 char* tmp; strtoll("gnu
", &tmp, 10);
3782 if { (eval echo configure:3783: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3785 echo "configure
: failed program was
:" >&5
3786 cat conftest.$ac_ext >&5
3791 cat > conftest.$ac_ext <<EOF
3792 #line 3793 "configure
"
3793 #include "confdefs.h
"
3796 char* tmp; strtoull("gnu
", &tmp, 10);
3799 if { (eval echo configure:3800: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3802 echo "configure
: failed program was
:" >&5
3803 cat conftest.$ac_ext >&5
3809 # Option parsed, now set things appropriately
3810 if test x"$enable_long_long" = xyes; then
3811 cat >> confdefs.h <<\EOF
3812 #define _GLIBCPP_USE_LONG_LONG 1
3816 echo "$ac_t""$enable_long_long" 1>&6
3819 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3820 ac_cpp='$CPP $CPPFLAGS'
3821 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3822 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3823 cross_compiling=$ac_cv_prog_cc_cross
3826 echo $ac_n "checking
for c header strategy to use
""...
$ac_c" 1>&6
3827 echo "configure
:3828: checking
for c header strategy to use
" >&5
3828 # Check whether --enable-cheaders or --disable-cheaders was given.
3829 if test "${enable_cheaders+set}" = set; then
3830 enableval="$enable_cheaders"
3832 case "$enableval" in
3837 enable_cheaders=c_std
3839 *) { echo "configure
: error
: Unknown argument to enable
/disable
"C" headers
" 1>&2; exit 1; }
3843 enable_cheaders=c_std
3846 echo "$ac_t""$enable_cheaders" 1>&6
3848 case "$enable_cheaders" in
3850 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3853 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3860 if test "$enable_cheaders" = c; then
3861 GLIBCPP_C_HEADERS_C_TRUE=
3862 GLIBCPP_C_HEADERS_C_FALSE='#'
3864 GLIBCPP_C_HEADERS_C_TRUE='#'
3865 GLIBCPP_C_HEADERS_C_FALSE=
3869 if test "$enable_cheaders" = c_std; then
3870 GLIBCPP_C_HEADERS_C_STD_TRUE=
3871 GLIBCPP_C_HEADERS_C_STD_FALSE='#'
3873 GLIBCPP_C_HEADERS_C_STD_TRUE='#'
3874 GLIBCPP_C_HEADERS_C_STD_FALSE=
3878 if test "$c_compatibility" = yes; then
3879 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE=
3880 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE='#'
3882 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE='#'
3883 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE=
3887 echo $ac_n "checking
for thread model used by GCC
""...
$ac_c" 1>&6
3888 echo "configure
:3889: checking
for thread model used by GCC
" >&5
3889 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3890 echo "$ac_t""$target_thread_file" 1>&6
3892 if test $target_thread_file != single; then
3893 cat >> confdefs.h <<\EOF
3894 #define HAVE_GTHR_DEFAULT 1
3897 cat >> confdefs.h <<\EOF
3898 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3903 glibcpp_thread_h=gthr-$target_thread_file.h
3906 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3907 if test "${enable_cxx_flags+set}" = set; then
3908 enableval="$enable_cxx_flags"
3909 case "x
$enableval" in
3911 { echo "configure
: error
: --enable-cxx-flags needs compiler flags as arguments
" 1>&2; exit 1; } ;;
3913 enable_cxx_flags='' ;;
3915 enable_cxx_flags="$enableval" ;;
3918 enable_cxx_flags='none'
3922 if test "$enable_cxx_flags" = "none
"; then
3923 enable_cxx_flags='';
3926 if test -n "$enable_cxx_flags"; then
3927 for f in $enable_cxx_flags; do
3931 *) # and we're trying to pass /what/ exactly?
3932 { echo "configure
: error
: compiler flags start with a
-" 1>&2; exit 1; } ;;
3936 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3940 echo $ac_n "checking
for exception model to use
""...
$ac_c" 1>&6
3941 echo "configure
:3942: checking
for exception model to use
" >&5
3944 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3945 ac_cpp='$CXXCPP $CPPFLAGS'
3946 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3947 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3948 cross_compiling=$ac_cv_prog_cxx_cross
3950 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3951 if test "${enable_sjlj_exceptions+set}" = set; then
3952 enableval="$enable_sjlj_exceptions"
3955 cat > conftest.$ac_ext << EOF
3956 #line 3957 "configure
"
3965 old_CXXFLAGS="$CXXFLAGS"
3967 if { (eval echo configure:3968: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3968 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
3969 enable_sjlj_exceptions=yes
3970 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
3971 enable_sjlj_exceptions=no
3974 CXXFLAGS="$old_CXXFLAGS"
3978 if test x$enable_sjlj_exceptions = xyes; then
3979 cat >> confdefs.h <<\EOF
3980 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
3983 ac_exception_model_name=sjlj
3984 elif test x$enable_sjlj_exceptions = xno; then
3985 ac_exception_model_name="call frame
"
3987 { echo "configure
: error
: unable to detect exception model
" 1>&2; exit 1; }
3990 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3991 ac_cpp='$CPP $CPPFLAGS'
3992 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3993 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3994 cross_compiling=$ac_cv_prog_cc_cross
3996 echo "$ac_t""$ac_exception_model_name" 1>&6
3999 echo $ac_n "checking
for use of libunwind
""...
$ac_c" 1>&6
4000 echo "configure
:4001: checking
for use of libunwind
" >&5
4001 # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
4002 if test "${enable_libunwind_exceptions+set}" = set; then
4003 enableval="$enable_libunwind_exceptions"
4004 use_libunwind_exceptions=$enableval
4006 use_libunwind_exceptions=no
4009 echo "$ac_t""$use_libunwind_exceptions" 1>&6
4010 if test x"$use_libunwind_exceptions" = xyes; then
4011 LIBUNWIND_FLAG="-lunwind"
4017 # Check whether --enable-concept-checks or --disable-concept-checks was given.
4018 if test "${enable_concept_checks+set}" = set; then
4019 enableval="$enable_concept_checks"
4020 case "$enableval" in
4021 yes) enable_concept_checks=yes ;;
4022 no) enable_concept_checks=no ;;
4023 *) { echo "configure
: error
: Unknown argument to enable
/disable concept checks
" 1>&2; exit 1; } ;;
4026 enable_concept_checks=no
4028 if test x"$enable_concept_checks" = xyes; then
4029 cat >> confdefs.h <<\EOF
4030 #define _GLIBCPP_CONCEPT_CHECKS 1
4036 # Check for headers necessary for libsupc++ using dyn-string.c/cxa_demangle.c
4037 for ac_hdr in string.h stdlib.h
4039 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4040 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4041 echo "configure
:4042: checking
for $ac_hdr" >&5
4042 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4043 echo $ac_n "(cached
) $ac_c" 1>&6
4045 cat > conftest.$ac_ext <<EOF
4046 #line 4047 "configure
"
4047 #include "confdefs.h
"
4050 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4051 { (eval echo configure:4052: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4052 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4053 if test -z "$ac_err"; then
4055 eval "ac_cv_header_
$ac_safe=yes"
4058 echo "configure
: failed program was
:" >&5
4059 cat conftest.$ac_ext >&5
4061 eval "ac_cv_header_
$ac_safe=no
"
4065 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4066 echo "$ac_t""yes" 1>&6
4067 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4068 cat >> confdefs.h <<EOF
4069 #define $ac_tr_hdr 1
4073 echo "$ac_t""no
" 1>&6
4078 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
4080 # We are being configured with some form of cross compiler.
4081 GLIBCPP_IS_CROSS_COMPILING=1
4083 # This lets us hard-code the functionality we know we'll have in the cross
4084 # target environment. "Let
" is a sugar-coated word placed on an especially
4085 # dull and tedious hack, actually.
4087 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
4088 # that involve linking, can't be used:
4089 # "cannot open sim-crt0.o
"
4090 # "cannot open crt0.o
"
4091 # etc. All this is because there currently exists no unified, consistent
4092 # way for top level CC information to be passed down to target directories:
4093 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
4094 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
4095 # crosses can be removed.
4097 # If Canadian cross, then don't pick up tools from the build directory.
4098 # Used in GLIBCPP_EXPORT_INCLUDES (and nowhere else?).
4099 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
4105 # Construct crosses by hand, eliminating bits that need ld...
4106 # GLIBCPP_CHECK_COMPILER_FEATURES
4107 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4108 # GLIBCPP_CHECK_MATH_SUPPORT
4110 case "$target_alias" in
4112 os_include_dir="os
/gnu-linux
"
4113 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4114 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4115 fp.h locale.h float.h inttypes.h
4117 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4118 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4119 echo "configure
:4120: checking
for $ac_hdr" >&5
4120 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4121 echo $ac_n "(cached
) $ac_c" 1>&6
4123 cat > conftest.$ac_ext <<EOF
4124 #line 4125 "configure
"
4125 #include "confdefs.h
"
4128 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4129 { (eval echo configure:4130: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4130 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4131 if test -z "$ac_err"; then
4133 eval "ac_cv_header_
$ac_safe=yes"
4136 echo "configure
: failed program was
:" >&5
4137 cat conftest.$ac_ext >&5
4139 eval "ac_cv_header_
$ac_safe=no
"
4143 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4144 echo "$ac_t""yes" 1>&6
4145 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4146 cat >> confdefs.h <<EOF
4147 #define $ac_tr_hdr 1
4151 echo "$ac_t""no
" 1>&6
4155 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4158 # If we're not using GNU ld, then there's no point in even trying these
4159 # tests. Check for that first. We should have already tested for gld
4160 # by now (in libtool), but require it now just to be safe...
4161 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4162 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4165 # The name set by libtool depends on the version of libtool. Shame on us
4166 # for depending on an impl detail, but c'est la vie. Older versions used
4167 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4168 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4169 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4170 # set (hence we're using an older libtool), then set it.
4171 if test x${with_gnu_ld+set} != xset; then
4172 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4173 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
4176 with_gnu_ld=$ac_cv_prog_gnu_ld
4180 # Start by getting the version number. I think the libtool test already
4181 # does some of this, but throws away the result.
4183 ldver=`$LD --version 2>/dev/null | head -1 | \
4184 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4186 glibcpp_gnu_ld_version=`echo $ldver | \
4187 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4189 # Set --gc-sections.
4190 if test "$with_gnu_ld" = "notbroken
"; then
4191 # GNU ld it is! Joy and bunny rabbits!
4193 # All these tests are for C++; save the language and the compiler flags.
4194 # Need to do this so that g++ won't try to link in libstdc++
4195 ac_test_CFLAGS="${CFLAGS+set}"
4196 ac_save_CFLAGS="$CFLAGS"
4197 CFLAGS='-x c++ -Wl,--gc-sections'
4199 # Check for -Wl,--gc-sections
4200 # XXX This test is broken at the moment, as symbols required for
4201 # linking are now in libsupc++ (not built yet.....). In addition,
4202 # this test has cored on solaris in the past. In addition,
4203 # --gc-sections doesn't really work at the moment (keeps on discarding
4204 # used sections, first .eh_frame and now some of the glibc sections for
4205 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4206 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
4207 echo "configure
:4208: checking
for ld that supports
-Wl,--gc-sections" >&5
4208 if test "$cross_compiling" = yes; then
4209 ac_sectionLDflags=yes
4211 cat > conftest.$ac_ext <<EOF
4212 #line 4213 "configure
"
4213 #include "confdefs.h
"
4223 if { (eval echo configure:4224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4225 ac_sectionLDflags=yes
4227 echo "configure
: failed program was
:" >&5
4228 cat conftest.$ac_ext >&5
4230 ac_sectionLDflags=no
4235 if test "$ac_test_CFLAGS" = set; then
4236 CFLAGS="$ac_save_CFLAGS"
4238 # this is the suspicious part
4241 if test "$ac_sectionLDflags" = "yes"; then
4242 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4244 echo "$ac_t""$ac_sectionLDflags" 1>&6
4247 # Set linker optimization flags.
4248 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no
"; then
4249 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4256 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
4257 echo "configure
:4258: checking
for main
in -lm" >&5
4258 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4259 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4260 echo $ac_n "(cached
) $ac_c" 1>&6
4262 ac_save_LIBS="$LIBS"
4264 cat > conftest.$ac_ext <<EOF
4265 #line 4266 "configure
"
4266 #include "confdefs.h
"
4272 if { (eval echo configure:4273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4274 eval "ac_cv_lib_
$ac_lib_var=yes"
4276 echo "configure
: failed program was
:" >&5
4277 cat conftest.$ac_ext >&5
4279 eval "ac_cv_lib_
$ac_lib_var=no
"
4282 LIBS="$ac_save_LIBS"
4285 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4286 echo "$ac_t""yes" 1>&6
4287 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4288 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4289 cat >> confdefs.h <<EOF
4290 #define $ac_tr_lib 1
4296 echo "$ac_t""no
" 1>&6
4299 for ac_func in nan copysignf
4301 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4302 echo "configure
:4303: checking
for $ac_func" >&5
4303 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4304 echo $ac_n "(cached
) $ac_c" 1>&6
4306 cat > conftest.$ac_ext <<EOF
4307 #line 4308 "configure
"
4308 #include "confdefs.h
"
4309 /* System header to define __stub macros and hopefully few prototypes,
4310 which can conflict with char $ac_func(); below. */
4312 /* Override any gcc2 internal prototype to avoid an error. */
4313 /* We use char because int might match the return type of a gcc2
4314 builtin and then its argument prototype would still apply. */
4319 /* The GNU C library defines this for functions which it implements
4320 to always fail with ENOSYS. Some functions are actually named
4321 something starting with __ and the normal name is an alias. */
4322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4330 if { (eval echo configure:4331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4332 eval "ac_cv_func_
$ac_func=yes"
4334 echo "configure
: failed program was
:" >&5
4335 cat conftest.$ac_ext >&5
4337 eval "ac_cv_func_
$ac_func=no
"
4342 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4343 echo "$ac_t""yes" 1>&6
4344 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4345 cat >> confdefs.h <<EOF
4346 #define $ac_tr_func 1
4350 echo "$ac_t""no
" 1>&6
4351 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
4356 for ac_func in __signbit
4358 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4359 echo "configure
:4360: checking
for $ac_func" >&5
4360 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4361 echo $ac_n "(cached
) $ac_c" 1>&6
4363 cat > conftest.$ac_ext <<EOF
4364 #line 4365 "configure
"
4365 #include "confdefs.h
"
4366 /* System header to define __stub macros and hopefully few prototypes,
4367 which can conflict with char $ac_func(); below. */
4369 /* Override any gcc2 internal prototype to avoid an error. */
4370 /* We use char because int might match the return type of a gcc2
4371 builtin and then its argument prototype would still apply. */
4376 /* The GNU C library defines this for functions which it implements
4377 to always fail with ENOSYS. Some functions are actually named
4378 something starting with __ and the normal name is an alias. */
4379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4387 if { (eval echo configure:4388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4389 eval "ac_cv_func_
$ac_func=yes"
4391 echo "configure
: failed program was
:" >&5
4392 cat conftest.$ac_ext >&5
4394 eval "ac_cv_func_
$ac_func=no
"
4399 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4400 echo "$ac_t""yes" 1>&6
4401 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4402 cat >> confdefs.h <<EOF
4403 #define $ac_tr_func 1
4407 echo "$ac_t""no
" 1>&6
4408 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
4412 for ac_func in __signbitf
4414 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4415 echo "configure
:4416: checking
for $ac_func" >&5
4416 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4417 echo $ac_n "(cached
) $ac_c" 1>&6
4419 cat > conftest.$ac_ext <<EOF
4420 #line 4421 "configure
"
4421 #include "confdefs.h
"
4422 /* System header to define __stub macros and hopefully few prototypes,
4423 which can conflict with char $ac_func(); below. */
4425 /* Override any gcc2 internal prototype to avoid an error. */
4426 /* We use char because int might match the return type of a gcc2
4427 builtin and then its argument prototype would still apply. */
4432 /* The GNU C library defines this for functions which it implements
4433 to always fail with ENOSYS. Some functions are actually named
4434 something starting with __ and the normal name is an alias. */
4435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4443 if { (eval echo configure:4444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4445 eval "ac_cv_func_
$ac_func=yes"
4447 echo "configure
: failed program was
:" >&5
4448 cat conftest.$ac_ext >&5
4450 eval "ac_cv_func_
$ac_func=no
"
4455 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4456 echo "$ac_t""yes" 1>&6
4457 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4458 cat >> confdefs.h <<EOF
4459 #define $ac_tr_func 1
4463 echo "$ac_t""no
" 1>&6
4464 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
4469 if test x$ac_cv_func_copysignl = x"yes"; then
4470 for ac_func in __signbitl
4472 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4473 echo "configure
:4474: checking
for $ac_func" >&5
4474 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4475 echo $ac_n "(cached
) $ac_c" 1>&6
4477 cat > conftest.$ac_ext <<EOF
4478 #line 4479 "configure
"
4479 #include "confdefs.h
"
4480 /* System header to define __stub macros and hopefully few prototypes,
4481 which can conflict with char $ac_func(); below. */
4483 /* Override any gcc2 internal prototype to avoid an error. */
4484 /* We use char because int might match the return type of a gcc2
4485 builtin and then its argument prototype would still apply. */
4490 /* The GNU C library defines this for functions which it implements
4491 to always fail with ENOSYS. Some functions are actually named
4492 something starting with __ and the normal name is an alias. */
4493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4501 if { (eval echo configure:4502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4503 eval "ac_cv_func_
$ac_func=yes"
4505 echo "configure
: failed program was
:" >&5
4506 cat conftest.$ac_ext >&5
4508 eval "ac_cv_func_
$ac_func=no
"
4513 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4514 echo "$ac_t""yes" 1>&6
4515 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4516 cat >> confdefs.h <<EOF
4517 #define $ac_tr_func 1
4521 echo "$ac_t""no
" 1>&6
4522 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
4532 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
4533 echo "configure
:4534: checking
for mbstate_t
" >&5
4534 cat > conftest.$ac_ext <<EOF
4535 #line 4536 "configure
"
4536 #include "confdefs.h
"
4539 mbstate_t teststate;
4542 if { (eval echo configure:4543: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4546 echo "configure
: failed program was
:" >&5
4547 cat conftest.$ac_ext >&5
4552 echo "$ac_t""$have_mbstate_t" 1>&6
4553 if test x"$have_mbstate_t" = xyes; then
4554 cat >> confdefs.h <<\EOF
4555 #define HAVE_MBSTATE_T 1
4560 for ac_hdr in wchar.h
4562 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4563 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4564 echo "configure
:4565: checking
for $ac_hdr" >&5
4565 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4566 echo $ac_n "(cached
) $ac_c" 1>&6
4568 cat > conftest.$ac_ext <<EOF
4569 #line 4570 "configure
"
4570 #include "confdefs.h
"
4573 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4574 { (eval echo configure:4575: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4575 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4576 if test -z "$ac_err"; then
4578 eval "ac_cv_header_
$ac_safe=yes"
4581 echo "configure
: failed program was
:" >&5
4582 cat conftest.$ac_ext >&5
4584 eval "ac_cv_header_
$ac_safe=no
"
4588 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4589 echo "$ac_t""yes" 1>&6
4590 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4591 cat >> confdefs.h <<EOF
4592 #define $ac_tr_hdr 1
4596 echo "$ac_t""no
" 1>&6
4601 for ac_hdr in wctype.h
4603 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4604 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4605 echo "configure
:4606: checking
for $ac_hdr" >&5
4606 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4607 echo $ac_n "(cached
) $ac_c" 1>&6
4609 cat > conftest.$ac_ext <<EOF
4610 #line 4611 "configure
"
4611 #include "confdefs.h
"
4614 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4615 { (eval echo configure:4616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4616 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4617 if test -z "$ac_err"; then
4619 eval "ac_cv_header_
$ac_safe=yes"
4622 echo "configure
: failed program was
:" >&5
4623 cat conftest.$ac_ext >&5
4625 eval "ac_cv_header_
$ac_safe=no
"
4629 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4630 echo "$ac_t""yes" 1>&6
4631 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4632 cat >> confdefs.h <<EOF
4633 #define $ac_tr_hdr 1
4637 echo "$ac_t""no
" 1>&6
4643 if test x"$ac_has_wchar_h" = xyes &&
4644 test x"$ac_has_wctype_h" = xyes &&
4645 test x"$enable_c_mbchar" != xno; then
4647 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
4648 echo "configure
:4649: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
4649 cat > conftest.$ac_ext <<EOF
4650 #line 4651 "configure
"
4651 #include "confdefs.h
"
4654 int i = WCHAR_MIN; int j = WCHAR_MAX;
4657 if { (eval echo configure:4658: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4659 has_wchar_minmax=yes
4661 echo "configure
: failed program was
:" >&5
4662 cat conftest.$ac_ext >&5
4667 echo "$ac_t""$has_wchar_minmax" 1>&6
4669 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
4670 echo "configure
:4671: checking
for WEOF
" >&5
4671 cat > conftest.$ac_ext <<EOF
4672 #line 4673 "configure
"
4673 #include "confdefs.h
"
4681 if { (eval echo configure:4682: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4685 echo "configure
: failed program was
:" >&5
4686 cat conftest.$ac_ext >&5
4691 echo "$ac_t""$has_weof" 1>&6
4694 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4696 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4697 echo "configure
:4698: checking
for $ac_func" >&5
4698 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4699 echo $ac_n "(cached
) $ac_c" 1>&6
4701 cat > conftest.$ac_ext <<EOF
4702 #line 4703 "configure
"
4703 #include "confdefs.h
"
4704 /* System header to define __stub macros and hopefully few prototypes,
4705 which can conflict with char $ac_func(); below. */
4707 /* Override any gcc2 internal prototype to avoid an error. */
4708 /* We use char because int might match the return type of a gcc2
4709 builtin and then its argument prototype would still apply. */
4714 /* The GNU C library defines this for functions which it implements
4715 to always fail with ENOSYS. Some functions are actually named
4716 something starting with __ and the normal name is an alias. */
4717 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4725 if { (eval echo configure:4726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4727 eval "ac_cv_func_
$ac_func=yes"
4729 echo "configure
: failed program was
:" >&5
4730 cat conftest.$ac_ext >&5
4732 eval "ac_cv_func_
$ac_func=no
"
4737 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4738 echo "$ac_t""yes" 1>&6
4739 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4740 cat >> confdefs.h <<EOF
4741 #define $ac_tr_func 1
4745 echo "$ac_t""no
" 1>&6
4752 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
4753 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4754 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4755 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4756 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4757 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4759 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4760 echo "configure
:4761: checking
for $ac_func" >&5
4761 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4762 echo $ac_n "(cached
) $ac_c" 1>&6
4764 cat > conftest.$ac_ext <<EOF
4765 #line 4766 "configure
"
4766 #include "confdefs.h
"
4767 /* System header to define __stub macros and hopefully few prototypes,
4768 which can conflict with char $ac_func(); below. */
4770 /* Override any gcc2 internal prototype to avoid an error. */
4771 /* We use char because int might match the return type of a gcc2
4772 builtin and then its argument prototype would still apply. */
4777 /* The GNU C library defines this for functions which it implements
4778 to always fail with ENOSYS. Some functions are actually named
4779 something starting with __ and the normal name is an alias. */
4780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4788 if { (eval echo configure:4789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4790 eval "ac_cv_func_
$ac_func=yes"
4792 echo "configure
: failed program was
:" >&5
4793 cat conftest.$ac_ext >&5
4795 eval "ac_cv_func_
$ac_func=no
"
4800 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4801 echo "$ac_t""yes" 1>&6
4802 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4803 cat >> confdefs.h <<EOF
4804 #define $ac_tr_func 1
4808 echo "$ac_t""no
" 1>&6
4815 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
4816 echo "configure
:4817: checking
for ISO C99 wchar_t support
" >&5
4817 if test x"$has_weof" = xyes &&
4818 test x"$has_wchar_minmax" = xyes &&
4819 test x"$ac_wfuncs" = xyes; then
4820 ac_isoC99_wchar_t=yes
4822 ac_isoC99_wchar_t=no
4824 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4826 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
4827 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
4828 echo "configure
:4829: checking
for iconv.h
" >&5
4829 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4830 echo $ac_n "(cached
) $ac_c" 1>&6
4832 cat > conftest.$ac_ext <<EOF
4833 #line 4834 "configure
"
4834 #include "confdefs.h
"
4837 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4838 { (eval echo configure:4839: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4839 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4840 if test -z "$ac_err"; then
4842 eval "ac_cv_header_
$ac_safe=yes"
4845 echo "configure
: failed program was
:" >&5
4846 cat conftest.$ac_ext >&5
4848 eval "ac_cv_header_
$ac_safe=no
"
4852 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4853 echo "$ac_t""yes" 1>&6
4856 echo "$ac_t""no
" 1>&6
4860 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
4861 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
4862 echo "configure
:4863: checking
for langinfo.h
" >&5
4863 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4864 echo $ac_n "(cached
) $ac_c" 1>&6
4866 cat > conftest.$ac_ext <<EOF
4867 #line 4868 "configure
"
4868 #include "confdefs.h
"
4869 #include <langinfo.h>
4871 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4872 { (eval echo configure:4873: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4873 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4874 if test -z "$ac_err"; then
4876 eval "ac_cv_header_
$ac_safe=yes"
4879 echo "configure
: failed program was
:" >&5
4880 cat conftest.$ac_ext >&5
4882 eval "ac_cv_header_
$ac_safe=no
"
4886 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4887 echo "$ac_t""yes" 1>&6
4888 ac_has_langinfo_h=yes
4890 echo "$ac_t""no
" 1>&6
4891 ac_has_langinfo_h=no
4895 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
4896 echo "configure
:4897: checking
for iconv in -liconv" >&5
4897 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4898 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4899 echo $ac_n "(cached
) $ac_c" 1>&6
4901 ac_save_LIBS="$LIBS"
4902 LIBS="-liconv $LIBS"
4903 cat > conftest.$ac_ext <<EOF
4904 #line 4905 "configure
"
4905 #include "confdefs.h
"
4906 /* Override any gcc2 internal prototype to avoid an error. */
4907 /* We use char because int might match the return type of a gcc2
4908 builtin and then its argument prototype would still apply. */
4915 if { (eval echo configure:4916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4917 eval "ac_cv_lib_
$ac_lib_var=yes"
4919 echo "configure
: failed program was
:" >&5
4920 cat conftest.$ac_ext >&5
4922 eval "ac_cv_lib_
$ac_lib_var=no
"
4925 LIBS="$ac_save_LIBS"
4928 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4929 echo "$ac_t""yes" 1>&6
4932 echo "$ac_t""no
" 1>&6
4935 ac_save_LIBS="$LIBS"
4936 LIBS="$LIBS $libiconv"
4938 for ac_func in iconv_open iconv_close iconv nl_langinfo
4940 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4941 echo "configure
:4942: checking
for $ac_func" >&5
4942 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4943 echo $ac_n "(cached
) $ac_c" 1>&6
4945 cat > conftest.$ac_ext <<EOF
4946 #line 4947 "configure
"
4947 #include "confdefs.h
"
4948 /* System header to define __stub macros and hopefully few prototypes,
4949 which can conflict with char $ac_func(); below. */
4951 /* Override any gcc2 internal prototype to avoid an error. */
4952 /* We use char because int might match the return type of a gcc2
4953 builtin and then its argument prototype would still apply. */
4958 /* The GNU C library defines this for functions which it implements
4959 to always fail with ENOSYS. Some functions are actually named
4960 something starting with __ and the normal name is an alias. */
4961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4969 if { (eval echo configure:4970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4971 eval "ac_cv_func_
$ac_func=yes"
4973 echo "configure
: failed program was
:" >&5
4974 cat conftest.$ac_ext >&5
4976 eval "ac_cv_func_
$ac_func=no
"
4981 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4982 echo "$ac_t""yes" 1>&6
4983 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4984 cat >> confdefs.h <<EOF
4985 #define $ac_tr_func 1
4990 echo "$ac_t""no
" 1>&6
4996 LIBS="$ac_save_LIBS"
4998 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
4999 echo "configure
:5000: checking
for XPG2 wchar_t support
" >&5
5000 if test x"$ac_has_iconv_h" = xyes &&
5001 test x"$ac_has_langinfo_h" = xyes &&
5002 test x"$ac_XPG2funcs" = xyes; then
5007 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5009 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
5010 echo "configure
:5011: checking
for enabled wchar_t specializations
" >&5
5011 if test x"$ac_isoC99_wchar_t" = xyes &&
5012 test x"$ac_XPG2_wchar_t" = xyes; then
5013 cat >> confdefs.h <<\EOF
5014 #define _GLIBCPP_USE_WCHAR_T 1
5017 echo "$ac_t"""yes"" 1>&6
5019 echo "$ac_t"""no"" 1>&6
5022 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
5025 cat >> confdefs.h <<\EOF
5026 #define HAVE_COPYSIGN 1
5029 cat >> confdefs.h <<\EOF
5030 #define HAVE_COPYSIGNF 1
5033 cat >> confdefs.h <<\EOF
5034 #define HAVE_FINITE 1
5037 cat >> confdefs.h <<\EOF
5038 #define HAVE_FINITEF 1
5041 cat >> confdefs.h <<\EOF
5042 #define HAVE_FREXPF 1
5045 cat >> confdefs.h <<\EOF
5046 #define HAVE_HYPOTF 1
5049 cat >> confdefs.h <<\EOF
5050 #define HAVE_ISINF 1
5053 cat >> confdefs.h <<\EOF
5054 #define HAVE_ISINFF 1
5057 cat >> confdefs.h <<\EOF
5058 #define HAVE_ISNAN 1
5061 cat >> confdefs.h <<\EOF
5062 #define HAVE_ISNANF 1
5065 cat >> confdefs.h <<\EOF
5066 #define HAVE_SINCOS 1
5069 cat >> confdefs.h <<\EOF
5070 #define HAVE_SINCOSF 1
5073 if test x"long_double_math_on_this_cpu
" = x"yes"; then
5074 cat >> confdefs.h <<\EOF
5075 #define HAVE_FINITEL 1
5078 cat >> confdefs.h <<\EOF
5079 #define HAVE_HYPOTL 1
5082 cat >> confdefs.h <<\EOF
5083 #define HAVE_ISINFL 1
5086 cat >> confdefs.h <<\EOF
5087 #define HAVE_ISNANL 1
5093 # Check for available headers.
5094 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5095 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5096 fp.h locale.h float.h inttypes.h
5098 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5099 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5100 echo "configure
:5101: checking
for $ac_hdr" >&5
5101 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5102 echo $ac_n "(cached
) $ac_c" 1>&6
5104 cat > conftest.$ac_ext <<EOF
5105 #line 5106 "configure
"
5106 #include "confdefs.h
"
5109 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5110 { (eval echo configure:5111: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5111 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5112 if test -z "$ac_err"; then
5114 eval "ac_cv_header_
$ac_safe=yes"
5117 echo "configure
: failed program was
:" >&5
5118 cat conftest.$ac_ext >&5
5120 eval "ac_cv_header_
$ac_safe=no
"
5124 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5125 echo "$ac_t""yes" 1>&6
5126 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5127 cat >> confdefs.h <<EOF
5128 #define $ac_tr_hdr 1
5132 echo "$ac_t""no
" 1>&6
5136 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5139 # If we're not using GNU ld, then there's no point in even trying these
5140 # tests. Check for that first. We should have already tested for gld
5141 # by now (in libtool), but require it now just to be safe...
5142 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5143 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5146 # The name set by libtool depends on the version of libtool. Shame on us
5147 # for depending on an impl detail, but c'est la vie. Older versions used
5148 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
5149 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
5150 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
5151 # set (hence we're using an older libtool), then set it.
5152 if test x${with_gnu_ld+set} != xset; then
5153 if test x${ac_cv_prog_gnu_ld+set} != xset; then
5154 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
5157 with_gnu_ld=$ac_cv_prog_gnu_ld
5161 # Start by getting the version number. I think the libtool test already
5162 # does some of this, but throws away the result.
5164 ldver=`$LD --version 2>/dev/null | head -1 | \
5165 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
5167 glibcpp_gnu_ld_version=`echo $ldver | \
5168 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
5170 # Set --gc-sections.
5171 if test "$with_gnu_ld" = "notbroken
"; then
5172 # GNU ld it is! Joy and bunny rabbits!
5174 # All these tests are for C++; save the language and the compiler flags.
5175 # Need to do this so that g++ won't try to link in libstdc++
5176 ac_test_CFLAGS="${CFLAGS+set}"
5177 ac_save_CFLAGS="$CFLAGS"
5178 CFLAGS='-x c++ -Wl,--gc-sections'
5180 # Check for -Wl,--gc-sections
5181 # XXX This test is broken at the moment, as symbols required for
5182 # linking are now in libsupc++ (not built yet.....). In addition,
5183 # this test has cored on solaris in the past. In addition,
5184 # --gc-sections doesn't really work at the moment (keeps on discarding
5185 # used sections, first .eh_frame and now some of the glibc sections for
5186 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5187 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
5188 echo "configure
:5189: checking
for ld that supports
-Wl,--gc-sections" >&5
5189 if test "$cross_compiling" = yes; then
5190 ac_sectionLDflags=yes
5192 cat > conftest.$ac_ext <<EOF
5193 #line 5194 "configure
"
5194 #include "confdefs.h
"
5204 if { (eval echo configure:5205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5206 ac_sectionLDflags=yes
5208 echo "configure
: failed program was
:" >&5
5209 cat conftest.$ac_ext >&5
5211 ac_sectionLDflags=no
5216 if test "$ac_test_CFLAGS" = set; then
5217 CFLAGS="$ac_save_CFLAGS"
5219 # this is the suspicious part
5222 if test "$ac_sectionLDflags" = "yes"; then
5223 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5225 echo "$ac_t""$ac_sectionLDflags" 1>&6
5228 # Set linker optimization flags.
5229 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no
"; then
5230 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5237 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
5238 echo "configure
:5239: checking
for main
in -lm" >&5
5239 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5240 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5241 echo $ac_n "(cached
) $ac_c" 1>&6
5243 ac_save_LIBS="$LIBS"
5245 cat > conftest.$ac_ext <<EOF
5246 #line 5247 "configure
"
5247 #include "confdefs.h
"
5253 if { (eval echo configure:5254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5255 eval "ac_cv_lib_
$ac_lib_var=yes"
5257 echo "configure
: failed program was
:" >&5
5258 cat conftest.$ac_ext >&5
5260 eval "ac_cv_lib_
$ac_lib_var=no
"
5263 LIBS="$ac_save_LIBS"
5266 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5267 echo "$ac_t""yes" 1>&6
5268 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5269 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5270 cat >> confdefs.h <<EOF
5271 #define $ac_tr_lib 1
5277 echo "$ac_t""no
" 1>&6
5280 for ac_func in nan copysignf
5282 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5283 echo "configure
:5284: checking
for $ac_func" >&5
5284 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5285 echo $ac_n "(cached
) $ac_c" 1>&6
5287 cat > conftest.$ac_ext <<EOF
5288 #line 5289 "configure
"
5289 #include "confdefs.h
"
5290 /* System header to define __stub macros and hopefully few prototypes,
5291 which can conflict with char $ac_func(); below. */
5293 /* Override any gcc2 internal prototype to avoid an error. */
5294 /* We use char because int might match the return type of a gcc2
5295 builtin and then its argument prototype would still apply. */
5300 /* The GNU C library defines this for functions which it implements
5301 to always fail with ENOSYS. Some functions are actually named
5302 something starting with __ and the normal name is an alias. */
5303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5311 if { (eval echo configure:5312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5313 eval "ac_cv_func_
$ac_func=yes"
5315 echo "configure
: failed program was
:" >&5
5316 cat conftest.$ac_ext >&5
5318 eval "ac_cv_func_
$ac_func=no
"
5323 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5324 echo "$ac_t""yes" 1>&6
5325 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5326 cat >> confdefs.h <<EOF
5327 #define $ac_tr_func 1
5331 echo "$ac_t""no
" 1>&6
5332 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
5337 for ac_func in __signbit
5339 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5340 echo "configure
:5341: checking
for $ac_func" >&5
5341 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5342 echo $ac_n "(cached
) $ac_c" 1>&6
5344 cat > conftest.$ac_ext <<EOF
5345 #line 5346 "configure
"
5346 #include "confdefs.h
"
5347 /* System header to define __stub macros and hopefully few prototypes,
5348 which can conflict with char $ac_func(); below. */
5350 /* Override any gcc2 internal prototype to avoid an error. */
5351 /* We use char because int might match the return type of a gcc2
5352 builtin and then its argument prototype would still apply. */
5357 /* The GNU C library defines this for functions which it implements
5358 to always fail with ENOSYS. Some functions are actually named
5359 something starting with __ and the normal name is an alias. */
5360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5368 if { (eval echo configure:5369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5370 eval "ac_cv_func_
$ac_func=yes"
5372 echo "configure
: failed program was
:" >&5
5373 cat conftest.$ac_ext >&5
5375 eval "ac_cv_func_
$ac_func=no
"
5380 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5381 echo "$ac_t""yes" 1>&6
5382 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5383 cat >> confdefs.h <<EOF
5384 #define $ac_tr_func 1
5388 echo "$ac_t""no
" 1>&6
5389 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
5393 for ac_func in __signbitf
5395 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5396 echo "configure
:5397: checking
for $ac_func" >&5
5397 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5398 echo $ac_n "(cached
) $ac_c" 1>&6
5400 cat > conftest.$ac_ext <<EOF
5401 #line 5402 "configure
"
5402 #include "confdefs.h
"
5403 /* System header to define __stub macros and hopefully few prototypes,
5404 which can conflict with char $ac_func(); below. */
5406 /* Override any gcc2 internal prototype to avoid an error. */
5407 /* We use char because int might match the return type of a gcc2
5408 builtin and then its argument prototype would still apply. */
5413 /* The GNU C library defines this for functions which it implements
5414 to always fail with ENOSYS. Some functions are actually named
5415 something starting with __ and the normal name is an alias. */
5416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5424 if { (eval echo configure:5425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5426 eval "ac_cv_func_
$ac_func=yes"
5428 echo "configure
: failed program was
:" >&5
5429 cat conftest.$ac_ext >&5
5431 eval "ac_cv_func_
$ac_func=no
"
5436 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5437 echo "$ac_t""yes" 1>&6
5438 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5439 cat >> confdefs.h <<EOF
5440 #define $ac_tr_func 1
5444 echo "$ac_t""no
" 1>&6
5445 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
5450 if test x$ac_cv_func_copysignl = x"yes"; then
5451 for ac_func in __signbitl
5453 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5454 echo "configure
:5455: checking
for $ac_func" >&5
5455 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5456 echo $ac_n "(cached
) $ac_c" 1>&6
5458 cat > conftest.$ac_ext <<EOF
5459 #line 5460 "configure
"
5460 #include "confdefs.h
"
5461 /* System header to define __stub macros and hopefully few prototypes,
5462 which can conflict with char $ac_func(); below. */
5464 /* Override any gcc2 internal prototype to avoid an error. */
5465 /* We use char because int might match the return type of a gcc2
5466 builtin and then its argument prototype would still apply. */
5471 /* The GNU C library defines this for functions which it implements
5472 to always fail with ENOSYS. Some functions are actually named
5473 something starting with __ and the normal name is an alias. */
5474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5482 if { (eval echo configure:5483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5484 eval "ac_cv_func_
$ac_func=yes"
5486 echo "configure
: failed program was
:" >&5
5487 cat conftest.$ac_ext >&5
5489 eval "ac_cv_func_
$ac_func=no
"
5494 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5495 echo "$ac_t""yes" 1>&6
5496 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5497 cat >> confdefs.h <<EOF
5498 #define $ac_tr_func 1
5502 echo "$ac_t""no
" 1>&6
5503 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
5513 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
5514 echo "configure
:5515: checking
for mbstate_t
" >&5
5515 cat > conftest.$ac_ext <<EOF
5516 #line 5517 "configure
"
5517 #include "confdefs.h
"
5520 mbstate_t teststate;
5523 if { (eval echo configure:5524: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5527 echo "configure
: failed program was
:" >&5
5528 cat conftest.$ac_ext >&5
5533 echo "$ac_t""$have_mbstate_t" 1>&6
5534 if test x"$have_mbstate_t" = xyes; then
5535 cat >> confdefs.h <<\EOF
5536 #define HAVE_MBSTATE_T 1
5541 for ac_hdr in wchar.h
5543 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5544 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5545 echo "configure
:5546: checking
for $ac_hdr" >&5
5546 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5547 echo $ac_n "(cached
) $ac_c" 1>&6
5549 cat > conftest.$ac_ext <<EOF
5550 #line 5551 "configure
"
5551 #include "confdefs.h
"
5554 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5555 { (eval echo configure:5556: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5556 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5557 if test -z "$ac_err"; then
5559 eval "ac_cv_header_
$ac_safe=yes"
5562 echo "configure
: failed program was
:" >&5
5563 cat conftest.$ac_ext >&5
5565 eval "ac_cv_header_
$ac_safe=no
"
5569 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5570 echo "$ac_t""yes" 1>&6
5571 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5572 cat >> confdefs.h <<EOF
5573 #define $ac_tr_hdr 1
5577 echo "$ac_t""no
" 1>&6
5582 for ac_hdr in wctype.h
5584 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5585 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5586 echo "configure
:5587: checking
for $ac_hdr" >&5
5587 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5588 echo $ac_n "(cached
) $ac_c" 1>&6
5590 cat > conftest.$ac_ext <<EOF
5591 #line 5592 "configure
"
5592 #include "confdefs.h
"
5595 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5596 { (eval echo configure:5597: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5597 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5598 if test -z "$ac_err"; then
5600 eval "ac_cv_header_
$ac_safe=yes"
5603 echo "configure
: failed program was
:" >&5
5604 cat conftest.$ac_ext >&5
5606 eval "ac_cv_header_
$ac_safe=no
"
5610 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5611 echo "$ac_t""yes" 1>&6
5612 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5613 cat >> confdefs.h <<EOF
5614 #define $ac_tr_hdr 1
5618 echo "$ac_t""no
" 1>&6
5624 if test x"$ac_has_wchar_h" = xyes &&
5625 test x"$ac_has_wctype_h" = xyes &&
5626 test x"$enable_c_mbchar" != xno; then
5628 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
5629 echo "configure
:5630: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
5630 cat > conftest.$ac_ext <<EOF
5631 #line 5632 "configure
"
5632 #include "confdefs.h
"
5635 int i = WCHAR_MIN; int j = WCHAR_MAX;
5638 if { (eval echo configure:5639: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5640 has_wchar_minmax=yes
5642 echo "configure
: failed program was
:" >&5
5643 cat conftest.$ac_ext >&5
5648 echo "$ac_t""$has_wchar_minmax" 1>&6
5650 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
5651 echo "configure
:5652: checking
for WEOF
" >&5
5652 cat > conftest.$ac_ext <<EOF
5653 #line 5654 "configure
"
5654 #include "confdefs.h
"
5662 if { (eval echo configure:5663: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5666 echo "configure
: failed program was
:" >&5
5667 cat conftest.$ac_ext >&5
5672 echo "$ac_t""$has_weof" 1>&6
5675 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5677 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5678 echo "configure
:5679: checking
for $ac_func" >&5
5679 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5680 echo $ac_n "(cached
) $ac_c" 1>&6
5682 cat > conftest.$ac_ext <<EOF
5683 #line 5684 "configure
"
5684 #include "confdefs.h
"
5685 /* System header to define __stub macros and hopefully few prototypes,
5686 which can conflict with char $ac_func(); below. */
5688 /* Override any gcc2 internal prototype to avoid an error. */
5689 /* We use char because int might match the return type of a gcc2
5690 builtin and then its argument prototype would still apply. */
5695 /* The GNU C library defines this for functions which it implements
5696 to always fail with ENOSYS. Some functions are actually named
5697 something starting with __ and the normal name is an alias. */
5698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5706 if { (eval echo configure:5707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5708 eval "ac_cv_func_
$ac_func=yes"
5710 echo "configure
: failed program was
:" >&5
5711 cat conftest.$ac_ext >&5
5713 eval "ac_cv_func_
$ac_func=no
"
5718 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5719 echo "$ac_t""yes" 1>&6
5720 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5721 cat >> confdefs.h <<EOF
5722 #define $ac_tr_func 1
5726 echo "$ac_t""no
" 1>&6
5733 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
5734 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5735 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5736 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5737 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5738 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5740 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5741 echo "configure
:5742: checking
for $ac_func" >&5
5742 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5743 echo $ac_n "(cached
) $ac_c" 1>&6
5745 cat > conftest.$ac_ext <<EOF
5746 #line 5747 "configure
"
5747 #include "confdefs.h
"
5748 /* System header to define __stub macros and hopefully few prototypes,
5749 which can conflict with char $ac_func(); below. */
5751 /* Override any gcc2 internal prototype to avoid an error. */
5752 /* We use char because int might match the return type of a gcc2
5753 builtin and then its argument prototype would still apply. */
5758 /* The GNU C library defines this for functions which it implements
5759 to always fail with ENOSYS. Some functions are actually named
5760 something starting with __ and the normal name is an alias. */
5761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5769 if { (eval echo configure:5770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5771 eval "ac_cv_func_
$ac_func=yes"
5773 echo "configure
: failed program was
:" >&5
5774 cat conftest.$ac_ext >&5
5776 eval "ac_cv_func_
$ac_func=no
"
5781 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5782 echo "$ac_t""yes" 1>&6
5783 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5784 cat >> confdefs.h <<EOF
5785 #define $ac_tr_func 1
5789 echo "$ac_t""no
" 1>&6
5796 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
5797 echo "configure
:5798: checking
for ISO C99 wchar_t support
" >&5
5798 if test x"$has_weof" = xyes &&
5799 test x"$has_wchar_minmax" = xyes &&
5800 test x"$ac_wfuncs" = xyes; then
5801 ac_isoC99_wchar_t=yes
5803 ac_isoC99_wchar_t=no
5805 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
5807 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
5808 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
5809 echo "configure
:5810: checking
for iconv.h
" >&5
5810 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5811 echo $ac_n "(cached
) $ac_c" 1>&6
5813 cat > conftest.$ac_ext <<EOF
5814 #line 5815 "configure
"
5815 #include "confdefs.h
"
5818 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5819 { (eval echo configure:5820: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5820 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5821 if test -z "$ac_err"; then
5823 eval "ac_cv_header_
$ac_safe=yes"
5826 echo "configure
: failed program was
:" >&5
5827 cat conftest.$ac_ext >&5
5829 eval "ac_cv_header_
$ac_safe=no
"
5833 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5834 echo "$ac_t""yes" 1>&6
5837 echo "$ac_t""no
" 1>&6
5841 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
5842 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
5843 echo "configure
:5844: checking
for langinfo.h
" >&5
5844 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5845 echo $ac_n "(cached
) $ac_c" 1>&6
5847 cat > conftest.$ac_ext <<EOF
5848 #line 5849 "configure
"
5849 #include "confdefs.h
"
5850 #include <langinfo.h>
5852 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5853 { (eval echo configure:5854: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5854 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5855 if test -z "$ac_err"; then
5857 eval "ac_cv_header_
$ac_safe=yes"
5860 echo "configure
: failed program was
:" >&5
5861 cat conftest.$ac_ext >&5
5863 eval "ac_cv_header_
$ac_safe=no
"
5867 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5868 echo "$ac_t""yes" 1>&6
5869 ac_has_langinfo_h=yes
5871 echo "$ac_t""no
" 1>&6
5872 ac_has_langinfo_h=no
5876 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
5877 echo "configure
:5878: checking
for iconv in -liconv" >&5
5878 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5879 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5880 echo $ac_n "(cached
) $ac_c" 1>&6
5882 ac_save_LIBS="$LIBS"
5883 LIBS="-liconv $LIBS"
5884 cat > conftest.$ac_ext <<EOF
5885 #line 5886 "configure
"
5886 #include "confdefs.h
"
5887 /* Override any gcc2 internal prototype to avoid an error. */
5888 /* We use char because int might match the return type of a gcc2
5889 builtin and then its argument prototype would still apply. */
5896 if { (eval echo configure:5897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5898 eval "ac_cv_lib_
$ac_lib_var=yes"
5900 echo "configure
: failed program was
:" >&5
5901 cat conftest.$ac_ext >&5
5903 eval "ac_cv_lib_
$ac_lib_var=no
"
5906 LIBS="$ac_save_LIBS"
5909 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5910 echo "$ac_t""yes" 1>&6
5913 echo "$ac_t""no
" 1>&6
5916 ac_save_LIBS="$LIBS"
5917 LIBS="$LIBS $libiconv"
5919 for ac_func in iconv_open iconv_close iconv nl_langinfo
5921 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5922 echo "configure
:5923: checking
for $ac_func" >&5
5923 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5924 echo $ac_n "(cached
) $ac_c" 1>&6
5926 cat > conftest.$ac_ext <<EOF
5927 #line 5928 "configure
"
5928 #include "confdefs.h
"
5929 /* System header to define __stub macros and hopefully few prototypes,
5930 which can conflict with char $ac_func(); below. */
5932 /* Override any gcc2 internal prototype to avoid an error. */
5933 /* We use char because int might match the return type of a gcc2
5934 builtin and then its argument prototype would still apply. */
5939 /* The GNU C library defines this for functions which it implements
5940 to always fail with ENOSYS. Some functions are actually named
5941 something starting with __ and the normal name is an alias. */
5942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5950 if { (eval echo configure:5951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5952 eval "ac_cv_func_
$ac_func=yes"
5954 echo "configure
: failed program was
:" >&5
5955 cat conftest.$ac_ext >&5
5957 eval "ac_cv_func_
$ac_func=no
"
5962 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5963 echo "$ac_t""yes" 1>&6
5964 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5965 cat >> confdefs.h <<EOF
5966 #define $ac_tr_func 1
5971 echo "$ac_t""no
" 1>&6
5977 LIBS="$ac_save_LIBS"
5979 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
5980 echo "configure
:5981: checking
for XPG2 wchar_t support
" >&5
5981 if test x"$ac_has_iconv_h" = xyes &&
5982 test x"$ac_has_langinfo_h" = xyes &&
5983 test x"$ac_XPG2funcs" = xyes; then
5988 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5990 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
5991 echo "configure
:5992: checking
for enabled wchar_t specializations
" >&5
5992 if test x"$ac_isoC99_wchar_t" = xyes &&
5993 test x"$ac_XPG2_wchar_t" = xyes; then
5994 cat >> confdefs.h <<\EOF
5995 #define _GLIBCPP_USE_WCHAR_T 1
5998 echo "$ac_t"""yes"" 1>&6
6000 echo "$ac_t"""no"" 1>&6
6003 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
6006 os_include_dir="os
/hpux
"
6007 cat >> confdefs.h <<\EOF
6008 #define HAVE_COPYSIGN 1
6011 cat >> confdefs.h <<\EOF
6012 #define HAVE_COPYSIGNF 1
6015 cat >> confdefs.h <<\EOF
6016 #define HAVE_FREXPF 1
6019 cat >> confdefs.h <<\EOF
6020 #define HAVE_HYPOT 1
6023 case "$target_alias" in
6025 cat >> confdefs.h <<\EOF
6026 #define HAVE_FINITE 1
6029 cat >> confdefs.h <<\EOF
6030 #define HAVE_FINITEF 1
6033 cat >> confdefs.h <<\EOF
6034 #define HAVE_ISINF 1
6037 cat >> confdefs.h <<\EOF
6038 #define HAVE_ISINFF 1
6041 cat >> confdefs.h <<\EOF
6042 #define HAVE_ISNAN 1
6045 cat >> confdefs.h <<\EOF
6046 #define HAVE_ISNANF 1
6054 # Check for available headers.
6055 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
6056 machine/endian.h machine/param.h sys/machine.h sys/types.h \
6057 fp.h locale.h float.h inttypes.h
6059 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6060 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6061 echo "configure
:6062: checking
for $ac_hdr" >&5
6062 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6063 echo $ac_n "(cached
) $ac_c" 1>&6
6065 cat > conftest.$ac_ext <<EOF
6066 #line 6067 "configure
"
6067 #include "confdefs.h
"
6070 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6071 { (eval echo configure:6072: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6072 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6073 if test -z "$ac_err"; then
6075 eval "ac_cv_header_
$ac_safe=yes"
6078 echo "configure
: failed program was
:" >&5
6079 cat conftest.$ac_ext >&5
6081 eval "ac_cv_header_
$ac_safe=no
"
6085 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6086 echo "$ac_t""yes" 1>&6
6087 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6088 cat >> confdefs.h <<EOF
6089 #define $ac_tr_hdr 1
6093 echo "$ac_t""no
" 1>&6
6097 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6100 # If we're not using GNU ld, then there's no point in even trying these
6101 # tests. Check for that first. We should have already tested for gld
6102 # by now (in libtool), but require it now just to be safe...
6103 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6104 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6107 # The name set by libtool depends on the version of libtool. Shame on us
6108 # for depending on an impl detail, but c'est la vie. Older versions used
6109 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6110 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6111 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6112 # set (hence we're using an older libtool), then set it.
6113 if test x${with_gnu_ld+set} != xset; then
6114 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6115 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
6118 with_gnu_ld=$ac_cv_prog_gnu_ld
6122 # Start by getting the version number. I think the libtool test already
6123 # does some of this, but throws away the result.
6125 ldver=`$LD --version 2>/dev/null | head -1 | \
6126 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6128 glibcpp_gnu_ld_version=`echo $ldver | \
6129 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6131 # Set --gc-sections.
6132 if test "$with_gnu_ld" = "notbroken
"; then
6133 # GNU ld it is! Joy and bunny rabbits!
6135 # All these tests are for C++; save the language and the compiler flags.
6136 # Need to do this so that g++ won't try to link in libstdc++
6137 ac_test_CFLAGS="${CFLAGS+set}"
6138 ac_save_CFLAGS="$CFLAGS"
6139 CFLAGS='-x c++ -Wl,--gc-sections'
6141 # Check for -Wl,--gc-sections
6142 # XXX This test is broken at the moment, as symbols required for
6143 # linking are now in libsupc++ (not built yet.....). In addition,
6144 # this test has cored on solaris in the past. In addition,
6145 # --gc-sections doesn't really work at the moment (keeps on discarding
6146 # used sections, first .eh_frame and now some of the glibc sections for
6147 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6148 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
6149 echo "configure
:6150: checking
for ld that supports
-Wl,--gc-sections" >&5
6150 if test "$cross_compiling" = yes; then
6151 ac_sectionLDflags=yes
6153 cat > conftest.$ac_ext <<EOF
6154 #line 6155 "configure
"
6155 #include "confdefs.h
"
6165 if { (eval echo configure:6166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6167 ac_sectionLDflags=yes
6169 echo "configure
: failed program was
:" >&5
6170 cat conftest.$ac_ext >&5
6172 ac_sectionLDflags=no
6177 if test "$ac_test_CFLAGS" = set; then
6178 CFLAGS="$ac_save_CFLAGS"
6180 # this is the suspicious part
6183 if test "$ac_sectionLDflags" = "yes"; then
6184 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6186 echo "$ac_t""$ac_sectionLDflags" 1>&6
6189 # Set linker optimization flags.
6190 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no
"; then
6191 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6198 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
6199 echo "configure
:6200: checking
for main
in -lm" >&5
6200 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
6201 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6202 echo $ac_n "(cached
) $ac_c" 1>&6
6204 ac_save_LIBS="$LIBS"
6206 cat > conftest.$ac_ext <<EOF
6207 #line 6208 "configure
"
6208 #include "confdefs.h
"
6214 if { (eval echo configure:6215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6216 eval "ac_cv_lib_
$ac_lib_var=yes"
6218 echo "configure
: failed program was
:" >&5
6219 cat conftest.$ac_ext >&5
6221 eval "ac_cv_lib_
$ac_lib_var=no
"
6224 LIBS="$ac_save_LIBS"
6227 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6228 echo "$ac_t""yes" 1>&6
6229 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6230 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6231 cat >> confdefs.h <<EOF
6232 #define $ac_tr_lib 1
6238 echo "$ac_t""no
" 1>&6
6241 for ac_func in nan copysignf
6243 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6244 echo "configure
:6245: checking
for $ac_func" >&5
6245 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6246 echo $ac_n "(cached
) $ac_c" 1>&6
6248 cat > conftest.$ac_ext <<EOF
6249 #line 6250 "configure
"
6250 #include "confdefs.h
"
6251 /* System header to define __stub macros and hopefully few prototypes,
6252 which can conflict with char $ac_func(); below. */
6254 /* Override any gcc2 internal prototype to avoid an error. */
6255 /* We use char because int might match the return type of a gcc2
6256 builtin and then its argument prototype would still apply. */
6261 /* The GNU C library defines this for functions which it implements
6262 to always fail with ENOSYS. Some functions are actually named
6263 something starting with __ and the normal name is an alias. */
6264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6272 if { (eval echo configure:6273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6274 eval "ac_cv_func_
$ac_func=yes"
6276 echo "configure
: failed program was
:" >&5
6277 cat conftest.$ac_ext >&5
6279 eval "ac_cv_func_
$ac_func=no
"
6284 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6285 echo "$ac_t""yes" 1>&6
6286 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6287 cat >> confdefs.h <<EOF
6288 #define $ac_tr_func 1
6292 echo "$ac_t""no
" 1>&6
6293 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
6298 for ac_func in __signbit
6300 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6301 echo "configure
:6302: checking
for $ac_func" >&5
6302 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6303 echo $ac_n "(cached
) $ac_c" 1>&6
6305 cat > conftest.$ac_ext <<EOF
6306 #line 6307 "configure
"
6307 #include "confdefs.h
"
6308 /* System header to define __stub macros and hopefully few prototypes,
6309 which can conflict with char $ac_func(); below. */
6311 /* Override any gcc2 internal prototype to avoid an error. */
6312 /* We use char because int might match the return type of a gcc2
6313 builtin and then its argument prototype would still apply. */
6318 /* The GNU C library defines this for functions which it implements
6319 to always fail with ENOSYS. Some functions are actually named
6320 something starting with __ and the normal name is an alias. */
6321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6329 if { (eval echo configure:6330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6331 eval "ac_cv_func_
$ac_func=yes"
6333 echo "configure
: failed program was
:" >&5
6334 cat conftest.$ac_ext >&5
6336 eval "ac_cv_func_
$ac_func=no
"
6341 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6342 echo "$ac_t""yes" 1>&6
6343 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6344 cat >> confdefs.h <<EOF
6345 #define $ac_tr_func 1
6349 echo "$ac_t""no
" 1>&6
6350 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
6354 for ac_func in __signbitf
6356 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6357 echo "configure
:6358: checking
for $ac_func" >&5
6358 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6359 echo $ac_n "(cached
) $ac_c" 1>&6
6361 cat > conftest.$ac_ext <<EOF
6362 #line 6363 "configure
"
6363 #include "confdefs.h
"
6364 /* System header to define __stub macros and hopefully few prototypes,
6365 which can conflict with char $ac_func(); below. */
6367 /* Override any gcc2 internal prototype to avoid an error. */
6368 /* We use char because int might match the return type of a gcc2
6369 builtin and then its argument prototype would still apply. */
6374 /* The GNU C library defines this for functions which it implements
6375 to always fail with ENOSYS. Some functions are actually named
6376 something starting with __ and the normal name is an alias. */
6377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6385 if { (eval echo configure:6386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6387 eval "ac_cv_func_
$ac_func=yes"
6389 echo "configure
: failed program was
:" >&5
6390 cat conftest.$ac_ext >&5
6392 eval "ac_cv_func_
$ac_func=no
"
6397 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6398 echo "$ac_t""yes" 1>&6
6399 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6400 cat >> confdefs.h <<EOF
6401 #define $ac_tr_func 1
6405 echo "$ac_t""no
" 1>&6
6406 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
6411 if test x$ac_cv_func_copysignl = x"yes"; then
6412 for ac_func in __signbitl
6414 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6415 echo "configure
:6416: checking
for $ac_func" >&5
6416 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6417 echo $ac_n "(cached
) $ac_c" 1>&6
6419 cat > conftest.$ac_ext <<EOF
6420 #line 6421 "configure
"
6421 #include "confdefs.h
"
6422 /* System header to define __stub macros and hopefully few prototypes,
6423 which can conflict with char $ac_func(); below. */
6425 /* Override any gcc2 internal prototype to avoid an error. */
6426 /* We use char because int might match the return type of a gcc2
6427 builtin and then its argument prototype would still apply. */
6432 /* The GNU C library defines this for functions which it implements
6433 to always fail with ENOSYS. Some functions are actually named
6434 something starting with __ and the normal name is an alias. */
6435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6443 if { (eval echo configure:6444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6445 eval "ac_cv_func_
$ac_func=yes"
6447 echo "configure
: failed program was
:" >&5
6448 cat conftest.$ac_ext >&5
6450 eval "ac_cv_func_
$ac_func=no
"
6455 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6456 echo "$ac_t""yes" 1>&6
6457 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6458 cat >> confdefs.h <<EOF
6459 #define $ac_tr_func 1
6463 echo "$ac_t""no
" 1>&6
6464 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
6474 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
6475 echo "configure
:6476: checking
for mbstate_t
" >&5
6476 cat > conftest.$ac_ext <<EOF
6477 #line 6478 "configure
"
6478 #include "confdefs.h
"
6481 mbstate_t teststate;
6484 if { (eval echo configure:6485: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6488 echo "configure
: failed program was
:" >&5
6489 cat conftest.$ac_ext >&5
6494 echo "$ac_t""$have_mbstate_t" 1>&6
6495 if test x"$have_mbstate_t" = xyes; then
6496 cat >> confdefs.h <<\EOF
6497 #define HAVE_MBSTATE_T 1
6502 for ac_hdr in wchar.h
6504 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6505 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6506 echo "configure
:6507: checking
for $ac_hdr" >&5
6507 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6508 echo $ac_n "(cached
) $ac_c" 1>&6
6510 cat > conftest.$ac_ext <<EOF
6511 #line 6512 "configure
"
6512 #include "confdefs.h
"
6515 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6516 { (eval echo configure:6517: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6517 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6518 if test -z "$ac_err"; then
6520 eval "ac_cv_header_
$ac_safe=yes"
6523 echo "configure
: failed program was
:" >&5
6524 cat conftest.$ac_ext >&5
6526 eval "ac_cv_header_
$ac_safe=no
"
6530 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6531 echo "$ac_t""yes" 1>&6
6532 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6533 cat >> confdefs.h <<EOF
6534 #define $ac_tr_hdr 1
6538 echo "$ac_t""no
" 1>&6
6543 for ac_hdr in wctype.h
6545 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6546 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6547 echo "configure
:6548: checking
for $ac_hdr" >&5
6548 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6549 echo $ac_n "(cached
) $ac_c" 1>&6
6551 cat > conftest.$ac_ext <<EOF
6552 #line 6553 "configure
"
6553 #include "confdefs.h
"
6556 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6557 { (eval echo configure:6558: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6558 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6559 if test -z "$ac_err"; then
6561 eval "ac_cv_header_
$ac_safe=yes"
6564 echo "configure
: failed program was
:" >&5
6565 cat conftest.$ac_ext >&5
6567 eval "ac_cv_header_
$ac_safe=no
"
6571 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6572 echo "$ac_t""yes" 1>&6
6573 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6574 cat >> confdefs.h <<EOF
6575 #define $ac_tr_hdr 1
6579 echo "$ac_t""no
" 1>&6
6585 if test x"$ac_has_wchar_h" = xyes &&
6586 test x"$ac_has_wctype_h" = xyes &&
6587 test x"$enable_c_mbchar" != xno; then
6589 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
6590 echo "configure
:6591: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
6591 cat > conftest.$ac_ext <<EOF
6592 #line 6593 "configure
"
6593 #include "confdefs.h
"
6596 int i = WCHAR_MIN; int j = WCHAR_MAX;
6599 if { (eval echo configure:6600: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6601 has_wchar_minmax=yes
6603 echo "configure
: failed program was
:" >&5
6604 cat conftest.$ac_ext >&5
6609 echo "$ac_t""$has_wchar_minmax" 1>&6
6611 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
6612 echo "configure
:6613: checking
for WEOF
" >&5
6613 cat > conftest.$ac_ext <<EOF
6614 #line 6615 "configure
"
6615 #include "confdefs.h
"
6623 if { (eval echo configure:6624: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6627 echo "configure
: failed program was
:" >&5
6628 cat conftest.$ac_ext >&5
6633 echo "$ac_t""$has_weof" 1>&6
6636 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6638 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6639 echo "configure
:6640: checking
for $ac_func" >&5
6640 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6641 echo $ac_n "(cached
) $ac_c" 1>&6
6643 cat > conftest.$ac_ext <<EOF
6644 #line 6645 "configure
"
6645 #include "confdefs.h
"
6646 /* System header to define __stub macros and hopefully few prototypes,
6647 which can conflict with char $ac_func(); below. */
6649 /* Override any gcc2 internal prototype to avoid an error. */
6650 /* We use char because int might match the return type of a gcc2
6651 builtin and then its argument prototype would still apply. */
6656 /* The GNU C library defines this for functions which it implements
6657 to always fail with ENOSYS. Some functions are actually named
6658 something starting with __ and the normal name is an alias. */
6659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6667 if { (eval echo configure:6668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6669 eval "ac_cv_func_
$ac_func=yes"
6671 echo "configure
: failed program was
:" >&5
6672 cat conftest.$ac_ext >&5
6674 eval "ac_cv_func_
$ac_func=no
"
6679 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6680 echo "$ac_t""yes" 1>&6
6681 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6682 cat >> confdefs.h <<EOF
6683 #define $ac_tr_func 1
6687 echo "$ac_t""no
" 1>&6
6694 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
6695 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6696 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6697 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6698 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6699 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6701 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6702 echo "configure
:6703: checking
for $ac_func" >&5
6703 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6704 echo $ac_n "(cached
) $ac_c" 1>&6
6706 cat > conftest.$ac_ext <<EOF
6707 #line 6708 "configure
"
6708 #include "confdefs.h
"
6709 /* System header to define __stub macros and hopefully few prototypes,
6710 which can conflict with char $ac_func(); below. */
6712 /* Override any gcc2 internal prototype to avoid an error. */
6713 /* We use char because int might match the return type of a gcc2
6714 builtin and then its argument prototype would still apply. */
6719 /* The GNU C library defines this for functions which it implements
6720 to always fail with ENOSYS. Some functions are actually named
6721 something starting with __ and the normal name is an alias. */
6722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6730 if { (eval echo configure:6731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6732 eval "ac_cv_func_
$ac_func=yes"
6734 echo "configure
: failed program was
:" >&5
6735 cat conftest.$ac_ext >&5
6737 eval "ac_cv_func_
$ac_func=no
"
6742 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6743 echo "$ac_t""yes" 1>&6
6744 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6745 cat >> confdefs.h <<EOF
6746 #define $ac_tr_func 1
6750 echo "$ac_t""no
" 1>&6
6757 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
6758 echo "configure
:6759: checking
for ISO C99 wchar_t support
" >&5
6759 if test x"$has_weof" = xyes &&
6760 test x"$has_wchar_minmax" = xyes &&
6761 test x"$ac_wfuncs" = xyes; then
6762 ac_isoC99_wchar_t=yes
6764 ac_isoC99_wchar_t=no
6766 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6768 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
6769 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
6770 echo "configure
:6771: checking
for iconv.h
" >&5
6771 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6772 echo $ac_n "(cached
) $ac_c" 1>&6
6774 cat > conftest.$ac_ext <<EOF
6775 #line 6776 "configure
"
6776 #include "confdefs.h
"
6779 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6780 { (eval echo configure:6781: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6781 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6782 if test -z "$ac_err"; then
6784 eval "ac_cv_header_
$ac_safe=yes"
6787 echo "configure
: failed program was
:" >&5
6788 cat conftest.$ac_ext >&5
6790 eval "ac_cv_header_
$ac_safe=no
"
6794 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6795 echo "$ac_t""yes" 1>&6
6798 echo "$ac_t""no
" 1>&6
6802 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
6803 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
6804 echo "configure
:6805: checking
for langinfo.h
" >&5
6805 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6806 echo $ac_n "(cached
) $ac_c" 1>&6
6808 cat > conftest.$ac_ext <<EOF
6809 #line 6810 "configure
"
6810 #include "confdefs.h
"
6811 #include <langinfo.h>
6813 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6814 { (eval echo configure:6815: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6815 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6816 if test -z "$ac_err"; then
6818 eval "ac_cv_header_
$ac_safe=yes"
6821 echo "configure
: failed program was
:" >&5
6822 cat conftest.$ac_ext >&5
6824 eval "ac_cv_header_
$ac_safe=no
"
6828 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6829 echo "$ac_t""yes" 1>&6
6830 ac_has_langinfo_h=yes
6832 echo "$ac_t""no
" 1>&6
6833 ac_has_langinfo_h=no
6837 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
6838 echo "configure
:6839: checking
for iconv in -liconv" >&5
6839 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6840 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6841 echo $ac_n "(cached
) $ac_c" 1>&6
6843 ac_save_LIBS="$LIBS"
6844 LIBS="-liconv $LIBS"
6845 cat > conftest.$ac_ext <<EOF
6846 #line 6847 "configure
"
6847 #include "confdefs.h
"
6848 /* Override any gcc2 internal prototype to avoid an error. */
6849 /* We use char because int might match the return type of a gcc2
6850 builtin and then its argument prototype would still apply. */
6857 if { (eval echo configure:6858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6859 eval "ac_cv_lib_
$ac_lib_var=yes"
6861 echo "configure
: failed program was
:" >&5
6862 cat conftest.$ac_ext >&5
6864 eval "ac_cv_lib_
$ac_lib_var=no
"
6867 LIBS="$ac_save_LIBS"
6870 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6871 echo "$ac_t""yes" 1>&6
6874 echo "$ac_t""no
" 1>&6
6877 ac_save_LIBS="$LIBS"
6878 LIBS="$LIBS $libiconv"
6880 for ac_func in iconv_open iconv_close iconv nl_langinfo
6882 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6883 echo "configure
:6884: checking
for $ac_func" >&5
6884 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6885 echo $ac_n "(cached
) $ac_c" 1>&6
6887 cat > conftest.$ac_ext <<EOF
6888 #line 6889 "configure
"
6889 #include "confdefs.h
"
6890 /* System header to define __stub macros and hopefully few prototypes,
6891 which can conflict with char $ac_func(); below. */
6893 /* Override any gcc2 internal prototype to avoid an error. */
6894 /* We use char because int might match the return type of a gcc2
6895 builtin and then its argument prototype would still apply. */
6900 /* The GNU C library defines this for functions which it implements
6901 to always fail with ENOSYS. Some functions are actually named
6902 something starting with __ and the normal name is an alias. */
6903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6911 if { (eval echo configure:6912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6913 eval "ac_cv_func_
$ac_func=yes"
6915 echo "configure
: failed program was
:" >&5
6916 cat conftest.$ac_ext >&5
6918 eval "ac_cv_func_
$ac_func=no
"
6923 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6924 echo "$ac_t""yes" 1>&6
6925 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6926 cat >> confdefs.h <<EOF
6927 #define $ac_tr_func 1
6932 echo "$ac_t""no
" 1>&6
6938 LIBS="$ac_save_LIBS"
6940 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
6941 echo "configure
:6942: checking
for XPG2 wchar_t support
" >&5
6942 if test x"$ac_has_iconv_h" = xyes &&
6943 test x"$ac_has_langinfo_h" = xyes &&
6944 test x"$ac_XPG2funcs" = xyes; then
6949 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6951 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
6952 echo "configure
:6953: checking
for enabled wchar_t specializations
" >&5
6953 if test x"$ac_isoC99_wchar_t" = xyes &&
6954 test x"$ac_XPG2_wchar_t" = xyes; then
6955 cat >> confdefs.h <<\EOF
6956 #define _GLIBCPP_USE_WCHAR_T 1
6959 echo "$ac_t"""yes"" 1>&6
6961 echo "$ac_t"""no"" 1>&6
6964 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
6967 os_include_dir="os
/bsd
/netbsd
"
6968 cat >> confdefs.h <<\EOF
6969 #define HAVE_COPYSIGN 1
6972 cat >> confdefs.h <<\EOF
6973 #define HAVE_COPYSIGNF 1
6976 cat >> confdefs.h <<\EOF
6977 #define HAVE_FINITEF 1
6980 cat >> confdefs.h <<\EOF
6981 #define HAVE_FINITE 1
6984 cat >> confdefs.h <<\EOF
6985 #define HAVE_FREXPF 1
6988 cat >> confdefs.h <<\EOF
6989 #define HAVE_HYPOTF 1
6992 cat >> confdefs.h <<\EOF
6993 #define HAVE_ISINF 1
6996 cat >> confdefs.h <<\EOF
6997 #define HAVE_ISINFF 1
7000 cat >> confdefs.h <<\EOF
7001 #define HAVE_ISNAN 1
7004 cat >> confdefs.h <<\EOF
7005 #define HAVE_ISNANF 1
7008 if test x"long_double_math_on_this_cpu
" = x"yes"; then
7009 cat >> confdefs.h <<\EOF
7010 #define HAVE_FINITEL 1
7013 cat >> confdefs.h <<\EOF
7014 #define HAVE_ISINFL 1
7017 cat >> confdefs.h <<\EOF
7018 #define HAVE_ISNANL 1
7024 for ac_hdr in sys/types.h locale.h float.h
7026 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7027 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
7028 echo "configure
:7029: checking
for $ac_hdr" >&5
7029 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7030 echo $ac_n "(cached
) $ac_c" 1>&6
7032 cat > conftest.$ac_ext <<EOF
7033 #line 7034 "configure
"
7034 #include "confdefs.h
"
7037 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7038 { (eval echo configure:7039: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7039 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7040 if test -z "$ac_err"; then
7042 eval "ac_cv_header_
$ac_safe=yes"
7045 echo "configure
: failed program was
:" >&5
7046 cat conftest.$ac_ext >&5
7048 eval "ac_cv_header_
$ac_safe=no
"
7052 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7053 echo "$ac_t""yes" 1>&6
7054 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7055 cat >> confdefs.h <<EOF
7056 #define $ac_tr_hdr 1
7060 echo "$ac_t""no
" 1>&6
7065 # If we're not using GNU ld, then there's no point in even trying these
7066 # tests. Check for that first. We should have already tested for gld
7067 # by now (in libtool), but require it now just to be safe...
7068 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7069 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7072 # The name set by libtool depends on the version of libtool. Shame on us
7073 # for depending on an impl detail, but c'est la vie. Older versions used
7074 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7075 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7076 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7077 # set (hence we're using an older libtool), then set it.
7078 if test x${with_gnu_ld+set} != xset; then
7079 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7080 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
7083 with_gnu_ld=$ac_cv_prog_gnu_ld
7087 # Start by getting the version number. I think the libtool test already
7088 # does some of this, but throws away the result.
7090 ldver=`$LD --version 2>/dev/null | head -1 | \
7091 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7093 glibcpp_gnu_ld_version=`echo $ldver | \
7094 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7096 # Set --gc-sections.
7097 if test "$with_gnu_ld" = "notbroken
"; then
7098 # GNU ld it is! Joy and bunny rabbits!
7100 # All these tests are for C++; save the language and the compiler flags.
7101 # Need to do this so that g++ won't try to link in libstdc++
7102 ac_test_CFLAGS="${CFLAGS+set}"
7103 ac_save_CFLAGS="$CFLAGS"
7104 CFLAGS='-x c++ -Wl,--gc-sections'
7106 # Check for -Wl,--gc-sections
7107 # XXX This test is broken at the moment, as symbols required for
7108 # linking are now in libsupc++ (not built yet.....). In addition,
7109 # this test has cored on solaris in the past. In addition,
7110 # --gc-sections doesn't really work at the moment (keeps on discarding
7111 # used sections, first .eh_frame and now some of the glibc sections for
7112 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7113 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
7114 echo "configure
:7115: checking
for ld that supports
-Wl,--gc-sections" >&5
7115 if test "$cross_compiling" = yes; then
7116 ac_sectionLDflags=yes
7118 cat > conftest.$ac_ext <<EOF
7119 #line 7120 "configure
"
7120 #include "confdefs.h
"
7130 if { (eval echo configure:7131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7132 ac_sectionLDflags=yes
7134 echo "configure
: failed program was
:" >&5
7135 cat conftest.$ac_ext >&5
7137 ac_sectionLDflags=no
7142 if test "$ac_test_CFLAGS" = set; then
7143 CFLAGS="$ac_save_CFLAGS"
7145 # this is the suspicious part
7148 if test "$ac_sectionLDflags" = "yes"; then
7149 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7151 echo "$ac_t""$ac_sectionLDflags" 1>&6
7154 # Set linker optimization flags.
7155 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no
"; then
7156 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7163 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
7164 echo "configure
:7165: checking
for main
in -lm" >&5
7165 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
7166 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7167 echo $ac_n "(cached
) $ac_c" 1>&6
7169 ac_save_LIBS="$LIBS"
7171 cat > conftest.$ac_ext <<EOF
7172 #line 7173 "configure
"
7173 #include "confdefs.h
"
7179 if { (eval echo configure:7180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7181 eval "ac_cv_lib_
$ac_lib_var=yes"
7183 echo "configure
: failed program was
:" >&5
7184 cat conftest.$ac_ext >&5
7186 eval "ac_cv_lib_
$ac_lib_var=no
"
7189 LIBS="$ac_save_LIBS"
7192 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7193 echo "$ac_t""yes" 1>&6
7194 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7195 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7196 cat >> confdefs.h <<EOF
7197 #define $ac_tr_lib 1
7203 echo "$ac_t""no
" 1>&6
7206 for ac_func in nan copysignf
7208 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7209 echo "configure
:7210: checking
for $ac_func" >&5
7210 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7211 echo $ac_n "(cached
) $ac_c" 1>&6
7213 cat > conftest.$ac_ext <<EOF
7214 #line 7215 "configure
"
7215 #include "confdefs.h
"
7216 /* System header to define __stub macros and hopefully few prototypes,
7217 which can conflict with char $ac_func(); below. */
7219 /* Override any gcc2 internal prototype to avoid an error. */
7220 /* We use char because int might match the return type of a gcc2
7221 builtin and then its argument prototype would still apply. */
7226 /* The GNU C library defines this for functions which it implements
7227 to always fail with ENOSYS. Some functions are actually named
7228 something starting with __ and the normal name is an alias. */
7229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7237 if { (eval echo configure:7238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7239 eval "ac_cv_func_
$ac_func=yes"
7241 echo "configure
: failed program was
:" >&5
7242 cat conftest.$ac_ext >&5
7244 eval "ac_cv_func_
$ac_func=no
"
7249 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7250 echo "$ac_t""yes" 1>&6
7251 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7252 cat >> confdefs.h <<EOF
7253 #define $ac_tr_func 1
7257 echo "$ac_t""no
" 1>&6
7258 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
7263 for ac_func in __signbit
7265 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7266 echo "configure
:7267: checking
for $ac_func" >&5
7267 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7268 echo $ac_n "(cached
) $ac_c" 1>&6
7270 cat > conftest.$ac_ext <<EOF
7271 #line 7272 "configure
"
7272 #include "confdefs.h
"
7273 /* System header to define __stub macros and hopefully few prototypes,
7274 which can conflict with char $ac_func(); below. */
7276 /* Override any gcc2 internal prototype to avoid an error. */
7277 /* We use char because int might match the return type of a gcc2
7278 builtin and then its argument prototype would still apply. */
7283 /* The GNU C library defines this for functions which it implements
7284 to always fail with ENOSYS. Some functions are actually named
7285 something starting with __ and the normal name is an alias. */
7286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7294 if { (eval echo configure:7295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7296 eval "ac_cv_func_
$ac_func=yes"
7298 echo "configure
: failed program was
:" >&5
7299 cat conftest.$ac_ext >&5
7301 eval "ac_cv_func_
$ac_func=no
"
7306 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7307 echo "$ac_t""yes" 1>&6
7308 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7309 cat >> confdefs.h <<EOF
7310 #define $ac_tr_func 1
7314 echo "$ac_t""no
" 1>&6
7315 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
7319 for ac_func in __signbitf
7321 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7322 echo "configure
:7323: checking
for $ac_func" >&5
7323 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7324 echo $ac_n "(cached
) $ac_c" 1>&6
7326 cat > conftest.$ac_ext <<EOF
7327 #line 7328 "configure
"
7328 #include "confdefs.h
"
7329 /* System header to define __stub macros and hopefully few prototypes,
7330 which can conflict with char $ac_func(); below. */
7332 /* Override any gcc2 internal prototype to avoid an error. */
7333 /* We use char because int might match the return type of a gcc2
7334 builtin and then its argument prototype would still apply. */
7339 /* The GNU C library defines this for functions which it implements
7340 to always fail with ENOSYS. Some functions are actually named
7341 something starting with __ and the normal name is an alias. */
7342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7350 if { (eval echo configure:7351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7352 eval "ac_cv_func_
$ac_func=yes"
7354 echo "configure
: failed program was
:" >&5
7355 cat conftest.$ac_ext >&5
7357 eval "ac_cv_func_
$ac_func=no
"
7362 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7363 echo "$ac_t""yes" 1>&6
7364 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7365 cat >> confdefs.h <<EOF
7366 #define $ac_tr_func 1
7370 echo "$ac_t""no
" 1>&6
7371 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
7376 if test x$ac_cv_func_copysignl = x"yes"; then
7377 for ac_func in __signbitl
7379 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7380 echo "configure
:7381: checking
for $ac_func" >&5
7381 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7382 echo $ac_n "(cached
) $ac_c" 1>&6
7384 cat > conftest.$ac_ext <<EOF
7385 #line 7386 "configure
"
7386 #include "confdefs.h
"
7387 /* System header to define __stub macros and hopefully few prototypes,
7388 which can conflict with char $ac_func(); below. */
7390 /* Override any gcc2 internal prototype to avoid an error. */
7391 /* We use char because int might match the return type of a gcc2
7392 builtin and then its argument prototype would still apply. */
7397 /* The GNU C library defines this for functions which it implements
7398 to always fail with ENOSYS. Some functions are actually named
7399 something starting with __ and the normal name is an alias. */
7400 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7408 if { (eval echo configure:7409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7410 eval "ac_cv_func_
$ac_func=yes"
7412 echo "configure
: failed program was
:" >&5
7413 cat conftest.$ac_ext >&5
7415 eval "ac_cv_func_
$ac_func=no
"
7420 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7421 echo "$ac_t""yes" 1>&6
7422 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7423 cat >> confdefs.h <<EOF
7424 #define $ac_tr_func 1
7428 echo "$ac_t""no
" 1>&6
7429 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
7439 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
7440 echo "configure
:7441: checking
for mbstate_t
" >&5
7441 cat > conftest.$ac_ext <<EOF
7442 #line 7443 "configure
"
7443 #include "confdefs.h
"
7446 mbstate_t teststate;
7449 if { (eval echo configure:7450: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7453 echo "configure
: failed program was
:" >&5
7454 cat conftest.$ac_ext >&5
7459 echo "$ac_t""$have_mbstate_t" 1>&6
7460 if test x"$have_mbstate_t" = xyes; then
7461 cat >> confdefs.h <<\EOF
7462 #define HAVE_MBSTATE_T 1
7467 for ac_hdr in wchar.h
7469 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7470 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
7471 echo "configure
:7472: checking
for $ac_hdr" >&5
7472 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7473 echo $ac_n "(cached
) $ac_c" 1>&6
7475 cat > conftest.$ac_ext <<EOF
7476 #line 7477 "configure
"
7477 #include "confdefs.h
"
7480 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7481 { (eval echo configure:7482: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7482 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7483 if test -z "$ac_err"; then
7485 eval "ac_cv_header_
$ac_safe=yes"
7488 echo "configure
: failed program was
:" >&5
7489 cat conftest.$ac_ext >&5
7491 eval "ac_cv_header_
$ac_safe=no
"
7495 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7496 echo "$ac_t""yes" 1>&6
7497 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7498 cat >> confdefs.h <<EOF
7499 #define $ac_tr_hdr 1
7503 echo "$ac_t""no
" 1>&6
7508 for ac_hdr in wctype.h
7510 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7511 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
7512 echo "configure
:7513: checking
for $ac_hdr" >&5
7513 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7514 echo $ac_n "(cached
) $ac_c" 1>&6
7516 cat > conftest.$ac_ext <<EOF
7517 #line 7518 "configure
"
7518 #include "confdefs.h
"
7521 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7522 { (eval echo configure:7523: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7523 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7524 if test -z "$ac_err"; then
7526 eval "ac_cv_header_
$ac_safe=yes"
7529 echo "configure
: failed program was
:" >&5
7530 cat conftest.$ac_ext >&5
7532 eval "ac_cv_header_
$ac_safe=no
"
7536 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7537 echo "$ac_t""yes" 1>&6
7538 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7539 cat >> confdefs.h <<EOF
7540 #define $ac_tr_hdr 1
7544 echo "$ac_t""no
" 1>&6
7550 if test x"$ac_has_wchar_h" = xyes &&
7551 test x"$ac_has_wctype_h" = xyes &&
7552 test x"$enable_c_mbchar" != xno; then
7554 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
7555 echo "configure
:7556: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
7556 cat > conftest.$ac_ext <<EOF
7557 #line 7558 "configure
"
7558 #include "confdefs.h
"
7561 int i = WCHAR_MIN; int j = WCHAR_MAX;
7564 if { (eval echo configure:7565: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7566 has_wchar_minmax=yes
7568 echo "configure
: failed program was
:" >&5
7569 cat conftest.$ac_ext >&5
7574 echo "$ac_t""$has_wchar_minmax" 1>&6
7576 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
7577 echo "configure
:7578: checking
for WEOF
" >&5
7578 cat > conftest.$ac_ext <<EOF
7579 #line 7580 "configure
"
7580 #include "confdefs.h
"
7588 if { (eval echo configure:7589: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7592 echo "configure
: failed program was
:" >&5
7593 cat conftest.$ac_ext >&5
7598 echo "$ac_t""$has_weof" 1>&6
7601 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
7603 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7604 echo "configure
:7605: checking
for $ac_func" >&5
7605 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7606 echo $ac_n "(cached
) $ac_c" 1>&6
7608 cat > conftest.$ac_ext <<EOF
7609 #line 7610 "configure
"
7610 #include "confdefs.h
"
7611 /* System header to define __stub macros and hopefully few prototypes,
7612 which can conflict with char $ac_func(); below. */
7614 /* Override any gcc2 internal prototype to avoid an error. */
7615 /* We use char because int might match the return type of a gcc2
7616 builtin and then its argument prototype would still apply. */
7621 /* The GNU C library defines this for functions which it implements
7622 to always fail with ENOSYS. Some functions are actually named
7623 something starting with __ and the normal name is an alias. */
7624 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7632 if { (eval echo configure:7633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7634 eval "ac_cv_func_
$ac_func=yes"
7636 echo "configure
: failed program was
:" >&5
7637 cat conftest.$ac_ext >&5
7639 eval "ac_cv_func_
$ac_func=no
"
7644 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7645 echo "$ac_t""yes" 1>&6
7646 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7647 cat >> confdefs.h <<EOF
7648 #define $ac_tr_func 1
7652 echo "$ac_t""no
" 1>&6
7659 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
7660 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
7661 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
7662 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
7663 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
7664 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
7666 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7667 echo "configure
:7668: checking
for $ac_func" >&5
7668 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7669 echo $ac_n "(cached
) $ac_c" 1>&6
7671 cat > conftest.$ac_ext <<EOF
7672 #line 7673 "configure
"
7673 #include "confdefs.h
"
7674 /* System header to define __stub macros and hopefully few prototypes,
7675 which can conflict with char $ac_func(); below. */
7677 /* Override any gcc2 internal prototype to avoid an error. */
7678 /* We use char because int might match the return type of a gcc2
7679 builtin and then its argument prototype would still apply. */
7684 /* The GNU C library defines this for functions which it implements
7685 to always fail with ENOSYS. Some functions are actually named
7686 something starting with __ and the normal name is an alias. */
7687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7695 if { (eval echo configure:7696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7697 eval "ac_cv_func_
$ac_func=yes"
7699 echo "configure
: failed program was
:" >&5
7700 cat conftest.$ac_ext >&5
7702 eval "ac_cv_func_
$ac_func=no
"
7707 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7708 echo "$ac_t""yes" 1>&6
7709 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7710 cat >> confdefs.h <<EOF
7711 #define $ac_tr_func 1
7715 echo "$ac_t""no
" 1>&6
7722 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
7723 echo "configure
:7724: checking
for ISO C99 wchar_t support
" >&5
7724 if test x"$has_weof" = xyes &&
7725 test x"$has_wchar_minmax" = xyes &&
7726 test x"$ac_wfuncs" = xyes; then
7727 ac_isoC99_wchar_t=yes
7729 ac_isoC99_wchar_t=no
7731 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7733 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
7734 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
7735 echo "configure
:7736: checking
for iconv.h
" >&5
7736 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7737 echo $ac_n "(cached
) $ac_c" 1>&6
7739 cat > conftest.$ac_ext <<EOF
7740 #line 7741 "configure
"
7741 #include "confdefs.h
"
7744 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7745 { (eval echo configure:7746: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7746 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7747 if test -z "$ac_err"; then
7749 eval "ac_cv_header_
$ac_safe=yes"
7752 echo "configure
: failed program was
:" >&5
7753 cat conftest.$ac_ext >&5
7755 eval "ac_cv_header_
$ac_safe=no
"
7759 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7760 echo "$ac_t""yes" 1>&6
7763 echo "$ac_t""no
" 1>&6
7767 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
7768 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
7769 echo "configure
:7770: checking
for langinfo.h
" >&5
7770 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7771 echo $ac_n "(cached
) $ac_c" 1>&6
7773 cat > conftest.$ac_ext <<EOF
7774 #line 7775 "configure
"
7775 #include "confdefs.h
"
7776 #include <langinfo.h>
7778 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7779 { (eval echo configure:7780: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7780 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7781 if test -z "$ac_err"; then
7783 eval "ac_cv_header_
$ac_safe=yes"
7786 echo "configure
: failed program was
:" >&5
7787 cat conftest.$ac_ext >&5
7789 eval "ac_cv_header_
$ac_safe=no
"
7793 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7794 echo "$ac_t""yes" 1>&6
7795 ac_has_langinfo_h=yes
7797 echo "$ac_t""no
" 1>&6
7798 ac_has_langinfo_h=no
7802 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
7803 echo "configure
:7804: checking
for iconv in -liconv" >&5
7804 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
7805 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7806 echo $ac_n "(cached
) $ac_c" 1>&6
7808 ac_save_LIBS="$LIBS"
7809 LIBS="-liconv $LIBS"
7810 cat > conftest.$ac_ext <<EOF
7811 #line 7812 "configure
"
7812 #include "confdefs.h
"
7813 /* Override any gcc2 internal prototype to avoid an error. */
7814 /* We use char because int might match the return type of a gcc2
7815 builtin and then its argument prototype would still apply. */
7822 if { (eval echo configure:7823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7824 eval "ac_cv_lib_
$ac_lib_var=yes"
7826 echo "configure
: failed program was
:" >&5
7827 cat conftest.$ac_ext >&5
7829 eval "ac_cv_lib_
$ac_lib_var=no
"
7832 LIBS="$ac_save_LIBS"
7835 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7836 echo "$ac_t""yes" 1>&6
7839 echo "$ac_t""no
" 1>&6
7842 ac_save_LIBS="$LIBS"
7843 LIBS="$LIBS $libiconv"
7845 for ac_func in iconv_open iconv_close iconv nl_langinfo
7847 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7848 echo "configure
:7849: checking
for $ac_func" >&5
7849 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7850 echo $ac_n "(cached
) $ac_c" 1>&6
7852 cat > conftest.$ac_ext <<EOF
7853 #line 7854 "configure
"
7854 #include "confdefs.h
"
7855 /* System header to define __stub macros and hopefully few prototypes,
7856 which can conflict with char $ac_func(); below. */
7858 /* Override any gcc2 internal prototype to avoid an error. */
7859 /* We use char because int might match the return type of a gcc2
7860 builtin and then its argument prototype would still apply. */
7865 /* The GNU C library defines this for functions which it implements
7866 to always fail with ENOSYS. Some functions are actually named
7867 something starting with __ and the normal name is an alias. */
7868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7876 if { (eval echo configure:7877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7878 eval "ac_cv_func_
$ac_func=yes"
7880 echo "configure
: failed program was
:" >&5
7881 cat conftest.$ac_ext >&5
7883 eval "ac_cv_func_
$ac_func=no
"
7888 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7889 echo "$ac_t""yes" 1>&6
7890 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7891 cat >> confdefs.h <<EOF
7892 #define $ac_tr_func 1
7897 echo "$ac_t""no
" 1>&6
7903 LIBS="$ac_save_LIBS"
7905 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
7906 echo "configure
:7907: checking
for XPG2 wchar_t support
" >&5
7907 if test x"$ac_has_iconv_h" = xyes &&
7908 test x"$ac_has_langinfo_h" = xyes &&
7909 test x"$ac_XPG2funcs" = xyes; then
7914 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
7916 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
7917 echo "configure
:7918: checking
for enabled wchar_t specializations
" >&5
7918 if test x"$ac_isoC99_wchar_t" = xyes &&
7919 test x"$ac_XPG2_wchar_t" = xyes; then
7920 cat >> confdefs.h <<\EOF
7921 #define _GLIBCPP_USE_WCHAR_T 1
7924 echo "$ac_t"""yes"" 1>&6
7926 echo "$ac_t"""no"" 1>&6
7929 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
7932 os_include_dir="os
/mingw32
"
7935 os_include_dir="os
/windiss
"
7938 SECTION_FLAGS='-ffunction-sections -fdata-sections'
7941 # If we're not using GNU ld, then there's no point in even trying these
7942 # tests. Check for that first. We should have already tested for gld
7943 # by now (in libtool), but require it now just to be safe...
7944 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7945 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7948 # The name set by libtool depends on the version of libtool. Shame on us
7949 # for depending on an impl detail, but c'est la vie. Older versions used
7950 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7951 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7952 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7953 # set (hence we're using an older libtool), then set it.
7954 if test x${with_gnu_ld+set} != xset; then
7955 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7956 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
7959 with_gnu_ld=$ac_cv_prog_gnu_ld
7963 # Start by getting the version number. I think the libtool test already
7964 # does some of this, but throws away the result.
7966 ldver=`$LD --version 2>/dev/null | head -1 | \
7967 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7969 glibcpp_gnu_ld_version=`echo $ldver | \
7970 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7972 # Set --gc-sections.
7973 if test "$with_gnu_ld" = "notbroken
"; then
7974 # GNU ld it is! Joy and bunny rabbits!
7976 # All these tests are for C++; save the language and the compiler flags.
7977 # Need to do this so that g++ won't try to link in libstdc++
7978 ac_test_CFLAGS="${CFLAGS+set}"
7979 ac_save_CFLAGS="$CFLAGS"
7980 CFLAGS='-x c++ -Wl,--gc-sections'
7982 # Check for -Wl,--gc-sections
7983 # XXX This test is broken at the moment, as symbols required for
7984 # linking are now in libsupc++ (not built yet.....). In addition,
7985 # this test has cored on solaris in the past. In addition,
7986 # --gc-sections doesn't really work at the moment (keeps on discarding
7987 # used sections, first .eh_frame and now some of the glibc sections for
7988 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7989 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
7990 echo "configure
:7991: checking
for ld that supports
-Wl,--gc-sections" >&5
7991 if test "$cross_compiling" = yes; then
7992 ac_sectionLDflags=yes
7994 cat > conftest.$ac_ext <<EOF
7995 #line 7996 "configure
"
7996 #include "confdefs.h
"
8006 if { (eval echo configure:8007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8008 ac_sectionLDflags=yes
8010 echo "configure
: failed program was
:" >&5
8011 cat conftest.$ac_ext >&5
8013 ac_sectionLDflags=no
8018 if test "$ac_test_CFLAGS" = set; then
8019 CFLAGS="$ac_save_CFLAGS"
8021 # this is the suspicious part
8024 if test "$ac_sectionLDflags" = "yes"; then
8025 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8027 echo "$ac_t""$ac_sectionLDflags" 1>&6
8030 # Set linker optimization flags.
8031 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no
"; then
8032 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8039 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
8040 echo "configure
:8041: checking
for main
in -lm" >&5
8041 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
8042 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8043 echo $ac_n "(cached
) $ac_c" 1>&6
8045 ac_save_LIBS="$LIBS"
8047 cat > conftest.$ac_ext <<EOF
8048 #line 8049 "configure
"
8049 #include "confdefs.h
"
8055 if { (eval echo configure:8056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8057 eval "ac_cv_lib_
$ac_lib_var=yes"
8059 echo "configure
: failed program was
:" >&5
8060 cat conftest.$ac_ext >&5
8062 eval "ac_cv_lib_
$ac_lib_var=no
"
8065 LIBS="$ac_save_LIBS"
8068 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8069 echo "$ac_t""yes" 1>&6
8070 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
8071 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
8072 cat >> confdefs.h <<EOF
8073 #define $ac_tr_lib 1
8079 echo "$ac_t""no
" 1>&6
8082 for ac_func in nan copysignf
8084 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8085 echo "configure
:8086: checking
for $ac_func" >&5
8086 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8087 echo $ac_n "(cached
) $ac_c" 1>&6
8089 cat > conftest.$ac_ext <<EOF
8090 #line 8091 "configure
"
8091 #include "confdefs.h
"
8092 /* System header to define __stub macros and hopefully few prototypes,
8093 which can conflict with char $ac_func(); below. */
8095 /* Override any gcc2 internal prototype to avoid an error. */
8096 /* We use char because int might match the return type of a gcc2
8097 builtin and then its argument prototype would still apply. */
8102 /* The GNU C library defines this for functions which it implements
8103 to always fail with ENOSYS. Some functions are actually named
8104 something starting with __ and the normal name is an alias. */
8105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8113 if { (eval echo configure:8114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8115 eval "ac_cv_func_
$ac_func=yes"
8117 echo "configure
: failed program was
:" >&5
8118 cat conftest.$ac_ext >&5
8120 eval "ac_cv_func_
$ac_func=no
"
8125 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8126 echo "$ac_t""yes" 1>&6
8127 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8128 cat >> confdefs.h <<EOF
8129 #define $ac_tr_func 1
8133 echo "$ac_t""no
" 1>&6
8134 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
8139 for ac_func in __signbit
8141 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8142 echo "configure
:8143: checking
for $ac_func" >&5
8143 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8144 echo $ac_n "(cached
) $ac_c" 1>&6
8146 cat > conftest.$ac_ext <<EOF
8147 #line 8148 "configure
"
8148 #include "confdefs.h
"
8149 /* System header to define __stub macros and hopefully few prototypes,
8150 which can conflict with char $ac_func(); below. */
8152 /* Override any gcc2 internal prototype to avoid an error. */
8153 /* We use char because int might match the return type of a gcc2
8154 builtin and then its argument prototype would still apply. */
8159 /* The GNU C library defines this for functions which it implements
8160 to always fail with ENOSYS. Some functions are actually named
8161 something starting with __ and the normal name is an alias. */
8162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8170 if { (eval echo configure:8171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8172 eval "ac_cv_func_
$ac_func=yes"
8174 echo "configure
: failed program was
:" >&5
8175 cat conftest.$ac_ext >&5
8177 eval "ac_cv_func_
$ac_func=no
"
8182 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8183 echo "$ac_t""yes" 1>&6
8184 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8185 cat >> confdefs.h <<EOF
8186 #define $ac_tr_func 1
8190 echo "$ac_t""no
" 1>&6
8191 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
8195 for ac_func in __signbitf
8197 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8198 echo "configure
:8199: checking
for $ac_func" >&5
8199 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8200 echo $ac_n "(cached
) $ac_c" 1>&6
8202 cat > conftest.$ac_ext <<EOF
8203 #line 8204 "configure
"
8204 #include "confdefs.h
"
8205 /* System header to define __stub macros and hopefully few prototypes,
8206 which can conflict with char $ac_func(); below. */
8208 /* Override any gcc2 internal prototype to avoid an error. */
8209 /* We use char because int might match the return type of a gcc2
8210 builtin and then its argument prototype would still apply. */
8215 /* The GNU C library defines this for functions which it implements
8216 to always fail with ENOSYS. Some functions are actually named
8217 something starting with __ and the normal name is an alias. */
8218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8226 if { (eval echo configure:8227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8228 eval "ac_cv_func_
$ac_func=yes"
8230 echo "configure
: failed program was
:" >&5
8231 cat conftest.$ac_ext >&5
8233 eval "ac_cv_func_
$ac_func=no
"
8238 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8239 echo "$ac_t""yes" 1>&6
8240 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8241 cat >> confdefs.h <<EOF
8242 #define $ac_tr_func 1
8246 echo "$ac_t""no
" 1>&6
8247 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
8252 if test x$ac_cv_func_copysignl = x"yes"; then
8253 for ac_func in __signbitl
8255 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8256 echo "configure
:8257: checking
for $ac_func" >&5
8257 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8258 echo $ac_n "(cached
) $ac_c" 1>&6
8260 cat > conftest.$ac_ext <<EOF
8261 #line 8262 "configure
"
8262 #include "confdefs.h
"
8263 /* System header to define __stub macros and hopefully few prototypes,
8264 which can conflict with char $ac_func(); below. */
8266 /* Override any gcc2 internal prototype to avoid an error. */
8267 /* We use char because int might match the return type of a gcc2
8268 builtin and then its argument prototype would still apply. */
8273 /* The GNU C library defines this for functions which it implements
8274 to always fail with ENOSYS. Some functions are actually named
8275 something starting with __ and the normal name is an alias. */
8276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8284 if { (eval echo configure:8285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8286 eval "ac_cv_func_
$ac_func=yes"
8288 echo "configure
: failed program was
:" >&5
8289 cat conftest.$ac_ext >&5
8291 eval "ac_cv_func_
$ac_func=no
"
8296 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8297 echo "$ac_t""yes" 1>&6
8298 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8299 cat >> confdefs.h <<EOF
8300 #define $ac_tr_func 1
8304 echo "$ac_t""no
" 1>&6
8305 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
8315 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
8316 echo "configure
:8317: checking
for mbstate_t
" >&5
8317 cat > conftest.$ac_ext <<EOF
8318 #line 8319 "configure
"
8319 #include "confdefs.h
"
8322 mbstate_t teststate;
8325 if { (eval echo configure:8326: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8329 echo "configure
: failed program was
:" >&5
8330 cat conftest.$ac_ext >&5
8335 echo "$ac_t""$have_mbstate_t" 1>&6
8336 if test x"$have_mbstate_t" = xyes; then
8337 cat >> confdefs.h <<\EOF
8338 #define HAVE_MBSTATE_T 1
8343 for ac_hdr in wchar.h
8345 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8346 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
8347 echo "configure
:8348: checking
for $ac_hdr" >&5
8348 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8349 echo $ac_n "(cached
) $ac_c" 1>&6
8351 cat > conftest.$ac_ext <<EOF
8352 #line 8353 "configure
"
8353 #include "confdefs.h
"
8356 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8357 { (eval echo configure:8358: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8358 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8359 if test -z "$ac_err"; then
8361 eval "ac_cv_header_
$ac_safe=yes"
8364 echo "configure
: failed program was
:" >&5
8365 cat conftest.$ac_ext >&5
8367 eval "ac_cv_header_
$ac_safe=no
"
8371 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8372 echo "$ac_t""yes" 1>&6
8373 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8374 cat >> confdefs.h <<EOF
8375 #define $ac_tr_hdr 1
8379 echo "$ac_t""no
" 1>&6
8384 for ac_hdr in wctype.h
8386 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8387 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
8388 echo "configure
:8389: checking
for $ac_hdr" >&5
8389 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8390 echo $ac_n "(cached
) $ac_c" 1>&6
8392 cat > conftest.$ac_ext <<EOF
8393 #line 8394 "configure
"
8394 #include "confdefs.h
"
8397 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8398 { (eval echo configure:8399: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8399 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8400 if test -z "$ac_err"; then
8402 eval "ac_cv_header_
$ac_safe=yes"
8405 echo "configure
: failed program was
:" >&5
8406 cat conftest.$ac_ext >&5
8408 eval "ac_cv_header_
$ac_safe=no
"
8412 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8413 echo "$ac_t""yes" 1>&6
8414 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8415 cat >> confdefs.h <<EOF
8416 #define $ac_tr_hdr 1
8420 echo "$ac_t""no
" 1>&6
8426 if test x"$ac_has_wchar_h" = xyes &&
8427 test x"$ac_has_wctype_h" = xyes &&
8428 test x"$enable_c_mbchar" != xno; then
8430 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
8431 echo "configure
:8432: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
8432 cat > conftest.$ac_ext <<EOF
8433 #line 8434 "configure
"
8434 #include "confdefs.h
"
8437 int i = WCHAR_MIN; int j = WCHAR_MAX;
8440 if { (eval echo configure:8441: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8442 has_wchar_minmax=yes
8444 echo "configure
: failed program was
:" >&5
8445 cat conftest.$ac_ext >&5
8450 echo "$ac_t""$has_wchar_minmax" 1>&6
8452 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
8453 echo "configure
:8454: checking
for WEOF
" >&5
8454 cat > conftest.$ac_ext <<EOF
8455 #line 8456 "configure
"
8456 #include "confdefs.h
"
8464 if { (eval echo configure:8465: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8468 echo "configure
: failed program was
:" >&5
8469 cat conftest.$ac_ext >&5
8474 echo "$ac_t""$has_weof" 1>&6
8477 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
8479 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8480 echo "configure
:8481: checking
for $ac_func" >&5
8481 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8482 echo $ac_n "(cached
) $ac_c" 1>&6
8484 cat > conftest.$ac_ext <<EOF
8485 #line 8486 "configure
"
8486 #include "confdefs.h
"
8487 /* System header to define __stub macros and hopefully few prototypes,
8488 which can conflict with char $ac_func(); below. */
8490 /* Override any gcc2 internal prototype to avoid an error. */
8491 /* We use char because int might match the return type of a gcc2
8492 builtin and then its argument prototype would still apply. */
8497 /* The GNU C library defines this for functions which it implements
8498 to always fail with ENOSYS. Some functions are actually named
8499 something starting with __ and the normal name is an alias. */
8500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8508 if { (eval echo configure:8509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8510 eval "ac_cv_func_
$ac_func=yes"
8512 echo "configure
: failed program was
:" >&5
8513 cat conftest.$ac_ext >&5
8515 eval "ac_cv_func_
$ac_func=no
"
8520 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8521 echo "$ac_t""yes" 1>&6
8522 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8523 cat >> confdefs.h <<EOF
8524 #define $ac_tr_func 1
8528 echo "$ac_t""no
" 1>&6
8535 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
8536 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
8537 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
8538 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
8539 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
8540 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
8542 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8543 echo "configure
:8544: checking
for $ac_func" >&5
8544 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8545 echo $ac_n "(cached
) $ac_c" 1>&6
8547 cat > conftest.$ac_ext <<EOF
8548 #line 8549 "configure
"
8549 #include "confdefs.h
"
8550 /* System header to define __stub macros and hopefully few prototypes,
8551 which can conflict with char $ac_func(); below. */
8553 /* Override any gcc2 internal prototype to avoid an error. */
8554 /* We use char because int might match the return type of a gcc2
8555 builtin and then its argument prototype would still apply. */
8560 /* The GNU C library defines this for functions which it implements
8561 to always fail with ENOSYS. Some functions are actually named
8562 something starting with __ and the normal name is an alias. */
8563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8571 if { (eval echo configure:8572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8573 eval "ac_cv_func_
$ac_func=yes"
8575 echo "configure
: failed program was
:" >&5
8576 cat conftest.$ac_ext >&5
8578 eval "ac_cv_func_
$ac_func=no
"
8583 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8584 echo "$ac_t""yes" 1>&6
8585 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8586 cat >> confdefs.h <<EOF
8587 #define $ac_tr_func 1
8591 echo "$ac_t""no
" 1>&6
8598 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
8599 echo "configure
:8600: checking
for ISO C99 wchar_t support
" >&5
8600 if test x"$has_weof" = xyes &&
8601 test x"$has_wchar_minmax" = xyes &&
8602 test x"$ac_wfuncs" = xyes; then
8603 ac_isoC99_wchar_t=yes
8605 ac_isoC99_wchar_t=no
8607 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
8609 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
8610 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
8611 echo "configure
:8612: checking
for iconv.h
" >&5
8612 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8613 echo $ac_n "(cached
) $ac_c" 1>&6
8615 cat > conftest.$ac_ext <<EOF
8616 #line 8617 "configure
"
8617 #include "confdefs.h
"
8620 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8621 { (eval echo configure:8622: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8622 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8623 if test -z "$ac_err"; then
8625 eval "ac_cv_header_
$ac_safe=yes"
8628 echo "configure
: failed program was
:" >&5
8629 cat conftest.$ac_ext >&5
8631 eval "ac_cv_header_
$ac_safe=no
"
8635 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8636 echo "$ac_t""yes" 1>&6
8639 echo "$ac_t""no
" 1>&6
8643 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
8644 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
8645 echo "configure
:8646: checking
for langinfo.h
" >&5
8646 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8647 echo $ac_n "(cached
) $ac_c" 1>&6
8649 cat > conftest.$ac_ext <<EOF
8650 #line 8651 "configure
"
8651 #include "confdefs.h
"
8652 #include <langinfo.h>
8654 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8655 { (eval echo configure:8656: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8656 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8657 if test -z "$ac_err"; then
8659 eval "ac_cv_header_
$ac_safe=yes"
8662 echo "configure
: failed program was
:" >&5
8663 cat conftest.$ac_ext >&5
8665 eval "ac_cv_header_
$ac_safe=no
"
8669 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8670 echo "$ac_t""yes" 1>&6
8671 ac_has_langinfo_h=yes
8673 echo "$ac_t""no
" 1>&6
8674 ac_has_langinfo_h=no
8678 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
8679 echo "configure
:8680: checking
for iconv in -liconv" >&5
8680 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
8681 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8682 echo $ac_n "(cached
) $ac_c" 1>&6
8684 ac_save_LIBS="$LIBS"
8685 LIBS="-liconv $LIBS"
8686 cat > conftest.$ac_ext <<EOF
8687 #line 8688 "configure
"
8688 #include "confdefs.h
"
8689 /* Override any gcc2 internal prototype to avoid an error. */
8690 /* We use char because int might match the return type of a gcc2
8691 builtin and then its argument prototype would still apply. */
8698 if { (eval echo configure:8699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8700 eval "ac_cv_lib_
$ac_lib_var=yes"
8702 echo "configure
: failed program was
:" >&5
8703 cat conftest.$ac_ext >&5
8705 eval "ac_cv_lib_
$ac_lib_var=no
"
8708 LIBS="$ac_save_LIBS"
8711 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8712 echo "$ac_t""yes" 1>&6
8715 echo "$ac_t""no
" 1>&6
8718 ac_save_LIBS="$LIBS"
8719 LIBS="$LIBS $libiconv"
8721 for ac_func in iconv_open iconv_close iconv nl_langinfo
8723 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8724 echo "configure
:8725: checking
for $ac_func" >&5
8725 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8726 echo $ac_n "(cached
) $ac_c" 1>&6
8728 cat > conftest.$ac_ext <<EOF
8729 #line 8730 "configure
"
8730 #include "confdefs.h
"
8731 /* System header to define __stub macros and hopefully few prototypes,
8732 which can conflict with char $ac_func(); below. */
8734 /* Override any gcc2 internal prototype to avoid an error. */
8735 /* We use char because int might match the return type of a gcc2
8736 builtin and then its argument prototype would still apply. */
8741 /* The GNU C library defines this for functions which it implements
8742 to always fail with ENOSYS. Some functions are actually named
8743 something starting with __ and the normal name is an alias. */
8744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8752 if { (eval echo configure:8753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8754 eval "ac_cv_func_
$ac_func=yes"
8756 echo "configure
: failed program was
:" >&5
8757 cat conftest.$ac_ext >&5
8759 eval "ac_cv_func_
$ac_func=no
"
8764 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8765 echo "$ac_t""yes" 1>&6
8766 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8767 cat >> confdefs.h <<EOF
8768 #define $ac_tr_func 1
8773 echo "$ac_t""no
" 1>&6
8779 LIBS="$ac_save_LIBS"
8781 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
8782 echo "configure
:8783: checking
for XPG2 wchar_t support
" >&5
8783 if test x"$ac_has_iconv_h" = xyes &&
8784 test x"$ac_has_langinfo_h" = xyes &&
8785 test x"$ac_XPG2funcs" = xyes; then
8790 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
8792 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
8793 echo "configure
:8794: checking
for enabled wchar_t specializations
" >&5
8794 if test x"$ac_isoC99_wchar_t" = xyes &&
8795 test x"$ac_XPG2_wchar_t" = xyes; then
8796 cat >> confdefs.h <<\EOF
8797 #define _GLIBCPP_USE_WCHAR_T 1
8800 echo "$ac_t"""yes"" 1>&6
8802 echo "$ac_t"""no"" 1>&6
8805 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
8808 os_include_dir="os
/qnx
/qnx6.1
"
8809 cat >> confdefs.h <<\EOF
8813 cat >> confdefs.h <<\EOF
8817 cat >> confdefs.h <<\EOF
8818 #define HAVE_COSHF 1
8821 cat >> confdefs.h <<\EOF
8822 #define HAVE_COSHL 1
8825 cat >> confdefs.h <<\EOF
8829 cat >> confdefs.h <<\EOF
8833 cat >> confdefs.h <<\EOF
8834 #define HAVE_LOG10F 1
8837 cat >> confdefs.h <<\EOF
8838 #define HAVE_LOG10L 1
8841 cat >> confdefs.h <<\EOF
8845 cat >> confdefs.h <<\EOF
8849 cat >> confdefs.h <<\EOF
8850 #define HAVE_SINHF 1
8853 cat >> confdefs.h <<\EOF
8854 #define HAVE_SINHL 1
8859 os_include_dir="os
/newlib
"
8860 cat >> confdefs.h <<\EOF
8861 #define HAVE_HYPOT 1
8867 case "$target_alias" in
8871 cat >> confdefs.h <<\EOF
8872 #define HAVE_ACOSF 1
8875 cat >> confdefs.h <<\EOF
8876 #define HAVE_ASINF 1
8879 cat >> confdefs.h <<\EOF
8880 #define HAVE_ATAN2F 1
8883 cat >> confdefs.h <<\EOF
8884 #define HAVE_ATANF 1
8887 cat >> confdefs.h <<\EOF
8888 #define HAVE_CEILF 1
8891 cat >> confdefs.h <<\EOF
8892 #define HAVE_COPYSIGN 1
8895 cat >> confdefs.h <<\EOF
8896 #define HAVE_COPYSIGNF 1
8899 cat >> confdefs.h <<\EOF
8903 cat >> confdefs.h <<\EOF
8904 #define HAVE_COSHF 1
8907 cat >> confdefs.h <<\EOF
8911 cat >> confdefs.h <<\EOF
8912 #define HAVE_FABSF 1
8915 cat >> confdefs.h <<\EOF
8916 #define HAVE_FLOORF 1
8919 cat >> confdefs.h <<\EOF
8920 #define HAVE_FMODF 1
8923 cat >> confdefs.h <<\EOF
8924 #define HAVE_FREXPF 1
8927 cat >> confdefs.h <<\EOF
8928 #define HAVE_LDEXPF 1
8931 cat >> confdefs.h <<\EOF
8932 #define HAVE_LOG10F 1
8935 cat >> confdefs.h <<\EOF
8939 cat >> confdefs.h <<\EOF
8940 #define HAVE_MODFF 1
8943 cat >> confdefs.h <<\EOF
8947 cat >> confdefs.h <<\EOF
8951 cat >> confdefs.h <<\EOF
8952 #define HAVE_SINHF 1
8955 cat >> confdefs.h <<\EOF
8956 #define HAVE_SQRTF 1
8959 cat >> confdefs.h <<\EOF
8963 cat >> confdefs.h <<\EOF
8964 #define HAVE_TANHF 1
8969 # GLIBCPP_CHECK_STDLIB_SUPPORT
8970 cat >> confdefs.h <<\EOF
8971 #define HAVE_STRTOF 1
8974 cat >> confdefs.h <<\EOF
8975 #define HAVE_STRTOLD 1
8979 cat >> confdefs.h <<\EOF
8984 cat >> confdefs.h <<\EOF
8985 #define HAVE_ACOSF 1
8988 cat >> confdefs.h <<\EOF
8989 #define HAVE_ASINF 1
8992 cat >> confdefs.h <<\EOF
8993 #define HAVE_ATAN2F 1
8996 cat >> confdefs.h <<\EOF
8997 #define HAVE_ATANF 1
9000 cat >> confdefs.h <<\EOF
9001 #define HAVE_CEILF 1
9004 cat >> confdefs.h <<\EOF
9005 #define HAVE_COPYSIGN 1
9008 cat >> confdefs.h <<\EOF
9009 #define HAVE_COPYSIGNF 1
9012 cat >> confdefs.h <<\EOF
9016 cat >> confdefs.h <<\EOF
9017 #define HAVE_COSHF 1
9020 cat >> confdefs.h <<\EOF
9024 cat >> confdefs.h <<\EOF
9025 #define HAVE_FABSF 1
9028 cat >> confdefs.h <<\EOF
9029 #define HAVE_FLOORF 1
9032 cat >> confdefs.h <<\EOF
9033 #define HAVE_FMODF 1
9036 cat >> confdefs.h <<\EOF
9037 #define HAVE_FREXPF 1
9040 cat >> confdefs.h <<\EOF
9041 #define HAVE_LDEXPF 1
9044 cat >> confdefs.h <<\EOF
9045 #define HAVE_LOG10F 1
9048 cat >> confdefs.h <<\EOF
9052 cat >> confdefs.h <<\EOF
9053 #define HAVE_MODFF 1
9056 cat >> confdefs.h <<\EOF
9060 cat >> confdefs.h <<\EOF
9064 cat >> confdefs.h <<\EOF
9065 #define HAVE_SINHF 1
9068 cat >> confdefs.h <<\EOF
9069 #define HAVE_SQRTF 1
9072 cat >> confdefs.h <<\EOF
9076 cat >> confdefs.h <<\EOF
9077 #define HAVE_TANHF 1
9083 # At some point, we should differentiate between architectures
9084 # like x86, which have long double versions, and alpha/powerpc/etc.,
9085 # which don't. For the time being, punt.
9086 if test x"long_double_math_on_this_cpu
" = x"yes"; then
9087 cat >> confdefs.h <<\EOF
9088 #define HAVE_ACOSL 1
9091 cat >> confdefs.h <<\EOF
9092 #define HAVE_ASINL 1
9095 cat >> confdefs.h <<\EOF
9096 #define HAVE_ATAN2L 1
9099 cat >> confdefs.h <<\EOF
9100 #define HAVE_ATANL 1
9103 cat >> confdefs.h <<\EOF
9104 #define HAVE_CEILL 1
9107 cat >> confdefs.h <<\EOF
9108 #define HAVE_COPYSIGNL 1
9111 cat >> confdefs.h <<\EOF
9115 cat >> confdefs.h <<\EOF
9116 #define HAVE_COSHL 1
9119 cat >> confdefs.h <<\EOF
9123 cat >> confdefs.h <<\EOF
9124 #define HAVE_FABSL 1
9127 cat >> confdefs.h <<\EOF
9128 #define HAVE_FLOORL 1
9131 cat >> confdefs.h <<\EOF
9132 #define HAVE_FMODL 1
9135 cat >> confdefs.h <<\EOF
9136 #define HAVE_FREXPL 1
9139 cat >> confdefs.h <<\EOF
9140 #define HAVE_LDEXPL 1
9143 cat >> confdefs.h <<\EOF
9144 #define HAVE_LOG10L 1
9147 cat >> confdefs.h <<\EOF
9151 cat >> confdefs.h <<\EOF
9152 #define HAVE_MODFL 1
9155 cat >> confdefs.h <<\EOF
9159 cat >> confdefs.h <<\EOF
9160 #define HAVE_SINCOSL 1
9163 cat >> confdefs.h <<\EOF
9167 cat >> confdefs.h <<\EOF
9168 #define HAVE_SINHL 1
9171 cat >> confdefs.h <<\EOF
9172 #define HAVE_SQRTL 1
9175 cat >> confdefs.h <<\EOF
9179 cat >> confdefs.h <<\EOF
9180 #define HAVE_TANHL 1
9187 # We are being configured natively. We can do more elaborate tests
9188 # that include AC_TRY_COMPILE now, as the linker is assumed to be
9190 GLIBCPP_IS_CROSS_COMPILING=0
9193 # Check for available headers.
9194 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
9195 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h sys/types.h
9197 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9198 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
9199 echo "configure
:9200: checking
for $ac_hdr" >&5
9200 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9201 echo $ac_n "(cached
) $ac_c" 1>&6
9203 cat > conftest.$ac_ext <<EOF
9204 #line 9205 "configure
"
9205 #include "confdefs.h
"
9208 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
9209 { (eval echo configure:9210: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9210 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
9211 if test -z "$ac_err"; then
9213 eval "ac_cv_header_
$ac_safe=yes"
9216 echo "configure
: failed program was
:" >&5
9217 cat conftest.$ac_ext >&5
9219 eval "ac_cv_header_
$ac_safe=no
"
9223 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9224 echo "$ac_t""yes" 1>&6
9225 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9226 cat >> confdefs.h <<EOF
9227 #define $ac_tr_hdr 1
9231 echo "$ac_t""no
" 1>&6
9237 # All these tests are for C++; save the language and the compiler flags.
9238 # The CXXFLAGS thing is suspicious, but based on similar bits previously
9239 # found in GLIBCPP_CONFIGURE.
9242 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9243 ac_cpp='$CXXCPP $CPPFLAGS'
9244 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9245 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9246 cross_compiling=$ac_cv_prog_cxx_cross
9248 ac_test_CXXFLAGS="${CXXFLAGS+set}"
9249 ac_save_CXXFLAGS="$CXXFLAGS"
9251 # Check for maintainer-mode bits.
9252 if test x"$USE_MAINTAINER_MODE" = xno; then
9258 # Check for -ffunction-sections -fdata-sections
9259 echo $ac_n "checking
for g
++ that supports
-ffunction-sections -fdata-sections""...
$ac_c" 1>&6
9260 echo "configure
:9261: checking
for g
++ that supports
-ffunction-sections -fdata-sections" >&5
9261 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
9262 cat > conftest.$ac_ext <<EOF
9263 #line 9264 "configure
"
9264 #include "confdefs.h
"
9271 if { (eval echo configure:9272: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9275 echo "configure
: failed program was
:" >&5
9276 cat conftest.$ac_ext >&5
9281 if test "$ac_test_CXXFLAGS" = set; then
9282 CXXFLAGS="$ac_save_CXXFLAGS"
9284 # this is the suspicious part
9287 if test x"$ac_fdsections" = x"yes" &&
9288 test x"$enable_debug" = x"no
"; then
9289 SECTION_FLAGS='-ffunction-sections -fdata-sections'
9291 echo "$ac_t""$ac_fdsections" 1>&6
9294 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9295 ac_cpp='$CPP $CPPFLAGS'
9296 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9297 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9298 cross_compiling=$ac_cv_prog_cc_cross
9304 # If we're not using GNU ld, then there's no point in even trying these
9305 # tests. Check for that first. We should have already tested for gld
9306 # by now (in libtool), but require it now just to be safe...
9307 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
9308 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
9311 # The name set by libtool depends on the version of libtool. Shame on us
9312 # for depending on an impl detail, but c'est la vie. Older versions used
9313 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
9314 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
9315 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
9316 # set (hence we're using an older libtool), then set it.
9317 if test x${with_gnu_ld+set} != xset; then
9318 if test x${ac_cv_prog_gnu_ld+set} != xset; then
9319 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
9322 with_gnu_ld=$ac_cv_prog_gnu_ld
9326 # Start by getting the version number. I think the libtool test already
9327 # does some of this, but throws away the result.
9329 ldver=`$LD --version 2>/dev/null | head -1 | \
9330 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
9332 glibcpp_gnu_ld_version=`echo $ldver | \
9333 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
9335 # Set --gc-sections.
9336 if test "$with_gnu_ld" = "notbroken
"; then
9337 # GNU ld it is! Joy and bunny rabbits!
9339 # All these tests are for C++; save the language and the compiler flags.
9340 # Need to do this so that g++ won't try to link in libstdc++
9341 ac_test_CFLAGS="${CFLAGS+set}"
9342 ac_save_CFLAGS="$CFLAGS"
9343 CFLAGS='-x c++ -Wl,--gc-sections'
9345 # Check for -Wl,--gc-sections
9346 # XXX This test is broken at the moment, as symbols required for
9347 # linking are now in libsupc++ (not built yet.....). In addition,
9348 # this test has cored on solaris in the past. In addition,
9349 # --gc-sections doesn't really work at the moment (keeps on discarding
9350 # used sections, first .eh_frame and now some of the glibc sections for
9351 # iconv). Bzzzzt. Thanks for playing, maybe next time.
9352 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
9353 echo "configure
:9354: checking
for ld that supports
-Wl,--gc-sections" >&5
9354 if test "$cross_compiling" = yes; then
9355 ac_sectionLDflags=yes
9357 cat > conftest.$ac_ext <<EOF
9358 #line 9359 "configure
"
9359 #include "confdefs.h
"
9369 if { (eval echo configure:9370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9371 ac_sectionLDflags=yes
9373 echo "configure
: failed program was
:" >&5
9374 cat conftest.$ac_ext >&5
9376 ac_sectionLDflags=no
9381 if test "$ac_test_CFLAGS" = set; then
9382 CFLAGS="$ac_save_CFLAGS"
9384 # this is the suspicious part
9387 if test "$ac_sectionLDflags" = "yes"; then
9388 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
9390 echo "$ac_t""$ac_sectionLDflags" 1>&6
9393 # Set linker optimization flags.
9394 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no
"; then
9395 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
9403 echo $ac_n "checking
for __builtin_abs declaration
""...
$ac_c" 1>&6
9404 echo "configure
:9405: checking
for __builtin_abs declaration
" >&5
9405 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
9406 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
9407 echo $ac_n "(cached
) $ac_c" 1>&6
9412 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9413 ac_cpp='$CXXCPP $CPPFLAGS'
9414 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9415 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9416 cross_compiling=$ac_cv_prog_cxx_cross
9418 cat > conftest.$ac_ext <<EOF
9419 #line 9420 "configure
"
9420 #include "confdefs.h
"
9426 if { (eval echo configure:9427: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9428 glibcpp_cv_func___builtin_abs_use=yes
9430 echo "configure
: failed program was
:" >&5
9431 cat conftest.$ac_ext >&5
9433 glibcpp_cv_func___builtin_abs_use=no
9437 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9438 ac_cpp='$CPP $CPPFLAGS'
9439 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9440 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9441 cross_compiling=$ac_cv_prog_cc_cross
9447 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
9448 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
9449 echo $ac_n "checking
for __builtin_abs linkage
""...
$ac_c" 1>&6
9450 echo "configure
:9451: checking
for __builtin_abs linkage
" >&5
9451 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
9452 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
9453 echo $ac_n "(cached
) $ac_c" 1>&6
9456 cat > conftest.$ac_ext <<EOF
9457 #line 9458 "configure
"
9458 #include "confdefs.h
"
9464 if { (eval echo configure:9465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9466 glibcpp_cv_func___builtin_abs_link=yes
9468 echo "configure
: failed program was
:" >&5
9469 cat conftest.$ac_ext >&5
9471 glibcpp_cv_func___builtin_abs_link=no
9478 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
9479 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
9480 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9481 cat >> confdefs.h <<EOF
9482 #define ${ac_tr_func} 1
9489 echo $ac_n "checking
for __builtin_fabsf declaration
""...
$ac_c" 1>&6
9490 echo "configure
:9491: checking
for __builtin_fabsf declaration
" >&5
9491 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
9492 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
9493 echo $ac_n "(cached
) $ac_c" 1>&6
9498 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9499 ac_cpp='$CXXCPP $CPPFLAGS'
9500 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9501 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9502 cross_compiling=$ac_cv_prog_cxx_cross
9504 cat > conftest.$ac_ext <<EOF
9505 #line 9506 "configure
"
9506 #include "confdefs.h
"
9512 if { (eval echo configure:9513: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9514 glibcpp_cv_func___builtin_fabsf_use=yes
9516 echo "configure
: failed program was
:" >&5
9517 cat conftest.$ac_ext >&5
9519 glibcpp_cv_func___builtin_fabsf_use=no
9523 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9524 ac_cpp='$CPP $CPPFLAGS'
9525 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9526 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9527 cross_compiling=$ac_cv_prog_cc_cross
9533 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
9534 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
9535 echo $ac_n "checking
for __builtin_fabsf linkage
""...
$ac_c" 1>&6
9536 echo "configure
:9537: checking
for __builtin_fabsf linkage
" >&5
9537 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
9538 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
9539 echo $ac_n "(cached
) $ac_c" 1>&6
9542 cat > conftest.$ac_ext <<EOF
9543 #line 9544 "configure
"
9544 #include "confdefs.h
"
9550 if { (eval echo configure:9551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9552 glibcpp_cv_func___builtin_fabsf_link=yes
9554 echo "configure
: failed program was
:" >&5
9555 cat conftest.$ac_ext >&5
9557 glibcpp_cv_func___builtin_fabsf_link=no
9564 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
9565 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
9566 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9567 cat >> confdefs.h <<EOF
9568 #define ${ac_tr_func} 1
9575 echo $ac_n "checking
for __builtin_fabs declaration
""...
$ac_c" 1>&6
9576 echo "configure
:9577: checking
for __builtin_fabs declaration
" >&5
9577 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
9578 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
9579 echo $ac_n "(cached
) $ac_c" 1>&6
9584 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9585 ac_cpp='$CXXCPP $CPPFLAGS'
9586 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9587 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9588 cross_compiling=$ac_cv_prog_cxx_cross
9590 cat > conftest.$ac_ext <<EOF
9591 #line 9592 "configure
"
9592 #include "confdefs.h
"
9598 if { (eval echo configure:9599: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9600 glibcpp_cv_func___builtin_fabs_use=yes
9602 echo "configure
: failed program was
:" >&5
9603 cat conftest.$ac_ext >&5
9605 glibcpp_cv_func___builtin_fabs_use=no
9609 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9610 ac_cpp='$CPP $CPPFLAGS'
9611 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9612 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9613 cross_compiling=$ac_cv_prog_cc_cross
9619 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
9620 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
9621 echo $ac_n "checking
for __builtin_fabs linkage
""...
$ac_c" 1>&6
9622 echo "configure
:9623: checking
for __builtin_fabs linkage
" >&5
9623 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
9624 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
9625 echo $ac_n "(cached
) $ac_c" 1>&6
9628 cat > conftest.$ac_ext <<EOF
9629 #line 9630 "configure
"
9630 #include "confdefs.h
"
9636 if { (eval echo configure:9637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9638 glibcpp_cv_func___builtin_fabs_link=yes
9640 echo "configure
: failed program was
:" >&5
9641 cat conftest.$ac_ext >&5
9643 glibcpp_cv_func___builtin_fabs_link=no
9650 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
9651 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
9652 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9653 cat >> confdefs.h <<EOF
9654 #define ${ac_tr_func} 1
9661 echo $ac_n "checking
for __builtin_fabsl declaration
""...
$ac_c" 1>&6
9662 echo "configure
:9663: checking
for __builtin_fabsl declaration
" >&5
9663 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
9664 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
9665 echo $ac_n "(cached
) $ac_c" 1>&6
9670 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9671 ac_cpp='$CXXCPP $CPPFLAGS'
9672 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9673 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9674 cross_compiling=$ac_cv_prog_cxx_cross
9676 cat > conftest.$ac_ext <<EOF
9677 #line 9678 "configure
"
9678 #include "confdefs.h
"
9684 if { (eval echo configure:9685: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9686 glibcpp_cv_func___builtin_fabsl_use=yes
9688 echo "configure
: failed program was
:" >&5
9689 cat conftest.$ac_ext >&5
9691 glibcpp_cv_func___builtin_fabsl_use=no
9695 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9696 ac_cpp='$CPP $CPPFLAGS'
9697 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9698 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9699 cross_compiling=$ac_cv_prog_cc_cross
9705 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
9706 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
9707 echo $ac_n "checking
for __builtin_fabsl linkage
""...
$ac_c" 1>&6
9708 echo "configure
:9709: checking
for __builtin_fabsl linkage
" >&5
9709 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
9710 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
9711 echo $ac_n "(cached
) $ac_c" 1>&6
9714 cat > conftest.$ac_ext <<EOF
9715 #line 9716 "configure
"
9716 #include "confdefs.h
"
9722 if { (eval echo configure:9723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9724 glibcpp_cv_func___builtin_fabsl_link=yes
9726 echo "configure
: failed program was
:" >&5
9727 cat conftest.$ac_ext >&5
9729 glibcpp_cv_func___builtin_fabsl_link=no
9736 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
9737 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
9738 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9739 cat >> confdefs.h <<EOF
9740 #define ${ac_tr_func} 1
9747 echo $ac_n "checking
for __builtin_labs declaration
""...
$ac_c" 1>&6
9748 echo "configure
:9749: checking
for __builtin_labs declaration
" >&5
9749 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
9750 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
9751 echo $ac_n "(cached
) $ac_c" 1>&6
9756 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9757 ac_cpp='$CXXCPP $CPPFLAGS'
9758 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9759 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9760 cross_compiling=$ac_cv_prog_cxx_cross
9762 cat > conftest.$ac_ext <<EOF
9763 #line 9764 "configure
"
9764 #include "confdefs.h
"
9770 if { (eval echo configure:9771: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9772 glibcpp_cv_func___builtin_labs_use=yes
9774 echo "configure
: failed program was
:" >&5
9775 cat conftest.$ac_ext >&5
9777 glibcpp_cv_func___builtin_labs_use=no
9781 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9782 ac_cpp='$CPP $CPPFLAGS'
9783 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9784 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9785 cross_compiling=$ac_cv_prog_cc_cross
9791 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
9792 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
9793 echo $ac_n "checking
for __builtin_labs linkage
""...
$ac_c" 1>&6
9794 echo "configure
:9795: checking
for __builtin_labs linkage
" >&5
9795 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
9796 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
9797 echo $ac_n "(cached
) $ac_c" 1>&6
9800 cat > conftest.$ac_ext <<EOF
9801 #line 9802 "configure
"
9802 #include "confdefs.h
"
9808 if { (eval echo configure:9809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9810 glibcpp_cv_func___builtin_labs_link=yes
9812 echo "configure
: failed program was
:" >&5
9813 cat conftest.$ac_ext >&5
9815 glibcpp_cv_func___builtin_labs_link=no
9822 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
9823 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
9824 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9825 cat >> confdefs.h <<EOF
9826 #define ${ac_tr_func} 1
9834 echo $ac_n "checking
for __builtin_sqrtf declaration
""...
$ac_c" 1>&6
9835 echo "configure
:9836: checking
for __builtin_sqrtf declaration
" >&5
9836 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
9837 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
9838 echo $ac_n "(cached
) $ac_c" 1>&6
9843 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9844 ac_cpp='$CXXCPP $CPPFLAGS'
9845 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9846 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9847 cross_compiling=$ac_cv_prog_cxx_cross
9849 cat > conftest.$ac_ext <<EOF
9850 #line 9851 "configure
"
9851 #include "confdefs.h
"
9857 if { (eval echo configure:9858: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9859 glibcpp_cv_func___builtin_sqrtf_use=yes
9861 echo "configure
: failed program was
:" >&5
9862 cat conftest.$ac_ext >&5
9864 glibcpp_cv_func___builtin_sqrtf_use=no
9868 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9869 ac_cpp='$CPP $CPPFLAGS'
9870 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9871 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9872 cross_compiling=$ac_cv_prog_cc_cross
9878 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
9879 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
9880 echo $ac_n "checking
for __builtin_sqrtf linkage
""...
$ac_c" 1>&6
9881 echo "configure
:9882: checking
for __builtin_sqrtf linkage
" >&5
9882 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
9883 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
9884 echo $ac_n "(cached
) $ac_c" 1>&6
9887 cat > conftest.$ac_ext <<EOF
9888 #line 9889 "configure
"
9889 #include "confdefs.h
"
9895 if { (eval echo configure:9896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9897 glibcpp_cv_func___builtin_sqrtf_link=yes
9899 echo "configure
: failed program was
:" >&5
9900 cat conftest.$ac_ext >&5
9902 glibcpp_cv_func___builtin_sqrtf_link=no
9909 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
9910 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
9911 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9912 cat >> confdefs.h <<EOF
9913 #define ${ac_tr_func} 1
9920 echo $ac_n "checking
for __builtin_sqrt declaration
""...
$ac_c" 1>&6
9921 echo "configure
:9922: checking
for __builtin_sqrt declaration
" >&5
9922 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
9923 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
9924 echo $ac_n "(cached
) $ac_c" 1>&6
9929 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9930 ac_cpp='$CXXCPP $CPPFLAGS'
9931 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9932 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9933 cross_compiling=$ac_cv_prog_cxx_cross
9935 cat > conftest.$ac_ext <<EOF
9936 #line 9937 "configure
"
9937 #include "confdefs.h
"
9943 if { (eval echo configure:9944: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9945 glibcpp_cv_func___builtin_sqrt_use=yes
9947 echo "configure
: failed program was
:" >&5
9948 cat conftest.$ac_ext >&5
9950 glibcpp_cv_func___builtin_sqrt_use=no
9954 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9955 ac_cpp='$CPP $CPPFLAGS'
9956 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9957 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9958 cross_compiling=$ac_cv_prog_cc_cross
9964 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
9965 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
9966 echo $ac_n "checking
for __builtin_sqrt linkage
""...
$ac_c" 1>&6
9967 echo "configure
:9968: checking
for __builtin_sqrt linkage
" >&5
9968 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
9969 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
9970 echo $ac_n "(cached
) $ac_c" 1>&6
9973 cat > conftest.$ac_ext <<EOF
9974 #line 9975 "configure
"
9975 #include "confdefs.h
"
9981 if { (eval echo configure:9982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9983 glibcpp_cv_func___builtin_sqrt_link=yes
9985 echo "configure
: failed program was
:" >&5
9986 cat conftest.$ac_ext >&5
9988 glibcpp_cv_func___builtin_sqrt_link=no
9995 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
9996 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
9997 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9998 cat >> confdefs.h <<EOF
9999 #define ${ac_tr_func} 1
10006 echo $ac_n "checking
for __builtin_sqrtl declaration
""...
$ac_c" 1>&6
10007 echo "configure
:10008: checking
for __builtin_sqrtl declaration
" >&5
10008 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
10009 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
10010 echo $ac_n "(cached
) $ac_c" 1>&6
10015 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10016 ac_cpp='$CXXCPP $CPPFLAGS'
10017 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10018 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10019 cross_compiling=$ac_cv_prog_cxx_cross
10021 cat > conftest.$ac_ext <<EOF
10022 #line 10023 "configure
"
10023 #include "confdefs.h
"
10026 __builtin_sqrtl(0);
10029 if { (eval echo configure:10030: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10031 glibcpp_cv_func___builtin_sqrtl_use=yes
10033 echo "configure
: failed program was
:" >&5
10034 cat conftest.$ac_ext >&5
10036 glibcpp_cv_func___builtin_sqrtl_use=no
10040 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10041 ac_cpp='$CPP $CPPFLAGS'
10042 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10043 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10044 cross_compiling=$ac_cv_prog_cc_cross
10050 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
10051 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
10052 echo $ac_n "checking
for __builtin_sqrtl linkage
""...
$ac_c" 1>&6
10053 echo "configure
:10054: checking
for __builtin_sqrtl linkage
" >&5
10054 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
10055 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
10056 echo $ac_n "(cached
) $ac_c" 1>&6
10059 cat > conftest.$ac_ext <<EOF
10060 #line 10061 "configure
"
10061 #include "confdefs.h
"
10064 __builtin_sqrtl(0);
10067 if { (eval echo configure:10068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10069 glibcpp_cv_func___builtin_sqrtl_link=yes
10071 echo "configure
: failed program was
:" >&5
10072 cat conftest.$ac_ext >&5
10074 glibcpp_cv_func___builtin_sqrtl_link=no
10081 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
10082 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
10083 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10084 cat >> confdefs.h <<EOF
10085 #define ${ac_tr_func} 1
10093 echo $ac_n "checking
for __builtin_sinf declaration
""...
$ac_c" 1>&6
10094 echo "configure
:10095: checking
for __builtin_sinf declaration
" >&5
10095 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
10096 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
10097 echo $ac_n "(cached
) $ac_c" 1>&6
10102 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10103 ac_cpp='$CXXCPP $CPPFLAGS'
10104 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10105 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10106 cross_compiling=$ac_cv_prog_cxx_cross
10108 cat > conftest.$ac_ext <<EOF
10109 #line 10110 "configure
"
10110 #include "confdefs.h
"
10116 if { (eval echo configure:10117: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10118 glibcpp_cv_func___builtin_sinf_use=yes
10120 echo "configure
: failed program was
:" >&5
10121 cat conftest.$ac_ext >&5
10123 glibcpp_cv_func___builtin_sinf_use=no
10127 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10128 ac_cpp='$CPP $CPPFLAGS'
10129 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10130 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10131 cross_compiling=$ac_cv_prog_cc_cross
10137 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
10138 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
10139 echo $ac_n "checking
for __builtin_sinf linkage
""...
$ac_c" 1>&6
10140 echo "configure
:10141: checking
for __builtin_sinf linkage
" >&5
10141 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
10142 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
10143 echo $ac_n "(cached
) $ac_c" 1>&6
10146 cat > conftest.$ac_ext <<EOF
10147 #line 10148 "configure
"
10148 #include "confdefs.h
"
10154 if { (eval echo configure:10155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10156 glibcpp_cv_func___builtin_sinf_link=yes
10158 echo "configure
: failed program was
:" >&5
10159 cat conftest.$ac_ext >&5
10161 glibcpp_cv_func___builtin_sinf_link=no
10168 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
10169 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
10170 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10171 cat >> confdefs.h <<EOF
10172 #define ${ac_tr_func} 1
10179 echo $ac_n "checking
for __builtin_sin declaration
""...
$ac_c" 1>&6
10180 echo "configure
:10181: checking
for __builtin_sin declaration
" >&5
10181 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
10182 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
10183 echo $ac_n "(cached
) $ac_c" 1>&6
10188 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10189 ac_cpp='$CXXCPP $CPPFLAGS'
10190 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10191 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10192 cross_compiling=$ac_cv_prog_cxx_cross
10194 cat > conftest.$ac_ext <<EOF
10195 #line 10196 "configure
"
10196 #include "confdefs.h
"
10202 if { (eval echo configure:10203: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10204 glibcpp_cv_func___builtin_sin_use=yes
10206 echo "configure
: failed program was
:" >&5
10207 cat conftest.$ac_ext >&5
10209 glibcpp_cv_func___builtin_sin_use=no
10213 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10214 ac_cpp='$CPP $CPPFLAGS'
10215 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10216 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10217 cross_compiling=$ac_cv_prog_cc_cross
10223 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
10224 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
10225 echo $ac_n "checking
for __builtin_sin linkage
""...
$ac_c" 1>&6
10226 echo "configure
:10227: checking
for __builtin_sin linkage
" >&5
10227 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
10228 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
10229 echo $ac_n "(cached
) $ac_c" 1>&6
10232 cat > conftest.$ac_ext <<EOF
10233 #line 10234 "configure
"
10234 #include "confdefs.h
"
10240 if { (eval echo configure:10241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10242 glibcpp_cv_func___builtin_sin_link=yes
10244 echo "configure
: failed program was
:" >&5
10245 cat conftest.$ac_ext >&5
10247 glibcpp_cv_func___builtin_sin_link=no
10254 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
10255 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
10256 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10257 cat >> confdefs.h <<EOF
10258 #define ${ac_tr_func} 1
10265 echo $ac_n "checking
for __builtin_sinl declaration
""...
$ac_c" 1>&6
10266 echo "configure
:10267: checking
for __builtin_sinl declaration
" >&5
10267 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
10268 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
10269 echo $ac_n "(cached
) $ac_c" 1>&6
10274 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10275 ac_cpp='$CXXCPP $CPPFLAGS'
10276 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10277 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10278 cross_compiling=$ac_cv_prog_cxx_cross
10280 cat > conftest.$ac_ext <<EOF
10281 #line 10282 "configure
"
10282 #include "confdefs.h
"
10288 if { (eval echo configure:10289: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10290 glibcpp_cv_func___builtin_sinl_use=yes
10292 echo "configure
: failed program was
:" >&5
10293 cat conftest.$ac_ext >&5
10295 glibcpp_cv_func___builtin_sinl_use=no
10299 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10300 ac_cpp='$CPP $CPPFLAGS'
10301 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10302 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10303 cross_compiling=$ac_cv_prog_cc_cross
10309 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
10310 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
10311 echo $ac_n "checking
for __builtin_sinl linkage
""...
$ac_c" 1>&6
10312 echo "configure
:10313: checking
for __builtin_sinl linkage
" >&5
10313 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
10314 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
10315 echo $ac_n "(cached
) $ac_c" 1>&6
10318 cat > conftest.$ac_ext <<EOF
10319 #line 10320 "configure
"
10320 #include "confdefs.h
"
10326 if { (eval echo configure:10327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10328 glibcpp_cv_func___builtin_sinl_link=yes
10330 echo "configure
: failed program was
:" >&5
10331 cat conftest.$ac_ext >&5
10333 glibcpp_cv_func___builtin_sinl_link=no
10340 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
10341 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
10342 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10343 cat >> confdefs.h <<EOF
10344 #define ${ac_tr_func} 1
10352 echo $ac_n "checking
for __builtin_cosf declaration
""...
$ac_c" 1>&6
10353 echo "configure
:10354: checking
for __builtin_cosf declaration
" >&5
10354 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
10355 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
10356 echo $ac_n "(cached
) $ac_c" 1>&6
10361 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10362 ac_cpp='$CXXCPP $CPPFLAGS'
10363 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10364 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10365 cross_compiling=$ac_cv_prog_cxx_cross
10367 cat > conftest.$ac_ext <<EOF
10368 #line 10369 "configure
"
10369 #include "confdefs.h
"
10375 if { (eval echo configure:10376: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10377 glibcpp_cv_func___builtin_cosf_use=yes
10379 echo "configure
: failed program was
:" >&5
10380 cat conftest.$ac_ext >&5
10382 glibcpp_cv_func___builtin_cosf_use=no
10386 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10387 ac_cpp='$CPP $CPPFLAGS'
10388 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10389 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10390 cross_compiling=$ac_cv_prog_cc_cross
10396 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
10397 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
10398 echo $ac_n "checking
for __builtin_cosf linkage
""...
$ac_c" 1>&6
10399 echo "configure
:10400: checking
for __builtin_cosf linkage
" >&5
10400 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
10401 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
10402 echo $ac_n "(cached
) $ac_c" 1>&6
10405 cat > conftest.$ac_ext <<EOF
10406 #line 10407 "configure
"
10407 #include "confdefs.h
"
10413 if { (eval echo configure:10414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10415 glibcpp_cv_func___builtin_cosf_link=yes
10417 echo "configure
: failed program was
:" >&5
10418 cat conftest.$ac_ext >&5
10420 glibcpp_cv_func___builtin_cosf_link=no
10427 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
10428 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
10429 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10430 cat >> confdefs.h <<EOF
10431 #define ${ac_tr_func} 1
10438 echo $ac_n "checking
for __builtin_cos declaration
""...
$ac_c" 1>&6
10439 echo "configure
:10440: checking
for __builtin_cos declaration
" >&5
10440 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
10441 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
10442 echo $ac_n "(cached
) $ac_c" 1>&6
10447 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10448 ac_cpp='$CXXCPP $CPPFLAGS'
10449 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10450 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10451 cross_compiling=$ac_cv_prog_cxx_cross
10453 cat > conftest.$ac_ext <<EOF
10454 #line 10455 "configure
"
10455 #include "confdefs.h
"
10461 if { (eval echo configure:10462: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10463 glibcpp_cv_func___builtin_cos_use=yes
10465 echo "configure
: failed program was
:" >&5
10466 cat conftest.$ac_ext >&5
10468 glibcpp_cv_func___builtin_cos_use=no
10472 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10473 ac_cpp='$CPP $CPPFLAGS'
10474 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10475 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10476 cross_compiling=$ac_cv_prog_cc_cross
10482 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
10483 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
10484 echo $ac_n "checking
for __builtin_cos linkage
""...
$ac_c" 1>&6
10485 echo "configure
:10486: checking
for __builtin_cos linkage
" >&5
10486 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
10487 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
10488 echo $ac_n "(cached
) $ac_c" 1>&6
10491 cat > conftest.$ac_ext <<EOF
10492 #line 10493 "configure
"
10493 #include "confdefs.h
"
10499 if { (eval echo configure:10500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10501 glibcpp_cv_func___builtin_cos_link=yes
10503 echo "configure
: failed program was
:" >&5
10504 cat conftest.$ac_ext >&5
10506 glibcpp_cv_func___builtin_cos_link=no
10513 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
10514 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
10515 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10516 cat >> confdefs.h <<EOF
10517 #define ${ac_tr_func} 1
10524 echo $ac_n "checking
for __builtin_cosl declaration
""...
$ac_c" 1>&6
10525 echo "configure
:10526: checking
for __builtin_cosl declaration
" >&5
10526 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
10527 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
10528 echo $ac_n "(cached
) $ac_c" 1>&6
10533 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10534 ac_cpp='$CXXCPP $CPPFLAGS'
10535 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10536 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10537 cross_compiling=$ac_cv_prog_cxx_cross
10539 cat > conftest.$ac_ext <<EOF
10540 #line 10541 "configure
"
10541 #include "confdefs.h
"
10547 if { (eval echo configure:10548: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10549 glibcpp_cv_func___builtin_cosl_use=yes
10551 echo "configure
: failed program was
:" >&5
10552 cat conftest.$ac_ext >&5
10554 glibcpp_cv_func___builtin_cosl_use=no
10558 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10559 ac_cpp='$CPP $CPPFLAGS'
10560 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10561 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10562 cross_compiling=$ac_cv_prog_cc_cross
10568 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
10569 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
10570 echo $ac_n "checking
for __builtin_cosl linkage
""...
$ac_c" 1>&6
10571 echo "configure
:10572: checking
for __builtin_cosl linkage
" >&5
10572 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
10573 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
10574 echo $ac_n "(cached
) $ac_c" 1>&6
10577 cat > conftest.$ac_ext <<EOF
10578 #line 10579 "configure
"
10579 #include "confdefs.h
"
10585 if { (eval echo configure:10586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10587 glibcpp_cv_func___builtin_cosl_link=yes
10589 echo "configure
: failed program was
:" >&5
10590 cat conftest.$ac_ext >&5
10592 glibcpp_cv_func___builtin_cosl_link=no
10599 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
10600 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
10601 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10602 cat >> confdefs.h <<EOF
10603 #define ${ac_tr_func} 1
10611 if test x$dummyvar = x"yes"; then
10612 cat >> confdefs.h <<\EOF
10613 #define HAVE___BUILTIN_ABS 1
10616 cat >> confdefs.h <<\EOF
10617 #define HAVE___BUILTIN_LABS 1
10620 cat >> confdefs.h <<\EOF
10621 #define HAVE___BUILTIN_COS 1
10624 cat >> confdefs.h <<\EOF
10625 #define HAVE___BUILTIN_COSF 1
10628 cat >> confdefs.h <<\EOF
10629 #define HAVE___BUILTIN_COSL 1
10632 cat >> confdefs.h <<\EOF
10633 #define HAVE___BUILTIN_FABS 1
10636 cat >> confdefs.h <<\EOF
10637 #define HAVE___BUILTIN_FABSF 1
10640 cat >> confdefs.h <<\EOF
10641 #define HAVE___BUILTIN_FABSL 1
10644 cat >> confdefs.h <<\EOF
10645 #define HAVE___BUILTIN_SIN 1
10648 cat >> confdefs.h <<\EOF
10649 #define HAVE___BUILTIN_SINF 1
10652 cat >> confdefs.h <<\EOF
10653 #define HAVE___BUILTIN_SINL 1
10656 cat >> confdefs.h <<\EOF
10657 #define HAVE___BUILTIN_SQRT 1
10660 cat >> confdefs.h <<\EOF
10661 #define HAVE___BUILTIN_SQRTF 1
10664 cat >> confdefs.h <<\EOF
10665 #define HAVE___BUILTIN_SQRTL 1
10671 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10672 ac_save_CXXFLAGS="$CXXFLAGS"
10673 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
10675 echo $ac_n "checking
for sin
in -lm""...
$ac_c" 1>&6
10676 echo "configure
:10677: checking
for sin
in -lm" >&5
10677 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
10678 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10679 echo $ac_n "(cached
) $ac_c" 1>&6
10681 ac_save_LIBS="$LIBS"
10683 cat > conftest.$ac_ext <<EOF
10684 #line 10685 "configure
"
10685 #include "confdefs.h
"
10686 /* Override any gcc2 internal prototype to avoid an error. */
10687 /* We use char because int might match the return type of a gcc2
10688 builtin and then its argument prototype would still apply. */
10695 if { (eval echo configure:10696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10697 eval "ac_cv_lib_
$ac_lib_var=yes"
10699 echo "configure
: failed program was
:" >&5
10700 cat conftest.$ac_ext >&5
10702 eval "ac_cv_lib_
$ac_lib_var=no
"
10705 LIBS="$ac_save_LIBS"
10708 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10709 echo "$ac_t""yes" 1>&6
10712 echo "$ac_t""no
" 1>&6
10715 ac_save_LIBS="$LIBS"
10720 echo $ac_n "checking
for isinf declaration
""...
$ac_c" 1>&6
10721 echo "configure
:10722: checking
for isinf declaration
" >&5
10722 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
10723 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
10724 echo $ac_n "(cached
) $ac_c" 1>&6
10729 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10730 ac_cpp='$CXXCPP $CPPFLAGS'
10731 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10732 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10733 cross_compiling=$ac_cv_prog_cxx_cross
10735 cat > conftest.$ac_ext <<EOF
10736 #line 10737 "configure
"
10737 #include "confdefs.h
"
10739 #ifdef HAVE_IEEEFP_H
10740 #include <ieeefp.h>
10747 if { (eval echo configure:10748: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10749 glibcpp_cv_func_isinf_use=yes
10751 echo "configure
: failed program was
:" >&5
10752 cat conftest.$ac_ext >&5
10754 glibcpp_cv_func_isinf_use=no
10758 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10759 ac_cpp='$CPP $CPPFLAGS'
10760 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10761 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10762 cross_compiling=$ac_cv_prog_cc_cross
10768 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
10770 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
10771 for ac_func in isinf
10773 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10774 echo "configure
:10775: checking
for $ac_func" >&5
10775 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10776 echo $ac_n "(cached
) $ac_c" 1>&6
10778 cat > conftest.$ac_ext <<EOF
10779 #line 10780 "configure
"
10780 #include "confdefs.h
"
10781 /* System header to define __stub macros and hopefully few prototypes,
10782 which can conflict with char $ac_func(); below. */
10783 #include <assert.h>
10784 /* Override any gcc2 internal prototype to avoid an error. */
10785 /* We use char because int might match the return type of a gcc2
10786 builtin and then its argument prototype would still apply. */
10791 /* The GNU C library defines this for functions which it implements
10792 to always fail with ENOSYS. Some functions are actually named
10793 something starting with __ and the normal name is an alias. */
10794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10802 if { (eval echo configure:10803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10804 eval "ac_cv_func_
$ac_func=yes"
10806 echo "configure
: failed program was
:" >&5
10807 cat conftest.$ac_ext >&5
10809 eval "ac_cv_func_
$ac_func=no
"
10814 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10815 echo "$ac_t""yes" 1>&6
10816 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10817 cat >> confdefs.h <<EOF
10818 #define $ac_tr_func 1
10822 echo "$ac_t""no
" 1>&6
10828 echo $ac_n "checking
for _isinf declaration
""...
$ac_c" 1>&6
10829 echo "configure
:10830: checking
for _isinf declaration
" >&5
10830 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
10831 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
10832 echo $ac_n "(cached
) $ac_c" 1>&6
10837 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10838 ac_cpp='$CXXCPP $CPPFLAGS'
10839 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10840 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10841 cross_compiling=$ac_cv_prog_cxx_cross
10843 cat > conftest.$ac_ext <<EOF
10844 #line 10845 "configure
"
10845 #include "confdefs.h
"
10847 #ifdef HAVE_IEEEFP_H
10848 #include <ieeefp.h>
10855 if { (eval echo configure:10856: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10857 glibcpp_cv_func__isinf_use=yes
10859 echo "configure
: failed program was
:" >&5
10860 cat conftest.$ac_ext >&5
10862 glibcpp_cv_func__isinf_use=no
10866 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10867 ac_cpp='$CPP $CPPFLAGS'
10868 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10869 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10870 cross_compiling=$ac_cv_prog_cc_cross
10876 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
10878 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
10879 for ac_func in _isinf
10881 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10882 echo "configure
:10883: checking
for $ac_func" >&5
10883 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10884 echo $ac_n "(cached
) $ac_c" 1>&6
10886 cat > conftest.$ac_ext <<EOF
10887 #line 10888 "configure
"
10888 #include "confdefs.h
"
10889 /* System header to define __stub macros and hopefully few prototypes,
10890 which can conflict with char $ac_func(); below. */
10891 #include <assert.h>
10892 /* Override any gcc2 internal prototype to avoid an error. */
10893 /* We use char because int might match the return type of a gcc2
10894 builtin and then its argument prototype would still apply. */
10899 /* The GNU C library defines this for functions which it implements
10900 to always fail with ENOSYS. Some functions are actually named
10901 something starting with __ and the normal name is an alias. */
10902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10910 if { (eval echo configure:10911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10912 eval "ac_cv_func_
$ac_func=yes"
10914 echo "configure
: failed program was
:" >&5
10915 cat conftest.$ac_ext >&5
10917 eval "ac_cv_func_
$ac_func=no
"
10922 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10923 echo "$ac_t""yes" 1>&6
10924 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10925 cat >> confdefs.h <<EOF
10926 #define $ac_tr_func 1
10930 echo "$ac_t""no
" 1>&6
10939 echo $ac_n "checking
for isnan declaration
""...
$ac_c" 1>&6
10940 echo "configure
:10941: checking
for isnan declaration
" >&5
10941 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
10942 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
10943 echo $ac_n "(cached
) $ac_c" 1>&6
10948 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10949 ac_cpp='$CXXCPP $CPPFLAGS'
10950 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10951 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10952 cross_compiling=$ac_cv_prog_cxx_cross
10954 cat > conftest.$ac_ext <<EOF
10955 #line 10956 "configure
"
10956 #include "confdefs.h
"
10958 #ifdef HAVE_IEEEFP_H
10959 #include <ieeefp.h>
10966 if { (eval echo configure:10967: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10968 glibcpp_cv_func_isnan_use=yes
10970 echo "configure
: failed program was
:" >&5
10971 cat conftest.$ac_ext >&5
10973 glibcpp_cv_func_isnan_use=no
10977 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10978 ac_cpp='$CPP $CPPFLAGS'
10979 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10980 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10981 cross_compiling=$ac_cv_prog_cc_cross
10987 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
10989 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
10990 for ac_func in isnan
10992 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10993 echo "configure
:10994: checking
for $ac_func" >&5
10994 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10995 echo $ac_n "(cached
) $ac_c" 1>&6
10997 cat > conftest.$ac_ext <<EOF
10998 #line 10999 "configure
"
10999 #include "confdefs.h
"
11000 /* System header to define __stub macros and hopefully few prototypes,
11001 which can conflict with char $ac_func(); below. */
11002 #include <assert.h>
11003 /* Override any gcc2 internal prototype to avoid an error. */
11004 /* We use char because int might match the return type of a gcc2
11005 builtin and then its argument prototype would still apply. */
11010 /* The GNU C library defines this for functions which it implements
11011 to always fail with ENOSYS. Some functions are actually named
11012 something starting with __ and the normal name is an alias. */
11013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11021 if { (eval echo configure:11022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11023 eval "ac_cv_func_
$ac_func=yes"
11025 echo "configure
: failed program was
:" >&5
11026 cat conftest.$ac_ext >&5
11028 eval "ac_cv_func_
$ac_func=no
"
11033 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11034 echo "$ac_t""yes" 1>&6
11035 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11036 cat >> confdefs.h <<EOF
11037 #define $ac_tr_func 1
11041 echo "$ac_t""no
" 1>&6
11047 echo $ac_n "checking
for _isnan declaration
""...
$ac_c" 1>&6
11048 echo "configure
:11049: checking
for _isnan declaration
" >&5
11049 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
11050 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
11051 echo $ac_n "(cached
) $ac_c" 1>&6
11056 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11057 ac_cpp='$CXXCPP $CPPFLAGS'
11058 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11059 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11060 cross_compiling=$ac_cv_prog_cxx_cross
11062 cat > conftest.$ac_ext <<EOF
11063 #line 11064 "configure
"
11064 #include "confdefs.h
"
11066 #ifdef HAVE_IEEEFP_H
11067 #include <ieeefp.h>
11074 if { (eval echo configure:11075: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11076 glibcpp_cv_func__isnan_use=yes
11078 echo "configure
: failed program was
:" >&5
11079 cat conftest.$ac_ext >&5
11081 glibcpp_cv_func__isnan_use=no
11085 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11086 ac_cpp='$CPP $CPPFLAGS'
11087 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11088 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11089 cross_compiling=$ac_cv_prog_cc_cross
11095 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
11097 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
11098 for ac_func in _isnan
11100 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11101 echo "configure
:11102: checking
for $ac_func" >&5
11102 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11103 echo $ac_n "(cached
) $ac_c" 1>&6
11105 cat > conftest.$ac_ext <<EOF
11106 #line 11107 "configure
"
11107 #include "confdefs.h
"
11108 /* System header to define __stub macros and hopefully few prototypes,
11109 which can conflict with char $ac_func(); below. */
11110 #include <assert.h>
11111 /* Override any gcc2 internal prototype to avoid an error. */
11112 /* We use char because int might match the return type of a gcc2
11113 builtin and then its argument prototype would still apply. */
11118 /* The GNU C library defines this for functions which it implements
11119 to always fail with ENOSYS. Some functions are actually named
11120 something starting with __ and the normal name is an alias. */
11121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11129 if { (eval echo configure:11130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11131 eval "ac_cv_func_
$ac_func=yes"
11133 echo "configure
: failed program was
:" >&5
11134 cat conftest.$ac_ext >&5
11136 eval "ac_cv_func_
$ac_func=no
"
11141 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11142 echo "$ac_t""yes" 1>&6
11143 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11144 cat >> confdefs.h <<EOF
11145 #define $ac_tr_func 1
11149 echo "$ac_t""no
" 1>&6
11158 echo $ac_n "checking
for finite declaration
""...
$ac_c" 1>&6
11159 echo "configure
:11160: checking
for finite declaration
" >&5
11160 if test x${glibcpp_cv_func_finite_use+set} != xset; then
11161 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
11162 echo $ac_n "(cached
) $ac_c" 1>&6
11167 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11168 ac_cpp='$CXXCPP $CPPFLAGS'
11169 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11170 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11171 cross_compiling=$ac_cv_prog_cxx_cross
11173 cat > conftest.$ac_ext <<EOF
11174 #line 11175 "configure
"
11175 #include "confdefs.h
"
11177 #ifdef HAVE_IEEEFP_H
11178 #include <ieeefp.h>
11185 if { (eval echo configure:11186: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11187 glibcpp_cv_func_finite_use=yes
11189 echo "configure
: failed program was
:" >&5
11190 cat conftest.$ac_ext >&5
11192 glibcpp_cv_func_finite_use=no
11196 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11197 ac_cpp='$CPP $CPPFLAGS'
11198 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11199 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11200 cross_compiling=$ac_cv_prog_cc_cross
11206 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
11208 if test x$glibcpp_cv_func_finite_use = x"yes"; then
11209 for ac_func in finite
11211 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11212 echo "configure
:11213: checking
for $ac_func" >&5
11213 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11214 echo $ac_n "(cached
) $ac_c" 1>&6
11216 cat > conftest.$ac_ext <<EOF
11217 #line 11218 "configure
"
11218 #include "confdefs.h
"
11219 /* System header to define __stub macros and hopefully few prototypes,
11220 which can conflict with char $ac_func(); below. */
11221 #include <assert.h>
11222 /* Override any gcc2 internal prototype to avoid an error. */
11223 /* We use char because int might match the return type of a gcc2
11224 builtin and then its argument prototype would still apply. */
11229 /* The GNU C library defines this for functions which it implements
11230 to always fail with ENOSYS. Some functions are actually named
11231 something starting with __ and the normal name is an alias. */
11232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11240 if { (eval echo configure:11241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11242 eval "ac_cv_func_
$ac_func=yes"
11244 echo "configure
: failed program was
:" >&5
11245 cat conftest.$ac_ext >&5
11247 eval "ac_cv_func_
$ac_func=no
"
11252 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11253 echo "$ac_t""yes" 1>&6
11254 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11255 cat >> confdefs.h <<EOF
11256 #define $ac_tr_func 1
11260 echo "$ac_t""no
" 1>&6
11266 echo $ac_n "checking
for _finite declaration
""...
$ac_c" 1>&6
11267 echo "configure
:11268: checking
for _finite declaration
" >&5
11268 if test x${glibcpp_cv_func__finite_use+set} != xset; then
11269 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
11270 echo $ac_n "(cached
) $ac_c" 1>&6
11275 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11276 ac_cpp='$CXXCPP $CPPFLAGS'
11277 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11278 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11279 cross_compiling=$ac_cv_prog_cxx_cross
11281 cat > conftest.$ac_ext <<EOF
11282 #line 11283 "configure
"
11283 #include "confdefs.h
"
11285 #ifdef HAVE_IEEEFP_H
11286 #include <ieeefp.h>
11293 if { (eval echo configure:11294: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11295 glibcpp_cv_func__finite_use=yes
11297 echo "configure
: failed program was
:" >&5
11298 cat conftest.$ac_ext >&5
11300 glibcpp_cv_func__finite_use=no
11304 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11305 ac_cpp='$CPP $CPPFLAGS'
11306 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11307 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11308 cross_compiling=$ac_cv_prog_cc_cross
11314 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
11316 if test x$glibcpp_cv_func__finite_use = x"yes"; then
11317 for ac_func in _finite
11319 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11320 echo "configure
:11321: checking
for $ac_func" >&5
11321 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11322 echo $ac_n "(cached
) $ac_c" 1>&6
11324 cat > conftest.$ac_ext <<EOF
11325 #line 11326 "configure
"
11326 #include "confdefs.h
"
11327 /* System header to define __stub macros and hopefully few prototypes,
11328 which can conflict with char $ac_func(); below. */
11329 #include <assert.h>
11330 /* Override any gcc2 internal prototype to avoid an error. */
11331 /* We use char because int might match the return type of a gcc2
11332 builtin and then its argument prototype would still apply. */
11337 /* The GNU C library defines this for functions which it implements
11338 to always fail with ENOSYS. Some functions are actually named
11339 something starting with __ and the normal name is an alias. */
11340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11348 if { (eval echo configure:11349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11350 eval "ac_cv_func_
$ac_func=yes"
11352 echo "configure
: failed program was
:" >&5
11353 cat conftest.$ac_ext >&5
11355 eval "ac_cv_func_
$ac_func=no
"
11360 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11361 echo "$ac_t""yes" 1>&6
11362 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11363 cat >> confdefs.h <<EOF
11364 #define $ac_tr_func 1
11368 echo "$ac_t""no
" 1>&6
11377 echo $ac_n "checking
for copysign declaration
""...
$ac_c" 1>&6
11378 echo "configure
:11379: checking
for copysign declaration
" >&5
11379 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
11380 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
11381 echo $ac_n "(cached
) $ac_c" 1>&6
11386 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11387 ac_cpp='$CXXCPP $CPPFLAGS'
11388 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11389 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11390 cross_compiling=$ac_cv_prog_cxx_cross
11392 cat > conftest.$ac_ext <<EOF
11393 #line 11394 "configure
"
11394 #include "confdefs.h
"
11400 if { (eval echo configure:11401: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11402 glibcpp_cv_func_copysign_use=yes
11404 echo "configure
: failed program was
:" >&5
11405 cat conftest.$ac_ext >&5
11407 glibcpp_cv_func_copysign_use=no
11411 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11412 ac_cpp='$CPP $CPPFLAGS'
11413 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11414 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11415 cross_compiling=$ac_cv_prog_cc_cross
11421 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
11423 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
11424 for ac_func in copysign
11426 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11427 echo "configure
:11428: checking
for $ac_func" >&5
11428 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11429 echo $ac_n "(cached
) $ac_c" 1>&6
11431 cat > conftest.$ac_ext <<EOF
11432 #line 11433 "configure
"
11433 #include "confdefs.h
"
11434 /* System header to define __stub macros and hopefully few prototypes,
11435 which can conflict with char $ac_func(); below. */
11436 #include <assert.h>
11437 /* Override any gcc2 internal prototype to avoid an error. */
11438 /* We use char because int might match the return type of a gcc2
11439 builtin and then its argument prototype would still apply. */
11444 /* The GNU C library defines this for functions which it implements
11445 to always fail with ENOSYS. Some functions are actually named
11446 something starting with __ and the normal name is an alias. */
11447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11455 if { (eval echo configure:11456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11457 eval "ac_cv_func_
$ac_func=yes"
11459 echo "configure
: failed program was
:" >&5
11460 cat conftest.$ac_ext >&5
11462 eval "ac_cv_func_
$ac_func=no
"
11467 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11468 echo "$ac_t""yes" 1>&6
11469 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11470 cat >> confdefs.h <<EOF
11471 #define $ac_tr_func 1
11475 echo "$ac_t""no
" 1>&6
11481 echo $ac_n "checking
for _copysign declaration
""...
$ac_c" 1>&6
11482 echo "configure
:11483: checking
for _copysign declaration
" >&5
11483 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
11484 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
11485 echo $ac_n "(cached
) $ac_c" 1>&6
11490 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11491 ac_cpp='$CXXCPP $CPPFLAGS'
11492 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11493 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11494 cross_compiling=$ac_cv_prog_cxx_cross
11496 cat > conftest.$ac_ext <<EOF
11497 #line 11498 "configure
"
11498 #include "confdefs.h
"
11504 if { (eval echo configure:11505: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11506 glibcpp_cv_func__copysign_use=yes
11508 echo "configure
: failed program was
:" >&5
11509 cat conftest.$ac_ext >&5
11511 glibcpp_cv_func__copysign_use=no
11515 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11516 ac_cpp='$CPP $CPPFLAGS'
11517 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11518 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11519 cross_compiling=$ac_cv_prog_cc_cross
11525 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
11527 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
11528 for ac_func in _copysign
11530 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11531 echo "configure
:11532: checking
for $ac_func" >&5
11532 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11533 echo $ac_n "(cached
) $ac_c" 1>&6
11535 cat > conftest.$ac_ext <<EOF
11536 #line 11537 "configure
"
11537 #include "confdefs.h
"
11538 /* System header to define __stub macros and hopefully few prototypes,
11539 which can conflict with char $ac_func(); below. */
11540 #include <assert.h>
11541 /* Override any gcc2 internal prototype to avoid an error. */
11542 /* We use char because int might match the return type of a gcc2
11543 builtin and then its argument prototype would still apply. */
11548 /* The GNU C library defines this for functions which it implements
11549 to always fail with ENOSYS. Some functions are actually named
11550 something starting with __ and the normal name is an alias. */
11551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11559 if { (eval echo configure:11560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11561 eval "ac_cv_func_
$ac_func=yes"
11563 echo "configure
: failed program was
:" >&5
11564 cat conftest.$ac_ext >&5
11566 eval "ac_cv_func_
$ac_func=no
"
11571 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11572 echo "$ac_t""yes" 1>&6
11573 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11574 cat >> confdefs.h <<EOF
11575 #define $ac_tr_func 1
11579 echo "$ac_t""no
" 1>&6
11588 echo $ac_n "checking
for sincos declaration
""...
$ac_c" 1>&6
11589 echo "configure
:11590: checking
for sincos declaration
" >&5
11590 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
11591 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
11592 echo $ac_n "(cached
) $ac_c" 1>&6
11597 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11598 ac_cpp='$CXXCPP $CPPFLAGS'
11599 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11600 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11601 cross_compiling=$ac_cv_prog_cxx_cross
11603 cat > conftest.$ac_ext <<EOF
11604 #line 11605 "configure
"
11605 #include "confdefs.h
"
11611 if { (eval echo configure:11612: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11613 glibcpp_cv_func_sincos_use=yes
11615 echo "configure
: failed program was
:" >&5
11616 cat conftest.$ac_ext >&5
11618 glibcpp_cv_func_sincos_use=no
11622 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11623 ac_cpp='$CPP $CPPFLAGS'
11624 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11625 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11626 cross_compiling=$ac_cv_prog_cc_cross
11632 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
11634 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
11635 for ac_func in sincos
11637 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11638 echo "configure
:11639: checking
for $ac_func" >&5
11639 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11640 echo $ac_n "(cached
) $ac_c" 1>&6
11642 cat > conftest.$ac_ext <<EOF
11643 #line 11644 "configure
"
11644 #include "confdefs.h
"
11645 /* System header to define __stub macros and hopefully few prototypes,
11646 which can conflict with char $ac_func(); below. */
11647 #include <assert.h>
11648 /* Override any gcc2 internal prototype to avoid an error. */
11649 /* We use char because int might match the return type of a gcc2
11650 builtin and then its argument prototype would still apply. */
11655 /* The GNU C library defines this for functions which it implements
11656 to always fail with ENOSYS. Some functions are actually named
11657 something starting with __ and the normal name is an alias. */
11658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11666 if { (eval echo configure:11667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11668 eval "ac_cv_func_
$ac_func=yes"
11670 echo "configure
: failed program was
:" >&5
11671 cat conftest.$ac_ext >&5
11673 eval "ac_cv_func_
$ac_func=no
"
11678 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11679 echo "$ac_t""yes" 1>&6
11680 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11681 cat >> confdefs.h <<EOF
11682 #define $ac_tr_func 1
11686 echo "$ac_t""no
" 1>&6
11692 echo $ac_n "checking
for _sincos declaration
""...
$ac_c" 1>&6
11693 echo "configure
:11694: checking
for _sincos declaration
" >&5
11694 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
11695 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
11696 echo $ac_n "(cached
) $ac_c" 1>&6
11701 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11702 ac_cpp='$CXXCPP $CPPFLAGS'
11703 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11704 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11705 cross_compiling=$ac_cv_prog_cxx_cross
11707 cat > conftest.$ac_ext <<EOF
11708 #line 11709 "configure
"
11709 #include "confdefs.h
"
11715 if { (eval echo configure:11716: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11717 glibcpp_cv_func__sincos_use=yes
11719 echo "configure
: failed program was
:" >&5
11720 cat conftest.$ac_ext >&5
11722 glibcpp_cv_func__sincos_use=no
11726 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11727 ac_cpp='$CPP $CPPFLAGS'
11728 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11729 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11730 cross_compiling=$ac_cv_prog_cc_cross
11736 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
11738 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
11739 for ac_func in _sincos
11741 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11742 echo "configure
:11743: checking
for $ac_func" >&5
11743 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11744 echo $ac_n "(cached
) $ac_c" 1>&6
11746 cat > conftest.$ac_ext <<EOF
11747 #line 11748 "configure
"
11748 #include "confdefs.h
"
11749 /* System header to define __stub macros and hopefully few prototypes,
11750 which can conflict with char $ac_func(); below. */
11751 #include <assert.h>
11752 /* Override any gcc2 internal prototype to avoid an error. */
11753 /* We use char because int might match the return type of a gcc2
11754 builtin and then its argument prototype would still apply. */
11759 /* The GNU C library defines this for functions which it implements
11760 to always fail with ENOSYS. Some functions are actually named
11761 something starting with __ and the normal name is an alias. */
11762 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11770 if { (eval echo configure:11771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11772 eval "ac_cv_func_
$ac_func=yes"
11774 echo "configure
: failed program was
:" >&5
11775 cat conftest.$ac_ext >&5
11777 eval "ac_cv_func_
$ac_func=no
"
11782 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11783 echo "$ac_t""yes" 1>&6
11784 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11785 cat >> confdefs.h <<EOF
11786 #define $ac_tr_func 1
11790 echo "$ac_t""no
" 1>&6
11799 echo $ac_n "checking
for fpclass declaration
""...
$ac_c" 1>&6
11800 echo "configure
:11801: checking
for fpclass declaration
" >&5
11801 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
11802 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
11803 echo $ac_n "(cached
) $ac_c" 1>&6
11808 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11809 ac_cpp='$CXXCPP $CPPFLAGS'
11810 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11811 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11812 cross_compiling=$ac_cv_prog_cxx_cross
11814 cat > conftest.$ac_ext <<EOF
11815 #line 11816 "configure
"
11816 #include "confdefs.h
"
11818 #ifdef HAVE_IEEEFP_H
11819 #include <ieeefp.h>
11826 if { (eval echo configure:11827: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11828 glibcpp_cv_func_fpclass_use=yes
11830 echo "configure
: failed program was
:" >&5
11831 cat conftest.$ac_ext >&5
11833 glibcpp_cv_func_fpclass_use=no
11837 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11838 ac_cpp='$CPP $CPPFLAGS'
11839 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11840 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11841 cross_compiling=$ac_cv_prog_cc_cross
11847 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
11849 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
11850 for ac_func in fpclass
11852 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11853 echo "configure
:11854: checking
for $ac_func" >&5
11854 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11855 echo $ac_n "(cached
) $ac_c" 1>&6
11857 cat > conftest.$ac_ext <<EOF
11858 #line 11859 "configure
"
11859 #include "confdefs.h
"
11860 /* System header to define __stub macros and hopefully few prototypes,
11861 which can conflict with char $ac_func(); below. */
11862 #include <assert.h>
11863 /* Override any gcc2 internal prototype to avoid an error. */
11864 /* We use char because int might match the return type of a gcc2
11865 builtin and then its argument prototype would still apply. */
11870 /* The GNU C library defines this for functions which it implements
11871 to always fail with ENOSYS. Some functions are actually named
11872 something starting with __ and the normal name is an alias. */
11873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11881 if { (eval echo configure:11882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11883 eval "ac_cv_func_
$ac_func=yes"
11885 echo "configure
: failed program was
:" >&5
11886 cat conftest.$ac_ext >&5
11888 eval "ac_cv_func_
$ac_func=no
"
11893 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11894 echo "$ac_t""yes" 1>&6
11895 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11896 cat >> confdefs.h <<EOF
11897 #define $ac_tr_func 1
11901 echo "$ac_t""no
" 1>&6
11907 echo $ac_n "checking
for _fpclass declaration
""...
$ac_c" 1>&6
11908 echo "configure
:11909: checking
for _fpclass declaration
" >&5
11909 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
11910 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
11911 echo $ac_n "(cached
) $ac_c" 1>&6
11916 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11917 ac_cpp='$CXXCPP $CPPFLAGS'
11918 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11919 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11920 cross_compiling=$ac_cv_prog_cxx_cross
11922 cat > conftest.$ac_ext <<EOF
11923 #line 11924 "configure
"
11924 #include "confdefs.h
"
11926 #ifdef HAVE_IEEEFP_H
11927 #include <ieeefp.h>
11934 if { (eval echo configure:11935: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11936 glibcpp_cv_func__fpclass_use=yes
11938 echo "configure
: failed program was
:" >&5
11939 cat conftest.$ac_ext >&5
11941 glibcpp_cv_func__fpclass_use=no
11945 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11946 ac_cpp='$CPP $CPPFLAGS'
11947 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11948 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11949 cross_compiling=$ac_cv_prog_cc_cross
11955 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
11957 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
11958 for ac_func in _fpclass
11960 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11961 echo "configure
:11962: checking
for $ac_func" >&5
11962 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11963 echo $ac_n "(cached
) $ac_c" 1>&6
11965 cat > conftest.$ac_ext <<EOF
11966 #line 11967 "configure
"
11967 #include "confdefs.h
"
11968 /* System header to define __stub macros and hopefully few prototypes,
11969 which can conflict with char $ac_func(); below. */
11970 #include <assert.h>
11971 /* Override any gcc2 internal prototype to avoid an error. */
11972 /* We use char because int might match the return type of a gcc2
11973 builtin and then its argument prototype would still apply. */
11978 /* The GNU C library defines this for functions which it implements
11979 to always fail with ENOSYS. Some functions are actually named
11980 something starting with __ and the normal name is an alias. */
11981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11989 if { (eval echo configure:11990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11991 eval "ac_cv_func_
$ac_func=yes"
11993 echo "configure
: failed program was
:" >&5
11994 cat conftest.$ac_ext >&5
11996 eval "ac_cv_func_
$ac_func=no
"
12001 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12002 echo "$ac_t""yes" 1>&6
12003 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12004 cat >> confdefs.h <<EOF
12005 #define $ac_tr_func 1
12009 echo "$ac_t""no
" 1>&6
12018 echo $ac_n "checking
for qfpclass declaration
""...
$ac_c" 1>&6
12019 echo "configure
:12020: checking
for qfpclass declaration
" >&5
12020 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
12021 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
12022 echo $ac_n "(cached
) $ac_c" 1>&6
12027 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12028 ac_cpp='$CXXCPP $CPPFLAGS'
12029 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12030 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12031 cross_compiling=$ac_cv_prog_cxx_cross
12033 cat > conftest.$ac_ext <<EOF
12034 #line 12035 "configure
"
12035 #include "confdefs.h
"
12037 #ifdef HAVE_IEEEFP_H
12038 #include <ieeefp.h>
12045 if { (eval echo configure:12046: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12047 glibcpp_cv_func_qfpclass_use=yes
12049 echo "configure
: failed program was
:" >&5
12050 cat conftest.$ac_ext >&5
12052 glibcpp_cv_func_qfpclass_use=no
12056 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12057 ac_cpp='$CPP $CPPFLAGS'
12058 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12059 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12060 cross_compiling=$ac_cv_prog_cc_cross
12066 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
12068 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
12069 for ac_func in qfpclass
12071 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12072 echo "configure
:12073: checking
for $ac_func" >&5
12073 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12074 echo $ac_n "(cached
) $ac_c" 1>&6
12076 cat > conftest.$ac_ext <<EOF
12077 #line 12078 "configure
"
12078 #include "confdefs.h
"
12079 /* System header to define __stub macros and hopefully few prototypes,
12080 which can conflict with char $ac_func(); below. */
12081 #include <assert.h>
12082 /* Override any gcc2 internal prototype to avoid an error. */
12083 /* We use char because int might match the return type of a gcc2
12084 builtin and then its argument prototype would still apply. */
12089 /* The GNU C library defines this for functions which it implements
12090 to always fail with ENOSYS. Some functions are actually named
12091 something starting with __ and the normal name is an alias. */
12092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12100 if { (eval echo configure:12101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12102 eval "ac_cv_func_
$ac_func=yes"
12104 echo "configure
: failed program was
:" >&5
12105 cat conftest.$ac_ext >&5
12107 eval "ac_cv_func_
$ac_func=no
"
12112 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12113 echo "$ac_t""yes" 1>&6
12114 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12115 cat >> confdefs.h <<EOF
12116 #define $ac_tr_func 1
12120 echo "$ac_t""no
" 1>&6
12126 echo $ac_n "checking
for _qfpclass declaration
""...
$ac_c" 1>&6
12127 echo "configure
:12128: checking
for _qfpclass declaration
" >&5
12128 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
12129 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
12130 echo $ac_n "(cached
) $ac_c" 1>&6
12135 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12136 ac_cpp='$CXXCPP $CPPFLAGS'
12137 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12138 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12139 cross_compiling=$ac_cv_prog_cxx_cross
12141 cat > conftest.$ac_ext <<EOF
12142 #line 12143 "configure
"
12143 #include "confdefs.h
"
12145 #ifdef HAVE_IEEEFP_H
12146 #include <ieeefp.h>
12153 if { (eval echo configure:12154: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12155 glibcpp_cv_func__qfpclass_use=yes
12157 echo "configure
: failed program was
:" >&5
12158 cat conftest.$ac_ext >&5
12160 glibcpp_cv_func__qfpclass_use=no
12164 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12165 ac_cpp='$CPP $CPPFLAGS'
12166 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12167 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12168 cross_compiling=$ac_cv_prog_cc_cross
12174 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
12176 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
12177 for ac_func in _qfpclass
12179 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12180 echo "configure
:12181: checking
for $ac_func" >&5
12181 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12182 echo $ac_n "(cached
) $ac_c" 1>&6
12184 cat > conftest.$ac_ext <<EOF
12185 #line 12186 "configure
"
12186 #include "confdefs.h
"
12187 /* System header to define __stub macros and hopefully few prototypes,
12188 which can conflict with char $ac_func(); below. */
12189 #include <assert.h>
12190 /* Override any gcc2 internal prototype to avoid an error. */
12191 /* We use char because int might match the return type of a gcc2
12192 builtin and then its argument prototype would still apply. */
12197 /* The GNU C library defines this for functions which it implements
12198 to always fail with ENOSYS. Some functions are actually named
12199 something starting with __ and the normal name is an alias. */
12200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12208 if { (eval echo configure:12209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12210 eval "ac_cv_func_
$ac_func=yes"
12212 echo "configure
: failed program was
:" >&5
12213 cat conftest.$ac_ext >&5
12215 eval "ac_cv_func_
$ac_func=no
"
12220 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12221 echo "$ac_t""yes" 1>&6
12222 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12223 cat >> confdefs.h <<EOF
12224 #define $ac_tr_func 1
12228 echo "$ac_t""no
" 1>&6
12237 echo $ac_n "checking
for hypot declaration
""...
$ac_c" 1>&6
12238 echo "configure
:12239: checking
for hypot declaration
" >&5
12239 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
12240 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
12241 echo $ac_n "(cached
) $ac_c" 1>&6
12246 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12247 ac_cpp='$CXXCPP $CPPFLAGS'
12248 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12249 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12250 cross_compiling=$ac_cv_prog_cxx_cross
12252 cat > conftest.$ac_ext <<EOF
12253 #line 12254 "configure
"
12254 #include "confdefs.h
"
12260 if { (eval echo configure:12261: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12262 glibcpp_cv_func_hypot_use=yes
12264 echo "configure
: failed program was
:" >&5
12265 cat conftest.$ac_ext >&5
12267 glibcpp_cv_func_hypot_use=no
12271 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12272 ac_cpp='$CPP $CPPFLAGS'
12273 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12274 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12275 cross_compiling=$ac_cv_prog_cc_cross
12281 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
12283 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
12284 for ac_func in hypot
12286 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12287 echo "configure
:12288: checking
for $ac_func" >&5
12288 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12289 echo $ac_n "(cached
) $ac_c" 1>&6
12291 cat > conftest.$ac_ext <<EOF
12292 #line 12293 "configure
"
12293 #include "confdefs.h
"
12294 /* System header to define __stub macros and hopefully few prototypes,
12295 which can conflict with char $ac_func(); below. */
12296 #include <assert.h>
12297 /* Override any gcc2 internal prototype to avoid an error. */
12298 /* We use char because int might match the return type of a gcc2
12299 builtin and then its argument prototype would still apply. */
12304 /* The GNU C library defines this for functions which it implements
12305 to always fail with ENOSYS. Some functions are actually named
12306 something starting with __ and the normal name is an alias. */
12307 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12315 if { (eval echo configure:12316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12317 eval "ac_cv_func_
$ac_func=yes"
12319 echo "configure
: failed program was
:" >&5
12320 cat conftest.$ac_ext >&5
12322 eval "ac_cv_func_
$ac_func=no
"
12327 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12328 echo "$ac_t""yes" 1>&6
12329 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12330 cat >> confdefs.h <<EOF
12331 #define $ac_tr_func 1
12335 echo "$ac_t""no
" 1>&6
12341 echo $ac_n "checking
for _hypot declaration
""...
$ac_c" 1>&6
12342 echo "configure
:12343: checking
for _hypot declaration
" >&5
12343 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
12344 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
12345 echo $ac_n "(cached
) $ac_c" 1>&6
12350 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12351 ac_cpp='$CXXCPP $CPPFLAGS'
12352 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12353 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12354 cross_compiling=$ac_cv_prog_cxx_cross
12356 cat > conftest.$ac_ext <<EOF
12357 #line 12358 "configure
"
12358 #include "confdefs.h
"
12364 if { (eval echo configure:12365: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12366 glibcpp_cv_func__hypot_use=yes
12368 echo "configure
: failed program was
:" >&5
12369 cat conftest.$ac_ext >&5
12371 glibcpp_cv_func__hypot_use=no
12375 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12376 ac_cpp='$CPP $CPPFLAGS'
12377 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12378 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12379 cross_compiling=$ac_cv_prog_cc_cross
12385 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
12387 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
12388 for ac_func in _hypot
12390 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12391 echo "configure
:12392: checking
for $ac_func" >&5
12392 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12393 echo $ac_n "(cached
) $ac_c" 1>&6
12395 cat > conftest.$ac_ext <<EOF
12396 #line 12397 "configure
"
12397 #include "confdefs.h
"
12398 /* System header to define __stub macros and hopefully few prototypes,
12399 which can conflict with char $ac_func(); below. */
12400 #include <assert.h>
12401 /* Override any gcc2 internal prototype to avoid an error. */
12402 /* We use char because int might match the return type of a gcc2
12403 builtin and then its argument prototype would still apply. */
12408 /* The GNU C library defines this for functions which it implements
12409 to always fail with ENOSYS. Some functions are actually named
12410 something starting with __ and the normal name is an alias. */
12411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12419 if { (eval echo configure:12420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12421 eval "ac_cv_func_
$ac_func=yes"
12423 echo "configure
: failed program was
:" >&5
12424 cat conftest.$ac_ext >&5
12426 eval "ac_cv_func_
$ac_func=no
"
12431 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12432 echo "$ac_t""yes" 1>&6
12433 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12434 cat >> confdefs.h <<EOF
12435 #define $ac_tr_func 1
12439 echo "$ac_t""no
" 1>&6
12448 echo $ac_n "checking
for float trig functions
""...
$ac_c" 1>&6
12449 echo "configure
:12450: checking
for float trig functions
" >&5
12450 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
12451 echo $ac_n "(cached
) $ac_c" 1>&6
12456 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12457 ac_cpp='$CXXCPP $CPPFLAGS'
12458 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12459 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12460 cross_compiling=$ac_cv_prog_cxx_cross
12462 cat > conftest.$ac_ext <<EOF
12463 #line 12464 "configure
"
12464 #include "confdefs.h
"
12467 `for x in acosf asinf atanf \
12469 coshf sinhf tanhf; do echo "$x (0);"; done`
12472 if { (eval echo configure:12473: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12474 glibcpp_cv_func_float_trig_use=yes
12476 echo "configure
: failed program was
:" >&5
12477 cat conftest.$ac_ext >&5
12479 glibcpp_cv_func_float_trig_use=no
12483 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12484 ac_cpp='$CPP $CPPFLAGS'
12485 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12486 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12487 cross_compiling=$ac_cv_prog_cc_cross
12491 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
12492 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
12493 for ac_func in acosf asinf atanf \
12497 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12498 echo "configure
:12499: checking
for $ac_func" >&5
12499 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12500 echo $ac_n "(cached
) $ac_c" 1>&6
12502 cat > conftest.$ac_ext <<EOF
12503 #line 12504 "configure
"
12504 #include "confdefs.h
"
12505 /* System header to define __stub macros and hopefully few prototypes,
12506 which can conflict with char $ac_func(); below. */
12507 #include <assert.h>
12508 /* Override any gcc2 internal prototype to avoid an error. */
12509 /* We use char because int might match the return type of a gcc2
12510 builtin and then its argument prototype would still apply. */
12515 /* The GNU C library defines this for functions which it implements
12516 to always fail with ENOSYS. Some functions are actually named
12517 something starting with __ and the normal name is an alias. */
12518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12526 if { (eval echo configure:12527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12528 eval "ac_cv_func_
$ac_func=yes"
12530 echo "configure
: failed program was
:" >&5
12531 cat conftest.$ac_ext >&5
12533 eval "ac_cv_func_
$ac_func=no
"
12538 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12539 echo "$ac_t""yes" 1>&6
12540 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12541 cat >> confdefs.h <<EOF
12542 #define $ac_tr_func 1
12546 echo "$ac_t""no
" 1>&6
12553 echo $ac_n "checking
for float round functions
""...
$ac_c" 1>&6
12554 echo "configure
:12555: checking
for float round functions
" >&5
12555 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
12556 echo $ac_n "(cached
) $ac_c" 1>&6
12561 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12562 ac_cpp='$CXXCPP $CPPFLAGS'
12563 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12564 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12565 cross_compiling=$ac_cv_prog_cxx_cross
12567 cat > conftest.$ac_ext <<EOF
12568 #line 12569 "configure
"
12569 #include "confdefs.h
"
12572 `for x in ceilf floorf; do echo "$x (0);"; done`
12575 if { (eval echo configure:12576: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12577 glibcpp_cv_func_float_round_use=yes
12579 echo "configure
: failed program was
:" >&5
12580 cat conftest.$ac_ext >&5
12582 glibcpp_cv_func_float_round_use=no
12586 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12587 ac_cpp='$CPP $CPPFLAGS'
12588 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12589 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12590 cross_compiling=$ac_cv_prog_cc_cross
12594 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
12595 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
12596 for ac_func in ceilf floorf
12598 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12599 echo "configure
:12600: checking
for $ac_func" >&5
12600 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12601 echo $ac_n "(cached
) $ac_c" 1>&6
12603 cat > conftest.$ac_ext <<EOF
12604 #line 12605 "configure
"
12605 #include "confdefs.h
"
12606 /* System header to define __stub macros and hopefully few prototypes,
12607 which can conflict with char $ac_func(); below. */
12608 #include <assert.h>
12609 /* Override any gcc2 internal prototype to avoid an error. */
12610 /* We use char because int might match the return type of a gcc2
12611 builtin and then its argument prototype would still apply. */
12616 /* The GNU C library defines this for functions which it implements
12617 to always fail with ENOSYS. Some functions are actually named
12618 something starting with __ and the normal name is an alias. */
12619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12627 if { (eval echo configure:12628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12629 eval "ac_cv_func_
$ac_func=yes"
12631 echo "configure
: failed program was
:" >&5
12632 cat conftest.$ac_ext >&5
12634 eval "ac_cv_func_
$ac_func=no
"
12639 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12640 echo "$ac_t""yes" 1>&6
12641 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12642 cat >> confdefs.h <<EOF
12643 #define $ac_tr_func 1
12647 echo "$ac_t""no
" 1>&6
12655 echo $ac_n "checking
for expf declaration
""...
$ac_c" 1>&6
12656 echo "configure
:12657: checking
for expf declaration
" >&5
12657 if test x${glibcpp_cv_func_expf_use+set} != xset; then
12658 if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
12659 echo $ac_n "(cached
) $ac_c" 1>&6
12664 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12665 ac_cpp='$CXXCPP $CPPFLAGS'
12666 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12667 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12668 cross_compiling=$ac_cv_prog_cxx_cross
12670 cat > conftest.$ac_ext <<EOF
12671 #line 12672 "configure
"
12672 #include "confdefs.h
"
12674 #ifdef HAVE_IEEEFP_H
12675 #include <ieeefp.h>
12682 if { (eval echo configure:12683: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12684 glibcpp_cv_func_expf_use=yes
12686 echo "configure
: failed program was
:" >&5
12687 cat conftest.$ac_ext >&5
12689 glibcpp_cv_func_expf_use=no
12693 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12694 ac_cpp='$CPP $CPPFLAGS'
12695 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12696 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12697 cross_compiling=$ac_cv_prog_cc_cross
12703 echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
12705 if test x$glibcpp_cv_func_expf_use = x"yes"; then
12706 for ac_func in expf
12708 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12709 echo "configure
:12710: checking
for $ac_func" >&5
12710 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12711 echo $ac_n "(cached
) $ac_c" 1>&6
12713 cat > conftest.$ac_ext <<EOF
12714 #line 12715 "configure
"
12715 #include "confdefs.h
"
12716 /* System header to define __stub macros and hopefully few prototypes,
12717 which can conflict with char $ac_func(); below. */
12718 #include <assert.h>
12719 /* Override any gcc2 internal prototype to avoid an error. */
12720 /* We use char because int might match the return type of a gcc2
12721 builtin and then its argument prototype would still apply. */
12726 /* The GNU C library defines this for functions which it implements
12727 to always fail with ENOSYS. Some functions are actually named
12728 something starting with __ and the normal name is an alias. */
12729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12737 if { (eval echo configure:12738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12739 eval "ac_cv_func_
$ac_func=yes"
12741 echo "configure
: failed program was
:" >&5
12742 cat conftest.$ac_ext >&5
12744 eval "ac_cv_func_
$ac_func=no
"
12749 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12750 echo "$ac_t""yes" 1>&6
12751 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12752 cat >> confdefs.h <<EOF
12753 #define $ac_tr_func 1
12757 echo "$ac_t""no
" 1>&6
12763 echo $ac_n "checking
for _expf declaration
""...
$ac_c" 1>&6
12764 echo "configure
:12765: checking
for _expf declaration
" >&5
12765 if test x${glibcpp_cv_func__expf_use+set} != xset; then
12766 if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
12767 echo $ac_n "(cached
) $ac_c" 1>&6
12772 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12773 ac_cpp='$CXXCPP $CPPFLAGS'
12774 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12775 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12776 cross_compiling=$ac_cv_prog_cxx_cross
12778 cat > conftest.$ac_ext <<EOF
12779 #line 12780 "configure
"
12780 #include "confdefs.h
"
12782 #ifdef HAVE_IEEEFP_H
12783 #include <ieeefp.h>
12790 if { (eval echo configure:12791: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12792 glibcpp_cv_func__expf_use=yes
12794 echo "configure
: failed program was
:" >&5
12795 cat conftest.$ac_ext >&5
12797 glibcpp_cv_func__expf_use=no
12801 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12802 ac_cpp='$CPP $CPPFLAGS'
12803 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12804 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12805 cross_compiling=$ac_cv_prog_cc_cross
12811 echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
12813 if test x$glibcpp_cv_func__expf_use = x"yes"; then
12814 for ac_func in _expf
12816 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12817 echo "configure
:12818: checking
for $ac_func" >&5
12818 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12819 echo $ac_n "(cached
) $ac_c" 1>&6
12821 cat > conftest.$ac_ext <<EOF
12822 #line 12823 "configure
"
12823 #include "confdefs.h
"
12824 /* System header to define __stub macros and hopefully few prototypes,
12825 which can conflict with char $ac_func(); below. */
12826 #include <assert.h>
12827 /* Override any gcc2 internal prototype to avoid an error. */
12828 /* We use char because int might match the return type of a gcc2
12829 builtin and then its argument prototype would still apply. */
12834 /* The GNU C library defines this for functions which it implements
12835 to always fail with ENOSYS. Some functions are actually named
12836 something starting with __ and the normal name is an alias. */
12837 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12845 if { (eval echo configure:12846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12847 eval "ac_cv_func_
$ac_func=yes"
12849 echo "configure
: failed program was
:" >&5
12850 cat conftest.$ac_ext >&5
12852 eval "ac_cv_func_
$ac_func=no
"
12857 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12858 echo "$ac_t""yes" 1>&6
12859 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12860 cat >> confdefs.h <<EOF
12861 #define $ac_tr_func 1
12865 echo "$ac_t""no
" 1>&6
12874 echo $ac_n "checking
for isnanf declaration
""...
$ac_c" 1>&6
12875 echo "configure
:12876: checking
for isnanf declaration
" >&5
12876 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
12877 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
12878 echo $ac_n "(cached
) $ac_c" 1>&6
12883 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12884 ac_cpp='$CXXCPP $CPPFLAGS'
12885 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12886 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12887 cross_compiling=$ac_cv_prog_cxx_cross
12889 cat > conftest.$ac_ext <<EOF
12890 #line 12891 "configure
"
12891 #include "confdefs.h
"
12893 #ifdef HAVE_IEEEFP_H
12894 #include <ieeefp.h>
12901 if { (eval echo configure:12902: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12903 glibcpp_cv_func_isnanf_use=yes
12905 echo "configure
: failed program was
:" >&5
12906 cat conftest.$ac_ext >&5
12908 glibcpp_cv_func_isnanf_use=no
12912 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12913 ac_cpp='$CPP $CPPFLAGS'
12914 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12915 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12916 cross_compiling=$ac_cv_prog_cc_cross
12922 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
12924 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
12925 for ac_func in isnanf
12927 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12928 echo "configure
:12929: checking
for $ac_func" >&5
12929 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12930 echo $ac_n "(cached
) $ac_c" 1>&6
12932 cat > conftest.$ac_ext <<EOF
12933 #line 12934 "configure
"
12934 #include "confdefs.h
"
12935 /* System header to define __stub macros and hopefully few prototypes,
12936 which can conflict with char $ac_func(); below. */
12937 #include <assert.h>
12938 /* Override any gcc2 internal prototype to avoid an error. */
12939 /* We use char because int might match the return type of a gcc2
12940 builtin and then its argument prototype would still apply. */
12945 /* The GNU C library defines this for functions which it implements
12946 to always fail with ENOSYS. Some functions are actually named
12947 something starting with __ and the normal name is an alias. */
12948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12956 if { (eval echo configure:12957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12958 eval "ac_cv_func_
$ac_func=yes"
12960 echo "configure
: failed program was
:" >&5
12961 cat conftest.$ac_ext >&5
12963 eval "ac_cv_func_
$ac_func=no
"
12968 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12969 echo "$ac_t""yes" 1>&6
12970 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12971 cat >> confdefs.h <<EOF
12972 #define $ac_tr_func 1
12976 echo "$ac_t""no
" 1>&6
12982 echo $ac_n "checking
for _isnanf declaration
""...
$ac_c" 1>&6
12983 echo "configure
:12984: checking
for _isnanf declaration
" >&5
12984 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
12985 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
12986 echo $ac_n "(cached
) $ac_c" 1>&6
12991 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12992 ac_cpp='$CXXCPP $CPPFLAGS'
12993 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12994 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12995 cross_compiling=$ac_cv_prog_cxx_cross
12997 cat > conftest.$ac_ext <<EOF
12998 #line 12999 "configure
"
12999 #include "confdefs.h
"
13001 #ifdef HAVE_IEEEFP_H
13002 #include <ieeefp.h>
13009 if { (eval echo configure:13010: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13011 glibcpp_cv_func__isnanf_use=yes
13013 echo "configure
: failed program was
:" >&5
13014 cat conftest.$ac_ext >&5
13016 glibcpp_cv_func__isnanf_use=no
13020 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13021 ac_cpp='$CPP $CPPFLAGS'
13022 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13023 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13024 cross_compiling=$ac_cv_prog_cc_cross
13030 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
13032 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
13033 for ac_func in _isnanf
13035 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13036 echo "configure
:13037: checking
for $ac_func" >&5
13037 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13038 echo $ac_n "(cached
) $ac_c" 1>&6
13040 cat > conftest.$ac_ext <<EOF
13041 #line 13042 "configure
"
13042 #include "confdefs.h
"
13043 /* System header to define __stub macros and hopefully few prototypes,
13044 which can conflict with char $ac_func(); below. */
13045 #include <assert.h>
13046 /* Override any gcc2 internal prototype to avoid an error. */
13047 /* We use char because int might match the return type of a gcc2
13048 builtin and then its argument prototype would still apply. */
13053 /* The GNU C library defines this for functions which it implements
13054 to always fail with ENOSYS. Some functions are actually named
13055 something starting with __ and the normal name is an alias. */
13056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13064 if { (eval echo configure:13065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13066 eval "ac_cv_func_
$ac_func=yes"
13068 echo "configure
: failed program was
:" >&5
13069 cat conftest.$ac_ext >&5
13071 eval "ac_cv_func_
$ac_func=no
"
13076 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13077 echo "$ac_t""yes" 1>&6
13078 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13079 cat >> confdefs.h <<EOF
13080 #define $ac_tr_func 1
13084 echo "$ac_t""no
" 1>&6
13093 echo $ac_n "checking
for isinff declaration
""...
$ac_c" 1>&6
13094 echo "configure
:13095: checking
for isinff declaration
" >&5
13095 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
13096 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
13097 echo $ac_n "(cached
) $ac_c" 1>&6
13102 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13103 ac_cpp='$CXXCPP $CPPFLAGS'
13104 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13105 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13106 cross_compiling=$ac_cv_prog_cxx_cross
13108 cat > conftest.$ac_ext <<EOF
13109 #line 13110 "configure
"
13110 #include "confdefs.h
"
13112 #ifdef HAVE_IEEEFP_H
13113 #include <ieeefp.h>
13120 if { (eval echo configure:13121: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13122 glibcpp_cv_func_isinff_use=yes
13124 echo "configure
: failed program was
:" >&5
13125 cat conftest.$ac_ext >&5
13127 glibcpp_cv_func_isinff_use=no
13131 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13132 ac_cpp='$CPP $CPPFLAGS'
13133 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13134 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13135 cross_compiling=$ac_cv_prog_cc_cross
13141 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
13143 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
13144 for ac_func in isinff
13146 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13147 echo "configure
:13148: checking
for $ac_func" >&5
13148 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13149 echo $ac_n "(cached
) $ac_c" 1>&6
13151 cat > conftest.$ac_ext <<EOF
13152 #line 13153 "configure
"
13153 #include "confdefs.h
"
13154 /* System header to define __stub macros and hopefully few prototypes,
13155 which can conflict with char $ac_func(); below. */
13156 #include <assert.h>
13157 /* Override any gcc2 internal prototype to avoid an error. */
13158 /* We use char because int might match the return type of a gcc2
13159 builtin and then its argument prototype would still apply. */
13164 /* The GNU C library defines this for functions which it implements
13165 to always fail with ENOSYS. Some functions are actually named
13166 something starting with __ and the normal name is an alias. */
13167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13175 if { (eval echo configure:13176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13177 eval "ac_cv_func_
$ac_func=yes"
13179 echo "configure
: failed program was
:" >&5
13180 cat conftest.$ac_ext >&5
13182 eval "ac_cv_func_
$ac_func=no
"
13187 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13188 echo "$ac_t""yes" 1>&6
13189 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13190 cat >> confdefs.h <<EOF
13191 #define $ac_tr_func 1
13195 echo "$ac_t""no
" 1>&6
13201 echo $ac_n "checking
for _isinff declaration
""...
$ac_c" 1>&6
13202 echo "configure
:13203: checking
for _isinff declaration
" >&5
13203 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
13204 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
13205 echo $ac_n "(cached
) $ac_c" 1>&6
13210 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13211 ac_cpp='$CXXCPP $CPPFLAGS'
13212 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13213 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13214 cross_compiling=$ac_cv_prog_cxx_cross
13216 cat > conftest.$ac_ext <<EOF
13217 #line 13218 "configure
"
13218 #include "confdefs.h
"
13220 #ifdef HAVE_IEEEFP_H
13221 #include <ieeefp.h>
13228 if { (eval echo configure:13229: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13230 glibcpp_cv_func__isinff_use=yes
13232 echo "configure
: failed program was
:" >&5
13233 cat conftest.$ac_ext >&5
13235 glibcpp_cv_func__isinff_use=no
13239 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13240 ac_cpp='$CPP $CPPFLAGS'
13241 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13242 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13243 cross_compiling=$ac_cv_prog_cc_cross
13249 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
13251 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
13252 for ac_func in _isinff
13254 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13255 echo "configure
:13256: checking
for $ac_func" >&5
13256 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13257 echo $ac_n "(cached
) $ac_c" 1>&6
13259 cat > conftest.$ac_ext <<EOF
13260 #line 13261 "configure
"
13261 #include "confdefs.h
"
13262 /* System header to define __stub macros and hopefully few prototypes,
13263 which can conflict with char $ac_func(); below. */
13264 #include <assert.h>
13265 /* Override any gcc2 internal prototype to avoid an error. */
13266 /* We use char because int might match the return type of a gcc2
13267 builtin and then its argument prototype would still apply. */
13272 /* The GNU C library defines this for functions which it implements
13273 to always fail with ENOSYS. Some functions are actually named
13274 something starting with __ and the normal name is an alias. */
13275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13283 if { (eval echo configure:13284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13285 eval "ac_cv_func_
$ac_func=yes"
13287 echo "configure
: failed program was
:" >&5
13288 cat conftest.$ac_ext >&5
13290 eval "ac_cv_func_
$ac_func=no
"
13295 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13296 echo "$ac_t""yes" 1>&6
13297 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13298 cat >> confdefs.h <<EOF
13299 #define $ac_tr_func 1
13303 echo "$ac_t""no
" 1>&6
13312 echo $ac_n "checking
for atan2f declaration
""...
$ac_c" 1>&6
13313 echo "configure
:13314: checking
for atan2f declaration
" >&5
13314 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
13315 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
13316 echo $ac_n "(cached
) $ac_c" 1>&6
13321 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13322 ac_cpp='$CXXCPP $CPPFLAGS'
13323 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13324 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13325 cross_compiling=$ac_cv_prog_cxx_cross
13327 cat > conftest.$ac_ext <<EOF
13328 #line 13329 "configure
"
13329 #include "confdefs.h
"
13335 if { (eval echo configure:13336: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13337 glibcpp_cv_func_atan2f_use=yes
13339 echo "configure
: failed program was
:" >&5
13340 cat conftest.$ac_ext >&5
13342 glibcpp_cv_func_atan2f_use=no
13346 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13347 ac_cpp='$CPP $CPPFLAGS'
13348 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13349 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13350 cross_compiling=$ac_cv_prog_cc_cross
13356 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
13358 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
13359 for ac_func in atan2f
13361 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13362 echo "configure
:13363: checking
for $ac_func" >&5
13363 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13364 echo $ac_n "(cached
) $ac_c" 1>&6
13366 cat > conftest.$ac_ext <<EOF
13367 #line 13368 "configure
"
13368 #include "confdefs.h
"
13369 /* System header to define __stub macros and hopefully few prototypes,
13370 which can conflict with char $ac_func(); below. */
13371 #include <assert.h>
13372 /* Override any gcc2 internal prototype to avoid an error. */
13373 /* We use char because int might match the return type of a gcc2
13374 builtin and then its argument prototype would still apply. */
13379 /* The GNU C library defines this for functions which it implements
13380 to always fail with ENOSYS. Some functions are actually named
13381 something starting with __ and the normal name is an alias. */
13382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13390 if { (eval echo configure:13391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13392 eval "ac_cv_func_
$ac_func=yes"
13394 echo "configure
: failed program was
:" >&5
13395 cat conftest.$ac_ext >&5
13397 eval "ac_cv_func_
$ac_func=no
"
13402 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13403 echo "$ac_t""yes" 1>&6
13404 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13405 cat >> confdefs.h <<EOF
13406 #define $ac_tr_func 1
13410 echo "$ac_t""no
" 1>&6
13416 echo $ac_n "checking
for _atan2f declaration
""...
$ac_c" 1>&6
13417 echo "configure
:13418: checking
for _atan2f declaration
" >&5
13418 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
13419 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
13420 echo $ac_n "(cached
) $ac_c" 1>&6
13425 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13426 ac_cpp='$CXXCPP $CPPFLAGS'
13427 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13428 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13429 cross_compiling=$ac_cv_prog_cxx_cross
13431 cat > conftest.$ac_ext <<EOF
13432 #line 13433 "configure
"
13433 #include "confdefs.h
"
13439 if { (eval echo configure:13440: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13441 glibcpp_cv_func__atan2f_use=yes
13443 echo "configure
: failed program was
:" >&5
13444 cat conftest.$ac_ext >&5
13446 glibcpp_cv_func__atan2f_use=no
13450 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13451 ac_cpp='$CPP $CPPFLAGS'
13452 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13453 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13454 cross_compiling=$ac_cv_prog_cc_cross
13460 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
13462 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
13463 for ac_func in _atan2f
13465 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13466 echo "configure
:13467: checking
for $ac_func" >&5
13467 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13468 echo $ac_n "(cached
) $ac_c" 1>&6
13470 cat > conftest.$ac_ext <<EOF
13471 #line 13472 "configure
"
13472 #include "confdefs.h
"
13473 /* System header to define __stub macros and hopefully few prototypes,
13474 which can conflict with char $ac_func(); below. */
13475 #include <assert.h>
13476 /* Override any gcc2 internal prototype to avoid an error. */
13477 /* We use char because int might match the return type of a gcc2
13478 builtin and then its argument prototype would still apply. */
13483 /* The GNU C library defines this for functions which it implements
13484 to always fail with ENOSYS. Some functions are actually named
13485 something starting with __ and the normal name is an alias. */
13486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13494 if { (eval echo configure:13495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13496 eval "ac_cv_func_
$ac_func=yes"
13498 echo "configure
: failed program was
:" >&5
13499 cat conftest.$ac_ext >&5
13501 eval "ac_cv_func_
$ac_func=no
"
13506 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13507 echo "$ac_t""yes" 1>&6
13508 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13509 cat >> confdefs.h <<EOF
13510 #define $ac_tr_func 1
13514 echo "$ac_t""no
" 1>&6
13523 echo $ac_n "checking
for fabsf declaration
""...
$ac_c" 1>&6
13524 echo "configure
:13525: checking
for fabsf declaration
" >&5
13525 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
13526 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
13527 echo $ac_n "(cached
) $ac_c" 1>&6
13532 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13533 ac_cpp='$CXXCPP $CPPFLAGS'
13534 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13535 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13536 cross_compiling=$ac_cv_prog_cxx_cross
13538 cat > conftest.$ac_ext <<EOF
13539 #line 13540 "configure
"
13540 #include "confdefs.h
"
13542 #ifdef HAVE_IEEEFP_H
13543 #include <ieeefp.h>
13550 if { (eval echo configure:13551: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13552 glibcpp_cv_func_fabsf_use=yes
13554 echo "configure
: failed program was
:" >&5
13555 cat conftest.$ac_ext >&5
13557 glibcpp_cv_func_fabsf_use=no
13561 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13562 ac_cpp='$CPP $CPPFLAGS'
13563 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13564 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13565 cross_compiling=$ac_cv_prog_cc_cross
13571 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
13573 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
13574 for ac_func in fabsf
13576 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13577 echo "configure
:13578: checking
for $ac_func" >&5
13578 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13579 echo $ac_n "(cached
) $ac_c" 1>&6
13581 cat > conftest.$ac_ext <<EOF
13582 #line 13583 "configure
"
13583 #include "confdefs.h
"
13584 /* System header to define __stub macros and hopefully few prototypes,
13585 which can conflict with char $ac_func(); below. */
13586 #include <assert.h>
13587 /* Override any gcc2 internal prototype to avoid an error. */
13588 /* We use char because int might match the return type of a gcc2
13589 builtin and then its argument prototype would still apply. */
13594 /* The GNU C library defines this for functions which it implements
13595 to always fail with ENOSYS. Some functions are actually named
13596 something starting with __ and the normal name is an alias. */
13597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13605 if { (eval echo configure:13606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13607 eval "ac_cv_func_
$ac_func=yes"
13609 echo "configure
: failed program was
:" >&5
13610 cat conftest.$ac_ext >&5
13612 eval "ac_cv_func_
$ac_func=no
"
13617 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13618 echo "$ac_t""yes" 1>&6
13619 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13620 cat >> confdefs.h <<EOF
13621 #define $ac_tr_func 1
13625 echo "$ac_t""no
" 1>&6
13631 echo $ac_n "checking
for _fabsf declaration
""...
$ac_c" 1>&6
13632 echo "configure
:13633: checking
for _fabsf declaration
" >&5
13633 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
13634 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
13635 echo $ac_n "(cached
) $ac_c" 1>&6
13640 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13641 ac_cpp='$CXXCPP $CPPFLAGS'
13642 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13643 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13644 cross_compiling=$ac_cv_prog_cxx_cross
13646 cat > conftest.$ac_ext <<EOF
13647 #line 13648 "configure
"
13648 #include "confdefs.h
"
13650 #ifdef HAVE_IEEEFP_H
13651 #include <ieeefp.h>
13658 if { (eval echo configure:13659: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13660 glibcpp_cv_func__fabsf_use=yes
13662 echo "configure
: failed program was
:" >&5
13663 cat conftest.$ac_ext >&5
13665 glibcpp_cv_func__fabsf_use=no
13669 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13670 ac_cpp='$CPP $CPPFLAGS'
13671 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13672 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13673 cross_compiling=$ac_cv_prog_cc_cross
13679 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
13681 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
13682 for ac_func in _fabsf
13684 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13685 echo "configure
:13686: checking
for $ac_func" >&5
13686 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13687 echo $ac_n "(cached
) $ac_c" 1>&6
13689 cat > conftest.$ac_ext <<EOF
13690 #line 13691 "configure
"
13691 #include "confdefs.h
"
13692 /* System header to define __stub macros and hopefully few prototypes,
13693 which can conflict with char $ac_func(); below. */
13694 #include <assert.h>
13695 /* Override any gcc2 internal prototype to avoid an error. */
13696 /* We use char because int might match the return type of a gcc2
13697 builtin and then its argument prototype would still apply. */
13702 /* The GNU C library defines this for functions which it implements
13703 to always fail with ENOSYS. Some functions are actually named
13704 something starting with __ and the normal name is an alias. */
13705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13713 if { (eval echo configure:13714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13715 eval "ac_cv_func_
$ac_func=yes"
13717 echo "configure
: failed program was
:" >&5
13718 cat conftest.$ac_ext >&5
13720 eval "ac_cv_func_
$ac_func=no
"
13725 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13726 echo "$ac_t""yes" 1>&6
13727 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13728 cat >> confdefs.h <<EOF
13729 #define $ac_tr_func 1
13733 echo "$ac_t""no
" 1>&6
13742 echo $ac_n "checking
for fmodf declaration
""...
$ac_c" 1>&6
13743 echo "configure
:13744: checking
for fmodf declaration
" >&5
13744 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
13745 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
13746 echo $ac_n "(cached
) $ac_c" 1>&6
13751 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13752 ac_cpp='$CXXCPP $CPPFLAGS'
13753 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13754 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13755 cross_compiling=$ac_cv_prog_cxx_cross
13757 cat > conftest.$ac_ext <<EOF
13758 #line 13759 "configure
"
13759 #include "confdefs.h
"
13765 if { (eval echo configure:13766: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13767 glibcpp_cv_func_fmodf_use=yes
13769 echo "configure
: failed program was
:" >&5
13770 cat conftest.$ac_ext >&5
13772 glibcpp_cv_func_fmodf_use=no
13776 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13777 ac_cpp='$CPP $CPPFLAGS'
13778 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13779 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13780 cross_compiling=$ac_cv_prog_cc_cross
13786 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
13788 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
13789 for ac_func in fmodf
13791 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13792 echo "configure
:13793: checking
for $ac_func" >&5
13793 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13794 echo $ac_n "(cached
) $ac_c" 1>&6
13796 cat > conftest.$ac_ext <<EOF
13797 #line 13798 "configure
"
13798 #include "confdefs.h
"
13799 /* System header to define __stub macros and hopefully few prototypes,
13800 which can conflict with char $ac_func(); below. */
13801 #include <assert.h>
13802 /* Override any gcc2 internal prototype to avoid an error. */
13803 /* We use char because int might match the return type of a gcc2
13804 builtin and then its argument prototype would still apply. */
13809 /* The GNU C library defines this for functions which it implements
13810 to always fail with ENOSYS. Some functions are actually named
13811 something starting with __ and the normal name is an alias. */
13812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13820 if { (eval echo configure:13821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13822 eval "ac_cv_func_
$ac_func=yes"
13824 echo "configure
: failed program was
:" >&5
13825 cat conftest.$ac_ext >&5
13827 eval "ac_cv_func_
$ac_func=no
"
13832 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13833 echo "$ac_t""yes" 1>&6
13834 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13835 cat >> confdefs.h <<EOF
13836 #define $ac_tr_func 1
13840 echo "$ac_t""no
" 1>&6
13846 echo $ac_n "checking
for _fmodf declaration
""...
$ac_c" 1>&6
13847 echo "configure
:13848: checking
for _fmodf declaration
" >&5
13848 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
13849 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
13850 echo $ac_n "(cached
) $ac_c" 1>&6
13855 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13856 ac_cpp='$CXXCPP $CPPFLAGS'
13857 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13858 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13859 cross_compiling=$ac_cv_prog_cxx_cross
13861 cat > conftest.$ac_ext <<EOF
13862 #line 13863 "configure
"
13863 #include "confdefs.h
"
13869 if { (eval echo configure:13870: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13871 glibcpp_cv_func__fmodf_use=yes
13873 echo "configure
: failed program was
:" >&5
13874 cat conftest.$ac_ext >&5
13876 glibcpp_cv_func__fmodf_use=no
13880 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13881 ac_cpp='$CPP $CPPFLAGS'
13882 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13883 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13884 cross_compiling=$ac_cv_prog_cc_cross
13890 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
13892 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
13893 for ac_func in _fmodf
13895 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13896 echo "configure
:13897: checking
for $ac_func" >&5
13897 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13898 echo $ac_n "(cached
) $ac_c" 1>&6
13900 cat > conftest.$ac_ext <<EOF
13901 #line 13902 "configure
"
13902 #include "confdefs.h
"
13903 /* System header to define __stub macros and hopefully few prototypes,
13904 which can conflict with char $ac_func(); below. */
13905 #include <assert.h>
13906 /* Override any gcc2 internal prototype to avoid an error. */
13907 /* We use char because int might match the return type of a gcc2
13908 builtin and then its argument prototype would still apply. */
13913 /* The GNU C library defines this for functions which it implements
13914 to always fail with ENOSYS. Some functions are actually named
13915 something starting with __ and the normal name is an alias. */
13916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13924 if { (eval echo configure:13925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13926 eval "ac_cv_func_
$ac_func=yes"
13928 echo "configure
: failed program was
:" >&5
13929 cat conftest.$ac_ext >&5
13931 eval "ac_cv_func_
$ac_func=no
"
13936 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13937 echo "$ac_t""yes" 1>&6
13938 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13939 cat >> confdefs.h <<EOF
13940 #define $ac_tr_func 1
13944 echo "$ac_t""no
" 1>&6
13953 echo $ac_n "checking
for frexpf declaration
""...
$ac_c" 1>&6
13954 echo "configure
:13955: checking
for frexpf declaration
" >&5
13955 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
13956 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
13957 echo $ac_n "(cached
) $ac_c" 1>&6
13962 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13963 ac_cpp='$CXXCPP $CPPFLAGS'
13964 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13965 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13966 cross_compiling=$ac_cv_prog_cxx_cross
13968 cat > conftest.$ac_ext <<EOF
13969 #line 13970 "configure
"
13970 #include "confdefs.h
"
13976 if { (eval echo configure:13977: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13978 glibcpp_cv_func_frexpf_use=yes
13980 echo "configure
: failed program was
:" >&5
13981 cat conftest.$ac_ext >&5
13983 glibcpp_cv_func_frexpf_use=no
13987 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13988 ac_cpp='$CPP $CPPFLAGS'
13989 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13990 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13991 cross_compiling=$ac_cv_prog_cc_cross
13997 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
13999 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
14000 for ac_func in frexpf
14002 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14003 echo "configure
:14004: checking
for $ac_func" >&5
14004 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14005 echo $ac_n "(cached
) $ac_c" 1>&6
14007 cat > conftest.$ac_ext <<EOF
14008 #line 14009 "configure
"
14009 #include "confdefs.h
"
14010 /* System header to define __stub macros and hopefully few prototypes,
14011 which can conflict with char $ac_func(); below. */
14012 #include <assert.h>
14013 /* Override any gcc2 internal prototype to avoid an error. */
14014 /* We use char because int might match the return type of a gcc2
14015 builtin and then its argument prototype would still apply. */
14020 /* The GNU C library defines this for functions which it implements
14021 to always fail with ENOSYS. Some functions are actually named
14022 something starting with __ and the normal name is an alias. */
14023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14031 if { (eval echo configure:14032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14033 eval "ac_cv_func_
$ac_func=yes"
14035 echo "configure
: failed program was
:" >&5
14036 cat conftest.$ac_ext >&5
14038 eval "ac_cv_func_
$ac_func=no
"
14043 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14044 echo "$ac_t""yes" 1>&6
14045 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14046 cat >> confdefs.h <<EOF
14047 #define $ac_tr_func 1
14051 echo "$ac_t""no
" 1>&6
14057 echo $ac_n "checking
for _frexpf declaration
""...
$ac_c" 1>&6
14058 echo "configure
:14059: checking
for _frexpf declaration
" >&5
14059 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
14060 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
14061 echo $ac_n "(cached
) $ac_c" 1>&6
14066 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14067 ac_cpp='$CXXCPP $CPPFLAGS'
14068 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14069 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14070 cross_compiling=$ac_cv_prog_cxx_cross
14072 cat > conftest.$ac_ext <<EOF
14073 #line 14074 "configure
"
14074 #include "confdefs.h
"
14080 if { (eval echo configure:14081: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14082 glibcpp_cv_func__frexpf_use=yes
14084 echo "configure
: failed program was
:" >&5
14085 cat conftest.$ac_ext >&5
14087 glibcpp_cv_func__frexpf_use=no
14091 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14092 ac_cpp='$CPP $CPPFLAGS'
14093 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14094 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14095 cross_compiling=$ac_cv_prog_cc_cross
14101 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
14103 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
14104 for ac_func in _frexpf
14106 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14107 echo "configure
:14108: checking
for $ac_func" >&5
14108 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14109 echo $ac_n "(cached
) $ac_c" 1>&6
14111 cat > conftest.$ac_ext <<EOF
14112 #line 14113 "configure
"
14113 #include "confdefs.h
"
14114 /* System header to define __stub macros and hopefully few prototypes,
14115 which can conflict with char $ac_func(); below. */
14116 #include <assert.h>
14117 /* Override any gcc2 internal prototype to avoid an error. */
14118 /* We use char because int might match the return type of a gcc2
14119 builtin and then its argument prototype would still apply. */
14124 /* The GNU C library defines this for functions which it implements
14125 to always fail with ENOSYS. Some functions are actually named
14126 something starting with __ and the normal name is an alias. */
14127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14135 if { (eval echo configure:14136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14137 eval "ac_cv_func_
$ac_func=yes"
14139 echo "configure
: failed program was
:" >&5
14140 cat conftest.$ac_ext >&5
14142 eval "ac_cv_func_
$ac_func=no
"
14147 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14148 echo "$ac_t""yes" 1>&6
14149 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14150 cat >> confdefs.h <<EOF
14151 #define $ac_tr_func 1
14155 echo "$ac_t""no
" 1>&6
14164 echo $ac_n "checking
for hypotf declaration
""...
$ac_c" 1>&6
14165 echo "configure
:14166: checking
for hypotf declaration
" >&5
14166 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
14167 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
14168 echo $ac_n "(cached
) $ac_c" 1>&6
14173 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14174 ac_cpp='$CXXCPP $CPPFLAGS'
14175 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14176 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14177 cross_compiling=$ac_cv_prog_cxx_cross
14179 cat > conftest.$ac_ext <<EOF
14180 #line 14181 "configure
"
14181 #include "confdefs.h
"
14187 if { (eval echo configure:14188: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14189 glibcpp_cv_func_hypotf_use=yes
14191 echo "configure
: failed program was
:" >&5
14192 cat conftest.$ac_ext >&5
14194 glibcpp_cv_func_hypotf_use=no
14198 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14199 ac_cpp='$CPP $CPPFLAGS'
14200 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14201 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14202 cross_compiling=$ac_cv_prog_cc_cross
14208 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
14210 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
14211 for ac_func in hypotf
14213 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14214 echo "configure
:14215: checking
for $ac_func" >&5
14215 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14216 echo $ac_n "(cached
) $ac_c" 1>&6
14218 cat > conftest.$ac_ext <<EOF
14219 #line 14220 "configure
"
14220 #include "confdefs.h
"
14221 /* System header to define __stub macros and hopefully few prototypes,
14222 which can conflict with char $ac_func(); below. */
14223 #include <assert.h>
14224 /* Override any gcc2 internal prototype to avoid an error. */
14225 /* We use char because int might match the return type of a gcc2
14226 builtin and then its argument prototype would still apply. */
14231 /* The GNU C library defines this for functions which it implements
14232 to always fail with ENOSYS. Some functions are actually named
14233 something starting with __ and the normal name is an alias. */
14234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14242 if { (eval echo configure:14243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14244 eval "ac_cv_func_
$ac_func=yes"
14246 echo "configure
: failed program was
:" >&5
14247 cat conftest.$ac_ext >&5
14249 eval "ac_cv_func_
$ac_func=no
"
14254 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14255 echo "$ac_t""yes" 1>&6
14256 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14257 cat >> confdefs.h <<EOF
14258 #define $ac_tr_func 1
14262 echo "$ac_t""no
" 1>&6
14268 echo $ac_n "checking
for _hypotf declaration
""...
$ac_c" 1>&6
14269 echo "configure
:14270: checking
for _hypotf declaration
" >&5
14270 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
14271 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
14272 echo $ac_n "(cached
) $ac_c" 1>&6
14277 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14278 ac_cpp='$CXXCPP $CPPFLAGS'
14279 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14280 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14281 cross_compiling=$ac_cv_prog_cxx_cross
14283 cat > conftest.$ac_ext <<EOF
14284 #line 14285 "configure
"
14285 #include "confdefs.h
"
14291 if { (eval echo configure:14292: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14293 glibcpp_cv_func__hypotf_use=yes
14295 echo "configure
: failed program was
:" >&5
14296 cat conftest.$ac_ext >&5
14298 glibcpp_cv_func__hypotf_use=no
14302 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14303 ac_cpp='$CPP $CPPFLAGS'
14304 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14305 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14306 cross_compiling=$ac_cv_prog_cc_cross
14312 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
14314 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
14315 for ac_func in _hypotf
14317 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14318 echo "configure
:14319: checking
for $ac_func" >&5
14319 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14320 echo $ac_n "(cached
) $ac_c" 1>&6
14322 cat > conftest.$ac_ext <<EOF
14323 #line 14324 "configure
"
14324 #include "confdefs.h
"
14325 /* System header to define __stub macros and hopefully few prototypes,
14326 which can conflict with char $ac_func(); below. */
14327 #include <assert.h>
14328 /* Override any gcc2 internal prototype to avoid an error. */
14329 /* We use char because int might match the return type of a gcc2
14330 builtin and then its argument prototype would still apply. */
14335 /* The GNU C library defines this for functions which it implements
14336 to always fail with ENOSYS. Some functions are actually named
14337 something starting with __ and the normal name is an alias. */
14338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14346 if { (eval echo configure:14347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14348 eval "ac_cv_func_
$ac_func=yes"
14350 echo "configure
: failed program was
:" >&5
14351 cat conftest.$ac_ext >&5
14353 eval "ac_cv_func_
$ac_func=no
"
14358 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14359 echo "$ac_t""yes" 1>&6
14360 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14361 cat >> confdefs.h <<EOF
14362 #define $ac_tr_func 1
14366 echo "$ac_t""no
" 1>&6
14375 echo $ac_n "checking
for ldexpf declaration
""...
$ac_c" 1>&6
14376 echo "configure
:14377: checking
for ldexpf declaration
" >&5
14377 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
14378 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
14379 echo $ac_n "(cached
) $ac_c" 1>&6
14384 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14385 ac_cpp='$CXXCPP $CPPFLAGS'
14386 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14387 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14388 cross_compiling=$ac_cv_prog_cxx_cross
14390 cat > conftest.$ac_ext <<EOF
14391 #line 14392 "configure
"
14392 #include "confdefs.h
"
14398 if { (eval echo configure:14399: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14400 glibcpp_cv_func_ldexpf_use=yes
14402 echo "configure
: failed program was
:" >&5
14403 cat conftest.$ac_ext >&5
14405 glibcpp_cv_func_ldexpf_use=no
14409 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14410 ac_cpp='$CPP $CPPFLAGS'
14411 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14412 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14413 cross_compiling=$ac_cv_prog_cc_cross
14419 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
14421 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
14422 for ac_func in ldexpf
14424 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14425 echo "configure
:14426: checking
for $ac_func" >&5
14426 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14427 echo $ac_n "(cached
) $ac_c" 1>&6
14429 cat > conftest.$ac_ext <<EOF
14430 #line 14431 "configure
"
14431 #include "confdefs.h
"
14432 /* System header to define __stub macros and hopefully few prototypes,
14433 which can conflict with char $ac_func(); below. */
14434 #include <assert.h>
14435 /* Override any gcc2 internal prototype to avoid an error. */
14436 /* We use char because int might match the return type of a gcc2
14437 builtin and then its argument prototype would still apply. */
14442 /* The GNU C library defines this for functions which it implements
14443 to always fail with ENOSYS. Some functions are actually named
14444 something starting with __ and the normal name is an alias. */
14445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14453 if { (eval echo configure:14454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14455 eval "ac_cv_func_
$ac_func=yes"
14457 echo "configure
: failed program was
:" >&5
14458 cat conftest.$ac_ext >&5
14460 eval "ac_cv_func_
$ac_func=no
"
14465 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14466 echo "$ac_t""yes" 1>&6
14467 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14468 cat >> confdefs.h <<EOF
14469 #define $ac_tr_func 1
14473 echo "$ac_t""no
" 1>&6
14479 echo $ac_n "checking
for _ldexpf declaration
""...
$ac_c" 1>&6
14480 echo "configure
:14481: checking
for _ldexpf declaration
" >&5
14481 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
14482 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
14483 echo $ac_n "(cached
) $ac_c" 1>&6
14488 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14489 ac_cpp='$CXXCPP $CPPFLAGS'
14490 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14491 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14492 cross_compiling=$ac_cv_prog_cxx_cross
14494 cat > conftest.$ac_ext <<EOF
14495 #line 14496 "configure
"
14496 #include "confdefs.h
"
14502 if { (eval echo configure:14503: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14504 glibcpp_cv_func__ldexpf_use=yes
14506 echo "configure
: failed program was
:" >&5
14507 cat conftest.$ac_ext >&5
14509 glibcpp_cv_func__ldexpf_use=no
14513 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14514 ac_cpp='$CPP $CPPFLAGS'
14515 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14516 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14517 cross_compiling=$ac_cv_prog_cc_cross
14523 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
14525 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
14526 for ac_func in _ldexpf
14528 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14529 echo "configure
:14530: checking
for $ac_func" >&5
14530 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14531 echo $ac_n "(cached
) $ac_c" 1>&6
14533 cat > conftest.$ac_ext <<EOF
14534 #line 14535 "configure
"
14535 #include "confdefs.h
"
14536 /* System header to define __stub macros and hopefully few prototypes,
14537 which can conflict with char $ac_func(); below. */
14538 #include <assert.h>
14539 /* Override any gcc2 internal prototype to avoid an error. */
14540 /* We use char because int might match the return type of a gcc2
14541 builtin and then its argument prototype would still apply. */
14546 /* The GNU C library defines this for functions which it implements
14547 to always fail with ENOSYS. Some functions are actually named
14548 something starting with __ and the normal name is an alias. */
14549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14557 if { (eval echo configure:14558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14559 eval "ac_cv_func_
$ac_func=yes"
14561 echo "configure
: failed program was
:" >&5
14562 cat conftest.$ac_ext >&5
14564 eval "ac_cv_func_
$ac_func=no
"
14569 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14570 echo "$ac_t""yes" 1>&6
14571 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14572 cat >> confdefs.h <<EOF
14573 #define $ac_tr_func 1
14577 echo "$ac_t""no
" 1>&6
14586 echo $ac_n "checking
for logf declaration
""...
$ac_c" 1>&6
14587 echo "configure
:14588: checking
for logf declaration
" >&5
14588 if test x${glibcpp_cv_func_logf_use+set} != xset; then
14589 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
14590 echo $ac_n "(cached
) $ac_c" 1>&6
14595 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14596 ac_cpp='$CXXCPP $CPPFLAGS'
14597 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14598 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14599 cross_compiling=$ac_cv_prog_cxx_cross
14601 cat > conftest.$ac_ext <<EOF
14602 #line 14603 "configure
"
14603 #include "confdefs.h
"
14605 #ifdef HAVE_IEEEFP_H
14606 #include <ieeefp.h>
14613 if { (eval echo configure:14614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14615 glibcpp_cv_func_logf_use=yes
14617 echo "configure
: failed program was
:" >&5
14618 cat conftest.$ac_ext >&5
14620 glibcpp_cv_func_logf_use=no
14624 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14625 ac_cpp='$CPP $CPPFLAGS'
14626 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14627 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14628 cross_compiling=$ac_cv_prog_cc_cross
14634 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
14636 if test x$glibcpp_cv_func_logf_use = x"yes"; then
14637 for ac_func in logf
14639 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14640 echo "configure
:14641: checking
for $ac_func" >&5
14641 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14642 echo $ac_n "(cached
) $ac_c" 1>&6
14644 cat > conftest.$ac_ext <<EOF
14645 #line 14646 "configure
"
14646 #include "confdefs.h
"
14647 /* System header to define __stub macros and hopefully few prototypes,
14648 which can conflict with char $ac_func(); below. */
14649 #include <assert.h>
14650 /* Override any gcc2 internal prototype to avoid an error. */
14651 /* We use char because int might match the return type of a gcc2
14652 builtin and then its argument prototype would still apply. */
14657 /* The GNU C library defines this for functions which it implements
14658 to always fail with ENOSYS. Some functions are actually named
14659 something starting with __ and the normal name is an alias. */
14660 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14668 if { (eval echo configure:14669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14670 eval "ac_cv_func_
$ac_func=yes"
14672 echo "configure
: failed program was
:" >&5
14673 cat conftest.$ac_ext >&5
14675 eval "ac_cv_func_
$ac_func=no
"
14680 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14681 echo "$ac_t""yes" 1>&6
14682 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14683 cat >> confdefs.h <<EOF
14684 #define $ac_tr_func 1
14688 echo "$ac_t""no
" 1>&6
14694 echo $ac_n "checking
for _logf declaration
""...
$ac_c" 1>&6
14695 echo "configure
:14696: checking
for _logf declaration
" >&5
14696 if test x${glibcpp_cv_func__logf_use+set} != xset; then
14697 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
14698 echo $ac_n "(cached
) $ac_c" 1>&6
14703 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14704 ac_cpp='$CXXCPP $CPPFLAGS'
14705 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14706 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14707 cross_compiling=$ac_cv_prog_cxx_cross
14709 cat > conftest.$ac_ext <<EOF
14710 #line 14711 "configure
"
14711 #include "confdefs.h
"
14713 #ifdef HAVE_IEEEFP_H
14714 #include <ieeefp.h>
14721 if { (eval echo configure:14722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14723 glibcpp_cv_func__logf_use=yes
14725 echo "configure
: failed program was
:" >&5
14726 cat conftest.$ac_ext >&5
14728 glibcpp_cv_func__logf_use=no
14732 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14733 ac_cpp='$CPP $CPPFLAGS'
14734 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14735 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14736 cross_compiling=$ac_cv_prog_cc_cross
14742 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
14744 if test x$glibcpp_cv_func__logf_use = x"yes"; then
14745 for ac_func in _logf
14747 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14748 echo "configure
:14749: checking
for $ac_func" >&5
14749 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14750 echo $ac_n "(cached
) $ac_c" 1>&6
14752 cat > conftest.$ac_ext <<EOF
14753 #line 14754 "configure
"
14754 #include "confdefs.h
"
14755 /* System header to define __stub macros and hopefully few prototypes,
14756 which can conflict with char $ac_func(); below. */
14757 #include <assert.h>
14758 /* Override any gcc2 internal prototype to avoid an error. */
14759 /* We use char because int might match the return type of a gcc2
14760 builtin and then its argument prototype would still apply. */
14765 /* The GNU C library defines this for functions which it implements
14766 to always fail with ENOSYS. Some functions are actually named
14767 something starting with __ and the normal name is an alias. */
14768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14776 if { (eval echo configure:14777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14778 eval "ac_cv_func_
$ac_func=yes"
14780 echo "configure
: failed program was
:" >&5
14781 cat conftest.$ac_ext >&5
14783 eval "ac_cv_func_
$ac_func=no
"
14788 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14789 echo "$ac_t""yes" 1>&6
14790 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14791 cat >> confdefs.h <<EOF
14792 #define $ac_tr_func 1
14796 echo "$ac_t""no
" 1>&6
14805 echo $ac_n "checking
for log10f declaration
""...
$ac_c" 1>&6
14806 echo "configure
:14807: checking
for log10f declaration
" >&5
14807 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
14808 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
14809 echo $ac_n "(cached
) $ac_c" 1>&6
14814 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14815 ac_cpp='$CXXCPP $CPPFLAGS'
14816 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14817 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14818 cross_compiling=$ac_cv_prog_cxx_cross
14820 cat > conftest.$ac_ext <<EOF
14821 #line 14822 "configure
"
14822 #include "confdefs.h
"
14824 #ifdef HAVE_IEEEFP_H
14825 #include <ieeefp.h>
14832 if { (eval echo configure:14833: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14834 glibcpp_cv_func_log10f_use=yes
14836 echo "configure
: failed program was
:" >&5
14837 cat conftest.$ac_ext >&5
14839 glibcpp_cv_func_log10f_use=no
14843 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14844 ac_cpp='$CPP $CPPFLAGS'
14845 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14846 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14847 cross_compiling=$ac_cv_prog_cc_cross
14853 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
14855 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
14856 for ac_func in log10f
14858 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14859 echo "configure
:14860: checking
for $ac_func" >&5
14860 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14861 echo $ac_n "(cached
) $ac_c" 1>&6
14863 cat > conftest.$ac_ext <<EOF
14864 #line 14865 "configure
"
14865 #include "confdefs.h
"
14866 /* System header to define __stub macros and hopefully few prototypes,
14867 which can conflict with char $ac_func(); below. */
14868 #include <assert.h>
14869 /* Override any gcc2 internal prototype to avoid an error. */
14870 /* We use char because int might match the return type of a gcc2
14871 builtin and then its argument prototype would still apply. */
14876 /* The GNU C library defines this for functions which it implements
14877 to always fail with ENOSYS. Some functions are actually named
14878 something starting with __ and the normal name is an alias. */
14879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14887 if { (eval echo configure:14888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14889 eval "ac_cv_func_
$ac_func=yes"
14891 echo "configure
: failed program was
:" >&5
14892 cat conftest.$ac_ext >&5
14894 eval "ac_cv_func_
$ac_func=no
"
14899 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14900 echo "$ac_t""yes" 1>&6
14901 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14902 cat >> confdefs.h <<EOF
14903 #define $ac_tr_func 1
14907 echo "$ac_t""no
" 1>&6
14913 echo $ac_n "checking
for _log10f declaration
""...
$ac_c" 1>&6
14914 echo "configure
:14915: checking
for _log10f declaration
" >&5
14915 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
14916 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
14917 echo $ac_n "(cached
) $ac_c" 1>&6
14922 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14923 ac_cpp='$CXXCPP $CPPFLAGS'
14924 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14925 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14926 cross_compiling=$ac_cv_prog_cxx_cross
14928 cat > conftest.$ac_ext <<EOF
14929 #line 14930 "configure
"
14930 #include "confdefs.h
"
14932 #ifdef HAVE_IEEEFP_H
14933 #include <ieeefp.h>
14940 if { (eval echo configure:14941: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14942 glibcpp_cv_func__log10f_use=yes
14944 echo "configure
: failed program was
:" >&5
14945 cat conftest.$ac_ext >&5
14947 glibcpp_cv_func__log10f_use=no
14951 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14952 ac_cpp='$CPP $CPPFLAGS'
14953 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14954 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14955 cross_compiling=$ac_cv_prog_cc_cross
14961 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
14963 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
14964 for ac_func in _log10f
14966 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14967 echo "configure
:14968: checking
for $ac_func" >&5
14968 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14969 echo $ac_n "(cached
) $ac_c" 1>&6
14971 cat > conftest.$ac_ext <<EOF
14972 #line 14973 "configure
"
14973 #include "confdefs.h
"
14974 /* System header to define __stub macros and hopefully few prototypes,
14975 which can conflict with char $ac_func(); below. */
14976 #include <assert.h>
14977 /* Override any gcc2 internal prototype to avoid an error. */
14978 /* We use char because int might match the return type of a gcc2
14979 builtin and then its argument prototype would still apply. */
14984 /* The GNU C library defines this for functions which it implements
14985 to always fail with ENOSYS. Some functions are actually named
14986 something starting with __ and the normal name is an alias. */
14987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14995 if { (eval echo configure:14996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14997 eval "ac_cv_func_
$ac_func=yes"
14999 echo "configure
: failed program was
:" >&5
15000 cat conftest.$ac_ext >&5
15002 eval "ac_cv_func_
$ac_func=no
"
15007 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15008 echo "$ac_t""yes" 1>&6
15009 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15010 cat >> confdefs.h <<EOF
15011 #define $ac_tr_func 1
15015 echo "$ac_t""no
" 1>&6
15024 echo $ac_n "checking
for modff declaration
""...
$ac_c" 1>&6
15025 echo "configure
:15026: checking
for modff declaration
" >&5
15026 if test x${glibcpp_cv_func_modff_use+set} != xset; then
15027 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
15028 echo $ac_n "(cached
) $ac_c" 1>&6
15033 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15034 ac_cpp='$CXXCPP $CPPFLAGS'
15035 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15036 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15037 cross_compiling=$ac_cv_prog_cxx_cross
15039 cat > conftest.$ac_ext <<EOF
15040 #line 15041 "configure
"
15041 #include "confdefs.h
"
15047 if { (eval echo configure:15048: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15049 glibcpp_cv_func_modff_use=yes
15051 echo "configure
: failed program was
:" >&5
15052 cat conftest.$ac_ext >&5
15054 glibcpp_cv_func_modff_use=no
15058 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15059 ac_cpp='$CPP $CPPFLAGS'
15060 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15061 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15062 cross_compiling=$ac_cv_prog_cc_cross
15068 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
15070 if test x$glibcpp_cv_func_modff_use = x"yes"; then
15071 for ac_func in modff
15073 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15074 echo "configure
:15075: checking
for $ac_func" >&5
15075 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15076 echo $ac_n "(cached
) $ac_c" 1>&6
15078 cat > conftest.$ac_ext <<EOF
15079 #line 15080 "configure
"
15080 #include "confdefs.h
"
15081 /* System header to define __stub macros and hopefully few prototypes,
15082 which can conflict with char $ac_func(); below. */
15083 #include <assert.h>
15084 /* Override any gcc2 internal prototype to avoid an error. */
15085 /* We use char because int might match the return type of a gcc2
15086 builtin and then its argument prototype would still apply. */
15091 /* The GNU C library defines this for functions which it implements
15092 to always fail with ENOSYS. Some functions are actually named
15093 something starting with __ and the normal name is an alias. */
15094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15102 if { (eval echo configure:15103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15104 eval "ac_cv_func_
$ac_func=yes"
15106 echo "configure
: failed program was
:" >&5
15107 cat conftest.$ac_ext >&5
15109 eval "ac_cv_func_
$ac_func=no
"
15114 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15115 echo "$ac_t""yes" 1>&6
15116 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15117 cat >> confdefs.h <<EOF
15118 #define $ac_tr_func 1
15122 echo "$ac_t""no
" 1>&6
15128 echo $ac_n "checking
for _modff declaration
""...
$ac_c" 1>&6
15129 echo "configure
:15130: checking
for _modff declaration
" >&5
15130 if test x${glibcpp_cv_func__modff_use+set} != xset; then
15131 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
15132 echo $ac_n "(cached
) $ac_c" 1>&6
15137 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15138 ac_cpp='$CXXCPP $CPPFLAGS'
15139 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15140 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15141 cross_compiling=$ac_cv_prog_cxx_cross
15143 cat > conftest.$ac_ext <<EOF
15144 #line 15145 "configure
"
15145 #include "confdefs.h
"
15151 if { (eval echo configure:15152: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15153 glibcpp_cv_func__modff_use=yes
15155 echo "configure
: failed program was
:" >&5
15156 cat conftest.$ac_ext >&5
15158 glibcpp_cv_func__modff_use=no
15162 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15163 ac_cpp='$CPP $CPPFLAGS'
15164 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15165 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15166 cross_compiling=$ac_cv_prog_cc_cross
15172 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
15174 if test x$glibcpp_cv_func__modff_use = x"yes"; then
15175 for ac_func in _modff
15177 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15178 echo "configure
:15179: checking
for $ac_func" >&5
15179 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15180 echo $ac_n "(cached
) $ac_c" 1>&6
15182 cat > conftest.$ac_ext <<EOF
15183 #line 15184 "configure
"
15184 #include "confdefs.h
"
15185 /* System header to define __stub macros and hopefully few prototypes,
15186 which can conflict with char $ac_func(); below. */
15187 #include <assert.h>
15188 /* Override any gcc2 internal prototype to avoid an error. */
15189 /* We use char because int might match the return type of a gcc2
15190 builtin and then its argument prototype would still apply. */
15195 /* The GNU C library defines this for functions which it implements
15196 to always fail with ENOSYS. Some functions are actually named
15197 something starting with __ and the normal name is an alias. */
15198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15206 if { (eval echo configure:15207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15208 eval "ac_cv_func_
$ac_func=yes"
15210 echo "configure
: failed program was
:" >&5
15211 cat conftest.$ac_ext >&5
15213 eval "ac_cv_func_
$ac_func=no
"
15218 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15219 echo "$ac_t""yes" 1>&6
15220 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15221 cat >> confdefs.h <<EOF
15222 #define $ac_tr_func 1
15226 echo "$ac_t""no
" 1>&6
15235 echo $ac_n "checking
for powf declaration
""...
$ac_c" 1>&6
15236 echo "configure
:15237: checking
for powf declaration
" >&5
15237 if test x${glibcpp_cv_func_powf_use+set} != xset; then
15238 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
15239 echo $ac_n "(cached
) $ac_c" 1>&6
15244 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15245 ac_cpp='$CXXCPP $CPPFLAGS'
15246 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15247 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15248 cross_compiling=$ac_cv_prog_cxx_cross
15250 cat > conftest.$ac_ext <<EOF
15251 #line 15252 "configure
"
15252 #include "confdefs.h
"
15258 if { (eval echo configure:15259: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15260 glibcpp_cv_func_powf_use=yes
15262 echo "configure
: failed program was
:" >&5
15263 cat conftest.$ac_ext >&5
15265 glibcpp_cv_func_powf_use=no
15269 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15270 ac_cpp='$CPP $CPPFLAGS'
15271 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15272 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15273 cross_compiling=$ac_cv_prog_cc_cross
15279 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
15281 if test x$glibcpp_cv_func_powf_use = x"yes"; then
15282 for ac_func in powf
15284 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15285 echo "configure
:15286: checking
for $ac_func" >&5
15286 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15287 echo $ac_n "(cached
) $ac_c" 1>&6
15289 cat > conftest.$ac_ext <<EOF
15290 #line 15291 "configure
"
15291 #include "confdefs.h
"
15292 /* System header to define __stub macros and hopefully few prototypes,
15293 which can conflict with char $ac_func(); below. */
15294 #include <assert.h>
15295 /* Override any gcc2 internal prototype to avoid an error. */
15296 /* We use char because int might match the return type of a gcc2
15297 builtin and then its argument prototype would still apply. */
15302 /* The GNU C library defines this for functions which it implements
15303 to always fail with ENOSYS. Some functions are actually named
15304 something starting with __ and the normal name is an alias. */
15305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15313 if { (eval echo configure:15314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15315 eval "ac_cv_func_
$ac_func=yes"
15317 echo "configure
: failed program was
:" >&5
15318 cat conftest.$ac_ext >&5
15320 eval "ac_cv_func_
$ac_func=no
"
15325 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15326 echo "$ac_t""yes" 1>&6
15327 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15328 cat >> confdefs.h <<EOF
15329 #define $ac_tr_func 1
15333 echo "$ac_t""no
" 1>&6
15339 echo $ac_n "checking
for _powf declaration
""...
$ac_c" 1>&6
15340 echo "configure
:15341: checking
for _powf declaration
" >&5
15341 if test x${glibcpp_cv_func__powf_use+set} != xset; then
15342 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
15343 echo $ac_n "(cached
) $ac_c" 1>&6
15348 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15349 ac_cpp='$CXXCPP $CPPFLAGS'
15350 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15351 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15352 cross_compiling=$ac_cv_prog_cxx_cross
15354 cat > conftest.$ac_ext <<EOF
15355 #line 15356 "configure
"
15356 #include "confdefs.h
"
15362 if { (eval echo configure:15363: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15364 glibcpp_cv_func__powf_use=yes
15366 echo "configure
: failed program was
:" >&5
15367 cat conftest.$ac_ext >&5
15369 glibcpp_cv_func__powf_use=no
15373 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15374 ac_cpp='$CPP $CPPFLAGS'
15375 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15376 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15377 cross_compiling=$ac_cv_prog_cc_cross
15383 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
15385 if test x$glibcpp_cv_func__powf_use = x"yes"; then
15386 for ac_func in _powf
15388 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15389 echo "configure
:15390: checking
for $ac_func" >&5
15390 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15391 echo $ac_n "(cached
) $ac_c" 1>&6
15393 cat > conftest.$ac_ext <<EOF
15394 #line 15395 "configure
"
15395 #include "confdefs.h
"
15396 /* System header to define __stub macros and hopefully few prototypes,
15397 which can conflict with char $ac_func(); below. */
15398 #include <assert.h>
15399 /* Override any gcc2 internal prototype to avoid an error. */
15400 /* We use char because int might match the return type of a gcc2
15401 builtin and then its argument prototype would still apply. */
15406 /* The GNU C library defines this for functions which it implements
15407 to always fail with ENOSYS. Some functions are actually named
15408 something starting with __ and the normal name is an alias. */
15409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15417 if { (eval echo configure:15418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15419 eval "ac_cv_func_
$ac_func=yes"
15421 echo "configure
: failed program was
:" >&5
15422 cat conftest.$ac_ext >&5
15424 eval "ac_cv_func_
$ac_func=no
"
15429 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15430 echo "$ac_t""yes" 1>&6
15431 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15432 cat >> confdefs.h <<EOF
15433 #define $ac_tr_func 1
15437 echo "$ac_t""no
" 1>&6
15446 echo $ac_n "checking
for sqrtf declaration
""...
$ac_c" 1>&6
15447 echo "configure
:15448: checking
for sqrtf declaration
" >&5
15448 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
15449 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
15450 echo $ac_n "(cached
) $ac_c" 1>&6
15455 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15456 ac_cpp='$CXXCPP $CPPFLAGS'
15457 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15458 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15459 cross_compiling=$ac_cv_prog_cxx_cross
15461 cat > conftest.$ac_ext <<EOF
15462 #line 15463 "configure
"
15463 #include "confdefs.h
"
15465 #ifdef HAVE_IEEEFP_H
15466 #include <ieeefp.h>
15473 if { (eval echo configure:15474: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15475 glibcpp_cv_func_sqrtf_use=yes
15477 echo "configure
: failed program was
:" >&5
15478 cat conftest.$ac_ext >&5
15480 glibcpp_cv_func_sqrtf_use=no
15484 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15485 ac_cpp='$CPP $CPPFLAGS'
15486 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15487 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15488 cross_compiling=$ac_cv_prog_cc_cross
15494 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
15496 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
15497 for ac_func in sqrtf
15499 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15500 echo "configure
:15501: checking
for $ac_func" >&5
15501 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15502 echo $ac_n "(cached
) $ac_c" 1>&6
15504 cat > conftest.$ac_ext <<EOF
15505 #line 15506 "configure
"
15506 #include "confdefs.h
"
15507 /* System header to define __stub macros and hopefully few prototypes,
15508 which can conflict with char $ac_func(); below. */
15509 #include <assert.h>
15510 /* Override any gcc2 internal prototype to avoid an error. */
15511 /* We use char because int might match the return type of a gcc2
15512 builtin and then its argument prototype would still apply. */
15517 /* The GNU C library defines this for functions which it implements
15518 to always fail with ENOSYS. Some functions are actually named
15519 something starting with __ and the normal name is an alias. */
15520 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15528 if { (eval echo configure:15529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15530 eval "ac_cv_func_
$ac_func=yes"
15532 echo "configure
: failed program was
:" >&5
15533 cat conftest.$ac_ext >&5
15535 eval "ac_cv_func_
$ac_func=no
"
15540 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15541 echo "$ac_t""yes" 1>&6
15542 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15543 cat >> confdefs.h <<EOF
15544 #define $ac_tr_func 1
15548 echo "$ac_t""no
" 1>&6
15554 echo $ac_n "checking
for _sqrtf declaration
""...
$ac_c" 1>&6
15555 echo "configure
:15556: checking
for _sqrtf declaration
" >&5
15556 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
15557 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
15558 echo $ac_n "(cached
) $ac_c" 1>&6
15563 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15564 ac_cpp='$CXXCPP $CPPFLAGS'
15565 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15566 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15567 cross_compiling=$ac_cv_prog_cxx_cross
15569 cat > conftest.$ac_ext <<EOF
15570 #line 15571 "configure
"
15571 #include "confdefs.h
"
15573 #ifdef HAVE_IEEEFP_H
15574 #include <ieeefp.h>
15581 if { (eval echo configure:15582: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15583 glibcpp_cv_func__sqrtf_use=yes
15585 echo "configure
: failed program was
:" >&5
15586 cat conftest.$ac_ext >&5
15588 glibcpp_cv_func__sqrtf_use=no
15592 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15593 ac_cpp='$CPP $CPPFLAGS'
15594 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15595 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15596 cross_compiling=$ac_cv_prog_cc_cross
15602 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
15604 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
15605 for ac_func in _sqrtf
15607 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15608 echo "configure
:15609: checking
for $ac_func" >&5
15609 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15610 echo $ac_n "(cached
) $ac_c" 1>&6
15612 cat > conftest.$ac_ext <<EOF
15613 #line 15614 "configure
"
15614 #include "confdefs.h
"
15615 /* System header to define __stub macros and hopefully few prototypes,
15616 which can conflict with char $ac_func(); below. */
15617 #include <assert.h>
15618 /* Override any gcc2 internal prototype to avoid an error. */
15619 /* We use char because int might match the return type of a gcc2
15620 builtin and then its argument prototype would still apply. */
15625 /* The GNU C library defines this for functions which it implements
15626 to always fail with ENOSYS. Some functions are actually named
15627 something starting with __ and the normal name is an alias. */
15628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15636 if { (eval echo configure:15637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15638 eval "ac_cv_func_
$ac_func=yes"
15640 echo "configure
: failed program was
:" >&5
15641 cat conftest.$ac_ext >&5
15643 eval "ac_cv_func_
$ac_func=no
"
15648 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15649 echo "$ac_t""yes" 1>&6
15650 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15651 cat >> confdefs.h <<EOF
15652 #define $ac_tr_func 1
15656 echo "$ac_t""no
" 1>&6
15665 echo $ac_n "checking
for sincosf declaration
""...
$ac_c" 1>&6
15666 echo "configure
:15667: checking
for sincosf declaration
" >&5
15667 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
15668 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
15669 echo $ac_n "(cached
) $ac_c" 1>&6
15674 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15675 ac_cpp='$CXXCPP $CPPFLAGS'
15676 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15677 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15678 cross_compiling=$ac_cv_prog_cxx_cross
15680 cat > conftest.$ac_ext <<EOF
15681 #line 15682 "configure
"
15682 #include "confdefs.h
"
15688 if { (eval echo configure:15689: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15690 glibcpp_cv_func_sincosf_use=yes
15692 echo "configure
: failed program was
:" >&5
15693 cat conftest.$ac_ext >&5
15695 glibcpp_cv_func_sincosf_use=no
15699 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15700 ac_cpp='$CPP $CPPFLAGS'
15701 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15702 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15703 cross_compiling=$ac_cv_prog_cc_cross
15709 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
15711 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
15712 for ac_func in sincosf
15714 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15715 echo "configure
:15716: checking
for $ac_func" >&5
15716 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15717 echo $ac_n "(cached
) $ac_c" 1>&6
15719 cat > conftest.$ac_ext <<EOF
15720 #line 15721 "configure
"
15721 #include "confdefs.h
"
15722 /* System header to define __stub macros and hopefully few prototypes,
15723 which can conflict with char $ac_func(); below. */
15724 #include <assert.h>
15725 /* Override any gcc2 internal prototype to avoid an error. */
15726 /* We use char because int might match the return type of a gcc2
15727 builtin and then its argument prototype would still apply. */
15732 /* The GNU C library defines this for functions which it implements
15733 to always fail with ENOSYS. Some functions are actually named
15734 something starting with __ and the normal name is an alias. */
15735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15743 if { (eval echo configure:15744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15745 eval "ac_cv_func_
$ac_func=yes"
15747 echo "configure
: failed program was
:" >&5
15748 cat conftest.$ac_ext >&5
15750 eval "ac_cv_func_
$ac_func=no
"
15755 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15756 echo "$ac_t""yes" 1>&6
15757 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15758 cat >> confdefs.h <<EOF
15759 #define $ac_tr_func 1
15763 echo "$ac_t""no
" 1>&6
15769 echo $ac_n "checking
for _sincosf declaration
""...
$ac_c" 1>&6
15770 echo "configure
:15771: checking
for _sincosf declaration
" >&5
15771 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
15772 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
15773 echo $ac_n "(cached
) $ac_c" 1>&6
15778 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15779 ac_cpp='$CXXCPP $CPPFLAGS'
15780 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15781 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15782 cross_compiling=$ac_cv_prog_cxx_cross
15784 cat > conftest.$ac_ext <<EOF
15785 #line 15786 "configure
"
15786 #include "confdefs.h
"
15792 if { (eval echo configure:15793: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15794 glibcpp_cv_func__sincosf_use=yes
15796 echo "configure
: failed program was
:" >&5
15797 cat conftest.$ac_ext >&5
15799 glibcpp_cv_func__sincosf_use=no
15803 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15804 ac_cpp='$CPP $CPPFLAGS'
15805 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15806 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15807 cross_compiling=$ac_cv_prog_cc_cross
15813 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
15815 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
15816 for ac_func in _sincosf
15818 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15819 echo "configure
:15820: checking
for $ac_func" >&5
15820 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15821 echo $ac_n "(cached
) $ac_c" 1>&6
15823 cat > conftest.$ac_ext <<EOF
15824 #line 15825 "configure
"
15825 #include "confdefs.h
"
15826 /* System header to define __stub macros and hopefully few prototypes,
15827 which can conflict with char $ac_func(); below. */
15828 #include <assert.h>
15829 /* Override any gcc2 internal prototype to avoid an error. */
15830 /* We use char because int might match the return type of a gcc2
15831 builtin and then its argument prototype would still apply. */
15836 /* The GNU C library defines this for functions which it implements
15837 to always fail with ENOSYS. Some functions are actually named
15838 something starting with __ and the normal name is an alias. */
15839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15847 if { (eval echo configure:15848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15849 eval "ac_cv_func_
$ac_func=yes"
15851 echo "configure
: failed program was
:" >&5
15852 cat conftest.$ac_ext >&5
15854 eval "ac_cv_func_
$ac_func=no
"
15859 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15860 echo "$ac_t""yes" 1>&6
15861 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15862 cat >> confdefs.h <<EOF
15863 #define $ac_tr_func 1
15867 echo "$ac_t""no
" 1>&6
15876 echo $ac_n "checking
for finitef declaration
""...
$ac_c" 1>&6
15877 echo "configure
:15878: checking
for finitef declaration
" >&5
15878 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
15879 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
15880 echo $ac_n "(cached
) $ac_c" 1>&6
15885 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15886 ac_cpp='$CXXCPP $CPPFLAGS'
15887 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15888 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15889 cross_compiling=$ac_cv_prog_cxx_cross
15891 cat > conftest.$ac_ext <<EOF
15892 #line 15893 "configure
"
15893 #include "confdefs.h
"
15895 #ifdef HAVE_IEEEFP_H
15896 #include <ieeefp.h>
15903 if { (eval echo configure:15904: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15905 glibcpp_cv_func_finitef_use=yes
15907 echo "configure
: failed program was
:" >&5
15908 cat conftest.$ac_ext >&5
15910 glibcpp_cv_func_finitef_use=no
15914 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15915 ac_cpp='$CPP $CPPFLAGS'
15916 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15917 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15918 cross_compiling=$ac_cv_prog_cc_cross
15924 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
15926 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
15927 for ac_func in finitef
15929 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15930 echo "configure
:15931: checking
for $ac_func" >&5
15931 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15932 echo $ac_n "(cached
) $ac_c" 1>&6
15934 cat > conftest.$ac_ext <<EOF
15935 #line 15936 "configure
"
15936 #include "confdefs.h
"
15937 /* System header to define __stub macros and hopefully few prototypes,
15938 which can conflict with char $ac_func(); below. */
15939 #include <assert.h>
15940 /* Override any gcc2 internal prototype to avoid an error. */
15941 /* We use char because int might match the return type of a gcc2
15942 builtin and then its argument prototype would still apply. */
15947 /* The GNU C library defines this for functions which it implements
15948 to always fail with ENOSYS. Some functions are actually named
15949 something starting with __ and the normal name is an alias. */
15950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15958 if { (eval echo configure:15959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15960 eval "ac_cv_func_
$ac_func=yes"
15962 echo "configure
: failed program was
:" >&5
15963 cat conftest.$ac_ext >&5
15965 eval "ac_cv_func_
$ac_func=no
"
15970 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15971 echo "$ac_t""yes" 1>&6
15972 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15973 cat >> confdefs.h <<EOF
15974 #define $ac_tr_func 1
15978 echo "$ac_t""no
" 1>&6
15984 echo $ac_n "checking
for _finitef declaration
""...
$ac_c" 1>&6
15985 echo "configure
:15986: checking
for _finitef declaration
" >&5
15986 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
15987 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
15988 echo $ac_n "(cached
) $ac_c" 1>&6
15993 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15994 ac_cpp='$CXXCPP $CPPFLAGS'
15995 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15996 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15997 cross_compiling=$ac_cv_prog_cxx_cross
15999 cat > conftest.$ac_ext <<EOF
16000 #line 16001 "configure
"
16001 #include "confdefs.h
"
16003 #ifdef HAVE_IEEEFP_H
16004 #include <ieeefp.h>
16011 if { (eval echo configure:16012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16013 glibcpp_cv_func__finitef_use=yes
16015 echo "configure
: failed program was
:" >&5
16016 cat conftest.$ac_ext >&5
16018 glibcpp_cv_func__finitef_use=no
16022 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16023 ac_cpp='$CPP $CPPFLAGS'
16024 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16025 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16026 cross_compiling=$ac_cv_prog_cc_cross
16032 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
16034 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
16035 for ac_func in _finitef
16037 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16038 echo "configure
:16039: checking
for $ac_func" >&5
16039 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16040 echo $ac_n "(cached
) $ac_c" 1>&6
16042 cat > conftest.$ac_ext <<EOF
16043 #line 16044 "configure
"
16044 #include "confdefs.h
"
16045 /* System header to define __stub macros and hopefully few prototypes,
16046 which can conflict with char $ac_func(); below. */
16047 #include <assert.h>
16048 /* Override any gcc2 internal prototype to avoid an error. */
16049 /* We use char because int might match the return type of a gcc2
16050 builtin and then its argument prototype would still apply. */
16055 /* The GNU C library defines this for functions which it implements
16056 to always fail with ENOSYS. Some functions are actually named
16057 something starting with __ and the normal name is an alias. */
16058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16066 if { (eval echo configure:16067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16068 eval "ac_cv_func_
$ac_func=yes"
16070 echo "configure
: failed program was
:" >&5
16071 cat conftest.$ac_ext >&5
16073 eval "ac_cv_func_
$ac_func=no
"
16078 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16079 echo "$ac_t""yes" 1>&6
16080 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16081 cat >> confdefs.h <<EOF
16082 #define $ac_tr_func 1
16086 echo "$ac_t""no
" 1>&6
16095 echo $ac_n "checking
for long double trig functions
""...
$ac_c" 1>&6
16096 echo "configure
:16097: checking
for long double trig functions
" >&5
16097 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
16098 echo $ac_n "(cached
) $ac_c" 1>&6
16103 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16104 ac_cpp='$CXXCPP $CPPFLAGS'
16105 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16106 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16107 cross_compiling=$ac_cv_prog_cxx_cross
16109 cat > conftest.$ac_ext <<EOF
16110 #line 16111 "configure
"
16111 #include "confdefs.h
"
16114 `for x in acosl asinl atanl \
16116 coshl sinhl tanhl; do echo "$x (0);"; done`
16119 if { (eval echo configure:16120: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16121 glibcpp_cv_func_long_double_trig_use=yes
16123 echo "configure
: failed program was
:" >&5
16124 cat conftest.$ac_ext >&5
16126 glibcpp_cv_func_long_double_trig_use=no
16130 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16131 ac_cpp='$CPP $CPPFLAGS'
16132 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16133 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16134 cross_compiling=$ac_cv_prog_cc_cross
16138 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
16139 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
16140 for ac_func in acosl asinl atanl \
16144 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16145 echo "configure
:16146: checking
for $ac_func" >&5
16146 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16147 echo $ac_n "(cached
) $ac_c" 1>&6
16149 cat > conftest.$ac_ext <<EOF
16150 #line 16151 "configure
"
16151 #include "confdefs.h
"
16152 /* System header to define __stub macros and hopefully few prototypes,
16153 which can conflict with char $ac_func(); below. */
16154 #include <assert.h>
16155 /* Override any gcc2 internal prototype to avoid an error. */
16156 /* We use char because int might match the return type of a gcc2
16157 builtin and then its argument prototype would still apply. */
16162 /* The GNU C library defines this for functions which it implements
16163 to always fail with ENOSYS. Some functions are actually named
16164 something starting with __ and the normal name is an alias. */
16165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16173 if { (eval echo configure:16174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16175 eval "ac_cv_func_
$ac_func=yes"
16177 echo "configure
: failed program was
:" >&5
16178 cat conftest.$ac_ext >&5
16180 eval "ac_cv_func_
$ac_func=no
"
16185 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16186 echo "$ac_t""yes" 1>&6
16187 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16188 cat >> confdefs.h <<EOF
16189 #define $ac_tr_func 1
16193 echo "$ac_t""no
" 1>&6
16200 echo $ac_n "checking
for long double round functions
""...
$ac_c" 1>&6
16201 echo "configure
:16202: checking
for long double round functions
" >&5
16202 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
16203 echo $ac_n "(cached
) $ac_c" 1>&6
16208 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16209 ac_cpp='$CXXCPP $CPPFLAGS'
16210 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16211 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16212 cross_compiling=$ac_cv_prog_cxx_cross
16214 cat > conftest.$ac_ext <<EOF
16215 #line 16216 "configure
"
16216 #include "confdefs.h
"
16219 `for x in ceill floorl; do echo "$x (0);"; done`
16222 if { (eval echo configure:16223: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16224 glibcpp_cv_func_long_double_round_use=yes
16226 echo "configure
: failed program was
:" >&5
16227 cat conftest.$ac_ext >&5
16229 glibcpp_cv_func_long_double_round_use=no
16233 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16234 ac_cpp='$CPP $CPPFLAGS'
16235 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16236 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16237 cross_compiling=$ac_cv_prog_cc_cross
16241 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
16242 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
16243 for ac_func in ceill floorl
16245 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16246 echo "configure
:16247: checking
for $ac_func" >&5
16247 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16248 echo $ac_n "(cached
) $ac_c" 1>&6
16250 cat > conftest.$ac_ext <<EOF
16251 #line 16252 "configure
"
16252 #include "confdefs.h
"
16253 /* System header to define __stub macros and hopefully few prototypes,
16254 which can conflict with char $ac_func(); below. */
16255 #include <assert.h>
16256 /* Override any gcc2 internal prototype to avoid an error. */
16257 /* We use char because int might match the return type of a gcc2
16258 builtin and then its argument prototype would still apply. */
16263 /* The GNU C library defines this for functions which it implements
16264 to always fail with ENOSYS. Some functions are actually named
16265 something starting with __ and the normal name is an alias. */
16266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16274 if { (eval echo configure:16275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16276 eval "ac_cv_func_
$ac_func=yes"
16278 echo "configure
: failed program was
:" >&5
16279 cat conftest.$ac_ext >&5
16281 eval "ac_cv_func_
$ac_func=no
"
16286 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16287 echo "$ac_t""yes" 1>&6
16288 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16289 cat >> confdefs.h <<EOF
16290 #define $ac_tr_func 1
16294 echo "$ac_t""no
" 1>&6
16302 echo $ac_n "checking
for isnanl declaration
""...
$ac_c" 1>&6
16303 echo "configure
:16304: checking
for isnanl declaration
" >&5
16304 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
16305 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
16306 echo $ac_n "(cached
) $ac_c" 1>&6
16311 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16312 ac_cpp='$CXXCPP $CPPFLAGS'
16313 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16314 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16315 cross_compiling=$ac_cv_prog_cxx_cross
16317 cat > conftest.$ac_ext <<EOF
16318 #line 16319 "configure
"
16319 #include "confdefs.h
"
16321 #ifdef HAVE_IEEEFP_H
16322 #include <ieeefp.h>
16329 if { (eval echo configure:16330: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16331 glibcpp_cv_func_isnanl_use=yes
16333 echo "configure
: failed program was
:" >&5
16334 cat conftest.$ac_ext >&5
16336 glibcpp_cv_func_isnanl_use=no
16340 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16341 ac_cpp='$CPP $CPPFLAGS'
16342 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16343 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16344 cross_compiling=$ac_cv_prog_cc_cross
16350 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
16352 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
16353 for ac_func in isnanl
16355 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16356 echo "configure
:16357: checking
for $ac_func" >&5
16357 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16358 echo $ac_n "(cached
) $ac_c" 1>&6
16360 cat > conftest.$ac_ext <<EOF
16361 #line 16362 "configure
"
16362 #include "confdefs.h
"
16363 /* System header to define __stub macros and hopefully few prototypes,
16364 which can conflict with char $ac_func(); below. */
16365 #include <assert.h>
16366 /* Override any gcc2 internal prototype to avoid an error. */
16367 /* We use char because int might match the return type of a gcc2
16368 builtin and then its argument prototype would still apply. */
16373 /* The GNU C library defines this for functions which it implements
16374 to always fail with ENOSYS. Some functions are actually named
16375 something starting with __ and the normal name is an alias. */
16376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16384 if { (eval echo configure:16385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16386 eval "ac_cv_func_
$ac_func=yes"
16388 echo "configure
: failed program was
:" >&5
16389 cat conftest.$ac_ext >&5
16391 eval "ac_cv_func_
$ac_func=no
"
16396 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16397 echo "$ac_t""yes" 1>&6
16398 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16399 cat >> confdefs.h <<EOF
16400 #define $ac_tr_func 1
16404 echo "$ac_t""no
" 1>&6
16410 echo $ac_n "checking
for _isnanl declaration
""...
$ac_c" 1>&6
16411 echo "configure
:16412: checking
for _isnanl declaration
" >&5
16412 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
16413 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
16414 echo $ac_n "(cached
) $ac_c" 1>&6
16419 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16420 ac_cpp='$CXXCPP $CPPFLAGS'
16421 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16422 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16423 cross_compiling=$ac_cv_prog_cxx_cross
16425 cat > conftest.$ac_ext <<EOF
16426 #line 16427 "configure
"
16427 #include "confdefs.h
"
16429 #ifdef HAVE_IEEEFP_H
16430 #include <ieeefp.h>
16437 if { (eval echo configure:16438: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16439 glibcpp_cv_func__isnanl_use=yes
16441 echo "configure
: failed program was
:" >&5
16442 cat conftest.$ac_ext >&5
16444 glibcpp_cv_func__isnanl_use=no
16448 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16449 ac_cpp='$CPP $CPPFLAGS'
16450 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16451 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16452 cross_compiling=$ac_cv_prog_cc_cross
16458 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
16460 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
16461 for ac_func in _isnanl
16463 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16464 echo "configure
:16465: checking
for $ac_func" >&5
16465 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16466 echo $ac_n "(cached
) $ac_c" 1>&6
16468 cat > conftest.$ac_ext <<EOF
16469 #line 16470 "configure
"
16470 #include "confdefs.h
"
16471 /* System header to define __stub macros and hopefully few prototypes,
16472 which can conflict with char $ac_func(); below. */
16473 #include <assert.h>
16474 /* Override any gcc2 internal prototype to avoid an error. */
16475 /* We use char because int might match the return type of a gcc2
16476 builtin and then its argument prototype would still apply. */
16481 /* The GNU C library defines this for functions which it implements
16482 to always fail with ENOSYS. Some functions are actually named
16483 something starting with __ and the normal name is an alias. */
16484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16492 if { (eval echo configure:16493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16494 eval "ac_cv_func_
$ac_func=yes"
16496 echo "configure
: failed program was
:" >&5
16497 cat conftest.$ac_ext >&5
16499 eval "ac_cv_func_
$ac_func=no
"
16504 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16505 echo "$ac_t""yes" 1>&6
16506 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16507 cat >> confdefs.h <<EOF
16508 #define $ac_tr_func 1
16512 echo "$ac_t""no
" 1>&6
16521 echo $ac_n "checking
for isinfl declaration
""...
$ac_c" 1>&6
16522 echo "configure
:16523: checking
for isinfl declaration
" >&5
16523 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
16524 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
16525 echo $ac_n "(cached
) $ac_c" 1>&6
16530 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16531 ac_cpp='$CXXCPP $CPPFLAGS'
16532 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16533 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16534 cross_compiling=$ac_cv_prog_cxx_cross
16536 cat > conftest.$ac_ext <<EOF
16537 #line 16538 "configure
"
16538 #include "confdefs.h
"
16540 #ifdef HAVE_IEEEFP_H
16541 #include <ieeefp.h>
16548 if { (eval echo configure:16549: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16550 glibcpp_cv_func_isinfl_use=yes
16552 echo "configure
: failed program was
:" >&5
16553 cat conftest.$ac_ext >&5
16555 glibcpp_cv_func_isinfl_use=no
16559 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16560 ac_cpp='$CPP $CPPFLAGS'
16561 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16562 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16563 cross_compiling=$ac_cv_prog_cc_cross
16569 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
16571 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
16572 for ac_func in isinfl
16574 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16575 echo "configure
:16576: checking
for $ac_func" >&5
16576 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16577 echo $ac_n "(cached
) $ac_c" 1>&6
16579 cat > conftest.$ac_ext <<EOF
16580 #line 16581 "configure
"
16581 #include "confdefs.h
"
16582 /* System header to define __stub macros and hopefully few prototypes,
16583 which can conflict with char $ac_func(); below. */
16584 #include <assert.h>
16585 /* Override any gcc2 internal prototype to avoid an error. */
16586 /* We use char because int might match the return type of a gcc2
16587 builtin and then its argument prototype would still apply. */
16592 /* The GNU C library defines this for functions which it implements
16593 to always fail with ENOSYS. Some functions are actually named
16594 something starting with __ and the normal name is an alias. */
16595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16603 if { (eval echo configure:16604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16605 eval "ac_cv_func_
$ac_func=yes"
16607 echo "configure
: failed program was
:" >&5
16608 cat conftest.$ac_ext >&5
16610 eval "ac_cv_func_
$ac_func=no
"
16615 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16616 echo "$ac_t""yes" 1>&6
16617 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16618 cat >> confdefs.h <<EOF
16619 #define $ac_tr_func 1
16623 echo "$ac_t""no
" 1>&6
16629 echo $ac_n "checking
for _isinfl declaration
""...
$ac_c" 1>&6
16630 echo "configure
:16631: checking
for _isinfl declaration
" >&5
16631 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
16632 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
16633 echo $ac_n "(cached
) $ac_c" 1>&6
16638 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16639 ac_cpp='$CXXCPP $CPPFLAGS'
16640 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16641 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16642 cross_compiling=$ac_cv_prog_cxx_cross
16644 cat > conftest.$ac_ext <<EOF
16645 #line 16646 "configure
"
16646 #include "confdefs.h
"
16648 #ifdef HAVE_IEEEFP_H
16649 #include <ieeefp.h>
16656 if { (eval echo configure:16657: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16658 glibcpp_cv_func__isinfl_use=yes
16660 echo "configure
: failed program was
:" >&5
16661 cat conftest.$ac_ext >&5
16663 glibcpp_cv_func__isinfl_use=no
16667 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16668 ac_cpp='$CPP $CPPFLAGS'
16669 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16670 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16671 cross_compiling=$ac_cv_prog_cc_cross
16677 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
16679 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
16680 for ac_func in _isinfl
16682 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16683 echo "configure
:16684: checking
for $ac_func" >&5
16684 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16685 echo $ac_n "(cached
) $ac_c" 1>&6
16687 cat > conftest.$ac_ext <<EOF
16688 #line 16689 "configure
"
16689 #include "confdefs.h
"
16690 /* System header to define __stub macros and hopefully few prototypes,
16691 which can conflict with char $ac_func(); below. */
16692 #include <assert.h>
16693 /* Override any gcc2 internal prototype to avoid an error. */
16694 /* We use char because int might match the return type of a gcc2
16695 builtin and then its argument prototype would still apply. */
16700 /* The GNU C library defines this for functions which it implements
16701 to always fail with ENOSYS. Some functions are actually named
16702 something starting with __ and the normal name is an alias. */
16703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16711 if { (eval echo configure:16712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16713 eval "ac_cv_func_
$ac_func=yes"
16715 echo "configure
: failed program was
:" >&5
16716 cat conftest.$ac_ext >&5
16718 eval "ac_cv_func_
$ac_func=no
"
16723 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16724 echo "$ac_t""yes" 1>&6
16725 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16726 cat >> confdefs.h <<EOF
16727 #define $ac_tr_func 1
16731 echo "$ac_t""no
" 1>&6
16740 echo $ac_n "checking
for copysignl declaration
""...
$ac_c" 1>&6
16741 echo "configure
:16742: checking
for copysignl declaration
" >&5
16742 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
16743 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
16744 echo $ac_n "(cached
) $ac_c" 1>&6
16749 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16750 ac_cpp='$CXXCPP $CPPFLAGS'
16751 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16752 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16753 cross_compiling=$ac_cv_prog_cxx_cross
16755 cat > conftest.$ac_ext <<EOF
16756 #line 16757 "configure
"
16757 #include "confdefs.h
"
16763 if { (eval echo configure:16764: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16765 glibcpp_cv_func_copysignl_use=yes
16767 echo "configure
: failed program was
:" >&5
16768 cat conftest.$ac_ext >&5
16770 glibcpp_cv_func_copysignl_use=no
16774 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16775 ac_cpp='$CPP $CPPFLAGS'
16776 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16777 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16778 cross_compiling=$ac_cv_prog_cc_cross
16784 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
16786 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
16787 for ac_func in copysignl
16789 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16790 echo "configure
:16791: checking
for $ac_func" >&5
16791 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16792 echo $ac_n "(cached
) $ac_c" 1>&6
16794 cat > conftest.$ac_ext <<EOF
16795 #line 16796 "configure
"
16796 #include "confdefs.h
"
16797 /* System header to define __stub macros and hopefully few prototypes,
16798 which can conflict with char $ac_func(); below. */
16799 #include <assert.h>
16800 /* Override any gcc2 internal prototype to avoid an error. */
16801 /* We use char because int might match the return type of a gcc2
16802 builtin and then its argument prototype would still apply. */
16807 /* The GNU C library defines this for functions which it implements
16808 to always fail with ENOSYS. Some functions are actually named
16809 something starting with __ and the normal name is an alias. */
16810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16818 if { (eval echo configure:16819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16820 eval "ac_cv_func_
$ac_func=yes"
16822 echo "configure
: failed program was
:" >&5
16823 cat conftest.$ac_ext >&5
16825 eval "ac_cv_func_
$ac_func=no
"
16830 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16831 echo "$ac_t""yes" 1>&6
16832 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16833 cat >> confdefs.h <<EOF
16834 #define $ac_tr_func 1
16838 echo "$ac_t""no
" 1>&6
16844 echo $ac_n "checking
for _copysignl declaration
""...
$ac_c" 1>&6
16845 echo "configure
:16846: checking
for _copysignl declaration
" >&5
16846 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
16847 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
16848 echo $ac_n "(cached
) $ac_c" 1>&6
16853 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16854 ac_cpp='$CXXCPP $CPPFLAGS'
16855 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16856 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16857 cross_compiling=$ac_cv_prog_cxx_cross
16859 cat > conftest.$ac_ext <<EOF
16860 #line 16861 "configure
"
16861 #include "confdefs.h
"
16867 if { (eval echo configure:16868: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16869 glibcpp_cv_func__copysignl_use=yes
16871 echo "configure
: failed program was
:" >&5
16872 cat conftest.$ac_ext >&5
16874 glibcpp_cv_func__copysignl_use=no
16878 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16879 ac_cpp='$CPP $CPPFLAGS'
16880 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16881 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16882 cross_compiling=$ac_cv_prog_cc_cross
16888 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
16890 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
16891 for ac_func in _copysignl
16893 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16894 echo "configure
:16895: checking
for $ac_func" >&5
16895 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16896 echo $ac_n "(cached
) $ac_c" 1>&6
16898 cat > conftest.$ac_ext <<EOF
16899 #line 16900 "configure
"
16900 #include "confdefs.h
"
16901 /* System header to define __stub macros and hopefully few prototypes,
16902 which can conflict with char $ac_func(); below. */
16903 #include <assert.h>
16904 /* Override any gcc2 internal prototype to avoid an error. */
16905 /* We use char because int might match the return type of a gcc2
16906 builtin and then its argument prototype would still apply. */
16911 /* The GNU C library defines this for functions which it implements
16912 to always fail with ENOSYS. Some functions are actually named
16913 something starting with __ and the normal name is an alias. */
16914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16922 if { (eval echo configure:16923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16924 eval "ac_cv_func_
$ac_func=yes"
16926 echo "configure
: failed program was
:" >&5
16927 cat conftest.$ac_ext >&5
16929 eval "ac_cv_func_
$ac_func=no
"
16934 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16935 echo "$ac_t""yes" 1>&6
16936 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16937 cat >> confdefs.h <<EOF
16938 #define $ac_tr_func 1
16942 echo "$ac_t""no
" 1>&6
16951 echo $ac_n "checking
for atan2l declaration
""...
$ac_c" 1>&6
16952 echo "configure
:16953: checking
for atan2l declaration
" >&5
16953 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
16954 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
16955 echo $ac_n "(cached
) $ac_c" 1>&6
16960 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16961 ac_cpp='$CXXCPP $CPPFLAGS'
16962 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16963 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16964 cross_compiling=$ac_cv_prog_cxx_cross
16966 cat > conftest.$ac_ext <<EOF
16967 #line 16968 "configure
"
16968 #include "confdefs.h
"
16974 if { (eval echo configure:16975: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16976 glibcpp_cv_func_atan2l_use=yes
16978 echo "configure
: failed program was
:" >&5
16979 cat conftest.$ac_ext >&5
16981 glibcpp_cv_func_atan2l_use=no
16985 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16986 ac_cpp='$CPP $CPPFLAGS'
16987 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16988 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16989 cross_compiling=$ac_cv_prog_cc_cross
16995 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
16997 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
16998 for ac_func in atan2l
17000 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17001 echo "configure
:17002: checking
for $ac_func" >&5
17002 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17003 echo $ac_n "(cached
) $ac_c" 1>&6
17005 cat > conftest.$ac_ext <<EOF
17006 #line 17007 "configure
"
17007 #include "confdefs.h
"
17008 /* System header to define __stub macros and hopefully few prototypes,
17009 which can conflict with char $ac_func(); below. */
17010 #include <assert.h>
17011 /* Override any gcc2 internal prototype to avoid an error. */
17012 /* We use char because int might match the return type of a gcc2
17013 builtin and then its argument prototype would still apply. */
17018 /* The GNU C library defines this for functions which it implements
17019 to always fail with ENOSYS. Some functions are actually named
17020 something starting with __ and the normal name is an alias. */
17021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17029 if { (eval echo configure:17030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17031 eval "ac_cv_func_
$ac_func=yes"
17033 echo "configure
: failed program was
:" >&5
17034 cat conftest.$ac_ext >&5
17036 eval "ac_cv_func_
$ac_func=no
"
17041 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17042 echo "$ac_t""yes" 1>&6
17043 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17044 cat >> confdefs.h <<EOF
17045 #define $ac_tr_func 1
17049 echo "$ac_t""no
" 1>&6
17055 echo $ac_n "checking
for _atan2l declaration
""...
$ac_c" 1>&6
17056 echo "configure
:17057: checking
for _atan2l declaration
" >&5
17057 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
17058 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
17059 echo $ac_n "(cached
) $ac_c" 1>&6
17064 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17065 ac_cpp='$CXXCPP $CPPFLAGS'
17066 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17067 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17068 cross_compiling=$ac_cv_prog_cxx_cross
17070 cat > conftest.$ac_ext <<EOF
17071 #line 17072 "configure
"
17072 #include "confdefs.h
"
17078 if { (eval echo configure:17079: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17080 glibcpp_cv_func__atan2l_use=yes
17082 echo "configure
: failed program was
:" >&5
17083 cat conftest.$ac_ext >&5
17085 glibcpp_cv_func__atan2l_use=no
17089 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17090 ac_cpp='$CPP $CPPFLAGS'
17091 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17092 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17093 cross_compiling=$ac_cv_prog_cc_cross
17099 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
17101 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
17102 for ac_func in _atan2l
17104 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17105 echo "configure
:17106: checking
for $ac_func" >&5
17106 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17107 echo $ac_n "(cached
) $ac_c" 1>&6
17109 cat > conftest.$ac_ext <<EOF
17110 #line 17111 "configure
"
17111 #include "confdefs.h
"
17112 /* System header to define __stub macros and hopefully few prototypes,
17113 which can conflict with char $ac_func(); below. */
17114 #include <assert.h>
17115 /* Override any gcc2 internal prototype to avoid an error. */
17116 /* We use char because int might match the return type of a gcc2
17117 builtin and then its argument prototype would still apply. */
17122 /* The GNU C library defines this for functions which it implements
17123 to always fail with ENOSYS. Some functions are actually named
17124 something starting with __ and the normal name is an alias. */
17125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17133 if { (eval echo configure:17134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17135 eval "ac_cv_func_
$ac_func=yes"
17137 echo "configure
: failed program was
:" >&5
17138 cat conftest.$ac_ext >&5
17140 eval "ac_cv_func_
$ac_func=no
"
17145 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17146 echo "$ac_t""yes" 1>&6
17147 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17148 cat >> confdefs.h <<EOF
17149 #define $ac_tr_func 1
17153 echo "$ac_t""no
" 1>&6
17162 echo $ac_n "checking
for expl declaration
""...
$ac_c" 1>&6
17163 echo "configure
:17164: checking
for expl declaration
" >&5
17164 if test x${glibcpp_cv_func_expl_use+set} != xset; then
17165 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
17166 echo $ac_n "(cached
) $ac_c" 1>&6
17171 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17172 ac_cpp='$CXXCPP $CPPFLAGS'
17173 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17174 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17175 cross_compiling=$ac_cv_prog_cxx_cross
17177 cat > conftest.$ac_ext <<EOF
17178 #line 17179 "configure
"
17179 #include "confdefs.h
"
17181 #ifdef HAVE_IEEEFP_H
17182 #include <ieeefp.h>
17189 if { (eval echo configure:17190: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17191 glibcpp_cv_func_expl_use=yes
17193 echo "configure
: failed program was
:" >&5
17194 cat conftest.$ac_ext >&5
17196 glibcpp_cv_func_expl_use=no
17200 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17201 ac_cpp='$CPP $CPPFLAGS'
17202 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17203 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17204 cross_compiling=$ac_cv_prog_cc_cross
17210 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
17212 if test x$glibcpp_cv_func_expl_use = x"yes"; then
17213 for ac_func in expl
17215 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17216 echo "configure
:17217: checking
for $ac_func" >&5
17217 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17218 echo $ac_n "(cached
) $ac_c" 1>&6
17220 cat > conftest.$ac_ext <<EOF
17221 #line 17222 "configure
"
17222 #include "confdefs.h
"
17223 /* System header to define __stub macros and hopefully few prototypes,
17224 which can conflict with char $ac_func(); below. */
17225 #include <assert.h>
17226 /* Override any gcc2 internal prototype to avoid an error. */
17227 /* We use char because int might match the return type of a gcc2
17228 builtin and then its argument prototype would still apply. */
17233 /* The GNU C library defines this for functions which it implements
17234 to always fail with ENOSYS. Some functions are actually named
17235 something starting with __ and the normal name is an alias. */
17236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17244 if { (eval echo configure:17245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17246 eval "ac_cv_func_
$ac_func=yes"
17248 echo "configure
: failed program was
:" >&5
17249 cat conftest.$ac_ext >&5
17251 eval "ac_cv_func_
$ac_func=no
"
17256 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17257 echo "$ac_t""yes" 1>&6
17258 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17259 cat >> confdefs.h <<EOF
17260 #define $ac_tr_func 1
17264 echo "$ac_t""no
" 1>&6
17270 echo $ac_n "checking
for _expl declaration
""...
$ac_c" 1>&6
17271 echo "configure
:17272: checking
for _expl declaration
" >&5
17272 if test x${glibcpp_cv_func__expl_use+set} != xset; then
17273 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
17274 echo $ac_n "(cached
) $ac_c" 1>&6
17279 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17280 ac_cpp='$CXXCPP $CPPFLAGS'
17281 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17282 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17283 cross_compiling=$ac_cv_prog_cxx_cross
17285 cat > conftest.$ac_ext <<EOF
17286 #line 17287 "configure
"
17287 #include "confdefs.h
"
17289 #ifdef HAVE_IEEEFP_H
17290 #include <ieeefp.h>
17297 if { (eval echo configure:17298: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17299 glibcpp_cv_func__expl_use=yes
17301 echo "configure
: failed program was
:" >&5
17302 cat conftest.$ac_ext >&5
17304 glibcpp_cv_func__expl_use=no
17308 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17309 ac_cpp='$CPP $CPPFLAGS'
17310 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17311 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17312 cross_compiling=$ac_cv_prog_cc_cross
17318 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
17320 if test x$glibcpp_cv_func__expl_use = x"yes"; then
17321 for ac_func in _expl
17323 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17324 echo "configure
:17325: checking
for $ac_func" >&5
17325 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17326 echo $ac_n "(cached
) $ac_c" 1>&6
17328 cat > conftest.$ac_ext <<EOF
17329 #line 17330 "configure
"
17330 #include "confdefs.h
"
17331 /* System header to define __stub macros and hopefully few prototypes,
17332 which can conflict with char $ac_func(); below. */
17333 #include <assert.h>
17334 /* Override any gcc2 internal prototype to avoid an error. */
17335 /* We use char because int might match the return type of a gcc2
17336 builtin and then its argument prototype would still apply. */
17341 /* The GNU C library defines this for functions which it implements
17342 to always fail with ENOSYS. Some functions are actually named
17343 something starting with __ and the normal name is an alias. */
17344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17352 if { (eval echo configure:17353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17354 eval "ac_cv_func_
$ac_func=yes"
17356 echo "configure
: failed program was
:" >&5
17357 cat conftest.$ac_ext >&5
17359 eval "ac_cv_func_
$ac_func=no
"
17364 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17365 echo "$ac_t""yes" 1>&6
17366 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17367 cat >> confdefs.h <<EOF
17368 #define $ac_tr_func 1
17372 echo "$ac_t""no
" 1>&6
17381 echo $ac_n "checking
for fabsl declaration
""...
$ac_c" 1>&6
17382 echo "configure
:17383: checking
for fabsl declaration
" >&5
17383 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
17384 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
17385 echo $ac_n "(cached
) $ac_c" 1>&6
17390 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17391 ac_cpp='$CXXCPP $CPPFLAGS'
17392 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17393 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17394 cross_compiling=$ac_cv_prog_cxx_cross
17396 cat > conftest.$ac_ext <<EOF
17397 #line 17398 "configure
"
17398 #include "confdefs.h
"
17400 #ifdef HAVE_IEEEFP_H
17401 #include <ieeefp.h>
17408 if { (eval echo configure:17409: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17410 glibcpp_cv_func_fabsl_use=yes
17412 echo "configure
: failed program was
:" >&5
17413 cat conftest.$ac_ext >&5
17415 glibcpp_cv_func_fabsl_use=no
17419 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17420 ac_cpp='$CPP $CPPFLAGS'
17421 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17422 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17423 cross_compiling=$ac_cv_prog_cc_cross
17429 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
17431 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
17432 for ac_func in fabsl
17434 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17435 echo "configure
:17436: checking
for $ac_func" >&5
17436 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17437 echo $ac_n "(cached
) $ac_c" 1>&6
17439 cat > conftest.$ac_ext <<EOF
17440 #line 17441 "configure
"
17441 #include "confdefs.h
"
17442 /* System header to define __stub macros and hopefully few prototypes,
17443 which can conflict with char $ac_func(); below. */
17444 #include <assert.h>
17445 /* Override any gcc2 internal prototype to avoid an error. */
17446 /* We use char because int might match the return type of a gcc2
17447 builtin and then its argument prototype would still apply. */
17452 /* The GNU C library defines this for functions which it implements
17453 to always fail with ENOSYS. Some functions are actually named
17454 something starting with __ and the normal name is an alias. */
17455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17463 if { (eval echo configure:17464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17465 eval "ac_cv_func_
$ac_func=yes"
17467 echo "configure
: failed program was
:" >&5
17468 cat conftest.$ac_ext >&5
17470 eval "ac_cv_func_
$ac_func=no
"
17475 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17476 echo "$ac_t""yes" 1>&6
17477 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17478 cat >> confdefs.h <<EOF
17479 #define $ac_tr_func 1
17483 echo "$ac_t""no
" 1>&6
17489 echo $ac_n "checking
for _fabsl declaration
""...
$ac_c" 1>&6
17490 echo "configure
:17491: checking
for _fabsl declaration
" >&5
17491 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
17492 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
17493 echo $ac_n "(cached
) $ac_c" 1>&6
17498 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17499 ac_cpp='$CXXCPP $CPPFLAGS'
17500 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17501 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17502 cross_compiling=$ac_cv_prog_cxx_cross
17504 cat > conftest.$ac_ext <<EOF
17505 #line 17506 "configure
"
17506 #include "confdefs.h
"
17508 #ifdef HAVE_IEEEFP_H
17509 #include <ieeefp.h>
17516 if { (eval echo configure:17517: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17518 glibcpp_cv_func__fabsl_use=yes
17520 echo "configure
: failed program was
:" >&5
17521 cat conftest.$ac_ext >&5
17523 glibcpp_cv_func__fabsl_use=no
17527 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17528 ac_cpp='$CPP $CPPFLAGS'
17529 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17530 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17531 cross_compiling=$ac_cv_prog_cc_cross
17537 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
17539 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
17540 for ac_func in _fabsl
17542 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17543 echo "configure
:17544: checking
for $ac_func" >&5
17544 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17545 echo $ac_n "(cached
) $ac_c" 1>&6
17547 cat > conftest.$ac_ext <<EOF
17548 #line 17549 "configure
"
17549 #include "confdefs.h
"
17550 /* System header to define __stub macros and hopefully few prototypes,
17551 which can conflict with char $ac_func(); below. */
17552 #include <assert.h>
17553 /* Override any gcc2 internal prototype to avoid an error. */
17554 /* We use char because int might match the return type of a gcc2
17555 builtin and then its argument prototype would still apply. */
17560 /* The GNU C library defines this for functions which it implements
17561 to always fail with ENOSYS. Some functions are actually named
17562 something starting with __ and the normal name is an alias. */
17563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17571 if { (eval echo configure:17572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17573 eval "ac_cv_func_
$ac_func=yes"
17575 echo "configure
: failed program was
:" >&5
17576 cat conftest.$ac_ext >&5
17578 eval "ac_cv_func_
$ac_func=no
"
17583 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17584 echo "$ac_t""yes" 1>&6
17585 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17586 cat >> confdefs.h <<EOF
17587 #define $ac_tr_func 1
17591 echo "$ac_t""no
" 1>&6
17600 echo $ac_n "checking
for fmodl declaration
""...
$ac_c" 1>&6
17601 echo "configure
:17602: checking
for fmodl declaration
" >&5
17602 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
17603 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
17604 echo $ac_n "(cached
) $ac_c" 1>&6
17609 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17610 ac_cpp='$CXXCPP $CPPFLAGS'
17611 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17612 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17613 cross_compiling=$ac_cv_prog_cxx_cross
17615 cat > conftest.$ac_ext <<EOF
17616 #line 17617 "configure
"
17617 #include "confdefs.h
"
17623 if { (eval echo configure:17624: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17625 glibcpp_cv_func_fmodl_use=yes
17627 echo "configure
: failed program was
:" >&5
17628 cat conftest.$ac_ext >&5
17630 glibcpp_cv_func_fmodl_use=no
17634 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17635 ac_cpp='$CPP $CPPFLAGS'
17636 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17637 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17638 cross_compiling=$ac_cv_prog_cc_cross
17644 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
17646 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
17647 for ac_func in fmodl
17649 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17650 echo "configure
:17651: checking
for $ac_func" >&5
17651 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17652 echo $ac_n "(cached
) $ac_c" 1>&6
17654 cat > conftest.$ac_ext <<EOF
17655 #line 17656 "configure
"
17656 #include "confdefs.h
"
17657 /* System header to define __stub macros and hopefully few prototypes,
17658 which can conflict with char $ac_func(); below. */
17659 #include <assert.h>
17660 /* Override any gcc2 internal prototype to avoid an error. */
17661 /* We use char because int might match the return type of a gcc2
17662 builtin and then its argument prototype would still apply. */
17667 /* The GNU C library defines this for functions which it implements
17668 to always fail with ENOSYS. Some functions are actually named
17669 something starting with __ and the normal name is an alias. */
17670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17678 if { (eval echo configure:17679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17680 eval "ac_cv_func_
$ac_func=yes"
17682 echo "configure
: failed program was
:" >&5
17683 cat conftest.$ac_ext >&5
17685 eval "ac_cv_func_
$ac_func=no
"
17690 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17691 echo "$ac_t""yes" 1>&6
17692 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17693 cat >> confdefs.h <<EOF
17694 #define $ac_tr_func 1
17698 echo "$ac_t""no
" 1>&6
17704 echo $ac_n "checking
for _fmodl declaration
""...
$ac_c" 1>&6
17705 echo "configure
:17706: checking
for _fmodl declaration
" >&5
17706 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
17707 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
17708 echo $ac_n "(cached
) $ac_c" 1>&6
17713 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17714 ac_cpp='$CXXCPP $CPPFLAGS'
17715 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17716 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17717 cross_compiling=$ac_cv_prog_cxx_cross
17719 cat > conftest.$ac_ext <<EOF
17720 #line 17721 "configure
"
17721 #include "confdefs.h
"
17727 if { (eval echo configure:17728: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17729 glibcpp_cv_func__fmodl_use=yes
17731 echo "configure
: failed program was
:" >&5
17732 cat conftest.$ac_ext >&5
17734 glibcpp_cv_func__fmodl_use=no
17738 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17739 ac_cpp='$CPP $CPPFLAGS'
17740 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17741 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17742 cross_compiling=$ac_cv_prog_cc_cross
17748 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
17750 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
17751 for ac_func in _fmodl
17753 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17754 echo "configure
:17755: checking
for $ac_func" >&5
17755 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17756 echo $ac_n "(cached
) $ac_c" 1>&6
17758 cat > conftest.$ac_ext <<EOF
17759 #line 17760 "configure
"
17760 #include "confdefs.h
"
17761 /* System header to define __stub macros and hopefully few prototypes,
17762 which can conflict with char $ac_func(); below. */
17763 #include <assert.h>
17764 /* Override any gcc2 internal prototype to avoid an error. */
17765 /* We use char because int might match the return type of a gcc2
17766 builtin and then its argument prototype would still apply. */
17771 /* The GNU C library defines this for functions which it implements
17772 to always fail with ENOSYS. Some functions are actually named
17773 something starting with __ and the normal name is an alias. */
17774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17782 if { (eval echo configure:17783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17784 eval "ac_cv_func_
$ac_func=yes"
17786 echo "configure
: failed program was
:" >&5
17787 cat conftest.$ac_ext >&5
17789 eval "ac_cv_func_
$ac_func=no
"
17794 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17795 echo "$ac_t""yes" 1>&6
17796 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17797 cat >> confdefs.h <<EOF
17798 #define $ac_tr_func 1
17802 echo "$ac_t""no
" 1>&6
17811 echo $ac_n "checking
for frexpl declaration
""...
$ac_c" 1>&6
17812 echo "configure
:17813: checking
for frexpl declaration
" >&5
17813 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
17814 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
17815 echo $ac_n "(cached
) $ac_c" 1>&6
17820 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17821 ac_cpp='$CXXCPP $CPPFLAGS'
17822 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17823 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17824 cross_compiling=$ac_cv_prog_cxx_cross
17826 cat > conftest.$ac_ext <<EOF
17827 #line 17828 "configure
"
17828 #include "confdefs.h
"
17834 if { (eval echo configure:17835: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17836 glibcpp_cv_func_frexpl_use=yes
17838 echo "configure
: failed program was
:" >&5
17839 cat conftest.$ac_ext >&5
17841 glibcpp_cv_func_frexpl_use=no
17845 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17846 ac_cpp='$CPP $CPPFLAGS'
17847 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17848 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17849 cross_compiling=$ac_cv_prog_cc_cross
17855 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
17857 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
17858 for ac_func in frexpl
17860 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17861 echo "configure
:17862: checking
for $ac_func" >&5
17862 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17863 echo $ac_n "(cached
) $ac_c" 1>&6
17865 cat > conftest.$ac_ext <<EOF
17866 #line 17867 "configure
"
17867 #include "confdefs.h
"
17868 /* System header to define __stub macros and hopefully few prototypes,
17869 which can conflict with char $ac_func(); below. */
17870 #include <assert.h>
17871 /* Override any gcc2 internal prototype to avoid an error. */
17872 /* We use char because int might match the return type of a gcc2
17873 builtin and then its argument prototype would still apply. */
17878 /* The GNU C library defines this for functions which it implements
17879 to always fail with ENOSYS. Some functions are actually named
17880 something starting with __ and the normal name is an alias. */
17881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17889 if { (eval echo configure:17890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17891 eval "ac_cv_func_
$ac_func=yes"
17893 echo "configure
: failed program was
:" >&5
17894 cat conftest.$ac_ext >&5
17896 eval "ac_cv_func_
$ac_func=no
"
17901 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17902 echo "$ac_t""yes" 1>&6
17903 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17904 cat >> confdefs.h <<EOF
17905 #define $ac_tr_func 1
17909 echo "$ac_t""no
" 1>&6
17915 echo $ac_n "checking
for _frexpl declaration
""...
$ac_c" 1>&6
17916 echo "configure
:17917: checking
for _frexpl declaration
" >&5
17917 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
17918 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
17919 echo $ac_n "(cached
) $ac_c" 1>&6
17924 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17925 ac_cpp='$CXXCPP $CPPFLAGS'
17926 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17927 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17928 cross_compiling=$ac_cv_prog_cxx_cross
17930 cat > conftest.$ac_ext <<EOF
17931 #line 17932 "configure
"
17932 #include "confdefs.h
"
17938 if { (eval echo configure:17939: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17940 glibcpp_cv_func__frexpl_use=yes
17942 echo "configure
: failed program was
:" >&5
17943 cat conftest.$ac_ext >&5
17945 glibcpp_cv_func__frexpl_use=no
17949 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17950 ac_cpp='$CPP $CPPFLAGS'
17951 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17952 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17953 cross_compiling=$ac_cv_prog_cc_cross
17959 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
17961 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
17962 for ac_func in _frexpl
17964 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17965 echo "configure
:17966: checking
for $ac_func" >&5
17966 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17967 echo $ac_n "(cached
) $ac_c" 1>&6
17969 cat > conftest.$ac_ext <<EOF
17970 #line 17971 "configure
"
17971 #include "confdefs.h
"
17972 /* System header to define __stub macros and hopefully few prototypes,
17973 which can conflict with char $ac_func(); below. */
17974 #include <assert.h>
17975 /* Override any gcc2 internal prototype to avoid an error. */
17976 /* We use char because int might match the return type of a gcc2
17977 builtin and then its argument prototype would still apply. */
17982 /* The GNU C library defines this for functions which it implements
17983 to always fail with ENOSYS. Some functions are actually named
17984 something starting with __ and the normal name is an alias. */
17985 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17993 if { (eval echo configure:17994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17995 eval "ac_cv_func_
$ac_func=yes"
17997 echo "configure
: failed program was
:" >&5
17998 cat conftest.$ac_ext >&5
18000 eval "ac_cv_func_
$ac_func=no
"
18005 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18006 echo "$ac_t""yes" 1>&6
18007 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18008 cat >> confdefs.h <<EOF
18009 #define $ac_tr_func 1
18013 echo "$ac_t""no
" 1>&6
18022 echo $ac_n "checking
for hypotl declaration
""...
$ac_c" 1>&6
18023 echo "configure
:18024: checking
for hypotl declaration
" >&5
18024 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
18025 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
18026 echo $ac_n "(cached
) $ac_c" 1>&6
18031 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18032 ac_cpp='$CXXCPP $CPPFLAGS'
18033 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18034 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18035 cross_compiling=$ac_cv_prog_cxx_cross
18037 cat > conftest.$ac_ext <<EOF
18038 #line 18039 "configure
"
18039 #include "confdefs.h
"
18045 if { (eval echo configure:18046: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18047 glibcpp_cv_func_hypotl_use=yes
18049 echo "configure
: failed program was
:" >&5
18050 cat conftest.$ac_ext >&5
18052 glibcpp_cv_func_hypotl_use=no
18056 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18057 ac_cpp='$CPP $CPPFLAGS'
18058 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18059 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18060 cross_compiling=$ac_cv_prog_cc_cross
18066 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
18068 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
18069 for ac_func in hypotl
18071 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18072 echo "configure
:18073: checking
for $ac_func" >&5
18073 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18074 echo $ac_n "(cached
) $ac_c" 1>&6
18076 cat > conftest.$ac_ext <<EOF
18077 #line 18078 "configure
"
18078 #include "confdefs.h
"
18079 /* System header to define __stub macros and hopefully few prototypes,
18080 which can conflict with char $ac_func(); below. */
18081 #include <assert.h>
18082 /* Override any gcc2 internal prototype to avoid an error. */
18083 /* We use char because int might match the return type of a gcc2
18084 builtin and then its argument prototype would still apply. */
18089 /* The GNU C library defines this for functions which it implements
18090 to always fail with ENOSYS. Some functions are actually named
18091 something starting with __ and the normal name is an alias. */
18092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18100 if { (eval echo configure:18101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18102 eval "ac_cv_func_
$ac_func=yes"
18104 echo "configure
: failed program was
:" >&5
18105 cat conftest.$ac_ext >&5
18107 eval "ac_cv_func_
$ac_func=no
"
18112 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18113 echo "$ac_t""yes" 1>&6
18114 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18115 cat >> confdefs.h <<EOF
18116 #define $ac_tr_func 1
18120 echo "$ac_t""no
" 1>&6
18126 echo $ac_n "checking
for _hypotl declaration
""...
$ac_c" 1>&6
18127 echo "configure
:18128: checking
for _hypotl declaration
" >&5
18128 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
18129 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
18130 echo $ac_n "(cached
) $ac_c" 1>&6
18135 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18136 ac_cpp='$CXXCPP $CPPFLAGS'
18137 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18138 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18139 cross_compiling=$ac_cv_prog_cxx_cross
18141 cat > conftest.$ac_ext <<EOF
18142 #line 18143 "configure
"
18143 #include "confdefs.h
"
18149 if { (eval echo configure:18150: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18151 glibcpp_cv_func__hypotl_use=yes
18153 echo "configure
: failed program was
:" >&5
18154 cat conftest.$ac_ext >&5
18156 glibcpp_cv_func__hypotl_use=no
18160 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18161 ac_cpp='$CPP $CPPFLAGS'
18162 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18163 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18164 cross_compiling=$ac_cv_prog_cc_cross
18170 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
18172 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
18173 for ac_func in _hypotl
18175 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18176 echo "configure
:18177: checking
for $ac_func" >&5
18177 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18178 echo $ac_n "(cached
) $ac_c" 1>&6
18180 cat > conftest.$ac_ext <<EOF
18181 #line 18182 "configure
"
18182 #include "confdefs.h
"
18183 /* System header to define __stub macros and hopefully few prototypes,
18184 which can conflict with char $ac_func(); below. */
18185 #include <assert.h>
18186 /* Override any gcc2 internal prototype to avoid an error. */
18187 /* We use char because int might match the return type of a gcc2
18188 builtin and then its argument prototype would still apply. */
18193 /* The GNU C library defines this for functions which it implements
18194 to always fail with ENOSYS. Some functions are actually named
18195 something starting with __ and the normal name is an alias. */
18196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18204 if { (eval echo configure:18205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18206 eval "ac_cv_func_
$ac_func=yes"
18208 echo "configure
: failed program was
:" >&5
18209 cat conftest.$ac_ext >&5
18211 eval "ac_cv_func_
$ac_func=no
"
18216 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18217 echo "$ac_t""yes" 1>&6
18218 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18219 cat >> confdefs.h <<EOF
18220 #define $ac_tr_func 1
18224 echo "$ac_t""no
" 1>&6
18233 echo $ac_n "checking
for ldexpl declaration
""...
$ac_c" 1>&6
18234 echo "configure
:18235: checking
for ldexpl declaration
" >&5
18235 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
18236 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
18237 echo $ac_n "(cached
) $ac_c" 1>&6
18242 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18243 ac_cpp='$CXXCPP $CPPFLAGS'
18244 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18245 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18246 cross_compiling=$ac_cv_prog_cxx_cross
18248 cat > conftest.$ac_ext <<EOF
18249 #line 18250 "configure
"
18250 #include "confdefs.h
"
18256 if { (eval echo configure:18257: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18258 glibcpp_cv_func_ldexpl_use=yes
18260 echo "configure
: failed program was
:" >&5
18261 cat conftest.$ac_ext >&5
18263 glibcpp_cv_func_ldexpl_use=no
18267 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18268 ac_cpp='$CPP $CPPFLAGS'
18269 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18270 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18271 cross_compiling=$ac_cv_prog_cc_cross
18277 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
18279 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
18280 for ac_func in ldexpl
18282 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18283 echo "configure
:18284: checking
for $ac_func" >&5
18284 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18285 echo $ac_n "(cached
) $ac_c" 1>&6
18287 cat > conftest.$ac_ext <<EOF
18288 #line 18289 "configure
"
18289 #include "confdefs.h
"
18290 /* System header to define __stub macros and hopefully few prototypes,
18291 which can conflict with char $ac_func(); below. */
18292 #include <assert.h>
18293 /* Override any gcc2 internal prototype to avoid an error. */
18294 /* We use char because int might match the return type of a gcc2
18295 builtin and then its argument prototype would still apply. */
18300 /* The GNU C library defines this for functions which it implements
18301 to always fail with ENOSYS. Some functions are actually named
18302 something starting with __ and the normal name is an alias. */
18303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18311 if { (eval echo configure:18312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18313 eval "ac_cv_func_
$ac_func=yes"
18315 echo "configure
: failed program was
:" >&5
18316 cat conftest.$ac_ext >&5
18318 eval "ac_cv_func_
$ac_func=no
"
18323 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18324 echo "$ac_t""yes" 1>&6
18325 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18326 cat >> confdefs.h <<EOF
18327 #define $ac_tr_func 1
18331 echo "$ac_t""no
" 1>&6
18337 echo $ac_n "checking
for _ldexpl declaration
""...
$ac_c" 1>&6
18338 echo "configure
:18339: checking
for _ldexpl declaration
" >&5
18339 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
18340 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
18341 echo $ac_n "(cached
) $ac_c" 1>&6
18346 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18347 ac_cpp='$CXXCPP $CPPFLAGS'
18348 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18349 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18350 cross_compiling=$ac_cv_prog_cxx_cross
18352 cat > conftest.$ac_ext <<EOF
18353 #line 18354 "configure
"
18354 #include "confdefs.h
"
18360 if { (eval echo configure:18361: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18362 glibcpp_cv_func__ldexpl_use=yes
18364 echo "configure
: failed program was
:" >&5
18365 cat conftest.$ac_ext >&5
18367 glibcpp_cv_func__ldexpl_use=no
18371 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18372 ac_cpp='$CPP $CPPFLAGS'
18373 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18374 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18375 cross_compiling=$ac_cv_prog_cc_cross
18381 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
18383 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
18384 for ac_func in _ldexpl
18386 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18387 echo "configure
:18388: checking
for $ac_func" >&5
18388 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18389 echo $ac_n "(cached
) $ac_c" 1>&6
18391 cat > conftest.$ac_ext <<EOF
18392 #line 18393 "configure
"
18393 #include "confdefs.h
"
18394 /* System header to define __stub macros and hopefully few prototypes,
18395 which can conflict with char $ac_func(); below. */
18396 #include <assert.h>
18397 /* Override any gcc2 internal prototype to avoid an error. */
18398 /* We use char because int might match the return type of a gcc2
18399 builtin and then its argument prototype would still apply. */
18404 /* The GNU C library defines this for functions which it implements
18405 to always fail with ENOSYS. Some functions are actually named
18406 something starting with __ and the normal name is an alias. */
18407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18415 if { (eval echo configure:18416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18417 eval "ac_cv_func_
$ac_func=yes"
18419 echo "configure
: failed program was
:" >&5
18420 cat conftest.$ac_ext >&5
18422 eval "ac_cv_func_
$ac_func=no
"
18427 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18428 echo "$ac_t""yes" 1>&6
18429 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18430 cat >> confdefs.h <<EOF
18431 #define $ac_tr_func 1
18435 echo "$ac_t""no
" 1>&6
18444 echo $ac_n "checking
for logl declaration
""...
$ac_c" 1>&6
18445 echo "configure
:18446: checking
for logl declaration
" >&5
18446 if test x${glibcpp_cv_func_logl_use+set} != xset; then
18447 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
18448 echo $ac_n "(cached
) $ac_c" 1>&6
18453 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18454 ac_cpp='$CXXCPP $CPPFLAGS'
18455 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18456 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18457 cross_compiling=$ac_cv_prog_cxx_cross
18459 cat > conftest.$ac_ext <<EOF
18460 #line 18461 "configure
"
18461 #include "confdefs.h
"
18463 #ifdef HAVE_IEEEFP_H
18464 #include <ieeefp.h>
18471 if { (eval echo configure:18472: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18473 glibcpp_cv_func_logl_use=yes
18475 echo "configure
: failed program was
:" >&5
18476 cat conftest.$ac_ext >&5
18478 glibcpp_cv_func_logl_use=no
18482 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18483 ac_cpp='$CPP $CPPFLAGS'
18484 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18485 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18486 cross_compiling=$ac_cv_prog_cc_cross
18492 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
18494 if test x$glibcpp_cv_func_logl_use = x"yes"; then
18495 for ac_func in logl
18497 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18498 echo "configure
:18499: checking
for $ac_func" >&5
18499 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18500 echo $ac_n "(cached
) $ac_c" 1>&6
18502 cat > conftest.$ac_ext <<EOF
18503 #line 18504 "configure
"
18504 #include "confdefs.h
"
18505 /* System header to define __stub macros and hopefully few prototypes,
18506 which can conflict with char $ac_func(); below. */
18507 #include <assert.h>
18508 /* Override any gcc2 internal prototype to avoid an error. */
18509 /* We use char because int might match the return type of a gcc2
18510 builtin and then its argument prototype would still apply. */
18515 /* The GNU C library defines this for functions which it implements
18516 to always fail with ENOSYS. Some functions are actually named
18517 something starting with __ and the normal name is an alias. */
18518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18526 if { (eval echo configure:18527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18528 eval "ac_cv_func_
$ac_func=yes"
18530 echo "configure
: failed program was
:" >&5
18531 cat conftest.$ac_ext >&5
18533 eval "ac_cv_func_
$ac_func=no
"
18538 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18539 echo "$ac_t""yes" 1>&6
18540 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18541 cat >> confdefs.h <<EOF
18542 #define $ac_tr_func 1
18546 echo "$ac_t""no
" 1>&6
18552 echo $ac_n "checking
for _logl declaration
""...
$ac_c" 1>&6
18553 echo "configure
:18554: checking
for _logl declaration
" >&5
18554 if test x${glibcpp_cv_func__logl_use+set} != xset; then
18555 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
18556 echo $ac_n "(cached
) $ac_c" 1>&6
18561 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18562 ac_cpp='$CXXCPP $CPPFLAGS'
18563 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18564 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18565 cross_compiling=$ac_cv_prog_cxx_cross
18567 cat > conftest.$ac_ext <<EOF
18568 #line 18569 "configure
"
18569 #include "confdefs.h
"
18571 #ifdef HAVE_IEEEFP_H
18572 #include <ieeefp.h>
18579 if { (eval echo configure:18580: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18581 glibcpp_cv_func__logl_use=yes
18583 echo "configure
: failed program was
:" >&5
18584 cat conftest.$ac_ext >&5
18586 glibcpp_cv_func__logl_use=no
18590 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18591 ac_cpp='$CPP $CPPFLAGS'
18592 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18593 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18594 cross_compiling=$ac_cv_prog_cc_cross
18600 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
18602 if test x$glibcpp_cv_func__logl_use = x"yes"; then
18603 for ac_func in _logl
18605 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18606 echo "configure
:18607: checking
for $ac_func" >&5
18607 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18608 echo $ac_n "(cached
) $ac_c" 1>&6
18610 cat > conftest.$ac_ext <<EOF
18611 #line 18612 "configure
"
18612 #include "confdefs.h
"
18613 /* System header to define __stub macros and hopefully few prototypes,
18614 which can conflict with char $ac_func(); below. */
18615 #include <assert.h>
18616 /* Override any gcc2 internal prototype to avoid an error. */
18617 /* We use char because int might match the return type of a gcc2
18618 builtin and then its argument prototype would still apply. */
18623 /* The GNU C library defines this for functions which it implements
18624 to always fail with ENOSYS. Some functions are actually named
18625 something starting with __ and the normal name is an alias. */
18626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18634 if { (eval echo configure:18635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18636 eval "ac_cv_func_
$ac_func=yes"
18638 echo "configure
: failed program was
:" >&5
18639 cat conftest.$ac_ext >&5
18641 eval "ac_cv_func_
$ac_func=no
"
18646 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18647 echo "$ac_t""yes" 1>&6
18648 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18649 cat >> confdefs.h <<EOF
18650 #define $ac_tr_func 1
18654 echo "$ac_t""no
" 1>&6
18663 echo $ac_n "checking
for log10l declaration
""...
$ac_c" 1>&6
18664 echo "configure
:18665: checking
for log10l declaration
" >&5
18665 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
18666 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
18667 echo $ac_n "(cached
) $ac_c" 1>&6
18672 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18673 ac_cpp='$CXXCPP $CPPFLAGS'
18674 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18675 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18676 cross_compiling=$ac_cv_prog_cxx_cross
18678 cat > conftest.$ac_ext <<EOF
18679 #line 18680 "configure
"
18680 #include "confdefs.h
"
18682 #ifdef HAVE_IEEEFP_H
18683 #include <ieeefp.h>
18690 if { (eval echo configure:18691: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18692 glibcpp_cv_func_log10l_use=yes
18694 echo "configure
: failed program was
:" >&5
18695 cat conftest.$ac_ext >&5
18697 glibcpp_cv_func_log10l_use=no
18701 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18702 ac_cpp='$CPP $CPPFLAGS'
18703 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18704 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18705 cross_compiling=$ac_cv_prog_cc_cross
18711 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
18713 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
18714 for ac_func in log10l
18716 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18717 echo "configure
:18718: checking
for $ac_func" >&5
18718 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18719 echo $ac_n "(cached
) $ac_c" 1>&6
18721 cat > conftest.$ac_ext <<EOF
18722 #line 18723 "configure
"
18723 #include "confdefs.h
"
18724 /* System header to define __stub macros and hopefully few prototypes,
18725 which can conflict with char $ac_func(); below. */
18726 #include <assert.h>
18727 /* Override any gcc2 internal prototype to avoid an error. */
18728 /* We use char because int might match the return type of a gcc2
18729 builtin and then its argument prototype would still apply. */
18734 /* The GNU C library defines this for functions which it implements
18735 to always fail with ENOSYS. Some functions are actually named
18736 something starting with __ and the normal name is an alias. */
18737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18745 if { (eval echo configure:18746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18747 eval "ac_cv_func_
$ac_func=yes"
18749 echo "configure
: failed program was
:" >&5
18750 cat conftest.$ac_ext >&5
18752 eval "ac_cv_func_
$ac_func=no
"
18757 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18758 echo "$ac_t""yes" 1>&6
18759 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18760 cat >> confdefs.h <<EOF
18761 #define $ac_tr_func 1
18765 echo "$ac_t""no
" 1>&6
18771 echo $ac_n "checking
for _log10l declaration
""...
$ac_c" 1>&6
18772 echo "configure
:18773: checking
for _log10l declaration
" >&5
18773 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
18774 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
18775 echo $ac_n "(cached
) $ac_c" 1>&6
18780 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18781 ac_cpp='$CXXCPP $CPPFLAGS'
18782 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18783 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18784 cross_compiling=$ac_cv_prog_cxx_cross
18786 cat > conftest.$ac_ext <<EOF
18787 #line 18788 "configure
"
18788 #include "confdefs.h
"
18790 #ifdef HAVE_IEEEFP_H
18791 #include <ieeefp.h>
18798 if { (eval echo configure:18799: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18800 glibcpp_cv_func__log10l_use=yes
18802 echo "configure
: failed program was
:" >&5
18803 cat conftest.$ac_ext >&5
18805 glibcpp_cv_func__log10l_use=no
18809 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18810 ac_cpp='$CPP $CPPFLAGS'
18811 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18812 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18813 cross_compiling=$ac_cv_prog_cc_cross
18819 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
18821 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
18822 for ac_func in _log10l
18824 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18825 echo "configure
:18826: checking
for $ac_func" >&5
18826 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18827 echo $ac_n "(cached
) $ac_c" 1>&6
18829 cat > conftest.$ac_ext <<EOF
18830 #line 18831 "configure
"
18831 #include "confdefs.h
"
18832 /* System header to define __stub macros and hopefully few prototypes,
18833 which can conflict with char $ac_func(); below. */
18834 #include <assert.h>
18835 /* Override any gcc2 internal prototype to avoid an error. */
18836 /* We use char because int might match the return type of a gcc2
18837 builtin and then its argument prototype would still apply. */
18842 /* The GNU C library defines this for functions which it implements
18843 to always fail with ENOSYS. Some functions are actually named
18844 something starting with __ and the normal name is an alias. */
18845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18853 if { (eval echo configure:18854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18855 eval "ac_cv_func_
$ac_func=yes"
18857 echo "configure
: failed program was
:" >&5
18858 cat conftest.$ac_ext >&5
18860 eval "ac_cv_func_
$ac_func=no
"
18865 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18866 echo "$ac_t""yes" 1>&6
18867 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18868 cat >> confdefs.h <<EOF
18869 #define $ac_tr_func 1
18873 echo "$ac_t""no
" 1>&6
18882 echo $ac_n "checking
for modfl declaration
""...
$ac_c" 1>&6
18883 echo "configure
:18884: checking
for modfl declaration
" >&5
18884 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
18885 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
18886 echo $ac_n "(cached
) $ac_c" 1>&6
18891 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18892 ac_cpp='$CXXCPP $CPPFLAGS'
18893 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18894 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18895 cross_compiling=$ac_cv_prog_cxx_cross
18897 cat > conftest.$ac_ext <<EOF
18898 #line 18899 "configure
"
18899 #include "confdefs.h
"
18905 if { (eval echo configure:18906: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18907 glibcpp_cv_func_modfl_use=yes
18909 echo "configure
: failed program was
:" >&5
18910 cat conftest.$ac_ext >&5
18912 glibcpp_cv_func_modfl_use=no
18916 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18917 ac_cpp='$CPP $CPPFLAGS'
18918 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18919 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18920 cross_compiling=$ac_cv_prog_cc_cross
18926 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
18928 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
18929 for ac_func in modfl
18931 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18932 echo "configure
:18933: checking
for $ac_func" >&5
18933 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18934 echo $ac_n "(cached
) $ac_c" 1>&6
18936 cat > conftest.$ac_ext <<EOF
18937 #line 18938 "configure
"
18938 #include "confdefs.h
"
18939 /* System header to define __stub macros and hopefully few prototypes,
18940 which can conflict with char $ac_func(); below. */
18941 #include <assert.h>
18942 /* Override any gcc2 internal prototype to avoid an error. */
18943 /* We use char because int might match the return type of a gcc2
18944 builtin and then its argument prototype would still apply. */
18949 /* The GNU C library defines this for functions which it implements
18950 to always fail with ENOSYS. Some functions are actually named
18951 something starting with __ and the normal name is an alias. */
18952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18960 if { (eval echo configure:18961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18962 eval "ac_cv_func_
$ac_func=yes"
18964 echo "configure
: failed program was
:" >&5
18965 cat conftest.$ac_ext >&5
18967 eval "ac_cv_func_
$ac_func=no
"
18972 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18973 echo "$ac_t""yes" 1>&6
18974 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18975 cat >> confdefs.h <<EOF
18976 #define $ac_tr_func 1
18980 echo "$ac_t""no
" 1>&6
18986 echo $ac_n "checking
for _modfl declaration
""...
$ac_c" 1>&6
18987 echo "configure
:18988: checking
for _modfl declaration
" >&5
18988 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
18989 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
18990 echo $ac_n "(cached
) $ac_c" 1>&6
18995 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18996 ac_cpp='$CXXCPP $CPPFLAGS'
18997 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18998 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18999 cross_compiling=$ac_cv_prog_cxx_cross
19001 cat > conftest.$ac_ext <<EOF
19002 #line 19003 "configure
"
19003 #include "confdefs.h
"
19009 if { (eval echo configure:19010: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19011 glibcpp_cv_func__modfl_use=yes
19013 echo "configure
: failed program was
:" >&5
19014 cat conftest.$ac_ext >&5
19016 glibcpp_cv_func__modfl_use=no
19020 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19021 ac_cpp='$CPP $CPPFLAGS'
19022 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19023 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19024 cross_compiling=$ac_cv_prog_cc_cross
19030 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
19032 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
19033 for ac_func in _modfl
19035 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19036 echo "configure
:19037: checking
for $ac_func" >&5
19037 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19038 echo $ac_n "(cached
) $ac_c" 1>&6
19040 cat > conftest.$ac_ext <<EOF
19041 #line 19042 "configure
"
19042 #include "confdefs.h
"
19043 /* System header to define __stub macros and hopefully few prototypes,
19044 which can conflict with char $ac_func(); below. */
19045 #include <assert.h>
19046 /* Override any gcc2 internal prototype to avoid an error. */
19047 /* We use char because int might match the return type of a gcc2
19048 builtin and then its argument prototype would still apply. */
19053 /* The GNU C library defines this for functions which it implements
19054 to always fail with ENOSYS. Some functions are actually named
19055 something starting with __ and the normal name is an alias. */
19056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19064 if { (eval echo configure:19065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19066 eval "ac_cv_func_
$ac_func=yes"
19068 echo "configure
: failed program was
:" >&5
19069 cat conftest.$ac_ext >&5
19071 eval "ac_cv_func_
$ac_func=no
"
19076 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19077 echo "$ac_t""yes" 1>&6
19078 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19079 cat >> confdefs.h <<EOF
19080 #define $ac_tr_func 1
19084 echo "$ac_t""no
" 1>&6
19093 echo $ac_n "checking
for powl declaration
""...
$ac_c" 1>&6
19094 echo "configure
:19095: checking
for powl declaration
" >&5
19095 if test x${glibcpp_cv_func_powl_use+set} != xset; then
19096 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
19097 echo $ac_n "(cached
) $ac_c" 1>&6
19102 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19103 ac_cpp='$CXXCPP $CPPFLAGS'
19104 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19105 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19106 cross_compiling=$ac_cv_prog_cxx_cross
19108 cat > conftest.$ac_ext <<EOF
19109 #line 19110 "configure
"
19110 #include "confdefs.h
"
19116 if { (eval echo configure:19117: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19118 glibcpp_cv_func_powl_use=yes
19120 echo "configure
: failed program was
:" >&5
19121 cat conftest.$ac_ext >&5
19123 glibcpp_cv_func_powl_use=no
19127 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19128 ac_cpp='$CPP $CPPFLAGS'
19129 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19130 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19131 cross_compiling=$ac_cv_prog_cc_cross
19137 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
19139 if test x$glibcpp_cv_func_powl_use = x"yes"; then
19140 for ac_func in powl
19142 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19143 echo "configure
:19144: checking
for $ac_func" >&5
19144 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19145 echo $ac_n "(cached
) $ac_c" 1>&6
19147 cat > conftest.$ac_ext <<EOF
19148 #line 19149 "configure
"
19149 #include "confdefs.h
"
19150 /* System header to define __stub macros and hopefully few prototypes,
19151 which can conflict with char $ac_func(); below. */
19152 #include <assert.h>
19153 /* Override any gcc2 internal prototype to avoid an error. */
19154 /* We use char because int might match the return type of a gcc2
19155 builtin and then its argument prototype would still apply. */
19160 /* The GNU C library defines this for functions which it implements
19161 to always fail with ENOSYS. Some functions are actually named
19162 something starting with __ and the normal name is an alias. */
19163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19171 if { (eval echo configure:19172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19173 eval "ac_cv_func_
$ac_func=yes"
19175 echo "configure
: failed program was
:" >&5
19176 cat conftest.$ac_ext >&5
19178 eval "ac_cv_func_
$ac_func=no
"
19183 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19184 echo "$ac_t""yes" 1>&6
19185 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19186 cat >> confdefs.h <<EOF
19187 #define $ac_tr_func 1
19191 echo "$ac_t""no
" 1>&6
19197 echo $ac_n "checking
for _powl declaration
""...
$ac_c" 1>&6
19198 echo "configure
:19199: checking
for _powl declaration
" >&5
19199 if test x${glibcpp_cv_func__powl_use+set} != xset; then
19200 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
19201 echo $ac_n "(cached
) $ac_c" 1>&6
19206 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19207 ac_cpp='$CXXCPP $CPPFLAGS'
19208 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19209 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19210 cross_compiling=$ac_cv_prog_cxx_cross
19212 cat > conftest.$ac_ext <<EOF
19213 #line 19214 "configure
"
19214 #include "confdefs.h
"
19220 if { (eval echo configure:19221: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19222 glibcpp_cv_func__powl_use=yes
19224 echo "configure
: failed program was
:" >&5
19225 cat conftest.$ac_ext >&5
19227 glibcpp_cv_func__powl_use=no
19231 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19232 ac_cpp='$CPP $CPPFLAGS'
19233 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19234 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19235 cross_compiling=$ac_cv_prog_cc_cross
19241 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
19243 if test x$glibcpp_cv_func__powl_use = x"yes"; then
19244 for ac_func in _powl
19246 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19247 echo "configure
:19248: checking
for $ac_func" >&5
19248 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19249 echo $ac_n "(cached
) $ac_c" 1>&6
19251 cat > conftest.$ac_ext <<EOF
19252 #line 19253 "configure
"
19253 #include "confdefs.h
"
19254 /* System header to define __stub macros and hopefully few prototypes,
19255 which can conflict with char $ac_func(); below. */
19256 #include <assert.h>
19257 /* Override any gcc2 internal prototype to avoid an error. */
19258 /* We use char because int might match the return type of a gcc2
19259 builtin and then its argument prototype would still apply. */
19264 /* The GNU C library defines this for functions which it implements
19265 to always fail with ENOSYS. Some functions are actually named
19266 something starting with __ and the normal name is an alias. */
19267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19275 if { (eval echo configure:19276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19277 eval "ac_cv_func_
$ac_func=yes"
19279 echo "configure
: failed program was
:" >&5
19280 cat conftest.$ac_ext >&5
19282 eval "ac_cv_func_
$ac_func=no
"
19287 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19288 echo "$ac_t""yes" 1>&6
19289 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19290 cat >> confdefs.h <<EOF
19291 #define $ac_tr_func 1
19295 echo "$ac_t""no
" 1>&6
19304 echo $ac_n "checking
for sqrtl declaration
""...
$ac_c" 1>&6
19305 echo "configure
:19306: checking
for sqrtl declaration
" >&5
19306 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
19307 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
19308 echo $ac_n "(cached
) $ac_c" 1>&6
19313 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19314 ac_cpp='$CXXCPP $CPPFLAGS'
19315 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19316 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19317 cross_compiling=$ac_cv_prog_cxx_cross
19319 cat > conftest.$ac_ext <<EOF
19320 #line 19321 "configure
"
19321 #include "confdefs.h
"
19323 #ifdef HAVE_IEEEFP_H
19324 #include <ieeefp.h>
19331 if { (eval echo configure:19332: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19333 glibcpp_cv_func_sqrtl_use=yes
19335 echo "configure
: failed program was
:" >&5
19336 cat conftest.$ac_ext >&5
19338 glibcpp_cv_func_sqrtl_use=no
19342 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19343 ac_cpp='$CPP $CPPFLAGS'
19344 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19345 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19346 cross_compiling=$ac_cv_prog_cc_cross
19352 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
19354 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
19355 for ac_func in sqrtl
19357 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19358 echo "configure
:19359: checking
for $ac_func" >&5
19359 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19360 echo $ac_n "(cached
) $ac_c" 1>&6
19362 cat > conftest.$ac_ext <<EOF
19363 #line 19364 "configure
"
19364 #include "confdefs.h
"
19365 /* System header to define __stub macros and hopefully few prototypes,
19366 which can conflict with char $ac_func(); below. */
19367 #include <assert.h>
19368 /* Override any gcc2 internal prototype to avoid an error. */
19369 /* We use char because int might match the return type of a gcc2
19370 builtin and then its argument prototype would still apply. */
19375 /* The GNU C library defines this for functions which it implements
19376 to always fail with ENOSYS. Some functions are actually named
19377 something starting with __ and the normal name is an alias. */
19378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19386 if { (eval echo configure:19387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19388 eval "ac_cv_func_
$ac_func=yes"
19390 echo "configure
: failed program was
:" >&5
19391 cat conftest.$ac_ext >&5
19393 eval "ac_cv_func_
$ac_func=no
"
19398 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19399 echo "$ac_t""yes" 1>&6
19400 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19401 cat >> confdefs.h <<EOF
19402 #define $ac_tr_func 1
19406 echo "$ac_t""no
" 1>&6
19412 echo $ac_n "checking
for _sqrtl declaration
""...
$ac_c" 1>&6
19413 echo "configure
:19414: checking
for _sqrtl declaration
" >&5
19414 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
19415 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
19416 echo $ac_n "(cached
) $ac_c" 1>&6
19421 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19422 ac_cpp='$CXXCPP $CPPFLAGS'
19423 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19424 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19425 cross_compiling=$ac_cv_prog_cxx_cross
19427 cat > conftest.$ac_ext <<EOF
19428 #line 19429 "configure
"
19429 #include "confdefs.h
"
19431 #ifdef HAVE_IEEEFP_H
19432 #include <ieeefp.h>
19439 if { (eval echo configure:19440: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19441 glibcpp_cv_func__sqrtl_use=yes
19443 echo "configure
: failed program was
:" >&5
19444 cat conftest.$ac_ext >&5
19446 glibcpp_cv_func__sqrtl_use=no
19450 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19451 ac_cpp='$CPP $CPPFLAGS'
19452 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19453 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19454 cross_compiling=$ac_cv_prog_cc_cross
19460 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
19462 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
19463 for ac_func in _sqrtl
19465 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19466 echo "configure
:19467: checking
for $ac_func" >&5
19467 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19468 echo $ac_n "(cached
) $ac_c" 1>&6
19470 cat > conftest.$ac_ext <<EOF
19471 #line 19472 "configure
"
19472 #include "confdefs.h
"
19473 /* System header to define __stub macros and hopefully few prototypes,
19474 which can conflict with char $ac_func(); below. */
19475 #include <assert.h>
19476 /* Override any gcc2 internal prototype to avoid an error. */
19477 /* We use char because int might match the return type of a gcc2
19478 builtin and then its argument prototype would still apply. */
19483 /* The GNU C library defines this for functions which it implements
19484 to always fail with ENOSYS. Some functions are actually named
19485 something starting with __ and the normal name is an alias. */
19486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19494 if { (eval echo configure:19495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19496 eval "ac_cv_func_
$ac_func=yes"
19498 echo "configure
: failed program was
:" >&5
19499 cat conftest.$ac_ext >&5
19501 eval "ac_cv_func_
$ac_func=no
"
19506 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19507 echo "$ac_t""yes" 1>&6
19508 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19509 cat >> confdefs.h <<EOF
19510 #define $ac_tr_func 1
19514 echo "$ac_t""no
" 1>&6
19523 echo $ac_n "checking
for sincosl declaration
""...
$ac_c" 1>&6
19524 echo "configure
:19525: checking
for sincosl declaration
" >&5
19525 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
19526 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
19527 echo $ac_n "(cached
) $ac_c" 1>&6
19532 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19533 ac_cpp='$CXXCPP $CPPFLAGS'
19534 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19535 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19536 cross_compiling=$ac_cv_prog_cxx_cross
19538 cat > conftest.$ac_ext <<EOF
19539 #line 19540 "configure
"
19540 #include "confdefs.h
"
19546 if { (eval echo configure:19547: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19548 glibcpp_cv_func_sincosl_use=yes
19550 echo "configure
: failed program was
:" >&5
19551 cat conftest.$ac_ext >&5
19553 glibcpp_cv_func_sincosl_use=no
19557 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19558 ac_cpp='$CPP $CPPFLAGS'
19559 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19560 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19561 cross_compiling=$ac_cv_prog_cc_cross
19567 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
19569 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
19570 for ac_func in sincosl
19572 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19573 echo "configure
:19574: checking
for $ac_func" >&5
19574 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19575 echo $ac_n "(cached
) $ac_c" 1>&6
19577 cat > conftest.$ac_ext <<EOF
19578 #line 19579 "configure
"
19579 #include "confdefs.h
"
19580 /* System header to define __stub macros and hopefully few prototypes,
19581 which can conflict with char $ac_func(); below. */
19582 #include <assert.h>
19583 /* Override any gcc2 internal prototype to avoid an error. */
19584 /* We use char because int might match the return type of a gcc2
19585 builtin and then its argument prototype would still apply. */
19590 /* The GNU C library defines this for functions which it implements
19591 to always fail with ENOSYS. Some functions are actually named
19592 something starting with __ and the normal name is an alias. */
19593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19601 if { (eval echo configure:19602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19603 eval "ac_cv_func_
$ac_func=yes"
19605 echo "configure
: failed program was
:" >&5
19606 cat conftest.$ac_ext >&5
19608 eval "ac_cv_func_
$ac_func=no
"
19613 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19614 echo "$ac_t""yes" 1>&6
19615 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19616 cat >> confdefs.h <<EOF
19617 #define $ac_tr_func 1
19621 echo "$ac_t""no
" 1>&6
19627 echo $ac_n "checking
for _sincosl declaration
""...
$ac_c" 1>&6
19628 echo "configure
:19629: checking
for _sincosl declaration
" >&5
19629 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
19630 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
19631 echo $ac_n "(cached
) $ac_c" 1>&6
19636 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19637 ac_cpp='$CXXCPP $CPPFLAGS'
19638 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19639 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19640 cross_compiling=$ac_cv_prog_cxx_cross
19642 cat > conftest.$ac_ext <<EOF
19643 #line 19644 "configure
"
19644 #include "confdefs.h
"
19650 if { (eval echo configure:19651: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19652 glibcpp_cv_func__sincosl_use=yes
19654 echo "configure
: failed program was
:" >&5
19655 cat conftest.$ac_ext >&5
19657 glibcpp_cv_func__sincosl_use=no
19661 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19662 ac_cpp='$CPP $CPPFLAGS'
19663 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19664 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19665 cross_compiling=$ac_cv_prog_cc_cross
19671 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
19673 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
19674 for ac_func in _sincosl
19676 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19677 echo "configure
:19678: checking
for $ac_func" >&5
19678 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19679 echo $ac_n "(cached
) $ac_c" 1>&6
19681 cat > conftest.$ac_ext <<EOF
19682 #line 19683 "configure
"
19683 #include "confdefs.h
"
19684 /* System header to define __stub macros and hopefully few prototypes,
19685 which can conflict with char $ac_func(); below. */
19686 #include <assert.h>
19687 /* Override any gcc2 internal prototype to avoid an error. */
19688 /* We use char because int might match the return type of a gcc2
19689 builtin and then its argument prototype would still apply. */
19694 /* The GNU C library defines this for functions which it implements
19695 to always fail with ENOSYS. Some functions are actually named
19696 something starting with __ and the normal name is an alias. */
19697 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19705 if { (eval echo configure:19706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19707 eval "ac_cv_func_
$ac_func=yes"
19709 echo "configure
: failed program was
:" >&5
19710 cat conftest.$ac_ext >&5
19712 eval "ac_cv_func_
$ac_func=no
"
19717 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19718 echo "$ac_t""yes" 1>&6
19719 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19720 cat >> confdefs.h <<EOF
19721 #define $ac_tr_func 1
19725 echo "$ac_t""no
" 1>&6
19734 echo $ac_n "checking
for finitel declaration
""...
$ac_c" 1>&6
19735 echo "configure
:19736: checking
for finitel declaration
" >&5
19736 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
19737 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
19738 echo $ac_n "(cached
) $ac_c" 1>&6
19743 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19744 ac_cpp='$CXXCPP $CPPFLAGS'
19745 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19746 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19747 cross_compiling=$ac_cv_prog_cxx_cross
19749 cat > conftest.$ac_ext <<EOF
19750 #line 19751 "configure
"
19751 #include "confdefs.h
"
19753 #ifdef HAVE_IEEEFP_H
19754 #include <ieeefp.h>
19761 if { (eval echo configure:19762: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19763 glibcpp_cv_func_finitel_use=yes
19765 echo "configure
: failed program was
:" >&5
19766 cat conftest.$ac_ext >&5
19768 glibcpp_cv_func_finitel_use=no
19772 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19773 ac_cpp='$CPP $CPPFLAGS'
19774 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19775 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19776 cross_compiling=$ac_cv_prog_cc_cross
19782 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
19784 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
19785 for ac_func in finitel
19787 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19788 echo "configure
:19789: checking
for $ac_func" >&5
19789 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19790 echo $ac_n "(cached
) $ac_c" 1>&6
19792 cat > conftest.$ac_ext <<EOF
19793 #line 19794 "configure
"
19794 #include "confdefs.h
"
19795 /* System header to define __stub macros and hopefully few prototypes,
19796 which can conflict with char $ac_func(); below. */
19797 #include <assert.h>
19798 /* Override any gcc2 internal prototype to avoid an error. */
19799 /* We use char because int might match the return type of a gcc2
19800 builtin and then its argument prototype would still apply. */
19805 /* The GNU C library defines this for functions which it implements
19806 to always fail with ENOSYS. Some functions are actually named
19807 something starting with __ and the normal name is an alias. */
19808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19816 if { (eval echo configure:19817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19818 eval "ac_cv_func_
$ac_func=yes"
19820 echo "configure
: failed program was
:" >&5
19821 cat conftest.$ac_ext >&5
19823 eval "ac_cv_func_
$ac_func=no
"
19828 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19829 echo "$ac_t""yes" 1>&6
19830 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19831 cat >> confdefs.h <<EOF
19832 #define $ac_tr_func 1
19836 echo "$ac_t""no
" 1>&6
19842 echo $ac_n "checking
for _finitel declaration
""...
$ac_c" 1>&6
19843 echo "configure
:19844: checking
for _finitel declaration
" >&5
19844 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
19845 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
19846 echo $ac_n "(cached
) $ac_c" 1>&6
19851 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19852 ac_cpp='$CXXCPP $CPPFLAGS'
19853 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19854 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19855 cross_compiling=$ac_cv_prog_cxx_cross
19857 cat > conftest.$ac_ext <<EOF
19858 #line 19859 "configure
"
19859 #include "confdefs.h
"
19861 #ifdef HAVE_IEEEFP_H
19862 #include <ieeefp.h>
19869 if { (eval echo configure:19870: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19871 glibcpp_cv_func__finitel_use=yes
19873 echo "configure
: failed program was
:" >&5
19874 cat conftest.$ac_ext >&5
19876 glibcpp_cv_func__finitel_use=no
19880 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19881 ac_cpp='$CPP $CPPFLAGS'
19882 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19883 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19884 cross_compiling=$ac_cv_prog_cc_cross
19890 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
19892 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
19893 for ac_func in _finitel
19895 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19896 echo "configure
:19897: checking
for $ac_func" >&5
19897 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19898 echo $ac_n "(cached
) $ac_c" 1>&6
19900 cat > conftest.$ac_ext <<EOF
19901 #line 19902 "configure
"
19902 #include "confdefs.h
"
19903 /* System header to define __stub macros and hopefully few prototypes,
19904 which can conflict with char $ac_func(); below. */
19905 #include <assert.h>
19906 /* Override any gcc2 internal prototype to avoid an error. */
19907 /* We use char because int might match the return type of a gcc2
19908 builtin and then its argument prototype would still apply. */
19913 /* The GNU C library defines this for functions which it implements
19914 to always fail with ENOSYS. Some functions are actually named
19915 something starting with __ and the normal name is an alias. */
19916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19924 if { (eval echo configure:19925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19926 eval "ac_cv_func_
$ac_func=yes"
19928 echo "configure
: failed program was
:" >&5
19929 cat conftest.$ac_ext >&5
19931 eval "ac_cv_func_
$ac_func=no
"
19936 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19937 echo "$ac_t""yes" 1>&6
19938 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19939 cat >> confdefs.h <<EOF
19940 #define $ac_tr_func 1
19944 echo "$ac_t""no
" 1>&6
19954 echo $ac_n "checking
for _float trig functions
""...
$ac_c" 1>&6
19955 echo "configure
:19956: checking
for _float trig functions
" >&5
19956 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
19957 echo $ac_n "(cached
) $ac_c" 1>&6
19962 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19963 ac_cpp='$CXXCPP $CPPFLAGS'
19964 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19965 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19966 cross_compiling=$ac_cv_prog_cxx_cross
19968 cat > conftest.$ac_ext <<EOF
19969 #line 19970 "configure
"
19970 #include "confdefs.h
"
19973 `for x in _acosf _asinf _atanf \
19974 _cosf _sinf _tanf \
19975 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
19978 if { (eval echo configure:19979: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19980 glibcpp_cv_func__float_trig_use=yes
19982 echo "configure
: failed program was
:" >&5
19983 cat conftest.$ac_ext >&5
19985 glibcpp_cv_func__float_trig_use=no
19989 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19990 ac_cpp='$CPP $CPPFLAGS'
19991 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19992 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19993 cross_compiling=$ac_cv_prog_cc_cross
19997 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
19998 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
19999 for ac_func in _acosf _asinf _atanf \
20000 _cosf _sinf _tanf \
20001 _coshf _sinhf _tanhf
20003 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20004 echo "configure
:20005: checking
for $ac_func" >&5
20005 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20006 echo $ac_n "(cached
) $ac_c" 1>&6
20008 cat > conftest.$ac_ext <<EOF
20009 #line 20010 "configure
"
20010 #include "confdefs.h
"
20011 /* System header to define __stub macros and hopefully few prototypes,
20012 which can conflict with char $ac_func(); below. */
20013 #include <assert.h>
20014 /* Override any gcc2 internal prototype to avoid an error. */
20015 /* We use char because int might match the return type of a gcc2
20016 builtin and then its argument prototype would still apply. */
20021 /* The GNU C library defines this for functions which it implements
20022 to always fail with ENOSYS. Some functions are actually named
20023 something starting with __ and the normal name is an alias. */
20024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20032 if { (eval echo configure:20033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20034 eval "ac_cv_func_
$ac_func=yes"
20036 echo "configure
: failed program was
:" >&5
20037 cat conftest.$ac_ext >&5
20039 eval "ac_cv_func_
$ac_func=no
"
20044 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20045 echo "$ac_t""yes" 1>&6
20046 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20047 cat >> confdefs.h <<EOF
20048 #define $ac_tr_func 1
20052 echo "$ac_t""no
" 1>&6
20059 echo $ac_n "checking
for _float round functions
""...
$ac_c" 1>&6
20060 echo "configure
:20061: checking
for _float round functions
" >&5
20061 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
20062 echo $ac_n "(cached
) $ac_c" 1>&6
20067 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20068 ac_cpp='$CXXCPP $CPPFLAGS'
20069 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20070 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20071 cross_compiling=$ac_cv_prog_cxx_cross
20073 cat > conftest.$ac_ext <<EOF
20074 #line 20075 "configure
"
20075 #include "confdefs.h
"
20078 `for x in _ceilf _floorf; do echo "$x (0);"; done`
20081 if { (eval echo configure:20082: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20083 glibcpp_cv_func__float_round_use=yes
20085 echo "configure
: failed program was
:" >&5
20086 cat conftest.$ac_ext >&5
20088 glibcpp_cv_func__float_round_use=no
20092 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20093 ac_cpp='$CPP $CPPFLAGS'
20094 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20095 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20096 cross_compiling=$ac_cv_prog_cc_cross
20100 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
20101 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
20102 for ac_func in _ceilf _floorf
20104 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20105 echo "configure
:20106: checking
for $ac_func" >&5
20106 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20107 echo $ac_n "(cached
) $ac_c" 1>&6
20109 cat > conftest.$ac_ext <<EOF
20110 #line 20111 "configure
"
20111 #include "confdefs.h
"
20112 /* System header to define __stub macros and hopefully few prototypes,
20113 which can conflict with char $ac_func(); below. */
20114 #include <assert.h>
20115 /* Override any gcc2 internal prototype to avoid an error. */
20116 /* We use char because int might match the return type of a gcc2
20117 builtin and then its argument prototype would still apply. */
20122 /* The GNU C library defines this for functions which it implements
20123 to always fail with ENOSYS. Some functions are actually named
20124 something starting with __ and the normal name is an alias. */
20125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20133 if { (eval echo configure:20134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20135 eval "ac_cv_func_
$ac_func=yes"
20137 echo "configure
: failed program was
:" >&5
20138 cat conftest.$ac_ext >&5
20140 eval "ac_cv_func_
$ac_func=no
"
20145 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20146 echo "$ac_t""yes" 1>&6
20147 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20148 cat >> confdefs.h <<EOF
20149 #define $ac_tr_func 1
20153 echo "$ac_t""no
" 1>&6
20161 echo $ac_n "checking
for _long double trig functions
""...
$ac_c" 1>&6
20162 echo "configure
:20163: checking
for _long double trig functions
" >&5
20163 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
20164 echo $ac_n "(cached
) $ac_c" 1>&6
20169 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20170 ac_cpp='$CXXCPP $CPPFLAGS'
20171 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20172 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20173 cross_compiling=$ac_cv_prog_cxx_cross
20175 cat > conftest.$ac_ext <<EOF
20176 #line 20177 "configure
"
20177 #include "confdefs.h
"
20180 `for x in _acosl _asinl _atanl \
20181 _cosl _sinl _tanl \
20182 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
20185 if { (eval echo configure:20186: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20187 glibcpp_cv_func__long_double_trig_use=yes
20189 echo "configure
: failed program was
:" >&5
20190 cat conftest.$ac_ext >&5
20192 glibcpp_cv_func__long_double_trig_use=no
20196 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20197 ac_cpp='$CPP $CPPFLAGS'
20198 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20199 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20200 cross_compiling=$ac_cv_prog_cc_cross
20204 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
20205 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
20206 for ac_func in _acosl _asinl _atanl \
20207 _cosl _sinl _tanl \
20208 _coshl _sinhl _tanhl
20210 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20211 echo "configure
:20212: checking
for $ac_func" >&5
20212 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20213 echo $ac_n "(cached
) $ac_c" 1>&6
20215 cat > conftest.$ac_ext <<EOF
20216 #line 20217 "configure
"
20217 #include "confdefs.h
"
20218 /* System header to define __stub macros and hopefully few prototypes,
20219 which can conflict with char $ac_func(); below. */
20220 #include <assert.h>
20221 /* Override any gcc2 internal prototype to avoid an error. */
20222 /* We use char because int might match the return type of a gcc2
20223 builtin and then its argument prototype would still apply. */
20228 /* The GNU C library defines this for functions which it implements
20229 to always fail with ENOSYS. Some functions are actually named
20230 something starting with __ and the normal name is an alias. */
20231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20239 if { (eval echo configure:20240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20241 eval "ac_cv_func_
$ac_func=yes"
20243 echo "configure
: failed program was
:" >&5
20244 cat conftest.$ac_ext >&5
20246 eval "ac_cv_func_
$ac_func=no
"
20251 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20252 echo "$ac_t""yes" 1>&6
20253 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20254 cat >> confdefs.h <<EOF
20255 #define $ac_tr_func 1
20259 echo "$ac_t""no
" 1>&6
20266 echo $ac_n "checking
for _long double round functions
""...
$ac_c" 1>&6
20267 echo "configure
:20268: checking
for _long double round functions
" >&5
20268 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
20269 echo $ac_n "(cached
) $ac_c" 1>&6
20274 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20275 ac_cpp='$CXXCPP $CPPFLAGS'
20276 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20277 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20278 cross_compiling=$ac_cv_prog_cxx_cross
20280 cat > conftest.$ac_ext <<EOF
20281 #line 20282 "configure
"
20282 #include "confdefs.h
"
20285 `for x in _ceill _floorl; do echo "$x (0);"; done`
20288 if { (eval echo configure:20289: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20290 glibcpp_cv_func__long_double_round_use=yes
20292 echo "configure
: failed program was
:" >&5
20293 cat conftest.$ac_ext >&5
20295 glibcpp_cv_func__long_double_round_use=no
20299 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20300 ac_cpp='$CPP $CPPFLAGS'
20301 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20302 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20303 cross_compiling=$ac_cv_prog_cc_cross
20307 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
20308 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
20309 for ac_func in _ceill _floorl
20311 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20312 echo "configure
:20313: checking
for $ac_func" >&5
20313 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20314 echo $ac_n "(cached
) $ac_c" 1>&6
20316 cat > conftest.$ac_ext <<EOF
20317 #line 20318 "configure
"
20318 #include "confdefs.h
"
20319 /* System header to define __stub macros and hopefully few prototypes,
20320 which can conflict with char $ac_func(); below. */
20321 #include <assert.h>
20322 /* Override any gcc2 internal prototype to avoid an error. */
20323 /* We use char because int might match the return type of a gcc2
20324 builtin and then its argument prototype would still apply. */
20329 /* The GNU C library defines this for functions which it implements
20330 to always fail with ENOSYS. Some functions are actually named
20331 something starting with __ and the normal name is an alias. */
20332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20340 if { (eval echo configure:20341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20342 eval "ac_cv_func_
$ac_func=yes"
20344 echo "configure
: failed program was
:" >&5
20345 cat conftest.$ac_ext >&5
20347 eval "ac_cv_func_
$ac_func=no
"
20352 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20353 echo "$ac_t""yes" 1>&6
20354 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20355 cat >> confdefs.h <<EOF
20356 #define $ac_tr_func 1
20360 echo "$ac_t""no
" 1>&6
20367 LIBS="$ac_save_LIBS"
20368 CXXFLAGS="$ac_save_CXXFLAGS"
20371 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
20372 echo "configure
:20373: checking
for main
in -lm" >&5
20373 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
20374 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20375 echo $ac_n "(cached
) $ac_c" 1>&6
20377 ac_save_LIBS="$LIBS"
20379 cat > conftest.$ac_ext <<EOF
20380 #line 20381 "configure
"
20381 #include "confdefs.h
"
20387 if { (eval echo configure:20388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20389 eval "ac_cv_lib_
$ac_lib_var=yes"
20391 echo "configure
: failed program was
:" >&5
20392 cat conftest.$ac_ext >&5
20394 eval "ac_cv_lib_
$ac_lib_var=no
"
20397 LIBS="$ac_save_LIBS"
20400 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20401 echo "$ac_t""yes" 1>&6
20402 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
20403 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
20404 cat >> confdefs.h <<EOF
20405 #define $ac_tr_lib 1
20411 echo "$ac_t""no
" 1>&6
20414 for ac_func in nan copysignf
20416 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20417 echo "configure
:20418: checking
for $ac_func" >&5
20418 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20419 echo $ac_n "(cached
) $ac_c" 1>&6
20421 cat > conftest.$ac_ext <<EOF
20422 #line 20423 "configure
"
20423 #include "confdefs.h
"
20424 /* System header to define __stub macros and hopefully few prototypes,
20425 which can conflict with char $ac_func(); below. */
20426 #include <assert.h>
20427 /* Override any gcc2 internal prototype to avoid an error. */
20428 /* We use char because int might match the return type of a gcc2
20429 builtin and then its argument prototype would still apply. */
20434 /* The GNU C library defines this for functions which it implements
20435 to always fail with ENOSYS. Some functions are actually named
20436 something starting with __ and the normal name is an alias. */
20437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20445 if { (eval echo configure:20446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20447 eval "ac_cv_func_
$ac_func=yes"
20449 echo "configure
: failed program was
:" >&5
20450 cat conftest.$ac_ext >&5
20452 eval "ac_cv_func_
$ac_func=no
"
20457 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20458 echo "$ac_t""yes" 1>&6
20459 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20460 cat >> confdefs.h <<EOF
20461 #define $ac_tr_func 1
20465 echo "$ac_t""no
" 1>&6
20466 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
20471 for ac_func in __signbit
20473 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20474 echo "configure
:20475: checking
for $ac_func" >&5
20475 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20476 echo $ac_n "(cached
) $ac_c" 1>&6
20478 cat > conftest.$ac_ext <<EOF
20479 #line 20480 "configure
"
20480 #include "confdefs.h
"
20481 /* System header to define __stub macros and hopefully few prototypes,
20482 which can conflict with char $ac_func(); below. */
20483 #include <assert.h>
20484 /* Override any gcc2 internal prototype to avoid an error. */
20485 /* We use char because int might match the return type of a gcc2
20486 builtin and then its argument prototype would still apply. */
20491 /* The GNU C library defines this for functions which it implements
20492 to always fail with ENOSYS. Some functions are actually named
20493 something starting with __ and the normal name is an alias. */
20494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20502 if { (eval echo configure:20503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20504 eval "ac_cv_func_
$ac_func=yes"
20506 echo "configure
: failed program was
:" >&5
20507 cat conftest.$ac_ext >&5
20509 eval "ac_cv_func_
$ac_func=no
"
20514 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20515 echo "$ac_t""yes" 1>&6
20516 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20517 cat >> confdefs.h <<EOF
20518 #define $ac_tr_func 1
20522 echo "$ac_t""no
" 1>&6
20523 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
20527 for ac_func in __signbitf
20529 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20530 echo "configure
:20531: checking
for $ac_func" >&5
20531 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20532 echo $ac_n "(cached
) $ac_c" 1>&6
20534 cat > conftest.$ac_ext <<EOF
20535 #line 20536 "configure
"
20536 #include "confdefs.h
"
20537 /* System header to define __stub macros and hopefully few prototypes,
20538 which can conflict with char $ac_func(); below. */
20539 #include <assert.h>
20540 /* Override any gcc2 internal prototype to avoid an error. */
20541 /* We use char because int might match the return type of a gcc2
20542 builtin and then its argument prototype would still apply. */
20547 /* The GNU C library defines this for functions which it implements
20548 to always fail with ENOSYS. Some functions are actually named
20549 something starting with __ and the normal name is an alias. */
20550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20558 if { (eval echo configure:20559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20560 eval "ac_cv_func_
$ac_func=yes"
20562 echo "configure
: failed program was
:" >&5
20563 cat conftest.$ac_ext >&5
20565 eval "ac_cv_func_
$ac_func=no
"
20570 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20571 echo "$ac_t""yes" 1>&6
20572 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20573 cat >> confdefs.h <<EOF
20574 #define $ac_tr_func 1
20578 echo "$ac_t""no
" 1>&6
20579 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
20584 if test x$ac_cv_func_copysignl = x"yes"; then
20585 for ac_func in __signbitl
20587 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20588 echo "configure
:20589: checking
for $ac_func" >&5
20589 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20590 echo $ac_n "(cached
) $ac_c" 1>&6
20592 cat > conftest.$ac_ext <<EOF
20593 #line 20594 "configure
"
20594 #include "confdefs.h
"
20595 /* System header to define __stub macros and hopefully few prototypes,
20596 which can conflict with char $ac_func(); below. */
20597 #include <assert.h>
20598 /* Override any gcc2 internal prototype to avoid an error. */
20599 /* We use char because int might match the return type of a gcc2
20600 builtin and then its argument prototype would still apply. */
20605 /* The GNU C library defines this for functions which it implements
20606 to always fail with ENOSYS. Some functions are actually named
20607 something starting with __ and the normal name is an alias. */
20608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20616 if { (eval echo configure:20617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20618 eval "ac_cv_func_
$ac_func=yes"
20620 echo "configure
: failed program was
:" >&5
20621 cat conftest.$ac_ext >&5
20623 eval "ac_cv_func_
$ac_func=no
"
20628 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20629 echo "$ac_t""yes" 1>&6
20630 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20631 cat >> confdefs.h <<EOF
20632 #define $ac_tr_func 1
20636 echo "$ac_t""no
" 1>&6
20637 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
20647 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
20648 echo "configure
:20649: checking
for mbstate_t
" >&5
20649 cat > conftest.$ac_ext <<EOF
20650 #line 20651 "configure
"
20651 #include "confdefs.h
"
20654 mbstate_t teststate;
20657 if { (eval echo configure:20658: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20661 echo "configure
: failed program was
:" >&5
20662 cat conftest.$ac_ext >&5
20667 echo "$ac_t""$have_mbstate_t" 1>&6
20668 if test x"$have_mbstate_t" = xyes; then
20669 cat >> confdefs.h <<\EOF
20670 #define HAVE_MBSTATE_T 1
20675 for ac_hdr in wchar.h
20677 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20678 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
20679 echo "configure
:20680: checking
for $ac_hdr" >&5
20680 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20681 echo $ac_n "(cached
) $ac_c" 1>&6
20683 cat > conftest.$ac_ext <<EOF
20684 #line 20685 "configure
"
20685 #include "confdefs.h
"
20688 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
20689 { (eval echo configure:20690: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20690 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
20691 if test -z "$ac_err"; then
20693 eval "ac_cv_header_
$ac_safe=yes"
20696 echo "configure
: failed program was
:" >&5
20697 cat conftest.$ac_ext >&5
20699 eval "ac_cv_header_
$ac_safe=no
"
20703 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20704 echo "$ac_t""yes" 1>&6
20705 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20706 cat >> confdefs.h <<EOF
20707 #define $ac_tr_hdr 1
20711 echo "$ac_t""no
" 1>&6
20716 for ac_hdr in wctype.h
20718 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20719 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
20720 echo "configure
:20721: checking
for $ac_hdr" >&5
20721 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20722 echo $ac_n "(cached
) $ac_c" 1>&6
20724 cat > conftest.$ac_ext <<EOF
20725 #line 20726 "configure
"
20726 #include "confdefs.h
"
20729 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
20730 { (eval echo configure:20731: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20731 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
20732 if test -z "$ac_err"; then
20734 eval "ac_cv_header_
$ac_safe=yes"
20737 echo "configure
: failed program was
:" >&5
20738 cat conftest.$ac_ext >&5
20740 eval "ac_cv_header_
$ac_safe=no
"
20744 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20745 echo "$ac_t""yes" 1>&6
20746 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20747 cat >> confdefs.h <<EOF
20748 #define $ac_tr_hdr 1
20750 ac_has_wctype_h=yes
20752 echo "$ac_t""no
" 1>&6
20758 if test x"$ac_has_wchar_h" = xyes &&
20759 test x"$ac_has_wctype_h" = xyes &&
20760 test x"$enable_c_mbchar" != xno; then
20762 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
20763 echo "configure
:20764: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
20764 cat > conftest.$ac_ext <<EOF
20765 #line 20766 "configure
"
20766 #include "confdefs.h
"
20769 int i = WCHAR_MIN; int j = WCHAR_MAX;
20772 if { (eval echo configure:20773: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20774 has_wchar_minmax=yes
20776 echo "configure
: failed program was
:" >&5
20777 cat conftest.$ac_ext >&5
20779 has_wchar_minmax=no
20782 echo "$ac_t""$has_wchar_minmax" 1>&6
20784 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
20785 echo "configure
:20786: checking
for WEOF
" >&5
20786 cat > conftest.$ac_ext <<EOF
20787 #line 20788 "configure
"
20788 #include "confdefs.h
"
20791 #include <stddef.h>
20796 if { (eval echo configure:20797: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20800 echo "configure
: failed program was
:" >&5
20801 cat conftest.$ac_ext >&5
20806 echo "$ac_t""$has_weof" 1>&6
20809 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
20811 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20812 echo "configure
:20813: checking
for $ac_func" >&5
20813 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20814 echo $ac_n "(cached
) $ac_c" 1>&6
20816 cat > conftest.$ac_ext <<EOF
20817 #line 20818 "configure
"
20818 #include "confdefs.h
"
20819 /* System header to define __stub macros and hopefully few prototypes,
20820 which can conflict with char $ac_func(); below. */
20821 #include <assert.h>
20822 /* Override any gcc2 internal prototype to avoid an error. */
20823 /* We use char because int might match the return type of a gcc2
20824 builtin and then its argument prototype would still apply. */
20829 /* The GNU C library defines this for functions which it implements
20830 to always fail with ENOSYS. Some functions are actually named
20831 something starting with __ and the normal name is an alias. */
20832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20840 if { (eval echo configure:20841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20842 eval "ac_cv_func_
$ac_func=yes"
20844 echo "configure
: failed program was
:" >&5
20845 cat conftest.$ac_ext >&5
20847 eval "ac_cv_func_
$ac_func=no
"
20852 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20853 echo "$ac_t""yes" 1>&6
20854 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20855 cat >> confdefs.h <<EOF
20856 #define $ac_tr_func 1
20860 echo "$ac_t""no
" 1>&6
20867 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
20868 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
20869 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
20870 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
20871 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
20872 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
20874 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20875 echo "configure
:20876: checking
for $ac_func" >&5
20876 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20877 echo $ac_n "(cached
) $ac_c" 1>&6
20879 cat > conftest.$ac_ext <<EOF
20880 #line 20881 "configure
"
20881 #include "confdefs.h
"
20882 /* System header to define __stub macros and hopefully few prototypes,
20883 which can conflict with char $ac_func(); below. */
20884 #include <assert.h>
20885 /* Override any gcc2 internal prototype to avoid an error. */
20886 /* We use char because int might match the return type of a gcc2
20887 builtin and then its argument prototype would still apply. */
20892 /* The GNU C library defines this for functions which it implements
20893 to always fail with ENOSYS. Some functions are actually named
20894 something starting with __ and the normal name is an alias. */
20895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20903 if { (eval echo configure:20904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20905 eval "ac_cv_func_
$ac_func=yes"
20907 echo "configure
: failed program was
:" >&5
20908 cat conftest.$ac_ext >&5
20910 eval "ac_cv_func_
$ac_func=no
"
20915 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20916 echo "$ac_t""yes" 1>&6
20917 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20918 cat >> confdefs.h <<EOF
20919 #define $ac_tr_func 1
20923 echo "$ac_t""no
" 1>&6
20930 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
20931 echo "configure
:20932: checking
for ISO C99 wchar_t support
" >&5
20932 if test x"$has_weof" = xyes &&
20933 test x"$has_wchar_minmax" = xyes &&
20934 test x"$ac_wfuncs" = xyes; then
20935 ac_isoC99_wchar_t=yes
20937 ac_isoC99_wchar_t=no
20939 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
20941 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
20942 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
20943 echo "configure
:20944: checking
for iconv.h
" >&5
20944 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20945 echo $ac_n "(cached
) $ac_c" 1>&6
20947 cat > conftest.$ac_ext <<EOF
20948 #line 20949 "configure
"
20949 #include "confdefs.h
"
20952 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
20953 { (eval echo configure:20954: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20954 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
20955 if test -z "$ac_err"; then
20957 eval "ac_cv_header_
$ac_safe=yes"
20960 echo "configure
: failed program was
:" >&5
20961 cat conftest.$ac_ext >&5
20963 eval "ac_cv_header_
$ac_safe=no
"
20967 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20968 echo "$ac_t""yes" 1>&6
20971 echo "$ac_t""no
" 1>&6
20975 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
20976 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
20977 echo "configure
:20978: checking
for langinfo.h
" >&5
20978 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20979 echo $ac_n "(cached
) $ac_c" 1>&6
20981 cat > conftest.$ac_ext <<EOF
20982 #line 20983 "configure
"
20983 #include "confdefs.h
"
20984 #include <langinfo.h>
20986 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
20987 { (eval echo configure:20988: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20988 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
20989 if test -z "$ac_err"; then
20991 eval "ac_cv_header_
$ac_safe=yes"
20994 echo "configure
: failed program was
:" >&5
20995 cat conftest.$ac_ext >&5
20997 eval "ac_cv_header_
$ac_safe=no
"
21001 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21002 echo "$ac_t""yes" 1>&6
21003 ac_has_langinfo_h=yes
21005 echo "$ac_t""no
" 1>&6
21006 ac_has_langinfo_h=no
21010 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
21011 echo "configure
:21012: checking
for iconv in -liconv" >&5
21012 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
21013 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
21014 echo $ac_n "(cached
) $ac_c" 1>&6
21016 ac_save_LIBS="$LIBS"
21017 LIBS="-liconv $LIBS"
21018 cat > conftest.$ac_ext <<EOF
21019 #line 21020 "configure
"
21020 #include "confdefs.h
"
21021 /* Override any gcc2 internal prototype to avoid an error. */
21022 /* We use char because int might match the return type of a gcc2
21023 builtin and then its argument prototype would still apply. */
21030 if { (eval echo configure:21031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21032 eval "ac_cv_lib_
$ac_lib_var=yes"
21034 echo "configure
: failed program was
:" >&5
21035 cat conftest.$ac_ext >&5
21037 eval "ac_cv_lib_
$ac_lib_var=no
"
21040 LIBS="$ac_save_LIBS"
21043 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21044 echo "$ac_t""yes" 1>&6
21047 echo "$ac_t""no
" 1>&6
21050 ac_save_LIBS="$LIBS"
21051 LIBS="$LIBS $libiconv"
21053 for ac_func in iconv_open iconv_close iconv nl_langinfo
21055 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21056 echo "configure
:21057: checking
for $ac_func" >&5
21057 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21058 echo $ac_n "(cached
) $ac_c" 1>&6
21060 cat > conftest.$ac_ext <<EOF
21061 #line 21062 "configure
"
21062 #include "confdefs.h
"
21063 /* System header to define __stub macros and hopefully few prototypes,
21064 which can conflict with char $ac_func(); below. */
21065 #include <assert.h>
21066 /* Override any gcc2 internal prototype to avoid an error. */
21067 /* We use char because int might match the return type of a gcc2
21068 builtin and then its argument prototype would still apply. */
21073 /* The GNU C library defines this for functions which it implements
21074 to always fail with ENOSYS. Some functions are actually named
21075 something starting with __ and the normal name is an alias. */
21076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21084 if { (eval echo configure:21085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21086 eval "ac_cv_func_
$ac_func=yes"
21088 echo "configure
: failed program was
:" >&5
21089 cat conftest.$ac_ext >&5
21091 eval "ac_cv_func_
$ac_func=no
"
21096 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21097 echo "$ac_t""yes" 1>&6
21098 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21099 cat >> confdefs.h <<EOF
21100 #define $ac_tr_func 1
21105 echo "$ac_t""no
" 1>&6
21111 LIBS="$ac_save_LIBS"
21113 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
21114 echo "configure
:21115: checking
for XPG2 wchar_t support
" >&5
21115 if test x"$ac_has_iconv_h" = xyes &&
21116 test x"$ac_has_langinfo_h" = xyes &&
21117 test x"$ac_XPG2funcs" = xyes; then
21118 ac_XPG2_wchar_t=yes
21122 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
21124 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
21125 echo "configure
:21126: checking
for enabled wchar_t specializations
" >&5
21126 if test x"$ac_isoC99_wchar_t" = xyes &&
21127 test x"$ac_XPG2_wchar_t" = xyes; then
21128 cat >> confdefs.h <<\EOF
21129 #define _GLIBCPP_USE_WCHAR_T 1
21132 echo "$ac_t"""yes"" 1>&6
21134 echo "$ac_t"""no"" 1>&6
21137 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
21141 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21142 ac_save_CXXFLAGS="$CXXFLAGS"
21143 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
21146 echo $ac_n "checking
for strtold declaration
""...
$ac_c" 1>&6
21147 echo "configure
:21148: checking
for strtold declaration
" >&5
21148 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
21149 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
21150 echo $ac_n "(cached
) $ac_c" 1>&6
21155 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21156 ac_cpp='$CXXCPP $CPPFLAGS'
21157 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21158 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21159 cross_compiling=$ac_cv_prog_cxx_cross
21161 cat > conftest.$ac_ext <<EOF
21162 #line 21163 "configure
"
21163 #include "confdefs.h
"
21164 #include <stdlib.h>
21169 if { (eval echo configure:21170: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21171 glibcpp_cv_func_strtold_use=yes
21173 echo "configure
: failed program was
:" >&5
21174 cat conftest.$ac_ext >&5
21176 glibcpp_cv_func_strtold_use=no
21180 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21181 ac_cpp='$CPP $CPPFLAGS'
21182 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21183 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21184 cross_compiling=$ac_cv_prog_cc_cross
21190 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
21191 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
21192 for ac_func in strtold
21194 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21195 echo "configure
:21196: checking
for $ac_func" >&5
21196 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21197 echo $ac_n "(cached
) $ac_c" 1>&6
21199 cat > conftest.$ac_ext <<EOF
21200 #line 21201 "configure
"
21201 #include "confdefs.h
"
21202 /* System header to define __stub macros and hopefully few prototypes,
21203 which can conflict with char $ac_func(); below. */
21204 #include <assert.h>
21205 /* Override any gcc2 internal prototype to avoid an error. */
21206 /* We use char because int might match the return type of a gcc2
21207 builtin and then its argument prototype would still apply. */
21212 /* The GNU C library defines this for functions which it implements
21213 to always fail with ENOSYS. Some functions are actually named
21214 something starting with __ and the normal name is an alias. */
21215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21223 if { (eval echo configure:21224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21225 eval "ac_cv_func_
$ac_func=yes"
21227 echo "configure
: failed program was
:" >&5
21228 cat conftest.$ac_ext >&5
21230 eval "ac_cv_func_
$ac_func=no
"
21235 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21236 echo "$ac_t""yes" 1>&6
21237 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21238 cat >> confdefs.h <<EOF
21239 #define $ac_tr_func 1
21243 echo "$ac_t""no
" 1>&6
21250 echo $ac_n "checking
for strtof declaration
""...
$ac_c" 1>&6
21251 echo "configure
:21252: checking
for strtof declaration
" >&5
21252 if test x${glibcpp_cv_func_strtof_use+set} != xset; then
21253 if eval "test \"`echo '$''{'glibcpp_cv_func_strtof_use'+set}'`\" = set"; then
21254 echo $ac_n "(cached
) $ac_c" 1>&6
21259 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21260 ac_cpp='$CXXCPP $CPPFLAGS'
21261 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21262 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21263 cross_compiling=$ac_cv_prog_cxx_cross
21265 cat > conftest.$ac_ext <<EOF
21266 #line 21267 "configure
"
21267 #include "confdefs.h
"
21268 #include <stdlib.h>
21273 if { (eval echo configure:21274: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21275 glibcpp_cv_func_strtof_use=yes
21277 echo "configure
: failed program was
:" >&5
21278 cat conftest.$ac_ext >&5
21280 glibcpp_cv_func_strtof_use=no
21284 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21285 ac_cpp='$CPP $CPPFLAGS'
21286 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21287 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21288 cross_compiling=$ac_cv_prog_cc_cross
21294 echo "$ac_t""$glibcpp_cv_func_strtof_use" 1>&6
21295 if test x$glibcpp_cv_func_strtof_use = x"yes"; then
21296 for ac_func in strtof
21298 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21299 echo "configure
:21300: checking
for $ac_func" >&5
21300 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21301 echo $ac_n "(cached
) $ac_c" 1>&6
21303 cat > conftest.$ac_ext <<EOF
21304 #line 21305 "configure
"
21305 #include "confdefs.h
"
21306 /* System header to define __stub macros and hopefully few prototypes,
21307 which can conflict with char $ac_func(); below. */
21308 #include <assert.h>
21309 /* Override any gcc2 internal prototype to avoid an error. */
21310 /* We use char because int might match the return type of a gcc2
21311 builtin and then its argument prototype would still apply. */
21316 /* The GNU C library defines this for functions which it implements
21317 to always fail with ENOSYS. Some functions are actually named
21318 something starting with __ and the normal name is an alias. */
21319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21327 if { (eval echo configure:21328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21329 eval "ac_cv_func_
$ac_func=yes"
21331 echo "configure
: failed program was
:" >&5
21332 cat conftest.$ac_ext >&5
21334 eval "ac_cv_func_
$ac_func=no
"
21339 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21340 echo "$ac_t""yes" 1>&6
21341 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21342 cat >> confdefs.h <<EOF
21343 #define $ac_tr_func 1
21347 echo "$ac_t""no
" 1>&6
21353 for ac_func in drand48
21355 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21356 echo "configure
:21357: checking
for $ac_func" >&5
21357 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21358 echo $ac_n "(cached
) $ac_c" 1>&6
21360 cat > conftest.$ac_ext <<EOF
21361 #line 21362 "configure
"
21362 #include "confdefs.h
"
21363 /* System header to define __stub macros and hopefully few prototypes,
21364 which can conflict with char $ac_func(); below. */
21365 #include <assert.h>
21366 /* Override any gcc2 internal prototype to avoid an error. */
21367 /* We use char because int might match the return type of a gcc2
21368 builtin and then its argument prototype would still apply. */
21373 /* The GNU C library defines this for functions which it implements
21374 to always fail with ENOSYS. Some functions are actually named
21375 something starting with __ and the normal name is an alias. */
21376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21384 if { (eval echo configure:21385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21386 eval "ac_cv_func_
$ac_func=yes"
21388 echo "configure
: failed program was
:" >&5
21389 cat conftest.$ac_ext >&5
21391 eval "ac_cv_func_
$ac_func=no
"
21396 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21397 echo "$ac_t""yes" 1>&6
21398 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21399 cat >> confdefs.h <<EOF
21400 #define $ac_tr_func 1
21404 echo "$ac_t""no
" 1>&6
21409 CXXFLAGS="$ac_save_CXXFLAGS"
21412 ac_safe=`echo "locale.h
" | sed 'y%./+-%__p_%'`
21413 echo $ac_n "checking
for locale.h
""...
$ac_c" 1>&6
21414 echo "configure
:21415: checking
for locale.h
" >&5
21415 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21416 echo $ac_n "(cached
) $ac_c" 1>&6
21418 cat > conftest.$ac_ext <<EOF
21419 #line 21420 "configure
"
21420 #include "confdefs.h
"
21421 #include <locale.h>
21423 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
21424 { (eval echo configure:21425: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21425 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
21426 if test -z "$ac_err"; then
21428 eval "ac_cv_header_
$ac_safe=yes"
21431 echo "configure
: failed program was
:" >&5
21432 cat conftest.$ac_ext >&5
21434 eval "ac_cv_header_
$ac_safe=no
"
21438 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21439 echo "$ac_t""yes" 1>&6
21441 echo $ac_n "checking
for LC_MESSAGES
""...
$ac_c" 1>&6
21442 echo "configure
:21443: checking
for LC_MESSAGES
" >&5
21443 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
21444 echo $ac_n "(cached
) $ac_c" 1>&6
21446 cat > conftest.$ac_ext <<EOF
21447 #line 21448 "configure
"
21448 #include "confdefs.h
"
21449 #include <locale.h>
21454 if { (eval echo configure:21455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21456 ac_cv_val_LC_MESSAGES=yes
21458 echo "configure
: failed program was
:" >&5
21459 cat conftest.$ac_ext >&5
21461 ac_cv_val_LC_MESSAGES=no
21466 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
21467 if test $ac_cv_val_LC_MESSAGES = yes; then
21468 cat >> confdefs.h <<\EOF
21469 #define HAVE_LC_MESSAGES 1
21475 echo "$ac_t""no
" 1>&6
21480 cat > conftest.$ac_ext <<EOF
21481 #line 21482 "configure
"
21482 #include "confdefs.h
"
21484 #include <setjmp.h>
21487 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
21490 if { (eval echo configure:21491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21492 cat >> confdefs.h <<\EOF
21493 #define HAVE_SIGSETJMP 1
21498 echo "configure
: failed program was
:" >&5
21499 cat conftest.$ac_ext >&5
21503 for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h
21505 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21506 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
21507 echo "configure
:21508: checking
for $ac_hdr" >&5
21508 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21509 echo $ac_n "(cached
) $ac_c" 1>&6
21511 cat > conftest.$ac_ext <<EOF
21512 #line 21513 "configure
"
21513 #include "confdefs.h
"
21516 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
21517 { (eval echo configure:21518: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21518 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
21519 if test -z "$ac_err"; then
21521 eval "ac_cv_header_
$ac_safe=yes"
21524 echo "configure
: failed program was
:" >&5
21525 cat conftest.$ac_ext >&5
21527 eval "ac_cv_header_
$ac_safe=no
"
21531 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21532 echo "$ac_t""yes" 1>&6
21533 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21534 cat >> confdefs.h <<EOF
21535 #define $ac_tr_hdr 1
21539 echo "$ac_t""no
" 1>&6
21543 for ac_func in getpagesize
21545 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21546 echo "configure
:21547: checking
for $ac_func" >&5
21547 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21548 echo $ac_n "(cached
) $ac_c" 1>&6
21550 cat > conftest.$ac_ext <<EOF
21551 #line 21552 "configure
"
21552 #include "confdefs.h
"
21553 /* System header to define __stub macros and hopefully few prototypes,
21554 which can conflict with char $ac_func(); below. */
21555 #include <assert.h>
21556 /* Override any gcc2 internal prototype to avoid an error. */
21557 /* We use char because int might match the return type of a gcc2
21558 builtin and then its argument prototype would still apply. */
21563 /* The GNU C library defines this for functions which it implements
21564 to always fail with ENOSYS. Some functions are actually named
21565 something starting with __ and the normal name is an alias. */
21566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21574 if { (eval echo configure:21575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21576 eval "ac_cv_func_
$ac_func=yes"
21578 echo "configure
: failed program was
:" >&5
21579 cat conftest.$ac_ext >&5
21581 eval "ac_cv_func_
$ac_func=no
"
21586 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21587 echo "$ac_t""yes" 1>&6
21588 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21589 cat >> confdefs.h <<EOF
21590 #define $ac_tr_func 1
21594 echo "$ac_t""no
" 1>&6
21598 echo $ac_n "checking
for working mmap
""...
$ac_c" 1>&6
21599 echo "configure
:21600: checking
for working mmap
" >&5
21600 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
21601 echo $ac_n "(cached
) $ac_c" 1>&6
21603 if test "$cross_compiling" = yes; then
21604 ac_cv_func_mmap_fixed_mapped=no
21606 cat > conftest.$ac_ext <<EOF
21607 #line 21608 "configure
"
21608 #include "confdefs.h
"
21610 /* Thanks to Mike Haertel and Jim Avera for this test.
21611 Here is a matrix of mmap possibilities:
21612 mmap private not fixed
21613 mmap private fixed at somewhere currently unmapped
21614 mmap private fixed at somewhere already mapped
21615 mmap shared not fixed
21616 mmap shared fixed at somewhere currently unmapped
21617 mmap shared fixed at somewhere already mapped
21618 For private mappings, we should verify that changes cannot be read()
21619 back from the file, nor mmap's back from the file at a different
21620 address. (There have been systems where private was not correctly
21621 implemented like the infamous i386 svr4.0, and systems where the
21622 VM page cache was not coherent with the filesystem buffer cache
21623 like early versions of FreeBSD and possibly contemporary NetBSD.)
21624 For shared mappings, we should conversely verify that changes get
21625 propogated back to all the places they're supposed to be.
21627 Grep wants private fixed already mapped.
21628 The main things grep needs to know about mmap are:
21629 * does it exist and is it safe to write into the mmap'd area
21630 * how to use it (BSD variants) */
21631 #include <sys/types.h>
21633 #include <sys/mman.h>
21635 #if HAVE_SYS_TYPES_H
21636 # include <sys/types.h>
21640 # include <stdlib.h>
21643 #if HAVE_SYS_STAT_H
21644 # include <sys/stat.h>
21648 # include <unistd.h>
21651 /* This mess was copied from the GNU getpagesize.h. */
21652 #ifndef HAVE_GETPAGESIZE
21654 /* Assume that all systems that can run configure have sys/param.h. */
21655 # ifndef HAVE_SYS_PARAM_H
21656 # define HAVE_SYS_PARAM_H 1
21659 # ifdef _SC_PAGESIZE
21660 # define getpagesize() sysconf(_SC_PAGESIZE)
21661 # else /* no _SC_PAGESIZE */
21662 # ifdef HAVE_SYS_PARAM_H
21663 # include <sys/param.h>
21664 # ifdef EXEC_PAGESIZE
21665 # define getpagesize() EXEC_PAGESIZE
21666 # else /* no EXEC_PAGESIZE */
21668 # define getpagesize() NBPG * CLSIZE
21671 # endif /* no CLSIZE */
21672 # else /* no NBPG */
21674 # define getpagesize() NBPC
21675 # else /* no NBPC */
21677 # define getpagesize() PAGESIZE
21678 # endif /* PAGESIZE */
21679 # endif /* no NBPC */
21680 # endif /* no NBPG */
21681 # endif /* no EXEC_PAGESIZE */
21682 # else /* no HAVE_SYS_PARAM_H */
21683 # define getpagesize() 8192 /* punt totally */
21684 # endif /* no HAVE_SYS_PARAM_H */
21685 # endif /* no _SC_PAGESIZE */
21687 #endif /* no HAVE_GETPAGESIZE */
21690 extern "C
" { void *malloc(unsigned); }
21698 char *data, *data2, *data3;
21702 pagesize = getpagesize();
21705 * First, make a file with some known garbage in it.
21707 data = malloc(pagesize);
21710 for (i = 0; i < pagesize; ++i)
21711 *(data + i) = rand();
21713 fd = creat("conftestmmap
", 0600);
21716 if (write(fd, data, pagesize) != pagesize)
21721 * Next, try to mmap the file at a fixed address which
21722 * already has something else allocated at it. If we can,
21723 * also make sure that we see the same garbage.
21725 fd = open("conftestmmap
", O_RDWR);
21728 data2 = malloc(2 * pagesize);
21731 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
21732 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
21733 MAP_PRIVATE | MAP_FIXED, fd, 0L))
21735 for (i = 0; i < pagesize; ++i)
21736 if (*(data + i) != *(data2 + i))
21740 * Finally, make sure that changes to the mapped area
21741 * do not percolate back to the file as seen by read().
21742 * (This is a bug on some variants of i386 svr4.0.)
21744 for (i = 0; i < pagesize; ++i)
21745 *(data2 + i) = *(data2 + i) + 1;
21746 data3 = malloc(pagesize);
21749 if (read(fd, data3, pagesize) != pagesize)
21751 for (i = 0; i < pagesize; ++i)
21752 if (*(data + i) != *(data3 + i))
21755 unlink("conftestmmap
");
21760 if { (eval echo configure:21761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
21762 ac_cv_func_mmap_fixed_mapped=yes
21764 echo "configure
: failed program was
:" >&5
21765 cat conftest.$ac_ext >&5
21767 ac_cv_func_mmap_fixed_mapped=no
21774 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
21775 if test $ac_cv_func_mmap_fixed_mapped = yes; then
21776 cat >> confdefs.h <<\EOF
21777 #define HAVE_MMAP 1
21783 # Establish limits on memory usage during 'make check'
21786 setrlimit_have_headers=yes
21787 for ac_hdr in unistd.h sys/time.h sys/resource.h
21789 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21790 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
21791 echo "configure
:21792: checking
for $ac_hdr" >&5
21792 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21793 echo $ac_n "(cached
) $ac_c" 1>&6
21795 cat > conftest.$ac_ext <<EOF
21796 #line 21797 "configure
"
21797 #include "confdefs.h
"
21800 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
21801 { (eval echo configure:21802: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21802 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
21803 if test -z "$ac_err"; then
21805 eval "ac_cv_header_
$ac_safe=yes"
21808 echo "configure
: failed program was
:" >&5
21809 cat conftest.$ac_ext >&5
21811 eval "ac_cv_header_
$ac_safe=no
"
21815 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21816 echo "$ac_t""yes" 1>&6
21817 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21818 cat >> confdefs.h <<EOF
21819 #define $ac_tr_hdr 1
21823 echo "$ac_t""no
" 1>&6
21824 setrlimit_have_headers=no
21828 # If don't have the headers, then we can't run the tests now, and we
21829 # won't be seeing any of these during testsuite compilation.
21830 if test $setrlimit_have_headers = yes; then
21831 # Can't do these in a loop, else the resulting syntax is wrong.
21833 cat > conftest.$ac_ext <<EOF
21834 #line 21835 "configure
"
21835 #include "confdefs.h
"
21836 #include <unistd.h>
21837 #include <sys/time.h>
21838 #include <sys/resource.h>
21841 int f = RLIMIT_DATA ;
21844 if { (eval echo configure:21845: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21848 echo "configure
: failed program was
:" >&5
21849 cat conftest.$ac_ext >&5
21854 cat >> confdefs.h <<EOF
21855 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
21860 cat > conftest.$ac_ext <<EOF
21861 #line 21862 "configure
"
21862 #include "confdefs.h
"
21863 #include <unistd.h>
21864 #include <sys/time.h>
21865 #include <sys/resource.h>
21868 int f = RLIMIT_RSS ;
21871 if { (eval echo configure:21872: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21875 echo "configure
: failed program was
:" >&5
21876 cat conftest.$ac_ext >&5
21881 cat >> confdefs.h <<EOF
21882 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
21887 cat > conftest.$ac_ext <<EOF
21888 #line 21889 "configure
"
21889 #include "confdefs.h
"
21890 #include <unistd.h>
21891 #include <sys/time.h>
21892 #include <sys/resource.h>
21895 int f = RLIMIT_VMEM ;
21898 if { (eval echo configure:21899: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21902 echo "configure
: failed program was
:" >&5
21903 cat conftest.$ac_ext >&5
21908 cat >> confdefs.h <<EOF
21909 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
21914 cat > conftest.$ac_ext <<EOF
21915 #line 21916 "configure
"
21916 #include "confdefs.h
"
21917 #include <unistd.h>
21918 #include <sys/time.h>
21919 #include <sys/resource.h>
21922 int f = RLIMIT_AS ;
21925 if { (eval echo configure:21926: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21929 echo "configure
: failed program was
:" >&5
21930 cat conftest.$ac_ext >&5
21935 cat >> confdefs.h <<EOF
21936 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
21941 # Check for rlimit, setrlimit.
21942 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
21943 echo $ac_n "(cached
) $ac_c" 1>&6
21946 cat > conftest.$ac_ext <<EOF
21947 #line 21948 "configure
"
21948 #include "confdefs.h
"
21949 #include <unistd.h>
21950 #include <sys/time.h>
21951 #include <sys/resource.h>
21954 struct rlimit r; setrlimit(0, &r);
21957 if { (eval echo configure:21958: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21961 echo "configure
: failed program was
:" >&5
21962 cat conftest.$ac_ext >&5
21972 echo $ac_n "checking
for testsuite memory limit support
""...
$ac_c" 1>&6
21973 echo "configure
:21974: checking
for testsuite memory limit support
" >&5
21974 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
21976 cat >> confdefs.h <<\EOF
21977 #define _GLIBCPP_MEM_LIMITS 1
21983 echo "$ac_t""$ac_mem_limits" 1>&6
21986 # Look for setenv, so that extended locale tests can be performed.
21988 echo $ac_n "checking
for setenv declaration
""...
$ac_c" 1>&6
21989 echo "configure
:21990: checking
for setenv declaration
" >&5
21990 if test x${glibcpp_cv_func_setenv_use+set} != xset; then
21991 if eval "test \"`echo '$''{'glibcpp_cv_func_setenv_use'+set}'`\" = set"; then
21992 echo $ac_n "(cached
) $ac_c" 1>&6
21997 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21998 ac_cpp='$CXXCPP $CPPFLAGS'
21999 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22000 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22001 cross_compiling=$ac_cv_prog_cxx_cross
22003 cat > conftest.$ac_ext <<EOF
22004 #line 22005 "configure
"
22005 #include "confdefs.h
"
22006 #include <stdlib.h>
22011 if { (eval echo configure:22012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22013 glibcpp_cv_func_setenv_use=yes
22015 echo "configure
: failed program was
:" >&5
22016 cat conftest.$ac_ext >&5
22018 glibcpp_cv_func_setenv_use=no
22022 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22023 ac_cpp='$CPP $CPPFLAGS'
22024 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22025 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22026 cross_compiling=$ac_cv_prog_cc_cross
22032 echo "$ac_t""$glibcpp_cv_func_setenv_use" 1>&6
22033 if test x$glibcpp_cv_func_setenv_use = x"yes"; then
22034 for ac_func in setenv
22036 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22037 echo "configure
:22038: checking
for $ac_func" >&5
22038 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22039 echo $ac_n "(cached
) $ac_c" 1>&6
22041 cat > conftest.$ac_ext <<EOF
22042 #line 22043 "configure
"
22043 #include "confdefs.h
"
22044 /* System header to define __stub macros and hopefully few prototypes,
22045 which can conflict with char $ac_func(); below. */
22046 #include <assert.h>
22047 /* Override any gcc2 internal prototype to avoid an error. */
22048 /* We use char because int might match the return type of a gcc2
22049 builtin and then its argument prototype would still apply. */
22054 /* The GNU C library defines this for functions which it implements
22055 to always fail with ENOSYS. Some functions are actually named
22056 something starting with __ and the normal name is an alias. */
22057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22065 if { (eval echo configure:22066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22067 eval "ac_cv_func_
$ac_func=yes"
22069 echo "configure
: failed program was
:" >&5
22070 cat conftest.$ac_ext >&5
22072 eval "ac_cv_func_
$ac_func=no
"
22077 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22078 echo "$ac_t""yes" 1>&6
22079 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22080 cat >> confdefs.h <<EOF
22081 #define $ac_tr_func 1
22085 echo "$ac_t""no
" 1>&6
22092 # Export file names for ABI checking.
22093 baseline_file="${glibcpp_srcdir}/config
/abi
/${abi_baseline_triplet}/baseline_symbols.txt
"
22096 # Don't do ABI checking unless native.
22099 if test x"$build" = x"$host" && test -z "$with_cross_host"; then
22100 GLIBCPP_BUILD_ABI_CHECK_TRUE=
22101 GLIBCPP_BUILD_ABI_CHECK_FALSE='#'
22103 GLIBCPP_BUILD_ABI_CHECK_TRUE='#'
22104 GLIBCPP_BUILD_ABI_CHECK_FALSE=
22109 # This depends on the possibly-skipped linker test above.
22110 # Check whether --enable-symvers or --disable-symvers was given.
22111 if test "${enable_symvers+set}" = set; then
22112 enableval="$enable_symvers"
22113 case "$enableval" in
22114 yes) enable_symvers=yes ;;
22115 no) enable_symvers=no ;;
22116 # other names here, just as sanity checks
22117 #gnu|sun|etcetera) enable_symvers=$enableval ;;
22118 gnu) enable_symvers=$enableval ;;
22119 *) { echo "configure
: error
: Unknown argument to enable
/disable symvers
" 1>&2; exit 1; } ;;
22125 # If we never went through the GLIBCPP_CHECK_LINKER_FEATURES macro, then we
22126 # don't know enough about $LD to do tricks...
22127 if test x$enable_shared = xno ||
22129 test x$glibcpp_gnu_ld_version = x; then
22133 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
22134 if test $enable_symvers != no; then
22135 echo $ac_n "checking
for shared libgcc
""...
$ac_c" 1>&6
22136 echo "configure
:22137: checking
for shared libgcc
" >&5
22137 ac_save_CFLAGS="$CFLAGS"
22139 cat > conftest.$ac_ext <<EOF
22140 #line 22141 "configure
"
22141 #include "confdefs.h
"
22147 if { (eval echo configure:22148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22149 glibcpp_shared_libgcc=yes
22151 echo "configure
: failed program was
:" >&5
22152 cat conftest.$ac_ext >&5
22154 glibcpp_shared_libgcc=no
22157 CFLAGS="$ac_save_CFLAGS"
22158 echo "$ac_t""$glibcpp_shared_libgcc" 1>&6
22161 # For GNU ld, we need at least this version. It's 2.12 in the same format
22162 # as the tested-for version. See GLIBCPP_CHECK_LINKER_FEATURES for more.
22163 glibcpp_min_gnu_ld_version=21200
22165 # Check to see if unspecified "yes" value can win, given results
22167 if test $enable_symvers = yes ; then
22168 if test $with_gnu_ld = yes &&
22169 test $glibcpp_shared_libgcc = yes ;
22171 if test $glibcpp_gnu_ld_version -ge $glibcpp_min_gnu_ld_version ; then
22174 ac_test_CFLAGS="${CFLAGS+set}"
22175 ac_save_CFLAGS="$CFLAGS"
22176 CFLAGS='-shared -Wl,--version-script,conftest.map'
22179 echo 'FOO { global: f[a-z]o; local: *; };' > conftest.map
22181 cat > conftest.$ac_ext <<EOF
22182 #line 22183 "configure
"
22183 #include "confdefs.h
"
22189 if { (eval echo configure:22190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22193 echo "configure
: failed program was
:" >&5
22194 cat conftest.$ac_ext >&5
22197 if test "$ac_test_CFLAGS" = set; then
22198 CFLAGS="$ac_save_CFLAGS"
22200 # this is the suspicious part
22206 # just fail for now
22211 case $enable_symvers in
22213 LINKER_MAP=config/linker-map.dummy
22216 LINKER_MAP=config/linker-map.gnu
22223 if test $enable_symvers != no; then
22224 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE=
22225 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE='#'
22227 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE='#'
22228 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE=
22230 echo $ac_n "checking versioning on shared library symbols
""...
$ac_c" 1>&6
22231 echo "configure
:22232: checking versioning on shared library symbols
" >&5
22232 echo "$ac_t""$enable_symvers" 1>&6
22235 # Propagate the target-specific source directories through the build chain.
22236 # (Nothing currently uses cpu_include_dir directly; only ATOMICITYH
22237 # uses it, and they only get used here.)
22238 OS_INC_SRCDIR=config/${os_include_dir}
22239 ATOMICITY_INC_SRCDIR=config/${ATOMICITYH}
22243 # Set up cross-compile flags
22246 if test "$CANADIAN" = yes; then
22254 cat > confcache <<\EOF
22255 # This file is a shell script that caches the results of configure
22256 # tests run on this system so they can be shared between configure
22257 # scripts and configure runs. It is not useful on other systems.
22258 # If it contains results you don't want to keep, you may remove or edit it.
22260 # By default, configure uses ./config.cache as the cache file,
22261 # creating it if it does not exist already. You can give configure
22262 # the --cache-file=FILE option to use a different cache file; that is
22263 # what configure does when it calls configure scripts in
22264 # subdirectories, so they share the cache.
22265 # Giving --cache-file=/dev/null disables caching, for debugging configure.
22266 # config.status only pays attention to the cache file if you give it the
22267 # --recheck option to rerun configure.
22270 # The following way of writing the cache mishandles newlines in values,
22271 # but we know of no workaround that is simple, portable, and efficient.
22272 # So, don't put newlines in cache variables' values.
22273 # Ultrix sh set writes to stderr and can't be redirected directly,
22274 # and sets the high bit in the cache file unless we assign to the vars.
22276 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22278 # `set' does not quote correctly, so add quotes (double-quote substitution
22279 # turns \\\\ into \\, and sed turns \\ into \).
22281 -e "s
/'/'\\\\''/g
" \
22282 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
22285 # `set' quotes correctly as required by POSIX, so do not add quotes.
22286 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
22289 if cmp -s $cache_file confcache; then
22292 if test -w $cache_file; then
22293 echo "updating cache
$cache_file"
22294 cat confcache > $cache_file
22296 echo "not updating unwritable cache
$cache_file"
22302 if test "${multilib}" = "yes"; then
22303 multilib_arg="--enable-multilib"
22308 # Export all the install information
22310 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
22311 # exported correctly in GLIBCPP_CONFIGURE.
22312 glibcpp_toolexecdir=no
22313 glibcpp_toolexeclibdir=no
22314 glibcpp_prefixdir=${prefix}
22316 # Process the option --with-gxx-include-dir=<path to include-files directory>
22317 echo $ac_n "checking
for --with-gxx-include-dir""...
$ac_c" 1>&6
22318 echo "configure
:22319: checking
for --with-gxx-include-dir" >&5
22319 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
22320 if test "${with_gxx_include_dir+set}" = set; then
22321 withval="$with_gxx_include_dir"
22322 case "${withval}" in
22324 { echo "configure
: error
: Missing directory
for --with-gxx-include-dir" 1>&2; exit 1; }
22331 gxx_include_dir=${withval}
22338 echo "$ac_t""$gxx_include_dir" 1>&6
22340 # Process the option "--enable-version-specific-runtime-libs"
22341 echo $ac_n "checking
for --enable-version-specific-runtime-libs""...
$ac_c" 1>&6
22342 echo "configure
:22343: checking
for --enable-version-specific-runtime-libs" >&5
22343 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
22344 if test "${enable_version_specific_runtime_libs+set}" = set; then
22345 enableval="$enable_version_specific_runtime_libs"
22346 case "$enableval" in
22347 yes) version_specific_libs=yes ;;
22348 no) version_specific_libs=no ;;
22349 *) { echo "configure
: error
: Unknown argument to enable
/disable version-specific libs
" 1>&2; exit 1; };;
22352 version_specific_libs=no
22354 # Option set, now we can test it.
22355 echo "$ac_t""$version_specific_libs" 1>&6
22357 # Default case for install directory for include files.
22358 if test $version_specific_libs = no && test $gxx_include_dir = no; then
22359 gxx_include_dir='$(prefix)'/include/c++/${gcc_version}
22362 # Version-specific runtime libs processing.
22363 if test $version_specific_libs = yes; then
22364 # Need the gcc compiler version to know where to install libraries
22365 # and header files if --enable-version-specific-runtime-libs option
22367 if test x"$gxx_include_dir" = x"no
"; then
22368 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/c++
22370 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
22371 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
22374 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
22375 # Install a library built with a cross compiler in tooldir, not libdir.
22376 if test x"$glibcpp_toolexecdir" = x"no
"; then
22377 if test -n "$with_cross_host" &&
22378 test x"$with_cross_host" != x"no
"; then
22379 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
22380 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
22382 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
22383 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
22387 echo $ac_n "checking
for install location
""...
$ac_c" 1>&6
22388 echo "configure
:22389: checking
for install location
" >&5
22389 echo "$ac_t""$gxx_include_dir" 1>&6
22397 # Export all the include and flag information to makefiles.
22399 # Root level of the build directory include sources.
22400 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include
"
22402 # Passed down for canadian crosses.
22403 if test x"$CANADIAN" = xyes; then
22404 TOPLEVEL_INCLUDES='-I$(includedir)'
22407 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
22409 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
22411 if test x"$need_libio" = xyes; then
22412 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
22416 # Now, export this to all the little Makefiles....
22423 # Optimization flags that are probably a good idea for thrill-seekers. Just
22424 # uncomment the lines below and make, everything else is ready to go...
22425 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
22429 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
22433 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
22434 grep "enable shared
" > /dev/null; then
22435 LIBSUPCXX_PICFLAGS=-prefer-pic
22437 LIBSUPCXX_PICFLAGS=
22441 # Generate the various Makefiles, include files, and scripts.
22442 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
22443 # and libsupc++/Makefile.am so that multilib installs will end up
22444 # installed in the correct place. To work around this not being passed
22445 # down from config-ml.in -> top_srcdir/Makefile.am ->
22446 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
22448 cat > confcache <<\EOF
22449 # This file is a shell script that caches the results of configure
22450 # tests run on this system so they can be shared between configure
22451 # scripts and configure runs. It is not useful on other systems.
22452 # If it contains results you don't want to keep, you may remove or edit it.
22454 # By default, configure uses ./config.cache as the cache file,
22455 # creating it if it does not exist already. You can give configure
22456 # the --cache-file=FILE option to use a different cache file; that is
22457 # what configure does when it calls configure scripts in
22458 # subdirectories, so they share the cache.
22459 # Giving --cache-file=/dev/null disables caching, for debugging configure.
22460 # config.status only pays attention to the cache file if you give it the
22461 # --recheck option to rerun configure.
22464 # The following way of writing the cache mishandles newlines in values,
22465 # but we know of no workaround that is simple, portable, and efficient.
22466 # So, don't put newlines in cache variables' values.
22467 # Ultrix sh set writes to stderr and can't be redirected directly,
22468 # and sets the high bit in the cache file unless we assign to the vars.
22470 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22472 # `set' does not quote correctly, so add quotes (double-quote substitution
22473 # turns \\\\ into \\, and sed turns \\ into \).
22475 -e "s
/'/'\\\\''/g
" \
22476 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
22479 # `set' quotes correctly as required by POSIX, so do not add quotes.
22480 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
22483 if cmp -s $cache_file confcache; then
22486 if test -w $cache_file; then
22487 echo "updating cache
$cache_file"
22488 cat confcache > $cache_file
22490 echo "not updating unwritable cache
$cache_file"
22495 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
22497 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
22498 # Let make expand exec_prefix.
22499 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
22501 # Any assignment to VPATH causes Sun make to only execute
22502 # the first set of double-colon rules, so remove it if not needed.
22503 # If there is a colon in the path, we need to keep it.
22504 if test "x
$srcdir" = x.; then
22505 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
22508 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
22510 DEFS=-DHAVE_CONFIG_H
22512 # Without the ".
/", some shells look in PATH for config.status.
22513 : ${CONFIG_STATUS=./config.status}
22515 echo creating $CONFIG_STATUS
22516 rm -f $CONFIG_STATUS
22517 cat > $CONFIG_STATUS <<EOF
22519 # Generated automatically by configure.
22520 # Run this file to recreate the current configuration.
22521 # This directory was configured as follows,
22522 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22524 # $0 $ac_configure_args
22526 # Compiler output produced by configure, useful for debugging
22527 # configure, is in ./config.log if it exists.
22529 ac_cs_usage="Usage
: $CONFIG_STATUS [--recheck] [--version] [--help]"
22532 case "\
$ac_option" in
22533 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22534 echo "running \
${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
22535 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
22536 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
22537 echo "$CONFIG_STATUS generated by autoconf version
2.13"
22539 -help | --help | --hel | --he | --h)
22540 echo "\
$ac_cs_usage"; exit 0 ;;
22541 *) echo "\
$ac_cs_usage"; exit 1 ;;
22545 ac_given_srcdir=$srcdir
22546 ac_given_INSTALL="$INSTALL"
22548 trap 'rm -fr `echo "Makefile \
22549 include
/Makefile src
/Makefile \
22550 libmath
/Makefile libio
/Makefile libsupc
++/Makefile \
22551 po
/Makefile testsuite
/Makefile mkcheck testsuite_flags config.h
" | sed "s
/:[^
]*//g
"` conftest*; exit 1' 1 2 15
22553 cat >> $CONFIG_STATUS <<EOF
22555 # Protect against being on the right side of a sed subst in config.status.
22556 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
22557 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
22561 s%@CFLAGS@%$CFLAGS%g
22562 s%@CPPFLAGS@%$CPPFLAGS%g
22563 s%@CXXFLAGS@%$CXXFLAGS%g
22564 s%@FFLAGS@%$FFLAGS%g
22566 s%@LDFLAGS@%$LDFLAGS%g
22568 s%@exec_prefix@%$exec_prefix%g
22569 s%@prefix@%$prefix%g
22570 s%@program_transform_name@%$program_transform_name%g
22571 s%@bindir@%$bindir%g
22572 s%@sbindir@%$sbindir%g
22573 s%@libexecdir@%$libexecdir%g
22574 s%@datadir@%$datadir%g
22575 s%@sysconfdir@%$sysconfdir%g
22576 s%@sharedstatedir@%$sharedstatedir%g
22577 s%@localstatedir@%$localstatedir%g
22578 s%@libdir@%$libdir%g
22579 s%@includedir@%$includedir%g
22580 s%@oldincludedir@%$oldincludedir%g
22581 s%@infodir@%$infodir%g
22582 s%@mandir@%$mandir%g
22583 s%@PACKAGE@%$PACKAGE%g
22584 s%@libtool_VERSION@%$libtool_VERSION%g
22585 s%@toplevel_srcdir@%$toplevel_srcdir%g
22587 s%@host_alias@%$host_alias%g
22588 s%@host_cpu@%$host_cpu%g
22589 s%@host_vendor@%$host_vendor%g
22590 s%@host_os@%$host_os%g
22591 s%@target@%$target%g
22592 s%@target_alias@%$target_alias%g
22593 s%@target_cpu@%$target_cpu%g
22594 s%@target_vendor@%$target_vendor%g
22595 s%@target_os@%$target_os%g
22597 s%@build_alias@%$build_alias%g
22598 s%@build_cpu@%$build_cpu%g
22599 s%@build_vendor@%$build_vendor%g
22600 s%@build_os@%$build_os%g
22601 s%@glibcpp_builddir@%$glibcpp_builddir%g
22602 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
22605 s%@glibcpp_basedir@%$glibcpp_basedir%g
22607 s%@glibcpp_CXX@%$glibcpp_CXX%g
22610 s%@RANLIB@%$RANLIB%g
22611 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
22612 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
22613 s%@INSTALL_DATA@%$INSTALL_DATA%g
22614 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
22615 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
22617 s%@EXEEXT@%$EXEEXT%g
22618 s%@VERSION@%$VERSION%g
22619 s%@ACLOCAL@%$ACLOCAL%g
22620 s%@AUTOCONF@%$AUTOCONF%g
22621 s%@AUTOMAKE@%$AUTOMAKE%g
22622 s%@AUTOHEADER@%$AUTOHEADER%g
22623 s%@MAKEINFO@%$MAKEINFO%g
22624 s%@SET_MAKE@%$SET_MAKE%g
22625 s%@OBJEXT@%$OBJEXT%g
22627 s%@LIBTOOL@%$LIBTOOL%g
22628 s%@CXXCPP@%$CXXCPP%g
22629 s%@enable_shared@%$enable_shared%g
22630 s%@enable_static@%$enable_static%g
22631 s%@ifGNUmake@%$ifGNUmake%g
22632 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
22634 s%@CSTDIO_H@%$CSTDIO_H%g
22635 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
22636 s%@CCODECVT_C@%$CCODECVT_C%g
22637 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
22638 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
22639 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
22640 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
22641 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
22642 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
22643 s%@libio_la@%$libio_la%g
22644 s%@check_msgfmt@%$check_msgfmt%g
22645 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
22646 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
22647 s%@glibcpp_localedir@%$glibcpp_localedir%g
22648 s%@USE_NLS@%$USE_NLS%g
22649 s%@CLOCALE_H@%$CLOCALE_H%g
22650 s%@CCODECVT_H@%$CCODECVT_H%g
22651 s%@CMESSAGES_H@%$CMESSAGES_H%g
22652 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
22653 s%@GLIBCPP_C_HEADERS_C_TRUE@%$GLIBCPP_C_HEADERS_C_TRUE%g
22654 s%@GLIBCPP_C_HEADERS_C_FALSE@%$GLIBCPP_C_HEADERS_C_FALSE%g
22655 s%@GLIBCPP_C_HEADERS_C_STD_TRUE@%$GLIBCPP_C_HEADERS_C_STD_TRUE%g
22656 s%@GLIBCPP_C_HEADERS_C_STD_FALSE@%$GLIBCPP_C_HEADERS_C_STD_FALSE%g
22657 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE%g
22658 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE%g
22659 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
22660 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
22661 s%@LIBUNWIND_FLAG@%$LIBUNWIND_FLAG%g
22662 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
22663 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
22664 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
22665 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
22666 s%@WERROR@%$WERROR%g
22667 s%@baseline_file@%$baseline_file%g
22668 s%@GLIBCPP_BUILD_ABI_CHECK_TRUE@%$GLIBCPP_BUILD_ABI_CHECK_TRUE%g
22669 s%@GLIBCPP_BUILD_ABI_CHECK_FALSE@%$GLIBCPP_BUILD_ABI_CHECK_FALSE%g
22670 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g
22671 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g
22672 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
22673 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
22674 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
22675 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
22676 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
22677 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
22678 s%@gxx_include_dir@%$gxx_include_dir%g
22679 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
22680 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
22681 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
22682 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
22683 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
22684 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
22685 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
22686 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
22687 s%@WARN_FLAGS@%$WARN_FLAGS%g
22688 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
22693 cat >> $CONFIG_STATUS <<\EOF
22695 # Split the substitutions into bite-sized pieces for seds with
22696 # small command number limits, like on Digital OSF/1 and HP-UX.
22697 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
22698 ac_file=1 # Number of current file.
22699 ac_beg=1 # First line for current file.
22700 ac_end=$ac_max_sed_cmds # Line after last line for current file.
22703 while $ac_more_lines; do
22704 if test $ac_beg -gt 1; then
22705 sed "1,${ac_beg}d
; ${ac_end}q
" conftest.subs > conftest.s$ac_file
22707 sed "${ac_end}q
" conftest.subs > conftest.s$ac_file
22709 if test ! -s conftest.s$ac_file; then
22710 ac_more_lines=false
22711 rm -f conftest.s$ac_file
22713 if test -z "$ac_sed_cmds"; then
22714 ac_sed_cmds="sed -f conftest.s
$ac_file"
22716 ac_sed_cmds="$ac_sed_cmds |
sed -f conftest.s
$ac_file"
22718 ac_file=`expr $ac_file + 1`
22720 ac_end=`expr $ac_end + $ac_max_sed_cmds`
22723 if test -z "$ac_sed_cmds"; then
22728 cat >> $CONFIG_STATUS <<EOF
22730 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
22731 include
/Makefile src
/Makefile \
22732 libmath
/Makefile libio
/Makefile libsupc
++/Makefile \
22733 po
/Makefile testsuite
/Makefile mkcheck testsuite_flags
"}
22735 cat >> $CONFIG_STATUS <<\EOF
22736 for ac_file in .. $CONFIG_FILES; do if test "x
$ac_file" != x..; then
22737 # Support "outfile
[:infile
[:infile...
]]", defaulting infile="outfile.
in".
22739 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
22740 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
22741 *) ac_file_in="${ac_file}.
in" ;;
22744 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
22746 # Remove last slash and all that follows it. Not all systems have dirname.
22747 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22748 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
22749 # The file is in a subdirectory.
22750 test ! -d "$ac_dir" && mkdir "$ac_dir"
22751 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
22752 # A "..
/" for each directory in $ac_dir_suffix.
22753 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
22755 ac_dir_suffix= ac_dots=
22758 case "$ac_given_srcdir" in
22760 if test -z "$ac_dots"; then top_srcdir=.
22761 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
22762 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
22763 *) # Relative path.
22764 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
22765 top_srcdir="$ac_dots$ac_given_srcdir" ;;
22768 case "$ac_given_INSTALL" in
22769 [/$]*) INSTALL="$ac_given_INSTALL" ;;
22770 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
22773 echo creating "$ac_file"
22775 configure_input="Generated automatically from
`echo $ac_file_in|sed 's%.*/%%'` by configure.
"
22777 *Makefile*) ac_comsub="1i
\\
22778 # $configure_input" ;;
22782 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22784 s%@configure_input@%$configure_input%g
22785 s%@srcdir@%$srcdir%g
22786 s%@top_srcdir@%$top_srcdir%g
22787 s%@INSTALL@%$INSTALL%g
22788 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
22792 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
22793 # NAME is the cpp macro being defined and VALUE is the value it is being given.
22795 # ac_d sets the value in "#define NAME VALUE" lines.
22796 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22797 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
22800 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
22801 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22802 ac_uB
='\([ ]\)%\1#\2define\3'
22805 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22806 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22807 ac_eB
='$%\1#\2define\3'
22811 if test "${CONFIG_HEADERS+set}" != set; then
22813 cat >> $CONFIG_STATUS <<EOF
22814 CONFIG_HEADERS="config.h"
22816 cat >> $CONFIG_STATUS <<\EOF
22818 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
22819 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22821 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
22822 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
22823 *) ac_file_in
="${ac_file}.in" ;;
22826 echo creating
$ac_file
22828 rm -f conftest.frag conftest.
in conftest.out
22829 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22830 cat $ac_file_inputs > conftest.
in
22834 # Transform confdefs.h into a sed script conftest.vals that substitutes
22835 # the proper values into config.h.in to produce config.h. And first:
22836 # Protect against being on the right side of a sed subst in config.status.
22837 # Protect against being in an unquoted here document in config.status.
22838 rm -f conftest.vals
22839 cat > conftest.hdr
<<\EOF
22842 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
22846 sed -n -f conftest.hdr confdefs.h > conftest.vals
22849 # This sed command replaces #undef with comments. This is necessary, for
22850 # example, in the case of _POSIX_SOURCE, which is predefined and required
22851 # on some systems where configure will not decide to define it.
22852 cat >> conftest.vals <<\EOF
22853 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
22856 # Break up conftest.vals because some shells have a limit on
22857 # the size of here documents, and old seds have small limits too.
22859 rm -f conftest.tail
22862 ac_lines=`grep -c . conftest.vals
`
22863 # grep -c gives empty output for an empty file on some AIX systems.
22864 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
22865 # Write a limited-size here document to conftest.frag.
22866 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
22867 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
22869 sed -f conftest.frag conftest.in > conftest.out
22871 mv conftest.out conftest.in
22872 ' >> $CONFIG_STATUS
22873 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
22874 rm -f conftest.vals
22875 mv conftest.tail conftest.vals
22877 rm -f conftest.vals
22879 cat >> $CONFIG_STATUS <<\EOF
22880 rm -f conftest.frag conftest.h
22881 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
22882 cat conftest.in >> conftest.h
22884 if cmp -s $ac_file conftest.h 2>/dev/null; then
22885 echo "$ac_file is unchanged"
22888 # Remove last slash and all that follows it. Not all systems have dirname.
22889 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
22890 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
22891 # The file is in a subdirectory.
22892 test ! -d "$ac_dir" && mkdir "$ac_dir"
22895 mv conftest.h $ac_file
22901 cat >> $CONFIG_STATUS <<EOF
22902 ac_sources="$BASIC_FILE_CC $CLOCALE_CC $CCODECVT_CC $CCOLLATE_CC $CCTYPE_CC $CMESSAGES_CC $CMONEY_CC $CNUMERIC_CC $CTIME_CC $CLOCALE_INTERNAL_H $LINKER_MAP"
22903 ac_dests="src/basic_file.cc src/c++locale.cc src/codecvt_members.cc src/collate_members.cc src/ctype_members.cc src/messages_members.cc src/monetary_members.cc src/numeric_members.cc src/time_members.cc src/c++locale_internal.h src/linker.map"
22906 cat >> $CONFIG_STATUS <<\EOF
22907 srcdir=$ac_given_srcdir
22908 while test -n "$ac_sources"; do
22909 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
22910 set $ac_sources; ac_source=$1; shift; ac_sources=$*
22912 echo "linking $srcdir/$ac_source to $ac_dest"
22914 if test ! -r $srcdir/$ac_source; then
22915 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
22919 # Make relative symlinks.
22920 # Remove last slash and all that follows it. Not all systems have dirname.
22921 ac_dest_dir=`echo $ac_dest|
sed 's%/[^/][^/]*$%%'`
22922 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
22923 # The dest file is in a subdirectory.
22924 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
22925 ac_dest_dir_suffix="/`echo $ac_dest_dir|
sed 's%^\./%%'`"
22926 # A "../" for each directory in $ac_dest_dir_suffix.
22927 ac_dots=`echo $ac_dest_dir_suffix|
sed 's%/[^/]*%../%g'`
22929 ac_dest_dir_suffix= ac_dots=
22933 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
22934 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
22937 # Make a symlink if possible; otherwise try a hard link.
22938 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
22939 ln $srcdir/$ac_source $ac_dest; then :
22941 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
22945 cat >> $CONFIG_STATUS <<EOF
22950 with_multisubdir=${with_multisubdir}
22951 ac_configure_args="${multilib_arg} ${ac_configure_args}"
22952 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
22953 glibcpp_basedir=${glibcpp_basedir}
22958 cat >> $CONFIG_STATUS <<\EOF
22959 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
22960 if test -n "$CONFIG_FILES"; then
22961 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
22962 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
22963 grep '^MULTISUBDIR =' Makefile >> src/Makefile
22964 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
22967 chmod +x testsuite_flags
22971 chmod +x $CONFIG_STATUS
22972 rm -fr confdefs* $ac_clean_files
22973 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
22977 # Sanity checking & User-visible messages.
22978 # Checks down here, otherwise they get scrolled off before
22979 # the user will notice.
22981 # Trying to get more people to read documentation. Possibly remove
22982 # check and warn all the time. There is no "informational" AC_MSG_
22983 # macro, so these are going to be printed even when --quiet/--silent
22985 if test ! -f stamp-sanity-warned; then
22986 touch stamp-sanity-warned
22988 echo "Please make certain that you read the installation information here:"
22989 echo " faster => ${srcdir}/docs/html/install.html"
22990 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
22992 echo "and the configuration information here:"
22993 echo " faster => ${srcdir}/docs/html/configopts.html"
22994 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
22996 echo "before proceeding with ${_cv_gnu_make_command}."