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:0: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
827 #possibly test for the presence of the compiler sources here?
829 # Export build and source directories.
830 # These need to be absolute paths, yet at the same time need to
831 # canonicalize only relative paths, because then amd will not unmount
832 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
833 glibcpp_builddir=`${PWDCMD-pwd}`
835 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
836 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
843 for ac_prog in gawk mawk nawk awk
845 # Extract the first word of "$ac_prog", so it can be a program name with args.
846 set dummy $ac_prog; ac_word=$2
847 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
848 echo "configure
:849: checking
for $ac_word" >&5
849 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
850 echo $ac_n "(cached
) $ac_c" 1>&6
852 if test -n "$AWK"; then
853 ac_cv_prog_AWK="$AWK" # Let the user override the test.
855 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
857 for ac_dir in $ac_dummy; do
858 test -z "$ac_dir" && ac_dir=.
859 if test -f $ac_dir/$ac_word; then
860 ac_cv_prog_AWK="$ac_prog"
867 AWK="$ac_cv_prog_AWK"
868 if test -n "$AWK"; then
869 echo "$ac_t""$AWK" 1>&6
871 echo "$ac_t""no
" 1>&6
874 test -n "$AWK" && break
877 # Will set LN_S to either 'ln -s' or 'ln'. With autoconf 2.5x, can also
878 # be 'cp -p' if linking isn't available. Uncomment the next line to
879 # force a particular method.
880 #ac_cv_prog_LN_S='cp -p'
881 echo $ac_n "checking whether
ln -s works
""...
$ac_c" 1>&6
882 echo "configure
:883: checking whether
ln -s works
" >&5
883 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
884 echo $ac_n "(cached
) $ac_c" 1>&6
887 if ln -s X conftestdata 2>/dev/null
890 ac_cv_prog_LN_S="ln -s"
895 LN_S="$ac_cv_prog_LN_S"
896 if test "$ac_cv_prog_LN_S" = "ln -s"; then
897 echo "$ac_t""yes" 1>&6
899 echo "$ac_t""no
" 1>&6
903 # We use these options to decide which functions to include.
904 # Check whether --with-target-subdir or --without-target-subdir was given.
905 if test "${with_target_subdir+set}" = set; then
906 withval="$with_target_subdir"
910 # Check whether --with-cross-host or --without-cross-host was given.
911 if test "${with_cross_host+set}" = set; then
912 withval="$with_cross_host"
917 glibcpp_basedir=$srcdir/$toprel/./libstdc++-v3
920 # Never versions of autoconf add an underscore to these functions.
921 # Prevent future problems ...
928 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
929 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
930 # are probably using a cross compiler, which will not be able to fully
931 # link an executable. This is addressed in later versions of autoconf.
936 # Extract the first word of "gcc
", so it can be a program name with args.
937 set dummy gcc; ac_word=$2
938 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
939 echo "configure
:940: checking
for $ac_word" >&5
940 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
941 echo $ac_n "(cached
) $ac_c" 1>&6
943 if test -n "$CC"; then
944 ac_cv_prog_CC="$CC" # Let the user override the test.
946 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
948 for ac_dir in $ac_dummy; do
949 test -z "$ac_dir" && ac_dir=.
950 if test -f $ac_dir/$ac_word; then
959 if test -n "$CC"; then
960 echo "$ac_t""$CC" 1>&6
962 echo "$ac_t""no
" 1>&6
965 if test -z "$CC"; then
966 # Extract the first word of "cc
", so it can be a program name with args.
967 set dummy cc; ac_word=$2
968 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
969 echo "configure
:970: checking
for $ac_word" >&5
970 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
971 echo $ac_n "(cached
) $ac_c" 1>&6
973 if test -n "$CC"; then
974 ac_cv_prog_CC="$CC" # Let the user override the test.
976 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
979 for ac_dir in $ac_dummy; do
980 test -z "$ac_dir" && ac_dir=.
981 if test -f $ac_dir/$ac_word; then
982 if test "$ac_dir/$ac_word" = "/usr
/ucb
/cc
"; then
991 if test $ac_prog_rejected = yes; then
992 # We found a bogon in the path, so make sure we never use it.
993 set dummy $ac_cv_prog_CC
995 if test $# -gt 0; then
996 # We chose a different compiler from the bogus one.
997 # However, it has the same basename, so the bogon will be chosen
998 # first if we set CC to just the basename; use the full file name.
1000 set dummy "$ac_dir/$ac_word" "$@
"
1008 if test -n "$CC"; then
1009 echo "$ac_t""$CC" 1>&6
1011 echo "$ac_t""no
" 1>&6
1014 test -z "$CC" && { echo "configure
: error
: no acceptable cc found
in \
$PATH" 1>&2; exit 1; }
1017 echo $ac_n "checking whether we are using GNU C
""...
$ac_c" 1>&6
1018 echo "configure
:1019: checking whether we are using GNU C
" >&5
1019 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1020 echo $ac_n "(cached
) $ac_c" 1>&6
1022 cat > conftest.c <<EOF
1027 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1028: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1034 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1036 if test $ac_cv_prog_gcc = yes; then
1038 ac_test_CFLAGS="${CFLAGS+set}"
1039 ac_save_CFLAGS="$CFLAGS"
1041 echo $ac_n "checking whether
${CC-cc} accepts
-g""...
$ac_c" 1>&6
1042 echo "configure
:1043: checking whether
${CC-cc} accepts
-g" >&5
1043 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1044 echo $ac_n "(cached
) $ac_c" 1>&6
1046 echo 'void f(){}' > conftest.c
1047 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1056 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1057 if test "$ac_test_CFLAGS" = set; then
1058 CFLAGS="$ac_save_CFLAGS"
1059 elif test $ac_cv_prog_cc_g = yes; then
1066 test "${CFLAGS+set}" = set || CFLAGS="-g"
1070 # Likewise for AC_PROG_CXX. We can't just call it directly because g++
1071 # will try to link in libstdc++.
1075 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1076 # flags that come in CXX while configuring libstdc++. They're different
1077 # from those used for all other target libraries. If CXX is set in
1078 # the environment, respect that here.
1080 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1082 # Extract the first word of "$ac_prog", so it can be a program name with args.
1083 set dummy $ac_prog; ac_word=$2
1084 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1085 echo "configure
:1086: checking
for $ac_word" >&5
1086 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1087 echo $ac_n "(cached
) $ac_c" 1>&6
1089 if test -n "$glibcpp_CXX"; then
1090 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
1092 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1094 for ac_dir in $ac_dummy; do
1095 test -z "$ac_dir" && ac_dir=.
1096 if test -f $ac_dir/$ac_word; then
1097 ac_cv_prog_glibcpp_CXX="$ac_prog"
1104 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1105 if test -n "$glibcpp_CXX"; then
1106 echo "$ac_t""$glibcpp_CXX" 1>&6
1108 echo "$ac_t""no
" 1>&6
1111 test -n "$glibcpp_CXX" && break
1113 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc
"
1117 test -z "$glibcpp_CXX" && { echo "configure
: error
: no acceptable c
++ found
in \
$PATH" 1>&2; exit 1; }
1119 echo $ac_n "checking whether we are using GNU C
++""...
$ac_c" 1>&6
1120 echo "configure
:1121: checking whether we are using GNU C
++" >&5
1121 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1122 echo $ac_n "(cached
) $ac_c" 1>&6
1124 cat > conftest.C <<EOF
1129 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1130: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1136 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1138 if test $ac_cv_prog_gxx = yes; then
1140 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1141 ac_save_CXXFLAGS="$CXXFLAGS"
1143 echo $ac_n "checking whether
${CXX-g++} accepts
-g""...
$ac_c" 1>&6
1144 echo "configure
:1145: checking whether
${CXX-g++} accepts
-g" >&5
1145 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1146 echo $ac_n "(cached
) $ac_c" 1>&6
1148 echo 'void f(){}' > conftest.cc
1149 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1150 ac_cv_prog_cxx_g=yes
1158 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1159 if test "$ac_test_CXXFLAGS" = set; then
1160 CXXFLAGS="$ac_save_CXXFLAGS"
1161 elif test $ac_cv_prog_cxx_g = yes; then
1168 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1172 # For directory versioning (e.g., headers) and other variables.
1173 echo $ac_n "checking
for GCC version number
""...
$ac_c" 1>&6
1174 echo "configure
:1175: checking
for GCC version number
" >&5
1175 gcc_version=`$glibcpp_CXX -dumpversion`
1176 echo "$ac_t""$gcc_version" 1>&6
1178 # For some reason, gettext needs this.
1180 echo $ac_n "checking
for strerror
in -lcposix""...
$ac_c" 1>&6
1181 echo "configure
:1182: checking
for strerror
in -lcposix" >&5
1182 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
1183 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1184 echo $ac_n "(cached
) $ac_c" 1>&6
1186 ac_save_LIBS="$LIBS"
1187 LIBS="-lcposix $LIBS"
1188 cat > conftest.$ac_ext <<EOF
1189 #line 1190 "configure
"
1190 #include "confdefs.h
"
1191 /* Override any gcc2 internal prototype to avoid an error. */
1192 /* We use char because int might match the return type of a gcc2
1193 builtin and then its argument prototype would still apply. */
1200 if { (eval echo configure:1201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1202 eval "ac_cv_lib_
$ac_lib_var=yes"
1204 echo "configure
: failed program was
:" >&5
1205 cat conftest.$ac_ext >&5
1207 eval "ac_cv_lib_
$ac_lib_var=no
"
1210 LIBS="$ac_save_LIBS"
1213 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1214 echo "$ac_t""yes" 1>&6
1215 LIBS="$LIBS -lcposix"
1217 echo "$ac_t""no
" 1>&6
1223 # Extract the first word of "${ac_tool_prefix}as
", so it can be a program name with args.
1224 set dummy ${ac_tool_prefix}as; ac_word=$2
1225 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1226 echo "configure
:1227: checking
for $ac_word" >&5
1227 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1228 echo $ac_n "(cached
) $ac_c" 1>&6
1230 if test -n "$AS"; then
1231 ac_cv_prog_AS="$AS" # Let the user override the test.
1233 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1235 for ac_dir in $ac_dummy; do
1236 test -z "$ac_dir" && ac_dir=.
1237 if test -f $ac_dir/$ac_word; then
1238 ac_cv_prog_AS="${ac_tool_prefix}as
"
1243 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as
"
1247 if test -n "$AS"; then
1248 echo "$ac_t""$AS" 1>&6
1250 echo "$ac_t""no
" 1>&6
1255 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1256 set dummy ${ac_tool_prefix}ar; ac_word=$2
1257 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1258 echo "configure
:1259: checking
for $ac_word" >&5
1259 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1260 echo $ac_n "(cached
) $ac_c" 1>&6
1262 if test -n "$AR"; then
1263 ac_cv_prog_AR="$AR" # Let the user override the test.
1265 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1267 for ac_dir in $ac_dummy; do
1268 test -z "$ac_dir" && ac_dir=.
1269 if test -f $ac_dir/$ac_word; then
1270 ac_cv_prog_AR="${ac_tool_prefix}ar"
1275 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1279 if test -n "$AR"; then
1280 echo "$ac_t""$AR" 1>&6
1282 echo "$ac_t""no
" 1>&6
1287 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
1288 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1289 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1290 echo "configure
:1291: checking
for $ac_word" >&5
1291 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1292 echo $ac_n "(cached
) $ac_c" 1>&6
1294 if test -n "$RANLIB"; then
1295 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1297 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1299 for ac_dir in $ac_dummy; do
1300 test -z "$ac_dir" && ac_dir=.
1301 if test -f $ac_dir/$ac_word; then
1302 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
1309 RANLIB="$ac_cv_prog_RANLIB"
1310 if test -n "$RANLIB"; then
1311 echo "$ac_t""$RANLIB" 1>&6
1313 echo "$ac_t""no
" 1>&6
1317 if test -z "$ac_cv_prog_RANLIB"; then
1318 if test -n "$ac_tool_prefix"; then
1319 # Extract the first word of "ranlib
", so it can be a program name with args.
1320 set dummy ranlib; ac_word=$2
1321 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1322 echo "configure
:1323: checking
for $ac_word" >&5
1323 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1324 echo $ac_n "(cached
) $ac_c" 1>&6
1326 if test -n "$RANLIB"; then
1327 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1329 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1331 for ac_dir in $ac_dummy; do
1332 test -z "$ac_dir" && ac_dir=.
1333 if test -f $ac_dir/$ac_word; then
1334 ac_cv_prog_RANLIB="ranlib
"
1339 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error
"
1342 RANLIB="$ac_cv_prog_RANLIB"
1343 if test -n "$RANLIB"; then
1344 echo "$ac_t""$RANLIB" 1>&6
1346 echo "$ac_t""no
" 1>&6
1350 RANLIB="ranlib-not-found-in-path-error
"
1354 # Find a good install program. We prefer a C program (faster),
1355 # so one script is as good as another. But avoid the broken or
1356 # incompatible versions:
1357 # SysV /etc/install, /usr/sbin/install
1358 # SunOS /usr/etc/install
1359 # IRIX /sbin/install
1361 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1362 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1363 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
1364 # ./install, which can be erroneously created by make from ./install.sh.
1365 echo $ac_n "checking
for a BSD compatible
install""...
$ac_c" 1>&6
1366 echo "configure
:1367: checking
for a BSD compatible
install" >&5
1367 if test -z "$INSTALL"; then
1368 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1369 echo $ac_n "(cached
) $ac_c" 1>&6
1371 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1372 for ac_dir in $PATH; do
1373 # Account for people who put trailing slashes in PATH elements.
1375 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1377 # OSF1 and SCO ODT 3.0 have their own names for install.
1378 # Don't use installbsd from OSF since it installs stuff as root
1380 for ac_prog in ginstall scoinst install; do
1381 if test -f $ac_dir/$ac_prog; then
1382 if test $ac_prog = install &&
1383 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1384 # AIX install. It has an incompatible calling convention.
1387 ac_cv_path_install="$ac_dir/$ac_prog -c"
1398 if test "${ac_cv_path_install+set}" = set; then
1399 INSTALL="$ac_cv_path_install"
1401 # As a last resort, use the slow shell script. We don't cache a
1402 # path for INSTALL within a source directory, because that will
1403 # break other packages using the cache if that directory is
1404 # removed, or if the path is relative.
1405 INSTALL="$ac_install_sh"
1408 echo "$ac_t""$INSTALL" 1>&6
1410 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1411 # It thinks the first close brace ends the variable substitution.
1412 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1414 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1416 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1419 echo $ac_n "checking whether to
enable maintainer-specific portions of Makefiles
""...
$ac_c" 1>&6
1420 echo "configure
:1421: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
1421 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1422 if test "${enable_maintainer_mode+set}" = set; then
1423 enableval="$enable_maintainer_mode"
1424 USE_MAINTAINER_MODE=$enableval
1426 USE_MAINTAINER_MODE=no
1429 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1432 if test $USE_MAINTAINER_MODE = yes; then
1433 MAINTAINER_MODE_TRUE=
1434 MAINTAINER_MODE_FALSE='#'
1436 MAINTAINER_MODE_TRUE='#'
1437 MAINTAINER_MODE_FALSE=
1439 MAINT=$MAINTAINER_MODE_TRUE
1443 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1444 # at least currently, we never actually build a program, so we never
1445 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1446 # fails, because we are probably configuring with a cross compiler
1447 # which can't create executables. So we include AC_EXEEXT to keep
1448 # automake happy, but we don't execute it, since we don't care about
1451 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1452 # to nothing, so nothing would remain between `then' and `fi' if it
1453 # were not for the `:' below.
1457 echo $ac_n "checking
for executable suffix
""...
$ac_c" 1>&6
1458 echo "configure
:1459: checking
for executable suffix
" >&5
1459 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1460 echo $ac_n "(cached
) $ac_c" 1>&6
1462 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1466 echo 'int main () { return 0; }' > conftest.$ac_ext
1468 if { (eval echo configure:1469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1469 for file in conftest.*; do
1471 *.c | *.o | *.obj) ;;
1472 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1476 { echo "configure
: error
: installation or configuration problem
: compiler cannot create executables.
" 1>&2; exit 1; }
1479 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1484 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1485 echo "$ac_t""${ac_cv_exeext}" 1>&6
1490 case ${glibcpp_basedir} in
1491 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1492 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1495 # Find platform-specific directories containing configuration info. In
1496 # addition to possibly modifying the same flags, it also sets up symlinks.
1498 . ${glibcpp_basedir}/configure.target
1499 echo "$ac_t""CPU config directory is
$cpu_include_dir" 1>&6
1500 echo "$ac_t""OS config directory is
$os_include_dir" 1>&6
1504 echo $ac_n "checking whether build environment is sane
""...
$ac_c" 1>&6
1505 echo "configure
:1506: checking whether build environment is sane
" >&5
1508 echo timestamp > conftestfile
1509 # Do `set' in a subshell so we don't clobber the current shell's
1510 # arguments. Must try -L first in case configure is actually a
1511 # symlink; some systems play weird games with the mod time of symlinks
1512 # (eg FreeBSD returns the mod time of the symlink's containing
1515 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1516 if test "$
*" = "X
"; then
1518 set X `ls -t $srcdir/configure conftestfile`
1520 if test "$
*" != "X
$srcdir/configure conftestfile
" \
1521 && test "$
*" != "X conftestfile
$srcdir/configure
"; then
1523 # If neither matched, then we have a broken ls. This can happen
1524 # if, for instance, CONFIG_SHELL is bash and it inherits a
1525 # broken ls alias from the environment. This has actually
1526 # happened. Such a system could not be considered "sane
".
1527 { echo "configure
: error
: ls -t appears to fail. Make sure there is not a broken
1528 alias in your environment
" 1>&2; exit 1; }
1531 test "$2" = conftestfile
1537 { echo "configure
: error
: newly created
file is older than distributed files
!
1538 Check your system
clock" 1>&2; exit 1; }
1541 echo "$ac_t""yes" 1>&6
1542 if test "$program_transform_name" = s,x,x,; then
1543 program_transform_name=
1545 # Double any \ or $. echo might interpret backslashes.
1546 cat <<\EOF_SED > conftestsed
1547 s,\\,\\\\,g; s,\$,$$,g
1549 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
1552 test "$program_prefix" != NONE &&
1553 program_transform_name="s
,^
,${program_prefix},; $program_transform_name"
1554 # Use a double $ so make ignores it.
1555 test "$program_suffix" != NONE &&
1556 program_transform_name="s
,\$\$
,${program_suffix},; $program_transform_name"
1558 # sed with no file args requires a program.
1559 test "$program_transform_name" = "" && program_transform_name="s
,x
,x
,"
1561 echo $ac_n "checking whether
${MAKE-make} sets \
${MAKE}""...
$ac_c" 1>&6
1562 echo "configure
:1563: checking whether
${MAKE-make} sets \
${MAKE}" >&5
1563 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
1564 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
1565 echo $ac_n "(cached
) $ac_c" 1>&6
1567 cat > conftestmake <<\EOF
1569 @echo 'ac_maketemp="${MAKE}"'
1571 # GNU make sometimes prints "make[1]: Entering...
", which would confuse us.
1572 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
1573 if test -n "$ac_maketemp"; then
1574 eval ac_cv_prog_make_${ac_make}_set=yes
1576 eval ac_cv_prog_make_${ac_make}_set=no
1580 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1581 echo "$ac_t""yes" 1>&6
1584 echo "$ac_t""no
" 1>&6
1585 SET_MAKE="MAKE
=${MAKE-make}"
1591 VERSION=$gcc_version
1593 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1594 { echo "configure
: error
: source directory already configured
; run
"make distclean" there first
" 1>&2; exit 1; }
1596 cat >> confdefs.h <<EOF
1597 #define PACKAGE "$PACKAGE"
1600 cat >> confdefs.h <<EOF
1601 #define VERSION "$VERSION"
1606 missing_dir=`cd $ac_aux_dir && pwd`
1607 echo $ac_n "checking
for working aclocal
""...
$ac_c" 1>&6
1608 echo "configure
:1609: checking
for working aclocal
" >&5
1609 # Run test in a subshell; some versions of sh will print an error if
1610 # an executable is not found, even if stderr is redirected.
1611 # Redirect stdin to placate older versions of autoconf. Sigh.
1612 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
1614 echo "$ac_t""found
" 1>&6
1616 ACLOCAL="$missing_dir/missing aclocal
"
1617 echo "$ac_t""missing
" 1>&6
1620 echo $ac_n "checking
for working autoconf
""...
$ac_c" 1>&6
1621 echo "configure
:1622: checking
for working autoconf
" >&5
1622 # Run test in a subshell; some versions of sh will print an error if
1623 # an executable is not found, even if stderr is redirected.
1624 # Redirect stdin to placate older versions of autoconf. Sigh.
1625 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1627 echo "$ac_t""found
" 1>&6
1629 AUTOCONF="$missing_dir/missing autoconf
"
1630 echo "$ac_t""missing
" 1>&6
1633 echo $ac_n "checking
for working automake
""...
$ac_c" 1>&6
1634 echo "configure
:1635: checking
for working automake
" >&5
1635 # Run test in a subshell; some versions of sh will print an error if
1636 # an executable is not found, even if stderr is redirected.
1637 # Redirect stdin to placate older versions of autoconf. Sigh.
1638 if (automake --version) < /dev/null > /dev/null 2>&1; then
1640 echo "$ac_t""found
" 1>&6
1642 AUTOMAKE="$missing_dir/missing automake
"
1643 echo "$ac_t""missing
" 1>&6
1646 echo $ac_n "checking
for working autoheader
""...
$ac_c" 1>&6
1647 echo "configure
:1648: checking
for working autoheader
" >&5
1648 # Run test in a subshell; some versions of sh will print an error if
1649 # an executable is not found, even if stderr is redirected.
1650 # Redirect stdin to placate older versions of autoconf. Sigh.
1651 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1652 AUTOHEADER=autoheader
1653 echo "$ac_t""found
" 1>&6
1655 AUTOHEADER="$missing_dir/missing autoheader
"
1656 echo "$ac_t""missing
" 1>&6
1659 echo $ac_n "checking
for working makeinfo
""...
$ac_c" 1>&6
1660 echo "configure
:1661: checking
for working makeinfo
" >&5
1661 # Run test in a subshell; some versions of sh will print an error if
1662 # an executable is not found, even if stderr is redirected.
1663 # Redirect stdin to placate older versions of autoconf. Sigh.
1664 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1666 echo "$ac_t""found
" 1>&6
1668 MAKEINFO="$missing_dir/missing makeinfo
"
1669 echo "$ac_t""missing
" 1>&6
1678 # Check whether --enable-shared or --disable-shared was given.
1679 if test "${enable_shared+set}" = set; then
1680 enableval="$enable_shared"
1681 p=${PACKAGE-default}
1683 yes) enable_shared=yes ;;
1684 no) enable_shared=no ;;
1687 # Look at the argument we got. We use all the common list separators.
1688 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1689 for pkg in $enableval; do
1690 if test "X
$pkg" = "X
$p"; then
1701 # Check whether --enable-static or --disable-static was given.
1702 if test "${enable_static+set}" = set; then
1703 enableval="$enable_static"
1704 p=${PACKAGE-default}
1706 yes) enable_static=yes ;;
1707 no) enable_static=no ;;
1710 # Look at the argument we got. We use all the common list separators.
1711 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1712 for pkg in $enableval; do
1713 if test "X
$pkg" = "X
$p"; then
1724 # Check whether --enable-fast-install or --disable-fast-install was given.
1725 if test "${enable_fast_install+set}" = set; then
1726 enableval="$enable_fast_install"
1727 p=${PACKAGE-default}
1729 yes) enable_fast_install=yes ;;
1730 no) enable_fast_install=no ;;
1732 enable_fast_install=no
1733 # Look at the argument we got. We use all the common list separators.
1734 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1735 for pkg in $enableval; do
1736 if test "X
$pkg" = "X
$p"; then
1737 enable_fast_install=yes
1744 enable_fast_install=yes
1747 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1748 if test "${with_gnu_ld+set}" = set; then
1749 withval="$with_gnu_ld"
1750 test "$withval" = no || with_gnu_ld=yes
1756 if test "$GCC" = yes; then
1757 # Check if gcc -print-prog-name=ld gives a path.
1758 echo $ac_n "checking
for ld used by GCC
""...
$ac_c" 1>&6
1759 echo "configure
:1760: checking
for ld used by GCC
" >&5
1762 # gcc leaves a trailing carriage return which upsets mingw
1763 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1765 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1768 # Accept absolute paths.
1769 [\\/]* | [A-Za-z]:[\\/]*)
1770 re_direlt='/[^/][^/]*/\.\./'
1771 # Canonicalize the path of ld
1772 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1773 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1774 ac_prog=`echo $ac_prog| sed "s
%$re_direlt%/%"`
1776 test -z "$LD" && LD="$ac_prog"
1779 # If it fails, then pretend we aren't using GCC.
1783 # If it is relative, then search for the first ld in PATH.
1787 elif test "$with_gnu_ld" = yes; then
1788 echo $ac_n "checking
for GNU ld
""...
$ac_c" 1>&6
1789 echo "configure
:1790: checking
for GNU ld
" >&5
1791 echo $ac_n "checking
for non-GNU ld
""...
$ac_c" 1>&6
1792 echo "configure
:1793: checking
for non-GNU ld
" >&5
1794 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1795 echo $ac_n "(cached
) $ac_c" 1>&6
1797 if test -z "$LD"; then
1798 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1799 for ac_dir in $PATH; do
1800 test -z "$ac_dir" && ac_dir=.
1801 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1802 lt_cv_path_LD="$ac_dir/$ac_prog"
1803 # Check to see if the program is GNU ld. I'd rather use --version,
1804 # but apparently some GNU ld's only accept -v.
1805 # Break only if it was the GNU/non-GNU ld that we prefer.
1806 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1807 test "$with_gnu_ld" != no && break
1809 test "$with_gnu_ld" != yes && break
1815 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1820 if test -n "$LD"; then
1821 echo "$ac_t""$LD" 1>&6
1823 echo "$ac_t""no
" 1>&6
1825 test -z "$LD" && { echo "configure
: error
: no acceptable ld found
in \
$PATH" 1>&2; exit 1; }
1826 echo $ac_n "checking
if the linker
($LD) is GNU ld
""...
$ac_c" 1>&6
1827 echo "configure
:1828: checking
if the linker
($LD) is GNU ld
" >&5
1828 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1829 echo $ac_n "(cached
) $ac_c" 1>&6
1831 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1832 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1833 lt_cv_prog_gnu_ld=yes
1835 lt_cv_prog_gnu_ld=no
1839 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1840 with_gnu_ld=$lt_cv_prog_gnu_ld
1843 echo $ac_n "checking
for $LD option to reload object files
""...
$ac_c" 1>&6
1844 echo "configure
:1845: checking
for $LD option to reload object files
" >&5
1845 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1846 echo $ac_n "(cached
) $ac_c" 1>&6
1848 lt_cv_ld_reload_flag='-r'
1851 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1852 reload_flag=$lt_cv_ld_reload_flag
1853 test -n "$reload_flag" && reload_flag=" $reload_flag"
1855 echo $ac_n "checking
for BSD-compatible nm
""...
$ac_c" 1>&6
1856 echo "configure
:1857: checking
for BSD-compatible nm
" >&5
1857 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1858 echo $ac_n "(cached
) $ac_c" 1>&6
1860 if test -n "$NM"; then
1861 # Let the user override the test.
1864 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1865 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1866 test -z "$ac_dir" && ac_dir=.
1867 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1868 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1869 # Check to see if the nm accepts a BSD-compat flag.
1870 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1871 # nm: unknown option "B
" ignored
1872 # Tru64's nm complains that /dev/null is an invalid object file
1873 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1874 lt_cv_path_NM="$tmp_nm -B"
1876 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1877 lt_cv_path_NM="$tmp_nm -p"
1880 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1881 continue # so that we can try to find one that supports BSD flags
1886 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1891 echo "$ac_t""$NM" 1>&6
1893 echo $ac_n "checking how to recognise dependant libraries
""...
$ac_c" 1>&6
1894 echo "configure
:1895: checking how to recognise dependant libraries
" >&5
1895 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1896 echo $ac_n "(cached
) $ac_c" 1>&6
1898 lt_cv_file_magic_cmd='$MAGIC_CMD'
1899 lt_cv_file_magic_test_file=
1900 lt_cv_deplibs_check_method='unknown'
1901 # Need to set the preceding variable on all platforms that support
1902 # interlibrary dependencies.
1903 # 'none' -- dependencies not supported.
1904 # `unknown' -- same as none, but documents that we really don't know.
1905 # 'pass_all' -- all dependencies passed with no checks.
1906 # 'test_compile' -- check by making test program.
1907 # 'file_magic [regex]' -- check by looking for files in library path
1908 # which responds to the $file_magic_cmd with a given egrep regex.
1909 # If you have `file' or equivalent on your system and you're not sure
1910 # whether `pass_all' will *always* work, you probably want this one.
1914 lt_cv_deplibs_check_method=pass_all
1918 lt_cv_deplibs_check_method=pass_all
1922 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1923 lt_cv_file_magic_cmd='/usr/bin/file -L'
1924 lt_cv_file_magic_test_file=/shlib/libc.so
1927 cygwin* | mingw* |pw32*)
1928 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1929 lt_cv_file_magic_cmd='$OBJDUMP -f'
1932 darwin* | rhapsody*)
1933 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1934 lt_cv_file_magic_cmd='/usr/bin/file -L'
1936 rhapsody* | darwin1.012)
1937 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
1940 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
1946 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1949 # Not sure whether the presence of OpenBSD here was a mistake.
1950 # Let's accept both of them until this is cleared up.
1951 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1952 lt_cv_file_magic_cmd=/usr/bin/file
1953 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1957 lt_cv_deplibs_check_method=pass_all
1962 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
1974 # this will be overridden with pass_all, but let us keep it just in case
1975 lt_cv_deplibs_check_method="file_magic ELF
32-bit MSB dynamic lib MIPS
- version
1"
1979 *-32|*"-32 ") libmagic=32-bit;;
1980 *-n32|*"-n32 ") libmagic=N32;;
1981 *-64|*"-64 ") libmagic=64-bit;;
1982 *) libmagic=never-match;;
1984 # this will be overridden with pass_all, but let us keep it just in case
1985 lt_cv_deplibs_check_method="file_magic ELF
${libmagic} MSB mips-
[1234] dynamic lib MIPS
- version
1"
1988 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
1989 lt_cv_deplibs_check_method=pass_all
1992 # This must be Linux ELF.
1995 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
1996 lt_cv_deplibs_check_method=pass_all ;;
1998 # glibc up to 2.1.1 does not perform some relocations on ARM
1999 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2001 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2005 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2006 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2008 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2013 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2014 lt_cv_file_magic_cmd=/usr/bin/file
2015 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2018 osf3* | osf4* | osf5*)
2019 # this will be overridden with pass_all, but let us keep it just in case
2020 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2021 lt_cv_file_magic_test_file=/shlib/libc.so
2022 lt_cv_deplibs_check_method=pass_all
2026 lt_cv_deplibs_check_method=pass_all
2030 lt_cv_deplibs_check_method=pass_all
2031 lt_cv_file_magic_test_file=/lib/libc.so
2034 sysv5uw[78]* | sysv4*uw2*)
2035 lt_cv_deplibs_check_method=pass_all
2038 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2039 case $host_vendor in
2041 lt_cv_deplibs_check_method=pass_all
2044 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]'
2045 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2053 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2054 file_magic_cmd=$lt_cv_file_magic_cmd
2055 deplibs_check_method=$lt_cv_deplibs_check_method
2057 echo $ac_n "checking
for object suffix
""...
$ac_c" 1>&6
2058 echo "configure
:2059: checking
for object suffix
" >&5
2059 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2060 echo $ac_n "(cached
) $ac_c" 1>&6
2063 echo 'int i = 1;' > conftest.$ac_ext
2064 if { (eval echo configure:2065: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2065 for ac_file in conftest.*; do
2068 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2072 { echo "configure
: error
: installation or configuration problem
; compiler does not work
" 1>&2; exit 1; }
2077 echo "$ac_t""$ac_cv_objext" 1>&6
2078 OBJEXT=$ac_cv_objext
2079 ac_objext=$ac_cv_objext
2081 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2083 # Only perform the check for file, if the check method requires it
2084 case $deplibs_check_method in
2086 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2087 echo $ac_n "checking
for ${ac_tool_prefix}file""...
$ac_c" 1>&6
2088 echo "configure
:2089: checking
for ${ac_tool_prefix}file" >&5
2089 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2090 echo $ac_n "(cached
) $ac_c" 1>&6
2094 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2097 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2100 ac_save_MAGIC_CMD="$MAGIC_CMD"
2101 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2102 ac_dummy="/usr
/bin
:$PATH"
2103 for ac_dir in $ac_dummy; do
2104 test -z "$ac_dir" && ac_dir=.
2105 if test -f $ac_dir/${ac_tool_prefix}file; then
2106 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2107 if test -n "$file_magic_test_file"; then
2108 case $deplibs_check_method in
2110 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2111 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2112 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2113 egrep "$file_magic_regex" > /dev/null; then
2118 *** Warning: the command libtool uses to detect shared libraries,
2119 *** $file_magic_cmd, produces output that libtool cannot recognize.
2120 *** The result is that libtool may fail to recognize shared libraries
2121 *** as such. This will affect the creation of libtool libraries that
2122 *** depend on shared libraries, but programs linked with such libtool
2123 *** libraries will work regardless of this problem. Nevertheless, you
2124 *** may want to report the problem to your system manager and/or to
2125 *** bug-libtool@gnu.org
2135 MAGIC_CMD="$ac_save_MAGIC_CMD"
2140 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2141 if test -n "$MAGIC_CMD"; then
2142 echo "$ac_t""$MAGIC_CMD" 1>&6
2144 echo "$ac_t""no
" 1>&6
2147 if test -z "$lt_cv_path_MAGIC_CMD"; then
2148 if test -n "$ac_tool_prefix"; then
2149 echo $ac_n "checking
for file""...
$ac_c" 1>&6
2150 echo "configure
:2151: checking
for file" >&5
2151 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2152 echo $ac_n "(cached
) $ac_c" 1>&6
2156 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2159 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2162 ac_save_MAGIC_CMD="$MAGIC_CMD"
2163 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2164 ac_dummy="/usr
/bin
:$PATH"
2165 for ac_dir in $ac_dummy; do
2166 test -z "$ac_dir" && ac_dir=.
2167 if test -f $ac_dir/file; then
2168 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2169 if test -n "$file_magic_test_file"; then
2170 case $deplibs_check_method in
2172 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2173 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2174 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2175 egrep "$file_magic_regex" > /dev/null; then
2180 *** Warning: the command libtool uses to detect shared libraries,
2181 *** $file_magic_cmd, produces output that libtool cannot recognize.
2182 *** The result is that libtool may fail to recognize shared libraries
2183 *** as such. This will affect the creation of libtool libraries that
2184 *** depend on shared libraries, but programs linked with such libtool
2185 *** libraries will work regardless of this problem. Nevertheless, you
2186 *** may want to report the problem to your system manager and/or to
2187 *** bug-libtool@gnu.org
2197 MAGIC_CMD="$ac_save_MAGIC_CMD"
2202 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2203 if test -n "$MAGIC_CMD"; then
2204 echo "$ac_t""$MAGIC_CMD" 1>&6
2206 echo "$ac_t""no
" 1>&6
2218 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
2219 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2220 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2221 echo "configure
:2222: checking
for $ac_word" >&5
2222 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2223 echo $ac_n "(cached
) $ac_c" 1>&6
2225 if test -n "$RANLIB"; then
2226 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2228 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2230 for ac_dir in $ac_dummy; do
2231 test -z "$ac_dir" && ac_dir=.
2232 if test -f $ac_dir/$ac_word; then
2233 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
2240 RANLIB="$ac_cv_prog_RANLIB"
2241 if test -n "$RANLIB"; then
2242 echo "$ac_t""$RANLIB" 1>&6
2244 echo "$ac_t""no
" 1>&6
2248 if test -z "$ac_cv_prog_RANLIB"; then
2249 if test -n "$ac_tool_prefix"; then
2250 # Extract the first word of "ranlib
", so it can be a program name with args.
2251 set dummy ranlib; ac_word=$2
2252 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2253 echo "configure
:2254: checking
for $ac_word" >&5
2254 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2255 echo $ac_n "(cached
) $ac_c" 1>&6
2257 if test -n "$RANLIB"; then
2258 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2260 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2262 for ac_dir in $ac_dummy; do
2263 test -z "$ac_dir" && ac_dir=.
2264 if test -f $ac_dir/$ac_word; then
2265 ac_cv_prog_RANLIB="ranlib
"
2270 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2273 RANLIB="$ac_cv_prog_RANLIB"
2274 if test -n "$RANLIB"; then
2275 echo "$ac_t""$RANLIB" 1>&6
2277 echo "$ac_t""no
" 1>&6
2285 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
2286 set dummy ${ac_tool_prefix}strip; ac_word=$2
2287 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2288 echo "configure
:2289: checking
for $ac_word" >&5
2289 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2290 echo $ac_n "(cached
) $ac_c" 1>&6
2292 if test -n "$STRIP"; then
2293 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2295 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2297 for ac_dir in $ac_dummy; do
2298 test -z "$ac_dir" && ac_dir=.
2299 if test -f $ac_dir/$ac_word; then
2300 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
2307 STRIP="$ac_cv_prog_STRIP"
2308 if test -n "$STRIP"; then
2309 echo "$ac_t""$STRIP" 1>&6
2311 echo "$ac_t""no
" 1>&6
2315 if test -z "$ac_cv_prog_STRIP"; then
2316 if test -n "$ac_tool_prefix"; then
2317 # Extract the first word of "strip
", so it can be a program name with args.
2318 set dummy strip; ac_word=$2
2319 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2320 echo "configure
:2321: checking
for $ac_word" >&5
2321 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2322 echo $ac_n "(cached
) $ac_c" 1>&6
2324 if test -n "$STRIP"; then
2325 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2327 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2329 for ac_dir in $ac_dummy; do
2330 test -z "$ac_dir" && ac_dir=.
2331 if test -f $ac_dir/$ac_word; then
2332 ac_cv_prog_STRIP="strip
"
2337 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2340 STRIP="$ac_cv_prog_STRIP"
2341 if test -n "$STRIP"; then
2342 echo "$ac_t""$STRIP" 1>&6
2344 echo "$ac_t""no
" 1>&6
2353 # Check for any special flags to pass to ltconfig.
2354 libtool_flags="--cache-file=$cache_file"
2355 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2356 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2357 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2358 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2359 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2360 libtool_flags="$libtool_flags --enable-dlopen"
2362 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2363 if test "${enable_libtool_lock+set}" = set; then
2364 enableval="$enable_libtool_lock"
2368 test "x
$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2369 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2371 # Check whether --with-pic or --without-pic was given.
2372 if test "${with_pic+set}" = set; then
2379 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2380 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2382 # Some flags need to be propagated to the compiler or linker for good
2386 # Find out which ABI we are using.
2387 echo '#line 2388 "configure
"' > conftest.$ac_ext
2388 if { (eval echo configure:2389: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2389 case `/usr/bin/file conftest.$ac_objext` in
2405 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2406 SAVE_CFLAGS="$CFLAGS"
2407 CFLAGS="$CFLAGS -belf"
2408 echo $ac_n "checking whether the C compiler needs
-belf""...
$ac_c" 1>&6
2409 echo "configure
:2410: checking whether the C compiler needs
-belf" >&5
2410 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2411 echo $ac_n "(cached
) $ac_c" 1>&6
2415 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2416 ac_cpp='$CPP $CPPFLAGS'
2417 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2418 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2419 cross_compiling=$ac_cv_prog_cc_cross
2421 cat > conftest.$ac_ext <<EOF
2422 #line 2423 "configure
"
2423 #include "confdefs.h
"
2429 if { (eval echo configure:2430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2431 lt_cv_cc_needs_belf=yes
2433 echo "configure
: failed program was
:" >&5
2434 cat conftest.$ac_ext >&5
2436 lt_cv_cc_needs_belf=no
2440 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2441 ac_cpp='$CPP $CPPFLAGS'
2442 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2443 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2444 cross_compiling=$ac_cv_prog_cc_cross
2448 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2449 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2450 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2451 CFLAGS="$SAVE_CFLAGS"
2458 echo $ac_n "checking how to run the C
++ preprocessor
""...
$ac_c" 1>&6
2459 echo "configure
:2460: checking how to run the C
++ preprocessor
" >&5
2460 if test -z "$CXXCPP"; then
2461 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2462 echo $ac_n "(cached
) $ac_c" 1>&6
2465 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2466 ac_cpp='$CXXCPP $CPPFLAGS'
2467 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2468 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2469 cross_compiling=$ac_cv_prog_cxx_cross
2470 CXXCPP="${CXX-g++} -E"
2471 cat > conftest.$ac_ext <<EOF
2472 #line 2473 "configure
"
2473 #include "confdefs.h
"
2476 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2477 { (eval echo configure:2478: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2478 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2479 if test -z "$ac_err"; then
2483 echo "configure
: failed program was
:" >&5
2484 cat conftest.$ac_ext >&5
2489 ac_cv_prog_CXXCPP="$CXXCPP"
2491 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2492 ac_cpp='$CPP $CPPFLAGS'
2493 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2494 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2495 cross_compiling=$ac_cv_prog_cc_cross
2498 CXXCPP="$ac_cv_prog_CXXCPP"
2499 echo "$ac_t""$CXXCPP" 1>&6
2502 # Save cache, so that ltconfig can load it
2503 cat > confcache <<\EOF
2504 # This file is a shell script that caches the results of configure
2505 # tests run on this system so they can be shared between configure
2506 # scripts and configure runs. It is not useful on other systems.
2507 # If it contains results you don't want to keep, you may remove or edit it.
2509 # By default, configure uses ./config.cache as the cache file,
2510 # creating it if it does not exist already. You can give configure
2511 # the --cache-file=FILE option to use a different cache file; that is
2512 # what configure does when it calls configure scripts in
2513 # subdirectories, so they share the cache.
2514 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2515 # config.status only pays attention to the cache file if you give it the
2516 # --recheck option to rerun configure.
2519 # The following way of writing the cache mishandles newlines in values,
2520 # but we know of no workaround that is simple, portable, and efficient.
2521 # So, don't put newlines in cache variables' values.
2522 # Ultrix sh set writes to stderr and can't be redirected directly,
2523 # and sets the high bit in the cache file unless we assign to the vars.
2525 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2527 # `set' does not quote correctly, so add quotes (double-quote substitution
2528 # turns \\\\ into \\, and sed turns \\ into \).
2530 -e "s
/'/'\\\\''/g
" \
2531 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
2534 # `set' quotes correctly as required by POSIX, so do not add quotes.
2535 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2538 if cmp -s $cache_file confcache; then
2541 if test -w $cache_file; then
2542 echo "updating cache
$cache_file"
2543 cat confcache > $cache_file
2545 echo "not updating unwritable cache
$cache_file"
2551 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2552 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2553 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2554 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2555 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2556 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2557 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2558 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2559 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2560 || { echo "configure
: error
: libtool configure failed
" 1>&2; exit 1; }
2562 # Reload cache, that may have been modified by ltconfig
2563 if test -r "$cache_file"; then
2564 echo "loading cache
$cache_file"
2567 echo "creating cache
$cache_file"
2572 # This can be used to rebuild libtool when needed
2573 LIBTOOL_DEPS="$ac_aux_dir/ltconfig
$ac_aux_dir/ltmain.sh
$ac_aux_dir/ltcf-c.sh
"
2575 # Always use our own libtool.
2576 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2578 # Redirect the config.log output again, so that the ltconfig log is not
2579 # clobbered by the next message.
2580 exec 5>>./config.log
2584 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh
"
2586 lt_save_CFLAGS="$CFLAGS"
2587 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2588 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2589 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2590 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2591 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2592 deplibs_check_method="$deplibs_check_method" \
2593 file_magic_cmd="$file_magic_cmd" \
2594 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2595 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2596 || { echo "configure
: error
: libtool tag configuration failed
" 1>&2; exit 1; }
2598 CFLAGS="$lt_save_CFLAGS"
2600 # Redirect the config.log output again, so that the ltconfig log is not
2601 # clobbered by the next message.
2602 exec 5>>./config.log
2612 # Check for c++ or library specific bits that don't require linking.
2613 #GLIBCPP_CHECK_COMPILER_VERSION
2614 echo $ac_n "checking
for GNU
make""...
$ac_c" 1>&6
2615 echo "configure
:2616: checking
for GNU
make" >&5
2616 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2617 echo $ac_n "(cached
) $ac_c" 1>&6
2619 _cv_gnu_make_command='' ;
2620 for a in "${MAKE-make}" make gmake gnumake ; do
2621 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2623 _cv_gnu_make_command=$a ;
2630 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2631 if test "x
$_cv_gnu_make_command" != "x
" ; then
2639 # Enable all the variable C++ stuff. C_MBCHAR must come early.
2640 # Check whether --enable-debug or --disable-debug was given.
2641 if test "${enable_debug+set}" = set; then
2642 enableval="$enable_debug"
2643 case "${enableval}" in
2644 yes) enable_debug=yes ;;
2645 no) enable_debug=no ;;
2646 *) { echo "configure
: error
: Unknown argument to enable
/disable extra debugging
" 1>&2; exit 1; } ;;
2652 case "${enable_debug}" in
2654 DEBUG_FLAGS='-O0 -ggdb3'
2662 echo $ac_n "checking how to run the C preprocessor
""...
$ac_c" 1>&6
2663 echo "configure
:2664: checking how to run the C preprocessor
" >&5
2664 # On Suns, sometimes $CPP names a directory.
2665 if test -n "$CPP" && test -d "$CPP"; then
2668 if test -z "$CPP"; then
2669 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2670 echo $ac_n "(cached
) $ac_c" 1>&6
2672 # This must be in double quotes, not single quotes, because CPP may get
2673 # substituted into the Makefile and "${CC-cc}" will confuse make.
2675 # On the NeXT, cc -E runs the code through the compiler's parser,
2676 # not just through cpp.
2677 cat > conftest.$ac_ext <<EOF
2678 #line 2679 "configure
"
2679 #include "confdefs.h
"
2683 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2684 { (eval echo configure:2685: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2685 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2686 if test -z "$ac_err"; then
2690 echo "configure
: failed program was
:" >&5
2691 cat conftest.$ac_ext >&5
2693 CPP="${CC-cc} -E -traditional-cpp"
2694 cat > conftest.$ac_ext <<EOF
2695 #line 2696 "configure
"
2696 #include "confdefs.h
"
2700 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2701 { (eval echo configure:2702: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2702 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2703 if test -z "$ac_err"; then
2707 echo "configure
: failed program was
:" >&5
2708 cat conftest.$ac_ext >&5
2710 CPP="${CC-cc} -nologo -E"
2711 cat > conftest.$ac_ext <<EOF
2712 #line 2713 "configure
"
2713 #include "confdefs.h
"
2717 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2718 { (eval echo configure:2719: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2719 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2720 if test -z "$ac_err"; then
2724 echo "configure
: failed program was
:" >&5
2725 cat conftest.$ac_ext >&5
2734 ac_cv_prog_CPP="$CPP"
2736 CPP="$ac_cv_prog_CPP"
2738 ac_cv_prog_CPP="$CPP"
2740 echo "$ac_t""$CPP" 1>&6
2743 echo $ac_n "checking
for cstdio to use
""...
$ac_c" 1>&6
2744 echo "configure
:2745: checking
for cstdio to use
" >&5
2745 # Check whether --enable-cstdio or --disable-cstdio was given.
2746 if test "${enable_cstdio+set}" = set; then
2747 enableval="$enable_cstdio"
2748 if test x$enable_cstdio = xno; then
2756 enable_cstdio_flag=$enable_cstdio
2758 case x${enable_cstdio_flag} in
2760 CSTDIO_H=config/io/c_io_libio.h
2761 BASIC_FILE_H=config/io/basic_file_libio.h
2762 BASIC_FILE_CC=config/io/basic_file_libio.cc
2763 echo "$ac_t""libio
" 1>&6
2765 # see if we are on a system with libio native (ie, linux)
2766 ac_safe=`echo "libio.h
" | sed 'y%./+-%__p_%'`
2767 echo $ac_n "checking
for libio.h
""...
$ac_c" 1>&6
2768 echo "configure
:2769: checking
for libio.h
" >&5
2769 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2770 echo $ac_n "(cached
) $ac_c" 1>&6
2772 cat > conftest.$ac_ext <<EOF
2773 #line 2774 "configure
"
2774 #include "confdefs.h
"
2777 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2778 { (eval echo configure:2779: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2779 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2780 if test -z "$ac_err"; then
2782 eval "ac_cv_header_
$ac_safe=yes"
2785 echo "configure
: failed program was
:" >&5
2786 cat conftest.$ac_ext >&5
2788 eval "ac_cv_header_
$ac_safe=no
"
2792 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2793 echo "$ac_t""yes" 1>&6
2796 echo "$ac_t""no
" 1>&6
2801 # Need to check and see what version of glibc is being used. If
2802 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2803 # compile most of libio for linux systems.
2804 if test x$has_libio = x"yes"; then
2807 echo $ac_n "checking
for glibc version
>= 2.2""...
$ac_c" 1>&6
2808 echo "configure
:2809: checking
for glibc version
>= 2.2" >&5
2809 cat > conftest.$ac_ext <<EOF
2810 #line 2811 "configure
"
2811 #include "confdefs.h
"
2813 #include <features.h>
2814 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2819 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
2820 egrep "ok
" >/dev/null 2>&1; then
2822 glibc_satisfactory=yes
2825 glibc_satisfactory=no
2829 echo "$ac_t""$glibc_satisfactory" 1>&6
2833 # XXX at the moment, admit defeat and force the recompilation
2834 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2835 glibc_satisfactory=no
2837 if test x$glibc_satisfactory = x"yes"; then
2842 # bkoz XXX need to add checks to enable this
2843 # pme XXX here's a first pass at such a check
2844 if test x$enable_c_mbchar != xno; then
2852 # Using libio, but <libio.h> doesn't exist on the target system. . .
2854 # bkoz XXX need to add checks to enable this
2855 # pme XXX here's a first pass at such a check
2856 if test x$enable_c_mbchar != xno; then
2863 xstdio | x | xno | xnone | xyes)
2865 CSTDIO_H=config/io/c_io_stdio.h
2866 BASIC_FILE_H=config/io/basic_file_stdio.h
2867 BASIC_FILE_CC=config/io/basic_file_stdio.cc
2868 echo "$ac_t""stdio
" 1>&6
2870 # We're not using stdio.
2875 echo "$enable_cstdio is an unknown io package
" 1>&2
2883 # 2000-08-04 bkoz hack
2884 CCODECVT_C=config/io/c_io_libio_codecvt.c
2886 # 2000-08-04 bkoz hack
2890 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2891 GLIBCPP_BUILD_LIBIO_TRUE=
2892 GLIBCPP_BUILD_LIBIO_FALSE='#'
2894 GLIBCPP_BUILD_LIBIO_TRUE='#'
2895 GLIBCPP_BUILD_LIBIO_FALSE=
2899 if test "$need_libio" = yes; then
2900 GLIBCPP_NEED_LIBIO_TRUE=
2901 GLIBCPP_NEED_LIBIO_FALSE='#'
2903 GLIBCPP_NEED_LIBIO_TRUE='#'
2904 GLIBCPP_NEED_LIBIO_FALSE=
2908 if test "$need_wlibio" = yes; then
2909 GLIBCPP_NEED_WLIBIO_TRUE=
2910 GLIBCPP_NEED_WLIBIO_FALSE='#'
2912 GLIBCPP_NEED_WLIBIO_TRUE='#'
2913 GLIBCPP_NEED_WLIBIO_FALSE=
2915 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2916 libio_la=../libio/libio.la
2923 echo $ac_n "checking
for clocale to use
""...
$ac_c" 1>&6
2924 echo "configure
:2925: checking
for clocale to use
" >&5
2925 # Check whether --enable-clocale or --disable-clocale was given.
2926 if test "${enable_clocale+set}" = set; then
2927 enableval="$enable_clocale"
2928 if test x$enable_clocale = xno; then
2936 enable_clocale_flag=$enable_clocale
2938 if test x$enable_clocale_flag = xno; then
2939 case x${target_os} in
2941 cat > conftest.$ac_ext <<EOF
2942 #line 2943 "configure
"
2943 #include "confdefs.h
"
2945 #include <features.h>
2946 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2951 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
2952 egrep "_GLIBCPP_ok
" >/dev/null 2>&1; then
2954 enable_clocale_flag=gnu
2957 enable_clocale_flag=generic
2962 # Test for bugs early in glibc-2.2.x series
2963 if test x$enable_clocale_flag = xgnu; then
2964 if test "$cross_compiling" = yes; then
2965 enable_clocale_flag=generic
2967 cat > conftest.$ac_ext <<EOF
2968 #line 2969 "configure
"
2969 #include "confdefs.h
"
2971 #define _GNU_SOURCE 1
2975 const char __one[] = "Äuglein Augmen
";
2976 const char __two[] = "Äuglein
";
2981 loc = __newlocale(1 << LC_ALL, "de_DE
", 0);
2982 loc_dup = __duplocale(loc);
2983 i = __strcoll_l(__one, __two, loc);
2984 j = __strcoll_l(__one, __two, loc_dup);
2989 if { (eval echo configure:2990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2991 enable_clocale_flag=gnu
2993 echo "configure
: failed program was
:" >&5
2994 cat conftest.$ac_ext >&5
2996 enable_clocale_flag=generic
3003 # ... at some point put __strxfrm_l tests in as well.
3006 enable_clocale_flag=generic
3011 # Check whether --enable-nls or --disable-nls was given.
3012 if test "${enable_nls+set}" = set; then
3013 enableval="$enable_nls"
3021 case x${enable_clocale_flag} in
3023 echo "$ac_t""generic
" 1>&6
3025 CLOCALE_H=config/locale/generic/c_locale.h
3026 CLOCALE_CC=config/locale/generic/c_locale.cc
3027 CCODECVT_H=config/locale/generic/codecvt_specializations.h
3028 CCOLLATE_CC=config/locale/generic/collate_members.cc
3029 CCTYPE_CC=config/locale/generic/ctype_members.cc
3030 CMESSAGES_H=config/locale/generic/messages_members.h
3031 CMESSAGES_CC=config/locale/generic/messages_members.cc
3032 CMONEY_CC=config/locale/generic/monetary_members.cc
3033 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3034 CTIME_CC=config/locale/generic/time_members.cc
3037 echo "$ac_t""gnu
" 1>&6
3039 # Declare intention to use gettext, and add support for specific
3041 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
3044 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
3045 # Extract the first word of "msgfmt
", so it can be a program name with args.
3046 set dummy msgfmt; ac_word=$2
3047 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
3048 echo "configure
:3049: checking
for $ac_word" >&5
3049 if eval "test \"`echo '$''{'ac_cv_prog_check_msgfmt'+set}'`\" = set"; then
3050 echo $ac_n "(cached
) $ac_c" 1>&6
3052 if test -n "$check_msgfmt"; then
3053 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
3055 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3057 for ac_dir in $ac_dummy; do
3058 test -z "$ac_dir" && ac_dir=.
3059 if test -f $ac_dir/$ac_word; then
3060 ac_cv_prog_check_msgfmt="yes"
3065 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no
"
3068 check_msgfmt="$ac_cv_prog_check_msgfmt"
3069 if test -n "$check_msgfmt"; then
3070 echo "$ac_t""$check_msgfmt" 1>&6
3072 echo "$ac_t""no
" 1>&6
3075 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
3078 # Export the build objects.
3079 for ling in $ALL_LINGUAS; do \
3080 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo
"; \
3081 glibcpp_POFILES="$glibcpp_POFILES $ling.po
"; \
3086 CLOCALE_H=config/locale/gnu/c_locale.h
3087 CLOCALE_CC=config/locale/gnu/c_locale.cc
3088 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3089 CCOLLATE_CC=config/locale/gnu/collate_members.cc
3090 CCTYPE_CC=config/locale/gnu/ctype_members.cc
3091 CMESSAGES_H=config/locale/gnu/messages_members.h
3092 CMESSAGES_CC=config/locale/gnu/messages_members.cc
3093 CMONEY_CC=config/locale/gnu/monetary_members.cc
3094 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
3095 CTIME_CC=config/locale/gnu/time_members.cc
3098 echo "$ac_t""generic
" 1>&6
3100 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
3101 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
3102 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3103 CCOLLATE_CC=config/locale/generic/collate_members.cc
3104 CCTYPE_CC=config/locale/generic/ctype_members.cc
3105 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
3106 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
3107 CMONEY_CC=config/locale/generic/monetary_members.cc
3108 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3109 CTIME_CC=config/locale/generic/time_members.cc
3112 echo "$enable_clocale is an unknown locale package
" 1>&2
3117 # This is where the testsuite looks for locale catalogs, using the
3118 # -DLOCALEDIR define during testsuite compilation.
3119 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3134 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3135 if test "${enable_c_mbchar+set}" = set; then
3136 enableval="$enable_c_mbchar"
3137 case "$enableval" in
3138 yes) enable_c_mbchar=yes ;;
3139 no) enable_c_mbchar=no ;;
3140 *) { echo "configure
: error
: Unknown argument to enable
/disable c-mbchar
" 1>&2; exit 1; } ;;
3147 # Check whether --enable-c99 or --disable-c99 was given.
3148 if test "${enable_c99+set}" = set; then
3149 enableval="$enable_c99"
3150 case "$enableval" in
3151 yes) enable_c99=yes ;;
3152 no) enable_c99=no ;;
3153 *) { echo "configure
: error
: Unknown argument to enable
/disable C99
" 1>&2; exit 1; } ;;
3161 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3162 ac_cpp='$CXXCPP $CPPFLAGS'
3163 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3164 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3165 cross_compiling=$ac_cv_prog_cxx_cross
3168 # Check for the existence of <math.h> functions used if C99 is enabled.
3170 echo $ac_n "checking
for ISO C99 support
in <math.h
>""...
$ac_c" 1>&6
3171 echo "configure
:3172: checking
for ISO C99 support
in <math.h
>" >&5
3172 cat > conftest.$ac_ext <<EOF
3173 #line 3174 "configure
"
3174 #include "confdefs.h
"
3180 if { (eval echo configure:3181: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3183 echo "configure
: failed program was
:" >&5
3184 cat conftest.$ac_ext >&5
3189 cat > conftest.$ac_ext <<EOF
3190 #line 3191 "configure
"
3191 #include "confdefs.h
"
3197 if { (eval echo configure:3198: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3200 echo "configure
: failed program was
:" >&5
3201 cat conftest.$ac_ext >&5
3206 cat > conftest.$ac_ext <<EOF
3207 #line 3208 "configure
"
3208 #include "confdefs.h
"
3214 if { (eval echo configure:3215: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3217 echo "configure
: failed program was
:" >&5
3218 cat conftest.$ac_ext >&5
3223 cat > conftest.$ac_ext <<EOF
3224 #line 3225 "configure
"
3225 #include "confdefs.h
"
3231 if { (eval echo configure:3232: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3234 echo "configure
: failed program was
:" >&5
3235 cat conftest.$ac_ext >&5
3240 cat > conftest.$ac_ext <<EOF
3241 #line 3242 "configure
"
3242 #include "confdefs.h
"
3248 if { (eval echo configure:3249: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3251 echo "configure
: failed program was
:" >&5
3252 cat conftest.$ac_ext >&5
3257 cat > conftest.$ac_ext <<EOF
3258 #line 3259 "configure
"
3259 #include "confdefs.h
"
3265 if { (eval echo configure:3266: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3268 echo "configure
: failed program was
:" >&5
3269 cat conftest.$ac_ext >&5
3274 cat > conftest.$ac_ext <<EOF
3275 #line 3276 "configure
"
3276 #include "confdefs.h
"
3282 if { (eval echo configure:3283: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3285 echo "configure
: failed program was
:" >&5
3286 cat conftest.$ac_ext >&5
3291 cat > conftest.$ac_ext <<EOF
3292 #line 3293 "configure
"
3293 #include "confdefs.h
"
3296 isgreaterequal(0.0,0.0);
3299 if { (eval echo configure:3300: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3302 echo "configure
: failed program was
:" >&5
3303 cat conftest.$ac_ext >&5
3308 cat > conftest.$ac_ext <<EOF
3309 #line 3310 "configure
"
3310 #include "confdefs.h
"
3316 if { (eval echo configure:3317: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3319 echo "configure
: failed program was
:" >&5
3320 cat conftest.$ac_ext >&5
3325 cat > conftest.$ac_ext <<EOF
3326 #line 3327 "configure
"
3327 #include "confdefs.h
"
3330 islessequal(0.0,0.0);
3333 if { (eval echo configure:3334: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3336 echo "configure
: failed program was
:" >&5
3337 cat conftest.$ac_ext >&5
3342 cat > conftest.$ac_ext <<EOF
3343 #line 3344 "configure
"
3344 #include "confdefs.h
"
3347 islessgreater(0.0,0.0);
3350 if { (eval echo configure:3351: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3353 echo "configure
: failed program was
:" >&5
3354 cat conftest.$ac_ext >&5
3359 cat > conftest.$ac_ext <<EOF
3360 #line 3361 "configure
"
3361 #include "confdefs.h
"
3364 isunordered(0.0,0.0);
3367 if { (eval echo configure:3368: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3370 echo "configure
: failed program was
:" >&5
3371 cat conftest.$ac_ext >&5
3376 echo "$ac_t""$ac_c99_math" 1>&6
3378 # Check for the existence in <stdio.h> of vscanf, et. al.
3380 echo $ac_n "checking
for ISO C99 support
in <stdio.h
>""...
$ac_c" 1>&6
3381 echo "configure
:3382: checking
for ISO C99 support
in <stdio.h
>" >&5
3382 cat > conftest.$ac_ext <<EOF
3383 #line 3384 "configure
"
3384 #include "confdefs.h
"
3387 snprintf("12", 0, "%i
");
3390 if { (eval echo configure:3391: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3393 echo "configure
: failed program was
:" >&5
3394 cat conftest.$ac_ext >&5
3399 cat > conftest.$ac_ext <<EOF
3400 #line 3401 "configure
"
3401 #include "confdefs.h
"
3404 void foo(char* fmt, ...)
3405 {va_list args; va_start(args, fmt);
3406 vfscanf(stderr, "%i
", args);}
3411 if { (eval echo configure:3412: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3414 echo "configure
: failed program was
:" >&5
3415 cat conftest.$ac_ext >&5
3420 cat > conftest.$ac_ext <<EOF
3421 #line 3422 "configure
"
3422 #include "confdefs.h
"
3425 void foo(char* fmt, ...)
3426 {va_list args; va_start(args, fmt);
3427 vscanf("%i
", args);}
3432 if { (eval echo configure:3433: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3435 echo "configure
: failed program was
:" >&5
3436 cat conftest.$ac_ext >&5
3441 cat > conftest.$ac_ext <<EOF
3442 #line 3443 "configure
"
3443 #include "confdefs.h
"
3446 void foo(char* fmt, ...)
3447 {va_list args; va_start(args, fmt);
3448 vsnprintf(fmt, 0, "%i
", args);}
3453 if { (eval echo configure:3454: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3456 echo "configure
: failed program was
:" >&5
3457 cat conftest.$ac_ext >&5
3462 cat > conftest.$ac_ext <<EOF
3463 #line 3464 "configure
"
3464 #include "confdefs.h
"
3467 void foo(char* fmt, ...)
3468 {va_list args; va_start(args, fmt);
3469 vsscanf(fmt, "%i
", args);}
3474 if { (eval echo configure:3475: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3477 echo "configure
: failed program was
:" >&5
3478 cat conftest.$ac_ext >&5
3483 echo "$ac_t""$ac_c99_stdio" 1>&6
3485 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3487 echo $ac_n "checking
for lldiv_t declaration
""...
$ac_c" 1>&6
3488 echo "configure
:3489: checking
for lldiv_t declaration
" >&5
3489 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3490 echo $ac_n "(cached
) $ac_c" 1>&6
3493 cat > conftest.$ac_ext <<EOF
3494 #line 3495 "configure
"
3495 #include "confdefs.h
"
3501 if { (eval echo configure:3502: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3505 echo "configure
: failed program was
:" >&5
3506 cat conftest.$ac_ext >&5
3514 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3516 echo $ac_n "checking
for ISO C99 support
in <stdlib.h
>""...
$ac_c" 1>&6
3517 echo "configure
:3518: checking
for ISO C99 support
in <stdlib.h
>" >&5
3518 cat > conftest.$ac_ext <<EOF
3519 #line 3520 "configure
"
3520 #include "confdefs.h
"
3523 char* tmp; strtof("gnu
", &tmp);
3526 if { (eval echo configure:3527: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3529 echo "configure
: failed program was
:" >&5
3530 cat conftest.$ac_ext >&5
3535 cat > conftest.$ac_ext <<EOF
3536 #line 3537 "configure
"
3537 #include "confdefs.h
"
3540 char* tmp; strtold("gnu
", &tmp);
3543 if { (eval echo configure:3544: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3546 echo "configure
: failed program was
:" >&5
3547 cat conftest.$ac_ext >&5
3552 cat > conftest.$ac_ext <<EOF
3553 #line 3554 "configure
"
3554 #include "confdefs.h
"
3560 if { (eval echo configure:3561: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3563 echo "configure
: failed program was
:" >&5
3564 cat conftest.$ac_ext >&5
3569 cat > conftest.$ac_ext <<EOF
3570 #line 3571 "configure
"
3571 #include "confdefs.h
"
3577 if { (eval echo configure:3578: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3580 echo "configure
: failed program was
:" >&5
3581 cat conftest.$ac_ext >&5
3586 cat > conftest.$ac_ext <<EOF
3587 #line 3588 "configure
"
3588 #include "confdefs.h
"
3594 if { (eval echo configure:3595: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3597 echo "configure
: failed program was
:" >&5
3598 cat conftest.$ac_ext >&5
3603 cat > conftest.$ac_ext <<EOF
3604 #line 3605 "configure
"
3605 #include "confdefs.h
"
3611 if { (eval echo configure:3612: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3614 echo "configure
: failed program was
:" >&5
3615 cat conftest.$ac_ext >&5
3620 if test x"$ac_c99_lldiv_t" = x"no
"; then
3623 echo "$ac_t""$ac_c99_stdlib" 1>&6
3625 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3626 # XXX the wchar.h checks should be rolled into the general C99 bits.
3628 echo $ac_n "checking
for additional ISO C99 support
in <wchar.h
>""...
$ac_c" 1>&6
3629 echo "configure
:3630: checking
for additional ISO C99 support
in <wchar.h
>" >&5
3630 cat > conftest.$ac_ext <<EOF
3631 #line 3632 "configure
"
3632 #include "confdefs.h
"
3635 wcstold(L"10.0", NULL);
3638 if { (eval echo configure:3639: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3641 echo "configure
: failed program was
:" >&5
3642 cat conftest.$ac_ext >&5
3647 cat > conftest.$ac_ext <<EOF
3648 #line 3649 "configure
"
3649 #include "confdefs.h
"
3652 wcstoll(L"10", NULL, 10);
3655 if { (eval echo configure:3656: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3658 echo "configure
: failed program was
:" >&5
3659 cat conftest.$ac_ext >&5
3664 cat > conftest.$ac_ext <<EOF
3665 #line 3666 "configure
"
3666 #include "confdefs.h
"
3669 wcstoull(L"10", NULL, 10);
3672 if { (eval echo configure:3673: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3675 echo "configure
: failed program was
:" >&5
3676 cat conftest.$ac_ext >&5
3681 echo "$ac_t""$ac_c99_wchar" 1>&6
3683 echo $ac_n "checking
for enabled ISO C99 support
""...
$ac_c" 1>&6
3684 echo "configure
:3685: checking
for enabled ISO C99 support
" >&5
3685 if test x"$ac_c99_math" = x"no
" ||
3686 test x"$ac_c99_stdio" = x"no
" ||
3687 test x"$ac_c99_stdlib" = x"no
" ||
3688 test x"$ac_c99_wchar" = x"no
"; then
3691 echo "$ac_t""$enable_c99" 1>&6
3693 # Option parsed, now set things appropriately
3694 if test x"$enable_c99" = x"yes"; then
3695 cat >> confdefs.h <<\EOF
3696 #define _GLIBCPP_USE_C99 1
3702 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3703 ac_cpp='$CPP $CPPFLAGS'
3704 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3705 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3706 cross_compiling=$ac_cv_prog_cc_cross
3710 # Check whether --enable-long-long or --disable-long-long was given.
3711 if test "${enable_long_long+set}" = set; then
3712 enableval="$enable_long_long"
3713 case "$enableval" in
3714 yes) enable_long_long=yes ;;
3715 no) enable_long_long=no ;;
3716 *) { echo "configure
: error
: Unknown argument to enable
/disable long long
" 1>&2; exit 1; } ;;
3719 enable_long_long=yes
3724 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3725 ac_cpp='$CXXCPP $CPPFLAGS'
3726 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3727 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3728 cross_compiling=$ac_cv_prog_cxx_cross
3731 echo $ac_n "checking
for enabled long long I
/O support
""...
$ac_c" 1>&6
3732 echo "configure
:3733: checking
for enabled long long I
/O support
" >&5
3733 # iostreams require strtoll, strtoull to compile
3734 cat > conftest.$ac_ext <<EOF
3735 #line 3736 "configure
"
3736 #include "confdefs.h
"
3739 char* tmp; strtoll("gnu
", &tmp, 10);
3742 if { (eval echo configure:3743: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3745 echo "configure
: failed program was
:" >&5
3746 cat conftest.$ac_ext >&5
3751 cat > conftest.$ac_ext <<EOF
3752 #line 3753 "configure
"
3753 #include "confdefs.h
"
3756 char* tmp; strtoull("gnu
", &tmp, 10);
3759 if { (eval echo configure:3760: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3762 echo "configure
: failed program was
:" >&5
3763 cat conftest.$ac_ext >&5
3769 # Option parsed, now set things appropriately
3770 if test x"$enable_long_long" = xyes; then
3771 cat >> confdefs.h <<\EOF
3772 #define _GLIBCPP_USE_LONG_LONG 1
3776 echo "$ac_t""$enable_long_long" 1>&6
3779 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3780 ac_cpp='$CPP $CPPFLAGS'
3781 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3782 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3783 cross_compiling=$ac_cv_prog_cc_cross
3786 echo $ac_n "checking
for c header strategy to use
""...
$ac_c" 1>&6
3787 echo "configure
:3788: checking
for c header strategy to use
" >&5
3788 # Check whether --enable-cheaders or --disable-cheaders was given.
3789 if test "${enable_cheaders+set}" = set; then
3790 enableval="$enable_cheaders"
3792 case "$enableval" in
3797 enable_cheaders=c_std
3800 enable_cheaders=c_shadow
3802 *) { echo "configure
: error
: Unknown argument to enable
/disable
"C" headers
" 1>&2; exit 1; }
3806 enable_cheaders=c_std
3809 echo "$ac_t""$enable_cheaders" 1>&6
3811 case "$enable_cheaders" in
3813 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_shadow'
3816 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3819 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3826 if test "$enable_cheaders" = c; then
3827 GLIBCPP_C_HEADERS_C_TRUE=
3828 GLIBCPP_C_HEADERS_C_FALSE='#'
3830 GLIBCPP_C_HEADERS_C_TRUE='#'
3831 GLIBCPP_C_HEADERS_C_FALSE=
3835 if test "$enable_cheaders" = c_std; then
3836 GLIBCPP_C_HEADERS_C_STD_TRUE=
3837 GLIBCPP_C_HEADERS_C_STD_FALSE='#'
3839 GLIBCPP_C_HEADERS_C_STD_TRUE='#'
3840 GLIBCPP_C_HEADERS_C_STD_FALSE=
3844 if test "$c_compatibility" = yes; then
3845 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE=
3846 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE='#'
3848 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE='#'
3849 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE=
3853 echo $ac_n "checking
for thread model used by GCC
""...
$ac_c" 1>&6
3854 echo "configure
:3855: checking
for thread model used by GCC
" >&5
3855 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3856 echo "$ac_t""$target_thread_file" 1>&6
3858 if test $target_thread_file != single; then
3859 cat >> confdefs.h <<\EOF
3860 #define HAVE_GTHR_DEFAULT 1
3863 cat >> confdefs.h <<\EOF
3864 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3869 glibcpp_thread_h=gthr-$target_thread_file.h
3872 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3873 if test "${enable_cxx_flags+set}" = set; then
3874 enableval="$enable_cxx_flags"
3875 case "x
$enableval" in
3877 { echo "configure
: error
: --enable-cxx-flags needs compiler flags as arguments
" 1>&2; exit 1; } ;;
3879 enable_cxx_flags='' ;;
3881 enable_cxx_flags="$enableval" ;;
3884 enable_cxx_flags='none'
3888 if test "$enable_cxx_flags" = "none
"; then
3889 enable_cxx_flags='';
3892 if test -n "$enable_cxx_flags"; then
3893 for f in $enable_cxx_flags; do
3897 *) # and we're trying to pass /what/ exactly?
3898 { echo "configure
: error
: compiler flags start with a
-" 1>&2; exit 1; } ;;
3902 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3906 echo $ac_n "checking
for exception model to use
""...
$ac_c" 1>&6
3907 echo "configure
:3908: checking
for exception model to use
" >&5
3910 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3911 ac_cpp='$CXXCPP $CPPFLAGS'
3912 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3913 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3914 cross_compiling=$ac_cv_prog_cxx_cross
3916 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3917 if test "${enable_sjlj_exceptions+set}" = set; then
3918 enableval="$enable_sjlj_exceptions"
3921 cat > conftest.$ac_ext << EOF
3922 #line 3923 "configure
"
3931 old_CXXFLAGS="$CXXFLAGS"
3933 if { (eval echo configure:3934: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3934 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
3935 enable_sjlj_exceptions=yes
3936 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
3937 enable_sjlj_exceptions=no
3940 CXXFLAGS="$old_CXXFLAGS"
3944 if test x$enable_sjlj_exceptions = xyes; then
3945 cat >> confdefs.h <<\EOF
3946 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
3949 ac_exception_model_name=sjlj
3950 elif test x$enable_sjlj_exceptions = xno; then
3951 ac_exception_model_name="call frame
"
3953 { echo "configure
: error
: unable to detect exception model
" 1>&2; exit 1; }
3956 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3957 ac_cpp='$CPP $CPPFLAGS'
3958 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3959 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3960 cross_compiling=$ac_cv_prog_cc_cross
3962 echo "$ac_t""$ac_exception_model_name" 1>&6
3965 echo $ac_n "checking
for use of libunwind
""...
$ac_c" 1>&6
3966 echo "configure
:3967: checking
for use of libunwind
" >&5
3967 # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
3968 if test "${enable_libunwind_exceptions+set}" = set; then
3969 enableval="$enable_libunwind_exceptions"
3970 use_libunwind_exceptions=$enableval
3972 use_libunwind_exceptions=no
3975 echo "$ac_t""$use_libunwind_exceptions" 1>&6
3976 if test x"$use_libunwind_exceptions" = xyes; then
3977 LIBUNWIND_FLAG="-lunwind"
3983 # Check whether --enable-concept-checks or --disable-concept-checks was given.
3984 if test "${enable_concept_checks+set}" = set; then
3985 enableval="$enable_concept_checks"
3986 case "$enableval" in
3987 yes) enable_concept_checks=yes ;;
3988 no) enable_concept_checks=no ;;
3989 *) { echo "configure
: error
: Unknown argument to enable
/disable concept checks
" 1>&2; exit 1; } ;;
3992 enable_concept_checks=no
3994 if test x"$enable_concept_checks" = xyes; then
3995 cat >> confdefs.h <<\EOF
3996 #define _GLIBCPP_CONCEPT_CHECKS 1
4002 # Check for headers necessary for libsupc++ using dyn-string.c/cxa_demangle.c
4003 for ac_hdr in string.h stdlib.h
4005 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4006 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4007 echo "configure
:4008: checking
for $ac_hdr" >&5
4008 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4009 echo $ac_n "(cached
) $ac_c" 1>&6
4011 cat > conftest.$ac_ext <<EOF
4012 #line 4013 "configure
"
4013 #include "confdefs.h
"
4016 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4017 { (eval echo configure:4018: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4018 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4019 if test -z "$ac_err"; then
4021 eval "ac_cv_header_
$ac_safe=yes"
4024 echo "configure
: failed program was
:" >&5
4025 cat conftest.$ac_ext >&5
4027 eval "ac_cv_header_
$ac_safe=no
"
4031 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4032 echo "$ac_t""yes" 1>&6
4033 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4034 cat >> confdefs.h <<EOF
4035 #define $ac_tr_hdr 1
4039 echo "$ac_t""no
" 1>&6
4044 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
4046 # We are being configured with some form of cross compiler.
4047 GLIBCPP_IS_CROSS_COMPILING=1
4049 # This lets us hard-code the functionality we know we'll have in the cross
4050 # target environment. "Let
" is a sugar-coated word placed on an especially
4051 # dull and tedious hack, actually.
4053 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
4054 # that involve linking, can't be used:
4055 # "cannot open sim-crt0.o
"
4056 # "cannot open crt0.o
"
4057 # etc. All this is because there currently exists no unified, consistent
4058 # way for top level CC information to be passed down to target directories:
4059 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
4060 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
4061 # crosses can be removed.
4063 # If Canadian cross, then don't pick up tools from the build directory.
4064 # Used in GLIBCPP_EXPORT_INCLUDES (and nowhere else?).
4065 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
4071 # Construct crosses by hand, eliminating bits that need ld...
4072 # GLIBCPP_CHECK_COMPILER_FEATURES
4073 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4074 # GLIBCPP_CHECK_MATH_SUPPORT
4076 case "$target_alias" in
4078 os_include_dir="os
/gnu-linux
"
4079 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4080 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4081 fp.h locale.h float.h inttypes.h
4083 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4084 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4085 echo "configure
:4086: checking
for $ac_hdr" >&5
4086 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4087 echo $ac_n "(cached
) $ac_c" 1>&6
4089 cat > conftest.$ac_ext <<EOF
4090 #line 4091 "configure
"
4091 #include "confdefs.h
"
4094 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4095 { (eval echo configure:4096: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4096 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4097 if test -z "$ac_err"; then
4099 eval "ac_cv_header_
$ac_safe=yes"
4102 echo "configure
: failed program was
:" >&5
4103 cat conftest.$ac_ext >&5
4105 eval "ac_cv_header_
$ac_safe=no
"
4109 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4110 echo "$ac_t""yes" 1>&6
4111 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4112 cat >> confdefs.h <<EOF
4113 #define $ac_tr_hdr 1
4117 echo "$ac_t""no
" 1>&6
4121 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4124 # If we're not using GNU ld, then there's no point in even trying these
4125 # tests. Check for that first. We should have already tested for gld
4126 # by now (in libtool), but require it now just to be safe...
4127 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4128 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4131 # The name set by libtool depends on the version of libtool. Shame on us
4132 # for depending on an impl detail, but c'est la vie. Older versions used
4133 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4134 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4135 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4136 # set (hence we're using an older libtool), then set it.
4137 if test x${with_gnu_ld+set} != xset; then
4138 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4139 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
4142 with_gnu_ld=$ac_cv_prog_gnu_ld
4146 # Start by getting the version number. I think the libtool test already
4147 # does some of this, but throws away the result.
4149 ldver=`$LD --version 2>/dev/null | head -1 | \
4150 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4152 glibcpp_gnu_ld_version=`echo $ldver | \
4153 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4155 # Set --gc-sections.
4156 if test "$with_gnu_ld" = "notbroken
"; then
4157 # GNU ld it is! Joy and bunny rabbits!
4159 # All these tests are for C++; save the language and the compiler flags.
4160 # Need to do this so that g++ won't try to link in libstdc++
4161 ac_test_CFLAGS="${CFLAGS+set}"
4162 ac_save_CFLAGS="$CFLAGS"
4163 CFLAGS='-x c++ -Wl,--gc-sections'
4165 # Check for -Wl,--gc-sections
4166 # XXX This test is broken at the moment, as symbols required for
4167 # linking are now in libsupc++ (not built yet.....). In addition,
4168 # this test has cored on solaris in the past. In addition,
4169 # --gc-sections doesn't really work at the moment (keeps on discarding
4170 # used sections, first .eh_frame and now some of the glibc sections for
4171 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4172 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
4173 echo "configure
:4174: checking
for ld that supports
-Wl,--gc-sections" >&5
4174 if test "$cross_compiling" = yes; then
4175 ac_sectionLDflags=yes
4177 cat > conftest.$ac_ext <<EOF
4178 #line 4179 "configure
"
4179 #include "confdefs.h
"
4189 if { (eval echo configure:4190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4191 ac_sectionLDflags=yes
4193 echo "configure
: failed program was
:" >&5
4194 cat conftest.$ac_ext >&5
4196 ac_sectionLDflags=no
4201 if test "$ac_test_CFLAGS" = set; then
4202 CFLAGS="$ac_save_CFLAGS"
4204 # this is the suspicious part
4207 if test "$ac_sectionLDflags" = "yes"; then
4208 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4210 echo "$ac_t""$ac_sectionLDflags" 1>&6
4213 # Set linker optimization flags.
4214 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no
"; then
4215 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4222 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
4223 echo "configure
:4224: checking
for main
in -lm" >&5
4224 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4225 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4226 echo $ac_n "(cached
) $ac_c" 1>&6
4228 ac_save_LIBS="$LIBS"
4230 cat > conftest.$ac_ext <<EOF
4231 #line 4232 "configure
"
4232 #include "confdefs.h
"
4238 if { (eval echo configure:4239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4240 eval "ac_cv_lib_
$ac_lib_var=yes"
4242 echo "configure
: failed program was
:" >&5
4243 cat conftest.$ac_ext >&5
4245 eval "ac_cv_lib_
$ac_lib_var=no
"
4248 LIBS="$ac_save_LIBS"
4251 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4252 echo "$ac_t""yes" 1>&6
4253 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4254 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4255 cat >> confdefs.h <<EOF
4256 #define $ac_tr_lib 1
4262 echo "$ac_t""no
" 1>&6
4265 for ac_func in nan copysignf
4267 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4268 echo "configure
:4269: checking
for $ac_func" >&5
4269 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4270 echo $ac_n "(cached
) $ac_c" 1>&6
4272 cat > conftest.$ac_ext <<EOF
4273 #line 4274 "configure
"
4274 #include "confdefs.h
"
4275 /* System header to define __stub macros and hopefully few prototypes,
4276 which can conflict with char $ac_func(); below. */
4278 /* Override any gcc2 internal prototype to avoid an error. */
4279 /* We use char because int might match the return type of a gcc2
4280 builtin and then its argument prototype would still apply. */
4285 /* The GNU C library defines this for functions which it implements
4286 to always fail with ENOSYS. Some functions are actually named
4287 something starting with __ and the normal name is an alias. */
4288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4296 if { (eval echo configure:4297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4298 eval "ac_cv_func_
$ac_func=yes"
4300 echo "configure
: failed program was
:" >&5
4301 cat conftest.$ac_ext >&5
4303 eval "ac_cv_func_
$ac_func=no
"
4308 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4309 echo "$ac_t""yes" 1>&6
4310 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4311 cat >> confdefs.h <<EOF
4312 #define $ac_tr_func 1
4316 echo "$ac_t""no
" 1>&6
4317 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
4322 for ac_func in __signbit
4324 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4325 echo "configure
:4326: checking
for $ac_func" >&5
4326 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4327 echo $ac_n "(cached
) $ac_c" 1>&6
4329 cat > conftest.$ac_ext <<EOF
4330 #line 4331 "configure
"
4331 #include "confdefs.h
"
4332 /* System header to define __stub macros and hopefully few prototypes,
4333 which can conflict with char $ac_func(); below. */
4335 /* Override any gcc2 internal prototype to avoid an error. */
4336 /* We use char because int might match the return type of a gcc2
4337 builtin and then its argument prototype would still apply. */
4342 /* The GNU C library defines this for functions which it implements
4343 to always fail with ENOSYS. Some functions are actually named
4344 something starting with __ and the normal name is an alias. */
4345 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4353 if { (eval echo configure:4354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4355 eval "ac_cv_func_
$ac_func=yes"
4357 echo "configure
: failed program was
:" >&5
4358 cat conftest.$ac_ext >&5
4360 eval "ac_cv_func_
$ac_func=no
"
4365 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4366 echo "$ac_t""yes" 1>&6
4367 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4368 cat >> confdefs.h <<EOF
4369 #define $ac_tr_func 1
4373 echo "$ac_t""no
" 1>&6
4374 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
4378 for ac_func in __signbitf
4380 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4381 echo "configure
:4382: checking
for $ac_func" >&5
4382 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4383 echo $ac_n "(cached
) $ac_c" 1>&6
4385 cat > conftest.$ac_ext <<EOF
4386 #line 4387 "configure
"
4387 #include "confdefs.h
"
4388 /* System header to define __stub macros and hopefully few prototypes,
4389 which can conflict with char $ac_func(); below. */
4391 /* Override any gcc2 internal prototype to avoid an error. */
4392 /* We use char because int might match the return type of a gcc2
4393 builtin and then its argument prototype would still apply. */
4398 /* The GNU C library defines this for functions which it implements
4399 to always fail with ENOSYS. Some functions are actually named
4400 something starting with __ and the normal name is an alias. */
4401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4409 if { (eval echo configure:4410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4411 eval "ac_cv_func_
$ac_func=yes"
4413 echo "configure
: failed program was
:" >&5
4414 cat conftest.$ac_ext >&5
4416 eval "ac_cv_func_
$ac_func=no
"
4421 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4422 echo "$ac_t""yes" 1>&6
4423 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4424 cat >> confdefs.h <<EOF
4425 #define $ac_tr_func 1
4429 echo "$ac_t""no
" 1>&6
4430 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
4435 if test x$ac_cv_func_copysignl = x"yes"; then
4436 for ac_func in __signbitl
4438 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4439 echo "configure
:4440: checking
for $ac_func" >&5
4440 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4441 echo $ac_n "(cached
) $ac_c" 1>&6
4443 cat > conftest.$ac_ext <<EOF
4444 #line 4445 "configure
"
4445 #include "confdefs.h
"
4446 /* System header to define __stub macros and hopefully few prototypes,
4447 which can conflict with char $ac_func(); below. */
4449 /* Override any gcc2 internal prototype to avoid an error. */
4450 /* We use char because int might match the return type of a gcc2
4451 builtin and then its argument prototype would still apply. */
4456 /* The GNU C library defines this for functions which it implements
4457 to always fail with ENOSYS. Some functions are actually named
4458 something starting with __ and the normal name is an alias. */
4459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4467 if { (eval echo configure:4468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4469 eval "ac_cv_func_
$ac_func=yes"
4471 echo "configure
: failed program was
:" >&5
4472 cat conftest.$ac_ext >&5
4474 eval "ac_cv_func_
$ac_func=no
"
4479 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4480 echo "$ac_t""yes" 1>&6
4481 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4482 cat >> confdefs.h <<EOF
4483 #define $ac_tr_func 1
4487 echo "$ac_t""no
" 1>&6
4488 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
4498 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
4499 echo "configure
:4500: checking
for mbstate_t
" >&5
4500 cat > conftest.$ac_ext <<EOF
4501 #line 4502 "configure
"
4502 #include "confdefs.h
"
4505 mbstate_t teststate;
4508 if { (eval echo configure:4509: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4512 echo "configure
: failed program was
:" >&5
4513 cat conftest.$ac_ext >&5
4518 echo "$ac_t""$have_mbstate_t" 1>&6
4519 if test x"$have_mbstate_t" = xyes; then
4520 cat >> confdefs.h <<\EOF
4521 #define HAVE_MBSTATE_T 1
4526 for ac_hdr in wchar.h
4528 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4529 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4530 echo "configure
:4531: checking
for $ac_hdr" >&5
4531 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4532 echo $ac_n "(cached
) $ac_c" 1>&6
4534 cat > conftest.$ac_ext <<EOF
4535 #line 4536 "configure
"
4536 #include "confdefs.h
"
4539 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4540 { (eval echo configure:4541: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4541 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4542 if test -z "$ac_err"; then
4544 eval "ac_cv_header_
$ac_safe=yes"
4547 echo "configure
: failed program was
:" >&5
4548 cat conftest.$ac_ext >&5
4550 eval "ac_cv_header_
$ac_safe=no
"
4554 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4555 echo "$ac_t""yes" 1>&6
4556 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4557 cat >> confdefs.h <<EOF
4558 #define $ac_tr_hdr 1
4562 echo "$ac_t""no
" 1>&6
4567 for ac_hdr in wctype.h
4569 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4570 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4571 echo "configure
:4572: checking
for $ac_hdr" >&5
4572 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4573 echo $ac_n "(cached
) $ac_c" 1>&6
4575 cat > conftest.$ac_ext <<EOF
4576 #line 4577 "configure
"
4577 #include "confdefs.h
"
4580 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4581 { (eval echo configure:4582: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4582 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4583 if test -z "$ac_err"; then
4585 eval "ac_cv_header_
$ac_safe=yes"
4588 echo "configure
: failed program was
:" >&5
4589 cat conftest.$ac_ext >&5
4591 eval "ac_cv_header_
$ac_safe=no
"
4595 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4596 echo "$ac_t""yes" 1>&6
4597 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4598 cat >> confdefs.h <<EOF
4599 #define $ac_tr_hdr 1
4603 echo "$ac_t""no
" 1>&6
4609 if test x"$ac_has_wchar_h" = xyes &&
4610 test x"$ac_has_wctype_h" = xyes &&
4611 test x"$enable_c_mbchar" != xno; then
4613 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
4614 echo "configure
:4615: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
4615 cat > conftest.$ac_ext <<EOF
4616 #line 4617 "configure
"
4617 #include "confdefs.h
"
4620 int i = WCHAR_MIN; int j = WCHAR_MAX;
4623 if { (eval echo configure:4624: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4625 has_wchar_minmax=yes
4627 echo "configure
: failed program was
:" >&5
4628 cat conftest.$ac_ext >&5
4633 echo "$ac_t""$has_wchar_minmax" 1>&6
4635 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
4636 echo "configure
:4637: checking
for WEOF
" >&5
4637 cat > conftest.$ac_ext <<EOF
4638 #line 4639 "configure
"
4639 #include "confdefs.h
"
4647 if { (eval echo configure:4648: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4651 echo "configure
: failed program was
:" >&5
4652 cat conftest.$ac_ext >&5
4657 echo "$ac_t""$has_weof" 1>&6
4660 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4662 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4663 echo "configure
:4664: checking
for $ac_func" >&5
4664 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4665 echo $ac_n "(cached
) $ac_c" 1>&6
4667 cat > conftest.$ac_ext <<EOF
4668 #line 4669 "configure
"
4669 #include "confdefs.h
"
4670 /* System header to define __stub macros and hopefully few prototypes,
4671 which can conflict with char $ac_func(); below. */
4673 /* Override any gcc2 internal prototype to avoid an error. */
4674 /* We use char because int might match the return type of a gcc2
4675 builtin and then its argument prototype would still apply. */
4680 /* The GNU C library defines this for functions which it implements
4681 to always fail with ENOSYS. Some functions are actually named
4682 something starting with __ and the normal name is an alias. */
4683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4691 if { (eval echo configure:4692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4693 eval "ac_cv_func_
$ac_func=yes"
4695 echo "configure
: failed program was
:" >&5
4696 cat conftest.$ac_ext >&5
4698 eval "ac_cv_func_
$ac_func=no
"
4703 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4704 echo "$ac_t""yes" 1>&6
4705 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4706 cat >> confdefs.h <<EOF
4707 #define $ac_tr_func 1
4711 echo "$ac_t""no
" 1>&6
4718 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
4719 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4720 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4721 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4722 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4723 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4725 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4726 echo "configure
:4727: checking
for $ac_func" >&5
4727 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4728 echo $ac_n "(cached
) $ac_c" 1>&6
4730 cat > conftest.$ac_ext <<EOF
4731 #line 4732 "configure
"
4732 #include "confdefs.h
"
4733 /* System header to define __stub macros and hopefully few prototypes,
4734 which can conflict with char $ac_func(); below. */
4736 /* Override any gcc2 internal prototype to avoid an error. */
4737 /* We use char because int might match the return type of a gcc2
4738 builtin and then its argument prototype would still apply. */
4743 /* The GNU C library defines this for functions which it implements
4744 to always fail with ENOSYS. Some functions are actually named
4745 something starting with __ and the normal name is an alias. */
4746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4754 if { (eval echo configure:4755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4756 eval "ac_cv_func_
$ac_func=yes"
4758 echo "configure
: failed program was
:" >&5
4759 cat conftest.$ac_ext >&5
4761 eval "ac_cv_func_
$ac_func=no
"
4766 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4767 echo "$ac_t""yes" 1>&6
4768 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4769 cat >> confdefs.h <<EOF
4770 #define $ac_tr_func 1
4774 echo "$ac_t""no
" 1>&6
4781 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
4782 echo "configure
:4783: checking
for ISO C99 wchar_t support
" >&5
4783 if test x"$has_weof" = xyes &&
4784 test x"$has_wchar_minmax" = xyes &&
4785 test x"$ac_wfuncs" = xyes; then
4786 ac_isoC99_wchar_t=yes
4788 ac_isoC99_wchar_t=no
4790 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4792 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
4793 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
4794 echo "configure
:4795: checking
for iconv.h
" >&5
4795 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4796 echo $ac_n "(cached
) $ac_c" 1>&6
4798 cat > conftest.$ac_ext <<EOF
4799 #line 4800 "configure
"
4800 #include "confdefs.h
"
4803 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4804 { (eval echo configure:4805: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4805 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4806 if test -z "$ac_err"; then
4808 eval "ac_cv_header_
$ac_safe=yes"
4811 echo "configure
: failed program was
:" >&5
4812 cat conftest.$ac_ext >&5
4814 eval "ac_cv_header_
$ac_safe=no
"
4818 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4819 echo "$ac_t""yes" 1>&6
4822 echo "$ac_t""no
" 1>&6
4826 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
4827 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
4828 echo "configure
:4829: checking
for langinfo.h
" >&5
4829 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4830 echo $ac_n "(cached
) $ac_c" 1>&6
4832 cat > conftest.$ac_ext <<EOF
4833 #line 4834 "configure
"
4834 #include "confdefs.h
"
4835 #include <langinfo.h>
4837 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4838 { (eval echo configure:4839: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4839 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4840 if test -z "$ac_err"; then
4842 eval "ac_cv_header_
$ac_safe=yes"
4845 echo "configure
: failed program was
:" >&5
4846 cat conftest.$ac_ext >&5
4848 eval "ac_cv_header_
$ac_safe=no
"
4852 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4853 echo "$ac_t""yes" 1>&6
4854 ac_has_langinfo_h=yes
4856 echo "$ac_t""no
" 1>&6
4857 ac_has_langinfo_h=no
4861 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
4862 echo "configure
:4863: checking
for iconv in -liconv" >&5
4863 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4864 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4865 echo $ac_n "(cached
) $ac_c" 1>&6
4867 ac_save_LIBS="$LIBS"
4868 LIBS="-liconv $LIBS"
4869 cat > conftest.$ac_ext <<EOF
4870 #line 4871 "configure
"
4871 #include "confdefs.h
"
4872 /* Override any gcc2 internal prototype to avoid an error. */
4873 /* We use char because int might match the return type of a gcc2
4874 builtin and then its argument prototype would still apply. */
4881 if { (eval echo configure:4882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4883 eval "ac_cv_lib_
$ac_lib_var=yes"
4885 echo "configure
: failed program was
:" >&5
4886 cat conftest.$ac_ext >&5
4888 eval "ac_cv_lib_
$ac_lib_var=no
"
4891 LIBS="$ac_save_LIBS"
4894 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4895 echo "$ac_t""yes" 1>&6
4898 echo "$ac_t""no
" 1>&6
4901 ac_save_LIBS="$LIBS"
4902 LIBS="$LIBS $libiconv"
4904 for ac_func in iconv_open iconv_close iconv nl_langinfo
4906 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4907 echo "configure
:4908: checking
for $ac_func" >&5
4908 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4909 echo $ac_n "(cached
) $ac_c" 1>&6
4911 cat > conftest.$ac_ext <<EOF
4912 #line 4913 "configure
"
4913 #include "confdefs.h
"
4914 /* System header to define __stub macros and hopefully few prototypes,
4915 which can conflict with char $ac_func(); below. */
4917 /* Override any gcc2 internal prototype to avoid an error. */
4918 /* We use char because int might match the return type of a gcc2
4919 builtin and then its argument prototype would still apply. */
4924 /* The GNU C library defines this for functions which it implements
4925 to always fail with ENOSYS. Some functions are actually named
4926 something starting with __ and the normal name is an alias. */
4927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4935 if { (eval echo configure:4936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4937 eval "ac_cv_func_
$ac_func=yes"
4939 echo "configure
: failed program was
:" >&5
4940 cat conftest.$ac_ext >&5
4942 eval "ac_cv_func_
$ac_func=no
"
4947 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4948 echo "$ac_t""yes" 1>&6
4949 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4950 cat >> confdefs.h <<EOF
4951 #define $ac_tr_func 1
4956 echo "$ac_t""no
" 1>&6
4962 LIBS="$ac_save_LIBS"
4964 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
4965 echo "configure
:4966: checking
for XPG2 wchar_t support
" >&5
4966 if test x"$ac_has_iconv_h" = xyes &&
4967 test x"$ac_has_langinfo_h" = xyes &&
4968 test x"$ac_XPG2funcs" = xyes; then
4973 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
4975 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
4976 echo "configure
:4977: checking
for enabled wchar_t specializations
" >&5
4977 if test x"$ac_isoC99_wchar_t" = xyes &&
4978 test x"$ac_XPG2_wchar_t" = xyes; then
4979 cat >> confdefs.h <<\EOF
4980 #define _GLIBCPP_USE_WCHAR_T 1
4983 echo "$ac_t"""yes"" 1>&6
4985 echo "$ac_t"""no"" 1>&6
4988 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
4991 cat >> confdefs.h <<\EOF
4992 #define HAVE_COPYSIGN 1
4995 cat >> confdefs.h <<\EOF
4996 #define HAVE_COPYSIGNF 1
4999 cat >> confdefs.h <<\EOF
5000 #define HAVE_FINITE 1
5003 cat >> confdefs.h <<\EOF
5004 #define HAVE_FINITEF 1
5007 cat >> confdefs.h <<\EOF
5008 #define HAVE_FREXPF 1
5011 cat >> confdefs.h <<\EOF
5012 #define HAVE_HYPOTF 1
5015 cat >> confdefs.h <<\EOF
5016 #define HAVE_ISINF 1
5019 cat >> confdefs.h <<\EOF
5020 #define HAVE_ISINFF 1
5023 cat >> confdefs.h <<\EOF
5024 #define HAVE_ISNAN 1
5027 cat >> confdefs.h <<\EOF
5028 #define HAVE_ISNANF 1
5031 cat >> confdefs.h <<\EOF
5032 #define HAVE_SINCOS 1
5035 cat >> confdefs.h <<\EOF
5036 #define HAVE_SINCOSF 1
5039 if test x"long_double_math_on_this_cpu
" = x"yes"; then
5040 cat >> confdefs.h <<\EOF
5041 #define HAVE_FINITEL 1
5044 cat >> confdefs.h <<\EOF
5045 #define HAVE_HYPOTL 1
5048 cat >> confdefs.h <<\EOF
5049 #define HAVE_ISINFL 1
5052 cat >> confdefs.h <<\EOF
5053 #define HAVE_ISNANL 1
5059 # Check for available headers.
5060 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5061 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5062 fp.h locale.h float.h inttypes.h
5064 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5065 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5066 echo "configure
:5067: checking
for $ac_hdr" >&5
5067 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5068 echo $ac_n "(cached
) $ac_c" 1>&6
5070 cat > conftest.$ac_ext <<EOF
5071 #line 5072 "configure
"
5072 #include "confdefs.h
"
5075 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5076 { (eval echo configure:5077: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5077 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5078 if test -z "$ac_err"; then
5080 eval "ac_cv_header_
$ac_safe=yes"
5083 echo "configure
: failed program was
:" >&5
5084 cat conftest.$ac_ext >&5
5086 eval "ac_cv_header_
$ac_safe=no
"
5090 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5091 echo "$ac_t""yes" 1>&6
5092 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5093 cat >> confdefs.h <<EOF
5094 #define $ac_tr_hdr 1
5098 echo "$ac_t""no
" 1>&6
5102 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5105 # If we're not using GNU ld, then there's no point in even trying these
5106 # tests. Check for that first. We should have already tested for gld
5107 # by now (in libtool), but require it now just to be safe...
5108 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5109 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5112 # The name set by libtool depends on the version of libtool. Shame on us
5113 # for depending on an impl detail, but c'est la vie. Older versions used
5114 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
5115 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
5116 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
5117 # set (hence we're using an older libtool), then set it.
5118 if test x${with_gnu_ld+set} != xset; then
5119 if test x${ac_cv_prog_gnu_ld+set} != xset; then
5120 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
5123 with_gnu_ld=$ac_cv_prog_gnu_ld
5127 # Start by getting the version number. I think the libtool test already
5128 # does some of this, but throws away the result.
5130 ldver=`$LD --version 2>/dev/null | head -1 | \
5131 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
5133 glibcpp_gnu_ld_version=`echo $ldver | \
5134 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
5136 # Set --gc-sections.
5137 if test "$with_gnu_ld" = "notbroken
"; then
5138 # GNU ld it is! Joy and bunny rabbits!
5140 # All these tests are for C++; save the language and the compiler flags.
5141 # Need to do this so that g++ won't try to link in libstdc++
5142 ac_test_CFLAGS="${CFLAGS+set}"
5143 ac_save_CFLAGS="$CFLAGS"
5144 CFLAGS='-x c++ -Wl,--gc-sections'
5146 # Check for -Wl,--gc-sections
5147 # XXX This test is broken at the moment, as symbols required for
5148 # linking are now in libsupc++ (not built yet.....). In addition,
5149 # this test has cored on solaris in the past. In addition,
5150 # --gc-sections doesn't really work at the moment (keeps on discarding
5151 # used sections, first .eh_frame and now some of the glibc sections for
5152 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5153 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
5154 echo "configure
:5155: checking
for ld that supports
-Wl,--gc-sections" >&5
5155 if test "$cross_compiling" = yes; then
5156 ac_sectionLDflags=yes
5158 cat > conftest.$ac_ext <<EOF
5159 #line 5160 "configure
"
5160 #include "confdefs.h
"
5170 if { (eval echo configure:5171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5172 ac_sectionLDflags=yes
5174 echo "configure
: failed program was
:" >&5
5175 cat conftest.$ac_ext >&5
5177 ac_sectionLDflags=no
5182 if test "$ac_test_CFLAGS" = set; then
5183 CFLAGS="$ac_save_CFLAGS"
5185 # this is the suspicious part
5188 if test "$ac_sectionLDflags" = "yes"; then
5189 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5191 echo "$ac_t""$ac_sectionLDflags" 1>&6
5194 # Set linker optimization flags.
5195 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no
"; then
5196 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5203 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
5204 echo "configure
:5205: checking
for main
in -lm" >&5
5205 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5206 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5207 echo $ac_n "(cached
) $ac_c" 1>&6
5209 ac_save_LIBS="$LIBS"
5211 cat > conftest.$ac_ext <<EOF
5212 #line 5213 "configure
"
5213 #include "confdefs.h
"
5219 if { (eval echo configure:5220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5221 eval "ac_cv_lib_
$ac_lib_var=yes"
5223 echo "configure
: failed program was
:" >&5
5224 cat conftest.$ac_ext >&5
5226 eval "ac_cv_lib_
$ac_lib_var=no
"
5229 LIBS="$ac_save_LIBS"
5232 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5233 echo "$ac_t""yes" 1>&6
5234 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5235 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5236 cat >> confdefs.h <<EOF
5237 #define $ac_tr_lib 1
5243 echo "$ac_t""no
" 1>&6
5246 for ac_func in nan copysignf
5248 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5249 echo "configure
:5250: checking
for $ac_func" >&5
5250 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5251 echo $ac_n "(cached
) $ac_c" 1>&6
5253 cat > conftest.$ac_ext <<EOF
5254 #line 5255 "configure
"
5255 #include "confdefs.h
"
5256 /* System header to define __stub macros and hopefully few prototypes,
5257 which can conflict with char $ac_func(); below. */
5259 /* Override any gcc2 internal prototype to avoid an error. */
5260 /* We use char because int might match the return type of a gcc2
5261 builtin and then its argument prototype would still apply. */
5266 /* The GNU C library defines this for functions which it implements
5267 to always fail with ENOSYS. Some functions are actually named
5268 something starting with __ and the normal name is an alias. */
5269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5277 if { (eval echo configure:5278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5279 eval "ac_cv_func_
$ac_func=yes"
5281 echo "configure
: failed program was
:" >&5
5282 cat conftest.$ac_ext >&5
5284 eval "ac_cv_func_
$ac_func=no
"
5289 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5290 echo "$ac_t""yes" 1>&6
5291 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5292 cat >> confdefs.h <<EOF
5293 #define $ac_tr_func 1
5297 echo "$ac_t""no
" 1>&6
5298 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
5303 for ac_func in __signbit
5305 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5306 echo "configure
:5307: checking
for $ac_func" >&5
5307 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5308 echo $ac_n "(cached
) $ac_c" 1>&6
5310 cat > conftest.$ac_ext <<EOF
5311 #line 5312 "configure
"
5312 #include "confdefs.h
"
5313 /* System header to define __stub macros and hopefully few prototypes,
5314 which can conflict with char $ac_func(); below. */
5316 /* Override any gcc2 internal prototype to avoid an error. */
5317 /* We use char because int might match the return type of a gcc2
5318 builtin and then its argument prototype would still apply. */
5323 /* The GNU C library defines this for functions which it implements
5324 to always fail with ENOSYS. Some functions are actually named
5325 something starting with __ and the normal name is an alias. */
5326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5334 if { (eval echo configure:5335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5336 eval "ac_cv_func_
$ac_func=yes"
5338 echo "configure
: failed program was
:" >&5
5339 cat conftest.$ac_ext >&5
5341 eval "ac_cv_func_
$ac_func=no
"
5346 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5347 echo "$ac_t""yes" 1>&6
5348 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5349 cat >> confdefs.h <<EOF
5350 #define $ac_tr_func 1
5354 echo "$ac_t""no
" 1>&6
5355 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
5359 for ac_func in __signbitf
5361 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5362 echo "configure
:5363: checking
for $ac_func" >&5
5363 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5364 echo $ac_n "(cached
) $ac_c" 1>&6
5366 cat > conftest.$ac_ext <<EOF
5367 #line 5368 "configure
"
5368 #include "confdefs.h
"
5369 /* System header to define __stub macros and hopefully few prototypes,
5370 which can conflict with char $ac_func(); below. */
5372 /* Override any gcc2 internal prototype to avoid an error. */
5373 /* We use char because int might match the return type of a gcc2
5374 builtin and then its argument prototype would still apply. */
5379 /* The GNU C library defines this for functions which it implements
5380 to always fail with ENOSYS. Some functions are actually named
5381 something starting with __ and the normal name is an alias. */
5382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5390 if { (eval echo configure:5391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5392 eval "ac_cv_func_
$ac_func=yes"
5394 echo "configure
: failed program was
:" >&5
5395 cat conftest.$ac_ext >&5
5397 eval "ac_cv_func_
$ac_func=no
"
5402 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5403 echo "$ac_t""yes" 1>&6
5404 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5405 cat >> confdefs.h <<EOF
5406 #define $ac_tr_func 1
5410 echo "$ac_t""no
" 1>&6
5411 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
5416 if test x$ac_cv_func_copysignl = x"yes"; then
5417 for ac_func in __signbitl
5419 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5420 echo "configure
:5421: checking
for $ac_func" >&5
5421 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5422 echo $ac_n "(cached
) $ac_c" 1>&6
5424 cat > conftest.$ac_ext <<EOF
5425 #line 5426 "configure
"
5426 #include "confdefs.h
"
5427 /* System header to define __stub macros and hopefully few prototypes,
5428 which can conflict with char $ac_func(); below. */
5430 /* Override any gcc2 internal prototype to avoid an error. */
5431 /* We use char because int might match the return type of a gcc2
5432 builtin and then its argument prototype would still apply. */
5437 /* The GNU C library defines this for functions which it implements
5438 to always fail with ENOSYS. Some functions are actually named
5439 something starting with __ and the normal name is an alias. */
5440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5448 if { (eval echo configure:5449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5450 eval "ac_cv_func_
$ac_func=yes"
5452 echo "configure
: failed program was
:" >&5
5453 cat conftest.$ac_ext >&5
5455 eval "ac_cv_func_
$ac_func=no
"
5460 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5461 echo "$ac_t""yes" 1>&6
5462 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5463 cat >> confdefs.h <<EOF
5464 #define $ac_tr_func 1
5468 echo "$ac_t""no
" 1>&6
5469 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
5479 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
5480 echo "configure
:5481: checking
for mbstate_t
" >&5
5481 cat > conftest.$ac_ext <<EOF
5482 #line 5483 "configure
"
5483 #include "confdefs.h
"
5486 mbstate_t teststate;
5489 if { (eval echo configure:5490: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5493 echo "configure
: failed program was
:" >&5
5494 cat conftest.$ac_ext >&5
5499 echo "$ac_t""$have_mbstate_t" 1>&6
5500 if test x"$have_mbstate_t" = xyes; then
5501 cat >> confdefs.h <<\EOF
5502 #define HAVE_MBSTATE_T 1
5507 for ac_hdr in wchar.h
5509 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5510 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5511 echo "configure
:5512: checking
for $ac_hdr" >&5
5512 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5513 echo $ac_n "(cached
) $ac_c" 1>&6
5515 cat > conftest.$ac_ext <<EOF
5516 #line 5517 "configure
"
5517 #include "confdefs.h
"
5520 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5521 { (eval echo configure:5522: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5522 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5523 if test -z "$ac_err"; then
5525 eval "ac_cv_header_
$ac_safe=yes"
5528 echo "configure
: failed program was
:" >&5
5529 cat conftest.$ac_ext >&5
5531 eval "ac_cv_header_
$ac_safe=no
"
5535 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5536 echo "$ac_t""yes" 1>&6
5537 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5538 cat >> confdefs.h <<EOF
5539 #define $ac_tr_hdr 1
5543 echo "$ac_t""no
" 1>&6
5548 for ac_hdr in wctype.h
5550 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5551 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5552 echo "configure
:5553: checking
for $ac_hdr" >&5
5553 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5554 echo $ac_n "(cached
) $ac_c" 1>&6
5556 cat > conftest.$ac_ext <<EOF
5557 #line 5558 "configure
"
5558 #include "confdefs.h
"
5561 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5562 { (eval echo configure:5563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5563 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5564 if test -z "$ac_err"; then
5566 eval "ac_cv_header_
$ac_safe=yes"
5569 echo "configure
: failed program was
:" >&5
5570 cat conftest.$ac_ext >&5
5572 eval "ac_cv_header_
$ac_safe=no
"
5576 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5577 echo "$ac_t""yes" 1>&6
5578 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5579 cat >> confdefs.h <<EOF
5580 #define $ac_tr_hdr 1
5584 echo "$ac_t""no
" 1>&6
5590 if test x"$ac_has_wchar_h" = xyes &&
5591 test x"$ac_has_wctype_h" = xyes &&
5592 test x"$enable_c_mbchar" != xno; then
5594 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
5595 echo "configure
:5596: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
5596 cat > conftest.$ac_ext <<EOF
5597 #line 5598 "configure
"
5598 #include "confdefs.h
"
5601 int i = WCHAR_MIN; int j = WCHAR_MAX;
5604 if { (eval echo configure:5605: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5606 has_wchar_minmax=yes
5608 echo "configure
: failed program was
:" >&5
5609 cat conftest.$ac_ext >&5
5614 echo "$ac_t""$has_wchar_minmax" 1>&6
5616 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
5617 echo "configure
:5618: checking
for WEOF
" >&5
5618 cat > conftest.$ac_ext <<EOF
5619 #line 5620 "configure
"
5620 #include "confdefs.h
"
5628 if { (eval echo configure:5629: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5632 echo "configure
: failed program was
:" >&5
5633 cat conftest.$ac_ext >&5
5638 echo "$ac_t""$has_weof" 1>&6
5641 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5643 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5644 echo "configure
:5645: checking
for $ac_func" >&5
5645 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5646 echo $ac_n "(cached
) $ac_c" 1>&6
5648 cat > conftest.$ac_ext <<EOF
5649 #line 5650 "configure
"
5650 #include "confdefs.h
"
5651 /* System header to define __stub macros and hopefully few prototypes,
5652 which can conflict with char $ac_func(); below. */
5654 /* Override any gcc2 internal prototype to avoid an error. */
5655 /* We use char because int might match the return type of a gcc2
5656 builtin and then its argument prototype would still apply. */
5661 /* The GNU C library defines this for functions which it implements
5662 to always fail with ENOSYS. Some functions are actually named
5663 something starting with __ and the normal name is an alias. */
5664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5672 if { (eval echo configure:5673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5674 eval "ac_cv_func_
$ac_func=yes"
5676 echo "configure
: failed program was
:" >&5
5677 cat conftest.$ac_ext >&5
5679 eval "ac_cv_func_
$ac_func=no
"
5684 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5685 echo "$ac_t""yes" 1>&6
5686 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5687 cat >> confdefs.h <<EOF
5688 #define $ac_tr_func 1
5692 echo "$ac_t""no
" 1>&6
5699 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
5700 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5701 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5702 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5703 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5704 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5706 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5707 echo "configure
:5708: checking
for $ac_func" >&5
5708 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5709 echo $ac_n "(cached
) $ac_c" 1>&6
5711 cat > conftest.$ac_ext <<EOF
5712 #line 5713 "configure
"
5713 #include "confdefs.h
"
5714 /* System header to define __stub macros and hopefully few prototypes,
5715 which can conflict with char $ac_func(); below. */
5717 /* Override any gcc2 internal prototype to avoid an error. */
5718 /* We use char because int might match the return type of a gcc2
5719 builtin and then its argument prototype would still apply. */
5724 /* The GNU C library defines this for functions which it implements
5725 to always fail with ENOSYS. Some functions are actually named
5726 something starting with __ and the normal name is an alias. */
5727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5735 if { (eval echo configure:5736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5737 eval "ac_cv_func_
$ac_func=yes"
5739 echo "configure
: failed program was
:" >&5
5740 cat conftest.$ac_ext >&5
5742 eval "ac_cv_func_
$ac_func=no
"
5747 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5748 echo "$ac_t""yes" 1>&6
5749 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5750 cat >> confdefs.h <<EOF
5751 #define $ac_tr_func 1
5755 echo "$ac_t""no
" 1>&6
5762 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
5763 echo "configure
:5764: checking
for ISO C99 wchar_t support
" >&5
5764 if test x"$has_weof" = xyes &&
5765 test x"$has_wchar_minmax" = xyes &&
5766 test x"$ac_wfuncs" = xyes; then
5767 ac_isoC99_wchar_t=yes
5769 ac_isoC99_wchar_t=no
5771 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
5773 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
5774 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
5775 echo "configure
:5776: checking
for iconv.h
" >&5
5776 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5777 echo $ac_n "(cached
) $ac_c" 1>&6
5779 cat > conftest.$ac_ext <<EOF
5780 #line 5781 "configure
"
5781 #include "confdefs.h
"
5784 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5785 { (eval echo configure:5786: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5786 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5787 if test -z "$ac_err"; then
5789 eval "ac_cv_header_
$ac_safe=yes"
5792 echo "configure
: failed program was
:" >&5
5793 cat conftest.$ac_ext >&5
5795 eval "ac_cv_header_
$ac_safe=no
"
5799 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5800 echo "$ac_t""yes" 1>&6
5803 echo "$ac_t""no
" 1>&6
5807 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
5808 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
5809 echo "configure
:5810: checking
for langinfo.h
" >&5
5810 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5811 echo $ac_n "(cached
) $ac_c" 1>&6
5813 cat > conftest.$ac_ext <<EOF
5814 #line 5815 "configure
"
5815 #include "confdefs.h
"
5816 #include <langinfo.h>
5818 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5819 { (eval echo configure:5820: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5820 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5821 if test -z "$ac_err"; then
5823 eval "ac_cv_header_
$ac_safe=yes"
5826 echo "configure
: failed program was
:" >&5
5827 cat conftest.$ac_ext >&5
5829 eval "ac_cv_header_
$ac_safe=no
"
5833 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5834 echo "$ac_t""yes" 1>&6
5835 ac_has_langinfo_h=yes
5837 echo "$ac_t""no
" 1>&6
5838 ac_has_langinfo_h=no
5842 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
5843 echo "configure
:5844: checking
for iconv in -liconv" >&5
5844 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5845 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5846 echo $ac_n "(cached
) $ac_c" 1>&6
5848 ac_save_LIBS="$LIBS"
5849 LIBS="-liconv $LIBS"
5850 cat > conftest.$ac_ext <<EOF
5851 #line 5852 "configure
"
5852 #include "confdefs.h
"
5853 /* Override any gcc2 internal prototype to avoid an error. */
5854 /* We use char because int might match the return type of a gcc2
5855 builtin and then its argument prototype would still apply. */
5862 if { (eval echo configure:5863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5864 eval "ac_cv_lib_
$ac_lib_var=yes"
5866 echo "configure
: failed program was
:" >&5
5867 cat conftest.$ac_ext >&5
5869 eval "ac_cv_lib_
$ac_lib_var=no
"
5872 LIBS="$ac_save_LIBS"
5875 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5876 echo "$ac_t""yes" 1>&6
5879 echo "$ac_t""no
" 1>&6
5882 ac_save_LIBS="$LIBS"
5883 LIBS="$LIBS $libiconv"
5885 for ac_func in iconv_open iconv_close iconv nl_langinfo
5887 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5888 echo "configure
:5889: checking
for $ac_func" >&5
5889 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5890 echo $ac_n "(cached
) $ac_c" 1>&6
5892 cat > conftest.$ac_ext <<EOF
5893 #line 5894 "configure
"
5894 #include "confdefs.h
"
5895 /* System header to define __stub macros and hopefully few prototypes,
5896 which can conflict with char $ac_func(); below. */
5898 /* Override any gcc2 internal prototype to avoid an error. */
5899 /* We use char because int might match the return type of a gcc2
5900 builtin and then its argument prototype would still apply. */
5905 /* The GNU C library defines this for functions which it implements
5906 to always fail with ENOSYS. Some functions are actually named
5907 something starting with __ and the normal name is an alias. */
5908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5916 if { (eval echo configure:5917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5918 eval "ac_cv_func_
$ac_func=yes"
5920 echo "configure
: failed program was
:" >&5
5921 cat conftest.$ac_ext >&5
5923 eval "ac_cv_func_
$ac_func=no
"
5928 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5929 echo "$ac_t""yes" 1>&6
5930 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5931 cat >> confdefs.h <<EOF
5932 #define $ac_tr_func 1
5937 echo "$ac_t""no
" 1>&6
5943 LIBS="$ac_save_LIBS"
5945 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
5946 echo "configure
:5947: checking
for XPG2 wchar_t support
" >&5
5947 if test x"$ac_has_iconv_h" = xyes &&
5948 test x"$ac_has_langinfo_h" = xyes &&
5949 test x"$ac_XPG2funcs" = xyes; then
5954 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5956 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
5957 echo "configure
:5958: checking
for enabled wchar_t specializations
" >&5
5958 if test x"$ac_isoC99_wchar_t" = xyes &&
5959 test x"$ac_XPG2_wchar_t" = xyes; then
5960 cat >> confdefs.h <<\EOF
5961 #define _GLIBCPP_USE_WCHAR_T 1
5964 echo "$ac_t"""yes"" 1>&6
5966 echo "$ac_t"""no"" 1>&6
5969 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
5972 os_include_dir="os
/hpux
"
5973 cat >> confdefs.h <<\EOF
5974 #define HAVE_COPYSIGN 1
5977 cat >> confdefs.h <<\EOF
5978 #define HAVE_COPYSIGNF 1
5981 cat >> confdefs.h <<\EOF
5982 #define HAVE_FREXPF 1
5985 cat >> confdefs.h <<\EOF
5986 #define HAVE_HYPOT 1
5989 case "$target_alias" in
5991 cat >> confdefs.h <<\EOF
5992 #define HAVE_FINITE 1
5995 cat >> confdefs.h <<\EOF
5996 #define HAVE_FINITEF 1
5999 cat >> confdefs.h <<\EOF
6000 #define HAVE_ISINF 1
6003 cat >> confdefs.h <<\EOF
6004 #define HAVE_ISINFF 1
6007 cat >> confdefs.h <<\EOF
6008 #define HAVE_ISNAN 1
6011 cat >> confdefs.h <<\EOF
6012 #define HAVE_ISNANF 1
6020 # Check for available headers.
6021 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
6022 machine/endian.h machine/param.h sys/machine.h sys/types.h \
6023 fp.h locale.h float.h inttypes.h
6025 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6026 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6027 echo "configure
:6028: checking
for $ac_hdr" >&5
6028 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6029 echo $ac_n "(cached
) $ac_c" 1>&6
6031 cat > conftest.$ac_ext <<EOF
6032 #line 6033 "configure
"
6033 #include "confdefs.h
"
6036 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6037 { (eval echo configure:6038: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6038 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6039 if test -z "$ac_err"; then
6041 eval "ac_cv_header_
$ac_safe=yes"
6044 echo "configure
: failed program was
:" >&5
6045 cat conftest.$ac_ext >&5
6047 eval "ac_cv_header_
$ac_safe=no
"
6051 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6052 echo "$ac_t""yes" 1>&6
6053 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6054 cat >> confdefs.h <<EOF
6055 #define $ac_tr_hdr 1
6059 echo "$ac_t""no
" 1>&6
6063 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6066 # If we're not using GNU ld, then there's no point in even trying these
6067 # tests. Check for that first. We should have already tested for gld
6068 # by now (in libtool), but require it now just to be safe...
6069 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6070 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6073 # The name set by libtool depends on the version of libtool. Shame on us
6074 # for depending on an impl detail, but c'est la vie. Older versions used
6075 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6076 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6077 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6078 # set (hence we're using an older libtool), then set it.
6079 if test x${with_gnu_ld+set} != xset; then
6080 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6081 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
6084 with_gnu_ld=$ac_cv_prog_gnu_ld
6088 # Start by getting the version number. I think the libtool test already
6089 # does some of this, but throws away the result.
6091 ldver=`$LD --version 2>/dev/null | head -1 | \
6092 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6094 glibcpp_gnu_ld_version=`echo $ldver | \
6095 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6097 # Set --gc-sections.
6098 if test "$with_gnu_ld" = "notbroken
"; then
6099 # GNU ld it is! Joy and bunny rabbits!
6101 # All these tests are for C++; save the language and the compiler flags.
6102 # Need to do this so that g++ won't try to link in libstdc++
6103 ac_test_CFLAGS="${CFLAGS+set}"
6104 ac_save_CFLAGS="$CFLAGS"
6105 CFLAGS='-x c++ -Wl,--gc-sections'
6107 # Check for -Wl,--gc-sections
6108 # XXX This test is broken at the moment, as symbols required for
6109 # linking are now in libsupc++ (not built yet.....). In addition,
6110 # this test has cored on solaris in the past. In addition,
6111 # --gc-sections doesn't really work at the moment (keeps on discarding
6112 # used sections, first .eh_frame and now some of the glibc sections for
6113 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6114 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
6115 echo "configure
:6116: checking
for ld that supports
-Wl,--gc-sections" >&5
6116 if test "$cross_compiling" = yes; then
6117 ac_sectionLDflags=yes
6119 cat > conftest.$ac_ext <<EOF
6120 #line 6121 "configure
"
6121 #include "confdefs.h
"
6131 if { (eval echo configure:6132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6133 ac_sectionLDflags=yes
6135 echo "configure
: failed program was
:" >&5
6136 cat conftest.$ac_ext >&5
6138 ac_sectionLDflags=no
6143 if test "$ac_test_CFLAGS" = set; then
6144 CFLAGS="$ac_save_CFLAGS"
6146 # this is the suspicious part
6149 if test "$ac_sectionLDflags" = "yes"; then
6150 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6152 echo "$ac_t""$ac_sectionLDflags" 1>&6
6155 # Set linker optimization flags.
6156 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no
"; then
6157 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6164 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
6165 echo "configure
:6166: checking
for main
in -lm" >&5
6166 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
6167 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6168 echo $ac_n "(cached
) $ac_c" 1>&6
6170 ac_save_LIBS="$LIBS"
6172 cat > conftest.$ac_ext <<EOF
6173 #line 6174 "configure
"
6174 #include "confdefs.h
"
6180 if { (eval echo configure:6181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6182 eval "ac_cv_lib_
$ac_lib_var=yes"
6184 echo "configure
: failed program was
:" >&5
6185 cat conftest.$ac_ext >&5
6187 eval "ac_cv_lib_
$ac_lib_var=no
"
6190 LIBS="$ac_save_LIBS"
6193 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6194 echo "$ac_t""yes" 1>&6
6195 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6196 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6197 cat >> confdefs.h <<EOF
6198 #define $ac_tr_lib 1
6204 echo "$ac_t""no
" 1>&6
6207 for ac_func in nan copysignf
6209 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6210 echo "configure
:6211: checking
for $ac_func" >&5
6211 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6212 echo $ac_n "(cached
) $ac_c" 1>&6
6214 cat > conftest.$ac_ext <<EOF
6215 #line 6216 "configure
"
6216 #include "confdefs.h
"
6217 /* System header to define __stub macros and hopefully few prototypes,
6218 which can conflict with char $ac_func(); below. */
6220 /* Override any gcc2 internal prototype to avoid an error. */
6221 /* We use char because int might match the return type of a gcc2
6222 builtin and then its argument prototype would still apply. */
6227 /* The GNU C library defines this for functions which it implements
6228 to always fail with ENOSYS. Some functions are actually named
6229 something starting with __ and the normal name is an alias. */
6230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6238 if { (eval echo configure:6239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6240 eval "ac_cv_func_
$ac_func=yes"
6242 echo "configure
: failed program was
:" >&5
6243 cat conftest.$ac_ext >&5
6245 eval "ac_cv_func_
$ac_func=no
"
6250 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6251 echo "$ac_t""yes" 1>&6
6252 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6253 cat >> confdefs.h <<EOF
6254 #define $ac_tr_func 1
6258 echo "$ac_t""no
" 1>&6
6259 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
6264 for ac_func in __signbit
6266 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6267 echo "configure
:6268: checking
for $ac_func" >&5
6268 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6269 echo $ac_n "(cached
) $ac_c" 1>&6
6271 cat > conftest.$ac_ext <<EOF
6272 #line 6273 "configure
"
6273 #include "confdefs.h
"
6274 /* System header to define __stub macros and hopefully few prototypes,
6275 which can conflict with char $ac_func(); below. */
6277 /* Override any gcc2 internal prototype to avoid an error. */
6278 /* We use char because int might match the return type of a gcc2
6279 builtin and then its argument prototype would still apply. */
6284 /* The GNU C library defines this for functions which it implements
6285 to always fail with ENOSYS. Some functions are actually named
6286 something starting with __ and the normal name is an alias. */
6287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6295 if { (eval echo configure:6296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6297 eval "ac_cv_func_
$ac_func=yes"
6299 echo "configure
: failed program was
:" >&5
6300 cat conftest.$ac_ext >&5
6302 eval "ac_cv_func_
$ac_func=no
"
6307 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6308 echo "$ac_t""yes" 1>&6
6309 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6310 cat >> confdefs.h <<EOF
6311 #define $ac_tr_func 1
6315 echo "$ac_t""no
" 1>&6
6316 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
6320 for ac_func in __signbitf
6322 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6323 echo "configure
:6324: checking
for $ac_func" >&5
6324 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6325 echo $ac_n "(cached
) $ac_c" 1>&6
6327 cat > conftest.$ac_ext <<EOF
6328 #line 6329 "configure
"
6329 #include "confdefs.h
"
6330 /* System header to define __stub macros and hopefully few prototypes,
6331 which can conflict with char $ac_func(); below. */
6333 /* Override any gcc2 internal prototype to avoid an error. */
6334 /* We use char because int might match the return type of a gcc2
6335 builtin and then its argument prototype would still apply. */
6340 /* The GNU C library defines this for functions which it implements
6341 to always fail with ENOSYS. Some functions are actually named
6342 something starting with __ and the normal name is an alias. */
6343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6351 if { (eval echo configure:6352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6353 eval "ac_cv_func_
$ac_func=yes"
6355 echo "configure
: failed program was
:" >&5
6356 cat conftest.$ac_ext >&5
6358 eval "ac_cv_func_
$ac_func=no
"
6363 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6364 echo "$ac_t""yes" 1>&6
6365 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6366 cat >> confdefs.h <<EOF
6367 #define $ac_tr_func 1
6371 echo "$ac_t""no
" 1>&6
6372 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
6377 if test x$ac_cv_func_copysignl = x"yes"; then
6378 for ac_func in __signbitl
6380 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6381 echo "configure
:6382: checking
for $ac_func" >&5
6382 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6383 echo $ac_n "(cached
) $ac_c" 1>&6
6385 cat > conftest.$ac_ext <<EOF
6386 #line 6387 "configure
"
6387 #include "confdefs.h
"
6388 /* System header to define __stub macros and hopefully few prototypes,
6389 which can conflict with char $ac_func(); below. */
6391 /* Override any gcc2 internal prototype to avoid an error. */
6392 /* We use char because int might match the return type of a gcc2
6393 builtin and then its argument prototype would still apply. */
6398 /* The GNU C library defines this for functions which it implements
6399 to always fail with ENOSYS. Some functions are actually named
6400 something starting with __ and the normal name is an alias. */
6401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6409 if { (eval echo configure:6410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6411 eval "ac_cv_func_
$ac_func=yes"
6413 echo "configure
: failed program was
:" >&5
6414 cat conftest.$ac_ext >&5
6416 eval "ac_cv_func_
$ac_func=no
"
6421 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6422 echo "$ac_t""yes" 1>&6
6423 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6424 cat >> confdefs.h <<EOF
6425 #define $ac_tr_func 1
6429 echo "$ac_t""no
" 1>&6
6430 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
6440 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
6441 echo "configure
:6442: checking
for mbstate_t
" >&5
6442 cat > conftest.$ac_ext <<EOF
6443 #line 6444 "configure
"
6444 #include "confdefs.h
"
6447 mbstate_t teststate;
6450 if { (eval echo configure:6451: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6454 echo "configure
: failed program was
:" >&5
6455 cat conftest.$ac_ext >&5
6460 echo "$ac_t""$have_mbstate_t" 1>&6
6461 if test x"$have_mbstate_t" = xyes; then
6462 cat >> confdefs.h <<\EOF
6463 #define HAVE_MBSTATE_T 1
6468 for ac_hdr in wchar.h
6470 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6471 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6472 echo "configure
:6473: checking
for $ac_hdr" >&5
6473 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6474 echo $ac_n "(cached
) $ac_c" 1>&6
6476 cat > conftest.$ac_ext <<EOF
6477 #line 6478 "configure
"
6478 #include "confdefs.h
"
6481 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6482 { (eval echo configure:6483: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6483 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6484 if test -z "$ac_err"; then
6486 eval "ac_cv_header_
$ac_safe=yes"
6489 echo "configure
: failed program was
:" >&5
6490 cat conftest.$ac_ext >&5
6492 eval "ac_cv_header_
$ac_safe=no
"
6496 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6497 echo "$ac_t""yes" 1>&6
6498 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6499 cat >> confdefs.h <<EOF
6500 #define $ac_tr_hdr 1
6504 echo "$ac_t""no
" 1>&6
6509 for ac_hdr in wctype.h
6511 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6512 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6513 echo "configure
:6514: checking
for $ac_hdr" >&5
6514 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6515 echo $ac_n "(cached
) $ac_c" 1>&6
6517 cat > conftest.$ac_ext <<EOF
6518 #line 6519 "configure
"
6519 #include "confdefs.h
"
6522 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6523 { (eval echo configure:6524: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6524 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6525 if test -z "$ac_err"; then
6527 eval "ac_cv_header_
$ac_safe=yes"
6530 echo "configure
: failed program was
:" >&5
6531 cat conftest.$ac_ext >&5
6533 eval "ac_cv_header_
$ac_safe=no
"
6537 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6538 echo "$ac_t""yes" 1>&6
6539 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6540 cat >> confdefs.h <<EOF
6541 #define $ac_tr_hdr 1
6545 echo "$ac_t""no
" 1>&6
6551 if test x"$ac_has_wchar_h" = xyes &&
6552 test x"$ac_has_wctype_h" = xyes &&
6553 test x"$enable_c_mbchar" != xno; then
6555 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
6556 echo "configure
:6557: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
6557 cat > conftest.$ac_ext <<EOF
6558 #line 6559 "configure
"
6559 #include "confdefs.h
"
6562 int i = WCHAR_MIN; int j = WCHAR_MAX;
6565 if { (eval echo configure:6566: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6567 has_wchar_minmax=yes
6569 echo "configure
: failed program was
:" >&5
6570 cat conftest.$ac_ext >&5
6575 echo "$ac_t""$has_wchar_minmax" 1>&6
6577 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
6578 echo "configure
:6579: checking
for WEOF
" >&5
6579 cat > conftest.$ac_ext <<EOF
6580 #line 6581 "configure
"
6581 #include "confdefs.h
"
6589 if { (eval echo configure:6590: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6593 echo "configure
: failed program was
:" >&5
6594 cat conftest.$ac_ext >&5
6599 echo "$ac_t""$has_weof" 1>&6
6602 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6604 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6605 echo "configure
:6606: checking
for $ac_func" >&5
6606 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6607 echo $ac_n "(cached
) $ac_c" 1>&6
6609 cat > conftest.$ac_ext <<EOF
6610 #line 6611 "configure
"
6611 #include "confdefs.h
"
6612 /* System header to define __stub macros and hopefully few prototypes,
6613 which can conflict with char $ac_func(); below. */
6615 /* Override any gcc2 internal prototype to avoid an error. */
6616 /* We use char because int might match the return type of a gcc2
6617 builtin and then its argument prototype would still apply. */
6622 /* The GNU C library defines this for functions which it implements
6623 to always fail with ENOSYS. Some functions are actually named
6624 something starting with __ and the normal name is an alias. */
6625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6633 if { (eval echo configure:6634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6635 eval "ac_cv_func_
$ac_func=yes"
6637 echo "configure
: failed program was
:" >&5
6638 cat conftest.$ac_ext >&5
6640 eval "ac_cv_func_
$ac_func=no
"
6645 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6646 echo "$ac_t""yes" 1>&6
6647 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6648 cat >> confdefs.h <<EOF
6649 #define $ac_tr_func 1
6653 echo "$ac_t""no
" 1>&6
6660 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
6661 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6662 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6663 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6664 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6665 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6667 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6668 echo "configure
:6669: checking
for $ac_func" >&5
6669 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6670 echo $ac_n "(cached
) $ac_c" 1>&6
6672 cat > conftest.$ac_ext <<EOF
6673 #line 6674 "configure
"
6674 #include "confdefs.h
"
6675 /* System header to define __stub macros and hopefully few prototypes,
6676 which can conflict with char $ac_func(); below. */
6678 /* Override any gcc2 internal prototype to avoid an error. */
6679 /* We use char because int might match the return type of a gcc2
6680 builtin and then its argument prototype would still apply. */
6685 /* The GNU C library defines this for functions which it implements
6686 to always fail with ENOSYS. Some functions are actually named
6687 something starting with __ and the normal name is an alias. */
6688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6696 if { (eval echo configure:6697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6698 eval "ac_cv_func_
$ac_func=yes"
6700 echo "configure
: failed program was
:" >&5
6701 cat conftest.$ac_ext >&5
6703 eval "ac_cv_func_
$ac_func=no
"
6708 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6709 echo "$ac_t""yes" 1>&6
6710 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6711 cat >> confdefs.h <<EOF
6712 #define $ac_tr_func 1
6716 echo "$ac_t""no
" 1>&6
6723 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
6724 echo "configure
:6725: checking
for ISO C99 wchar_t support
" >&5
6725 if test x"$has_weof" = xyes &&
6726 test x"$has_wchar_minmax" = xyes &&
6727 test x"$ac_wfuncs" = xyes; then
6728 ac_isoC99_wchar_t=yes
6730 ac_isoC99_wchar_t=no
6732 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6734 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
6735 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
6736 echo "configure
:6737: checking
for iconv.h
" >&5
6737 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6738 echo $ac_n "(cached
) $ac_c" 1>&6
6740 cat > conftest.$ac_ext <<EOF
6741 #line 6742 "configure
"
6742 #include "confdefs.h
"
6745 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6746 { (eval echo configure:6747: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6747 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6748 if test -z "$ac_err"; then
6750 eval "ac_cv_header_
$ac_safe=yes"
6753 echo "configure
: failed program was
:" >&5
6754 cat conftest.$ac_ext >&5
6756 eval "ac_cv_header_
$ac_safe=no
"
6760 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6761 echo "$ac_t""yes" 1>&6
6764 echo "$ac_t""no
" 1>&6
6768 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
6769 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
6770 echo "configure
:6771: checking
for langinfo.h
" >&5
6771 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6772 echo $ac_n "(cached
) $ac_c" 1>&6
6774 cat > conftest.$ac_ext <<EOF
6775 #line 6776 "configure
"
6776 #include "confdefs.h
"
6777 #include <langinfo.h>
6779 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6780 { (eval echo configure:6781: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6781 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6782 if test -z "$ac_err"; then
6784 eval "ac_cv_header_
$ac_safe=yes"
6787 echo "configure
: failed program was
:" >&5
6788 cat conftest.$ac_ext >&5
6790 eval "ac_cv_header_
$ac_safe=no
"
6794 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6795 echo "$ac_t""yes" 1>&6
6796 ac_has_langinfo_h=yes
6798 echo "$ac_t""no
" 1>&6
6799 ac_has_langinfo_h=no
6803 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
6804 echo "configure
:6805: checking
for iconv in -liconv" >&5
6805 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6806 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6807 echo $ac_n "(cached
) $ac_c" 1>&6
6809 ac_save_LIBS="$LIBS"
6810 LIBS="-liconv $LIBS"
6811 cat > conftest.$ac_ext <<EOF
6812 #line 6813 "configure
"
6813 #include "confdefs.h
"
6814 /* Override any gcc2 internal prototype to avoid an error. */
6815 /* We use char because int might match the return type of a gcc2
6816 builtin and then its argument prototype would still apply. */
6823 if { (eval echo configure:6824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6825 eval "ac_cv_lib_
$ac_lib_var=yes"
6827 echo "configure
: failed program was
:" >&5
6828 cat conftest.$ac_ext >&5
6830 eval "ac_cv_lib_
$ac_lib_var=no
"
6833 LIBS="$ac_save_LIBS"
6836 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6837 echo "$ac_t""yes" 1>&6
6840 echo "$ac_t""no
" 1>&6
6843 ac_save_LIBS="$LIBS"
6844 LIBS="$LIBS $libiconv"
6846 for ac_func in iconv_open iconv_close iconv nl_langinfo
6848 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6849 echo "configure
:6850: checking
for $ac_func" >&5
6850 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6851 echo $ac_n "(cached
) $ac_c" 1>&6
6853 cat > conftest.$ac_ext <<EOF
6854 #line 6855 "configure
"
6855 #include "confdefs.h
"
6856 /* System header to define __stub macros and hopefully few prototypes,
6857 which can conflict with char $ac_func(); below. */
6859 /* Override any gcc2 internal prototype to avoid an error. */
6860 /* We use char because int might match the return type of a gcc2
6861 builtin and then its argument prototype would still apply. */
6866 /* The GNU C library defines this for functions which it implements
6867 to always fail with ENOSYS. Some functions are actually named
6868 something starting with __ and the normal name is an alias. */
6869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6877 if { (eval echo configure:6878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6879 eval "ac_cv_func_
$ac_func=yes"
6881 echo "configure
: failed program was
:" >&5
6882 cat conftest.$ac_ext >&5
6884 eval "ac_cv_func_
$ac_func=no
"
6889 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6890 echo "$ac_t""yes" 1>&6
6891 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6892 cat >> confdefs.h <<EOF
6893 #define $ac_tr_func 1
6898 echo "$ac_t""no
" 1>&6
6904 LIBS="$ac_save_LIBS"
6906 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
6907 echo "configure
:6908: checking
for XPG2 wchar_t support
" >&5
6908 if test x"$ac_has_iconv_h" = xyes &&
6909 test x"$ac_has_langinfo_h" = xyes &&
6910 test x"$ac_XPG2funcs" = xyes; then
6915 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6917 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
6918 echo "configure
:6919: checking
for enabled wchar_t specializations
" >&5
6919 if test x"$ac_isoC99_wchar_t" = xyes &&
6920 test x"$ac_XPG2_wchar_t" = xyes; then
6921 cat >> confdefs.h <<\EOF
6922 #define _GLIBCPP_USE_WCHAR_T 1
6925 echo "$ac_t"""yes"" 1>&6
6927 echo "$ac_t"""no"" 1>&6
6930 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
6933 os_include_dir="os
/bsd
/netbsd
"
6934 cat >> confdefs.h <<\EOF
6935 #define HAVE_COPYSIGN 1
6938 cat >> confdefs.h <<\EOF
6939 #define HAVE_COPYSIGNF 1
6942 cat >> confdefs.h <<\EOF
6943 #define HAVE_FINITEF 1
6946 cat >> confdefs.h <<\EOF
6947 #define HAVE_FINITE 1
6950 cat >> confdefs.h <<\EOF
6951 #define HAVE_FREXPF 1
6954 cat >> confdefs.h <<\EOF
6955 #define HAVE_HYPOTF 1
6958 cat >> confdefs.h <<\EOF
6959 #define HAVE_ISINF 1
6962 cat >> confdefs.h <<\EOF
6963 #define HAVE_ISINFF 1
6966 cat >> confdefs.h <<\EOF
6967 #define HAVE_ISNAN 1
6970 cat >> confdefs.h <<\EOF
6971 #define HAVE_ISNANF 1
6974 if test x"long_double_math_on_this_cpu
" = x"yes"; then
6975 cat >> confdefs.h <<\EOF
6976 #define HAVE_FINITEL 1
6979 cat >> confdefs.h <<\EOF
6980 #define HAVE_ISINFL 1
6983 cat >> confdefs.h <<\EOF
6984 #define HAVE_ISNANL 1
6990 for ac_hdr in sys/types.h locale.h float.h
6992 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6993 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6994 echo "configure
:6995: checking
for $ac_hdr" >&5
6995 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6996 echo $ac_n "(cached
) $ac_c" 1>&6
6998 cat > conftest.$ac_ext <<EOF
6999 #line 7000 "configure
"
7000 #include "confdefs.h
"
7003 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7004 { (eval echo configure:7005: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7005 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7006 if test -z "$ac_err"; then
7008 eval "ac_cv_header_
$ac_safe=yes"
7011 echo "configure
: failed program was
:" >&5
7012 cat conftest.$ac_ext >&5
7014 eval "ac_cv_header_
$ac_safe=no
"
7018 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7019 echo "$ac_t""yes" 1>&6
7020 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7021 cat >> confdefs.h <<EOF
7022 #define $ac_tr_hdr 1
7026 echo "$ac_t""no
" 1>&6
7031 # If we're not using GNU ld, then there's no point in even trying these
7032 # tests. Check for that first. We should have already tested for gld
7033 # by now (in libtool), but require it now just to be safe...
7034 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7035 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7038 # The name set by libtool depends on the version of libtool. Shame on us
7039 # for depending on an impl detail, but c'est la vie. Older versions used
7040 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7041 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7042 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7043 # set (hence we're using an older libtool), then set it.
7044 if test x${with_gnu_ld+set} != xset; then
7045 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7046 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
7049 with_gnu_ld=$ac_cv_prog_gnu_ld
7053 # Start by getting the version number. I think the libtool test already
7054 # does some of this, but throws away the result.
7056 ldver=`$LD --version 2>/dev/null | head -1 | \
7057 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7059 glibcpp_gnu_ld_version=`echo $ldver | \
7060 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7062 # Set --gc-sections.
7063 if test "$with_gnu_ld" = "notbroken
"; then
7064 # GNU ld it is! Joy and bunny rabbits!
7066 # All these tests are for C++; save the language and the compiler flags.
7067 # Need to do this so that g++ won't try to link in libstdc++
7068 ac_test_CFLAGS="${CFLAGS+set}"
7069 ac_save_CFLAGS="$CFLAGS"
7070 CFLAGS='-x c++ -Wl,--gc-sections'
7072 # Check for -Wl,--gc-sections
7073 # XXX This test is broken at the moment, as symbols required for
7074 # linking are now in libsupc++ (not built yet.....). In addition,
7075 # this test has cored on solaris in the past. In addition,
7076 # --gc-sections doesn't really work at the moment (keeps on discarding
7077 # used sections, first .eh_frame and now some of the glibc sections for
7078 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7079 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
7080 echo "configure
:7081: checking
for ld that supports
-Wl,--gc-sections" >&5
7081 if test "$cross_compiling" = yes; then
7082 ac_sectionLDflags=yes
7084 cat > conftest.$ac_ext <<EOF
7085 #line 7086 "configure
"
7086 #include "confdefs.h
"
7096 if { (eval echo configure:7097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7098 ac_sectionLDflags=yes
7100 echo "configure
: failed program was
:" >&5
7101 cat conftest.$ac_ext >&5
7103 ac_sectionLDflags=no
7108 if test "$ac_test_CFLAGS" = set; then
7109 CFLAGS="$ac_save_CFLAGS"
7111 # this is the suspicious part
7114 if test "$ac_sectionLDflags" = "yes"; then
7115 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7117 echo "$ac_t""$ac_sectionLDflags" 1>&6
7120 # Set linker optimization flags.
7121 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no
"; then
7122 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7129 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
7130 echo "configure
:7131: checking
for main
in -lm" >&5
7131 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
7132 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7133 echo $ac_n "(cached
) $ac_c" 1>&6
7135 ac_save_LIBS="$LIBS"
7137 cat > conftest.$ac_ext <<EOF
7138 #line 7139 "configure
"
7139 #include "confdefs.h
"
7145 if { (eval echo configure:7146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7147 eval "ac_cv_lib_
$ac_lib_var=yes"
7149 echo "configure
: failed program was
:" >&5
7150 cat conftest.$ac_ext >&5
7152 eval "ac_cv_lib_
$ac_lib_var=no
"
7155 LIBS="$ac_save_LIBS"
7158 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7159 echo "$ac_t""yes" 1>&6
7160 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7161 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7162 cat >> confdefs.h <<EOF
7163 #define $ac_tr_lib 1
7169 echo "$ac_t""no
" 1>&6
7172 for ac_func in nan copysignf
7174 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7175 echo "configure
:7176: checking
for $ac_func" >&5
7176 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7177 echo $ac_n "(cached
) $ac_c" 1>&6
7179 cat > conftest.$ac_ext <<EOF
7180 #line 7181 "configure
"
7181 #include "confdefs.h
"
7182 /* System header to define __stub macros and hopefully few prototypes,
7183 which can conflict with char $ac_func(); below. */
7185 /* Override any gcc2 internal prototype to avoid an error. */
7186 /* We use char because int might match the return type of a gcc2
7187 builtin and then its argument prototype would still apply. */
7192 /* The GNU C library defines this for functions which it implements
7193 to always fail with ENOSYS. Some functions are actually named
7194 something starting with __ and the normal name is an alias. */
7195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7203 if { (eval echo configure:7204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7205 eval "ac_cv_func_
$ac_func=yes"
7207 echo "configure
: failed program was
:" >&5
7208 cat conftest.$ac_ext >&5
7210 eval "ac_cv_func_
$ac_func=no
"
7215 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7216 echo "$ac_t""yes" 1>&6
7217 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7218 cat >> confdefs.h <<EOF
7219 #define $ac_tr_func 1
7223 echo "$ac_t""no
" 1>&6
7224 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
7229 for ac_func in __signbit
7231 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7232 echo "configure
:7233: checking
for $ac_func" >&5
7233 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7234 echo $ac_n "(cached
) $ac_c" 1>&6
7236 cat > conftest.$ac_ext <<EOF
7237 #line 7238 "configure
"
7238 #include "confdefs.h
"
7239 /* System header to define __stub macros and hopefully few prototypes,
7240 which can conflict with char $ac_func(); below. */
7242 /* Override any gcc2 internal prototype to avoid an error. */
7243 /* We use char because int might match the return type of a gcc2
7244 builtin and then its argument prototype would still apply. */
7249 /* The GNU C library defines this for functions which it implements
7250 to always fail with ENOSYS. Some functions are actually named
7251 something starting with __ and the normal name is an alias. */
7252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7260 if { (eval echo configure:7261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7262 eval "ac_cv_func_
$ac_func=yes"
7264 echo "configure
: failed program was
:" >&5
7265 cat conftest.$ac_ext >&5
7267 eval "ac_cv_func_
$ac_func=no
"
7272 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7273 echo "$ac_t""yes" 1>&6
7274 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7275 cat >> confdefs.h <<EOF
7276 #define $ac_tr_func 1
7280 echo "$ac_t""no
" 1>&6
7281 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
7285 for ac_func in __signbitf
7287 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7288 echo "configure
:7289: checking
for $ac_func" >&5
7289 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7290 echo $ac_n "(cached
) $ac_c" 1>&6
7292 cat > conftest.$ac_ext <<EOF
7293 #line 7294 "configure
"
7294 #include "confdefs.h
"
7295 /* System header to define __stub macros and hopefully few prototypes,
7296 which can conflict with char $ac_func(); below. */
7298 /* Override any gcc2 internal prototype to avoid an error. */
7299 /* We use char because int might match the return type of a gcc2
7300 builtin and then its argument prototype would still apply. */
7305 /* The GNU C library defines this for functions which it implements
7306 to always fail with ENOSYS. Some functions are actually named
7307 something starting with __ and the normal name is an alias. */
7308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7316 if { (eval echo configure:7317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7318 eval "ac_cv_func_
$ac_func=yes"
7320 echo "configure
: failed program was
:" >&5
7321 cat conftest.$ac_ext >&5
7323 eval "ac_cv_func_
$ac_func=no
"
7328 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7329 echo "$ac_t""yes" 1>&6
7330 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7331 cat >> confdefs.h <<EOF
7332 #define $ac_tr_func 1
7336 echo "$ac_t""no
" 1>&6
7337 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
7342 if test x$ac_cv_func_copysignl = x"yes"; then
7343 for ac_func in __signbitl
7345 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7346 echo "configure
:7347: checking
for $ac_func" >&5
7347 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7348 echo $ac_n "(cached
) $ac_c" 1>&6
7350 cat > conftest.$ac_ext <<EOF
7351 #line 7352 "configure
"
7352 #include "confdefs.h
"
7353 /* System header to define __stub macros and hopefully few prototypes,
7354 which can conflict with char $ac_func(); below. */
7356 /* Override any gcc2 internal prototype to avoid an error. */
7357 /* We use char because int might match the return type of a gcc2
7358 builtin and then its argument prototype would still apply. */
7363 /* The GNU C library defines this for functions which it implements
7364 to always fail with ENOSYS. Some functions are actually named
7365 something starting with __ and the normal name is an alias. */
7366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7374 if { (eval echo configure:7375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7376 eval "ac_cv_func_
$ac_func=yes"
7378 echo "configure
: failed program was
:" >&5
7379 cat conftest.$ac_ext >&5
7381 eval "ac_cv_func_
$ac_func=no
"
7386 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7387 echo "$ac_t""yes" 1>&6
7388 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7389 cat >> confdefs.h <<EOF
7390 #define $ac_tr_func 1
7394 echo "$ac_t""no
" 1>&6
7395 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
7405 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
7406 echo "configure
:7407: checking
for mbstate_t
" >&5
7407 cat > conftest.$ac_ext <<EOF
7408 #line 7409 "configure
"
7409 #include "confdefs.h
"
7412 mbstate_t teststate;
7415 if { (eval echo configure:7416: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7419 echo "configure
: failed program was
:" >&5
7420 cat conftest.$ac_ext >&5
7425 echo "$ac_t""$have_mbstate_t" 1>&6
7426 if test x"$have_mbstate_t" = xyes; then
7427 cat >> confdefs.h <<\EOF
7428 #define HAVE_MBSTATE_T 1
7433 for ac_hdr in wchar.h
7435 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7436 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
7437 echo "configure
:7438: checking
for $ac_hdr" >&5
7438 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7439 echo $ac_n "(cached
) $ac_c" 1>&6
7441 cat > conftest.$ac_ext <<EOF
7442 #line 7443 "configure
"
7443 #include "confdefs.h
"
7446 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7447 { (eval echo configure:7448: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7448 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7449 if test -z "$ac_err"; then
7451 eval "ac_cv_header_
$ac_safe=yes"
7454 echo "configure
: failed program was
:" >&5
7455 cat conftest.$ac_ext >&5
7457 eval "ac_cv_header_
$ac_safe=no
"
7461 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7462 echo "$ac_t""yes" 1>&6
7463 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7464 cat >> confdefs.h <<EOF
7465 #define $ac_tr_hdr 1
7469 echo "$ac_t""no
" 1>&6
7474 for ac_hdr in wctype.h
7476 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7477 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
7478 echo "configure
:7479: checking
for $ac_hdr" >&5
7479 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7480 echo $ac_n "(cached
) $ac_c" 1>&6
7482 cat > conftest.$ac_ext <<EOF
7483 #line 7484 "configure
"
7484 #include "confdefs.h
"
7487 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7488 { (eval echo configure:7489: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7489 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7490 if test -z "$ac_err"; then
7492 eval "ac_cv_header_
$ac_safe=yes"
7495 echo "configure
: failed program was
:" >&5
7496 cat conftest.$ac_ext >&5
7498 eval "ac_cv_header_
$ac_safe=no
"
7502 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7503 echo "$ac_t""yes" 1>&6
7504 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7505 cat >> confdefs.h <<EOF
7506 #define $ac_tr_hdr 1
7510 echo "$ac_t""no
" 1>&6
7516 if test x"$ac_has_wchar_h" = xyes &&
7517 test x"$ac_has_wctype_h" = xyes &&
7518 test x"$enable_c_mbchar" != xno; then
7520 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
7521 echo "configure
:7522: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
7522 cat > conftest.$ac_ext <<EOF
7523 #line 7524 "configure
"
7524 #include "confdefs.h
"
7527 int i = WCHAR_MIN; int j = WCHAR_MAX;
7530 if { (eval echo configure:7531: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7532 has_wchar_minmax=yes
7534 echo "configure
: failed program was
:" >&5
7535 cat conftest.$ac_ext >&5
7540 echo "$ac_t""$has_wchar_minmax" 1>&6
7542 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
7543 echo "configure
:7544: checking
for WEOF
" >&5
7544 cat > conftest.$ac_ext <<EOF
7545 #line 7546 "configure
"
7546 #include "confdefs.h
"
7554 if { (eval echo configure:7555: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7558 echo "configure
: failed program was
:" >&5
7559 cat conftest.$ac_ext >&5
7564 echo "$ac_t""$has_weof" 1>&6
7567 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
7569 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7570 echo "configure
:7571: checking
for $ac_func" >&5
7571 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7572 echo $ac_n "(cached
) $ac_c" 1>&6
7574 cat > conftest.$ac_ext <<EOF
7575 #line 7576 "configure
"
7576 #include "confdefs.h
"
7577 /* System header to define __stub macros and hopefully few prototypes,
7578 which can conflict with char $ac_func(); below. */
7580 /* Override any gcc2 internal prototype to avoid an error. */
7581 /* We use char because int might match the return type of a gcc2
7582 builtin and then its argument prototype would still apply. */
7587 /* The GNU C library defines this for functions which it implements
7588 to always fail with ENOSYS. Some functions are actually named
7589 something starting with __ and the normal name is an alias. */
7590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7598 if { (eval echo configure:7599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7600 eval "ac_cv_func_
$ac_func=yes"
7602 echo "configure
: failed program was
:" >&5
7603 cat conftest.$ac_ext >&5
7605 eval "ac_cv_func_
$ac_func=no
"
7610 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7611 echo "$ac_t""yes" 1>&6
7612 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7613 cat >> confdefs.h <<EOF
7614 #define $ac_tr_func 1
7618 echo "$ac_t""no
" 1>&6
7625 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
7626 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
7627 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
7628 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
7629 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
7630 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
7632 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7633 echo "configure
:7634: checking
for $ac_func" >&5
7634 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7635 echo $ac_n "(cached
) $ac_c" 1>&6
7637 cat > conftest.$ac_ext <<EOF
7638 #line 7639 "configure
"
7639 #include "confdefs.h
"
7640 /* System header to define __stub macros and hopefully few prototypes,
7641 which can conflict with char $ac_func(); below. */
7643 /* Override any gcc2 internal prototype to avoid an error. */
7644 /* We use char because int might match the return type of a gcc2
7645 builtin and then its argument prototype would still apply. */
7650 /* The GNU C library defines this for functions which it implements
7651 to always fail with ENOSYS. Some functions are actually named
7652 something starting with __ and the normal name is an alias. */
7653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7661 if { (eval echo configure:7662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7663 eval "ac_cv_func_
$ac_func=yes"
7665 echo "configure
: failed program was
:" >&5
7666 cat conftest.$ac_ext >&5
7668 eval "ac_cv_func_
$ac_func=no
"
7673 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7674 echo "$ac_t""yes" 1>&6
7675 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7676 cat >> confdefs.h <<EOF
7677 #define $ac_tr_func 1
7681 echo "$ac_t""no
" 1>&6
7688 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
7689 echo "configure
:7690: checking
for ISO C99 wchar_t support
" >&5
7690 if test x"$has_weof" = xyes &&
7691 test x"$has_wchar_minmax" = xyes &&
7692 test x"$ac_wfuncs" = xyes; then
7693 ac_isoC99_wchar_t=yes
7695 ac_isoC99_wchar_t=no
7697 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7699 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
7700 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
7701 echo "configure
:7702: checking
for iconv.h
" >&5
7702 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7703 echo $ac_n "(cached
) $ac_c" 1>&6
7705 cat > conftest.$ac_ext <<EOF
7706 #line 7707 "configure
"
7707 #include "confdefs.h
"
7710 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7711 { (eval echo configure:7712: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7712 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7713 if test -z "$ac_err"; then
7715 eval "ac_cv_header_
$ac_safe=yes"
7718 echo "configure
: failed program was
:" >&5
7719 cat conftest.$ac_ext >&5
7721 eval "ac_cv_header_
$ac_safe=no
"
7725 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7726 echo "$ac_t""yes" 1>&6
7729 echo "$ac_t""no
" 1>&6
7733 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
7734 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
7735 echo "configure
:7736: checking
for langinfo.h
" >&5
7736 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7737 echo $ac_n "(cached
) $ac_c" 1>&6
7739 cat > conftest.$ac_ext <<EOF
7740 #line 7741 "configure
"
7741 #include "confdefs.h
"
7742 #include <langinfo.h>
7744 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7745 { (eval echo configure:7746: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7746 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7747 if test -z "$ac_err"; then
7749 eval "ac_cv_header_
$ac_safe=yes"
7752 echo "configure
: failed program was
:" >&5
7753 cat conftest.$ac_ext >&5
7755 eval "ac_cv_header_
$ac_safe=no
"
7759 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7760 echo "$ac_t""yes" 1>&6
7761 ac_has_langinfo_h=yes
7763 echo "$ac_t""no
" 1>&6
7764 ac_has_langinfo_h=no
7768 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
7769 echo "configure
:7770: checking
for iconv in -liconv" >&5
7770 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
7771 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7772 echo $ac_n "(cached
) $ac_c" 1>&6
7774 ac_save_LIBS="$LIBS"
7775 LIBS="-liconv $LIBS"
7776 cat > conftest.$ac_ext <<EOF
7777 #line 7778 "configure
"
7778 #include "confdefs.h
"
7779 /* Override any gcc2 internal prototype to avoid an error. */
7780 /* We use char because int might match the return type of a gcc2
7781 builtin and then its argument prototype would still apply. */
7788 if { (eval echo configure:7789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7790 eval "ac_cv_lib_
$ac_lib_var=yes"
7792 echo "configure
: failed program was
:" >&5
7793 cat conftest.$ac_ext >&5
7795 eval "ac_cv_lib_
$ac_lib_var=no
"
7798 LIBS="$ac_save_LIBS"
7801 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7802 echo "$ac_t""yes" 1>&6
7805 echo "$ac_t""no
" 1>&6
7808 ac_save_LIBS="$LIBS"
7809 LIBS="$LIBS $libiconv"
7811 for ac_func in iconv_open iconv_close iconv nl_langinfo
7813 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7814 echo "configure
:7815: checking
for $ac_func" >&5
7815 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7816 echo $ac_n "(cached
) $ac_c" 1>&6
7818 cat > conftest.$ac_ext <<EOF
7819 #line 7820 "configure
"
7820 #include "confdefs.h
"
7821 /* System header to define __stub macros and hopefully few prototypes,
7822 which can conflict with char $ac_func(); below. */
7824 /* Override any gcc2 internal prototype to avoid an error. */
7825 /* We use char because int might match the return type of a gcc2
7826 builtin and then its argument prototype would still apply. */
7831 /* The GNU C library defines this for functions which it implements
7832 to always fail with ENOSYS. Some functions are actually named
7833 something starting with __ and the normal name is an alias. */
7834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
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_func_
$ac_func=yes"
7846 echo "configure
: failed program was
:" >&5
7847 cat conftest.$ac_ext >&5
7849 eval "ac_cv_func_
$ac_func=no
"
7854 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7855 echo "$ac_t""yes" 1>&6
7856 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7857 cat >> confdefs.h <<EOF
7858 #define $ac_tr_func 1
7863 echo "$ac_t""no
" 1>&6
7869 LIBS="$ac_save_LIBS"
7871 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
7872 echo "configure
:7873: checking
for XPG2 wchar_t support
" >&5
7873 if test x"$ac_has_iconv_h" = xyes &&
7874 test x"$ac_has_langinfo_h" = xyes &&
7875 test x"$ac_XPG2funcs" = xyes; then
7880 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
7882 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
7883 echo "configure
:7884: checking
for enabled wchar_t specializations
" >&5
7884 if test x"$ac_isoC99_wchar_t" = xyes &&
7885 test x"$ac_XPG2_wchar_t" = xyes; then
7886 cat >> confdefs.h <<\EOF
7887 #define _GLIBCPP_USE_WCHAR_T 1
7890 echo "$ac_t"""yes"" 1>&6
7892 echo "$ac_t"""no"" 1>&6
7895 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
7898 os_include_dir="os
/mingw32
"
7901 os_include_dir="os
/windiss
"
7904 SECTION_FLAGS='-ffunction-sections -fdata-sections'
7907 # If we're not using GNU ld, then there's no point in even trying these
7908 # tests. Check for that first. We should have already tested for gld
7909 # by now (in libtool), but require it now just to be safe...
7910 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7911 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7914 # The name set by libtool depends on the version of libtool. Shame on us
7915 # for depending on an impl detail, but c'est la vie. Older versions used
7916 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7917 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7918 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7919 # set (hence we're using an older libtool), then set it.
7920 if test x${with_gnu_ld+set} != xset; then
7921 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7922 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
7925 with_gnu_ld=$ac_cv_prog_gnu_ld
7929 # Start by getting the version number. I think the libtool test already
7930 # does some of this, but throws away the result.
7932 ldver=`$LD --version 2>/dev/null | head -1 | \
7933 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7935 glibcpp_gnu_ld_version=`echo $ldver | \
7936 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7938 # Set --gc-sections.
7939 if test "$with_gnu_ld" = "notbroken
"; then
7940 # GNU ld it is! Joy and bunny rabbits!
7942 # All these tests are for C++; save the language and the compiler flags.
7943 # Need to do this so that g++ won't try to link in libstdc++
7944 ac_test_CFLAGS="${CFLAGS+set}"
7945 ac_save_CFLAGS="$CFLAGS"
7946 CFLAGS='-x c++ -Wl,--gc-sections'
7948 # Check for -Wl,--gc-sections
7949 # XXX This test is broken at the moment, as symbols required for
7950 # linking are now in libsupc++ (not built yet.....). In addition,
7951 # this test has cored on solaris in the past. In addition,
7952 # --gc-sections doesn't really work at the moment (keeps on discarding
7953 # used sections, first .eh_frame and now some of the glibc sections for
7954 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7955 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
7956 echo "configure
:7957: checking
for ld that supports
-Wl,--gc-sections" >&5
7957 if test "$cross_compiling" = yes; then
7958 ac_sectionLDflags=yes
7960 cat > conftest.$ac_ext <<EOF
7961 #line 7962 "configure
"
7962 #include "confdefs.h
"
7972 if { (eval echo configure:7973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7974 ac_sectionLDflags=yes
7976 echo "configure
: failed program was
:" >&5
7977 cat conftest.$ac_ext >&5
7979 ac_sectionLDflags=no
7984 if test "$ac_test_CFLAGS" = set; then
7985 CFLAGS="$ac_save_CFLAGS"
7987 # this is the suspicious part
7990 if test "$ac_sectionLDflags" = "yes"; then
7991 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7993 echo "$ac_t""$ac_sectionLDflags" 1>&6
7996 # Set linker optimization flags.
7997 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no
"; then
7998 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8005 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
8006 echo "configure
:8007: checking
for main
in -lm" >&5
8007 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
8008 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8009 echo $ac_n "(cached
) $ac_c" 1>&6
8011 ac_save_LIBS="$LIBS"
8013 cat > conftest.$ac_ext <<EOF
8014 #line 8015 "configure
"
8015 #include "confdefs.h
"
8021 if { (eval echo configure:8022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8023 eval "ac_cv_lib_
$ac_lib_var=yes"
8025 echo "configure
: failed program was
:" >&5
8026 cat conftest.$ac_ext >&5
8028 eval "ac_cv_lib_
$ac_lib_var=no
"
8031 LIBS="$ac_save_LIBS"
8034 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8035 echo "$ac_t""yes" 1>&6
8036 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
8037 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
8038 cat >> confdefs.h <<EOF
8039 #define $ac_tr_lib 1
8045 echo "$ac_t""no
" 1>&6
8048 for ac_func in nan copysignf
8050 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8051 echo "configure
:8052: checking
for $ac_func" >&5
8052 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8053 echo $ac_n "(cached
) $ac_c" 1>&6
8055 cat > conftest.$ac_ext <<EOF
8056 #line 8057 "configure
"
8057 #include "confdefs.h
"
8058 /* System header to define __stub macros and hopefully few prototypes,
8059 which can conflict with char $ac_func(); below. */
8061 /* Override any gcc2 internal prototype to avoid an error. */
8062 /* We use char because int might match the return type of a gcc2
8063 builtin and then its argument prototype would still apply. */
8068 /* The GNU C library defines this for functions which it implements
8069 to always fail with ENOSYS. Some functions are actually named
8070 something starting with __ and the normal name is an alias. */
8071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8079 if { (eval echo configure:8080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8081 eval "ac_cv_func_
$ac_func=yes"
8083 echo "configure
: failed program was
:" >&5
8084 cat conftest.$ac_ext >&5
8086 eval "ac_cv_func_
$ac_func=no
"
8091 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8092 echo "$ac_t""yes" 1>&6
8093 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8094 cat >> confdefs.h <<EOF
8095 #define $ac_tr_func 1
8099 echo "$ac_t""no
" 1>&6
8100 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
8105 for ac_func in __signbit
8107 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8108 echo "configure
:8109: checking
for $ac_func" >&5
8109 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8110 echo $ac_n "(cached
) $ac_c" 1>&6
8112 cat > conftest.$ac_ext <<EOF
8113 #line 8114 "configure
"
8114 #include "confdefs.h
"
8115 /* System header to define __stub macros and hopefully few prototypes,
8116 which can conflict with char $ac_func(); below. */
8118 /* Override any gcc2 internal prototype to avoid an error. */
8119 /* We use char because int might match the return type of a gcc2
8120 builtin and then its argument prototype would still apply. */
8125 /* The GNU C library defines this for functions which it implements
8126 to always fail with ENOSYS. Some functions are actually named
8127 something starting with __ and the normal name is an alias. */
8128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8136 if { (eval echo configure:8137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8138 eval "ac_cv_func_
$ac_func=yes"
8140 echo "configure
: failed program was
:" >&5
8141 cat conftest.$ac_ext >&5
8143 eval "ac_cv_func_
$ac_func=no
"
8148 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8149 echo "$ac_t""yes" 1>&6
8150 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8151 cat >> confdefs.h <<EOF
8152 #define $ac_tr_func 1
8156 echo "$ac_t""no
" 1>&6
8157 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
8161 for ac_func in __signbitf
8163 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8164 echo "configure
:8165: checking
for $ac_func" >&5
8165 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8166 echo $ac_n "(cached
) $ac_c" 1>&6
8168 cat > conftest.$ac_ext <<EOF
8169 #line 8170 "configure
"
8170 #include "confdefs.h
"
8171 /* System header to define __stub macros and hopefully few prototypes,
8172 which can conflict with char $ac_func(); below. */
8174 /* Override any gcc2 internal prototype to avoid an error. */
8175 /* We use char because int might match the return type of a gcc2
8176 builtin and then its argument prototype would still apply. */
8181 /* The GNU C library defines this for functions which it implements
8182 to always fail with ENOSYS. Some functions are actually named
8183 something starting with __ and the normal name is an alias. */
8184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8192 if { (eval echo configure:8193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8194 eval "ac_cv_func_
$ac_func=yes"
8196 echo "configure
: failed program was
:" >&5
8197 cat conftest.$ac_ext >&5
8199 eval "ac_cv_func_
$ac_func=no
"
8204 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8205 echo "$ac_t""yes" 1>&6
8206 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8207 cat >> confdefs.h <<EOF
8208 #define $ac_tr_func 1
8212 echo "$ac_t""no
" 1>&6
8213 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
8218 if test x$ac_cv_func_copysignl = x"yes"; then
8219 for ac_func in __signbitl
8221 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8222 echo "configure
:8223: checking
for $ac_func" >&5
8223 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8224 echo $ac_n "(cached
) $ac_c" 1>&6
8226 cat > conftest.$ac_ext <<EOF
8227 #line 8228 "configure
"
8228 #include "confdefs.h
"
8229 /* System header to define __stub macros and hopefully few prototypes,
8230 which can conflict with char $ac_func(); below. */
8232 /* Override any gcc2 internal prototype to avoid an error. */
8233 /* We use char because int might match the return type of a gcc2
8234 builtin and then its argument prototype would still apply. */
8239 /* The GNU C library defines this for functions which it implements
8240 to always fail with ENOSYS. Some functions are actually named
8241 something starting with __ and the normal name is an alias. */
8242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8250 if { (eval echo configure:8251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8252 eval "ac_cv_func_
$ac_func=yes"
8254 echo "configure
: failed program was
:" >&5
8255 cat conftest.$ac_ext >&5
8257 eval "ac_cv_func_
$ac_func=no
"
8262 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8263 echo "$ac_t""yes" 1>&6
8264 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8265 cat >> confdefs.h <<EOF
8266 #define $ac_tr_func 1
8270 echo "$ac_t""no
" 1>&6
8271 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
8281 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
8282 echo "configure
:8283: checking
for mbstate_t
" >&5
8283 cat > conftest.$ac_ext <<EOF
8284 #line 8285 "configure
"
8285 #include "confdefs.h
"
8288 mbstate_t teststate;
8291 if { (eval echo configure:8292: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8295 echo "configure
: failed program was
:" >&5
8296 cat conftest.$ac_ext >&5
8301 echo "$ac_t""$have_mbstate_t" 1>&6
8302 if test x"$have_mbstate_t" = xyes; then
8303 cat >> confdefs.h <<\EOF
8304 #define HAVE_MBSTATE_T 1
8309 for ac_hdr in wchar.h
8311 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8312 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
8313 echo "configure
:8314: checking
for $ac_hdr" >&5
8314 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8315 echo $ac_n "(cached
) $ac_c" 1>&6
8317 cat > conftest.$ac_ext <<EOF
8318 #line 8319 "configure
"
8319 #include "confdefs.h
"
8322 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8323 { (eval echo configure:8324: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8324 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8325 if test -z "$ac_err"; then
8327 eval "ac_cv_header_
$ac_safe=yes"
8330 echo "configure
: failed program was
:" >&5
8331 cat conftest.$ac_ext >&5
8333 eval "ac_cv_header_
$ac_safe=no
"
8337 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8338 echo "$ac_t""yes" 1>&6
8339 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8340 cat >> confdefs.h <<EOF
8341 #define $ac_tr_hdr 1
8345 echo "$ac_t""no
" 1>&6
8350 for ac_hdr in wctype.h
8352 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8353 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
8354 echo "configure
:8355: checking
for $ac_hdr" >&5
8355 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8356 echo $ac_n "(cached
) $ac_c" 1>&6
8358 cat > conftest.$ac_ext <<EOF
8359 #line 8360 "configure
"
8360 #include "confdefs.h
"
8363 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8364 { (eval echo configure:8365: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8365 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8366 if test -z "$ac_err"; then
8368 eval "ac_cv_header_
$ac_safe=yes"
8371 echo "configure
: failed program was
:" >&5
8372 cat conftest.$ac_ext >&5
8374 eval "ac_cv_header_
$ac_safe=no
"
8378 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8379 echo "$ac_t""yes" 1>&6
8380 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8381 cat >> confdefs.h <<EOF
8382 #define $ac_tr_hdr 1
8386 echo "$ac_t""no
" 1>&6
8392 if test x"$ac_has_wchar_h" = xyes &&
8393 test x"$ac_has_wctype_h" = xyes &&
8394 test x"$enable_c_mbchar" != xno; then
8396 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
8397 echo "configure
:8398: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
8398 cat > conftest.$ac_ext <<EOF
8399 #line 8400 "configure
"
8400 #include "confdefs.h
"
8403 int i = WCHAR_MIN; int j = WCHAR_MAX;
8406 if { (eval echo configure:8407: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8408 has_wchar_minmax=yes
8410 echo "configure
: failed program was
:" >&5
8411 cat conftest.$ac_ext >&5
8416 echo "$ac_t""$has_wchar_minmax" 1>&6
8418 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
8419 echo "configure
:8420: checking
for WEOF
" >&5
8420 cat > conftest.$ac_ext <<EOF
8421 #line 8422 "configure
"
8422 #include "confdefs.h
"
8430 if { (eval echo configure:8431: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8434 echo "configure
: failed program was
:" >&5
8435 cat conftest.$ac_ext >&5
8440 echo "$ac_t""$has_weof" 1>&6
8443 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
8445 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8446 echo "configure
:8447: checking
for $ac_func" >&5
8447 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8448 echo $ac_n "(cached
) $ac_c" 1>&6
8450 cat > conftest.$ac_ext <<EOF
8451 #line 8452 "configure
"
8452 #include "confdefs.h
"
8453 /* System header to define __stub macros and hopefully few prototypes,
8454 which can conflict with char $ac_func(); below. */
8456 /* Override any gcc2 internal prototype to avoid an error. */
8457 /* We use char because int might match the return type of a gcc2
8458 builtin and then its argument prototype would still apply. */
8463 /* The GNU C library defines this for functions which it implements
8464 to always fail with ENOSYS. Some functions are actually named
8465 something starting with __ and the normal name is an alias. */
8466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8474 if { (eval echo configure:8475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8476 eval "ac_cv_func_
$ac_func=yes"
8478 echo "configure
: failed program was
:" >&5
8479 cat conftest.$ac_ext >&5
8481 eval "ac_cv_func_
$ac_func=no
"
8486 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8487 echo "$ac_t""yes" 1>&6
8488 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8489 cat >> confdefs.h <<EOF
8490 #define $ac_tr_func 1
8494 echo "$ac_t""no
" 1>&6
8501 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
8502 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
8503 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
8504 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
8505 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
8506 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
8508 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8509 echo "configure
:8510: checking
for $ac_func" >&5
8510 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8511 echo $ac_n "(cached
) $ac_c" 1>&6
8513 cat > conftest.$ac_ext <<EOF
8514 #line 8515 "configure
"
8515 #include "confdefs.h
"
8516 /* System header to define __stub macros and hopefully few prototypes,
8517 which can conflict with char $ac_func(); below. */
8519 /* Override any gcc2 internal prototype to avoid an error. */
8520 /* We use char because int might match the return type of a gcc2
8521 builtin and then its argument prototype would still apply. */
8526 /* The GNU C library defines this for functions which it implements
8527 to always fail with ENOSYS. Some functions are actually named
8528 something starting with __ and the normal name is an alias. */
8529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8537 if { (eval echo configure:8538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8539 eval "ac_cv_func_
$ac_func=yes"
8541 echo "configure
: failed program was
:" >&5
8542 cat conftest.$ac_ext >&5
8544 eval "ac_cv_func_
$ac_func=no
"
8549 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8550 echo "$ac_t""yes" 1>&6
8551 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8552 cat >> confdefs.h <<EOF
8553 #define $ac_tr_func 1
8557 echo "$ac_t""no
" 1>&6
8564 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
8565 echo "configure
:8566: checking
for ISO C99 wchar_t support
" >&5
8566 if test x"$has_weof" = xyes &&
8567 test x"$has_wchar_minmax" = xyes &&
8568 test x"$ac_wfuncs" = xyes; then
8569 ac_isoC99_wchar_t=yes
8571 ac_isoC99_wchar_t=no
8573 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
8575 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
8576 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
8577 echo "configure
:8578: checking
for iconv.h
" >&5
8578 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8579 echo $ac_n "(cached
) $ac_c" 1>&6
8581 cat > conftest.$ac_ext <<EOF
8582 #line 8583 "configure
"
8583 #include "confdefs.h
"
8586 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8587 { (eval echo configure:8588: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8588 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8589 if test -z "$ac_err"; then
8591 eval "ac_cv_header_
$ac_safe=yes"
8594 echo "configure
: failed program was
:" >&5
8595 cat conftest.$ac_ext >&5
8597 eval "ac_cv_header_
$ac_safe=no
"
8601 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8602 echo "$ac_t""yes" 1>&6
8605 echo "$ac_t""no
" 1>&6
8609 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
8610 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
8611 echo "configure
:8612: checking
for langinfo.h
" >&5
8612 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8613 echo $ac_n "(cached
) $ac_c" 1>&6
8615 cat > conftest.$ac_ext <<EOF
8616 #line 8617 "configure
"
8617 #include "confdefs.h
"
8618 #include <langinfo.h>
8620 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8621 { (eval echo configure:8622: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8622 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8623 if test -z "$ac_err"; then
8625 eval "ac_cv_header_
$ac_safe=yes"
8628 echo "configure
: failed program was
:" >&5
8629 cat conftest.$ac_ext >&5
8631 eval "ac_cv_header_
$ac_safe=no
"
8635 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8636 echo "$ac_t""yes" 1>&6
8637 ac_has_langinfo_h=yes
8639 echo "$ac_t""no
" 1>&6
8640 ac_has_langinfo_h=no
8644 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
8645 echo "configure
:8646: checking
for iconv in -liconv" >&5
8646 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
8647 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8648 echo $ac_n "(cached
) $ac_c" 1>&6
8650 ac_save_LIBS="$LIBS"
8651 LIBS="-liconv $LIBS"
8652 cat > conftest.$ac_ext <<EOF
8653 #line 8654 "configure
"
8654 #include "confdefs.h
"
8655 /* Override any gcc2 internal prototype to avoid an error. */
8656 /* We use char because int might match the return type of a gcc2
8657 builtin and then its argument prototype would still apply. */
8664 if { (eval echo configure:8665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8666 eval "ac_cv_lib_
$ac_lib_var=yes"
8668 echo "configure
: failed program was
:" >&5
8669 cat conftest.$ac_ext >&5
8671 eval "ac_cv_lib_
$ac_lib_var=no
"
8674 LIBS="$ac_save_LIBS"
8677 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8678 echo "$ac_t""yes" 1>&6
8681 echo "$ac_t""no
" 1>&6
8684 ac_save_LIBS="$LIBS"
8685 LIBS="$LIBS $libiconv"
8687 for ac_func in iconv_open iconv_close iconv nl_langinfo
8689 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8690 echo "configure
:8691: checking
for $ac_func" >&5
8691 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8692 echo $ac_n "(cached
) $ac_c" 1>&6
8694 cat > conftest.$ac_ext <<EOF
8695 #line 8696 "configure
"
8696 #include "confdefs.h
"
8697 /* System header to define __stub macros and hopefully few prototypes,
8698 which can conflict with char $ac_func(); below. */
8700 /* Override any gcc2 internal prototype to avoid an error. */
8701 /* We use char because int might match the return type of a gcc2
8702 builtin and then its argument prototype would still apply. */
8707 /* The GNU C library defines this for functions which it implements
8708 to always fail with ENOSYS. Some functions are actually named
8709 something starting with __ and the normal name is an alias. */
8710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8718 if { (eval echo configure:8719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8720 eval "ac_cv_func_
$ac_func=yes"
8722 echo "configure
: failed program was
:" >&5
8723 cat conftest.$ac_ext >&5
8725 eval "ac_cv_func_
$ac_func=no
"
8730 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8731 echo "$ac_t""yes" 1>&6
8732 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8733 cat >> confdefs.h <<EOF
8734 #define $ac_tr_func 1
8739 echo "$ac_t""no
" 1>&6
8745 LIBS="$ac_save_LIBS"
8747 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
8748 echo "configure
:8749: checking
for XPG2 wchar_t support
" >&5
8749 if test x"$ac_has_iconv_h" = xyes &&
8750 test x"$ac_has_langinfo_h" = xyes &&
8751 test x"$ac_XPG2funcs" = xyes; then
8756 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
8758 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
8759 echo "configure
:8760: checking
for enabled wchar_t specializations
" >&5
8760 if test x"$ac_isoC99_wchar_t" = xyes &&
8761 test x"$ac_XPG2_wchar_t" = xyes; then
8762 cat >> confdefs.h <<\EOF
8763 #define _GLIBCPP_USE_WCHAR_T 1
8766 echo "$ac_t"""yes"" 1>&6
8768 echo "$ac_t"""no"" 1>&6
8771 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
8774 os_include_dir="os
/qnx
/qnx6.1
"
8775 cat >> confdefs.h <<\EOF
8779 cat >> confdefs.h <<\EOF
8783 cat >> confdefs.h <<\EOF
8784 #define HAVE_COSHF 1
8787 cat >> confdefs.h <<\EOF
8788 #define HAVE_COSHL 1
8791 cat >> confdefs.h <<\EOF
8795 cat >> confdefs.h <<\EOF
8799 cat >> confdefs.h <<\EOF
8800 #define HAVE_LOG10F 1
8803 cat >> confdefs.h <<\EOF
8804 #define HAVE_LOG10L 1
8807 cat >> confdefs.h <<\EOF
8811 cat >> confdefs.h <<\EOF
8815 cat >> confdefs.h <<\EOF
8816 #define HAVE_SINHF 1
8819 cat >> confdefs.h <<\EOF
8820 #define HAVE_SINHL 1
8825 os_include_dir="os
/newlib
"
8826 cat >> confdefs.h <<\EOF
8827 #define HAVE_HYPOT 1
8833 case "$target_alias" in
8837 cat >> confdefs.h <<\EOF
8838 #define HAVE_ACOSF 1
8841 cat >> confdefs.h <<\EOF
8842 #define HAVE_ASINF 1
8845 cat >> confdefs.h <<\EOF
8846 #define HAVE_ATAN2F 1
8849 cat >> confdefs.h <<\EOF
8850 #define HAVE_ATANF 1
8853 cat >> confdefs.h <<\EOF
8854 #define HAVE_CEILF 1
8857 cat >> confdefs.h <<\EOF
8858 #define HAVE_COPYSIGN 1
8861 cat >> confdefs.h <<\EOF
8862 #define HAVE_COPYSIGNF 1
8865 cat >> confdefs.h <<\EOF
8869 cat >> confdefs.h <<\EOF
8870 #define HAVE_COSHF 1
8873 cat >> confdefs.h <<\EOF
8877 cat >> confdefs.h <<\EOF
8878 #define HAVE_FABSF 1
8881 cat >> confdefs.h <<\EOF
8882 #define HAVE_FLOORF 1
8885 cat >> confdefs.h <<\EOF
8886 #define HAVE_FMODF 1
8889 cat >> confdefs.h <<\EOF
8890 #define HAVE_FREXPF 1
8893 cat >> confdefs.h <<\EOF
8894 #define HAVE_LDEXPF 1
8897 cat >> confdefs.h <<\EOF
8898 #define HAVE_LOG10F 1
8901 cat >> confdefs.h <<\EOF
8905 cat >> confdefs.h <<\EOF
8906 #define HAVE_MODFF 1
8909 cat >> confdefs.h <<\EOF
8913 cat >> confdefs.h <<\EOF
8917 cat >> confdefs.h <<\EOF
8918 #define HAVE_SINHF 1
8921 cat >> confdefs.h <<\EOF
8922 #define HAVE_SQRTF 1
8925 cat >> confdefs.h <<\EOF
8929 cat >> confdefs.h <<\EOF
8930 #define HAVE_TANHF 1
8935 # GLIBCPP_CHECK_STDLIB_SUPPORT
8936 cat >> confdefs.h <<\EOF
8937 #define HAVE_STRTOF 1
8940 cat >> confdefs.h <<\EOF
8941 #define HAVE_STRTOLD 1
8945 cat >> confdefs.h <<\EOF
8950 cat >> confdefs.h <<\EOF
8951 #define HAVE_ACOSF 1
8954 cat >> confdefs.h <<\EOF
8955 #define HAVE_ASINF 1
8958 cat >> confdefs.h <<\EOF
8959 #define HAVE_ATAN2F 1
8962 cat >> confdefs.h <<\EOF
8963 #define HAVE_ATANF 1
8966 cat >> confdefs.h <<\EOF
8967 #define HAVE_CEILF 1
8970 cat >> confdefs.h <<\EOF
8971 #define HAVE_COPYSIGN 1
8974 cat >> confdefs.h <<\EOF
8975 #define HAVE_COPYSIGNF 1
8978 cat >> confdefs.h <<\EOF
8982 cat >> confdefs.h <<\EOF
8983 #define HAVE_COSHF 1
8986 cat >> confdefs.h <<\EOF
8990 cat >> confdefs.h <<\EOF
8991 #define HAVE_FABSF 1
8994 cat >> confdefs.h <<\EOF
8995 #define HAVE_FLOORF 1
8998 cat >> confdefs.h <<\EOF
8999 #define HAVE_FMODF 1
9002 cat >> confdefs.h <<\EOF
9003 #define HAVE_FREXPF 1
9006 cat >> confdefs.h <<\EOF
9007 #define HAVE_LDEXPF 1
9010 cat >> confdefs.h <<\EOF
9011 #define HAVE_LOG10F 1
9014 cat >> confdefs.h <<\EOF
9018 cat >> confdefs.h <<\EOF
9019 #define HAVE_MODFF 1
9022 cat >> confdefs.h <<\EOF
9026 cat >> confdefs.h <<\EOF
9030 cat >> confdefs.h <<\EOF
9031 #define HAVE_SINHF 1
9034 cat >> confdefs.h <<\EOF
9035 #define HAVE_SQRTF 1
9038 cat >> confdefs.h <<\EOF
9042 cat >> confdefs.h <<\EOF
9043 #define HAVE_TANHF 1
9049 # At some point, we should differentiate between architectures
9050 # like x86, which have long double versions, and alpha/powerpc/etc.,
9051 # which don't. For the time being, punt.
9052 if test x"long_double_math_on_this_cpu
" = x"yes"; then
9053 cat >> confdefs.h <<\EOF
9054 #define HAVE_ACOSL 1
9057 cat >> confdefs.h <<\EOF
9058 #define HAVE_ASINL 1
9061 cat >> confdefs.h <<\EOF
9062 #define HAVE_ATAN2L 1
9065 cat >> confdefs.h <<\EOF
9066 #define HAVE_ATANL 1
9069 cat >> confdefs.h <<\EOF
9070 #define HAVE_CEILL 1
9073 cat >> confdefs.h <<\EOF
9074 #define HAVE_COPYSIGNL 1
9077 cat >> confdefs.h <<\EOF
9081 cat >> confdefs.h <<\EOF
9082 #define HAVE_COSHL 1
9085 cat >> confdefs.h <<\EOF
9089 cat >> confdefs.h <<\EOF
9090 #define HAVE_FABSL 1
9093 cat >> confdefs.h <<\EOF
9094 #define HAVE_FLOORL 1
9097 cat >> confdefs.h <<\EOF
9098 #define HAVE_FMODL 1
9101 cat >> confdefs.h <<\EOF
9102 #define HAVE_FREXPL 1
9105 cat >> confdefs.h <<\EOF
9106 #define HAVE_LDEXPL 1
9109 cat >> confdefs.h <<\EOF
9110 #define HAVE_LOG10L 1
9113 cat >> confdefs.h <<\EOF
9117 cat >> confdefs.h <<\EOF
9118 #define HAVE_MODFL 1
9121 cat >> confdefs.h <<\EOF
9125 cat >> confdefs.h <<\EOF
9126 #define HAVE_SINCOSL 1
9129 cat >> confdefs.h <<\EOF
9133 cat >> confdefs.h <<\EOF
9134 #define HAVE_SINHL 1
9137 cat >> confdefs.h <<\EOF
9138 #define HAVE_SQRTL 1
9141 cat >> confdefs.h <<\EOF
9145 cat >> confdefs.h <<\EOF
9146 #define HAVE_TANHL 1
9153 # We are being configured natively. We can do more elaborate tests
9154 # that include AC_TRY_COMPILE now, as the linker is assumed to be
9156 GLIBCPP_IS_CROSS_COMPILING=0
9159 # Check for available headers.
9160 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
9161 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h sys/types.h
9163 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9164 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
9165 echo "configure
:9166: checking
for $ac_hdr" >&5
9166 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9167 echo $ac_n "(cached
) $ac_c" 1>&6
9169 cat > conftest.$ac_ext <<EOF
9170 #line 9171 "configure
"
9171 #include "confdefs.h
"
9174 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
9175 { (eval echo configure:9176: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9176 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
9177 if test -z "$ac_err"; then
9179 eval "ac_cv_header_
$ac_safe=yes"
9182 echo "configure
: failed program was
:" >&5
9183 cat conftest.$ac_ext >&5
9185 eval "ac_cv_header_
$ac_safe=no
"
9189 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9190 echo "$ac_t""yes" 1>&6
9191 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9192 cat >> confdefs.h <<EOF
9193 #define $ac_tr_hdr 1
9197 echo "$ac_t""no
" 1>&6
9203 # All these tests are for C++; save the language and the compiler flags.
9204 # The CXXFLAGS thing is suspicious, but based on similar bits previously
9205 # found in GLIBCPP_CONFIGURE.
9208 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9209 ac_cpp='$CXXCPP $CPPFLAGS'
9210 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9211 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9212 cross_compiling=$ac_cv_prog_cxx_cross
9214 ac_test_CXXFLAGS="${CXXFLAGS+set}"
9215 ac_save_CXXFLAGS="$CXXFLAGS"
9217 # Check for maintainer-mode bits.
9218 if test x"$USE_MAINTAINER_MODE" = xno; then
9224 # Check for -ffunction-sections -fdata-sections
9225 echo $ac_n "checking
for g
++ that supports
-ffunction-sections -fdata-sections""...
$ac_c" 1>&6
9226 echo "configure
:9227: checking
for g
++ that supports
-ffunction-sections -fdata-sections" >&5
9227 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
9228 cat > conftest.$ac_ext <<EOF
9229 #line 9230 "configure
"
9230 #include "confdefs.h
"
9237 if { (eval echo configure:9238: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9241 echo "configure
: failed program was
:" >&5
9242 cat conftest.$ac_ext >&5
9247 if test "$ac_test_CXXFLAGS" = set; then
9248 CXXFLAGS="$ac_save_CXXFLAGS"
9250 # this is the suspicious part
9253 if test x"$ac_fdsections" = x"yes" &&
9254 test x"$enable_debug" = x"no
"; then
9255 SECTION_FLAGS='-ffunction-sections -fdata-sections'
9257 echo "$ac_t""$ac_fdsections" 1>&6
9260 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9261 ac_cpp='$CPP $CPPFLAGS'
9262 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9263 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9264 cross_compiling=$ac_cv_prog_cc_cross
9270 # If we're not using GNU ld, then there's no point in even trying these
9271 # tests. Check for that first. We should have already tested for gld
9272 # by now (in libtool), but require it now just to be safe...
9273 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
9274 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
9277 # The name set by libtool depends on the version of libtool. Shame on us
9278 # for depending on an impl detail, but c'est la vie. Older versions used
9279 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
9280 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
9281 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
9282 # set (hence we're using an older libtool), then set it.
9283 if test x${with_gnu_ld+set} != xset; then
9284 if test x${ac_cv_prog_gnu_ld+set} != xset; then
9285 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
9288 with_gnu_ld=$ac_cv_prog_gnu_ld
9292 # Start by getting the version number. I think the libtool test already
9293 # does some of this, but throws away the result.
9295 ldver=`$LD --version 2>/dev/null | head -1 | \
9296 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
9298 glibcpp_gnu_ld_version=`echo $ldver | \
9299 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
9301 # Set --gc-sections.
9302 if test "$with_gnu_ld" = "notbroken
"; then
9303 # GNU ld it is! Joy and bunny rabbits!
9305 # All these tests are for C++; save the language and the compiler flags.
9306 # Need to do this so that g++ won't try to link in libstdc++
9307 ac_test_CFLAGS="${CFLAGS+set}"
9308 ac_save_CFLAGS="$CFLAGS"
9309 CFLAGS='-x c++ -Wl,--gc-sections'
9311 # Check for -Wl,--gc-sections
9312 # XXX This test is broken at the moment, as symbols required for
9313 # linking are now in libsupc++ (not built yet.....). In addition,
9314 # this test has cored on solaris in the past. In addition,
9315 # --gc-sections doesn't really work at the moment (keeps on discarding
9316 # used sections, first .eh_frame and now some of the glibc sections for
9317 # iconv). Bzzzzt. Thanks for playing, maybe next time.
9318 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
9319 echo "configure
:9320: checking
for ld that supports
-Wl,--gc-sections" >&5
9320 if test "$cross_compiling" = yes; then
9321 ac_sectionLDflags=yes
9323 cat > conftest.$ac_ext <<EOF
9324 #line 9325 "configure
"
9325 #include "confdefs.h
"
9335 if { (eval echo configure:9336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9337 ac_sectionLDflags=yes
9339 echo "configure
: failed program was
:" >&5
9340 cat conftest.$ac_ext >&5
9342 ac_sectionLDflags=no
9347 if test "$ac_test_CFLAGS" = set; then
9348 CFLAGS="$ac_save_CFLAGS"
9350 # this is the suspicious part
9353 if test "$ac_sectionLDflags" = "yes"; then
9354 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
9356 echo "$ac_t""$ac_sectionLDflags" 1>&6
9359 # Set linker optimization flags.
9360 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no
"; then
9361 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
9369 echo $ac_n "checking
for __builtin_abs declaration
""...
$ac_c" 1>&6
9370 echo "configure
:9371: checking
for __builtin_abs declaration
" >&5
9371 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
9372 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
9373 echo $ac_n "(cached
) $ac_c" 1>&6
9378 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9379 ac_cpp='$CXXCPP $CPPFLAGS'
9380 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9381 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9382 cross_compiling=$ac_cv_prog_cxx_cross
9384 cat > conftest.$ac_ext <<EOF
9385 #line 9386 "configure
"
9386 #include "confdefs.h
"
9392 if { (eval echo configure:9393: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9394 glibcpp_cv_func___builtin_abs_use=yes
9396 echo "configure
: failed program was
:" >&5
9397 cat conftest.$ac_ext >&5
9399 glibcpp_cv_func___builtin_abs_use=no
9403 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9404 ac_cpp='$CPP $CPPFLAGS'
9405 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9406 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9407 cross_compiling=$ac_cv_prog_cc_cross
9413 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
9414 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
9415 echo $ac_n "checking
for __builtin_abs linkage
""...
$ac_c" 1>&6
9416 echo "configure
:9417: checking
for __builtin_abs linkage
" >&5
9417 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
9418 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
9419 echo $ac_n "(cached
) $ac_c" 1>&6
9422 cat > conftest.$ac_ext <<EOF
9423 #line 9424 "configure
"
9424 #include "confdefs.h
"
9430 if { (eval echo configure:9431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9432 glibcpp_cv_func___builtin_abs_link=yes
9434 echo "configure
: failed program was
:" >&5
9435 cat conftest.$ac_ext >&5
9437 glibcpp_cv_func___builtin_abs_link=no
9444 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
9445 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
9446 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9447 cat >> confdefs.h <<EOF
9448 #define ${ac_tr_func} 1
9455 echo $ac_n "checking
for __builtin_fabsf declaration
""...
$ac_c" 1>&6
9456 echo "configure
:9457: checking
for __builtin_fabsf declaration
" >&5
9457 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
9458 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
9459 echo $ac_n "(cached
) $ac_c" 1>&6
9464 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9465 ac_cpp='$CXXCPP $CPPFLAGS'
9466 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9467 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9468 cross_compiling=$ac_cv_prog_cxx_cross
9470 cat > conftest.$ac_ext <<EOF
9471 #line 9472 "configure
"
9472 #include "confdefs.h
"
9478 if { (eval echo configure:9479: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9480 glibcpp_cv_func___builtin_fabsf_use=yes
9482 echo "configure
: failed program was
:" >&5
9483 cat conftest.$ac_ext >&5
9485 glibcpp_cv_func___builtin_fabsf_use=no
9489 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9490 ac_cpp='$CPP $CPPFLAGS'
9491 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9492 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9493 cross_compiling=$ac_cv_prog_cc_cross
9499 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
9500 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
9501 echo $ac_n "checking
for __builtin_fabsf linkage
""...
$ac_c" 1>&6
9502 echo "configure
:9503: checking
for __builtin_fabsf linkage
" >&5
9503 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
9504 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
9505 echo $ac_n "(cached
) $ac_c" 1>&6
9508 cat > conftest.$ac_ext <<EOF
9509 #line 9510 "configure
"
9510 #include "confdefs.h
"
9516 if { (eval echo configure:9517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9518 glibcpp_cv_func___builtin_fabsf_link=yes
9520 echo "configure
: failed program was
:" >&5
9521 cat conftest.$ac_ext >&5
9523 glibcpp_cv_func___builtin_fabsf_link=no
9530 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
9531 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
9532 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9533 cat >> confdefs.h <<EOF
9534 #define ${ac_tr_func} 1
9541 echo $ac_n "checking
for __builtin_fabs declaration
""...
$ac_c" 1>&6
9542 echo "configure
:9543: checking
for __builtin_fabs declaration
" >&5
9543 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
9544 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
9545 echo $ac_n "(cached
) $ac_c" 1>&6
9550 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9551 ac_cpp='$CXXCPP $CPPFLAGS'
9552 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9553 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9554 cross_compiling=$ac_cv_prog_cxx_cross
9556 cat > conftest.$ac_ext <<EOF
9557 #line 9558 "configure
"
9558 #include "confdefs.h
"
9564 if { (eval echo configure:9565: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9566 glibcpp_cv_func___builtin_fabs_use=yes
9568 echo "configure
: failed program was
:" >&5
9569 cat conftest.$ac_ext >&5
9571 glibcpp_cv_func___builtin_fabs_use=no
9575 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9576 ac_cpp='$CPP $CPPFLAGS'
9577 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9578 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9579 cross_compiling=$ac_cv_prog_cc_cross
9585 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
9586 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
9587 echo $ac_n "checking
for __builtin_fabs linkage
""...
$ac_c" 1>&6
9588 echo "configure
:9589: checking
for __builtin_fabs linkage
" >&5
9589 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
9590 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
9591 echo $ac_n "(cached
) $ac_c" 1>&6
9594 cat > conftest.$ac_ext <<EOF
9595 #line 9596 "configure
"
9596 #include "confdefs.h
"
9602 if { (eval echo configure:9603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9604 glibcpp_cv_func___builtin_fabs_link=yes
9606 echo "configure
: failed program was
:" >&5
9607 cat conftest.$ac_ext >&5
9609 glibcpp_cv_func___builtin_fabs_link=no
9616 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
9617 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
9618 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9619 cat >> confdefs.h <<EOF
9620 #define ${ac_tr_func} 1
9627 echo $ac_n "checking
for __builtin_fabsl declaration
""...
$ac_c" 1>&6
9628 echo "configure
:9629: checking
for __builtin_fabsl declaration
" >&5
9629 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
9630 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
9631 echo $ac_n "(cached
) $ac_c" 1>&6
9636 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9637 ac_cpp='$CXXCPP $CPPFLAGS'
9638 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9639 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9640 cross_compiling=$ac_cv_prog_cxx_cross
9642 cat > conftest.$ac_ext <<EOF
9643 #line 9644 "configure
"
9644 #include "confdefs.h
"
9650 if { (eval echo configure:9651: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9652 glibcpp_cv_func___builtin_fabsl_use=yes
9654 echo "configure
: failed program was
:" >&5
9655 cat conftest.$ac_ext >&5
9657 glibcpp_cv_func___builtin_fabsl_use=no
9661 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9662 ac_cpp='$CPP $CPPFLAGS'
9663 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9664 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9665 cross_compiling=$ac_cv_prog_cc_cross
9671 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
9672 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
9673 echo $ac_n "checking
for __builtin_fabsl linkage
""...
$ac_c" 1>&6
9674 echo "configure
:9675: checking
for __builtin_fabsl linkage
" >&5
9675 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
9676 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
9677 echo $ac_n "(cached
) $ac_c" 1>&6
9680 cat > conftest.$ac_ext <<EOF
9681 #line 9682 "configure
"
9682 #include "confdefs.h
"
9688 if { (eval echo configure:9689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9690 glibcpp_cv_func___builtin_fabsl_link=yes
9692 echo "configure
: failed program was
:" >&5
9693 cat conftest.$ac_ext >&5
9695 glibcpp_cv_func___builtin_fabsl_link=no
9702 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
9703 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
9704 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9705 cat >> confdefs.h <<EOF
9706 #define ${ac_tr_func} 1
9713 echo $ac_n "checking
for __builtin_labs declaration
""...
$ac_c" 1>&6
9714 echo "configure
:9715: checking
for __builtin_labs declaration
" >&5
9715 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
9716 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
9717 echo $ac_n "(cached
) $ac_c" 1>&6
9722 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9723 ac_cpp='$CXXCPP $CPPFLAGS'
9724 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9725 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9726 cross_compiling=$ac_cv_prog_cxx_cross
9728 cat > conftest.$ac_ext <<EOF
9729 #line 9730 "configure
"
9730 #include "confdefs.h
"
9736 if { (eval echo configure:9737: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9738 glibcpp_cv_func___builtin_labs_use=yes
9740 echo "configure
: failed program was
:" >&5
9741 cat conftest.$ac_ext >&5
9743 glibcpp_cv_func___builtin_labs_use=no
9747 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9748 ac_cpp='$CPP $CPPFLAGS'
9749 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9750 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9751 cross_compiling=$ac_cv_prog_cc_cross
9757 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
9758 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
9759 echo $ac_n "checking
for __builtin_labs linkage
""...
$ac_c" 1>&6
9760 echo "configure
:9761: checking
for __builtin_labs linkage
" >&5
9761 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
9762 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
9763 echo $ac_n "(cached
) $ac_c" 1>&6
9766 cat > conftest.$ac_ext <<EOF
9767 #line 9768 "configure
"
9768 #include "confdefs.h
"
9774 if { (eval echo configure:9775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9776 glibcpp_cv_func___builtin_labs_link=yes
9778 echo "configure
: failed program was
:" >&5
9779 cat conftest.$ac_ext >&5
9781 glibcpp_cv_func___builtin_labs_link=no
9788 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
9789 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
9790 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9791 cat >> confdefs.h <<EOF
9792 #define ${ac_tr_func} 1
9800 echo $ac_n "checking
for __builtin_sqrtf declaration
""...
$ac_c" 1>&6
9801 echo "configure
:9802: checking
for __builtin_sqrtf declaration
" >&5
9802 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
9803 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
9804 echo $ac_n "(cached
) $ac_c" 1>&6
9809 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9810 ac_cpp='$CXXCPP $CPPFLAGS'
9811 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9812 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9813 cross_compiling=$ac_cv_prog_cxx_cross
9815 cat > conftest.$ac_ext <<EOF
9816 #line 9817 "configure
"
9817 #include "confdefs.h
"
9823 if { (eval echo configure:9824: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9825 glibcpp_cv_func___builtin_sqrtf_use=yes
9827 echo "configure
: failed program was
:" >&5
9828 cat conftest.$ac_ext >&5
9830 glibcpp_cv_func___builtin_sqrtf_use=no
9834 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9835 ac_cpp='$CPP $CPPFLAGS'
9836 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9837 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9838 cross_compiling=$ac_cv_prog_cc_cross
9844 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
9845 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
9846 echo $ac_n "checking
for __builtin_sqrtf linkage
""...
$ac_c" 1>&6
9847 echo "configure
:9848: checking
for __builtin_sqrtf linkage
" >&5
9848 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
9849 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
9850 echo $ac_n "(cached
) $ac_c" 1>&6
9853 cat > conftest.$ac_ext <<EOF
9854 #line 9855 "configure
"
9855 #include "confdefs.h
"
9861 if { (eval echo configure:9862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9863 glibcpp_cv_func___builtin_sqrtf_link=yes
9865 echo "configure
: failed program was
:" >&5
9866 cat conftest.$ac_ext >&5
9868 glibcpp_cv_func___builtin_sqrtf_link=no
9875 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
9876 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
9877 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9878 cat >> confdefs.h <<EOF
9879 #define ${ac_tr_func} 1
9886 echo $ac_n "checking
for __builtin_sqrt declaration
""...
$ac_c" 1>&6
9887 echo "configure
:9888: checking
for __builtin_sqrt declaration
" >&5
9888 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
9889 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
9890 echo $ac_n "(cached
) $ac_c" 1>&6
9895 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9896 ac_cpp='$CXXCPP $CPPFLAGS'
9897 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9898 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9899 cross_compiling=$ac_cv_prog_cxx_cross
9901 cat > conftest.$ac_ext <<EOF
9902 #line 9903 "configure
"
9903 #include "confdefs.h
"
9909 if { (eval echo configure:9910: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9911 glibcpp_cv_func___builtin_sqrt_use=yes
9913 echo "configure
: failed program was
:" >&5
9914 cat conftest.$ac_ext >&5
9916 glibcpp_cv_func___builtin_sqrt_use=no
9920 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9921 ac_cpp='$CPP $CPPFLAGS'
9922 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9923 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9924 cross_compiling=$ac_cv_prog_cc_cross
9930 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
9931 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
9932 echo $ac_n "checking
for __builtin_sqrt linkage
""...
$ac_c" 1>&6
9933 echo "configure
:9934: checking
for __builtin_sqrt linkage
" >&5
9934 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
9935 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
9936 echo $ac_n "(cached
) $ac_c" 1>&6
9939 cat > conftest.$ac_ext <<EOF
9940 #line 9941 "configure
"
9941 #include "confdefs.h
"
9947 if { (eval echo configure:9948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9949 glibcpp_cv_func___builtin_sqrt_link=yes
9951 echo "configure
: failed program was
:" >&5
9952 cat conftest.$ac_ext >&5
9954 glibcpp_cv_func___builtin_sqrt_link=no
9961 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
9962 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
9963 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9964 cat >> confdefs.h <<EOF
9965 #define ${ac_tr_func} 1
9972 echo $ac_n "checking
for __builtin_sqrtl declaration
""...
$ac_c" 1>&6
9973 echo "configure
:9974: checking
for __builtin_sqrtl declaration
" >&5
9974 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
9975 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
9976 echo $ac_n "(cached
) $ac_c" 1>&6
9981 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9982 ac_cpp='$CXXCPP $CPPFLAGS'
9983 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9984 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9985 cross_compiling=$ac_cv_prog_cxx_cross
9987 cat > conftest.$ac_ext <<EOF
9988 #line 9989 "configure
"
9989 #include "confdefs.h
"
9995 if { (eval echo configure:9996: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9997 glibcpp_cv_func___builtin_sqrtl_use=yes
9999 echo "configure
: failed program was
:" >&5
10000 cat conftest.$ac_ext >&5
10002 glibcpp_cv_func___builtin_sqrtl_use=no
10006 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10007 ac_cpp='$CPP $CPPFLAGS'
10008 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10009 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10010 cross_compiling=$ac_cv_prog_cc_cross
10016 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
10017 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
10018 echo $ac_n "checking
for __builtin_sqrtl linkage
""...
$ac_c" 1>&6
10019 echo "configure
:10020: checking
for __builtin_sqrtl linkage
" >&5
10020 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
10021 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
10022 echo $ac_n "(cached
) $ac_c" 1>&6
10025 cat > conftest.$ac_ext <<EOF
10026 #line 10027 "configure
"
10027 #include "confdefs.h
"
10030 __builtin_sqrtl(0);
10033 if { (eval echo configure:10034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10035 glibcpp_cv_func___builtin_sqrtl_link=yes
10037 echo "configure
: failed program was
:" >&5
10038 cat conftest.$ac_ext >&5
10040 glibcpp_cv_func___builtin_sqrtl_link=no
10047 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
10048 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
10049 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10050 cat >> confdefs.h <<EOF
10051 #define ${ac_tr_func} 1
10059 echo $ac_n "checking
for __builtin_sinf declaration
""...
$ac_c" 1>&6
10060 echo "configure
:10061: checking
for __builtin_sinf declaration
" >&5
10061 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
10062 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
10063 echo $ac_n "(cached
) $ac_c" 1>&6
10068 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10069 ac_cpp='$CXXCPP $CPPFLAGS'
10070 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10071 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10072 cross_compiling=$ac_cv_prog_cxx_cross
10074 cat > conftest.$ac_ext <<EOF
10075 #line 10076 "configure
"
10076 #include "confdefs.h
"
10082 if { (eval echo configure:10083: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10084 glibcpp_cv_func___builtin_sinf_use=yes
10086 echo "configure
: failed program was
:" >&5
10087 cat conftest.$ac_ext >&5
10089 glibcpp_cv_func___builtin_sinf_use=no
10093 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10094 ac_cpp='$CPP $CPPFLAGS'
10095 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10096 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10097 cross_compiling=$ac_cv_prog_cc_cross
10103 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
10104 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
10105 echo $ac_n "checking
for __builtin_sinf linkage
""...
$ac_c" 1>&6
10106 echo "configure
:10107: checking
for __builtin_sinf linkage
" >&5
10107 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
10108 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
10109 echo $ac_n "(cached
) $ac_c" 1>&6
10112 cat > conftest.$ac_ext <<EOF
10113 #line 10114 "configure
"
10114 #include "confdefs.h
"
10120 if { (eval echo configure:10121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10122 glibcpp_cv_func___builtin_sinf_link=yes
10124 echo "configure
: failed program was
:" >&5
10125 cat conftest.$ac_ext >&5
10127 glibcpp_cv_func___builtin_sinf_link=no
10134 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
10135 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
10136 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10137 cat >> confdefs.h <<EOF
10138 #define ${ac_tr_func} 1
10145 echo $ac_n "checking
for __builtin_sin declaration
""...
$ac_c" 1>&6
10146 echo "configure
:10147: checking
for __builtin_sin declaration
" >&5
10147 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
10148 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
10149 echo $ac_n "(cached
) $ac_c" 1>&6
10154 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10155 ac_cpp='$CXXCPP $CPPFLAGS'
10156 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10157 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10158 cross_compiling=$ac_cv_prog_cxx_cross
10160 cat > conftest.$ac_ext <<EOF
10161 #line 10162 "configure
"
10162 #include "confdefs.h
"
10168 if { (eval echo configure:10169: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10170 glibcpp_cv_func___builtin_sin_use=yes
10172 echo "configure
: failed program was
:" >&5
10173 cat conftest.$ac_ext >&5
10175 glibcpp_cv_func___builtin_sin_use=no
10179 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10180 ac_cpp='$CPP $CPPFLAGS'
10181 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10182 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10183 cross_compiling=$ac_cv_prog_cc_cross
10189 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
10190 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
10191 echo $ac_n "checking
for __builtin_sin linkage
""...
$ac_c" 1>&6
10192 echo "configure
:10193: checking
for __builtin_sin linkage
" >&5
10193 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
10194 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
10195 echo $ac_n "(cached
) $ac_c" 1>&6
10198 cat > conftest.$ac_ext <<EOF
10199 #line 10200 "configure
"
10200 #include "confdefs.h
"
10206 if { (eval echo configure:10207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10208 glibcpp_cv_func___builtin_sin_link=yes
10210 echo "configure
: failed program was
:" >&5
10211 cat conftest.$ac_ext >&5
10213 glibcpp_cv_func___builtin_sin_link=no
10220 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
10221 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
10222 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10223 cat >> confdefs.h <<EOF
10224 #define ${ac_tr_func} 1
10231 echo $ac_n "checking
for __builtin_sinl declaration
""...
$ac_c" 1>&6
10232 echo "configure
:10233: checking
for __builtin_sinl declaration
" >&5
10233 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
10234 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
10235 echo $ac_n "(cached
) $ac_c" 1>&6
10240 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10241 ac_cpp='$CXXCPP $CPPFLAGS'
10242 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10243 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10244 cross_compiling=$ac_cv_prog_cxx_cross
10246 cat > conftest.$ac_ext <<EOF
10247 #line 10248 "configure
"
10248 #include "confdefs.h
"
10254 if { (eval echo configure:10255: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10256 glibcpp_cv_func___builtin_sinl_use=yes
10258 echo "configure
: failed program was
:" >&5
10259 cat conftest.$ac_ext >&5
10261 glibcpp_cv_func___builtin_sinl_use=no
10265 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10266 ac_cpp='$CPP $CPPFLAGS'
10267 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10268 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10269 cross_compiling=$ac_cv_prog_cc_cross
10275 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
10276 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
10277 echo $ac_n "checking
for __builtin_sinl linkage
""...
$ac_c" 1>&6
10278 echo "configure
:10279: checking
for __builtin_sinl linkage
" >&5
10279 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
10280 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
10281 echo $ac_n "(cached
) $ac_c" 1>&6
10284 cat > conftest.$ac_ext <<EOF
10285 #line 10286 "configure
"
10286 #include "confdefs.h
"
10292 if { (eval echo configure:10293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10294 glibcpp_cv_func___builtin_sinl_link=yes
10296 echo "configure
: failed program was
:" >&5
10297 cat conftest.$ac_ext >&5
10299 glibcpp_cv_func___builtin_sinl_link=no
10306 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
10307 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
10308 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10309 cat >> confdefs.h <<EOF
10310 #define ${ac_tr_func} 1
10318 echo $ac_n "checking
for __builtin_cosf declaration
""...
$ac_c" 1>&6
10319 echo "configure
:10320: checking
for __builtin_cosf declaration
" >&5
10320 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
10321 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
10322 echo $ac_n "(cached
) $ac_c" 1>&6
10327 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10328 ac_cpp='$CXXCPP $CPPFLAGS'
10329 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10330 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10331 cross_compiling=$ac_cv_prog_cxx_cross
10333 cat > conftest.$ac_ext <<EOF
10334 #line 10335 "configure
"
10335 #include "confdefs.h
"
10341 if { (eval echo configure:10342: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10343 glibcpp_cv_func___builtin_cosf_use=yes
10345 echo "configure
: failed program was
:" >&5
10346 cat conftest.$ac_ext >&5
10348 glibcpp_cv_func___builtin_cosf_use=no
10352 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10353 ac_cpp='$CPP $CPPFLAGS'
10354 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10355 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10356 cross_compiling=$ac_cv_prog_cc_cross
10362 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
10363 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
10364 echo $ac_n "checking
for __builtin_cosf linkage
""...
$ac_c" 1>&6
10365 echo "configure
:10366: checking
for __builtin_cosf linkage
" >&5
10366 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
10367 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
10368 echo $ac_n "(cached
) $ac_c" 1>&6
10371 cat > conftest.$ac_ext <<EOF
10372 #line 10373 "configure
"
10373 #include "confdefs.h
"
10379 if { (eval echo configure:10380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10381 glibcpp_cv_func___builtin_cosf_link=yes
10383 echo "configure
: failed program was
:" >&5
10384 cat conftest.$ac_ext >&5
10386 glibcpp_cv_func___builtin_cosf_link=no
10393 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
10394 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
10395 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10396 cat >> confdefs.h <<EOF
10397 #define ${ac_tr_func} 1
10404 echo $ac_n "checking
for __builtin_cos declaration
""...
$ac_c" 1>&6
10405 echo "configure
:10406: checking
for __builtin_cos declaration
" >&5
10406 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
10407 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
10408 echo $ac_n "(cached
) $ac_c" 1>&6
10413 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10414 ac_cpp='$CXXCPP $CPPFLAGS'
10415 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10416 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10417 cross_compiling=$ac_cv_prog_cxx_cross
10419 cat > conftest.$ac_ext <<EOF
10420 #line 10421 "configure
"
10421 #include "confdefs.h
"
10427 if { (eval echo configure:10428: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10429 glibcpp_cv_func___builtin_cos_use=yes
10431 echo "configure
: failed program was
:" >&5
10432 cat conftest.$ac_ext >&5
10434 glibcpp_cv_func___builtin_cos_use=no
10438 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10439 ac_cpp='$CPP $CPPFLAGS'
10440 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10441 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10442 cross_compiling=$ac_cv_prog_cc_cross
10448 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
10449 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
10450 echo $ac_n "checking
for __builtin_cos linkage
""...
$ac_c" 1>&6
10451 echo "configure
:10452: checking
for __builtin_cos linkage
" >&5
10452 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
10453 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
10454 echo $ac_n "(cached
) $ac_c" 1>&6
10457 cat > conftest.$ac_ext <<EOF
10458 #line 10459 "configure
"
10459 #include "confdefs.h
"
10465 if { (eval echo configure:10466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10467 glibcpp_cv_func___builtin_cos_link=yes
10469 echo "configure
: failed program was
:" >&5
10470 cat conftest.$ac_ext >&5
10472 glibcpp_cv_func___builtin_cos_link=no
10479 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
10480 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
10481 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10482 cat >> confdefs.h <<EOF
10483 #define ${ac_tr_func} 1
10490 echo $ac_n "checking
for __builtin_cosl declaration
""...
$ac_c" 1>&6
10491 echo "configure
:10492: checking
for __builtin_cosl declaration
" >&5
10492 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
10493 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
10494 echo $ac_n "(cached
) $ac_c" 1>&6
10499 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10500 ac_cpp='$CXXCPP $CPPFLAGS'
10501 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10502 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10503 cross_compiling=$ac_cv_prog_cxx_cross
10505 cat > conftest.$ac_ext <<EOF
10506 #line 10507 "configure
"
10507 #include "confdefs.h
"
10513 if { (eval echo configure:10514: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10515 glibcpp_cv_func___builtin_cosl_use=yes
10517 echo "configure
: failed program was
:" >&5
10518 cat conftest.$ac_ext >&5
10520 glibcpp_cv_func___builtin_cosl_use=no
10524 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10525 ac_cpp='$CPP $CPPFLAGS'
10526 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10527 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10528 cross_compiling=$ac_cv_prog_cc_cross
10534 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
10535 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
10536 echo $ac_n "checking
for __builtin_cosl linkage
""...
$ac_c" 1>&6
10537 echo "configure
:10538: checking
for __builtin_cosl linkage
" >&5
10538 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
10539 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
10540 echo $ac_n "(cached
) $ac_c" 1>&6
10543 cat > conftest.$ac_ext <<EOF
10544 #line 10545 "configure
"
10545 #include "confdefs.h
"
10551 if { (eval echo configure:10552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10553 glibcpp_cv_func___builtin_cosl_link=yes
10555 echo "configure
: failed program was
:" >&5
10556 cat conftest.$ac_ext >&5
10558 glibcpp_cv_func___builtin_cosl_link=no
10565 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
10566 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
10567 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10568 cat >> confdefs.h <<EOF
10569 #define ${ac_tr_func} 1
10577 if test x$dummyvar = x"yes"; then
10578 cat >> confdefs.h <<\EOF
10579 #define HAVE___BUILTIN_ABS 1
10582 cat >> confdefs.h <<\EOF
10583 #define HAVE___BUILTIN_LABS 1
10586 cat >> confdefs.h <<\EOF
10587 #define HAVE___BUILTIN_COS 1
10590 cat >> confdefs.h <<\EOF
10591 #define HAVE___BUILTIN_COSF 1
10594 cat >> confdefs.h <<\EOF
10595 #define HAVE___BUILTIN_COSL 1
10598 cat >> confdefs.h <<\EOF
10599 #define HAVE___BUILTIN_FABS 1
10602 cat >> confdefs.h <<\EOF
10603 #define HAVE___BUILTIN_FABSF 1
10606 cat >> confdefs.h <<\EOF
10607 #define HAVE___BUILTIN_FABSL 1
10610 cat >> confdefs.h <<\EOF
10611 #define HAVE___BUILTIN_SIN 1
10614 cat >> confdefs.h <<\EOF
10615 #define HAVE___BUILTIN_SINF 1
10618 cat >> confdefs.h <<\EOF
10619 #define HAVE___BUILTIN_SINL 1
10622 cat >> confdefs.h <<\EOF
10623 #define HAVE___BUILTIN_SQRT 1
10626 cat >> confdefs.h <<\EOF
10627 #define HAVE___BUILTIN_SQRTF 1
10630 cat >> confdefs.h <<\EOF
10631 #define HAVE___BUILTIN_SQRTL 1
10637 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10638 ac_save_CXXFLAGS="$CXXFLAGS"
10639 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
10641 echo $ac_n "checking
for sin
in -lm""...
$ac_c" 1>&6
10642 echo "configure
:10643: checking
for sin
in -lm" >&5
10643 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
10644 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10645 echo $ac_n "(cached
) $ac_c" 1>&6
10647 ac_save_LIBS="$LIBS"
10649 cat > conftest.$ac_ext <<EOF
10650 #line 10651 "configure
"
10651 #include "confdefs.h
"
10652 /* Override any gcc2 internal prototype to avoid an error. */
10653 /* We use char because int might match the return type of a gcc2
10654 builtin and then its argument prototype would still apply. */
10661 if { (eval echo configure:10662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10663 eval "ac_cv_lib_
$ac_lib_var=yes"
10665 echo "configure
: failed program was
:" >&5
10666 cat conftest.$ac_ext >&5
10668 eval "ac_cv_lib_
$ac_lib_var=no
"
10671 LIBS="$ac_save_LIBS"
10674 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10675 echo "$ac_t""yes" 1>&6
10678 echo "$ac_t""no
" 1>&6
10681 ac_save_LIBS="$LIBS"
10686 echo $ac_n "checking
for isinf declaration
""...
$ac_c" 1>&6
10687 echo "configure
:10688: checking
for isinf declaration
" >&5
10688 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
10689 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
10690 echo $ac_n "(cached
) $ac_c" 1>&6
10695 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10696 ac_cpp='$CXXCPP $CPPFLAGS'
10697 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10698 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10699 cross_compiling=$ac_cv_prog_cxx_cross
10701 cat > conftest.$ac_ext <<EOF
10702 #line 10703 "configure
"
10703 #include "confdefs.h
"
10705 #ifdef HAVE_IEEEFP_H
10706 #include <ieeefp.h>
10713 if { (eval echo configure:10714: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10715 glibcpp_cv_func_isinf_use=yes
10717 echo "configure
: failed program was
:" >&5
10718 cat conftest.$ac_ext >&5
10720 glibcpp_cv_func_isinf_use=no
10724 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10725 ac_cpp='$CPP $CPPFLAGS'
10726 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10727 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10728 cross_compiling=$ac_cv_prog_cc_cross
10734 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
10736 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
10737 for ac_func in isinf
10739 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10740 echo "configure
:10741: checking
for $ac_func" >&5
10741 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10742 echo $ac_n "(cached
) $ac_c" 1>&6
10744 cat > conftest.$ac_ext <<EOF
10745 #line 10746 "configure
"
10746 #include "confdefs.h
"
10747 /* System header to define __stub macros and hopefully few prototypes,
10748 which can conflict with char $ac_func(); below. */
10749 #include <assert.h>
10750 /* Override any gcc2 internal prototype to avoid an error. */
10751 /* We use char because int might match the return type of a gcc2
10752 builtin and then its argument prototype would still apply. */
10757 /* The GNU C library defines this for functions which it implements
10758 to always fail with ENOSYS. Some functions are actually named
10759 something starting with __ and the normal name is an alias. */
10760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10768 if { (eval echo configure:10769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10770 eval "ac_cv_func_
$ac_func=yes"
10772 echo "configure
: failed program was
:" >&5
10773 cat conftest.$ac_ext >&5
10775 eval "ac_cv_func_
$ac_func=no
"
10780 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10781 echo "$ac_t""yes" 1>&6
10782 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10783 cat >> confdefs.h <<EOF
10784 #define $ac_tr_func 1
10788 echo "$ac_t""no
" 1>&6
10794 echo $ac_n "checking
for _isinf declaration
""...
$ac_c" 1>&6
10795 echo "configure
:10796: checking
for _isinf declaration
" >&5
10796 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
10797 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
10798 echo $ac_n "(cached
) $ac_c" 1>&6
10803 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10804 ac_cpp='$CXXCPP $CPPFLAGS'
10805 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10806 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10807 cross_compiling=$ac_cv_prog_cxx_cross
10809 cat > conftest.$ac_ext <<EOF
10810 #line 10811 "configure
"
10811 #include "confdefs.h
"
10813 #ifdef HAVE_IEEEFP_H
10814 #include <ieeefp.h>
10821 if { (eval echo configure:10822: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10823 glibcpp_cv_func__isinf_use=yes
10825 echo "configure
: failed program was
:" >&5
10826 cat conftest.$ac_ext >&5
10828 glibcpp_cv_func__isinf_use=no
10832 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10833 ac_cpp='$CPP $CPPFLAGS'
10834 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10835 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10836 cross_compiling=$ac_cv_prog_cc_cross
10842 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
10844 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
10845 for ac_func in _isinf
10847 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10848 echo "configure
:10849: checking
for $ac_func" >&5
10849 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10850 echo $ac_n "(cached
) $ac_c" 1>&6
10852 cat > conftest.$ac_ext <<EOF
10853 #line 10854 "configure
"
10854 #include "confdefs.h
"
10855 /* System header to define __stub macros and hopefully few prototypes,
10856 which can conflict with char $ac_func(); below. */
10857 #include <assert.h>
10858 /* Override any gcc2 internal prototype to avoid an error. */
10859 /* We use char because int might match the return type of a gcc2
10860 builtin and then its argument prototype would still apply. */
10865 /* The GNU C library defines this for functions which it implements
10866 to always fail with ENOSYS. Some functions are actually named
10867 something starting with __ and the normal name is an alias. */
10868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10876 if { (eval echo configure:10877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10878 eval "ac_cv_func_
$ac_func=yes"
10880 echo "configure
: failed program was
:" >&5
10881 cat conftest.$ac_ext >&5
10883 eval "ac_cv_func_
$ac_func=no
"
10888 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10889 echo "$ac_t""yes" 1>&6
10890 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10891 cat >> confdefs.h <<EOF
10892 #define $ac_tr_func 1
10896 echo "$ac_t""no
" 1>&6
10905 echo $ac_n "checking
for isnan declaration
""...
$ac_c" 1>&6
10906 echo "configure
:10907: checking
for isnan declaration
" >&5
10907 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
10908 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
10909 echo $ac_n "(cached
) $ac_c" 1>&6
10914 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10915 ac_cpp='$CXXCPP $CPPFLAGS'
10916 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10917 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10918 cross_compiling=$ac_cv_prog_cxx_cross
10920 cat > conftest.$ac_ext <<EOF
10921 #line 10922 "configure
"
10922 #include "confdefs.h
"
10924 #ifdef HAVE_IEEEFP_H
10925 #include <ieeefp.h>
10932 if { (eval echo configure:10933: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10934 glibcpp_cv_func_isnan_use=yes
10936 echo "configure
: failed program was
:" >&5
10937 cat conftest.$ac_ext >&5
10939 glibcpp_cv_func_isnan_use=no
10943 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10944 ac_cpp='$CPP $CPPFLAGS'
10945 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10946 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10947 cross_compiling=$ac_cv_prog_cc_cross
10953 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
10955 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
10956 for ac_func in isnan
10958 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10959 echo "configure
:10960: checking
for $ac_func" >&5
10960 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10961 echo $ac_n "(cached
) $ac_c" 1>&6
10963 cat > conftest.$ac_ext <<EOF
10964 #line 10965 "configure
"
10965 #include "confdefs.h
"
10966 /* System header to define __stub macros and hopefully few prototypes,
10967 which can conflict with char $ac_func(); below. */
10968 #include <assert.h>
10969 /* Override any gcc2 internal prototype to avoid an error. */
10970 /* We use char because int might match the return type of a gcc2
10971 builtin and then its argument prototype would still apply. */
10976 /* The GNU C library defines this for functions which it implements
10977 to always fail with ENOSYS. Some functions are actually named
10978 something starting with __ and the normal name is an alias. */
10979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10987 if { (eval echo configure:10988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10989 eval "ac_cv_func_
$ac_func=yes"
10991 echo "configure
: failed program was
:" >&5
10992 cat conftest.$ac_ext >&5
10994 eval "ac_cv_func_
$ac_func=no
"
10999 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11000 echo "$ac_t""yes" 1>&6
11001 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11002 cat >> confdefs.h <<EOF
11003 #define $ac_tr_func 1
11007 echo "$ac_t""no
" 1>&6
11013 echo $ac_n "checking
for _isnan declaration
""...
$ac_c" 1>&6
11014 echo "configure
:11015: checking
for _isnan declaration
" >&5
11015 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
11016 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
11017 echo $ac_n "(cached
) $ac_c" 1>&6
11022 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11023 ac_cpp='$CXXCPP $CPPFLAGS'
11024 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11025 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11026 cross_compiling=$ac_cv_prog_cxx_cross
11028 cat > conftest.$ac_ext <<EOF
11029 #line 11030 "configure
"
11030 #include "confdefs.h
"
11032 #ifdef HAVE_IEEEFP_H
11033 #include <ieeefp.h>
11040 if { (eval echo configure:11041: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11042 glibcpp_cv_func__isnan_use=yes
11044 echo "configure
: failed program was
:" >&5
11045 cat conftest.$ac_ext >&5
11047 glibcpp_cv_func__isnan_use=no
11051 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11052 ac_cpp='$CPP $CPPFLAGS'
11053 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11054 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11055 cross_compiling=$ac_cv_prog_cc_cross
11061 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
11063 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
11064 for ac_func in _isnan
11066 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11067 echo "configure
:11068: checking
for $ac_func" >&5
11068 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11069 echo $ac_n "(cached
) $ac_c" 1>&6
11071 cat > conftest.$ac_ext <<EOF
11072 #line 11073 "configure
"
11073 #include "confdefs.h
"
11074 /* System header to define __stub macros and hopefully few prototypes,
11075 which can conflict with char $ac_func(); below. */
11076 #include <assert.h>
11077 /* Override any gcc2 internal prototype to avoid an error. */
11078 /* We use char because int might match the return type of a gcc2
11079 builtin and then its argument prototype would still apply. */
11084 /* The GNU C library defines this for functions which it implements
11085 to always fail with ENOSYS. Some functions are actually named
11086 something starting with __ and the normal name is an alias. */
11087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11095 if { (eval echo configure:11096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11097 eval "ac_cv_func_
$ac_func=yes"
11099 echo "configure
: failed program was
:" >&5
11100 cat conftest.$ac_ext >&5
11102 eval "ac_cv_func_
$ac_func=no
"
11107 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11108 echo "$ac_t""yes" 1>&6
11109 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11110 cat >> confdefs.h <<EOF
11111 #define $ac_tr_func 1
11115 echo "$ac_t""no
" 1>&6
11124 echo $ac_n "checking
for finite declaration
""...
$ac_c" 1>&6
11125 echo "configure
:11126: checking
for finite declaration
" >&5
11126 if test x${glibcpp_cv_func_finite_use+set} != xset; then
11127 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
11128 echo $ac_n "(cached
) $ac_c" 1>&6
11133 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11134 ac_cpp='$CXXCPP $CPPFLAGS'
11135 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11136 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11137 cross_compiling=$ac_cv_prog_cxx_cross
11139 cat > conftest.$ac_ext <<EOF
11140 #line 11141 "configure
"
11141 #include "confdefs.h
"
11143 #ifdef HAVE_IEEEFP_H
11144 #include <ieeefp.h>
11151 if { (eval echo configure:11152: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11153 glibcpp_cv_func_finite_use=yes
11155 echo "configure
: failed program was
:" >&5
11156 cat conftest.$ac_ext >&5
11158 glibcpp_cv_func_finite_use=no
11162 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11163 ac_cpp='$CPP $CPPFLAGS'
11164 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11165 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11166 cross_compiling=$ac_cv_prog_cc_cross
11172 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
11174 if test x$glibcpp_cv_func_finite_use = x"yes"; then
11175 for ac_func in finite
11177 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11178 echo "configure
:11179: checking
for $ac_func" >&5
11179 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11180 echo $ac_n "(cached
) $ac_c" 1>&6
11182 cat > conftest.$ac_ext <<EOF
11183 #line 11184 "configure
"
11184 #include "confdefs.h
"
11185 /* System header to define __stub macros and hopefully few prototypes,
11186 which can conflict with char $ac_func(); below. */
11187 #include <assert.h>
11188 /* Override any gcc2 internal prototype to avoid an error. */
11189 /* We use char because int might match the return type of a gcc2
11190 builtin and then its argument prototype would still apply. */
11195 /* The GNU C library defines this for functions which it implements
11196 to always fail with ENOSYS. Some functions are actually named
11197 something starting with __ and the normal name is an alias. */
11198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11206 if { (eval echo configure:11207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11208 eval "ac_cv_func_
$ac_func=yes"
11210 echo "configure
: failed program was
:" >&5
11211 cat conftest.$ac_ext >&5
11213 eval "ac_cv_func_
$ac_func=no
"
11218 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11219 echo "$ac_t""yes" 1>&6
11220 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11221 cat >> confdefs.h <<EOF
11222 #define $ac_tr_func 1
11226 echo "$ac_t""no
" 1>&6
11232 echo $ac_n "checking
for _finite declaration
""...
$ac_c" 1>&6
11233 echo "configure
:11234: checking
for _finite declaration
" >&5
11234 if test x${glibcpp_cv_func__finite_use+set} != xset; then
11235 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
11236 echo $ac_n "(cached
) $ac_c" 1>&6
11241 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11242 ac_cpp='$CXXCPP $CPPFLAGS'
11243 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11244 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11245 cross_compiling=$ac_cv_prog_cxx_cross
11247 cat > conftest.$ac_ext <<EOF
11248 #line 11249 "configure
"
11249 #include "confdefs.h
"
11251 #ifdef HAVE_IEEEFP_H
11252 #include <ieeefp.h>
11259 if { (eval echo configure:11260: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11261 glibcpp_cv_func__finite_use=yes
11263 echo "configure
: failed program was
:" >&5
11264 cat conftest.$ac_ext >&5
11266 glibcpp_cv_func__finite_use=no
11270 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11271 ac_cpp='$CPP $CPPFLAGS'
11272 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11273 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11274 cross_compiling=$ac_cv_prog_cc_cross
11280 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
11282 if test x$glibcpp_cv_func__finite_use = x"yes"; then
11283 for ac_func in _finite
11285 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11286 echo "configure
:11287: checking
for $ac_func" >&5
11287 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11288 echo $ac_n "(cached
) $ac_c" 1>&6
11290 cat > conftest.$ac_ext <<EOF
11291 #line 11292 "configure
"
11292 #include "confdefs.h
"
11293 /* System header to define __stub macros and hopefully few prototypes,
11294 which can conflict with char $ac_func(); below. */
11295 #include <assert.h>
11296 /* Override any gcc2 internal prototype to avoid an error. */
11297 /* We use char because int might match the return type of a gcc2
11298 builtin and then its argument prototype would still apply. */
11303 /* The GNU C library defines this for functions which it implements
11304 to always fail with ENOSYS. Some functions are actually named
11305 something starting with __ and the normal name is an alias. */
11306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11314 if { (eval echo configure:11315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11316 eval "ac_cv_func_
$ac_func=yes"
11318 echo "configure
: failed program was
:" >&5
11319 cat conftest.$ac_ext >&5
11321 eval "ac_cv_func_
$ac_func=no
"
11326 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11327 echo "$ac_t""yes" 1>&6
11328 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11329 cat >> confdefs.h <<EOF
11330 #define $ac_tr_func 1
11334 echo "$ac_t""no
" 1>&6
11343 echo $ac_n "checking
for copysign declaration
""...
$ac_c" 1>&6
11344 echo "configure
:11345: checking
for copysign declaration
" >&5
11345 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
11346 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
11347 echo $ac_n "(cached
) $ac_c" 1>&6
11352 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11353 ac_cpp='$CXXCPP $CPPFLAGS'
11354 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11355 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11356 cross_compiling=$ac_cv_prog_cxx_cross
11358 cat > conftest.$ac_ext <<EOF
11359 #line 11360 "configure
"
11360 #include "confdefs.h
"
11366 if { (eval echo configure:11367: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11368 glibcpp_cv_func_copysign_use=yes
11370 echo "configure
: failed program was
:" >&5
11371 cat conftest.$ac_ext >&5
11373 glibcpp_cv_func_copysign_use=no
11377 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11378 ac_cpp='$CPP $CPPFLAGS'
11379 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11380 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11381 cross_compiling=$ac_cv_prog_cc_cross
11387 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
11389 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
11390 for ac_func in copysign
11392 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11393 echo "configure
:11394: checking
for $ac_func" >&5
11394 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11395 echo $ac_n "(cached
) $ac_c" 1>&6
11397 cat > conftest.$ac_ext <<EOF
11398 #line 11399 "configure
"
11399 #include "confdefs.h
"
11400 /* System header to define __stub macros and hopefully few prototypes,
11401 which can conflict with char $ac_func(); below. */
11402 #include <assert.h>
11403 /* Override any gcc2 internal prototype to avoid an error. */
11404 /* We use char because int might match the return type of a gcc2
11405 builtin and then its argument prototype would still apply. */
11410 /* The GNU C library defines this for functions which it implements
11411 to always fail with ENOSYS. Some functions are actually named
11412 something starting with __ and the normal name is an alias. */
11413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11421 if { (eval echo configure:11422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11423 eval "ac_cv_func_
$ac_func=yes"
11425 echo "configure
: failed program was
:" >&5
11426 cat conftest.$ac_ext >&5
11428 eval "ac_cv_func_
$ac_func=no
"
11433 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11434 echo "$ac_t""yes" 1>&6
11435 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11436 cat >> confdefs.h <<EOF
11437 #define $ac_tr_func 1
11441 echo "$ac_t""no
" 1>&6
11447 echo $ac_n "checking
for _copysign declaration
""...
$ac_c" 1>&6
11448 echo "configure
:11449: checking
for _copysign declaration
" >&5
11449 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
11450 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
11451 echo $ac_n "(cached
) $ac_c" 1>&6
11456 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11457 ac_cpp='$CXXCPP $CPPFLAGS'
11458 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11459 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11460 cross_compiling=$ac_cv_prog_cxx_cross
11462 cat > conftest.$ac_ext <<EOF
11463 #line 11464 "configure
"
11464 #include "confdefs.h
"
11470 if { (eval echo configure:11471: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11472 glibcpp_cv_func__copysign_use=yes
11474 echo "configure
: failed program was
:" >&5
11475 cat conftest.$ac_ext >&5
11477 glibcpp_cv_func__copysign_use=no
11481 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11482 ac_cpp='$CPP $CPPFLAGS'
11483 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11484 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11485 cross_compiling=$ac_cv_prog_cc_cross
11491 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
11493 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
11494 for ac_func in _copysign
11496 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11497 echo "configure
:11498: checking
for $ac_func" >&5
11498 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11499 echo $ac_n "(cached
) $ac_c" 1>&6
11501 cat > conftest.$ac_ext <<EOF
11502 #line 11503 "configure
"
11503 #include "confdefs.h
"
11504 /* System header to define __stub macros and hopefully few prototypes,
11505 which can conflict with char $ac_func(); below. */
11506 #include <assert.h>
11507 /* Override any gcc2 internal prototype to avoid an error. */
11508 /* We use char because int might match the return type of a gcc2
11509 builtin and then its argument prototype would still apply. */
11514 /* The GNU C library defines this for functions which it implements
11515 to always fail with ENOSYS. Some functions are actually named
11516 something starting with __ and the normal name is an alias. */
11517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11525 if { (eval echo configure:11526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11527 eval "ac_cv_func_
$ac_func=yes"
11529 echo "configure
: failed program was
:" >&5
11530 cat conftest.$ac_ext >&5
11532 eval "ac_cv_func_
$ac_func=no
"
11537 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11538 echo "$ac_t""yes" 1>&6
11539 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11540 cat >> confdefs.h <<EOF
11541 #define $ac_tr_func 1
11545 echo "$ac_t""no
" 1>&6
11554 echo $ac_n "checking
for sincos declaration
""...
$ac_c" 1>&6
11555 echo "configure
:11556: checking
for sincos declaration
" >&5
11556 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
11557 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
11558 echo $ac_n "(cached
) $ac_c" 1>&6
11563 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11564 ac_cpp='$CXXCPP $CPPFLAGS'
11565 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11566 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11567 cross_compiling=$ac_cv_prog_cxx_cross
11569 cat > conftest.$ac_ext <<EOF
11570 #line 11571 "configure
"
11571 #include "confdefs.h
"
11577 if { (eval echo configure:11578: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11579 glibcpp_cv_func_sincos_use=yes
11581 echo "configure
: failed program was
:" >&5
11582 cat conftest.$ac_ext >&5
11584 glibcpp_cv_func_sincos_use=no
11588 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11589 ac_cpp='$CPP $CPPFLAGS'
11590 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11591 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11592 cross_compiling=$ac_cv_prog_cc_cross
11598 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
11600 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
11601 for ac_func in sincos
11603 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11604 echo "configure
:11605: checking
for $ac_func" >&5
11605 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11606 echo $ac_n "(cached
) $ac_c" 1>&6
11608 cat > conftest.$ac_ext <<EOF
11609 #line 11610 "configure
"
11610 #include "confdefs.h
"
11611 /* System header to define __stub macros and hopefully few prototypes,
11612 which can conflict with char $ac_func(); below. */
11613 #include <assert.h>
11614 /* Override any gcc2 internal prototype to avoid an error. */
11615 /* We use char because int might match the return type of a gcc2
11616 builtin and then its argument prototype would still apply. */
11621 /* The GNU C library defines this for functions which it implements
11622 to always fail with ENOSYS. Some functions are actually named
11623 something starting with __ and the normal name is an alias. */
11624 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11632 if { (eval echo configure:11633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11634 eval "ac_cv_func_
$ac_func=yes"
11636 echo "configure
: failed program was
:" >&5
11637 cat conftest.$ac_ext >&5
11639 eval "ac_cv_func_
$ac_func=no
"
11644 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11645 echo "$ac_t""yes" 1>&6
11646 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11647 cat >> confdefs.h <<EOF
11648 #define $ac_tr_func 1
11652 echo "$ac_t""no
" 1>&6
11658 echo $ac_n "checking
for _sincos declaration
""...
$ac_c" 1>&6
11659 echo "configure
:11660: checking
for _sincos declaration
" >&5
11660 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
11661 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
11662 echo $ac_n "(cached
) $ac_c" 1>&6
11667 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11668 ac_cpp='$CXXCPP $CPPFLAGS'
11669 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11670 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11671 cross_compiling=$ac_cv_prog_cxx_cross
11673 cat > conftest.$ac_ext <<EOF
11674 #line 11675 "configure
"
11675 #include "confdefs.h
"
11681 if { (eval echo configure:11682: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11683 glibcpp_cv_func__sincos_use=yes
11685 echo "configure
: failed program was
:" >&5
11686 cat conftest.$ac_ext >&5
11688 glibcpp_cv_func__sincos_use=no
11692 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11693 ac_cpp='$CPP $CPPFLAGS'
11694 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11695 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11696 cross_compiling=$ac_cv_prog_cc_cross
11702 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
11704 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
11705 for ac_func in _sincos
11707 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11708 echo "configure
:11709: checking
for $ac_func" >&5
11709 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11710 echo $ac_n "(cached
) $ac_c" 1>&6
11712 cat > conftest.$ac_ext <<EOF
11713 #line 11714 "configure
"
11714 #include "confdefs.h
"
11715 /* System header to define __stub macros and hopefully few prototypes,
11716 which can conflict with char $ac_func(); below. */
11717 #include <assert.h>
11718 /* Override any gcc2 internal prototype to avoid an error. */
11719 /* We use char because int might match the return type of a gcc2
11720 builtin and then its argument prototype would still apply. */
11725 /* The GNU C library defines this for functions which it implements
11726 to always fail with ENOSYS. Some functions are actually named
11727 something starting with __ and the normal name is an alias. */
11728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11736 if { (eval echo configure:11737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11738 eval "ac_cv_func_
$ac_func=yes"
11740 echo "configure
: failed program was
:" >&5
11741 cat conftest.$ac_ext >&5
11743 eval "ac_cv_func_
$ac_func=no
"
11748 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11749 echo "$ac_t""yes" 1>&6
11750 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11751 cat >> confdefs.h <<EOF
11752 #define $ac_tr_func 1
11756 echo "$ac_t""no
" 1>&6
11765 echo $ac_n "checking
for fpclass declaration
""...
$ac_c" 1>&6
11766 echo "configure
:11767: checking
for fpclass declaration
" >&5
11767 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
11768 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
11769 echo $ac_n "(cached
) $ac_c" 1>&6
11774 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11775 ac_cpp='$CXXCPP $CPPFLAGS'
11776 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11777 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11778 cross_compiling=$ac_cv_prog_cxx_cross
11780 cat > conftest.$ac_ext <<EOF
11781 #line 11782 "configure
"
11782 #include "confdefs.h
"
11784 #ifdef HAVE_IEEEFP_H
11785 #include <ieeefp.h>
11792 if { (eval echo configure:11793: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11794 glibcpp_cv_func_fpclass_use=yes
11796 echo "configure
: failed program was
:" >&5
11797 cat conftest.$ac_ext >&5
11799 glibcpp_cv_func_fpclass_use=no
11803 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11804 ac_cpp='$CPP $CPPFLAGS'
11805 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11806 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11807 cross_compiling=$ac_cv_prog_cc_cross
11813 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
11815 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
11816 for ac_func in fpclass
11818 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11819 echo "configure
:11820: checking
for $ac_func" >&5
11820 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11821 echo $ac_n "(cached
) $ac_c" 1>&6
11823 cat > conftest.$ac_ext <<EOF
11824 #line 11825 "configure
"
11825 #include "confdefs.h
"
11826 /* System header to define __stub macros and hopefully few prototypes,
11827 which can conflict with char $ac_func(); below. */
11828 #include <assert.h>
11829 /* Override any gcc2 internal prototype to avoid an error. */
11830 /* We use char because int might match the return type of a gcc2
11831 builtin and then its argument prototype would still apply. */
11836 /* The GNU C library defines this for functions which it implements
11837 to always fail with ENOSYS. Some functions are actually named
11838 something starting with __ and the normal name is an alias. */
11839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11847 if { (eval echo configure:11848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11849 eval "ac_cv_func_
$ac_func=yes"
11851 echo "configure
: failed program was
:" >&5
11852 cat conftest.$ac_ext >&5
11854 eval "ac_cv_func_
$ac_func=no
"
11859 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11860 echo "$ac_t""yes" 1>&6
11861 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11862 cat >> confdefs.h <<EOF
11863 #define $ac_tr_func 1
11867 echo "$ac_t""no
" 1>&6
11873 echo $ac_n "checking
for _fpclass declaration
""...
$ac_c" 1>&6
11874 echo "configure
:11875: checking
for _fpclass declaration
" >&5
11875 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
11876 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
11877 echo $ac_n "(cached
) $ac_c" 1>&6
11882 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11883 ac_cpp='$CXXCPP $CPPFLAGS'
11884 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11885 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11886 cross_compiling=$ac_cv_prog_cxx_cross
11888 cat > conftest.$ac_ext <<EOF
11889 #line 11890 "configure
"
11890 #include "confdefs.h
"
11892 #ifdef HAVE_IEEEFP_H
11893 #include <ieeefp.h>
11900 if { (eval echo configure:11901: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11902 glibcpp_cv_func__fpclass_use=yes
11904 echo "configure
: failed program was
:" >&5
11905 cat conftest.$ac_ext >&5
11907 glibcpp_cv_func__fpclass_use=no
11911 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11912 ac_cpp='$CPP $CPPFLAGS'
11913 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11914 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11915 cross_compiling=$ac_cv_prog_cc_cross
11921 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
11923 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
11924 for ac_func in _fpclass
11926 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11927 echo "configure
:11928: checking
for $ac_func" >&5
11928 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11929 echo $ac_n "(cached
) $ac_c" 1>&6
11931 cat > conftest.$ac_ext <<EOF
11932 #line 11933 "configure
"
11933 #include "confdefs.h
"
11934 /* System header to define __stub macros and hopefully few prototypes,
11935 which can conflict with char $ac_func(); below. */
11936 #include <assert.h>
11937 /* Override any gcc2 internal prototype to avoid an error. */
11938 /* We use char because int might match the return type of a gcc2
11939 builtin and then its argument prototype would still apply. */
11944 /* The GNU C library defines this for functions which it implements
11945 to always fail with ENOSYS. Some functions are actually named
11946 something starting with __ and the normal name is an alias. */
11947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11955 if { (eval echo configure:11956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11957 eval "ac_cv_func_
$ac_func=yes"
11959 echo "configure
: failed program was
:" >&5
11960 cat conftest.$ac_ext >&5
11962 eval "ac_cv_func_
$ac_func=no
"
11967 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11968 echo "$ac_t""yes" 1>&6
11969 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11970 cat >> confdefs.h <<EOF
11971 #define $ac_tr_func 1
11975 echo "$ac_t""no
" 1>&6
11984 echo $ac_n "checking
for qfpclass declaration
""...
$ac_c" 1>&6
11985 echo "configure
:11986: checking
for qfpclass declaration
" >&5
11986 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
11987 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
11988 echo $ac_n "(cached
) $ac_c" 1>&6
11993 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11994 ac_cpp='$CXXCPP $CPPFLAGS'
11995 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11996 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11997 cross_compiling=$ac_cv_prog_cxx_cross
11999 cat > conftest.$ac_ext <<EOF
12000 #line 12001 "configure
"
12001 #include "confdefs.h
"
12003 #ifdef HAVE_IEEEFP_H
12004 #include <ieeefp.h>
12011 if { (eval echo configure:12012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12013 glibcpp_cv_func_qfpclass_use=yes
12015 echo "configure
: failed program was
:" >&5
12016 cat conftest.$ac_ext >&5
12018 glibcpp_cv_func_qfpclass_use=no
12022 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12023 ac_cpp='$CPP $CPPFLAGS'
12024 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12025 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12026 cross_compiling=$ac_cv_prog_cc_cross
12032 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
12034 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
12035 for ac_func in qfpclass
12037 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12038 echo "configure
:12039: checking
for $ac_func" >&5
12039 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12040 echo $ac_n "(cached
) $ac_c" 1>&6
12042 cat > conftest.$ac_ext <<EOF
12043 #line 12044 "configure
"
12044 #include "confdefs.h
"
12045 /* System header to define __stub macros and hopefully few prototypes,
12046 which can conflict with char $ac_func(); below. */
12047 #include <assert.h>
12048 /* Override any gcc2 internal prototype to avoid an error. */
12049 /* We use char because int might match the return type of a gcc2
12050 builtin and then its argument prototype would still apply. */
12055 /* The GNU C library defines this for functions which it implements
12056 to always fail with ENOSYS. Some functions are actually named
12057 something starting with __ and the normal name is an alias. */
12058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12066 if { (eval echo configure:12067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12068 eval "ac_cv_func_
$ac_func=yes"
12070 echo "configure
: failed program was
:" >&5
12071 cat conftest.$ac_ext >&5
12073 eval "ac_cv_func_
$ac_func=no
"
12078 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12079 echo "$ac_t""yes" 1>&6
12080 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12081 cat >> confdefs.h <<EOF
12082 #define $ac_tr_func 1
12086 echo "$ac_t""no
" 1>&6
12092 echo $ac_n "checking
for _qfpclass declaration
""...
$ac_c" 1>&6
12093 echo "configure
:12094: checking
for _qfpclass declaration
" >&5
12094 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
12095 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
12096 echo $ac_n "(cached
) $ac_c" 1>&6
12101 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12102 ac_cpp='$CXXCPP $CPPFLAGS'
12103 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12104 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12105 cross_compiling=$ac_cv_prog_cxx_cross
12107 cat > conftest.$ac_ext <<EOF
12108 #line 12109 "configure
"
12109 #include "confdefs.h
"
12111 #ifdef HAVE_IEEEFP_H
12112 #include <ieeefp.h>
12119 if { (eval echo configure:12120: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12121 glibcpp_cv_func__qfpclass_use=yes
12123 echo "configure
: failed program was
:" >&5
12124 cat conftest.$ac_ext >&5
12126 glibcpp_cv_func__qfpclass_use=no
12130 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12131 ac_cpp='$CPP $CPPFLAGS'
12132 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12133 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12134 cross_compiling=$ac_cv_prog_cc_cross
12140 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
12142 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
12143 for ac_func in _qfpclass
12145 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12146 echo "configure
:12147: checking
for $ac_func" >&5
12147 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12148 echo $ac_n "(cached
) $ac_c" 1>&6
12150 cat > conftest.$ac_ext <<EOF
12151 #line 12152 "configure
"
12152 #include "confdefs.h
"
12153 /* System header to define __stub macros and hopefully few prototypes,
12154 which can conflict with char $ac_func(); below. */
12155 #include <assert.h>
12156 /* Override any gcc2 internal prototype to avoid an error. */
12157 /* We use char because int might match the return type of a gcc2
12158 builtin and then its argument prototype would still apply. */
12163 /* The GNU C library defines this for functions which it implements
12164 to always fail with ENOSYS. Some functions are actually named
12165 something starting with __ and the normal name is an alias. */
12166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12174 if { (eval echo configure:12175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12176 eval "ac_cv_func_
$ac_func=yes"
12178 echo "configure
: failed program was
:" >&5
12179 cat conftest.$ac_ext >&5
12181 eval "ac_cv_func_
$ac_func=no
"
12186 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12187 echo "$ac_t""yes" 1>&6
12188 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12189 cat >> confdefs.h <<EOF
12190 #define $ac_tr_func 1
12194 echo "$ac_t""no
" 1>&6
12203 echo $ac_n "checking
for hypot declaration
""...
$ac_c" 1>&6
12204 echo "configure
:12205: checking
for hypot declaration
" >&5
12205 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
12206 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
12207 echo $ac_n "(cached
) $ac_c" 1>&6
12212 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12213 ac_cpp='$CXXCPP $CPPFLAGS'
12214 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12215 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12216 cross_compiling=$ac_cv_prog_cxx_cross
12218 cat > conftest.$ac_ext <<EOF
12219 #line 12220 "configure
"
12220 #include "confdefs.h
"
12226 if { (eval echo configure:12227: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12228 glibcpp_cv_func_hypot_use=yes
12230 echo "configure
: failed program was
:" >&5
12231 cat conftest.$ac_ext >&5
12233 glibcpp_cv_func_hypot_use=no
12237 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12238 ac_cpp='$CPP $CPPFLAGS'
12239 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12240 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12241 cross_compiling=$ac_cv_prog_cc_cross
12247 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
12249 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
12250 for ac_func in hypot
12252 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12253 echo "configure
:12254: checking
for $ac_func" >&5
12254 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12255 echo $ac_n "(cached
) $ac_c" 1>&6
12257 cat > conftest.$ac_ext <<EOF
12258 #line 12259 "configure
"
12259 #include "confdefs.h
"
12260 /* System header to define __stub macros and hopefully few prototypes,
12261 which can conflict with char $ac_func(); below. */
12262 #include <assert.h>
12263 /* Override any gcc2 internal prototype to avoid an error. */
12264 /* We use char because int might match the return type of a gcc2
12265 builtin and then its argument prototype would still apply. */
12270 /* The GNU C library defines this for functions which it implements
12271 to always fail with ENOSYS. Some functions are actually named
12272 something starting with __ and the normal name is an alias. */
12273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12281 if { (eval echo configure:12282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12283 eval "ac_cv_func_
$ac_func=yes"
12285 echo "configure
: failed program was
:" >&5
12286 cat conftest.$ac_ext >&5
12288 eval "ac_cv_func_
$ac_func=no
"
12293 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12294 echo "$ac_t""yes" 1>&6
12295 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12296 cat >> confdefs.h <<EOF
12297 #define $ac_tr_func 1
12301 echo "$ac_t""no
" 1>&6
12307 echo $ac_n "checking
for _hypot declaration
""...
$ac_c" 1>&6
12308 echo "configure
:12309: checking
for _hypot declaration
" >&5
12309 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
12310 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
12311 echo $ac_n "(cached
) $ac_c" 1>&6
12316 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12317 ac_cpp='$CXXCPP $CPPFLAGS'
12318 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12319 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12320 cross_compiling=$ac_cv_prog_cxx_cross
12322 cat > conftest.$ac_ext <<EOF
12323 #line 12324 "configure
"
12324 #include "confdefs.h
"
12330 if { (eval echo configure:12331: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12332 glibcpp_cv_func__hypot_use=yes
12334 echo "configure
: failed program was
:" >&5
12335 cat conftest.$ac_ext >&5
12337 glibcpp_cv_func__hypot_use=no
12341 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12342 ac_cpp='$CPP $CPPFLAGS'
12343 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12344 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12345 cross_compiling=$ac_cv_prog_cc_cross
12351 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
12353 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
12354 for ac_func in _hypot
12356 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12357 echo "configure
:12358: checking
for $ac_func" >&5
12358 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12359 echo $ac_n "(cached
) $ac_c" 1>&6
12361 cat > conftest.$ac_ext <<EOF
12362 #line 12363 "configure
"
12363 #include "confdefs.h
"
12364 /* System header to define __stub macros and hopefully few prototypes,
12365 which can conflict with char $ac_func(); below. */
12366 #include <assert.h>
12367 /* Override any gcc2 internal prototype to avoid an error. */
12368 /* We use char because int might match the return type of a gcc2
12369 builtin and then its argument prototype would still apply. */
12374 /* The GNU C library defines this for functions which it implements
12375 to always fail with ENOSYS. Some functions are actually named
12376 something starting with __ and the normal name is an alias. */
12377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12385 if { (eval echo configure:12386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12387 eval "ac_cv_func_
$ac_func=yes"
12389 echo "configure
: failed program was
:" >&5
12390 cat conftest.$ac_ext >&5
12392 eval "ac_cv_func_
$ac_func=no
"
12397 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12398 echo "$ac_t""yes" 1>&6
12399 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12400 cat >> confdefs.h <<EOF
12401 #define $ac_tr_func 1
12405 echo "$ac_t""no
" 1>&6
12414 echo $ac_n "checking
for float trig functions
""...
$ac_c" 1>&6
12415 echo "configure
:12416: checking
for float trig functions
" >&5
12416 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
12417 echo $ac_n "(cached
) $ac_c" 1>&6
12422 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12423 ac_cpp='$CXXCPP $CPPFLAGS'
12424 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12425 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12426 cross_compiling=$ac_cv_prog_cxx_cross
12428 cat > conftest.$ac_ext <<EOF
12429 #line 12430 "configure
"
12430 #include "confdefs.h
"
12433 `for x in acosf asinf atanf \
12435 coshf sinhf tanhf; do echo "$x (0);"; done`
12438 if { (eval echo configure:12439: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12440 glibcpp_cv_func_float_trig_use=yes
12442 echo "configure
: failed program was
:" >&5
12443 cat conftest.$ac_ext >&5
12445 glibcpp_cv_func_float_trig_use=no
12449 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12450 ac_cpp='$CPP $CPPFLAGS'
12451 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12452 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12453 cross_compiling=$ac_cv_prog_cc_cross
12457 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
12458 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
12459 for ac_func in acosf asinf atanf \
12463 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12464 echo "configure
:12465: checking
for $ac_func" >&5
12465 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12466 echo $ac_n "(cached
) $ac_c" 1>&6
12468 cat > conftest.$ac_ext <<EOF
12469 #line 12470 "configure
"
12470 #include "confdefs.h
"
12471 /* System header to define __stub macros and hopefully few prototypes,
12472 which can conflict with char $ac_func(); below. */
12473 #include <assert.h>
12474 /* Override any gcc2 internal prototype to avoid an error. */
12475 /* We use char because int might match the return type of a gcc2
12476 builtin and then its argument prototype would still apply. */
12481 /* The GNU C library defines this for functions which it implements
12482 to always fail with ENOSYS. Some functions are actually named
12483 something starting with __ and the normal name is an alias. */
12484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12492 if { (eval echo configure:12493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12494 eval "ac_cv_func_
$ac_func=yes"
12496 echo "configure
: failed program was
:" >&5
12497 cat conftest.$ac_ext >&5
12499 eval "ac_cv_func_
$ac_func=no
"
12504 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12505 echo "$ac_t""yes" 1>&6
12506 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12507 cat >> confdefs.h <<EOF
12508 #define $ac_tr_func 1
12512 echo "$ac_t""no
" 1>&6
12519 echo $ac_n "checking
for float round functions
""...
$ac_c" 1>&6
12520 echo "configure
:12521: checking
for float round functions
" >&5
12521 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
12522 echo $ac_n "(cached
) $ac_c" 1>&6
12527 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12528 ac_cpp='$CXXCPP $CPPFLAGS'
12529 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12530 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12531 cross_compiling=$ac_cv_prog_cxx_cross
12533 cat > conftest.$ac_ext <<EOF
12534 #line 12535 "configure
"
12535 #include "confdefs.h
"
12538 `for x in ceilf floorf; do echo "$x (0);"; done`
12541 if { (eval echo configure:12542: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12543 glibcpp_cv_func_float_round_use=yes
12545 echo "configure
: failed program was
:" >&5
12546 cat conftest.$ac_ext >&5
12548 glibcpp_cv_func_float_round_use=no
12552 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12553 ac_cpp='$CPP $CPPFLAGS'
12554 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12555 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12556 cross_compiling=$ac_cv_prog_cc_cross
12560 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
12561 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
12562 for ac_func in ceilf floorf
12564 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12565 echo "configure
:12566: checking
for $ac_func" >&5
12566 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12567 echo $ac_n "(cached
) $ac_c" 1>&6
12569 cat > conftest.$ac_ext <<EOF
12570 #line 12571 "configure
"
12571 #include "confdefs.h
"
12572 /* System header to define __stub macros and hopefully few prototypes,
12573 which can conflict with char $ac_func(); below. */
12574 #include <assert.h>
12575 /* Override any gcc2 internal prototype to avoid an error. */
12576 /* We use char because int might match the return type of a gcc2
12577 builtin and then its argument prototype would still apply. */
12582 /* The GNU C library defines this for functions which it implements
12583 to always fail with ENOSYS. Some functions are actually named
12584 something starting with __ and the normal name is an alias. */
12585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12593 if { (eval echo configure:12594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12595 eval "ac_cv_func_
$ac_func=yes"
12597 echo "configure
: failed program was
:" >&5
12598 cat conftest.$ac_ext >&5
12600 eval "ac_cv_func_
$ac_func=no
"
12605 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12606 echo "$ac_t""yes" 1>&6
12607 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12608 cat >> confdefs.h <<EOF
12609 #define $ac_tr_func 1
12613 echo "$ac_t""no
" 1>&6
12621 echo $ac_n "checking
for expf declaration
""...
$ac_c" 1>&6
12622 echo "configure
:12623: checking
for expf declaration
" >&5
12623 if test x${glibcpp_cv_func_expf_use+set} != xset; then
12624 if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
12625 echo $ac_n "(cached
) $ac_c" 1>&6
12630 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12631 ac_cpp='$CXXCPP $CPPFLAGS'
12632 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12633 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12634 cross_compiling=$ac_cv_prog_cxx_cross
12636 cat > conftest.$ac_ext <<EOF
12637 #line 12638 "configure
"
12638 #include "confdefs.h
"
12640 #ifdef HAVE_IEEEFP_H
12641 #include <ieeefp.h>
12648 if { (eval echo configure:12649: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12650 glibcpp_cv_func_expf_use=yes
12652 echo "configure
: failed program was
:" >&5
12653 cat conftest.$ac_ext >&5
12655 glibcpp_cv_func_expf_use=no
12659 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12660 ac_cpp='$CPP $CPPFLAGS'
12661 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12662 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12663 cross_compiling=$ac_cv_prog_cc_cross
12669 echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
12671 if test x$glibcpp_cv_func_expf_use = x"yes"; then
12672 for ac_func in expf
12674 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12675 echo "configure
:12676: checking
for $ac_func" >&5
12676 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12677 echo $ac_n "(cached
) $ac_c" 1>&6
12679 cat > conftest.$ac_ext <<EOF
12680 #line 12681 "configure
"
12681 #include "confdefs.h
"
12682 /* System header to define __stub macros and hopefully few prototypes,
12683 which can conflict with char $ac_func(); below. */
12684 #include <assert.h>
12685 /* Override any gcc2 internal prototype to avoid an error. */
12686 /* We use char because int might match the return type of a gcc2
12687 builtin and then its argument prototype would still apply. */
12692 /* The GNU C library defines this for functions which it implements
12693 to always fail with ENOSYS. Some functions are actually named
12694 something starting with __ and the normal name is an alias. */
12695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12703 if { (eval echo configure:12704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12705 eval "ac_cv_func_
$ac_func=yes"
12707 echo "configure
: failed program was
:" >&5
12708 cat conftest.$ac_ext >&5
12710 eval "ac_cv_func_
$ac_func=no
"
12715 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12716 echo "$ac_t""yes" 1>&6
12717 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12718 cat >> confdefs.h <<EOF
12719 #define $ac_tr_func 1
12723 echo "$ac_t""no
" 1>&6
12729 echo $ac_n "checking
for _expf declaration
""...
$ac_c" 1>&6
12730 echo "configure
:12731: checking
for _expf declaration
" >&5
12731 if test x${glibcpp_cv_func__expf_use+set} != xset; then
12732 if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
12733 echo $ac_n "(cached
) $ac_c" 1>&6
12738 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12739 ac_cpp='$CXXCPP $CPPFLAGS'
12740 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12741 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12742 cross_compiling=$ac_cv_prog_cxx_cross
12744 cat > conftest.$ac_ext <<EOF
12745 #line 12746 "configure
"
12746 #include "confdefs.h
"
12748 #ifdef HAVE_IEEEFP_H
12749 #include <ieeefp.h>
12756 if { (eval echo configure:12757: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12758 glibcpp_cv_func__expf_use=yes
12760 echo "configure
: failed program was
:" >&5
12761 cat conftest.$ac_ext >&5
12763 glibcpp_cv_func__expf_use=no
12767 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12768 ac_cpp='$CPP $CPPFLAGS'
12769 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12770 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12771 cross_compiling=$ac_cv_prog_cc_cross
12777 echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
12779 if test x$glibcpp_cv_func__expf_use = x"yes"; then
12780 for ac_func in _expf
12782 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12783 echo "configure
:12784: checking
for $ac_func" >&5
12784 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12785 echo $ac_n "(cached
) $ac_c" 1>&6
12787 cat > conftest.$ac_ext <<EOF
12788 #line 12789 "configure
"
12789 #include "confdefs.h
"
12790 /* System header to define __stub macros and hopefully few prototypes,
12791 which can conflict with char $ac_func(); below. */
12792 #include <assert.h>
12793 /* Override any gcc2 internal prototype to avoid an error. */
12794 /* We use char because int might match the return type of a gcc2
12795 builtin and then its argument prototype would still apply. */
12800 /* The GNU C library defines this for functions which it implements
12801 to always fail with ENOSYS. Some functions are actually named
12802 something starting with __ and the normal name is an alias. */
12803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12811 if { (eval echo configure:12812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12813 eval "ac_cv_func_
$ac_func=yes"
12815 echo "configure
: failed program was
:" >&5
12816 cat conftest.$ac_ext >&5
12818 eval "ac_cv_func_
$ac_func=no
"
12823 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12824 echo "$ac_t""yes" 1>&6
12825 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12826 cat >> confdefs.h <<EOF
12827 #define $ac_tr_func 1
12831 echo "$ac_t""no
" 1>&6
12840 echo $ac_n "checking
for isnanf declaration
""...
$ac_c" 1>&6
12841 echo "configure
:12842: checking
for isnanf declaration
" >&5
12842 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
12843 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
12844 echo $ac_n "(cached
) $ac_c" 1>&6
12849 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12850 ac_cpp='$CXXCPP $CPPFLAGS'
12851 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12852 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12853 cross_compiling=$ac_cv_prog_cxx_cross
12855 cat > conftest.$ac_ext <<EOF
12856 #line 12857 "configure
"
12857 #include "confdefs.h
"
12859 #ifdef HAVE_IEEEFP_H
12860 #include <ieeefp.h>
12867 if { (eval echo configure:12868: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12869 glibcpp_cv_func_isnanf_use=yes
12871 echo "configure
: failed program was
:" >&5
12872 cat conftest.$ac_ext >&5
12874 glibcpp_cv_func_isnanf_use=no
12878 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12879 ac_cpp='$CPP $CPPFLAGS'
12880 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12881 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12882 cross_compiling=$ac_cv_prog_cc_cross
12888 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
12890 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
12891 for ac_func in isnanf
12893 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12894 echo "configure
:12895: checking
for $ac_func" >&5
12895 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12896 echo $ac_n "(cached
) $ac_c" 1>&6
12898 cat > conftest.$ac_ext <<EOF
12899 #line 12900 "configure
"
12900 #include "confdefs.h
"
12901 /* System header to define __stub macros and hopefully few prototypes,
12902 which can conflict with char $ac_func(); below. */
12903 #include <assert.h>
12904 /* Override any gcc2 internal prototype to avoid an error. */
12905 /* We use char because int might match the return type of a gcc2
12906 builtin and then its argument prototype would still apply. */
12911 /* The GNU C library defines this for functions which it implements
12912 to always fail with ENOSYS. Some functions are actually named
12913 something starting with __ and the normal name is an alias. */
12914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12922 if { (eval echo configure:12923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12924 eval "ac_cv_func_
$ac_func=yes"
12926 echo "configure
: failed program was
:" >&5
12927 cat conftest.$ac_ext >&5
12929 eval "ac_cv_func_
$ac_func=no
"
12934 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12935 echo "$ac_t""yes" 1>&6
12936 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12937 cat >> confdefs.h <<EOF
12938 #define $ac_tr_func 1
12942 echo "$ac_t""no
" 1>&6
12948 echo $ac_n "checking
for _isnanf declaration
""...
$ac_c" 1>&6
12949 echo "configure
:12950: checking
for _isnanf declaration
" >&5
12950 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
12951 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
12952 echo $ac_n "(cached
) $ac_c" 1>&6
12957 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12958 ac_cpp='$CXXCPP $CPPFLAGS'
12959 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12960 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12961 cross_compiling=$ac_cv_prog_cxx_cross
12963 cat > conftest.$ac_ext <<EOF
12964 #line 12965 "configure
"
12965 #include "confdefs.h
"
12967 #ifdef HAVE_IEEEFP_H
12968 #include <ieeefp.h>
12975 if { (eval echo configure:12976: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12977 glibcpp_cv_func__isnanf_use=yes
12979 echo "configure
: failed program was
:" >&5
12980 cat conftest.$ac_ext >&5
12982 glibcpp_cv_func__isnanf_use=no
12986 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12987 ac_cpp='$CPP $CPPFLAGS'
12988 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12989 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12990 cross_compiling=$ac_cv_prog_cc_cross
12996 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
12998 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
12999 for ac_func in _isnanf
13001 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13002 echo "configure
:13003: checking
for $ac_func" >&5
13003 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13004 echo $ac_n "(cached
) $ac_c" 1>&6
13006 cat > conftest.$ac_ext <<EOF
13007 #line 13008 "configure
"
13008 #include "confdefs.h
"
13009 /* System header to define __stub macros and hopefully few prototypes,
13010 which can conflict with char $ac_func(); below. */
13011 #include <assert.h>
13012 /* Override any gcc2 internal prototype to avoid an error. */
13013 /* We use char because int might match the return type of a gcc2
13014 builtin and then its argument prototype would still apply. */
13019 /* The GNU C library defines this for functions which it implements
13020 to always fail with ENOSYS. Some functions are actually named
13021 something starting with __ and the normal name is an alias. */
13022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13030 if { (eval echo configure:13031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13032 eval "ac_cv_func_
$ac_func=yes"
13034 echo "configure
: failed program was
:" >&5
13035 cat conftest.$ac_ext >&5
13037 eval "ac_cv_func_
$ac_func=no
"
13042 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13043 echo "$ac_t""yes" 1>&6
13044 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13045 cat >> confdefs.h <<EOF
13046 #define $ac_tr_func 1
13050 echo "$ac_t""no
" 1>&6
13059 echo $ac_n "checking
for isinff declaration
""...
$ac_c" 1>&6
13060 echo "configure
:13061: checking
for isinff declaration
" >&5
13061 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
13062 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
13063 echo $ac_n "(cached
) $ac_c" 1>&6
13068 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13069 ac_cpp='$CXXCPP $CPPFLAGS'
13070 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13071 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13072 cross_compiling=$ac_cv_prog_cxx_cross
13074 cat > conftest.$ac_ext <<EOF
13075 #line 13076 "configure
"
13076 #include "confdefs.h
"
13078 #ifdef HAVE_IEEEFP_H
13079 #include <ieeefp.h>
13086 if { (eval echo configure:13087: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13088 glibcpp_cv_func_isinff_use=yes
13090 echo "configure
: failed program was
:" >&5
13091 cat conftest.$ac_ext >&5
13093 glibcpp_cv_func_isinff_use=no
13097 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13098 ac_cpp='$CPP $CPPFLAGS'
13099 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13100 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13101 cross_compiling=$ac_cv_prog_cc_cross
13107 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
13109 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
13110 for ac_func in isinff
13112 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13113 echo "configure
:13114: checking
for $ac_func" >&5
13114 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13115 echo $ac_n "(cached
) $ac_c" 1>&6
13117 cat > conftest.$ac_ext <<EOF
13118 #line 13119 "configure
"
13119 #include "confdefs.h
"
13120 /* System header to define __stub macros and hopefully few prototypes,
13121 which can conflict with char $ac_func(); below. */
13122 #include <assert.h>
13123 /* Override any gcc2 internal prototype to avoid an error. */
13124 /* We use char because int might match the return type of a gcc2
13125 builtin and then its argument prototype would still apply. */
13130 /* The GNU C library defines this for functions which it implements
13131 to always fail with ENOSYS. Some functions are actually named
13132 something starting with __ and the normal name is an alias. */
13133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13141 if { (eval echo configure:13142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13143 eval "ac_cv_func_
$ac_func=yes"
13145 echo "configure
: failed program was
:" >&5
13146 cat conftest.$ac_ext >&5
13148 eval "ac_cv_func_
$ac_func=no
"
13153 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13154 echo "$ac_t""yes" 1>&6
13155 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13156 cat >> confdefs.h <<EOF
13157 #define $ac_tr_func 1
13161 echo "$ac_t""no
" 1>&6
13167 echo $ac_n "checking
for _isinff declaration
""...
$ac_c" 1>&6
13168 echo "configure
:13169: checking
for _isinff declaration
" >&5
13169 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
13170 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
13171 echo $ac_n "(cached
) $ac_c" 1>&6
13176 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13177 ac_cpp='$CXXCPP $CPPFLAGS'
13178 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13179 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13180 cross_compiling=$ac_cv_prog_cxx_cross
13182 cat > conftest.$ac_ext <<EOF
13183 #line 13184 "configure
"
13184 #include "confdefs.h
"
13186 #ifdef HAVE_IEEEFP_H
13187 #include <ieeefp.h>
13194 if { (eval echo configure:13195: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13196 glibcpp_cv_func__isinff_use=yes
13198 echo "configure
: failed program was
:" >&5
13199 cat conftest.$ac_ext >&5
13201 glibcpp_cv_func__isinff_use=no
13205 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13206 ac_cpp='$CPP $CPPFLAGS'
13207 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13208 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13209 cross_compiling=$ac_cv_prog_cc_cross
13215 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
13217 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
13218 for ac_func in _isinff
13220 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13221 echo "configure
:13222: checking
for $ac_func" >&5
13222 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13223 echo $ac_n "(cached
) $ac_c" 1>&6
13225 cat > conftest.$ac_ext <<EOF
13226 #line 13227 "configure
"
13227 #include "confdefs.h
"
13228 /* System header to define __stub macros and hopefully few prototypes,
13229 which can conflict with char $ac_func(); below. */
13230 #include <assert.h>
13231 /* Override any gcc2 internal prototype to avoid an error. */
13232 /* We use char because int might match the return type of a gcc2
13233 builtin and then its argument prototype would still apply. */
13238 /* The GNU C library defines this for functions which it implements
13239 to always fail with ENOSYS. Some functions are actually named
13240 something starting with __ and the normal name is an alias. */
13241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13249 if { (eval echo configure:13250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13251 eval "ac_cv_func_
$ac_func=yes"
13253 echo "configure
: failed program was
:" >&5
13254 cat conftest.$ac_ext >&5
13256 eval "ac_cv_func_
$ac_func=no
"
13261 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13262 echo "$ac_t""yes" 1>&6
13263 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13264 cat >> confdefs.h <<EOF
13265 #define $ac_tr_func 1
13269 echo "$ac_t""no
" 1>&6
13278 echo $ac_n "checking
for atan2f declaration
""...
$ac_c" 1>&6
13279 echo "configure
:13280: checking
for atan2f declaration
" >&5
13280 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
13281 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
13282 echo $ac_n "(cached
) $ac_c" 1>&6
13287 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13288 ac_cpp='$CXXCPP $CPPFLAGS'
13289 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13290 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13291 cross_compiling=$ac_cv_prog_cxx_cross
13293 cat > conftest.$ac_ext <<EOF
13294 #line 13295 "configure
"
13295 #include "confdefs.h
"
13301 if { (eval echo configure:13302: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13303 glibcpp_cv_func_atan2f_use=yes
13305 echo "configure
: failed program was
:" >&5
13306 cat conftest.$ac_ext >&5
13308 glibcpp_cv_func_atan2f_use=no
13312 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13313 ac_cpp='$CPP $CPPFLAGS'
13314 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13315 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13316 cross_compiling=$ac_cv_prog_cc_cross
13322 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
13324 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
13325 for ac_func in atan2f
13327 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13328 echo "configure
:13329: checking
for $ac_func" >&5
13329 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13330 echo $ac_n "(cached
) $ac_c" 1>&6
13332 cat > conftest.$ac_ext <<EOF
13333 #line 13334 "configure
"
13334 #include "confdefs.h
"
13335 /* System header to define __stub macros and hopefully few prototypes,
13336 which can conflict with char $ac_func(); below. */
13337 #include <assert.h>
13338 /* Override any gcc2 internal prototype to avoid an error. */
13339 /* We use char because int might match the return type of a gcc2
13340 builtin and then its argument prototype would still apply. */
13345 /* The GNU C library defines this for functions which it implements
13346 to always fail with ENOSYS. Some functions are actually named
13347 something starting with __ and the normal name is an alias. */
13348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13356 if { (eval echo configure:13357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13358 eval "ac_cv_func_
$ac_func=yes"
13360 echo "configure
: failed program was
:" >&5
13361 cat conftest.$ac_ext >&5
13363 eval "ac_cv_func_
$ac_func=no
"
13368 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13369 echo "$ac_t""yes" 1>&6
13370 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13371 cat >> confdefs.h <<EOF
13372 #define $ac_tr_func 1
13376 echo "$ac_t""no
" 1>&6
13382 echo $ac_n "checking
for _atan2f declaration
""...
$ac_c" 1>&6
13383 echo "configure
:13384: checking
for _atan2f declaration
" >&5
13384 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
13385 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
13386 echo $ac_n "(cached
) $ac_c" 1>&6
13391 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13392 ac_cpp='$CXXCPP $CPPFLAGS'
13393 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13394 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13395 cross_compiling=$ac_cv_prog_cxx_cross
13397 cat > conftest.$ac_ext <<EOF
13398 #line 13399 "configure
"
13399 #include "confdefs.h
"
13405 if { (eval echo configure:13406: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13407 glibcpp_cv_func__atan2f_use=yes
13409 echo "configure
: failed program was
:" >&5
13410 cat conftest.$ac_ext >&5
13412 glibcpp_cv_func__atan2f_use=no
13416 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13417 ac_cpp='$CPP $CPPFLAGS'
13418 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13419 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13420 cross_compiling=$ac_cv_prog_cc_cross
13426 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
13428 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
13429 for ac_func in _atan2f
13431 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13432 echo "configure
:13433: checking
for $ac_func" >&5
13433 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13434 echo $ac_n "(cached
) $ac_c" 1>&6
13436 cat > conftest.$ac_ext <<EOF
13437 #line 13438 "configure
"
13438 #include "confdefs.h
"
13439 /* System header to define __stub macros and hopefully few prototypes,
13440 which can conflict with char $ac_func(); below. */
13441 #include <assert.h>
13442 /* Override any gcc2 internal prototype to avoid an error. */
13443 /* We use char because int might match the return type of a gcc2
13444 builtin and then its argument prototype would still apply. */
13449 /* The GNU C library defines this for functions which it implements
13450 to always fail with ENOSYS. Some functions are actually named
13451 something starting with __ and the normal name is an alias. */
13452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13460 if { (eval echo configure:13461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13462 eval "ac_cv_func_
$ac_func=yes"
13464 echo "configure
: failed program was
:" >&5
13465 cat conftest.$ac_ext >&5
13467 eval "ac_cv_func_
$ac_func=no
"
13472 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13473 echo "$ac_t""yes" 1>&6
13474 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13475 cat >> confdefs.h <<EOF
13476 #define $ac_tr_func 1
13480 echo "$ac_t""no
" 1>&6
13489 echo $ac_n "checking
for fabsf declaration
""...
$ac_c" 1>&6
13490 echo "configure
:13491: checking
for fabsf declaration
" >&5
13491 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
13492 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
13493 echo $ac_n "(cached
) $ac_c" 1>&6
13498 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13499 ac_cpp='$CXXCPP $CPPFLAGS'
13500 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13501 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13502 cross_compiling=$ac_cv_prog_cxx_cross
13504 cat > conftest.$ac_ext <<EOF
13505 #line 13506 "configure
"
13506 #include "confdefs.h
"
13508 #ifdef HAVE_IEEEFP_H
13509 #include <ieeefp.h>
13516 if { (eval echo configure:13517: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13518 glibcpp_cv_func_fabsf_use=yes
13520 echo "configure
: failed program was
:" >&5
13521 cat conftest.$ac_ext >&5
13523 glibcpp_cv_func_fabsf_use=no
13527 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13528 ac_cpp='$CPP $CPPFLAGS'
13529 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13530 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13531 cross_compiling=$ac_cv_prog_cc_cross
13537 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
13539 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
13540 for ac_func in fabsf
13542 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13543 echo "configure
:13544: checking
for $ac_func" >&5
13544 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13545 echo $ac_n "(cached
) $ac_c" 1>&6
13547 cat > conftest.$ac_ext <<EOF
13548 #line 13549 "configure
"
13549 #include "confdefs.h
"
13550 /* System header to define __stub macros and hopefully few prototypes,
13551 which can conflict with char $ac_func(); below. */
13552 #include <assert.h>
13553 /* Override any gcc2 internal prototype to avoid an error. */
13554 /* We use char because int might match the return type of a gcc2
13555 builtin and then its argument prototype would still apply. */
13560 /* The GNU C library defines this for functions which it implements
13561 to always fail with ENOSYS. Some functions are actually named
13562 something starting with __ and the normal name is an alias. */
13563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13571 if { (eval echo configure:13572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13573 eval "ac_cv_func_
$ac_func=yes"
13575 echo "configure
: failed program was
:" >&5
13576 cat conftest.$ac_ext >&5
13578 eval "ac_cv_func_
$ac_func=no
"
13583 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13584 echo "$ac_t""yes" 1>&6
13585 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13586 cat >> confdefs.h <<EOF
13587 #define $ac_tr_func 1
13591 echo "$ac_t""no
" 1>&6
13597 echo $ac_n "checking
for _fabsf declaration
""...
$ac_c" 1>&6
13598 echo "configure
:13599: checking
for _fabsf declaration
" >&5
13599 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
13600 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
13601 echo $ac_n "(cached
) $ac_c" 1>&6
13606 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13607 ac_cpp='$CXXCPP $CPPFLAGS'
13608 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13609 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13610 cross_compiling=$ac_cv_prog_cxx_cross
13612 cat > conftest.$ac_ext <<EOF
13613 #line 13614 "configure
"
13614 #include "confdefs.h
"
13616 #ifdef HAVE_IEEEFP_H
13617 #include <ieeefp.h>
13624 if { (eval echo configure:13625: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13626 glibcpp_cv_func__fabsf_use=yes
13628 echo "configure
: failed program was
:" >&5
13629 cat conftest.$ac_ext >&5
13631 glibcpp_cv_func__fabsf_use=no
13635 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13636 ac_cpp='$CPP $CPPFLAGS'
13637 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13638 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13639 cross_compiling=$ac_cv_prog_cc_cross
13645 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
13647 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
13648 for ac_func in _fabsf
13650 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13651 echo "configure
:13652: checking
for $ac_func" >&5
13652 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13653 echo $ac_n "(cached
) $ac_c" 1>&6
13655 cat > conftest.$ac_ext <<EOF
13656 #line 13657 "configure
"
13657 #include "confdefs.h
"
13658 /* System header to define __stub macros and hopefully few prototypes,
13659 which can conflict with char $ac_func(); below. */
13660 #include <assert.h>
13661 /* Override any gcc2 internal prototype to avoid an error. */
13662 /* We use char because int might match the return type of a gcc2
13663 builtin and then its argument prototype would still apply. */
13668 /* The GNU C library defines this for functions which it implements
13669 to always fail with ENOSYS. Some functions are actually named
13670 something starting with __ and the normal name is an alias. */
13671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13679 if { (eval echo configure:13680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13681 eval "ac_cv_func_
$ac_func=yes"
13683 echo "configure
: failed program was
:" >&5
13684 cat conftest.$ac_ext >&5
13686 eval "ac_cv_func_
$ac_func=no
"
13691 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13692 echo "$ac_t""yes" 1>&6
13693 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13694 cat >> confdefs.h <<EOF
13695 #define $ac_tr_func 1
13699 echo "$ac_t""no
" 1>&6
13708 echo $ac_n "checking
for fmodf declaration
""...
$ac_c" 1>&6
13709 echo "configure
:13710: checking
for fmodf declaration
" >&5
13710 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
13711 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
13712 echo $ac_n "(cached
) $ac_c" 1>&6
13717 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13718 ac_cpp='$CXXCPP $CPPFLAGS'
13719 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13720 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13721 cross_compiling=$ac_cv_prog_cxx_cross
13723 cat > conftest.$ac_ext <<EOF
13724 #line 13725 "configure
"
13725 #include "confdefs.h
"
13731 if { (eval echo configure:13732: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13733 glibcpp_cv_func_fmodf_use=yes
13735 echo "configure
: failed program was
:" >&5
13736 cat conftest.$ac_ext >&5
13738 glibcpp_cv_func_fmodf_use=no
13742 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13743 ac_cpp='$CPP $CPPFLAGS'
13744 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13745 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13746 cross_compiling=$ac_cv_prog_cc_cross
13752 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
13754 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
13755 for ac_func in fmodf
13757 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13758 echo "configure
:13759: checking
for $ac_func" >&5
13759 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13760 echo $ac_n "(cached
) $ac_c" 1>&6
13762 cat > conftest.$ac_ext <<EOF
13763 #line 13764 "configure
"
13764 #include "confdefs.h
"
13765 /* System header to define __stub macros and hopefully few prototypes,
13766 which can conflict with char $ac_func(); below. */
13767 #include <assert.h>
13768 /* Override any gcc2 internal prototype to avoid an error. */
13769 /* We use char because int might match the return type of a gcc2
13770 builtin and then its argument prototype would still apply. */
13775 /* The GNU C library defines this for functions which it implements
13776 to always fail with ENOSYS. Some functions are actually named
13777 something starting with __ and the normal name is an alias. */
13778 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13786 if { (eval echo configure:13787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13788 eval "ac_cv_func_
$ac_func=yes"
13790 echo "configure
: failed program was
:" >&5
13791 cat conftest.$ac_ext >&5
13793 eval "ac_cv_func_
$ac_func=no
"
13798 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13799 echo "$ac_t""yes" 1>&6
13800 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13801 cat >> confdefs.h <<EOF
13802 #define $ac_tr_func 1
13806 echo "$ac_t""no
" 1>&6
13812 echo $ac_n "checking
for _fmodf declaration
""...
$ac_c" 1>&6
13813 echo "configure
:13814: checking
for _fmodf declaration
" >&5
13814 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
13815 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
13816 echo $ac_n "(cached
) $ac_c" 1>&6
13821 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13822 ac_cpp='$CXXCPP $CPPFLAGS'
13823 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13824 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13825 cross_compiling=$ac_cv_prog_cxx_cross
13827 cat > conftest.$ac_ext <<EOF
13828 #line 13829 "configure
"
13829 #include "confdefs.h
"
13835 if { (eval echo configure:13836: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13837 glibcpp_cv_func__fmodf_use=yes
13839 echo "configure
: failed program was
:" >&5
13840 cat conftest.$ac_ext >&5
13842 glibcpp_cv_func__fmodf_use=no
13846 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13847 ac_cpp='$CPP $CPPFLAGS'
13848 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13849 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13850 cross_compiling=$ac_cv_prog_cc_cross
13856 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
13858 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
13859 for ac_func in _fmodf
13861 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13862 echo "configure
:13863: checking
for $ac_func" >&5
13863 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13864 echo $ac_n "(cached
) $ac_c" 1>&6
13866 cat > conftest.$ac_ext <<EOF
13867 #line 13868 "configure
"
13868 #include "confdefs.h
"
13869 /* System header to define __stub macros and hopefully few prototypes,
13870 which can conflict with char $ac_func(); below. */
13871 #include <assert.h>
13872 /* Override any gcc2 internal prototype to avoid an error. */
13873 /* We use char because int might match the return type of a gcc2
13874 builtin and then its argument prototype would still apply. */
13879 /* The GNU C library defines this for functions which it implements
13880 to always fail with ENOSYS. Some functions are actually named
13881 something starting with __ and the normal name is an alias. */
13882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13890 if { (eval echo configure:13891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13892 eval "ac_cv_func_
$ac_func=yes"
13894 echo "configure
: failed program was
:" >&5
13895 cat conftest.$ac_ext >&5
13897 eval "ac_cv_func_
$ac_func=no
"
13902 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13903 echo "$ac_t""yes" 1>&6
13904 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13905 cat >> confdefs.h <<EOF
13906 #define $ac_tr_func 1
13910 echo "$ac_t""no
" 1>&6
13919 echo $ac_n "checking
for frexpf declaration
""...
$ac_c" 1>&6
13920 echo "configure
:13921: checking
for frexpf declaration
" >&5
13921 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
13922 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
13923 echo $ac_n "(cached
) $ac_c" 1>&6
13928 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13929 ac_cpp='$CXXCPP $CPPFLAGS'
13930 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13931 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13932 cross_compiling=$ac_cv_prog_cxx_cross
13934 cat > conftest.$ac_ext <<EOF
13935 #line 13936 "configure
"
13936 #include "confdefs.h
"
13942 if { (eval echo configure:13943: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13944 glibcpp_cv_func_frexpf_use=yes
13946 echo "configure
: failed program was
:" >&5
13947 cat conftest.$ac_ext >&5
13949 glibcpp_cv_func_frexpf_use=no
13953 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13954 ac_cpp='$CPP $CPPFLAGS'
13955 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13956 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13957 cross_compiling=$ac_cv_prog_cc_cross
13963 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
13965 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
13966 for ac_func in frexpf
13968 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13969 echo "configure
:13970: checking
for $ac_func" >&5
13970 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13971 echo $ac_n "(cached
) $ac_c" 1>&6
13973 cat > conftest.$ac_ext <<EOF
13974 #line 13975 "configure
"
13975 #include "confdefs.h
"
13976 /* System header to define __stub macros and hopefully few prototypes,
13977 which can conflict with char $ac_func(); below. */
13978 #include <assert.h>
13979 /* Override any gcc2 internal prototype to avoid an error. */
13980 /* We use char because int might match the return type of a gcc2
13981 builtin and then its argument prototype would still apply. */
13986 /* The GNU C library defines this for functions which it implements
13987 to always fail with ENOSYS. Some functions are actually named
13988 something starting with __ and the normal name is an alias. */
13989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13997 if { (eval echo configure:13998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13999 eval "ac_cv_func_
$ac_func=yes"
14001 echo "configure
: failed program was
:" >&5
14002 cat conftest.$ac_ext >&5
14004 eval "ac_cv_func_
$ac_func=no
"
14009 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14010 echo "$ac_t""yes" 1>&6
14011 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14012 cat >> confdefs.h <<EOF
14013 #define $ac_tr_func 1
14017 echo "$ac_t""no
" 1>&6
14023 echo $ac_n "checking
for _frexpf declaration
""...
$ac_c" 1>&6
14024 echo "configure
:14025: checking
for _frexpf declaration
" >&5
14025 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
14026 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
14027 echo $ac_n "(cached
) $ac_c" 1>&6
14032 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14033 ac_cpp='$CXXCPP $CPPFLAGS'
14034 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14035 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14036 cross_compiling=$ac_cv_prog_cxx_cross
14038 cat > conftest.$ac_ext <<EOF
14039 #line 14040 "configure
"
14040 #include "confdefs.h
"
14046 if { (eval echo configure:14047: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14048 glibcpp_cv_func__frexpf_use=yes
14050 echo "configure
: failed program was
:" >&5
14051 cat conftest.$ac_ext >&5
14053 glibcpp_cv_func__frexpf_use=no
14057 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14058 ac_cpp='$CPP $CPPFLAGS'
14059 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14060 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14061 cross_compiling=$ac_cv_prog_cc_cross
14067 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
14069 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
14070 for ac_func in _frexpf
14072 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14073 echo "configure
:14074: checking
for $ac_func" >&5
14074 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14075 echo $ac_n "(cached
) $ac_c" 1>&6
14077 cat > conftest.$ac_ext <<EOF
14078 #line 14079 "configure
"
14079 #include "confdefs.h
"
14080 /* System header to define __stub macros and hopefully few prototypes,
14081 which can conflict with char $ac_func(); below. */
14082 #include <assert.h>
14083 /* Override any gcc2 internal prototype to avoid an error. */
14084 /* We use char because int might match the return type of a gcc2
14085 builtin and then its argument prototype would still apply. */
14090 /* The GNU C library defines this for functions which it implements
14091 to always fail with ENOSYS. Some functions are actually named
14092 something starting with __ and the normal name is an alias. */
14093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14101 if { (eval echo configure:14102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14103 eval "ac_cv_func_
$ac_func=yes"
14105 echo "configure
: failed program was
:" >&5
14106 cat conftest.$ac_ext >&5
14108 eval "ac_cv_func_
$ac_func=no
"
14113 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14114 echo "$ac_t""yes" 1>&6
14115 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14116 cat >> confdefs.h <<EOF
14117 #define $ac_tr_func 1
14121 echo "$ac_t""no
" 1>&6
14130 echo $ac_n "checking
for hypotf declaration
""...
$ac_c" 1>&6
14131 echo "configure
:14132: checking
for hypotf declaration
" >&5
14132 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
14133 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
14134 echo $ac_n "(cached
) $ac_c" 1>&6
14139 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14140 ac_cpp='$CXXCPP $CPPFLAGS'
14141 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14142 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14143 cross_compiling=$ac_cv_prog_cxx_cross
14145 cat > conftest.$ac_ext <<EOF
14146 #line 14147 "configure
"
14147 #include "confdefs.h
"
14153 if { (eval echo configure:14154: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14155 glibcpp_cv_func_hypotf_use=yes
14157 echo "configure
: failed program was
:" >&5
14158 cat conftest.$ac_ext >&5
14160 glibcpp_cv_func_hypotf_use=no
14164 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14165 ac_cpp='$CPP $CPPFLAGS'
14166 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14167 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14168 cross_compiling=$ac_cv_prog_cc_cross
14174 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
14176 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
14177 for ac_func in hypotf
14179 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14180 echo "configure
:14181: checking
for $ac_func" >&5
14181 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14182 echo $ac_n "(cached
) $ac_c" 1>&6
14184 cat > conftest.$ac_ext <<EOF
14185 #line 14186 "configure
"
14186 #include "confdefs.h
"
14187 /* System header to define __stub macros and hopefully few prototypes,
14188 which can conflict with char $ac_func(); below. */
14189 #include <assert.h>
14190 /* Override any gcc2 internal prototype to avoid an error. */
14191 /* We use char because int might match the return type of a gcc2
14192 builtin and then its argument prototype would still apply. */
14197 /* The GNU C library defines this for functions which it implements
14198 to always fail with ENOSYS. Some functions are actually named
14199 something starting with __ and the normal name is an alias. */
14200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14208 if { (eval echo configure:14209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14210 eval "ac_cv_func_
$ac_func=yes"
14212 echo "configure
: failed program was
:" >&5
14213 cat conftest.$ac_ext >&5
14215 eval "ac_cv_func_
$ac_func=no
"
14220 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14221 echo "$ac_t""yes" 1>&6
14222 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14223 cat >> confdefs.h <<EOF
14224 #define $ac_tr_func 1
14228 echo "$ac_t""no
" 1>&6
14234 echo $ac_n "checking
for _hypotf declaration
""...
$ac_c" 1>&6
14235 echo "configure
:14236: checking
for _hypotf declaration
" >&5
14236 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
14237 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
14238 echo $ac_n "(cached
) $ac_c" 1>&6
14243 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14244 ac_cpp='$CXXCPP $CPPFLAGS'
14245 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14246 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14247 cross_compiling=$ac_cv_prog_cxx_cross
14249 cat > conftest.$ac_ext <<EOF
14250 #line 14251 "configure
"
14251 #include "confdefs.h
"
14257 if { (eval echo configure:14258: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14259 glibcpp_cv_func__hypotf_use=yes
14261 echo "configure
: failed program was
:" >&5
14262 cat conftest.$ac_ext >&5
14264 glibcpp_cv_func__hypotf_use=no
14268 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14269 ac_cpp='$CPP $CPPFLAGS'
14270 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14271 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14272 cross_compiling=$ac_cv_prog_cc_cross
14278 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
14280 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
14281 for ac_func in _hypotf
14283 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14284 echo "configure
:14285: checking
for $ac_func" >&5
14285 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14286 echo $ac_n "(cached
) $ac_c" 1>&6
14288 cat > conftest.$ac_ext <<EOF
14289 #line 14290 "configure
"
14290 #include "confdefs.h
"
14291 /* System header to define __stub macros and hopefully few prototypes,
14292 which can conflict with char $ac_func(); below. */
14293 #include <assert.h>
14294 /* Override any gcc2 internal prototype to avoid an error. */
14295 /* We use char because int might match the return type of a gcc2
14296 builtin and then its argument prototype would still apply. */
14301 /* The GNU C library defines this for functions which it implements
14302 to always fail with ENOSYS. Some functions are actually named
14303 something starting with __ and the normal name is an alias. */
14304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14312 if { (eval echo configure:14313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14314 eval "ac_cv_func_
$ac_func=yes"
14316 echo "configure
: failed program was
:" >&5
14317 cat conftest.$ac_ext >&5
14319 eval "ac_cv_func_
$ac_func=no
"
14324 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14325 echo "$ac_t""yes" 1>&6
14326 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14327 cat >> confdefs.h <<EOF
14328 #define $ac_tr_func 1
14332 echo "$ac_t""no
" 1>&6
14341 echo $ac_n "checking
for ldexpf declaration
""...
$ac_c" 1>&6
14342 echo "configure
:14343: checking
for ldexpf declaration
" >&5
14343 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
14344 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
14345 echo $ac_n "(cached
) $ac_c" 1>&6
14350 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14351 ac_cpp='$CXXCPP $CPPFLAGS'
14352 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14353 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14354 cross_compiling=$ac_cv_prog_cxx_cross
14356 cat > conftest.$ac_ext <<EOF
14357 #line 14358 "configure
"
14358 #include "confdefs.h
"
14364 if { (eval echo configure:14365: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14366 glibcpp_cv_func_ldexpf_use=yes
14368 echo "configure
: failed program was
:" >&5
14369 cat conftest.$ac_ext >&5
14371 glibcpp_cv_func_ldexpf_use=no
14375 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14376 ac_cpp='$CPP $CPPFLAGS'
14377 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14378 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14379 cross_compiling=$ac_cv_prog_cc_cross
14385 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
14387 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
14388 for ac_func in ldexpf
14390 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14391 echo "configure
:14392: checking
for $ac_func" >&5
14392 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14393 echo $ac_n "(cached
) $ac_c" 1>&6
14395 cat > conftest.$ac_ext <<EOF
14396 #line 14397 "configure
"
14397 #include "confdefs.h
"
14398 /* System header to define __stub macros and hopefully few prototypes,
14399 which can conflict with char $ac_func(); below. */
14400 #include <assert.h>
14401 /* Override any gcc2 internal prototype to avoid an error. */
14402 /* We use char because int might match the return type of a gcc2
14403 builtin and then its argument prototype would still apply. */
14408 /* The GNU C library defines this for functions which it implements
14409 to always fail with ENOSYS. Some functions are actually named
14410 something starting with __ and the normal name is an alias. */
14411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14419 if { (eval echo configure:14420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14421 eval "ac_cv_func_
$ac_func=yes"
14423 echo "configure
: failed program was
:" >&5
14424 cat conftest.$ac_ext >&5
14426 eval "ac_cv_func_
$ac_func=no
"
14431 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14432 echo "$ac_t""yes" 1>&6
14433 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14434 cat >> confdefs.h <<EOF
14435 #define $ac_tr_func 1
14439 echo "$ac_t""no
" 1>&6
14445 echo $ac_n "checking
for _ldexpf declaration
""...
$ac_c" 1>&6
14446 echo "configure
:14447: checking
for _ldexpf declaration
" >&5
14447 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
14448 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
14449 echo $ac_n "(cached
) $ac_c" 1>&6
14454 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14455 ac_cpp='$CXXCPP $CPPFLAGS'
14456 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14457 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14458 cross_compiling=$ac_cv_prog_cxx_cross
14460 cat > conftest.$ac_ext <<EOF
14461 #line 14462 "configure
"
14462 #include "confdefs.h
"
14468 if { (eval echo configure:14469: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14470 glibcpp_cv_func__ldexpf_use=yes
14472 echo "configure
: failed program was
:" >&5
14473 cat conftest.$ac_ext >&5
14475 glibcpp_cv_func__ldexpf_use=no
14479 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14480 ac_cpp='$CPP $CPPFLAGS'
14481 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14482 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14483 cross_compiling=$ac_cv_prog_cc_cross
14489 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
14491 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
14492 for ac_func in _ldexpf
14494 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14495 echo "configure
:14496: checking
for $ac_func" >&5
14496 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14497 echo $ac_n "(cached
) $ac_c" 1>&6
14499 cat > conftest.$ac_ext <<EOF
14500 #line 14501 "configure
"
14501 #include "confdefs.h
"
14502 /* System header to define __stub macros and hopefully few prototypes,
14503 which can conflict with char $ac_func(); below. */
14504 #include <assert.h>
14505 /* Override any gcc2 internal prototype to avoid an error. */
14506 /* We use char because int might match the return type of a gcc2
14507 builtin and then its argument prototype would still apply. */
14512 /* The GNU C library defines this for functions which it implements
14513 to always fail with ENOSYS. Some functions are actually named
14514 something starting with __ and the normal name is an alias. */
14515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14523 if { (eval echo configure:14524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14525 eval "ac_cv_func_
$ac_func=yes"
14527 echo "configure
: failed program was
:" >&5
14528 cat conftest.$ac_ext >&5
14530 eval "ac_cv_func_
$ac_func=no
"
14535 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14536 echo "$ac_t""yes" 1>&6
14537 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14538 cat >> confdefs.h <<EOF
14539 #define $ac_tr_func 1
14543 echo "$ac_t""no
" 1>&6
14552 echo $ac_n "checking
for logf declaration
""...
$ac_c" 1>&6
14553 echo "configure
:14554: checking
for logf declaration
" >&5
14554 if test x${glibcpp_cv_func_logf_use+set} != xset; then
14555 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
14556 echo $ac_n "(cached
) $ac_c" 1>&6
14561 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14562 ac_cpp='$CXXCPP $CPPFLAGS'
14563 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14564 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14565 cross_compiling=$ac_cv_prog_cxx_cross
14567 cat > conftest.$ac_ext <<EOF
14568 #line 14569 "configure
"
14569 #include "confdefs.h
"
14571 #ifdef HAVE_IEEEFP_H
14572 #include <ieeefp.h>
14579 if { (eval echo configure:14580: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14581 glibcpp_cv_func_logf_use=yes
14583 echo "configure
: failed program was
:" >&5
14584 cat conftest.$ac_ext >&5
14586 glibcpp_cv_func_logf_use=no
14590 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14591 ac_cpp='$CPP $CPPFLAGS'
14592 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14593 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14594 cross_compiling=$ac_cv_prog_cc_cross
14600 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
14602 if test x$glibcpp_cv_func_logf_use = x"yes"; then
14603 for ac_func in logf
14605 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14606 echo "configure
:14607: checking
for $ac_func" >&5
14607 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14608 echo $ac_n "(cached
) $ac_c" 1>&6
14610 cat > conftest.$ac_ext <<EOF
14611 #line 14612 "configure
"
14612 #include "confdefs.h
"
14613 /* System header to define __stub macros and hopefully few prototypes,
14614 which can conflict with char $ac_func(); below. */
14615 #include <assert.h>
14616 /* Override any gcc2 internal prototype to avoid an error. */
14617 /* We use char because int might match the return type of a gcc2
14618 builtin and then its argument prototype would still apply. */
14623 /* The GNU C library defines this for functions which it implements
14624 to always fail with ENOSYS. Some functions are actually named
14625 something starting with __ and the normal name is an alias. */
14626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14634 if { (eval echo configure:14635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14636 eval "ac_cv_func_
$ac_func=yes"
14638 echo "configure
: failed program was
:" >&5
14639 cat conftest.$ac_ext >&5
14641 eval "ac_cv_func_
$ac_func=no
"
14646 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14647 echo "$ac_t""yes" 1>&6
14648 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14649 cat >> confdefs.h <<EOF
14650 #define $ac_tr_func 1
14654 echo "$ac_t""no
" 1>&6
14660 echo $ac_n "checking
for _logf declaration
""...
$ac_c" 1>&6
14661 echo "configure
:14662: checking
for _logf declaration
" >&5
14662 if test x${glibcpp_cv_func__logf_use+set} != xset; then
14663 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
14664 echo $ac_n "(cached
) $ac_c" 1>&6
14669 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14670 ac_cpp='$CXXCPP $CPPFLAGS'
14671 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14672 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14673 cross_compiling=$ac_cv_prog_cxx_cross
14675 cat > conftest.$ac_ext <<EOF
14676 #line 14677 "configure
"
14677 #include "confdefs.h
"
14679 #ifdef HAVE_IEEEFP_H
14680 #include <ieeefp.h>
14687 if { (eval echo configure:14688: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14689 glibcpp_cv_func__logf_use=yes
14691 echo "configure
: failed program was
:" >&5
14692 cat conftest.$ac_ext >&5
14694 glibcpp_cv_func__logf_use=no
14698 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14699 ac_cpp='$CPP $CPPFLAGS'
14700 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14701 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14702 cross_compiling=$ac_cv_prog_cc_cross
14708 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
14710 if test x$glibcpp_cv_func__logf_use = x"yes"; then
14711 for ac_func in _logf
14713 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14714 echo "configure
:14715: checking
for $ac_func" >&5
14715 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14716 echo $ac_n "(cached
) $ac_c" 1>&6
14718 cat > conftest.$ac_ext <<EOF
14719 #line 14720 "configure
"
14720 #include "confdefs.h
"
14721 /* System header to define __stub macros and hopefully few prototypes,
14722 which can conflict with char $ac_func(); below. */
14723 #include <assert.h>
14724 /* Override any gcc2 internal prototype to avoid an error. */
14725 /* We use char because int might match the return type of a gcc2
14726 builtin and then its argument prototype would still apply. */
14731 /* The GNU C library defines this for functions which it implements
14732 to always fail with ENOSYS. Some functions are actually named
14733 something starting with __ and the normal name is an alias. */
14734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14742 if { (eval echo configure:14743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14744 eval "ac_cv_func_
$ac_func=yes"
14746 echo "configure
: failed program was
:" >&5
14747 cat conftest.$ac_ext >&5
14749 eval "ac_cv_func_
$ac_func=no
"
14754 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14755 echo "$ac_t""yes" 1>&6
14756 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14757 cat >> confdefs.h <<EOF
14758 #define $ac_tr_func 1
14762 echo "$ac_t""no
" 1>&6
14771 echo $ac_n "checking
for log10f declaration
""...
$ac_c" 1>&6
14772 echo "configure
:14773: checking
for log10f declaration
" >&5
14773 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
14774 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
14775 echo $ac_n "(cached
) $ac_c" 1>&6
14780 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14781 ac_cpp='$CXXCPP $CPPFLAGS'
14782 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14783 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14784 cross_compiling=$ac_cv_prog_cxx_cross
14786 cat > conftest.$ac_ext <<EOF
14787 #line 14788 "configure
"
14788 #include "confdefs.h
"
14790 #ifdef HAVE_IEEEFP_H
14791 #include <ieeefp.h>
14798 if { (eval echo configure:14799: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14800 glibcpp_cv_func_log10f_use=yes
14802 echo "configure
: failed program was
:" >&5
14803 cat conftest.$ac_ext >&5
14805 glibcpp_cv_func_log10f_use=no
14809 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14810 ac_cpp='$CPP $CPPFLAGS'
14811 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14812 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14813 cross_compiling=$ac_cv_prog_cc_cross
14819 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
14821 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
14822 for ac_func in log10f
14824 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14825 echo "configure
:14826: checking
for $ac_func" >&5
14826 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14827 echo $ac_n "(cached
) $ac_c" 1>&6
14829 cat > conftest.$ac_ext <<EOF
14830 #line 14831 "configure
"
14831 #include "confdefs.h
"
14832 /* System header to define __stub macros and hopefully few prototypes,
14833 which can conflict with char $ac_func(); below. */
14834 #include <assert.h>
14835 /* Override any gcc2 internal prototype to avoid an error. */
14836 /* We use char because int might match the return type of a gcc2
14837 builtin and then its argument prototype would still apply. */
14842 /* The GNU C library defines this for functions which it implements
14843 to always fail with ENOSYS. Some functions are actually named
14844 something starting with __ and the normal name is an alias. */
14845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14853 if { (eval echo configure:14854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14855 eval "ac_cv_func_
$ac_func=yes"
14857 echo "configure
: failed program was
:" >&5
14858 cat conftest.$ac_ext >&5
14860 eval "ac_cv_func_
$ac_func=no
"
14865 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14866 echo "$ac_t""yes" 1>&6
14867 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14868 cat >> confdefs.h <<EOF
14869 #define $ac_tr_func 1
14873 echo "$ac_t""no
" 1>&6
14879 echo $ac_n "checking
for _log10f declaration
""...
$ac_c" 1>&6
14880 echo "configure
:14881: checking
for _log10f declaration
" >&5
14881 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
14882 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
14883 echo $ac_n "(cached
) $ac_c" 1>&6
14888 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14889 ac_cpp='$CXXCPP $CPPFLAGS'
14890 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14891 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14892 cross_compiling=$ac_cv_prog_cxx_cross
14894 cat > conftest.$ac_ext <<EOF
14895 #line 14896 "configure
"
14896 #include "confdefs.h
"
14898 #ifdef HAVE_IEEEFP_H
14899 #include <ieeefp.h>
14906 if { (eval echo configure:14907: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14908 glibcpp_cv_func__log10f_use=yes
14910 echo "configure
: failed program was
:" >&5
14911 cat conftest.$ac_ext >&5
14913 glibcpp_cv_func__log10f_use=no
14917 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14918 ac_cpp='$CPP $CPPFLAGS'
14919 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14920 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14921 cross_compiling=$ac_cv_prog_cc_cross
14927 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
14929 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
14930 for ac_func in _log10f
14932 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14933 echo "configure
:14934: checking
for $ac_func" >&5
14934 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14935 echo $ac_n "(cached
) $ac_c" 1>&6
14937 cat > conftest.$ac_ext <<EOF
14938 #line 14939 "configure
"
14939 #include "confdefs.h
"
14940 /* System header to define __stub macros and hopefully few prototypes,
14941 which can conflict with char $ac_func(); below. */
14942 #include <assert.h>
14943 /* Override any gcc2 internal prototype to avoid an error. */
14944 /* We use char because int might match the return type of a gcc2
14945 builtin and then its argument prototype would still apply. */
14950 /* The GNU C library defines this for functions which it implements
14951 to always fail with ENOSYS. Some functions are actually named
14952 something starting with __ and the normal name is an alias. */
14953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14961 if { (eval echo configure:14962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14963 eval "ac_cv_func_
$ac_func=yes"
14965 echo "configure
: failed program was
:" >&5
14966 cat conftest.$ac_ext >&5
14968 eval "ac_cv_func_
$ac_func=no
"
14973 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14974 echo "$ac_t""yes" 1>&6
14975 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14976 cat >> confdefs.h <<EOF
14977 #define $ac_tr_func 1
14981 echo "$ac_t""no
" 1>&6
14990 echo $ac_n "checking
for modff declaration
""...
$ac_c" 1>&6
14991 echo "configure
:14992: checking
for modff declaration
" >&5
14992 if test x${glibcpp_cv_func_modff_use+set} != xset; then
14993 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
14994 echo $ac_n "(cached
) $ac_c" 1>&6
14999 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15000 ac_cpp='$CXXCPP $CPPFLAGS'
15001 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15002 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15003 cross_compiling=$ac_cv_prog_cxx_cross
15005 cat > conftest.$ac_ext <<EOF
15006 #line 15007 "configure
"
15007 #include "confdefs.h
"
15013 if { (eval echo configure:15014: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15015 glibcpp_cv_func_modff_use=yes
15017 echo "configure
: failed program was
:" >&5
15018 cat conftest.$ac_ext >&5
15020 glibcpp_cv_func_modff_use=no
15024 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15025 ac_cpp='$CPP $CPPFLAGS'
15026 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15027 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15028 cross_compiling=$ac_cv_prog_cc_cross
15034 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
15036 if test x$glibcpp_cv_func_modff_use = x"yes"; then
15037 for ac_func in modff
15039 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15040 echo "configure
:15041: checking
for $ac_func" >&5
15041 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15042 echo $ac_n "(cached
) $ac_c" 1>&6
15044 cat > conftest.$ac_ext <<EOF
15045 #line 15046 "configure
"
15046 #include "confdefs.h
"
15047 /* System header to define __stub macros and hopefully few prototypes,
15048 which can conflict with char $ac_func(); below. */
15049 #include <assert.h>
15050 /* Override any gcc2 internal prototype to avoid an error. */
15051 /* We use char because int might match the return type of a gcc2
15052 builtin and then its argument prototype would still apply. */
15057 /* The GNU C library defines this for functions which it implements
15058 to always fail with ENOSYS. Some functions are actually named
15059 something starting with __ and the normal name is an alias. */
15060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15068 if { (eval echo configure:15069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15070 eval "ac_cv_func_
$ac_func=yes"
15072 echo "configure
: failed program was
:" >&5
15073 cat conftest.$ac_ext >&5
15075 eval "ac_cv_func_
$ac_func=no
"
15080 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15081 echo "$ac_t""yes" 1>&6
15082 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15083 cat >> confdefs.h <<EOF
15084 #define $ac_tr_func 1
15088 echo "$ac_t""no
" 1>&6
15094 echo $ac_n "checking
for _modff declaration
""...
$ac_c" 1>&6
15095 echo "configure
:15096: checking
for _modff declaration
" >&5
15096 if test x${glibcpp_cv_func__modff_use+set} != xset; then
15097 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
15098 echo $ac_n "(cached
) $ac_c" 1>&6
15103 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15104 ac_cpp='$CXXCPP $CPPFLAGS'
15105 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15106 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15107 cross_compiling=$ac_cv_prog_cxx_cross
15109 cat > conftest.$ac_ext <<EOF
15110 #line 15111 "configure
"
15111 #include "confdefs.h
"
15117 if { (eval echo configure:15118: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15119 glibcpp_cv_func__modff_use=yes
15121 echo "configure
: failed program was
:" >&5
15122 cat conftest.$ac_ext >&5
15124 glibcpp_cv_func__modff_use=no
15128 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15129 ac_cpp='$CPP $CPPFLAGS'
15130 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15131 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15132 cross_compiling=$ac_cv_prog_cc_cross
15138 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
15140 if test x$glibcpp_cv_func__modff_use = x"yes"; then
15141 for ac_func in _modff
15143 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15144 echo "configure
:15145: checking
for $ac_func" >&5
15145 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15146 echo $ac_n "(cached
) $ac_c" 1>&6
15148 cat > conftest.$ac_ext <<EOF
15149 #line 15150 "configure
"
15150 #include "confdefs.h
"
15151 /* System header to define __stub macros and hopefully few prototypes,
15152 which can conflict with char $ac_func(); below. */
15153 #include <assert.h>
15154 /* Override any gcc2 internal prototype to avoid an error. */
15155 /* We use char because int might match the return type of a gcc2
15156 builtin and then its argument prototype would still apply. */
15161 /* The GNU C library defines this for functions which it implements
15162 to always fail with ENOSYS. Some functions are actually named
15163 something starting with __ and the normal name is an alias. */
15164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15172 if { (eval echo configure:15173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15174 eval "ac_cv_func_
$ac_func=yes"
15176 echo "configure
: failed program was
:" >&5
15177 cat conftest.$ac_ext >&5
15179 eval "ac_cv_func_
$ac_func=no
"
15184 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15185 echo "$ac_t""yes" 1>&6
15186 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15187 cat >> confdefs.h <<EOF
15188 #define $ac_tr_func 1
15192 echo "$ac_t""no
" 1>&6
15201 echo $ac_n "checking
for powf declaration
""...
$ac_c" 1>&6
15202 echo "configure
:15203: checking
for powf declaration
" >&5
15203 if test x${glibcpp_cv_func_powf_use+set} != xset; then
15204 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
15205 echo $ac_n "(cached
) $ac_c" 1>&6
15210 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15211 ac_cpp='$CXXCPP $CPPFLAGS'
15212 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15213 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15214 cross_compiling=$ac_cv_prog_cxx_cross
15216 cat > conftest.$ac_ext <<EOF
15217 #line 15218 "configure
"
15218 #include "confdefs.h
"
15224 if { (eval echo configure:15225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15226 glibcpp_cv_func_powf_use=yes
15228 echo "configure
: failed program was
:" >&5
15229 cat conftest.$ac_ext >&5
15231 glibcpp_cv_func_powf_use=no
15235 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15236 ac_cpp='$CPP $CPPFLAGS'
15237 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15238 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15239 cross_compiling=$ac_cv_prog_cc_cross
15245 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
15247 if test x$glibcpp_cv_func_powf_use = x"yes"; then
15248 for ac_func in powf
15250 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15251 echo "configure
:15252: checking
for $ac_func" >&5
15252 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15253 echo $ac_n "(cached
) $ac_c" 1>&6
15255 cat > conftest.$ac_ext <<EOF
15256 #line 15257 "configure
"
15257 #include "confdefs.h
"
15258 /* System header to define __stub macros and hopefully few prototypes,
15259 which can conflict with char $ac_func(); below. */
15260 #include <assert.h>
15261 /* Override any gcc2 internal prototype to avoid an error. */
15262 /* We use char because int might match the return type of a gcc2
15263 builtin and then its argument prototype would still apply. */
15268 /* The GNU C library defines this for functions which it implements
15269 to always fail with ENOSYS. Some functions are actually named
15270 something starting with __ and the normal name is an alias. */
15271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15279 if { (eval echo configure:15280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15281 eval "ac_cv_func_
$ac_func=yes"
15283 echo "configure
: failed program was
:" >&5
15284 cat conftest.$ac_ext >&5
15286 eval "ac_cv_func_
$ac_func=no
"
15291 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15292 echo "$ac_t""yes" 1>&6
15293 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15294 cat >> confdefs.h <<EOF
15295 #define $ac_tr_func 1
15299 echo "$ac_t""no
" 1>&6
15305 echo $ac_n "checking
for _powf declaration
""...
$ac_c" 1>&6
15306 echo "configure
:15307: checking
for _powf declaration
" >&5
15307 if test x${glibcpp_cv_func__powf_use+set} != xset; then
15308 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
15309 echo $ac_n "(cached
) $ac_c" 1>&6
15314 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15315 ac_cpp='$CXXCPP $CPPFLAGS'
15316 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15317 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15318 cross_compiling=$ac_cv_prog_cxx_cross
15320 cat > conftest.$ac_ext <<EOF
15321 #line 15322 "configure
"
15322 #include "confdefs.h
"
15328 if { (eval echo configure:15329: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15330 glibcpp_cv_func__powf_use=yes
15332 echo "configure
: failed program was
:" >&5
15333 cat conftest.$ac_ext >&5
15335 glibcpp_cv_func__powf_use=no
15339 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15340 ac_cpp='$CPP $CPPFLAGS'
15341 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15342 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15343 cross_compiling=$ac_cv_prog_cc_cross
15349 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
15351 if test x$glibcpp_cv_func__powf_use = x"yes"; then
15352 for ac_func in _powf
15354 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15355 echo "configure
:15356: checking
for $ac_func" >&5
15356 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15357 echo $ac_n "(cached
) $ac_c" 1>&6
15359 cat > conftest.$ac_ext <<EOF
15360 #line 15361 "configure
"
15361 #include "confdefs.h
"
15362 /* System header to define __stub macros and hopefully few prototypes,
15363 which can conflict with char $ac_func(); below. */
15364 #include <assert.h>
15365 /* Override any gcc2 internal prototype to avoid an error. */
15366 /* We use char because int might match the return type of a gcc2
15367 builtin and then its argument prototype would still apply. */
15372 /* The GNU C library defines this for functions which it implements
15373 to always fail with ENOSYS. Some functions are actually named
15374 something starting with __ and the normal name is an alias. */
15375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15383 if { (eval echo configure:15384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15385 eval "ac_cv_func_
$ac_func=yes"
15387 echo "configure
: failed program was
:" >&5
15388 cat conftest.$ac_ext >&5
15390 eval "ac_cv_func_
$ac_func=no
"
15395 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15396 echo "$ac_t""yes" 1>&6
15397 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15398 cat >> confdefs.h <<EOF
15399 #define $ac_tr_func 1
15403 echo "$ac_t""no
" 1>&6
15412 echo $ac_n "checking
for sqrtf declaration
""...
$ac_c" 1>&6
15413 echo "configure
:15414: checking
for sqrtf declaration
" >&5
15414 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
15415 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
15416 echo $ac_n "(cached
) $ac_c" 1>&6
15421 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15422 ac_cpp='$CXXCPP $CPPFLAGS'
15423 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15424 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15425 cross_compiling=$ac_cv_prog_cxx_cross
15427 cat > conftest.$ac_ext <<EOF
15428 #line 15429 "configure
"
15429 #include "confdefs.h
"
15431 #ifdef HAVE_IEEEFP_H
15432 #include <ieeefp.h>
15439 if { (eval echo configure:15440: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15441 glibcpp_cv_func_sqrtf_use=yes
15443 echo "configure
: failed program was
:" >&5
15444 cat conftest.$ac_ext >&5
15446 glibcpp_cv_func_sqrtf_use=no
15450 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15451 ac_cpp='$CPP $CPPFLAGS'
15452 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15453 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15454 cross_compiling=$ac_cv_prog_cc_cross
15460 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
15462 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
15463 for ac_func in sqrtf
15465 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15466 echo "configure
:15467: checking
for $ac_func" >&5
15467 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15468 echo $ac_n "(cached
) $ac_c" 1>&6
15470 cat > conftest.$ac_ext <<EOF
15471 #line 15472 "configure
"
15472 #include "confdefs.h
"
15473 /* System header to define __stub macros and hopefully few prototypes,
15474 which can conflict with char $ac_func(); below. */
15475 #include <assert.h>
15476 /* Override any gcc2 internal prototype to avoid an error. */
15477 /* We use char because int might match the return type of a gcc2
15478 builtin and then its argument prototype would still apply. */
15483 /* The GNU C library defines this for functions which it implements
15484 to always fail with ENOSYS. Some functions are actually named
15485 something starting with __ and the normal name is an alias. */
15486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15494 if { (eval echo configure:15495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15496 eval "ac_cv_func_
$ac_func=yes"
15498 echo "configure
: failed program was
:" >&5
15499 cat conftest.$ac_ext >&5
15501 eval "ac_cv_func_
$ac_func=no
"
15506 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15507 echo "$ac_t""yes" 1>&6
15508 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15509 cat >> confdefs.h <<EOF
15510 #define $ac_tr_func 1
15514 echo "$ac_t""no
" 1>&6
15520 echo $ac_n "checking
for _sqrtf declaration
""...
$ac_c" 1>&6
15521 echo "configure
:15522: checking
for _sqrtf declaration
" >&5
15522 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
15523 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
15524 echo $ac_n "(cached
) $ac_c" 1>&6
15529 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15530 ac_cpp='$CXXCPP $CPPFLAGS'
15531 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15532 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15533 cross_compiling=$ac_cv_prog_cxx_cross
15535 cat > conftest.$ac_ext <<EOF
15536 #line 15537 "configure
"
15537 #include "confdefs.h
"
15539 #ifdef HAVE_IEEEFP_H
15540 #include <ieeefp.h>
15547 if { (eval echo configure:15548: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15549 glibcpp_cv_func__sqrtf_use=yes
15551 echo "configure
: failed program was
:" >&5
15552 cat conftest.$ac_ext >&5
15554 glibcpp_cv_func__sqrtf_use=no
15558 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15559 ac_cpp='$CPP $CPPFLAGS'
15560 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15561 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15562 cross_compiling=$ac_cv_prog_cc_cross
15568 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
15570 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
15571 for ac_func in _sqrtf
15573 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15574 echo "configure
:15575: checking
for $ac_func" >&5
15575 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15576 echo $ac_n "(cached
) $ac_c" 1>&6
15578 cat > conftest.$ac_ext <<EOF
15579 #line 15580 "configure
"
15580 #include "confdefs.h
"
15581 /* System header to define __stub macros and hopefully few prototypes,
15582 which can conflict with char $ac_func(); below. */
15583 #include <assert.h>
15584 /* Override any gcc2 internal prototype to avoid an error. */
15585 /* We use char because int might match the return type of a gcc2
15586 builtin and then its argument prototype would still apply. */
15591 /* The GNU C library defines this for functions which it implements
15592 to always fail with ENOSYS. Some functions are actually named
15593 something starting with __ and the normal name is an alias. */
15594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15602 if { (eval echo configure:15603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15604 eval "ac_cv_func_
$ac_func=yes"
15606 echo "configure
: failed program was
:" >&5
15607 cat conftest.$ac_ext >&5
15609 eval "ac_cv_func_
$ac_func=no
"
15614 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15615 echo "$ac_t""yes" 1>&6
15616 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15617 cat >> confdefs.h <<EOF
15618 #define $ac_tr_func 1
15622 echo "$ac_t""no
" 1>&6
15631 echo $ac_n "checking
for sincosf declaration
""...
$ac_c" 1>&6
15632 echo "configure
:15633: checking
for sincosf declaration
" >&5
15633 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
15634 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
15635 echo $ac_n "(cached
) $ac_c" 1>&6
15640 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15641 ac_cpp='$CXXCPP $CPPFLAGS'
15642 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15643 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15644 cross_compiling=$ac_cv_prog_cxx_cross
15646 cat > conftest.$ac_ext <<EOF
15647 #line 15648 "configure
"
15648 #include "confdefs.h
"
15654 if { (eval echo configure:15655: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15656 glibcpp_cv_func_sincosf_use=yes
15658 echo "configure
: failed program was
:" >&5
15659 cat conftest.$ac_ext >&5
15661 glibcpp_cv_func_sincosf_use=no
15665 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15666 ac_cpp='$CPP $CPPFLAGS'
15667 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15668 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15669 cross_compiling=$ac_cv_prog_cc_cross
15675 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
15677 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
15678 for ac_func in sincosf
15680 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15681 echo "configure
:15682: checking
for $ac_func" >&5
15682 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15683 echo $ac_n "(cached
) $ac_c" 1>&6
15685 cat > conftest.$ac_ext <<EOF
15686 #line 15687 "configure
"
15687 #include "confdefs.h
"
15688 /* System header to define __stub macros and hopefully few prototypes,
15689 which can conflict with char $ac_func(); below. */
15690 #include <assert.h>
15691 /* Override any gcc2 internal prototype to avoid an error. */
15692 /* We use char because int might match the return type of a gcc2
15693 builtin and then its argument prototype would still apply. */
15698 /* The GNU C library defines this for functions which it implements
15699 to always fail with ENOSYS. Some functions are actually named
15700 something starting with __ and the normal name is an alias. */
15701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15709 if { (eval echo configure:15710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15711 eval "ac_cv_func_
$ac_func=yes"
15713 echo "configure
: failed program was
:" >&5
15714 cat conftest.$ac_ext >&5
15716 eval "ac_cv_func_
$ac_func=no
"
15721 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15722 echo "$ac_t""yes" 1>&6
15723 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15724 cat >> confdefs.h <<EOF
15725 #define $ac_tr_func 1
15729 echo "$ac_t""no
" 1>&6
15735 echo $ac_n "checking
for _sincosf declaration
""...
$ac_c" 1>&6
15736 echo "configure
:15737: checking
for _sincosf declaration
" >&5
15737 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
15738 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
15739 echo $ac_n "(cached
) $ac_c" 1>&6
15744 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15745 ac_cpp='$CXXCPP $CPPFLAGS'
15746 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15747 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15748 cross_compiling=$ac_cv_prog_cxx_cross
15750 cat > conftest.$ac_ext <<EOF
15751 #line 15752 "configure
"
15752 #include "confdefs.h
"
15758 if { (eval echo configure:15759: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15760 glibcpp_cv_func__sincosf_use=yes
15762 echo "configure
: failed program was
:" >&5
15763 cat conftest.$ac_ext >&5
15765 glibcpp_cv_func__sincosf_use=no
15769 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15770 ac_cpp='$CPP $CPPFLAGS'
15771 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15772 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15773 cross_compiling=$ac_cv_prog_cc_cross
15779 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
15781 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
15782 for ac_func in _sincosf
15784 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15785 echo "configure
:15786: checking
for $ac_func" >&5
15786 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15787 echo $ac_n "(cached
) $ac_c" 1>&6
15789 cat > conftest.$ac_ext <<EOF
15790 #line 15791 "configure
"
15791 #include "confdefs.h
"
15792 /* System header to define __stub macros and hopefully few prototypes,
15793 which can conflict with char $ac_func(); below. */
15794 #include <assert.h>
15795 /* Override any gcc2 internal prototype to avoid an error. */
15796 /* We use char because int might match the return type of a gcc2
15797 builtin and then its argument prototype would still apply. */
15802 /* The GNU C library defines this for functions which it implements
15803 to always fail with ENOSYS. Some functions are actually named
15804 something starting with __ and the normal name is an alias. */
15805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15813 if { (eval echo configure:15814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15815 eval "ac_cv_func_
$ac_func=yes"
15817 echo "configure
: failed program was
:" >&5
15818 cat conftest.$ac_ext >&5
15820 eval "ac_cv_func_
$ac_func=no
"
15825 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15826 echo "$ac_t""yes" 1>&6
15827 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15828 cat >> confdefs.h <<EOF
15829 #define $ac_tr_func 1
15833 echo "$ac_t""no
" 1>&6
15842 echo $ac_n "checking
for finitef declaration
""...
$ac_c" 1>&6
15843 echo "configure
:15844: checking
for finitef declaration
" >&5
15844 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
15845 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
15846 echo $ac_n "(cached
) $ac_c" 1>&6
15851 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15852 ac_cpp='$CXXCPP $CPPFLAGS'
15853 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15854 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15855 cross_compiling=$ac_cv_prog_cxx_cross
15857 cat > conftest.$ac_ext <<EOF
15858 #line 15859 "configure
"
15859 #include "confdefs.h
"
15861 #ifdef HAVE_IEEEFP_H
15862 #include <ieeefp.h>
15869 if { (eval echo configure:15870: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15871 glibcpp_cv_func_finitef_use=yes
15873 echo "configure
: failed program was
:" >&5
15874 cat conftest.$ac_ext >&5
15876 glibcpp_cv_func_finitef_use=no
15880 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15881 ac_cpp='$CPP $CPPFLAGS'
15882 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15883 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15884 cross_compiling=$ac_cv_prog_cc_cross
15890 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
15892 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
15893 for ac_func in finitef
15895 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15896 echo "configure
:15897: checking
for $ac_func" >&5
15897 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15898 echo $ac_n "(cached
) $ac_c" 1>&6
15900 cat > conftest.$ac_ext <<EOF
15901 #line 15902 "configure
"
15902 #include "confdefs.h
"
15903 /* System header to define __stub macros and hopefully few prototypes,
15904 which can conflict with char $ac_func(); below. */
15905 #include <assert.h>
15906 /* Override any gcc2 internal prototype to avoid an error. */
15907 /* We use char because int might match the return type of a gcc2
15908 builtin and then its argument prototype would still apply. */
15913 /* The GNU C library defines this for functions which it implements
15914 to always fail with ENOSYS. Some functions are actually named
15915 something starting with __ and the normal name is an alias. */
15916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15924 if { (eval echo configure:15925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15926 eval "ac_cv_func_
$ac_func=yes"
15928 echo "configure
: failed program was
:" >&5
15929 cat conftest.$ac_ext >&5
15931 eval "ac_cv_func_
$ac_func=no
"
15936 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15937 echo "$ac_t""yes" 1>&6
15938 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15939 cat >> confdefs.h <<EOF
15940 #define $ac_tr_func 1
15944 echo "$ac_t""no
" 1>&6
15950 echo $ac_n "checking
for _finitef declaration
""...
$ac_c" 1>&6
15951 echo "configure
:15952: checking
for _finitef declaration
" >&5
15952 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
15953 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
15954 echo $ac_n "(cached
) $ac_c" 1>&6
15959 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15960 ac_cpp='$CXXCPP $CPPFLAGS'
15961 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15962 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15963 cross_compiling=$ac_cv_prog_cxx_cross
15965 cat > conftest.$ac_ext <<EOF
15966 #line 15967 "configure
"
15967 #include "confdefs.h
"
15969 #ifdef HAVE_IEEEFP_H
15970 #include <ieeefp.h>
15977 if { (eval echo configure:15978: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15979 glibcpp_cv_func__finitef_use=yes
15981 echo "configure
: failed program was
:" >&5
15982 cat conftest.$ac_ext >&5
15984 glibcpp_cv_func__finitef_use=no
15988 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15989 ac_cpp='$CPP $CPPFLAGS'
15990 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15991 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15992 cross_compiling=$ac_cv_prog_cc_cross
15998 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
16000 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
16001 for ac_func in _finitef
16003 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16004 echo "configure
:16005: checking
for $ac_func" >&5
16005 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16006 echo $ac_n "(cached
) $ac_c" 1>&6
16008 cat > conftest.$ac_ext <<EOF
16009 #line 16010 "configure
"
16010 #include "confdefs.h
"
16011 /* System header to define __stub macros and hopefully few prototypes,
16012 which can conflict with char $ac_func(); below. */
16013 #include <assert.h>
16014 /* Override any gcc2 internal prototype to avoid an error. */
16015 /* We use char because int might match the return type of a gcc2
16016 builtin and then its argument prototype would still apply. */
16021 /* The GNU C library defines this for functions which it implements
16022 to always fail with ENOSYS. Some functions are actually named
16023 something starting with __ and the normal name is an alias. */
16024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16032 if { (eval echo configure:16033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16034 eval "ac_cv_func_
$ac_func=yes"
16036 echo "configure
: failed program was
:" >&5
16037 cat conftest.$ac_ext >&5
16039 eval "ac_cv_func_
$ac_func=no
"
16044 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16045 echo "$ac_t""yes" 1>&6
16046 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16047 cat >> confdefs.h <<EOF
16048 #define $ac_tr_func 1
16052 echo "$ac_t""no
" 1>&6
16061 echo $ac_n "checking
for long double trig functions
""...
$ac_c" 1>&6
16062 echo "configure
:16063: checking
for long double trig functions
" >&5
16063 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
16064 echo $ac_n "(cached
) $ac_c" 1>&6
16069 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16070 ac_cpp='$CXXCPP $CPPFLAGS'
16071 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16072 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16073 cross_compiling=$ac_cv_prog_cxx_cross
16075 cat > conftest.$ac_ext <<EOF
16076 #line 16077 "configure
"
16077 #include "confdefs.h
"
16080 `for x in acosl asinl atanl \
16082 coshl sinhl tanhl; do echo "$x (0);"; done`
16085 if { (eval echo configure:16086: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16087 glibcpp_cv_func_long_double_trig_use=yes
16089 echo "configure
: failed program was
:" >&5
16090 cat conftest.$ac_ext >&5
16092 glibcpp_cv_func_long_double_trig_use=no
16096 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16097 ac_cpp='$CPP $CPPFLAGS'
16098 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16099 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16100 cross_compiling=$ac_cv_prog_cc_cross
16104 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
16105 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
16106 for ac_func in acosl asinl atanl \
16110 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16111 echo "configure
:16112: checking
for $ac_func" >&5
16112 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16113 echo $ac_n "(cached
) $ac_c" 1>&6
16115 cat > conftest.$ac_ext <<EOF
16116 #line 16117 "configure
"
16117 #include "confdefs.h
"
16118 /* System header to define __stub macros and hopefully few prototypes,
16119 which can conflict with char $ac_func(); below. */
16120 #include <assert.h>
16121 /* Override any gcc2 internal prototype to avoid an error. */
16122 /* We use char because int might match the return type of a gcc2
16123 builtin and then its argument prototype would still apply. */
16128 /* The GNU C library defines this for functions which it implements
16129 to always fail with ENOSYS. Some functions are actually named
16130 something starting with __ and the normal name is an alias. */
16131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16139 if { (eval echo configure:16140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16141 eval "ac_cv_func_
$ac_func=yes"
16143 echo "configure
: failed program was
:" >&5
16144 cat conftest.$ac_ext >&5
16146 eval "ac_cv_func_
$ac_func=no
"
16151 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16152 echo "$ac_t""yes" 1>&6
16153 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16154 cat >> confdefs.h <<EOF
16155 #define $ac_tr_func 1
16159 echo "$ac_t""no
" 1>&6
16166 echo $ac_n "checking
for long double round functions
""...
$ac_c" 1>&6
16167 echo "configure
:16168: checking
for long double round functions
" >&5
16168 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
16169 echo $ac_n "(cached
) $ac_c" 1>&6
16174 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16175 ac_cpp='$CXXCPP $CPPFLAGS'
16176 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16177 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16178 cross_compiling=$ac_cv_prog_cxx_cross
16180 cat > conftest.$ac_ext <<EOF
16181 #line 16182 "configure
"
16182 #include "confdefs.h
"
16185 `for x in ceill floorl; do echo "$x (0);"; done`
16188 if { (eval echo configure:16189: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16190 glibcpp_cv_func_long_double_round_use=yes
16192 echo "configure
: failed program was
:" >&5
16193 cat conftest.$ac_ext >&5
16195 glibcpp_cv_func_long_double_round_use=no
16199 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16200 ac_cpp='$CPP $CPPFLAGS'
16201 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16202 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16203 cross_compiling=$ac_cv_prog_cc_cross
16207 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
16208 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
16209 for ac_func in ceill floorl
16211 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16212 echo "configure
:16213: checking
for $ac_func" >&5
16213 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16214 echo $ac_n "(cached
) $ac_c" 1>&6
16216 cat > conftest.$ac_ext <<EOF
16217 #line 16218 "configure
"
16218 #include "confdefs.h
"
16219 /* System header to define __stub macros and hopefully few prototypes,
16220 which can conflict with char $ac_func(); below. */
16221 #include <assert.h>
16222 /* Override any gcc2 internal prototype to avoid an error. */
16223 /* We use char because int might match the return type of a gcc2
16224 builtin and then its argument prototype would still apply. */
16229 /* The GNU C library defines this for functions which it implements
16230 to always fail with ENOSYS. Some functions are actually named
16231 something starting with __ and the normal name is an alias. */
16232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16240 if { (eval echo configure:16241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16242 eval "ac_cv_func_
$ac_func=yes"
16244 echo "configure
: failed program was
:" >&5
16245 cat conftest.$ac_ext >&5
16247 eval "ac_cv_func_
$ac_func=no
"
16252 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16253 echo "$ac_t""yes" 1>&6
16254 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16255 cat >> confdefs.h <<EOF
16256 #define $ac_tr_func 1
16260 echo "$ac_t""no
" 1>&6
16268 echo $ac_n "checking
for isnanl declaration
""...
$ac_c" 1>&6
16269 echo "configure
:16270: checking
for isnanl declaration
" >&5
16270 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
16271 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
16272 echo $ac_n "(cached
) $ac_c" 1>&6
16277 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16278 ac_cpp='$CXXCPP $CPPFLAGS'
16279 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16280 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16281 cross_compiling=$ac_cv_prog_cxx_cross
16283 cat > conftest.$ac_ext <<EOF
16284 #line 16285 "configure
"
16285 #include "confdefs.h
"
16287 #ifdef HAVE_IEEEFP_H
16288 #include <ieeefp.h>
16295 if { (eval echo configure:16296: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16297 glibcpp_cv_func_isnanl_use=yes
16299 echo "configure
: failed program was
:" >&5
16300 cat conftest.$ac_ext >&5
16302 glibcpp_cv_func_isnanl_use=no
16306 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16307 ac_cpp='$CPP $CPPFLAGS'
16308 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16309 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16310 cross_compiling=$ac_cv_prog_cc_cross
16316 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
16318 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
16319 for ac_func in isnanl
16321 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16322 echo "configure
:16323: checking
for $ac_func" >&5
16323 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16324 echo $ac_n "(cached
) $ac_c" 1>&6
16326 cat > conftest.$ac_ext <<EOF
16327 #line 16328 "configure
"
16328 #include "confdefs.h
"
16329 /* System header to define __stub macros and hopefully few prototypes,
16330 which can conflict with char $ac_func(); below. */
16331 #include <assert.h>
16332 /* Override any gcc2 internal prototype to avoid an error. */
16333 /* We use char because int might match the return type of a gcc2
16334 builtin and then its argument prototype would still apply. */
16339 /* The GNU C library defines this for functions which it implements
16340 to always fail with ENOSYS. Some functions are actually named
16341 something starting with __ and the normal name is an alias. */
16342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16350 if { (eval echo configure:16351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16352 eval "ac_cv_func_
$ac_func=yes"
16354 echo "configure
: failed program was
:" >&5
16355 cat conftest.$ac_ext >&5
16357 eval "ac_cv_func_
$ac_func=no
"
16362 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16363 echo "$ac_t""yes" 1>&6
16364 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16365 cat >> confdefs.h <<EOF
16366 #define $ac_tr_func 1
16370 echo "$ac_t""no
" 1>&6
16376 echo $ac_n "checking
for _isnanl declaration
""...
$ac_c" 1>&6
16377 echo "configure
:16378: checking
for _isnanl declaration
" >&5
16378 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
16379 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
16380 echo $ac_n "(cached
) $ac_c" 1>&6
16385 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16386 ac_cpp='$CXXCPP $CPPFLAGS'
16387 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16388 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16389 cross_compiling=$ac_cv_prog_cxx_cross
16391 cat > conftest.$ac_ext <<EOF
16392 #line 16393 "configure
"
16393 #include "confdefs.h
"
16395 #ifdef HAVE_IEEEFP_H
16396 #include <ieeefp.h>
16403 if { (eval echo configure:16404: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16405 glibcpp_cv_func__isnanl_use=yes
16407 echo "configure
: failed program was
:" >&5
16408 cat conftest.$ac_ext >&5
16410 glibcpp_cv_func__isnanl_use=no
16414 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16415 ac_cpp='$CPP $CPPFLAGS'
16416 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16417 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16418 cross_compiling=$ac_cv_prog_cc_cross
16424 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
16426 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
16427 for ac_func in _isnanl
16429 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16430 echo "configure
:16431: checking
for $ac_func" >&5
16431 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16432 echo $ac_n "(cached
) $ac_c" 1>&6
16434 cat > conftest.$ac_ext <<EOF
16435 #line 16436 "configure
"
16436 #include "confdefs.h
"
16437 /* System header to define __stub macros and hopefully few prototypes,
16438 which can conflict with char $ac_func(); below. */
16439 #include <assert.h>
16440 /* Override any gcc2 internal prototype to avoid an error. */
16441 /* We use char because int might match the return type of a gcc2
16442 builtin and then its argument prototype would still apply. */
16447 /* The GNU C library defines this for functions which it implements
16448 to always fail with ENOSYS. Some functions are actually named
16449 something starting with __ and the normal name is an alias. */
16450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16458 if { (eval echo configure:16459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16460 eval "ac_cv_func_
$ac_func=yes"
16462 echo "configure
: failed program was
:" >&5
16463 cat conftest.$ac_ext >&5
16465 eval "ac_cv_func_
$ac_func=no
"
16470 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16471 echo "$ac_t""yes" 1>&6
16472 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16473 cat >> confdefs.h <<EOF
16474 #define $ac_tr_func 1
16478 echo "$ac_t""no
" 1>&6
16487 echo $ac_n "checking
for isinfl declaration
""...
$ac_c" 1>&6
16488 echo "configure
:16489: checking
for isinfl declaration
" >&5
16489 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
16490 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
16491 echo $ac_n "(cached
) $ac_c" 1>&6
16496 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16497 ac_cpp='$CXXCPP $CPPFLAGS'
16498 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16499 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16500 cross_compiling=$ac_cv_prog_cxx_cross
16502 cat > conftest.$ac_ext <<EOF
16503 #line 16504 "configure
"
16504 #include "confdefs.h
"
16506 #ifdef HAVE_IEEEFP_H
16507 #include <ieeefp.h>
16514 if { (eval echo configure:16515: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16516 glibcpp_cv_func_isinfl_use=yes
16518 echo "configure
: failed program was
:" >&5
16519 cat conftest.$ac_ext >&5
16521 glibcpp_cv_func_isinfl_use=no
16525 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16526 ac_cpp='$CPP $CPPFLAGS'
16527 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16528 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16529 cross_compiling=$ac_cv_prog_cc_cross
16535 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
16537 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
16538 for ac_func in isinfl
16540 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16541 echo "configure
:16542: checking
for $ac_func" >&5
16542 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16543 echo $ac_n "(cached
) $ac_c" 1>&6
16545 cat > conftest.$ac_ext <<EOF
16546 #line 16547 "configure
"
16547 #include "confdefs.h
"
16548 /* System header to define __stub macros and hopefully few prototypes,
16549 which can conflict with char $ac_func(); below. */
16550 #include <assert.h>
16551 /* Override any gcc2 internal prototype to avoid an error. */
16552 /* We use char because int might match the return type of a gcc2
16553 builtin and then its argument prototype would still apply. */
16558 /* The GNU C library defines this for functions which it implements
16559 to always fail with ENOSYS. Some functions are actually named
16560 something starting with __ and the normal name is an alias. */
16561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16569 if { (eval echo configure:16570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16571 eval "ac_cv_func_
$ac_func=yes"
16573 echo "configure
: failed program was
:" >&5
16574 cat conftest.$ac_ext >&5
16576 eval "ac_cv_func_
$ac_func=no
"
16581 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16582 echo "$ac_t""yes" 1>&6
16583 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16584 cat >> confdefs.h <<EOF
16585 #define $ac_tr_func 1
16589 echo "$ac_t""no
" 1>&6
16595 echo $ac_n "checking
for _isinfl declaration
""...
$ac_c" 1>&6
16596 echo "configure
:16597: checking
for _isinfl declaration
" >&5
16597 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
16598 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
16599 echo $ac_n "(cached
) $ac_c" 1>&6
16604 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16605 ac_cpp='$CXXCPP $CPPFLAGS'
16606 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16607 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16608 cross_compiling=$ac_cv_prog_cxx_cross
16610 cat > conftest.$ac_ext <<EOF
16611 #line 16612 "configure
"
16612 #include "confdefs.h
"
16614 #ifdef HAVE_IEEEFP_H
16615 #include <ieeefp.h>
16622 if { (eval echo configure:16623: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16624 glibcpp_cv_func__isinfl_use=yes
16626 echo "configure
: failed program was
:" >&5
16627 cat conftest.$ac_ext >&5
16629 glibcpp_cv_func__isinfl_use=no
16633 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16634 ac_cpp='$CPP $CPPFLAGS'
16635 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16636 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16637 cross_compiling=$ac_cv_prog_cc_cross
16643 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
16645 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
16646 for ac_func in _isinfl
16648 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16649 echo "configure
:16650: checking
for $ac_func" >&5
16650 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16651 echo $ac_n "(cached
) $ac_c" 1>&6
16653 cat > conftest.$ac_ext <<EOF
16654 #line 16655 "configure
"
16655 #include "confdefs.h
"
16656 /* System header to define __stub macros and hopefully few prototypes,
16657 which can conflict with char $ac_func(); below. */
16658 #include <assert.h>
16659 /* Override any gcc2 internal prototype to avoid an error. */
16660 /* We use char because int might match the return type of a gcc2
16661 builtin and then its argument prototype would still apply. */
16666 /* The GNU C library defines this for functions which it implements
16667 to always fail with ENOSYS. Some functions are actually named
16668 something starting with __ and the normal name is an alias. */
16669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16677 if { (eval echo configure:16678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16679 eval "ac_cv_func_
$ac_func=yes"
16681 echo "configure
: failed program was
:" >&5
16682 cat conftest.$ac_ext >&5
16684 eval "ac_cv_func_
$ac_func=no
"
16689 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16690 echo "$ac_t""yes" 1>&6
16691 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16692 cat >> confdefs.h <<EOF
16693 #define $ac_tr_func 1
16697 echo "$ac_t""no
" 1>&6
16706 echo $ac_n "checking
for copysignl declaration
""...
$ac_c" 1>&6
16707 echo "configure
:16708: checking
for copysignl declaration
" >&5
16708 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
16709 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
16710 echo $ac_n "(cached
) $ac_c" 1>&6
16715 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16716 ac_cpp='$CXXCPP $CPPFLAGS'
16717 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16718 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16719 cross_compiling=$ac_cv_prog_cxx_cross
16721 cat > conftest.$ac_ext <<EOF
16722 #line 16723 "configure
"
16723 #include "confdefs.h
"
16729 if { (eval echo configure:16730: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16731 glibcpp_cv_func_copysignl_use=yes
16733 echo "configure
: failed program was
:" >&5
16734 cat conftest.$ac_ext >&5
16736 glibcpp_cv_func_copysignl_use=no
16740 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16741 ac_cpp='$CPP $CPPFLAGS'
16742 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16743 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16744 cross_compiling=$ac_cv_prog_cc_cross
16750 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
16752 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
16753 for ac_func in copysignl
16755 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16756 echo "configure
:16757: checking
for $ac_func" >&5
16757 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16758 echo $ac_n "(cached
) $ac_c" 1>&6
16760 cat > conftest.$ac_ext <<EOF
16761 #line 16762 "configure
"
16762 #include "confdefs.h
"
16763 /* System header to define __stub macros and hopefully few prototypes,
16764 which can conflict with char $ac_func(); below. */
16765 #include <assert.h>
16766 /* Override any gcc2 internal prototype to avoid an error. */
16767 /* We use char because int might match the return type of a gcc2
16768 builtin and then its argument prototype would still apply. */
16773 /* The GNU C library defines this for functions which it implements
16774 to always fail with ENOSYS. Some functions are actually named
16775 something starting with __ and the normal name is an alias. */
16776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16784 if { (eval echo configure:16785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16786 eval "ac_cv_func_
$ac_func=yes"
16788 echo "configure
: failed program was
:" >&5
16789 cat conftest.$ac_ext >&5
16791 eval "ac_cv_func_
$ac_func=no
"
16796 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16797 echo "$ac_t""yes" 1>&6
16798 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16799 cat >> confdefs.h <<EOF
16800 #define $ac_tr_func 1
16804 echo "$ac_t""no
" 1>&6
16810 echo $ac_n "checking
for _copysignl declaration
""...
$ac_c" 1>&6
16811 echo "configure
:16812: checking
for _copysignl declaration
" >&5
16812 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
16813 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
16814 echo $ac_n "(cached
) $ac_c" 1>&6
16819 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16820 ac_cpp='$CXXCPP $CPPFLAGS'
16821 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16822 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16823 cross_compiling=$ac_cv_prog_cxx_cross
16825 cat > conftest.$ac_ext <<EOF
16826 #line 16827 "configure
"
16827 #include "confdefs.h
"
16833 if { (eval echo configure:16834: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16835 glibcpp_cv_func__copysignl_use=yes
16837 echo "configure
: failed program was
:" >&5
16838 cat conftest.$ac_ext >&5
16840 glibcpp_cv_func__copysignl_use=no
16844 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16845 ac_cpp='$CPP $CPPFLAGS'
16846 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16847 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16848 cross_compiling=$ac_cv_prog_cc_cross
16854 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
16856 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
16857 for ac_func in _copysignl
16859 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16860 echo "configure
:16861: checking
for $ac_func" >&5
16861 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16862 echo $ac_n "(cached
) $ac_c" 1>&6
16864 cat > conftest.$ac_ext <<EOF
16865 #line 16866 "configure
"
16866 #include "confdefs.h
"
16867 /* System header to define __stub macros and hopefully few prototypes,
16868 which can conflict with char $ac_func(); below. */
16869 #include <assert.h>
16870 /* Override any gcc2 internal prototype to avoid an error. */
16871 /* We use char because int might match the return type of a gcc2
16872 builtin and then its argument prototype would still apply. */
16877 /* The GNU C library defines this for functions which it implements
16878 to always fail with ENOSYS. Some functions are actually named
16879 something starting with __ and the normal name is an alias. */
16880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16888 if { (eval echo configure:16889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16890 eval "ac_cv_func_
$ac_func=yes"
16892 echo "configure
: failed program was
:" >&5
16893 cat conftest.$ac_ext >&5
16895 eval "ac_cv_func_
$ac_func=no
"
16900 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16901 echo "$ac_t""yes" 1>&6
16902 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16903 cat >> confdefs.h <<EOF
16904 #define $ac_tr_func 1
16908 echo "$ac_t""no
" 1>&6
16917 echo $ac_n "checking
for atan2l declaration
""...
$ac_c" 1>&6
16918 echo "configure
:16919: checking
for atan2l declaration
" >&5
16919 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
16920 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
16921 echo $ac_n "(cached
) $ac_c" 1>&6
16926 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16927 ac_cpp='$CXXCPP $CPPFLAGS'
16928 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16929 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16930 cross_compiling=$ac_cv_prog_cxx_cross
16932 cat > conftest.$ac_ext <<EOF
16933 #line 16934 "configure
"
16934 #include "confdefs.h
"
16940 if { (eval echo configure:16941: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16942 glibcpp_cv_func_atan2l_use=yes
16944 echo "configure
: failed program was
:" >&5
16945 cat conftest.$ac_ext >&5
16947 glibcpp_cv_func_atan2l_use=no
16951 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16952 ac_cpp='$CPP $CPPFLAGS'
16953 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16954 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16955 cross_compiling=$ac_cv_prog_cc_cross
16961 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
16963 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
16964 for ac_func in atan2l
16966 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16967 echo "configure
:16968: checking
for $ac_func" >&5
16968 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16969 echo $ac_n "(cached
) $ac_c" 1>&6
16971 cat > conftest.$ac_ext <<EOF
16972 #line 16973 "configure
"
16973 #include "confdefs.h
"
16974 /* System header to define __stub macros and hopefully few prototypes,
16975 which can conflict with char $ac_func(); below. */
16976 #include <assert.h>
16977 /* Override any gcc2 internal prototype to avoid an error. */
16978 /* We use char because int might match the return type of a gcc2
16979 builtin and then its argument prototype would still apply. */
16984 /* The GNU C library defines this for functions which it implements
16985 to always fail with ENOSYS. Some functions are actually named
16986 something starting with __ and the normal name is an alias. */
16987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16995 if { (eval echo configure:16996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16997 eval "ac_cv_func_
$ac_func=yes"
16999 echo "configure
: failed program was
:" >&5
17000 cat conftest.$ac_ext >&5
17002 eval "ac_cv_func_
$ac_func=no
"
17007 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17008 echo "$ac_t""yes" 1>&6
17009 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17010 cat >> confdefs.h <<EOF
17011 #define $ac_tr_func 1
17015 echo "$ac_t""no
" 1>&6
17021 echo $ac_n "checking
for _atan2l declaration
""...
$ac_c" 1>&6
17022 echo "configure
:17023: checking
for _atan2l declaration
" >&5
17023 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
17024 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
17025 echo $ac_n "(cached
) $ac_c" 1>&6
17030 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17031 ac_cpp='$CXXCPP $CPPFLAGS'
17032 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17033 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17034 cross_compiling=$ac_cv_prog_cxx_cross
17036 cat > conftest.$ac_ext <<EOF
17037 #line 17038 "configure
"
17038 #include "confdefs.h
"
17044 if { (eval echo configure:17045: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17046 glibcpp_cv_func__atan2l_use=yes
17048 echo "configure
: failed program was
:" >&5
17049 cat conftest.$ac_ext >&5
17051 glibcpp_cv_func__atan2l_use=no
17055 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17056 ac_cpp='$CPP $CPPFLAGS'
17057 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17058 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17059 cross_compiling=$ac_cv_prog_cc_cross
17065 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
17067 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
17068 for ac_func in _atan2l
17070 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17071 echo "configure
:17072: checking
for $ac_func" >&5
17072 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17073 echo $ac_n "(cached
) $ac_c" 1>&6
17075 cat > conftest.$ac_ext <<EOF
17076 #line 17077 "configure
"
17077 #include "confdefs.h
"
17078 /* System header to define __stub macros and hopefully few prototypes,
17079 which can conflict with char $ac_func(); below. */
17080 #include <assert.h>
17081 /* Override any gcc2 internal prototype to avoid an error. */
17082 /* We use char because int might match the return type of a gcc2
17083 builtin and then its argument prototype would still apply. */
17088 /* The GNU C library defines this for functions which it implements
17089 to always fail with ENOSYS. Some functions are actually named
17090 something starting with __ and the normal name is an alias. */
17091 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17099 if { (eval echo configure:17100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17101 eval "ac_cv_func_
$ac_func=yes"
17103 echo "configure
: failed program was
:" >&5
17104 cat conftest.$ac_ext >&5
17106 eval "ac_cv_func_
$ac_func=no
"
17111 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17112 echo "$ac_t""yes" 1>&6
17113 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17114 cat >> confdefs.h <<EOF
17115 #define $ac_tr_func 1
17119 echo "$ac_t""no
" 1>&6
17128 echo $ac_n "checking
for expl declaration
""...
$ac_c" 1>&6
17129 echo "configure
:17130: checking
for expl declaration
" >&5
17130 if test x${glibcpp_cv_func_expl_use+set} != xset; then
17131 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
17132 echo $ac_n "(cached
) $ac_c" 1>&6
17137 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17138 ac_cpp='$CXXCPP $CPPFLAGS'
17139 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17140 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17141 cross_compiling=$ac_cv_prog_cxx_cross
17143 cat > conftest.$ac_ext <<EOF
17144 #line 17145 "configure
"
17145 #include "confdefs.h
"
17147 #ifdef HAVE_IEEEFP_H
17148 #include <ieeefp.h>
17155 if { (eval echo configure:17156: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17157 glibcpp_cv_func_expl_use=yes
17159 echo "configure
: failed program was
:" >&5
17160 cat conftest.$ac_ext >&5
17162 glibcpp_cv_func_expl_use=no
17166 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17167 ac_cpp='$CPP $CPPFLAGS'
17168 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17169 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17170 cross_compiling=$ac_cv_prog_cc_cross
17176 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
17178 if test x$glibcpp_cv_func_expl_use = x"yes"; then
17179 for ac_func in expl
17181 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17182 echo "configure
:17183: checking
for $ac_func" >&5
17183 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17184 echo $ac_n "(cached
) $ac_c" 1>&6
17186 cat > conftest.$ac_ext <<EOF
17187 #line 17188 "configure
"
17188 #include "confdefs.h
"
17189 /* System header to define __stub macros and hopefully few prototypes,
17190 which can conflict with char $ac_func(); below. */
17191 #include <assert.h>
17192 /* Override any gcc2 internal prototype to avoid an error. */
17193 /* We use char because int might match the return type of a gcc2
17194 builtin and then its argument prototype would still apply. */
17199 /* The GNU C library defines this for functions which it implements
17200 to always fail with ENOSYS. Some functions are actually named
17201 something starting with __ and the normal name is an alias. */
17202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17210 if { (eval echo configure:17211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17212 eval "ac_cv_func_
$ac_func=yes"
17214 echo "configure
: failed program was
:" >&5
17215 cat conftest.$ac_ext >&5
17217 eval "ac_cv_func_
$ac_func=no
"
17222 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17223 echo "$ac_t""yes" 1>&6
17224 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17225 cat >> confdefs.h <<EOF
17226 #define $ac_tr_func 1
17230 echo "$ac_t""no
" 1>&6
17236 echo $ac_n "checking
for _expl declaration
""...
$ac_c" 1>&6
17237 echo "configure
:17238: checking
for _expl declaration
" >&5
17238 if test x${glibcpp_cv_func__expl_use+set} != xset; then
17239 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
17240 echo $ac_n "(cached
) $ac_c" 1>&6
17245 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17246 ac_cpp='$CXXCPP $CPPFLAGS'
17247 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17248 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17249 cross_compiling=$ac_cv_prog_cxx_cross
17251 cat > conftest.$ac_ext <<EOF
17252 #line 17253 "configure
"
17253 #include "confdefs.h
"
17255 #ifdef HAVE_IEEEFP_H
17256 #include <ieeefp.h>
17263 if { (eval echo configure:17264: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17265 glibcpp_cv_func__expl_use=yes
17267 echo "configure
: failed program was
:" >&5
17268 cat conftest.$ac_ext >&5
17270 glibcpp_cv_func__expl_use=no
17274 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17275 ac_cpp='$CPP $CPPFLAGS'
17276 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17277 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17278 cross_compiling=$ac_cv_prog_cc_cross
17284 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
17286 if test x$glibcpp_cv_func__expl_use = x"yes"; then
17287 for ac_func in _expl
17289 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17290 echo "configure
:17291: checking
for $ac_func" >&5
17291 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17292 echo $ac_n "(cached
) $ac_c" 1>&6
17294 cat > conftest.$ac_ext <<EOF
17295 #line 17296 "configure
"
17296 #include "confdefs.h
"
17297 /* System header to define __stub macros and hopefully few prototypes,
17298 which can conflict with char $ac_func(); below. */
17299 #include <assert.h>
17300 /* Override any gcc2 internal prototype to avoid an error. */
17301 /* We use char because int might match the return type of a gcc2
17302 builtin and then its argument prototype would still apply. */
17307 /* The GNU C library defines this for functions which it implements
17308 to always fail with ENOSYS. Some functions are actually named
17309 something starting with __ and the normal name is an alias. */
17310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17318 if { (eval echo configure:17319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17320 eval "ac_cv_func_
$ac_func=yes"
17322 echo "configure
: failed program was
:" >&5
17323 cat conftest.$ac_ext >&5
17325 eval "ac_cv_func_
$ac_func=no
"
17330 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17331 echo "$ac_t""yes" 1>&6
17332 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17333 cat >> confdefs.h <<EOF
17334 #define $ac_tr_func 1
17338 echo "$ac_t""no
" 1>&6
17347 echo $ac_n "checking
for fabsl declaration
""...
$ac_c" 1>&6
17348 echo "configure
:17349: checking
for fabsl declaration
" >&5
17349 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
17350 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
17351 echo $ac_n "(cached
) $ac_c" 1>&6
17356 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17357 ac_cpp='$CXXCPP $CPPFLAGS'
17358 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17359 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17360 cross_compiling=$ac_cv_prog_cxx_cross
17362 cat > conftest.$ac_ext <<EOF
17363 #line 17364 "configure
"
17364 #include "confdefs.h
"
17366 #ifdef HAVE_IEEEFP_H
17367 #include <ieeefp.h>
17374 if { (eval echo configure:17375: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17376 glibcpp_cv_func_fabsl_use=yes
17378 echo "configure
: failed program was
:" >&5
17379 cat conftest.$ac_ext >&5
17381 glibcpp_cv_func_fabsl_use=no
17385 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17386 ac_cpp='$CPP $CPPFLAGS'
17387 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17388 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17389 cross_compiling=$ac_cv_prog_cc_cross
17395 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
17397 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
17398 for ac_func in fabsl
17400 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17401 echo "configure
:17402: checking
for $ac_func" >&5
17402 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17403 echo $ac_n "(cached
) $ac_c" 1>&6
17405 cat > conftest.$ac_ext <<EOF
17406 #line 17407 "configure
"
17407 #include "confdefs.h
"
17408 /* System header to define __stub macros and hopefully few prototypes,
17409 which can conflict with char $ac_func(); below. */
17410 #include <assert.h>
17411 /* Override any gcc2 internal prototype to avoid an error. */
17412 /* We use char because int might match the return type of a gcc2
17413 builtin and then its argument prototype would still apply. */
17418 /* The GNU C library defines this for functions which it implements
17419 to always fail with ENOSYS. Some functions are actually named
17420 something starting with __ and the normal name is an alias. */
17421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17429 if { (eval echo configure:17430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17431 eval "ac_cv_func_
$ac_func=yes"
17433 echo "configure
: failed program was
:" >&5
17434 cat conftest.$ac_ext >&5
17436 eval "ac_cv_func_
$ac_func=no
"
17441 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17442 echo "$ac_t""yes" 1>&6
17443 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17444 cat >> confdefs.h <<EOF
17445 #define $ac_tr_func 1
17449 echo "$ac_t""no
" 1>&6
17455 echo $ac_n "checking
for _fabsl declaration
""...
$ac_c" 1>&6
17456 echo "configure
:17457: checking
for _fabsl declaration
" >&5
17457 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
17458 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
17459 echo $ac_n "(cached
) $ac_c" 1>&6
17464 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17465 ac_cpp='$CXXCPP $CPPFLAGS'
17466 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17467 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17468 cross_compiling=$ac_cv_prog_cxx_cross
17470 cat > conftest.$ac_ext <<EOF
17471 #line 17472 "configure
"
17472 #include "confdefs.h
"
17474 #ifdef HAVE_IEEEFP_H
17475 #include <ieeefp.h>
17482 if { (eval echo configure:17483: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17484 glibcpp_cv_func__fabsl_use=yes
17486 echo "configure
: failed program was
:" >&5
17487 cat conftest.$ac_ext >&5
17489 glibcpp_cv_func__fabsl_use=no
17493 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17494 ac_cpp='$CPP $CPPFLAGS'
17495 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17496 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17497 cross_compiling=$ac_cv_prog_cc_cross
17503 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
17505 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
17506 for ac_func in _fabsl
17508 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17509 echo "configure
:17510: checking
for $ac_func" >&5
17510 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17511 echo $ac_n "(cached
) $ac_c" 1>&6
17513 cat > conftest.$ac_ext <<EOF
17514 #line 17515 "configure
"
17515 #include "confdefs.h
"
17516 /* System header to define __stub macros and hopefully few prototypes,
17517 which can conflict with char $ac_func(); below. */
17518 #include <assert.h>
17519 /* Override any gcc2 internal prototype to avoid an error. */
17520 /* We use char because int might match the return type of a gcc2
17521 builtin and then its argument prototype would still apply. */
17526 /* The GNU C library defines this for functions which it implements
17527 to always fail with ENOSYS. Some functions are actually named
17528 something starting with __ and the normal name is an alias. */
17529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17537 if { (eval echo configure:17538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17539 eval "ac_cv_func_
$ac_func=yes"
17541 echo "configure
: failed program was
:" >&5
17542 cat conftest.$ac_ext >&5
17544 eval "ac_cv_func_
$ac_func=no
"
17549 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17550 echo "$ac_t""yes" 1>&6
17551 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17552 cat >> confdefs.h <<EOF
17553 #define $ac_tr_func 1
17557 echo "$ac_t""no
" 1>&6
17566 echo $ac_n "checking
for fmodl declaration
""...
$ac_c" 1>&6
17567 echo "configure
:17568: checking
for fmodl declaration
" >&5
17568 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
17569 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
17570 echo $ac_n "(cached
) $ac_c" 1>&6
17575 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17576 ac_cpp='$CXXCPP $CPPFLAGS'
17577 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17578 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17579 cross_compiling=$ac_cv_prog_cxx_cross
17581 cat > conftest.$ac_ext <<EOF
17582 #line 17583 "configure
"
17583 #include "confdefs.h
"
17589 if { (eval echo configure:17590: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17591 glibcpp_cv_func_fmodl_use=yes
17593 echo "configure
: failed program was
:" >&5
17594 cat conftest.$ac_ext >&5
17596 glibcpp_cv_func_fmodl_use=no
17600 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17601 ac_cpp='$CPP $CPPFLAGS'
17602 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17603 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17604 cross_compiling=$ac_cv_prog_cc_cross
17610 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
17612 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
17613 for ac_func in fmodl
17615 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17616 echo "configure
:17617: checking
for $ac_func" >&5
17617 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17618 echo $ac_n "(cached
) $ac_c" 1>&6
17620 cat > conftest.$ac_ext <<EOF
17621 #line 17622 "configure
"
17622 #include "confdefs.h
"
17623 /* System header to define __stub macros and hopefully few prototypes,
17624 which can conflict with char $ac_func(); below. */
17625 #include <assert.h>
17626 /* Override any gcc2 internal prototype to avoid an error. */
17627 /* We use char because int might match the return type of a gcc2
17628 builtin and then its argument prototype would still apply. */
17633 /* The GNU C library defines this for functions which it implements
17634 to always fail with ENOSYS. Some functions are actually named
17635 something starting with __ and the normal name is an alias. */
17636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17644 if { (eval echo configure:17645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17646 eval "ac_cv_func_
$ac_func=yes"
17648 echo "configure
: failed program was
:" >&5
17649 cat conftest.$ac_ext >&5
17651 eval "ac_cv_func_
$ac_func=no
"
17656 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17657 echo "$ac_t""yes" 1>&6
17658 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17659 cat >> confdefs.h <<EOF
17660 #define $ac_tr_func 1
17664 echo "$ac_t""no
" 1>&6
17670 echo $ac_n "checking
for _fmodl declaration
""...
$ac_c" 1>&6
17671 echo "configure
:17672: checking
for _fmodl declaration
" >&5
17672 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
17673 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
17674 echo $ac_n "(cached
) $ac_c" 1>&6
17679 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17680 ac_cpp='$CXXCPP $CPPFLAGS'
17681 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17682 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17683 cross_compiling=$ac_cv_prog_cxx_cross
17685 cat > conftest.$ac_ext <<EOF
17686 #line 17687 "configure
"
17687 #include "confdefs.h
"
17693 if { (eval echo configure:17694: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17695 glibcpp_cv_func__fmodl_use=yes
17697 echo "configure
: failed program was
:" >&5
17698 cat conftest.$ac_ext >&5
17700 glibcpp_cv_func__fmodl_use=no
17704 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17705 ac_cpp='$CPP $CPPFLAGS'
17706 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17707 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17708 cross_compiling=$ac_cv_prog_cc_cross
17714 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
17716 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
17717 for ac_func in _fmodl
17719 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17720 echo "configure
:17721: checking
for $ac_func" >&5
17721 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17722 echo $ac_n "(cached
) $ac_c" 1>&6
17724 cat > conftest.$ac_ext <<EOF
17725 #line 17726 "configure
"
17726 #include "confdefs.h
"
17727 /* System header to define __stub macros and hopefully few prototypes,
17728 which can conflict with char $ac_func(); below. */
17729 #include <assert.h>
17730 /* Override any gcc2 internal prototype to avoid an error. */
17731 /* We use char because int might match the return type of a gcc2
17732 builtin and then its argument prototype would still apply. */
17737 /* The GNU C library defines this for functions which it implements
17738 to always fail with ENOSYS. Some functions are actually named
17739 something starting with __ and the normal name is an alias. */
17740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17748 if { (eval echo configure:17749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17750 eval "ac_cv_func_
$ac_func=yes"
17752 echo "configure
: failed program was
:" >&5
17753 cat conftest.$ac_ext >&5
17755 eval "ac_cv_func_
$ac_func=no
"
17760 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17761 echo "$ac_t""yes" 1>&6
17762 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17763 cat >> confdefs.h <<EOF
17764 #define $ac_tr_func 1
17768 echo "$ac_t""no
" 1>&6
17777 echo $ac_n "checking
for frexpl declaration
""...
$ac_c" 1>&6
17778 echo "configure
:17779: checking
for frexpl declaration
" >&5
17779 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
17780 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
17781 echo $ac_n "(cached
) $ac_c" 1>&6
17786 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17787 ac_cpp='$CXXCPP $CPPFLAGS'
17788 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17789 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17790 cross_compiling=$ac_cv_prog_cxx_cross
17792 cat > conftest.$ac_ext <<EOF
17793 #line 17794 "configure
"
17794 #include "confdefs.h
"
17800 if { (eval echo configure:17801: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17802 glibcpp_cv_func_frexpl_use=yes
17804 echo "configure
: failed program was
:" >&5
17805 cat conftest.$ac_ext >&5
17807 glibcpp_cv_func_frexpl_use=no
17811 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17812 ac_cpp='$CPP $CPPFLAGS'
17813 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17814 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17815 cross_compiling=$ac_cv_prog_cc_cross
17821 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
17823 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
17824 for ac_func in frexpl
17826 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17827 echo "configure
:17828: checking
for $ac_func" >&5
17828 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17829 echo $ac_n "(cached
) $ac_c" 1>&6
17831 cat > conftest.$ac_ext <<EOF
17832 #line 17833 "configure
"
17833 #include "confdefs.h
"
17834 /* System header to define __stub macros and hopefully few prototypes,
17835 which can conflict with char $ac_func(); below. */
17836 #include <assert.h>
17837 /* Override any gcc2 internal prototype to avoid an error. */
17838 /* We use char because int might match the return type of a gcc2
17839 builtin and then its argument prototype would still apply. */
17844 /* The GNU C library defines this for functions which it implements
17845 to always fail with ENOSYS. Some functions are actually named
17846 something starting with __ and the normal name is an alias. */
17847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17855 if { (eval echo configure:17856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17857 eval "ac_cv_func_
$ac_func=yes"
17859 echo "configure
: failed program was
:" >&5
17860 cat conftest.$ac_ext >&5
17862 eval "ac_cv_func_
$ac_func=no
"
17867 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17868 echo "$ac_t""yes" 1>&6
17869 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17870 cat >> confdefs.h <<EOF
17871 #define $ac_tr_func 1
17875 echo "$ac_t""no
" 1>&6
17881 echo $ac_n "checking
for _frexpl declaration
""...
$ac_c" 1>&6
17882 echo "configure
:17883: checking
for _frexpl declaration
" >&5
17883 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
17884 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
17885 echo $ac_n "(cached
) $ac_c" 1>&6
17890 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17891 ac_cpp='$CXXCPP $CPPFLAGS'
17892 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17893 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17894 cross_compiling=$ac_cv_prog_cxx_cross
17896 cat > conftest.$ac_ext <<EOF
17897 #line 17898 "configure
"
17898 #include "confdefs.h
"
17904 if { (eval echo configure:17905: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17906 glibcpp_cv_func__frexpl_use=yes
17908 echo "configure
: failed program was
:" >&5
17909 cat conftest.$ac_ext >&5
17911 glibcpp_cv_func__frexpl_use=no
17915 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17916 ac_cpp='$CPP $CPPFLAGS'
17917 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17918 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17919 cross_compiling=$ac_cv_prog_cc_cross
17925 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
17927 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
17928 for ac_func in _frexpl
17930 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17931 echo "configure
:17932: checking
for $ac_func" >&5
17932 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17933 echo $ac_n "(cached
) $ac_c" 1>&6
17935 cat > conftest.$ac_ext <<EOF
17936 #line 17937 "configure
"
17937 #include "confdefs.h
"
17938 /* System header to define __stub macros and hopefully few prototypes,
17939 which can conflict with char $ac_func(); below. */
17940 #include <assert.h>
17941 /* Override any gcc2 internal prototype to avoid an error. */
17942 /* We use char because int might match the return type of a gcc2
17943 builtin and then its argument prototype would still apply. */
17948 /* The GNU C library defines this for functions which it implements
17949 to always fail with ENOSYS. Some functions are actually named
17950 something starting with __ and the normal name is an alias. */
17951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17959 if { (eval echo configure:17960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17961 eval "ac_cv_func_
$ac_func=yes"
17963 echo "configure
: failed program was
:" >&5
17964 cat conftest.$ac_ext >&5
17966 eval "ac_cv_func_
$ac_func=no
"
17971 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17972 echo "$ac_t""yes" 1>&6
17973 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17974 cat >> confdefs.h <<EOF
17975 #define $ac_tr_func 1
17979 echo "$ac_t""no
" 1>&6
17988 echo $ac_n "checking
for hypotl declaration
""...
$ac_c" 1>&6
17989 echo "configure
:17990: checking
for hypotl declaration
" >&5
17990 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
17991 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
17992 echo $ac_n "(cached
) $ac_c" 1>&6
17997 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17998 ac_cpp='$CXXCPP $CPPFLAGS'
17999 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18000 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18001 cross_compiling=$ac_cv_prog_cxx_cross
18003 cat > conftest.$ac_ext <<EOF
18004 #line 18005 "configure
"
18005 #include "confdefs.h
"
18011 if { (eval echo configure:18012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18013 glibcpp_cv_func_hypotl_use=yes
18015 echo "configure
: failed program was
:" >&5
18016 cat conftest.$ac_ext >&5
18018 glibcpp_cv_func_hypotl_use=no
18022 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18023 ac_cpp='$CPP $CPPFLAGS'
18024 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18025 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18026 cross_compiling=$ac_cv_prog_cc_cross
18032 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
18034 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
18035 for ac_func in hypotl
18037 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18038 echo "configure
:18039: checking
for $ac_func" >&5
18039 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18040 echo $ac_n "(cached
) $ac_c" 1>&6
18042 cat > conftest.$ac_ext <<EOF
18043 #line 18044 "configure
"
18044 #include "confdefs.h
"
18045 /* System header to define __stub macros and hopefully few prototypes,
18046 which can conflict with char $ac_func(); below. */
18047 #include <assert.h>
18048 /* Override any gcc2 internal prototype to avoid an error. */
18049 /* We use char because int might match the return type of a gcc2
18050 builtin and then its argument prototype would still apply. */
18055 /* The GNU C library defines this for functions which it implements
18056 to always fail with ENOSYS. Some functions are actually named
18057 something starting with __ and the normal name is an alias. */
18058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18066 if { (eval echo configure:18067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18068 eval "ac_cv_func_
$ac_func=yes"
18070 echo "configure
: failed program was
:" >&5
18071 cat conftest.$ac_ext >&5
18073 eval "ac_cv_func_
$ac_func=no
"
18078 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18079 echo "$ac_t""yes" 1>&6
18080 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18081 cat >> confdefs.h <<EOF
18082 #define $ac_tr_func 1
18086 echo "$ac_t""no
" 1>&6
18092 echo $ac_n "checking
for _hypotl declaration
""...
$ac_c" 1>&6
18093 echo "configure
:18094: checking
for _hypotl declaration
" >&5
18094 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
18095 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
18096 echo $ac_n "(cached
) $ac_c" 1>&6
18101 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18102 ac_cpp='$CXXCPP $CPPFLAGS'
18103 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18104 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18105 cross_compiling=$ac_cv_prog_cxx_cross
18107 cat > conftest.$ac_ext <<EOF
18108 #line 18109 "configure
"
18109 #include "confdefs.h
"
18115 if { (eval echo configure:18116: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18117 glibcpp_cv_func__hypotl_use=yes
18119 echo "configure
: failed program was
:" >&5
18120 cat conftest.$ac_ext >&5
18122 glibcpp_cv_func__hypotl_use=no
18126 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18127 ac_cpp='$CPP $CPPFLAGS'
18128 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18129 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18130 cross_compiling=$ac_cv_prog_cc_cross
18136 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
18138 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
18139 for ac_func in _hypotl
18141 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18142 echo "configure
:18143: checking
for $ac_func" >&5
18143 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18144 echo $ac_n "(cached
) $ac_c" 1>&6
18146 cat > conftest.$ac_ext <<EOF
18147 #line 18148 "configure
"
18148 #include "confdefs.h
"
18149 /* System header to define __stub macros and hopefully few prototypes,
18150 which can conflict with char $ac_func(); below. */
18151 #include <assert.h>
18152 /* Override any gcc2 internal prototype to avoid an error. */
18153 /* We use char because int might match the return type of a gcc2
18154 builtin and then its argument prototype would still apply. */
18159 /* The GNU C library defines this for functions which it implements
18160 to always fail with ENOSYS. Some functions are actually named
18161 something starting with __ and the normal name is an alias. */
18162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18170 if { (eval echo configure:18171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18172 eval "ac_cv_func_
$ac_func=yes"
18174 echo "configure
: failed program was
:" >&5
18175 cat conftest.$ac_ext >&5
18177 eval "ac_cv_func_
$ac_func=no
"
18182 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18183 echo "$ac_t""yes" 1>&6
18184 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18185 cat >> confdefs.h <<EOF
18186 #define $ac_tr_func 1
18190 echo "$ac_t""no
" 1>&6
18199 echo $ac_n "checking
for ldexpl declaration
""...
$ac_c" 1>&6
18200 echo "configure
:18201: checking
for ldexpl declaration
" >&5
18201 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
18202 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
18203 echo $ac_n "(cached
) $ac_c" 1>&6
18208 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18209 ac_cpp='$CXXCPP $CPPFLAGS'
18210 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18211 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18212 cross_compiling=$ac_cv_prog_cxx_cross
18214 cat > conftest.$ac_ext <<EOF
18215 #line 18216 "configure
"
18216 #include "confdefs.h
"
18222 if { (eval echo configure:18223: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18224 glibcpp_cv_func_ldexpl_use=yes
18226 echo "configure
: failed program was
:" >&5
18227 cat conftest.$ac_ext >&5
18229 glibcpp_cv_func_ldexpl_use=no
18233 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18234 ac_cpp='$CPP $CPPFLAGS'
18235 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18236 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18237 cross_compiling=$ac_cv_prog_cc_cross
18243 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
18245 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
18246 for ac_func in ldexpl
18248 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18249 echo "configure
:18250: checking
for $ac_func" >&5
18250 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18251 echo $ac_n "(cached
) $ac_c" 1>&6
18253 cat > conftest.$ac_ext <<EOF
18254 #line 18255 "configure
"
18255 #include "confdefs.h
"
18256 /* System header to define __stub macros and hopefully few prototypes,
18257 which can conflict with char $ac_func(); below. */
18258 #include <assert.h>
18259 /* Override any gcc2 internal prototype to avoid an error. */
18260 /* We use char because int might match the return type of a gcc2
18261 builtin and then its argument prototype would still apply. */
18266 /* The GNU C library defines this for functions which it implements
18267 to always fail with ENOSYS. Some functions are actually named
18268 something starting with __ and the normal name is an alias. */
18269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18277 if { (eval echo configure:18278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18279 eval "ac_cv_func_
$ac_func=yes"
18281 echo "configure
: failed program was
:" >&5
18282 cat conftest.$ac_ext >&5
18284 eval "ac_cv_func_
$ac_func=no
"
18289 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18290 echo "$ac_t""yes" 1>&6
18291 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18292 cat >> confdefs.h <<EOF
18293 #define $ac_tr_func 1
18297 echo "$ac_t""no
" 1>&6
18303 echo $ac_n "checking
for _ldexpl declaration
""...
$ac_c" 1>&6
18304 echo "configure
:18305: checking
for _ldexpl declaration
" >&5
18305 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
18306 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
18307 echo $ac_n "(cached
) $ac_c" 1>&6
18312 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18313 ac_cpp='$CXXCPP $CPPFLAGS'
18314 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18315 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18316 cross_compiling=$ac_cv_prog_cxx_cross
18318 cat > conftest.$ac_ext <<EOF
18319 #line 18320 "configure
"
18320 #include "confdefs.h
"
18326 if { (eval echo configure:18327: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18328 glibcpp_cv_func__ldexpl_use=yes
18330 echo "configure
: failed program was
:" >&5
18331 cat conftest.$ac_ext >&5
18333 glibcpp_cv_func__ldexpl_use=no
18337 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18338 ac_cpp='$CPP $CPPFLAGS'
18339 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18340 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18341 cross_compiling=$ac_cv_prog_cc_cross
18347 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
18349 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
18350 for ac_func in _ldexpl
18352 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18353 echo "configure
:18354: checking
for $ac_func" >&5
18354 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18355 echo $ac_n "(cached
) $ac_c" 1>&6
18357 cat > conftest.$ac_ext <<EOF
18358 #line 18359 "configure
"
18359 #include "confdefs.h
"
18360 /* System header to define __stub macros and hopefully few prototypes,
18361 which can conflict with char $ac_func(); below. */
18362 #include <assert.h>
18363 /* Override any gcc2 internal prototype to avoid an error. */
18364 /* We use char because int might match the return type of a gcc2
18365 builtin and then its argument prototype would still apply. */
18370 /* The GNU C library defines this for functions which it implements
18371 to always fail with ENOSYS. Some functions are actually named
18372 something starting with __ and the normal name is an alias. */
18373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18381 if { (eval echo configure:18382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18383 eval "ac_cv_func_
$ac_func=yes"
18385 echo "configure
: failed program was
:" >&5
18386 cat conftest.$ac_ext >&5
18388 eval "ac_cv_func_
$ac_func=no
"
18393 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18394 echo "$ac_t""yes" 1>&6
18395 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18396 cat >> confdefs.h <<EOF
18397 #define $ac_tr_func 1
18401 echo "$ac_t""no
" 1>&6
18410 echo $ac_n "checking
for logl declaration
""...
$ac_c" 1>&6
18411 echo "configure
:18412: checking
for logl declaration
" >&5
18412 if test x${glibcpp_cv_func_logl_use+set} != xset; then
18413 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
18414 echo $ac_n "(cached
) $ac_c" 1>&6
18419 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18420 ac_cpp='$CXXCPP $CPPFLAGS'
18421 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18422 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18423 cross_compiling=$ac_cv_prog_cxx_cross
18425 cat > conftest.$ac_ext <<EOF
18426 #line 18427 "configure
"
18427 #include "confdefs.h
"
18429 #ifdef HAVE_IEEEFP_H
18430 #include <ieeefp.h>
18437 if { (eval echo configure:18438: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18439 glibcpp_cv_func_logl_use=yes
18441 echo "configure
: failed program was
:" >&5
18442 cat conftest.$ac_ext >&5
18444 glibcpp_cv_func_logl_use=no
18448 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18449 ac_cpp='$CPP $CPPFLAGS'
18450 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18451 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18452 cross_compiling=$ac_cv_prog_cc_cross
18458 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
18460 if test x$glibcpp_cv_func_logl_use = x"yes"; then
18461 for ac_func in logl
18463 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18464 echo "configure
:18465: checking
for $ac_func" >&5
18465 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18466 echo $ac_n "(cached
) $ac_c" 1>&6
18468 cat > conftest.$ac_ext <<EOF
18469 #line 18470 "configure
"
18470 #include "confdefs.h
"
18471 /* System header to define __stub macros and hopefully few prototypes,
18472 which can conflict with char $ac_func(); below. */
18473 #include <assert.h>
18474 /* Override any gcc2 internal prototype to avoid an error. */
18475 /* We use char because int might match the return type of a gcc2
18476 builtin and then its argument prototype would still apply. */
18481 /* The GNU C library defines this for functions which it implements
18482 to always fail with ENOSYS. Some functions are actually named
18483 something starting with __ and the normal name is an alias. */
18484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18492 if { (eval echo configure:18493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18494 eval "ac_cv_func_
$ac_func=yes"
18496 echo "configure
: failed program was
:" >&5
18497 cat conftest.$ac_ext >&5
18499 eval "ac_cv_func_
$ac_func=no
"
18504 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18505 echo "$ac_t""yes" 1>&6
18506 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18507 cat >> confdefs.h <<EOF
18508 #define $ac_tr_func 1
18512 echo "$ac_t""no
" 1>&6
18518 echo $ac_n "checking
for _logl declaration
""...
$ac_c" 1>&6
18519 echo "configure
:18520: checking
for _logl declaration
" >&5
18520 if test x${glibcpp_cv_func__logl_use+set} != xset; then
18521 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
18522 echo $ac_n "(cached
) $ac_c" 1>&6
18527 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18528 ac_cpp='$CXXCPP $CPPFLAGS'
18529 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18530 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18531 cross_compiling=$ac_cv_prog_cxx_cross
18533 cat > conftest.$ac_ext <<EOF
18534 #line 18535 "configure
"
18535 #include "confdefs.h
"
18537 #ifdef HAVE_IEEEFP_H
18538 #include <ieeefp.h>
18545 if { (eval echo configure:18546: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18547 glibcpp_cv_func__logl_use=yes
18549 echo "configure
: failed program was
:" >&5
18550 cat conftest.$ac_ext >&5
18552 glibcpp_cv_func__logl_use=no
18556 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18557 ac_cpp='$CPP $CPPFLAGS'
18558 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18559 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18560 cross_compiling=$ac_cv_prog_cc_cross
18566 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
18568 if test x$glibcpp_cv_func__logl_use = x"yes"; then
18569 for ac_func in _logl
18571 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18572 echo "configure
:18573: checking
for $ac_func" >&5
18573 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18574 echo $ac_n "(cached
) $ac_c" 1>&6
18576 cat > conftest.$ac_ext <<EOF
18577 #line 18578 "configure
"
18578 #include "confdefs.h
"
18579 /* System header to define __stub macros and hopefully few prototypes,
18580 which can conflict with char $ac_func(); below. */
18581 #include <assert.h>
18582 /* Override any gcc2 internal prototype to avoid an error. */
18583 /* We use char because int might match the return type of a gcc2
18584 builtin and then its argument prototype would still apply. */
18589 /* The GNU C library defines this for functions which it implements
18590 to always fail with ENOSYS. Some functions are actually named
18591 something starting with __ and the normal name is an alias. */
18592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18600 if { (eval echo configure:18601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18602 eval "ac_cv_func_
$ac_func=yes"
18604 echo "configure
: failed program was
:" >&5
18605 cat conftest.$ac_ext >&5
18607 eval "ac_cv_func_
$ac_func=no
"
18612 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18613 echo "$ac_t""yes" 1>&6
18614 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18615 cat >> confdefs.h <<EOF
18616 #define $ac_tr_func 1
18620 echo "$ac_t""no
" 1>&6
18629 echo $ac_n "checking
for log10l declaration
""...
$ac_c" 1>&6
18630 echo "configure
:18631: checking
for log10l declaration
" >&5
18631 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
18632 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
18633 echo $ac_n "(cached
) $ac_c" 1>&6
18638 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18639 ac_cpp='$CXXCPP $CPPFLAGS'
18640 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18641 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18642 cross_compiling=$ac_cv_prog_cxx_cross
18644 cat > conftest.$ac_ext <<EOF
18645 #line 18646 "configure
"
18646 #include "confdefs.h
"
18648 #ifdef HAVE_IEEEFP_H
18649 #include <ieeefp.h>
18656 if { (eval echo configure:18657: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18658 glibcpp_cv_func_log10l_use=yes
18660 echo "configure
: failed program was
:" >&5
18661 cat conftest.$ac_ext >&5
18663 glibcpp_cv_func_log10l_use=no
18667 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18668 ac_cpp='$CPP $CPPFLAGS'
18669 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18670 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18671 cross_compiling=$ac_cv_prog_cc_cross
18677 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
18679 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
18680 for ac_func in log10l
18682 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18683 echo "configure
:18684: checking
for $ac_func" >&5
18684 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18685 echo $ac_n "(cached
) $ac_c" 1>&6
18687 cat > conftest.$ac_ext <<EOF
18688 #line 18689 "configure
"
18689 #include "confdefs.h
"
18690 /* System header to define __stub macros and hopefully few prototypes,
18691 which can conflict with char $ac_func(); below. */
18692 #include <assert.h>
18693 /* Override any gcc2 internal prototype to avoid an error. */
18694 /* We use char because int might match the return type of a gcc2
18695 builtin and then its argument prototype would still apply. */
18700 /* The GNU C library defines this for functions which it implements
18701 to always fail with ENOSYS. Some functions are actually named
18702 something starting with __ and the normal name is an alias. */
18703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18711 if { (eval echo configure:18712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18713 eval "ac_cv_func_
$ac_func=yes"
18715 echo "configure
: failed program was
:" >&5
18716 cat conftest.$ac_ext >&5
18718 eval "ac_cv_func_
$ac_func=no
"
18723 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18724 echo "$ac_t""yes" 1>&6
18725 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18726 cat >> confdefs.h <<EOF
18727 #define $ac_tr_func 1
18731 echo "$ac_t""no
" 1>&6
18737 echo $ac_n "checking
for _log10l declaration
""...
$ac_c" 1>&6
18738 echo "configure
:18739: checking
for _log10l declaration
" >&5
18739 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
18740 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
18741 echo $ac_n "(cached
) $ac_c" 1>&6
18746 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18747 ac_cpp='$CXXCPP $CPPFLAGS'
18748 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18749 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18750 cross_compiling=$ac_cv_prog_cxx_cross
18752 cat > conftest.$ac_ext <<EOF
18753 #line 18754 "configure
"
18754 #include "confdefs.h
"
18756 #ifdef HAVE_IEEEFP_H
18757 #include <ieeefp.h>
18764 if { (eval echo configure:18765: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18766 glibcpp_cv_func__log10l_use=yes
18768 echo "configure
: failed program was
:" >&5
18769 cat conftest.$ac_ext >&5
18771 glibcpp_cv_func__log10l_use=no
18775 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18776 ac_cpp='$CPP $CPPFLAGS'
18777 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18778 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18779 cross_compiling=$ac_cv_prog_cc_cross
18785 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
18787 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
18788 for ac_func in _log10l
18790 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18791 echo "configure
:18792: checking
for $ac_func" >&5
18792 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18793 echo $ac_n "(cached
) $ac_c" 1>&6
18795 cat > conftest.$ac_ext <<EOF
18796 #line 18797 "configure
"
18797 #include "confdefs.h
"
18798 /* System header to define __stub macros and hopefully few prototypes,
18799 which can conflict with char $ac_func(); below. */
18800 #include <assert.h>
18801 /* Override any gcc2 internal prototype to avoid an error. */
18802 /* We use char because int might match the return type of a gcc2
18803 builtin and then its argument prototype would still apply. */
18808 /* The GNU C library defines this for functions which it implements
18809 to always fail with ENOSYS. Some functions are actually named
18810 something starting with __ and the normal name is an alias. */
18811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18819 if { (eval echo configure:18820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18821 eval "ac_cv_func_
$ac_func=yes"
18823 echo "configure
: failed program was
:" >&5
18824 cat conftest.$ac_ext >&5
18826 eval "ac_cv_func_
$ac_func=no
"
18831 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18832 echo "$ac_t""yes" 1>&6
18833 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18834 cat >> confdefs.h <<EOF
18835 #define $ac_tr_func 1
18839 echo "$ac_t""no
" 1>&6
18848 echo $ac_n "checking
for modfl declaration
""...
$ac_c" 1>&6
18849 echo "configure
:18850: checking
for modfl declaration
" >&5
18850 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
18851 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
18852 echo $ac_n "(cached
) $ac_c" 1>&6
18857 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18858 ac_cpp='$CXXCPP $CPPFLAGS'
18859 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18860 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18861 cross_compiling=$ac_cv_prog_cxx_cross
18863 cat > conftest.$ac_ext <<EOF
18864 #line 18865 "configure
"
18865 #include "confdefs.h
"
18871 if { (eval echo configure:18872: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18873 glibcpp_cv_func_modfl_use=yes
18875 echo "configure
: failed program was
:" >&5
18876 cat conftest.$ac_ext >&5
18878 glibcpp_cv_func_modfl_use=no
18882 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18883 ac_cpp='$CPP $CPPFLAGS'
18884 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18885 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18886 cross_compiling=$ac_cv_prog_cc_cross
18892 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
18894 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
18895 for ac_func in modfl
18897 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18898 echo "configure
:18899: checking
for $ac_func" >&5
18899 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18900 echo $ac_n "(cached
) $ac_c" 1>&6
18902 cat > conftest.$ac_ext <<EOF
18903 #line 18904 "configure
"
18904 #include "confdefs.h
"
18905 /* System header to define __stub macros and hopefully few prototypes,
18906 which can conflict with char $ac_func(); below. */
18907 #include <assert.h>
18908 /* Override any gcc2 internal prototype to avoid an error. */
18909 /* We use char because int might match the return type of a gcc2
18910 builtin and then its argument prototype would still apply. */
18915 /* The GNU C library defines this for functions which it implements
18916 to always fail with ENOSYS. Some functions are actually named
18917 something starting with __ and the normal name is an alias. */
18918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18926 if { (eval echo configure:18927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18928 eval "ac_cv_func_
$ac_func=yes"
18930 echo "configure
: failed program was
:" >&5
18931 cat conftest.$ac_ext >&5
18933 eval "ac_cv_func_
$ac_func=no
"
18938 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18939 echo "$ac_t""yes" 1>&6
18940 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18941 cat >> confdefs.h <<EOF
18942 #define $ac_tr_func 1
18946 echo "$ac_t""no
" 1>&6
18952 echo $ac_n "checking
for _modfl declaration
""...
$ac_c" 1>&6
18953 echo "configure
:18954: checking
for _modfl declaration
" >&5
18954 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
18955 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
18956 echo $ac_n "(cached
) $ac_c" 1>&6
18961 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18962 ac_cpp='$CXXCPP $CPPFLAGS'
18963 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18964 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18965 cross_compiling=$ac_cv_prog_cxx_cross
18967 cat > conftest.$ac_ext <<EOF
18968 #line 18969 "configure
"
18969 #include "confdefs.h
"
18975 if { (eval echo configure:18976: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18977 glibcpp_cv_func__modfl_use=yes
18979 echo "configure
: failed program was
:" >&5
18980 cat conftest.$ac_ext >&5
18982 glibcpp_cv_func__modfl_use=no
18986 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18987 ac_cpp='$CPP $CPPFLAGS'
18988 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18989 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18990 cross_compiling=$ac_cv_prog_cc_cross
18996 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
18998 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
18999 for ac_func in _modfl
19001 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19002 echo "configure
:19003: checking
for $ac_func" >&5
19003 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19004 echo $ac_n "(cached
) $ac_c" 1>&6
19006 cat > conftest.$ac_ext <<EOF
19007 #line 19008 "configure
"
19008 #include "confdefs.h
"
19009 /* System header to define __stub macros and hopefully few prototypes,
19010 which can conflict with char $ac_func(); below. */
19011 #include <assert.h>
19012 /* Override any gcc2 internal prototype to avoid an error. */
19013 /* We use char because int might match the return type of a gcc2
19014 builtin and then its argument prototype would still apply. */
19019 /* The GNU C library defines this for functions which it implements
19020 to always fail with ENOSYS. Some functions are actually named
19021 something starting with __ and the normal name is an alias. */
19022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19030 if { (eval echo configure:19031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19032 eval "ac_cv_func_
$ac_func=yes"
19034 echo "configure
: failed program was
:" >&5
19035 cat conftest.$ac_ext >&5
19037 eval "ac_cv_func_
$ac_func=no
"
19042 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19043 echo "$ac_t""yes" 1>&6
19044 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19045 cat >> confdefs.h <<EOF
19046 #define $ac_tr_func 1
19050 echo "$ac_t""no
" 1>&6
19059 echo $ac_n "checking
for powl declaration
""...
$ac_c" 1>&6
19060 echo "configure
:19061: checking
for powl declaration
" >&5
19061 if test x${glibcpp_cv_func_powl_use+set} != xset; then
19062 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
19063 echo $ac_n "(cached
) $ac_c" 1>&6
19068 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19069 ac_cpp='$CXXCPP $CPPFLAGS'
19070 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19071 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19072 cross_compiling=$ac_cv_prog_cxx_cross
19074 cat > conftest.$ac_ext <<EOF
19075 #line 19076 "configure
"
19076 #include "confdefs.h
"
19082 if { (eval echo configure:19083: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19084 glibcpp_cv_func_powl_use=yes
19086 echo "configure
: failed program was
:" >&5
19087 cat conftest.$ac_ext >&5
19089 glibcpp_cv_func_powl_use=no
19093 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19094 ac_cpp='$CPP $CPPFLAGS'
19095 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19096 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19097 cross_compiling=$ac_cv_prog_cc_cross
19103 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
19105 if test x$glibcpp_cv_func_powl_use = x"yes"; then
19106 for ac_func in powl
19108 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19109 echo "configure
:19110: checking
for $ac_func" >&5
19110 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19111 echo $ac_n "(cached
) $ac_c" 1>&6
19113 cat > conftest.$ac_ext <<EOF
19114 #line 19115 "configure
"
19115 #include "confdefs.h
"
19116 /* System header to define __stub macros and hopefully few prototypes,
19117 which can conflict with char $ac_func(); below. */
19118 #include <assert.h>
19119 /* Override any gcc2 internal prototype to avoid an error. */
19120 /* We use char because int might match the return type of a gcc2
19121 builtin and then its argument prototype would still apply. */
19126 /* The GNU C library defines this for functions which it implements
19127 to always fail with ENOSYS. Some functions are actually named
19128 something starting with __ and the normal name is an alias. */
19129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19137 if { (eval echo configure:19138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19139 eval "ac_cv_func_
$ac_func=yes"
19141 echo "configure
: failed program was
:" >&5
19142 cat conftest.$ac_ext >&5
19144 eval "ac_cv_func_
$ac_func=no
"
19149 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19150 echo "$ac_t""yes" 1>&6
19151 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19152 cat >> confdefs.h <<EOF
19153 #define $ac_tr_func 1
19157 echo "$ac_t""no
" 1>&6
19163 echo $ac_n "checking
for _powl declaration
""...
$ac_c" 1>&6
19164 echo "configure
:19165: checking
for _powl declaration
" >&5
19165 if test x${glibcpp_cv_func__powl_use+set} != xset; then
19166 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
19167 echo $ac_n "(cached
) $ac_c" 1>&6
19172 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19173 ac_cpp='$CXXCPP $CPPFLAGS'
19174 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19175 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19176 cross_compiling=$ac_cv_prog_cxx_cross
19178 cat > conftest.$ac_ext <<EOF
19179 #line 19180 "configure
"
19180 #include "confdefs.h
"
19186 if { (eval echo configure:19187: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19188 glibcpp_cv_func__powl_use=yes
19190 echo "configure
: failed program was
:" >&5
19191 cat conftest.$ac_ext >&5
19193 glibcpp_cv_func__powl_use=no
19197 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19198 ac_cpp='$CPP $CPPFLAGS'
19199 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19200 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19201 cross_compiling=$ac_cv_prog_cc_cross
19207 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
19209 if test x$glibcpp_cv_func__powl_use = x"yes"; then
19210 for ac_func in _powl
19212 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19213 echo "configure
:19214: checking
for $ac_func" >&5
19214 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19215 echo $ac_n "(cached
) $ac_c" 1>&6
19217 cat > conftest.$ac_ext <<EOF
19218 #line 19219 "configure
"
19219 #include "confdefs.h
"
19220 /* System header to define __stub macros and hopefully few prototypes,
19221 which can conflict with char $ac_func(); below. */
19222 #include <assert.h>
19223 /* Override any gcc2 internal prototype to avoid an error. */
19224 /* We use char because int might match the return type of a gcc2
19225 builtin and then its argument prototype would still apply. */
19230 /* The GNU C library defines this for functions which it implements
19231 to always fail with ENOSYS. Some functions are actually named
19232 something starting with __ and the normal name is an alias. */
19233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19241 if { (eval echo configure:19242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19243 eval "ac_cv_func_
$ac_func=yes"
19245 echo "configure
: failed program was
:" >&5
19246 cat conftest.$ac_ext >&5
19248 eval "ac_cv_func_
$ac_func=no
"
19253 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19254 echo "$ac_t""yes" 1>&6
19255 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19256 cat >> confdefs.h <<EOF
19257 #define $ac_tr_func 1
19261 echo "$ac_t""no
" 1>&6
19270 echo $ac_n "checking
for sqrtl declaration
""...
$ac_c" 1>&6
19271 echo "configure
:19272: checking
for sqrtl declaration
" >&5
19272 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
19273 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
19274 echo $ac_n "(cached
) $ac_c" 1>&6
19279 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19280 ac_cpp='$CXXCPP $CPPFLAGS'
19281 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19282 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19283 cross_compiling=$ac_cv_prog_cxx_cross
19285 cat > conftest.$ac_ext <<EOF
19286 #line 19287 "configure
"
19287 #include "confdefs.h
"
19289 #ifdef HAVE_IEEEFP_H
19290 #include <ieeefp.h>
19297 if { (eval echo configure:19298: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19299 glibcpp_cv_func_sqrtl_use=yes
19301 echo "configure
: failed program was
:" >&5
19302 cat conftest.$ac_ext >&5
19304 glibcpp_cv_func_sqrtl_use=no
19308 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19309 ac_cpp='$CPP $CPPFLAGS'
19310 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19311 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19312 cross_compiling=$ac_cv_prog_cc_cross
19318 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
19320 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
19321 for ac_func in sqrtl
19323 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19324 echo "configure
:19325: checking
for $ac_func" >&5
19325 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19326 echo $ac_n "(cached
) $ac_c" 1>&6
19328 cat > conftest.$ac_ext <<EOF
19329 #line 19330 "configure
"
19330 #include "confdefs.h
"
19331 /* System header to define __stub macros and hopefully few prototypes,
19332 which can conflict with char $ac_func(); below. */
19333 #include <assert.h>
19334 /* Override any gcc2 internal prototype to avoid an error. */
19335 /* We use char because int might match the return type of a gcc2
19336 builtin and then its argument prototype would still apply. */
19341 /* The GNU C library defines this for functions which it implements
19342 to always fail with ENOSYS. Some functions are actually named
19343 something starting with __ and the normal name is an alias. */
19344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19352 if { (eval echo configure:19353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19354 eval "ac_cv_func_
$ac_func=yes"
19356 echo "configure
: failed program was
:" >&5
19357 cat conftest.$ac_ext >&5
19359 eval "ac_cv_func_
$ac_func=no
"
19364 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19365 echo "$ac_t""yes" 1>&6
19366 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19367 cat >> confdefs.h <<EOF
19368 #define $ac_tr_func 1
19372 echo "$ac_t""no
" 1>&6
19378 echo $ac_n "checking
for _sqrtl declaration
""...
$ac_c" 1>&6
19379 echo "configure
:19380: checking
for _sqrtl declaration
" >&5
19380 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
19381 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
19382 echo $ac_n "(cached
) $ac_c" 1>&6
19387 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19388 ac_cpp='$CXXCPP $CPPFLAGS'
19389 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19390 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19391 cross_compiling=$ac_cv_prog_cxx_cross
19393 cat > conftest.$ac_ext <<EOF
19394 #line 19395 "configure
"
19395 #include "confdefs.h
"
19397 #ifdef HAVE_IEEEFP_H
19398 #include <ieeefp.h>
19405 if { (eval echo configure:19406: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19407 glibcpp_cv_func__sqrtl_use=yes
19409 echo "configure
: failed program was
:" >&5
19410 cat conftest.$ac_ext >&5
19412 glibcpp_cv_func__sqrtl_use=no
19416 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19417 ac_cpp='$CPP $CPPFLAGS'
19418 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19419 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19420 cross_compiling=$ac_cv_prog_cc_cross
19426 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
19428 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
19429 for ac_func in _sqrtl
19431 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19432 echo "configure
:19433: checking
for $ac_func" >&5
19433 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19434 echo $ac_n "(cached
) $ac_c" 1>&6
19436 cat > conftest.$ac_ext <<EOF
19437 #line 19438 "configure
"
19438 #include "confdefs.h
"
19439 /* System header to define __stub macros and hopefully few prototypes,
19440 which can conflict with char $ac_func(); below. */
19441 #include <assert.h>
19442 /* Override any gcc2 internal prototype to avoid an error. */
19443 /* We use char because int might match the return type of a gcc2
19444 builtin and then its argument prototype would still apply. */
19449 /* The GNU C library defines this for functions which it implements
19450 to always fail with ENOSYS. Some functions are actually named
19451 something starting with __ and the normal name is an alias. */
19452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19460 if { (eval echo configure:19461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19462 eval "ac_cv_func_
$ac_func=yes"
19464 echo "configure
: failed program was
:" >&5
19465 cat conftest.$ac_ext >&5
19467 eval "ac_cv_func_
$ac_func=no
"
19472 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19473 echo "$ac_t""yes" 1>&6
19474 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19475 cat >> confdefs.h <<EOF
19476 #define $ac_tr_func 1
19480 echo "$ac_t""no
" 1>&6
19489 echo $ac_n "checking
for sincosl declaration
""...
$ac_c" 1>&6
19490 echo "configure
:19491: checking
for sincosl declaration
" >&5
19491 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
19492 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
19493 echo $ac_n "(cached
) $ac_c" 1>&6
19498 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19499 ac_cpp='$CXXCPP $CPPFLAGS'
19500 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19501 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19502 cross_compiling=$ac_cv_prog_cxx_cross
19504 cat > conftest.$ac_ext <<EOF
19505 #line 19506 "configure
"
19506 #include "confdefs.h
"
19512 if { (eval echo configure:19513: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19514 glibcpp_cv_func_sincosl_use=yes
19516 echo "configure
: failed program was
:" >&5
19517 cat conftest.$ac_ext >&5
19519 glibcpp_cv_func_sincosl_use=no
19523 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19524 ac_cpp='$CPP $CPPFLAGS'
19525 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19526 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19527 cross_compiling=$ac_cv_prog_cc_cross
19533 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
19535 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
19536 for ac_func in sincosl
19538 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19539 echo "configure
:19540: checking
for $ac_func" >&5
19540 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19541 echo $ac_n "(cached
) $ac_c" 1>&6
19543 cat > conftest.$ac_ext <<EOF
19544 #line 19545 "configure
"
19545 #include "confdefs.h
"
19546 /* System header to define __stub macros and hopefully few prototypes,
19547 which can conflict with char $ac_func(); below. */
19548 #include <assert.h>
19549 /* Override any gcc2 internal prototype to avoid an error. */
19550 /* We use char because int might match the return type of a gcc2
19551 builtin and then its argument prototype would still apply. */
19556 /* The GNU C library defines this for functions which it implements
19557 to always fail with ENOSYS. Some functions are actually named
19558 something starting with __ and the normal name is an alias. */
19559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19567 if { (eval echo configure:19568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19569 eval "ac_cv_func_
$ac_func=yes"
19571 echo "configure
: failed program was
:" >&5
19572 cat conftest.$ac_ext >&5
19574 eval "ac_cv_func_
$ac_func=no
"
19579 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19580 echo "$ac_t""yes" 1>&6
19581 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19582 cat >> confdefs.h <<EOF
19583 #define $ac_tr_func 1
19587 echo "$ac_t""no
" 1>&6
19593 echo $ac_n "checking
for _sincosl declaration
""...
$ac_c" 1>&6
19594 echo "configure
:19595: checking
for _sincosl declaration
" >&5
19595 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
19596 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
19597 echo $ac_n "(cached
) $ac_c" 1>&6
19602 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19603 ac_cpp='$CXXCPP $CPPFLAGS'
19604 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19605 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19606 cross_compiling=$ac_cv_prog_cxx_cross
19608 cat > conftest.$ac_ext <<EOF
19609 #line 19610 "configure
"
19610 #include "confdefs.h
"
19616 if { (eval echo configure:19617: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19618 glibcpp_cv_func__sincosl_use=yes
19620 echo "configure
: failed program was
:" >&5
19621 cat conftest.$ac_ext >&5
19623 glibcpp_cv_func__sincosl_use=no
19627 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19628 ac_cpp='$CPP $CPPFLAGS'
19629 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19630 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19631 cross_compiling=$ac_cv_prog_cc_cross
19637 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
19639 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
19640 for ac_func in _sincosl
19642 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19643 echo "configure
:19644: checking
for $ac_func" >&5
19644 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19645 echo $ac_n "(cached
) $ac_c" 1>&6
19647 cat > conftest.$ac_ext <<EOF
19648 #line 19649 "configure
"
19649 #include "confdefs.h
"
19650 /* System header to define __stub macros and hopefully few prototypes,
19651 which can conflict with char $ac_func(); below. */
19652 #include <assert.h>
19653 /* Override any gcc2 internal prototype to avoid an error. */
19654 /* We use char because int might match the return type of a gcc2
19655 builtin and then its argument prototype would still apply. */
19660 /* The GNU C library defines this for functions which it implements
19661 to always fail with ENOSYS. Some functions are actually named
19662 something starting with __ and the normal name is an alias. */
19663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19671 if { (eval echo configure:19672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19673 eval "ac_cv_func_
$ac_func=yes"
19675 echo "configure
: failed program was
:" >&5
19676 cat conftest.$ac_ext >&5
19678 eval "ac_cv_func_
$ac_func=no
"
19683 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19684 echo "$ac_t""yes" 1>&6
19685 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19686 cat >> confdefs.h <<EOF
19687 #define $ac_tr_func 1
19691 echo "$ac_t""no
" 1>&6
19700 echo $ac_n "checking
for finitel declaration
""...
$ac_c" 1>&6
19701 echo "configure
:19702: checking
for finitel declaration
" >&5
19702 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
19703 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
19704 echo $ac_n "(cached
) $ac_c" 1>&6
19709 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19710 ac_cpp='$CXXCPP $CPPFLAGS'
19711 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19712 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19713 cross_compiling=$ac_cv_prog_cxx_cross
19715 cat > conftest.$ac_ext <<EOF
19716 #line 19717 "configure
"
19717 #include "confdefs.h
"
19719 #ifdef HAVE_IEEEFP_H
19720 #include <ieeefp.h>
19727 if { (eval echo configure:19728: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19729 glibcpp_cv_func_finitel_use=yes
19731 echo "configure
: failed program was
:" >&5
19732 cat conftest.$ac_ext >&5
19734 glibcpp_cv_func_finitel_use=no
19738 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19739 ac_cpp='$CPP $CPPFLAGS'
19740 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19741 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19742 cross_compiling=$ac_cv_prog_cc_cross
19748 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
19750 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
19751 for ac_func in finitel
19753 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19754 echo "configure
:19755: checking
for $ac_func" >&5
19755 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19756 echo $ac_n "(cached
) $ac_c" 1>&6
19758 cat > conftest.$ac_ext <<EOF
19759 #line 19760 "configure
"
19760 #include "confdefs.h
"
19761 /* System header to define __stub macros and hopefully few prototypes,
19762 which can conflict with char $ac_func(); below. */
19763 #include <assert.h>
19764 /* Override any gcc2 internal prototype to avoid an error. */
19765 /* We use char because int might match the return type of a gcc2
19766 builtin and then its argument prototype would still apply. */
19771 /* The GNU C library defines this for functions which it implements
19772 to always fail with ENOSYS. Some functions are actually named
19773 something starting with __ and the normal name is an alias. */
19774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19782 if { (eval echo configure:19783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19784 eval "ac_cv_func_
$ac_func=yes"
19786 echo "configure
: failed program was
:" >&5
19787 cat conftest.$ac_ext >&5
19789 eval "ac_cv_func_
$ac_func=no
"
19794 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19795 echo "$ac_t""yes" 1>&6
19796 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19797 cat >> confdefs.h <<EOF
19798 #define $ac_tr_func 1
19802 echo "$ac_t""no
" 1>&6
19808 echo $ac_n "checking
for _finitel declaration
""...
$ac_c" 1>&6
19809 echo "configure
:19810: checking
for _finitel declaration
" >&5
19810 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
19811 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
19812 echo $ac_n "(cached
) $ac_c" 1>&6
19817 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19818 ac_cpp='$CXXCPP $CPPFLAGS'
19819 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19820 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19821 cross_compiling=$ac_cv_prog_cxx_cross
19823 cat > conftest.$ac_ext <<EOF
19824 #line 19825 "configure
"
19825 #include "confdefs.h
"
19827 #ifdef HAVE_IEEEFP_H
19828 #include <ieeefp.h>
19835 if { (eval echo configure:19836: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19837 glibcpp_cv_func__finitel_use=yes
19839 echo "configure
: failed program was
:" >&5
19840 cat conftest.$ac_ext >&5
19842 glibcpp_cv_func__finitel_use=no
19846 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19847 ac_cpp='$CPP $CPPFLAGS'
19848 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19849 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19850 cross_compiling=$ac_cv_prog_cc_cross
19856 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
19858 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
19859 for ac_func in _finitel
19861 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19862 echo "configure
:19863: checking
for $ac_func" >&5
19863 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19864 echo $ac_n "(cached
) $ac_c" 1>&6
19866 cat > conftest.$ac_ext <<EOF
19867 #line 19868 "configure
"
19868 #include "confdefs.h
"
19869 /* System header to define __stub macros and hopefully few prototypes,
19870 which can conflict with char $ac_func(); below. */
19871 #include <assert.h>
19872 /* Override any gcc2 internal prototype to avoid an error. */
19873 /* We use char because int might match the return type of a gcc2
19874 builtin and then its argument prototype would still apply. */
19879 /* The GNU C library defines this for functions which it implements
19880 to always fail with ENOSYS. Some functions are actually named
19881 something starting with __ and the normal name is an alias. */
19882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19890 if { (eval echo configure:19891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19892 eval "ac_cv_func_
$ac_func=yes"
19894 echo "configure
: failed program was
:" >&5
19895 cat conftest.$ac_ext >&5
19897 eval "ac_cv_func_
$ac_func=no
"
19902 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19903 echo "$ac_t""yes" 1>&6
19904 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19905 cat >> confdefs.h <<EOF
19906 #define $ac_tr_func 1
19910 echo "$ac_t""no
" 1>&6
19920 echo $ac_n "checking
for _float trig functions
""...
$ac_c" 1>&6
19921 echo "configure
:19922: checking
for _float trig functions
" >&5
19922 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
19923 echo $ac_n "(cached
) $ac_c" 1>&6
19928 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19929 ac_cpp='$CXXCPP $CPPFLAGS'
19930 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19931 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19932 cross_compiling=$ac_cv_prog_cxx_cross
19934 cat > conftest.$ac_ext <<EOF
19935 #line 19936 "configure
"
19936 #include "confdefs.h
"
19939 `for x in _acosf _asinf _atanf \
19940 _cosf _sinf _tanf \
19941 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
19944 if { (eval echo configure:19945: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19946 glibcpp_cv_func__float_trig_use=yes
19948 echo "configure
: failed program was
:" >&5
19949 cat conftest.$ac_ext >&5
19951 glibcpp_cv_func__float_trig_use=no
19955 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19956 ac_cpp='$CPP $CPPFLAGS'
19957 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19958 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19959 cross_compiling=$ac_cv_prog_cc_cross
19963 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
19964 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
19965 for ac_func in _acosf _asinf _atanf \
19966 _cosf _sinf _tanf \
19967 _coshf _sinhf _tanhf
19969 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19970 echo "configure
:19971: checking
for $ac_func" >&5
19971 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19972 echo $ac_n "(cached
) $ac_c" 1>&6
19974 cat > conftest.$ac_ext <<EOF
19975 #line 19976 "configure
"
19976 #include "confdefs.h
"
19977 /* System header to define __stub macros and hopefully few prototypes,
19978 which can conflict with char $ac_func(); below. */
19979 #include <assert.h>
19980 /* Override any gcc2 internal prototype to avoid an error. */
19981 /* We use char because int might match the return type of a gcc2
19982 builtin and then its argument prototype would still apply. */
19987 /* The GNU C library defines this for functions which it implements
19988 to always fail with ENOSYS. Some functions are actually named
19989 something starting with __ and the normal name is an alias. */
19990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19998 if { (eval echo configure:19999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20000 eval "ac_cv_func_
$ac_func=yes"
20002 echo "configure
: failed program was
:" >&5
20003 cat conftest.$ac_ext >&5
20005 eval "ac_cv_func_
$ac_func=no
"
20010 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20011 echo "$ac_t""yes" 1>&6
20012 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20013 cat >> confdefs.h <<EOF
20014 #define $ac_tr_func 1
20018 echo "$ac_t""no
" 1>&6
20025 echo $ac_n "checking
for _float round functions
""...
$ac_c" 1>&6
20026 echo "configure
:20027: checking
for _float round functions
" >&5
20027 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
20028 echo $ac_n "(cached
) $ac_c" 1>&6
20033 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20034 ac_cpp='$CXXCPP $CPPFLAGS'
20035 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20036 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20037 cross_compiling=$ac_cv_prog_cxx_cross
20039 cat > conftest.$ac_ext <<EOF
20040 #line 20041 "configure
"
20041 #include "confdefs.h
"
20044 `for x in _ceilf _floorf; do echo "$x (0);"; done`
20047 if { (eval echo configure:20048: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20049 glibcpp_cv_func__float_round_use=yes
20051 echo "configure
: failed program was
:" >&5
20052 cat conftest.$ac_ext >&5
20054 glibcpp_cv_func__float_round_use=no
20058 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20059 ac_cpp='$CPP $CPPFLAGS'
20060 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20061 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20062 cross_compiling=$ac_cv_prog_cc_cross
20066 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
20067 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
20068 for ac_func in _ceilf _floorf
20070 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20071 echo "configure
:20072: checking
for $ac_func" >&5
20072 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20073 echo $ac_n "(cached
) $ac_c" 1>&6
20075 cat > conftest.$ac_ext <<EOF
20076 #line 20077 "configure
"
20077 #include "confdefs.h
"
20078 /* System header to define __stub macros and hopefully few prototypes,
20079 which can conflict with char $ac_func(); below. */
20080 #include <assert.h>
20081 /* Override any gcc2 internal prototype to avoid an error. */
20082 /* We use char because int might match the return type of a gcc2
20083 builtin and then its argument prototype would still apply. */
20088 /* The GNU C library defines this for functions which it implements
20089 to always fail with ENOSYS. Some functions are actually named
20090 something starting with __ and the normal name is an alias. */
20091 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20099 if { (eval echo configure:20100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20101 eval "ac_cv_func_
$ac_func=yes"
20103 echo "configure
: failed program was
:" >&5
20104 cat conftest.$ac_ext >&5
20106 eval "ac_cv_func_
$ac_func=no
"
20111 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20112 echo "$ac_t""yes" 1>&6
20113 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20114 cat >> confdefs.h <<EOF
20115 #define $ac_tr_func 1
20119 echo "$ac_t""no
" 1>&6
20127 echo $ac_n "checking
for _long double trig functions
""...
$ac_c" 1>&6
20128 echo "configure
:20129: checking
for _long double trig functions
" >&5
20129 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
20130 echo $ac_n "(cached
) $ac_c" 1>&6
20135 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20136 ac_cpp='$CXXCPP $CPPFLAGS'
20137 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20138 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20139 cross_compiling=$ac_cv_prog_cxx_cross
20141 cat > conftest.$ac_ext <<EOF
20142 #line 20143 "configure
"
20143 #include "confdefs.h
"
20146 `for x in _acosl _asinl _atanl \
20147 _cosl _sinl _tanl \
20148 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
20151 if { (eval echo configure:20152: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20153 glibcpp_cv_func__long_double_trig_use=yes
20155 echo "configure
: failed program was
:" >&5
20156 cat conftest.$ac_ext >&5
20158 glibcpp_cv_func__long_double_trig_use=no
20162 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20163 ac_cpp='$CPP $CPPFLAGS'
20164 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20165 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20166 cross_compiling=$ac_cv_prog_cc_cross
20170 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
20171 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
20172 for ac_func in _acosl _asinl _atanl \
20173 _cosl _sinl _tanl \
20174 _coshl _sinhl _tanhl
20176 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20177 echo "configure
:20178: checking
for $ac_func" >&5
20178 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20179 echo $ac_n "(cached
) $ac_c" 1>&6
20181 cat > conftest.$ac_ext <<EOF
20182 #line 20183 "configure
"
20183 #include "confdefs.h
"
20184 /* System header to define __stub macros and hopefully few prototypes,
20185 which can conflict with char $ac_func(); below. */
20186 #include <assert.h>
20187 /* Override any gcc2 internal prototype to avoid an error. */
20188 /* We use char because int might match the return type of a gcc2
20189 builtin and then its argument prototype would still apply. */
20194 /* The GNU C library defines this for functions which it implements
20195 to always fail with ENOSYS. Some functions are actually named
20196 something starting with __ and the normal name is an alias. */
20197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20205 if { (eval echo configure:20206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20207 eval "ac_cv_func_
$ac_func=yes"
20209 echo "configure
: failed program was
:" >&5
20210 cat conftest.$ac_ext >&5
20212 eval "ac_cv_func_
$ac_func=no
"
20217 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20218 echo "$ac_t""yes" 1>&6
20219 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20220 cat >> confdefs.h <<EOF
20221 #define $ac_tr_func 1
20225 echo "$ac_t""no
" 1>&6
20232 echo $ac_n "checking
for _long double round functions
""...
$ac_c" 1>&6
20233 echo "configure
:20234: checking
for _long double round functions
" >&5
20234 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
20235 echo $ac_n "(cached
) $ac_c" 1>&6
20240 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20241 ac_cpp='$CXXCPP $CPPFLAGS'
20242 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20243 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20244 cross_compiling=$ac_cv_prog_cxx_cross
20246 cat > conftest.$ac_ext <<EOF
20247 #line 20248 "configure
"
20248 #include "confdefs.h
"
20251 `for x in _ceill _floorl; do echo "$x (0);"; done`
20254 if { (eval echo configure:20255: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20256 glibcpp_cv_func__long_double_round_use=yes
20258 echo "configure
: failed program was
:" >&5
20259 cat conftest.$ac_ext >&5
20261 glibcpp_cv_func__long_double_round_use=no
20265 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20266 ac_cpp='$CPP $CPPFLAGS'
20267 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20268 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20269 cross_compiling=$ac_cv_prog_cc_cross
20273 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
20274 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
20275 for ac_func in _ceill _floorl
20277 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20278 echo "configure
:20279: checking
for $ac_func" >&5
20279 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20280 echo $ac_n "(cached
) $ac_c" 1>&6
20282 cat > conftest.$ac_ext <<EOF
20283 #line 20284 "configure
"
20284 #include "confdefs.h
"
20285 /* System header to define __stub macros and hopefully few prototypes,
20286 which can conflict with char $ac_func(); below. */
20287 #include <assert.h>
20288 /* Override any gcc2 internal prototype to avoid an error. */
20289 /* We use char because int might match the return type of a gcc2
20290 builtin and then its argument prototype would still apply. */
20295 /* The GNU C library defines this for functions which it implements
20296 to always fail with ENOSYS. Some functions are actually named
20297 something starting with __ and the normal name is an alias. */
20298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20306 if { (eval echo configure:20307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20308 eval "ac_cv_func_
$ac_func=yes"
20310 echo "configure
: failed program was
:" >&5
20311 cat conftest.$ac_ext >&5
20313 eval "ac_cv_func_
$ac_func=no
"
20318 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20319 echo "$ac_t""yes" 1>&6
20320 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20321 cat >> confdefs.h <<EOF
20322 #define $ac_tr_func 1
20326 echo "$ac_t""no
" 1>&6
20333 LIBS="$ac_save_LIBS"
20334 CXXFLAGS="$ac_save_CXXFLAGS"
20337 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
20338 echo "configure
:20339: checking
for main
in -lm" >&5
20339 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
20340 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20341 echo $ac_n "(cached
) $ac_c" 1>&6
20343 ac_save_LIBS="$LIBS"
20345 cat > conftest.$ac_ext <<EOF
20346 #line 20347 "configure
"
20347 #include "confdefs.h
"
20353 if { (eval echo configure:20354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20355 eval "ac_cv_lib_
$ac_lib_var=yes"
20357 echo "configure
: failed program was
:" >&5
20358 cat conftest.$ac_ext >&5
20360 eval "ac_cv_lib_
$ac_lib_var=no
"
20363 LIBS="$ac_save_LIBS"
20366 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20367 echo "$ac_t""yes" 1>&6
20368 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
20369 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
20370 cat >> confdefs.h <<EOF
20371 #define $ac_tr_lib 1
20377 echo "$ac_t""no
" 1>&6
20380 for ac_func in nan copysignf
20382 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20383 echo "configure
:20384: checking
for $ac_func" >&5
20384 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20385 echo $ac_n "(cached
) $ac_c" 1>&6
20387 cat > conftest.$ac_ext <<EOF
20388 #line 20389 "configure
"
20389 #include "confdefs.h
"
20390 /* System header to define __stub macros and hopefully few prototypes,
20391 which can conflict with char $ac_func(); below. */
20392 #include <assert.h>
20393 /* Override any gcc2 internal prototype to avoid an error. */
20394 /* We use char because int might match the return type of a gcc2
20395 builtin and then its argument prototype would still apply. */
20400 /* The GNU C library defines this for functions which it implements
20401 to always fail with ENOSYS. Some functions are actually named
20402 something starting with __ and the normal name is an alias. */
20403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20411 if { (eval echo configure:20412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20413 eval "ac_cv_func_
$ac_func=yes"
20415 echo "configure
: failed program was
:" >&5
20416 cat conftest.$ac_ext >&5
20418 eval "ac_cv_func_
$ac_func=no
"
20423 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20424 echo "$ac_t""yes" 1>&6
20425 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20426 cat >> confdefs.h <<EOF
20427 #define $ac_tr_func 1
20431 echo "$ac_t""no
" 1>&6
20432 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
20437 for ac_func in __signbit
20439 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20440 echo "configure
:20441: checking
for $ac_func" >&5
20441 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20442 echo $ac_n "(cached
) $ac_c" 1>&6
20444 cat > conftest.$ac_ext <<EOF
20445 #line 20446 "configure
"
20446 #include "confdefs.h
"
20447 /* System header to define __stub macros and hopefully few prototypes,
20448 which can conflict with char $ac_func(); below. */
20449 #include <assert.h>
20450 /* Override any gcc2 internal prototype to avoid an error. */
20451 /* We use char because int might match the return type of a gcc2
20452 builtin and then its argument prototype would still apply. */
20457 /* The GNU C library defines this for functions which it implements
20458 to always fail with ENOSYS. Some functions are actually named
20459 something starting with __ and the normal name is an alias. */
20460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20468 if { (eval echo configure:20469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20470 eval "ac_cv_func_
$ac_func=yes"
20472 echo "configure
: failed program was
:" >&5
20473 cat conftest.$ac_ext >&5
20475 eval "ac_cv_func_
$ac_func=no
"
20480 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20481 echo "$ac_t""yes" 1>&6
20482 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20483 cat >> confdefs.h <<EOF
20484 #define $ac_tr_func 1
20488 echo "$ac_t""no
" 1>&6
20489 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
20493 for ac_func in __signbitf
20495 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20496 echo "configure
:20497: checking
for $ac_func" >&5
20497 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20498 echo $ac_n "(cached
) $ac_c" 1>&6
20500 cat > conftest.$ac_ext <<EOF
20501 #line 20502 "configure
"
20502 #include "confdefs.h
"
20503 /* System header to define __stub macros and hopefully few prototypes,
20504 which can conflict with char $ac_func(); below. */
20505 #include <assert.h>
20506 /* Override any gcc2 internal prototype to avoid an error. */
20507 /* We use char because int might match the return type of a gcc2
20508 builtin and then its argument prototype would still apply. */
20513 /* The GNU C library defines this for functions which it implements
20514 to always fail with ENOSYS. Some functions are actually named
20515 something starting with __ and the normal name is an alias. */
20516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20524 if { (eval echo configure:20525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20526 eval "ac_cv_func_
$ac_func=yes"
20528 echo "configure
: failed program was
:" >&5
20529 cat conftest.$ac_ext >&5
20531 eval "ac_cv_func_
$ac_func=no
"
20536 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20537 echo "$ac_t""yes" 1>&6
20538 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20539 cat >> confdefs.h <<EOF
20540 #define $ac_tr_func 1
20544 echo "$ac_t""no
" 1>&6
20545 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
20550 if test x$ac_cv_func_copysignl = x"yes"; then
20551 for ac_func in __signbitl
20553 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20554 echo "configure
:20555: checking
for $ac_func" >&5
20555 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20556 echo $ac_n "(cached
) $ac_c" 1>&6
20558 cat > conftest.$ac_ext <<EOF
20559 #line 20560 "configure
"
20560 #include "confdefs.h
"
20561 /* System header to define __stub macros and hopefully few prototypes,
20562 which can conflict with char $ac_func(); below. */
20563 #include <assert.h>
20564 /* Override any gcc2 internal prototype to avoid an error. */
20565 /* We use char because int might match the return type of a gcc2
20566 builtin and then its argument prototype would still apply. */
20571 /* The GNU C library defines this for functions which it implements
20572 to always fail with ENOSYS. Some functions are actually named
20573 something starting with __ and the normal name is an alias. */
20574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20582 if { (eval echo configure:20583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20584 eval "ac_cv_func_
$ac_func=yes"
20586 echo "configure
: failed program was
:" >&5
20587 cat conftest.$ac_ext >&5
20589 eval "ac_cv_func_
$ac_func=no
"
20594 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20595 echo "$ac_t""yes" 1>&6
20596 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20597 cat >> confdefs.h <<EOF
20598 #define $ac_tr_func 1
20602 echo "$ac_t""no
" 1>&6
20603 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
20613 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
20614 echo "configure
:20615: checking
for mbstate_t
" >&5
20615 cat > conftest.$ac_ext <<EOF
20616 #line 20617 "configure
"
20617 #include "confdefs.h
"
20620 mbstate_t teststate;
20623 if { (eval echo configure:20624: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20627 echo "configure
: failed program was
:" >&5
20628 cat conftest.$ac_ext >&5
20633 echo "$ac_t""$have_mbstate_t" 1>&6
20634 if test x"$have_mbstate_t" = xyes; then
20635 cat >> confdefs.h <<\EOF
20636 #define HAVE_MBSTATE_T 1
20641 for ac_hdr in wchar.h
20643 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20644 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
20645 echo "configure
:20646: checking
for $ac_hdr" >&5
20646 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20647 echo $ac_n "(cached
) $ac_c" 1>&6
20649 cat > conftest.$ac_ext <<EOF
20650 #line 20651 "configure
"
20651 #include "confdefs.h
"
20654 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
20655 { (eval echo configure:20656: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20656 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
20657 if test -z "$ac_err"; then
20659 eval "ac_cv_header_
$ac_safe=yes"
20662 echo "configure
: failed program was
:" >&5
20663 cat conftest.$ac_ext >&5
20665 eval "ac_cv_header_
$ac_safe=no
"
20669 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20670 echo "$ac_t""yes" 1>&6
20671 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20672 cat >> confdefs.h <<EOF
20673 #define $ac_tr_hdr 1
20677 echo "$ac_t""no
" 1>&6
20682 for ac_hdr in wctype.h
20684 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20685 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
20686 echo "configure
:20687: checking
for $ac_hdr" >&5
20687 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20688 echo $ac_n "(cached
) $ac_c" 1>&6
20690 cat > conftest.$ac_ext <<EOF
20691 #line 20692 "configure
"
20692 #include "confdefs.h
"
20695 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
20696 { (eval echo configure:20697: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20697 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
20698 if test -z "$ac_err"; then
20700 eval "ac_cv_header_
$ac_safe=yes"
20703 echo "configure
: failed program was
:" >&5
20704 cat conftest.$ac_ext >&5
20706 eval "ac_cv_header_
$ac_safe=no
"
20710 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20711 echo "$ac_t""yes" 1>&6
20712 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20713 cat >> confdefs.h <<EOF
20714 #define $ac_tr_hdr 1
20716 ac_has_wctype_h=yes
20718 echo "$ac_t""no
" 1>&6
20724 if test x"$ac_has_wchar_h" = xyes &&
20725 test x"$ac_has_wctype_h" = xyes &&
20726 test x"$enable_c_mbchar" != xno; then
20728 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
20729 echo "configure
:20730: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
20730 cat > conftest.$ac_ext <<EOF
20731 #line 20732 "configure
"
20732 #include "confdefs.h
"
20735 int i = WCHAR_MIN; int j = WCHAR_MAX;
20738 if { (eval echo configure:20739: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20740 has_wchar_minmax=yes
20742 echo "configure
: failed program was
:" >&5
20743 cat conftest.$ac_ext >&5
20745 has_wchar_minmax=no
20748 echo "$ac_t""$has_wchar_minmax" 1>&6
20750 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
20751 echo "configure
:20752: checking
for WEOF
" >&5
20752 cat > conftest.$ac_ext <<EOF
20753 #line 20754 "configure
"
20754 #include "confdefs.h
"
20757 #include <stddef.h>
20762 if { (eval echo configure:20763: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20766 echo "configure
: failed program was
:" >&5
20767 cat conftest.$ac_ext >&5
20772 echo "$ac_t""$has_weof" 1>&6
20775 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
20777 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20778 echo "configure
:20779: checking
for $ac_func" >&5
20779 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20780 echo $ac_n "(cached
) $ac_c" 1>&6
20782 cat > conftest.$ac_ext <<EOF
20783 #line 20784 "configure
"
20784 #include "confdefs.h
"
20785 /* System header to define __stub macros and hopefully few prototypes,
20786 which can conflict with char $ac_func(); below. */
20787 #include <assert.h>
20788 /* Override any gcc2 internal prototype to avoid an error. */
20789 /* We use char because int might match the return type of a gcc2
20790 builtin and then its argument prototype would still apply. */
20795 /* The GNU C library defines this for functions which it implements
20796 to always fail with ENOSYS. Some functions are actually named
20797 something starting with __ and the normal name is an alias. */
20798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20806 if { (eval echo configure:20807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20808 eval "ac_cv_func_
$ac_func=yes"
20810 echo "configure
: failed program was
:" >&5
20811 cat conftest.$ac_ext >&5
20813 eval "ac_cv_func_
$ac_func=no
"
20818 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20819 echo "$ac_t""yes" 1>&6
20820 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20821 cat >> confdefs.h <<EOF
20822 #define $ac_tr_func 1
20826 echo "$ac_t""no
" 1>&6
20833 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
20834 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
20835 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
20836 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
20837 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
20838 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
20840 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20841 echo "configure
:20842: checking
for $ac_func" >&5
20842 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20843 echo $ac_n "(cached
) $ac_c" 1>&6
20845 cat > conftest.$ac_ext <<EOF
20846 #line 20847 "configure
"
20847 #include "confdefs.h
"
20848 /* System header to define __stub macros and hopefully few prototypes,
20849 which can conflict with char $ac_func(); below. */
20850 #include <assert.h>
20851 /* Override any gcc2 internal prototype to avoid an error. */
20852 /* We use char because int might match the return type of a gcc2
20853 builtin and then its argument prototype would still apply. */
20858 /* The GNU C library defines this for functions which it implements
20859 to always fail with ENOSYS. Some functions are actually named
20860 something starting with __ and the normal name is an alias. */
20861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20869 if { (eval echo configure:20870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20871 eval "ac_cv_func_
$ac_func=yes"
20873 echo "configure
: failed program was
:" >&5
20874 cat conftest.$ac_ext >&5
20876 eval "ac_cv_func_
$ac_func=no
"
20881 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20882 echo "$ac_t""yes" 1>&6
20883 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20884 cat >> confdefs.h <<EOF
20885 #define $ac_tr_func 1
20889 echo "$ac_t""no
" 1>&6
20896 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
20897 echo "configure
:20898: checking
for ISO C99 wchar_t support
" >&5
20898 if test x"$has_weof" = xyes &&
20899 test x"$has_wchar_minmax" = xyes &&
20900 test x"$ac_wfuncs" = xyes; then
20901 ac_isoC99_wchar_t=yes
20903 ac_isoC99_wchar_t=no
20905 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
20907 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
20908 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
20909 echo "configure
:20910: checking
for iconv.h
" >&5
20910 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20911 echo $ac_n "(cached
) $ac_c" 1>&6
20913 cat > conftest.$ac_ext <<EOF
20914 #line 20915 "configure
"
20915 #include "confdefs.h
"
20918 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
20919 { (eval echo configure:20920: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20920 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
20921 if test -z "$ac_err"; then
20923 eval "ac_cv_header_
$ac_safe=yes"
20926 echo "configure
: failed program was
:" >&5
20927 cat conftest.$ac_ext >&5
20929 eval "ac_cv_header_
$ac_safe=no
"
20933 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20934 echo "$ac_t""yes" 1>&6
20937 echo "$ac_t""no
" 1>&6
20941 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
20942 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
20943 echo "configure
:20944: checking
for langinfo.h
" >&5
20944 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20945 echo $ac_n "(cached
) $ac_c" 1>&6
20947 cat > conftest.$ac_ext <<EOF
20948 #line 20949 "configure
"
20949 #include "confdefs.h
"
20950 #include <langinfo.h>
20952 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
20953 { (eval echo configure:20954: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20954 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
20955 if test -z "$ac_err"; then
20957 eval "ac_cv_header_
$ac_safe=yes"
20960 echo "configure
: failed program was
:" >&5
20961 cat conftest.$ac_ext >&5
20963 eval "ac_cv_header_
$ac_safe=no
"
20967 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20968 echo "$ac_t""yes" 1>&6
20969 ac_has_langinfo_h=yes
20971 echo "$ac_t""no
" 1>&6
20972 ac_has_langinfo_h=no
20976 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
20977 echo "configure
:20978: checking
for iconv in -liconv" >&5
20978 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
20979 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20980 echo $ac_n "(cached
) $ac_c" 1>&6
20982 ac_save_LIBS="$LIBS"
20983 LIBS="-liconv $LIBS"
20984 cat > conftest.$ac_ext <<EOF
20985 #line 20986 "configure
"
20986 #include "confdefs.h
"
20987 /* Override any gcc2 internal prototype to avoid an error. */
20988 /* We use char because int might match the return type of a gcc2
20989 builtin and then its argument prototype would still apply. */
20996 if { (eval echo configure:20997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20998 eval "ac_cv_lib_
$ac_lib_var=yes"
21000 echo "configure
: failed program was
:" >&5
21001 cat conftest.$ac_ext >&5
21003 eval "ac_cv_lib_
$ac_lib_var=no
"
21006 LIBS="$ac_save_LIBS"
21009 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21010 echo "$ac_t""yes" 1>&6
21013 echo "$ac_t""no
" 1>&6
21016 ac_save_LIBS="$LIBS"
21017 LIBS="$LIBS $libiconv"
21019 for ac_func in iconv_open iconv_close iconv nl_langinfo
21021 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21022 echo "configure
:21023: checking
for $ac_func" >&5
21023 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21024 echo $ac_n "(cached
) $ac_c" 1>&6
21026 cat > conftest.$ac_ext <<EOF
21027 #line 21028 "configure
"
21028 #include "confdefs.h
"
21029 /* System header to define __stub macros and hopefully few prototypes,
21030 which can conflict with char $ac_func(); below. */
21031 #include <assert.h>
21032 /* Override any gcc2 internal prototype to avoid an error. */
21033 /* We use char because int might match the return type of a gcc2
21034 builtin and then its argument prototype would still apply. */
21039 /* The GNU C library defines this for functions which it implements
21040 to always fail with ENOSYS. Some functions are actually named
21041 something starting with __ and the normal name is an alias. */
21042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21050 if { (eval echo configure:21051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21052 eval "ac_cv_func_
$ac_func=yes"
21054 echo "configure
: failed program was
:" >&5
21055 cat conftest.$ac_ext >&5
21057 eval "ac_cv_func_
$ac_func=no
"
21062 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21063 echo "$ac_t""yes" 1>&6
21064 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21065 cat >> confdefs.h <<EOF
21066 #define $ac_tr_func 1
21071 echo "$ac_t""no
" 1>&6
21077 LIBS="$ac_save_LIBS"
21079 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
21080 echo "configure
:21081: checking
for XPG2 wchar_t support
" >&5
21081 if test x"$ac_has_iconv_h" = xyes &&
21082 test x"$ac_has_langinfo_h" = xyes &&
21083 test x"$ac_XPG2funcs" = xyes; then
21084 ac_XPG2_wchar_t=yes
21088 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
21090 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
21091 echo "configure
:21092: checking
for enabled wchar_t specializations
" >&5
21092 if test x"$ac_isoC99_wchar_t" = xyes &&
21093 test x"$ac_XPG2_wchar_t" = xyes; then
21094 cat >> confdefs.h <<\EOF
21095 #define _GLIBCPP_USE_WCHAR_T 1
21098 echo "$ac_t"""yes"" 1>&6
21100 echo "$ac_t"""no"" 1>&6
21103 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
21107 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21108 ac_save_CXXFLAGS="$CXXFLAGS"
21109 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
21112 echo $ac_n "checking
for strtold declaration
""...
$ac_c" 1>&6
21113 echo "configure
:21114: checking
for strtold declaration
" >&5
21114 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
21115 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
21116 echo $ac_n "(cached
) $ac_c" 1>&6
21121 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21122 ac_cpp='$CXXCPP $CPPFLAGS'
21123 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21124 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21125 cross_compiling=$ac_cv_prog_cxx_cross
21127 cat > conftest.$ac_ext <<EOF
21128 #line 21129 "configure
"
21129 #include "confdefs.h
"
21130 #include <stdlib.h>
21135 if { (eval echo configure:21136: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21137 glibcpp_cv_func_strtold_use=yes
21139 echo "configure
: failed program was
:" >&5
21140 cat conftest.$ac_ext >&5
21142 glibcpp_cv_func_strtold_use=no
21146 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21147 ac_cpp='$CPP $CPPFLAGS'
21148 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21149 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21150 cross_compiling=$ac_cv_prog_cc_cross
21156 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
21157 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
21158 for ac_func in strtold
21160 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21161 echo "configure
:21162: checking
for $ac_func" >&5
21162 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21163 echo $ac_n "(cached
) $ac_c" 1>&6
21165 cat > conftest.$ac_ext <<EOF
21166 #line 21167 "configure
"
21167 #include "confdefs.h
"
21168 /* System header to define __stub macros and hopefully few prototypes,
21169 which can conflict with char $ac_func(); below. */
21170 #include <assert.h>
21171 /* Override any gcc2 internal prototype to avoid an error. */
21172 /* We use char because int might match the return type of a gcc2
21173 builtin and then its argument prototype would still apply. */
21178 /* The GNU C library defines this for functions which it implements
21179 to always fail with ENOSYS. Some functions are actually named
21180 something starting with __ and the normal name is an alias. */
21181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21189 if { (eval echo configure:21190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21191 eval "ac_cv_func_
$ac_func=yes"
21193 echo "configure
: failed program was
:" >&5
21194 cat conftest.$ac_ext >&5
21196 eval "ac_cv_func_
$ac_func=no
"
21201 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21202 echo "$ac_t""yes" 1>&6
21203 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21204 cat >> confdefs.h <<EOF
21205 #define $ac_tr_func 1
21209 echo "$ac_t""no
" 1>&6
21216 echo $ac_n "checking
for strtof declaration
""...
$ac_c" 1>&6
21217 echo "configure
:21218: checking
for strtof declaration
" >&5
21218 if test x${glibcpp_cv_func_strtof_use+set} != xset; then
21219 if eval "test \"`echo '$''{'glibcpp_cv_func_strtof_use'+set}'`\" = set"; then
21220 echo $ac_n "(cached
) $ac_c" 1>&6
21225 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21226 ac_cpp='$CXXCPP $CPPFLAGS'
21227 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21228 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21229 cross_compiling=$ac_cv_prog_cxx_cross
21231 cat > conftest.$ac_ext <<EOF
21232 #line 21233 "configure
"
21233 #include "confdefs.h
"
21234 #include <stdlib.h>
21239 if { (eval echo configure:21240: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21241 glibcpp_cv_func_strtof_use=yes
21243 echo "configure
: failed program was
:" >&5
21244 cat conftest.$ac_ext >&5
21246 glibcpp_cv_func_strtof_use=no
21250 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21251 ac_cpp='$CPP $CPPFLAGS'
21252 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21253 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21254 cross_compiling=$ac_cv_prog_cc_cross
21260 echo "$ac_t""$glibcpp_cv_func_strtof_use" 1>&6
21261 if test x$glibcpp_cv_func_strtof_use = x"yes"; then
21262 for ac_func in strtof
21264 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21265 echo "configure
:21266: checking
for $ac_func" >&5
21266 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21267 echo $ac_n "(cached
) $ac_c" 1>&6
21269 cat > conftest.$ac_ext <<EOF
21270 #line 21271 "configure
"
21271 #include "confdefs.h
"
21272 /* System header to define __stub macros and hopefully few prototypes,
21273 which can conflict with char $ac_func(); below. */
21274 #include <assert.h>
21275 /* Override any gcc2 internal prototype to avoid an error. */
21276 /* We use char because int might match the return type of a gcc2
21277 builtin and then its argument prototype would still apply. */
21282 /* The GNU C library defines this for functions which it implements
21283 to always fail with ENOSYS. Some functions are actually named
21284 something starting with __ and the normal name is an alias. */
21285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21293 if { (eval echo configure:21294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21295 eval "ac_cv_func_
$ac_func=yes"
21297 echo "configure
: failed program was
:" >&5
21298 cat conftest.$ac_ext >&5
21300 eval "ac_cv_func_
$ac_func=no
"
21305 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21306 echo "$ac_t""yes" 1>&6
21307 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21308 cat >> confdefs.h <<EOF
21309 #define $ac_tr_func 1
21313 echo "$ac_t""no
" 1>&6
21319 for ac_func in drand48
21321 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21322 echo "configure
:21323: checking
for $ac_func" >&5
21323 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21324 echo $ac_n "(cached
) $ac_c" 1>&6
21326 cat > conftest.$ac_ext <<EOF
21327 #line 21328 "configure
"
21328 #include "confdefs.h
"
21329 /* System header to define __stub macros and hopefully few prototypes,
21330 which can conflict with char $ac_func(); below. */
21331 #include <assert.h>
21332 /* Override any gcc2 internal prototype to avoid an error. */
21333 /* We use char because int might match the return type of a gcc2
21334 builtin and then its argument prototype would still apply. */
21339 /* The GNU C library defines this for functions which it implements
21340 to always fail with ENOSYS. Some functions are actually named
21341 something starting with __ and the normal name is an alias. */
21342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21350 if { (eval echo configure:21351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21352 eval "ac_cv_func_
$ac_func=yes"
21354 echo "configure
: failed program was
:" >&5
21355 cat conftest.$ac_ext >&5
21357 eval "ac_cv_func_
$ac_func=no
"
21362 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21363 echo "$ac_t""yes" 1>&6
21364 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21365 cat >> confdefs.h <<EOF
21366 #define $ac_tr_func 1
21370 echo "$ac_t""no
" 1>&6
21375 CXXFLAGS="$ac_save_CXXFLAGS"
21378 ac_safe=`echo "locale.h
" | sed 'y%./+-%__p_%'`
21379 echo $ac_n "checking
for locale.h
""...
$ac_c" 1>&6
21380 echo "configure
:21381: checking
for locale.h
" >&5
21381 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21382 echo $ac_n "(cached
) $ac_c" 1>&6
21384 cat > conftest.$ac_ext <<EOF
21385 #line 21386 "configure
"
21386 #include "confdefs.h
"
21387 #include <locale.h>
21389 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
21390 { (eval echo configure:21391: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21391 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
21392 if test -z "$ac_err"; then
21394 eval "ac_cv_header_
$ac_safe=yes"
21397 echo "configure
: failed program was
:" >&5
21398 cat conftest.$ac_ext >&5
21400 eval "ac_cv_header_
$ac_safe=no
"
21404 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21405 echo "$ac_t""yes" 1>&6
21407 echo $ac_n "checking
for LC_MESSAGES
""...
$ac_c" 1>&6
21408 echo "configure
:21409: checking
for LC_MESSAGES
" >&5
21409 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
21410 echo $ac_n "(cached
) $ac_c" 1>&6
21412 cat > conftest.$ac_ext <<EOF
21413 #line 21414 "configure
"
21414 #include "confdefs.h
"
21415 #include <locale.h>
21420 if { (eval echo configure:21421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21422 ac_cv_val_LC_MESSAGES=yes
21424 echo "configure
: failed program was
:" >&5
21425 cat conftest.$ac_ext >&5
21427 ac_cv_val_LC_MESSAGES=no
21432 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
21433 if test $ac_cv_val_LC_MESSAGES = yes; then
21434 cat >> confdefs.h <<\EOF
21435 #define HAVE_LC_MESSAGES 1
21441 echo "$ac_t""no
" 1>&6
21446 cat > conftest.$ac_ext <<EOF
21447 #line 21448 "configure
"
21448 #include "confdefs.h
"
21450 #include <setjmp.h>
21453 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
21456 if { (eval echo configure:21457: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21458 cat >> confdefs.h <<\EOF
21459 #define HAVE_SIGSETJMP 1
21464 echo "configure
: failed program was
:" >&5
21465 cat conftest.$ac_ext >&5
21469 for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h
21471 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21472 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
21473 echo "configure
:21474: checking
for $ac_hdr" >&5
21474 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21475 echo $ac_n "(cached
) $ac_c" 1>&6
21477 cat > conftest.$ac_ext <<EOF
21478 #line 21479 "configure
"
21479 #include "confdefs.h
"
21482 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
21483 { (eval echo configure:21484: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21484 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
21485 if test -z "$ac_err"; then
21487 eval "ac_cv_header_
$ac_safe=yes"
21490 echo "configure
: failed program was
:" >&5
21491 cat conftest.$ac_ext >&5
21493 eval "ac_cv_header_
$ac_safe=no
"
21497 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21498 echo "$ac_t""yes" 1>&6
21499 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21500 cat >> confdefs.h <<EOF
21501 #define $ac_tr_hdr 1
21505 echo "$ac_t""no
" 1>&6
21509 for ac_func in getpagesize
21511 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21512 echo "configure
:21513: checking
for $ac_func" >&5
21513 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21514 echo $ac_n "(cached
) $ac_c" 1>&6
21516 cat > conftest.$ac_ext <<EOF
21517 #line 21518 "configure
"
21518 #include "confdefs.h
"
21519 /* System header to define __stub macros and hopefully few prototypes,
21520 which can conflict with char $ac_func(); below. */
21521 #include <assert.h>
21522 /* Override any gcc2 internal prototype to avoid an error. */
21523 /* We use char because int might match the return type of a gcc2
21524 builtin and then its argument prototype would still apply. */
21529 /* The GNU C library defines this for functions which it implements
21530 to always fail with ENOSYS. Some functions are actually named
21531 something starting with __ and the normal name is an alias. */
21532 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21540 if { (eval echo configure:21541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21542 eval "ac_cv_func_
$ac_func=yes"
21544 echo "configure
: failed program was
:" >&5
21545 cat conftest.$ac_ext >&5
21547 eval "ac_cv_func_
$ac_func=no
"
21552 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21553 echo "$ac_t""yes" 1>&6
21554 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21555 cat >> confdefs.h <<EOF
21556 #define $ac_tr_func 1
21560 echo "$ac_t""no
" 1>&6
21564 echo $ac_n "checking
for working mmap
""...
$ac_c" 1>&6
21565 echo "configure
:21566: checking
for working mmap
" >&5
21566 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
21567 echo $ac_n "(cached
) $ac_c" 1>&6
21569 if test "$cross_compiling" = yes; then
21570 ac_cv_func_mmap_fixed_mapped=no
21572 cat > conftest.$ac_ext <<EOF
21573 #line 21574 "configure
"
21574 #include "confdefs.h
"
21576 /* Thanks to Mike Haertel and Jim Avera for this test.
21577 Here is a matrix of mmap possibilities:
21578 mmap private not fixed
21579 mmap private fixed at somewhere currently unmapped
21580 mmap private fixed at somewhere already mapped
21581 mmap shared not fixed
21582 mmap shared fixed at somewhere currently unmapped
21583 mmap shared fixed at somewhere already mapped
21584 For private mappings, we should verify that changes cannot be read()
21585 back from the file, nor mmap's back from the file at a different
21586 address. (There have been systems where private was not correctly
21587 implemented like the infamous i386 svr4.0, and systems where the
21588 VM page cache was not coherent with the filesystem buffer cache
21589 like early versions of FreeBSD and possibly contemporary NetBSD.)
21590 For shared mappings, we should conversely verify that changes get
21591 propogated back to all the places they're supposed to be.
21593 Grep wants private fixed already mapped.
21594 The main things grep needs to know about mmap are:
21595 * does it exist and is it safe to write into the mmap'd area
21596 * how to use it (BSD variants) */
21597 #include <sys/types.h>
21599 #include <sys/mman.h>
21601 #if HAVE_SYS_TYPES_H
21602 # include <sys/types.h>
21606 # include <stdlib.h>
21609 #if HAVE_SYS_STAT_H
21610 # include <sys/stat.h>
21614 # include <unistd.h>
21617 /* This mess was copied from the GNU getpagesize.h. */
21618 #ifndef HAVE_GETPAGESIZE
21620 /* Assume that all systems that can run configure have sys/param.h. */
21621 # ifndef HAVE_SYS_PARAM_H
21622 # define HAVE_SYS_PARAM_H 1
21625 # ifdef _SC_PAGESIZE
21626 # define getpagesize() sysconf(_SC_PAGESIZE)
21627 # else /* no _SC_PAGESIZE */
21628 # ifdef HAVE_SYS_PARAM_H
21629 # include <sys/param.h>
21630 # ifdef EXEC_PAGESIZE
21631 # define getpagesize() EXEC_PAGESIZE
21632 # else /* no EXEC_PAGESIZE */
21634 # define getpagesize() NBPG * CLSIZE
21637 # endif /* no CLSIZE */
21638 # else /* no NBPG */
21640 # define getpagesize() NBPC
21641 # else /* no NBPC */
21643 # define getpagesize() PAGESIZE
21644 # endif /* PAGESIZE */
21645 # endif /* no NBPC */
21646 # endif /* no NBPG */
21647 # endif /* no EXEC_PAGESIZE */
21648 # else /* no HAVE_SYS_PARAM_H */
21649 # define getpagesize() 8192 /* punt totally */
21650 # endif /* no HAVE_SYS_PARAM_H */
21651 # endif /* no _SC_PAGESIZE */
21653 #endif /* no HAVE_GETPAGESIZE */
21656 extern "C
" { void *malloc(unsigned); }
21664 char *data, *data2, *data3;
21668 pagesize = getpagesize();
21671 * First, make a file with some known garbage in it.
21673 data = malloc(pagesize);
21676 for (i = 0; i < pagesize; ++i)
21677 *(data + i) = rand();
21679 fd = creat("conftestmmap
", 0600);
21682 if (write(fd, data, pagesize) != pagesize)
21687 * Next, try to mmap the file at a fixed address which
21688 * already has something else allocated at it. If we can,
21689 * also make sure that we see the same garbage.
21691 fd = open("conftestmmap
", O_RDWR);
21694 data2 = malloc(2 * pagesize);
21697 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
21698 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
21699 MAP_PRIVATE | MAP_FIXED, fd, 0L))
21701 for (i = 0; i < pagesize; ++i)
21702 if (*(data + i) != *(data2 + i))
21706 * Finally, make sure that changes to the mapped area
21707 * do not percolate back to the file as seen by read().
21708 * (This is a bug on some variants of i386 svr4.0.)
21710 for (i = 0; i < pagesize; ++i)
21711 *(data2 + i) = *(data2 + i) + 1;
21712 data3 = malloc(pagesize);
21715 if (read(fd, data3, pagesize) != pagesize)
21717 for (i = 0; i < pagesize; ++i)
21718 if (*(data + i) != *(data3 + i))
21721 unlink("conftestmmap
");
21726 if { (eval echo configure:21727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
21728 ac_cv_func_mmap_fixed_mapped=yes
21730 echo "configure
: failed program was
:" >&5
21731 cat conftest.$ac_ext >&5
21733 ac_cv_func_mmap_fixed_mapped=no
21740 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
21741 if test $ac_cv_func_mmap_fixed_mapped = yes; then
21742 cat >> confdefs.h <<\EOF
21743 #define HAVE_MMAP 1
21749 # Establish limits on memory usage during 'make check'
21752 setrlimit_have_headers=yes
21753 for ac_hdr in unistd.h sys/time.h sys/resource.h
21755 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21756 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
21757 echo "configure
:21758: checking
for $ac_hdr" >&5
21758 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21759 echo $ac_n "(cached
) $ac_c" 1>&6
21761 cat > conftest.$ac_ext <<EOF
21762 #line 21763 "configure
"
21763 #include "confdefs.h
"
21766 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
21767 { (eval echo configure:21768: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21768 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
21769 if test -z "$ac_err"; then
21771 eval "ac_cv_header_
$ac_safe=yes"
21774 echo "configure
: failed program was
:" >&5
21775 cat conftest.$ac_ext >&5
21777 eval "ac_cv_header_
$ac_safe=no
"
21781 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21782 echo "$ac_t""yes" 1>&6
21783 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21784 cat >> confdefs.h <<EOF
21785 #define $ac_tr_hdr 1
21789 echo "$ac_t""no
" 1>&6
21790 setrlimit_have_headers=no
21794 # If don't have the headers, then we can't run the tests now, and we
21795 # won't be seeing any of these during testsuite compilation.
21796 if test $setrlimit_have_headers = yes; then
21797 # Can't do these in a loop, else the resulting syntax is wrong.
21799 cat > conftest.$ac_ext <<EOF
21800 #line 21801 "configure
"
21801 #include "confdefs.h
"
21802 #include <unistd.h>
21803 #include <sys/time.h>
21804 #include <sys/resource.h>
21807 int f = RLIMIT_DATA ;
21810 if { (eval echo configure:21811: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21814 echo "configure
: failed program was
:" >&5
21815 cat conftest.$ac_ext >&5
21820 cat >> confdefs.h <<EOF
21821 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
21826 cat > conftest.$ac_ext <<EOF
21827 #line 21828 "configure
"
21828 #include "confdefs.h
"
21829 #include <unistd.h>
21830 #include <sys/time.h>
21831 #include <sys/resource.h>
21834 int f = RLIMIT_RSS ;
21837 if { (eval echo configure:21838: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21841 echo "configure
: failed program was
:" >&5
21842 cat conftest.$ac_ext >&5
21847 cat >> confdefs.h <<EOF
21848 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
21853 cat > conftest.$ac_ext <<EOF
21854 #line 21855 "configure
"
21855 #include "confdefs.h
"
21856 #include <unistd.h>
21857 #include <sys/time.h>
21858 #include <sys/resource.h>
21861 int f = RLIMIT_VMEM ;
21864 if { (eval echo configure:21865: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21868 echo "configure
: failed program was
:" >&5
21869 cat conftest.$ac_ext >&5
21874 cat >> confdefs.h <<EOF
21875 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
21880 cat > conftest.$ac_ext <<EOF
21881 #line 21882 "configure
"
21882 #include "confdefs.h
"
21883 #include <unistd.h>
21884 #include <sys/time.h>
21885 #include <sys/resource.h>
21888 int f = RLIMIT_AS ;
21891 if { (eval echo configure:21892: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21895 echo "configure
: failed program was
:" >&5
21896 cat conftest.$ac_ext >&5
21901 cat >> confdefs.h <<EOF
21902 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
21907 # Check for rlimit, setrlimit.
21908 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
21909 echo $ac_n "(cached
) $ac_c" 1>&6
21912 cat > conftest.$ac_ext <<EOF
21913 #line 21914 "configure
"
21914 #include "confdefs.h
"
21915 #include <unistd.h>
21916 #include <sys/time.h>
21917 #include <sys/resource.h>
21920 struct rlimit r; setrlimit(0, &r);
21923 if { (eval echo configure:21924: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21927 echo "configure
: failed program was
:" >&5
21928 cat conftest.$ac_ext >&5
21938 echo $ac_n "checking
for testsuite memory limit support
""...
$ac_c" 1>&6
21939 echo "configure
:21940: checking
for testsuite memory limit support
" >&5
21940 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
21942 cat >> confdefs.h <<\EOF
21943 #define _GLIBCPP_MEM_LIMITS 1
21949 echo "$ac_t""$ac_mem_limits" 1>&6
21952 # Look for setenv, so that extended locale tests can be performed.
21954 echo $ac_n "checking
for setenv declaration
""...
$ac_c" 1>&6
21955 echo "configure
:21956: checking
for setenv declaration
" >&5
21956 if test x${glibcpp_cv_func_setenv_use+set} != xset; then
21957 if eval "test \"`echo '$''{'glibcpp_cv_func_setenv_use'+set}'`\" = set"; then
21958 echo $ac_n "(cached
) $ac_c" 1>&6
21963 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21964 ac_cpp='$CXXCPP $CPPFLAGS'
21965 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21966 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21967 cross_compiling=$ac_cv_prog_cxx_cross
21969 cat > conftest.$ac_ext <<EOF
21970 #line 21971 "configure
"
21971 #include "confdefs.h
"
21972 #include <stdlib.h>
21977 if { (eval echo configure:21978: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21979 glibcpp_cv_func_setenv_use=yes
21981 echo "configure
: failed program was
:" >&5
21982 cat conftest.$ac_ext >&5
21984 glibcpp_cv_func_setenv_use=no
21988 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21989 ac_cpp='$CPP $CPPFLAGS'
21990 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21991 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21992 cross_compiling=$ac_cv_prog_cc_cross
21998 echo "$ac_t""$glibcpp_cv_func_setenv_use" 1>&6
21999 if test x$glibcpp_cv_func_setenv_use = x"yes"; then
22000 for ac_func in setenv
22002 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22003 echo "configure
:22004: checking
for $ac_func" >&5
22004 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22005 echo $ac_n "(cached
) $ac_c" 1>&6
22007 cat > conftest.$ac_ext <<EOF
22008 #line 22009 "configure
"
22009 #include "confdefs.h
"
22010 /* System header to define __stub macros and hopefully few prototypes,
22011 which can conflict with char $ac_func(); below. */
22012 #include <assert.h>
22013 /* Override any gcc2 internal prototype to avoid an error. */
22014 /* We use char because int might match the return type of a gcc2
22015 builtin and then its argument prototype would still apply. */
22020 /* The GNU C library defines this for functions which it implements
22021 to always fail with ENOSYS. Some functions are actually named
22022 something starting with __ and the normal name is an alias. */
22023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22031 if { (eval echo configure:22032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22033 eval "ac_cv_func_
$ac_func=yes"
22035 echo "configure
: failed program was
:" >&5
22036 cat conftest.$ac_ext >&5
22038 eval "ac_cv_func_
$ac_func=no
"
22043 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22044 echo "$ac_t""yes" 1>&6
22045 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22046 cat >> confdefs.h <<EOF
22047 #define $ac_tr_func 1
22051 echo "$ac_t""no
" 1>&6
22060 # This depends on the possibly-skipped linker test above.
22061 # Check whether --enable-symvers or --disable-symvers was given.
22062 if test "${enable_symvers+set}" = set; then
22063 enableval="$enable_symvers"
22064 case "$enableval" in
22065 yes) enable_symvers=yes ;;
22066 no) enable_symvers=no ;;
22067 # other names here, just as sanity checks
22068 #gnu|sun|etcetera) enable_symvers=$enableval ;;
22069 gnu) enable_symvers=$enableval ;;
22070 *) { echo "configure
: error
: Unknown argument to enable
/disable symvers
" 1>&2; exit 1; } ;;
22076 # If we never went through the GLIBCPP_CHECK_LINKER_FEATURES macro, then we
22077 # don't know enough about $LD to do tricks...
22078 if test x$enable_shared = xno ||
22080 test x$glibcpp_gnu_ld_version = x; then
22084 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
22085 if test $enable_symvers != no; then
22086 echo $ac_n "checking
for shared libgcc
""...
$ac_c" 1>&6
22087 echo "configure
:22088: checking
for shared libgcc
" >&5
22088 ac_save_CFLAGS="$CFLAGS"
22090 cat > conftest.$ac_ext <<EOF
22091 #line 22092 "configure
"
22092 #include "confdefs.h
"
22098 if { (eval echo configure:22099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22100 glibcpp_shared_libgcc=yes
22102 echo "configure
: failed program was
:" >&5
22103 cat conftest.$ac_ext >&5
22105 glibcpp_shared_libgcc=no
22108 CFLAGS="$ac_save_CFLAGS"
22109 echo "$ac_t""$glibcpp_shared_libgcc" 1>&6
22112 # For GNU ld, we need at least this version. It's 2.12 in the same format
22113 # as the tested-for version. See GLIBCPP_CHECK_LINKER_FEATURES for more.
22114 glibcpp_min_gnu_ld_version=21200
22116 # Check to see if unspecified "yes" value can win, given results
22118 if test $enable_symvers = yes ; then
22119 if test $with_gnu_ld = yes &&
22120 test $glibcpp_shared_libgcc = yes ;
22122 if test $glibcpp_gnu_ld_version -ge $glibcpp_min_gnu_ld_version ; then
22125 ac_test_CFLAGS="${CFLAGS+set}"
22126 ac_save_CFLAGS="$CFLAGS"
22127 CFLAGS='-shared -Wl,--version-script,conftest.map'
22130 echo 'FOO { global: f[a-z]o; local: *; };' > conftest.map
22132 cat > conftest.$ac_ext <<EOF
22133 #line 22134 "configure
"
22134 #include "confdefs.h
"
22140 if { (eval echo configure:22141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22144 echo "configure
: failed program was
:" >&5
22145 cat conftest.$ac_ext >&5
22148 if test "$ac_test_CFLAGS" = set; then
22149 CFLAGS="$ac_save_CFLAGS"
22151 # this is the suspicious part
22157 # just fail for now
22162 case $enable_symvers in
22164 LINKER_MAP=config/linker-map.dummy
22167 LINKER_MAP=config/linker-map.gnu
22174 if test $enable_symvers != no; then
22175 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE=
22176 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE='#'
22178 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE='#'
22179 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE=
22181 echo $ac_n "checking versioning on shared library symbols
""...
$ac_c" 1>&6
22182 echo "configure
:22183: checking versioning on shared library symbols
" >&5
22183 echo "$ac_t""$enable_symvers" 1>&6
22186 # Propagate the target-specific source directories through the build chain.
22187 # (Nothing currently uses cpu_include_dir directly; only ATOMICITYH and
22188 # CPULIMITSH [might] use it, and they only get used here.)
22189 OS_INC_SRCDIR=config/${os_include_dir}
22190 ATOMICITY_INC_SRCDIR=config/${ATOMICITYH}
22191 CPU_LIMITS_INC_SRCDIR=config/${CPULIMITSH}
22196 # Set up cross-compile flags
22199 if test "$CANADIAN" = yes; then
22207 cat > confcache <<\EOF
22208 # This file is a shell script that caches the results of configure
22209 # tests run on this system so they can be shared between configure
22210 # scripts and configure runs. It is not useful on other systems.
22211 # If it contains results you don't want to keep, you may remove or edit it.
22213 # By default, configure uses ./config.cache as the cache file,
22214 # creating it if it does not exist already. You can give configure
22215 # the --cache-file=FILE option to use a different cache file; that is
22216 # what configure does when it calls configure scripts in
22217 # subdirectories, so they share the cache.
22218 # Giving --cache-file=/dev/null disables caching, for debugging configure.
22219 # config.status only pays attention to the cache file if you give it the
22220 # --recheck option to rerun configure.
22223 # The following way of writing the cache mishandles newlines in values,
22224 # but we know of no workaround that is simple, portable, and efficient.
22225 # So, don't put newlines in cache variables' values.
22226 # Ultrix sh set writes to stderr and can't be redirected directly,
22227 # and sets the high bit in the cache file unless we assign to the vars.
22229 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22231 # `set' does not quote correctly, so add quotes (double-quote substitution
22232 # turns \\\\ into \\, and sed turns \\ into \).
22234 -e "s
/'/'\\\\''/g
" \
22235 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
22238 # `set' quotes correctly as required by POSIX, so do not add quotes.
22239 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
22242 if cmp -s $cache_file confcache; then
22245 if test -w $cache_file; then
22246 echo "updating cache
$cache_file"
22247 cat confcache > $cache_file
22249 echo "not updating unwritable cache
$cache_file"
22255 if test "${multilib}" = "yes"; then
22256 multilib_arg="--enable-multilib"
22261 # Export all the install information
22263 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
22264 # exported correctly in GLIBCPP_CONFIGURE.
22265 glibcpp_toolexecdir=no
22266 glibcpp_toolexeclibdir=no
22267 glibcpp_prefixdir=${prefix}
22269 # Process the option --with-gxx-include-dir=<path to include-files directory>
22270 echo $ac_n "checking
for --with-gxx-include-dir""...
$ac_c" 1>&6
22271 echo "configure
:22272: checking
for --with-gxx-include-dir" >&5
22272 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
22273 if test "${with_gxx_include_dir+set}" = set; then
22274 withval="$with_gxx_include_dir"
22275 case "${withval}" in
22277 { echo "configure
: error
: Missing directory
for --with-gxx-include-dir" 1>&2; exit 1; }
22284 gxx_include_dir=${withval}
22291 echo "$ac_t""$gxx_include_dir" 1>&6
22293 # Process the option "--enable-version-specific-runtime-libs"
22294 echo $ac_n "checking
for --enable-version-specific-runtime-libs""...
$ac_c" 1>&6
22295 echo "configure
:22296: checking
for --enable-version-specific-runtime-libs" >&5
22296 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
22297 if test "${enable_version_specific_runtime_libs+set}" = set; then
22298 enableval="$enable_version_specific_runtime_libs"
22299 case "$enableval" in
22300 yes) version_specific_libs=yes ;;
22301 no) version_specific_libs=no ;;
22302 *) { echo "configure
: error
: Unknown argument to enable
/disable version-specific libs
" 1>&2; exit 1; };;
22305 version_specific_libs=no
22307 # Option set, now we can test it.
22308 echo "$ac_t""$version_specific_libs" 1>&6
22310 # Default case for install directory for include files.
22311 if test $version_specific_libs = no && test $gxx_include_dir = no; then
22312 gxx_include_dir='$(prefix)'/include/c++/${gcc_version}
22315 # Version-specific runtime libs processing.
22316 if test $version_specific_libs = yes; then
22317 # Need the gcc compiler version to know where to install libraries
22318 # and header files if --enable-version-specific-runtime-libs option
22320 if test x"$gxx_include_dir" = x"no
"; then
22321 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/c++
22323 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
22324 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
22327 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
22328 # Install a library built with a cross compiler in tooldir, not libdir.
22329 if test x"$glibcpp_toolexecdir" = x"no
"; then
22330 if test -n "$with_cross_host" &&
22331 test x"$with_cross_host" != x"no
"; then
22332 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
22333 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
22335 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
22336 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
22340 echo $ac_n "checking
for install location
""...
$ac_c" 1>&6
22341 echo "configure
:22342: checking
for install location
" >&5
22342 echo "$ac_t""$gxx_include_dir" 1>&6
22350 # Export all the include and flag information to makefiles.
22352 # Root level of the build directory include sources.
22353 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include
"
22355 # Passed down for canadian crosses.
22356 if test x"$CANADIAN" = xyes; then
22357 TOPLEVEL_INCLUDES='-I$(includedir)'
22360 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
22362 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
22364 if test x"$need_libio" = xyes; then
22365 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
22369 # Now, export this to all the little Makefiles....
22376 # Optimization flags that are probably a good idea for thrill-seekers. Just
22377 # uncomment the lines below and make, everything else is ready to go...
22378 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
22382 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
22386 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
22387 grep "enable shared
" > /dev/null; then
22388 LIBSUPCXX_PICFLAGS=-prefer-pic
22390 LIBSUPCXX_PICFLAGS=
22394 # Generate the various Makefiles, include files, and scripts.
22395 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
22396 # and libsupc++/Makefile.am so that multilib installs will end up
22397 # installed in the correct place. To work around this not being passed
22398 # down from config-ml.in -> top_srcdir/Makefile.am ->
22399 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
22401 cat > confcache <<\EOF
22402 # This file is a shell script that caches the results of configure
22403 # tests run on this system so they can be shared between configure
22404 # scripts and configure runs. It is not useful on other systems.
22405 # If it contains results you don't want to keep, you may remove or edit it.
22407 # By default, configure uses ./config.cache as the cache file,
22408 # creating it if it does not exist already. You can give configure
22409 # the --cache-file=FILE option to use a different cache file; that is
22410 # what configure does when it calls configure scripts in
22411 # subdirectories, so they share the cache.
22412 # Giving --cache-file=/dev/null disables caching, for debugging configure.
22413 # config.status only pays attention to the cache file if you give it the
22414 # --recheck option to rerun configure.
22417 # The following way of writing the cache mishandles newlines in values,
22418 # but we know of no workaround that is simple, portable, and efficient.
22419 # So, don't put newlines in cache variables' values.
22420 # Ultrix sh set writes to stderr and can't be redirected directly,
22421 # and sets the high bit in the cache file unless we assign to the vars.
22423 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22425 # `set' does not quote correctly, so add quotes (double-quote substitution
22426 # turns \\\\ into \\, and sed turns \\ into \).
22428 -e "s
/'/'\\\\''/g
" \
22429 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
22432 # `set' quotes correctly as required by POSIX, so do not add quotes.
22433 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
22436 if cmp -s $cache_file confcache; then
22439 if test -w $cache_file; then
22440 echo "updating cache
$cache_file"
22441 cat confcache > $cache_file
22443 echo "not updating unwritable cache
$cache_file"
22448 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
22450 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
22451 # Let make expand exec_prefix.
22452 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
22454 # Any assignment to VPATH causes Sun make to only execute
22455 # the first set of double-colon rules, so remove it if not needed.
22456 # If there is a colon in the path, we need to keep it.
22457 if test "x
$srcdir" = x.; then
22458 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
22461 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
22463 DEFS=-DHAVE_CONFIG_H
22465 # Without the ".
/", some shells look in PATH for config.status.
22466 : ${CONFIG_STATUS=./config.status}
22468 echo creating $CONFIG_STATUS
22469 rm -f $CONFIG_STATUS
22470 cat > $CONFIG_STATUS <<EOF
22472 # Generated automatically by configure.
22473 # Run this file to recreate the current configuration.
22474 # This directory was configured as follows,
22475 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22477 # $0 $ac_configure_args
22479 # Compiler output produced by configure, useful for debugging
22480 # configure, is in ./config.log if it exists.
22482 ac_cs_usage="Usage
: $CONFIG_STATUS [--recheck] [--version] [--help]"
22485 case "\
$ac_option" in
22486 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22487 echo "running \
${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
22488 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
22489 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
22490 echo "$CONFIG_STATUS generated by autoconf version
2.13"
22492 -help | --help | --hel | --he | --h)
22493 echo "\
$ac_cs_usage"; exit 0 ;;
22494 *) echo "\
$ac_cs_usage"; exit 1 ;;
22498 ac_given_srcdir=$srcdir
22499 ac_given_INSTALL="$INSTALL"
22501 trap 'rm -fr `echo "Makefile \
22502 include
/Makefile src
/Makefile \
22503 libmath
/Makefile libio
/Makefile libsupc
++/Makefile \
22504 po
/Makefile testsuite
/Makefile mkcheck testsuite_flags config.h
" | sed "s
/:[^
]*//g
"` conftest*; exit 1' 1 2 15
22506 cat >> $CONFIG_STATUS <<EOF
22508 # Protect against being on the right side of a sed subst in config.status.
22509 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
22510 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
22514 s%@CFLAGS@%$CFLAGS%g
22515 s%@CPPFLAGS@%$CPPFLAGS%g
22516 s%@CXXFLAGS@%$CXXFLAGS%g
22517 s%@FFLAGS@%$FFLAGS%g
22519 s%@LDFLAGS@%$LDFLAGS%g
22521 s%@exec_prefix@%$exec_prefix%g
22522 s%@prefix@%$prefix%g
22523 s%@program_transform_name@%$program_transform_name%g
22524 s%@bindir@%$bindir%g
22525 s%@sbindir@%$sbindir%g
22526 s%@libexecdir@%$libexecdir%g
22527 s%@datadir@%$datadir%g
22528 s%@sysconfdir@%$sysconfdir%g
22529 s%@sharedstatedir@%$sharedstatedir%g
22530 s%@localstatedir@%$localstatedir%g
22531 s%@libdir@%$libdir%g
22532 s%@includedir@%$includedir%g
22533 s%@oldincludedir@%$oldincludedir%g
22534 s%@infodir@%$infodir%g
22535 s%@mandir@%$mandir%g
22536 s%@PACKAGE@%$PACKAGE%g
22537 s%@libtool_VERSION@%$libtool_VERSION%g
22538 s%@toplevel_srcdir@%$toplevel_srcdir%g
22540 s%@host_alias@%$host_alias%g
22541 s%@host_cpu@%$host_cpu%g
22542 s%@host_vendor@%$host_vendor%g
22543 s%@host_os@%$host_os%g
22544 s%@target@%$target%g
22545 s%@target_alias@%$target_alias%g
22546 s%@target_cpu@%$target_cpu%g
22547 s%@target_vendor@%$target_vendor%g
22548 s%@target_os@%$target_os%g
22550 s%@build_alias@%$build_alias%g
22551 s%@build_cpu@%$build_cpu%g
22552 s%@build_vendor@%$build_vendor%g
22553 s%@build_os@%$build_os%g
22554 s%@glibcpp_builddir@%$glibcpp_builddir%g
22555 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
22558 s%@glibcpp_basedir@%$glibcpp_basedir%g
22560 s%@glibcpp_CXX@%$glibcpp_CXX%g
22563 s%@RANLIB@%$RANLIB%g
22564 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
22565 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
22566 s%@INSTALL_DATA@%$INSTALL_DATA%g
22567 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
22568 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
22570 s%@EXEEXT@%$EXEEXT%g
22571 s%@VERSION@%$VERSION%g
22572 s%@ACLOCAL@%$ACLOCAL%g
22573 s%@AUTOCONF@%$AUTOCONF%g
22574 s%@AUTOMAKE@%$AUTOMAKE%g
22575 s%@AUTOHEADER@%$AUTOHEADER%g
22576 s%@MAKEINFO@%$MAKEINFO%g
22577 s%@SET_MAKE@%$SET_MAKE%g
22578 s%@OBJEXT@%$OBJEXT%g
22580 s%@LIBTOOL@%$LIBTOOL%g
22581 s%@CXXCPP@%$CXXCPP%g
22582 s%@enable_shared@%$enable_shared%g
22583 s%@enable_static@%$enable_static%g
22584 s%@ifGNUmake@%$ifGNUmake%g
22585 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
22587 s%@CSTDIO_H@%$CSTDIO_H%g
22588 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
22589 s%@CCODECVT_C@%$CCODECVT_C%g
22590 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
22591 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
22592 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
22593 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
22594 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
22595 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
22596 s%@libio_la@%$libio_la%g
22597 s%@check_msgfmt@%$check_msgfmt%g
22598 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
22599 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
22600 s%@glibcpp_localedir@%$glibcpp_localedir%g
22601 s%@USE_NLS@%$USE_NLS%g
22602 s%@CLOCALE_H@%$CLOCALE_H%g
22603 s%@CCODECVT_H@%$CCODECVT_H%g
22604 s%@CMESSAGES_H@%$CMESSAGES_H%g
22605 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
22606 s%@GLIBCPP_C_HEADERS_C_TRUE@%$GLIBCPP_C_HEADERS_C_TRUE%g
22607 s%@GLIBCPP_C_HEADERS_C_FALSE@%$GLIBCPP_C_HEADERS_C_FALSE%g
22608 s%@GLIBCPP_C_HEADERS_C_STD_TRUE@%$GLIBCPP_C_HEADERS_C_STD_TRUE%g
22609 s%@GLIBCPP_C_HEADERS_C_STD_FALSE@%$GLIBCPP_C_HEADERS_C_STD_FALSE%g
22610 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE%g
22611 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE%g
22612 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
22613 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
22614 s%@LIBUNWIND_FLAG@%$LIBUNWIND_FLAG%g
22615 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
22616 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
22617 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
22618 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
22619 s%@WERROR@%$WERROR%g
22620 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g
22621 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g
22622 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
22623 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
22624 s%@CPU_LIMITS_INC_SRCDIR@%$CPU_LIMITS_INC_SRCDIR%g
22625 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
22626 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
22627 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
22628 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
22629 s%@gxx_include_dir@%$gxx_include_dir%g
22630 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
22631 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
22632 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
22633 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
22634 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
22635 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
22636 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
22637 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
22638 s%@WARN_FLAGS@%$WARN_FLAGS%g
22639 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
22644 cat >> $CONFIG_STATUS <<\EOF
22646 # Split the substitutions into bite-sized pieces for seds with
22647 # small command number limits, like on Digital OSF/1 and HP-UX.
22648 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
22649 ac_file=1 # Number of current file.
22650 ac_beg=1 # First line for current file.
22651 ac_end=$ac_max_sed_cmds # Line after last line for current file.
22654 while $ac_more_lines; do
22655 if test $ac_beg -gt 1; then
22656 sed "1,${ac_beg}d
; ${ac_end}q
" conftest.subs > conftest.s$ac_file
22658 sed "${ac_end}q
" conftest.subs > conftest.s$ac_file
22660 if test ! -s conftest.s$ac_file; then
22661 ac_more_lines=false
22662 rm -f conftest.s$ac_file
22664 if test -z "$ac_sed_cmds"; then
22665 ac_sed_cmds="sed -f conftest.s
$ac_file"
22667 ac_sed_cmds="$ac_sed_cmds |
sed -f conftest.s
$ac_file"
22669 ac_file=`expr $ac_file + 1`
22671 ac_end=`expr $ac_end + $ac_max_sed_cmds`
22674 if test -z "$ac_sed_cmds"; then
22679 cat >> $CONFIG_STATUS <<EOF
22681 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
22682 include
/Makefile src
/Makefile \
22683 libmath
/Makefile libio
/Makefile libsupc
++/Makefile \
22684 po
/Makefile testsuite
/Makefile mkcheck testsuite_flags
"}
22686 cat >> $CONFIG_STATUS <<\EOF
22687 for ac_file in .. $CONFIG_FILES; do if test "x
$ac_file" != x..; then
22688 # Support "outfile
[:infile
[:infile...
]]", defaulting infile="outfile.
in".
22690 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
22691 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
22692 *) ac_file_in="${ac_file}.
in" ;;
22695 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
22697 # Remove last slash and all that follows it. Not all systems have dirname.
22698 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22699 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
22700 # The file is in a subdirectory.
22701 test ! -d "$ac_dir" && mkdir "$ac_dir"
22702 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
22703 # A "..
/" for each directory in $ac_dir_suffix.
22704 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
22706 ac_dir_suffix= ac_dots=
22709 case "$ac_given_srcdir" in
22711 if test -z "$ac_dots"; then top_srcdir=.
22712 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
22713 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
22714 *) # Relative path.
22715 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
22716 top_srcdir="$ac_dots$ac_given_srcdir" ;;
22719 case "$ac_given_INSTALL" in
22720 [/$]*) INSTALL="$ac_given_INSTALL" ;;
22721 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
22724 echo creating "$ac_file"
22726 configure_input="Generated automatically from
`echo $ac_file_in|sed 's%.*/%%'` by configure.
"
22728 *Makefile*) ac_comsub="1i
\\
22729 # $configure_input" ;;
22733 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22735 s%@configure_input@%$configure_input%g
22736 s%@srcdir@%$srcdir%g
22737 s%@top_srcdir@%$top_srcdir%g
22738 s%@INSTALL@%$INSTALL%g
22739 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
22743 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
22744 # NAME is the cpp macro being defined and VALUE is the value it is being given.
22746 # ac_d sets the value in "#define NAME VALUE" lines.
22747 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22748 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
22751 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
22752 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22753 ac_uB
='\([ ]\)%\1#\2define\3'
22756 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22757 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22758 ac_eB
='$%\1#\2define\3'
22762 if test "${CONFIG_HEADERS+set}" != set; then
22764 cat >> $CONFIG_STATUS <<EOF
22765 CONFIG_HEADERS="config.h"
22767 cat >> $CONFIG_STATUS <<\EOF
22769 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
22770 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22772 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
22773 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
22774 *) ac_file_in
="${ac_file}.in" ;;
22777 echo creating
$ac_file
22779 rm -f conftest.frag conftest.
in conftest.out
22780 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22781 cat $ac_file_inputs > conftest.
in
22785 # Transform confdefs.h into a sed script conftest.vals that substitutes
22786 # the proper values into config.h.in to produce config.h. And first:
22787 # Protect against being on the right side of a sed subst in config.status.
22788 # Protect against being in an unquoted here document in config.status.
22789 rm -f conftest.vals
22790 cat > conftest.hdr
<<\EOF
22793 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
22797 sed -n -f conftest.hdr confdefs.h > conftest.vals
22800 # This sed command replaces #undef with comments. This is necessary, for
22801 # example, in the case of _POSIX_SOURCE, which is predefined and required
22802 # on some systems where configure will not decide to define it.
22803 cat >> conftest.vals <<\EOF
22804 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
22807 # Break up conftest.vals because some shells have a limit on
22808 # the size of here documents, and old seds have small limits too.
22810 rm -f conftest.tail
22813 ac_lines=`grep -c . conftest.vals
`
22814 # grep -c gives empty output for an empty file on some AIX systems.
22815 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
22816 # Write a limited-size here document to conftest.frag.
22817 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
22818 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
22820 sed -f conftest.frag conftest.in > conftest.out
22822 mv conftest.out conftest.in
22823 ' >> $CONFIG_STATUS
22824 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
22825 rm -f conftest.vals
22826 mv conftest.tail conftest.vals
22828 rm -f conftest.vals
22830 cat >> $CONFIG_STATUS <<\EOF
22831 rm -f conftest.frag conftest.h
22832 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
22833 cat conftest.in >> conftest.h
22835 if cmp -s $ac_file conftest.h 2>/dev/null; then
22836 echo "$ac_file is unchanged"
22839 # Remove last slash and all that follows it. Not all systems have dirname.
22840 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
22841 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
22842 # The file is in a subdirectory.
22843 test ! -d "$ac_dir" && mkdir "$ac_dir"
22846 mv conftest.h $ac_file
22852 cat >> $CONFIG_STATUS <<EOF
22853 ac_sources="$BASIC_FILE_CC $CLOCALE_CC $CCOLLATE_CC $CCTYPE_CC $CMESSAGES_CC $CMONEY_CC $CNUMERIC_CC $CTIME_CC $LINKER_MAP"
22854 ac_dests="src/basic_file.cc src/c++locale.cc src/collate.cc src/ctype.cc src/messages.cc src/monetary.cc src/numeric.cc src/time.cc src/linker.map"
22857 cat >> $CONFIG_STATUS <<\EOF
22858 srcdir=$ac_given_srcdir
22859 while test -n "$ac_sources"; do
22860 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
22861 set $ac_sources; ac_source=$1; shift; ac_sources=$*
22863 echo "linking $srcdir/$ac_source to $ac_dest"
22865 if test ! -r $srcdir/$ac_source; then
22866 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
22870 # Make relative symlinks.
22871 # Remove last slash and all that follows it. Not all systems have dirname.
22872 ac_dest_dir=`echo $ac_dest|
sed 's%/[^/][^/]*$%%'`
22873 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
22874 # The dest file is in a subdirectory.
22875 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
22876 ac_dest_dir_suffix="/`echo $ac_dest_dir|
sed 's%^\./%%'`"
22877 # A "../" for each directory in $ac_dest_dir_suffix.
22878 ac_dots=`echo $ac_dest_dir_suffix|
sed 's%/[^/]*%../%g'`
22880 ac_dest_dir_suffix= ac_dots=
22884 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
22885 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
22888 # Make a symlink if possible; otherwise try a hard link.
22889 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
22890 ln $srcdir/$ac_source $ac_dest; then :
22892 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
22896 cat >> $CONFIG_STATUS <<EOF
22901 with_multisubdir=${with_multisubdir}
22902 ac_configure_args="${multilib_arg} ${ac_configure_args}"
22903 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
22904 glibcpp_basedir=${glibcpp_basedir}
22909 cat >> $CONFIG_STATUS <<\EOF
22910 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
22911 if test -n "$CONFIG_FILES"; then
22912 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
22913 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
22914 grep '^MULTISUBDIR =' Makefile >> src/Makefile
22915 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
22918 chmod +x testsuite_flags
22922 chmod +x $CONFIG_STATUS
22923 rm -fr confdefs* $ac_clean_files
22924 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
22928 # Sanity checking & User-visible messages.
22929 # Checks down here, otherwise they get scrolled off before
22930 # the user will notice.
22932 # Trying to get more people to read documentation. Possibly remove
22933 # check and warn all the time. There is no "informational" AC_MSG_
22934 # macro, so these are going to be printed even when --quiet/--silent
22936 if test ! -f stamp-sanity-warned; then
22937 touch stamp-sanity-warned
22939 echo "Please make certain that you read the installation information here:"
22940 echo " faster => ${srcdir}/docs/html/install.html"
22941 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
22943 echo "and the configuration information here:"
22944 echo " faster => ${srcdir}/docs/html/configopts.html"
22945 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
22947 echo "before proceeding with ${_cv_gnu_make_command}."