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 mawk gawk 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 *.$ac_ext | *.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 am__api_version="1.4"
1502 echo $ac_n "checking whether build environment is sane
""...
$ac_c" 1>&6
1503 echo "configure
:1504: checking whether build environment is sane
" >&5
1506 echo timestamp > conftestfile
1507 # Do `set' in a subshell so we don't clobber the current shell's
1508 # arguments. Must try -L first in case configure is actually a
1509 # symlink; some systems play weird games with the mod time of symlinks
1510 # (eg FreeBSD returns the mod time of the symlink's containing
1513 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1514 if test "$
*" = "X
"; then
1516 set X `ls -t $srcdir/configure conftestfile`
1518 if test "$
*" != "X
$srcdir/configure conftestfile
" \
1519 && test "$
*" != "X conftestfile
$srcdir/configure
"; then
1521 # If neither matched, then we have a broken ls. This can happen
1522 # if, for instance, CONFIG_SHELL is bash and it inherits a
1523 # broken ls alias from the environment. This has actually
1524 # happened. Such a system could not be considered "sane
".
1525 { echo "configure
: error
: ls -t appears to fail. Make sure there is not a broken
1526 alias in your environment
" 1>&2; exit 1; }
1529 test "$2" = conftestfile
1535 { echo "configure
: error
: newly created
file is older than distributed files
!
1536 Check your system
clock" 1>&2; exit 1; }
1539 echo "$ac_t""yes" 1>&6
1540 if test "$program_transform_name" = s,x,x,; then
1541 program_transform_name=
1543 # Double any \ or $. echo might interpret backslashes.
1544 cat <<\EOF_SED > conftestsed
1545 s,\\,\\\\,g; s,\$,$$,g
1547 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
1550 test "$program_prefix" != NONE &&
1551 program_transform_name="s
,^
,${program_prefix},; $program_transform_name"
1552 # Use a double $ so make ignores it.
1553 test "$program_suffix" != NONE &&
1554 program_transform_name="s
,\$\$
,${program_suffix},; $program_transform_name"
1556 # sed with no file args requires a program.
1557 test "$program_transform_name" = "" && program_transform_name="s
,x
,x
,"
1559 echo $ac_n "checking whether
${MAKE-make} sets \
${MAKE}""...
$ac_c" 1>&6
1560 echo "configure
:1561: checking whether
${MAKE-make} sets \
${MAKE}" >&5
1561 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
1562 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
1563 echo $ac_n "(cached
) $ac_c" 1>&6
1565 cat > conftestmake <<\EOF
1567 @echo 'ac_maketemp="${MAKE}"'
1569 # GNU make sometimes prints "make[1]: Entering...
", which would confuse us.
1570 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
1571 if test -n "$ac_maketemp"; then
1572 eval ac_cv_prog_make_${ac_make}_set=yes
1574 eval ac_cv_prog_make_${ac_make}_set=no
1578 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1579 echo "$ac_t""yes" 1>&6
1582 echo "$ac_t""no
" 1>&6
1583 SET_MAKE="MAKE
=${MAKE-make}"
1589 VERSION=$gcc_version
1591 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1592 { echo "configure
: error
: source directory already configured
; run
"make distclean" there first
" 1>&2; exit 1; }
1594 cat >> confdefs.h <<EOF
1595 #define PACKAGE "$PACKAGE"
1598 cat >> confdefs.h <<EOF
1599 #define VERSION "$VERSION"
1604 missing_dir=`cd $ac_aux_dir && pwd`
1605 echo $ac_n "checking
for working aclocal-
${am__api_version}""...
$ac_c" 1>&6
1606 echo "configure
:1607: checking
for working aclocal-
${am__api_version}" >&5
1607 # Run test in a subshell; some versions of sh will print an error if
1608 # an executable is not found, even if stderr is redirected.
1609 # Redirect stdin to placate older versions of autoconf. Sigh.
1610 if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1611 ACLOCAL=aclocal-${am__api_version}
1612 echo "$ac_t""found
" 1>&6
1614 ACLOCAL="$missing_dir/missing aclocal-
${am__api_version}"
1615 echo "$ac_t""missing
" 1>&6
1618 echo $ac_n "checking
for working autoconf
""...
$ac_c" 1>&6
1619 echo "configure
:1620: checking
for working autoconf
" >&5
1620 # Run test in a subshell; some versions of sh will print an error if
1621 # an executable is not found, even if stderr is redirected.
1622 # Redirect stdin to placate older versions of autoconf. Sigh.
1623 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1625 echo "$ac_t""found
" 1>&6
1627 AUTOCONF="$missing_dir/missing autoconf
"
1628 echo "$ac_t""missing
" 1>&6
1631 echo $ac_n "checking
for working automake-
${am__api_version}""...
$ac_c" 1>&6
1632 echo "configure
:1633: checking
for working automake-
${am__api_version}" >&5
1633 # Run test in a subshell; some versions of sh will print an error if
1634 # an executable is not found, even if stderr is redirected.
1635 # Redirect stdin to placate older versions of autoconf. Sigh.
1636 if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1637 AUTOMAKE=automake-${am__api_version}
1638 echo "$ac_t""found
" 1>&6
1640 AUTOMAKE="$missing_dir/missing automake-
${am__api_version}"
1641 echo "$ac_t""missing
" 1>&6
1644 echo $ac_n "checking
for working autoheader
""...
$ac_c" 1>&6
1645 echo "configure
:1646: checking
for working autoheader
" >&5
1646 # Run test in a subshell; some versions of sh will print an error if
1647 # an executable is not found, even if stderr is redirected.
1648 # Redirect stdin to placate older versions of autoconf. Sigh.
1649 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1650 AUTOHEADER=autoheader
1651 echo "$ac_t""found
" 1>&6
1653 AUTOHEADER="$missing_dir/missing autoheader
"
1654 echo "$ac_t""missing
" 1>&6
1657 echo $ac_n "checking
for working makeinfo
""...
$ac_c" 1>&6
1658 echo "configure
:1659: checking
for working makeinfo
" >&5
1659 # Run test in a subshell; some versions of sh will print an error if
1660 # an executable is not found, even if stderr is redirected.
1661 # Redirect stdin to placate older versions of autoconf. Sigh.
1662 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1664 echo "$ac_t""found
" 1>&6
1666 MAKEINFO="$missing_dir/missing makeinfo
"
1667 echo "$ac_t""missing
" 1>&6
1676 # Check whether --enable-shared or --disable-shared was given.
1677 if test "${enable_shared+set}" = set; then
1678 enableval="$enable_shared"
1679 p=${PACKAGE-default}
1681 yes) enable_shared=yes ;;
1682 no) enable_shared=no ;;
1685 # Look at the argument we got. We use all the common list separators.
1686 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1687 for pkg in $enableval; do
1688 if test "X
$pkg" = "X
$p"; then
1699 # Check whether --enable-static or --disable-static was given.
1700 if test "${enable_static+set}" = set; then
1701 enableval="$enable_static"
1702 p=${PACKAGE-default}
1704 yes) enable_static=yes ;;
1705 no) enable_static=no ;;
1708 # Look at the argument we got. We use all the common list separators.
1709 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1710 for pkg in $enableval; do
1711 if test "X
$pkg" = "X
$p"; then
1722 # Check whether --enable-fast-install or --disable-fast-install was given.
1723 if test "${enable_fast_install+set}" = set; then
1724 enableval="$enable_fast_install"
1725 p=${PACKAGE-default}
1727 yes) enable_fast_install=yes ;;
1728 no) enable_fast_install=no ;;
1730 enable_fast_install=no
1731 # Look at the argument we got. We use all the common list separators.
1732 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1733 for pkg in $enableval; do
1734 if test "X
$pkg" = "X
$p"; then
1735 enable_fast_install=yes
1742 enable_fast_install=yes
1745 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1746 if test "${with_gnu_ld+set}" = set; then
1747 withval="$with_gnu_ld"
1748 test "$withval" = no || with_gnu_ld=yes
1754 if test "$GCC" = yes; then
1755 # Check if gcc -print-prog-name=ld gives a path.
1756 echo $ac_n "checking
for ld used by GCC
""...
$ac_c" 1>&6
1757 echo "configure
:1758: checking
for ld used by GCC
" >&5
1760 # gcc leaves a trailing carriage return which upsets mingw
1761 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1763 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1766 # Accept absolute paths.
1767 [\\/]* | [A-Za-z]:[\\/]*)
1768 re_direlt='/[^/][^/]*/\.\./'
1769 # Canonicalize the path of ld
1770 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1771 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1772 ac_prog=`echo $ac_prog| sed "s
%$re_direlt%/%"`
1774 test -z "$LD" && LD="$ac_prog"
1777 # If it fails, then pretend we aren't using GCC.
1781 # If it is relative, then search for the first ld in PATH.
1785 elif test "$with_gnu_ld" = yes; then
1786 echo $ac_n "checking
for GNU ld
""...
$ac_c" 1>&6
1787 echo "configure
:1788: checking
for GNU ld
" >&5
1789 echo $ac_n "checking
for non-GNU ld
""...
$ac_c" 1>&6
1790 echo "configure
:1791: checking
for non-GNU ld
" >&5
1792 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1793 echo $ac_n "(cached
) $ac_c" 1>&6
1795 if test -z "$LD"; then
1796 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1797 for ac_dir in $PATH; do
1798 test -z "$ac_dir" && ac_dir=.
1799 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1800 lt_cv_path_LD="$ac_dir/$ac_prog"
1801 # Check to see if the program is GNU ld. I'd rather use --version,
1802 # but apparently some GNU ld's only accept -v.
1803 # Break only if it was the GNU/non-GNU ld that we prefer.
1804 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1805 test "$with_gnu_ld" != no && break
1807 test "$with_gnu_ld" != yes && break
1813 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1818 if test -n "$LD"; then
1819 echo "$ac_t""$LD" 1>&6
1821 echo "$ac_t""no
" 1>&6
1823 test -z "$LD" && { echo "configure
: error
: no acceptable ld found
in \
$PATH" 1>&2; exit 1; }
1824 echo $ac_n "checking
if the linker
($LD) is GNU ld
""...
$ac_c" 1>&6
1825 echo "configure
:1826: checking
if the linker
($LD) is GNU ld
" >&5
1826 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1827 echo $ac_n "(cached
) $ac_c" 1>&6
1829 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1830 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1831 lt_cv_prog_gnu_ld=yes
1833 lt_cv_prog_gnu_ld=no
1837 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1838 with_gnu_ld=$lt_cv_prog_gnu_ld
1841 echo $ac_n "checking
for $LD option to reload object files
""...
$ac_c" 1>&6
1842 echo "configure
:1843: checking
for $LD option to reload object files
" >&5
1843 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1844 echo $ac_n "(cached
) $ac_c" 1>&6
1846 lt_cv_ld_reload_flag='-r'
1849 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1850 reload_flag=$lt_cv_ld_reload_flag
1851 test -n "$reload_flag" && reload_flag=" $reload_flag"
1853 echo $ac_n "checking
for BSD-compatible nm
""...
$ac_c" 1>&6
1854 echo "configure
:1855: checking
for BSD-compatible nm
" >&5
1855 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1856 echo $ac_n "(cached
) $ac_c" 1>&6
1858 if test -n "$NM"; then
1859 # Let the user override the test.
1862 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1863 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1864 test -z "$ac_dir" && ac_dir=.
1865 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1866 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1867 # Check to see if the nm accepts a BSD-compat flag.
1868 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1869 # nm: unknown option "B
" ignored
1870 # Tru64's nm complains that /dev/null is an invalid object file
1871 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1872 lt_cv_path_NM="$tmp_nm -B"
1874 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1875 lt_cv_path_NM="$tmp_nm -p"
1878 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1879 continue # so that we can try to find one that supports BSD flags
1884 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1889 echo "$ac_t""$NM" 1>&6
1891 echo $ac_n "checking how to recognise dependant libraries
""...
$ac_c" 1>&6
1892 echo "configure
:1893: checking how to recognise dependant libraries
" >&5
1893 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1894 echo $ac_n "(cached
) $ac_c" 1>&6
1896 lt_cv_file_magic_cmd='$MAGIC_CMD'
1897 lt_cv_file_magic_test_file=
1898 lt_cv_deplibs_check_method='unknown'
1899 # Need to set the preceding variable on all platforms that support
1900 # interlibrary dependencies.
1901 # 'none' -- dependencies not supported.
1902 # `unknown' -- same as none, but documents that we really don't know.
1903 # 'pass_all' -- all dependencies passed with no checks.
1904 # 'test_compile' -- check by making test program.
1905 # 'file_magic [regex]' -- check by looking for files in library path
1906 # which responds to the $file_magic_cmd with a given egrep regex.
1907 # If you have `file' or equivalent on your system and you're not sure
1908 # whether `pass_all' will *always* work, you probably want this one.
1912 lt_cv_deplibs_check_method=pass_all
1916 lt_cv_deplibs_check_method=pass_all
1920 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1921 lt_cv_file_magic_cmd='/usr/bin/file -L'
1922 lt_cv_file_magic_test_file=/shlib/libc.so
1925 cygwin* | mingw* |pw32*)
1926 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1927 lt_cv_file_magic_cmd='$OBJDUMP -f'
1930 darwin* | rhapsody*)
1931 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1932 lt_cv_file_magic_cmd='/usr/bin/file -L'
1934 rhapsody* | darwin1.012)
1935 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
1938 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
1944 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1947 # Not sure whether the presence of OpenBSD here was a mistake.
1948 # Let's accept both of them until this is cleared up.
1949 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1950 lt_cv_file_magic_cmd=/usr/bin/file
1951 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1955 lt_cv_deplibs_check_method=pass_all
1960 lt_cv_deplibs_check_method=pass_all
1966 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1967 lt_cv_file_magic_cmd=/usr/bin/file
1968 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1971 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
1972 lt_cv_file_magic_cmd=/usr/bin/file
1973 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
1981 # this will be overridden with pass_all, but let us keep it just in case
1982 lt_cv_deplibs_check_method="file_magic ELF
32-bit MSB dynamic lib MIPS
- version
1"
1986 *-32|*"-32 ") libmagic=32-bit;;
1987 *-n32|*"-n32 ") libmagic=N32;;
1988 *-64|*"-64 ") libmagic=64-bit;;
1989 *) libmagic=never-match;;
1991 # this will be overridden with pass_all, but let us keep it just in case
1992 lt_cv_deplibs_check_method="file_magic ELF
${libmagic} MSB mips-
[1234] dynamic lib MIPS
- version
1"
1995 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
1996 lt_cv_deplibs_check_method=pass_all
1999 # This must be Linux ELF.
2002 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
2003 lt_cv_deplibs_check_method=pass_all ;;
2005 # glibc up to 2.1.1 does not perform some relocations on ARM
2006 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2008 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2012 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2013 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2015 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2020 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2021 lt_cv_file_magic_cmd=/usr/bin/file
2022 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2025 osf3* | osf4* | osf5*)
2026 # this will be overridden with pass_all, but let us keep it just in case
2027 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2028 lt_cv_file_magic_test_file=/shlib/libc.so
2029 lt_cv_deplibs_check_method=pass_all
2033 lt_cv_deplibs_check_method=pass_all
2037 lt_cv_deplibs_check_method=pass_all
2038 lt_cv_file_magic_test_file=/lib/libc.so
2041 sysv5uw[78]* | sysv4*uw2*)
2042 lt_cv_deplibs_check_method=pass_all
2045 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2046 case $host_vendor in
2048 lt_cv_deplibs_check_method=pass_all
2051 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]'
2052 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2060 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2061 file_magic_cmd=$lt_cv_file_magic_cmd
2062 deplibs_check_method=$lt_cv_deplibs_check_method
2064 echo $ac_n "checking
for object suffix
""...
$ac_c" 1>&6
2065 echo "configure
:2066: checking
for object suffix
" >&5
2066 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2067 echo $ac_n "(cached
) $ac_c" 1>&6
2070 echo 'int i = 1;' > conftest.$ac_ext
2071 if { (eval echo configure:2072: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2072 for ac_file in conftest.*; do
2075 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2079 { echo "configure
: error
: installation or configuration problem
; compiler does not work
" 1>&2; exit 1; }
2084 echo "$ac_t""$ac_cv_objext" 1>&6
2085 OBJEXT=$ac_cv_objext
2086 ac_objext=$ac_cv_objext
2088 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2090 # Only perform the check for file, if the check method requires it
2091 case $deplibs_check_method in
2093 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2094 echo $ac_n "checking
for ${ac_tool_prefix}file""...
$ac_c" 1>&6
2095 echo "configure
:2096: checking
for ${ac_tool_prefix}file" >&5
2096 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2097 echo $ac_n "(cached
) $ac_c" 1>&6
2101 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2104 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2107 ac_save_MAGIC_CMD="$MAGIC_CMD"
2108 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2109 ac_dummy="/usr
/bin
:$PATH"
2110 for ac_dir in $ac_dummy; do
2111 test -z "$ac_dir" && ac_dir=.
2112 if test -f $ac_dir/${ac_tool_prefix}file; then
2113 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2114 if test -n "$file_magic_test_file"; then
2115 case $deplibs_check_method in
2117 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2118 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2119 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2120 egrep "$file_magic_regex" > /dev/null; then
2125 *** Warning: the command libtool uses to detect shared libraries,
2126 *** $file_magic_cmd, produces output that libtool cannot recognize.
2127 *** The result is that libtool may fail to recognize shared libraries
2128 *** as such. This will affect the creation of libtool libraries that
2129 *** depend on shared libraries, but programs linked with such libtool
2130 *** libraries will work regardless of this problem. Nevertheless, you
2131 *** may want to report the problem to your system manager and/or to
2132 *** bug-libtool@gnu.org
2142 MAGIC_CMD="$ac_save_MAGIC_CMD"
2147 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2148 if test -n "$MAGIC_CMD"; then
2149 echo "$ac_t""$MAGIC_CMD" 1>&6
2151 echo "$ac_t""no
" 1>&6
2154 if test -z "$lt_cv_path_MAGIC_CMD"; then
2155 if test -n "$ac_tool_prefix"; then
2156 echo $ac_n "checking
for file""...
$ac_c" 1>&6
2157 echo "configure
:2158: checking
for file" >&5
2158 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2159 echo $ac_n "(cached
) $ac_c" 1>&6
2163 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2166 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2169 ac_save_MAGIC_CMD="$MAGIC_CMD"
2170 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2171 ac_dummy="/usr
/bin
:$PATH"
2172 for ac_dir in $ac_dummy; do
2173 test -z "$ac_dir" && ac_dir=.
2174 if test -f $ac_dir/file; then
2175 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2176 if test -n "$file_magic_test_file"; then
2177 case $deplibs_check_method in
2179 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2180 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2181 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2182 egrep "$file_magic_regex" > /dev/null; then
2187 *** Warning: the command libtool uses to detect shared libraries,
2188 *** $file_magic_cmd, produces output that libtool cannot recognize.
2189 *** The result is that libtool may fail to recognize shared libraries
2190 *** as such. This will affect the creation of libtool libraries that
2191 *** depend on shared libraries, but programs linked with such libtool
2192 *** libraries will work regardless of this problem. Nevertheless, you
2193 *** may want to report the problem to your system manager and/or to
2194 *** bug-libtool@gnu.org
2204 MAGIC_CMD="$ac_save_MAGIC_CMD"
2209 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2210 if test -n "$MAGIC_CMD"; then
2211 echo "$ac_t""$MAGIC_CMD" 1>&6
2213 echo "$ac_t""no
" 1>&6
2225 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
2226 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2227 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2228 echo "configure
:2229: checking
for $ac_word" >&5
2229 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2230 echo $ac_n "(cached
) $ac_c" 1>&6
2232 if test -n "$RANLIB"; then
2233 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2235 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2237 for ac_dir in $ac_dummy; do
2238 test -z "$ac_dir" && ac_dir=.
2239 if test -f $ac_dir/$ac_word; then
2240 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
2247 RANLIB="$ac_cv_prog_RANLIB"
2248 if test -n "$RANLIB"; then
2249 echo "$ac_t""$RANLIB" 1>&6
2251 echo "$ac_t""no
" 1>&6
2255 if test -z "$ac_cv_prog_RANLIB"; then
2256 if test -n "$ac_tool_prefix"; then
2257 # Extract the first word of "ranlib
", so it can be a program name with args.
2258 set dummy ranlib; ac_word=$2
2259 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2260 echo "configure
:2261: checking
for $ac_word" >&5
2261 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2262 echo $ac_n "(cached
) $ac_c" 1>&6
2264 if test -n "$RANLIB"; then
2265 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2267 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2269 for ac_dir in $ac_dummy; do
2270 test -z "$ac_dir" && ac_dir=.
2271 if test -f $ac_dir/$ac_word; then
2272 ac_cv_prog_RANLIB="ranlib
"
2277 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2280 RANLIB="$ac_cv_prog_RANLIB"
2281 if test -n "$RANLIB"; then
2282 echo "$ac_t""$RANLIB" 1>&6
2284 echo "$ac_t""no
" 1>&6
2292 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
2293 set dummy ${ac_tool_prefix}strip; ac_word=$2
2294 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2295 echo "configure
:2296: checking
for $ac_word" >&5
2296 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2297 echo $ac_n "(cached
) $ac_c" 1>&6
2299 if test -n "$STRIP"; then
2300 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2302 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2304 for ac_dir in $ac_dummy; do
2305 test -z "$ac_dir" && ac_dir=.
2306 if test -f $ac_dir/$ac_word; then
2307 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
2314 STRIP="$ac_cv_prog_STRIP"
2315 if test -n "$STRIP"; then
2316 echo "$ac_t""$STRIP" 1>&6
2318 echo "$ac_t""no
" 1>&6
2322 if test -z "$ac_cv_prog_STRIP"; then
2323 if test -n "$ac_tool_prefix"; then
2324 # Extract the first word of "strip
", so it can be a program name with args.
2325 set dummy strip; ac_word=$2
2326 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2327 echo "configure
:2328: checking
for $ac_word" >&5
2328 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2329 echo $ac_n "(cached
) $ac_c" 1>&6
2331 if test -n "$STRIP"; then
2332 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2334 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2336 for ac_dir in $ac_dummy; do
2337 test -z "$ac_dir" && ac_dir=.
2338 if test -f $ac_dir/$ac_word; then
2339 ac_cv_prog_STRIP="strip
"
2344 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2347 STRIP="$ac_cv_prog_STRIP"
2348 if test -n "$STRIP"; then
2349 echo "$ac_t""$STRIP" 1>&6
2351 echo "$ac_t""no
" 1>&6
2360 # Check for any special flags to pass to ltconfig.
2361 libtool_flags="--cache-file=$cache_file"
2362 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2363 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2364 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2365 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2366 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2367 libtool_flags="$libtool_flags --enable-dlopen"
2369 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2370 if test "${enable_libtool_lock+set}" = set; then
2371 enableval="$enable_libtool_lock"
2375 test "x
$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2376 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2378 # Check whether --with-pic or --without-pic was given.
2379 if test "${with_pic+set}" = set; then
2386 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2387 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2389 # Some flags need to be propagated to the compiler or linker for good
2393 # Find out which ABI we are using.
2394 echo '#line 2395 "configure
"' > conftest.$ac_ext
2395 if { (eval echo configure:2396: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2396 case `/usr/bin/file conftest.$ac_objext` in
2412 # Find out which ABI we are using.
2413 echo 'int i;' > conftest.$ac_ext
2414 if { (eval echo configure:2415: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2415 case "`/usr/bin/file conftest.o`" in
2428 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2429 SAVE_CFLAGS="$CFLAGS"
2430 CFLAGS="$CFLAGS -belf"
2431 echo $ac_n "checking whether the C compiler needs
-belf""...
$ac_c" 1>&6
2432 echo "configure
:2433: checking whether the C compiler needs
-belf" >&5
2433 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2434 echo $ac_n "(cached
) $ac_c" 1>&6
2438 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2439 ac_cpp='$CPP $CPPFLAGS'
2440 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2441 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2442 cross_compiling=$ac_cv_prog_cc_cross
2444 cat > conftest.$ac_ext <<EOF
2445 #line 2446 "configure
"
2446 #include "confdefs.h
"
2452 if { (eval echo configure:2453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2454 lt_cv_cc_needs_belf=yes
2456 echo "configure
: failed program was
:" >&5
2457 cat conftest.$ac_ext >&5
2459 lt_cv_cc_needs_belf=no
2463 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2464 ac_cpp='$CPP $CPPFLAGS'
2465 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2466 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2467 cross_compiling=$ac_cv_prog_cc_cross
2471 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2472 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2473 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2474 CFLAGS="$SAVE_CFLAGS"
2481 echo $ac_n "checking how to run the C
++ preprocessor
""...
$ac_c" 1>&6
2482 echo "configure
:2483: checking how to run the C
++ preprocessor
" >&5
2483 if test -z "$CXXCPP"; then
2484 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2485 echo $ac_n "(cached
) $ac_c" 1>&6
2488 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2489 ac_cpp='$CXXCPP $CPPFLAGS'
2490 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2491 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2492 cross_compiling=$ac_cv_prog_cxx_cross
2493 CXXCPP="${CXX-g++} -E"
2494 cat > conftest.$ac_ext <<EOF
2495 #line 2496 "configure
"
2496 #include "confdefs.h
"
2499 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2500 { (eval echo configure:2501: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2501 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2502 if test -z "$ac_err"; then
2506 echo "configure
: failed program was
:" >&5
2507 cat conftest.$ac_ext >&5
2512 ac_cv_prog_CXXCPP="$CXXCPP"
2514 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2515 ac_cpp='$CPP $CPPFLAGS'
2516 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2517 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2518 cross_compiling=$ac_cv_prog_cc_cross
2521 CXXCPP="$ac_cv_prog_CXXCPP"
2522 echo "$ac_t""$CXXCPP" 1>&6
2525 # Save cache, so that ltconfig can load it
2526 cat > confcache <<\EOF
2527 # This file is a shell script that caches the results of configure
2528 # tests run on this system so they can be shared between configure
2529 # scripts and configure runs. It is not useful on other systems.
2530 # If it contains results you don't want to keep, you may remove or edit it.
2532 # By default, configure uses ./config.cache as the cache file,
2533 # creating it if it does not exist already. You can give configure
2534 # the --cache-file=FILE option to use a different cache file; that is
2535 # what configure does when it calls configure scripts in
2536 # subdirectories, so they share the cache.
2537 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2538 # config.status only pays attention to the cache file if you give it the
2539 # --recheck option to rerun configure.
2542 # The following way of writing the cache mishandles newlines in values,
2543 # but we know of no workaround that is simple, portable, and efficient.
2544 # So, don't put newlines in cache variables' values.
2545 # Ultrix sh set writes to stderr and can't be redirected directly,
2546 # and sets the high bit in the cache file unless we assign to the vars.
2548 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2550 # `set' does not quote correctly, so add quotes (double-quote substitution
2551 # turns \\\\ into \\, and sed turns \\ into \).
2553 -e "s
/'/'\\\\''/g
" \
2554 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
2557 # `set' quotes correctly as required by POSIX, so do not add quotes.
2558 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2561 if cmp -s $cache_file confcache; then
2564 if test -w $cache_file; then
2565 echo "updating cache
$cache_file"
2566 cat confcache > $cache_file
2568 echo "not updating unwritable cache
$cache_file"
2574 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2575 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2576 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2577 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2578 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2579 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2580 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2581 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2582 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2583 || { echo "configure
: error
: libtool configure failed
" 1>&2; exit 1; }
2585 # Reload cache, that may have been modified by ltconfig
2586 if test -r "$cache_file"; then
2587 echo "loading cache
$cache_file"
2590 echo "creating cache
$cache_file"
2595 # This can be used to rebuild libtool when needed
2596 LIBTOOL_DEPS="$ac_aux_dir/ltconfig
$ac_aux_dir/ltmain.sh
$ac_aux_dir/ltcf-c.sh
"
2598 # Always use our own libtool.
2599 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2601 # Redirect the config.log output again, so that the ltconfig log is not
2602 # clobbered by the next message.
2603 exec 5>>./config.log
2607 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh
"
2609 lt_save_CFLAGS="$CFLAGS"
2610 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2611 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2612 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2613 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2614 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2615 deplibs_check_method="$deplibs_check_method" \
2616 file_magic_cmd="$file_magic_cmd" \
2617 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2618 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2619 || { echo "configure
: error
: libtool tag configuration failed
" 1>&2; exit 1; }
2621 CFLAGS="$lt_save_CFLAGS"
2623 # Redirect the config.log output again, so that the ltconfig log is not
2624 # clobbered by the next message.
2625 exec 5>>./config.log
2635 # Check for c++ or library specific bits that don't require linking.
2636 #GLIBCPP_CHECK_COMPILER_VERSION
2637 echo $ac_n "checking
for GNU
make""...
$ac_c" 1>&6
2638 echo "configure
:2639: checking
for GNU
make" >&5
2639 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2640 echo $ac_n "(cached
) $ac_c" 1>&6
2642 _cv_gnu_make_command='' ;
2643 for a in "${MAKE-make}" make gmake gnumake ; do
2644 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2646 _cv_gnu_make_command=$a ;
2653 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2654 if test "x
$_cv_gnu_make_command" != "x
" ; then
2662 # Enable all the variable C++ stuff. C_MBCHAR must come early.
2663 # Check whether --enable-debug or --disable-debug was given.
2664 if test "${enable_debug+set}" = set; then
2665 enableval="$enable_debug"
2666 case "${enableval}" in
2667 yes) enable_debug=yes ;;
2668 no) enable_debug=no ;;
2669 *) { echo "configure
: error
: Unknown argument to enable
/disable extra debugging
" 1>&2; exit 1; } ;;
2675 case "${enable_debug}" in
2677 DEBUG_FLAGS='-O0 -ggdb3'
2685 echo $ac_n "checking how to run the C preprocessor
""...
$ac_c" 1>&6
2686 echo "configure
:2687: checking how to run the C preprocessor
" >&5
2687 # On Suns, sometimes $CPP names a directory.
2688 if test -n "$CPP" && test -d "$CPP"; then
2691 if test -z "$CPP"; then
2692 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2693 echo $ac_n "(cached
) $ac_c" 1>&6
2695 # This must be in double quotes, not single quotes, because CPP may get
2696 # substituted into the Makefile and "${CC-cc}" will confuse make.
2698 # On the NeXT, cc -E runs the code through the compiler's parser,
2699 # not just through cpp.
2700 cat > conftest.$ac_ext <<EOF
2701 #line 2702 "configure
"
2702 #include "confdefs.h
"
2706 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2707 { (eval echo configure:2708: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2708 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2709 if test -z "$ac_err"; then
2713 echo "configure
: failed program was
:" >&5
2714 cat conftest.$ac_ext >&5
2716 CPP="${CC-cc} -E -traditional-cpp"
2717 cat > conftest.$ac_ext <<EOF
2718 #line 2719 "configure
"
2719 #include "confdefs.h
"
2723 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2724 { (eval echo configure:2725: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2725 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2726 if test -z "$ac_err"; then
2730 echo "configure
: failed program was
:" >&5
2731 cat conftest.$ac_ext >&5
2733 CPP="${CC-cc} -nologo -E"
2734 cat > conftest.$ac_ext <<EOF
2735 #line 2736 "configure
"
2736 #include "confdefs.h
"
2740 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2741 { (eval echo configure:2742: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2742 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2743 if test -z "$ac_err"; then
2747 echo "configure
: failed program was
:" >&5
2748 cat conftest.$ac_ext >&5
2757 ac_cv_prog_CPP="$CPP"
2759 CPP="$ac_cv_prog_CPP"
2761 ac_cv_prog_CPP="$CPP"
2763 echo "$ac_t""$CPP" 1>&6
2766 echo $ac_n "checking
for cstdio to use
""...
$ac_c" 1>&6
2767 echo "configure
:2768: checking
for cstdio to use
" >&5
2768 # Check whether --enable-cstdio or --disable-cstdio was given.
2769 if test "${enable_cstdio+set}" = set; then
2770 enableval="$enable_cstdio"
2771 if test x$enable_cstdio = xno; then
2779 enable_cstdio_flag=$enable_cstdio
2781 case x${enable_cstdio_flag} in
2783 CSTDIO_H=config/io/c_io_libio.h
2784 BASIC_FILE_H=config/io/basic_file_libio.h
2785 BASIC_FILE_CC=config/io/basic_file_libio.cc
2786 echo "$ac_t""libio
" 1>&6
2788 # see if we are on a system with libio native (ie, linux)
2789 ac_safe=`echo "libio.h
" | sed 'y%./+-%__p_%'`
2790 echo $ac_n "checking
for libio.h
""...
$ac_c" 1>&6
2791 echo "configure
:2792: checking
for libio.h
" >&5
2792 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2793 echo $ac_n "(cached
) $ac_c" 1>&6
2795 cat > conftest.$ac_ext <<EOF
2796 #line 2797 "configure
"
2797 #include "confdefs.h
"
2800 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2801 { (eval echo configure:2802: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2802 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2803 if test -z "$ac_err"; then
2805 eval "ac_cv_header_
$ac_safe=yes"
2808 echo "configure
: failed program was
:" >&5
2809 cat conftest.$ac_ext >&5
2811 eval "ac_cv_header_
$ac_safe=no
"
2815 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2816 echo "$ac_t""yes" 1>&6
2819 echo "$ac_t""no
" 1>&6
2824 # Need to check and see what version of glibc is being used. If
2825 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2826 # compile most of libio for linux systems.
2827 if test x$has_libio = x"yes"; then
2830 echo $ac_n "checking
for glibc version
>= 2.2""...
$ac_c" 1>&6
2831 echo "configure
:2832: checking
for glibc version
>= 2.2" >&5
2832 cat > conftest.$ac_ext <<EOF
2833 #line 2834 "configure
"
2834 #include "confdefs.h
"
2836 #include <features.h>
2837 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2842 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
2843 egrep "ok
" >/dev/null 2>&1; then
2845 glibc_satisfactory=yes
2848 glibc_satisfactory=no
2852 echo "$ac_t""$glibc_satisfactory" 1>&6
2856 # XXX at the moment, admit defeat and force the recompilation
2857 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2858 glibc_satisfactory=no
2860 if test x$glibc_satisfactory = x"yes"; then
2865 # bkoz XXX need to add checks to enable this
2866 # pme XXX here's a first pass at such a check
2867 if test x$enable_c_mbchar != xno; then
2875 # Using libio, but <libio.h> doesn't exist on the target system. . .
2877 # bkoz XXX need to add checks to enable this
2878 # pme XXX here's a first pass at such a check
2879 if test x$enable_c_mbchar != xno; then
2886 xstdio | x | xno | xnone | xyes)
2888 CSTDIO_H=config/io/c_io_stdio.h
2889 BASIC_FILE_H=config/io/basic_file_stdio.h
2890 BASIC_FILE_CC=config/io/basic_file_stdio.cc
2891 echo "$ac_t""stdio
" 1>&6
2893 # We're not using stdio.
2898 echo "$enable_cstdio is an unknown io package
" 1>&2
2906 # 2000-08-04 bkoz hack
2907 CCODECVT_C=config/io/c_io_libio_codecvt.c
2909 # 2000-08-04 bkoz hack
2913 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2914 GLIBCPP_BUILD_LIBIO_TRUE=
2915 GLIBCPP_BUILD_LIBIO_FALSE='#'
2917 GLIBCPP_BUILD_LIBIO_TRUE='#'
2918 GLIBCPP_BUILD_LIBIO_FALSE=
2922 if test "$need_libio" = yes; then
2923 GLIBCPP_NEED_LIBIO_TRUE=
2924 GLIBCPP_NEED_LIBIO_FALSE='#'
2926 GLIBCPP_NEED_LIBIO_TRUE='#'
2927 GLIBCPP_NEED_LIBIO_FALSE=
2931 if test "$need_wlibio" = yes; then
2932 GLIBCPP_NEED_WLIBIO_TRUE=
2933 GLIBCPP_NEED_WLIBIO_FALSE='#'
2935 GLIBCPP_NEED_WLIBIO_TRUE='#'
2936 GLIBCPP_NEED_WLIBIO_FALSE=
2938 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2939 libio_la=../libio/libio.la
2946 echo $ac_n "checking
for clocale to use
""...
$ac_c" 1>&6
2947 echo "configure
:2948: checking
for clocale to use
" >&5
2948 # Check whether --enable-clocale or --disable-clocale was given.
2949 if test "${enable_clocale+set}" = set; then
2950 enableval="$enable_clocale"
2951 if test x$enable_clocale = xno; then
2959 enable_clocale_flag=$enable_clocale
2961 if test x$enable_clocale_flag = xno; then
2962 case x${target_os} in
2964 cat > conftest.$ac_ext <<EOF
2965 #line 2966 "configure
"
2966 #include "confdefs.h
"
2968 #include <features.h>
2969 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2974 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
2975 egrep "_GLIBCPP_ok
" >/dev/null 2>&1; then
2977 enable_clocale_flag=gnu
2980 enable_clocale_flag=generic
2985 # Test for bugs early in glibc-2.2.x series
2986 if test x$enable_clocale_flag = xgnu; then
2987 if test "$cross_compiling" = yes; then
2988 enable_clocale_flag=generic
2990 cat > conftest.$ac_ext <<EOF
2991 #line 2992 "configure
"
2992 #include "confdefs.h
"
2994 #define _GNU_SOURCE 1
2997 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
2998 extern __typeof(newlocale) __newlocale;
2999 extern __typeof(duplocale) __duplocale;
3000 extern __typeof(strcoll_l) __strcoll_l;
3004 const char __one[] = "Äuglein Augmen
";
3005 const char __two[] = "Äuglein
";
3010 loc = __newlocale(1 << LC_ALL, "de_DE
", 0);
3011 loc_dup = __duplocale(loc);
3012 i = __strcoll_l(__one, __two, loc);
3013 j = __strcoll_l(__one, __two, loc_dup);
3018 if { (eval echo configure:3019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3020 enable_clocale_flag=gnu
3022 echo "configure
: failed program was
:" >&5
3023 cat conftest.$ac_ext >&5
3025 enable_clocale_flag=generic
3032 # ... at some point put __strxfrm_l tests in as well.
3035 enable_clocale_flag=generic
3040 # Check whether --enable-nls or --disable-nls was given.
3041 if test "${enable_nls+set}" = set; then
3042 enableval="$enable_nls"
3050 case x${enable_clocale_flag} in
3052 echo "$ac_t""generic
" 1>&6
3054 CLOCALE_H=config/locale/generic/c_locale.h
3055 CLOCALE_CC=config/locale/generic/c_locale.cc
3056 CCODECVT_H=config/locale/generic/codecvt_specializations.h
3057 CCODECVT_CC=config/locale/generic/codecvt_members.cc
3058 CCOLLATE_CC=config/locale/generic/collate_members.cc
3059 CCTYPE_CC=config/locale/generic/ctype_members.cc
3060 CMESSAGES_H=config/locale/generic/messages_members.h
3061 CMESSAGES_CC=config/locale/generic/messages_members.cc
3062 CMONEY_CC=config/locale/generic/monetary_members.cc
3063 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3064 CTIME_CC=config/locale/generic/time_members.cc
3065 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
3068 echo "$ac_t""gnu
" 1>&6
3070 # Declare intention to use gettext, and add support for specific
3072 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
3075 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
3076 # Extract the first word of "msgfmt
", so it can be a program name with args.
3077 set dummy msgfmt; ac_word=$2
3078 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
3079 echo "configure
:3080: checking
for $ac_word" >&5
3080 if eval "test \"`echo '$''{'ac_cv_prog_check_msgfmt'+set}'`\" = set"; then
3081 echo $ac_n "(cached
) $ac_c" 1>&6
3083 if test -n "$check_msgfmt"; then
3084 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
3086 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3088 for ac_dir in $ac_dummy; do
3089 test -z "$ac_dir" && ac_dir=.
3090 if test -f $ac_dir/$ac_word; then
3091 ac_cv_prog_check_msgfmt="yes"
3096 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no
"
3099 check_msgfmt="$ac_cv_prog_check_msgfmt"
3100 if test -n "$check_msgfmt"; then
3101 echo "$ac_t""$check_msgfmt" 1>&6
3103 echo "$ac_t""no
" 1>&6
3106 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
3109 # Export the build objects.
3110 for ling in $ALL_LINGUAS; do \
3111 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo
"; \
3112 glibcpp_POFILES="$glibcpp_POFILES $ling.po
"; \
3117 CLOCALE_H=config/locale/gnu/c_locale.h
3118 CLOCALE_CC=config/locale/gnu/c_locale.cc
3119 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3120 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
3121 CCOLLATE_CC=config/locale/gnu/collate_members.cc
3122 CCTYPE_CC=config/locale/gnu/ctype_members.cc
3123 CMESSAGES_H=config/locale/gnu/messages_members.h
3124 CMESSAGES_CC=config/locale/gnu/messages_members.cc
3125 CMONEY_CC=config/locale/gnu/monetary_members.cc
3126 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
3127 CTIME_CC=config/locale/gnu/time_members.cc
3128 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
3131 echo "$ac_t""generic
" 1>&6
3133 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
3134 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
3135 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3136 CCODECVT_CC=config/locale/generic/codecvt_members.cc
3137 CCOLLATE_CC=config/locale/generic/collate_members.cc
3138 CCTYPE_CC=config/locale/generic/ctype_members.cc
3139 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
3140 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
3141 CMONEY_CC=config/locale/generic/monetary_members.cc
3142 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3143 CTIME_CC=config/locale/generic/time_members.cc
3144 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
3147 echo "$enable_clocale is an unknown locale package
" 1>&2
3152 # This is where the testsuite looks for locale catalogs, using the
3153 # -DLOCALEDIR define during testsuite compilation.
3154 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3157 # For the time being, transform ctype_noninline.h to ctype_members_char.cc
3158 # CCTYPE_CHAR_CC=config/${os_include_dir}/ctype_noninline.h
3167 # AC_LINK_FILES($CCTYPE_CHAR_CC, src/ctype_members_char.cc)
3175 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3176 if test "${enable_c_mbchar+set}" = set; then
3177 enableval="$enable_c_mbchar"
3178 case "$enableval" in
3179 yes) enable_c_mbchar=yes ;;
3180 no) enable_c_mbchar=no ;;
3181 *) { echo "configure
: error
: Unknown argument to enable
/disable c-mbchar
" 1>&2; exit 1; } ;;
3188 # Check whether --enable-c99 or --disable-c99 was given.
3189 if test "${enable_c99+set}" = set; then
3190 enableval="$enable_c99"
3191 case "$enableval" in
3192 yes) enable_c99=yes ;;
3193 no) enable_c99=no ;;
3194 *) { echo "configure
: error
: Unknown argument to enable
/disable C99
" 1>&2; exit 1; } ;;
3202 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3203 ac_cpp='$CXXCPP $CPPFLAGS'
3204 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3205 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3206 cross_compiling=$ac_cv_prog_cxx_cross
3209 # Check for the existence of <math.h> functions used if C99 is enabled.
3211 echo $ac_n "checking
for ISO C99 support
in <math.h
>""...
$ac_c" 1>&6
3212 echo "configure
:3213: checking
for ISO C99 support
in <math.h
>" >&5
3213 cat > conftest.$ac_ext <<EOF
3214 #line 3215 "configure
"
3215 #include "confdefs.h
"
3221 if { (eval echo configure:3222: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3224 echo "configure
: failed program was
:" >&5
3225 cat conftest.$ac_ext >&5
3230 cat > conftest.$ac_ext <<EOF
3231 #line 3232 "configure
"
3232 #include "confdefs.h
"
3238 if { (eval echo configure:3239: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3241 echo "configure
: failed program was
:" >&5
3242 cat conftest.$ac_ext >&5
3247 cat > conftest.$ac_ext <<EOF
3248 #line 3249 "configure
"
3249 #include "confdefs.h
"
3255 if { (eval echo configure:3256: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3258 echo "configure
: failed program was
:" >&5
3259 cat conftest.$ac_ext >&5
3264 cat > conftest.$ac_ext <<EOF
3265 #line 3266 "configure
"
3266 #include "confdefs.h
"
3272 if { (eval echo configure:3273: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3275 echo "configure
: failed program was
:" >&5
3276 cat conftest.$ac_ext >&5
3281 cat > conftest.$ac_ext <<EOF
3282 #line 3283 "configure
"
3283 #include "confdefs.h
"
3289 if { (eval echo configure:3290: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3292 echo "configure
: failed program was
:" >&5
3293 cat conftest.$ac_ext >&5
3298 cat > conftest.$ac_ext <<EOF
3299 #line 3300 "configure
"
3300 #include "confdefs.h
"
3306 if { (eval echo configure:3307: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3309 echo "configure
: failed program was
:" >&5
3310 cat conftest.$ac_ext >&5
3315 cat > conftest.$ac_ext <<EOF
3316 #line 3317 "configure
"
3317 #include "confdefs.h
"
3323 if { (eval echo configure:3324: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3326 echo "configure
: failed program was
:" >&5
3327 cat conftest.$ac_ext >&5
3332 cat > conftest.$ac_ext <<EOF
3333 #line 3334 "configure
"
3334 #include "confdefs.h
"
3337 isgreaterequal(0.0,0.0);
3340 if { (eval echo configure:3341: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3343 echo "configure
: failed program was
:" >&5
3344 cat conftest.$ac_ext >&5
3349 cat > conftest.$ac_ext <<EOF
3350 #line 3351 "configure
"
3351 #include "confdefs.h
"
3357 if { (eval echo configure:3358: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3360 echo "configure
: failed program was
:" >&5
3361 cat conftest.$ac_ext >&5
3366 cat > conftest.$ac_ext <<EOF
3367 #line 3368 "configure
"
3368 #include "confdefs.h
"
3371 islessequal(0.0,0.0);
3374 if { (eval echo configure:3375: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3377 echo "configure
: failed program was
:" >&5
3378 cat conftest.$ac_ext >&5
3383 cat > conftest.$ac_ext <<EOF
3384 #line 3385 "configure
"
3385 #include "confdefs.h
"
3388 islessgreater(0.0,0.0);
3391 if { (eval echo configure:3392: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3394 echo "configure
: failed program was
:" >&5
3395 cat conftest.$ac_ext >&5
3400 cat > conftest.$ac_ext <<EOF
3401 #line 3402 "configure
"
3402 #include "confdefs.h
"
3405 isunordered(0.0,0.0);
3408 if { (eval echo configure:3409: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3411 echo "configure
: failed program was
:" >&5
3412 cat conftest.$ac_ext >&5
3417 echo "$ac_t""$ac_c99_math" 1>&6
3419 # Check for the existence in <stdio.h> of vscanf, et. al.
3421 echo $ac_n "checking
for ISO C99 support
in <stdio.h
>""...
$ac_c" 1>&6
3422 echo "configure
:3423: checking
for ISO C99 support
in <stdio.h
>" >&5
3423 cat > conftest.$ac_ext <<EOF
3424 #line 3425 "configure
"
3425 #include "confdefs.h
"
3428 snprintf("12", 0, "%i
");
3431 if { (eval echo configure:3432: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3434 echo "configure
: failed program was
:" >&5
3435 cat conftest.$ac_ext >&5
3440 cat > conftest.$ac_ext <<EOF
3441 #line 3442 "configure
"
3442 #include "confdefs.h
"
3445 void foo(char* fmt, ...)
3446 {va_list args; va_start(args, fmt);
3447 vfscanf(stderr, "%i
", args);}
3452 if { (eval echo configure:3453: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3455 echo "configure
: failed program was
:" >&5
3456 cat conftest.$ac_ext >&5
3461 cat > conftest.$ac_ext <<EOF
3462 #line 3463 "configure
"
3463 #include "confdefs.h
"
3466 void foo(char* fmt, ...)
3467 {va_list args; va_start(args, fmt);
3468 vscanf("%i
", args);}
3473 if { (eval echo configure:3474: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3476 echo "configure
: failed program was
:" >&5
3477 cat conftest.$ac_ext >&5
3482 cat > conftest.$ac_ext <<EOF
3483 #line 3484 "configure
"
3484 #include "confdefs.h
"
3487 void foo(char* fmt, ...)
3488 {va_list args; va_start(args, fmt);
3489 vsnprintf(fmt, 0, "%i
", args);}
3494 if { (eval echo configure:3495: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3497 echo "configure
: failed program was
:" >&5
3498 cat conftest.$ac_ext >&5
3503 cat > conftest.$ac_ext <<EOF
3504 #line 3505 "configure
"
3505 #include "confdefs.h
"
3508 void foo(char* fmt, ...)
3509 {va_list args; va_start(args, fmt);
3510 vsscanf(fmt, "%i
", args);}
3515 if { (eval echo configure:3516: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3518 echo "configure
: failed program was
:" >&5
3519 cat conftest.$ac_ext >&5
3524 echo "$ac_t""$ac_c99_stdio" 1>&6
3526 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3528 echo $ac_n "checking
for lldiv_t declaration
""...
$ac_c" 1>&6
3529 echo "configure
:3530: checking
for lldiv_t declaration
" >&5
3530 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3531 echo $ac_n "(cached
) $ac_c" 1>&6
3534 cat > conftest.$ac_ext <<EOF
3535 #line 3536 "configure
"
3536 #include "confdefs.h
"
3542 if { (eval echo configure:3543: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3546 echo "configure
: failed program was
:" >&5
3547 cat conftest.$ac_ext >&5
3555 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3557 echo $ac_n "checking
for ISO C99 support
in <stdlib.h
>""...
$ac_c" 1>&6
3558 echo "configure
:3559: checking
for ISO C99 support
in <stdlib.h
>" >&5
3559 cat > conftest.$ac_ext <<EOF
3560 #line 3561 "configure
"
3561 #include "confdefs.h
"
3564 char* tmp; strtof("gnu
", &tmp);
3567 if { (eval echo configure:3568: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3570 echo "configure
: failed program was
:" >&5
3571 cat conftest.$ac_ext >&5
3576 cat > conftest.$ac_ext <<EOF
3577 #line 3578 "configure
"
3578 #include "confdefs.h
"
3581 char* tmp; strtold("gnu
", &tmp);
3584 if { (eval echo configure:3585: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3587 echo "configure
: failed program was
:" >&5
3588 cat conftest.$ac_ext >&5
3593 cat > conftest.$ac_ext <<EOF
3594 #line 3595 "configure
"
3595 #include "confdefs.h
"
3601 if { (eval echo configure:3602: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3604 echo "configure
: failed program was
:" >&5
3605 cat conftest.$ac_ext >&5
3610 cat > conftest.$ac_ext <<EOF
3611 #line 3612 "configure
"
3612 #include "confdefs.h
"
3618 if { (eval echo configure:3619: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3621 echo "configure
: failed program was
:" >&5
3622 cat conftest.$ac_ext >&5
3627 cat > conftest.$ac_ext <<EOF
3628 #line 3629 "configure
"
3629 #include "confdefs.h
"
3635 if { (eval echo configure:3636: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3638 echo "configure
: failed program was
:" >&5
3639 cat conftest.$ac_ext >&5
3644 cat > conftest.$ac_ext <<EOF
3645 #line 3646 "configure
"
3646 #include "confdefs.h
"
3652 if { (eval echo configure:3653: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3655 echo "configure
: failed program was
:" >&5
3656 cat conftest.$ac_ext >&5
3661 if test x"$ac_c99_lldiv_t" = x"no
"; then
3664 echo "$ac_t""$ac_c99_stdlib" 1>&6
3666 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3667 # XXX the wchar.h checks should be rolled into the general C99 bits.
3669 echo $ac_n "checking
for additional ISO C99 support
in <wchar.h
>""...
$ac_c" 1>&6
3670 echo "configure
:3671: checking
for additional ISO C99 support
in <wchar.h
>" >&5
3671 cat > conftest.$ac_ext <<EOF
3672 #line 3673 "configure
"
3673 #include "confdefs.h
"
3676 wcstold(L"10.0", NULL);
3679 if { (eval echo configure:3680: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3682 echo "configure
: failed program was
:" >&5
3683 cat conftest.$ac_ext >&5
3688 cat > conftest.$ac_ext <<EOF
3689 #line 3690 "configure
"
3690 #include "confdefs.h
"
3693 wcstoll(L"10", NULL, 10);
3696 if { (eval echo configure:3697: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3699 echo "configure
: failed program was
:" >&5
3700 cat conftest.$ac_ext >&5
3705 cat > conftest.$ac_ext <<EOF
3706 #line 3707 "configure
"
3707 #include "confdefs.h
"
3710 wcstoull(L"10", NULL, 10);
3713 if { (eval echo configure:3714: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3716 echo "configure
: failed program was
:" >&5
3717 cat conftest.$ac_ext >&5
3722 echo "$ac_t""$ac_c99_wchar" 1>&6
3724 echo $ac_n "checking
for enabled ISO C99 support
""...
$ac_c" 1>&6
3725 echo "configure
:3726: checking
for enabled ISO C99 support
" >&5
3726 if test x"$ac_c99_math" = x"no
" ||
3727 test x"$ac_c99_stdio" = x"no
" ||
3728 test x"$ac_c99_stdlib" = x"no
" ||
3729 test x"$ac_c99_wchar" = x"no
"; then
3732 echo "$ac_t""$enable_c99" 1>&6
3734 # Option parsed, now set things appropriately
3735 if test x"$enable_c99" = x"yes"; then
3736 cat >> confdefs.h <<\EOF
3737 #define _GLIBCPP_USE_C99 1
3743 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3744 ac_cpp='$CPP $CPPFLAGS'
3745 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3746 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3747 cross_compiling=$ac_cv_prog_cc_cross
3751 # Check whether --enable-long-long or --disable-long-long was given.
3752 if test "${enable_long_long+set}" = set; then
3753 enableval="$enable_long_long"
3754 case "$enableval" in
3755 yes) enable_long_long=yes ;;
3756 no) enable_long_long=no ;;
3757 *) { echo "configure
: error
: Unknown argument to enable
/disable long long
" 1>&2; exit 1; } ;;
3760 enable_long_long=yes
3765 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3766 ac_cpp='$CXXCPP $CPPFLAGS'
3767 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3768 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3769 cross_compiling=$ac_cv_prog_cxx_cross
3772 echo $ac_n "checking
for enabled long long I
/O support
""...
$ac_c" 1>&6
3773 echo "configure
:3774: checking
for enabled long long I
/O support
" >&5
3774 # iostreams require strtoll, strtoull to compile
3775 cat > conftest.$ac_ext <<EOF
3776 #line 3777 "configure
"
3777 #include "confdefs.h
"
3780 char* tmp; strtoll("gnu
", &tmp, 10);
3783 if { (eval echo configure:3784: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3786 echo "configure
: failed program was
:" >&5
3787 cat conftest.$ac_ext >&5
3792 cat > conftest.$ac_ext <<EOF
3793 #line 3794 "configure
"
3794 #include "confdefs.h
"
3797 char* tmp; strtoull("gnu
", &tmp, 10);
3800 if { (eval echo configure:3801: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3803 echo "configure
: failed program was
:" >&5
3804 cat conftest.$ac_ext >&5
3810 # Option parsed, now set things appropriately
3811 if test x"$enable_long_long" = xyes; then
3812 cat >> confdefs.h <<\EOF
3813 #define _GLIBCPP_USE_LONG_LONG 1
3817 echo "$ac_t""$enable_long_long" 1>&6
3820 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3821 ac_cpp='$CPP $CPPFLAGS'
3822 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3823 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3824 cross_compiling=$ac_cv_prog_cc_cross
3827 echo $ac_n "checking
for c header strategy to use
""...
$ac_c" 1>&6
3828 echo "configure
:3829: checking
for c header strategy to use
" >&5
3829 # Check whether --enable-cheaders or --disable-cheaders was given.
3830 if test "${enable_cheaders+set}" = set; then
3831 enableval="$enable_cheaders"
3833 case "$enableval" in
3838 enable_cheaders=c_std
3840 *) { echo "configure
: error
: Unknown argument to enable
/disable
"C" headers
" 1>&2; exit 1; }
3844 enable_cheaders=c_std
3847 echo "$ac_t""$enable_cheaders" 1>&6
3849 case "$enable_cheaders" in
3851 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3854 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3861 if test "$enable_cheaders" = c; then
3862 GLIBCPP_C_HEADERS_C_TRUE=
3863 GLIBCPP_C_HEADERS_C_FALSE='#'
3865 GLIBCPP_C_HEADERS_C_TRUE='#'
3866 GLIBCPP_C_HEADERS_C_FALSE=
3870 if test "$enable_cheaders" = c_std; then
3871 GLIBCPP_C_HEADERS_C_STD_TRUE=
3872 GLIBCPP_C_HEADERS_C_STD_FALSE='#'
3874 GLIBCPP_C_HEADERS_C_STD_TRUE='#'
3875 GLIBCPP_C_HEADERS_C_STD_FALSE=
3879 if test "$c_compatibility" = yes; then
3880 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE=
3881 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE='#'
3883 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE='#'
3884 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE=
3888 echo $ac_n "checking
for thread model used by GCC
""...
$ac_c" 1>&6
3889 echo "configure
:3890: checking
for thread model used by GCC
" >&5
3890 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3891 echo "$ac_t""$target_thread_file" 1>&6
3893 if test $target_thread_file != single; then
3894 cat >> confdefs.h <<\EOF
3895 #define HAVE_GTHR_DEFAULT 1
3898 cat >> confdefs.h <<\EOF
3899 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3904 glibcpp_thread_h=gthr-$target_thread_file.h
3907 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3908 if test "${enable_cxx_flags+set}" = set; then
3909 enableval="$enable_cxx_flags"
3910 case "x
$enableval" in
3912 { echo "configure
: error
: --enable-cxx-flags needs compiler flags as arguments
" 1>&2; exit 1; } ;;
3914 enable_cxx_flags='' ;;
3916 enable_cxx_flags="$enableval" ;;
3919 enable_cxx_flags='none'
3923 if test "$enable_cxx_flags" = "none
"; then
3924 enable_cxx_flags='';
3927 if test -n "$enable_cxx_flags"; then
3928 for f in $enable_cxx_flags; do
3932 *) # and we're trying to pass /what/ exactly?
3933 { echo "configure
: error
: compiler flags start with a
-" 1>&2; exit 1; } ;;
3937 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3941 echo $ac_n "checking
for exception model to use
""...
$ac_c" 1>&6
3942 echo "configure
:3943: checking
for exception model to use
" >&5
3945 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3946 ac_cpp='$CXXCPP $CPPFLAGS'
3947 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3948 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3949 cross_compiling=$ac_cv_prog_cxx_cross
3951 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3952 if test "${enable_sjlj_exceptions+set}" = set; then
3953 enableval="$enable_sjlj_exceptions"
3956 cat > conftest.$ac_ext << EOF
3957 #line 3958 "configure
"
3966 old_CXXFLAGS="$CXXFLAGS"
3968 if { (eval echo configure:3969: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3969 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
3970 enable_sjlj_exceptions=yes
3971 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
3972 enable_sjlj_exceptions=no
3975 CXXFLAGS="$old_CXXFLAGS"
3979 if test x$enable_sjlj_exceptions = xyes; then
3980 cat >> confdefs.h <<\EOF
3981 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
3984 ac_exception_model_name=sjlj
3985 elif test x$enable_sjlj_exceptions = xno; then
3986 ac_exception_model_name="call frame
"
3988 { echo "configure
: error
: unable to detect exception model
" 1>&2; exit 1; }
3991 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3992 ac_cpp='$CPP $CPPFLAGS'
3993 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3994 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3995 cross_compiling=$ac_cv_prog_cc_cross
3997 echo "$ac_t""$ac_exception_model_name" 1>&6
4000 echo $ac_n "checking
for use of libunwind
""...
$ac_c" 1>&6
4001 echo "configure
:4002: checking
for use of libunwind
" >&5
4002 # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
4003 if test "${enable_libunwind_exceptions+set}" = set; then
4004 enableval="$enable_libunwind_exceptions"
4005 use_libunwind_exceptions=$enableval
4007 use_libunwind_exceptions=no
4010 echo "$ac_t""$use_libunwind_exceptions" 1>&6
4011 if test x"$use_libunwind_exceptions" = xyes; then
4012 LIBUNWIND_FLAG="-lunwind"
4018 # Check whether --enable-concept-checks or --disable-concept-checks was given.
4019 if test "${enable_concept_checks+set}" = set; then
4020 enableval="$enable_concept_checks"
4021 case "$enableval" in
4022 yes) enable_concept_checks=yes ;;
4023 no) enable_concept_checks=no ;;
4024 *) { echo "configure
: error
: Unknown argument to enable
/disable concept checks
" 1>&2; exit 1; } ;;
4027 enable_concept_checks=no
4029 if test x"$enable_concept_checks" = xyes; then
4030 cat >> confdefs.h <<\EOF
4031 #define _GLIBCPP_CONCEPT_CHECKS 1
4037 # Check for headers necessary for libsupc++ using dyn-string.c/cxa_demangle.c
4038 for ac_hdr in string.h stdlib.h
4040 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4041 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4042 echo "configure
:4043: checking
for $ac_hdr" >&5
4043 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4044 echo $ac_n "(cached
) $ac_c" 1>&6
4046 cat > conftest.$ac_ext <<EOF
4047 #line 4048 "configure
"
4048 #include "confdefs.h
"
4051 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4052 { (eval echo configure:4053: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4053 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4054 if test -z "$ac_err"; then
4056 eval "ac_cv_header_
$ac_safe=yes"
4059 echo "configure
: failed program was
:" >&5
4060 cat conftest.$ac_ext >&5
4062 eval "ac_cv_header_
$ac_safe=no
"
4066 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4067 echo "$ac_t""yes" 1>&6
4068 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4069 cat >> confdefs.h <<EOF
4070 #define $ac_tr_hdr 1
4074 echo "$ac_t""no
" 1>&6
4079 # No surprises, no surprises...
4080 if test $ATOMICITYH = cpu/generic ; then
4081 echo "configure
: warning
: No native atomic operations are provided yet
for this platform.
" 1>&2
4082 if test $target_thread_file = single; then
4083 echo "configure
: warning
: They cannot be faked when thread support is disabled.
" 1>&2
4084 echo "configure
: warning
: Thread-safety of certain classes is not guaranteed.
" 1>&2
4086 echo "configure
: warning
: They will be faked using a mutex.
" 1>&2
4087 echo "configure
: warning
: Performance of certain classes will degrade as a result.
" 1>&2
4092 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
4094 # We are being configured with some form of cross compiler.
4095 GLIBCPP_IS_CROSS_COMPILING=1
4097 # This lets us hard-code the functionality we know we'll have in the cross
4098 # target environment. "Let
" is a sugar-coated word placed on an especially
4099 # dull and tedious hack, actually.
4101 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
4102 # that involve linking, can't be used:
4103 # "cannot open sim-crt0.o
"
4104 # "cannot open crt0.o
"
4105 # etc. All this is because there currently exists no unified, consistent
4106 # way for top level CC information to be passed down to target directories:
4107 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
4108 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
4109 # crosses can be removed.
4111 # If Canadian cross, then don't pick up tools from the build directory.
4112 # Used in GLIBCPP_EXPORT_INCLUDES (and nowhere else?).
4113 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
4119 # Construct crosses by hand, eliminating bits that need ld...
4120 # GLIBCPP_CHECK_COMPILER_FEATURES
4121 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4122 # GLIBCPP_CHECK_MATH_SUPPORT
4126 os_include_dir="os
/gnu-linux
"
4127 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4128 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4129 fp.h locale.h float.h inttypes.h
4131 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4132 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4133 echo "configure
:4134: checking
for $ac_hdr" >&5
4134 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4135 echo $ac_n "(cached
) $ac_c" 1>&6
4137 cat > conftest.$ac_ext <<EOF
4138 #line 4139 "configure
"
4139 #include "confdefs.h
"
4142 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4143 { (eval echo configure:4144: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4144 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4145 if test -z "$ac_err"; then
4147 eval "ac_cv_header_
$ac_safe=yes"
4150 echo "configure
: failed program was
:" >&5
4151 cat conftest.$ac_ext >&5
4153 eval "ac_cv_header_
$ac_safe=no
"
4157 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4158 echo "$ac_t""yes" 1>&6
4159 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4160 cat >> confdefs.h <<EOF
4161 #define $ac_tr_hdr 1
4165 echo "$ac_t""no
" 1>&6
4169 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4172 # If we're not using GNU ld, then there's no point in even trying these
4173 # tests. Check for that first. We should have already tested for gld
4174 # by now (in libtool), but require it now just to be safe...
4175 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4176 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4179 # The name set by libtool depends on the version of libtool. Shame on us
4180 # for depending on an impl detail, but c'est la vie. Older versions used
4181 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4182 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4183 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4184 # set (hence we're using an older libtool), then set it.
4185 if test x${with_gnu_ld+set} != xset; then
4186 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4187 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
4190 with_gnu_ld=$ac_cv_prog_gnu_ld
4194 # Start by getting the version number. I think the libtool test already
4195 # does some of this, but throws away the result.
4197 ldver=`$LD --version 2>/dev/null | head -1 | \
4198 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4200 glibcpp_gnu_ld_version=`echo $ldver | \
4201 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4203 # Set --gc-sections.
4204 if test "$with_gnu_ld" = "notbroken
"; then
4205 # GNU ld it is! Joy and bunny rabbits!
4207 # All these tests are for C++; save the language and the compiler flags.
4208 # Need to do this so that g++ won't try to link in libstdc++
4209 ac_test_CFLAGS="${CFLAGS+set}"
4210 ac_save_CFLAGS="$CFLAGS"
4211 CFLAGS='-x c++ -Wl,--gc-sections'
4213 # Check for -Wl,--gc-sections
4214 # XXX This test is broken at the moment, as symbols required for
4215 # linking are now in libsupc++ (not built yet.....). In addition,
4216 # this test has cored on solaris in the past. In addition,
4217 # --gc-sections doesn't really work at the moment (keeps on discarding
4218 # used sections, first .eh_frame and now some of the glibc sections for
4219 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4220 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
4221 echo "configure
:4222: checking
for ld that supports
-Wl,--gc-sections" >&5
4222 if test "$cross_compiling" = yes; then
4223 ac_sectionLDflags=yes
4225 cat > conftest.$ac_ext <<EOF
4226 #line 4227 "configure
"
4227 #include "confdefs.h
"
4237 if { (eval echo configure:4238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4239 ac_sectionLDflags=yes
4241 echo "configure
: failed program was
:" >&5
4242 cat conftest.$ac_ext >&5
4244 ac_sectionLDflags=no
4249 if test "$ac_test_CFLAGS" = set; then
4250 CFLAGS="$ac_save_CFLAGS"
4252 # this is the suspicious part
4255 if test "$ac_sectionLDflags" = "yes"; then
4256 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4258 echo "$ac_t""$ac_sectionLDflags" 1>&6
4261 # Set linker optimization flags.
4262 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no
"; then
4263 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4270 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
4271 echo "configure
:4272: checking
for main
in -lm" >&5
4272 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4273 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4274 echo $ac_n "(cached
) $ac_c" 1>&6
4276 ac_save_LIBS="$LIBS"
4278 cat > conftest.$ac_ext <<EOF
4279 #line 4280 "configure
"
4280 #include "confdefs.h
"
4286 if { (eval echo configure:4287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4288 eval "ac_cv_lib_
$ac_lib_var=yes"
4290 echo "configure
: failed program was
:" >&5
4291 cat conftest.$ac_ext >&5
4293 eval "ac_cv_lib_
$ac_lib_var=no
"
4296 LIBS="$ac_save_LIBS"
4299 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4300 echo "$ac_t""yes" 1>&6
4301 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4302 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4303 cat >> confdefs.h <<EOF
4304 #define $ac_tr_lib 1
4310 echo "$ac_t""no
" 1>&6
4313 for ac_func in nan copysignf
4315 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4316 echo "configure
:4317: checking
for $ac_func" >&5
4317 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4318 echo $ac_n "(cached
) $ac_c" 1>&6
4320 cat > conftest.$ac_ext <<EOF
4321 #line 4322 "configure
"
4322 #include "confdefs.h
"
4323 /* System header to define __stub macros and hopefully few prototypes,
4324 which can conflict with char $ac_func(); below. */
4326 /* Override any gcc2 internal prototype to avoid an error. */
4327 /* We use char because int might match the return type of a gcc2
4328 builtin and then its argument prototype would still apply. */
4333 /* The GNU C library defines this for functions which it implements
4334 to always fail with ENOSYS. Some functions are actually named
4335 something starting with __ and the normal name is an alias. */
4336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4344 if { (eval echo configure:4345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4346 eval "ac_cv_func_
$ac_func=yes"
4348 echo "configure
: failed program was
:" >&5
4349 cat conftest.$ac_ext >&5
4351 eval "ac_cv_func_
$ac_func=no
"
4356 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4357 echo "$ac_t""yes" 1>&6
4358 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4359 cat >> confdefs.h <<EOF
4360 #define $ac_tr_func 1
4364 echo "$ac_t""no
" 1>&6
4365 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
4370 for ac_func in __signbit
4372 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4373 echo "configure
:4374: checking
for $ac_func" >&5
4374 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4375 echo $ac_n "(cached
) $ac_c" 1>&6
4377 cat > conftest.$ac_ext <<EOF
4378 #line 4379 "configure
"
4379 #include "confdefs.h
"
4380 /* System header to define __stub macros and hopefully few prototypes,
4381 which can conflict with char $ac_func(); below. */
4383 /* Override any gcc2 internal prototype to avoid an error. */
4384 /* We use char because int might match the return type of a gcc2
4385 builtin and then its argument prototype would still apply. */
4390 /* The GNU C library defines this for functions which it implements
4391 to always fail with ENOSYS. Some functions are actually named
4392 something starting with __ and the normal name is an alias. */
4393 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4401 if { (eval echo configure:4402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4403 eval "ac_cv_func_
$ac_func=yes"
4405 echo "configure
: failed program was
:" >&5
4406 cat conftest.$ac_ext >&5
4408 eval "ac_cv_func_
$ac_func=no
"
4413 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4414 echo "$ac_t""yes" 1>&6
4415 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4416 cat >> confdefs.h <<EOF
4417 #define $ac_tr_func 1
4421 echo "$ac_t""no
" 1>&6
4422 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
4426 for ac_func in __signbitf
4428 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4429 echo "configure
:4430: checking
for $ac_func" >&5
4430 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4431 echo $ac_n "(cached
) $ac_c" 1>&6
4433 cat > conftest.$ac_ext <<EOF
4434 #line 4435 "configure
"
4435 #include "confdefs.h
"
4436 /* System header to define __stub macros and hopefully few prototypes,
4437 which can conflict with char $ac_func(); below. */
4439 /* Override any gcc2 internal prototype to avoid an error. */
4440 /* We use char because int might match the return type of a gcc2
4441 builtin and then its argument prototype would still apply. */
4446 /* The GNU C library defines this for functions which it implements
4447 to always fail with ENOSYS. Some functions are actually named
4448 something starting with __ and the normal name is an alias. */
4449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4457 if { (eval echo configure:4458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4459 eval "ac_cv_func_
$ac_func=yes"
4461 echo "configure
: failed program was
:" >&5
4462 cat conftest.$ac_ext >&5
4464 eval "ac_cv_func_
$ac_func=no
"
4469 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4470 echo "$ac_t""yes" 1>&6
4471 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4472 cat >> confdefs.h <<EOF
4473 #define $ac_tr_func 1
4477 echo "$ac_t""no
" 1>&6
4478 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
4483 if test x$ac_cv_func_copysignl = x"yes"; then
4484 for ac_func in __signbitl
4486 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4487 echo "configure
:4488: checking
for $ac_func" >&5
4488 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4489 echo $ac_n "(cached
) $ac_c" 1>&6
4491 cat > conftest.$ac_ext <<EOF
4492 #line 4493 "configure
"
4493 #include "confdefs.h
"
4494 /* System header to define __stub macros and hopefully few prototypes,
4495 which can conflict with char $ac_func(); below. */
4497 /* Override any gcc2 internal prototype to avoid an error. */
4498 /* We use char because int might match the return type of a gcc2
4499 builtin and then its argument prototype would still apply. */
4504 /* The GNU C library defines this for functions which it implements
4505 to always fail with ENOSYS. Some functions are actually named
4506 something starting with __ and the normal name is an alias. */
4507 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4515 if { (eval echo configure:4516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4517 eval "ac_cv_func_
$ac_func=yes"
4519 echo "configure
: failed program was
:" >&5
4520 cat conftest.$ac_ext >&5
4522 eval "ac_cv_func_
$ac_func=no
"
4527 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4528 echo "$ac_t""yes" 1>&6
4529 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4530 cat >> confdefs.h <<EOF
4531 #define $ac_tr_func 1
4535 echo "$ac_t""no
" 1>&6
4536 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
4546 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
4547 echo "configure
:4548: checking
for mbstate_t
" >&5
4548 cat > conftest.$ac_ext <<EOF
4549 #line 4550 "configure
"
4550 #include "confdefs.h
"
4553 mbstate_t teststate;
4556 if { (eval echo configure:4557: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4560 echo "configure
: failed program was
:" >&5
4561 cat conftest.$ac_ext >&5
4566 echo "$ac_t""$have_mbstate_t" 1>&6
4567 if test x"$have_mbstate_t" = xyes; then
4568 cat >> confdefs.h <<\EOF
4569 #define HAVE_MBSTATE_T 1
4574 for ac_hdr in wchar.h
4576 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4577 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4578 echo "configure
:4579: checking
for $ac_hdr" >&5
4579 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4580 echo $ac_n "(cached
) $ac_c" 1>&6
4582 cat > conftest.$ac_ext <<EOF
4583 #line 4584 "configure
"
4584 #include "confdefs.h
"
4587 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4588 { (eval echo configure:4589: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4589 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4590 if test -z "$ac_err"; then
4592 eval "ac_cv_header_
$ac_safe=yes"
4595 echo "configure
: failed program was
:" >&5
4596 cat conftest.$ac_ext >&5
4598 eval "ac_cv_header_
$ac_safe=no
"
4602 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4603 echo "$ac_t""yes" 1>&6
4604 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4605 cat >> confdefs.h <<EOF
4606 #define $ac_tr_hdr 1
4610 echo "$ac_t""no
" 1>&6
4615 for ac_hdr in wctype.h
4617 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4618 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4619 echo "configure
:4620: checking
for $ac_hdr" >&5
4620 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4621 echo $ac_n "(cached
) $ac_c" 1>&6
4623 cat > conftest.$ac_ext <<EOF
4624 #line 4625 "configure
"
4625 #include "confdefs.h
"
4628 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4629 { (eval echo configure:4630: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4630 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4631 if test -z "$ac_err"; then
4633 eval "ac_cv_header_
$ac_safe=yes"
4636 echo "configure
: failed program was
:" >&5
4637 cat conftest.$ac_ext >&5
4639 eval "ac_cv_header_
$ac_safe=no
"
4643 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4644 echo "$ac_t""yes" 1>&6
4645 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4646 cat >> confdefs.h <<EOF
4647 #define $ac_tr_hdr 1
4651 echo "$ac_t""no
" 1>&6
4657 if test x"$ac_has_wchar_h" = xyes &&
4658 test x"$ac_has_wctype_h" = xyes &&
4659 test x"$enable_c_mbchar" != xno; then
4661 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
4662 echo "configure
:4663: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
4663 cat > conftest.$ac_ext <<EOF
4664 #line 4665 "configure
"
4665 #include "confdefs.h
"
4668 int i = WCHAR_MIN; int j = WCHAR_MAX;
4671 if { (eval echo configure:4672: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4673 has_wchar_minmax=yes
4675 echo "configure
: failed program was
:" >&5
4676 cat conftest.$ac_ext >&5
4681 echo "$ac_t""$has_wchar_minmax" 1>&6
4683 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
4684 echo "configure
:4685: checking
for WEOF
" >&5
4685 cat > conftest.$ac_ext <<EOF
4686 #line 4687 "configure
"
4687 #include "confdefs.h
"
4695 if { (eval echo configure:4696: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4699 echo "configure
: failed program was
:" >&5
4700 cat conftest.$ac_ext >&5
4705 echo "$ac_t""$has_weof" 1>&6
4708 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4710 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4711 echo "configure
:4712: checking
for $ac_func" >&5
4712 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4713 echo $ac_n "(cached
) $ac_c" 1>&6
4715 cat > conftest.$ac_ext <<EOF
4716 #line 4717 "configure
"
4717 #include "confdefs.h
"
4718 /* System header to define __stub macros and hopefully few prototypes,
4719 which can conflict with char $ac_func(); below. */
4721 /* Override any gcc2 internal prototype to avoid an error. */
4722 /* We use char because int might match the return type of a gcc2
4723 builtin and then its argument prototype would still apply. */
4728 /* The GNU C library defines this for functions which it implements
4729 to always fail with ENOSYS. Some functions are actually named
4730 something starting with __ and the normal name is an alias. */
4731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4739 if { (eval echo configure:4740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4741 eval "ac_cv_func_
$ac_func=yes"
4743 echo "configure
: failed program was
:" >&5
4744 cat conftest.$ac_ext >&5
4746 eval "ac_cv_func_
$ac_func=no
"
4751 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4752 echo "$ac_t""yes" 1>&6
4753 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4754 cat >> confdefs.h <<EOF
4755 #define $ac_tr_func 1
4759 echo "$ac_t""no
" 1>&6
4766 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
4767 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4768 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4769 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4770 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4771 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4773 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4774 echo "configure
:4775: checking
for $ac_func" >&5
4775 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4776 echo $ac_n "(cached
) $ac_c" 1>&6
4778 cat > conftest.$ac_ext <<EOF
4779 #line 4780 "configure
"
4780 #include "confdefs.h
"
4781 /* System header to define __stub macros and hopefully few prototypes,
4782 which can conflict with char $ac_func(); below. */
4784 /* Override any gcc2 internal prototype to avoid an error. */
4785 /* We use char because int might match the return type of a gcc2
4786 builtin and then its argument prototype would still apply. */
4791 /* The GNU C library defines this for functions which it implements
4792 to always fail with ENOSYS. Some functions are actually named
4793 something starting with __ and the normal name is an alias. */
4794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4802 if { (eval echo configure:4803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4804 eval "ac_cv_func_
$ac_func=yes"
4806 echo "configure
: failed program was
:" >&5
4807 cat conftest.$ac_ext >&5
4809 eval "ac_cv_func_
$ac_func=no
"
4814 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4815 echo "$ac_t""yes" 1>&6
4816 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4817 cat >> confdefs.h <<EOF
4818 #define $ac_tr_func 1
4822 echo "$ac_t""no
" 1>&6
4829 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
4830 echo "configure
:4831: checking
for ISO C99 wchar_t support
" >&5
4831 if test x"$has_weof" = xyes &&
4832 test x"$has_wchar_minmax" = xyes &&
4833 test x"$ac_wfuncs" = xyes; then
4834 ac_isoC99_wchar_t=yes
4836 ac_isoC99_wchar_t=no
4838 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4840 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
4841 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
4842 echo "configure
:4843: checking
for iconv.h
" >&5
4843 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4844 echo $ac_n "(cached
) $ac_c" 1>&6
4846 cat > conftest.$ac_ext <<EOF
4847 #line 4848 "configure
"
4848 #include "confdefs.h
"
4851 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4852 { (eval echo configure:4853: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4853 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4854 if test -z "$ac_err"; then
4856 eval "ac_cv_header_
$ac_safe=yes"
4859 echo "configure
: failed program was
:" >&5
4860 cat conftest.$ac_ext >&5
4862 eval "ac_cv_header_
$ac_safe=no
"
4866 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4867 echo "$ac_t""yes" 1>&6
4870 echo "$ac_t""no
" 1>&6
4874 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
4875 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
4876 echo "configure
:4877: checking
for langinfo.h
" >&5
4877 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4878 echo $ac_n "(cached
) $ac_c" 1>&6
4880 cat > conftest.$ac_ext <<EOF
4881 #line 4882 "configure
"
4882 #include "confdefs.h
"
4883 #include <langinfo.h>
4885 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4886 { (eval echo configure:4887: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4887 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4888 if test -z "$ac_err"; then
4890 eval "ac_cv_header_
$ac_safe=yes"
4893 echo "configure
: failed program was
:" >&5
4894 cat conftest.$ac_ext >&5
4896 eval "ac_cv_header_
$ac_safe=no
"
4900 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4901 echo "$ac_t""yes" 1>&6
4902 ac_has_langinfo_h=yes
4904 echo "$ac_t""no
" 1>&6
4905 ac_has_langinfo_h=no
4909 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
4910 echo "configure
:4911: checking
for iconv in -liconv" >&5
4911 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4912 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4913 echo $ac_n "(cached
) $ac_c" 1>&6
4915 ac_save_LIBS="$LIBS"
4916 LIBS="-liconv $LIBS"
4917 cat > conftest.$ac_ext <<EOF
4918 #line 4919 "configure
"
4919 #include "confdefs.h
"
4920 /* Override any gcc2 internal prototype to avoid an error. */
4921 /* We use char because int might match the return type of a gcc2
4922 builtin and then its argument prototype would still apply. */
4929 if { (eval echo configure:4930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4931 eval "ac_cv_lib_
$ac_lib_var=yes"
4933 echo "configure
: failed program was
:" >&5
4934 cat conftest.$ac_ext >&5
4936 eval "ac_cv_lib_
$ac_lib_var=no
"
4939 LIBS="$ac_save_LIBS"
4942 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4943 echo "$ac_t""yes" 1>&6
4946 echo "$ac_t""no
" 1>&6
4949 ac_save_LIBS="$LIBS"
4950 LIBS="$LIBS $libiconv"
4952 for ac_func in iconv_open iconv_close iconv nl_langinfo
4954 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4955 echo "configure
:4956: checking
for $ac_func" >&5
4956 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4957 echo $ac_n "(cached
) $ac_c" 1>&6
4959 cat > conftest.$ac_ext <<EOF
4960 #line 4961 "configure
"
4961 #include "confdefs.h
"
4962 /* System header to define __stub macros and hopefully few prototypes,
4963 which can conflict with char $ac_func(); below. */
4965 /* Override any gcc2 internal prototype to avoid an error. */
4966 /* We use char because int might match the return type of a gcc2
4967 builtin and then its argument prototype would still apply. */
4972 /* The GNU C library defines this for functions which it implements
4973 to always fail with ENOSYS. Some functions are actually named
4974 something starting with __ and the normal name is an alias. */
4975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4983 if { (eval echo configure:4984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4985 eval "ac_cv_func_
$ac_func=yes"
4987 echo "configure
: failed program was
:" >&5
4988 cat conftest.$ac_ext >&5
4990 eval "ac_cv_func_
$ac_func=no
"
4995 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4996 echo "$ac_t""yes" 1>&6
4997 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4998 cat >> confdefs.h <<EOF
4999 #define $ac_tr_func 1
5004 echo "$ac_t""no
" 1>&6
5010 LIBS="$ac_save_LIBS"
5012 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
5013 echo "configure
:5014: checking
for XPG2 wchar_t support
" >&5
5014 if test x"$ac_has_iconv_h" = xyes &&
5015 test x"$ac_has_langinfo_h" = xyes &&
5016 test x"$ac_XPG2funcs" = xyes; then
5021 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5023 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
5024 echo "configure
:5025: checking
for enabled wchar_t specializations
" >&5
5025 if test x"$ac_isoC99_wchar_t" = xyes &&
5026 test x"$ac_XPG2_wchar_t" = xyes; then
5027 cat >> confdefs.h <<\EOF
5028 #define _GLIBCPP_USE_WCHAR_T 1
5031 echo "$ac_t"""yes"" 1>&6
5033 echo "$ac_t"""no"" 1>&6
5036 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
5039 cat >> confdefs.h <<\EOF
5040 #define HAVE_COPYSIGN 1
5043 cat >> confdefs.h <<\EOF
5044 #define HAVE_COPYSIGNF 1
5047 cat >> confdefs.h <<\EOF
5048 #define HAVE_FINITE 1
5051 cat >> confdefs.h <<\EOF
5052 #define HAVE_FINITEF 1
5055 cat >> confdefs.h <<\EOF
5056 #define HAVE_FREXPF 1
5059 cat >> confdefs.h <<\EOF
5060 #define HAVE_HYPOTF 1
5063 cat >> confdefs.h <<\EOF
5064 #define HAVE_ISINF 1
5067 cat >> confdefs.h <<\EOF
5068 #define HAVE_ISINFF 1
5071 cat >> confdefs.h <<\EOF
5072 #define HAVE_ISNAN 1
5075 cat >> confdefs.h <<\EOF
5076 #define HAVE_ISNANF 1
5079 cat >> confdefs.h <<\EOF
5080 #define HAVE_SINCOS 1
5083 cat >> confdefs.h <<\EOF
5084 #define HAVE_SINCOSF 1
5087 if test x"long_double_math_on_this_cpu
" = x"yes"; then
5088 cat >> confdefs.h <<\EOF
5089 #define HAVE_FINITEL 1
5092 cat >> confdefs.h <<\EOF
5093 #define HAVE_HYPOTL 1
5096 cat >> confdefs.h <<\EOF
5097 #define HAVE_ISINFL 1
5100 cat >> confdefs.h <<\EOF
5101 #define HAVE_ISNANL 1
5107 # Check for available headers.
5108 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5109 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5110 fp.h locale.h float.h inttypes.h
5112 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5113 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5114 echo "configure
:5115: checking
for $ac_hdr" >&5
5115 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5116 echo $ac_n "(cached
) $ac_c" 1>&6
5118 cat > conftest.$ac_ext <<EOF
5119 #line 5120 "configure
"
5120 #include "confdefs.h
"
5123 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5124 { (eval echo configure:5125: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5125 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5126 if test -z "$ac_err"; then
5128 eval "ac_cv_header_
$ac_safe=yes"
5131 echo "configure
: failed program was
:" >&5
5132 cat conftest.$ac_ext >&5
5134 eval "ac_cv_header_
$ac_safe=no
"
5138 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5139 echo "$ac_t""yes" 1>&6
5140 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5141 cat >> confdefs.h <<EOF
5142 #define $ac_tr_hdr 1
5146 echo "$ac_t""no
" 1>&6
5150 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5153 # If we're not using GNU ld, then there's no point in even trying these
5154 # tests. Check for that first. We should have already tested for gld
5155 # by now (in libtool), but require it now just to be safe...
5156 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5157 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5160 # The name set by libtool depends on the version of libtool. Shame on us
5161 # for depending on an impl detail, but c'est la vie. Older versions used
5162 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
5163 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
5164 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
5165 # set (hence we're using an older libtool), then set it.
5166 if test x${with_gnu_ld+set} != xset; then
5167 if test x${ac_cv_prog_gnu_ld+set} != xset; then
5168 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
5171 with_gnu_ld=$ac_cv_prog_gnu_ld
5175 # Start by getting the version number. I think the libtool test already
5176 # does some of this, but throws away the result.
5178 ldver=`$LD --version 2>/dev/null | head -1 | \
5179 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
5181 glibcpp_gnu_ld_version=`echo $ldver | \
5182 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
5184 # Set --gc-sections.
5185 if test "$with_gnu_ld" = "notbroken
"; then
5186 # GNU ld it is! Joy and bunny rabbits!
5188 # All these tests are for C++; save the language and the compiler flags.
5189 # Need to do this so that g++ won't try to link in libstdc++
5190 ac_test_CFLAGS="${CFLAGS+set}"
5191 ac_save_CFLAGS="$CFLAGS"
5192 CFLAGS='-x c++ -Wl,--gc-sections'
5194 # Check for -Wl,--gc-sections
5195 # XXX This test is broken at the moment, as symbols required for
5196 # linking are now in libsupc++ (not built yet.....). In addition,
5197 # this test has cored on solaris in the past. In addition,
5198 # --gc-sections doesn't really work at the moment (keeps on discarding
5199 # used sections, first .eh_frame and now some of the glibc sections for
5200 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5201 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
5202 echo "configure
:5203: checking
for ld that supports
-Wl,--gc-sections" >&5
5203 if test "$cross_compiling" = yes; then
5204 ac_sectionLDflags=yes
5206 cat > conftest.$ac_ext <<EOF
5207 #line 5208 "configure
"
5208 #include "confdefs.h
"
5218 if { (eval echo configure:5219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5220 ac_sectionLDflags=yes
5222 echo "configure
: failed program was
:" >&5
5223 cat conftest.$ac_ext >&5
5225 ac_sectionLDflags=no
5230 if test "$ac_test_CFLAGS" = set; then
5231 CFLAGS="$ac_save_CFLAGS"
5233 # this is the suspicious part
5236 if test "$ac_sectionLDflags" = "yes"; then
5237 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5239 echo "$ac_t""$ac_sectionLDflags" 1>&6
5242 # Set linker optimization flags.
5243 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no
"; then
5244 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5251 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
5252 echo "configure
:5253: checking
for main
in -lm" >&5
5253 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5254 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5255 echo $ac_n "(cached
) $ac_c" 1>&6
5257 ac_save_LIBS="$LIBS"
5259 cat > conftest.$ac_ext <<EOF
5260 #line 5261 "configure
"
5261 #include "confdefs.h
"
5267 if { (eval echo configure:5268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5269 eval "ac_cv_lib_
$ac_lib_var=yes"
5271 echo "configure
: failed program was
:" >&5
5272 cat conftest.$ac_ext >&5
5274 eval "ac_cv_lib_
$ac_lib_var=no
"
5277 LIBS="$ac_save_LIBS"
5280 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5281 echo "$ac_t""yes" 1>&6
5282 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5283 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5284 cat >> confdefs.h <<EOF
5285 #define $ac_tr_lib 1
5291 echo "$ac_t""no
" 1>&6
5294 for ac_func in nan copysignf
5296 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5297 echo "configure
:5298: checking
for $ac_func" >&5
5298 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5299 echo $ac_n "(cached
) $ac_c" 1>&6
5301 cat > conftest.$ac_ext <<EOF
5302 #line 5303 "configure
"
5303 #include "confdefs.h
"
5304 /* System header to define __stub macros and hopefully few prototypes,
5305 which can conflict with char $ac_func(); below. */
5307 /* Override any gcc2 internal prototype to avoid an error. */
5308 /* We use char because int might match the return type of a gcc2
5309 builtin and then its argument prototype would still apply. */
5314 /* The GNU C library defines this for functions which it implements
5315 to always fail with ENOSYS. Some functions are actually named
5316 something starting with __ and the normal name is an alias. */
5317 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5325 if { (eval echo configure:5326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5327 eval "ac_cv_func_
$ac_func=yes"
5329 echo "configure
: failed program was
:" >&5
5330 cat conftest.$ac_ext >&5
5332 eval "ac_cv_func_
$ac_func=no
"
5337 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5338 echo "$ac_t""yes" 1>&6
5339 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5340 cat >> confdefs.h <<EOF
5341 #define $ac_tr_func 1
5345 echo "$ac_t""no
" 1>&6
5346 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
5351 for ac_func in __signbit
5353 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5354 echo "configure
:5355: checking
for $ac_func" >&5
5355 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5356 echo $ac_n "(cached
) $ac_c" 1>&6
5358 cat > conftest.$ac_ext <<EOF
5359 #line 5360 "configure
"
5360 #include "confdefs.h
"
5361 /* System header to define __stub macros and hopefully few prototypes,
5362 which can conflict with char $ac_func(); below. */
5364 /* Override any gcc2 internal prototype to avoid an error. */
5365 /* We use char because int might match the return type of a gcc2
5366 builtin and then its argument prototype would still apply. */
5371 /* The GNU C library defines this for functions which it implements
5372 to always fail with ENOSYS. Some functions are actually named
5373 something starting with __ and the normal name is an alias. */
5374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5382 if { (eval echo configure:5383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5384 eval "ac_cv_func_
$ac_func=yes"
5386 echo "configure
: failed program was
:" >&5
5387 cat conftest.$ac_ext >&5
5389 eval "ac_cv_func_
$ac_func=no
"
5394 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5395 echo "$ac_t""yes" 1>&6
5396 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5397 cat >> confdefs.h <<EOF
5398 #define $ac_tr_func 1
5402 echo "$ac_t""no
" 1>&6
5403 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
5407 for ac_func in __signbitf
5409 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5410 echo "configure
:5411: checking
for $ac_func" >&5
5411 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5412 echo $ac_n "(cached
) $ac_c" 1>&6
5414 cat > conftest.$ac_ext <<EOF
5415 #line 5416 "configure
"
5416 #include "confdefs.h
"
5417 /* System header to define __stub macros and hopefully few prototypes,
5418 which can conflict with char $ac_func(); below. */
5420 /* Override any gcc2 internal prototype to avoid an error. */
5421 /* We use char because int might match the return type of a gcc2
5422 builtin and then its argument prototype would still apply. */
5427 /* The GNU C library defines this for functions which it implements
5428 to always fail with ENOSYS. Some functions are actually named
5429 something starting with __ and the normal name is an alias. */
5430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5438 if { (eval echo configure:5439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5440 eval "ac_cv_func_
$ac_func=yes"
5442 echo "configure
: failed program was
:" >&5
5443 cat conftest.$ac_ext >&5
5445 eval "ac_cv_func_
$ac_func=no
"
5450 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5451 echo "$ac_t""yes" 1>&6
5452 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5453 cat >> confdefs.h <<EOF
5454 #define $ac_tr_func 1
5458 echo "$ac_t""no
" 1>&6
5459 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
5464 if test x$ac_cv_func_copysignl = x"yes"; then
5465 for ac_func in __signbitl
5467 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5468 echo "configure
:5469: checking
for $ac_func" >&5
5469 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5470 echo $ac_n "(cached
) $ac_c" 1>&6
5472 cat > conftest.$ac_ext <<EOF
5473 #line 5474 "configure
"
5474 #include "confdefs.h
"
5475 /* System header to define __stub macros and hopefully few prototypes,
5476 which can conflict with char $ac_func(); below. */
5478 /* Override any gcc2 internal prototype to avoid an error. */
5479 /* We use char because int might match the return type of a gcc2
5480 builtin and then its argument prototype would still apply. */
5485 /* The GNU C library defines this for functions which it implements
5486 to always fail with ENOSYS. Some functions are actually named
5487 something starting with __ and the normal name is an alias. */
5488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5496 if { (eval echo configure:5497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5498 eval "ac_cv_func_
$ac_func=yes"
5500 echo "configure
: failed program was
:" >&5
5501 cat conftest.$ac_ext >&5
5503 eval "ac_cv_func_
$ac_func=no
"
5508 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5509 echo "$ac_t""yes" 1>&6
5510 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5511 cat >> confdefs.h <<EOF
5512 #define $ac_tr_func 1
5516 echo "$ac_t""no
" 1>&6
5517 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
5527 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
5528 echo "configure
:5529: checking
for mbstate_t
" >&5
5529 cat > conftest.$ac_ext <<EOF
5530 #line 5531 "configure
"
5531 #include "confdefs.h
"
5534 mbstate_t teststate;
5537 if { (eval echo configure:5538: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5541 echo "configure
: failed program was
:" >&5
5542 cat conftest.$ac_ext >&5
5547 echo "$ac_t""$have_mbstate_t" 1>&6
5548 if test x"$have_mbstate_t" = xyes; then
5549 cat >> confdefs.h <<\EOF
5550 #define HAVE_MBSTATE_T 1
5555 for ac_hdr in wchar.h
5557 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5558 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5559 echo "configure
:5560: checking
for $ac_hdr" >&5
5560 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5561 echo $ac_n "(cached
) $ac_c" 1>&6
5563 cat > conftest.$ac_ext <<EOF
5564 #line 5565 "configure
"
5565 #include "confdefs.h
"
5568 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5569 { (eval echo configure:5570: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5570 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5571 if test -z "$ac_err"; then
5573 eval "ac_cv_header_
$ac_safe=yes"
5576 echo "configure
: failed program was
:" >&5
5577 cat conftest.$ac_ext >&5
5579 eval "ac_cv_header_
$ac_safe=no
"
5583 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5584 echo "$ac_t""yes" 1>&6
5585 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5586 cat >> confdefs.h <<EOF
5587 #define $ac_tr_hdr 1
5591 echo "$ac_t""no
" 1>&6
5596 for ac_hdr in wctype.h
5598 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5599 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5600 echo "configure
:5601: checking
for $ac_hdr" >&5
5601 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5602 echo $ac_n "(cached
) $ac_c" 1>&6
5604 cat > conftest.$ac_ext <<EOF
5605 #line 5606 "configure
"
5606 #include "confdefs.h
"
5609 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5610 { (eval echo configure:5611: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5611 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5612 if test -z "$ac_err"; then
5614 eval "ac_cv_header_
$ac_safe=yes"
5617 echo "configure
: failed program was
:" >&5
5618 cat conftest.$ac_ext >&5
5620 eval "ac_cv_header_
$ac_safe=no
"
5624 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5625 echo "$ac_t""yes" 1>&6
5626 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5627 cat >> confdefs.h <<EOF
5628 #define $ac_tr_hdr 1
5632 echo "$ac_t""no
" 1>&6
5638 if test x"$ac_has_wchar_h" = xyes &&
5639 test x"$ac_has_wctype_h" = xyes &&
5640 test x"$enable_c_mbchar" != xno; then
5642 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
5643 echo "configure
:5644: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
5644 cat > conftest.$ac_ext <<EOF
5645 #line 5646 "configure
"
5646 #include "confdefs.h
"
5649 int i = WCHAR_MIN; int j = WCHAR_MAX;
5652 if { (eval echo configure:5653: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5654 has_wchar_minmax=yes
5656 echo "configure
: failed program was
:" >&5
5657 cat conftest.$ac_ext >&5
5662 echo "$ac_t""$has_wchar_minmax" 1>&6
5664 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
5665 echo "configure
:5666: checking
for WEOF
" >&5
5666 cat > conftest.$ac_ext <<EOF
5667 #line 5668 "configure
"
5668 #include "confdefs.h
"
5676 if { (eval echo configure:5677: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5680 echo "configure
: failed program was
:" >&5
5681 cat conftest.$ac_ext >&5
5686 echo "$ac_t""$has_weof" 1>&6
5689 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5691 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5692 echo "configure
:5693: checking
for $ac_func" >&5
5693 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5694 echo $ac_n "(cached
) $ac_c" 1>&6
5696 cat > conftest.$ac_ext <<EOF
5697 #line 5698 "configure
"
5698 #include "confdefs.h
"
5699 /* System header to define __stub macros and hopefully few prototypes,
5700 which can conflict with char $ac_func(); below. */
5702 /* Override any gcc2 internal prototype to avoid an error. */
5703 /* We use char because int might match the return type of a gcc2
5704 builtin and then its argument prototype would still apply. */
5709 /* The GNU C library defines this for functions which it implements
5710 to always fail with ENOSYS. Some functions are actually named
5711 something starting with __ and the normal name is an alias. */
5712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5720 if { (eval echo configure:5721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5722 eval "ac_cv_func_
$ac_func=yes"
5724 echo "configure
: failed program was
:" >&5
5725 cat conftest.$ac_ext >&5
5727 eval "ac_cv_func_
$ac_func=no
"
5732 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5733 echo "$ac_t""yes" 1>&6
5734 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5735 cat >> confdefs.h <<EOF
5736 #define $ac_tr_func 1
5740 echo "$ac_t""no
" 1>&6
5747 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
5748 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5749 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5750 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5751 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5752 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5754 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5755 echo "configure
:5756: checking
for $ac_func" >&5
5756 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5757 echo $ac_n "(cached
) $ac_c" 1>&6
5759 cat > conftest.$ac_ext <<EOF
5760 #line 5761 "configure
"
5761 #include "confdefs.h
"
5762 /* System header to define __stub macros and hopefully few prototypes,
5763 which can conflict with char $ac_func(); below. */
5765 /* Override any gcc2 internal prototype to avoid an error. */
5766 /* We use char because int might match the return type of a gcc2
5767 builtin and then its argument prototype would still apply. */
5772 /* The GNU C library defines this for functions which it implements
5773 to always fail with ENOSYS. Some functions are actually named
5774 something starting with __ and the normal name is an alias. */
5775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5783 if { (eval echo configure:5784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5785 eval "ac_cv_func_
$ac_func=yes"
5787 echo "configure
: failed program was
:" >&5
5788 cat conftest.$ac_ext >&5
5790 eval "ac_cv_func_
$ac_func=no
"
5795 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5796 echo "$ac_t""yes" 1>&6
5797 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5798 cat >> confdefs.h <<EOF
5799 #define $ac_tr_func 1
5803 echo "$ac_t""no
" 1>&6
5810 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
5811 echo "configure
:5812: checking
for ISO C99 wchar_t support
" >&5
5812 if test x"$has_weof" = xyes &&
5813 test x"$has_wchar_minmax" = xyes &&
5814 test x"$ac_wfuncs" = xyes; then
5815 ac_isoC99_wchar_t=yes
5817 ac_isoC99_wchar_t=no
5819 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
5821 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
5822 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
5823 echo "configure
:5824: checking
for iconv.h
" >&5
5824 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5825 echo $ac_n "(cached
) $ac_c" 1>&6
5827 cat > conftest.$ac_ext <<EOF
5828 #line 5829 "configure
"
5829 #include "confdefs.h
"
5832 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5833 { (eval echo configure:5834: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5834 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5835 if test -z "$ac_err"; then
5837 eval "ac_cv_header_
$ac_safe=yes"
5840 echo "configure
: failed program was
:" >&5
5841 cat conftest.$ac_ext >&5
5843 eval "ac_cv_header_
$ac_safe=no
"
5847 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5848 echo "$ac_t""yes" 1>&6
5851 echo "$ac_t""no
" 1>&6
5855 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
5856 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
5857 echo "configure
:5858: checking
for langinfo.h
" >&5
5858 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5859 echo $ac_n "(cached
) $ac_c" 1>&6
5861 cat > conftest.$ac_ext <<EOF
5862 #line 5863 "configure
"
5863 #include "confdefs.h
"
5864 #include <langinfo.h>
5866 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5867 { (eval echo configure:5868: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5868 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5869 if test -z "$ac_err"; then
5871 eval "ac_cv_header_
$ac_safe=yes"
5874 echo "configure
: failed program was
:" >&5
5875 cat conftest.$ac_ext >&5
5877 eval "ac_cv_header_
$ac_safe=no
"
5881 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5882 echo "$ac_t""yes" 1>&6
5883 ac_has_langinfo_h=yes
5885 echo "$ac_t""no
" 1>&6
5886 ac_has_langinfo_h=no
5890 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
5891 echo "configure
:5892: checking
for iconv in -liconv" >&5
5892 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5893 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5894 echo $ac_n "(cached
) $ac_c" 1>&6
5896 ac_save_LIBS="$LIBS"
5897 LIBS="-liconv $LIBS"
5898 cat > conftest.$ac_ext <<EOF
5899 #line 5900 "configure
"
5900 #include "confdefs.h
"
5901 /* Override any gcc2 internal prototype to avoid an error. */
5902 /* We use char because int might match the return type of a gcc2
5903 builtin and then its argument prototype would still apply. */
5910 if { (eval echo configure:5911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5912 eval "ac_cv_lib_
$ac_lib_var=yes"
5914 echo "configure
: failed program was
:" >&5
5915 cat conftest.$ac_ext >&5
5917 eval "ac_cv_lib_
$ac_lib_var=no
"
5920 LIBS="$ac_save_LIBS"
5923 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5924 echo "$ac_t""yes" 1>&6
5927 echo "$ac_t""no
" 1>&6
5930 ac_save_LIBS="$LIBS"
5931 LIBS="$LIBS $libiconv"
5933 for ac_func in iconv_open iconv_close iconv nl_langinfo
5935 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5936 echo "configure
:5937: checking
for $ac_func" >&5
5937 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5938 echo $ac_n "(cached
) $ac_c" 1>&6
5940 cat > conftest.$ac_ext <<EOF
5941 #line 5942 "configure
"
5942 #include "confdefs.h
"
5943 /* System header to define __stub macros and hopefully few prototypes,
5944 which can conflict with char $ac_func(); below. */
5946 /* Override any gcc2 internal prototype to avoid an error. */
5947 /* We use char because int might match the return type of a gcc2
5948 builtin and then its argument prototype would still apply. */
5953 /* The GNU C library defines this for functions which it implements
5954 to always fail with ENOSYS. Some functions are actually named
5955 something starting with __ and the normal name is an alias. */
5956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5964 if { (eval echo configure:5965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5966 eval "ac_cv_func_
$ac_func=yes"
5968 echo "configure
: failed program was
:" >&5
5969 cat conftest.$ac_ext >&5
5971 eval "ac_cv_func_
$ac_func=no
"
5976 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5977 echo "$ac_t""yes" 1>&6
5978 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5979 cat >> confdefs.h <<EOF
5980 #define $ac_tr_func 1
5985 echo "$ac_t""no
" 1>&6
5991 LIBS="$ac_save_LIBS"
5993 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
5994 echo "configure
:5995: checking
for XPG2 wchar_t support
" >&5
5995 if test x"$ac_has_iconv_h" = xyes &&
5996 test x"$ac_has_langinfo_h" = xyes &&
5997 test x"$ac_XPG2funcs" = xyes; then
6002 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6004 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
6005 echo "configure
:6006: checking
for enabled wchar_t specializations
" >&5
6006 if test x"$ac_isoC99_wchar_t" = xyes &&
6007 test x"$ac_XPG2_wchar_t" = xyes; then
6008 cat >> confdefs.h <<\EOF
6009 #define _GLIBCPP_USE_WCHAR_T 1
6012 echo "$ac_t"""yes"" 1>&6
6014 echo "$ac_t"""no"" 1>&6
6017 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
6020 os_include_dir="os
/hpux
"
6021 cat >> confdefs.h <<\EOF
6022 #define HAVE_COPYSIGN 1
6025 cat >> confdefs.h <<\EOF
6026 #define HAVE_COPYSIGNF 1
6029 cat >> confdefs.h <<\EOF
6030 #define HAVE_FREXPF 1
6033 cat >> confdefs.h <<\EOF
6034 #define HAVE_HYPOT 1
6039 cat >> confdefs.h <<\EOF
6040 #define HAVE_FINITE 1
6043 cat >> confdefs.h <<\EOF
6044 #define HAVE_FINITEF 1
6047 cat >> confdefs.h <<\EOF
6048 #define HAVE_ISINF 1
6051 cat >> confdefs.h <<\EOF
6052 #define HAVE_ISINFF 1
6055 cat >> confdefs.h <<\EOF
6056 #define HAVE_ISNAN 1
6059 cat >> confdefs.h <<\EOF
6060 #define HAVE_ISNANF 1
6068 # Check for available headers.
6069 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
6070 machine/endian.h machine/param.h sys/machine.h sys/types.h \
6071 fp.h locale.h float.h inttypes.h
6073 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6074 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6075 echo "configure
:6076: checking
for $ac_hdr" >&5
6076 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6077 echo $ac_n "(cached
) $ac_c" 1>&6
6079 cat > conftest.$ac_ext <<EOF
6080 #line 6081 "configure
"
6081 #include "confdefs.h
"
6084 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6085 { (eval echo configure:6086: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6086 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6087 if test -z "$ac_err"; then
6089 eval "ac_cv_header_
$ac_safe=yes"
6092 echo "configure
: failed program was
:" >&5
6093 cat conftest.$ac_ext >&5
6095 eval "ac_cv_header_
$ac_safe=no
"
6099 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6100 echo "$ac_t""yes" 1>&6
6101 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6102 cat >> confdefs.h <<EOF
6103 #define $ac_tr_hdr 1
6107 echo "$ac_t""no
" 1>&6
6111 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6114 # If we're not using GNU ld, then there's no point in even trying these
6115 # tests. Check for that first. We should have already tested for gld
6116 # by now (in libtool), but require it now just to be safe...
6117 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6118 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6121 # The name set by libtool depends on the version of libtool. Shame on us
6122 # for depending on an impl detail, but c'est la vie. Older versions used
6123 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6124 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6125 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6126 # set (hence we're using an older libtool), then set it.
6127 if test x${with_gnu_ld+set} != xset; then
6128 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6129 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
6132 with_gnu_ld=$ac_cv_prog_gnu_ld
6136 # Start by getting the version number. I think the libtool test already
6137 # does some of this, but throws away the result.
6139 ldver=`$LD --version 2>/dev/null | head -1 | \
6140 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6142 glibcpp_gnu_ld_version=`echo $ldver | \
6143 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6145 # Set --gc-sections.
6146 if test "$with_gnu_ld" = "notbroken
"; then
6147 # GNU ld it is! Joy and bunny rabbits!
6149 # All these tests are for C++; save the language and the compiler flags.
6150 # Need to do this so that g++ won't try to link in libstdc++
6151 ac_test_CFLAGS="${CFLAGS+set}"
6152 ac_save_CFLAGS="$CFLAGS"
6153 CFLAGS='-x c++ -Wl,--gc-sections'
6155 # Check for -Wl,--gc-sections
6156 # XXX This test is broken at the moment, as symbols required for
6157 # linking are now in libsupc++ (not built yet.....). In addition,
6158 # this test has cored on solaris in the past. In addition,
6159 # --gc-sections doesn't really work at the moment (keeps on discarding
6160 # used sections, first .eh_frame and now some of the glibc sections for
6161 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6162 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
6163 echo "configure
:6164: checking
for ld that supports
-Wl,--gc-sections" >&5
6164 if test "$cross_compiling" = yes; then
6165 ac_sectionLDflags=yes
6167 cat > conftest.$ac_ext <<EOF
6168 #line 6169 "configure
"
6169 #include "confdefs.h
"
6179 if { (eval echo configure:6180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6181 ac_sectionLDflags=yes
6183 echo "configure
: failed program was
:" >&5
6184 cat conftest.$ac_ext >&5
6186 ac_sectionLDflags=no
6191 if test "$ac_test_CFLAGS" = set; then
6192 CFLAGS="$ac_save_CFLAGS"
6194 # this is the suspicious part
6197 if test "$ac_sectionLDflags" = "yes"; then
6198 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6200 echo "$ac_t""$ac_sectionLDflags" 1>&6
6203 # Set linker optimization flags.
6204 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no
"; then
6205 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6212 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
6213 echo "configure
:6214: checking
for main
in -lm" >&5
6214 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
6215 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6216 echo $ac_n "(cached
) $ac_c" 1>&6
6218 ac_save_LIBS="$LIBS"
6220 cat > conftest.$ac_ext <<EOF
6221 #line 6222 "configure
"
6222 #include "confdefs.h
"
6228 if { (eval echo configure:6229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6230 eval "ac_cv_lib_
$ac_lib_var=yes"
6232 echo "configure
: failed program was
:" >&5
6233 cat conftest.$ac_ext >&5
6235 eval "ac_cv_lib_
$ac_lib_var=no
"
6238 LIBS="$ac_save_LIBS"
6241 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6242 echo "$ac_t""yes" 1>&6
6243 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6244 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6245 cat >> confdefs.h <<EOF
6246 #define $ac_tr_lib 1
6252 echo "$ac_t""no
" 1>&6
6255 for ac_func in nan copysignf
6257 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6258 echo "configure
:6259: checking
for $ac_func" >&5
6259 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6260 echo $ac_n "(cached
) $ac_c" 1>&6
6262 cat > conftest.$ac_ext <<EOF
6263 #line 6264 "configure
"
6264 #include "confdefs.h
"
6265 /* System header to define __stub macros and hopefully few prototypes,
6266 which can conflict with char $ac_func(); below. */
6268 /* Override any gcc2 internal prototype to avoid an error. */
6269 /* We use char because int might match the return type of a gcc2
6270 builtin and then its argument prototype would still apply. */
6275 /* The GNU C library defines this for functions which it implements
6276 to always fail with ENOSYS. Some functions are actually named
6277 something starting with __ and the normal name is an alias. */
6278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6286 if { (eval echo configure:6287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6288 eval "ac_cv_func_
$ac_func=yes"
6290 echo "configure
: failed program was
:" >&5
6291 cat conftest.$ac_ext >&5
6293 eval "ac_cv_func_
$ac_func=no
"
6298 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6299 echo "$ac_t""yes" 1>&6
6300 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6301 cat >> confdefs.h <<EOF
6302 #define $ac_tr_func 1
6306 echo "$ac_t""no
" 1>&6
6307 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
6312 for ac_func in __signbit
6314 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6315 echo "configure
:6316: checking
for $ac_func" >&5
6316 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6317 echo $ac_n "(cached
) $ac_c" 1>&6
6319 cat > conftest.$ac_ext <<EOF
6320 #line 6321 "configure
"
6321 #include "confdefs.h
"
6322 /* System header to define __stub macros and hopefully few prototypes,
6323 which can conflict with char $ac_func(); below. */
6325 /* Override any gcc2 internal prototype to avoid an error. */
6326 /* We use char because int might match the return type of a gcc2
6327 builtin and then its argument prototype would still apply. */
6332 /* The GNU C library defines this for functions which it implements
6333 to always fail with ENOSYS. Some functions are actually named
6334 something starting with __ and the normal name is an alias. */
6335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6343 if { (eval echo configure:6344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6345 eval "ac_cv_func_
$ac_func=yes"
6347 echo "configure
: failed program was
:" >&5
6348 cat conftest.$ac_ext >&5
6350 eval "ac_cv_func_
$ac_func=no
"
6355 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6356 echo "$ac_t""yes" 1>&6
6357 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6358 cat >> confdefs.h <<EOF
6359 #define $ac_tr_func 1
6363 echo "$ac_t""no
" 1>&6
6364 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
6368 for ac_func in __signbitf
6370 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6371 echo "configure
:6372: checking
for $ac_func" >&5
6372 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6373 echo $ac_n "(cached
) $ac_c" 1>&6
6375 cat > conftest.$ac_ext <<EOF
6376 #line 6377 "configure
"
6377 #include "confdefs.h
"
6378 /* System header to define __stub macros and hopefully few prototypes,
6379 which can conflict with char $ac_func(); below. */
6381 /* Override any gcc2 internal prototype to avoid an error. */
6382 /* We use char because int might match the return type of a gcc2
6383 builtin and then its argument prototype would still apply. */
6388 /* The GNU C library defines this for functions which it implements
6389 to always fail with ENOSYS. Some functions are actually named
6390 something starting with __ and the normal name is an alias. */
6391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6399 if { (eval echo configure:6400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6401 eval "ac_cv_func_
$ac_func=yes"
6403 echo "configure
: failed program was
:" >&5
6404 cat conftest.$ac_ext >&5
6406 eval "ac_cv_func_
$ac_func=no
"
6411 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6412 echo "$ac_t""yes" 1>&6
6413 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6414 cat >> confdefs.h <<EOF
6415 #define $ac_tr_func 1
6419 echo "$ac_t""no
" 1>&6
6420 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
6425 if test x$ac_cv_func_copysignl = x"yes"; then
6426 for ac_func in __signbitl
6428 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6429 echo "configure
:6430: checking
for $ac_func" >&5
6430 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6431 echo $ac_n "(cached
) $ac_c" 1>&6
6433 cat > conftest.$ac_ext <<EOF
6434 #line 6435 "configure
"
6435 #include "confdefs.h
"
6436 /* System header to define __stub macros and hopefully few prototypes,
6437 which can conflict with char $ac_func(); below. */
6439 /* Override any gcc2 internal prototype to avoid an error. */
6440 /* We use char because int might match the return type of a gcc2
6441 builtin and then its argument prototype would still apply. */
6446 /* The GNU C library defines this for functions which it implements
6447 to always fail with ENOSYS. Some functions are actually named
6448 something starting with __ and the normal name is an alias. */
6449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6457 if { (eval echo configure:6458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6459 eval "ac_cv_func_
$ac_func=yes"
6461 echo "configure
: failed program was
:" >&5
6462 cat conftest.$ac_ext >&5
6464 eval "ac_cv_func_
$ac_func=no
"
6469 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6470 echo "$ac_t""yes" 1>&6
6471 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6472 cat >> confdefs.h <<EOF
6473 #define $ac_tr_func 1
6477 echo "$ac_t""no
" 1>&6
6478 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
6488 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
6489 echo "configure
:6490: checking
for mbstate_t
" >&5
6490 cat > conftest.$ac_ext <<EOF
6491 #line 6492 "configure
"
6492 #include "confdefs.h
"
6495 mbstate_t teststate;
6498 if { (eval echo configure:6499: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6502 echo "configure
: failed program was
:" >&5
6503 cat conftest.$ac_ext >&5
6508 echo "$ac_t""$have_mbstate_t" 1>&6
6509 if test x"$have_mbstate_t" = xyes; then
6510 cat >> confdefs.h <<\EOF
6511 #define HAVE_MBSTATE_T 1
6516 for ac_hdr in wchar.h
6518 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6519 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6520 echo "configure
:6521: checking
for $ac_hdr" >&5
6521 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6522 echo $ac_n "(cached
) $ac_c" 1>&6
6524 cat > conftest.$ac_ext <<EOF
6525 #line 6526 "configure
"
6526 #include "confdefs.h
"
6529 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6530 { (eval echo configure:6531: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6531 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6532 if test -z "$ac_err"; then
6534 eval "ac_cv_header_
$ac_safe=yes"
6537 echo "configure
: failed program was
:" >&5
6538 cat conftest.$ac_ext >&5
6540 eval "ac_cv_header_
$ac_safe=no
"
6544 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6545 echo "$ac_t""yes" 1>&6
6546 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6547 cat >> confdefs.h <<EOF
6548 #define $ac_tr_hdr 1
6552 echo "$ac_t""no
" 1>&6
6557 for ac_hdr in wctype.h
6559 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6560 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6561 echo "configure
:6562: checking
for $ac_hdr" >&5
6562 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6563 echo $ac_n "(cached
) $ac_c" 1>&6
6565 cat > conftest.$ac_ext <<EOF
6566 #line 6567 "configure
"
6567 #include "confdefs.h
"
6570 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6571 { (eval echo configure:6572: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6572 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6573 if test -z "$ac_err"; then
6575 eval "ac_cv_header_
$ac_safe=yes"
6578 echo "configure
: failed program was
:" >&5
6579 cat conftest.$ac_ext >&5
6581 eval "ac_cv_header_
$ac_safe=no
"
6585 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6586 echo "$ac_t""yes" 1>&6
6587 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6588 cat >> confdefs.h <<EOF
6589 #define $ac_tr_hdr 1
6593 echo "$ac_t""no
" 1>&6
6599 if test x"$ac_has_wchar_h" = xyes &&
6600 test x"$ac_has_wctype_h" = xyes &&
6601 test x"$enable_c_mbchar" != xno; then
6603 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
6604 echo "configure
:6605: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
6605 cat > conftest.$ac_ext <<EOF
6606 #line 6607 "configure
"
6607 #include "confdefs.h
"
6610 int i = WCHAR_MIN; int j = WCHAR_MAX;
6613 if { (eval echo configure:6614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6615 has_wchar_minmax=yes
6617 echo "configure
: failed program was
:" >&5
6618 cat conftest.$ac_ext >&5
6623 echo "$ac_t""$has_wchar_minmax" 1>&6
6625 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
6626 echo "configure
:6627: checking
for WEOF
" >&5
6627 cat > conftest.$ac_ext <<EOF
6628 #line 6629 "configure
"
6629 #include "confdefs.h
"
6637 if { (eval echo configure:6638: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6641 echo "configure
: failed program was
:" >&5
6642 cat conftest.$ac_ext >&5
6647 echo "$ac_t""$has_weof" 1>&6
6650 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6652 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6653 echo "configure
:6654: checking
for $ac_func" >&5
6654 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6655 echo $ac_n "(cached
) $ac_c" 1>&6
6657 cat > conftest.$ac_ext <<EOF
6658 #line 6659 "configure
"
6659 #include "confdefs.h
"
6660 /* System header to define __stub macros and hopefully few prototypes,
6661 which can conflict with char $ac_func(); below. */
6663 /* Override any gcc2 internal prototype to avoid an error. */
6664 /* We use char because int might match the return type of a gcc2
6665 builtin and then its argument prototype would still apply. */
6670 /* The GNU C library defines this for functions which it implements
6671 to always fail with ENOSYS. Some functions are actually named
6672 something starting with __ and the normal name is an alias. */
6673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6681 if { (eval echo configure:6682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6683 eval "ac_cv_func_
$ac_func=yes"
6685 echo "configure
: failed program was
:" >&5
6686 cat conftest.$ac_ext >&5
6688 eval "ac_cv_func_
$ac_func=no
"
6693 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6694 echo "$ac_t""yes" 1>&6
6695 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6696 cat >> confdefs.h <<EOF
6697 #define $ac_tr_func 1
6701 echo "$ac_t""no
" 1>&6
6708 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
6709 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6710 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6711 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6712 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6713 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6715 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6716 echo "configure
:6717: checking
for $ac_func" >&5
6717 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6718 echo $ac_n "(cached
) $ac_c" 1>&6
6720 cat > conftest.$ac_ext <<EOF
6721 #line 6722 "configure
"
6722 #include "confdefs.h
"
6723 /* System header to define __stub macros and hopefully few prototypes,
6724 which can conflict with char $ac_func(); below. */
6726 /* Override any gcc2 internal prototype to avoid an error. */
6727 /* We use char because int might match the return type of a gcc2
6728 builtin and then its argument prototype would still apply. */
6733 /* The GNU C library defines this for functions which it implements
6734 to always fail with ENOSYS. Some functions are actually named
6735 something starting with __ and the normal name is an alias. */
6736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6744 if { (eval echo configure:6745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6746 eval "ac_cv_func_
$ac_func=yes"
6748 echo "configure
: failed program was
:" >&5
6749 cat conftest.$ac_ext >&5
6751 eval "ac_cv_func_
$ac_func=no
"
6756 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6757 echo "$ac_t""yes" 1>&6
6758 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6759 cat >> confdefs.h <<EOF
6760 #define $ac_tr_func 1
6764 echo "$ac_t""no
" 1>&6
6771 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
6772 echo "configure
:6773: checking
for ISO C99 wchar_t support
" >&5
6773 if test x"$has_weof" = xyes &&
6774 test x"$has_wchar_minmax" = xyes &&
6775 test x"$ac_wfuncs" = xyes; then
6776 ac_isoC99_wchar_t=yes
6778 ac_isoC99_wchar_t=no
6780 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6782 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
6783 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
6784 echo "configure
:6785: checking
for iconv.h
" >&5
6785 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6786 echo $ac_n "(cached
) $ac_c" 1>&6
6788 cat > conftest.$ac_ext <<EOF
6789 #line 6790 "configure
"
6790 #include "confdefs.h
"
6793 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6794 { (eval echo configure:6795: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6795 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6796 if test -z "$ac_err"; then
6798 eval "ac_cv_header_
$ac_safe=yes"
6801 echo "configure
: failed program was
:" >&5
6802 cat conftest.$ac_ext >&5
6804 eval "ac_cv_header_
$ac_safe=no
"
6808 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6809 echo "$ac_t""yes" 1>&6
6812 echo "$ac_t""no
" 1>&6
6816 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
6817 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
6818 echo "configure
:6819: checking
for langinfo.h
" >&5
6819 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6820 echo $ac_n "(cached
) $ac_c" 1>&6
6822 cat > conftest.$ac_ext <<EOF
6823 #line 6824 "configure
"
6824 #include "confdefs.h
"
6825 #include <langinfo.h>
6827 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6828 { (eval echo configure:6829: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6829 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6830 if test -z "$ac_err"; then
6832 eval "ac_cv_header_
$ac_safe=yes"
6835 echo "configure
: failed program was
:" >&5
6836 cat conftest.$ac_ext >&5
6838 eval "ac_cv_header_
$ac_safe=no
"
6842 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6843 echo "$ac_t""yes" 1>&6
6844 ac_has_langinfo_h=yes
6846 echo "$ac_t""no
" 1>&6
6847 ac_has_langinfo_h=no
6851 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
6852 echo "configure
:6853: checking
for iconv in -liconv" >&5
6853 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6854 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6855 echo $ac_n "(cached
) $ac_c" 1>&6
6857 ac_save_LIBS="$LIBS"
6858 LIBS="-liconv $LIBS"
6859 cat > conftest.$ac_ext <<EOF
6860 #line 6861 "configure
"
6861 #include "confdefs.h
"
6862 /* Override any gcc2 internal prototype to avoid an error. */
6863 /* We use char because int might match the return type of a gcc2
6864 builtin and then its argument prototype would still apply. */
6871 if { (eval echo configure:6872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6873 eval "ac_cv_lib_
$ac_lib_var=yes"
6875 echo "configure
: failed program was
:" >&5
6876 cat conftest.$ac_ext >&5
6878 eval "ac_cv_lib_
$ac_lib_var=no
"
6881 LIBS="$ac_save_LIBS"
6884 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6885 echo "$ac_t""yes" 1>&6
6888 echo "$ac_t""no
" 1>&6
6891 ac_save_LIBS="$LIBS"
6892 LIBS="$LIBS $libiconv"
6894 for ac_func in iconv_open iconv_close iconv nl_langinfo
6896 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6897 echo "configure
:6898: checking
for $ac_func" >&5
6898 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6899 echo $ac_n "(cached
) $ac_c" 1>&6
6901 cat > conftest.$ac_ext <<EOF
6902 #line 6903 "configure
"
6903 #include "confdefs.h
"
6904 /* System header to define __stub macros and hopefully few prototypes,
6905 which can conflict with char $ac_func(); below. */
6907 /* Override any gcc2 internal prototype to avoid an error. */
6908 /* We use char because int might match the return type of a gcc2
6909 builtin and then its argument prototype would still apply. */
6914 /* The GNU C library defines this for functions which it implements
6915 to always fail with ENOSYS. Some functions are actually named
6916 something starting with __ and the normal name is an alias. */
6917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6925 if { (eval echo configure:6926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6927 eval "ac_cv_func_
$ac_func=yes"
6929 echo "configure
: failed program was
:" >&5
6930 cat conftest.$ac_ext >&5
6932 eval "ac_cv_func_
$ac_func=no
"
6937 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6938 echo "$ac_t""yes" 1>&6
6939 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6940 cat >> confdefs.h <<EOF
6941 #define $ac_tr_func 1
6946 echo "$ac_t""no
" 1>&6
6952 LIBS="$ac_save_LIBS"
6954 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
6955 echo "configure
:6956: checking
for XPG2 wchar_t support
" >&5
6956 if test x"$ac_has_iconv_h" = xyes &&
6957 test x"$ac_has_langinfo_h" = xyes &&
6958 test x"$ac_XPG2funcs" = xyes; then
6963 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6965 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
6966 echo "configure
:6967: checking
for enabled wchar_t specializations
" >&5
6967 if test x"$ac_isoC99_wchar_t" = xyes &&
6968 test x"$ac_XPG2_wchar_t" = xyes; then
6969 cat >> confdefs.h <<\EOF
6970 #define _GLIBCPP_USE_WCHAR_T 1
6973 echo "$ac_t"""yes"" 1>&6
6975 echo "$ac_t"""no"" 1>&6
6978 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
6981 os_include_dir="os
/bsd
/netbsd
"
6982 cat >> confdefs.h <<\EOF
6983 #define HAVE_COPYSIGN 1
6986 cat >> confdefs.h <<\EOF
6987 #define HAVE_COPYSIGNF 1
6990 cat >> confdefs.h <<\EOF
6991 #define HAVE_FINITEF 1
6994 cat >> confdefs.h <<\EOF
6995 #define HAVE_FINITE 1
6998 cat >> confdefs.h <<\EOF
6999 #define HAVE_FREXPF 1
7002 cat >> confdefs.h <<\EOF
7003 #define HAVE_HYPOTF 1
7006 cat >> confdefs.h <<\EOF
7007 #define HAVE_ISINF 1
7010 cat >> confdefs.h <<\EOF
7011 #define HAVE_ISINFF 1
7014 cat >> confdefs.h <<\EOF
7015 #define HAVE_ISNAN 1
7018 cat >> confdefs.h <<\EOF
7019 #define HAVE_ISNANF 1
7022 if test x"long_double_math_on_this_cpu
" = x"yes"; then
7023 cat >> confdefs.h <<\EOF
7024 #define HAVE_FINITEL 1
7027 cat >> confdefs.h <<\EOF
7028 #define HAVE_ISINFL 1
7031 cat >> confdefs.h <<\EOF
7032 #define HAVE_ISNANL 1
7038 # Check for available headers.
7039 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
7040 machine/endian.h machine/param.h sys/machine.h sys/types.h \
7041 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
7044 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7045 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
7046 echo "configure
:7047: checking
for $ac_hdr" >&5
7047 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7048 echo $ac_n "(cached
) $ac_c" 1>&6
7050 cat > conftest.$ac_ext <<EOF
7051 #line 7052 "configure
"
7052 #include "confdefs.h
"
7055 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7056 { (eval echo configure:7057: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7057 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7058 if test -z "$ac_err"; then
7060 eval "ac_cv_header_
$ac_safe=yes"
7063 echo "configure
: failed program was
:" >&5
7064 cat conftest.$ac_ext >&5
7066 eval "ac_cv_header_
$ac_safe=no
"
7070 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7071 echo "$ac_t""yes" 1>&6
7072 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7073 cat >> confdefs.h <<EOF
7074 #define $ac_tr_hdr 1
7078 echo "$ac_t""no
" 1>&6
7082 SECTION_FLAGS='-ffunction-sections -fdata-sections'
7085 # If we're not using GNU ld, then there's no point in even trying these
7086 # tests. Check for that first. We should have already tested for gld
7087 # by now (in libtool), but require it now just to be safe...
7088 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7089 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7092 # The name set by libtool depends on the version of libtool. Shame on us
7093 # for depending on an impl detail, but c'est la vie. Older versions used
7094 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7095 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7096 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7097 # set (hence we're using an older libtool), then set it.
7098 if test x${with_gnu_ld+set} != xset; then
7099 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7100 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
7103 with_gnu_ld=$ac_cv_prog_gnu_ld
7107 # Start by getting the version number. I think the libtool test already
7108 # does some of this, but throws away the result.
7110 ldver=`$LD --version 2>/dev/null | head -1 | \
7111 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7113 glibcpp_gnu_ld_version=`echo $ldver | \
7114 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7116 # Set --gc-sections.
7117 if test "$with_gnu_ld" = "notbroken
"; then
7118 # GNU ld it is! Joy and bunny rabbits!
7120 # All these tests are for C++; save the language and the compiler flags.
7121 # Need to do this so that g++ won't try to link in libstdc++
7122 ac_test_CFLAGS="${CFLAGS+set}"
7123 ac_save_CFLAGS="$CFLAGS"
7124 CFLAGS='-x c++ -Wl,--gc-sections'
7126 # Check for -Wl,--gc-sections
7127 # XXX This test is broken at the moment, as symbols required for
7128 # linking are now in libsupc++ (not built yet.....). In addition,
7129 # this test has cored on solaris in the past. In addition,
7130 # --gc-sections doesn't really work at the moment (keeps on discarding
7131 # used sections, first .eh_frame and now some of the glibc sections for
7132 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7133 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
7134 echo "configure
:7135: checking
for ld that supports
-Wl,--gc-sections" >&5
7135 if test "$cross_compiling" = yes; then
7136 ac_sectionLDflags=yes
7138 cat > conftest.$ac_ext <<EOF
7139 #line 7140 "configure
"
7140 #include "confdefs.h
"
7150 if { (eval echo configure:7151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7152 ac_sectionLDflags=yes
7154 echo "configure
: failed program was
:" >&5
7155 cat conftest.$ac_ext >&5
7157 ac_sectionLDflags=no
7162 if test "$ac_test_CFLAGS" = set; then
7163 CFLAGS="$ac_save_CFLAGS"
7165 # this is the suspicious part
7168 if test "$ac_sectionLDflags" = "yes"; then
7169 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7171 echo "$ac_t""$ac_sectionLDflags" 1>&6
7174 # Set linker optimization flags.
7175 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no
"; then
7176 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7183 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
7184 echo "configure
:7185: checking
for main
in -lm" >&5
7185 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
7186 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7187 echo $ac_n "(cached
) $ac_c" 1>&6
7189 ac_save_LIBS="$LIBS"
7191 cat > conftest.$ac_ext <<EOF
7192 #line 7193 "configure
"
7193 #include "confdefs.h
"
7199 if { (eval echo configure:7200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7201 eval "ac_cv_lib_
$ac_lib_var=yes"
7203 echo "configure
: failed program was
:" >&5
7204 cat conftest.$ac_ext >&5
7206 eval "ac_cv_lib_
$ac_lib_var=no
"
7209 LIBS="$ac_save_LIBS"
7212 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7213 echo "$ac_t""yes" 1>&6
7214 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7215 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7216 cat >> confdefs.h <<EOF
7217 #define $ac_tr_lib 1
7223 echo "$ac_t""no
" 1>&6
7226 for ac_func in nan copysignf
7228 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7229 echo "configure
:7230: checking
for $ac_func" >&5
7230 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7231 echo $ac_n "(cached
) $ac_c" 1>&6
7233 cat > conftest.$ac_ext <<EOF
7234 #line 7235 "configure
"
7235 #include "confdefs.h
"
7236 /* System header to define __stub macros and hopefully few prototypes,
7237 which can conflict with char $ac_func(); below. */
7239 /* Override any gcc2 internal prototype to avoid an error. */
7240 /* We use char because int might match the return type of a gcc2
7241 builtin and then its argument prototype would still apply. */
7246 /* The GNU C library defines this for functions which it implements
7247 to always fail with ENOSYS. Some functions are actually named
7248 something starting with __ and the normal name is an alias. */
7249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7257 if { (eval echo configure:7258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7259 eval "ac_cv_func_
$ac_func=yes"
7261 echo "configure
: failed program was
:" >&5
7262 cat conftest.$ac_ext >&5
7264 eval "ac_cv_func_
$ac_func=no
"
7269 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7270 echo "$ac_t""yes" 1>&6
7271 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7272 cat >> confdefs.h <<EOF
7273 #define $ac_tr_func 1
7277 echo "$ac_t""no
" 1>&6
7278 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
7283 for ac_func in __signbit
7285 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7286 echo "configure
:7287: checking
for $ac_func" >&5
7287 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7288 echo $ac_n "(cached
) $ac_c" 1>&6
7290 cat > conftest.$ac_ext <<EOF
7291 #line 7292 "configure
"
7292 #include "confdefs.h
"
7293 /* System header to define __stub macros and hopefully few prototypes,
7294 which can conflict with char $ac_func(); below. */
7296 /* Override any gcc2 internal prototype to avoid an error. */
7297 /* We use char because int might match the return type of a gcc2
7298 builtin and then its argument prototype would still apply. */
7303 /* The GNU C library defines this for functions which it implements
7304 to always fail with ENOSYS. Some functions are actually named
7305 something starting with __ and the normal name is an alias. */
7306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7314 if { (eval echo configure:7315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7316 eval "ac_cv_func_
$ac_func=yes"
7318 echo "configure
: failed program was
:" >&5
7319 cat conftest.$ac_ext >&5
7321 eval "ac_cv_func_
$ac_func=no
"
7326 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7327 echo "$ac_t""yes" 1>&6
7328 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7329 cat >> confdefs.h <<EOF
7330 #define $ac_tr_func 1
7334 echo "$ac_t""no
" 1>&6
7335 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
7339 for ac_func in __signbitf
7341 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7342 echo "configure
:7343: checking
for $ac_func" >&5
7343 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7344 echo $ac_n "(cached
) $ac_c" 1>&6
7346 cat > conftest.$ac_ext <<EOF
7347 #line 7348 "configure
"
7348 #include "confdefs.h
"
7349 /* System header to define __stub macros and hopefully few prototypes,
7350 which can conflict with char $ac_func(); below. */
7352 /* Override any gcc2 internal prototype to avoid an error. */
7353 /* We use char because int might match the return type of a gcc2
7354 builtin and then its argument prototype would still apply. */
7359 /* The GNU C library defines this for functions which it implements
7360 to always fail with ENOSYS. Some functions are actually named
7361 something starting with __ and the normal name is an alias. */
7362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7370 if { (eval echo configure:7371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7372 eval "ac_cv_func_
$ac_func=yes"
7374 echo "configure
: failed program was
:" >&5
7375 cat conftest.$ac_ext >&5
7377 eval "ac_cv_func_
$ac_func=no
"
7382 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7383 echo "$ac_t""yes" 1>&6
7384 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7385 cat >> confdefs.h <<EOF
7386 #define $ac_tr_func 1
7390 echo "$ac_t""no
" 1>&6
7391 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
7396 if test x$ac_cv_func_copysignl = x"yes"; then
7397 for ac_func in __signbitl
7399 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7400 echo "configure
:7401: checking
for $ac_func" >&5
7401 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7402 echo $ac_n "(cached
) $ac_c" 1>&6
7404 cat > conftest.$ac_ext <<EOF
7405 #line 7406 "configure
"
7406 #include "confdefs.h
"
7407 /* System header to define __stub macros and hopefully few prototypes,
7408 which can conflict with char $ac_func(); below. */
7410 /* Override any gcc2 internal prototype to avoid an error. */
7411 /* We use char because int might match the return type of a gcc2
7412 builtin and then its argument prototype would still apply. */
7417 /* The GNU C library defines this for functions which it implements
7418 to always fail with ENOSYS. Some functions are actually named
7419 something starting with __ and the normal name is an alias. */
7420 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7428 if { (eval echo configure:7429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7430 eval "ac_cv_func_
$ac_func=yes"
7432 echo "configure
: failed program was
:" >&5
7433 cat conftest.$ac_ext >&5
7435 eval "ac_cv_func_
$ac_func=no
"
7440 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7441 echo "$ac_t""yes" 1>&6
7442 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7443 cat >> confdefs.h <<EOF
7444 #define $ac_tr_func 1
7448 echo "$ac_t""no
" 1>&6
7449 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
7459 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
7460 echo "configure
:7461: checking
for mbstate_t
" >&5
7461 cat > conftest.$ac_ext <<EOF
7462 #line 7463 "configure
"
7463 #include "confdefs.h
"
7466 mbstate_t teststate;
7469 if { (eval echo configure:7470: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7473 echo "configure
: failed program was
:" >&5
7474 cat conftest.$ac_ext >&5
7479 echo "$ac_t""$have_mbstate_t" 1>&6
7480 if test x"$have_mbstate_t" = xyes; then
7481 cat >> confdefs.h <<\EOF
7482 #define HAVE_MBSTATE_T 1
7487 for ac_hdr in wchar.h
7489 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7490 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
7491 echo "configure
:7492: checking
for $ac_hdr" >&5
7492 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7493 echo $ac_n "(cached
) $ac_c" 1>&6
7495 cat > conftest.$ac_ext <<EOF
7496 #line 7497 "configure
"
7497 #include "confdefs.h
"
7500 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7501 { (eval echo configure:7502: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7502 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7503 if test -z "$ac_err"; then
7505 eval "ac_cv_header_
$ac_safe=yes"
7508 echo "configure
: failed program was
:" >&5
7509 cat conftest.$ac_ext >&5
7511 eval "ac_cv_header_
$ac_safe=no
"
7515 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7516 echo "$ac_t""yes" 1>&6
7517 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7518 cat >> confdefs.h <<EOF
7519 #define $ac_tr_hdr 1
7523 echo "$ac_t""no
" 1>&6
7528 for ac_hdr in wctype.h
7530 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7531 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
7532 echo "configure
:7533: checking
for $ac_hdr" >&5
7533 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7534 echo $ac_n "(cached
) $ac_c" 1>&6
7536 cat > conftest.$ac_ext <<EOF
7537 #line 7538 "configure
"
7538 #include "confdefs.h
"
7541 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7542 { (eval echo configure:7543: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7543 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7544 if test -z "$ac_err"; then
7546 eval "ac_cv_header_
$ac_safe=yes"
7549 echo "configure
: failed program was
:" >&5
7550 cat conftest.$ac_ext >&5
7552 eval "ac_cv_header_
$ac_safe=no
"
7556 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7557 echo "$ac_t""yes" 1>&6
7558 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7559 cat >> confdefs.h <<EOF
7560 #define $ac_tr_hdr 1
7564 echo "$ac_t""no
" 1>&6
7570 if test x"$ac_has_wchar_h" = xyes &&
7571 test x"$ac_has_wctype_h" = xyes &&
7572 test x"$enable_c_mbchar" != xno; then
7574 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
7575 echo "configure
:7576: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
7576 cat > conftest.$ac_ext <<EOF
7577 #line 7578 "configure
"
7578 #include "confdefs.h
"
7581 int i = WCHAR_MIN; int j = WCHAR_MAX;
7584 if { (eval echo configure:7585: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7586 has_wchar_minmax=yes
7588 echo "configure
: failed program was
:" >&5
7589 cat conftest.$ac_ext >&5
7594 echo "$ac_t""$has_wchar_minmax" 1>&6
7596 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
7597 echo "configure
:7598: checking
for WEOF
" >&5
7598 cat > conftest.$ac_ext <<EOF
7599 #line 7600 "configure
"
7600 #include "confdefs.h
"
7608 if { (eval echo configure:7609: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7612 echo "configure
: failed program was
:" >&5
7613 cat conftest.$ac_ext >&5
7618 echo "$ac_t""$has_weof" 1>&6
7621 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
7623 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7624 echo "configure
:7625: checking
for $ac_func" >&5
7625 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7626 echo $ac_n "(cached
) $ac_c" 1>&6
7628 cat > conftest.$ac_ext <<EOF
7629 #line 7630 "configure
"
7630 #include "confdefs.h
"
7631 /* System header to define __stub macros and hopefully few prototypes,
7632 which can conflict with char $ac_func(); below. */
7634 /* Override any gcc2 internal prototype to avoid an error. */
7635 /* We use char because int might match the return type of a gcc2
7636 builtin and then its argument prototype would still apply. */
7641 /* The GNU C library defines this for functions which it implements
7642 to always fail with ENOSYS. Some functions are actually named
7643 something starting with __ and the normal name is an alias. */
7644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7652 if { (eval echo configure:7653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7654 eval "ac_cv_func_
$ac_func=yes"
7656 echo "configure
: failed program was
:" >&5
7657 cat conftest.$ac_ext >&5
7659 eval "ac_cv_func_
$ac_func=no
"
7664 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7665 echo "$ac_t""yes" 1>&6
7666 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7667 cat >> confdefs.h <<EOF
7668 #define $ac_tr_func 1
7672 echo "$ac_t""no
" 1>&6
7679 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
7680 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
7681 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
7682 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
7683 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
7684 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
7686 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7687 echo "configure
:7688: checking
for $ac_func" >&5
7688 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7689 echo $ac_n "(cached
) $ac_c" 1>&6
7691 cat > conftest.$ac_ext <<EOF
7692 #line 7693 "configure
"
7693 #include "confdefs.h
"
7694 /* System header to define __stub macros and hopefully few prototypes,
7695 which can conflict with char $ac_func(); below. */
7697 /* Override any gcc2 internal prototype to avoid an error. */
7698 /* We use char because int might match the return type of a gcc2
7699 builtin and then its argument prototype would still apply. */
7704 /* The GNU C library defines this for functions which it implements
7705 to always fail with ENOSYS. Some functions are actually named
7706 something starting with __ and the normal name is an alias. */
7707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7715 if { (eval echo configure:7716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7717 eval "ac_cv_func_
$ac_func=yes"
7719 echo "configure
: failed program was
:" >&5
7720 cat conftest.$ac_ext >&5
7722 eval "ac_cv_func_
$ac_func=no
"
7727 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7728 echo "$ac_t""yes" 1>&6
7729 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7730 cat >> confdefs.h <<EOF
7731 #define $ac_tr_func 1
7735 echo "$ac_t""no
" 1>&6
7742 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
7743 echo "configure
:7744: checking
for ISO C99 wchar_t support
" >&5
7744 if test x"$has_weof" = xyes &&
7745 test x"$has_wchar_minmax" = xyes &&
7746 test x"$ac_wfuncs" = xyes; then
7747 ac_isoC99_wchar_t=yes
7749 ac_isoC99_wchar_t=no
7751 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7753 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
7754 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
7755 echo "configure
:7756: checking
for iconv.h
" >&5
7756 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7757 echo $ac_n "(cached
) $ac_c" 1>&6
7759 cat > conftest.$ac_ext <<EOF
7760 #line 7761 "configure
"
7761 #include "confdefs.h
"
7764 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7765 { (eval echo configure:7766: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7766 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7767 if test -z "$ac_err"; then
7769 eval "ac_cv_header_
$ac_safe=yes"
7772 echo "configure
: failed program was
:" >&5
7773 cat conftest.$ac_ext >&5
7775 eval "ac_cv_header_
$ac_safe=no
"
7779 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7780 echo "$ac_t""yes" 1>&6
7783 echo "$ac_t""no
" 1>&6
7787 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
7788 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
7789 echo "configure
:7790: checking
for langinfo.h
" >&5
7790 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7791 echo $ac_n "(cached
) $ac_c" 1>&6
7793 cat > conftest.$ac_ext <<EOF
7794 #line 7795 "configure
"
7795 #include "confdefs.h
"
7796 #include <langinfo.h>
7798 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7799 { (eval echo configure:7800: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7800 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7801 if test -z "$ac_err"; then
7803 eval "ac_cv_header_
$ac_safe=yes"
7806 echo "configure
: failed program was
:" >&5
7807 cat conftest.$ac_ext >&5
7809 eval "ac_cv_header_
$ac_safe=no
"
7813 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7814 echo "$ac_t""yes" 1>&6
7815 ac_has_langinfo_h=yes
7817 echo "$ac_t""no
" 1>&6
7818 ac_has_langinfo_h=no
7822 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
7823 echo "configure
:7824: checking
for iconv in -liconv" >&5
7824 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
7825 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7826 echo $ac_n "(cached
) $ac_c" 1>&6
7828 ac_save_LIBS="$LIBS"
7829 LIBS="-liconv $LIBS"
7830 cat > conftest.$ac_ext <<EOF
7831 #line 7832 "configure
"
7832 #include "confdefs.h
"
7833 /* Override any gcc2 internal prototype to avoid an error. */
7834 /* We use char because int might match the return type of a gcc2
7835 builtin and then its argument prototype would still apply. */
7842 if { (eval echo configure:7843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7844 eval "ac_cv_lib_
$ac_lib_var=yes"
7846 echo "configure
: failed program was
:" >&5
7847 cat conftest.$ac_ext >&5
7849 eval "ac_cv_lib_
$ac_lib_var=no
"
7852 LIBS="$ac_save_LIBS"
7855 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7856 echo "$ac_t""yes" 1>&6
7859 echo "$ac_t""no
" 1>&6
7862 ac_save_LIBS="$LIBS"
7863 LIBS="$LIBS $libiconv"
7865 for ac_func in iconv_open iconv_close iconv nl_langinfo
7867 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7868 echo "configure
:7869: checking
for $ac_func" >&5
7869 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7870 echo $ac_n "(cached
) $ac_c" 1>&6
7872 cat > conftest.$ac_ext <<EOF
7873 #line 7874 "configure
"
7874 #include "confdefs.h
"
7875 /* System header to define __stub macros and hopefully few prototypes,
7876 which can conflict with char $ac_func(); below. */
7878 /* Override any gcc2 internal prototype to avoid an error. */
7879 /* We use char because int might match the return type of a gcc2
7880 builtin and then its argument prototype would still apply. */
7885 /* The GNU C library defines this for functions which it implements
7886 to always fail with ENOSYS. Some functions are actually named
7887 something starting with __ and the normal name is an alias. */
7888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7896 if { (eval echo configure:7897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7898 eval "ac_cv_func_
$ac_func=yes"
7900 echo "configure
: failed program was
:" >&5
7901 cat conftest.$ac_ext >&5
7903 eval "ac_cv_func_
$ac_func=no
"
7908 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7909 echo "$ac_t""yes" 1>&6
7910 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7911 cat >> confdefs.h <<EOF
7912 #define $ac_tr_func 1
7917 echo "$ac_t""no
" 1>&6
7923 LIBS="$ac_save_LIBS"
7925 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
7926 echo "configure
:7927: checking
for XPG2 wchar_t support
" >&5
7927 if test x"$ac_has_iconv_h" = xyes &&
7928 test x"$ac_has_langinfo_h" = xyes &&
7929 test x"$ac_XPG2funcs" = xyes; then
7934 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
7936 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
7937 echo "configure
:7938: checking
for enabled wchar_t specializations
" >&5
7938 if test x"$ac_isoC99_wchar_t" = xyes &&
7939 test x"$ac_XPG2_wchar_t" = xyes; then
7940 cat >> confdefs.h <<\EOF
7941 #define _GLIBCPP_USE_WCHAR_T 1
7944 echo "$ac_t"""yes"" 1>&6
7946 echo "$ac_t"""no"" 1>&6
7949 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
7952 os_include_dir="os
/bsd
/freebsd
"
7953 cat >> confdefs.h <<\EOF
7954 #define HAVE_LC_MESSAGES 1
7957 cat >> confdefs.h <<\EOF
7958 #define HAVE_DRAND48 1
7961 cat >> confdefs.h <<\EOF
7962 #define HAVE_GETPAGESIZE 1
7965 cat >> confdefs.h <<\EOF
7966 #define HAVE_SETENV 1
7969 cat >> confdefs.h <<\EOF
7970 #define HAVE_SIGSETJMP 1
7973 cat >> confdefs.h <<\EOF
7974 #define HAVE_COPYSIGN 1
7977 cat >> confdefs.h <<\EOF
7978 #define HAVE_COPYSIGNF 1
7981 cat >> confdefs.h <<\EOF
7982 #define HAVE_FINITEF 1
7985 cat >> confdefs.h <<\EOF
7986 #define HAVE_FINITE 1
7989 cat >> confdefs.h <<\EOF
7990 #define HAVE_FREXPF 1
7993 cat >> confdefs.h <<\EOF
7994 #define HAVE_HYPOT 1
7997 cat >> confdefs.h <<\EOF
7998 #define HAVE_HYPOTF 1
8001 cat >> confdefs.h <<\EOF
8002 #define HAVE_ISINF 1
8005 cat >> confdefs.h <<\EOF
8006 #define HAVE_ISNAN 1
8009 cat >> confdefs.h <<\EOF
8010 #define HAVE_ISNANF 1
8013 if test x"long_double_math_on_this_cpu
" = x"yes"; then
8014 cat >> confdefs.h <<\EOF
8015 #define HAVE_FINITEL 1
8018 cat >> confdefs.h <<\EOF
8019 #define HAVE_ISINFL 1
8022 cat >> confdefs.h <<\EOF
8023 #define HAVE_ISNANL 1
8029 for ac_hdr in sys/types.h locale.h float.h
8031 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8032 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
8033 echo "configure
:8034: checking
for $ac_hdr" >&5
8034 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8035 echo $ac_n "(cached
) $ac_c" 1>&6
8037 cat > conftest.$ac_ext <<EOF
8038 #line 8039 "configure
"
8039 #include "confdefs.h
"
8042 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8043 { (eval echo configure:8044: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8044 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8045 if test -z "$ac_err"; then
8047 eval "ac_cv_header_
$ac_safe=yes"
8050 echo "configure
: failed program was
:" >&5
8051 cat conftest.$ac_ext >&5
8053 eval "ac_cv_header_
$ac_safe=no
"
8057 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8058 echo "$ac_t""yes" 1>&6
8059 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8060 cat >> confdefs.h <<EOF
8061 #define $ac_tr_hdr 1
8065 echo "$ac_t""no
" 1>&6
8070 # If we're not using GNU ld, then there's no point in even trying these
8071 # tests. Check for that first. We should have already tested for gld
8072 # by now (in libtool), but require it now just to be safe...
8073 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8074 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8077 # The name set by libtool depends on the version of libtool. Shame on us
8078 # for depending on an impl detail, but c'est la vie. Older versions used
8079 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8080 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8081 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8082 # set (hence we're using an older libtool), then set it.
8083 if test x${with_gnu_ld+set} != xset; then
8084 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8085 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
8088 with_gnu_ld=$ac_cv_prog_gnu_ld
8092 # Start by getting the version number. I think the libtool test already
8093 # does some of this, but throws away the result.
8095 ldver=`$LD --version 2>/dev/null | head -1 | \
8096 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8098 glibcpp_gnu_ld_version=`echo $ldver | \
8099 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8101 # Set --gc-sections.
8102 if test "$with_gnu_ld" = "notbroken
"; then
8103 # GNU ld it is! Joy and bunny rabbits!
8105 # All these tests are for C++; save the language and the compiler flags.
8106 # Need to do this so that g++ won't try to link in libstdc++
8107 ac_test_CFLAGS="${CFLAGS+set}"
8108 ac_save_CFLAGS="$CFLAGS"
8109 CFLAGS='-x c++ -Wl,--gc-sections'
8111 # Check for -Wl,--gc-sections
8112 # XXX This test is broken at the moment, as symbols required for
8113 # linking are now in libsupc++ (not built yet.....). In addition,
8114 # this test has cored on solaris in the past. In addition,
8115 # --gc-sections doesn't really work at the moment (keeps on discarding
8116 # used sections, first .eh_frame and now some of the glibc sections for
8117 # iconv). Bzzzzt. Thanks for playing, maybe next time.
8118 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
8119 echo "configure
:8120: checking
for ld that supports
-Wl,--gc-sections" >&5
8120 if test "$cross_compiling" = yes; then
8121 ac_sectionLDflags=yes
8123 cat > conftest.$ac_ext <<EOF
8124 #line 8125 "configure
"
8125 #include "confdefs.h
"
8135 if { (eval echo configure:8136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8137 ac_sectionLDflags=yes
8139 echo "configure
: failed program was
:" >&5
8140 cat conftest.$ac_ext >&5
8142 ac_sectionLDflags=no
8147 if test "$ac_test_CFLAGS" = set; then
8148 CFLAGS="$ac_save_CFLAGS"
8150 # this is the suspicious part
8153 if test "$ac_sectionLDflags" = "yes"; then
8154 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8156 echo "$ac_t""$ac_sectionLDflags" 1>&6
8159 # Set linker optimization flags.
8160 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no
"; then
8161 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8168 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
8169 echo "configure
:8170: checking
for main
in -lm" >&5
8170 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
8171 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8172 echo $ac_n "(cached
) $ac_c" 1>&6
8174 ac_save_LIBS="$LIBS"
8176 cat > conftest.$ac_ext <<EOF
8177 #line 8178 "configure
"
8178 #include "confdefs.h
"
8184 if { (eval echo configure:8185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8186 eval "ac_cv_lib_
$ac_lib_var=yes"
8188 echo "configure
: failed program was
:" >&5
8189 cat conftest.$ac_ext >&5
8191 eval "ac_cv_lib_
$ac_lib_var=no
"
8194 LIBS="$ac_save_LIBS"
8197 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8198 echo "$ac_t""yes" 1>&6
8199 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
8200 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
8201 cat >> confdefs.h <<EOF
8202 #define $ac_tr_lib 1
8208 echo "$ac_t""no
" 1>&6
8211 for ac_func in nan copysignf
8213 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8214 echo "configure
:8215: checking
for $ac_func" >&5
8215 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8216 echo $ac_n "(cached
) $ac_c" 1>&6
8218 cat > conftest.$ac_ext <<EOF
8219 #line 8220 "configure
"
8220 #include "confdefs.h
"
8221 /* System header to define __stub macros and hopefully few prototypes,
8222 which can conflict with char $ac_func(); below. */
8224 /* Override any gcc2 internal prototype to avoid an error. */
8225 /* We use char because int might match the return type of a gcc2
8226 builtin and then its argument prototype would still apply. */
8231 /* The GNU C library defines this for functions which it implements
8232 to always fail with ENOSYS. Some functions are actually named
8233 something starting with __ and the normal name is an alias. */
8234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8242 if { (eval echo configure:8243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8244 eval "ac_cv_func_
$ac_func=yes"
8246 echo "configure
: failed program was
:" >&5
8247 cat conftest.$ac_ext >&5
8249 eval "ac_cv_func_
$ac_func=no
"
8254 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8255 echo "$ac_t""yes" 1>&6
8256 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8257 cat >> confdefs.h <<EOF
8258 #define $ac_tr_func 1
8262 echo "$ac_t""no
" 1>&6
8263 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
8268 for ac_func in __signbit
8270 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8271 echo "configure
:8272: checking
for $ac_func" >&5
8272 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8273 echo $ac_n "(cached
) $ac_c" 1>&6
8275 cat > conftest.$ac_ext <<EOF
8276 #line 8277 "configure
"
8277 #include "confdefs.h
"
8278 /* System header to define __stub macros and hopefully few prototypes,
8279 which can conflict with char $ac_func(); below. */
8281 /* Override any gcc2 internal prototype to avoid an error. */
8282 /* We use char because int might match the return type of a gcc2
8283 builtin and then its argument prototype would still apply. */
8288 /* The GNU C library defines this for functions which it implements
8289 to always fail with ENOSYS. Some functions are actually named
8290 something starting with __ and the normal name is an alias. */
8291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8299 if { (eval echo configure:8300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8301 eval "ac_cv_func_
$ac_func=yes"
8303 echo "configure
: failed program was
:" >&5
8304 cat conftest.$ac_ext >&5
8306 eval "ac_cv_func_
$ac_func=no
"
8311 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8312 echo "$ac_t""yes" 1>&6
8313 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8314 cat >> confdefs.h <<EOF
8315 #define $ac_tr_func 1
8319 echo "$ac_t""no
" 1>&6
8320 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
8324 for ac_func in __signbitf
8326 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8327 echo "configure
:8328: checking
for $ac_func" >&5
8328 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8329 echo $ac_n "(cached
) $ac_c" 1>&6
8331 cat > conftest.$ac_ext <<EOF
8332 #line 8333 "configure
"
8333 #include "confdefs.h
"
8334 /* System header to define __stub macros and hopefully few prototypes,
8335 which can conflict with char $ac_func(); below. */
8337 /* Override any gcc2 internal prototype to avoid an error. */
8338 /* We use char because int might match the return type of a gcc2
8339 builtin and then its argument prototype would still apply. */
8344 /* The GNU C library defines this for functions which it implements
8345 to always fail with ENOSYS. Some functions are actually named
8346 something starting with __ and the normal name is an alias. */
8347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8355 if { (eval echo configure:8356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8357 eval "ac_cv_func_
$ac_func=yes"
8359 echo "configure
: failed program was
:" >&5
8360 cat conftest.$ac_ext >&5
8362 eval "ac_cv_func_
$ac_func=no
"
8367 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8368 echo "$ac_t""yes" 1>&6
8369 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8370 cat >> confdefs.h <<EOF
8371 #define $ac_tr_func 1
8375 echo "$ac_t""no
" 1>&6
8376 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
8381 if test x$ac_cv_func_copysignl = x"yes"; then
8382 for ac_func in __signbitl
8384 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8385 echo "configure
:8386: checking
for $ac_func" >&5
8386 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8387 echo $ac_n "(cached
) $ac_c" 1>&6
8389 cat > conftest.$ac_ext <<EOF
8390 #line 8391 "configure
"
8391 #include "confdefs.h
"
8392 /* System header to define __stub macros and hopefully few prototypes,
8393 which can conflict with char $ac_func(); below. */
8395 /* Override any gcc2 internal prototype to avoid an error. */
8396 /* We use char because int might match the return type of a gcc2
8397 builtin and then its argument prototype would still apply. */
8402 /* The GNU C library defines this for functions which it implements
8403 to always fail with ENOSYS. Some functions are actually named
8404 something starting with __ and the normal name is an alias. */
8405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8413 if { (eval echo configure:8414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8415 eval "ac_cv_func_
$ac_func=yes"
8417 echo "configure
: failed program was
:" >&5
8418 cat conftest.$ac_ext >&5
8420 eval "ac_cv_func_
$ac_func=no
"
8425 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8426 echo "$ac_t""yes" 1>&6
8427 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8428 cat >> confdefs.h <<EOF
8429 #define $ac_tr_func 1
8433 echo "$ac_t""no
" 1>&6
8434 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
8444 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
8445 echo "configure
:8446: checking
for mbstate_t
" >&5
8446 cat > conftest.$ac_ext <<EOF
8447 #line 8448 "configure
"
8448 #include "confdefs.h
"
8451 mbstate_t teststate;
8454 if { (eval echo configure:8455: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8458 echo "configure
: failed program was
:" >&5
8459 cat conftest.$ac_ext >&5
8464 echo "$ac_t""$have_mbstate_t" 1>&6
8465 if test x"$have_mbstate_t" = xyes; then
8466 cat >> confdefs.h <<\EOF
8467 #define HAVE_MBSTATE_T 1
8472 for ac_hdr in wchar.h
8474 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8475 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
8476 echo "configure
:8477: checking
for $ac_hdr" >&5
8477 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8478 echo $ac_n "(cached
) $ac_c" 1>&6
8480 cat > conftest.$ac_ext <<EOF
8481 #line 8482 "configure
"
8482 #include "confdefs.h
"
8485 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8486 { (eval echo configure:8487: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8487 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8488 if test -z "$ac_err"; then
8490 eval "ac_cv_header_
$ac_safe=yes"
8493 echo "configure
: failed program was
:" >&5
8494 cat conftest.$ac_ext >&5
8496 eval "ac_cv_header_
$ac_safe=no
"
8500 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8501 echo "$ac_t""yes" 1>&6
8502 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8503 cat >> confdefs.h <<EOF
8504 #define $ac_tr_hdr 1
8508 echo "$ac_t""no
" 1>&6
8513 for ac_hdr in wctype.h
8515 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8516 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
8517 echo "configure
:8518: checking
for $ac_hdr" >&5
8518 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8519 echo $ac_n "(cached
) $ac_c" 1>&6
8521 cat > conftest.$ac_ext <<EOF
8522 #line 8523 "configure
"
8523 #include "confdefs.h
"
8526 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8527 { (eval echo configure:8528: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8528 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8529 if test -z "$ac_err"; then
8531 eval "ac_cv_header_
$ac_safe=yes"
8534 echo "configure
: failed program was
:" >&5
8535 cat conftest.$ac_ext >&5
8537 eval "ac_cv_header_
$ac_safe=no
"
8541 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8542 echo "$ac_t""yes" 1>&6
8543 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8544 cat >> confdefs.h <<EOF
8545 #define $ac_tr_hdr 1
8549 echo "$ac_t""no
" 1>&6
8555 if test x"$ac_has_wchar_h" = xyes &&
8556 test x"$ac_has_wctype_h" = xyes &&
8557 test x"$enable_c_mbchar" != xno; then
8559 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
8560 echo "configure
:8561: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
8561 cat > conftest.$ac_ext <<EOF
8562 #line 8563 "configure
"
8563 #include "confdefs.h
"
8566 int i = WCHAR_MIN; int j = WCHAR_MAX;
8569 if { (eval echo configure:8570: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8571 has_wchar_minmax=yes
8573 echo "configure
: failed program was
:" >&5
8574 cat conftest.$ac_ext >&5
8579 echo "$ac_t""$has_wchar_minmax" 1>&6
8581 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
8582 echo "configure
:8583: checking
for WEOF
" >&5
8583 cat > conftest.$ac_ext <<EOF
8584 #line 8585 "configure
"
8585 #include "confdefs.h
"
8593 if { (eval echo configure:8594: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8597 echo "configure
: failed program was
:" >&5
8598 cat conftest.$ac_ext >&5
8603 echo "$ac_t""$has_weof" 1>&6
8606 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
8608 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8609 echo "configure
:8610: checking
for $ac_func" >&5
8610 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8611 echo $ac_n "(cached
) $ac_c" 1>&6
8613 cat > conftest.$ac_ext <<EOF
8614 #line 8615 "configure
"
8615 #include "confdefs.h
"
8616 /* System header to define __stub macros and hopefully few prototypes,
8617 which can conflict with char $ac_func(); below. */
8619 /* Override any gcc2 internal prototype to avoid an error. */
8620 /* We use char because int might match the return type of a gcc2
8621 builtin and then its argument prototype would still apply. */
8626 /* The GNU C library defines this for functions which it implements
8627 to always fail with ENOSYS. Some functions are actually named
8628 something starting with __ and the normal name is an alias. */
8629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8637 if { (eval echo configure:8638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8639 eval "ac_cv_func_
$ac_func=yes"
8641 echo "configure
: failed program was
:" >&5
8642 cat conftest.$ac_ext >&5
8644 eval "ac_cv_func_
$ac_func=no
"
8649 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8650 echo "$ac_t""yes" 1>&6
8651 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8652 cat >> confdefs.h <<EOF
8653 #define $ac_tr_func 1
8657 echo "$ac_t""no
" 1>&6
8664 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
8665 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
8666 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
8667 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
8668 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
8669 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
8671 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8672 echo "configure
:8673: checking
for $ac_func" >&5
8673 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8674 echo $ac_n "(cached
) $ac_c" 1>&6
8676 cat > conftest.$ac_ext <<EOF
8677 #line 8678 "configure
"
8678 #include "confdefs.h
"
8679 /* System header to define __stub macros and hopefully few prototypes,
8680 which can conflict with char $ac_func(); below. */
8682 /* Override any gcc2 internal prototype to avoid an error. */
8683 /* We use char because int might match the return type of a gcc2
8684 builtin and then its argument prototype would still apply. */
8689 /* The GNU C library defines this for functions which it implements
8690 to always fail with ENOSYS. Some functions are actually named
8691 something starting with __ and the normal name is an alias. */
8692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8700 if { (eval echo configure:8701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8702 eval "ac_cv_func_
$ac_func=yes"
8704 echo "configure
: failed program was
:" >&5
8705 cat conftest.$ac_ext >&5
8707 eval "ac_cv_func_
$ac_func=no
"
8712 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8713 echo "$ac_t""yes" 1>&6
8714 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8715 cat >> confdefs.h <<EOF
8716 #define $ac_tr_func 1
8720 echo "$ac_t""no
" 1>&6
8727 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
8728 echo "configure
:8729: checking
for ISO C99 wchar_t support
" >&5
8729 if test x"$has_weof" = xyes &&
8730 test x"$has_wchar_minmax" = xyes &&
8731 test x"$ac_wfuncs" = xyes; then
8732 ac_isoC99_wchar_t=yes
8734 ac_isoC99_wchar_t=no
8736 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
8738 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
8739 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
8740 echo "configure
:8741: checking
for iconv.h
" >&5
8741 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8742 echo $ac_n "(cached
) $ac_c" 1>&6
8744 cat > conftest.$ac_ext <<EOF
8745 #line 8746 "configure
"
8746 #include "confdefs.h
"
8749 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8750 { (eval echo configure:8751: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8751 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8752 if test -z "$ac_err"; then
8754 eval "ac_cv_header_
$ac_safe=yes"
8757 echo "configure
: failed program was
:" >&5
8758 cat conftest.$ac_ext >&5
8760 eval "ac_cv_header_
$ac_safe=no
"
8764 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8765 echo "$ac_t""yes" 1>&6
8768 echo "$ac_t""no
" 1>&6
8772 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
8773 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
8774 echo "configure
:8775: checking
for langinfo.h
" >&5
8775 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8776 echo $ac_n "(cached
) $ac_c" 1>&6
8778 cat > conftest.$ac_ext <<EOF
8779 #line 8780 "configure
"
8780 #include "confdefs.h
"
8781 #include <langinfo.h>
8783 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8784 { (eval echo configure:8785: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8785 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8786 if test -z "$ac_err"; then
8788 eval "ac_cv_header_
$ac_safe=yes"
8791 echo "configure
: failed program was
:" >&5
8792 cat conftest.$ac_ext >&5
8794 eval "ac_cv_header_
$ac_safe=no
"
8798 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8799 echo "$ac_t""yes" 1>&6
8800 ac_has_langinfo_h=yes
8802 echo "$ac_t""no
" 1>&6
8803 ac_has_langinfo_h=no
8807 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
8808 echo "configure
:8809: checking
for iconv in -liconv" >&5
8809 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
8810 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8811 echo $ac_n "(cached
) $ac_c" 1>&6
8813 ac_save_LIBS="$LIBS"
8814 LIBS="-liconv $LIBS"
8815 cat > conftest.$ac_ext <<EOF
8816 #line 8817 "configure
"
8817 #include "confdefs.h
"
8818 /* Override any gcc2 internal prototype to avoid an error. */
8819 /* We use char because int might match the return type of a gcc2
8820 builtin and then its argument prototype would still apply. */
8827 if { (eval echo configure:8828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8829 eval "ac_cv_lib_
$ac_lib_var=yes"
8831 echo "configure
: failed program was
:" >&5
8832 cat conftest.$ac_ext >&5
8834 eval "ac_cv_lib_
$ac_lib_var=no
"
8837 LIBS="$ac_save_LIBS"
8840 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8841 echo "$ac_t""yes" 1>&6
8844 echo "$ac_t""no
" 1>&6
8847 ac_save_LIBS="$LIBS"
8848 LIBS="$LIBS $libiconv"
8850 for ac_func in iconv_open iconv_close iconv nl_langinfo
8852 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8853 echo "configure
:8854: checking
for $ac_func" >&5
8854 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8855 echo $ac_n "(cached
) $ac_c" 1>&6
8857 cat > conftest.$ac_ext <<EOF
8858 #line 8859 "configure
"
8859 #include "confdefs.h
"
8860 /* System header to define __stub macros and hopefully few prototypes,
8861 which can conflict with char $ac_func(); below. */
8863 /* Override any gcc2 internal prototype to avoid an error. */
8864 /* We use char because int might match the return type of a gcc2
8865 builtin and then its argument prototype would still apply. */
8870 /* The GNU C library defines this for functions which it implements
8871 to always fail with ENOSYS. Some functions are actually named
8872 something starting with __ and the normal name is an alias. */
8873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8881 if { (eval echo configure:8882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8883 eval "ac_cv_func_
$ac_func=yes"
8885 echo "configure
: failed program was
:" >&5
8886 cat conftest.$ac_ext >&5
8888 eval "ac_cv_func_
$ac_func=no
"
8893 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8894 echo "$ac_t""yes" 1>&6
8895 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8896 cat >> confdefs.h <<EOF
8897 #define $ac_tr_func 1
8902 echo "$ac_t""no
" 1>&6
8908 LIBS="$ac_save_LIBS"
8910 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
8911 echo "configure
:8912: checking
for XPG2 wchar_t support
" >&5
8912 if test x"$ac_has_iconv_h" = xyes &&
8913 test x"$ac_has_langinfo_h" = xyes &&
8914 test x"$ac_XPG2funcs" = xyes; then
8919 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
8921 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
8922 echo "configure
:8923: checking
for enabled wchar_t specializations
" >&5
8923 if test x"$ac_isoC99_wchar_t" = xyes &&
8924 test x"$ac_XPG2_wchar_t" = xyes; then
8925 cat >> confdefs.h <<\EOF
8926 #define _GLIBCPP_USE_WCHAR_T 1
8929 echo "$ac_t"""yes"" 1>&6
8931 echo "$ac_t"""no"" 1>&6
8934 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
8937 os_include_dir="os
/mingw32
"
8940 os_include_dir="os
/windiss
"
8943 SECTION_FLAGS='-ffunction-sections -fdata-sections'
8946 # If we're not using GNU ld, then there's no point in even trying these
8947 # tests. Check for that first. We should have already tested for gld
8948 # by now (in libtool), but require it now just to be safe...
8949 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8950 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8953 # The name set by libtool depends on the version of libtool. Shame on us
8954 # for depending on an impl detail, but c'est la vie. Older versions used
8955 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8956 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8957 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8958 # set (hence we're using an older libtool), then set it.
8959 if test x${with_gnu_ld+set} != xset; then
8960 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8961 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
8964 with_gnu_ld=$ac_cv_prog_gnu_ld
8968 # Start by getting the version number. I think the libtool test already
8969 # does some of this, but throws away the result.
8971 ldver=`$LD --version 2>/dev/null | head -1 | \
8972 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8974 glibcpp_gnu_ld_version=`echo $ldver | \
8975 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8977 # Set --gc-sections.
8978 if test "$with_gnu_ld" = "notbroken
"; then
8979 # GNU ld it is! Joy and bunny rabbits!
8981 # All these tests are for C++; save the language and the compiler flags.
8982 # Need to do this so that g++ won't try to link in libstdc++
8983 ac_test_CFLAGS="${CFLAGS+set}"
8984 ac_save_CFLAGS="$CFLAGS"
8985 CFLAGS='-x c++ -Wl,--gc-sections'
8987 # Check for -Wl,--gc-sections
8988 # XXX This test is broken at the moment, as symbols required for
8989 # linking are now in libsupc++ (not built yet.....). In addition,
8990 # this test has cored on solaris in the past. In addition,
8991 # --gc-sections doesn't really work at the moment (keeps on discarding
8992 # used sections, first .eh_frame and now some of the glibc sections for
8993 # iconv). Bzzzzt. Thanks for playing, maybe next time.
8994 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
8995 echo "configure
:8996: checking
for ld that supports
-Wl,--gc-sections" >&5
8996 if test "$cross_compiling" = yes; then
8997 ac_sectionLDflags=yes
8999 cat > conftest.$ac_ext <<EOF
9000 #line 9001 "configure
"
9001 #include "confdefs.h
"
9011 if { (eval echo configure:9012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9013 ac_sectionLDflags=yes
9015 echo "configure
: failed program was
:" >&5
9016 cat conftest.$ac_ext >&5
9018 ac_sectionLDflags=no
9023 if test "$ac_test_CFLAGS" = set; then
9024 CFLAGS="$ac_save_CFLAGS"
9026 # this is the suspicious part
9029 if test "$ac_sectionLDflags" = "yes"; then
9030 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
9032 echo "$ac_t""$ac_sectionLDflags" 1>&6
9035 # Set linker optimization flags.
9036 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no
"; then
9037 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
9044 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
9045 echo "configure
:9046: checking
for main
in -lm" >&5
9046 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
9047 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9048 echo $ac_n "(cached
) $ac_c" 1>&6
9050 ac_save_LIBS="$LIBS"
9052 cat > conftest.$ac_ext <<EOF
9053 #line 9054 "configure
"
9054 #include "confdefs.h
"
9060 if { (eval echo configure:9061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9062 eval "ac_cv_lib_
$ac_lib_var=yes"
9064 echo "configure
: failed program was
:" >&5
9065 cat conftest.$ac_ext >&5
9067 eval "ac_cv_lib_
$ac_lib_var=no
"
9070 LIBS="$ac_save_LIBS"
9073 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9074 echo "$ac_t""yes" 1>&6
9075 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
9076 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
9077 cat >> confdefs.h <<EOF
9078 #define $ac_tr_lib 1
9084 echo "$ac_t""no
" 1>&6
9087 for ac_func in nan copysignf
9089 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9090 echo "configure
:9091: checking
for $ac_func" >&5
9091 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9092 echo $ac_n "(cached
) $ac_c" 1>&6
9094 cat > conftest.$ac_ext <<EOF
9095 #line 9096 "configure
"
9096 #include "confdefs.h
"
9097 /* System header to define __stub macros and hopefully few prototypes,
9098 which can conflict with char $ac_func(); below. */
9100 /* Override any gcc2 internal prototype to avoid an error. */
9101 /* We use char because int might match the return type of a gcc2
9102 builtin and then its argument prototype would still apply. */
9107 /* The GNU C library defines this for functions which it implements
9108 to always fail with ENOSYS. Some functions are actually named
9109 something starting with __ and the normal name is an alias. */
9110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9118 if { (eval echo configure:9119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9120 eval "ac_cv_func_
$ac_func=yes"
9122 echo "configure
: failed program was
:" >&5
9123 cat conftest.$ac_ext >&5
9125 eval "ac_cv_func_
$ac_func=no
"
9130 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9131 echo "$ac_t""yes" 1>&6
9132 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9133 cat >> confdefs.h <<EOF
9134 #define $ac_tr_func 1
9138 echo "$ac_t""no
" 1>&6
9139 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
9144 for ac_func in __signbit
9146 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9147 echo "configure
:9148: checking
for $ac_func" >&5
9148 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9149 echo $ac_n "(cached
) $ac_c" 1>&6
9151 cat > conftest.$ac_ext <<EOF
9152 #line 9153 "configure
"
9153 #include "confdefs.h
"
9154 /* System header to define __stub macros and hopefully few prototypes,
9155 which can conflict with char $ac_func(); below. */
9157 /* Override any gcc2 internal prototype to avoid an error. */
9158 /* We use char because int might match the return type of a gcc2
9159 builtin and then its argument prototype would still apply. */
9164 /* The GNU C library defines this for functions which it implements
9165 to always fail with ENOSYS. Some functions are actually named
9166 something starting with __ and the normal name is an alias. */
9167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9175 if { (eval echo configure:9176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9177 eval "ac_cv_func_
$ac_func=yes"
9179 echo "configure
: failed program was
:" >&5
9180 cat conftest.$ac_ext >&5
9182 eval "ac_cv_func_
$ac_func=no
"
9187 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9188 echo "$ac_t""yes" 1>&6
9189 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9190 cat >> confdefs.h <<EOF
9191 #define $ac_tr_func 1
9195 echo "$ac_t""no
" 1>&6
9196 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
9200 for ac_func in __signbitf
9202 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9203 echo "configure
:9204: checking
for $ac_func" >&5
9204 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9205 echo $ac_n "(cached
) $ac_c" 1>&6
9207 cat > conftest.$ac_ext <<EOF
9208 #line 9209 "configure
"
9209 #include "confdefs.h
"
9210 /* System header to define __stub macros and hopefully few prototypes,
9211 which can conflict with char $ac_func(); below. */
9213 /* Override any gcc2 internal prototype to avoid an error. */
9214 /* We use char because int might match the return type of a gcc2
9215 builtin and then its argument prototype would still apply. */
9220 /* The GNU C library defines this for functions which it implements
9221 to always fail with ENOSYS. Some functions are actually named
9222 something starting with __ and the normal name is an alias. */
9223 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9231 if { (eval echo configure:9232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9233 eval "ac_cv_func_
$ac_func=yes"
9235 echo "configure
: failed program was
:" >&5
9236 cat conftest.$ac_ext >&5
9238 eval "ac_cv_func_
$ac_func=no
"
9243 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9244 echo "$ac_t""yes" 1>&6
9245 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9246 cat >> confdefs.h <<EOF
9247 #define $ac_tr_func 1
9251 echo "$ac_t""no
" 1>&6
9252 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
9257 if test x$ac_cv_func_copysignl = x"yes"; then
9258 for ac_func in __signbitl
9260 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9261 echo "configure
:9262: checking
for $ac_func" >&5
9262 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9263 echo $ac_n "(cached
) $ac_c" 1>&6
9265 cat > conftest.$ac_ext <<EOF
9266 #line 9267 "configure
"
9267 #include "confdefs.h
"
9268 /* System header to define __stub macros and hopefully few prototypes,
9269 which can conflict with char $ac_func(); below. */
9271 /* Override any gcc2 internal prototype to avoid an error. */
9272 /* We use char because int might match the return type of a gcc2
9273 builtin and then its argument prototype would still apply. */
9278 /* The GNU C library defines this for functions which it implements
9279 to always fail with ENOSYS. Some functions are actually named
9280 something starting with __ and the normal name is an alias. */
9281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9289 if { (eval echo configure:9290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9291 eval "ac_cv_func_
$ac_func=yes"
9293 echo "configure
: failed program was
:" >&5
9294 cat conftest.$ac_ext >&5
9296 eval "ac_cv_func_
$ac_func=no
"
9301 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9302 echo "$ac_t""yes" 1>&6
9303 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9304 cat >> confdefs.h <<EOF
9305 #define $ac_tr_func 1
9309 echo "$ac_t""no
" 1>&6
9310 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
9320 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
9321 echo "configure
:9322: checking
for mbstate_t
" >&5
9322 cat > conftest.$ac_ext <<EOF
9323 #line 9324 "configure
"
9324 #include "confdefs.h
"
9327 mbstate_t teststate;
9330 if { (eval echo configure:9331: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9334 echo "configure
: failed program was
:" >&5
9335 cat conftest.$ac_ext >&5
9340 echo "$ac_t""$have_mbstate_t" 1>&6
9341 if test x"$have_mbstate_t" = xyes; then
9342 cat >> confdefs.h <<\EOF
9343 #define HAVE_MBSTATE_T 1
9348 for ac_hdr in wchar.h
9350 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9351 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
9352 echo "configure
:9353: checking
for $ac_hdr" >&5
9353 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9354 echo $ac_n "(cached
) $ac_c" 1>&6
9356 cat > conftest.$ac_ext <<EOF
9357 #line 9358 "configure
"
9358 #include "confdefs.h
"
9361 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
9362 { (eval echo configure:9363: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9363 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
9364 if test -z "$ac_err"; then
9366 eval "ac_cv_header_
$ac_safe=yes"
9369 echo "configure
: failed program was
:" >&5
9370 cat conftest.$ac_ext >&5
9372 eval "ac_cv_header_
$ac_safe=no
"
9376 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9377 echo "$ac_t""yes" 1>&6
9378 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9379 cat >> confdefs.h <<EOF
9380 #define $ac_tr_hdr 1
9384 echo "$ac_t""no
" 1>&6
9389 for ac_hdr in wctype.h
9391 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9392 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
9393 echo "configure
:9394: checking
for $ac_hdr" >&5
9394 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9395 echo $ac_n "(cached
) $ac_c" 1>&6
9397 cat > conftest.$ac_ext <<EOF
9398 #line 9399 "configure
"
9399 #include "confdefs.h
"
9402 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
9403 { (eval echo configure:9404: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9404 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
9405 if test -z "$ac_err"; then
9407 eval "ac_cv_header_
$ac_safe=yes"
9410 echo "configure
: failed program was
:" >&5
9411 cat conftest.$ac_ext >&5
9413 eval "ac_cv_header_
$ac_safe=no
"
9417 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9418 echo "$ac_t""yes" 1>&6
9419 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9420 cat >> confdefs.h <<EOF
9421 #define $ac_tr_hdr 1
9425 echo "$ac_t""no
" 1>&6
9431 if test x"$ac_has_wchar_h" = xyes &&
9432 test x"$ac_has_wctype_h" = xyes &&
9433 test x"$enable_c_mbchar" != xno; then
9435 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
9436 echo "configure
:9437: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
9437 cat > conftest.$ac_ext <<EOF
9438 #line 9439 "configure
"
9439 #include "confdefs.h
"
9442 int i = WCHAR_MIN; int j = WCHAR_MAX;
9445 if { (eval echo configure:9446: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9447 has_wchar_minmax=yes
9449 echo "configure
: failed program was
:" >&5
9450 cat conftest.$ac_ext >&5
9455 echo "$ac_t""$has_wchar_minmax" 1>&6
9457 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
9458 echo "configure
:9459: checking
for WEOF
" >&5
9459 cat > conftest.$ac_ext <<EOF
9460 #line 9461 "configure
"
9461 #include "confdefs.h
"
9469 if { (eval echo configure:9470: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9473 echo "configure
: failed program was
:" >&5
9474 cat conftest.$ac_ext >&5
9479 echo "$ac_t""$has_weof" 1>&6
9482 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
9484 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9485 echo "configure
:9486: checking
for $ac_func" >&5
9486 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9487 echo $ac_n "(cached
) $ac_c" 1>&6
9489 cat > conftest.$ac_ext <<EOF
9490 #line 9491 "configure
"
9491 #include "confdefs.h
"
9492 /* System header to define __stub macros and hopefully few prototypes,
9493 which can conflict with char $ac_func(); below. */
9495 /* Override any gcc2 internal prototype to avoid an error. */
9496 /* We use char because int might match the return type of a gcc2
9497 builtin and then its argument prototype would still apply. */
9502 /* The GNU C library defines this for functions which it implements
9503 to always fail with ENOSYS. Some functions are actually named
9504 something starting with __ and the normal name is an alias. */
9505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9513 if { (eval echo configure:9514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9515 eval "ac_cv_func_
$ac_func=yes"
9517 echo "configure
: failed program was
:" >&5
9518 cat conftest.$ac_ext >&5
9520 eval "ac_cv_func_
$ac_func=no
"
9525 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9526 echo "$ac_t""yes" 1>&6
9527 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9528 cat >> confdefs.h <<EOF
9529 #define $ac_tr_func 1
9533 echo "$ac_t""no
" 1>&6
9540 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
9541 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
9542 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
9543 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
9544 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
9545 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
9547 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9548 echo "configure
:9549: checking
for $ac_func" >&5
9549 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9550 echo $ac_n "(cached
) $ac_c" 1>&6
9552 cat > conftest.$ac_ext <<EOF
9553 #line 9554 "configure
"
9554 #include "confdefs.h
"
9555 /* System header to define __stub macros and hopefully few prototypes,
9556 which can conflict with char $ac_func(); below. */
9558 /* Override any gcc2 internal prototype to avoid an error. */
9559 /* We use char because int might match the return type of a gcc2
9560 builtin and then its argument prototype would still apply. */
9565 /* The GNU C library defines this for functions which it implements
9566 to always fail with ENOSYS. Some functions are actually named
9567 something starting with __ and the normal name is an alias. */
9568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9576 if { (eval echo configure:9577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9578 eval "ac_cv_func_
$ac_func=yes"
9580 echo "configure
: failed program was
:" >&5
9581 cat conftest.$ac_ext >&5
9583 eval "ac_cv_func_
$ac_func=no
"
9588 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9589 echo "$ac_t""yes" 1>&6
9590 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9591 cat >> confdefs.h <<EOF
9592 #define $ac_tr_func 1
9596 echo "$ac_t""no
" 1>&6
9603 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
9604 echo "configure
:9605: checking
for ISO C99 wchar_t support
" >&5
9605 if test x"$has_weof" = xyes &&
9606 test x"$has_wchar_minmax" = xyes &&
9607 test x"$ac_wfuncs" = xyes; then
9608 ac_isoC99_wchar_t=yes
9610 ac_isoC99_wchar_t=no
9612 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
9614 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
9615 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
9616 echo "configure
:9617: checking
for iconv.h
" >&5
9617 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9618 echo $ac_n "(cached
) $ac_c" 1>&6
9620 cat > conftest.$ac_ext <<EOF
9621 #line 9622 "configure
"
9622 #include "confdefs.h
"
9625 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
9626 { (eval echo configure:9627: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9627 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
9628 if test -z "$ac_err"; then
9630 eval "ac_cv_header_
$ac_safe=yes"
9633 echo "configure
: failed program was
:" >&5
9634 cat conftest.$ac_ext >&5
9636 eval "ac_cv_header_
$ac_safe=no
"
9640 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9641 echo "$ac_t""yes" 1>&6
9644 echo "$ac_t""no
" 1>&6
9648 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
9649 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
9650 echo "configure
:9651: checking
for langinfo.h
" >&5
9651 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9652 echo $ac_n "(cached
) $ac_c" 1>&6
9654 cat > conftest.$ac_ext <<EOF
9655 #line 9656 "configure
"
9656 #include "confdefs.h
"
9657 #include <langinfo.h>
9659 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
9660 { (eval echo configure:9661: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9661 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
9662 if test -z "$ac_err"; then
9664 eval "ac_cv_header_
$ac_safe=yes"
9667 echo "configure
: failed program was
:" >&5
9668 cat conftest.$ac_ext >&5
9670 eval "ac_cv_header_
$ac_safe=no
"
9674 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9675 echo "$ac_t""yes" 1>&6
9676 ac_has_langinfo_h=yes
9678 echo "$ac_t""no
" 1>&6
9679 ac_has_langinfo_h=no
9683 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
9684 echo "configure
:9685: checking
for iconv in -liconv" >&5
9685 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
9686 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9687 echo $ac_n "(cached
) $ac_c" 1>&6
9689 ac_save_LIBS="$LIBS"
9690 LIBS="-liconv $LIBS"
9691 cat > conftest.$ac_ext <<EOF
9692 #line 9693 "configure
"
9693 #include "confdefs.h
"
9694 /* Override any gcc2 internal prototype to avoid an error. */
9695 /* We use char because int might match the return type of a gcc2
9696 builtin and then its argument prototype would still apply. */
9703 if { (eval echo configure:9704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9705 eval "ac_cv_lib_
$ac_lib_var=yes"
9707 echo "configure
: failed program was
:" >&5
9708 cat conftest.$ac_ext >&5
9710 eval "ac_cv_lib_
$ac_lib_var=no
"
9713 LIBS="$ac_save_LIBS"
9716 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9717 echo "$ac_t""yes" 1>&6
9720 echo "$ac_t""no
" 1>&6
9723 ac_save_LIBS="$LIBS"
9724 LIBS="$LIBS $libiconv"
9726 for ac_func in iconv_open iconv_close iconv nl_langinfo
9728 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9729 echo "configure
:9730: checking
for $ac_func" >&5
9730 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9731 echo $ac_n "(cached
) $ac_c" 1>&6
9733 cat > conftest.$ac_ext <<EOF
9734 #line 9735 "configure
"
9735 #include "confdefs.h
"
9736 /* System header to define __stub macros and hopefully few prototypes,
9737 which can conflict with char $ac_func(); below. */
9739 /* Override any gcc2 internal prototype to avoid an error. */
9740 /* We use char because int might match the return type of a gcc2
9741 builtin and then its argument prototype would still apply. */
9746 /* The GNU C library defines this for functions which it implements
9747 to always fail with ENOSYS. Some functions are actually named
9748 something starting with __ and the normal name is an alias. */
9749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9757 if { (eval echo configure:9758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9759 eval "ac_cv_func_
$ac_func=yes"
9761 echo "configure
: failed program was
:" >&5
9762 cat conftest.$ac_ext >&5
9764 eval "ac_cv_func_
$ac_func=no
"
9769 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9770 echo "$ac_t""yes" 1>&6
9771 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9772 cat >> confdefs.h <<EOF
9773 #define $ac_tr_func 1
9778 echo "$ac_t""no
" 1>&6
9784 LIBS="$ac_save_LIBS"
9786 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
9787 echo "configure
:9788: checking
for XPG2 wchar_t support
" >&5
9788 if test x"$ac_has_iconv_h" = xyes &&
9789 test x"$ac_has_langinfo_h" = xyes &&
9790 test x"$ac_XPG2funcs" = xyes; then
9795 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
9797 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
9798 echo "configure
:9799: checking
for enabled wchar_t specializations
" >&5
9799 if test x"$ac_isoC99_wchar_t" = xyes &&
9800 test x"$ac_XPG2_wchar_t" = xyes; then
9801 cat >> confdefs.h <<\EOF
9802 #define _GLIBCPP_USE_WCHAR_T 1
9805 echo "$ac_t"""yes"" 1>&6
9807 echo "$ac_t"""no"" 1>&6
9810 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
9813 os_include_dir="os
/qnx
/qnx6.1
"
9814 cat >> confdefs.h <<\EOF
9818 cat >> confdefs.h <<\EOF
9822 cat >> confdefs.h <<\EOF
9823 #define HAVE_COSHF 1
9826 cat >> confdefs.h <<\EOF
9827 #define HAVE_COSHL 1
9830 cat >> confdefs.h <<\EOF
9834 cat >> confdefs.h <<\EOF
9838 cat >> confdefs.h <<\EOF
9839 #define HAVE_LOG10F 1
9842 cat >> confdefs.h <<\EOF
9843 #define HAVE_LOG10L 1
9846 cat >> confdefs.h <<\EOF
9850 cat >> confdefs.h <<\EOF
9854 cat >> confdefs.h <<\EOF
9855 #define HAVE_SINHF 1
9858 cat >> confdefs.h <<\EOF
9859 #define HAVE_SINHL 1
9864 os_include_dir="os
/newlib
"
9865 cat >> confdefs.h <<\EOF
9866 #define HAVE_HYPOT 1
9876 cat >> confdefs.h <<\EOF
9877 #define HAVE_ACOSF 1
9880 cat >> confdefs.h <<\EOF
9881 #define HAVE_ASINF 1
9884 cat >> confdefs.h <<\EOF
9885 #define HAVE_ATAN2F 1
9888 cat >> confdefs.h <<\EOF
9889 #define HAVE_ATANF 1
9892 cat >> confdefs.h <<\EOF
9893 #define HAVE_CEILF 1
9896 cat >> confdefs.h <<\EOF
9897 #define HAVE_COPYSIGN 1
9900 cat >> confdefs.h <<\EOF
9901 #define HAVE_COPYSIGNF 1
9904 cat >> confdefs.h <<\EOF
9908 cat >> confdefs.h <<\EOF
9909 #define HAVE_COSHF 1
9912 cat >> confdefs.h <<\EOF
9916 cat >> confdefs.h <<\EOF
9917 #define HAVE_FABSF 1
9920 cat >> confdefs.h <<\EOF
9921 #define HAVE_FLOORF 1
9924 cat >> confdefs.h <<\EOF
9925 #define HAVE_FMODF 1
9928 cat >> confdefs.h <<\EOF
9929 #define HAVE_FREXPF 1
9932 cat >> confdefs.h <<\EOF
9933 #define HAVE_LDEXPF 1
9936 cat >> confdefs.h <<\EOF
9937 #define HAVE_LOG10F 1
9940 cat >> confdefs.h <<\EOF
9944 cat >> confdefs.h <<\EOF
9945 #define HAVE_MODFF 1
9948 cat >> confdefs.h <<\EOF
9952 cat >> confdefs.h <<\EOF
9956 cat >> confdefs.h <<\EOF
9957 #define HAVE_SINHF 1
9960 cat >> confdefs.h <<\EOF
9961 #define HAVE_SQRTF 1
9964 cat >> confdefs.h <<\EOF
9968 cat >> confdefs.h <<\EOF
9969 #define HAVE_TANHF 1
9974 # Must replicate generic section since we don't have strtof or strtold.
9975 cat >> confdefs.h <<\EOF
9979 cat >> confdefs.h <<\EOF
9980 #define HAVE_ACOSF 1
9983 cat >> confdefs.h <<\EOF
9984 #define HAVE_ASINF 1
9987 cat >> confdefs.h <<\EOF
9988 #define HAVE_ATAN2F 1
9991 cat >> confdefs.h <<\EOF
9992 #define HAVE_ATANF 1
9995 cat >> confdefs.h <<\EOF
9996 #define HAVE_CEILF 1
9999 cat >> confdefs.h <<\EOF
10000 #define HAVE_COPYSIGN 1
10003 cat >> confdefs.h <<\EOF
10004 #define HAVE_COPYSIGNF 1
10007 cat >> confdefs.h <<\EOF
10008 #define HAVE_COSF 1
10011 cat >> confdefs.h <<\EOF
10012 #define HAVE_COSHF 1
10015 cat >> confdefs.h <<\EOF
10016 #define HAVE_EXPF 1
10019 cat >> confdefs.h <<\EOF
10020 #define HAVE_FABSF 1
10023 cat >> confdefs.h <<\EOF
10024 #define HAVE_FLOORF 1
10027 cat >> confdefs.h <<\EOF
10028 #define HAVE_FMODF 1
10031 cat >> confdefs.h <<\EOF
10032 #define HAVE_FREXPF 1
10035 cat >> confdefs.h <<\EOF
10036 #define HAVE_LDEXPF 1
10039 cat >> confdefs.h <<\EOF
10040 #define HAVE_LOG10F 1
10043 cat >> confdefs.h <<\EOF
10044 #define HAVE_LOGF 1
10047 cat >> confdefs.h <<\EOF
10048 #define HAVE_MODFF 1
10051 cat >> confdefs.h <<\EOF
10052 #define HAVE_POWF 1
10055 cat >> confdefs.h <<\EOF
10056 #define HAVE_SINF 1
10059 cat >> confdefs.h <<\EOF
10060 #define HAVE_SINHF 1
10063 cat >> confdefs.h <<\EOF
10064 #define HAVE_SQRTF 1
10067 cat >> confdefs.h <<\EOF
10068 #define HAVE_TANF 1
10071 cat >> confdefs.h <<\EOF
10072 #define HAVE_TANHF 1
10077 # GLIBCPP_CHECK_STDLIB_SUPPORT
10078 cat >> confdefs.h <<\EOF
10079 #define HAVE_STRTOF 1
10082 cat >> confdefs.h <<\EOF
10083 #define HAVE_STRTOLD 1
10087 cat >> confdefs.h <<\EOF
10088 #define HAVE_MMAP 1
10092 cat >> confdefs.h <<\EOF
10093 #define HAVE_ACOSF 1
10096 cat >> confdefs.h <<\EOF
10097 #define HAVE_ASINF 1
10100 cat >> confdefs.h <<\EOF
10101 #define HAVE_ATAN2F 1
10104 cat >> confdefs.h <<\EOF
10105 #define HAVE_ATANF 1
10108 cat >> confdefs.h <<\EOF
10109 #define HAVE_CEILF 1
10112 cat >> confdefs.h <<\EOF
10113 #define HAVE_COPYSIGN 1
10116 cat >> confdefs.h <<\EOF
10117 #define HAVE_COPYSIGNF 1
10120 cat >> confdefs.h <<\EOF
10121 #define HAVE_COSF 1
10124 cat >> confdefs.h <<\EOF
10125 #define HAVE_COSHF 1
10128 cat >> confdefs.h <<\EOF
10129 #define HAVE_EXPF 1
10132 cat >> confdefs.h <<\EOF
10133 #define HAVE_FABSF 1
10136 cat >> confdefs.h <<\EOF
10137 #define HAVE_FLOORF 1
10140 cat >> confdefs.h <<\EOF
10141 #define HAVE_FMODF 1
10144 cat >> confdefs.h <<\EOF
10145 #define HAVE_FREXPF 1
10148 cat >> confdefs.h <<\EOF
10149 #define HAVE_LDEXPF 1
10152 cat >> confdefs.h <<\EOF
10153 #define HAVE_LOG10F 1
10156 cat >> confdefs.h <<\EOF
10157 #define HAVE_LOGF 1
10160 cat >> confdefs.h <<\EOF
10161 #define HAVE_MODFF 1
10164 cat >> confdefs.h <<\EOF
10165 #define HAVE_POWF 1
10168 cat >> confdefs.h <<\EOF
10169 #define HAVE_SINF 1
10172 cat >> confdefs.h <<\EOF
10173 #define HAVE_SINHF 1
10176 cat >> confdefs.h <<\EOF
10177 #define HAVE_SQRTF 1
10180 cat >> confdefs.h <<\EOF
10181 #define HAVE_TANF 1
10184 cat >> confdefs.h <<\EOF
10185 #define HAVE_TANHF 1
10191 # At some point, we should differentiate between architectures
10192 # like x86, which have long double versions, and alpha/powerpc/etc.,
10193 # which don't. For the time being, punt.
10194 if test x"long_double_math_on_this_cpu
" = x"yes"; then
10195 cat >> confdefs.h <<\EOF
10196 #define HAVE_ACOSL 1
10199 cat >> confdefs.h <<\EOF
10200 #define HAVE_ASINL 1
10203 cat >> confdefs.h <<\EOF
10204 #define HAVE_ATAN2L 1
10207 cat >> confdefs.h <<\EOF
10208 #define HAVE_ATANL 1
10211 cat >> confdefs.h <<\EOF
10212 #define HAVE_CEILL 1
10215 cat >> confdefs.h <<\EOF
10216 #define HAVE_COPYSIGNL 1
10219 cat >> confdefs.h <<\EOF
10220 #define HAVE_COSL 1
10223 cat >> confdefs.h <<\EOF
10224 #define HAVE_COSHL 1
10227 cat >> confdefs.h <<\EOF
10228 #define HAVE_EXPL 1
10231 cat >> confdefs.h <<\EOF
10232 #define HAVE_FABSL 1
10235 cat >> confdefs.h <<\EOF
10236 #define HAVE_FLOORL 1
10239 cat >> confdefs.h <<\EOF
10240 #define HAVE_FMODL 1
10243 cat >> confdefs.h <<\EOF
10244 #define HAVE_FREXPL 1
10247 cat >> confdefs.h <<\EOF
10248 #define HAVE_LDEXPL 1
10251 cat >> confdefs.h <<\EOF
10252 #define HAVE_LOG10L 1
10255 cat >> confdefs.h <<\EOF
10256 #define HAVE_LOGL 1
10259 cat >> confdefs.h <<\EOF
10260 #define HAVE_MODFL 1
10263 cat >> confdefs.h <<\EOF
10264 #define HAVE_POWL 1
10267 cat >> confdefs.h <<\EOF
10268 #define HAVE_SINCOSL 1
10271 cat >> confdefs.h <<\EOF
10272 #define HAVE_SINL 1
10275 cat >> confdefs.h <<\EOF
10276 #define HAVE_SINHL 1
10279 cat >> confdefs.h <<\EOF
10280 #define HAVE_SQRTL 1
10283 cat >> confdefs.h <<\EOF
10284 #define HAVE_TANL 1
10287 cat >> confdefs.h <<\EOF
10288 #define HAVE_TANHL 1
10295 # We are being configured natively. We can do more elaborate tests
10296 # that include AC_TRY_COMPILE now, as the linker is assumed to be
10298 GLIBCPP_IS_CROSS_COMPILING=0
10301 # Check for available headers.
10302 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
10303 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h sys/types.h
10305 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10306 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
10307 echo "configure
:10308: checking
for $ac_hdr" >&5
10308 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10309 echo $ac_n "(cached
) $ac_c" 1>&6
10311 cat > conftest.$ac_ext <<EOF
10312 #line 10313 "configure
"
10313 #include "confdefs.h
"
10316 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
10317 { (eval echo configure:10318: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10318 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
10319 if test -z "$ac_err"; then
10321 eval "ac_cv_header_
$ac_safe=yes"
10324 echo "configure
: failed program was
:" >&5
10325 cat conftest.$ac_ext >&5
10327 eval "ac_cv_header_
$ac_safe=no
"
10331 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10332 echo "$ac_t""yes" 1>&6
10333 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10334 cat >> confdefs.h <<EOF
10335 #define $ac_tr_hdr 1
10339 echo "$ac_t""no
" 1>&6
10345 # All these tests are for C++; save the language and the compiler flags.
10346 # The CXXFLAGS thing is suspicious, but based on similar bits previously
10347 # found in GLIBCPP_CONFIGURE.
10350 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10351 ac_cpp='$CXXCPP $CPPFLAGS'
10352 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10353 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10354 cross_compiling=$ac_cv_prog_cxx_cross
10356 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10357 ac_save_CXXFLAGS="$CXXFLAGS"
10359 # Check for maintainer-mode bits.
10360 if test x"$USE_MAINTAINER_MODE" = xno; then
10366 # Check for -ffunction-sections -fdata-sections
10367 echo $ac_n "checking
for g
++ that supports
-ffunction-sections -fdata-sections""...
$ac_c" 1>&6
10368 echo "configure
:10369: checking
for g
++ that supports
-ffunction-sections -fdata-sections" >&5
10369 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
10370 cat > conftest.$ac_ext <<EOF
10371 #line 10372 "configure
"
10372 #include "confdefs.h
"
10379 if { (eval echo configure:10380: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10383 echo "configure
: failed program was
:" >&5
10384 cat conftest.$ac_ext >&5
10389 if test "$ac_test_CXXFLAGS" = set; then
10390 CXXFLAGS="$ac_save_CXXFLAGS"
10392 # this is the suspicious part
10395 if test x"$ac_fdsections" = x"yes" &&
10396 test x"$enable_debug" = x"no
"; then
10397 SECTION_FLAGS='-ffunction-sections -fdata-sections'
10399 echo "$ac_t""$ac_fdsections" 1>&6
10402 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10403 ac_cpp='$CPP $CPPFLAGS'
10404 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10405 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10406 cross_compiling=$ac_cv_prog_cc_cross
10412 # If we're not using GNU ld, then there's no point in even trying these
10413 # tests. Check for that first. We should have already tested for gld
10414 # by now (in libtool), but require it now just to be safe...
10415 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
10416 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
10419 # The name set by libtool depends on the version of libtool. Shame on us
10420 # for depending on an impl detail, but c'est la vie. Older versions used
10421 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
10422 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
10423 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
10424 # set (hence we're using an older libtool), then set it.
10425 if test x${with_gnu_ld+set} != xset; then
10426 if test x${ac_cv_prog_gnu_ld+set} != xset; then
10427 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
10430 with_gnu_ld=$ac_cv_prog_gnu_ld
10434 # Start by getting the version number. I think the libtool test already
10435 # does some of this, but throws away the result.
10437 ldver=`$LD --version 2>/dev/null | head -1 | \
10438 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
10440 glibcpp_gnu_ld_version=`echo $ldver | \
10441 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
10443 # Set --gc-sections.
10444 if test "$with_gnu_ld" = "notbroken
"; then
10445 # GNU ld it is! Joy and bunny rabbits!
10447 # All these tests are for C++; save the language and the compiler flags.
10448 # Need to do this so that g++ won't try to link in libstdc++
10449 ac_test_CFLAGS="${CFLAGS+set}"
10450 ac_save_CFLAGS="$CFLAGS"
10451 CFLAGS='-x c++ -Wl,--gc-sections'
10453 # Check for -Wl,--gc-sections
10454 # XXX This test is broken at the moment, as symbols required for
10455 # linking are now in libsupc++ (not built yet.....). In addition,
10456 # this test has cored on solaris in the past. In addition,
10457 # --gc-sections doesn't really work at the moment (keeps on discarding
10458 # used sections, first .eh_frame and now some of the glibc sections for
10459 # iconv). Bzzzzt. Thanks for playing, maybe next time.
10460 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
10461 echo "configure
:10462: checking
for ld that supports
-Wl,--gc-sections" >&5
10462 if test "$cross_compiling" = yes; then
10463 ac_sectionLDflags=yes
10465 cat > conftest.$ac_ext <<EOF
10466 #line 10467 "configure
"
10467 #include "confdefs.h
"
10477 if { (eval echo configure:10478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10479 ac_sectionLDflags=yes
10481 echo "configure
: failed program was
:" >&5
10482 cat conftest.$ac_ext >&5
10484 ac_sectionLDflags=no
10489 if test "$ac_test_CFLAGS" = set; then
10490 CFLAGS="$ac_save_CFLAGS"
10492 # this is the suspicious part
10495 if test "$ac_sectionLDflags" = "yes"; then
10496 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
10498 echo "$ac_t""$ac_sectionLDflags" 1>&6
10501 # Set linker optimization flags.
10502 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no
"; then
10503 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
10511 echo $ac_n "checking
for __builtin_abs declaration
""...
$ac_c" 1>&6
10512 echo "configure
:10513: checking
for __builtin_abs declaration
" >&5
10513 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
10514 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
10515 echo $ac_n "(cached
) $ac_c" 1>&6
10520 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10521 ac_cpp='$CXXCPP $CPPFLAGS'
10522 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10523 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10524 cross_compiling=$ac_cv_prog_cxx_cross
10526 cat > conftest.$ac_ext <<EOF
10527 #line 10528 "configure
"
10528 #include "confdefs.h
"
10534 if { (eval echo configure:10535: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10536 glibcpp_cv_func___builtin_abs_use=yes
10538 echo "configure
: failed program was
:" >&5
10539 cat conftest.$ac_ext >&5
10541 glibcpp_cv_func___builtin_abs_use=no
10545 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10546 ac_cpp='$CPP $CPPFLAGS'
10547 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10548 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10549 cross_compiling=$ac_cv_prog_cc_cross
10555 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
10556 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
10557 echo $ac_n "checking
for __builtin_abs linkage
""...
$ac_c" 1>&6
10558 echo "configure
:10559: checking
for __builtin_abs linkage
" >&5
10559 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
10560 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
10561 echo $ac_n "(cached
) $ac_c" 1>&6
10564 cat > conftest.$ac_ext <<EOF
10565 #line 10566 "configure
"
10566 #include "confdefs.h
"
10572 if { (eval echo configure:10573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10574 glibcpp_cv_func___builtin_abs_link=yes
10576 echo "configure
: failed program was
:" >&5
10577 cat conftest.$ac_ext >&5
10579 glibcpp_cv_func___builtin_abs_link=no
10586 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
10587 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
10588 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10589 cat >> confdefs.h <<EOF
10590 #define ${ac_tr_func} 1
10597 echo $ac_n "checking
for __builtin_fabsf declaration
""...
$ac_c" 1>&6
10598 echo "configure
:10599: checking
for __builtin_fabsf declaration
" >&5
10599 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
10600 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
10601 echo $ac_n "(cached
) $ac_c" 1>&6
10606 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10607 ac_cpp='$CXXCPP $CPPFLAGS'
10608 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10609 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10610 cross_compiling=$ac_cv_prog_cxx_cross
10612 cat > conftest.$ac_ext <<EOF
10613 #line 10614 "configure
"
10614 #include "confdefs.h
"
10617 __builtin_fabsf(0);
10620 if { (eval echo configure:10621: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10622 glibcpp_cv_func___builtin_fabsf_use=yes
10624 echo "configure
: failed program was
:" >&5
10625 cat conftest.$ac_ext >&5
10627 glibcpp_cv_func___builtin_fabsf_use=no
10631 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10632 ac_cpp='$CPP $CPPFLAGS'
10633 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10634 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10635 cross_compiling=$ac_cv_prog_cc_cross
10641 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
10642 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
10643 echo $ac_n "checking
for __builtin_fabsf linkage
""...
$ac_c" 1>&6
10644 echo "configure
:10645: checking
for __builtin_fabsf linkage
" >&5
10645 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
10646 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
10647 echo $ac_n "(cached
) $ac_c" 1>&6
10650 cat > conftest.$ac_ext <<EOF
10651 #line 10652 "configure
"
10652 #include "confdefs.h
"
10655 __builtin_fabsf(0);
10658 if { (eval echo configure:10659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10660 glibcpp_cv_func___builtin_fabsf_link=yes
10662 echo "configure
: failed program was
:" >&5
10663 cat conftest.$ac_ext >&5
10665 glibcpp_cv_func___builtin_fabsf_link=no
10672 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
10673 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
10674 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10675 cat >> confdefs.h <<EOF
10676 #define ${ac_tr_func} 1
10683 echo $ac_n "checking
for __builtin_fabs declaration
""...
$ac_c" 1>&6
10684 echo "configure
:10685: checking
for __builtin_fabs declaration
" >&5
10685 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
10686 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
10687 echo $ac_n "(cached
) $ac_c" 1>&6
10692 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10693 ac_cpp='$CXXCPP $CPPFLAGS'
10694 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10695 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10696 cross_compiling=$ac_cv_prog_cxx_cross
10698 cat > conftest.$ac_ext <<EOF
10699 #line 10700 "configure
"
10700 #include "confdefs.h
"
10706 if { (eval echo configure:10707: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10708 glibcpp_cv_func___builtin_fabs_use=yes
10710 echo "configure
: failed program was
:" >&5
10711 cat conftest.$ac_ext >&5
10713 glibcpp_cv_func___builtin_fabs_use=no
10717 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10718 ac_cpp='$CPP $CPPFLAGS'
10719 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10720 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10721 cross_compiling=$ac_cv_prog_cc_cross
10727 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
10728 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
10729 echo $ac_n "checking
for __builtin_fabs linkage
""...
$ac_c" 1>&6
10730 echo "configure
:10731: checking
for __builtin_fabs linkage
" >&5
10731 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
10732 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
10733 echo $ac_n "(cached
) $ac_c" 1>&6
10736 cat > conftest.$ac_ext <<EOF
10737 #line 10738 "configure
"
10738 #include "confdefs.h
"
10744 if { (eval echo configure:10745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10746 glibcpp_cv_func___builtin_fabs_link=yes
10748 echo "configure
: failed program was
:" >&5
10749 cat conftest.$ac_ext >&5
10751 glibcpp_cv_func___builtin_fabs_link=no
10758 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
10759 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
10760 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10761 cat >> confdefs.h <<EOF
10762 #define ${ac_tr_func} 1
10769 echo $ac_n "checking
for __builtin_fabsl declaration
""...
$ac_c" 1>&6
10770 echo "configure
:10771: checking
for __builtin_fabsl declaration
" >&5
10771 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
10772 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
10773 echo $ac_n "(cached
) $ac_c" 1>&6
10778 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10779 ac_cpp='$CXXCPP $CPPFLAGS'
10780 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10781 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10782 cross_compiling=$ac_cv_prog_cxx_cross
10784 cat > conftest.$ac_ext <<EOF
10785 #line 10786 "configure
"
10786 #include "confdefs.h
"
10789 __builtin_fabsl(0);
10792 if { (eval echo configure:10793: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10794 glibcpp_cv_func___builtin_fabsl_use=yes
10796 echo "configure
: failed program was
:" >&5
10797 cat conftest.$ac_ext >&5
10799 glibcpp_cv_func___builtin_fabsl_use=no
10803 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10804 ac_cpp='$CPP $CPPFLAGS'
10805 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10806 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10807 cross_compiling=$ac_cv_prog_cc_cross
10813 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
10814 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
10815 echo $ac_n "checking
for __builtin_fabsl linkage
""...
$ac_c" 1>&6
10816 echo "configure
:10817: checking
for __builtin_fabsl linkage
" >&5
10817 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
10818 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
10819 echo $ac_n "(cached
) $ac_c" 1>&6
10822 cat > conftest.$ac_ext <<EOF
10823 #line 10824 "configure
"
10824 #include "confdefs.h
"
10827 __builtin_fabsl(0);
10830 if { (eval echo configure:10831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10832 glibcpp_cv_func___builtin_fabsl_link=yes
10834 echo "configure
: failed program was
:" >&5
10835 cat conftest.$ac_ext >&5
10837 glibcpp_cv_func___builtin_fabsl_link=no
10844 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
10845 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
10846 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10847 cat >> confdefs.h <<EOF
10848 #define ${ac_tr_func} 1
10855 echo $ac_n "checking
for __builtin_labs declaration
""...
$ac_c" 1>&6
10856 echo "configure
:10857: checking
for __builtin_labs declaration
" >&5
10857 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
10858 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
10859 echo $ac_n "(cached
) $ac_c" 1>&6
10864 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10865 ac_cpp='$CXXCPP $CPPFLAGS'
10866 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10867 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10868 cross_compiling=$ac_cv_prog_cxx_cross
10870 cat > conftest.$ac_ext <<EOF
10871 #line 10872 "configure
"
10872 #include "confdefs.h
"
10878 if { (eval echo configure:10879: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10880 glibcpp_cv_func___builtin_labs_use=yes
10882 echo "configure
: failed program was
:" >&5
10883 cat conftest.$ac_ext >&5
10885 glibcpp_cv_func___builtin_labs_use=no
10889 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10890 ac_cpp='$CPP $CPPFLAGS'
10891 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10892 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10893 cross_compiling=$ac_cv_prog_cc_cross
10899 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
10900 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
10901 echo $ac_n "checking
for __builtin_labs linkage
""...
$ac_c" 1>&6
10902 echo "configure
:10903: checking
for __builtin_labs linkage
" >&5
10903 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
10904 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
10905 echo $ac_n "(cached
) $ac_c" 1>&6
10908 cat > conftest.$ac_ext <<EOF
10909 #line 10910 "configure
"
10910 #include "confdefs.h
"
10916 if { (eval echo configure:10917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10918 glibcpp_cv_func___builtin_labs_link=yes
10920 echo "configure
: failed program was
:" >&5
10921 cat conftest.$ac_ext >&5
10923 glibcpp_cv_func___builtin_labs_link=no
10930 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
10931 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
10932 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10933 cat >> confdefs.h <<EOF
10934 #define ${ac_tr_func} 1
10942 echo $ac_n "checking
for __builtin_sqrtf declaration
""...
$ac_c" 1>&6
10943 echo "configure
:10944: checking
for __builtin_sqrtf declaration
" >&5
10944 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
10945 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
10946 echo $ac_n "(cached
) $ac_c" 1>&6
10951 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10952 ac_cpp='$CXXCPP $CPPFLAGS'
10953 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10954 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10955 cross_compiling=$ac_cv_prog_cxx_cross
10957 cat > conftest.$ac_ext <<EOF
10958 #line 10959 "configure
"
10959 #include "confdefs.h
"
10962 __builtin_sqrtf(0);
10965 if { (eval echo configure:10966: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10967 glibcpp_cv_func___builtin_sqrtf_use=yes
10969 echo "configure
: failed program was
:" >&5
10970 cat conftest.$ac_ext >&5
10972 glibcpp_cv_func___builtin_sqrtf_use=no
10976 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10977 ac_cpp='$CPP $CPPFLAGS'
10978 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10979 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10980 cross_compiling=$ac_cv_prog_cc_cross
10986 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
10987 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
10988 echo $ac_n "checking
for __builtin_sqrtf linkage
""...
$ac_c" 1>&6
10989 echo "configure
:10990: checking
for __builtin_sqrtf linkage
" >&5
10990 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
10991 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
10992 echo $ac_n "(cached
) $ac_c" 1>&6
10995 cat > conftest.$ac_ext <<EOF
10996 #line 10997 "configure
"
10997 #include "confdefs.h
"
11000 __builtin_sqrtf(0);
11003 if { (eval echo configure:11004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11005 glibcpp_cv_func___builtin_sqrtf_link=yes
11007 echo "configure
: failed program was
:" >&5
11008 cat conftest.$ac_ext >&5
11010 glibcpp_cv_func___builtin_sqrtf_link=no
11017 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
11018 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
11019 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11020 cat >> confdefs.h <<EOF
11021 #define ${ac_tr_func} 1
11028 echo $ac_n "checking
for __builtin_sqrt declaration
""...
$ac_c" 1>&6
11029 echo "configure
:11030: checking
for __builtin_sqrt declaration
" >&5
11030 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
11031 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
11032 echo $ac_n "(cached
) $ac_c" 1>&6
11037 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11038 ac_cpp='$CXXCPP $CPPFLAGS'
11039 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11040 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11041 cross_compiling=$ac_cv_prog_cxx_cross
11043 cat > conftest.$ac_ext <<EOF
11044 #line 11045 "configure
"
11045 #include "confdefs.h
"
11051 if { (eval echo configure:11052: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11053 glibcpp_cv_func___builtin_sqrt_use=yes
11055 echo "configure
: failed program was
:" >&5
11056 cat conftest.$ac_ext >&5
11058 glibcpp_cv_func___builtin_sqrt_use=no
11062 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11063 ac_cpp='$CPP $CPPFLAGS'
11064 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11065 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11066 cross_compiling=$ac_cv_prog_cc_cross
11072 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
11073 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
11074 echo $ac_n "checking
for __builtin_sqrt linkage
""...
$ac_c" 1>&6
11075 echo "configure
:11076: checking
for __builtin_sqrt linkage
" >&5
11076 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
11077 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
11078 echo $ac_n "(cached
) $ac_c" 1>&6
11081 cat > conftest.$ac_ext <<EOF
11082 #line 11083 "configure
"
11083 #include "confdefs.h
"
11089 if { (eval echo configure:11090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11091 glibcpp_cv_func___builtin_sqrt_link=yes
11093 echo "configure
: failed program was
:" >&5
11094 cat conftest.$ac_ext >&5
11096 glibcpp_cv_func___builtin_sqrt_link=no
11103 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
11104 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
11105 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11106 cat >> confdefs.h <<EOF
11107 #define ${ac_tr_func} 1
11114 echo $ac_n "checking
for __builtin_sqrtl declaration
""...
$ac_c" 1>&6
11115 echo "configure
:11116: checking
for __builtin_sqrtl declaration
" >&5
11116 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
11117 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
11118 echo $ac_n "(cached
) $ac_c" 1>&6
11123 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11124 ac_cpp='$CXXCPP $CPPFLAGS'
11125 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11126 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11127 cross_compiling=$ac_cv_prog_cxx_cross
11129 cat > conftest.$ac_ext <<EOF
11130 #line 11131 "configure
"
11131 #include "confdefs.h
"
11134 __builtin_sqrtl(0);
11137 if { (eval echo configure:11138: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11139 glibcpp_cv_func___builtin_sqrtl_use=yes
11141 echo "configure
: failed program was
:" >&5
11142 cat conftest.$ac_ext >&5
11144 glibcpp_cv_func___builtin_sqrtl_use=no
11148 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11149 ac_cpp='$CPP $CPPFLAGS'
11150 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11151 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11152 cross_compiling=$ac_cv_prog_cc_cross
11158 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
11159 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
11160 echo $ac_n "checking
for __builtin_sqrtl linkage
""...
$ac_c" 1>&6
11161 echo "configure
:11162: checking
for __builtin_sqrtl linkage
" >&5
11162 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
11163 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
11164 echo $ac_n "(cached
) $ac_c" 1>&6
11167 cat > conftest.$ac_ext <<EOF
11168 #line 11169 "configure
"
11169 #include "confdefs.h
"
11172 __builtin_sqrtl(0);
11175 if { (eval echo configure:11176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11177 glibcpp_cv_func___builtin_sqrtl_link=yes
11179 echo "configure
: failed program was
:" >&5
11180 cat conftest.$ac_ext >&5
11182 glibcpp_cv_func___builtin_sqrtl_link=no
11189 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
11190 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
11191 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11192 cat >> confdefs.h <<EOF
11193 #define ${ac_tr_func} 1
11201 echo $ac_n "checking
for __builtin_sinf declaration
""...
$ac_c" 1>&6
11202 echo "configure
:11203: checking
for __builtin_sinf declaration
" >&5
11203 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
11204 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
11205 echo $ac_n "(cached
) $ac_c" 1>&6
11210 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11211 ac_cpp='$CXXCPP $CPPFLAGS'
11212 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11213 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11214 cross_compiling=$ac_cv_prog_cxx_cross
11216 cat > conftest.$ac_ext <<EOF
11217 #line 11218 "configure
"
11218 #include "confdefs.h
"
11224 if { (eval echo configure:11225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11226 glibcpp_cv_func___builtin_sinf_use=yes
11228 echo "configure
: failed program was
:" >&5
11229 cat conftest.$ac_ext >&5
11231 glibcpp_cv_func___builtin_sinf_use=no
11235 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11236 ac_cpp='$CPP $CPPFLAGS'
11237 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11238 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11239 cross_compiling=$ac_cv_prog_cc_cross
11245 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
11246 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
11247 echo $ac_n "checking
for __builtin_sinf linkage
""...
$ac_c" 1>&6
11248 echo "configure
:11249: checking
for __builtin_sinf linkage
" >&5
11249 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
11250 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
11251 echo $ac_n "(cached
) $ac_c" 1>&6
11254 cat > conftest.$ac_ext <<EOF
11255 #line 11256 "configure
"
11256 #include "confdefs.h
"
11262 if { (eval echo configure:11263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11264 glibcpp_cv_func___builtin_sinf_link=yes
11266 echo "configure
: failed program was
:" >&5
11267 cat conftest.$ac_ext >&5
11269 glibcpp_cv_func___builtin_sinf_link=no
11276 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
11277 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
11278 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11279 cat >> confdefs.h <<EOF
11280 #define ${ac_tr_func} 1
11287 echo $ac_n "checking
for __builtin_sin declaration
""...
$ac_c" 1>&6
11288 echo "configure
:11289: checking
for __builtin_sin declaration
" >&5
11289 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
11290 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
11291 echo $ac_n "(cached
) $ac_c" 1>&6
11296 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11297 ac_cpp='$CXXCPP $CPPFLAGS'
11298 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11299 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11300 cross_compiling=$ac_cv_prog_cxx_cross
11302 cat > conftest.$ac_ext <<EOF
11303 #line 11304 "configure
"
11304 #include "confdefs.h
"
11310 if { (eval echo configure:11311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11312 glibcpp_cv_func___builtin_sin_use=yes
11314 echo "configure
: failed program was
:" >&5
11315 cat conftest.$ac_ext >&5
11317 glibcpp_cv_func___builtin_sin_use=no
11321 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11322 ac_cpp='$CPP $CPPFLAGS'
11323 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11324 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11325 cross_compiling=$ac_cv_prog_cc_cross
11331 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
11332 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
11333 echo $ac_n "checking
for __builtin_sin linkage
""...
$ac_c" 1>&6
11334 echo "configure
:11335: checking
for __builtin_sin linkage
" >&5
11335 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
11336 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
11337 echo $ac_n "(cached
) $ac_c" 1>&6
11340 cat > conftest.$ac_ext <<EOF
11341 #line 11342 "configure
"
11342 #include "confdefs.h
"
11348 if { (eval echo configure:11349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11350 glibcpp_cv_func___builtin_sin_link=yes
11352 echo "configure
: failed program was
:" >&5
11353 cat conftest.$ac_ext >&5
11355 glibcpp_cv_func___builtin_sin_link=no
11362 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
11363 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
11364 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11365 cat >> confdefs.h <<EOF
11366 #define ${ac_tr_func} 1
11373 echo $ac_n "checking
for __builtin_sinl declaration
""...
$ac_c" 1>&6
11374 echo "configure
:11375: checking
for __builtin_sinl declaration
" >&5
11375 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
11376 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
11377 echo $ac_n "(cached
) $ac_c" 1>&6
11382 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11383 ac_cpp='$CXXCPP $CPPFLAGS'
11384 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11385 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11386 cross_compiling=$ac_cv_prog_cxx_cross
11388 cat > conftest.$ac_ext <<EOF
11389 #line 11390 "configure
"
11390 #include "confdefs.h
"
11396 if { (eval echo configure:11397: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11398 glibcpp_cv_func___builtin_sinl_use=yes
11400 echo "configure
: failed program was
:" >&5
11401 cat conftest.$ac_ext >&5
11403 glibcpp_cv_func___builtin_sinl_use=no
11407 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11408 ac_cpp='$CPP $CPPFLAGS'
11409 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11410 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11411 cross_compiling=$ac_cv_prog_cc_cross
11417 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
11418 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
11419 echo $ac_n "checking
for __builtin_sinl linkage
""...
$ac_c" 1>&6
11420 echo "configure
:11421: checking
for __builtin_sinl linkage
" >&5
11421 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
11422 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
11423 echo $ac_n "(cached
) $ac_c" 1>&6
11426 cat > conftest.$ac_ext <<EOF
11427 #line 11428 "configure
"
11428 #include "confdefs.h
"
11434 if { (eval echo configure:11435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11436 glibcpp_cv_func___builtin_sinl_link=yes
11438 echo "configure
: failed program was
:" >&5
11439 cat conftest.$ac_ext >&5
11441 glibcpp_cv_func___builtin_sinl_link=no
11448 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
11449 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
11450 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11451 cat >> confdefs.h <<EOF
11452 #define ${ac_tr_func} 1
11460 echo $ac_n "checking
for __builtin_cosf declaration
""...
$ac_c" 1>&6
11461 echo "configure
:11462: checking
for __builtin_cosf declaration
" >&5
11462 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
11463 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
11464 echo $ac_n "(cached
) $ac_c" 1>&6
11469 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11470 ac_cpp='$CXXCPP $CPPFLAGS'
11471 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11472 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11473 cross_compiling=$ac_cv_prog_cxx_cross
11475 cat > conftest.$ac_ext <<EOF
11476 #line 11477 "configure
"
11477 #include "confdefs.h
"
11483 if { (eval echo configure:11484: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11485 glibcpp_cv_func___builtin_cosf_use=yes
11487 echo "configure
: failed program was
:" >&5
11488 cat conftest.$ac_ext >&5
11490 glibcpp_cv_func___builtin_cosf_use=no
11494 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11495 ac_cpp='$CPP $CPPFLAGS'
11496 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11497 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11498 cross_compiling=$ac_cv_prog_cc_cross
11504 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
11505 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
11506 echo $ac_n "checking
for __builtin_cosf linkage
""...
$ac_c" 1>&6
11507 echo "configure
:11508: checking
for __builtin_cosf linkage
" >&5
11508 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
11509 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
11510 echo $ac_n "(cached
) $ac_c" 1>&6
11513 cat > conftest.$ac_ext <<EOF
11514 #line 11515 "configure
"
11515 #include "confdefs.h
"
11521 if { (eval echo configure:11522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11523 glibcpp_cv_func___builtin_cosf_link=yes
11525 echo "configure
: failed program was
:" >&5
11526 cat conftest.$ac_ext >&5
11528 glibcpp_cv_func___builtin_cosf_link=no
11535 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
11536 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
11537 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11538 cat >> confdefs.h <<EOF
11539 #define ${ac_tr_func} 1
11546 echo $ac_n "checking
for __builtin_cos declaration
""...
$ac_c" 1>&6
11547 echo "configure
:11548: checking
for __builtin_cos declaration
" >&5
11548 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
11549 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
11550 echo $ac_n "(cached
) $ac_c" 1>&6
11555 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11556 ac_cpp='$CXXCPP $CPPFLAGS'
11557 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11558 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11559 cross_compiling=$ac_cv_prog_cxx_cross
11561 cat > conftest.$ac_ext <<EOF
11562 #line 11563 "configure
"
11563 #include "confdefs.h
"
11569 if { (eval echo configure:11570: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11571 glibcpp_cv_func___builtin_cos_use=yes
11573 echo "configure
: failed program was
:" >&5
11574 cat conftest.$ac_ext >&5
11576 glibcpp_cv_func___builtin_cos_use=no
11580 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11581 ac_cpp='$CPP $CPPFLAGS'
11582 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11583 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11584 cross_compiling=$ac_cv_prog_cc_cross
11590 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
11591 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
11592 echo $ac_n "checking
for __builtin_cos linkage
""...
$ac_c" 1>&6
11593 echo "configure
:11594: checking
for __builtin_cos linkage
" >&5
11594 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
11595 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
11596 echo $ac_n "(cached
) $ac_c" 1>&6
11599 cat > conftest.$ac_ext <<EOF
11600 #line 11601 "configure
"
11601 #include "confdefs.h
"
11607 if { (eval echo configure:11608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11609 glibcpp_cv_func___builtin_cos_link=yes
11611 echo "configure
: failed program was
:" >&5
11612 cat conftest.$ac_ext >&5
11614 glibcpp_cv_func___builtin_cos_link=no
11621 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
11622 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
11623 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11624 cat >> confdefs.h <<EOF
11625 #define ${ac_tr_func} 1
11632 echo $ac_n "checking
for __builtin_cosl declaration
""...
$ac_c" 1>&6
11633 echo "configure
:11634: checking
for __builtin_cosl declaration
" >&5
11634 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
11635 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
11636 echo $ac_n "(cached
) $ac_c" 1>&6
11641 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11642 ac_cpp='$CXXCPP $CPPFLAGS'
11643 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11644 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11645 cross_compiling=$ac_cv_prog_cxx_cross
11647 cat > conftest.$ac_ext <<EOF
11648 #line 11649 "configure
"
11649 #include "confdefs.h
"
11655 if { (eval echo configure:11656: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11657 glibcpp_cv_func___builtin_cosl_use=yes
11659 echo "configure
: failed program was
:" >&5
11660 cat conftest.$ac_ext >&5
11662 glibcpp_cv_func___builtin_cosl_use=no
11666 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11667 ac_cpp='$CPP $CPPFLAGS'
11668 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11669 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11670 cross_compiling=$ac_cv_prog_cc_cross
11676 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
11677 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
11678 echo $ac_n "checking
for __builtin_cosl linkage
""...
$ac_c" 1>&6
11679 echo "configure
:11680: checking
for __builtin_cosl linkage
" >&5
11680 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
11681 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
11682 echo $ac_n "(cached
) $ac_c" 1>&6
11685 cat > conftest.$ac_ext <<EOF
11686 #line 11687 "configure
"
11687 #include "confdefs.h
"
11693 if { (eval echo configure:11694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11695 glibcpp_cv_func___builtin_cosl_link=yes
11697 echo "configure
: failed program was
:" >&5
11698 cat conftest.$ac_ext >&5
11700 glibcpp_cv_func___builtin_cosl_link=no
11707 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
11708 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
11709 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11710 cat >> confdefs.h <<EOF
11711 #define ${ac_tr_func} 1
11719 if test x$dummyvar = x"yes"; then
11720 cat >> confdefs.h <<\EOF
11721 #define HAVE___BUILTIN_ABS 1
11724 cat >> confdefs.h <<\EOF
11725 #define HAVE___BUILTIN_LABS 1
11728 cat >> confdefs.h <<\EOF
11729 #define HAVE___BUILTIN_COS 1
11732 cat >> confdefs.h <<\EOF
11733 #define HAVE___BUILTIN_COSF 1
11736 cat >> confdefs.h <<\EOF
11737 #define HAVE___BUILTIN_COSL 1
11740 cat >> confdefs.h <<\EOF
11741 #define HAVE___BUILTIN_FABS 1
11744 cat >> confdefs.h <<\EOF
11745 #define HAVE___BUILTIN_FABSF 1
11748 cat >> confdefs.h <<\EOF
11749 #define HAVE___BUILTIN_FABSL 1
11752 cat >> confdefs.h <<\EOF
11753 #define HAVE___BUILTIN_SIN 1
11756 cat >> confdefs.h <<\EOF
11757 #define HAVE___BUILTIN_SINF 1
11760 cat >> confdefs.h <<\EOF
11761 #define HAVE___BUILTIN_SINL 1
11764 cat >> confdefs.h <<\EOF
11765 #define HAVE___BUILTIN_SQRT 1
11768 cat >> confdefs.h <<\EOF
11769 #define HAVE___BUILTIN_SQRTF 1
11772 cat >> confdefs.h <<\EOF
11773 #define HAVE___BUILTIN_SQRTL 1
11779 ac_test_CXXFLAGS="${CXXFLAGS+set}"
11780 ac_save_CXXFLAGS="$CXXFLAGS"
11781 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
11783 echo $ac_n "checking
for sin
in -lm""...
$ac_c" 1>&6
11784 echo "configure
:11785: checking
for sin
in -lm" >&5
11785 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
11786 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11787 echo $ac_n "(cached
) $ac_c" 1>&6
11789 ac_save_LIBS="$LIBS"
11791 cat > conftest.$ac_ext <<EOF
11792 #line 11793 "configure
"
11793 #include "confdefs.h
"
11794 /* Override any gcc2 internal prototype to avoid an error. */
11795 /* We use char because int might match the return type of a gcc2
11796 builtin and then its argument prototype would still apply. */
11803 if { (eval echo configure:11804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11805 eval "ac_cv_lib_
$ac_lib_var=yes"
11807 echo "configure
: failed program was
:" >&5
11808 cat conftest.$ac_ext >&5
11810 eval "ac_cv_lib_
$ac_lib_var=no
"
11813 LIBS="$ac_save_LIBS"
11816 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11817 echo "$ac_t""yes" 1>&6
11820 echo "$ac_t""no
" 1>&6
11823 ac_save_LIBS="$LIBS"
11828 echo $ac_n "checking
for isinf declaration
""...
$ac_c" 1>&6
11829 echo "configure
:11830: checking
for isinf declaration
" >&5
11830 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
11831 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
11832 echo $ac_n "(cached
) $ac_c" 1>&6
11837 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11838 ac_cpp='$CXXCPP $CPPFLAGS'
11839 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11840 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11841 cross_compiling=$ac_cv_prog_cxx_cross
11843 cat > conftest.$ac_ext <<EOF
11844 #line 11845 "configure
"
11845 #include "confdefs.h
"
11847 #ifdef HAVE_IEEEFP_H
11848 #include <ieeefp.h>
11855 if { (eval echo configure:11856: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11857 glibcpp_cv_func_isinf_use=yes
11859 echo "configure
: failed program was
:" >&5
11860 cat conftest.$ac_ext >&5
11862 glibcpp_cv_func_isinf_use=no
11866 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11867 ac_cpp='$CPP $CPPFLAGS'
11868 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11869 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11870 cross_compiling=$ac_cv_prog_cc_cross
11876 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
11878 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
11879 for ac_func in isinf
11881 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11882 echo "configure
:11883: checking
for $ac_func" >&5
11883 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11884 echo $ac_n "(cached
) $ac_c" 1>&6
11886 cat > conftest.$ac_ext <<EOF
11887 #line 11888 "configure
"
11888 #include "confdefs.h
"
11889 /* System header to define __stub macros and hopefully few prototypes,
11890 which can conflict with char $ac_func(); below. */
11891 #include <assert.h>
11892 /* Override any gcc2 internal prototype to avoid an error. */
11893 /* We use char because int might match the return type of a gcc2
11894 builtin and then its argument prototype would still apply. */
11899 /* The GNU C library defines this for functions which it implements
11900 to always fail with ENOSYS. Some functions are actually named
11901 something starting with __ and the normal name is an alias. */
11902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11910 if { (eval echo configure:11911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11912 eval "ac_cv_func_
$ac_func=yes"
11914 echo "configure
: failed program was
:" >&5
11915 cat conftest.$ac_ext >&5
11917 eval "ac_cv_func_
$ac_func=no
"
11922 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11923 echo "$ac_t""yes" 1>&6
11924 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11925 cat >> confdefs.h <<EOF
11926 #define $ac_tr_func 1
11930 echo "$ac_t""no
" 1>&6
11936 echo $ac_n "checking
for _isinf declaration
""...
$ac_c" 1>&6
11937 echo "configure
:11938: checking
for _isinf declaration
" >&5
11938 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
11939 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
11940 echo $ac_n "(cached
) $ac_c" 1>&6
11945 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11946 ac_cpp='$CXXCPP $CPPFLAGS'
11947 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11948 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11949 cross_compiling=$ac_cv_prog_cxx_cross
11951 cat > conftest.$ac_ext <<EOF
11952 #line 11953 "configure
"
11953 #include "confdefs.h
"
11955 #ifdef HAVE_IEEEFP_H
11956 #include <ieeefp.h>
11963 if { (eval echo configure:11964: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11965 glibcpp_cv_func__isinf_use=yes
11967 echo "configure
: failed program was
:" >&5
11968 cat conftest.$ac_ext >&5
11970 glibcpp_cv_func__isinf_use=no
11974 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11975 ac_cpp='$CPP $CPPFLAGS'
11976 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11977 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11978 cross_compiling=$ac_cv_prog_cc_cross
11984 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
11986 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
11987 for ac_func in _isinf
11989 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11990 echo "configure
:11991: checking
for $ac_func" >&5
11991 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11992 echo $ac_n "(cached
) $ac_c" 1>&6
11994 cat > conftest.$ac_ext <<EOF
11995 #line 11996 "configure
"
11996 #include "confdefs.h
"
11997 /* System header to define __stub macros and hopefully few prototypes,
11998 which can conflict with char $ac_func(); below. */
11999 #include <assert.h>
12000 /* Override any gcc2 internal prototype to avoid an error. */
12001 /* We use char because int might match the return type of a gcc2
12002 builtin and then its argument prototype would still apply. */
12007 /* The GNU C library defines this for functions which it implements
12008 to always fail with ENOSYS. Some functions are actually named
12009 something starting with __ and the normal name is an alias. */
12010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12018 if { (eval echo configure:12019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12020 eval "ac_cv_func_
$ac_func=yes"
12022 echo "configure
: failed program was
:" >&5
12023 cat conftest.$ac_ext >&5
12025 eval "ac_cv_func_
$ac_func=no
"
12030 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12031 echo "$ac_t""yes" 1>&6
12032 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12033 cat >> confdefs.h <<EOF
12034 #define $ac_tr_func 1
12038 echo "$ac_t""no
" 1>&6
12047 echo $ac_n "checking
for isnan declaration
""...
$ac_c" 1>&6
12048 echo "configure
:12049: checking
for isnan declaration
" >&5
12049 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
12050 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
12051 echo $ac_n "(cached
) $ac_c" 1>&6
12056 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12057 ac_cpp='$CXXCPP $CPPFLAGS'
12058 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12059 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12060 cross_compiling=$ac_cv_prog_cxx_cross
12062 cat > conftest.$ac_ext <<EOF
12063 #line 12064 "configure
"
12064 #include "confdefs.h
"
12066 #ifdef HAVE_IEEEFP_H
12067 #include <ieeefp.h>
12074 if { (eval echo configure:12075: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12076 glibcpp_cv_func_isnan_use=yes
12078 echo "configure
: failed program was
:" >&5
12079 cat conftest.$ac_ext >&5
12081 glibcpp_cv_func_isnan_use=no
12085 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12086 ac_cpp='$CPP $CPPFLAGS'
12087 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12088 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12089 cross_compiling=$ac_cv_prog_cc_cross
12095 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
12097 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
12098 for ac_func in isnan
12100 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12101 echo "configure
:12102: checking
for $ac_func" >&5
12102 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12103 echo $ac_n "(cached
) $ac_c" 1>&6
12105 cat > conftest.$ac_ext <<EOF
12106 #line 12107 "configure
"
12107 #include "confdefs.h
"
12108 /* System header to define __stub macros and hopefully few prototypes,
12109 which can conflict with char $ac_func(); below. */
12110 #include <assert.h>
12111 /* Override any gcc2 internal prototype to avoid an error. */
12112 /* We use char because int might match the return type of a gcc2
12113 builtin and then its argument prototype would still apply. */
12118 /* The GNU C library defines this for functions which it implements
12119 to always fail with ENOSYS. Some functions are actually named
12120 something starting with __ and the normal name is an alias. */
12121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12129 if { (eval echo configure:12130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12131 eval "ac_cv_func_
$ac_func=yes"
12133 echo "configure
: failed program was
:" >&5
12134 cat conftest.$ac_ext >&5
12136 eval "ac_cv_func_
$ac_func=no
"
12141 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12142 echo "$ac_t""yes" 1>&6
12143 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12144 cat >> confdefs.h <<EOF
12145 #define $ac_tr_func 1
12149 echo "$ac_t""no
" 1>&6
12155 echo $ac_n "checking
for _isnan declaration
""...
$ac_c" 1>&6
12156 echo "configure
:12157: checking
for _isnan declaration
" >&5
12157 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
12158 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
12159 echo $ac_n "(cached
) $ac_c" 1>&6
12164 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12165 ac_cpp='$CXXCPP $CPPFLAGS'
12166 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12167 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12168 cross_compiling=$ac_cv_prog_cxx_cross
12170 cat > conftest.$ac_ext <<EOF
12171 #line 12172 "configure
"
12172 #include "confdefs.h
"
12174 #ifdef HAVE_IEEEFP_H
12175 #include <ieeefp.h>
12182 if { (eval echo configure:12183: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12184 glibcpp_cv_func__isnan_use=yes
12186 echo "configure
: failed program was
:" >&5
12187 cat conftest.$ac_ext >&5
12189 glibcpp_cv_func__isnan_use=no
12193 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12194 ac_cpp='$CPP $CPPFLAGS'
12195 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12196 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12197 cross_compiling=$ac_cv_prog_cc_cross
12203 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
12205 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
12206 for ac_func in _isnan
12208 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12209 echo "configure
:12210: checking
for $ac_func" >&5
12210 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12211 echo $ac_n "(cached
) $ac_c" 1>&6
12213 cat > conftest.$ac_ext <<EOF
12214 #line 12215 "configure
"
12215 #include "confdefs.h
"
12216 /* System header to define __stub macros and hopefully few prototypes,
12217 which can conflict with char $ac_func(); below. */
12218 #include <assert.h>
12219 /* Override any gcc2 internal prototype to avoid an error. */
12220 /* We use char because int might match the return type of a gcc2
12221 builtin and then its argument prototype would still apply. */
12226 /* The GNU C library defines this for functions which it implements
12227 to always fail with ENOSYS. Some functions are actually named
12228 something starting with __ and the normal name is an alias. */
12229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12237 if { (eval echo configure:12238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12239 eval "ac_cv_func_
$ac_func=yes"
12241 echo "configure
: failed program was
:" >&5
12242 cat conftest.$ac_ext >&5
12244 eval "ac_cv_func_
$ac_func=no
"
12249 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12250 echo "$ac_t""yes" 1>&6
12251 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12252 cat >> confdefs.h <<EOF
12253 #define $ac_tr_func 1
12257 echo "$ac_t""no
" 1>&6
12266 echo $ac_n "checking
for finite declaration
""...
$ac_c" 1>&6
12267 echo "configure
:12268: checking
for finite declaration
" >&5
12268 if test x${glibcpp_cv_func_finite_use+set} != xset; then
12269 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
12270 echo $ac_n "(cached
) $ac_c" 1>&6
12275 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12276 ac_cpp='$CXXCPP $CPPFLAGS'
12277 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12278 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12279 cross_compiling=$ac_cv_prog_cxx_cross
12281 cat > conftest.$ac_ext <<EOF
12282 #line 12283 "configure
"
12283 #include "confdefs.h
"
12285 #ifdef HAVE_IEEEFP_H
12286 #include <ieeefp.h>
12293 if { (eval echo configure:12294: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12295 glibcpp_cv_func_finite_use=yes
12297 echo "configure
: failed program was
:" >&5
12298 cat conftest.$ac_ext >&5
12300 glibcpp_cv_func_finite_use=no
12304 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12305 ac_cpp='$CPP $CPPFLAGS'
12306 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12307 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12308 cross_compiling=$ac_cv_prog_cc_cross
12314 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
12316 if test x$glibcpp_cv_func_finite_use = x"yes"; then
12317 for ac_func in finite
12319 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12320 echo "configure
:12321: checking
for $ac_func" >&5
12321 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12322 echo $ac_n "(cached
) $ac_c" 1>&6
12324 cat > conftest.$ac_ext <<EOF
12325 #line 12326 "configure
"
12326 #include "confdefs.h
"
12327 /* System header to define __stub macros and hopefully few prototypes,
12328 which can conflict with char $ac_func(); below. */
12329 #include <assert.h>
12330 /* Override any gcc2 internal prototype to avoid an error. */
12331 /* We use char because int might match the return type of a gcc2
12332 builtin and then its argument prototype would still apply. */
12337 /* The GNU C library defines this for functions which it implements
12338 to always fail with ENOSYS. Some functions are actually named
12339 something starting with __ and the normal name is an alias. */
12340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12348 if { (eval echo configure:12349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12350 eval "ac_cv_func_
$ac_func=yes"
12352 echo "configure
: failed program was
:" >&5
12353 cat conftest.$ac_ext >&5
12355 eval "ac_cv_func_
$ac_func=no
"
12360 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12361 echo "$ac_t""yes" 1>&6
12362 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12363 cat >> confdefs.h <<EOF
12364 #define $ac_tr_func 1
12368 echo "$ac_t""no
" 1>&6
12374 echo $ac_n "checking
for _finite declaration
""...
$ac_c" 1>&6
12375 echo "configure
:12376: checking
for _finite declaration
" >&5
12376 if test x${glibcpp_cv_func__finite_use+set} != xset; then
12377 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
12378 echo $ac_n "(cached
) $ac_c" 1>&6
12383 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12384 ac_cpp='$CXXCPP $CPPFLAGS'
12385 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12386 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12387 cross_compiling=$ac_cv_prog_cxx_cross
12389 cat > conftest.$ac_ext <<EOF
12390 #line 12391 "configure
"
12391 #include "confdefs.h
"
12393 #ifdef HAVE_IEEEFP_H
12394 #include <ieeefp.h>
12401 if { (eval echo configure:12402: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12403 glibcpp_cv_func__finite_use=yes
12405 echo "configure
: failed program was
:" >&5
12406 cat conftest.$ac_ext >&5
12408 glibcpp_cv_func__finite_use=no
12412 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12413 ac_cpp='$CPP $CPPFLAGS'
12414 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12415 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12416 cross_compiling=$ac_cv_prog_cc_cross
12422 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
12424 if test x$glibcpp_cv_func__finite_use = x"yes"; then
12425 for ac_func in _finite
12427 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12428 echo "configure
:12429: checking
for $ac_func" >&5
12429 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12430 echo $ac_n "(cached
) $ac_c" 1>&6
12432 cat > conftest.$ac_ext <<EOF
12433 #line 12434 "configure
"
12434 #include "confdefs.h
"
12435 /* System header to define __stub macros and hopefully few prototypes,
12436 which can conflict with char $ac_func(); below. */
12437 #include <assert.h>
12438 /* Override any gcc2 internal prototype to avoid an error. */
12439 /* We use char because int might match the return type of a gcc2
12440 builtin and then its argument prototype would still apply. */
12445 /* The GNU C library defines this for functions which it implements
12446 to always fail with ENOSYS. Some functions are actually named
12447 something starting with __ and the normal name is an alias. */
12448 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12456 if { (eval echo configure:12457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12458 eval "ac_cv_func_
$ac_func=yes"
12460 echo "configure
: failed program was
:" >&5
12461 cat conftest.$ac_ext >&5
12463 eval "ac_cv_func_
$ac_func=no
"
12468 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12469 echo "$ac_t""yes" 1>&6
12470 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12471 cat >> confdefs.h <<EOF
12472 #define $ac_tr_func 1
12476 echo "$ac_t""no
" 1>&6
12485 echo $ac_n "checking
for copysign declaration
""...
$ac_c" 1>&6
12486 echo "configure
:12487: checking
for copysign declaration
" >&5
12487 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
12488 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
12489 echo $ac_n "(cached
) $ac_c" 1>&6
12494 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12495 ac_cpp='$CXXCPP $CPPFLAGS'
12496 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12497 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12498 cross_compiling=$ac_cv_prog_cxx_cross
12500 cat > conftest.$ac_ext <<EOF
12501 #line 12502 "configure
"
12502 #include "confdefs.h
"
12508 if { (eval echo configure:12509: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12510 glibcpp_cv_func_copysign_use=yes
12512 echo "configure
: failed program was
:" >&5
12513 cat conftest.$ac_ext >&5
12515 glibcpp_cv_func_copysign_use=no
12519 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12520 ac_cpp='$CPP $CPPFLAGS'
12521 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12522 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12523 cross_compiling=$ac_cv_prog_cc_cross
12529 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
12531 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
12532 for ac_func in copysign
12534 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12535 echo "configure
:12536: checking
for $ac_func" >&5
12536 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12537 echo $ac_n "(cached
) $ac_c" 1>&6
12539 cat > conftest.$ac_ext <<EOF
12540 #line 12541 "configure
"
12541 #include "confdefs.h
"
12542 /* System header to define __stub macros and hopefully few prototypes,
12543 which can conflict with char $ac_func(); below. */
12544 #include <assert.h>
12545 /* Override any gcc2 internal prototype to avoid an error. */
12546 /* We use char because int might match the return type of a gcc2
12547 builtin and then its argument prototype would still apply. */
12552 /* The GNU C library defines this for functions which it implements
12553 to always fail with ENOSYS. Some functions are actually named
12554 something starting with __ and the normal name is an alias. */
12555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12563 if { (eval echo configure:12564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12565 eval "ac_cv_func_
$ac_func=yes"
12567 echo "configure
: failed program was
:" >&5
12568 cat conftest.$ac_ext >&5
12570 eval "ac_cv_func_
$ac_func=no
"
12575 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12576 echo "$ac_t""yes" 1>&6
12577 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12578 cat >> confdefs.h <<EOF
12579 #define $ac_tr_func 1
12583 echo "$ac_t""no
" 1>&6
12589 echo $ac_n "checking
for _copysign declaration
""...
$ac_c" 1>&6
12590 echo "configure
:12591: checking
for _copysign declaration
" >&5
12591 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
12592 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
12593 echo $ac_n "(cached
) $ac_c" 1>&6
12598 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12599 ac_cpp='$CXXCPP $CPPFLAGS'
12600 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12601 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12602 cross_compiling=$ac_cv_prog_cxx_cross
12604 cat > conftest.$ac_ext <<EOF
12605 #line 12606 "configure
"
12606 #include "confdefs.h
"
12612 if { (eval echo configure:12613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12614 glibcpp_cv_func__copysign_use=yes
12616 echo "configure
: failed program was
:" >&5
12617 cat conftest.$ac_ext >&5
12619 glibcpp_cv_func__copysign_use=no
12623 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12624 ac_cpp='$CPP $CPPFLAGS'
12625 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12626 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12627 cross_compiling=$ac_cv_prog_cc_cross
12633 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
12635 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
12636 for ac_func in _copysign
12638 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12639 echo "configure
:12640: checking
for $ac_func" >&5
12640 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12641 echo $ac_n "(cached
) $ac_c" 1>&6
12643 cat > conftest.$ac_ext <<EOF
12644 #line 12645 "configure
"
12645 #include "confdefs.h
"
12646 /* System header to define __stub macros and hopefully few prototypes,
12647 which can conflict with char $ac_func(); below. */
12648 #include <assert.h>
12649 /* Override any gcc2 internal prototype to avoid an error. */
12650 /* We use char because int might match the return type of a gcc2
12651 builtin and then its argument prototype would still apply. */
12656 /* The GNU C library defines this for functions which it implements
12657 to always fail with ENOSYS. Some functions are actually named
12658 something starting with __ and the normal name is an alias. */
12659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12667 if { (eval echo configure:12668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12669 eval "ac_cv_func_
$ac_func=yes"
12671 echo "configure
: failed program was
:" >&5
12672 cat conftest.$ac_ext >&5
12674 eval "ac_cv_func_
$ac_func=no
"
12679 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12680 echo "$ac_t""yes" 1>&6
12681 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12682 cat >> confdefs.h <<EOF
12683 #define $ac_tr_func 1
12687 echo "$ac_t""no
" 1>&6
12696 echo $ac_n "checking
for sincos declaration
""...
$ac_c" 1>&6
12697 echo "configure
:12698: checking
for sincos declaration
" >&5
12698 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
12699 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
12700 echo $ac_n "(cached
) $ac_c" 1>&6
12705 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12706 ac_cpp='$CXXCPP $CPPFLAGS'
12707 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12708 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12709 cross_compiling=$ac_cv_prog_cxx_cross
12711 cat > conftest.$ac_ext <<EOF
12712 #line 12713 "configure
"
12713 #include "confdefs.h
"
12719 if { (eval echo configure:12720: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12721 glibcpp_cv_func_sincos_use=yes
12723 echo "configure
: failed program was
:" >&5
12724 cat conftest.$ac_ext >&5
12726 glibcpp_cv_func_sincos_use=no
12730 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12731 ac_cpp='$CPP $CPPFLAGS'
12732 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12733 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12734 cross_compiling=$ac_cv_prog_cc_cross
12740 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
12742 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
12743 for ac_func in sincos
12745 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12746 echo "configure
:12747: checking
for $ac_func" >&5
12747 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12748 echo $ac_n "(cached
) $ac_c" 1>&6
12750 cat > conftest.$ac_ext <<EOF
12751 #line 12752 "configure
"
12752 #include "confdefs.h
"
12753 /* System header to define __stub macros and hopefully few prototypes,
12754 which can conflict with char $ac_func(); below. */
12755 #include <assert.h>
12756 /* Override any gcc2 internal prototype to avoid an error. */
12757 /* We use char because int might match the return type of a gcc2
12758 builtin and then its argument prototype would still apply. */
12763 /* The GNU C library defines this for functions which it implements
12764 to always fail with ENOSYS. Some functions are actually named
12765 something starting with __ and the normal name is an alias. */
12766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12774 if { (eval echo configure:12775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12776 eval "ac_cv_func_
$ac_func=yes"
12778 echo "configure
: failed program was
:" >&5
12779 cat conftest.$ac_ext >&5
12781 eval "ac_cv_func_
$ac_func=no
"
12786 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12787 echo "$ac_t""yes" 1>&6
12788 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12789 cat >> confdefs.h <<EOF
12790 #define $ac_tr_func 1
12794 echo "$ac_t""no
" 1>&6
12800 echo $ac_n "checking
for _sincos declaration
""...
$ac_c" 1>&6
12801 echo "configure
:12802: checking
for _sincos declaration
" >&5
12802 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
12803 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
12804 echo $ac_n "(cached
) $ac_c" 1>&6
12809 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12810 ac_cpp='$CXXCPP $CPPFLAGS'
12811 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12812 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12813 cross_compiling=$ac_cv_prog_cxx_cross
12815 cat > conftest.$ac_ext <<EOF
12816 #line 12817 "configure
"
12817 #include "confdefs.h
"
12823 if { (eval echo configure:12824: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12825 glibcpp_cv_func__sincos_use=yes
12827 echo "configure
: failed program was
:" >&5
12828 cat conftest.$ac_ext >&5
12830 glibcpp_cv_func__sincos_use=no
12834 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12835 ac_cpp='$CPP $CPPFLAGS'
12836 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12837 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12838 cross_compiling=$ac_cv_prog_cc_cross
12844 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
12846 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
12847 for ac_func in _sincos
12849 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12850 echo "configure
:12851: checking
for $ac_func" >&5
12851 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12852 echo $ac_n "(cached
) $ac_c" 1>&6
12854 cat > conftest.$ac_ext <<EOF
12855 #line 12856 "configure
"
12856 #include "confdefs.h
"
12857 /* System header to define __stub macros and hopefully few prototypes,
12858 which can conflict with char $ac_func(); below. */
12859 #include <assert.h>
12860 /* Override any gcc2 internal prototype to avoid an error. */
12861 /* We use char because int might match the return type of a gcc2
12862 builtin and then its argument prototype would still apply. */
12867 /* The GNU C library defines this for functions which it implements
12868 to always fail with ENOSYS. Some functions are actually named
12869 something starting with __ and the normal name is an alias. */
12870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12878 if { (eval echo configure:12879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12880 eval "ac_cv_func_
$ac_func=yes"
12882 echo "configure
: failed program was
:" >&5
12883 cat conftest.$ac_ext >&5
12885 eval "ac_cv_func_
$ac_func=no
"
12890 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12891 echo "$ac_t""yes" 1>&6
12892 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12893 cat >> confdefs.h <<EOF
12894 #define $ac_tr_func 1
12898 echo "$ac_t""no
" 1>&6
12907 echo $ac_n "checking
for fpclass declaration
""...
$ac_c" 1>&6
12908 echo "configure
:12909: checking
for fpclass declaration
" >&5
12909 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
12910 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
12911 echo $ac_n "(cached
) $ac_c" 1>&6
12916 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12917 ac_cpp='$CXXCPP $CPPFLAGS'
12918 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12919 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12920 cross_compiling=$ac_cv_prog_cxx_cross
12922 cat > conftest.$ac_ext <<EOF
12923 #line 12924 "configure
"
12924 #include "confdefs.h
"
12926 #ifdef HAVE_IEEEFP_H
12927 #include <ieeefp.h>
12934 if { (eval echo configure:12935: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12936 glibcpp_cv_func_fpclass_use=yes
12938 echo "configure
: failed program was
:" >&5
12939 cat conftest.$ac_ext >&5
12941 glibcpp_cv_func_fpclass_use=no
12945 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12946 ac_cpp='$CPP $CPPFLAGS'
12947 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12948 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12949 cross_compiling=$ac_cv_prog_cc_cross
12955 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
12957 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
12958 for ac_func in fpclass
12960 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12961 echo "configure
:12962: checking
for $ac_func" >&5
12962 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12963 echo $ac_n "(cached
) $ac_c" 1>&6
12965 cat > conftest.$ac_ext <<EOF
12966 #line 12967 "configure
"
12967 #include "confdefs.h
"
12968 /* System header to define __stub macros and hopefully few prototypes,
12969 which can conflict with char $ac_func(); below. */
12970 #include <assert.h>
12971 /* Override any gcc2 internal prototype to avoid an error. */
12972 /* We use char because int might match the return type of a gcc2
12973 builtin and then its argument prototype would still apply. */
12978 /* The GNU C library defines this for functions which it implements
12979 to always fail with ENOSYS. Some functions are actually named
12980 something starting with __ and the normal name is an alias. */
12981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12989 if { (eval echo configure:12990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12991 eval "ac_cv_func_
$ac_func=yes"
12993 echo "configure
: failed program was
:" >&5
12994 cat conftest.$ac_ext >&5
12996 eval "ac_cv_func_
$ac_func=no
"
13001 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13002 echo "$ac_t""yes" 1>&6
13003 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13004 cat >> confdefs.h <<EOF
13005 #define $ac_tr_func 1
13009 echo "$ac_t""no
" 1>&6
13015 echo $ac_n "checking
for _fpclass declaration
""...
$ac_c" 1>&6
13016 echo "configure
:13017: checking
for _fpclass declaration
" >&5
13017 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
13018 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
13019 echo $ac_n "(cached
) $ac_c" 1>&6
13024 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13025 ac_cpp='$CXXCPP $CPPFLAGS'
13026 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13027 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13028 cross_compiling=$ac_cv_prog_cxx_cross
13030 cat > conftest.$ac_ext <<EOF
13031 #line 13032 "configure
"
13032 #include "confdefs.h
"
13034 #ifdef HAVE_IEEEFP_H
13035 #include <ieeefp.h>
13042 if { (eval echo configure:13043: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13044 glibcpp_cv_func__fpclass_use=yes
13046 echo "configure
: failed program was
:" >&5
13047 cat conftest.$ac_ext >&5
13049 glibcpp_cv_func__fpclass_use=no
13053 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13054 ac_cpp='$CPP $CPPFLAGS'
13055 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13056 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13057 cross_compiling=$ac_cv_prog_cc_cross
13063 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
13065 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
13066 for ac_func in _fpclass
13068 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13069 echo "configure
:13070: checking
for $ac_func" >&5
13070 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13071 echo $ac_n "(cached
) $ac_c" 1>&6
13073 cat > conftest.$ac_ext <<EOF
13074 #line 13075 "configure
"
13075 #include "confdefs.h
"
13076 /* System header to define __stub macros and hopefully few prototypes,
13077 which can conflict with char $ac_func(); below. */
13078 #include <assert.h>
13079 /* Override any gcc2 internal prototype to avoid an error. */
13080 /* We use char because int might match the return type of a gcc2
13081 builtin and then its argument prototype would still apply. */
13086 /* The GNU C library defines this for functions which it implements
13087 to always fail with ENOSYS. Some functions are actually named
13088 something starting with __ and the normal name is an alias. */
13089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13097 if { (eval echo configure:13098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13099 eval "ac_cv_func_
$ac_func=yes"
13101 echo "configure
: failed program was
:" >&5
13102 cat conftest.$ac_ext >&5
13104 eval "ac_cv_func_
$ac_func=no
"
13109 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13110 echo "$ac_t""yes" 1>&6
13111 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13112 cat >> confdefs.h <<EOF
13113 #define $ac_tr_func 1
13117 echo "$ac_t""no
" 1>&6
13126 echo $ac_n "checking
for qfpclass declaration
""...
$ac_c" 1>&6
13127 echo "configure
:13128: checking
for qfpclass declaration
" >&5
13128 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
13129 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
13130 echo $ac_n "(cached
) $ac_c" 1>&6
13135 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13136 ac_cpp='$CXXCPP $CPPFLAGS'
13137 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13138 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13139 cross_compiling=$ac_cv_prog_cxx_cross
13141 cat > conftest.$ac_ext <<EOF
13142 #line 13143 "configure
"
13143 #include "confdefs.h
"
13145 #ifdef HAVE_IEEEFP_H
13146 #include <ieeefp.h>
13153 if { (eval echo configure:13154: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13155 glibcpp_cv_func_qfpclass_use=yes
13157 echo "configure
: failed program was
:" >&5
13158 cat conftest.$ac_ext >&5
13160 glibcpp_cv_func_qfpclass_use=no
13164 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13165 ac_cpp='$CPP $CPPFLAGS'
13166 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13167 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13168 cross_compiling=$ac_cv_prog_cc_cross
13174 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
13176 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
13177 for ac_func in qfpclass
13179 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13180 echo "configure
:13181: checking
for $ac_func" >&5
13181 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13182 echo $ac_n "(cached
) $ac_c" 1>&6
13184 cat > conftest.$ac_ext <<EOF
13185 #line 13186 "configure
"
13186 #include "confdefs.h
"
13187 /* System header to define __stub macros and hopefully few prototypes,
13188 which can conflict with char $ac_func(); below. */
13189 #include <assert.h>
13190 /* Override any gcc2 internal prototype to avoid an error. */
13191 /* We use char because int might match the return type of a gcc2
13192 builtin and then its argument prototype would still apply. */
13197 /* The GNU C library defines this for functions which it implements
13198 to always fail with ENOSYS. Some functions are actually named
13199 something starting with __ and the normal name is an alias. */
13200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13208 if { (eval echo configure:13209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13210 eval "ac_cv_func_
$ac_func=yes"
13212 echo "configure
: failed program was
:" >&5
13213 cat conftest.$ac_ext >&5
13215 eval "ac_cv_func_
$ac_func=no
"
13220 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13221 echo "$ac_t""yes" 1>&6
13222 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13223 cat >> confdefs.h <<EOF
13224 #define $ac_tr_func 1
13228 echo "$ac_t""no
" 1>&6
13234 echo $ac_n "checking
for _qfpclass declaration
""...
$ac_c" 1>&6
13235 echo "configure
:13236: checking
for _qfpclass declaration
" >&5
13236 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
13237 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
13238 echo $ac_n "(cached
) $ac_c" 1>&6
13243 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13244 ac_cpp='$CXXCPP $CPPFLAGS'
13245 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13246 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13247 cross_compiling=$ac_cv_prog_cxx_cross
13249 cat > conftest.$ac_ext <<EOF
13250 #line 13251 "configure
"
13251 #include "confdefs.h
"
13253 #ifdef HAVE_IEEEFP_H
13254 #include <ieeefp.h>
13261 if { (eval echo configure:13262: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13263 glibcpp_cv_func__qfpclass_use=yes
13265 echo "configure
: failed program was
:" >&5
13266 cat conftest.$ac_ext >&5
13268 glibcpp_cv_func__qfpclass_use=no
13272 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13273 ac_cpp='$CPP $CPPFLAGS'
13274 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13275 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13276 cross_compiling=$ac_cv_prog_cc_cross
13282 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
13284 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
13285 for ac_func in _qfpclass
13287 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13288 echo "configure
:13289: checking
for $ac_func" >&5
13289 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13290 echo $ac_n "(cached
) $ac_c" 1>&6
13292 cat > conftest.$ac_ext <<EOF
13293 #line 13294 "configure
"
13294 #include "confdefs.h
"
13295 /* System header to define __stub macros and hopefully few prototypes,
13296 which can conflict with char $ac_func(); below. */
13297 #include <assert.h>
13298 /* Override any gcc2 internal prototype to avoid an error. */
13299 /* We use char because int might match the return type of a gcc2
13300 builtin and then its argument prototype would still apply. */
13305 /* The GNU C library defines this for functions which it implements
13306 to always fail with ENOSYS. Some functions are actually named
13307 something starting with __ and the normal name is an alias. */
13308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13316 if { (eval echo configure:13317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13318 eval "ac_cv_func_
$ac_func=yes"
13320 echo "configure
: failed program was
:" >&5
13321 cat conftest.$ac_ext >&5
13323 eval "ac_cv_func_
$ac_func=no
"
13328 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13329 echo "$ac_t""yes" 1>&6
13330 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13331 cat >> confdefs.h <<EOF
13332 #define $ac_tr_func 1
13336 echo "$ac_t""no
" 1>&6
13345 echo $ac_n "checking
for hypot declaration
""...
$ac_c" 1>&6
13346 echo "configure
:13347: checking
for hypot declaration
" >&5
13347 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
13348 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
13349 echo $ac_n "(cached
) $ac_c" 1>&6
13354 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13355 ac_cpp='$CXXCPP $CPPFLAGS'
13356 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13357 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13358 cross_compiling=$ac_cv_prog_cxx_cross
13360 cat > conftest.$ac_ext <<EOF
13361 #line 13362 "configure
"
13362 #include "confdefs.h
"
13368 if { (eval echo configure:13369: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13370 glibcpp_cv_func_hypot_use=yes
13372 echo "configure
: failed program was
:" >&5
13373 cat conftest.$ac_ext >&5
13375 glibcpp_cv_func_hypot_use=no
13379 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13380 ac_cpp='$CPP $CPPFLAGS'
13381 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13382 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13383 cross_compiling=$ac_cv_prog_cc_cross
13389 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
13391 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
13392 for ac_func in hypot
13394 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13395 echo "configure
:13396: checking
for $ac_func" >&5
13396 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13397 echo $ac_n "(cached
) $ac_c" 1>&6
13399 cat > conftest.$ac_ext <<EOF
13400 #line 13401 "configure
"
13401 #include "confdefs.h
"
13402 /* System header to define __stub macros and hopefully few prototypes,
13403 which can conflict with char $ac_func(); below. */
13404 #include <assert.h>
13405 /* Override any gcc2 internal prototype to avoid an error. */
13406 /* We use char because int might match the return type of a gcc2
13407 builtin and then its argument prototype would still apply. */
13412 /* The GNU C library defines this for functions which it implements
13413 to always fail with ENOSYS. Some functions are actually named
13414 something starting with __ and the normal name is an alias. */
13415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13423 if { (eval echo configure:13424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13425 eval "ac_cv_func_
$ac_func=yes"
13427 echo "configure
: failed program was
:" >&5
13428 cat conftest.$ac_ext >&5
13430 eval "ac_cv_func_
$ac_func=no
"
13435 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13436 echo "$ac_t""yes" 1>&6
13437 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13438 cat >> confdefs.h <<EOF
13439 #define $ac_tr_func 1
13443 echo "$ac_t""no
" 1>&6
13449 echo $ac_n "checking
for _hypot declaration
""...
$ac_c" 1>&6
13450 echo "configure
:13451: checking
for _hypot declaration
" >&5
13451 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
13452 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
13453 echo $ac_n "(cached
) $ac_c" 1>&6
13458 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13459 ac_cpp='$CXXCPP $CPPFLAGS'
13460 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13461 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13462 cross_compiling=$ac_cv_prog_cxx_cross
13464 cat > conftest.$ac_ext <<EOF
13465 #line 13466 "configure
"
13466 #include "confdefs.h
"
13472 if { (eval echo configure:13473: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13474 glibcpp_cv_func__hypot_use=yes
13476 echo "configure
: failed program was
:" >&5
13477 cat conftest.$ac_ext >&5
13479 glibcpp_cv_func__hypot_use=no
13483 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13484 ac_cpp='$CPP $CPPFLAGS'
13485 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13486 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13487 cross_compiling=$ac_cv_prog_cc_cross
13493 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
13495 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
13496 for ac_func in _hypot
13498 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13499 echo "configure
:13500: checking
for $ac_func" >&5
13500 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13501 echo $ac_n "(cached
) $ac_c" 1>&6
13503 cat > conftest.$ac_ext <<EOF
13504 #line 13505 "configure
"
13505 #include "confdefs.h
"
13506 /* System header to define __stub macros and hopefully few prototypes,
13507 which can conflict with char $ac_func(); below. */
13508 #include <assert.h>
13509 /* Override any gcc2 internal prototype to avoid an error. */
13510 /* We use char because int might match the return type of a gcc2
13511 builtin and then its argument prototype would still apply. */
13516 /* The GNU C library defines this for functions which it implements
13517 to always fail with ENOSYS. Some functions are actually named
13518 something starting with __ and the normal name is an alias. */
13519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13527 if { (eval echo configure:13528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13529 eval "ac_cv_func_
$ac_func=yes"
13531 echo "configure
: failed program was
:" >&5
13532 cat conftest.$ac_ext >&5
13534 eval "ac_cv_func_
$ac_func=no
"
13539 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13540 echo "$ac_t""yes" 1>&6
13541 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13542 cat >> confdefs.h <<EOF
13543 #define $ac_tr_func 1
13547 echo "$ac_t""no
" 1>&6
13556 echo $ac_n "checking
for float trig functions
""...
$ac_c" 1>&6
13557 echo "configure
:13558: checking
for float trig functions
" >&5
13558 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
13559 echo $ac_n "(cached
) $ac_c" 1>&6
13564 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13565 ac_cpp='$CXXCPP $CPPFLAGS'
13566 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13567 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13568 cross_compiling=$ac_cv_prog_cxx_cross
13570 cat > conftest.$ac_ext <<EOF
13571 #line 13572 "configure
"
13572 #include "confdefs.h
"
13575 `for x in acosf asinf atanf \
13577 coshf sinhf tanhf; do echo "$x (0);"; done`
13580 if { (eval echo configure:13581: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13582 glibcpp_cv_func_float_trig_use=yes
13584 echo "configure
: failed program was
:" >&5
13585 cat conftest.$ac_ext >&5
13587 glibcpp_cv_func_float_trig_use=no
13591 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13592 ac_cpp='$CPP $CPPFLAGS'
13593 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13594 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13595 cross_compiling=$ac_cv_prog_cc_cross
13599 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
13600 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
13601 for ac_func in acosf asinf atanf \
13605 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13606 echo "configure
:13607: checking
for $ac_func" >&5
13607 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13608 echo $ac_n "(cached
) $ac_c" 1>&6
13610 cat > conftest.$ac_ext <<EOF
13611 #line 13612 "configure
"
13612 #include "confdefs.h
"
13613 /* System header to define __stub macros and hopefully few prototypes,
13614 which can conflict with char $ac_func(); below. */
13615 #include <assert.h>
13616 /* Override any gcc2 internal prototype to avoid an error. */
13617 /* We use char because int might match the return type of a gcc2
13618 builtin and then its argument prototype would still apply. */
13623 /* The GNU C library defines this for functions which it implements
13624 to always fail with ENOSYS. Some functions are actually named
13625 something starting with __ and the normal name is an alias. */
13626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13634 if { (eval echo configure:13635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13636 eval "ac_cv_func_
$ac_func=yes"
13638 echo "configure
: failed program was
:" >&5
13639 cat conftest.$ac_ext >&5
13641 eval "ac_cv_func_
$ac_func=no
"
13646 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13647 echo "$ac_t""yes" 1>&6
13648 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13649 cat >> confdefs.h <<EOF
13650 #define $ac_tr_func 1
13654 echo "$ac_t""no
" 1>&6
13661 echo $ac_n "checking
for float round functions
""...
$ac_c" 1>&6
13662 echo "configure
:13663: checking
for float round functions
" >&5
13663 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
13664 echo $ac_n "(cached
) $ac_c" 1>&6
13669 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13670 ac_cpp='$CXXCPP $CPPFLAGS'
13671 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13672 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13673 cross_compiling=$ac_cv_prog_cxx_cross
13675 cat > conftest.$ac_ext <<EOF
13676 #line 13677 "configure
"
13677 #include "confdefs.h
"
13680 `for x in ceilf floorf; do echo "$x (0);"; done`
13683 if { (eval echo configure:13684: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13685 glibcpp_cv_func_float_round_use=yes
13687 echo "configure
: failed program was
:" >&5
13688 cat conftest.$ac_ext >&5
13690 glibcpp_cv_func_float_round_use=no
13694 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13695 ac_cpp='$CPP $CPPFLAGS'
13696 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13697 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13698 cross_compiling=$ac_cv_prog_cc_cross
13702 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
13703 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
13704 for ac_func in ceilf floorf
13706 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13707 echo "configure
:13708: checking
for $ac_func" >&5
13708 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13709 echo $ac_n "(cached
) $ac_c" 1>&6
13711 cat > conftest.$ac_ext <<EOF
13712 #line 13713 "configure
"
13713 #include "confdefs.h
"
13714 /* System header to define __stub macros and hopefully few prototypes,
13715 which can conflict with char $ac_func(); below. */
13716 #include <assert.h>
13717 /* Override any gcc2 internal prototype to avoid an error. */
13718 /* We use char because int might match the return type of a gcc2
13719 builtin and then its argument prototype would still apply. */
13724 /* The GNU C library defines this for functions which it implements
13725 to always fail with ENOSYS. Some functions are actually named
13726 something starting with __ and the normal name is an alias. */
13727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13735 if { (eval echo configure:13736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13737 eval "ac_cv_func_
$ac_func=yes"
13739 echo "configure
: failed program was
:" >&5
13740 cat conftest.$ac_ext >&5
13742 eval "ac_cv_func_
$ac_func=no
"
13747 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13748 echo "$ac_t""yes" 1>&6
13749 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13750 cat >> confdefs.h <<EOF
13751 #define $ac_tr_func 1
13755 echo "$ac_t""no
" 1>&6
13763 echo $ac_n "checking
for expf declaration
""...
$ac_c" 1>&6
13764 echo "configure
:13765: checking
for expf declaration
" >&5
13765 if test x${glibcpp_cv_func_expf_use+set} != xset; then
13766 if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
13767 echo $ac_n "(cached
) $ac_c" 1>&6
13772 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13773 ac_cpp='$CXXCPP $CPPFLAGS'
13774 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13775 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13776 cross_compiling=$ac_cv_prog_cxx_cross
13778 cat > conftest.$ac_ext <<EOF
13779 #line 13780 "configure
"
13780 #include "confdefs.h
"
13782 #ifdef HAVE_IEEEFP_H
13783 #include <ieeefp.h>
13790 if { (eval echo configure:13791: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13792 glibcpp_cv_func_expf_use=yes
13794 echo "configure
: failed program was
:" >&5
13795 cat conftest.$ac_ext >&5
13797 glibcpp_cv_func_expf_use=no
13801 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13802 ac_cpp='$CPP $CPPFLAGS'
13803 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13804 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13805 cross_compiling=$ac_cv_prog_cc_cross
13811 echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
13813 if test x$glibcpp_cv_func_expf_use = x"yes"; then
13814 for ac_func in expf
13816 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13817 echo "configure
:13818: checking
for $ac_func" >&5
13818 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13819 echo $ac_n "(cached
) $ac_c" 1>&6
13821 cat > conftest.$ac_ext <<EOF
13822 #line 13823 "configure
"
13823 #include "confdefs.h
"
13824 /* System header to define __stub macros and hopefully few prototypes,
13825 which can conflict with char $ac_func(); below. */
13826 #include <assert.h>
13827 /* Override any gcc2 internal prototype to avoid an error. */
13828 /* We use char because int might match the return type of a gcc2
13829 builtin and then its argument prototype would still apply. */
13834 /* The GNU C library defines this for functions which it implements
13835 to always fail with ENOSYS. Some functions are actually named
13836 something starting with __ and the normal name is an alias. */
13837 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13845 if { (eval echo configure:13846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13847 eval "ac_cv_func_
$ac_func=yes"
13849 echo "configure
: failed program was
:" >&5
13850 cat conftest.$ac_ext >&5
13852 eval "ac_cv_func_
$ac_func=no
"
13857 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13858 echo "$ac_t""yes" 1>&6
13859 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13860 cat >> confdefs.h <<EOF
13861 #define $ac_tr_func 1
13865 echo "$ac_t""no
" 1>&6
13871 echo $ac_n "checking
for _expf declaration
""...
$ac_c" 1>&6
13872 echo "configure
:13873: checking
for _expf declaration
" >&5
13873 if test x${glibcpp_cv_func__expf_use+set} != xset; then
13874 if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
13875 echo $ac_n "(cached
) $ac_c" 1>&6
13880 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13881 ac_cpp='$CXXCPP $CPPFLAGS'
13882 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13883 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13884 cross_compiling=$ac_cv_prog_cxx_cross
13886 cat > conftest.$ac_ext <<EOF
13887 #line 13888 "configure
"
13888 #include "confdefs.h
"
13890 #ifdef HAVE_IEEEFP_H
13891 #include <ieeefp.h>
13898 if { (eval echo configure:13899: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13900 glibcpp_cv_func__expf_use=yes
13902 echo "configure
: failed program was
:" >&5
13903 cat conftest.$ac_ext >&5
13905 glibcpp_cv_func__expf_use=no
13909 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13910 ac_cpp='$CPP $CPPFLAGS'
13911 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13912 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13913 cross_compiling=$ac_cv_prog_cc_cross
13919 echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
13921 if test x$glibcpp_cv_func__expf_use = x"yes"; then
13922 for ac_func in _expf
13924 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13925 echo "configure
:13926: checking
for $ac_func" >&5
13926 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13927 echo $ac_n "(cached
) $ac_c" 1>&6
13929 cat > conftest.$ac_ext <<EOF
13930 #line 13931 "configure
"
13931 #include "confdefs.h
"
13932 /* System header to define __stub macros and hopefully few prototypes,
13933 which can conflict with char $ac_func(); below. */
13934 #include <assert.h>
13935 /* Override any gcc2 internal prototype to avoid an error. */
13936 /* We use char because int might match the return type of a gcc2
13937 builtin and then its argument prototype would still apply. */
13942 /* The GNU C library defines this for functions which it implements
13943 to always fail with ENOSYS. Some functions are actually named
13944 something starting with __ and the normal name is an alias. */
13945 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13953 if { (eval echo configure:13954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13955 eval "ac_cv_func_
$ac_func=yes"
13957 echo "configure
: failed program was
:" >&5
13958 cat conftest.$ac_ext >&5
13960 eval "ac_cv_func_
$ac_func=no
"
13965 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13966 echo "$ac_t""yes" 1>&6
13967 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13968 cat >> confdefs.h <<EOF
13969 #define $ac_tr_func 1
13973 echo "$ac_t""no
" 1>&6
13982 echo $ac_n "checking
for isnanf declaration
""...
$ac_c" 1>&6
13983 echo "configure
:13984: checking
for isnanf declaration
" >&5
13984 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
13985 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
13986 echo $ac_n "(cached
) $ac_c" 1>&6
13991 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13992 ac_cpp='$CXXCPP $CPPFLAGS'
13993 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13994 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13995 cross_compiling=$ac_cv_prog_cxx_cross
13997 cat > conftest.$ac_ext <<EOF
13998 #line 13999 "configure
"
13999 #include "confdefs.h
"
14001 #ifdef HAVE_IEEEFP_H
14002 #include <ieeefp.h>
14009 if { (eval echo configure:14010: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14011 glibcpp_cv_func_isnanf_use=yes
14013 echo "configure
: failed program was
:" >&5
14014 cat conftest.$ac_ext >&5
14016 glibcpp_cv_func_isnanf_use=no
14020 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14021 ac_cpp='$CPP $CPPFLAGS'
14022 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14023 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14024 cross_compiling=$ac_cv_prog_cc_cross
14030 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
14032 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
14033 for ac_func in isnanf
14035 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14036 echo "configure
:14037: checking
for $ac_func" >&5
14037 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14038 echo $ac_n "(cached
) $ac_c" 1>&6
14040 cat > conftest.$ac_ext <<EOF
14041 #line 14042 "configure
"
14042 #include "confdefs.h
"
14043 /* System header to define __stub macros and hopefully few prototypes,
14044 which can conflict with char $ac_func(); below. */
14045 #include <assert.h>
14046 /* Override any gcc2 internal prototype to avoid an error. */
14047 /* We use char because int might match the return type of a gcc2
14048 builtin and then its argument prototype would still apply. */
14053 /* The GNU C library defines this for functions which it implements
14054 to always fail with ENOSYS. Some functions are actually named
14055 something starting with __ and the normal name is an alias. */
14056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14064 if { (eval echo configure:14065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14066 eval "ac_cv_func_
$ac_func=yes"
14068 echo "configure
: failed program was
:" >&5
14069 cat conftest.$ac_ext >&5
14071 eval "ac_cv_func_
$ac_func=no
"
14076 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14077 echo "$ac_t""yes" 1>&6
14078 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14079 cat >> confdefs.h <<EOF
14080 #define $ac_tr_func 1
14084 echo "$ac_t""no
" 1>&6
14090 echo $ac_n "checking
for _isnanf declaration
""...
$ac_c" 1>&6
14091 echo "configure
:14092: checking
for _isnanf declaration
" >&5
14092 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
14093 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
14094 echo $ac_n "(cached
) $ac_c" 1>&6
14099 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14100 ac_cpp='$CXXCPP $CPPFLAGS'
14101 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14102 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14103 cross_compiling=$ac_cv_prog_cxx_cross
14105 cat > conftest.$ac_ext <<EOF
14106 #line 14107 "configure
"
14107 #include "confdefs.h
"
14109 #ifdef HAVE_IEEEFP_H
14110 #include <ieeefp.h>
14117 if { (eval echo configure:14118: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14119 glibcpp_cv_func__isnanf_use=yes
14121 echo "configure
: failed program was
:" >&5
14122 cat conftest.$ac_ext >&5
14124 glibcpp_cv_func__isnanf_use=no
14128 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14129 ac_cpp='$CPP $CPPFLAGS'
14130 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14131 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14132 cross_compiling=$ac_cv_prog_cc_cross
14138 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
14140 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
14141 for ac_func in _isnanf
14143 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14144 echo "configure
:14145: checking
for $ac_func" >&5
14145 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14146 echo $ac_n "(cached
) $ac_c" 1>&6
14148 cat > conftest.$ac_ext <<EOF
14149 #line 14150 "configure
"
14150 #include "confdefs.h
"
14151 /* System header to define __stub macros and hopefully few prototypes,
14152 which can conflict with char $ac_func(); below. */
14153 #include <assert.h>
14154 /* Override any gcc2 internal prototype to avoid an error. */
14155 /* We use char because int might match the return type of a gcc2
14156 builtin and then its argument prototype would still apply. */
14161 /* The GNU C library defines this for functions which it implements
14162 to always fail with ENOSYS. Some functions are actually named
14163 something starting with __ and the normal name is an alias. */
14164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14172 if { (eval echo configure:14173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14174 eval "ac_cv_func_
$ac_func=yes"
14176 echo "configure
: failed program was
:" >&5
14177 cat conftest.$ac_ext >&5
14179 eval "ac_cv_func_
$ac_func=no
"
14184 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14185 echo "$ac_t""yes" 1>&6
14186 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14187 cat >> confdefs.h <<EOF
14188 #define $ac_tr_func 1
14192 echo "$ac_t""no
" 1>&6
14201 echo $ac_n "checking
for isinff declaration
""...
$ac_c" 1>&6
14202 echo "configure
:14203: checking
for isinff declaration
" >&5
14203 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
14204 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
14205 echo $ac_n "(cached
) $ac_c" 1>&6
14210 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14211 ac_cpp='$CXXCPP $CPPFLAGS'
14212 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14213 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14214 cross_compiling=$ac_cv_prog_cxx_cross
14216 cat > conftest.$ac_ext <<EOF
14217 #line 14218 "configure
"
14218 #include "confdefs.h
"
14220 #ifdef HAVE_IEEEFP_H
14221 #include <ieeefp.h>
14228 if { (eval echo configure:14229: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14230 glibcpp_cv_func_isinff_use=yes
14232 echo "configure
: failed program was
:" >&5
14233 cat conftest.$ac_ext >&5
14235 glibcpp_cv_func_isinff_use=no
14239 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14240 ac_cpp='$CPP $CPPFLAGS'
14241 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14242 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14243 cross_compiling=$ac_cv_prog_cc_cross
14249 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
14251 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
14252 for ac_func in isinff
14254 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14255 echo "configure
:14256: checking
for $ac_func" >&5
14256 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14257 echo $ac_n "(cached
) $ac_c" 1>&6
14259 cat > conftest.$ac_ext <<EOF
14260 #line 14261 "configure
"
14261 #include "confdefs.h
"
14262 /* System header to define __stub macros and hopefully few prototypes,
14263 which can conflict with char $ac_func(); below. */
14264 #include <assert.h>
14265 /* Override any gcc2 internal prototype to avoid an error. */
14266 /* We use char because int might match the return type of a gcc2
14267 builtin and then its argument prototype would still apply. */
14272 /* The GNU C library defines this for functions which it implements
14273 to always fail with ENOSYS. Some functions are actually named
14274 something starting with __ and the normal name is an alias. */
14275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14283 if { (eval echo configure:14284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14285 eval "ac_cv_func_
$ac_func=yes"
14287 echo "configure
: failed program was
:" >&5
14288 cat conftest.$ac_ext >&5
14290 eval "ac_cv_func_
$ac_func=no
"
14295 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14296 echo "$ac_t""yes" 1>&6
14297 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14298 cat >> confdefs.h <<EOF
14299 #define $ac_tr_func 1
14303 echo "$ac_t""no
" 1>&6
14309 echo $ac_n "checking
for _isinff declaration
""...
$ac_c" 1>&6
14310 echo "configure
:14311: checking
for _isinff declaration
" >&5
14311 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
14312 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
14313 echo $ac_n "(cached
) $ac_c" 1>&6
14318 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14319 ac_cpp='$CXXCPP $CPPFLAGS'
14320 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14321 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14322 cross_compiling=$ac_cv_prog_cxx_cross
14324 cat > conftest.$ac_ext <<EOF
14325 #line 14326 "configure
"
14326 #include "confdefs.h
"
14328 #ifdef HAVE_IEEEFP_H
14329 #include <ieeefp.h>
14336 if { (eval echo configure:14337: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14338 glibcpp_cv_func__isinff_use=yes
14340 echo "configure
: failed program was
:" >&5
14341 cat conftest.$ac_ext >&5
14343 glibcpp_cv_func__isinff_use=no
14347 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14348 ac_cpp='$CPP $CPPFLAGS'
14349 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14350 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14351 cross_compiling=$ac_cv_prog_cc_cross
14357 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
14359 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
14360 for ac_func in _isinff
14362 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14363 echo "configure
:14364: checking
for $ac_func" >&5
14364 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14365 echo $ac_n "(cached
) $ac_c" 1>&6
14367 cat > conftest.$ac_ext <<EOF
14368 #line 14369 "configure
"
14369 #include "confdefs.h
"
14370 /* System header to define __stub macros and hopefully few prototypes,
14371 which can conflict with char $ac_func(); below. */
14372 #include <assert.h>
14373 /* Override any gcc2 internal prototype to avoid an error. */
14374 /* We use char because int might match the return type of a gcc2
14375 builtin and then its argument prototype would still apply. */
14380 /* The GNU C library defines this for functions which it implements
14381 to always fail with ENOSYS. Some functions are actually named
14382 something starting with __ and the normal name is an alias. */
14383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14391 if { (eval echo configure:14392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14393 eval "ac_cv_func_
$ac_func=yes"
14395 echo "configure
: failed program was
:" >&5
14396 cat conftest.$ac_ext >&5
14398 eval "ac_cv_func_
$ac_func=no
"
14403 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14404 echo "$ac_t""yes" 1>&6
14405 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14406 cat >> confdefs.h <<EOF
14407 #define $ac_tr_func 1
14411 echo "$ac_t""no
" 1>&6
14420 echo $ac_n "checking
for atan2f declaration
""...
$ac_c" 1>&6
14421 echo "configure
:14422: checking
for atan2f declaration
" >&5
14422 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
14423 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
14424 echo $ac_n "(cached
) $ac_c" 1>&6
14429 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14430 ac_cpp='$CXXCPP $CPPFLAGS'
14431 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14432 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14433 cross_compiling=$ac_cv_prog_cxx_cross
14435 cat > conftest.$ac_ext <<EOF
14436 #line 14437 "configure
"
14437 #include "confdefs.h
"
14443 if { (eval echo configure:14444: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14445 glibcpp_cv_func_atan2f_use=yes
14447 echo "configure
: failed program was
:" >&5
14448 cat conftest.$ac_ext >&5
14450 glibcpp_cv_func_atan2f_use=no
14454 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14455 ac_cpp='$CPP $CPPFLAGS'
14456 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14457 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14458 cross_compiling=$ac_cv_prog_cc_cross
14464 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
14466 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
14467 for ac_func in atan2f
14469 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14470 echo "configure
:14471: checking
for $ac_func" >&5
14471 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14472 echo $ac_n "(cached
) $ac_c" 1>&6
14474 cat > conftest.$ac_ext <<EOF
14475 #line 14476 "configure
"
14476 #include "confdefs.h
"
14477 /* System header to define __stub macros and hopefully few prototypes,
14478 which can conflict with char $ac_func(); below. */
14479 #include <assert.h>
14480 /* Override any gcc2 internal prototype to avoid an error. */
14481 /* We use char because int might match the return type of a gcc2
14482 builtin and then its argument prototype would still apply. */
14487 /* The GNU C library defines this for functions which it implements
14488 to always fail with ENOSYS. Some functions are actually named
14489 something starting with __ and the normal name is an alias. */
14490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14498 if { (eval echo configure:14499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14500 eval "ac_cv_func_
$ac_func=yes"
14502 echo "configure
: failed program was
:" >&5
14503 cat conftest.$ac_ext >&5
14505 eval "ac_cv_func_
$ac_func=no
"
14510 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14511 echo "$ac_t""yes" 1>&6
14512 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14513 cat >> confdefs.h <<EOF
14514 #define $ac_tr_func 1
14518 echo "$ac_t""no
" 1>&6
14524 echo $ac_n "checking
for _atan2f declaration
""...
$ac_c" 1>&6
14525 echo "configure
:14526: checking
for _atan2f declaration
" >&5
14526 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
14527 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
14528 echo $ac_n "(cached
) $ac_c" 1>&6
14533 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14534 ac_cpp='$CXXCPP $CPPFLAGS'
14535 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14536 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14537 cross_compiling=$ac_cv_prog_cxx_cross
14539 cat > conftest.$ac_ext <<EOF
14540 #line 14541 "configure
"
14541 #include "confdefs.h
"
14547 if { (eval echo configure:14548: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14549 glibcpp_cv_func__atan2f_use=yes
14551 echo "configure
: failed program was
:" >&5
14552 cat conftest.$ac_ext >&5
14554 glibcpp_cv_func__atan2f_use=no
14558 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14559 ac_cpp='$CPP $CPPFLAGS'
14560 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14561 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14562 cross_compiling=$ac_cv_prog_cc_cross
14568 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
14570 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
14571 for ac_func in _atan2f
14573 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14574 echo "configure
:14575: checking
for $ac_func" >&5
14575 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14576 echo $ac_n "(cached
) $ac_c" 1>&6
14578 cat > conftest.$ac_ext <<EOF
14579 #line 14580 "configure
"
14580 #include "confdefs.h
"
14581 /* System header to define __stub macros and hopefully few prototypes,
14582 which can conflict with char $ac_func(); below. */
14583 #include <assert.h>
14584 /* Override any gcc2 internal prototype to avoid an error. */
14585 /* We use char because int might match the return type of a gcc2
14586 builtin and then its argument prototype would still apply. */
14591 /* The GNU C library defines this for functions which it implements
14592 to always fail with ENOSYS. Some functions are actually named
14593 something starting with __ and the normal name is an alias. */
14594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14602 if { (eval echo configure:14603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14604 eval "ac_cv_func_
$ac_func=yes"
14606 echo "configure
: failed program was
:" >&5
14607 cat conftest.$ac_ext >&5
14609 eval "ac_cv_func_
$ac_func=no
"
14614 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14615 echo "$ac_t""yes" 1>&6
14616 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14617 cat >> confdefs.h <<EOF
14618 #define $ac_tr_func 1
14622 echo "$ac_t""no
" 1>&6
14631 echo $ac_n "checking
for fabsf declaration
""...
$ac_c" 1>&6
14632 echo "configure
:14633: checking
for fabsf declaration
" >&5
14633 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
14634 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
14635 echo $ac_n "(cached
) $ac_c" 1>&6
14640 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14641 ac_cpp='$CXXCPP $CPPFLAGS'
14642 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14643 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14644 cross_compiling=$ac_cv_prog_cxx_cross
14646 cat > conftest.$ac_ext <<EOF
14647 #line 14648 "configure
"
14648 #include "confdefs.h
"
14650 #ifdef HAVE_IEEEFP_H
14651 #include <ieeefp.h>
14658 if { (eval echo configure:14659: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14660 glibcpp_cv_func_fabsf_use=yes
14662 echo "configure
: failed program was
:" >&5
14663 cat conftest.$ac_ext >&5
14665 glibcpp_cv_func_fabsf_use=no
14669 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14670 ac_cpp='$CPP $CPPFLAGS'
14671 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14672 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14673 cross_compiling=$ac_cv_prog_cc_cross
14679 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
14681 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
14682 for ac_func in fabsf
14684 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14685 echo "configure
:14686: checking
for $ac_func" >&5
14686 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14687 echo $ac_n "(cached
) $ac_c" 1>&6
14689 cat > conftest.$ac_ext <<EOF
14690 #line 14691 "configure
"
14691 #include "confdefs.h
"
14692 /* System header to define __stub macros and hopefully few prototypes,
14693 which can conflict with char $ac_func(); below. */
14694 #include <assert.h>
14695 /* Override any gcc2 internal prototype to avoid an error. */
14696 /* We use char because int might match the return type of a gcc2
14697 builtin and then its argument prototype would still apply. */
14702 /* The GNU C library defines this for functions which it implements
14703 to always fail with ENOSYS. Some functions are actually named
14704 something starting with __ and the normal name is an alias. */
14705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14713 if { (eval echo configure:14714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14715 eval "ac_cv_func_
$ac_func=yes"
14717 echo "configure
: failed program was
:" >&5
14718 cat conftest.$ac_ext >&5
14720 eval "ac_cv_func_
$ac_func=no
"
14725 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14726 echo "$ac_t""yes" 1>&6
14727 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14728 cat >> confdefs.h <<EOF
14729 #define $ac_tr_func 1
14733 echo "$ac_t""no
" 1>&6
14739 echo $ac_n "checking
for _fabsf declaration
""...
$ac_c" 1>&6
14740 echo "configure
:14741: checking
for _fabsf declaration
" >&5
14741 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
14742 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
14743 echo $ac_n "(cached
) $ac_c" 1>&6
14748 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14749 ac_cpp='$CXXCPP $CPPFLAGS'
14750 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14751 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14752 cross_compiling=$ac_cv_prog_cxx_cross
14754 cat > conftest.$ac_ext <<EOF
14755 #line 14756 "configure
"
14756 #include "confdefs.h
"
14758 #ifdef HAVE_IEEEFP_H
14759 #include <ieeefp.h>
14766 if { (eval echo configure:14767: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14768 glibcpp_cv_func__fabsf_use=yes
14770 echo "configure
: failed program was
:" >&5
14771 cat conftest.$ac_ext >&5
14773 glibcpp_cv_func__fabsf_use=no
14777 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14778 ac_cpp='$CPP $CPPFLAGS'
14779 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14780 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14781 cross_compiling=$ac_cv_prog_cc_cross
14787 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
14789 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
14790 for ac_func in _fabsf
14792 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14793 echo "configure
:14794: checking
for $ac_func" >&5
14794 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14795 echo $ac_n "(cached
) $ac_c" 1>&6
14797 cat > conftest.$ac_ext <<EOF
14798 #line 14799 "configure
"
14799 #include "confdefs.h
"
14800 /* System header to define __stub macros and hopefully few prototypes,
14801 which can conflict with char $ac_func(); below. */
14802 #include <assert.h>
14803 /* Override any gcc2 internal prototype to avoid an error. */
14804 /* We use char because int might match the return type of a gcc2
14805 builtin and then its argument prototype would still apply. */
14810 /* The GNU C library defines this for functions which it implements
14811 to always fail with ENOSYS. Some functions are actually named
14812 something starting with __ and the normal name is an alias. */
14813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14821 if { (eval echo configure:14822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14823 eval "ac_cv_func_
$ac_func=yes"
14825 echo "configure
: failed program was
:" >&5
14826 cat conftest.$ac_ext >&5
14828 eval "ac_cv_func_
$ac_func=no
"
14833 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14834 echo "$ac_t""yes" 1>&6
14835 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14836 cat >> confdefs.h <<EOF
14837 #define $ac_tr_func 1
14841 echo "$ac_t""no
" 1>&6
14850 echo $ac_n "checking
for fmodf declaration
""...
$ac_c" 1>&6
14851 echo "configure
:14852: checking
for fmodf declaration
" >&5
14852 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
14853 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
14854 echo $ac_n "(cached
) $ac_c" 1>&6
14859 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14860 ac_cpp='$CXXCPP $CPPFLAGS'
14861 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14862 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14863 cross_compiling=$ac_cv_prog_cxx_cross
14865 cat > conftest.$ac_ext <<EOF
14866 #line 14867 "configure
"
14867 #include "confdefs.h
"
14873 if { (eval echo configure:14874: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14875 glibcpp_cv_func_fmodf_use=yes
14877 echo "configure
: failed program was
:" >&5
14878 cat conftest.$ac_ext >&5
14880 glibcpp_cv_func_fmodf_use=no
14884 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14885 ac_cpp='$CPP $CPPFLAGS'
14886 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14887 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14888 cross_compiling=$ac_cv_prog_cc_cross
14894 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
14896 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
14897 for ac_func in fmodf
14899 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14900 echo "configure
:14901: checking
for $ac_func" >&5
14901 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14902 echo $ac_n "(cached
) $ac_c" 1>&6
14904 cat > conftest.$ac_ext <<EOF
14905 #line 14906 "configure
"
14906 #include "confdefs.h
"
14907 /* System header to define __stub macros and hopefully few prototypes,
14908 which can conflict with char $ac_func(); below. */
14909 #include <assert.h>
14910 /* Override any gcc2 internal prototype to avoid an error. */
14911 /* We use char because int might match the return type of a gcc2
14912 builtin and then its argument prototype would still apply. */
14917 /* The GNU C library defines this for functions which it implements
14918 to always fail with ENOSYS. Some functions are actually named
14919 something starting with __ and the normal name is an alias. */
14920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14928 if { (eval echo configure:14929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14930 eval "ac_cv_func_
$ac_func=yes"
14932 echo "configure
: failed program was
:" >&5
14933 cat conftest.$ac_ext >&5
14935 eval "ac_cv_func_
$ac_func=no
"
14940 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14941 echo "$ac_t""yes" 1>&6
14942 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14943 cat >> confdefs.h <<EOF
14944 #define $ac_tr_func 1
14948 echo "$ac_t""no
" 1>&6
14954 echo $ac_n "checking
for _fmodf declaration
""...
$ac_c" 1>&6
14955 echo "configure
:14956: checking
for _fmodf declaration
" >&5
14956 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
14957 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
14958 echo $ac_n "(cached
) $ac_c" 1>&6
14963 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14964 ac_cpp='$CXXCPP $CPPFLAGS'
14965 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14966 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14967 cross_compiling=$ac_cv_prog_cxx_cross
14969 cat > conftest.$ac_ext <<EOF
14970 #line 14971 "configure
"
14971 #include "confdefs.h
"
14977 if { (eval echo configure:14978: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14979 glibcpp_cv_func__fmodf_use=yes
14981 echo "configure
: failed program was
:" >&5
14982 cat conftest.$ac_ext >&5
14984 glibcpp_cv_func__fmodf_use=no
14988 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14989 ac_cpp='$CPP $CPPFLAGS'
14990 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14991 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14992 cross_compiling=$ac_cv_prog_cc_cross
14998 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
15000 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
15001 for ac_func in _fmodf
15003 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15004 echo "configure
:15005: checking
for $ac_func" >&5
15005 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15006 echo $ac_n "(cached
) $ac_c" 1>&6
15008 cat > conftest.$ac_ext <<EOF
15009 #line 15010 "configure
"
15010 #include "confdefs.h
"
15011 /* System header to define __stub macros and hopefully few prototypes,
15012 which can conflict with char $ac_func(); below. */
15013 #include <assert.h>
15014 /* Override any gcc2 internal prototype to avoid an error. */
15015 /* We use char because int might match the return type of a gcc2
15016 builtin and then its argument prototype would still apply. */
15021 /* The GNU C library defines this for functions which it implements
15022 to always fail with ENOSYS. Some functions are actually named
15023 something starting with __ and the normal name is an alias. */
15024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15032 if { (eval echo configure:15033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15034 eval "ac_cv_func_
$ac_func=yes"
15036 echo "configure
: failed program was
:" >&5
15037 cat conftest.$ac_ext >&5
15039 eval "ac_cv_func_
$ac_func=no
"
15044 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15045 echo "$ac_t""yes" 1>&6
15046 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15047 cat >> confdefs.h <<EOF
15048 #define $ac_tr_func 1
15052 echo "$ac_t""no
" 1>&6
15061 echo $ac_n "checking
for frexpf declaration
""...
$ac_c" 1>&6
15062 echo "configure
:15063: checking
for frexpf declaration
" >&5
15063 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
15064 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
15065 echo $ac_n "(cached
) $ac_c" 1>&6
15070 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15071 ac_cpp='$CXXCPP $CPPFLAGS'
15072 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15073 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15074 cross_compiling=$ac_cv_prog_cxx_cross
15076 cat > conftest.$ac_ext <<EOF
15077 #line 15078 "configure
"
15078 #include "confdefs.h
"
15084 if { (eval echo configure:15085: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15086 glibcpp_cv_func_frexpf_use=yes
15088 echo "configure
: failed program was
:" >&5
15089 cat conftest.$ac_ext >&5
15091 glibcpp_cv_func_frexpf_use=no
15095 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15096 ac_cpp='$CPP $CPPFLAGS'
15097 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15098 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15099 cross_compiling=$ac_cv_prog_cc_cross
15105 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
15107 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
15108 for ac_func in frexpf
15110 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15111 echo "configure
:15112: checking
for $ac_func" >&5
15112 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15113 echo $ac_n "(cached
) $ac_c" 1>&6
15115 cat > conftest.$ac_ext <<EOF
15116 #line 15117 "configure
"
15117 #include "confdefs.h
"
15118 /* System header to define __stub macros and hopefully few prototypes,
15119 which can conflict with char $ac_func(); below. */
15120 #include <assert.h>
15121 /* Override any gcc2 internal prototype to avoid an error. */
15122 /* We use char because int might match the return type of a gcc2
15123 builtin and then its argument prototype would still apply. */
15128 /* The GNU C library defines this for functions which it implements
15129 to always fail with ENOSYS. Some functions are actually named
15130 something starting with __ and the normal name is an alias. */
15131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15139 if { (eval echo configure:15140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15141 eval "ac_cv_func_
$ac_func=yes"
15143 echo "configure
: failed program was
:" >&5
15144 cat conftest.$ac_ext >&5
15146 eval "ac_cv_func_
$ac_func=no
"
15151 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15152 echo "$ac_t""yes" 1>&6
15153 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15154 cat >> confdefs.h <<EOF
15155 #define $ac_tr_func 1
15159 echo "$ac_t""no
" 1>&6
15165 echo $ac_n "checking
for _frexpf declaration
""...
$ac_c" 1>&6
15166 echo "configure
:15167: checking
for _frexpf declaration
" >&5
15167 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
15168 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
15169 echo $ac_n "(cached
) $ac_c" 1>&6
15174 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15175 ac_cpp='$CXXCPP $CPPFLAGS'
15176 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15177 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15178 cross_compiling=$ac_cv_prog_cxx_cross
15180 cat > conftest.$ac_ext <<EOF
15181 #line 15182 "configure
"
15182 #include "confdefs.h
"
15188 if { (eval echo configure:15189: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15190 glibcpp_cv_func__frexpf_use=yes
15192 echo "configure
: failed program was
:" >&5
15193 cat conftest.$ac_ext >&5
15195 glibcpp_cv_func__frexpf_use=no
15199 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15200 ac_cpp='$CPP $CPPFLAGS'
15201 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15202 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15203 cross_compiling=$ac_cv_prog_cc_cross
15209 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
15211 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
15212 for ac_func in _frexpf
15214 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15215 echo "configure
:15216: checking
for $ac_func" >&5
15216 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15217 echo $ac_n "(cached
) $ac_c" 1>&6
15219 cat > conftest.$ac_ext <<EOF
15220 #line 15221 "configure
"
15221 #include "confdefs.h
"
15222 /* System header to define __stub macros and hopefully few prototypes,
15223 which can conflict with char $ac_func(); below. */
15224 #include <assert.h>
15225 /* Override any gcc2 internal prototype to avoid an error. */
15226 /* We use char because int might match the return type of a gcc2
15227 builtin and then its argument prototype would still apply. */
15232 /* The GNU C library defines this for functions which it implements
15233 to always fail with ENOSYS. Some functions are actually named
15234 something starting with __ and the normal name is an alias. */
15235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15243 if { (eval echo configure:15244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15245 eval "ac_cv_func_
$ac_func=yes"
15247 echo "configure
: failed program was
:" >&5
15248 cat conftest.$ac_ext >&5
15250 eval "ac_cv_func_
$ac_func=no
"
15255 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15256 echo "$ac_t""yes" 1>&6
15257 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15258 cat >> confdefs.h <<EOF
15259 #define $ac_tr_func 1
15263 echo "$ac_t""no
" 1>&6
15272 echo $ac_n "checking
for hypotf declaration
""...
$ac_c" 1>&6
15273 echo "configure
:15274: checking
for hypotf declaration
" >&5
15274 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
15275 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
15276 echo $ac_n "(cached
) $ac_c" 1>&6
15281 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15282 ac_cpp='$CXXCPP $CPPFLAGS'
15283 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15284 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15285 cross_compiling=$ac_cv_prog_cxx_cross
15287 cat > conftest.$ac_ext <<EOF
15288 #line 15289 "configure
"
15289 #include "confdefs.h
"
15295 if { (eval echo configure:15296: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15297 glibcpp_cv_func_hypotf_use=yes
15299 echo "configure
: failed program was
:" >&5
15300 cat conftest.$ac_ext >&5
15302 glibcpp_cv_func_hypotf_use=no
15306 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15307 ac_cpp='$CPP $CPPFLAGS'
15308 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15309 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15310 cross_compiling=$ac_cv_prog_cc_cross
15316 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
15318 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
15319 for ac_func in hypotf
15321 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15322 echo "configure
:15323: checking
for $ac_func" >&5
15323 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15324 echo $ac_n "(cached
) $ac_c" 1>&6
15326 cat > conftest.$ac_ext <<EOF
15327 #line 15328 "configure
"
15328 #include "confdefs.h
"
15329 /* System header to define __stub macros and hopefully few prototypes,
15330 which can conflict with char $ac_func(); below. */
15331 #include <assert.h>
15332 /* Override any gcc2 internal prototype to avoid an error. */
15333 /* We use char because int might match the return type of a gcc2
15334 builtin and then its argument prototype would still apply. */
15339 /* The GNU C library defines this for functions which it implements
15340 to always fail with ENOSYS. Some functions are actually named
15341 something starting with __ and the normal name is an alias. */
15342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15350 if { (eval echo configure:15351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15352 eval "ac_cv_func_
$ac_func=yes"
15354 echo "configure
: failed program was
:" >&5
15355 cat conftest.$ac_ext >&5
15357 eval "ac_cv_func_
$ac_func=no
"
15362 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15363 echo "$ac_t""yes" 1>&6
15364 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15365 cat >> confdefs.h <<EOF
15366 #define $ac_tr_func 1
15370 echo "$ac_t""no
" 1>&6
15376 echo $ac_n "checking
for _hypotf declaration
""...
$ac_c" 1>&6
15377 echo "configure
:15378: checking
for _hypotf declaration
" >&5
15378 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
15379 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
15380 echo $ac_n "(cached
) $ac_c" 1>&6
15385 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15386 ac_cpp='$CXXCPP $CPPFLAGS'
15387 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15388 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15389 cross_compiling=$ac_cv_prog_cxx_cross
15391 cat > conftest.$ac_ext <<EOF
15392 #line 15393 "configure
"
15393 #include "confdefs.h
"
15399 if { (eval echo configure:15400: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15401 glibcpp_cv_func__hypotf_use=yes
15403 echo "configure
: failed program was
:" >&5
15404 cat conftest.$ac_ext >&5
15406 glibcpp_cv_func__hypotf_use=no
15410 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15411 ac_cpp='$CPP $CPPFLAGS'
15412 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15413 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15414 cross_compiling=$ac_cv_prog_cc_cross
15420 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
15422 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
15423 for ac_func in _hypotf
15425 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15426 echo "configure
:15427: checking
for $ac_func" >&5
15427 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15428 echo $ac_n "(cached
) $ac_c" 1>&6
15430 cat > conftest.$ac_ext <<EOF
15431 #line 15432 "configure
"
15432 #include "confdefs.h
"
15433 /* System header to define __stub macros and hopefully few prototypes,
15434 which can conflict with char $ac_func(); below. */
15435 #include <assert.h>
15436 /* Override any gcc2 internal prototype to avoid an error. */
15437 /* We use char because int might match the return type of a gcc2
15438 builtin and then its argument prototype would still apply. */
15443 /* The GNU C library defines this for functions which it implements
15444 to always fail with ENOSYS. Some functions are actually named
15445 something starting with __ and the normal name is an alias. */
15446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15454 if { (eval echo configure:15455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15456 eval "ac_cv_func_
$ac_func=yes"
15458 echo "configure
: failed program was
:" >&5
15459 cat conftest.$ac_ext >&5
15461 eval "ac_cv_func_
$ac_func=no
"
15466 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15467 echo "$ac_t""yes" 1>&6
15468 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15469 cat >> confdefs.h <<EOF
15470 #define $ac_tr_func 1
15474 echo "$ac_t""no
" 1>&6
15483 echo $ac_n "checking
for ldexpf declaration
""...
$ac_c" 1>&6
15484 echo "configure
:15485: checking
for ldexpf declaration
" >&5
15485 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
15486 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
15487 echo $ac_n "(cached
) $ac_c" 1>&6
15492 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15493 ac_cpp='$CXXCPP $CPPFLAGS'
15494 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15495 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15496 cross_compiling=$ac_cv_prog_cxx_cross
15498 cat > conftest.$ac_ext <<EOF
15499 #line 15500 "configure
"
15500 #include "confdefs.h
"
15506 if { (eval echo configure:15507: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15508 glibcpp_cv_func_ldexpf_use=yes
15510 echo "configure
: failed program was
:" >&5
15511 cat conftest.$ac_ext >&5
15513 glibcpp_cv_func_ldexpf_use=no
15517 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15518 ac_cpp='$CPP $CPPFLAGS'
15519 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15520 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15521 cross_compiling=$ac_cv_prog_cc_cross
15527 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
15529 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
15530 for ac_func in ldexpf
15532 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15533 echo "configure
:15534: checking
for $ac_func" >&5
15534 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15535 echo $ac_n "(cached
) $ac_c" 1>&6
15537 cat > conftest.$ac_ext <<EOF
15538 #line 15539 "configure
"
15539 #include "confdefs.h
"
15540 /* System header to define __stub macros and hopefully few prototypes,
15541 which can conflict with char $ac_func(); below. */
15542 #include <assert.h>
15543 /* Override any gcc2 internal prototype to avoid an error. */
15544 /* We use char because int might match the return type of a gcc2
15545 builtin and then its argument prototype would still apply. */
15550 /* The GNU C library defines this for functions which it implements
15551 to always fail with ENOSYS. Some functions are actually named
15552 something starting with __ and the normal name is an alias. */
15553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15561 if { (eval echo configure:15562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15563 eval "ac_cv_func_
$ac_func=yes"
15565 echo "configure
: failed program was
:" >&5
15566 cat conftest.$ac_ext >&5
15568 eval "ac_cv_func_
$ac_func=no
"
15573 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15574 echo "$ac_t""yes" 1>&6
15575 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15576 cat >> confdefs.h <<EOF
15577 #define $ac_tr_func 1
15581 echo "$ac_t""no
" 1>&6
15587 echo $ac_n "checking
for _ldexpf declaration
""...
$ac_c" 1>&6
15588 echo "configure
:15589: checking
for _ldexpf declaration
" >&5
15589 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
15590 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
15591 echo $ac_n "(cached
) $ac_c" 1>&6
15596 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15597 ac_cpp='$CXXCPP $CPPFLAGS'
15598 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15599 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15600 cross_compiling=$ac_cv_prog_cxx_cross
15602 cat > conftest.$ac_ext <<EOF
15603 #line 15604 "configure
"
15604 #include "confdefs.h
"
15610 if { (eval echo configure:15611: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15612 glibcpp_cv_func__ldexpf_use=yes
15614 echo "configure
: failed program was
:" >&5
15615 cat conftest.$ac_ext >&5
15617 glibcpp_cv_func__ldexpf_use=no
15621 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15622 ac_cpp='$CPP $CPPFLAGS'
15623 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15624 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15625 cross_compiling=$ac_cv_prog_cc_cross
15631 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
15633 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
15634 for ac_func in _ldexpf
15636 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15637 echo "configure
:15638: checking
for $ac_func" >&5
15638 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15639 echo $ac_n "(cached
) $ac_c" 1>&6
15641 cat > conftest.$ac_ext <<EOF
15642 #line 15643 "configure
"
15643 #include "confdefs.h
"
15644 /* System header to define __stub macros and hopefully few prototypes,
15645 which can conflict with char $ac_func(); below. */
15646 #include <assert.h>
15647 /* Override any gcc2 internal prototype to avoid an error. */
15648 /* We use char because int might match the return type of a gcc2
15649 builtin and then its argument prototype would still apply. */
15654 /* The GNU C library defines this for functions which it implements
15655 to always fail with ENOSYS. Some functions are actually named
15656 something starting with __ and the normal name is an alias. */
15657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15665 if { (eval echo configure:15666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15667 eval "ac_cv_func_
$ac_func=yes"
15669 echo "configure
: failed program was
:" >&5
15670 cat conftest.$ac_ext >&5
15672 eval "ac_cv_func_
$ac_func=no
"
15677 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15678 echo "$ac_t""yes" 1>&6
15679 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15680 cat >> confdefs.h <<EOF
15681 #define $ac_tr_func 1
15685 echo "$ac_t""no
" 1>&6
15694 echo $ac_n "checking
for logf declaration
""...
$ac_c" 1>&6
15695 echo "configure
:15696: checking
for logf declaration
" >&5
15696 if test x${glibcpp_cv_func_logf_use+set} != xset; then
15697 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
15698 echo $ac_n "(cached
) $ac_c" 1>&6
15703 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15704 ac_cpp='$CXXCPP $CPPFLAGS'
15705 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15706 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15707 cross_compiling=$ac_cv_prog_cxx_cross
15709 cat > conftest.$ac_ext <<EOF
15710 #line 15711 "configure
"
15711 #include "confdefs.h
"
15713 #ifdef HAVE_IEEEFP_H
15714 #include <ieeefp.h>
15721 if { (eval echo configure:15722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15723 glibcpp_cv_func_logf_use=yes
15725 echo "configure
: failed program was
:" >&5
15726 cat conftest.$ac_ext >&5
15728 glibcpp_cv_func_logf_use=no
15732 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15733 ac_cpp='$CPP $CPPFLAGS'
15734 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15735 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15736 cross_compiling=$ac_cv_prog_cc_cross
15742 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
15744 if test x$glibcpp_cv_func_logf_use = x"yes"; then
15745 for ac_func in logf
15747 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15748 echo "configure
:15749: checking
for $ac_func" >&5
15749 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15750 echo $ac_n "(cached
) $ac_c" 1>&6
15752 cat > conftest.$ac_ext <<EOF
15753 #line 15754 "configure
"
15754 #include "confdefs.h
"
15755 /* System header to define __stub macros and hopefully few prototypes,
15756 which can conflict with char $ac_func(); below. */
15757 #include <assert.h>
15758 /* Override any gcc2 internal prototype to avoid an error. */
15759 /* We use char because int might match the return type of a gcc2
15760 builtin and then its argument prototype would still apply. */
15765 /* The GNU C library defines this for functions which it implements
15766 to always fail with ENOSYS. Some functions are actually named
15767 something starting with __ and the normal name is an alias. */
15768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15776 if { (eval echo configure:15777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15778 eval "ac_cv_func_
$ac_func=yes"
15780 echo "configure
: failed program was
:" >&5
15781 cat conftest.$ac_ext >&5
15783 eval "ac_cv_func_
$ac_func=no
"
15788 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15789 echo "$ac_t""yes" 1>&6
15790 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15791 cat >> confdefs.h <<EOF
15792 #define $ac_tr_func 1
15796 echo "$ac_t""no
" 1>&6
15802 echo $ac_n "checking
for _logf declaration
""...
$ac_c" 1>&6
15803 echo "configure
:15804: checking
for _logf declaration
" >&5
15804 if test x${glibcpp_cv_func__logf_use+set} != xset; then
15805 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
15806 echo $ac_n "(cached
) $ac_c" 1>&6
15811 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15812 ac_cpp='$CXXCPP $CPPFLAGS'
15813 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15814 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15815 cross_compiling=$ac_cv_prog_cxx_cross
15817 cat > conftest.$ac_ext <<EOF
15818 #line 15819 "configure
"
15819 #include "confdefs.h
"
15821 #ifdef HAVE_IEEEFP_H
15822 #include <ieeefp.h>
15829 if { (eval echo configure:15830: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15831 glibcpp_cv_func__logf_use=yes
15833 echo "configure
: failed program was
:" >&5
15834 cat conftest.$ac_ext >&5
15836 glibcpp_cv_func__logf_use=no
15840 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15841 ac_cpp='$CPP $CPPFLAGS'
15842 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15843 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15844 cross_compiling=$ac_cv_prog_cc_cross
15850 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
15852 if test x$glibcpp_cv_func__logf_use = x"yes"; then
15853 for ac_func in _logf
15855 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15856 echo "configure
:15857: checking
for $ac_func" >&5
15857 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15858 echo $ac_n "(cached
) $ac_c" 1>&6
15860 cat > conftest.$ac_ext <<EOF
15861 #line 15862 "configure
"
15862 #include "confdefs.h
"
15863 /* System header to define __stub macros and hopefully few prototypes,
15864 which can conflict with char $ac_func(); below. */
15865 #include <assert.h>
15866 /* Override any gcc2 internal prototype to avoid an error. */
15867 /* We use char because int might match the return type of a gcc2
15868 builtin and then its argument prototype would still apply. */
15873 /* The GNU C library defines this for functions which it implements
15874 to always fail with ENOSYS. Some functions are actually named
15875 something starting with __ and the normal name is an alias. */
15876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15884 if { (eval echo configure:15885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15886 eval "ac_cv_func_
$ac_func=yes"
15888 echo "configure
: failed program was
:" >&5
15889 cat conftest.$ac_ext >&5
15891 eval "ac_cv_func_
$ac_func=no
"
15896 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15897 echo "$ac_t""yes" 1>&6
15898 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15899 cat >> confdefs.h <<EOF
15900 #define $ac_tr_func 1
15904 echo "$ac_t""no
" 1>&6
15913 echo $ac_n "checking
for log10f declaration
""...
$ac_c" 1>&6
15914 echo "configure
:15915: checking
for log10f declaration
" >&5
15915 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
15916 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
15917 echo $ac_n "(cached
) $ac_c" 1>&6
15922 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15923 ac_cpp='$CXXCPP $CPPFLAGS'
15924 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15925 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15926 cross_compiling=$ac_cv_prog_cxx_cross
15928 cat > conftest.$ac_ext <<EOF
15929 #line 15930 "configure
"
15930 #include "confdefs.h
"
15932 #ifdef HAVE_IEEEFP_H
15933 #include <ieeefp.h>
15940 if { (eval echo configure:15941: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15942 glibcpp_cv_func_log10f_use=yes
15944 echo "configure
: failed program was
:" >&5
15945 cat conftest.$ac_ext >&5
15947 glibcpp_cv_func_log10f_use=no
15951 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15952 ac_cpp='$CPP $CPPFLAGS'
15953 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15954 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15955 cross_compiling=$ac_cv_prog_cc_cross
15961 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
15963 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
15964 for ac_func in log10f
15966 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15967 echo "configure
:15968: checking
for $ac_func" >&5
15968 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15969 echo $ac_n "(cached
) $ac_c" 1>&6
15971 cat > conftest.$ac_ext <<EOF
15972 #line 15973 "configure
"
15973 #include "confdefs.h
"
15974 /* System header to define __stub macros and hopefully few prototypes,
15975 which can conflict with char $ac_func(); below. */
15976 #include <assert.h>
15977 /* Override any gcc2 internal prototype to avoid an error. */
15978 /* We use char because int might match the return type of a gcc2
15979 builtin and then its argument prototype would still apply. */
15984 /* The GNU C library defines this for functions which it implements
15985 to always fail with ENOSYS. Some functions are actually named
15986 something starting with __ and the normal name is an alias. */
15987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15995 if { (eval echo configure:15996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15997 eval "ac_cv_func_
$ac_func=yes"
15999 echo "configure
: failed program was
:" >&5
16000 cat conftest.$ac_ext >&5
16002 eval "ac_cv_func_
$ac_func=no
"
16007 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16008 echo "$ac_t""yes" 1>&6
16009 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16010 cat >> confdefs.h <<EOF
16011 #define $ac_tr_func 1
16015 echo "$ac_t""no
" 1>&6
16021 echo $ac_n "checking
for _log10f declaration
""...
$ac_c" 1>&6
16022 echo "configure
:16023: checking
for _log10f declaration
" >&5
16023 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
16024 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
16025 echo $ac_n "(cached
) $ac_c" 1>&6
16030 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16031 ac_cpp='$CXXCPP $CPPFLAGS'
16032 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16033 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16034 cross_compiling=$ac_cv_prog_cxx_cross
16036 cat > conftest.$ac_ext <<EOF
16037 #line 16038 "configure
"
16038 #include "confdefs.h
"
16040 #ifdef HAVE_IEEEFP_H
16041 #include <ieeefp.h>
16048 if { (eval echo configure:16049: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16050 glibcpp_cv_func__log10f_use=yes
16052 echo "configure
: failed program was
:" >&5
16053 cat conftest.$ac_ext >&5
16055 glibcpp_cv_func__log10f_use=no
16059 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16060 ac_cpp='$CPP $CPPFLAGS'
16061 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16062 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16063 cross_compiling=$ac_cv_prog_cc_cross
16069 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
16071 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
16072 for ac_func in _log10f
16074 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16075 echo "configure
:16076: checking
for $ac_func" >&5
16076 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16077 echo $ac_n "(cached
) $ac_c" 1>&6
16079 cat > conftest.$ac_ext <<EOF
16080 #line 16081 "configure
"
16081 #include "confdefs.h
"
16082 /* System header to define __stub macros and hopefully few prototypes,
16083 which can conflict with char $ac_func(); below. */
16084 #include <assert.h>
16085 /* Override any gcc2 internal prototype to avoid an error. */
16086 /* We use char because int might match the return type of a gcc2
16087 builtin and then its argument prototype would still apply. */
16092 /* The GNU C library defines this for functions which it implements
16093 to always fail with ENOSYS. Some functions are actually named
16094 something starting with __ and the normal name is an alias. */
16095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16103 if { (eval echo configure:16104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16105 eval "ac_cv_func_
$ac_func=yes"
16107 echo "configure
: failed program was
:" >&5
16108 cat conftest.$ac_ext >&5
16110 eval "ac_cv_func_
$ac_func=no
"
16115 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16116 echo "$ac_t""yes" 1>&6
16117 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16118 cat >> confdefs.h <<EOF
16119 #define $ac_tr_func 1
16123 echo "$ac_t""no
" 1>&6
16132 echo $ac_n "checking
for modff declaration
""...
$ac_c" 1>&6
16133 echo "configure
:16134: checking
for modff declaration
" >&5
16134 if test x${glibcpp_cv_func_modff_use+set} != xset; then
16135 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
16136 echo $ac_n "(cached
) $ac_c" 1>&6
16141 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16142 ac_cpp='$CXXCPP $CPPFLAGS'
16143 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16144 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16145 cross_compiling=$ac_cv_prog_cxx_cross
16147 cat > conftest.$ac_ext <<EOF
16148 #line 16149 "configure
"
16149 #include "confdefs.h
"
16155 if { (eval echo configure:16156: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16157 glibcpp_cv_func_modff_use=yes
16159 echo "configure
: failed program was
:" >&5
16160 cat conftest.$ac_ext >&5
16162 glibcpp_cv_func_modff_use=no
16166 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16167 ac_cpp='$CPP $CPPFLAGS'
16168 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16169 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16170 cross_compiling=$ac_cv_prog_cc_cross
16176 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
16178 if test x$glibcpp_cv_func_modff_use = x"yes"; then
16179 for ac_func in modff
16181 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16182 echo "configure
:16183: checking
for $ac_func" >&5
16183 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16184 echo $ac_n "(cached
) $ac_c" 1>&6
16186 cat > conftest.$ac_ext <<EOF
16187 #line 16188 "configure
"
16188 #include "confdefs.h
"
16189 /* System header to define __stub macros and hopefully few prototypes,
16190 which can conflict with char $ac_func(); below. */
16191 #include <assert.h>
16192 /* Override any gcc2 internal prototype to avoid an error. */
16193 /* We use char because int might match the return type of a gcc2
16194 builtin and then its argument prototype would still apply. */
16199 /* The GNU C library defines this for functions which it implements
16200 to always fail with ENOSYS. Some functions are actually named
16201 something starting with __ and the normal name is an alias. */
16202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16210 if { (eval echo configure:16211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16212 eval "ac_cv_func_
$ac_func=yes"
16214 echo "configure
: failed program was
:" >&5
16215 cat conftest.$ac_ext >&5
16217 eval "ac_cv_func_
$ac_func=no
"
16222 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16223 echo "$ac_t""yes" 1>&6
16224 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16225 cat >> confdefs.h <<EOF
16226 #define $ac_tr_func 1
16230 echo "$ac_t""no
" 1>&6
16236 echo $ac_n "checking
for _modff declaration
""...
$ac_c" 1>&6
16237 echo "configure
:16238: checking
for _modff declaration
" >&5
16238 if test x${glibcpp_cv_func__modff_use+set} != xset; then
16239 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
16240 echo $ac_n "(cached
) $ac_c" 1>&6
16245 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16246 ac_cpp='$CXXCPP $CPPFLAGS'
16247 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16248 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16249 cross_compiling=$ac_cv_prog_cxx_cross
16251 cat > conftest.$ac_ext <<EOF
16252 #line 16253 "configure
"
16253 #include "confdefs.h
"
16259 if { (eval echo configure:16260: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16261 glibcpp_cv_func__modff_use=yes
16263 echo "configure
: failed program was
:" >&5
16264 cat conftest.$ac_ext >&5
16266 glibcpp_cv_func__modff_use=no
16270 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16271 ac_cpp='$CPP $CPPFLAGS'
16272 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16273 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16274 cross_compiling=$ac_cv_prog_cc_cross
16280 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
16282 if test x$glibcpp_cv_func__modff_use = x"yes"; then
16283 for ac_func in _modff
16285 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16286 echo "configure
:16287: checking
for $ac_func" >&5
16287 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16288 echo $ac_n "(cached
) $ac_c" 1>&6
16290 cat > conftest.$ac_ext <<EOF
16291 #line 16292 "configure
"
16292 #include "confdefs.h
"
16293 /* System header to define __stub macros and hopefully few prototypes,
16294 which can conflict with char $ac_func(); below. */
16295 #include <assert.h>
16296 /* Override any gcc2 internal prototype to avoid an error. */
16297 /* We use char because int might match the return type of a gcc2
16298 builtin and then its argument prototype would still apply. */
16303 /* The GNU C library defines this for functions which it implements
16304 to always fail with ENOSYS. Some functions are actually named
16305 something starting with __ and the normal name is an alias. */
16306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16314 if { (eval echo configure:16315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16316 eval "ac_cv_func_
$ac_func=yes"
16318 echo "configure
: failed program was
:" >&5
16319 cat conftest.$ac_ext >&5
16321 eval "ac_cv_func_
$ac_func=no
"
16326 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16327 echo "$ac_t""yes" 1>&6
16328 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16329 cat >> confdefs.h <<EOF
16330 #define $ac_tr_func 1
16334 echo "$ac_t""no
" 1>&6
16343 echo $ac_n "checking
for powf declaration
""...
$ac_c" 1>&6
16344 echo "configure
:16345: checking
for powf declaration
" >&5
16345 if test x${glibcpp_cv_func_powf_use+set} != xset; then
16346 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
16347 echo $ac_n "(cached
) $ac_c" 1>&6
16352 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16353 ac_cpp='$CXXCPP $CPPFLAGS'
16354 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16355 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16356 cross_compiling=$ac_cv_prog_cxx_cross
16358 cat > conftest.$ac_ext <<EOF
16359 #line 16360 "configure
"
16360 #include "confdefs.h
"
16366 if { (eval echo configure:16367: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16368 glibcpp_cv_func_powf_use=yes
16370 echo "configure
: failed program was
:" >&5
16371 cat conftest.$ac_ext >&5
16373 glibcpp_cv_func_powf_use=no
16377 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16378 ac_cpp='$CPP $CPPFLAGS'
16379 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16380 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16381 cross_compiling=$ac_cv_prog_cc_cross
16387 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
16389 if test x$glibcpp_cv_func_powf_use = x"yes"; then
16390 for ac_func in powf
16392 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16393 echo "configure
:16394: checking
for $ac_func" >&5
16394 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16395 echo $ac_n "(cached
) $ac_c" 1>&6
16397 cat > conftest.$ac_ext <<EOF
16398 #line 16399 "configure
"
16399 #include "confdefs.h
"
16400 /* System header to define __stub macros and hopefully few prototypes,
16401 which can conflict with char $ac_func(); below. */
16402 #include <assert.h>
16403 /* Override any gcc2 internal prototype to avoid an error. */
16404 /* We use char because int might match the return type of a gcc2
16405 builtin and then its argument prototype would still apply. */
16410 /* The GNU C library defines this for functions which it implements
16411 to always fail with ENOSYS. Some functions are actually named
16412 something starting with __ and the normal name is an alias. */
16413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16421 if { (eval echo configure:16422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16423 eval "ac_cv_func_
$ac_func=yes"
16425 echo "configure
: failed program was
:" >&5
16426 cat conftest.$ac_ext >&5
16428 eval "ac_cv_func_
$ac_func=no
"
16433 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16434 echo "$ac_t""yes" 1>&6
16435 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16436 cat >> confdefs.h <<EOF
16437 #define $ac_tr_func 1
16441 echo "$ac_t""no
" 1>&6
16447 echo $ac_n "checking
for _powf declaration
""...
$ac_c" 1>&6
16448 echo "configure
:16449: checking
for _powf declaration
" >&5
16449 if test x${glibcpp_cv_func__powf_use+set} != xset; then
16450 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
16451 echo $ac_n "(cached
) $ac_c" 1>&6
16456 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16457 ac_cpp='$CXXCPP $CPPFLAGS'
16458 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16459 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16460 cross_compiling=$ac_cv_prog_cxx_cross
16462 cat > conftest.$ac_ext <<EOF
16463 #line 16464 "configure
"
16464 #include "confdefs.h
"
16470 if { (eval echo configure:16471: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16472 glibcpp_cv_func__powf_use=yes
16474 echo "configure
: failed program was
:" >&5
16475 cat conftest.$ac_ext >&5
16477 glibcpp_cv_func__powf_use=no
16481 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16482 ac_cpp='$CPP $CPPFLAGS'
16483 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16484 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16485 cross_compiling=$ac_cv_prog_cc_cross
16491 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
16493 if test x$glibcpp_cv_func__powf_use = x"yes"; then
16494 for ac_func in _powf
16496 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16497 echo "configure
:16498: checking
for $ac_func" >&5
16498 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16499 echo $ac_n "(cached
) $ac_c" 1>&6
16501 cat > conftest.$ac_ext <<EOF
16502 #line 16503 "configure
"
16503 #include "confdefs.h
"
16504 /* System header to define __stub macros and hopefully few prototypes,
16505 which can conflict with char $ac_func(); below. */
16506 #include <assert.h>
16507 /* Override any gcc2 internal prototype to avoid an error. */
16508 /* We use char because int might match the return type of a gcc2
16509 builtin and then its argument prototype would still apply. */
16514 /* The GNU C library defines this for functions which it implements
16515 to always fail with ENOSYS. Some functions are actually named
16516 something starting with __ and the normal name is an alias. */
16517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16525 if { (eval echo configure:16526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16527 eval "ac_cv_func_
$ac_func=yes"
16529 echo "configure
: failed program was
:" >&5
16530 cat conftest.$ac_ext >&5
16532 eval "ac_cv_func_
$ac_func=no
"
16537 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16538 echo "$ac_t""yes" 1>&6
16539 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16540 cat >> confdefs.h <<EOF
16541 #define $ac_tr_func 1
16545 echo "$ac_t""no
" 1>&6
16554 echo $ac_n "checking
for sqrtf declaration
""...
$ac_c" 1>&6
16555 echo "configure
:16556: checking
for sqrtf declaration
" >&5
16556 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
16557 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
16558 echo $ac_n "(cached
) $ac_c" 1>&6
16563 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16564 ac_cpp='$CXXCPP $CPPFLAGS'
16565 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16566 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16567 cross_compiling=$ac_cv_prog_cxx_cross
16569 cat > conftest.$ac_ext <<EOF
16570 #line 16571 "configure
"
16571 #include "confdefs.h
"
16573 #ifdef HAVE_IEEEFP_H
16574 #include <ieeefp.h>
16581 if { (eval echo configure:16582: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16583 glibcpp_cv_func_sqrtf_use=yes
16585 echo "configure
: failed program was
:" >&5
16586 cat conftest.$ac_ext >&5
16588 glibcpp_cv_func_sqrtf_use=no
16592 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16593 ac_cpp='$CPP $CPPFLAGS'
16594 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16595 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16596 cross_compiling=$ac_cv_prog_cc_cross
16602 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
16604 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
16605 for ac_func in sqrtf
16607 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16608 echo "configure
:16609: checking
for $ac_func" >&5
16609 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16610 echo $ac_n "(cached
) $ac_c" 1>&6
16612 cat > conftest.$ac_ext <<EOF
16613 #line 16614 "configure
"
16614 #include "confdefs.h
"
16615 /* System header to define __stub macros and hopefully few prototypes,
16616 which can conflict with char $ac_func(); below. */
16617 #include <assert.h>
16618 /* Override any gcc2 internal prototype to avoid an error. */
16619 /* We use char because int might match the return type of a gcc2
16620 builtin and then its argument prototype would still apply. */
16625 /* The GNU C library defines this for functions which it implements
16626 to always fail with ENOSYS. Some functions are actually named
16627 something starting with __ and the normal name is an alias. */
16628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16636 if { (eval echo configure:16637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16638 eval "ac_cv_func_
$ac_func=yes"
16640 echo "configure
: failed program was
:" >&5
16641 cat conftest.$ac_ext >&5
16643 eval "ac_cv_func_
$ac_func=no
"
16648 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16649 echo "$ac_t""yes" 1>&6
16650 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16651 cat >> confdefs.h <<EOF
16652 #define $ac_tr_func 1
16656 echo "$ac_t""no
" 1>&6
16662 echo $ac_n "checking
for _sqrtf declaration
""...
$ac_c" 1>&6
16663 echo "configure
:16664: checking
for _sqrtf declaration
" >&5
16664 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
16665 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
16666 echo $ac_n "(cached
) $ac_c" 1>&6
16671 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16672 ac_cpp='$CXXCPP $CPPFLAGS'
16673 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16674 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16675 cross_compiling=$ac_cv_prog_cxx_cross
16677 cat > conftest.$ac_ext <<EOF
16678 #line 16679 "configure
"
16679 #include "confdefs.h
"
16681 #ifdef HAVE_IEEEFP_H
16682 #include <ieeefp.h>
16689 if { (eval echo configure:16690: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16691 glibcpp_cv_func__sqrtf_use=yes
16693 echo "configure
: failed program was
:" >&5
16694 cat conftest.$ac_ext >&5
16696 glibcpp_cv_func__sqrtf_use=no
16700 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16701 ac_cpp='$CPP $CPPFLAGS'
16702 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16703 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16704 cross_compiling=$ac_cv_prog_cc_cross
16710 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
16712 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
16713 for ac_func in _sqrtf
16715 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16716 echo "configure
:16717: checking
for $ac_func" >&5
16717 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16718 echo $ac_n "(cached
) $ac_c" 1>&6
16720 cat > conftest.$ac_ext <<EOF
16721 #line 16722 "configure
"
16722 #include "confdefs.h
"
16723 /* System header to define __stub macros and hopefully few prototypes,
16724 which can conflict with char $ac_func(); below. */
16725 #include <assert.h>
16726 /* Override any gcc2 internal prototype to avoid an error. */
16727 /* We use char because int might match the return type of a gcc2
16728 builtin and then its argument prototype would still apply. */
16733 /* The GNU C library defines this for functions which it implements
16734 to always fail with ENOSYS. Some functions are actually named
16735 something starting with __ and the normal name is an alias. */
16736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16744 if { (eval echo configure:16745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16746 eval "ac_cv_func_
$ac_func=yes"
16748 echo "configure
: failed program was
:" >&5
16749 cat conftest.$ac_ext >&5
16751 eval "ac_cv_func_
$ac_func=no
"
16756 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16757 echo "$ac_t""yes" 1>&6
16758 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16759 cat >> confdefs.h <<EOF
16760 #define $ac_tr_func 1
16764 echo "$ac_t""no
" 1>&6
16773 echo $ac_n "checking
for sincosf declaration
""...
$ac_c" 1>&6
16774 echo "configure
:16775: checking
for sincosf declaration
" >&5
16775 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
16776 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
16777 echo $ac_n "(cached
) $ac_c" 1>&6
16782 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16783 ac_cpp='$CXXCPP $CPPFLAGS'
16784 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16785 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16786 cross_compiling=$ac_cv_prog_cxx_cross
16788 cat > conftest.$ac_ext <<EOF
16789 #line 16790 "configure
"
16790 #include "confdefs.h
"
16796 if { (eval echo configure:16797: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16798 glibcpp_cv_func_sincosf_use=yes
16800 echo "configure
: failed program was
:" >&5
16801 cat conftest.$ac_ext >&5
16803 glibcpp_cv_func_sincosf_use=no
16807 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16808 ac_cpp='$CPP $CPPFLAGS'
16809 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16810 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16811 cross_compiling=$ac_cv_prog_cc_cross
16817 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
16819 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
16820 for ac_func in sincosf
16822 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16823 echo "configure
:16824: checking
for $ac_func" >&5
16824 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16825 echo $ac_n "(cached
) $ac_c" 1>&6
16827 cat > conftest.$ac_ext <<EOF
16828 #line 16829 "configure
"
16829 #include "confdefs.h
"
16830 /* System header to define __stub macros and hopefully few prototypes,
16831 which can conflict with char $ac_func(); below. */
16832 #include <assert.h>
16833 /* Override any gcc2 internal prototype to avoid an error. */
16834 /* We use char because int might match the return type of a gcc2
16835 builtin and then its argument prototype would still apply. */
16840 /* The GNU C library defines this for functions which it implements
16841 to always fail with ENOSYS. Some functions are actually named
16842 something starting with __ and the normal name is an alias. */
16843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16851 if { (eval echo configure:16852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16853 eval "ac_cv_func_
$ac_func=yes"
16855 echo "configure
: failed program was
:" >&5
16856 cat conftest.$ac_ext >&5
16858 eval "ac_cv_func_
$ac_func=no
"
16863 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16864 echo "$ac_t""yes" 1>&6
16865 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16866 cat >> confdefs.h <<EOF
16867 #define $ac_tr_func 1
16871 echo "$ac_t""no
" 1>&6
16877 echo $ac_n "checking
for _sincosf declaration
""...
$ac_c" 1>&6
16878 echo "configure
:16879: checking
for _sincosf declaration
" >&5
16879 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
16880 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
16881 echo $ac_n "(cached
) $ac_c" 1>&6
16886 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16887 ac_cpp='$CXXCPP $CPPFLAGS'
16888 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16889 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16890 cross_compiling=$ac_cv_prog_cxx_cross
16892 cat > conftest.$ac_ext <<EOF
16893 #line 16894 "configure
"
16894 #include "confdefs.h
"
16900 if { (eval echo configure:16901: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16902 glibcpp_cv_func__sincosf_use=yes
16904 echo "configure
: failed program was
:" >&5
16905 cat conftest.$ac_ext >&5
16907 glibcpp_cv_func__sincosf_use=no
16911 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16912 ac_cpp='$CPP $CPPFLAGS'
16913 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16914 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16915 cross_compiling=$ac_cv_prog_cc_cross
16921 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
16923 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
16924 for ac_func in _sincosf
16926 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16927 echo "configure
:16928: checking
for $ac_func" >&5
16928 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16929 echo $ac_n "(cached
) $ac_c" 1>&6
16931 cat > conftest.$ac_ext <<EOF
16932 #line 16933 "configure
"
16933 #include "confdefs.h
"
16934 /* System header to define __stub macros and hopefully few prototypes,
16935 which can conflict with char $ac_func(); below. */
16936 #include <assert.h>
16937 /* Override any gcc2 internal prototype to avoid an error. */
16938 /* We use char because int might match the return type of a gcc2
16939 builtin and then its argument prototype would still apply. */
16944 /* The GNU C library defines this for functions which it implements
16945 to always fail with ENOSYS. Some functions are actually named
16946 something starting with __ and the normal name is an alias. */
16947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16955 if { (eval echo configure:16956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16957 eval "ac_cv_func_
$ac_func=yes"
16959 echo "configure
: failed program was
:" >&5
16960 cat conftest.$ac_ext >&5
16962 eval "ac_cv_func_
$ac_func=no
"
16967 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16968 echo "$ac_t""yes" 1>&6
16969 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16970 cat >> confdefs.h <<EOF
16971 #define $ac_tr_func 1
16975 echo "$ac_t""no
" 1>&6
16984 echo $ac_n "checking
for finitef declaration
""...
$ac_c" 1>&6
16985 echo "configure
:16986: checking
for finitef declaration
" >&5
16986 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
16987 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
16988 echo $ac_n "(cached
) $ac_c" 1>&6
16993 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16994 ac_cpp='$CXXCPP $CPPFLAGS'
16995 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16996 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16997 cross_compiling=$ac_cv_prog_cxx_cross
16999 cat > conftest.$ac_ext <<EOF
17000 #line 17001 "configure
"
17001 #include "confdefs.h
"
17003 #ifdef HAVE_IEEEFP_H
17004 #include <ieeefp.h>
17011 if { (eval echo configure:17012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17013 glibcpp_cv_func_finitef_use=yes
17015 echo "configure
: failed program was
:" >&5
17016 cat conftest.$ac_ext >&5
17018 glibcpp_cv_func_finitef_use=no
17022 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17023 ac_cpp='$CPP $CPPFLAGS'
17024 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17025 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17026 cross_compiling=$ac_cv_prog_cc_cross
17032 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
17034 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
17035 for ac_func in finitef
17037 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17038 echo "configure
:17039: checking
for $ac_func" >&5
17039 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17040 echo $ac_n "(cached
) $ac_c" 1>&6
17042 cat > conftest.$ac_ext <<EOF
17043 #line 17044 "configure
"
17044 #include "confdefs.h
"
17045 /* System header to define __stub macros and hopefully few prototypes,
17046 which can conflict with char $ac_func(); below. */
17047 #include <assert.h>
17048 /* Override any gcc2 internal prototype to avoid an error. */
17049 /* We use char because int might match the return type of a gcc2
17050 builtin and then its argument prototype would still apply. */
17055 /* The GNU C library defines this for functions which it implements
17056 to always fail with ENOSYS. Some functions are actually named
17057 something starting with __ and the normal name is an alias. */
17058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17066 if { (eval echo configure:17067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17068 eval "ac_cv_func_
$ac_func=yes"
17070 echo "configure
: failed program was
:" >&5
17071 cat conftest.$ac_ext >&5
17073 eval "ac_cv_func_
$ac_func=no
"
17078 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17079 echo "$ac_t""yes" 1>&6
17080 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17081 cat >> confdefs.h <<EOF
17082 #define $ac_tr_func 1
17086 echo "$ac_t""no
" 1>&6
17092 echo $ac_n "checking
for _finitef declaration
""...
$ac_c" 1>&6
17093 echo "configure
:17094: checking
for _finitef declaration
" >&5
17094 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
17095 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
17096 echo $ac_n "(cached
) $ac_c" 1>&6
17101 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17102 ac_cpp='$CXXCPP $CPPFLAGS'
17103 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17104 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17105 cross_compiling=$ac_cv_prog_cxx_cross
17107 cat > conftest.$ac_ext <<EOF
17108 #line 17109 "configure
"
17109 #include "confdefs.h
"
17111 #ifdef HAVE_IEEEFP_H
17112 #include <ieeefp.h>
17119 if { (eval echo configure:17120: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17121 glibcpp_cv_func__finitef_use=yes
17123 echo "configure
: failed program was
:" >&5
17124 cat conftest.$ac_ext >&5
17126 glibcpp_cv_func__finitef_use=no
17130 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17131 ac_cpp='$CPP $CPPFLAGS'
17132 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17133 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17134 cross_compiling=$ac_cv_prog_cc_cross
17140 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
17142 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
17143 for ac_func in _finitef
17145 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17146 echo "configure
:17147: checking
for $ac_func" >&5
17147 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17148 echo $ac_n "(cached
) $ac_c" 1>&6
17150 cat > conftest.$ac_ext <<EOF
17151 #line 17152 "configure
"
17152 #include "confdefs.h
"
17153 /* System header to define __stub macros and hopefully few prototypes,
17154 which can conflict with char $ac_func(); below. */
17155 #include <assert.h>
17156 /* Override any gcc2 internal prototype to avoid an error. */
17157 /* We use char because int might match the return type of a gcc2
17158 builtin and then its argument prototype would still apply. */
17163 /* The GNU C library defines this for functions which it implements
17164 to always fail with ENOSYS. Some functions are actually named
17165 something starting with __ and the normal name is an alias. */
17166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17174 if { (eval echo configure:17175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17176 eval "ac_cv_func_
$ac_func=yes"
17178 echo "configure
: failed program was
:" >&5
17179 cat conftest.$ac_ext >&5
17181 eval "ac_cv_func_
$ac_func=no
"
17186 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17187 echo "$ac_t""yes" 1>&6
17188 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17189 cat >> confdefs.h <<EOF
17190 #define $ac_tr_func 1
17194 echo "$ac_t""no
" 1>&6
17203 echo $ac_n "checking
for long double trig functions
""...
$ac_c" 1>&6
17204 echo "configure
:17205: checking
for long double trig functions
" >&5
17205 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
17206 echo $ac_n "(cached
) $ac_c" 1>&6
17211 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17212 ac_cpp='$CXXCPP $CPPFLAGS'
17213 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17214 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17215 cross_compiling=$ac_cv_prog_cxx_cross
17217 cat > conftest.$ac_ext <<EOF
17218 #line 17219 "configure
"
17219 #include "confdefs.h
"
17222 `for x in acosl asinl atanl \
17224 coshl sinhl tanhl; do echo "$x (0);"; done`
17227 if { (eval echo configure:17228: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17229 glibcpp_cv_func_long_double_trig_use=yes
17231 echo "configure
: failed program was
:" >&5
17232 cat conftest.$ac_ext >&5
17234 glibcpp_cv_func_long_double_trig_use=no
17238 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17239 ac_cpp='$CPP $CPPFLAGS'
17240 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17241 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17242 cross_compiling=$ac_cv_prog_cc_cross
17246 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
17247 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
17248 for ac_func in acosl asinl atanl \
17252 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17253 echo "configure
:17254: checking
for $ac_func" >&5
17254 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17255 echo $ac_n "(cached
) $ac_c" 1>&6
17257 cat > conftest.$ac_ext <<EOF
17258 #line 17259 "configure
"
17259 #include "confdefs.h
"
17260 /* System header to define __stub macros and hopefully few prototypes,
17261 which can conflict with char $ac_func(); below. */
17262 #include <assert.h>
17263 /* Override any gcc2 internal prototype to avoid an error. */
17264 /* We use char because int might match the return type of a gcc2
17265 builtin and then its argument prototype would still apply. */
17270 /* The GNU C library defines this for functions which it implements
17271 to always fail with ENOSYS. Some functions are actually named
17272 something starting with __ and the normal name is an alias. */
17273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17281 if { (eval echo configure:17282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17283 eval "ac_cv_func_
$ac_func=yes"
17285 echo "configure
: failed program was
:" >&5
17286 cat conftest.$ac_ext >&5
17288 eval "ac_cv_func_
$ac_func=no
"
17293 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17294 echo "$ac_t""yes" 1>&6
17295 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17296 cat >> confdefs.h <<EOF
17297 #define $ac_tr_func 1
17301 echo "$ac_t""no
" 1>&6
17308 echo $ac_n "checking
for long double round functions
""...
$ac_c" 1>&6
17309 echo "configure
:17310: checking
for long double round functions
" >&5
17310 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
17311 echo $ac_n "(cached
) $ac_c" 1>&6
17316 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17317 ac_cpp='$CXXCPP $CPPFLAGS'
17318 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17319 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17320 cross_compiling=$ac_cv_prog_cxx_cross
17322 cat > conftest.$ac_ext <<EOF
17323 #line 17324 "configure
"
17324 #include "confdefs.h
"
17327 `for x in ceill floorl; do echo "$x (0);"; done`
17330 if { (eval echo configure:17331: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17332 glibcpp_cv_func_long_double_round_use=yes
17334 echo "configure
: failed program was
:" >&5
17335 cat conftest.$ac_ext >&5
17337 glibcpp_cv_func_long_double_round_use=no
17341 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17342 ac_cpp='$CPP $CPPFLAGS'
17343 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17344 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17345 cross_compiling=$ac_cv_prog_cc_cross
17349 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
17350 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
17351 for ac_func in ceill floorl
17353 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17354 echo "configure
:17355: checking
for $ac_func" >&5
17355 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17356 echo $ac_n "(cached
) $ac_c" 1>&6
17358 cat > conftest.$ac_ext <<EOF
17359 #line 17360 "configure
"
17360 #include "confdefs.h
"
17361 /* System header to define __stub macros and hopefully few prototypes,
17362 which can conflict with char $ac_func(); below. */
17363 #include <assert.h>
17364 /* Override any gcc2 internal prototype to avoid an error. */
17365 /* We use char because int might match the return type of a gcc2
17366 builtin and then its argument prototype would still apply. */
17371 /* The GNU C library defines this for functions which it implements
17372 to always fail with ENOSYS. Some functions are actually named
17373 something starting with __ and the normal name is an alias. */
17374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17382 if { (eval echo configure:17383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17384 eval "ac_cv_func_
$ac_func=yes"
17386 echo "configure
: failed program was
:" >&5
17387 cat conftest.$ac_ext >&5
17389 eval "ac_cv_func_
$ac_func=no
"
17394 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17395 echo "$ac_t""yes" 1>&6
17396 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17397 cat >> confdefs.h <<EOF
17398 #define $ac_tr_func 1
17402 echo "$ac_t""no
" 1>&6
17410 echo $ac_n "checking
for isnanl declaration
""...
$ac_c" 1>&6
17411 echo "configure
:17412: checking
for isnanl declaration
" >&5
17412 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
17413 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
17414 echo $ac_n "(cached
) $ac_c" 1>&6
17419 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17420 ac_cpp='$CXXCPP $CPPFLAGS'
17421 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17422 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17423 cross_compiling=$ac_cv_prog_cxx_cross
17425 cat > conftest.$ac_ext <<EOF
17426 #line 17427 "configure
"
17427 #include "confdefs.h
"
17429 #ifdef HAVE_IEEEFP_H
17430 #include <ieeefp.h>
17437 if { (eval echo configure:17438: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17439 glibcpp_cv_func_isnanl_use=yes
17441 echo "configure
: failed program was
:" >&5
17442 cat conftest.$ac_ext >&5
17444 glibcpp_cv_func_isnanl_use=no
17448 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17449 ac_cpp='$CPP $CPPFLAGS'
17450 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17451 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17452 cross_compiling=$ac_cv_prog_cc_cross
17458 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
17460 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
17461 for ac_func in isnanl
17463 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17464 echo "configure
:17465: checking
for $ac_func" >&5
17465 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17466 echo $ac_n "(cached
) $ac_c" 1>&6
17468 cat > conftest.$ac_ext <<EOF
17469 #line 17470 "configure
"
17470 #include "confdefs.h
"
17471 /* System header to define __stub macros and hopefully few prototypes,
17472 which can conflict with char $ac_func(); below. */
17473 #include <assert.h>
17474 /* Override any gcc2 internal prototype to avoid an error. */
17475 /* We use char because int might match the return type of a gcc2
17476 builtin and then its argument prototype would still apply. */
17481 /* The GNU C library defines this for functions which it implements
17482 to always fail with ENOSYS. Some functions are actually named
17483 something starting with __ and the normal name is an alias. */
17484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17492 if { (eval echo configure:17493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17494 eval "ac_cv_func_
$ac_func=yes"
17496 echo "configure
: failed program was
:" >&5
17497 cat conftest.$ac_ext >&5
17499 eval "ac_cv_func_
$ac_func=no
"
17504 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17505 echo "$ac_t""yes" 1>&6
17506 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17507 cat >> confdefs.h <<EOF
17508 #define $ac_tr_func 1
17512 echo "$ac_t""no
" 1>&6
17518 echo $ac_n "checking
for _isnanl declaration
""...
$ac_c" 1>&6
17519 echo "configure
:17520: checking
for _isnanl declaration
" >&5
17520 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
17521 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
17522 echo $ac_n "(cached
) $ac_c" 1>&6
17527 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17528 ac_cpp='$CXXCPP $CPPFLAGS'
17529 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17530 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17531 cross_compiling=$ac_cv_prog_cxx_cross
17533 cat > conftest.$ac_ext <<EOF
17534 #line 17535 "configure
"
17535 #include "confdefs.h
"
17537 #ifdef HAVE_IEEEFP_H
17538 #include <ieeefp.h>
17545 if { (eval echo configure:17546: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17547 glibcpp_cv_func__isnanl_use=yes
17549 echo "configure
: failed program was
:" >&5
17550 cat conftest.$ac_ext >&5
17552 glibcpp_cv_func__isnanl_use=no
17556 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17557 ac_cpp='$CPP $CPPFLAGS'
17558 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17559 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17560 cross_compiling=$ac_cv_prog_cc_cross
17566 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
17568 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
17569 for ac_func in _isnanl
17571 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17572 echo "configure
:17573: checking
for $ac_func" >&5
17573 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17574 echo $ac_n "(cached
) $ac_c" 1>&6
17576 cat > conftest.$ac_ext <<EOF
17577 #line 17578 "configure
"
17578 #include "confdefs.h
"
17579 /* System header to define __stub macros and hopefully few prototypes,
17580 which can conflict with char $ac_func(); below. */
17581 #include <assert.h>
17582 /* Override any gcc2 internal prototype to avoid an error. */
17583 /* We use char because int might match the return type of a gcc2
17584 builtin and then its argument prototype would still apply. */
17589 /* The GNU C library defines this for functions which it implements
17590 to always fail with ENOSYS. Some functions are actually named
17591 something starting with __ and the normal name is an alias. */
17592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17600 if { (eval echo configure:17601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17602 eval "ac_cv_func_
$ac_func=yes"
17604 echo "configure
: failed program was
:" >&5
17605 cat conftest.$ac_ext >&5
17607 eval "ac_cv_func_
$ac_func=no
"
17612 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17613 echo "$ac_t""yes" 1>&6
17614 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17615 cat >> confdefs.h <<EOF
17616 #define $ac_tr_func 1
17620 echo "$ac_t""no
" 1>&6
17629 echo $ac_n "checking
for isinfl declaration
""...
$ac_c" 1>&6
17630 echo "configure
:17631: checking
for isinfl declaration
" >&5
17631 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
17632 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
17633 echo $ac_n "(cached
) $ac_c" 1>&6
17638 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17639 ac_cpp='$CXXCPP $CPPFLAGS'
17640 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17641 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17642 cross_compiling=$ac_cv_prog_cxx_cross
17644 cat > conftest.$ac_ext <<EOF
17645 #line 17646 "configure
"
17646 #include "confdefs.h
"
17648 #ifdef HAVE_IEEEFP_H
17649 #include <ieeefp.h>
17656 if { (eval echo configure:17657: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17658 glibcpp_cv_func_isinfl_use=yes
17660 echo "configure
: failed program was
:" >&5
17661 cat conftest.$ac_ext >&5
17663 glibcpp_cv_func_isinfl_use=no
17667 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17668 ac_cpp='$CPP $CPPFLAGS'
17669 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17670 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17671 cross_compiling=$ac_cv_prog_cc_cross
17677 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
17679 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
17680 for ac_func in isinfl
17682 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17683 echo "configure
:17684: checking
for $ac_func" >&5
17684 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17685 echo $ac_n "(cached
) $ac_c" 1>&6
17687 cat > conftest.$ac_ext <<EOF
17688 #line 17689 "configure
"
17689 #include "confdefs.h
"
17690 /* System header to define __stub macros and hopefully few prototypes,
17691 which can conflict with char $ac_func(); below. */
17692 #include <assert.h>
17693 /* Override any gcc2 internal prototype to avoid an error. */
17694 /* We use char because int might match the return type of a gcc2
17695 builtin and then its argument prototype would still apply. */
17700 /* The GNU C library defines this for functions which it implements
17701 to always fail with ENOSYS. Some functions are actually named
17702 something starting with __ and the normal name is an alias. */
17703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17711 if { (eval echo configure:17712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17713 eval "ac_cv_func_
$ac_func=yes"
17715 echo "configure
: failed program was
:" >&5
17716 cat conftest.$ac_ext >&5
17718 eval "ac_cv_func_
$ac_func=no
"
17723 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17724 echo "$ac_t""yes" 1>&6
17725 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17726 cat >> confdefs.h <<EOF
17727 #define $ac_tr_func 1
17731 echo "$ac_t""no
" 1>&6
17737 echo $ac_n "checking
for _isinfl declaration
""...
$ac_c" 1>&6
17738 echo "configure
:17739: checking
for _isinfl declaration
" >&5
17739 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
17740 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
17741 echo $ac_n "(cached
) $ac_c" 1>&6
17746 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17747 ac_cpp='$CXXCPP $CPPFLAGS'
17748 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17749 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17750 cross_compiling=$ac_cv_prog_cxx_cross
17752 cat > conftest.$ac_ext <<EOF
17753 #line 17754 "configure
"
17754 #include "confdefs.h
"
17756 #ifdef HAVE_IEEEFP_H
17757 #include <ieeefp.h>
17764 if { (eval echo configure:17765: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17766 glibcpp_cv_func__isinfl_use=yes
17768 echo "configure
: failed program was
:" >&5
17769 cat conftest.$ac_ext >&5
17771 glibcpp_cv_func__isinfl_use=no
17775 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17776 ac_cpp='$CPP $CPPFLAGS'
17777 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17778 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17779 cross_compiling=$ac_cv_prog_cc_cross
17785 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
17787 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
17788 for ac_func in _isinfl
17790 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17791 echo "configure
:17792: checking
for $ac_func" >&5
17792 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17793 echo $ac_n "(cached
) $ac_c" 1>&6
17795 cat > conftest.$ac_ext <<EOF
17796 #line 17797 "configure
"
17797 #include "confdefs.h
"
17798 /* System header to define __stub macros and hopefully few prototypes,
17799 which can conflict with char $ac_func(); below. */
17800 #include <assert.h>
17801 /* Override any gcc2 internal prototype to avoid an error. */
17802 /* We use char because int might match the return type of a gcc2
17803 builtin and then its argument prototype would still apply. */
17808 /* The GNU C library defines this for functions which it implements
17809 to always fail with ENOSYS. Some functions are actually named
17810 something starting with __ and the normal name is an alias. */
17811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17819 if { (eval echo configure:17820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17821 eval "ac_cv_func_
$ac_func=yes"
17823 echo "configure
: failed program was
:" >&5
17824 cat conftest.$ac_ext >&5
17826 eval "ac_cv_func_
$ac_func=no
"
17831 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17832 echo "$ac_t""yes" 1>&6
17833 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17834 cat >> confdefs.h <<EOF
17835 #define $ac_tr_func 1
17839 echo "$ac_t""no
" 1>&6
17848 echo $ac_n "checking
for copysignl declaration
""...
$ac_c" 1>&6
17849 echo "configure
:17850: checking
for copysignl declaration
" >&5
17850 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
17851 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
17852 echo $ac_n "(cached
) $ac_c" 1>&6
17857 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17858 ac_cpp='$CXXCPP $CPPFLAGS'
17859 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17860 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17861 cross_compiling=$ac_cv_prog_cxx_cross
17863 cat > conftest.$ac_ext <<EOF
17864 #line 17865 "configure
"
17865 #include "confdefs.h
"
17871 if { (eval echo configure:17872: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17873 glibcpp_cv_func_copysignl_use=yes
17875 echo "configure
: failed program was
:" >&5
17876 cat conftest.$ac_ext >&5
17878 glibcpp_cv_func_copysignl_use=no
17882 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17883 ac_cpp='$CPP $CPPFLAGS'
17884 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17885 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17886 cross_compiling=$ac_cv_prog_cc_cross
17892 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
17894 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
17895 for ac_func in copysignl
17897 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17898 echo "configure
:17899: checking
for $ac_func" >&5
17899 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17900 echo $ac_n "(cached
) $ac_c" 1>&6
17902 cat > conftest.$ac_ext <<EOF
17903 #line 17904 "configure
"
17904 #include "confdefs.h
"
17905 /* System header to define __stub macros and hopefully few prototypes,
17906 which can conflict with char $ac_func(); below. */
17907 #include <assert.h>
17908 /* Override any gcc2 internal prototype to avoid an error. */
17909 /* We use char because int might match the return type of a gcc2
17910 builtin and then its argument prototype would still apply. */
17915 /* The GNU C library defines this for functions which it implements
17916 to always fail with ENOSYS. Some functions are actually named
17917 something starting with __ and the normal name is an alias. */
17918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17926 if { (eval echo configure:17927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17928 eval "ac_cv_func_
$ac_func=yes"
17930 echo "configure
: failed program was
:" >&5
17931 cat conftest.$ac_ext >&5
17933 eval "ac_cv_func_
$ac_func=no
"
17938 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17939 echo "$ac_t""yes" 1>&6
17940 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17941 cat >> confdefs.h <<EOF
17942 #define $ac_tr_func 1
17946 echo "$ac_t""no
" 1>&6
17952 echo $ac_n "checking
for _copysignl declaration
""...
$ac_c" 1>&6
17953 echo "configure
:17954: checking
for _copysignl declaration
" >&5
17954 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
17955 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
17956 echo $ac_n "(cached
) $ac_c" 1>&6
17961 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17962 ac_cpp='$CXXCPP $CPPFLAGS'
17963 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17964 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17965 cross_compiling=$ac_cv_prog_cxx_cross
17967 cat > conftest.$ac_ext <<EOF
17968 #line 17969 "configure
"
17969 #include "confdefs.h
"
17975 if { (eval echo configure:17976: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17977 glibcpp_cv_func__copysignl_use=yes
17979 echo "configure
: failed program was
:" >&5
17980 cat conftest.$ac_ext >&5
17982 glibcpp_cv_func__copysignl_use=no
17986 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17987 ac_cpp='$CPP $CPPFLAGS'
17988 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17989 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17990 cross_compiling=$ac_cv_prog_cc_cross
17996 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
17998 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
17999 for ac_func in _copysignl
18001 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18002 echo "configure
:18003: checking
for $ac_func" >&5
18003 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18004 echo $ac_n "(cached
) $ac_c" 1>&6
18006 cat > conftest.$ac_ext <<EOF
18007 #line 18008 "configure
"
18008 #include "confdefs.h
"
18009 /* System header to define __stub macros and hopefully few prototypes,
18010 which can conflict with char $ac_func(); below. */
18011 #include <assert.h>
18012 /* Override any gcc2 internal prototype to avoid an error. */
18013 /* We use char because int might match the return type of a gcc2
18014 builtin and then its argument prototype would still apply. */
18019 /* The GNU C library defines this for functions which it implements
18020 to always fail with ENOSYS. Some functions are actually named
18021 something starting with __ and the normal name is an alias. */
18022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18030 if { (eval echo configure:18031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18032 eval "ac_cv_func_
$ac_func=yes"
18034 echo "configure
: failed program was
:" >&5
18035 cat conftest.$ac_ext >&5
18037 eval "ac_cv_func_
$ac_func=no
"
18042 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18043 echo "$ac_t""yes" 1>&6
18044 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18045 cat >> confdefs.h <<EOF
18046 #define $ac_tr_func 1
18050 echo "$ac_t""no
" 1>&6
18059 echo $ac_n "checking
for atan2l declaration
""...
$ac_c" 1>&6
18060 echo "configure
:18061: checking
for atan2l declaration
" >&5
18061 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
18062 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
18063 echo $ac_n "(cached
) $ac_c" 1>&6
18068 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18069 ac_cpp='$CXXCPP $CPPFLAGS'
18070 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18071 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18072 cross_compiling=$ac_cv_prog_cxx_cross
18074 cat > conftest.$ac_ext <<EOF
18075 #line 18076 "configure
"
18076 #include "confdefs.h
"
18082 if { (eval echo configure:18083: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18084 glibcpp_cv_func_atan2l_use=yes
18086 echo "configure
: failed program was
:" >&5
18087 cat conftest.$ac_ext >&5
18089 glibcpp_cv_func_atan2l_use=no
18093 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18094 ac_cpp='$CPP $CPPFLAGS'
18095 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18096 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18097 cross_compiling=$ac_cv_prog_cc_cross
18103 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
18105 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
18106 for ac_func in atan2l
18108 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18109 echo "configure
:18110: checking
for $ac_func" >&5
18110 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18111 echo $ac_n "(cached
) $ac_c" 1>&6
18113 cat > conftest.$ac_ext <<EOF
18114 #line 18115 "configure
"
18115 #include "confdefs.h
"
18116 /* System header to define __stub macros and hopefully few prototypes,
18117 which can conflict with char $ac_func(); below. */
18118 #include <assert.h>
18119 /* Override any gcc2 internal prototype to avoid an error. */
18120 /* We use char because int might match the return type of a gcc2
18121 builtin and then its argument prototype would still apply. */
18126 /* The GNU C library defines this for functions which it implements
18127 to always fail with ENOSYS. Some functions are actually named
18128 something starting with __ and the normal name is an alias. */
18129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18137 if { (eval echo configure:18138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18139 eval "ac_cv_func_
$ac_func=yes"
18141 echo "configure
: failed program was
:" >&5
18142 cat conftest.$ac_ext >&5
18144 eval "ac_cv_func_
$ac_func=no
"
18149 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18150 echo "$ac_t""yes" 1>&6
18151 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18152 cat >> confdefs.h <<EOF
18153 #define $ac_tr_func 1
18157 echo "$ac_t""no
" 1>&6
18163 echo $ac_n "checking
for _atan2l declaration
""...
$ac_c" 1>&6
18164 echo "configure
:18165: checking
for _atan2l declaration
" >&5
18165 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
18166 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
18167 echo $ac_n "(cached
) $ac_c" 1>&6
18172 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18173 ac_cpp='$CXXCPP $CPPFLAGS'
18174 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18175 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18176 cross_compiling=$ac_cv_prog_cxx_cross
18178 cat > conftest.$ac_ext <<EOF
18179 #line 18180 "configure
"
18180 #include "confdefs.h
"
18186 if { (eval echo configure:18187: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18188 glibcpp_cv_func__atan2l_use=yes
18190 echo "configure
: failed program was
:" >&5
18191 cat conftest.$ac_ext >&5
18193 glibcpp_cv_func__atan2l_use=no
18197 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18198 ac_cpp='$CPP $CPPFLAGS'
18199 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18200 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18201 cross_compiling=$ac_cv_prog_cc_cross
18207 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
18209 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
18210 for ac_func in _atan2l
18212 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18213 echo "configure
:18214: checking
for $ac_func" >&5
18214 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18215 echo $ac_n "(cached
) $ac_c" 1>&6
18217 cat > conftest.$ac_ext <<EOF
18218 #line 18219 "configure
"
18219 #include "confdefs.h
"
18220 /* System header to define __stub macros and hopefully few prototypes,
18221 which can conflict with char $ac_func(); below. */
18222 #include <assert.h>
18223 /* Override any gcc2 internal prototype to avoid an error. */
18224 /* We use char because int might match the return type of a gcc2
18225 builtin and then its argument prototype would still apply. */
18230 /* The GNU C library defines this for functions which it implements
18231 to always fail with ENOSYS. Some functions are actually named
18232 something starting with __ and the normal name is an alias. */
18233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18241 if { (eval echo configure:18242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18243 eval "ac_cv_func_
$ac_func=yes"
18245 echo "configure
: failed program was
:" >&5
18246 cat conftest.$ac_ext >&5
18248 eval "ac_cv_func_
$ac_func=no
"
18253 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18254 echo "$ac_t""yes" 1>&6
18255 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18256 cat >> confdefs.h <<EOF
18257 #define $ac_tr_func 1
18261 echo "$ac_t""no
" 1>&6
18270 echo $ac_n "checking
for expl declaration
""...
$ac_c" 1>&6
18271 echo "configure
:18272: checking
for expl declaration
" >&5
18272 if test x${glibcpp_cv_func_expl_use+set} != xset; then
18273 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
18274 echo $ac_n "(cached
) $ac_c" 1>&6
18279 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18280 ac_cpp='$CXXCPP $CPPFLAGS'
18281 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18282 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18283 cross_compiling=$ac_cv_prog_cxx_cross
18285 cat > conftest.$ac_ext <<EOF
18286 #line 18287 "configure
"
18287 #include "confdefs.h
"
18289 #ifdef HAVE_IEEEFP_H
18290 #include <ieeefp.h>
18297 if { (eval echo configure:18298: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18299 glibcpp_cv_func_expl_use=yes
18301 echo "configure
: failed program was
:" >&5
18302 cat conftest.$ac_ext >&5
18304 glibcpp_cv_func_expl_use=no
18308 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18309 ac_cpp='$CPP $CPPFLAGS'
18310 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18311 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18312 cross_compiling=$ac_cv_prog_cc_cross
18318 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
18320 if test x$glibcpp_cv_func_expl_use = x"yes"; then
18321 for ac_func in expl
18323 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18324 echo "configure
:18325: checking
for $ac_func" >&5
18325 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18326 echo $ac_n "(cached
) $ac_c" 1>&6
18328 cat > conftest.$ac_ext <<EOF
18329 #line 18330 "configure
"
18330 #include "confdefs.h
"
18331 /* System header to define __stub macros and hopefully few prototypes,
18332 which can conflict with char $ac_func(); below. */
18333 #include <assert.h>
18334 /* Override any gcc2 internal prototype to avoid an error. */
18335 /* We use char because int might match the return type of a gcc2
18336 builtin and then its argument prototype would still apply. */
18341 /* The GNU C library defines this for functions which it implements
18342 to always fail with ENOSYS. Some functions are actually named
18343 something starting with __ and the normal name is an alias. */
18344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18352 if { (eval echo configure:18353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18354 eval "ac_cv_func_
$ac_func=yes"
18356 echo "configure
: failed program was
:" >&5
18357 cat conftest.$ac_ext >&5
18359 eval "ac_cv_func_
$ac_func=no
"
18364 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18365 echo "$ac_t""yes" 1>&6
18366 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18367 cat >> confdefs.h <<EOF
18368 #define $ac_tr_func 1
18372 echo "$ac_t""no
" 1>&6
18378 echo $ac_n "checking
for _expl declaration
""...
$ac_c" 1>&6
18379 echo "configure
:18380: checking
for _expl declaration
" >&5
18380 if test x${glibcpp_cv_func__expl_use+set} != xset; then
18381 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
18382 echo $ac_n "(cached
) $ac_c" 1>&6
18387 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18388 ac_cpp='$CXXCPP $CPPFLAGS'
18389 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18390 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18391 cross_compiling=$ac_cv_prog_cxx_cross
18393 cat > conftest.$ac_ext <<EOF
18394 #line 18395 "configure
"
18395 #include "confdefs.h
"
18397 #ifdef HAVE_IEEEFP_H
18398 #include <ieeefp.h>
18405 if { (eval echo configure:18406: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18407 glibcpp_cv_func__expl_use=yes
18409 echo "configure
: failed program was
:" >&5
18410 cat conftest.$ac_ext >&5
18412 glibcpp_cv_func__expl_use=no
18416 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18417 ac_cpp='$CPP $CPPFLAGS'
18418 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18419 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18420 cross_compiling=$ac_cv_prog_cc_cross
18426 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
18428 if test x$glibcpp_cv_func__expl_use = x"yes"; then
18429 for ac_func in _expl
18431 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18432 echo "configure
:18433: checking
for $ac_func" >&5
18433 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18434 echo $ac_n "(cached
) $ac_c" 1>&6
18436 cat > conftest.$ac_ext <<EOF
18437 #line 18438 "configure
"
18438 #include "confdefs.h
"
18439 /* System header to define __stub macros and hopefully few prototypes,
18440 which can conflict with char $ac_func(); below. */
18441 #include <assert.h>
18442 /* Override any gcc2 internal prototype to avoid an error. */
18443 /* We use char because int might match the return type of a gcc2
18444 builtin and then its argument prototype would still apply. */
18449 /* The GNU C library defines this for functions which it implements
18450 to always fail with ENOSYS. Some functions are actually named
18451 something starting with __ and the normal name is an alias. */
18452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18460 if { (eval echo configure:18461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18462 eval "ac_cv_func_
$ac_func=yes"
18464 echo "configure
: failed program was
:" >&5
18465 cat conftest.$ac_ext >&5
18467 eval "ac_cv_func_
$ac_func=no
"
18472 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18473 echo "$ac_t""yes" 1>&6
18474 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18475 cat >> confdefs.h <<EOF
18476 #define $ac_tr_func 1
18480 echo "$ac_t""no
" 1>&6
18489 echo $ac_n "checking
for fabsl declaration
""...
$ac_c" 1>&6
18490 echo "configure
:18491: checking
for fabsl declaration
" >&5
18491 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
18492 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
18493 echo $ac_n "(cached
) $ac_c" 1>&6
18498 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18499 ac_cpp='$CXXCPP $CPPFLAGS'
18500 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18501 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18502 cross_compiling=$ac_cv_prog_cxx_cross
18504 cat > conftest.$ac_ext <<EOF
18505 #line 18506 "configure
"
18506 #include "confdefs.h
"
18508 #ifdef HAVE_IEEEFP_H
18509 #include <ieeefp.h>
18516 if { (eval echo configure:18517: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18518 glibcpp_cv_func_fabsl_use=yes
18520 echo "configure
: failed program was
:" >&5
18521 cat conftest.$ac_ext >&5
18523 glibcpp_cv_func_fabsl_use=no
18527 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18528 ac_cpp='$CPP $CPPFLAGS'
18529 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18530 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18531 cross_compiling=$ac_cv_prog_cc_cross
18537 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
18539 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
18540 for ac_func in fabsl
18542 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18543 echo "configure
:18544: checking
for $ac_func" >&5
18544 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18545 echo $ac_n "(cached
) $ac_c" 1>&6
18547 cat > conftest.$ac_ext <<EOF
18548 #line 18549 "configure
"
18549 #include "confdefs.h
"
18550 /* System header to define __stub macros and hopefully few prototypes,
18551 which can conflict with char $ac_func(); below. */
18552 #include <assert.h>
18553 /* Override any gcc2 internal prototype to avoid an error. */
18554 /* We use char because int might match the return type of a gcc2
18555 builtin and then its argument prototype would still apply. */
18560 /* The GNU C library defines this for functions which it implements
18561 to always fail with ENOSYS. Some functions are actually named
18562 something starting with __ and the normal name is an alias. */
18563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18571 if { (eval echo configure:18572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18573 eval "ac_cv_func_
$ac_func=yes"
18575 echo "configure
: failed program was
:" >&5
18576 cat conftest.$ac_ext >&5
18578 eval "ac_cv_func_
$ac_func=no
"
18583 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18584 echo "$ac_t""yes" 1>&6
18585 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18586 cat >> confdefs.h <<EOF
18587 #define $ac_tr_func 1
18591 echo "$ac_t""no
" 1>&6
18597 echo $ac_n "checking
for _fabsl declaration
""...
$ac_c" 1>&6
18598 echo "configure
:18599: checking
for _fabsl declaration
" >&5
18599 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
18600 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
18601 echo $ac_n "(cached
) $ac_c" 1>&6
18606 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18607 ac_cpp='$CXXCPP $CPPFLAGS'
18608 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18609 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18610 cross_compiling=$ac_cv_prog_cxx_cross
18612 cat > conftest.$ac_ext <<EOF
18613 #line 18614 "configure
"
18614 #include "confdefs.h
"
18616 #ifdef HAVE_IEEEFP_H
18617 #include <ieeefp.h>
18624 if { (eval echo configure:18625: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18626 glibcpp_cv_func__fabsl_use=yes
18628 echo "configure
: failed program was
:" >&5
18629 cat conftest.$ac_ext >&5
18631 glibcpp_cv_func__fabsl_use=no
18635 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18636 ac_cpp='$CPP $CPPFLAGS'
18637 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18638 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18639 cross_compiling=$ac_cv_prog_cc_cross
18645 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
18647 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
18648 for ac_func in _fabsl
18650 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18651 echo "configure
:18652: checking
for $ac_func" >&5
18652 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18653 echo $ac_n "(cached
) $ac_c" 1>&6
18655 cat > conftest.$ac_ext <<EOF
18656 #line 18657 "configure
"
18657 #include "confdefs.h
"
18658 /* System header to define __stub macros and hopefully few prototypes,
18659 which can conflict with char $ac_func(); below. */
18660 #include <assert.h>
18661 /* Override any gcc2 internal prototype to avoid an error. */
18662 /* We use char because int might match the return type of a gcc2
18663 builtin and then its argument prototype would still apply. */
18668 /* The GNU C library defines this for functions which it implements
18669 to always fail with ENOSYS. Some functions are actually named
18670 something starting with __ and the normal name is an alias. */
18671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18679 if { (eval echo configure:18680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18681 eval "ac_cv_func_
$ac_func=yes"
18683 echo "configure
: failed program was
:" >&5
18684 cat conftest.$ac_ext >&5
18686 eval "ac_cv_func_
$ac_func=no
"
18691 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18692 echo "$ac_t""yes" 1>&6
18693 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18694 cat >> confdefs.h <<EOF
18695 #define $ac_tr_func 1
18699 echo "$ac_t""no
" 1>&6
18708 echo $ac_n "checking
for fmodl declaration
""...
$ac_c" 1>&6
18709 echo "configure
:18710: checking
for fmodl declaration
" >&5
18710 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
18711 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
18712 echo $ac_n "(cached
) $ac_c" 1>&6
18717 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18718 ac_cpp='$CXXCPP $CPPFLAGS'
18719 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18720 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18721 cross_compiling=$ac_cv_prog_cxx_cross
18723 cat > conftest.$ac_ext <<EOF
18724 #line 18725 "configure
"
18725 #include "confdefs.h
"
18731 if { (eval echo configure:18732: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18733 glibcpp_cv_func_fmodl_use=yes
18735 echo "configure
: failed program was
:" >&5
18736 cat conftest.$ac_ext >&5
18738 glibcpp_cv_func_fmodl_use=no
18742 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18743 ac_cpp='$CPP $CPPFLAGS'
18744 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18745 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18746 cross_compiling=$ac_cv_prog_cc_cross
18752 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
18754 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
18755 for ac_func in fmodl
18757 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18758 echo "configure
:18759: checking
for $ac_func" >&5
18759 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18760 echo $ac_n "(cached
) $ac_c" 1>&6
18762 cat > conftest.$ac_ext <<EOF
18763 #line 18764 "configure
"
18764 #include "confdefs.h
"
18765 /* System header to define __stub macros and hopefully few prototypes,
18766 which can conflict with char $ac_func(); below. */
18767 #include <assert.h>
18768 /* Override any gcc2 internal prototype to avoid an error. */
18769 /* We use char because int might match the return type of a gcc2
18770 builtin and then its argument prototype would still apply. */
18775 /* The GNU C library defines this for functions which it implements
18776 to always fail with ENOSYS. Some functions are actually named
18777 something starting with __ and the normal name is an alias. */
18778 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18786 if { (eval echo configure:18787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18788 eval "ac_cv_func_
$ac_func=yes"
18790 echo "configure
: failed program was
:" >&5
18791 cat conftest.$ac_ext >&5
18793 eval "ac_cv_func_
$ac_func=no
"
18798 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18799 echo "$ac_t""yes" 1>&6
18800 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18801 cat >> confdefs.h <<EOF
18802 #define $ac_tr_func 1
18806 echo "$ac_t""no
" 1>&6
18812 echo $ac_n "checking
for _fmodl declaration
""...
$ac_c" 1>&6
18813 echo "configure
:18814: checking
for _fmodl declaration
" >&5
18814 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
18815 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
18816 echo $ac_n "(cached
) $ac_c" 1>&6
18821 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18822 ac_cpp='$CXXCPP $CPPFLAGS'
18823 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18824 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18825 cross_compiling=$ac_cv_prog_cxx_cross
18827 cat > conftest.$ac_ext <<EOF
18828 #line 18829 "configure
"
18829 #include "confdefs.h
"
18835 if { (eval echo configure:18836: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18837 glibcpp_cv_func__fmodl_use=yes
18839 echo "configure
: failed program was
:" >&5
18840 cat conftest.$ac_ext >&5
18842 glibcpp_cv_func__fmodl_use=no
18846 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18847 ac_cpp='$CPP $CPPFLAGS'
18848 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18849 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18850 cross_compiling=$ac_cv_prog_cc_cross
18856 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
18858 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
18859 for ac_func in _fmodl
18861 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18862 echo "configure
:18863: checking
for $ac_func" >&5
18863 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18864 echo $ac_n "(cached
) $ac_c" 1>&6
18866 cat > conftest.$ac_ext <<EOF
18867 #line 18868 "configure
"
18868 #include "confdefs.h
"
18869 /* System header to define __stub macros and hopefully few prototypes,
18870 which can conflict with char $ac_func(); below. */
18871 #include <assert.h>
18872 /* Override any gcc2 internal prototype to avoid an error. */
18873 /* We use char because int might match the return type of a gcc2
18874 builtin and then its argument prototype would still apply. */
18879 /* The GNU C library defines this for functions which it implements
18880 to always fail with ENOSYS. Some functions are actually named
18881 something starting with __ and the normal name is an alias. */
18882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18890 if { (eval echo configure:18891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18892 eval "ac_cv_func_
$ac_func=yes"
18894 echo "configure
: failed program was
:" >&5
18895 cat conftest.$ac_ext >&5
18897 eval "ac_cv_func_
$ac_func=no
"
18902 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18903 echo "$ac_t""yes" 1>&6
18904 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18905 cat >> confdefs.h <<EOF
18906 #define $ac_tr_func 1
18910 echo "$ac_t""no
" 1>&6
18919 echo $ac_n "checking
for frexpl declaration
""...
$ac_c" 1>&6
18920 echo "configure
:18921: checking
for frexpl declaration
" >&5
18921 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
18922 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
18923 echo $ac_n "(cached
) $ac_c" 1>&6
18928 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18929 ac_cpp='$CXXCPP $CPPFLAGS'
18930 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18931 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18932 cross_compiling=$ac_cv_prog_cxx_cross
18934 cat > conftest.$ac_ext <<EOF
18935 #line 18936 "configure
"
18936 #include "confdefs.h
"
18942 if { (eval echo configure:18943: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18944 glibcpp_cv_func_frexpl_use=yes
18946 echo "configure
: failed program was
:" >&5
18947 cat conftest.$ac_ext >&5
18949 glibcpp_cv_func_frexpl_use=no
18953 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18954 ac_cpp='$CPP $CPPFLAGS'
18955 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18956 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18957 cross_compiling=$ac_cv_prog_cc_cross
18963 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
18965 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
18966 for ac_func in frexpl
18968 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18969 echo "configure
:18970: checking
for $ac_func" >&5
18970 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18971 echo $ac_n "(cached
) $ac_c" 1>&6
18973 cat > conftest.$ac_ext <<EOF
18974 #line 18975 "configure
"
18975 #include "confdefs.h
"
18976 /* System header to define __stub macros and hopefully few prototypes,
18977 which can conflict with char $ac_func(); below. */
18978 #include <assert.h>
18979 /* Override any gcc2 internal prototype to avoid an error. */
18980 /* We use char because int might match the return type of a gcc2
18981 builtin and then its argument prototype would still apply. */
18986 /* The GNU C library defines this for functions which it implements
18987 to always fail with ENOSYS. Some functions are actually named
18988 something starting with __ and the normal name is an alias. */
18989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18997 if { (eval echo configure:18998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18999 eval "ac_cv_func_
$ac_func=yes"
19001 echo "configure
: failed program was
:" >&5
19002 cat conftest.$ac_ext >&5
19004 eval "ac_cv_func_
$ac_func=no
"
19009 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19010 echo "$ac_t""yes" 1>&6
19011 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19012 cat >> confdefs.h <<EOF
19013 #define $ac_tr_func 1
19017 echo "$ac_t""no
" 1>&6
19023 echo $ac_n "checking
for _frexpl declaration
""...
$ac_c" 1>&6
19024 echo "configure
:19025: checking
for _frexpl declaration
" >&5
19025 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
19026 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
19027 echo $ac_n "(cached
) $ac_c" 1>&6
19032 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19033 ac_cpp='$CXXCPP $CPPFLAGS'
19034 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19035 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19036 cross_compiling=$ac_cv_prog_cxx_cross
19038 cat > conftest.$ac_ext <<EOF
19039 #line 19040 "configure
"
19040 #include "confdefs.h
"
19046 if { (eval echo configure:19047: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19048 glibcpp_cv_func__frexpl_use=yes
19050 echo "configure
: failed program was
:" >&5
19051 cat conftest.$ac_ext >&5
19053 glibcpp_cv_func__frexpl_use=no
19057 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19058 ac_cpp='$CPP $CPPFLAGS'
19059 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19060 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19061 cross_compiling=$ac_cv_prog_cc_cross
19067 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
19069 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
19070 for ac_func in _frexpl
19072 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19073 echo "configure
:19074: checking
for $ac_func" >&5
19074 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19075 echo $ac_n "(cached
) $ac_c" 1>&6
19077 cat > conftest.$ac_ext <<EOF
19078 #line 19079 "configure
"
19079 #include "confdefs.h
"
19080 /* System header to define __stub macros and hopefully few prototypes,
19081 which can conflict with char $ac_func(); below. */
19082 #include <assert.h>
19083 /* Override any gcc2 internal prototype to avoid an error. */
19084 /* We use char because int might match the return type of a gcc2
19085 builtin and then its argument prototype would still apply. */
19090 /* The GNU C library defines this for functions which it implements
19091 to always fail with ENOSYS. Some functions are actually named
19092 something starting with __ and the normal name is an alias. */
19093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19101 if { (eval echo configure:19102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19103 eval "ac_cv_func_
$ac_func=yes"
19105 echo "configure
: failed program was
:" >&5
19106 cat conftest.$ac_ext >&5
19108 eval "ac_cv_func_
$ac_func=no
"
19113 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19114 echo "$ac_t""yes" 1>&6
19115 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19116 cat >> confdefs.h <<EOF
19117 #define $ac_tr_func 1
19121 echo "$ac_t""no
" 1>&6
19130 echo $ac_n "checking
for hypotl declaration
""...
$ac_c" 1>&6
19131 echo "configure
:19132: checking
for hypotl declaration
" >&5
19132 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
19133 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
19134 echo $ac_n "(cached
) $ac_c" 1>&6
19139 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19140 ac_cpp='$CXXCPP $CPPFLAGS'
19141 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19142 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19143 cross_compiling=$ac_cv_prog_cxx_cross
19145 cat > conftest.$ac_ext <<EOF
19146 #line 19147 "configure
"
19147 #include "confdefs.h
"
19153 if { (eval echo configure:19154: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19155 glibcpp_cv_func_hypotl_use=yes
19157 echo "configure
: failed program was
:" >&5
19158 cat conftest.$ac_ext >&5
19160 glibcpp_cv_func_hypotl_use=no
19164 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19165 ac_cpp='$CPP $CPPFLAGS'
19166 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19167 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19168 cross_compiling=$ac_cv_prog_cc_cross
19174 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
19176 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
19177 for ac_func in hypotl
19179 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19180 echo "configure
:19181: checking
for $ac_func" >&5
19181 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19182 echo $ac_n "(cached
) $ac_c" 1>&6
19184 cat > conftest.$ac_ext <<EOF
19185 #line 19186 "configure
"
19186 #include "confdefs.h
"
19187 /* System header to define __stub macros and hopefully few prototypes,
19188 which can conflict with char $ac_func(); below. */
19189 #include <assert.h>
19190 /* Override any gcc2 internal prototype to avoid an error. */
19191 /* We use char because int might match the return type of a gcc2
19192 builtin and then its argument prototype would still apply. */
19197 /* The GNU C library defines this for functions which it implements
19198 to always fail with ENOSYS. Some functions are actually named
19199 something starting with __ and the normal name is an alias. */
19200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19208 if { (eval echo configure:19209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19210 eval "ac_cv_func_
$ac_func=yes"
19212 echo "configure
: failed program was
:" >&5
19213 cat conftest.$ac_ext >&5
19215 eval "ac_cv_func_
$ac_func=no
"
19220 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19221 echo "$ac_t""yes" 1>&6
19222 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19223 cat >> confdefs.h <<EOF
19224 #define $ac_tr_func 1
19228 echo "$ac_t""no
" 1>&6
19234 echo $ac_n "checking
for _hypotl declaration
""...
$ac_c" 1>&6
19235 echo "configure
:19236: checking
for _hypotl declaration
" >&5
19236 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
19237 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
19238 echo $ac_n "(cached
) $ac_c" 1>&6
19243 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19244 ac_cpp='$CXXCPP $CPPFLAGS'
19245 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19246 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19247 cross_compiling=$ac_cv_prog_cxx_cross
19249 cat > conftest.$ac_ext <<EOF
19250 #line 19251 "configure
"
19251 #include "confdefs.h
"
19257 if { (eval echo configure:19258: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19259 glibcpp_cv_func__hypotl_use=yes
19261 echo "configure
: failed program was
:" >&5
19262 cat conftest.$ac_ext >&5
19264 glibcpp_cv_func__hypotl_use=no
19268 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19269 ac_cpp='$CPP $CPPFLAGS'
19270 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19271 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19272 cross_compiling=$ac_cv_prog_cc_cross
19278 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
19280 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
19281 for ac_func in _hypotl
19283 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19284 echo "configure
:19285: checking
for $ac_func" >&5
19285 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19286 echo $ac_n "(cached
) $ac_c" 1>&6
19288 cat > conftest.$ac_ext <<EOF
19289 #line 19290 "configure
"
19290 #include "confdefs.h
"
19291 /* System header to define __stub macros and hopefully few prototypes,
19292 which can conflict with char $ac_func(); below. */
19293 #include <assert.h>
19294 /* Override any gcc2 internal prototype to avoid an error. */
19295 /* We use char because int might match the return type of a gcc2
19296 builtin and then its argument prototype would still apply. */
19301 /* The GNU C library defines this for functions which it implements
19302 to always fail with ENOSYS. Some functions are actually named
19303 something starting with __ and the normal name is an alias. */
19304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19312 if { (eval echo configure:19313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19314 eval "ac_cv_func_
$ac_func=yes"
19316 echo "configure
: failed program was
:" >&5
19317 cat conftest.$ac_ext >&5
19319 eval "ac_cv_func_
$ac_func=no
"
19324 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19325 echo "$ac_t""yes" 1>&6
19326 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19327 cat >> confdefs.h <<EOF
19328 #define $ac_tr_func 1
19332 echo "$ac_t""no
" 1>&6
19341 echo $ac_n "checking
for ldexpl declaration
""...
$ac_c" 1>&6
19342 echo "configure
:19343: checking
for ldexpl declaration
" >&5
19343 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
19344 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
19345 echo $ac_n "(cached
) $ac_c" 1>&6
19350 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19351 ac_cpp='$CXXCPP $CPPFLAGS'
19352 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19353 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19354 cross_compiling=$ac_cv_prog_cxx_cross
19356 cat > conftest.$ac_ext <<EOF
19357 #line 19358 "configure
"
19358 #include "confdefs.h
"
19364 if { (eval echo configure:19365: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19366 glibcpp_cv_func_ldexpl_use=yes
19368 echo "configure
: failed program was
:" >&5
19369 cat conftest.$ac_ext >&5
19371 glibcpp_cv_func_ldexpl_use=no
19375 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19376 ac_cpp='$CPP $CPPFLAGS'
19377 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19378 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19379 cross_compiling=$ac_cv_prog_cc_cross
19385 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
19387 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
19388 for ac_func in ldexpl
19390 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19391 echo "configure
:19392: checking
for $ac_func" >&5
19392 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19393 echo $ac_n "(cached
) $ac_c" 1>&6
19395 cat > conftest.$ac_ext <<EOF
19396 #line 19397 "configure
"
19397 #include "confdefs.h
"
19398 /* System header to define __stub macros and hopefully few prototypes,
19399 which can conflict with char $ac_func(); below. */
19400 #include <assert.h>
19401 /* Override any gcc2 internal prototype to avoid an error. */
19402 /* We use char because int might match the return type of a gcc2
19403 builtin and then its argument prototype would still apply. */
19408 /* The GNU C library defines this for functions which it implements
19409 to always fail with ENOSYS. Some functions are actually named
19410 something starting with __ and the normal name is an alias. */
19411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19419 if { (eval echo configure:19420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19421 eval "ac_cv_func_
$ac_func=yes"
19423 echo "configure
: failed program was
:" >&5
19424 cat conftest.$ac_ext >&5
19426 eval "ac_cv_func_
$ac_func=no
"
19431 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19432 echo "$ac_t""yes" 1>&6
19433 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19434 cat >> confdefs.h <<EOF
19435 #define $ac_tr_func 1
19439 echo "$ac_t""no
" 1>&6
19445 echo $ac_n "checking
for _ldexpl declaration
""...
$ac_c" 1>&6
19446 echo "configure
:19447: checking
for _ldexpl declaration
" >&5
19447 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
19448 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
19449 echo $ac_n "(cached
) $ac_c" 1>&6
19454 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19455 ac_cpp='$CXXCPP $CPPFLAGS'
19456 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19457 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19458 cross_compiling=$ac_cv_prog_cxx_cross
19460 cat > conftest.$ac_ext <<EOF
19461 #line 19462 "configure
"
19462 #include "confdefs.h
"
19468 if { (eval echo configure:19469: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19470 glibcpp_cv_func__ldexpl_use=yes
19472 echo "configure
: failed program was
:" >&5
19473 cat conftest.$ac_ext >&5
19475 glibcpp_cv_func__ldexpl_use=no
19479 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19480 ac_cpp='$CPP $CPPFLAGS'
19481 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19482 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19483 cross_compiling=$ac_cv_prog_cc_cross
19489 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
19491 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
19492 for ac_func in _ldexpl
19494 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19495 echo "configure
:19496: checking
for $ac_func" >&5
19496 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19497 echo $ac_n "(cached
) $ac_c" 1>&6
19499 cat > conftest.$ac_ext <<EOF
19500 #line 19501 "configure
"
19501 #include "confdefs.h
"
19502 /* System header to define __stub macros and hopefully few prototypes,
19503 which can conflict with char $ac_func(); below. */
19504 #include <assert.h>
19505 /* Override any gcc2 internal prototype to avoid an error. */
19506 /* We use char because int might match the return type of a gcc2
19507 builtin and then its argument prototype would still apply. */
19512 /* The GNU C library defines this for functions which it implements
19513 to always fail with ENOSYS. Some functions are actually named
19514 something starting with __ and the normal name is an alias. */
19515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19523 if { (eval echo configure:19524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19525 eval "ac_cv_func_
$ac_func=yes"
19527 echo "configure
: failed program was
:" >&5
19528 cat conftest.$ac_ext >&5
19530 eval "ac_cv_func_
$ac_func=no
"
19535 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19536 echo "$ac_t""yes" 1>&6
19537 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19538 cat >> confdefs.h <<EOF
19539 #define $ac_tr_func 1
19543 echo "$ac_t""no
" 1>&6
19552 echo $ac_n "checking
for logl declaration
""...
$ac_c" 1>&6
19553 echo "configure
:19554: checking
for logl declaration
" >&5
19554 if test x${glibcpp_cv_func_logl_use+set} != xset; then
19555 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
19556 echo $ac_n "(cached
) $ac_c" 1>&6
19561 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19562 ac_cpp='$CXXCPP $CPPFLAGS'
19563 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19564 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19565 cross_compiling=$ac_cv_prog_cxx_cross
19567 cat > conftest.$ac_ext <<EOF
19568 #line 19569 "configure
"
19569 #include "confdefs.h
"
19571 #ifdef HAVE_IEEEFP_H
19572 #include <ieeefp.h>
19579 if { (eval echo configure:19580: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19581 glibcpp_cv_func_logl_use=yes
19583 echo "configure
: failed program was
:" >&5
19584 cat conftest.$ac_ext >&5
19586 glibcpp_cv_func_logl_use=no
19590 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19591 ac_cpp='$CPP $CPPFLAGS'
19592 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19593 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19594 cross_compiling=$ac_cv_prog_cc_cross
19600 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
19602 if test x$glibcpp_cv_func_logl_use = x"yes"; then
19603 for ac_func in logl
19605 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19606 echo "configure
:19607: checking
for $ac_func" >&5
19607 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19608 echo $ac_n "(cached
) $ac_c" 1>&6
19610 cat > conftest.$ac_ext <<EOF
19611 #line 19612 "configure
"
19612 #include "confdefs.h
"
19613 /* System header to define __stub macros and hopefully few prototypes,
19614 which can conflict with char $ac_func(); below. */
19615 #include <assert.h>
19616 /* Override any gcc2 internal prototype to avoid an error. */
19617 /* We use char because int might match the return type of a gcc2
19618 builtin and then its argument prototype would still apply. */
19623 /* The GNU C library defines this for functions which it implements
19624 to always fail with ENOSYS. Some functions are actually named
19625 something starting with __ and the normal name is an alias. */
19626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19634 if { (eval echo configure:19635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19636 eval "ac_cv_func_
$ac_func=yes"
19638 echo "configure
: failed program was
:" >&5
19639 cat conftest.$ac_ext >&5
19641 eval "ac_cv_func_
$ac_func=no
"
19646 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19647 echo "$ac_t""yes" 1>&6
19648 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19649 cat >> confdefs.h <<EOF
19650 #define $ac_tr_func 1
19654 echo "$ac_t""no
" 1>&6
19660 echo $ac_n "checking
for _logl declaration
""...
$ac_c" 1>&6
19661 echo "configure
:19662: checking
for _logl declaration
" >&5
19662 if test x${glibcpp_cv_func__logl_use+set} != xset; then
19663 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
19664 echo $ac_n "(cached
) $ac_c" 1>&6
19669 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19670 ac_cpp='$CXXCPP $CPPFLAGS'
19671 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19672 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19673 cross_compiling=$ac_cv_prog_cxx_cross
19675 cat > conftest.$ac_ext <<EOF
19676 #line 19677 "configure
"
19677 #include "confdefs.h
"
19679 #ifdef HAVE_IEEEFP_H
19680 #include <ieeefp.h>
19687 if { (eval echo configure:19688: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19689 glibcpp_cv_func__logl_use=yes
19691 echo "configure
: failed program was
:" >&5
19692 cat conftest.$ac_ext >&5
19694 glibcpp_cv_func__logl_use=no
19698 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19699 ac_cpp='$CPP $CPPFLAGS'
19700 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19701 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19702 cross_compiling=$ac_cv_prog_cc_cross
19708 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
19710 if test x$glibcpp_cv_func__logl_use = x"yes"; then
19711 for ac_func in _logl
19713 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19714 echo "configure
:19715: checking
for $ac_func" >&5
19715 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19716 echo $ac_n "(cached
) $ac_c" 1>&6
19718 cat > conftest.$ac_ext <<EOF
19719 #line 19720 "configure
"
19720 #include "confdefs.h
"
19721 /* System header to define __stub macros and hopefully few prototypes,
19722 which can conflict with char $ac_func(); below. */
19723 #include <assert.h>
19724 /* Override any gcc2 internal prototype to avoid an error. */
19725 /* We use char because int might match the return type of a gcc2
19726 builtin and then its argument prototype would still apply. */
19731 /* The GNU C library defines this for functions which it implements
19732 to always fail with ENOSYS. Some functions are actually named
19733 something starting with __ and the normal name is an alias. */
19734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19742 if { (eval echo configure:19743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19744 eval "ac_cv_func_
$ac_func=yes"
19746 echo "configure
: failed program was
:" >&5
19747 cat conftest.$ac_ext >&5
19749 eval "ac_cv_func_
$ac_func=no
"
19754 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19755 echo "$ac_t""yes" 1>&6
19756 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19757 cat >> confdefs.h <<EOF
19758 #define $ac_tr_func 1
19762 echo "$ac_t""no
" 1>&6
19771 echo $ac_n "checking
for log10l declaration
""...
$ac_c" 1>&6
19772 echo "configure
:19773: checking
for log10l declaration
" >&5
19773 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
19774 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
19775 echo $ac_n "(cached
) $ac_c" 1>&6
19780 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19781 ac_cpp='$CXXCPP $CPPFLAGS'
19782 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19783 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19784 cross_compiling=$ac_cv_prog_cxx_cross
19786 cat > conftest.$ac_ext <<EOF
19787 #line 19788 "configure
"
19788 #include "confdefs.h
"
19790 #ifdef HAVE_IEEEFP_H
19791 #include <ieeefp.h>
19798 if { (eval echo configure:19799: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19800 glibcpp_cv_func_log10l_use=yes
19802 echo "configure
: failed program was
:" >&5
19803 cat conftest.$ac_ext >&5
19805 glibcpp_cv_func_log10l_use=no
19809 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19810 ac_cpp='$CPP $CPPFLAGS'
19811 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19812 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19813 cross_compiling=$ac_cv_prog_cc_cross
19819 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
19821 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
19822 for ac_func in log10l
19824 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19825 echo "configure
:19826: checking
for $ac_func" >&5
19826 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19827 echo $ac_n "(cached
) $ac_c" 1>&6
19829 cat > conftest.$ac_ext <<EOF
19830 #line 19831 "configure
"
19831 #include "confdefs.h
"
19832 /* System header to define __stub macros and hopefully few prototypes,
19833 which can conflict with char $ac_func(); below. */
19834 #include <assert.h>
19835 /* Override any gcc2 internal prototype to avoid an error. */
19836 /* We use char because int might match the return type of a gcc2
19837 builtin and then its argument prototype would still apply. */
19842 /* The GNU C library defines this for functions which it implements
19843 to always fail with ENOSYS. Some functions are actually named
19844 something starting with __ and the normal name is an alias. */
19845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19853 if { (eval echo configure:19854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19855 eval "ac_cv_func_
$ac_func=yes"
19857 echo "configure
: failed program was
:" >&5
19858 cat conftest.$ac_ext >&5
19860 eval "ac_cv_func_
$ac_func=no
"
19865 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19866 echo "$ac_t""yes" 1>&6
19867 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19868 cat >> confdefs.h <<EOF
19869 #define $ac_tr_func 1
19873 echo "$ac_t""no
" 1>&6
19879 echo $ac_n "checking
for _log10l declaration
""...
$ac_c" 1>&6
19880 echo "configure
:19881: checking
for _log10l declaration
" >&5
19881 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
19882 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
19883 echo $ac_n "(cached
) $ac_c" 1>&6
19888 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19889 ac_cpp='$CXXCPP $CPPFLAGS'
19890 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19891 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19892 cross_compiling=$ac_cv_prog_cxx_cross
19894 cat > conftest.$ac_ext <<EOF
19895 #line 19896 "configure
"
19896 #include "confdefs.h
"
19898 #ifdef HAVE_IEEEFP_H
19899 #include <ieeefp.h>
19906 if { (eval echo configure:19907: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19908 glibcpp_cv_func__log10l_use=yes
19910 echo "configure
: failed program was
:" >&5
19911 cat conftest.$ac_ext >&5
19913 glibcpp_cv_func__log10l_use=no
19917 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19918 ac_cpp='$CPP $CPPFLAGS'
19919 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19920 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19921 cross_compiling=$ac_cv_prog_cc_cross
19927 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
19929 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
19930 for ac_func in _log10l
19932 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19933 echo "configure
:19934: checking
for $ac_func" >&5
19934 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19935 echo $ac_n "(cached
) $ac_c" 1>&6
19937 cat > conftest.$ac_ext <<EOF
19938 #line 19939 "configure
"
19939 #include "confdefs.h
"
19940 /* System header to define __stub macros and hopefully few prototypes,
19941 which can conflict with char $ac_func(); below. */
19942 #include <assert.h>
19943 /* Override any gcc2 internal prototype to avoid an error. */
19944 /* We use char because int might match the return type of a gcc2
19945 builtin and then its argument prototype would still apply. */
19950 /* The GNU C library defines this for functions which it implements
19951 to always fail with ENOSYS. Some functions are actually named
19952 something starting with __ and the normal name is an alias. */
19953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19961 if { (eval echo configure:19962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19963 eval "ac_cv_func_
$ac_func=yes"
19965 echo "configure
: failed program was
:" >&5
19966 cat conftest.$ac_ext >&5
19968 eval "ac_cv_func_
$ac_func=no
"
19973 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19974 echo "$ac_t""yes" 1>&6
19975 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19976 cat >> confdefs.h <<EOF
19977 #define $ac_tr_func 1
19981 echo "$ac_t""no
" 1>&6
19990 echo $ac_n "checking
for modfl declaration
""...
$ac_c" 1>&6
19991 echo "configure
:19992: checking
for modfl declaration
" >&5
19992 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
19993 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
19994 echo $ac_n "(cached
) $ac_c" 1>&6
19999 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20000 ac_cpp='$CXXCPP $CPPFLAGS'
20001 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20002 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20003 cross_compiling=$ac_cv_prog_cxx_cross
20005 cat > conftest.$ac_ext <<EOF
20006 #line 20007 "configure
"
20007 #include "confdefs.h
"
20013 if { (eval echo configure:20014: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20015 glibcpp_cv_func_modfl_use=yes
20017 echo "configure
: failed program was
:" >&5
20018 cat conftest.$ac_ext >&5
20020 glibcpp_cv_func_modfl_use=no
20024 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20025 ac_cpp='$CPP $CPPFLAGS'
20026 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20027 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20028 cross_compiling=$ac_cv_prog_cc_cross
20034 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
20036 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
20037 for ac_func in modfl
20039 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20040 echo "configure
:20041: checking
for $ac_func" >&5
20041 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20042 echo $ac_n "(cached
) $ac_c" 1>&6
20044 cat > conftest.$ac_ext <<EOF
20045 #line 20046 "configure
"
20046 #include "confdefs.h
"
20047 /* System header to define __stub macros and hopefully few prototypes,
20048 which can conflict with char $ac_func(); below. */
20049 #include <assert.h>
20050 /* Override any gcc2 internal prototype to avoid an error. */
20051 /* We use char because int might match the return type of a gcc2
20052 builtin and then its argument prototype would still apply. */
20057 /* The GNU C library defines this for functions which it implements
20058 to always fail with ENOSYS. Some functions are actually named
20059 something starting with __ and the normal name is an alias. */
20060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20068 if { (eval echo configure:20069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20070 eval "ac_cv_func_
$ac_func=yes"
20072 echo "configure
: failed program was
:" >&5
20073 cat conftest.$ac_ext >&5
20075 eval "ac_cv_func_
$ac_func=no
"
20080 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20081 echo "$ac_t""yes" 1>&6
20082 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20083 cat >> confdefs.h <<EOF
20084 #define $ac_tr_func 1
20088 echo "$ac_t""no
" 1>&6
20094 echo $ac_n "checking
for _modfl declaration
""...
$ac_c" 1>&6
20095 echo "configure
:20096: checking
for _modfl declaration
" >&5
20096 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
20097 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
20098 echo $ac_n "(cached
) $ac_c" 1>&6
20103 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20104 ac_cpp='$CXXCPP $CPPFLAGS'
20105 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20106 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20107 cross_compiling=$ac_cv_prog_cxx_cross
20109 cat > conftest.$ac_ext <<EOF
20110 #line 20111 "configure
"
20111 #include "confdefs.h
"
20117 if { (eval echo configure:20118: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20119 glibcpp_cv_func__modfl_use=yes
20121 echo "configure
: failed program was
:" >&5
20122 cat conftest.$ac_ext >&5
20124 glibcpp_cv_func__modfl_use=no
20128 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20129 ac_cpp='$CPP $CPPFLAGS'
20130 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20131 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20132 cross_compiling=$ac_cv_prog_cc_cross
20138 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
20140 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
20141 for ac_func in _modfl
20143 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20144 echo "configure
:20145: checking
for $ac_func" >&5
20145 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20146 echo $ac_n "(cached
) $ac_c" 1>&6
20148 cat > conftest.$ac_ext <<EOF
20149 #line 20150 "configure
"
20150 #include "confdefs.h
"
20151 /* System header to define __stub macros and hopefully few prototypes,
20152 which can conflict with char $ac_func(); below. */
20153 #include <assert.h>
20154 /* Override any gcc2 internal prototype to avoid an error. */
20155 /* We use char because int might match the return type of a gcc2
20156 builtin and then its argument prototype would still apply. */
20161 /* The GNU C library defines this for functions which it implements
20162 to always fail with ENOSYS. Some functions are actually named
20163 something starting with __ and the normal name is an alias. */
20164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20172 if { (eval echo configure:20173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20174 eval "ac_cv_func_
$ac_func=yes"
20176 echo "configure
: failed program was
:" >&5
20177 cat conftest.$ac_ext >&5
20179 eval "ac_cv_func_
$ac_func=no
"
20184 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20185 echo "$ac_t""yes" 1>&6
20186 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20187 cat >> confdefs.h <<EOF
20188 #define $ac_tr_func 1
20192 echo "$ac_t""no
" 1>&6
20201 echo $ac_n "checking
for powl declaration
""...
$ac_c" 1>&6
20202 echo "configure
:20203: checking
for powl declaration
" >&5
20203 if test x${glibcpp_cv_func_powl_use+set} != xset; then
20204 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
20205 echo $ac_n "(cached
) $ac_c" 1>&6
20210 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20211 ac_cpp='$CXXCPP $CPPFLAGS'
20212 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20213 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20214 cross_compiling=$ac_cv_prog_cxx_cross
20216 cat > conftest.$ac_ext <<EOF
20217 #line 20218 "configure
"
20218 #include "confdefs.h
"
20224 if { (eval echo configure:20225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20226 glibcpp_cv_func_powl_use=yes
20228 echo "configure
: failed program was
:" >&5
20229 cat conftest.$ac_ext >&5
20231 glibcpp_cv_func_powl_use=no
20235 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20236 ac_cpp='$CPP $CPPFLAGS'
20237 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20238 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20239 cross_compiling=$ac_cv_prog_cc_cross
20245 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
20247 if test x$glibcpp_cv_func_powl_use = x"yes"; then
20248 for ac_func in powl
20250 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20251 echo "configure
:20252: checking
for $ac_func" >&5
20252 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20253 echo $ac_n "(cached
) $ac_c" 1>&6
20255 cat > conftest.$ac_ext <<EOF
20256 #line 20257 "configure
"
20257 #include "confdefs.h
"
20258 /* System header to define __stub macros and hopefully few prototypes,
20259 which can conflict with char $ac_func(); below. */
20260 #include <assert.h>
20261 /* Override any gcc2 internal prototype to avoid an error. */
20262 /* We use char because int might match the return type of a gcc2
20263 builtin and then its argument prototype would still apply. */
20268 /* The GNU C library defines this for functions which it implements
20269 to always fail with ENOSYS. Some functions are actually named
20270 something starting with __ and the normal name is an alias. */
20271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20279 if { (eval echo configure:20280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20281 eval "ac_cv_func_
$ac_func=yes"
20283 echo "configure
: failed program was
:" >&5
20284 cat conftest.$ac_ext >&5
20286 eval "ac_cv_func_
$ac_func=no
"
20291 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20292 echo "$ac_t""yes" 1>&6
20293 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20294 cat >> confdefs.h <<EOF
20295 #define $ac_tr_func 1
20299 echo "$ac_t""no
" 1>&6
20305 echo $ac_n "checking
for _powl declaration
""...
$ac_c" 1>&6
20306 echo "configure
:20307: checking
for _powl declaration
" >&5
20307 if test x${glibcpp_cv_func__powl_use+set} != xset; then
20308 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
20309 echo $ac_n "(cached
) $ac_c" 1>&6
20314 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20315 ac_cpp='$CXXCPP $CPPFLAGS'
20316 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20317 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20318 cross_compiling=$ac_cv_prog_cxx_cross
20320 cat > conftest.$ac_ext <<EOF
20321 #line 20322 "configure
"
20322 #include "confdefs.h
"
20328 if { (eval echo configure:20329: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20330 glibcpp_cv_func__powl_use=yes
20332 echo "configure
: failed program was
:" >&5
20333 cat conftest.$ac_ext >&5
20335 glibcpp_cv_func__powl_use=no
20339 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20340 ac_cpp='$CPP $CPPFLAGS'
20341 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20342 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20343 cross_compiling=$ac_cv_prog_cc_cross
20349 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
20351 if test x$glibcpp_cv_func__powl_use = x"yes"; then
20352 for ac_func in _powl
20354 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20355 echo "configure
:20356: checking
for $ac_func" >&5
20356 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20357 echo $ac_n "(cached
) $ac_c" 1>&6
20359 cat > conftest.$ac_ext <<EOF
20360 #line 20361 "configure
"
20361 #include "confdefs.h
"
20362 /* System header to define __stub macros and hopefully few prototypes,
20363 which can conflict with char $ac_func(); below. */
20364 #include <assert.h>
20365 /* Override any gcc2 internal prototype to avoid an error. */
20366 /* We use char because int might match the return type of a gcc2
20367 builtin and then its argument prototype would still apply. */
20372 /* The GNU C library defines this for functions which it implements
20373 to always fail with ENOSYS. Some functions are actually named
20374 something starting with __ and the normal name is an alias. */
20375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20383 if { (eval echo configure:20384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20385 eval "ac_cv_func_
$ac_func=yes"
20387 echo "configure
: failed program was
:" >&5
20388 cat conftest.$ac_ext >&5
20390 eval "ac_cv_func_
$ac_func=no
"
20395 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20396 echo "$ac_t""yes" 1>&6
20397 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20398 cat >> confdefs.h <<EOF
20399 #define $ac_tr_func 1
20403 echo "$ac_t""no
" 1>&6
20412 echo $ac_n "checking
for sqrtl declaration
""...
$ac_c" 1>&6
20413 echo "configure
:20414: checking
for sqrtl declaration
" >&5
20414 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
20415 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
20416 echo $ac_n "(cached
) $ac_c" 1>&6
20421 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20422 ac_cpp='$CXXCPP $CPPFLAGS'
20423 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20424 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20425 cross_compiling=$ac_cv_prog_cxx_cross
20427 cat > conftest.$ac_ext <<EOF
20428 #line 20429 "configure
"
20429 #include "confdefs.h
"
20431 #ifdef HAVE_IEEEFP_H
20432 #include <ieeefp.h>
20439 if { (eval echo configure:20440: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20441 glibcpp_cv_func_sqrtl_use=yes
20443 echo "configure
: failed program was
:" >&5
20444 cat conftest.$ac_ext >&5
20446 glibcpp_cv_func_sqrtl_use=no
20450 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20451 ac_cpp='$CPP $CPPFLAGS'
20452 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20453 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20454 cross_compiling=$ac_cv_prog_cc_cross
20460 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
20462 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
20463 for ac_func in sqrtl
20465 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20466 echo "configure
:20467: checking
for $ac_func" >&5
20467 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20468 echo $ac_n "(cached
) $ac_c" 1>&6
20470 cat > conftest.$ac_ext <<EOF
20471 #line 20472 "configure
"
20472 #include "confdefs.h
"
20473 /* System header to define __stub macros and hopefully few prototypes,
20474 which can conflict with char $ac_func(); below. */
20475 #include <assert.h>
20476 /* Override any gcc2 internal prototype to avoid an error. */
20477 /* We use char because int might match the return type of a gcc2
20478 builtin and then its argument prototype would still apply. */
20483 /* The GNU C library defines this for functions which it implements
20484 to always fail with ENOSYS. Some functions are actually named
20485 something starting with __ and the normal name is an alias. */
20486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20494 if { (eval echo configure:20495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20496 eval "ac_cv_func_
$ac_func=yes"
20498 echo "configure
: failed program was
:" >&5
20499 cat conftest.$ac_ext >&5
20501 eval "ac_cv_func_
$ac_func=no
"
20506 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20507 echo "$ac_t""yes" 1>&6
20508 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20509 cat >> confdefs.h <<EOF
20510 #define $ac_tr_func 1
20514 echo "$ac_t""no
" 1>&6
20520 echo $ac_n "checking
for _sqrtl declaration
""...
$ac_c" 1>&6
20521 echo "configure
:20522: checking
for _sqrtl declaration
" >&5
20522 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
20523 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
20524 echo $ac_n "(cached
) $ac_c" 1>&6
20529 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20530 ac_cpp='$CXXCPP $CPPFLAGS'
20531 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20532 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20533 cross_compiling=$ac_cv_prog_cxx_cross
20535 cat > conftest.$ac_ext <<EOF
20536 #line 20537 "configure
"
20537 #include "confdefs.h
"
20539 #ifdef HAVE_IEEEFP_H
20540 #include <ieeefp.h>
20547 if { (eval echo configure:20548: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20549 glibcpp_cv_func__sqrtl_use=yes
20551 echo "configure
: failed program was
:" >&5
20552 cat conftest.$ac_ext >&5
20554 glibcpp_cv_func__sqrtl_use=no
20558 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20559 ac_cpp='$CPP $CPPFLAGS'
20560 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20561 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20562 cross_compiling=$ac_cv_prog_cc_cross
20568 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
20570 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
20571 for ac_func in _sqrtl
20573 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20574 echo "configure
:20575: checking
for $ac_func" >&5
20575 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20576 echo $ac_n "(cached
) $ac_c" 1>&6
20578 cat > conftest.$ac_ext <<EOF
20579 #line 20580 "configure
"
20580 #include "confdefs.h
"
20581 /* System header to define __stub macros and hopefully few prototypes,
20582 which can conflict with char $ac_func(); below. */
20583 #include <assert.h>
20584 /* Override any gcc2 internal prototype to avoid an error. */
20585 /* We use char because int might match the return type of a gcc2
20586 builtin and then its argument prototype would still apply. */
20591 /* The GNU C library defines this for functions which it implements
20592 to always fail with ENOSYS. Some functions are actually named
20593 something starting with __ and the normal name is an alias. */
20594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20602 if { (eval echo configure:20603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20604 eval "ac_cv_func_
$ac_func=yes"
20606 echo "configure
: failed program was
:" >&5
20607 cat conftest.$ac_ext >&5
20609 eval "ac_cv_func_
$ac_func=no
"
20614 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20615 echo "$ac_t""yes" 1>&6
20616 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20617 cat >> confdefs.h <<EOF
20618 #define $ac_tr_func 1
20622 echo "$ac_t""no
" 1>&6
20631 echo $ac_n "checking
for sincosl declaration
""...
$ac_c" 1>&6
20632 echo "configure
:20633: checking
for sincosl declaration
" >&5
20633 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
20634 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
20635 echo $ac_n "(cached
) $ac_c" 1>&6
20640 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20641 ac_cpp='$CXXCPP $CPPFLAGS'
20642 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20643 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20644 cross_compiling=$ac_cv_prog_cxx_cross
20646 cat > conftest.$ac_ext <<EOF
20647 #line 20648 "configure
"
20648 #include "confdefs.h
"
20654 if { (eval echo configure:20655: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20656 glibcpp_cv_func_sincosl_use=yes
20658 echo "configure
: failed program was
:" >&5
20659 cat conftest.$ac_ext >&5
20661 glibcpp_cv_func_sincosl_use=no
20665 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20666 ac_cpp='$CPP $CPPFLAGS'
20667 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20668 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20669 cross_compiling=$ac_cv_prog_cc_cross
20675 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
20677 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
20678 for ac_func in sincosl
20680 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20681 echo "configure
:20682: checking
for $ac_func" >&5
20682 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20683 echo $ac_n "(cached
) $ac_c" 1>&6
20685 cat > conftest.$ac_ext <<EOF
20686 #line 20687 "configure
"
20687 #include "confdefs.h
"
20688 /* System header to define __stub macros and hopefully few prototypes,
20689 which can conflict with char $ac_func(); below. */
20690 #include <assert.h>
20691 /* Override any gcc2 internal prototype to avoid an error. */
20692 /* We use char because int might match the return type of a gcc2
20693 builtin and then its argument prototype would still apply. */
20698 /* The GNU C library defines this for functions which it implements
20699 to always fail with ENOSYS. Some functions are actually named
20700 something starting with __ and the normal name is an alias. */
20701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20709 if { (eval echo configure:20710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20711 eval "ac_cv_func_
$ac_func=yes"
20713 echo "configure
: failed program was
:" >&5
20714 cat conftest.$ac_ext >&5
20716 eval "ac_cv_func_
$ac_func=no
"
20721 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20722 echo "$ac_t""yes" 1>&6
20723 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20724 cat >> confdefs.h <<EOF
20725 #define $ac_tr_func 1
20729 echo "$ac_t""no
" 1>&6
20735 echo $ac_n "checking
for _sincosl declaration
""...
$ac_c" 1>&6
20736 echo "configure
:20737: checking
for _sincosl declaration
" >&5
20737 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
20738 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
20739 echo $ac_n "(cached
) $ac_c" 1>&6
20744 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20745 ac_cpp='$CXXCPP $CPPFLAGS'
20746 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20747 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20748 cross_compiling=$ac_cv_prog_cxx_cross
20750 cat > conftest.$ac_ext <<EOF
20751 #line 20752 "configure
"
20752 #include "confdefs.h
"
20758 if { (eval echo configure:20759: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20760 glibcpp_cv_func__sincosl_use=yes
20762 echo "configure
: failed program was
:" >&5
20763 cat conftest.$ac_ext >&5
20765 glibcpp_cv_func__sincosl_use=no
20769 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20770 ac_cpp='$CPP $CPPFLAGS'
20771 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20772 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20773 cross_compiling=$ac_cv_prog_cc_cross
20779 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
20781 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
20782 for ac_func in _sincosl
20784 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20785 echo "configure
:20786: checking
for $ac_func" >&5
20786 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20787 echo $ac_n "(cached
) $ac_c" 1>&6
20789 cat > conftest.$ac_ext <<EOF
20790 #line 20791 "configure
"
20791 #include "confdefs.h
"
20792 /* System header to define __stub macros and hopefully few prototypes,
20793 which can conflict with char $ac_func(); below. */
20794 #include <assert.h>
20795 /* Override any gcc2 internal prototype to avoid an error. */
20796 /* We use char because int might match the return type of a gcc2
20797 builtin and then its argument prototype would still apply. */
20802 /* The GNU C library defines this for functions which it implements
20803 to always fail with ENOSYS. Some functions are actually named
20804 something starting with __ and the normal name is an alias. */
20805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20813 if { (eval echo configure:20814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20815 eval "ac_cv_func_
$ac_func=yes"
20817 echo "configure
: failed program was
:" >&5
20818 cat conftest.$ac_ext >&5
20820 eval "ac_cv_func_
$ac_func=no
"
20825 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20826 echo "$ac_t""yes" 1>&6
20827 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20828 cat >> confdefs.h <<EOF
20829 #define $ac_tr_func 1
20833 echo "$ac_t""no
" 1>&6
20842 echo $ac_n "checking
for finitel declaration
""...
$ac_c" 1>&6
20843 echo "configure
:20844: checking
for finitel declaration
" >&5
20844 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
20845 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
20846 echo $ac_n "(cached
) $ac_c" 1>&6
20851 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20852 ac_cpp='$CXXCPP $CPPFLAGS'
20853 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20854 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20855 cross_compiling=$ac_cv_prog_cxx_cross
20857 cat > conftest.$ac_ext <<EOF
20858 #line 20859 "configure
"
20859 #include "confdefs.h
"
20861 #ifdef HAVE_IEEEFP_H
20862 #include <ieeefp.h>
20869 if { (eval echo configure:20870: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20871 glibcpp_cv_func_finitel_use=yes
20873 echo "configure
: failed program was
:" >&5
20874 cat conftest.$ac_ext >&5
20876 glibcpp_cv_func_finitel_use=no
20880 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20881 ac_cpp='$CPP $CPPFLAGS'
20882 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20883 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20884 cross_compiling=$ac_cv_prog_cc_cross
20890 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
20892 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
20893 for ac_func in finitel
20895 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20896 echo "configure
:20897: checking
for $ac_func" >&5
20897 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20898 echo $ac_n "(cached
) $ac_c" 1>&6
20900 cat > conftest.$ac_ext <<EOF
20901 #line 20902 "configure
"
20902 #include "confdefs.h
"
20903 /* System header to define __stub macros and hopefully few prototypes,
20904 which can conflict with char $ac_func(); below. */
20905 #include <assert.h>
20906 /* Override any gcc2 internal prototype to avoid an error. */
20907 /* We use char because int might match the return type of a gcc2
20908 builtin and then its argument prototype would still apply. */
20913 /* The GNU C library defines this for functions which it implements
20914 to always fail with ENOSYS. Some functions are actually named
20915 something starting with __ and the normal name is an alias. */
20916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20924 if { (eval echo configure:20925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20926 eval "ac_cv_func_
$ac_func=yes"
20928 echo "configure
: failed program was
:" >&5
20929 cat conftest.$ac_ext >&5
20931 eval "ac_cv_func_
$ac_func=no
"
20936 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20937 echo "$ac_t""yes" 1>&6
20938 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20939 cat >> confdefs.h <<EOF
20940 #define $ac_tr_func 1
20944 echo "$ac_t""no
" 1>&6
20950 echo $ac_n "checking
for _finitel declaration
""...
$ac_c" 1>&6
20951 echo "configure
:20952: checking
for _finitel declaration
" >&5
20952 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
20953 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
20954 echo $ac_n "(cached
) $ac_c" 1>&6
20959 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20960 ac_cpp='$CXXCPP $CPPFLAGS'
20961 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20962 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20963 cross_compiling=$ac_cv_prog_cxx_cross
20965 cat > conftest.$ac_ext <<EOF
20966 #line 20967 "configure
"
20967 #include "confdefs.h
"
20969 #ifdef HAVE_IEEEFP_H
20970 #include <ieeefp.h>
20977 if { (eval echo configure:20978: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20979 glibcpp_cv_func__finitel_use=yes
20981 echo "configure
: failed program was
:" >&5
20982 cat conftest.$ac_ext >&5
20984 glibcpp_cv_func__finitel_use=no
20988 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20989 ac_cpp='$CPP $CPPFLAGS'
20990 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20991 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20992 cross_compiling=$ac_cv_prog_cc_cross
20998 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
21000 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
21001 for ac_func in _finitel
21003 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21004 echo "configure
:21005: checking
for $ac_func" >&5
21005 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21006 echo $ac_n "(cached
) $ac_c" 1>&6
21008 cat > conftest.$ac_ext <<EOF
21009 #line 21010 "configure
"
21010 #include "confdefs.h
"
21011 /* System header to define __stub macros and hopefully few prototypes,
21012 which can conflict with char $ac_func(); below. */
21013 #include <assert.h>
21014 /* Override any gcc2 internal prototype to avoid an error. */
21015 /* We use char because int might match the return type of a gcc2
21016 builtin and then its argument prototype would still apply. */
21021 /* The GNU C library defines this for functions which it implements
21022 to always fail with ENOSYS. Some functions are actually named
21023 something starting with __ and the normal name is an alias. */
21024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21032 if { (eval echo configure:21033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21034 eval "ac_cv_func_
$ac_func=yes"
21036 echo "configure
: failed program was
:" >&5
21037 cat conftest.$ac_ext >&5
21039 eval "ac_cv_func_
$ac_func=no
"
21044 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21045 echo "$ac_t""yes" 1>&6
21046 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21047 cat >> confdefs.h <<EOF
21048 #define $ac_tr_func 1
21052 echo "$ac_t""no
" 1>&6
21062 echo $ac_n "checking
for _float trig functions
""...
$ac_c" 1>&6
21063 echo "configure
:21064: checking
for _float trig functions
" >&5
21064 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
21065 echo $ac_n "(cached
) $ac_c" 1>&6
21070 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21071 ac_cpp='$CXXCPP $CPPFLAGS'
21072 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21073 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21074 cross_compiling=$ac_cv_prog_cxx_cross
21076 cat > conftest.$ac_ext <<EOF
21077 #line 21078 "configure
"
21078 #include "confdefs.h
"
21081 `for x in _acosf _asinf _atanf \
21082 _cosf _sinf _tanf \
21083 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
21086 if { (eval echo configure:21087: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21088 glibcpp_cv_func__float_trig_use=yes
21090 echo "configure
: failed program was
:" >&5
21091 cat conftest.$ac_ext >&5
21093 glibcpp_cv_func__float_trig_use=no
21097 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21098 ac_cpp='$CPP $CPPFLAGS'
21099 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21100 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21101 cross_compiling=$ac_cv_prog_cc_cross
21105 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
21106 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
21107 for ac_func in _acosf _asinf _atanf \
21108 _cosf _sinf _tanf \
21109 _coshf _sinhf _tanhf
21111 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21112 echo "configure
:21113: checking
for $ac_func" >&5
21113 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21114 echo $ac_n "(cached
) $ac_c" 1>&6
21116 cat > conftest.$ac_ext <<EOF
21117 #line 21118 "configure
"
21118 #include "confdefs.h
"
21119 /* System header to define __stub macros and hopefully few prototypes,
21120 which can conflict with char $ac_func(); below. */
21121 #include <assert.h>
21122 /* Override any gcc2 internal prototype to avoid an error. */
21123 /* We use char because int might match the return type of a gcc2
21124 builtin and then its argument prototype would still apply. */
21129 /* The GNU C library defines this for functions which it implements
21130 to always fail with ENOSYS. Some functions are actually named
21131 something starting with __ and the normal name is an alias. */
21132 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21140 if { (eval echo configure:21141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21142 eval "ac_cv_func_
$ac_func=yes"
21144 echo "configure
: failed program was
:" >&5
21145 cat conftest.$ac_ext >&5
21147 eval "ac_cv_func_
$ac_func=no
"
21152 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21153 echo "$ac_t""yes" 1>&6
21154 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21155 cat >> confdefs.h <<EOF
21156 #define $ac_tr_func 1
21160 echo "$ac_t""no
" 1>&6
21167 echo $ac_n "checking
for _float round functions
""...
$ac_c" 1>&6
21168 echo "configure
:21169: checking
for _float round functions
" >&5
21169 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
21170 echo $ac_n "(cached
) $ac_c" 1>&6
21175 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21176 ac_cpp='$CXXCPP $CPPFLAGS'
21177 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21178 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21179 cross_compiling=$ac_cv_prog_cxx_cross
21181 cat > conftest.$ac_ext <<EOF
21182 #line 21183 "configure
"
21183 #include "confdefs.h
"
21186 `for x in _ceilf _floorf; do echo "$x (0);"; done`
21189 if { (eval echo configure:21190: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21191 glibcpp_cv_func__float_round_use=yes
21193 echo "configure
: failed program was
:" >&5
21194 cat conftest.$ac_ext >&5
21196 glibcpp_cv_func__float_round_use=no
21200 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21201 ac_cpp='$CPP $CPPFLAGS'
21202 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21203 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21204 cross_compiling=$ac_cv_prog_cc_cross
21208 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
21209 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
21210 for ac_func in _ceilf _floorf
21212 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21213 echo "configure
:21214: checking
for $ac_func" >&5
21214 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21215 echo $ac_n "(cached
) $ac_c" 1>&6
21217 cat > conftest.$ac_ext <<EOF
21218 #line 21219 "configure
"
21219 #include "confdefs.h
"
21220 /* System header to define __stub macros and hopefully few prototypes,
21221 which can conflict with char $ac_func(); below. */
21222 #include <assert.h>
21223 /* Override any gcc2 internal prototype to avoid an error. */
21224 /* We use char because int might match the return type of a gcc2
21225 builtin and then its argument prototype would still apply. */
21230 /* The GNU C library defines this for functions which it implements
21231 to always fail with ENOSYS. Some functions are actually named
21232 something starting with __ and the normal name is an alias. */
21233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21241 if { (eval echo configure:21242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21243 eval "ac_cv_func_
$ac_func=yes"
21245 echo "configure
: failed program was
:" >&5
21246 cat conftest.$ac_ext >&5
21248 eval "ac_cv_func_
$ac_func=no
"
21253 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21254 echo "$ac_t""yes" 1>&6
21255 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21256 cat >> confdefs.h <<EOF
21257 #define $ac_tr_func 1
21261 echo "$ac_t""no
" 1>&6
21269 echo $ac_n "checking
for _long double trig functions
""...
$ac_c" 1>&6
21270 echo "configure
:21271: checking
for _long double trig functions
" >&5
21271 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
21272 echo $ac_n "(cached
) $ac_c" 1>&6
21277 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21278 ac_cpp='$CXXCPP $CPPFLAGS'
21279 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21280 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21281 cross_compiling=$ac_cv_prog_cxx_cross
21283 cat > conftest.$ac_ext <<EOF
21284 #line 21285 "configure
"
21285 #include "confdefs.h
"
21288 `for x in _acosl _asinl _atanl \
21289 _cosl _sinl _tanl \
21290 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
21293 if { (eval echo configure:21294: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21295 glibcpp_cv_func__long_double_trig_use=yes
21297 echo "configure
: failed program was
:" >&5
21298 cat conftest.$ac_ext >&5
21300 glibcpp_cv_func__long_double_trig_use=no
21304 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21305 ac_cpp='$CPP $CPPFLAGS'
21306 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21307 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21308 cross_compiling=$ac_cv_prog_cc_cross
21312 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
21313 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
21314 for ac_func in _acosl _asinl _atanl \
21315 _cosl _sinl _tanl \
21316 _coshl _sinhl _tanhl
21318 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21319 echo "configure
:21320: checking
for $ac_func" >&5
21320 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21321 echo $ac_n "(cached
) $ac_c" 1>&6
21323 cat > conftest.$ac_ext <<EOF
21324 #line 21325 "configure
"
21325 #include "confdefs.h
"
21326 /* System header to define __stub macros and hopefully few prototypes,
21327 which can conflict with char $ac_func(); below. */
21328 #include <assert.h>
21329 /* Override any gcc2 internal prototype to avoid an error. */
21330 /* We use char because int might match the return type of a gcc2
21331 builtin and then its argument prototype would still apply. */
21336 /* The GNU C library defines this for functions which it implements
21337 to always fail with ENOSYS. Some functions are actually named
21338 something starting with __ and the normal name is an alias. */
21339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21347 if { (eval echo configure:21348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21349 eval "ac_cv_func_
$ac_func=yes"
21351 echo "configure
: failed program was
:" >&5
21352 cat conftest.$ac_ext >&5
21354 eval "ac_cv_func_
$ac_func=no
"
21359 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21360 echo "$ac_t""yes" 1>&6
21361 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21362 cat >> confdefs.h <<EOF
21363 #define $ac_tr_func 1
21367 echo "$ac_t""no
" 1>&6
21374 echo $ac_n "checking
for _long double round functions
""...
$ac_c" 1>&6
21375 echo "configure
:21376: checking
for _long double round functions
" >&5
21376 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
21377 echo $ac_n "(cached
) $ac_c" 1>&6
21382 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21383 ac_cpp='$CXXCPP $CPPFLAGS'
21384 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21385 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21386 cross_compiling=$ac_cv_prog_cxx_cross
21388 cat > conftest.$ac_ext <<EOF
21389 #line 21390 "configure
"
21390 #include "confdefs.h
"
21393 `for x in _ceill _floorl; do echo "$x (0);"; done`
21396 if { (eval echo configure:21397: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21398 glibcpp_cv_func__long_double_round_use=yes
21400 echo "configure
: failed program was
:" >&5
21401 cat conftest.$ac_ext >&5
21403 glibcpp_cv_func__long_double_round_use=no
21407 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21408 ac_cpp='$CPP $CPPFLAGS'
21409 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21410 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21411 cross_compiling=$ac_cv_prog_cc_cross
21415 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
21416 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
21417 for ac_func in _ceill _floorl
21419 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21420 echo "configure
:21421: checking
for $ac_func" >&5
21421 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21422 echo $ac_n "(cached
) $ac_c" 1>&6
21424 cat > conftest.$ac_ext <<EOF
21425 #line 21426 "configure
"
21426 #include "confdefs.h
"
21427 /* System header to define __stub macros and hopefully few prototypes,
21428 which can conflict with char $ac_func(); below. */
21429 #include <assert.h>
21430 /* Override any gcc2 internal prototype to avoid an error. */
21431 /* We use char because int might match the return type of a gcc2
21432 builtin and then its argument prototype would still apply. */
21437 /* The GNU C library defines this for functions which it implements
21438 to always fail with ENOSYS. Some functions are actually named
21439 something starting with __ and the normal name is an alias. */
21440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21448 if { (eval echo configure:21449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21450 eval "ac_cv_func_
$ac_func=yes"
21452 echo "configure
: failed program was
:" >&5
21453 cat conftest.$ac_ext >&5
21455 eval "ac_cv_func_
$ac_func=no
"
21460 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21461 echo "$ac_t""yes" 1>&6
21462 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21463 cat >> confdefs.h <<EOF
21464 #define $ac_tr_func 1
21468 echo "$ac_t""no
" 1>&6
21475 LIBS="$ac_save_LIBS"
21476 CXXFLAGS="$ac_save_CXXFLAGS"
21479 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
21480 echo "configure
:21481: checking
for main
in -lm" >&5
21481 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
21482 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
21483 echo $ac_n "(cached
) $ac_c" 1>&6
21485 ac_save_LIBS="$LIBS"
21487 cat > conftest.$ac_ext <<EOF
21488 #line 21489 "configure
"
21489 #include "confdefs.h
"
21495 if { (eval echo configure:21496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21497 eval "ac_cv_lib_
$ac_lib_var=yes"
21499 echo "configure
: failed program was
:" >&5
21500 cat conftest.$ac_ext >&5
21502 eval "ac_cv_lib_
$ac_lib_var=no
"
21505 LIBS="$ac_save_LIBS"
21508 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21509 echo "$ac_t""yes" 1>&6
21510 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
21511 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
21512 cat >> confdefs.h <<EOF
21513 #define $ac_tr_lib 1
21519 echo "$ac_t""no
" 1>&6
21522 for ac_func in nan copysignf
21524 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21525 echo "configure
:21526: checking
for $ac_func" >&5
21526 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21527 echo $ac_n "(cached
) $ac_c" 1>&6
21529 cat > conftest.$ac_ext <<EOF
21530 #line 21531 "configure
"
21531 #include "confdefs.h
"
21532 /* System header to define __stub macros and hopefully few prototypes,
21533 which can conflict with char $ac_func(); below. */
21534 #include <assert.h>
21535 /* Override any gcc2 internal prototype to avoid an error. */
21536 /* We use char because int might match the return type of a gcc2
21537 builtin and then its argument prototype would still apply. */
21542 /* The GNU C library defines this for functions which it implements
21543 to always fail with ENOSYS. Some functions are actually named
21544 something starting with __ and the normal name is an alias. */
21545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21553 if { (eval echo configure:21554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21555 eval "ac_cv_func_
$ac_func=yes"
21557 echo "configure
: failed program was
:" >&5
21558 cat conftest.$ac_ext >&5
21560 eval "ac_cv_func_
$ac_func=no
"
21565 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21566 echo "$ac_t""yes" 1>&6
21567 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21568 cat >> confdefs.h <<EOF
21569 #define $ac_tr_func 1
21573 echo "$ac_t""no
" 1>&6
21574 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
21579 for ac_func in __signbit
21581 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21582 echo "configure
:21583: checking
for $ac_func" >&5
21583 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21584 echo $ac_n "(cached
) $ac_c" 1>&6
21586 cat > conftest.$ac_ext <<EOF
21587 #line 21588 "configure
"
21588 #include "confdefs.h
"
21589 /* System header to define __stub macros and hopefully few prototypes,
21590 which can conflict with char $ac_func(); below. */
21591 #include <assert.h>
21592 /* Override any gcc2 internal prototype to avoid an error. */
21593 /* We use char because int might match the return type of a gcc2
21594 builtin and then its argument prototype would still apply. */
21599 /* The GNU C library defines this for functions which it implements
21600 to always fail with ENOSYS. Some functions are actually named
21601 something starting with __ and the normal name is an alias. */
21602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21610 if { (eval echo configure:21611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21612 eval "ac_cv_func_
$ac_func=yes"
21614 echo "configure
: failed program was
:" >&5
21615 cat conftest.$ac_ext >&5
21617 eval "ac_cv_func_
$ac_func=no
"
21622 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21623 echo "$ac_t""yes" 1>&6
21624 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21625 cat >> confdefs.h <<EOF
21626 #define $ac_tr_func 1
21630 echo "$ac_t""no
" 1>&6
21631 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
21635 for ac_func in __signbitf
21637 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21638 echo "configure
:21639: checking
for $ac_func" >&5
21639 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21640 echo $ac_n "(cached
) $ac_c" 1>&6
21642 cat > conftest.$ac_ext <<EOF
21643 #line 21644 "configure
"
21644 #include "confdefs.h
"
21645 /* System header to define __stub macros and hopefully few prototypes,
21646 which can conflict with char $ac_func(); below. */
21647 #include <assert.h>
21648 /* Override any gcc2 internal prototype to avoid an error. */
21649 /* We use char because int might match the return type of a gcc2
21650 builtin and then its argument prototype would still apply. */
21655 /* The GNU C library defines this for functions which it implements
21656 to always fail with ENOSYS. Some functions are actually named
21657 something starting with __ and the normal name is an alias. */
21658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21666 if { (eval echo configure:21667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21668 eval "ac_cv_func_
$ac_func=yes"
21670 echo "configure
: failed program was
:" >&5
21671 cat conftest.$ac_ext >&5
21673 eval "ac_cv_func_
$ac_func=no
"
21678 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21679 echo "$ac_t""yes" 1>&6
21680 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21681 cat >> confdefs.h <<EOF
21682 #define $ac_tr_func 1
21686 echo "$ac_t""no
" 1>&6
21687 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
21692 if test x$ac_cv_func_copysignl = x"yes"; then
21693 for ac_func in __signbitl
21695 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21696 echo "configure
:21697: checking
for $ac_func" >&5
21697 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21698 echo $ac_n "(cached
) $ac_c" 1>&6
21700 cat > conftest.$ac_ext <<EOF
21701 #line 21702 "configure
"
21702 #include "confdefs.h
"
21703 /* System header to define __stub macros and hopefully few prototypes,
21704 which can conflict with char $ac_func(); below. */
21705 #include <assert.h>
21706 /* Override any gcc2 internal prototype to avoid an error. */
21707 /* We use char because int might match the return type of a gcc2
21708 builtin and then its argument prototype would still apply. */
21713 /* The GNU C library defines this for functions which it implements
21714 to always fail with ENOSYS. Some functions are actually named
21715 something starting with __ and the normal name is an alias. */
21716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21724 if { (eval echo configure:21725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21726 eval "ac_cv_func_
$ac_func=yes"
21728 echo "configure
: failed program was
:" >&5
21729 cat conftest.$ac_ext >&5
21731 eval "ac_cv_func_
$ac_func=no
"
21736 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21737 echo "$ac_t""yes" 1>&6
21738 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21739 cat >> confdefs.h <<EOF
21740 #define $ac_tr_func 1
21744 echo "$ac_t""no
" 1>&6
21745 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
21755 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
21756 echo "configure
:21757: checking
for mbstate_t
" >&5
21757 cat > conftest.$ac_ext <<EOF
21758 #line 21759 "configure
"
21759 #include "confdefs.h
"
21762 mbstate_t teststate;
21765 if { (eval echo configure:21766: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21769 echo "configure
: failed program was
:" >&5
21770 cat conftest.$ac_ext >&5
21775 echo "$ac_t""$have_mbstate_t" 1>&6
21776 if test x"$have_mbstate_t" = xyes; then
21777 cat >> confdefs.h <<\EOF
21778 #define HAVE_MBSTATE_T 1
21783 for ac_hdr in wchar.h
21785 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21786 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
21787 echo "configure
:21788: checking
for $ac_hdr" >&5
21788 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21789 echo $ac_n "(cached
) $ac_c" 1>&6
21791 cat > conftest.$ac_ext <<EOF
21792 #line 21793 "configure
"
21793 #include "confdefs.h
"
21796 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
21797 { (eval echo configure:21798: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21798 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
21799 if test -z "$ac_err"; then
21801 eval "ac_cv_header_
$ac_safe=yes"
21804 echo "configure
: failed program was
:" >&5
21805 cat conftest.$ac_ext >&5
21807 eval "ac_cv_header_
$ac_safe=no
"
21811 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21812 echo "$ac_t""yes" 1>&6
21813 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21814 cat >> confdefs.h <<EOF
21815 #define $ac_tr_hdr 1
21819 echo "$ac_t""no
" 1>&6
21824 for ac_hdr in wctype.h
21826 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21827 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
21828 echo "configure
:21829: checking
for $ac_hdr" >&5
21829 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21830 echo $ac_n "(cached
) $ac_c" 1>&6
21832 cat > conftest.$ac_ext <<EOF
21833 #line 21834 "configure
"
21834 #include "confdefs.h
"
21837 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
21838 { (eval echo configure:21839: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21839 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
21840 if test -z "$ac_err"; then
21842 eval "ac_cv_header_
$ac_safe=yes"
21845 echo "configure
: failed program was
:" >&5
21846 cat conftest.$ac_ext >&5
21848 eval "ac_cv_header_
$ac_safe=no
"
21852 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21853 echo "$ac_t""yes" 1>&6
21854 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21855 cat >> confdefs.h <<EOF
21856 #define $ac_tr_hdr 1
21858 ac_has_wctype_h=yes
21860 echo "$ac_t""no
" 1>&6
21866 if test x"$ac_has_wchar_h" = xyes &&
21867 test x"$ac_has_wctype_h" = xyes &&
21868 test x"$enable_c_mbchar" != xno; then
21870 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
21871 echo "configure
:21872: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
21872 cat > conftest.$ac_ext <<EOF
21873 #line 21874 "configure
"
21874 #include "confdefs.h
"
21877 int i = WCHAR_MIN; int j = WCHAR_MAX;
21880 if { (eval echo configure:21881: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21882 has_wchar_minmax=yes
21884 echo "configure
: failed program was
:" >&5
21885 cat conftest.$ac_ext >&5
21887 has_wchar_minmax=no
21890 echo "$ac_t""$has_wchar_minmax" 1>&6
21892 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
21893 echo "configure
:21894: checking
for WEOF
" >&5
21894 cat > conftest.$ac_ext <<EOF
21895 #line 21896 "configure
"
21896 #include "confdefs.h
"
21899 #include <stddef.h>
21904 if { (eval echo configure:21905: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21908 echo "configure
: failed program was
:" >&5
21909 cat conftest.$ac_ext >&5
21914 echo "$ac_t""$has_weof" 1>&6
21917 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
21919 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21920 echo "configure
:21921: checking
for $ac_func" >&5
21921 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21922 echo $ac_n "(cached
) $ac_c" 1>&6
21924 cat > conftest.$ac_ext <<EOF
21925 #line 21926 "configure
"
21926 #include "confdefs.h
"
21927 /* System header to define __stub macros and hopefully few prototypes,
21928 which can conflict with char $ac_func(); below. */
21929 #include <assert.h>
21930 /* Override any gcc2 internal prototype to avoid an error. */
21931 /* We use char because int might match the return type of a gcc2
21932 builtin and then its argument prototype would still apply. */
21937 /* The GNU C library defines this for functions which it implements
21938 to always fail with ENOSYS. Some functions are actually named
21939 something starting with __ and the normal name is an alias. */
21940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21948 if { (eval echo configure:21949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21950 eval "ac_cv_func_
$ac_func=yes"
21952 echo "configure
: failed program was
:" >&5
21953 cat conftest.$ac_ext >&5
21955 eval "ac_cv_func_
$ac_func=no
"
21960 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21961 echo "$ac_t""yes" 1>&6
21962 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21963 cat >> confdefs.h <<EOF
21964 #define $ac_tr_func 1
21968 echo "$ac_t""no
" 1>&6
21975 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
21976 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
21977 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
21978 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
21979 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
21980 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
21982 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21983 echo "configure
:21984: checking
for $ac_func" >&5
21984 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21985 echo $ac_n "(cached
) $ac_c" 1>&6
21987 cat > conftest.$ac_ext <<EOF
21988 #line 21989 "configure
"
21989 #include "confdefs.h
"
21990 /* System header to define __stub macros and hopefully few prototypes,
21991 which can conflict with char $ac_func(); below. */
21992 #include <assert.h>
21993 /* Override any gcc2 internal prototype to avoid an error. */
21994 /* We use char because int might match the return type of a gcc2
21995 builtin and then its argument prototype would still apply. */
22000 /* The GNU C library defines this for functions which it implements
22001 to always fail with ENOSYS. Some functions are actually named
22002 something starting with __ and the normal name is an alias. */
22003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22011 if { (eval echo configure:22012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22013 eval "ac_cv_func_
$ac_func=yes"
22015 echo "configure
: failed program was
:" >&5
22016 cat conftest.$ac_ext >&5
22018 eval "ac_cv_func_
$ac_func=no
"
22023 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22024 echo "$ac_t""yes" 1>&6
22025 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22026 cat >> confdefs.h <<EOF
22027 #define $ac_tr_func 1
22031 echo "$ac_t""no
" 1>&6
22038 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
22039 echo "configure
:22040: checking
for ISO C99 wchar_t support
" >&5
22040 if test x"$has_weof" = xyes &&
22041 test x"$has_wchar_minmax" = xyes &&
22042 test x"$ac_wfuncs" = xyes; then
22043 ac_isoC99_wchar_t=yes
22045 ac_isoC99_wchar_t=no
22047 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
22049 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
22050 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
22051 echo "configure
:22052: checking
for iconv.h
" >&5
22052 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22053 echo $ac_n "(cached
) $ac_c" 1>&6
22055 cat > conftest.$ac_ext <<EOF
22056 #line 22057 "configure
"
22057 #include "confdefs.h
"
22060 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22061 { (eval echo configure:22062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22062 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22063 if test -z "$ac_err"; then
22065 eval "ac_cv_header_
$ac_safe=yes"
22068 echo "configure
: failed program was
:" >&5
22069 cat conftest.$ac_ext >&5
22071 eval "ac_cv_header_
$ac_safe=no
"
22075 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22076 echo "$ac_t""yes" 1>&6
22079 echo "$ac_t""no
" 1>&6
22083 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
22084 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
22085 echo "configure
:22086: checking
for langinfo.h
" >&5
22086 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22087 echo $ac_n "(cached
) $ac_c" 1>&6
22089 cat > conftest.$ac_ext <<EOF
22090 #line 22091 "configure
"
22091 #include "confdefs.h
"
22092 #include <langinfo.h>
22094 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22095 { (eval echo configure:22096: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22096 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22097 if test -z "$ac_err"; then
22099 eval "ac_cv_header_
$ac_safe=yes"
22102 echo "configure
: failed program was
:" >&5
22103 cat conftest.$ac_ext >&5
22105 eval "ac_cv_header_
$ac_safe=no
"
22109 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22110 echo "$ac_t""yes" 1>&6
22111 ac_has_langinfo_h=yes
22113 echo "$ac_t""no
" 1>&6
22114 ac_has_langinfo_h=no
22118 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
22119 echo "configure
:22120: checking
for iconv in -liconv" >&5
22120 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
22121 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
22122 echo $ac_n "(cached
) $ac_c" 1>&6
22124 ac_save_LIBS="$LIBS"
22125 LIBS="-liconv $LIBS"
22126 cat > conftest.$ac_ext <<EOF
22127 #line 22128 "configure
"
22128 #include "confdefs.h
"
22129 /* Override any gcc2 internal prototype to avoid an error. */
22130 /* We use char because int might match the return type of a gcc2
22131 builtin and then its argument prototype would still apply. */
22138 if { (eval echo configure:22139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22140 eval "ac_cv_lib_
$ac_lib_var=yes"
22142 echo "configure
: failed program was
:" >&5
22143 cat conftest.$ac_ext >&5
22145 eval "ac_cv_lib_
$ac_lib_var=no
"
22148 LIBS="$ac_save_LIBS"
22151 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
22152 echo "$ac_t""yes" 1>&6
22155 echo "$ac_t""no
" 1>&6
22158 ac_save_LIBS="$LIBS"
22159 LIBS="$LIBS $libiconv"
22161 for ac_func in iconv_open iconv_close iconv nl_langinfo
22163 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22164 echo "configure
:22165: checking
for $ac_func" >&5
22165 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22166 echo $ac_n "(cached
) $ac_c" 1>&6
22168 cat > conftest.$ac_ext <<EOF
22169 #line 22170 "configure
"
22170 #include "confdefs.h
"
22171 /* System header to define __stub macros and hopefully few prototypes,
22172 which can conflict with char $ac_func(); below. */
22173 #include <assert.h>
22174 /* Override any gcc2 internal prototype to avoid an error. */
22175 /* We use char because int might match the return type of a gcc2
22176 builtin and then its argument prototype would still apply. */
22181 /* The GNU C library defines this for functions which it implements
22182 to always fail with ENOSYS. Some functions are actually named
22183 something starting with __ and the normal name is an alias. */
22184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22192 if { (eval echo configure:22193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22194 eval "ac_cv_func_
$ac_func=yes"
22196 echo "configure
: failed program was
:" >&5
22197 cat conftest.$ac_ext >&5
22199 eval "ac_cv_func_
$ac_func=no
"
22204 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22205 echo "$ac_t""yes" 1>&6
22206 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22207 cat >> confdefs.h <<EOF
22208 #define $ac_tr_func 1
22213 echo "$ac_t""no
" 1>&6
22219 LIBS="$ac_save_LIBS"
22221 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
22222 echo "configure
:22223: checking
for XPG2 wchar_t support
" >&5
22223 if test x"$ac_has_iconv_h" = xyes &&
22224 test x"$ac_has_langinfo_h" = xyes &&
22225 test x"$ac_XPG2funcs" = xyes; then
22226 ac_XPG2_wchar_t=yes
22230 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
22232 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
22233 echo "configure
:22234: checking
for enabled wchar_t specializations
" >&5
22234 if test x"$ac_isoC99_wchar_t" = xyes &&
22235 test x"$ac_XPG2_wchar_t" = xyes; then
22236 cat >> confdefs.h <<\EOF
22237 #define _GLIBCPP_USE_WCHAR_T 1
22240 echo "$ac_t"""yes"" 1>&6
22242 echo "$ac_t"""no"" 1>&6
22245 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
22249 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22250 ac_save_CXXFLAGS="$CXXFLAGS"
22251 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
22254 echo $ac_n "checking
for strtold declaration
""...
$ac_c" 1>&6
22255 echo "configure
:22256: checking
for strtold declaration
" >&5
22256 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
22257 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
22258 echo $ac_n "(cached
) $ac_c" 1>&6
22263 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22264 ac_cpp='$CXXCPP $CPPFLAGS'
22265 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22266 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22267 cross_compiling=$ac_cv_prog_cxx_cross
22269 cat > conftest.$ac_ext <<EOF
22270 #line 22271 "configure
"
22271 #include "confdefs.h
"
22272 #include <stdlib.h>
22277 if { (eval echo configure:22278: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22279 glibcpp_cv_func_strtold_use=yes
22281 echo "configure
: failed program was
:" >&5
22282 cat conftest.$ac_ext >&5
22284 glibcpp_cv_func_strtold_use=no
22288 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22289 ac_cpp='$CPP $CPPFLAGS'
22290 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22291 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22292 cross_compiling=$ac_cv_prog_cc_cross
22298 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
22299 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
22300 for ac_func in strtold
22302 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22303 echo "configure
:22304: checking
for $ac_func" >&5
22304 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22305 echo $ac_n "(cached
) $ac_c" 1>&6
22307 cat > conftest.$ac_ext <<EOF
22308 #line 22309 "configure
"
22309 #include "confdefs.h
"
22310 /* System header to define __stub macros and hopefully few prototypes,
22311 which can conflict with char $ac_func(); below. */
22312 #include <assert.h>
22313 /* Override any gcc2 internal prototype to avoid an error. */
22314 /* We use char because int might match the return type of a gcc2
22315 builtin and then its argument prototype would still apply. */
22320 /* The GNU C library defines this for functions which it implements
22321 to always fail with ENOSYS. Some functions are actually named
22322 something starting with __ and the normal name is an alias. */
22323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22331 if { (eval echo configure:22332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22333 eval "ac_cv_func_
$ac_func=yes"
22335 echo "configure
: failed program was
:" >&5
22336 cat conftest.$ac_ext >&5
22338 eval "ac_cv_func_
$ac_func=no
"
22343 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22344 echo "$ac_t""yes" 1>&6
22345 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22346 cat >> confdefs.h <<EOF
22347 #define $ac_tr_func 1
22351 echo "$ac_t""no
" 1>&6
22358 echo $ac_n "checking
for strtof declaration
""...
$ac_c" 1>&6
22359 echo "configure
:22360: checking
for strtof declaration
" >&5
22360 if test x${glibcpp_cv_func_strtof_use+set} != xset; then
22361 if eval "test \"`echo '$''{'glibcpp_cv_func_strtof_use'+set}'`\" = set"; then
22362 echo $ac_n "(cached
) $ac_c" 1>&6
22367 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22368 ac_cpp='$CXXCPP $CPPFLAGS'
22369 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22370 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22371 cross_compiling=$ac_cv_prog_cxx_cross
22373 cat > conftest.$ac_ext <<EOF
22374 #line 22375 "configure
"
22375 #include "confdefs.h
"
22376 #include <stdlib.h>
22381 if { (eval echo configure:22382: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22383 glibcpp_cv_func_strtof_use=yes
22385 echo "configure
: failed program was
:" >&5
22386 cat conftest.$ac_ext >&5
22388 glibcpp_cv_func_strtof_use=no
22392 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22393 ac_cpp='$CPP $CPPFLAGS'
22394 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22395 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22396 cross_compiling=$ac_cv_prog_cc_cross
22402 echo "$ac_t""$glibcpp_cv_func_strtof_use" 1>&6
22403 if test x$glibcpp_cv_func_strtof_use = x"yes"; then
22404 for ac_func in strtof
22406 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22407 echo "configure
:22408: checking
for $ac_func" >&5
22408 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22409 echo $ac_n "(cached
) $ac_c" 1>&6
22411 cat > conftest.$ac_ext <<EOF
22412 #line 22413 "configure
"
22413 #include "confdefs.h
"
22414 /* System header to define __stub macros and hopefully few prototypes,
22415 which can conflict with char $ac_func(); below. */
22416 #include <assert.h>
22417 /* Override any gcc2 internal prototype to avoid an error. */
22418 /* We use char because int might match the return type of a gcc2
22419 builtin and then its argument prototype would still apply. */
22424 /* The GNU C library defines this for functions which it implements
22425 to always fail with ENOSYS. Some functions are actually named
22426 something starting with __ and the normal name is an alias. */
22427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22435 if { (eval echo configure:22436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22437 eval "ac_cv_func_
$ac_func=yes"
22439 echo "configure
: failed program was
:" >&5
22440 cat conftest.$ac_ext >&5
22442 eval "ac_cv_func_
$ac_func=no
"
22447 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22448 echo "$ac_t""yes" 1>&6
22449 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22450 cat >> confdefs.h <<EOF
22451 #define $ac_tr_func 1
22455 echo "$ac_t""no
" 1>&6
22461 for ac_func in drand48
22463 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22464 echo "configure
:22465: checking
for $ac_func" >&5
22465 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22466 echo $ac_n "(cached
) $ac_c" 1>&6
22468 cat > conftest.$ac_ext <<EOF
22469 #line 22470 "configure
"
22470 #include "confdefs.h
"
22471 /* System header to define __stub macros and hopefully few prototypes,
22472 which can conflict with char $ac_func(); below. */
22473 #include <assert.h>
22474 /* Override any gcc2 internal prototype to avoid an error. */
22475 /* We use char because int might match the return type of a gcc2
22476 builtin and then its argument prototype would still apply. */
22481 /* The GNU C library defines this for functions which it implements
22482 to always fail with ENOSYS. Some functions are actually named
22483 something starting with __ and the normal name is an alias. */
22484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22492 if { (eval echo configure:22493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22494 eval "ac_cv_func_
$ac_func=yes"
22496 echo "configure
: failed program was
:" >&5
22497 cat conftest.$ac_ext >&5
22499 eval "ac_cv_func_
$ac_func=no
"
22504 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22505 echo "$ac_t""yes" 1>&6
22506 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22507 cat >> confdefs.h <<EOF
22508 #define $ac_tr_func 1
22512 echo "$ac_t""no
" 1>&6
22517 CXXFLAGS="$ac_save_CXXFLAGS"
22520 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22521 ac_save_CXXFLAGS="$CXXFLAGS"
22522 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
22525 echo $ac_n "checking
for isatty declaration
""...
$ac_c" 1>&6
22526 echo "configure
:22527: checking
for isatty declaration
" >&5
22527 if test x${glibcpp_cv_func_isatty_use+set} != xset; then
22528 if eval "test \"`echo '$''{'glibcpp_cv_func_isatty_use'+set}'`\" = set"; then
22529 echo $ac_n "(cached
) $ac_c" 1>&6
22534 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22535 ac_cpp='$CXXCPP $CPPFLAGS'
22536 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22537 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22538 cross_compiling=$ac_cv_prog_cxx_cross
22540 cat > conftest.$ac_ext <<EOF
22541 #line 22542 "configure
"
22542 #include "confdefs.h
"
22543 #include <unistd.h>
22548 if { (eval echo configure:22549: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22550 glibcpp_cv_func_isatty_use=yes
22552 echo "configure
: failed program was
:" >&5
22553 cat conftest.$ac_ext >&5
22555 glibcpp_cv_func_isatty_use=no
22559 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22560 ac_cpp='$CPP $CPPFLAGS'
22561 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22562 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22563 cross_compiling=$ac_cv_prog_cc_cross
22569 echo "$ac_t""$glibcpp_cv_func_isatty_use" 1>&6
22570 if test x$glibcpp_cv_func_isatty_use = x"yes"; then
22571 for ac_func in isatty
22573 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22574 echo "configure
:22575: checking
for $ac_func" >&5
22575 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22576 echo $ac_n "(cached
) $ac_c" 1>&6
22578 cat > conftest.$ac_ext <<EOF
22579 #line 22580 "configure
"
22580 #include "confdefs.h
"
22581 /* System header to define __stub macros and hopefully few prototypes,
22582 which can conflict with char $ac_func(); below. */
22583 #include <assert.h>
22584 /* Override any gcc2 internal prototype to avoid an error. */
22585 /* We use char because int might match the return type of a gcc2
22586 builtin and then its argument prototype would still apply. */
22591 /* The GNU C library defines this for functions which it implements
22592 to always fail with ENOSYS. Some functions are actually named
22593 something starting with __ and the normal name is an alias. */
22594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22602 if { (eval echo configure:22603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22604 eval "ac_cv_func_
$ac_func=yes"
22606 echo "configure
: failed program was
:" >&5
22607 cat conftest.$ac_ext >&5
22609 eval "ac_cv_func_
$ac_func=no
"
22614 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22615 echo "$ac_t""yes" 1>&6
22616 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22617 cat >> confdefs.h <<EOF
22618 #define $ac_tr_func 1
22622 echo "$ac_t""no
" 1>&6
22629 CXXFLAGS="$ac_save_CXXFLAGS"
22632 ac_safe=`echo "locale.h
" | sed 'y%./+-%__p_%'`
22633 echo $ac_n "checking
for locale.h
""...
$ac_c" 1>&6
22634 echo "configure
:22635: checking
for locale.h
" >&5
22635 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22636 echo $ac_n "(cached
) $ac_c" 1>&6
22638 cat > conftest.$ac_ext <<EOF
22639 #line 22640 "configure
"
22640 #include "confdefs.h
"
22641 #include <locale.h>
22643 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22644 { (eval echo configure:22645: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22645 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22646 if test -z "$ac_err"; then
22648 eval "ac_cv_header_
$ac_safe=yes"
22651 echo "configure
: failed program was
:" >&5
22652 cat conftest.$ac_ext >&5
22654 eval "ac_cv_header_
$ac_safe=no
"
22658 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22659 echo "$ac_t""yes" 1>&6
22661 echo $ac_n "checking
for LC_MESSAGES
""...
$ac_c" 1>&6
22662 echo "configure
:22663: checking
for LC_MESSAGES
" >&5
22663 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
22664 echo $ac_n "(cached
) $ac_c" 1>&6
22666 cat > conftest.$ac_ext <<EOF
22667 #line 22668 "configure
"
22668 #include "confdefs.h
"
22669 #include <locale.h>
22674 if { (eval echo configure:22675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22676 ac_cv_val_LC_MESSAGES=yes
22678 echo "configure
: failed program was
:" >&5
22679 cat conftest.$ac_ext >&5
22681 ac_cv_val_LC_MESSAGES=no
22686 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
22687 if test $ac_cv_val_LC_MESSAGES = yes; then
22688 cat >> confdefs.h <<\EOF
22689 #define HAVE_LC_MESSAGES 1
22695 echo "$ac_t""no
" 1>&6
22700 cat > conftest.$ac_ext <<EOF
22701 #line 22702 "configure
"
22702 #include "confdefs.h
"
22704 #include <setjmp.h>
22707 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
22710 if { (eval echo configure:22711: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22712 cat >> confdefs.h <<\EOF
22713 #define HAVE_SIGSETJMP 1
22718 echo "configure
: failed program was
:" >&5
22719 cat conftest.$ac_ext >&5
22723 for ac_hdr in unistd.h
22725 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22726 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
22727 echo "configure
:22728: checking
for $ac_hdr" >&5
22728 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22729 echo $ac_n "(cached
) $ac_c" 1>&6
22731 cat > conftest.$ac_ext <<EOF
22732 #line 22733 "configure
"
22733 #include "confdefs.h
"
22736 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22737 { (eval echo configure:22738: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22738 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22739 if test -z "$ac_err"; then
22741 eval "ac_cv_header_
$ac_safe=yes"
22744 echo "configure
: failed program was
:" >&5
22745 cat conftest.$ac_ext >&5
22747 eval "ac_cv_header_
$ac_safe=no
"
22751 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22752 echo "$ac_t""yes" 1>&6
22753 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22754 cat >> confdefs.h <<EOF
22755 #define $ac_tr_hdr 1
22759 echo "$ac_t""no
" 1>&6
22763 for ac_func in getpagesize
22765 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22766 echo "configure
:22767: checking
for $ac_func" >&5
22767 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22768 echo $ac_n "(cached
) $ac_c" 1>&6
22770 cat > conftest.$ac_ext <<EOF
22771 #line 22772 "configure
"
22772 #include "confdefs.h
"
22773 /* System header to define __stub macros and hopefully few prototypes,
22774 which can conflict with char $ac_func(); below. */
22775 #include <assert.h>
22776 /* Override any gcc2 internal prototype to avoid an error. */
22777 /* We use char because int might match the return type of a gcc2
22778 builtin and then its argument prototype would still apply. */
22783 /* The GNU C library defines this for functions which it implements
22784 to always fail with ENOSYS. Some functions are actually named
22785 something starting with __ and the normal name is an alias. */
22786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22794 if { (eval echo configure:22795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22796 eval "ac_cv_func_
$ac_func=yes"
22798 echo "configure
: failed program was
:" >&5
22799 cat conftest.$ac_ext >&5
22801 eval "ac_cv_func_
$ac_func=no
"
22806 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22807 echo "$ac_t""yes" 1>&6
22808 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22809 cat >> confdefs.h <<EOF
22810 #define $ac_tr_func 1
22814 echo "$ac_t""no
" 1>&6
22818 echo $ac_n "checking
for working mmap
""...
$ac_c" 1>&6
22819 echo "configure
:22820: checking
for working mmap
" >&5
22820 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
22821 echo $ac_n "(cached
) $ac_c" 1>&6
22823 if test "$cross_compiling" = yes; then
22824 ac_cv_func_mmap_fixed_mapped=no
22826 cat > conftest.$ac_ext <<EOF
22827 #line 22828 "configure
"
22828 #include "confdefs.h
"
22830 /* Thanks to Mike Haertel and Jim Avera for this test.
22831 Here is a matrix of mmap possibilities:
22832 mmap private not fixed
22833 mmap private fixed at somewhere currently unmapped
22834 mmap private fixed at somewhere already mapped
22835 mmap shared not fixed
22836 mmap shared fixed at somewhere currently unmapped
22837 mmap shared fixed at somewhere already mapped
22838 For private mappings, we should verify that changes cannot be read()
22839 back from the file, nor mmap's back from the file at a different
22840 address. (There have been systems where private was not correctly
22841 implemented like the infamous i386 svr4.0, and systems where the
22842 VM page cache was not coherent with the filesystem buffer cache
22843 like early versions of FreeBSD and possibly contemporary NetBSD.)
22844 For shared mappings, we should conversely verify that changes get
22845 propogated back to all the places they're supposed to be.
22847 Grep wants private fixed already mapped.
22848 The main things grep needs to know about mmap are:
22849 * does it exist and is it safe to write into the mmap'd area
22850 * how to use it (BSD variants) */
22851 #include <sys/types.h>
22853 #include <sys/mman.h>
22855 /* This mess was copied from the GNU getpagesize.h. */
22856 #ifndef HAVE_GETPAGESIZE
22857 # ifdef HAVE_UNISTD_H
22858 # include <unistd.h>
22861 /* Assume that all systems that can run configure have sys/param.h. */
22862 # ifndef HAVE_SYS_PARAM_H
22863 # define HAVE_SYS_PARAM_H 1
22866 # ifdef _SC_PAGESIZE
22867 # define getpagesize() sysconf(_SC_PAGESIZE)
22868 # else /* no _SC_PAGESIZE */
22869 # ifdef HAVE_SYS_PARAM_H
22870 # include <sys/param.h>
22871 # ifdef EXEC_PAGESIZE
22872 # define getpagesize() EXEC_PAGESIZE
22873 # else /* no EXEC_PAGESIZE */
22875 # define getpagesize() NBPG * CLSIZE
22878 # endif /* no CLSIZE */
22879 # else /* no NBPG */
22881 # define getpagesize() NBPC
22882 # else /* no NBPC */
22884 # define getpagesize() PAGESIZE
22885 # endif /* PAGESIZE */
22886 # endif /* no NBPC */
22887 # endif /* no NBPG */
22888 # endif /* no EXEC_PAGESIZE */
22889 # else /* no HAVE_SYS_PARAM_H */
22890 # define getpagesize() 8192 /* punt totally */
22891 # endif /* no HAVE_SYS_PARAM_H */
22892 # endif /* no _SC_PAGESIZE */
22894 #endif /* no HAVE_GETPAGESIZE */
22897 extern "C
" { void *malloc(unsigned); }
22905 char *data, *data2, *data3;
22909 pagesize = getpagesize();
22912 * First, make a file with some known garbage in it.
22914 data = malloc(pagesize);
22917 for (i = 0; i < pagesize; ++i)
22918 *(data + i) = rand();
22920 fd = creat("conftestmmap
", 0600);
22923 if (write(fd, data, pagesize) != pagesize)
22928 * Next, try to mmap the file at a fixed address which
22929 * already has something else allocated at it. If we can,
22930 * also make sure that we see the same garbage.
22932 fd = open("conftestmmap
", O_RDWR);
22935 data2 = malloc(2 * pagesize);
22938 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
22939 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
22940 MAP_PRIVATE | MAP_FIXED, fd, 0L))
22942 for (i = 0; i < pagesize; ++i)
22943 if (*(data + i) != *(data2 + i))
22947 * Finally, make sure that changes to the mapped area
22948 * do not percolate back to the file as seen by read().
22949 * (This is a bug on some variants of i386 svr4.0.)
22951 for (i = 0; i < pagesize; ++i)
22952 *(data2 + i) = *(data2 + i) + 1;
22953 data3 = malloc(pagesize);
22956 if (read(fd, data3, pagesize) != pagesize)
22958 for (i = 0; i < pagesize; ++i)
22959 if (*(data + i) != *(data3 + i))
22962 unlink("conftestmmap
");
22967 if { (eval echo configure:22968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
22969 ac_cv_func_mmap_fixed_mapped=yes
22971 echo "configure
: failed program was
:" >&5
22972 cat conftest.$ac_ext >&5
22974 ac_cv_func_mmap_fixed_mapped=no
22981 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
22982 if test $ac_cv_func_mmap_fixed_mapped = yes; then
22983 cat >> confdefs.h <<\EOF
22984 #define HAVE_MMAP 1
22990 # Establish limits on memory usage during 'make check'
22993 setrlimit_have_headers=yes
22994 for ac_hdr in unistd.h sys/time.h sys/resource.h
22996 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22997 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
22998 echo "configure
:22999: checking
for $ac_hdr" >&5
22999 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
23000 echo $ac_n "(cached
) $ac_c" 1>&6
23002 cat > conftest.$ac_ext <<EOF
23003 #line 23004 "configure
"
23004 #include "confdefs.h
"
23007 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
23008 { (eval echo configure:23009: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
23009 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
23010 if test -z "$ac_err"; then
23012 eval "ac_cv_header_
$ac_safe=yes"
23015 echo "configure
: failed program was
:" >&5
23016 cat conftest.$ac_ext >&5
23018 eval "ac_cv_header_
$ac_safe=no
"
23022 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
23023 echo "$ac_t""yes" 1>&6
23024 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
23025 cat >> confdefs.h <<EOF
23026 #define $ac_tr_hdr 1
23030 echo "$ac_t""no
" 1>&6
23031 setrlimit_have_headers=no
23035 # If don't have the headers, then we can't run the tests now, and we
23036 # won't be seeing any of these during testsuite compilation.
23037 if test $setrlimit_have_headers = yes; then
23038 # Can't do these in a loop, else the resulting syntax is wrong.
23040 cat > conftest.$ac_ext <<EOF
23041 #line 23042 "configure
"
23042 #include "confdefs.h
"
23043 #include <unistd.h>
23044 #include <sys/time.h>
23045 #include <sys/resource.h>
23048 int f = RLIMIT_DATA ;
23051 if { (eval echo configure:23052: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23055 echo "configure
: failed program was
:" >&5
23056 cat conftest.$ac_ext >&5
23061 cat >> confdefs.h <<EOF
23062 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
23067 cat > conftest.$ac_ext <<EOF
23068 #line 23069 "configure
"
23069 #include "confdefs.h
"
23070 #include <unistd.h>
23071 #include <sys/time.h>
23072 #include <sys/resource.h>
23075 int f = RLIMIT_RSS ;
23078 if { (eval echo configure:23079: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23082 echo "configure
: failed program was
:" >&5
23083 cat conftest.$ac_ext >&5
23088 cat >> confdefs.h <<EOF
23089 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
23094 cat > conftest.$ac_ext <<EOF
23095 #line 23096 "configure
"
23096 #include "confdefs.h
"
23097 #include <unistd.h>
23098 #include <sys/time.h>
23099 #include <sys/resource.h>
23102 int f = RLIMIT_VMEM ;
23105 if { (eval echo configure:23106: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23109 echo "configure
: failed program was
:" >&5
23110 cat conftest.$ac_ext >&5
23115 cat >> confdefs.h <<EOF
23116 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
23121 cat > conftest.$ac_ext <<EOF
23122 #line 23123 "configure
"
23123 #include "confdefs.h
"
23124 #include <unistd.h>
23125 #include <sys/time.h>
23126 #include <sys/resource.h>
23129 int f = RLIMIT_AS ;
23132 if { (eval echo configure:23133: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23136 echo "configure
: failed program was
:" >&5
23137 cat conftest.$ac_ext >&5
23142 cat >> confdefs.h <<EOF
23143 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
23148 # Check for rlimit, setrlimit.
23149 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
23150 echo $ac_n "(cached
) $ac_c" 1>&6
23153 cat > conftest.$ac_ext <<EOF
23154 #line 23155 "configure
"
23155 #include "confdefs.h
"
23156 #include <unistd.h>
23157 #include <sys/time.h>
23158 #include <sys/resource.h>
23161 struct rlimit r; setrlimit(0, &r);
23164 if { (eval echo configure:23165: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23168 echo "configure
: failed program was
:" >&5
23169 cat conftest.$ac_ext >&5
23179 echo $ac_n "checking
for testsuite memory limit support
""...
$ac_c" 1>&6
23180 echo "configure
:23181: checking
for testsuite memory limit support
" >&5
23181 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
23183 cat >> confdefs.h <<\EOF
23184 #define _GLIBCPP_MEM_LIMITS 1
23190 echo "$ac_t""$ac_mem_limits" 1>&6
23193 # Look for setenv, so that extended locale tests can be performed.
23195 echo $ac_n "checking
for setenv declaration
""...
$ac_c" 1>&6
23196 echo "configure
:23197: checking
for setenv declaration
" >&5
23197 if test x${glibcpp_cv_func_setenv_use+set} != xset; then
23198 if eval "test \"`echo '$''{'glibcpp_cv_func_setenv_use'+set}'`\" = set"; then
23199 echo $ac_n "(cached
) $ac_c" 1>&6
23204 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
23205 ac_cpp='$CXXCPP $CPPFLAGS'
23206 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
23207 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23208 cross_compiling=$ac_cv_prog_cxx_cross
23210 cat > conftest.$ac_ext <<EOF
23211 #line 23212 "configure
"
23212 #include "confdefs.h
"
23213 #include <stdlib.h>
23218 if { (eval echo configure:23219: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23220 glibcpp_cv_func_setenv_use=yes
23222 echo "configure
: failed program was
:" >&5
23223 cat conftest.$ac_ext >&5
23225 glibcpp_cv_func_setenv_use=no
23229 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
23230 ac_cpp='$CPP $CPPFLAGS'
23231 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
23232 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23233 cross_compiling=$ac_cv_prog_cc_cross
23239 echo "$ac_t""$glibcpp_cv_func_setenv_use" 1>&6
23240 if test x$glibcpp_cv_func_setenv_use = x"yes"; then
23241 for ac_func in setenv
23243 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
23244 echo "configure
:23245: checking
for $ac_func" >&5
23245 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
23246 echo $ac_n "(cached
) $ac_c" 1>&6
23248 cat > conftest.$ac_ext <<EOF
23249 #line 23250 "configure
"
23250 #include "confdefs.h
"
23251 /* System header to define __stub macros and hopefully few prototypes,
23252 which can conflict with char $ac_func(); below. */
23253 #include <assert.h>
23254 /* Override any gcc2 internal prototype to avoid an error. */
23255 /* We use char because int might match the return type of a gcc2
23256 builtin and then its argument prototype would still apply. */
23261 /* The GNU C library defines this for functions which it implements
23262 to always fail with ENOSYS. Some functions are actually named
23263 something starting with __ and the normal name is an alias. */
23264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23272 if { (eval echo configure:23273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23274 eval "ac_cv_func_
$ac_func=yes"
23276 echo "configure
: failed program was
:" >&5
23277 cat conftest.$ac_ext >&5
23279 eval "ac_cv_func_
$ac_func=no
"
23284 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
23285 echo "$ac_t""yes" 1>&6
23286 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23287 cat >> confdefs.h <<EOF
23288 #define $ac_tr_func 1
23292 echo "$ac_t""no
" 1>&6
23299 # Export file names for ABI checking.
23300 baseline_file="${glibcpp_srcdir}/config
/abi
/${abi_baseline_triplet}/baseline_symbols.txt
"
23303 # Don't do ABI checking unless native.
23306 if test x"$build" = x"$host" && test -z "$with_cross_host"; then
23307 GLIBCPP_BUILD_ABI_CHECK_TRUE=
23308 GLIBCPP_BUILD_ABI_CHECK_FALSE='#'
23310 GLIBCPP_BUILD_ABI_CHECK_TRUE='#'
23311 GLIBCPP_BUILD_ABI_CHECK_FALSE=
23316 # This depends on the possibly-skipped linker test above.
23317 # Check whether --enable-symvers or --disable-symvers was given.
23318 if test "${enable_symvers+set}" = set; then
23319 enableval="$enable_symvers"
23320 case "$enableval" in
23321 yes) enable_symvers=yes ;;
23322 no) enable_symvers=no ;;
23323 # other names here, just as sanity checks
23324 #gnu|sun|etcetera) enable_symvers=$enableval ;;
23325 gnu) enable_symvers=$enableval ;;
23326 *) { echo "configure
: error
: Unknown argument to enable
/disable symvers
" 1>&2; exit 1; } ;;
23332 # If we never went through the GLIBCPP_CHECK_LINKER_FEATURES macro, then we
23333 # don't know enough about $LD to do tricks...
23334 if test x$enable_shared = xno ||
23336 test x$glibcpp_gnu_ld_version = x; then
23340 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
23341 if test $enable_symvers != no; then
23342 echo $ac_n "checking
for shared libgcc
""...
$ac_c" 1>&6
23343 echo "configure
:23344: checking
for shared libgcc
" >&5
23344 ac_save_CFLAGS="$CFLAGS"
23346 cat > conftest.$ac_ext <<EOF
23347 #line 23348 "configure
"
23348 #include "confdefs.h
"
23354 if { (eval echo configure:23355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23356 glibcpp_shared_libgcc=yes
23358 echo "configure
: failed program was
:" >&5
23359 cat conftest.$ac_ext >&5
23361 glibcpp_shared_libgcc=no
23364 CFLAGS="$ac_save_CFLAGS"
23365 echo "$ac_t""$glibcpp_shared_libgcc" 1>&6
23368 # For GNU ld, we need at least this version. It's 2.12 in the same format
23369 # as the tested-for version. See GLIBCPP_CHECK_LINKER_FEATURES for more.
23370 glibcpp_min_gnu_ld_version=21200
23372 # Check to see if unspecified "yes" value can win, given results
23374 if test $enable_symvers = yes ; then
23375 if test $with_gnu_ld = yes &&
23376 test $glibcpp_shared_libgcc = yes ;
23378 if test $glibcpp_gnu_ld_version -ge $glibcpp_min_gnu_ld_version ; then
23381 ac_test_CFLAGS="${CFLAGS+set}"
23382 ac_save_CFLAGS="$CFLAGS"
23383 CFLAGS='-shared -Wl,--version-script,conftest.map'
23386 echo 'FOO { global: f[a-z]o; local: *; };' > conftest.map
23388 cat > conftest.$ac_ext <<EOF
23389 #line 23390 "configure
"
23390 #include "confdefs.h
"
23396 if { (eval echo configure:23397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23400 echo "configure
: failed program was
:" >&5
23401 cat conftest.$ac_ext >&5
23404 if test "$ac_test_CFLAGS" = set; then
23405 CFLAGS="$ac_save_CFLAGS"
23407 # this is the suspicious part
23413 # just fail for now
23418 case $enable_symvers in
23420 LINKER_MAP=config/linker-map.dummy
23423 LINKER_MAP=config/linker-map.gnu
23424 cat >> confdefs.h <<\EOF
23425 #define _GLIBCPP_SYMVER 1
23434 if test $enable_symvers != no; then
23435 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE=
23436 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE='#'
23438 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE='#'
23439 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE=
23441 echo $ac_n "checking versioning on shared library symbols
""...
$ac_c" 1>&6
23442 echo "configure
:23443: checking versioning on shared library symbols
" >&5
23443 echo "$ac_t""$enable_symvers" 1>&6
23446 # Propagate the target-specific source directories through the build chain.
23447 # (Nothing currently uses cpu_include_dir directly; only ATOMICITYH
23448 # uses it, and it only gets used in this file.)
23449 OS_INC_SRCDIR=config/${os_include_dir}
23450 ATOMICITY_INC_SRCDIR=config/${ATOMICITYH}
23454 # Set up cross-compile flags
23457 if test "$CANADIAN" = yes; then
23465 cat > confcache <<\EOF
23466 # This file is a shell script that caches the results of configure
23467 # tests run on this system so they can be shared between configure
23468 # scripts and configure runs. It is not useful on other systems.
23469 # If it contains results you don't want to keep, you may remove or edit it.
23471 # By default, configure uses ./config.cache as the cache file,
23472 # creating it if it does not exist already. You can give configure
23473 # the --cache-file=FILE option to use a different cache file; that is
23474 # what configure does when it calls configure scripts in
23475 # subdirectories, so they share the cache.
23476 # Giving --cache-file=/dev/null disables caching, for debugging configure.
23477 # config.status only pays attention to the cache file if you give it the
23478 # --recheck option to rerun configure.
23481 # The following way of writing the cache mishandles newlines in values,
23482 # but we know of no workaround that is simple, portable, and efficient.
23483 # So, don't put newlines in cache variables' values.
23484 # Ultrix sh set writes to stderr and can't be redirected directly,
23485 # and sets the high bit in the cache file unless we assign to the vars.
23487 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23489 # `set' does not quote correctly, so add quotes (double-quote substitution
23490 # turns \\\\ into \\, and sed turns \\ into \).
23492 -e "s
/'/'\\\\''/g
" \
23493 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
23496 # `set' quotes correctly as required by POSIX, so do not add quotes.
23497 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
23500 if cmp -s $cache_file confcache; then
23503 if test -w $cache_file; then
23504 echo "updating cache
$cache_file"
23505 cat confcache > $cache_file
23507 echo "not updating unwritable cache
$cache_file"
23513 if test "${multilib}" = "yes"; then
23514 multilib_arg="--enable-multilib"
23519 # Export all the install information
23521 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
23522 # exported correctly in GLIBCPP_CONFIGURE.
23523 glibcpp_toolexecdir=no
23524 glibcpp_toolexeclibdir=no
23525 glibcpp_prefixdir=${prefix}
23527 # Process the option --with-gxx-include-dir=<path to include-files directory>
23528 echo $ac_n "checking
for --with-gxx-include-dir""...
$ac_c" 1>&6
23529 echo "configure
:23530: checking
for --with-gxx-include-dir" >&5
23530 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
23531 if test "${with_gxx_include_dir+set}" = set; then
23532 withval="$with_gxx_include_dir"
23533 case "${withval}" in
23535 { echo "configure
: error
: Missing directory
for --with-gxx-include-dir" 1>&2; exit 1; }
23542 gxx_include_dir=${withval}
23549 echo "$ac_t""$gxx_include_dir" 1>&6
23551 # Process the option "--enable-version-specific-runtime-libs"
23552 echo $ac_n "checking
for --enable-version-specific-runtime-libs""...
$ac_c" 1>&6
23553 echo "configure
:23554: checking
for --enable-version-specific-runtime-libs" >&5
23554 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
23555 if test "${enable_version_specific_runtime_libs+set}" = set; then
23556 enableval="$enable_version_specific_runtime_libs"
23557 case "$enableval" in
23558 yes) version_specific_libs=yes ;;
23559 no) version_specific_libs=no ;;
23560 *) { echo "configure
: error
: Unknown argument to enable
/disable version-specific libs
" 1>&2; exit 1; };;
23563 version_specific_libs=no
23565 # Option set, now we can test it.
23566 echo "$ac_t""$version_specific_libs" 1>&6
23568 # Default case for install directory for include files.
23569 if test $version_specific_libs = no && test $gxx_include_dir = no; then
23570 gxx_include_dir='$(prefix)'/include/c++/${gcc_version}
23573 # Version-specific runtime libs processing.
23574 if test $version_specific_libs = yes; then
23575 # Need the gcc compiler version to know where to install libraries
23576 # and header files if --enable-version-specific-runtime-libs option
23578 if test x"$gxx_include_dir" = x"no
"; then
23579 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/c++
23581 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
23582 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
23585 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
23586 # Install a library built with a cross compiler in tooldir, not libdir.
23587 if test x"$glibcpp_toolexecdir" = x"no
"; then
23588 if test -n "$with_cross_host" &&
23589 test x"$with_cross_host" != x"no
"; then
23590 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
23591 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
23593 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
23594 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
23598 echo $ac_n "checking
for install location
""...
$ac_c" 1>&6
23599 echo "configure
:23600: checking
for install location
" >&5
23600 echo "$ac_t""$gxx_include_dir" 1>&6
23608 # Export all the include and flag information to makefiles.
23610 # Root level of the build directory include sources.
23611 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include
"
23613 # Passed down for canadian crosses.
23614 if test x"$CANADIAN" = xyes; then
23615 TOPLEVEL_INCLUDES='-I$(includedir)'
23618 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
23620 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
23622 if test x"$need_libio" = xyes; then
23623 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
23627 # Now, export this to all the little Makefiles....
23634 # Optimization flags that are probably a good idea for thrill-seekers. Just
23635 # uncomment the lines below and make, everything else is ready to go...
23636 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
23640 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
23644 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
23645 grep "enable shared
" > /dev/null; then
23646 LIBSUPCXX_PICFLAGS=-prefer-pic
23648 LIBSUPCXX_PICFLAGS=
23652 # Generate the various Makefiles, include files, and scripts.
23653 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
23654 # and libsupc++/Makefile.am so that multilib installs will end up
23655 # installed in the correct place. To work around this not being passed
23656 # down from config-ml.in -> top_srcdir/Makefile.am ->
23657 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
23659 cat > confcache <<\EOF
23660 # This file is a shell script that caches the results of configure
23661 # tests run on this system so they can be shared between configure
23662 # scripts and configure runs. It is not useful on other systems.
23663 # If it contains results you don't want to keep, you may remove or edit it.
23665 # By default, configure uses ./config.cache as the cache file,
23666 # creating it if it does not exist already. You can give configure
23667 # the --cache-file=FILE option to use a different cache file; that is
23668 # what configure does when it calls configure scripts in
23669 # subdirectories, so they share the cache.
23670 # Giving --cache-file=/dev/null disables caching, for debugging configure.
23671 # config.status only pays attention to the cache file if you give it the
23672 # --recheck option to rerun configure.
23675 # The following way of writing the cache mishandles newlines in values,
23676 # but we know of no workaround that is simple, portable, and efficient.
23677 # So, don't put newlines in cache variables' values.
23678 # Ultrix sh set writes to stderr and can't be redirected directly,
23679 # and sets the high bit in the cache file unless we assign to the vars.
23681 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23683 # `set' does not quote correctly, so add quotes (double-quote substitution
23684 # turns \\\\ into \\, and sed turns \\ into \).
23686 -e "s
/'/'\\\\''/g
" \
23687 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
23690 # `set' quotes correctly as required by POSIX, so do not add quotes.
23691 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
23694 if cmp -s $cache_file confcache; then
23697 if test -w $cache_file; then
23698 echo "updating cache
$cache_file"
23699 cat confcache > $cache_file
23701 echo "not updating unwritable cache
$cache_file"
23706 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
23708 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
23709 # Let make expand exec_prefix.
23710 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
23712 # Any assignment to VPATH causes Sun make to only execute
23713 # the first set of double-colon rules, so remove it if not needed.
23714 # If there is a colon in the path, we need to keep it.
23715 if test "x
$srcdir" = x.; then
23716 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
23719 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
23721 DEFS=-DHAVE_CONFIG_H
23723 # Without the ".
/", some shells look in PATH for config.status.
23724 : ${CONFIG_STATUS=./config.status}
23726 echo creating $CONFIG_STATUS
23727 rm -f $CONFIG_STATUS
23728 cat > $CONFIG_STATUS <<EOF
23730 # Generated automatically by configure.
23731 # Run this file to recreate the current configuration.
23732 # This directory was configured as follows,
23733 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23735 # $0 $ac_configure_args
23737 # Compiler output produced by configure, useful for debugging
23738 # configure, is in ./config.log if it exists.
23740 ac_cs_usage="Usage
: $CONFIG_STATUS [--recheck] [--version] [--help]"
23743 case "\
$ac_option" in
23744 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23745 echo "running \
${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
23746 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
23747 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
23748 echo "$CONFIG_STATUS generated by autoconf version
2.13"
23750 -help | --help | --hel | --he | --h)
23751 echo "\
$ac_cs_usage"; exit 0 ;;
23752 *) echo "\
$ac_cs_usage"; exit 1 ;;
23756 ac_given_srcdir=$srcdir
23757 ac_given_INSTALL="$INSTALL"
23759 trap 'rm -fr `echo "Makefile \
23760 include
/Makefile src
/Makefile \
23761 libmath
/Makefile libio
/Makefile libsupc
++/Makefile \
23762 po
/Makefile testsuite
/Makefile mkcheck testsuite_flags config.h
" | sed "s
/:[^
]*//g
"` conftest*; exit 1' 1 2 15
23764 cat >> $CONFIG_STATUS <<EOF
23766 # Protect against being on the right side of a sed subst in config.status.
23767 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
23768 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
23772 s%@CFLAGS@%$CFLAGS%g
23773 s%@CPPFLAGS@%$CPPFLAGS%g
23774 s%@CXXFLAGS@%$CXXFLAGS%g
23775 s%@FFLAGS@%$FFLAGS%g
23777 s%@LDFLAGS@%$LDFLAGS%g
23779 s%@exec_prefix@%$exec_prefix%g
23780 s%@prefix@%$prefix%g
23781 s%@program_transform_name@%$program_transform_name%g
23782 s%@bindir@%$bindir%g
23783 s%@sbindir@%$sbindir%g
23784 s%@libexecdir@%$libexecdir%g
23785 s%@datadir@%$datadir%g
23786 s%@sysconfdir@%$sysconfdir%g
23787 s%@sharedstatedir@%$sharedstatedir%g
23788 s%@localstatedir@%$localstatedir%g
23789 s%@libdir@%$libdir%g
23790 s%@includedir@%$includedir%g
23791 s%@oldincludedir@%$oldincludedir%g
23792 s%@infodir@%$infodir%g
23793 s%@mandir@%$mandir%g
23794 s%@PACKAGE@%$PACKAGE%g
23795 s%@libtool_VERSION@%$libtool_VERSION%g
23796 s%@toplevel_srcdir@%$toplevel_srcdir%g
23798 s%@host_alias@%$host_alias%g
23799 s%@host_cpu@%$host_cpu%g
23800 s%@host_vendor@%$host_vendor%g
23801 s%@host_os@%$host_os%g
23802 s%@target@%$target%g
23803 s%@target_alias@%$target_alias%g
23804 s%@target_cpu@%$target_cpu%g
23805 s%@target_vendor@%$target_vendor%g
23806 s%@target_os@%$target_os%g
23808 s%@build_alias@%$build_alias%g
23809 s%@build_cpu@%$build_cpu%g
23810 s%@build_vendor@%$build_vendor%g
23811 s%@build_os@%$build_os%g
23812 s%@glibcpp_builddir@%$glibcpp_builddir%g
23813 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
23816 s%@glibcpp_basedir@%$glibcpp_basedir%g
23818 s%@glibcpp_CXX@%$glibcpp_CXX%g
23821 s%@RANLIB@%$RANLIB%g
23822 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
23823 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
23824 s%@INSTALL_DATA@%$INSTALL_DATA%g
23825 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
23826 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
23828 s%@EXEEXT@%$EXEEXT%g
23829 s%@VERSION@%$VERSION%g
23830 s%@ACLOCAL@%$ACLOCAL%g
23831 s%@AUTOCONF@%$AUTOCONF%g
23832 s%@AUTOMAKE@%$AUTOMAKE%g
23833 s%@AUTOHEADER@%$AUTOHEADER%g
23834 s%@MAKEINFO@%$MAKEINFO%g
23835 s%@SET_MAKE@%$SET_MAKE%g
23836 s%@OBJEXT@%$OBJEXT%g
23838 s%@LIBTOOL@%$LIBTOOL%g
23839 s%@CXXCPP@%$CXXCPP%g
23840 s%@enable_shared@%$enable_shared%g
23841 s%@enable_static@%$enable_static%g
23842 s%@ifGNUmake@%$ifGNUmake%g
23843 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
23845 s%@CSTDIO_H@%$CSTDIO_H%g
23846 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
23847 s%@CCODECVT_C@%$CCODECVT_C%g
23848 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
23849 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
23850 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
23851 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
23852 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
23853 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
23854 s%@libio_la@%$libio_la%g
23855 s%@check_msgfmt@%$check_msgfmt%g
23856 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
23857 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
23858 s%@glibcpp_localedir@%$glibcpp_localedir%g
23859 s%@USE_NLS@%$USE_NLS%g
23860 s%@CLOCALE_H@%$CLOCALE_H%g
23861 s%@CCODECVT_H@%$CCODECVT_H%g
23862 s%@CMESSAGES_H@%$CMESSAGES_H%g
23863 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
23864 s%@GLIBCPP_C_HEADERS_C_TRUE@%$GLIBCPP_C_HEADERS_C_TRUE%g
23865 s%@GLIBCPP_C_HEADERS_C_FALSE@%$GLIBCPP_C_HEADERS_C_FALSE%g
23866 s%@GLIBCPP_C_HEADERS_C_STD_TRUE@%$GLIBCPP_C_HEADERS_C_STD_TRUE%g
23867 s%@GLIBCPP_C_HEADERS_C_STD_FALSE@%$GLIBCPP_C_HEADERS_C_STD_FALSE%g
23868 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE%g
23869 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE%g
23870 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
23871 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
23872 s%@LIBUNWIND_FLAG@%$LIBUNWIND_FLAG%g
23873 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
23874 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
23875 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
23876 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
23877 s%@WERROR@%$WERROR%g
23878 s%@baseline_file@%$baseline_file%g
23879 s%@GLIBCPP_BUILD_ABI_CHECK_TRUE@%$GLIBCPP_BUILD_ABI_CHECK_TRUE%g
23880 s%@GLIBCPP_BUILD_ABI_CHECK_FALSE@%$GLIBCPP_BUILD_ABI_CHECK_FALSE%g
23881 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g
23882 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g
23883 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
23884 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
23885 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
23886 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
23887 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
23888 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
23889 s%@gxx_include_dir@%$gxx_include_dir%g
23890 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
23891 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
23892 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
23893 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
23894 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
23895 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
23896 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
23897 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
23898 s%@WARN_FLAGS@%$WARN_FLAGS%g
23899 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
23904 cat >> $CONFIG_STATUS <<\EOF
23906 # Split the substitutions into bite-sized pieces for seds with
23907 # small command number limits, like on Digital OSF/1 and HP-UX.
23908 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
23909 ac_file=1 # Number of current file.
23910 ac_beg=1 # First line for current file.
23911 ac_end=$ac_max_sed_cmds # Line after last line for current file.
23914 while $ac_more_lines; do
23915 if test $ac_beg -gt 1; then
23916 sed "1,${ac_beg}d
; ${ac_end}q
" conftest.subs > conftest.s$ac_file
23918 sed "${ac_end}q
" conftest.subs > conftest.s$ac_file
23920 if test ! -s conftest.s$ac_file; then
23921 ac_more_lines=false
23922 rm -f conftest.s$ac_file
23924 if test -z "$ac_sed_cmds"; then
23925 ac_sed_cmds="sed -f conftest.s
$ac_file"
23927 ac_sed_cmds="$ac_sed_cmds |
sed -f conftest.s
$ac_file"
23929 ac_file=`expr $ac_file + 1`
23931 ac_end=`expr $ac_end + $ac_max_sed_cmds`
23934 if test -z "$ac_sed_cmds"; then
23939 cat >> $CONFIG_STATUS <<EOF
23941 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
23942 include
/Makefile src
/Makefile \
23943 libmath
/Makefile libio
/Makefile libsupc
++/Makefile \
23944 po
/Makefile testsuite
/Makefile mkcheck testsuite_flags
"}
23946 cat >> $CONFIG_STATUS <<\EOF
23947 for ac_file in .. $CONFIG_FILES; do if test "x
$ac_file" != x..; then
23948 # Support "outfile
[:infile
[:infile...
]]", defaulting infile="outfile.
in".
23950 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
23951 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
23952 *) ac_file_in="${ac_file}.
in" ;;
23955 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
23957 # Remove last slash and all that follows it. Not all systems have dirname.
23958 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
23959 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
23960 # The file is in a subdirectory.
23961 test ! -d "$ac_dir" && mkdir "$ac_dir"
23962 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
23963 # A "..
/" for each directory in $ac_dir_suffix.
23964 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
23966 ac_dir_suffix= ac_dots=
23969 case "$ac_given_srcdir" in
23971 if test -z "$ac_dots"; then top_srcdir=.
23972 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
23973 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
23974 *) # Relative path.
23975 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
23976 top_srcdir="$ac_dots$ac_given_srcdir" ;;
23979 case "$ac_given_INSTALL" in
23980 [/$]*) INSTALL="$ac_given_INSTALL" ;;
23981 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
23984 echo creating "$ac_file"
23986 configure_input="Generated automatically from
`echo $ac_file_in|sed 's%.*/%%'` by configure.
"
23988 *Makefile*) ac_comsub="1i
\\
23989 # $configure_input" ;;
23993 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
23995 s%@configure_input@%$configure_input%g
23996 s%@srcdir@%$srcdir%g
23997 s%@top_srcdir@%$top_srcdir%g
23998 s%@INSTALL@%$INSTALL%g
23999 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
24003 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24004 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24006 # ac_d sets the value in "#define NAME VALUE" lines.
24007 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24008 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
24011 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
24012 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24013 ac_uB
='\([ ]\)%\1#\2define\3'
24016 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24017 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24018 ac_eB
='$%\1#\2define\3'
24022 if test "${CONFIG_HEADERS+set}" != set; then
24024 cat >> $CONFIG_STATUS <<EOF
24025 CONFIG_HEADERS="config.h"
24027 cat >> $CONFIG_STATUS <<\EOF
24029 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
24030 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24032 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
24033 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
24034 *) ac_file_in
="${ac_file}.in" ;;
24037 echo creating
$ac_file
24039 rm -f conftest.frag conftest.
in conftest.out
24040 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
24041 cat $ac_file_inputs > conftest.
in
24045 # Transform confdefs.h into a sed script conftest.vals that substitutes
24046 # the proper values into config.h.in to produce config.h. And first:
24047 # Protect against being on the right side of a sed subst in config.status.
24048 # Protect against being in an unquoted here document in config.status.
24049 rm -f conftest.vals
24050 cat > conftest.hdr
<<\EOF
24053 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
24057 sed -n -f conftest.hdr confdefs.h > conftest.vals
24060 # This sed command replaces #undef with comments. This is necessary, for
24061 # example, in the case of _POSIX_SOURCE, which is predefined and required
24062 # on some systems where configure will not decide to define it.
24063 cat >> conftest.vals <<\EOF
24064 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
24067 # Break up conftest.vals because some shells have a limit on
24068 # the size of here documents, and old seds have small limits too.
24070 rm -f conftest.tail
24073 ac_lines=`grep -c . conftest.vals
`
24074 # grep -c gives empty output for an empty file on some AIX systems.
24075 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
24076 # Write a limited-size here document to conftest.frag.
24077 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
24078 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
24080 sed -f conftest.frag conftest.in > conftest.out
24082 mv conftest.out conftest.in
24083 ' >> $CONFIG_STATUS
24084 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
24085 rm -f conftest.vals
24086 mv conftest.tail conftest.vals
24088 rm -f conftest.vals
24090 cat >> $CONFIG_STATUS <<\EOF
24091 rm -f conftest.frag conftest.h
24092 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
24093 cat conftest.in >> conftest.h
24095 if cmp -s $ac_file conftest.h 2>/dev/null; then
24096 echo "$ac_file is unchanged"
24099 # Remove last slash and all that follows it. Not all systems have dirname.
24100 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
24101 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
24102 # The file is in a subdirectory.
24103 test ! -d "$ac_dir" && mkdir "$ac_dir"
24106 mv conftest.h $ac_file
24112 cat >> $CONFIG_STATUS <<EOF
24113 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"
24114 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"
24117 cat >> $CONFIG_STATUS <<\EOF
24118 srcdir=$ac_given_srcdir
24119 while test -n "$ac_sources"; do
24120 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
24121 set $ac_sources; ac_source=$1; shift; ac_sources=$*
24123 echo "linking $srcdir/$ac_source to $ac_dest"
24125 if test ! -r $srcdir/$ac_source; then
24126 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
24130 # Make relative symlinks.
24131 # Remove last slash and all that follows it. Not all systems have dirname.
24132 ac_dest_dir=`echo $ac_dest|
sed 's%/[^/][^/]*$%%'`
24133 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
24134 # The dest file is in a subdirectory.
24135 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
24136 ac_dest_dir_suffix="/`echo $ac_dest_dir|
sed 's%^\./%%'`"
24137 # A "../" for each directory in $ac_dest_dir_suffix.
24138 ac_dots=`echo $ac_dest_dir_suffix|
sed 's%/[^/]*%../%g'`
24140 ac_dest_dir_suffix= ac_dots=
24144 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
24145 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
24148 # Make a symlink if possible; otherwise try a hard link.
24149 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
24150 ln $srcdir/$ac_source $ac_dest; then :
24152 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
24156 cat >> $CONFIG_STATUS <<EOF
24161 with_multisubdir=${with_multisubdir}
24162 ac_configure_args="${multilib_arg} ${ac_configure_args}"
24163 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
24164 glibcpp_basedir=${glibcpp_basedir}
24169 cat >> $CONFIG_STATUS <<\EOF
24170 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
24171 if test -n "$CONFIG_FILES"; then
24172 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
24173 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
24174 grep '^MULTISUBDIR =' Makefile >> src/Makefile
24175 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
24178 chmod +x testsuite_flags
24182 chmod +x $CONFIG_STATUS
24183 rm -fr confdefs* $ac_clean_files
24184 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
24188 # Sanity checking & User-visible messages.
24189 # Checks down here, otherwise they get scrolled off before
24190 # the user will notice.
24192 # Trying to get more people to read documentation. Possibly remove
24193 # check and warn all the time. There is no "informational" AC_MSG_
24194 # macro, so these are going to be printed even when --quiet/--silent
24196 if test ! -f stamp-sanity-warned; then
24197 touch stamp-sanity-warned
24199 echo "Please make certain that you read the installation information here:"
24200 echo " faster => ${srcdir}/docs/html/install.html"
24201 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
24203 echo "and the configuration information here:"
24204 echo " faster => ${srcdir}/docs/html/configopts.html"
24205 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
24207 echo "before proceeding with ${_cv_gnu_make_command}."