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-cstdio enable stdio for target io package.
38 --enable-cstdio=LIB use LIB target-speific io package. [default=stdio]
41 --enable-clocale enable model for target locale package.
42 --enable-clocale=MODEL use MODEL target-speific locale package. [default=generic]
45 --enable-nls use Native Language Support (default)"
47 --enable-cheaders=MODEL construct "C
" header files for g++ [default=c_std]"
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-sjlj-exceptions force use of builtin_setjmp for exceptions"
57 --enable-libunwind-exceptions force use of libunwind for exceptions"
59 --enable-concept-checks use Boost-derived template checks [default=no]"
61 --enable-cxx-flags=FLAGS pass compiler FLAGS when building library;
64 --enable-debug build extra debug library [default=no]"
66 --enable-debug-flags=FLAGS pass compiler FLAGS when building debug
67 library;[default=none]"
69 --enable-symvers=style enables symbol versioning of the shared library [default=yes]"
71 --with-gxx-include-dir the installation directory for include files"
73 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory "
75 # Initialize some variables set by options.
76 # The variables have the same names as the options, with
77 # dashes changed to underlines.
79 cache_file
=.
/config.cache
88 program_transform_name
=s
,x
,x
,
96 bindir
='${exec_prefix}/bin'
97 sbindir
='${exec_prefix}/sbin'
98 libexecdir
='${exec_prefix}/libexec'
99 datadir
='${prefix}/share'
100 sysconfdir
='${prefix}/etc'
101 sharedstatedir
='${prefix}/com'
102 localstatedir
='${prefix}/var'
103 libdir
='${exec_prefix}/lib'
104 includedir
='${prefix}/include'
105 oldincludedir
='/usr/include'
106 infodir
='${prefix}/info'
107 mandir
='${prefix}/man'
109 # Initialize some other variables.
112 SHELL
=${CONFIG_SHELL-/bin/sh}
113 # Maximum number of lines to put in a shell here document.
120 # If the previous option needs an argument, assign it.
121 if test -n "$ac_prev"; then
122 eval "$ac_prev=\$ac_option"
128 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
132 # Accept the important Cygnus configure options, so we can diagnose typos.
136 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
138 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
139 bindir
="$ac_optarg" ;;
141 -build |
--build |
--buil |
--bui |
--bu)
143 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
144 build
="$ac_optarg" ;;
146 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
147 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
148 ac_prev
=cache_file
;;
149 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
150 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
151 cache_file
="$ac_optarg" ;;
153 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
155 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
157 datadir
="$ac_optarg" ;;
159 -disable-* |
--disable-*)
160 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
161 # Reject names that are not valid shell variable names.
162 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
163 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
165 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
166 eval "enable_${ac_feature}=no" ;;
168 -enable-* |
--enable-*)
169 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
170 # Reject names that are not valid shell variable names.
171 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
172 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
174 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
179 eval "enable_${ac_feature}='$ac_optarg'" ;;
181 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
182 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
183 |
--exec |
--exe |
--ex)
184 ac_prev
=exec_prefix
;;
185 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
186 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
187 |
--exec=* |
--exe=* |
--ex=*)
188 exec_prefix
="$ac_optarg" ;;
190 -gas |
--gas |
--ga |
--g)
191 # Obsolete; use --with-gas.
194 -help |
--help |
--hel |
--he)
195 # Omit some internal or obsolete options to make the list less imposing.
196 # This message is too long to be a string in the A/UX 3.1 sh.
198 Usage: configure [options] [host]
199 Options: [defaults in brackets after descriptions]
201 --cache-file=FILE cache test results in FILE
202 --help print this message
203 --no-create do not create output files
204 --quiet, --silent do not print \`checking...' messages
205 --version print the version of autoconf that created configure
206 Directory and file names:
207 --prefix=PREFIX install architecture-independent files in PREFIX
209 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
211 --bindir=DIR user executables in DIR [EPREFIX/bin]
212 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
213 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
214 --datadir=DIR read-only architecture-independent data in DIR
216 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
217 --sharedstatedir=DIR modifiable architecture-independent data in DIR
219 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
220 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
221 --includedir=DIR C header files in DIR [PREFIX/include]
222 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
223 --infodir=DIR info documentation in DIR [PREFIX/info]
224 --mandir=DIR man documentation in DIR [PREFIX/man]
225 --srcdir=DIR find the sources in DIR [configure dir or ..]
226 --program-prefix=PREFIX prepend PREFIX to installed program names
227 --program-suffix=SUFFIX append SUFFIX to installed program names
228 --program-transform-name=PROGRAM
229 run sed PROGRAM on installed program names
233 --build=BUILD configure for building on BUILD [BUILD=HOST]
234 --host=HOST configure for HOST [guessed]
235 --target=TARGET configure for TARGET [TARGET=HOST]
236 Features and packages:
237 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
238 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
239 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
240 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
241 --x-includes=DIR X include files are in DIR
242 --x-libraries=DIR X library files are in DIR
244 if test -n "$ac_help"; then
245 echo "--enable and --with options recognized:$ac_help"
249 -host |
--host |
--hos |
--ho)
251 -host=* |
--host=* |
--hos=* |
--ho=*)
254 -includedir |
--includedir |
--includedi |
--included |
--include \
255 |
--includ |
--inclu |
--incl |
--inc)
256 ac_prev
=includedir
;;
257 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
258 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
259 includedir
="$ac_optarg" ;;
261 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
263 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
264 infodir
="$ac_optarg" ;;
266 -libdir |
--libdir |
--libdi |
--libd)
268 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
269 libdir
="$ac_optarg" ;;
271 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
272 |
--libexe |
--libex |
--libe)
273 ac_prev
=libexecdir
;;
274 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
275 |
--libexe=* |
--libex=* |
--libe=*)
276 libexecdir
="$ac_optarg" ;;
278 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
279 |
--localstate |
--localstat |
--localsta |
--localst \
280 |
--locals |
--local |
--loca |
--loc |
--lo)
281 ac_prev
=localstatedir
;;
282 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
283 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
284 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
285 localstatedir
="$ac_optarg" ;;
287 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
289 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
290 mandir
="$ac_optarg" ;;
293 # Obsolete; use --without-fp.
296 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
300 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
301 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
304 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
305 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
306 |
--oldin |
--oldi |
--old |
--ol |
--o)
307 ac_prev
=oldincludedir
;;
308 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
309 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
310 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
311 oldincludedir
="$ac_optarg" ;;
313 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
315 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
316 prefix
="$ac_optarg" ;;
318 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
319 |
--program-pre |
--program-pr |
--program-p)
320 ac_prev
=program_prefix
;;
321 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
322 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
323 program_prefix
="$ac_optarg" ;;
325 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
326 |
--program-suf |
--program-su |
--program-s)
327 ac_prev
=program_suffix
;;
328 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
329 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
330 program_suffix
="$ac_optarg" ;;
332 -program-transform-name |
--program-transform-name \
333 |
--program-transform-nam |
--program-transform-na \
334 |
--program-transform-n |
--program-transform- \
335 |
--program-transform |
--program-transfor \
336 |
--program-transfo |
--program-transf \
337 |
--program-trans |
--program-tran \
338 |
--progr-tra |
--program-tr |
--program-t)
339 ac_prev
=program_transform_name
;;
340 -program-transform-name=* |
--program-transform-name=* \
341 |
--program-transform-nam=* |
--program-transform-na=* \
342 |
--program-transform-n=* |
--program-transform-=* \
343 |
--program-transform=* |
--program-transfor=* \
344 |
--program-transfo=* |
--program-transf=* \
345 |
--program-trans=* |
--program-tran=* \
346 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
347 program_transform_name
="$ac_optarg" ;;
349 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
350 |
-silent |
--silent |
--silen |
--sile |
--sil)
353 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
355 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
357 sbindir
="$ac_optarg" ;;
359 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
360 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
361 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
363 ac_prev
=sharedstatedir
;;
364 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
365 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
366 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
368 sharedstatedir
="$ac_optarg" ;;
370 -site |
--site |
--sit)
372 -site=* |
--site=* |
--sit=*)
375 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
377 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
378 srcdir
="$ac_optarg" ;;
380 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
381 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
382 ac_prev
=sysconfdir
;;
383 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
384 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
385 sysconfdir
="$ac_optarg" ;;
387 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
389 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
390 target
="$ac_optarg" ;;
392 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
395 -version |
--version |
--versio |
--versi |
--vers)
396 echo "configure generated by autoconf version 2.13"
400 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
401 # Reject names that are not valid shell variable names.
402 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
403 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
405 ac_package
=`echo $ac_package| sed 's/-/_/g'`
410 eval "with_${ac_package}='$ac_optarg'" ;;
412 -without-* |
--without-*)
413 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
414 # Reject names that are not valid shell variable names.
415 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
416 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
418 ac_package
=`echo $ac_package| sed 's/-/_/g'`
419 eval "with_${ac_package}=no" ;;
422 # Obsolete; use --with-x.
425 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
426 |
--x-incl |
--x-inc |
--x-in |
--x-i)
427 ac_prev
=x_includes
;;
428 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
429 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
430 x_includes
="$ac_optarg" ;;
432 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
433 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
434 ac_prev
=x_libraries
;;
435 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
436 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
437 x_libraries
="$ac_optarg" ;;
439 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
443 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
444 echo "configure: warning: $ac_option: invalid host type" 1>&2
446 if test "x$nonopt" != xNONE
; then
447 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
455 if test -n "$ac_prev"; then
456 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
459 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
461 # File descriptor usage:
464 # 2 errors and warnings
465 # 3 some systems may open it to /dev/tty
466 # 4 used on the Kubota Titan
467 # 6 checking for... messages and results
468 # 5 compiler messages saved in config.log
469 if test "$silent" = yes; then
477 This file contains any messages produced by compilers while
478 running configure, to aid debugging if configure makes a mistake.
481 # Strip out --no-create and --no-recursion so they do not pile up.
482 # Also quote any args containing shell metacharacters.
487 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
488 |
--no-cr |
--no-c) ;;
489 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
490 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
491 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
492 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
493 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
498 # Only set these to C if already set. These must not be set unconditionally
499 # because not all systems understand e.g. LANG=C (notably SCO).
500 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
501 # Non-C LC_CTYPE values break the ctype check.
502 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
503 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
504 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
505 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
507 # confdefs.h avoids OS command line length limits that DEFS can exceed.
508 rm -rf conftest
* confdefs.h
509 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
512 # A filename unique to this package, relative to the directory that
513 # configure is in, which we can look for to find out if srcdir is correct.
514 ac_unique_file
=src
/ios.cc
516 # Find the source files, if location was not specified.
517 if test -z "$srcdir"; then
518 ac_srcdir_defaulted
=yes
519 # Try the directory containing this script, then its parent.
521 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
522 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
524 if test ! -r $srcdir/$ac_unique_file; then
528 ac_srcdir_defaulted
=no
530 if test ! -r $srcdir/$ac_unique_file; then
531 if test "$ac_srcdir_defaulted" = yes; then
532 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
534 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
537 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
539 # Prefer explicitly selected file to automatically selected ones.
540 if test -z "$CONFIG_SITE"; then
541 if test "x$prefix" != xNONE
; then
542 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
544 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
547 for ac_site_file
in $CONFIG_SITE; do
548 if test -r "$ac_site_file"; then
549 echo "loading site script $ac_site_file"
554 if test -r "$cache_file"; then
555 echo "loading cache $cache_file"
558 echo "creating cache $cache_file"
563 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
564 ac_cpp
='$CPP $CPPFLAGS'
565 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
566 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
567 cross_compiling
=$ac_cv_prog_cc_cross
571 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
572 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
573 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
580 ac_n
= ac_c
='\c' ac_t
=
585 # This works around the fact that libtool configuration may change LD
586 # for this particular configuration, but some shells, instead of
587 # keeping the changes in LD private, export them just because LD is
588 # exported. Only used at the end of this file.
589 ORIGINAL_LD_FOR_MULTILIBS
=$LD
593 # For libtool versioning info, format is CURRENT:REVISION:AGE
594 libtool_VERSION
=6:0:0
598 # Check whether --enable-multilib or --disable-multilib was given.
599 if test "${enable_multilib+set}" = set; then
600 enableval
="$enable_multilib"
601 case "${enableval}" in
604 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
610 # When building with srcdir == objdir, links to the source files will
611 # be created in directories within the target_subdir. We have to
612 # adjust toplevel_srcdir accordingly, so that configure finds
613 # install-sh and other auxiliary files that live in the top-level
615 if test "${srcdir}" = "."; then
616 if test -z "${with_target_subdir}"; then
619 if test "${with_target_subdir}" != "."; then
620 toprel
="${with_multisrctop}../.."
622 toprel
="${with_multisrctop}.."
629 for ac_dir
in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do
630 if test -f $ac_dir/install-sh
; then
632 ac_install_sh
="$ac_aux_dir/install-sh -c"
634 elif test -f $ac_dir/install.sh
; then
636 ac_install_sh
="$ac_aux_dir/install.sh -c"
640 if test -z "$ac_aux_dir"; then
641 { echo "configure: error: can not find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" 1>&2; exit 1; }
643 ac_config_guess=$ac_aux_dir/config.guess
644 ac_config_sub=$ac_aux_dir/config.sub
645 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
647 toplevel_srcdir=\${top_srcdir}/$toprel
651 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
653 # You will slowly go insane if you do not grok the following fact: when
654 # building v3 as part of the compiler, the top-level /target/ becomes the
655 # library's /host/. `configure' then causes --target to default to --host,
656 # exactly like any other package using autoconf. Therefore, 'target' and
657 # 'host' will always be the same. This makes sense both for native and
658 # cross compilers, just think about it for a little while. :-)
660 # Also, if v3 is being configured as part of a cross compiler, the top-level
661 # configure script will pass the "real
" host as $with_cross_host.
663 # AC 2.5x sets target_alias iff the user specified --target, but we use it
664 # everywhere, so we set it here just to be sure. In AC 2.13
665 # AC_CANONICAL_TARGET was known as AC_CANONICAL_SYSTEM.
667 # Do some error checking and defaulting for the host and target type.
669 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
672 # 1. You are not allowed to specify --host, --target, and nonopt at the
674 # 2. Host defaults to nonopt.
675 # 3. If nonopt is not specified, then host defaults to the current host,
676 # as determined by config.guess.
677 # 4. Target and build default to nonopt.
678 # 5. If nonopt is not specified, then target and build default to host.
680 # The aliases save the names the user supplied, while $host etc.
681 # will get canonicalized.
682 case $host---$target---$nonopt in
683 NONE---*---* | *---NONE---* | *---*---NONE) ;;
684 *) { echo "configure
: error
: can only configure
for one
host and one target
at a
time" 1>&2; exit 1; } ;;
688 # Make sure we can run config.sub.
689 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
690 else { echo "configure
: error
: can not run
$ac_config_sub" 1>&2; exit 1; }
693 echo $ac_n "checking
host system
type""...
$ac_c" 1>&6
694 echo "configure
:695: checking
host system
type" >&5
697 case "$host_alias" in
701 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
702 else { echo "configure
: error
: can not guess
host type; you must specify one
" 1>&2; exit 1; }
704 *) host_alias=$nonopt ;;
708 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
709 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
710 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
711 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
712 echo "$ac_t""$host" 1>&6
714 echo $ac_n "checking target system
type""...
$ac_c" 1>&6
715 echo "configure
:716: checking target system
type" >&5
718 case "$target_alias" in
721 NONE) target_alias=$host_alias ;;
722 *) target_alias=$nonopt ;;
726 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
727 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
728 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
729 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
730 echo "$ac_t""$target" 1>&6
732 echo $ac_n "checking build system
type""...
$ac_c" 1>&6
733 echo "configure
:734: checking build system
type" >&5
736 case "$build_alias" in
739 NONE) build_alias=$host_alias ;;
740 *) build_alias=$nonopt ;;
744 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
745 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
746 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
747 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
748 echo "$ac_t""$build" 1>&6
750 test "$host_alias" != "$target_alias" &&
751 test "$program_prefix$program_suffix$program_transform_name" = \
753 program_prefix=${target_alias}-
755 target_alias=${target_alias-$target}
758 # Runs configure.target, finds CC, CXX and assorted other critical bits.
759 # Must run this before the GLIBCPP_ENABLE_* macros below.
760 if test $host != $build; then
761 ac_tool_prefix=${host_alias}-
766 echo $ac_n "checking
for Cygwin environment
""...
$ac_c" 1>&6
767 echo "configure
:768: checking
for Cygwin environment
" >&5
768 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
769 echo $ac_n "(cached
) $ac_c" 1>&6
771 cat > conftest.$ac_ext <<EOF
772 #line 773 "configure
"
773 #include "confdefs.h
"
778 #define __CYGWIN__ __CYGWIN32__
783 if { (eval echo configure:784: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
787 echo "configure
: failed program was
:" >&5
788 cat conftest.$ac_ext >&5
796 echo "$ac_t""$ac_cv_cygwin" 1>&6
798 test "$ac_cv_cygwin" = yes && CYGWIN=yes
799 echo $ac_n "checking
for mingw32 environment
""...
$ac_c" 1>&6
800 echo "configure
:801: checking
for mingw32 environment
" >&5
801 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
802 echo $ac_n "(cached
) $ac_c" 1>&6
804 cat > conftest.$ac_ext <<EOF
805 #line 806 "configure
"
806 #include "confdefs.h
"
812 if { (eval echo configure:813: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
816 echo "configure
: failed program was
:" >&5
817 cat conftest.$ac_ext >&5
825 echo "$ac_t""$ac_cv_mingw32" 1>&6
827 test "$ac_cv_mingw32" = yes && MINGW32=yes
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
1968 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1969 lt_cv_file_magic_cmd=/usr/bin/file
1970 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1973 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
1974 lt_cv_file_magic_cmd=/usr/bin/file
1975 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
1983 # this will be overridden with pass_all, but let us keep it just in case
1984 lt_cv_deplibs_check_method="file_magic ELF
32-bit MSB dynamic lib MIPS
- version
1"
1988 *-32|*"-32 ") libmagic=32-bit;;
1989 *-n32|*"-n32 ") libmagic=N32;;
1990 *-64|*"-64 ") libmagic=64-bit;;
1991 *) libmagic=never-match;;
1993 # this will be overridden with pass_all, but let us keep it just in case
1994 lt_cv_deplibs_check_method="file_magic ELF
${libmagic} MSB mips-
[1234] dynamic lib MIPS
- version
1"
1997 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
1998 lt_cv_deplibs_check_method=pass_all
2001 # This must be Linux ELF.
2004 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
2005 lt_cv_deplibs_check_method=pass_all ;;
2007 # glibc up to 2.1.1 does not perform some relocations on ARM
2008 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2010 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2014 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2015 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2017 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2022 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2023 lt_cv_file_magic_cmd=/usr/bin/file
2024 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2027 osf3* | osf4* | osf5*)
2028 # this will be overridden with pass_all, but let us keep it just in case
2029 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2030 lt_cv_file_magic_test_file=/shlib/libc.so
2031 lt_cv_deplibs_check_method=pass_all
2035 lt_cv_deplibs_check_method=pass_all
2039 lt_cv_deplibs_check_method=pass_all
2040 lt_cv_file_magic_test_file=/lib/libc.so
2043 sysv5uw[78]* | sysv4*uw2*)
2044 lt_cv_deplibs_check_method=pass_all
2047 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2048 case $host_vendor in
2050 lt_cv_deplibs_check_method=pass_all
2053 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]'
2054 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2062 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2063 file_magic_cmd=$lt_cv_file_magic_cmd
2064 deplibs_check_method=$lt_cv_deplibs_check_method
2066 echo $ac_n "checking
for object suffix
""...
$ac_c" 1>&6
2067 echo "configure
:2068: checking
for object suffix
" >&5
2068 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2069 echo $ac_n "(cached
) $ac_c" 1>&6
2072 echo 'int i = 1;' > conftest.$ac_ext
2073 if { (eval echo configure:2074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2074 for ac_file in conftest.*; do
2077 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2081 { echo "configure
: error
: installation or configuration problem
; compiler does not work
" 1>&2; exit 1; }
2086 echo "$ac_t""$ac_cv_objext" 1>&6
2087 OBJEXT=$ac_cv_objext
2088 ac_objext=$ac_cv_objext
2090 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2092 # Only perform the check for file, if the check method requires it
2093 case $deplibs_check_method in
2095 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2096 echo $ac_n "checking
for ${ac_tool_prefix}file""...
$ac_c" 1>&6
2097 echo "configure
:2098: checking
for ${ac_tool_prefix}file" >&5
2098 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2099 echo $ac_n "(cached
) $ac_c" 1>&6
2103 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2106 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2109 ac_save_MAGIC_CMD="$MAGIC_CMD"
2110 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2111 ac_dummy="/usr
/bin
:$PATH"
2112 for ac_dir in $ac_dummy; do
2113 test -z "$ac_dir" && ac_dir=.
2114 if test -f $ac_dir/${ac_tool_prefix}file; then
2115 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2116 if test -n "$file_magic_test_file"; then
2117 case $deplibs_check_method in
2119 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2120 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2121 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2122 egrep "$file_magic_regex" > /dev/null; then
2127 *** Warning: the command libtool uses to detect shared libraries,
2128 *** $file_magic_cmd, produces output that libtool cannot recognize.
2129 *** The result is that libtool may fail to recognize shared libraries
2130 *** as such. This will affect the creation of libtool libraries that
2131 *** depend on shared libraries, but programs linked with such libtool
2132 *** libraries will work regardless of this problem. Nevertheless, you
2133 *** may want to report the problem to your system manager and/or to
2134 *** bug-libtool@gnu.org
2144 MAGIC_CMD="$ac_save_MAGIC_CMD"
2149 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2150 if test -n "$MAGIC_CMD"; then
2151 echo "$ac_t""$MAGIC_CMD" 1>&6
2153 echo "$ac_t""no
" 1>&6
2156 if test -z "$lt_cv_path_MAGIC_CMD"; then
2157 if test -n "$ac_tool_prefix"; then
2158 echo $ac_n "checking
for file""...
$ac_c" 1>&6
2159 echo "configure
:2160: checking
for file" >&5
2160 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2161 echo $ac_n "(cached
) $ac_c" 1>&6
2165 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2168 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2171 ac_save_MAGIC_CMD="$MAGIC_CMD"
2172 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2173 ac_dummy="/usr
/bin
:$PATH"
2174 for ac_dir in $ac_dummy; do
2175 test -z "$ac_dir" && ac_dir=.
2176 if test -f $ac_dir/file; then
2177 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2178 if test -n "$file_magic_test_file"; then
2179 case $deplibs_check_method in
2181 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2182 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2183 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2184 egrep "$file_magic_regex" > /dev/null; then
2189 *** Warning: the command libtool uses to detect shared libraries,
2190 *** $file_magic_cmd, produces output that libtool cannot recognize.
2191 *** The result is that libtool may fail to recognize shared libraries
2192 *** as such. This will affect the creation of libtool libraries that
2193 *** depend on shared libraries, but programs linked with such libtool
2194 *** libraries will work regardless of this problem. Nevertheless, you
2195 *** may want to report the problem to your system manager and/or to
2196 *** bug-libtool@gnu.org
2206 MAGIC_CMD="$ac_save_MAGIC_CMD"
2211 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2212 if test -n "$MAGIC_CMD"; then
2213 echo "$ac_t""$MAGIC_CMD" 1>&6
2215 echo "$ac_t""no
" 1>&6
2227 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
2228 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2229 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2230 echo "configure
:2231: checking
for $ac_word" >&5
2231 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2232 echo $ac_n "(cached
) $ac_c" 1>&6
2234 if test -n "$RANLIB"; then
2235 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2237 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2239 for ac_dir in $ac_dummy; do
2240 test -z "$ac_dir" && ac_dir=.
2241 if test -f $ac_dir/$ac_word; then
2242 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
2249 RANLIB="$ac_cv_prog_RANLIB"
2250 if test -n "$RANLIB"; then
2251 echo "$ac_t""$RANLIB" 1>&6
2253 echo "$ac_t""no
" 1>&6
2257 if test -z "$ac_cv_prog_RANLIB"; then
2258 if test -n "$ac_tool_prefix"; then
2259 # Extract the first word of "ranlib
", so it can be a program name with args.
2260 set dummy ranlib; ac_word=$2
2261 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2262 echo "configure
:2263: checking
for $ac_word" >&5
2263 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2264 echo $ac_n "(cached
) $ac_c" 1>&6
2266 if test -n "$RANLIB"; then
2267 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2269 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2271 for ac_dir in $ac_dummy; do
2272 test -z "$ac_dir" && ac_dir=.
2273 if test -f $ac_dir/$ac_word; then
2274 ac_cv_prog_RANLIB="ranlib
"
2279 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2282 RANLIB="$ac_cv_prog_RANLIB"
2283 if test -n "$RANLIB"; then
2284 echo "$ac_t""$RANLIB" 1>&6
2286 echo "$ac_t""no
" 1>&6
2294 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
2295 set dummy ${ac_tool_prefix}strip; ac_word=$2
2296 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2297 echo "configure
:2298: checking
for $ac_word" >&5
2298 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2299 echo $ac_n "(cached
) $ac_c" 1>&6
2301 if test -n "$STRIP"; then
2302 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2304 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2306 for ac_dir in $ac_dummy; do
2307 test -z "$ac_dir" && ac_dir=.
2308 if test -f $ac_dir/$ac_word; then
2309 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
2316 STRIP="$ac_cv_prog_STRIP"
2317 if test -n "$STRIP"; then
2318 echo "$ac_t""$STRIP" 1>&6
2320 echo "$ac_t""no
" 1>&6
2324 if test -z "$ac_cv_prog_STRIP"; then
2325 if test -n "$ac_tool_prefix"; then
2326 # Extract the first word of "strip
", so it can be a program name with args.
2327 set dummy strip; ac_word=$2
2328 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2329 echo "configure
:2330: checking
for $ac_word" >&5
2330 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2331 echo $ac_n "(cached
) $ac_c" 1>&6
2333 if test -n "$STRIP"; then
2334 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2336 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2338 for ac_dir in $ac_dummy; do
2339 test -z "$ac_dir" && ac_dir=.
2340 if test -f $ac_dir/$ac_word; then
2341 ac_cv_prog_STRIP="strip
"
2346 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2349 STRIP="$ac_cv_prog_STRIP"
2350 if test -n "$STRIP"; then
2351 echo "$ac_t""$STRIP" 1>&6
2353 echo "$ac_t""no
" 1>&6
2362 # Check for any special flags to pass to ltconfig.
2363 libtool_flags="--cache-file=$cache_file"
2364 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2365 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2366 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2367 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2368 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2369 libtool_flags="$libtool_flags --enable-dlopen"
2371 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2372 if test "${enable_libtool_lock+set}" = set; then
2373 enableval="$enable_libtool_lock"
2377 test "x
$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2378 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2380 # Check whether --with-pic or --without-pic was given.
2381 if test "${with_pic+set}" = set; then
2388 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2389 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2391 # Some flags need to be propagated to the compiler or linker for good
2395 # Find out which ABI we are using.
2396 echo '#line 2397 "configure
"' > conftest.$ac_ext
2397 if { (eval echo configure:2398: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2398 if test "$lt_cv_prog_gnu_ld" = yes; then
2399 case `/usr/bin/file conftest.$ac_objext` in
2401 LD="${LD-ld} -melf32bsmip"
2404 LD="${LD-ld} -melf32bmipn32"
2407 LD="${LD-ld} -melf64bmip"
2411 case `/usr/bin/file conftest.$ac_objext` in
2428 # Find out which ABI we are using.
2429 echo 'int i;' > conftest.$ac_ext
2430 if { (eval echo configure:2431: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2431 case "`/usr/bin/file conftest.o`" in
2443 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
2444 # Find out which ABI we are using.
2445 echo 'int i;' > conftest.$ac_ext
2446 if { (eval echo configure:2447: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2447 case "`/usr/bin/file conftest.o`" in
2451 LD="${LD-ld} -m elf_i386
"
2454 LD="${LD-ld} -m elf32ppclinux
"
2457 LD="${LD-ld} -m elf_s390
"
2460 LD="${LD-ld} -m elf32_sparc
"
2467 LD="${LD-ld} -m elf_x86_64
"
2469 ppc*-*linux*|powerpc*-*linux*)
2470 LD="${LD-ld} -m elf64ppc
"
2473 LD="${LD-ld} -m elf64_s390
"
2476 LD="${LD-ld} -m elf64_sparc
"
2486 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2487 SAVE_CFLAGS="$CFLAGS"
2488 CFLAGS="$CFLAGS -belf"
2489 echo $ac_n "checking whether the C compiler needs
-belf""...
$ac_c" 1>&6
2490 echo "configure
:2491: checking whether the C compiler needs
-belf" >&5
2491 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2492 echo $ac_n "(cached
) $ac_c" 1>&6
2496 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2497 ac_cpp='$CPP $CPPFLAGS'
2498 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2499 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2500 cross_compiling=$ac_cv_prog_cc_cross
2502 cat > conftest.$ac_ext <<EOF
2503 #line 2504 "configure
"
2504 #include "confdefs.h
"
2510 if { (eval echo configure:2511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2512 lt_cv_cc_needs_belf=yes
2514 echo "configure
: failed program was
:" >&5
2515 cat conftest.$ac_ext >&5
2517 lt_cv_cc_needs_belf=no
2521 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2522 ac_cpp='$CPP $CPPFLAGS'
2523 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2524 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2525 cross_compiling=$ac_cv_prog_cc_cross
2529 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2530 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2531 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2532 CFLAGS="$SAVE_CFLAGS"
2539 echo $ac_n "checking how to run the C
++ preprocessor
""...
$ac_c" 1>&6
2540 echo "configure
:2541: checking how to run the C
++ preprocessor
" >&5
2541 if test -z "$CXXCPP"; then
2542 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2543 echo $ac_n "(cached
) $ac_c" 1>&6
2546 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2547 ac_cpp='$CXXCPP $CPPFLAGS'
2548 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2549 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2550 cross_compiling=$ac_cv_prog_cxx_cross
2551 CXXCPP="${CXX-g++} -E"
2552 cat > conftest.$ac_ext <<EOF
2553 #line 2554 "configure
"
2554 #include "confdefs.h
"
2557 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2558 { (eval echo configure:2559: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2559 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2560 if test -z "$ac_err"; then
2564 echo "configure
: failed program was
:" >&5
2565 cat conftest.$ac_ext >&5
2570 ac_cv_prog_CXXCPP="$CXXCPP"
2572 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2573 ac_cpp='$CPP $CPPFLAGS'
2574 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2575 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2576 cross_compiling=$ac_cv_prog_cc_cross
2579 CXXCPP="$ac_cv_prog_CXXCPP"
2580 echo "$ac_t""$CXXCPP" 1>&6
2583 # Save cache, so that ltconfig can load it
2584 cat > confcache <<\EOF
2585 # This file is a shell script that caches the results of configure
2586 # tests run on this system so they can be shared between configure
2587 # scripts and configure runs. It is not useful on other systems.
2588 # If it contains results you don't want to keep, you may remove or edit it.
2590 # By default, configure uses ./config.cache as the cache file,
2591 # creating it if it does not exist already. You can give configure
2592 # the --cache-file=FILE option to use a different cache file; that is
2593 # what configure does when it calls configure scripts in
2594 # subdirectories, so they share the cache.
2595 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2596 # config.status only pays attention to the cache file if you give it the
2597 # --recheck option to rerun configure.
2600 # The following way of writing the cache mishandles newlines in values,
2601 # but we know of no workaround that is simple, portable, and efficient.
2602 # So, don't put newlines in cache variables' values.
2603 # Ultrix sh set writes to stderr and can't be redirected directly,
2604 # and sets the high bit in the cache file unless we assign to the vars.
2606 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2608 # `set' does not quote correctly, so add quotes (double-quote substitution
2609 # turns \\\\ into \\, and sed turns \\ into \).
2611 -e "s
/'/'\\\\''/g
" \
2612 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
2615 # `set' quotes correctly as required by POSIX, so do not add quotes.
2616 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2619 if cmp -s $cache_file confcache; then
2622 if test -w $cache_file; then
2623 echo "updating cache
$cache_file"
2624 cat confcache > $cache_file
2626 echo "not updating unwritable cache
$cache_file"
2632 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2633 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2634 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2635 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2636 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2637 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2638 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2639 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2640 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2641 || { echo "configure
: error
: libtool configure failed
" 1>&2; exit 1; }
2643 # Reload cache, that may have been modified by ltconfig
2644 if test -r "$cache_file"; then
2645 echo "loading cache
$cache_file"
2648 echo "creating cache
$cache_file"
2653 # This can be used to rebuild libtool when needed
2654 LIBTOOL_DEPS="$ac_aux_dir/ltconfig
$ac_aux_dir/ltmain.sh
$ac_aux_dir/ltcf-c.sh
"
2656 # Always use our own libtool.
2657 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2659 # Redirect the config.log output again, so that the ltconfig log is not
2660 # clobbered by the next message.
2661 exec 5>>./config.log
2665 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh
"
2667 lt_save_CFLAGS="$CFLAGS"
2668 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2669 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2670 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2671 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2672 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2673 deplibs_check_method="$deplibs_check_method" \
2674 file_magic_cmd="$file_magic_cmd" \
2675 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2676 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2677 || { echo "configure
: error
: libtool tag configuration failed
" 1>&2; exit 1; }
2679 CFLAGS="$lt_save_CFLAGS"
2681 # Redirect the config.log output again, so that the ltconfig log is not
2682 # clobbered by the next message.
2683 exec 5>>./config.log
2693 # Check for c++ or library specific bits that don't require linking.
2694 #GLIBCPP_CHECK_COMPILER_VERSION
2695 echo $ac_n "checking
for GNU
make""...
$ac_c" 1>&6
2696 echo "configure
:2697: checking
for GNU
make" >&5
2697 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2698 echo $ac_n "(cached
) $ac_c" 1>&6
2700 _cv_gnu_make_command='' ;
2701 for a in "${MAKE-make}" make gmake gnumake ; do
2702 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2704 _cv_gnu_make_command=$a ;
2711 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2712 if test "x
$_cv_gnu_make_command" != "x
" ; then
2720 # Enable all the variable C++ stuff. C_MBCHAR must come early.
2721 echo $ac_n "checking how to run the C preprocessor
""...
$ac_c" 1>&6
2722 echo "configure
:2723: checking how to run the C preprocessor
" >&5
2723 # On Suns, sometimes $CPP names a directory.
2724 if test -n "$CPP" && test -d "$CPP"; then
2727 if test -z "$CPP"; then
2728 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2729 echo $ac_n "(cached
) $ac_c" 1>&6
2731 # This must be in double quotes, not single quotes, because CPP may get
2732 # substituted into the Makefile and "${CC-cc}" will confuse make.
2734 # On the NeXT, cc -E runs the code through the compiler's parser,
2735 # not just through cpp.
2736 cat > conftest.$ac_ext <<EOF
2737 #line 2738 "configure
"
2738 #include "confdefs.h
"
2742 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2743 { (eval echo configure:2744: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2744 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2745 if test -z "$ac_err"; then
2749 echo "configure
: failed program was
:" >&5
2750 cat conftest.$ac_ext >&5
2752 CPP="${CC-cc} -E -traditional-cpp"
2753 cat > conftest.$ac_ext <<EOF
2754 #line 2755 "configure
"
2755 #include "confdefs.h
"
2759 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2760 { (eval echo configure:2761: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2761 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2762 if test -z "$ac_err"; then
2766 echo "configure
: failed program was
:" >&5
2767 cat conftest.$ac_ext >&5
2769 CPP="${CC-cc} -nologo -E"
2770 cat > conftest.$ac_ext <<EOF
2771 #line 2772 "configure
"
2772 #include "confdefs.h
"
2776 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2777 { (eval echo configure:2778: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2778 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2779 if test -z "$ac_err"; then
2783 echo "configure
: failed program was
:" >&5
2784 cat conftest.$ac_ext >&5
2793 ac_cv_prog_CPP="$CPP"
2795 CPP="$ac_cv_prog_CPP"
2797 ac_cv_prog_CPP="$CPP"
2799 echo "$ac_t""$CPP" 1>&6
2802 echo $ac_n "checking
for cstdio to use
""...
$ac_c" 1>&6
2803 echo "configure
:2804: checking
for cstdio to use
" >&5
2804 # Check whether --enable-cstdio or --disable-cstdio was given.
2805 if test "${enable_cstdio+set}" = set; then
2806 enableval="$enable_cstdio"
2807 if test x$enable_cstdio = xno; then
2815 enable_cstdio_flag=$enable_cstdio
2817 case x${enable_cstdio_flag} in
2819 CSTDIO_H=config/io/c_io_libio.h
2820 BASIC_FILE_H=config/io/basic_file_libio.h
2821 BASIC_FILE_CC=config/io/basic_file_libio.cc
2822 echo "$ac_t""libio
" 1>&6
2824 # see if we are on a system with libio native (ie, linux)
2825 ac_safe=`echo "libio.h
" | sed 'y%./+-%__p_%'`
2826 echo $ac_n "checking
for libio.h
""...
$ac_c" 1>&6
2827 echo "configure
:2828: checking
for libio.h
" >&5
2828 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2829 echo $ac_n "(cached
) $ac_c" 1>&6
2831 cat > conftest.$ac_ext <<EOF
2832 #line 2833 "configure
"
2833 #include "confdefs.h
"
2836 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2837 { (eval echo configure:2838: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2838 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2839 if test -z "$ac_err"; then
2841 eval "ac_cv_header_
$ac_safe=yes"
2844 echo "configure
: failed program was
:" >&5
2845 cat conftest.$ac_ext >&5
2847 eval "ac_cv_header_
$ac_safe=no
"
2851 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2852 echo "$ac_t""yes" 1>&6
2855 echo "$ac_t""no
" 1>&6
2860 # Need to check and see what version of glibc is being used. If
2861 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2862 # compile most of libio for linux systems.
2863 if test x$has_libio = x"yes"; then
2866 echo $ac_n "checking
for glibc version
>= 2.2""...
$ac_c" 1>&6
2867 echo "configure
:2868: checking
for glibc version
>= 2.2" >&5
2868 cat > conftest.$ac_ext <<EOF
2869 #line 2870 "configure
"
2870 #include "confdefs.h
"
2872 #include <features.h>
2873 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2878 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
2879 egrep "ok
" >/dev/null 2>&1; then
2881 glibc_satisfactory=yes
2884 glibc_satisfactory=no
2888 echo "$ac_t""$glibc_satisfactory" 1>&6
2892 # XXX at the moment, admit defeat and force the recompilation
2893 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2894 glibc_satisfactory=no
2896 if test x$glibc_satisfactory = x"yes"; then
2901 # bkoz XXX need to add checks to enable this
2902 # pme XXX here's a first pass at such a check
2903 if test x$enable_c_mbchar != xno; then
2911 # Using libio, but <libio.h> doesn't exist on the target system. . .
2913 # bkoz XXX need to add checks to enable this
2914 # pme XXX here's a first pass at such a check
2915 if test x$enable_c_mbchar != xno; then
2922 xstdio | x | xno | xnone | xyes)
2924 CSTDIO_H=config/io/c_io_stdio.h
2925 BASIC_FILE_H=config/io/basic_file_stdio.h
2926 BASIC_FILE_CC=config/io/basic_file_stdio.cc
2927 echo "$ac_t""stdio
" 1>&6
2929 # We're not using stdio.
2934 echo "$enable_cstdio is an unknown io package
" 1>&2
2942 # 2000-08-04 bkoz hack
2943 CCODECVT_C=config/io/c_io_libio_codecvt.c
2945 # 2000-08-04 bkoz hack
2949 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2950 GLIBCPP_BUILD_LIBIO_TRUE=
2951 GLIBCPP_BUILD_LIBIO_FALSE='#'
2953 GLIBCPP_BUILD_LIBIO_TRUE='#'
2954 GLIBCPP_BUILD_LIBIO_FALSE=
2958 if test "$need_libio" = yes; then
2959 GLIBCPP_NEED_LIBIO_TRUE=
2960 GLIBCPP_NEED_LIBIO_FALSE='#'
2962 GLIBCPP_NEED_LIBIO_TRUE='#'
2963 GLIBCPP_NEED_LIBIO_FALSE=
2967 if test "$need_wlibio" = yes; then
2968 GLIBCPP_NEED_WLIBIO_TRUE=
2969 GLIBCPP_NEED_WLIBIO_FALSE='#'
2971 GLIBCPP_NEED_WLIBIO_TRUE='#'
2972 GLIBCPP_NEED_WLIBIO_FALSE=
2974 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2975 libio_la=../libio/libio.la
2982 echo $ac_n "checking
for clocale to use
""...
$ac_c" 1>&6
2983 echo "configure
:2984: checking
for clocale to use
" >&5
2984 # Check whether --enable-clocale or --disable-clocale was given.
2985 if test "${enable_clocale+set}" = set; then
2986 enableval="$enable_clocale"
2987 if test x$enable_clocale = xno; then
2995 enable_clocale_flag=$enable_clocale
2997 if test x$enable_clocale_flag = xno; then
2998 case x${target_os} in
3000 cat > conftest.$ac_ext <<EOF
3001 #line 3002 "configure
"
3002 #include "confdefs.h
"
3004 #include <features.h>
3005 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
3010 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
3011 egrep "_GLIBCPP_ok
" >/dev/null 2>&1; then
3013 enable_clocale_flag=gnu
3016 enable_clocale_flag=generic
3021 # Test for bugs early in glibc-2.2.x series
3022 if test x$enable_clocale_flag = xgnu; then
3023 if test "$cross_compiling" = yes; then
3024 enable_clocale_flag=generic
3026 cat > conftest.$ac_ext <<EOF
3027 #line 3028 "configure
"
3028 #include "confdefs.h
"
3030 #define _GNU_SOURCE 1
3033 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
3034 extern __typeof(newlocale) __newlocale;
3035 extern __typeof(duplocale) __duplocale;
3036 extern __typeof(strcoll_l) __strcoll_l;
3040 const char __one[] = "Äuglein Augmen
";
3041 const char __two[] = "Äuglein
";
3046 loc = __newlocale(1 << LC_ALL, "de_DE
", 0);
3047 loc_dup = __duplocale(loc);
3048 i = __strcoll_l(__one, __two, loc);
3049 j = __strcoll_l(__one, __two, loc_dup);
3054 if { (eval echo configure:3055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3056 enable_clocale_flag=gnu
3058 echo "configure
: failed program was
:" >&5
3059 cat conftest.$ac_ext >&5
3061 enable_clocale_flag=generic
3068 # ... at some point put __strxfrm_l tests in as well.
3071 enable_clocale_flag=generic
3076 # Check whether --enable-nls or --disable-nls was given.
3077 if test "${enable_nls+set}" = set; then
3078 enableval="$enable_nls"
3086 case x${enable_clocale_flag} in
3088 echo "$ac_t""generic
" 1>&6
3090 CLOCALE_H=config/locale/generic/c_locale.h
3091 CLOCALE_CC=config/locale/generic/c_locale.cc
3092 CCODECVT_H=config/locale/generic/codecvt_specializations.h
3093 CCODECVT_CC=config/locale/generic/codecvt_members.cc
3094 CCOLLATE_CC=config/locale/generic/collate_members.cc
3095 CCTYPE_CC=config/locale/generic/ctype_members.cc
3096 CMESSAGES_H=config/locale/generic/messages_members.h
3097 CMESSAGES_CC=config/locale/generic/messages_members.cc
3098 CMONEY_CC=config/locale/generic/monetary_members.cc
3099 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3100 CTIME_H=config/locale/generic/time_members.h
3101 CTIME_CC=config/locale/generic/time_members.cc
3102 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
3105 echo "$ac_t""gnu
" 1>&6
3107 # Declare intention to use gettext, and add support for specific
3109 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
3112 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
3113 # Extract the first word of "msgfmt
", so it can be a program name with args.
3114 set dummy msgfmt; ac_word=$2
3115 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
3116 echo "configure
:3117: checking
for $ac_word" >&5
3117 if eval "test \"`echo '$''{'ac_cv_prog_check_msgfmt'+set}'`\" = set"; then
3118 echo $ac_n "(cached
) $ac_c" 1>&6
3120 if test -n "$check_msgfmt"; then
3121 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
3123 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3125 for ac_dir in $ac_dummy; do
3126 test -z "$ac_dir" && ac_dir=.
3127 if test -f $ac_dir/$ac_word; then
3128 ac_cv_prog_check_msgfmt="yes"
3133 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no
"
3136 check_msgfmt="$ac_cv_prog_check_msgfmt"
3137 if test -n "$check_msgfmt"; then
3138 echo "$ac_t""$check_msgfmt" 1>&6
3140 echo "$ac_t""no
" 1>&6
3143 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
3146 # Export the build objects.
3147 for ling in $ALL_LINGUAS; do \
3148 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo
"; \
3149 glibcpp_POFILES="$glibcpp_POFILES $ling.po
"; \
3154 CLOCALE_H=config/locale/gnu/c_locale.h
3155 CLOCALE_CC=config/locale/gnu/c_locale.cc
3156 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3157 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
3158 CCOLLATE_CC=config/locale/gnu/collate_members.cc
3159 CCTYPE_CC=config/locale/gnu/ctype_members.cc
3160 CMESSAGES_H=config/locale/gnu/messages_members.h
3161 CMESSAGES_CC=config/locale/gnu/messages_members.cc
3162 CMONEY_CC=config/locale/gnu/monetary_members.cc
3163 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
3164 CTIME_H=config/locale/gnu/time_members.h
3165 CTIME_CC=config/locale/gnu/time_members.cc
3166 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
3169 echo "$ac_t""generic
" 1>&6
3171 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
3172 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
3173 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3174 CCODECVT_CC=config/locale/generic/codecvt_members.cc
3175 CCOLLATE_CC=config/locale/generic/collate_members.cc
3176 CCTYPE_CC=config/locale/generic/ctype_members.cc
3177 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
3178 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
3179 CMONEY_CC=config/locale/generic/monetary_members.cc
3180 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3181 CTIME_H=config/locale/generic/time_members.h
3182 CTIME_CC=config/locale/generic/time_members.cc
3183 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
3186 echo "$enable_clocale is an unknown locale package
" 1>&2
3191 # This is where the testsuite looks for locale catalogs, using the
3192 # -DLOCALEDIR define during testsuite compilation.
3193 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3211 echo $ac_n "checking
for c header strategy to use
""...
$ac_c" 1>&6
3212 echo "configure
:3213: checking
for c header strategy to use
" >&5
3213 # Check whether --enable-cheaders or --disable-cheaders was given.
3214 if test "${enable_cheaders+set}" = set; then
3215 enableval="$enable_cheaders"
3217 case "$enableval" in
3222 enable_cheaders=c_std
3224 *) { echo "configure
: error
: Unknown argument to enable
/disable
"C" headers
" 1>&2; exit 1; }
3228 enable_cheaders=c_std
3231 echo "$ac_t""$enable_cheaders" 1>&6
3233 case "$enable_cheaders" in
3235 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3238 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3245 if test "$enable_cheaders" = c; then
3246 GLIBCPP_C_HEADERS_C_TRUE=
3247 GLIBCPP_C_HEADERS_C_FALSE='#'
3249 GLIBCPP_C_HEADERS_C_TRUE='#'
3250 GLIBCPP_C_HEADERS_C_FALSE=
3254 if test "$enable_cheaders" = c_std; then
3255 GLIBCPP_C_HEADERS_C_STD_TRUE=
3256 GLIBCPP_C_HEADERS_C_STD_FALSE='#'
3258 GLIBCPP_C_HEADERS_C_STD_TRUE='#'
3259 GLIBCPP_C_HEADERS_C_STD_FALSE=
3263 if test "$c_compatibility" = yes; then
3264 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE=
3265 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE='#'
3267 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE='#'
3268 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE=
3271 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3272 if test "${enable_c_mbchar+set}" = set; then
3273 enableval="$enable_c_mbchar"
3274 case "$enableval" in
3275 yes) enable_c_mbchar=yes ;;
3276 no) enable_c_mbchar=no ;;
3277 *) { echo "configure
: error
: Unknown argument to enable
/disable c-mbchar
" 1>&2; exit 1; } ;;
3284 # Check whether --enable-c99 or --disable-c99 was given.
3285 if test "${enable_c99+set}" = set; then
3286 enableval="$enable_c99"
3287 case "$enableval" in
3288 yes) enable_c99=yes ;;
3289 no) enable_c99=no ;;
3290 *) { echo "configure
: error
: Unknown argument to enable
/disable C99
" 1>&2; exit 1; } ;;
3298 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3299 ac_cpp='$CXXCPP $CPPFLAGS'
3300 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3301 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3302 cross_compiling=$ac_cv_prog_cxx_cross
3305 # Check for the existence of <math.h> functions used if C99 is enabled.
3307 echo $ac_n "checking
for ISO C99 support
in <math.h
>""...
$ac_c" 1>&6
3308 echo "configure
:3309: checking
for ISO C99 support
in <math.h
>" >&5
3309 cat > conftest.$ac_ext <<EOF
3310 #line 3311 "configure
"
3311 #include "confdefs.h
"
3317 if { (eval echo configure:3318: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3320 echo "configure
: failed program was
:" >&5
3321 cat conftest.$ac_ext >&5
3326 cat > conftest.$ac_ext <<EOF
3327 #line 3328 "configure
"
3328 #include "confdefs.h
"
3334 if { (eval echo configure:3335: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3337 echo "configure
: failed program was
:" >&5
3338 cat conftest.$ac_ext >&5
3343 cat > conftest.$ac_ext <<EOF
3344 #line 3345 "configure
"
3345 #include "confdefs.h
"
3351 if { (eval echo configure:3352: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3354 echo "configure
: failed program was
:" >&5
3355 cat conftest.$ac_ext >&5
3360 cat > conftest.$ac_ext <<EOF
3361 #line 3362 "configure
"
3362 #include "confdefs.h
"
3368 if { (eval echo configure:3369: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3371 echo "configure
: failed program was
:" >&5
3372 cat conftest.$ac_ext >&5
3377 cat > conftest.$ac_ext <<EOF
3378 #line 3379 "configure
"
3379 #include "confdefs.h
"
3385 if { (eval echo configure:3386: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3388 echo "configure
: failed program was
:" >&5
3389 cat conftest.$ac_ext >&5
3394 cat > conftest.$ac_ext <<EOF
3395 #line 3396 "configure
"
3396 #include "confdefs.h
"
3402 if { (eval echo configure:3403: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3405 echo "configure
: failed program was
:" >&5
3406 cat conftest.$ac_ext >&5
3411 cat > conftest.$ac_ext <<EOF
3412 #line 3413 "configure
"
3413 #include "confdefs.h
"
3419 if { (eval echo configure:3420: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3422 echo "configure
: failed program was
:" >&5
3423 cat conftest.$ac_ext >&5
3428 cat > conftest.$ac_ext <<EOF
3429 #line 3430 "configure
"
3430 #include "confdefs.h
"
3433 isgreaterequal(0.0,0.0);
3436 if { (eval echo configure:3437: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3439 echo "configure
: failed program was
:" >&5
3440 cat conftest.$ac_ext >&5
3445 cat > conftest.$ac_ext <<EOF
3446 #line 3447 "configure
"
3447 #include "confdefs.h
"
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 islessequal(0.0,0.0);
3470 if { (eval echo configure:3471: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3473 echo "configure
: failed program was
:" >&5
3474 cat conftest.$ac_ext >&5
3479 cat > conftest.$ac_ext <<EOF
3480 #line 3481 "configure
"
3481 #include "confdefs.h
"
3484 islessgreater(0.0,0.0);
3487 if { (eval echo configure:3488: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3490 echo "configure
: failed program was
:" >&5
3491 cat conftest.$ac_ext >&5
3496 cat > conftest.$ac_ext <<EOF
3497 #line 3498 "configure
"
3498 #include "confdefs.h
"
3501 isunordered(0.0,0.0);
3504 if { (eval echo configure:3505: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3507 echo "configure
: failed program was
:" >&5
3508 cat conftest.$ac_ext >&5
3513 echo "$ac_t""$ac_c99_math" 1>&6
3515 # Check for the existence in <stdio.h> of vscanf, et. al.
3517 echo $ac_n "checking
for ISO C99 support
in <stdio.h
>""...
$ac_c" 1>&6
3518 echo "configure
:3519: checking
for ISO C99 support
in <stdio.h
>" >&5
3519 cat > conftest.$ac_ext <<EOF
3520 #line 3521 "configure
"
3521 #include "confdefs.h
"
3524 snprintf("12", 0, "%i
");
3527 if { (eval echo configure:3528: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3530 echo "configure
: failed program was
:" >&5
3531 cat conftest.$ac_ext >&5
3536 cat > conftest.$ac_ext <<EOF
3537 #line 3538 "configure
"
3538 #include "confdefs.h
"
3541 void foo(char* fmt, ...)
3542 {va_list args; va_start(args, fmt);
3543 vfscanf(stderr, "%i
", args);}
3548 if { (eval echo configure:3549: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3551 echo "configure
: failed program was
:" >&5
3552 cat conftest.$ac_ext >&5
3557 cat > conftest.$ac_ext <<EOF
3558 #line 3559 "configure
"
3559 #include "confdefs.h
"
3562 void foo(char* fmt, ...)
3563 {va_list args; va_start(args, fmt);
3564 vscanf("%i
", args);}
3569 if { (eval echo configure:3570: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3572 echo "configure
: failed program was
:" >&5
3573 cat conftest.$ac_ext >&5
3578 cat > conftest.$ac_ext <<EOF
3579 #line 3580 "configure
"
3580 #include "confdefs.h
"
3583 void foo(char* fmt, ...)
3584 {va_list args; va_start(args, fmt);
3585 vsnprintf(fmt, 0, "%i
", args);}
3590 if { (eval echo configure:3591: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3593 echo "configure
: failed program was
:" >&5
3594 cat conftest.$ac_ext >&5
3599 cat > conftest.$ac_ext <<EOF
3600 #line 3601 "configure
"
3601 #include "confdefs.h
"
3604 void foo(char* fmt, ...)
3605 {va_list args; va_start(args, fmt);
3606 vsscanf(fmt, "%i
", args);}
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 echo "$ac_t""$ac_c99_stdio" 1>&6
3622 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3624 echo $ac_n "checking
for lldiv_t declaration
""...
$ac_c" 1>&6
3625 echo "configure
:3626: checking
for lldiv_t declaration
" >&5
3626 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3627 echo $ac_n "(cached
) $ac_c" 1>&6
3630 cat > conftest.$ac_ext <<EOF
3631 #line 3632 "configure
"
3632 #include "confdefs.h
"
3638 if { (eval echo configure:3639: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3642 echo "configure
: failed program was
:" >&5
3643 cat conftest.$ac_ext >&5
3651 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3653 echo $ac_n "checking
for ISO C99 support
in <stdlib.h
>""...
$ac_c" 1>&6
3654 echo "configure
:3655: checking
for ISO C99 support
in <stdlib.h
>" >&5
3655 cat > conftest.$ac_ext <<EOF
3656 #line 3657 "configure
"
3657 #include "confdefs.h
"
3660 char* tmp; strtof("gnu
", &tmp);
3663 if { (eval echo configure:3664: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3666 echo "configure
: failed program was
:" >&5
3667 cat conftest.$ac_ext >&5
3672 cat > conftest.$ac_ext <<EOF
3673 #line 3674 "configure
"
3674 #include "confdefs.h
"
3677 char* tmp; strtold("gnu
", &tmp);
3680 if { (eval echo configure:3681: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3683 echo "configure
: failed program was
:" >&5
3684 cat conftest.$ac_ext >&5
3689 cat > conftest.$ac_ext <<EOF
3690 #line 3691 "configure
"
3691 #include "confdefs.h
"
3697 if { (eval echo configure:3698: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3700 echo "configure
: failed program was
:" >&5
3701 cat conftest.$ac_ext >&5
3706 cat > conftest.$ac_ext <<EOF
3707 #line 3708 "configure
"
3708 #include "confdefs.h
"
3714 if { (eval echo configure:3715: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3717 echo "configure
: failed program was
:" >&5
3718 cat conftest.$ac_ext >&5
3723 cat > conftest.$ac_ext <<EOF
3724 #line 3725 "configure
"
3725 #include "confdefs.h
"
3731 if { (eval echo configure:3732: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3734 echo "configure
: failed program was
:" >&5
3735 cat conftest.$ac_ext >&5
3740 cat > conftest.$ac_ext <<EOF
3741 #line 3742 "configure
"
3742 #include "confdefs.h
"
3748 if { (eval echo configure:3749: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3751 echo "configure
: failed program was
:" >&5
3752 cat conftest.$ac_ext >&5
3757 if test x"$ac_c99_lldiv_t" = x"no
"; then
3760 echo "$ac_t""$ac_c99_stdlib" 1>&6
3762 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3763 # XXX the wchar.h checks should be rolled into the general C99 bits.
3765 echo $ac_n "checking
for additional ISO C99 support
in <wchar.h
>""...
$ac_c" 1>&6
3766 echo "configure
:3767: checking
for additional ISO C99 support
in <wchar.h
>" >&5
3767 cat > conftest.$ac_ext <<EOF
3768 #line 3769 "configure
"
3769 #include "confdefs.h
"
3772 wcstold(L"10.0", NULL);
3775 if { (eval echo configure:3776: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3778 echo "configure
: failed program was
:" >&5
3779 cat conftest.$ac_ext >&5
3784 cat > conftest.$ac_ext <<EOF
3785 #line 3786 "configure
"
3786 #include "confdefs.h
"
3789 wcstoll(L"10", NULL, 10);
3792 if { (eval echo configure:3793: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3795 echo "configure
: failed program was
:" >&5
3796 cat conftest.$ac_ext >&5
3801 cat > conftest.$ac_ext <<EOF
3802 #line 3803 "configure
"
3803 #include "confdefs.h
"
3806 wcstoull(L"10", NULL, 10);
3809 if { (eval echo configure:3810: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3812 echo "configure
: failed program was
:" >&5
3813 cat conftest.$ac_ext >&5
3818 echo "$ac_t""$ac_c99_wchar" 1>&6
3820 echo $ac_n "checking
for enabled ISO C99 support
""...
$ac_c" 1>&6
3821 echo "configure
:3822: checking
for enabled ISO C99 support
" >&5
3822 if test x"$ac_c99_math" = x"no
" ||
3823 test x"$ac_c99_stdio" = x"no
" ||
3824 test x"$ac_c99_stdlib" = x"no
" ||
3825 test x"$ac_c99_wchar" = x"no
"; then
3828 echo "$ac_t""$enable_c99" 1>&6
3830 # Option parsed, now set things appropriately
3831 if test x"$enable_c99" = x"yes"; then
3832 cat >> confdefs.h <<\EOF
3833 #define _GLIBCPP_USE_C99 1
3839 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3840 ac_cpp='$CPP $CPPFLAGS'
3841 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3842 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3843 cross_compiling=$ac_cv_prog_cc_cross
3847 # Check whether --enable-long-long or --disable-long-long was given.
3848 if test "${enable_long_long+set}" = set; then
3849 enableval="$enable_long_long"
3850 case "$enableval" in
3851 yes) enable_long_long=yes ;;
3852 no) enable_long_long=no ;;
3853 *) { echo "configure
: error
: Unknown argument to enable
/disable long long
" 1>&2; exit 1; } ;;
3856 enable_long_long=yes
3861 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3862 ac_cpp='$CXXCPP $CPPFLAGS'
3863 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3864 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3865 cross_compiling=$ac_cv_prog_cxx_cross
3868 echo $ac_n "checking
for enabled long long I
/O support
""...
$ac_c" 1>&6
3869 echo "configure
:3870: checking
for enabled long long I
/O support
" >&5
3870 # iostreams require strtoll, strtoull to compile
3871 cat > conftest.$ac_ext <<EOF
3872 #line 3873 "configure
"
3873 #include "confdefs.h
"
3876 char* tmp; strtoll("gnu
", &tmp, 10);
3879 if { (eval echo configure:3880: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3882 echo "configure
: failed program was
:" >&5
3883 cat conftest.$ac_ext >&5
3888 cat > conftest.$ac_ext <<EOF
3889 #line 3890 "configure
"
3890 #include "confdefs.h
"
3893 char* tmp; strtoull("gnu
", &tmp, 10);
3896 if { (eval echo configure:3897: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3899 echo "configure
: failed program was
:" >&5
3900 cat conftest.$ac_ext >&5
3906 # Option parsed, now set things appropriately
3907 if test x"$enable_long_long" = xyes; then
3908 cat >> confdefs.h <<\EOF
3909 #define _GLIBCPP_USE_LONG_LONG 1
3913 echo "$ac_t""$enable_long_long" 1>&6
3916 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3917 ac_cpp='$CPP $CPPFLAGS'
3918 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3919 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3920 cross_compiling=$ac_cv_prog_cc_cross
3924 echo $ac_n "checking
for thread model used by GCC
""...
$ac_c" 1>&6
3925 echo "configure
:3926: checking
for thread model used by GCC
" >&5
3926 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3927 echo "$ac_t""$target_thread_file" 1>&6
3929 if test $target_thread_file != single; then
3930 cat >> confdefs.h <<\EOF
3931 #define HAVE_GTHR_DEFAULT 1
3934 cat >> confdefs.h <<\EOF
3935 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3940 glibcpp_thread_h=gthr-$target_thread_file.h
3944 echo $ac_n "checking
for exception model to use
""...
$ac_c" 1>&6
3945 echo "configure
:3946: checking
for exception model to use
" >&5
3948 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3949 ac_cpp='$CXXCPP $CPPFLAGS'
3950 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3951 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3952 cross_compiling=$ac_cv_prog_cxx_cross
3954 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3955 if test "${enable_sjlj_exceptions+set}" = set; then
3956 enableval="$enable_sjlj_exceptions"
3959 cat > conftest.$ac_ext << EOF
3960 #line 3961 "configure
"
3969 old_CXXFLAGS="$CXXFLAGS"
3971 if { (eval echo configure:3972: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3972 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
3973 enable_sjlj_exceptions=yes
3974 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
3975 enable_sjlj_exceptions=no
3978 CXXFLAGS="$old_CXXFLAGS"
3982 if test x$enable_sjlj_exceptions = xyes; then
3983 cat >> confdefs.h <<\EOF
3984 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
3987 ac_exception_model_name=sjlj
3988 elif test x$enable_sjlj_exceptions = xno; then
3989 ac_exception_model_name="call frame
"
3991 { echo "configure
: error
: unable to detect exception model
" 1>&2; exit 1; }
3994 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3995 ac_cpp='$CPP $CPPFLAGS'
3996 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3997 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3998 cross_compiling=$ac_cv_prog_cc_cross
4000 echo "$ac_t""$ac_exception_model_name" 1>&6
4003 echo $ac_n "checking
for use of libunwind
""...
$ac_c" 1>&6
4004 echo "configure
:4005: checking
for use of libunwind
" >&5
4005 # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
4006 if test "${enable_libunwind_exceptions+set}" = set; then
4007 enableval="$enable_libunwind_exceptions"
4008 use_libunwind_exceptions=$enableval
4010 use_libunwind_exceptions=no
4013 echo "$ac_t""$use_libunwind_exceptions" 1>&6
4014 if test x"$use_libunwind_exceptions" = xyes; then
4015 LIBUNWIND_FLAG="-lunwind"
4021 # Check whether --enable-concept-checks or --disable-concept-checks was given.
4022 if test "${enable_concept_checks+set}" = set; then
4023 enableval="$enable_concept_checks"
4024 case "$enableval" in
4025 yes) enable_concept_checks=yes ;;
4026 no) enable_concept_checks=no ;;
4027 *) { echo "configure
: error
: Unknown argument to enable
/disable concept checks
" 1>&2; exit 1; } ;;
4030 enable_concept_checks=no
4032 if test x"$enable_concept_checks" = xyes; then
4033 cat >> confdefs.h <<\EOF
4034 #define _GLIBCPP_CONCEPT_CHECKS 1
4039 echo $ac_n "checking
for extra compiler flags
for building
""...
$ac_c" 1>&6
4040 echo "configure
:4041: checking
for extra compiler flags
for building
" >&5
4041 # Check whether --enable-cxx_flags or --disable-cxx_flags was given.
4042 if test "${enable_cxx_flags+set}" = set; then
4043 enableval="$enable_cxx_flags"
4044 case "x
$enable_cxx_flags" in
4046 { echo "configure
: error
: --enable-cxx-flags needs compiler flags as arguments
" 1>&2; exit 1; } ;;
4048 enable_cxx_flags='' ;;
4050 enable_cxx_flags="$enableval" ;;
4057 if test -n "$enable_cxx_flags"; then
4058 for f in $enable_cxx_flags; do
4062 *) # and we're trying to pass /what/ exactly?
4063 { echo "configure
: error
: compiler flags start with a
-" 1>&2; exit 1; } ;;
4067 EXTRA_CXX_FLAGS="$enable_cxx_flags"
4068 echo "$ac_t""$EXTRA_CXX_FLAGS" 1>&6
4071 # Check whether --enable-debug or --disable-debug was given.
4072 if test "${enable_debug+set}" = set; then
4073 enableval="$enable_debug"
4074 case "${enableval}" in
4075 yes) enable_debug=yes ;;
4076 no) enable_debug=no ;;
4077 *) { echo "configure
: error
: Unknown argument to enable
/disable extra debugging
" 1>&2; exit 1; } ;;
4082 echo $ac_n "checking
for additional debug build
""...
$ac_c" 1>&6
4083 echo "configure
:4084: checking
for additional debug build
" >&5
4084 echo "$ac_t""$enable_debug" 1>&6
4087 if test "$enable_debug" = yes; then
4088 GLIBCPP_BUILD_DEBUG_TRUE=
4089 GLIBCPP_BUILD_DEBUG_FALSE='#'
4091 GLIBCPP_BUILD_DEBUG_TRUE='#'
4092 GLIBCPP_BUILD_DEBUG_FALSE=
4095 # Check whether --enable-debug_flags or --disable-debug_flags was given.
4096 if test "${enable_debug_flags+set}" = set; then
4097 enableval="$enable_debug_flags"
4098 case "${enableval}" in
4100 -*) enable_debug_flags="${enableval}" ;;
4101 *) { echo "configure
: error
: Unknown argument to extra debugging flags
" 1>&2; exit 1; } ;;
4104 enable_debug_flags=none
4107 case x"$enable_debug" in
4109 case "$enable_debug_flags" in
4111 DEBUG_FLAGS="-g3 -O0";;
4113 DEBUG_FLAGS="${enableval}"
4122 echo $ac_n "checking
for debug build flags
""...
$ac_c" 1>&6
4123 echo "configure
:4124: checking
for debug build flags
" >&5
4124 echo "$ac_t""$DEBUG_FLAGS" 1>&6
4127 # Check for headers necessary for libsupc++ using dyn-string.c/cxa_demangle.c
4128 for ac_hdr in string.h stdlib.h
4130 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4131 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4132 echo "configure
:4133: checking
for $ac_hdr" >&5
4133 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4134 echo $ac_n "(cached
) $ac_c" 1>&6
4136 cat > conftest.$ac_ext <<EOF
4137 #line 4138 "configure
"
4138 #include "confdefs.h
"
4141 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4142 { (eval echo configure:4143: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4143 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4144 if test -z "$ac_err"; then
4146 eval "ac_cv_header_
$ac_safe=yes"
4149 echo "configure
: failed program was
:" >&5
4150 cat conftest.$ac_ext >&5
4152 eval "ac_cv_header_
$ac_safe=no
"
4156 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4157 echo "$ac_t""yes" 1>&6
4158 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4159 cat >> confdefs.h <<EOF
4160 #define $ac_tr_hdr 1
4164 echo "$ac_t""no
" 1>&6
4169 # No surprises, no surprises...
4170 if test $ATOMICITYH = cpu/generic ; then
4171 echo "configure
: warning
: No native atomic operations are provided yet
for this platform.
" 1>&2
4172 if test $target_thread_file = single; then
4173 echo "configure
: warning
: They cannot be faked when thread support is disabled.
" 1>&2
4174 echo "configure
: warning
: Thread-safety of certain classes is not guaranteed.
" 1>&2
4176 echo "configure
: warning
: They will be faked using a mutex.
" 1>&2
4177 echo "configure
: warning
: Performance of certain classes will degrade as a result.
" 1>&2
4182 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
4184 # We are being configured with some form of cross compiler.
4185 GLIBCPP_IS_CROSS_COMPILING=1
4187 # This lets us hard-code the functionality we know we'll have in the cross
4188 # target environment. "Let
" is a sugar-coated word placed on an especially
4189 # dull and tedious hack, actually.
4191 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
4192 # that involve linking, can't be used:
4193 # "cannot open sim-crt0.o
"
4194 # "cannot open crt0.o
"
4195 # etc. All this is because there currently exists no unified, consistent
4196 # way for top level CC information to be passed down to target directories:
4197 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
4198 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
4199 # crosses can be removed.
4201 # If Canadian cross, then don't pick up tools from the build directory.
4202 # Used in GLIBCPP_EXPORT_INCLUDES (and nowhere else?).
4203 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
4209 # Construct crosses by hand, eliminating bits that need ld...
4210 # GLIBCPP_CHECK_COMPILER_FEATURES
4211 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4212 # GLIBCPP_CHECK_MATH_SUPPORT
4216 os_include_dir="os
/gnu-linux
"
4217 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4218 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4219 fp.h locale.h float.h inttypes.h
4221 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4222 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4223 echo "configure
:4224: checking
for $ac_hdr" >&5
4224 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4225 echo $ac_n "(cached
) $ac_c" 1>&6
4227 cat > conftest.$ac_ext <<EOF
4228 #line 4229 "configure
"
4229 #include "confdefs.h
"
4232 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4233 { (eval echo configure:4234: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4234 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4235 if test -z "$ac_err"; then
4237 eval "ac_cv_header_
$ac_safe=yes"
4240 echo "configure
: failed program was
:" >&5
4241 cat conftest.$ac_ext >&5
4243 eval "ac_cv_header_
$ac_safe=no
"
4247 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4248 echo "$ac_t""yes" 1>&6
4249 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4250 cat >> confdefs.h <<EOF
4251 #define $ac_tr_hdr 1
4255 echo "$ac_t""no
" 1>&6
4259 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4262 # If we're not using GNU ld, then there's no point in even trying these
4263 # tests. Check for that first. We should have already tested for gld
4264 # by now (in libtool), but require it now just to be safe...
4265 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4266 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4269 # The name set by libtool depends on the version of libtool. Shame on us
4270 # for depending on an impl detail, but c'est la vie. Older versions used
4271 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4272 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4273 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4274 # set (hence we're using an older libtool), then set it.
4275 if test x${with_gnu_ld+set} != xset; then
4276 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4277 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
4280 with_gnu_ld=$ac_cv_prog_gnu_ld
4284 # Start by getting the version number. I think the libtool test already
4285 # does some of this, but throws away the result.
4287 ldver=`$LD --version 2>/dev/null | head -1 | \
4288 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4290 glibcpp_gnu_ld_version=`echo $ldver | \
4291 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4293 # Set --gc-sections.
4294 if test "$with_gnu_ld" = "notbroken
"; then
4295 # GNU ld it is! Joy and bunny rabbits!
4297 # All these tests are for C++; save the language and the compiler flags.
4298 # Need to do this so that g++ won't try to link in libstdc++
4299 ac_test_CFLAGS="${CFLAGS+set}"
4300 ac_save_CFLAGS="$CFLAGS"
4301 CFLAGS='-x c++ -Wl,--gc-sections'
4303 # Check for -Wl,--gc-sections
4304 # XXX This test is broken at the moment, as symbols required for
4305 # linking are now in libsupc++ (not built yet.....). In addition,
4306 # this test has cored on solaris in the past. In addition,
4307 # --gc-sections doesn't really work at the moment (keeps on discarding
4308 # used sections, first .eh_frame and now some of the glibc sections for
4309 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4310 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
4311 echo "configure
:4312: checking
for ld that supports
-Wl,--gc-sections" >&5
4312 if test "$cross_compiling" = yes; then
4313 ac_sectionLDflags=yes
4315 cat > conftest.$ac_ext <<EOF
4316 #line 4317 "configure
"
4317 #include "confdefs.h
"
4327 if { (eval echo configure:4328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4329 ac_sectionLDflags=yes
4331 echo "configure
: failed program was
:" >&5
4332 cat conftest.$ac_ext >&5
4334 ac_sectionLDflags=no
4339 if test "$ac_test_CFLAGS" = set; then
4340 CFLAGS="$ac_save_CFLAGS"
4342 # this is the suspicious part
4345 if test "$ac_sectionLDflags" = "yes"; then
4346 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4348 echo "$ac_t""$ac_sectionLDflags" 1>&6
4351 # Set linker optimization flags.
4352 if test x"$with_gnu_ld" = x"yes"; then
4353 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4360 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
4361 echo "configure
:4362: checking
for main
in -lm" >&5
4362 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4363 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4364 echo $ac_n "(cached
) $ac_c" 1>&6
4366 ac_save_LIBS="$LIBS"
4368 cat > conftest.$ac_ext <<EOF
4369 #line 4370 "configure
"
4370 #include "confdefs.h
"
4376 if { (eval echo configure:4377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4378 eval "ac_cv_lib_
$ac_lib_var=yes"
4380 echo "configure
: failed program was
:" >&5
4381 cat conftest.$ac_ext >&5
4383 eval "ac_cv_lib_
$ac_lib_var=no
"
4386 LIBS="$ac_save_LIBS"
4389 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4390 echo "$ac_t""yes" 1>&6
4391 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4392 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4393 cat >> confdefs.h <<EOF
4394 #define $ac_tr_lib 1
4400 echo "$ac_t""no
" 1>&6
4403 for ac_func in nan copysignf
4405 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4406 echo "configure
:4407: checking
for $ac_func" >&5
4407 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4408 echo $ac_n "(cached
) $ac_c" 1>&6
4410 cat > conftest.$ac_ext <<EOF
4411 #line 4412 "configure
"
4412 #include "confdefs.h
"
4413 /* System header to define __stub macros and hopefully few prototypes,
4414 which can conflict with char $ac_func(); below. */
4416 /* Override any gcc2 internal prototype to avoid an error. */
4417 /* We use char because int might match the return type of a gcc2
4418 builtin and then its argument prototype would still apply. */
4423 /* The GNU C library defines this for functions which it implements
4424 to always fail with ENOSYS. Some functions are actually named
4425 something starting with __ and the normal name is an alias. */
4426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4434 if { (eval echo configure:4435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4436 eval "ac_cv_func_
$ac_func=yes"
4438 echo "configure
: failed program was
:" >&5
4439 cat conftest.$ac_ext >&5
4441 eval "ac_cv_func_
$ac_func=no
"
4446 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4447 echo "$ac_t""yes" 1>&6
4448 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4449 cat >> confdefs.h <<EOF
4450 #define $ac_tr_func 1
4454 echo "$ac_t""no
" 1>&6
4455 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
4460 for ac_func in __signbit
4462 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4463 echo "configure
:4464: checking
for $ac_func" >&5
4464 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4465 echo $ac_n "(cached
) $ac_c" 1>&6
4467 cat > conftest.$ac_ext <<EOF
4468 #line 4469 "configure
"
4469 #include "confdefs.h
"
4470 /* System header to define __stub macros and hopefully few prototypes,
4471 which can conflict with char $ac_func(); below. */
4473 /* Override any gcc2 internal prototype to avoid an error. */
4474 /* We use char because int might match the return type of a gcc2
4475 builtin and then its argument prototype would still apply. */
4480 /* The GNU C library defines this for functions which it implements
4481 to always fail with ENOSYS. Some functions are actually named
4482 something starting with __ and the normal name is an alias. */
4483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4491 if { (eval echo configure:4492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4493 eval "ac_cv_func_
$ac_func=yes"
4495 echo "configure
: failed program was
:" >&5
4496 cat conftest.$ac_ext >&5
4498 eval "ac_cv_func_
$ac_func=no
"
4503 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4504 echo "$ac_t""yes" 1>&6
4505 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4506 cat >> confdefs.h <<EOF
4507 #define $ac_tr_func 1
4511 echo "$ac_t""no
" 1>&6
4512 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
4516 for ac_func in __signbitf
4518 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4519 echo "configure
:4520: checking
for $ac_func" >&5
4520 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4521 echo $ac_n "(cached
) $ac_c" 1>&6
4523 cat > conftest.$ac_ext <<EOF
4524 #line 4525 "configure
"
4525 #include "confdefs.h
"
4526 /* System header to define __stub macros and hopefully few prototypes,
4527 which can conflict with char $ac_func(); below. */
4529 /* Override any gcc2 internal prototype to avoid an error. */
4530 /* We use char because int might match the return type of a gcc2
4531 builtin and then its argument prototype would still apply. */
4536 /* The GNU C library defines this for functions which it implements
4537 to always fail with ENOSYS. Some functions are actually named
4538 something starting with __ and the normal name is an alias. */
4539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4547 if { (eval echo configure:4548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4549 eval "ac_cv_func_
$ac_func=yes"
4551 echo "configure
: failed program was
:" >&5
4552 cat conftest.$ac_ext >&5
4554 eval "ac_cv_func_
$ac_func=no
"
4559 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4560 echo "$ac_t""yes" 1>&6
4561 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4562 cat >> confdefs.h <<EOF
4563 #define $ac_tr_func 1
4567 echo "$ac_t""no
" 1>&6
4568 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
4573 if test x$ac_cv_func_copysignl = x"yes"; then
4574 for ac_func in __signbitl
4576 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4577 echo "configure
:4578: checking
for $ac_func" >&5
4578 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4579 echo $ac_n "(cached
) $ac_c" 1>&6
4581 cat > conftest.$ac_ext <<EOF
4582 #line 4583 "configure
"
4583 #include "confdefs.h
"
4584 /* System header to define __stub macros and hopefully few prototypes,
4585 which can conflict with char $ac_func(); below. */
4587 /* Override any gcc2 internal prototype to avoid an error. */
4588 /* We use char because int might match the return type of a gcc2
4589 builtin and then its argument prototype would still apply. */
4594 /* The GNU C library defines this for functions which it implements
4595 to always fail with ENOSYS. Some functions are actually named
4596 something starting with __ and the normal name is an alias. */
4597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4605 if { (eval echo configure:4606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4607 eval "ac_cv_func_
$ac_func=yes"
4609 echo "configure
: failed program was
:" >&5
4610 cat conftest.$ac_ext >&5
4612 eval "ac_cv_func_
$ac_func=no
"
4617 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4618 echo "$ac_t""yes" 1>&6
4619 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4620 cat >> confdefs.h <<EOF
4621 #define $ac_tr_func 1
4625 echo "$ac_t""no
" 1>&6
4626 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
4632 if test -n "$LIBMATHOBJS"; then
4638 if test "$need_libmath" = yes; then
4639 GLIBCPP_BUILD_LIBMATH_TRUE=
4640 GLIBCPP_BUILD_LIBMATH_FALSE='#'
4642 GLIBCPP_BUILD_LIBMATH_TRUE='#'
4643 GLIBCPP_BUILD_LIBMATH_FALSE=
4649 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
4650 echo "configure
:4651: checking
for mbstate_t
" >&5
4651 cat > conftest.$ac_ext <<EOF
4652 #line 4653 "configure
"
4653 #include "confdefs.h
"
4656 mbstate_t teststate;
4659 if { (eval echo configure:4660: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4663 echo "configure
: failed program was
:" >&5
4664 cat conftest.$ac_ext >&5
4669 echo "$ac_t""$have_mbstate_t" 1>&6
4670 if test x"$have_mbstate_t" = xyes; then
4671 cat >> confdefs.h <<\EOF
4672 #define HAVE_MBSTATE_T 1
4677 for ac_hdr in wchar.h
4679 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4680 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4681 echo "configure
:4682: checking
for $ac_hdr" >&5
4682 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4683 echo $ac_n "(cached
) $ac_c" 1>&6
4685 cat > conftest.$ac_ext <<EOF
4686 #line 4687 "configure
"
4687 #include "confdefs.h
"
4690 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4691 { (eval echo configure:4692: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4692 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4693 if test -z "$ac_err"; then
4695 eval "ac_cv_header_
$ac_safe=yes"
4698 echo "configure
: failed program was
:" >&5
4699 cat conftest.$ac_ext >&5
4701 eval "ac_cv_header_
$ac_safe=no
"
4705 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4706 echo "$ac_t""yes" 1>&6
4707 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4708 cat >> confdefs.h <<EOF
4709 #define $ac_tr_hdr 1
4713 echo "$ac_t""no
" 1>&6
4718 for ac_hdr in wctype.h
4720 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4721 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4722 echo "configure
:4723: checking
for $ac_hdr" >&5
4723 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4724 echo $ac_n "(cached
) $ac_c" 1>&6
4726 cat > conftest.$ac_ext <<EOF
4727 #line 4728 "configure
"
4728 #include "confdefs.h
"
4731 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4732 { (eval echo configure:4733: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4733 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4734 if test -z "$ac_err"; then
4736 eval "ac_cv_header_
$ac_safe=yes"
4739 echo "configure
: failed program was
:" >&5
4740 cat conftest.$ac_ext >&5
4742 eval "ac_cv_header_
$ac_safe=no
"
4746 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4747 echo "$ac_t""yes" 1>&6
4748 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4749 cat >> confdefs.h <<EOF
4750 #define $ac_tr_hdr 1
4754 echo "$ac_t""no
" 1>&6
4760 if test x"$ac_has_wchar_h" = xyes &&
4761 test x"$ac_has_wctype_h" = xyes &&
4762 test x"$enable_c_mbchar" != xno; then
4764 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
4765 echo "configure
:4766: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
4766 cat > conftest.$ac_ext <<EOF
4767 #line 4768 "configure
"
4768 #include "confdefs.h
"
4771 int i = WCHAR_MIN; int j = WCHAR_MAX;
4774 if { (eval echo configure:4775: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4776 has_wchar_minmax=yes
4778 echo "configure
: failed program was
:" >&5
4779 cat conftest.$ac_ext >&5
4784 echo "$ac_t""$has_wchar_minmax" 1>&6
4786 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
4787 echo "configure
:4788: checking
for WEOF
" >&5
4788 cat > conftest.$ac_ext <<EOF
4789 #line 4790 "configure
"
4790 #include "confdefs.h
"
4798 if { (eval echo configure:4799: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4802 echo "configure
: failed program was
:" >&5
4803 cat conftest.$ac_ext >&5
4808 echo "$ac_t""$has_weof" 1>&6
4811 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4813 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4814 echo "configure
:4815: checking
for $ac_func" >&5
4815 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4816 echo $ac_n "(cached
) $ac_c" 1>&6
4818 cat > conftest.$ac_ext <<EOF
4819 #line 4820 "configure
"
4820 #include "confdefs.h
"
4821 /* System header to define __stub macros and hopefully few prototypes,
4822 which can conflict with char $ac_func(); below. */
4824 /* Override any gcc2 internal prototype to avoid an error. */
4825 /* We use char because int might match the return type of a gcc2
4826 builtin and then its argument prototype would still apply. */
4831 /* The GNU C library defines this for functions which it implements
4832 to always fail with ENOSYS. Some functions are actually named
4833 something starting with __ and the normal name is an alias. */
4834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4842 if { (eval echo configure:4843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4844 eval "ac_cv_func_
$ac_func=yes"
4846 echo "configure
: failed program was
:" >&5
4847 cat conftest.$ac_ext >&5
4849 eval "ac_cv_func_
$ac_func=no
"
4854 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4855 echo "$ac_t""yes" 1>&6
4856 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4857 cat >> confdefs.h <<EOF
4858 #define $ac_tr_func 1
4862 echo "$ac_t""no
" 1>&6
4869 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
4870 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4871 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4872 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4873 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4874 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4876 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4877 echo "configure
:4878: checking
for $ac_func" >&5
4878 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4879 echo $ac_n "(cached
) $ac_c" 1>&6
4881 cat > conftest.$ac_ext <<EOF
4882 #line 4883 "configure
"
4883 #include "confdefs.h
"
4884 /* System header to define __stub macros and hopefully few prototypes,
4885 which can conflict with char $ac_func(); below. */
4887 /* Override any gcc2 internal prototype to avoid an error. */
4888 /* We use char because int might match the return type of a gcc2
4889 builtin and then its argument prototype would still apply. */
4894 /* The GNU C library defines this for functions which it implements
4895 to always fail with ENOSYS. Some functions are actually named
4896 something starting with __ and the normal name is an alias. */
4897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4905 if { (eval echo configure:4906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4907 eval "ac_cv_func_
$ac_func=yes"
4909 echo "configure
: failed program was
:" >&5
4910 cat conftest.$ac_ext >&5
4912 eval "ac_cv_func_
$ac_func=no
"
4917 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4918 echo "$ac_t""yes" 1>&6
4919 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4920 cat >> confdefs.h <<EOF
4921 #define $ac_tr_func 1
4925 echo "$ac_t""no
" 1>&6
4932 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
4933 echo "configure
:4934: checking
for ISO C99 wchar_t support
" >&5
4934 if test x"$has_weof" = xyes &&
4935 test x"$has_wchar_minmax" = xyes &&
4936 test x"$ac_wfuncs" = xyes; then
4937 ac_isoC99_wchar_t=yes
4939 ac_isoC99_wchar_t=no
4941 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4943 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
4944 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
4945 echo "configure
:4946: checking
for iconv.h
" >&5
4946 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4947 echo $ac_n "(cached
) $ac_c" 1>&6
4949 cat > conftest.$ac_ext <<EOF
4950 #line 4951 "configure
"
4951 #include "confdefs.h
"
4954 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4955 { (eval echo configure:4956: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4956 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4957 if test -z "$ac_err"; then
4959 eval "ac_cv_header_
$ac_safe=yes"
4962 echo "configure
: failed program was
:" >&5
4963 cat conftest.$ac_ext >&5
4965 eval "ac_cv_header_
$ac_safe=no
"
4969 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4970 echo "$ac_t""yes" 1>&6
4973 echo "$ac_t""no
" 1>&6
4977 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
4978 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
4979 echo "configure
:4980: checking
for langinfo.h
" >&5
4980 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4981 echo $ac_n "(cached
) $ac_c" 1>&6
4983 cat > conftest.$ac_ext <<EOF
4984 #line 4985 "configure
"
4985 #include "confdefs.h
"
4986 #include <langinfo.h>
4988 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4989 { (eval echo configure:4990: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4990 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4991 if test -z "$ac_err"; then
4993 eval "ac_cv_header_
$ac_safe=yes"
4996 echo "configure
: failed program was
:" >&5
4997 cat conftest.$ac_ext >&5
4999 eval "ac_cv_header_
$ac_safe=no
"
5003 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5004 echo "$ac_t""yes" 1>&6
5005 ac_has_langinfo_h=yes
5007 echo "$ac_t""no
" 1>&6
5008 ac_has_langinfo_h=no
5012 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
5013 echo "configure
:5014: checking
for iconv in -liconv" >&5
5014 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5015 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5016 echo $ac_n "(cached
) $ac_c" 1>&6
5018 ac_save_LIBS="$LIBS"
5019 LIBS="-liconv $LIBS"
5020 cat > conftest.$ac_ext <<EOF
5021 #line 5022 "configure
"
5022 #include "confdefs.h
"
5023 /* Override any gcc2 internal prototype to avoid an error. */
5024 /* We use char because int might match the return type of a gcc2
5025 builtin and then its argument prototype would still apply. */
5032 if { (eval echo configure:5033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5034 eval "ac_cv_lib_
$ac_lib_var=yes"
5036 echo "configure
: failed program was
:" >&5
5037 cat conftest.$ac_ext >&5
5039 eval "ac_cv_lib_
$ac_lib_var=no
"
5042 LIBS="$ac_save_LIBS"
5045 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5046 echo "$ac_t""yes" 1>&6
5049 echo "$ac_t""no
" 1>&6
5052 ac_save_LIBS="$LIBS"
5053 LIBS="$LIBS $libiconv"
5055 for ac_func in iconv_open iconv_close iconv nl_langinfo
5057 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5058 echo "configure
:5059: checking
for $ac_func" >&5
5059 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5060 echo $ac_n "(cached
) $ac_c" 1>&6
5062 cat > conftest.$ac_ext <<EOF
5063 #line 5064 "configure
"
5064 #include "confdefs.h
"
5065 /* System header to define __stub macros and hopefully few prototypes,
5066 which can conflict with char $ac_func(); below. */
5068 /* Override any gcc2 internal prototype to avoid an error. */
5069 /* We use char because int might match the return type of a gcc2
5070 builtin and then its argument prototype would still apply. */
5075 /* The GNU C library defines this for functions which it implements
5076 to always fail with ENOSYS. Some functions are actually named
5077 something starting with __ and the normal name is an alias. */
5078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5086 if { (eval echo configure:5087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5088 eval "ac_cv_func_
$ac_func=yes"
5090 echo "configure
: failed program was
:" >&5
5091 cat conftest.$ac_ext >&5
5093 eval "ac_cv_func_
$ac_func=no
"
5098 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5099 echo "$ac_t""yes" 1>&6
5100 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5101 cat >> confdefs.h <<EOF
5102 #define $ac_tr_func 1
5107 echo "$ac_t""no
" 1>&6
5113 LIBS="$ac_save_LIBS"
5115 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
5116 echo "configure
:5117: checking
for XPG2 wchar_t support
" >&5
5117 if test x"$ac_has_iconv_h" = xyes &&
5118 test x"$ac_has_langinfo_h" = xyes &&
5119 test x"$ac_XPG2funcs" = xyes; then
5124 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5126 if test x"$ac_isoC99_wchar_t" = xyes &&
5127 test x"$ac_XPG2_wchar_t" = xyes; then
5128 cat >> confdefs.h <<\EOF
5129 #define _GLIBCPP_USE_WCHAR_T 1
5135 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
5136 echo "configure
:5137: checking
for enabled wchar_t specializations
" >&5
5137 echo "$ac_t""$enable_wchar_t" 1>&6
5140 if test "$enable_wchar_t" = yes; then
5141 GLIBCPP_TEST_WCHAR_T_TRUE=
5142 GLIBCPP_TEST_WCHAR_T_FALSE='#'
5144 GLIBCPP_TEST_WCHAR_T_TRUE='#'
5145 GLIBCPP_TEST_WCHAR_T_FALSE=
5148 cat >> confdefs.h <<\EOF
5149 #define HAVE_COPYSIGN 1
5152 cat >> confdefs.h <<\EOF
5153 #define HAVE_COPYSIGNF 1
5156 cat >> confdefs.h <<\EOF
5157 #define HAVE_FINITE 1
5160 cat >> confdefs.h <<\EOF
5161 #define HAVE_FINITEF 1
5164 cat >> confdefs.h <<\EOF
5165 #define HAVE_FREXPF 1
5168 cat >> confdefs.h <<\EOF
5169 #define HAVE_HYPOTF 1
5172 cat >> confdefs.h <<\EOF
5173 #define HAVE_ISINF 1
5176 cat >> confdefs.h <<\EOF
5177 #define HAVE_ISINFF 1
5180 cat >> confdefs.h <<\EOF
5181 #define HAVE_ISNAN 1
5184 cat >> confdefs.h <<\EOF
5185 #define HAVE_ISNANF 1
5188 cat >> confdefs.h <<\EOF
5189 #define HAVE_SINCOS 1
5192 cat >> confdefs.h <<\EOF
5193 #define HAVE_SINCOSF 1
5196 if test x"long_double_math_on_this_cpu
" = x"yes"; then
5197 cat >> confdefs.h <<\EOF
5198 #define HAVE_FINITEL 1
5201 cat >> confdefs.h <<\EOF
5202 #define HAVE_HYPOTL 1
5205 cat >> confdefs.h <<\EOF
5206 #define HAVE_ISINFL 1
5209 cat >> confdefs.h <<\EOF
5210 #define HAVE_ISNANL 1
5216 # Check for available headers.
5217 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5218 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5219 fp.h locale.h float.h inttypes.h
5221 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5222 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5223 echo "configure
:5224: checking
for $ac_hdr" >&5
5224 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5225 echo $ac_n "(cached
) $ac_c" 1>&6
5227 cat > conftest.$ac_ext <<EOF
5228 #line 5229 "configure
"
5229 #include "confdefs.h
"
5232 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5233 { (eval echo configure:5234: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5234 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5235 if test -z "$ac_err"; then
5237 eval "ac_cv_header_
$ac_safe=yes"
5240 echo "configure
: failed program was
:" >&5
5241 cat conftest.$ac_ext >&5
5243 eval "ac_cv_header_
$ac_safe=no
"
5247 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5248 echo "$ac_t""yes" 1>&6
5249 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5250 cat >> confdefs.h <<EOF
5251 #define $ac_tr_hdr 1
5255 echo "$ac_t""no
" 1>&6
5259 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5262 # If we're not using GNU ld, then there's no point in even trying these
5263 # tests. Check for that first. We should have already tested for gld
5264 # by now (in libtool), but require it now just to be safe...
5265 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5266 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5269 # The name set by libtool depends on the version of libtool. Shame on us
5270 # for depending on an impl detail, but c'est la vie. Older versions used
5271 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
5272 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
5273 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
5274 # set (hence we're using an older libtool), then set it.
5275 if test x${with_gnu_ld+set} != xset; then
5276 if test x${ac_cv_prog_gnu_ld+set} != xset; then
5277 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
5280 with_gnu_ld=$ac_cv_prog_gnu_ld
5284 # Start by getting the version number. I think the libtool test already
5285 # does some of this, but throws away the result.
5287 ldver=`$LD --version 2>/dev/null | head -1 | \
5288 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
5290 glibcpp_gnu_ld_version=`echo $ldver | \
5291 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
5293 # Set --gc-sections.
5294 if test "$with_gnu_ld" = "notbroken
"; then
5295 # GNU ld it is! Joy and bunny rabbits!
5297 # All these tests are for C++; save the language and the compiler flags.
5298 # Need to do this so that g++ won't try to link in libstdc++
5299 ac_test_CFLAGS="${CFLAGS+set}"
5300 ac_save_CFLAGS="$CFLAGS"
5301 CFLAGS='-x c++ -Wl,--gc-sections'
5303 # Check for -Wl,--gc-sections
5304 # XXX This test is broken at the moment, as symbols required for
5305 # linking are now in libsupc++ (not built yet.....). In addition,
5306 # this test has cored on solaris in the past. In addition,
5307 # --gc-sections doesn't really work at the moment (keeps on discarding
5308 # used sections, first .eh_frame and now some of the glibc sections for
5309 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5310 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
5311 echo "configure
:5312: checking
for ld that supports
-Wl,--gc-sections" >&5
5312 if test "$cross_compiling" = yes; then
5313 ac_sectionLDflags=yes
5315 cat > conftest.$ac_ext <<EOF
5316 #line 5317 "configure
"
5317 #include "confdefs.h
"
5327 if { (eval echo configure:5328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5329 ac_sectionLDflags=yes
5331 echo "configure
: failed program was
:" >&5
5332 cat conftest.$ac_ext >&5
5334 ac_sectionLDflags=no
5339 if test "$ac_test_CFLAGS" = set; then
5340 CFLAGS="$ac_save_CFLAGS"
5342 # this is the suspicious part
5345 if test "$ac_sectionLDflags" = "yes"; then
5346 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5348 echo "$ac_t""$ac_sectionLDflags" 1>&6
5351 # Set linker optimization flags.
5352 if test x"$with_gnu_ld" = x"yes"; then
5353 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5360 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
5361 echo "configure
:5362: checking
for main
in -lm" >&5
5362 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5363 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5364 echo $ac_n "(cached
) $ac_c" 1>&6
5366 ac_save_LIBS="$LIBS"
5368 cat > conftest.$ac_ext <<EOF
5369 #line 5370 "configure
"
5370 #include "confdefs.h
"
5376 if { (eval echo configure:5377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5378 eval "ac_cv_lib_
$ac_lib_var=yes"
5380 echo "configure
: failed program was
:" >&5
5381 cat conftest.$ac_ext >&5
5383 eval "ac_cv_lib_
$ac_lib_var=no
"
5386 LIBS="$ac_save_LIBS"
5389 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5390 echo "$ac_t""yes" 1>&6
5391 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5392 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5393 cat >> confdefs.h <<EOF
5394 #define $ac_tr_lib 1
5400 echo "$ac_t""no
" 1>&6
5403 for ac_func in nan copysignf
5405 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5406 echo "configure
:5407: checking
for $ac_func" >&5
5407 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5408 echo $ac_n "(cached
) $ac_c" 1>&6
5410 cat > conftest.$ac_ext <<EOF
5411 #line 5412 "configure
"
5412 #include "confdefs.h
"
5413 /* System header to define __stub macros and hopefully few prototypes,
5414 which can conflict with char $ac_func(); below. */
5416 /* Override any gcc2 internal prototype to avoid an error. */
5417 /* We use char because int might match the return type of a gcc2
5418 builtin and then its argument prototype would still apply. */
5423 /* The GNU C library defines this for functions which it implements
5424 to always fail with ENOSYS. Some functions are actually named
5425 something starting with __ and the normal name is an alias. */
5426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5434 if { (eval echo configure:5435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5436 eval "ac_cv_func_
$ac_func=yes"
5438 echo "configure
: failed program was
:" >&5
5439 cat conftest.$ac_ext >&5
5441 eval "ac_cv_func_
$ac_func=no
"
5446 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5447 echo "$ac_t""yes" 1>&6
5448 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5449 cat >> confdefs.h <<EOF
5450 #define $ac_tr_func 1
5454 echo "$ac_t""no
" 1>&6
5455 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
5460 for ac_func in __signbit
5462 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5463 echo "configure
:5464: checking
for $ac_func" >&5
5464 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5465 echo $ac_n "(cached
) $ac_c" 1>&6
5467 cat > conftest.$ac_ext <<EOF
5468 #line 5469 "configure
"
5469 #include "confdefs.h
"
5470 /* System header to define __stub macros and hopefully few prototypes,
5471 which can conflict with char $ac_func(); below. */
5473 /* Override any gcc2 internal prototype to avoid an error. */
5474 /* We use char because int might match the return type of a gcc2
5475 builtin and then its argument prototype would still apply. */
5480 /* The GNU C library defines this for functions which it implements
5481 to always fail with ENOSYS. Some functions are actually named
5482 something starting with __ and the normal name is an alias. */
5483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5491 if { (eval echo configure:5492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5493 eval "ac_cv_func_
$ac_func=yes"
5495 echo "configure
: failed program was
:" >&5
5496 cat conftest.$ac_ext >&5
5498 eval "ac_cv_func_
$ac_func=no
"
5503 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5504 echo "$ac_t""yes" 1>&6
5505 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5506 cat >> confdefs.h <<EOF
5507 #define $ac_tr_func 1
5511 echo "$ac_t""no
" 1>&6
5512 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
5516 for ac_func in __signbitf
5518 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5519 echo "configure
:5520: checking
for $ac_func" >&5
5520 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5521 echo $ac_n "(cached
) $ac_c" 1>&6
5523 cat > conftest.$ac_ext <<EOF
5524 #line 5525 "configure
"
5525 #include "confdefs.h
"
5526 /* System header to define __stub macros and hopefully few prototypes,
5527 which can conflict with char $ac_func(); below. */
5529 /* Override any gcc2 internal prototype to avoid an error. */
5530 /* We use char because int might match the return type of a gcc2
5531 builtin and then its argument prototype would still apply. */
5536 /* The GNU C library defines this for functions which it implements
5537 to always fail with ENOSYS. Some functions are actually named
5538 something starting with __ and the normal name is an alias. */
5539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5547 if { (eval echo configure:5548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5549 eval "ac_cv_func_
$ac_func=yes"
5551 echo "configure
: failed program was
:" >&5
5552 cat conftest.$ac_ext >&5
5554 eval "ac_cv_func_
$ac_func=no
"
5559 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5560 echo "$ac_t""yes" 1>&6
5561 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5562 cat >> confdefs.h <<EOF
5563 #define $ac_tr_func 1
5567 echo "$ac_t""no
" 1>&6
5568 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
5573 if test x$ac_cv_func_copysignl = x"yes"; then
5574 for ac_func in __signbitl
5576 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5577 echo "configure
:5578: checking
for $ac_func" >&5
5578 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5579 echo $ac_n "(cached
) $ac_c" 1>&6
5581 cat > conftest.$ac_ext <<EOF
5582 #line 5583 "configure
"
5583 #include "confdefs.h
"
5584 /* System header to define __stub macros and hopefully few prototypes,
5585 which can conflict with char $ac_func(); below. */
5587 /* Override any gcc2 internal prototype to avoid an error. */
5588 /* We use char because int might match the return type of a gcc2
5589 builtin and then its argument prototype would still apply. */
5594 /* The GNU C library defines this for functions which it implements
5595 to always fail with ENOSYS. Some functions are actually named
5596 something starting with __ and the normal name is an alias. */
5597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5605 if { (eval echo configure:5606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5607 eval "ac_cv_func_
$ac_func=yes"
5609 echo "configure
: failed program was
:" >&5
5610 cat conftest.$ac_ext >&5
5612 eval "ac_cv_func_
$ac_func=no
"
5617 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5618 echo "$ac_t""yes" 1>&6
5619 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5620 cat >> confdefs.h <<EOF
5621 #define $ac_tr_func 1
5625 echo "$ac_t""no
" 1>&6
5626 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
5632 if test -n "$LIBMATHOBJS"; then
5638 if test "$need_libmath" = yes; then
5639 GLIBCPP_BUILD_LIBMATH_TRUE=
5640 GLIBCPP_BUILD_LIBMATH_FALSE='#'
5642 GLIBCPP_BUILD_LIBMATH_TRUE='#'
5643 GLIBCPP_BUILD_LIBMATH_FALSE=
5649 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
5650 echo "configure
:5651: checking
for mbstate_t
" >&5
5651 cat > conftest.$ac_ext <<EOF
5652 #line 5653 "configure
"
5653 #include "confdefs.h
"
5656 mbstate_t teststate;
5659 if { (eval echo configure:5660: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5663 echo "configure
: failed program was
:" >&5
5664 cat conftest.$ac_ext >&5
5669 echo "$ac_t""$have_mbstate_t" 1>&6
5670 if test x"$have_mbstate_t" = xyes; then
5671 cat >> confdefs.h <<\EOF
5672 #define HAVE_MBSTATE_T 1
5677 for ac_hdr in wchar.h
5679 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5680 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5681 echo "configure
:5682: checking
for $ac_hdr" >&5
5682 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5683 echo $ac_n "(cached
) $ac_c" 1>&6
5685 cat > conftest.$ac_ext <<EOF
5686 #line 5687 "configure
"
5687 #include "confdefs.h
"
5690 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5691 { (eval echo configure:5692: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5692 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5693 if test -z "$ac_err"; then
5695 eval "ac_cv_header_
$ac_safe=yes"
5698 echo "configure
: failed program was
:" >&5
5699 cat conftest.$ac_ext >&5
5701 eval "ac_cv_header_
$ac_safe=no
"
5705 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5706 echo "$ac_t""yes" 1>&6
5707 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5708 cat >> confdefs.h <<EOF
5709 #define $ac_tr_hdr 1
5713 echo "$ac_t""no
" 1>&6
5718 for ac_hdr in wctype.h
5720 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5721 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5722 echo "configure
:5723: checking
for $ac_hdr" >&5
5723 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5724 echo $ac_n "(cached
) $ac_c" 1>&6
5726 cat > conftest.$ac_ext <<EOF
5727 #line 5728 "configure
"
5728 #include "confdefs.h
"
5731 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5732 { (eval echo configure:5733: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5733 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5734 if test -z "$ac_err"; then
5736 eval "ac_cv_header_
$ac_safe=yes"
5739 echo "configure
: failed program was
:" >&5
5740 cat conftest.$ac_ext >&5
5742 eval "ac_cv_header_
$ac_safe=no
"
5746 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5747 echo "$ac_t""yes" 1>&6
5748 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5749 cat >> confdefs.h <<EOF
5750 #define $ac_tr_hdr 1
5754 echo "$ac_t""no
" 1>&6
5760 if test x"$ac_has_wchar_h" = xyes &&
5761 test x"$ac_has_wctype_h" = xyes &&
5762 test x"$enable_c_mbchar" != xno; then
5764 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
5765 echo "configure
:5766: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
5766 cat > conftest.$ac_ext <<EOF
5767 #line 5768 "configure
"
5768 #include "confdefs.h
"
5771 int i = WCHAR_MIN; int j = WCHAR_MAX;
5774 if { (eval echo configure:5775: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5776 has_wchar_minmax=yes
5778 echo "configure
: failed program was
:" >&5
5779 cat conftest.$ac_ext >&5
5784 echo "$ac_t""$has_wchar_minmax" 1>&6
5786 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
5787 echo "configure
:5788: checking
for WEOF
" >&5
5788 cat > conftest.$ac_ext <<EOF
5789 #line 5790 "configure
"
5790 #include "confdefs.h
"
5798 if { (eval echo configure:5799: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5802 echo "configure
: failed program was
:" >&5
5803 cat conftest.$ac_ext >&5
5808 echo "$ac_t""$has_weof" 1>&6
5811 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5813 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5814 echo "configure
:5815: checking
for $ac_func" >&5
5815 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5816 echo $ac_n "(cached
) $ac_c" 1>&6
5818 cat > conftest.$ac_ext <<EOF
5819 #line 5820 "configure
"
5820 #include "confdefs.h
"
5821 /* System header to define __stub macros and hopefully few prototypes,
5822 which can conflict with char $ac_func(); below. */
5824 /* Override any gcc2 internal prototype to avoid an error. */
5825 /* We use char because int might match the return type of a gcc2
5826 builtin and then its argument prototype would still apply. */
5831 /* The GNU C library defines this for functions which it implements
5832 to always fail with ENOSYS. Some functions are actually named
5833 something starting with __ and the normal name is an alias. */
5834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5842 if { (eval echo configure:5843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5844 eval "ac_cv_func_
$ac_func=yes"
5846 echo "configure
: failed program was
:" >&5
5847 cat conftest.$ac_ext >&5
5849 eval "ac_cv_func_
$ac_func=no
"
5854 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5855 echo "$ac_t""yes" 1>&6
5856 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5857 cat >> confdefs.h <<EOF
5858 #define $ac_tr_func 1
5862 echo "$ac_t""no
" 1>&6
5869 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
5870 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5871 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5872 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5873 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5874 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5876 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5877 echo "configure
:5878: checking
for $ac_func" >&5
5878 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5879 echo $ac_n "(cached
) $ac_c" 1>&6
5881 cat > conftest.$ac_ext <<EOF
5882 #line 5883 "configure
"
5883 #include "confdefs.h
"
5884 /* System header to define __stub macros and hopefully few prototypes,
5885 which can conflict with char $ac_func(); below. */
5887 /* Override any gcc2 internal prototype to avoid an error. */
5888 /* We use char because int might match the return type of a gcc2
5889 builtin and then its argument prototype would still apply. */
5894 /* The GNU C library defines this for functions which it implements
5895 to always fail with ENOSYS. Some functions are actually named
5896 something starting with __ and the normal name is an alias. */
5897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5905 if { (eval echo configure:5906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5907 eval "ac_cv_func_
$ac_func=yes"
5909 echo "configure
: failed program was
:" >&5
5910 cat conftest.$ac_ext >&5
5912 eval "ac_cv_func_
$ac_func=no
"
5917 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5918 echo "$ac_t""yes" 1>&6
5919 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5920 cat >> confdefs.h <<EOF
5921 #define $ac_tr_func 1
5925 echo "$ac_t""no
" 1>&6
5932 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
5933 echo "configure
:5934: checking
for ISO C99 wchar_t support
" >&5
5934 if test x"$has_weof" = xyes &&
5935 test x"$has_wchar_minmax" = xyes &&
5936 test x"$ac_wfuncs" = xyes; then
5937 ac_isoC99_wchar_t=yes
5939 ac_isoC99_wchar_t=no
5941 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
5943 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
5944 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
5945 echo "configure
:5946: checking
for iconv.h
" >&5
5946 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5947 echo $ac_n "(cached
) $ac_c" 1>&6
5949 cat > conftest.$ac_ext <<EOF
5950 #line 5951 "configure
"
5951 #include "confdefs.h
"
5954 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5955 { (eval echo configure:5956: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5956 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5957 if test -z "$ac_err"; then
5959 eval "ac_cv_header_
$ac_safe=yes"
5962 echo "configure
: failed program was
:" >&5
5963 cat conftest.$ac_ext >&5
5965 eval "ac_cv_header_
$ac_safe=no
"
5969 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5970 echo "$ac_t""yes" 1>&6
5973 echo "$ac_t""no
" 1>&6
5977 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
5978 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
5979 echo "configure
:5980: checking
for langinfo.h
" >&5
5980 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5981 echo $ac_n "(cached
) $ac_c" 1>&6
5983 cat > conftest.$ac_ext <<EOF
5984 #line 5985 "configure
"
5985 #include "confdefs.h
"
5986 #include <langinfo.h>
5988 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5989 { (eval echo configure:5990: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5990 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5991 if test -z "$ac_err"; then
5993 eval "ac_cv_header_
$ac_safe=yes"
5996 echo "configure
: failed program was
:" >&5
5997 cat conftest.$ac_ext >&5
5999 eval "ac_cv_header_
$ac_safe=no
"
6003 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6004 echo "$ac_t""yes" 1>&6
6005 ac_has_langinfo_h=yes
6007 echo "$ac_t""no
" 1>&6
6008 ac_has_langinfo_h=no
6012 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
6013 echo "configure
:6014: checking
for iconv in -liconv" >&5
6014 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6015 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6016 echo $ac_n "(cached
) $ac_c" 1>&6
6018 ac_save_LIBS="$LIBS"
6019 LIBS="-liconv $LIBS"
6020 cat > conftest.$ac_ext <<EOF
6021 #line 6022 "configure
"
6022 #include "confdefs.h
"
6023 /* Override any gcc2 internal prototype to avoid an error. */
6024 /* We use char because int might match the return type of a gcc2
6025 builtin and then its argument prototype would still apply. */
6032 if { (eval echo configure:6033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6034 eval "ac_cv_lib_
$ac_lib_var=yes"
6036 echo "configure
: failed program was
:" >&5
6037 cat conftest.$ac_ext >&5
6039 eval "ac_cv_lib_
$ac_lib_var=no
"
6042 LIBS="$ac_save_LIBS"
6045 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6046 echo "$ac_t""yes" 1>&6
6049 echo "$ac_t""no
" 1>&6
6052 ac_save_LIBS="$LIBS"
6053 LIBS="$LIBS $libiconv"
6055 for ac_func in iconv_open iconv_close iconv nl_langinfo
6057 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6058 echo "configure
:6059: checking
for $ac_func" >&5
6059 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6060 echo $ac_n "(cached
) $ac_c" 1>&6
6062 cat > conftest.$ac_ext <<EOF
6063 #line 6064 "configure
"
6064 #include "confdefs.h
"
6065 /* System header to define __stub macros and hopefully few prototypes,
6066 which can conflict with char $ac_func(); below. */
6068 /* Override any gcc2 internal prototype to avoid an error. */
6069 /* We use char because int might match the return type of a gcc2
6070 builtin and then its argument prototype would still apply. */
6075 /* The GNU C library defines this for functions which it implements
6076 to always fail with ENOSYS. Some functions are actually named
6077 something starting with __ and the normal name is an alias. */
6078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6086 if { (eval echo configure:6087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6088 eval "ac_cv_func_
$ac_func=yes"
6090 echo "configure
: failed program was
:" >&5
6091 cat conftest.$ac_ext >&5
6093 eval "ac_cv_func_
$ac_func=no
"
6098 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6099 echo "$ac_t""yes" 1>&6
6100 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6101 cat >> confdefs.h <<EOF
6102 #define $ac_tr_func 1
6107 echo "$ac_t""no
" 1>&6
6113 LIBS="$ac_save_LIBS"
6115 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
6116 echo "configure
:6117: checking
for XPG2 wchar_t support
" >&5
6117 if test x"$ac_has_iconv_h" = xyes &&
6118 test x"$ac_has_langinfo_h" = xyes &&
6119 test x"$ac_XPG2funcs" = xyes; then
6124 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6126 if test x"$ac_isoC99_wchar_t" = xyes &&
6127 test x"$ac_XPG2_wchar_t" = xyes; then
6128 cat >> confdefs.h <<\EOF
6129 #define _GLIBCPP_USE_WCHAR_T 1
6135 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
6136 echo "configure
:6137: checking
for enabled wchar_t specializations
" >&5
6137 echo "$ac_t""$enable_wchar_t" 1>&6
6140 if test "$enable_wchar_t" = yes; then
6141 GLIBCPP_TEST_WCHAR_T_TRUE=
6142 GLIBCPP_TEST_WCHAR_T_FALSE='#'
6144 GLIBCPP_TEST_WCHAR_T_TRUE='#'
6145 GLIBCPP_TEST_WCHAR_T_FALSE=
6148 os_include_dir="os
/hpux
"
6149 cat >> confdefs.h <<\EOF
6150 #define HAVE_COPYSIGN 1
6153 cat >> confdefs.h <<\EOF
6154 #define HAVE_COPYSIGNF 1
6157 cat >> confdefs.h <<\EOF
6158 #define HAVE_FREXPF 1
6161 cat >> confdefs.h <<\EOF
6162 #define HAVE_HYPOT 1
6167 cat >> confdefs.h <<\EOF
6168 #define HAVE_FINITE 1
6171 cat >> confdefs.h <<\EOF
6172 #define HAVE_FINITEF 1
6175 cat >> confdefs.h <<\EOF
6176 #define HAVE_ISINF 1
6179 cat >> confdefs.h <<\EOF
6180 #define HAVE_ISINFF 1
6183 cat >> confdefs.h <<\EOF
6184 #define HAVE_ISNAN 1
6187 cat >> confdefs.h <<\EOF
6188 #define HAVE_ISNANF 1
6196 # Check for available headers.
6197 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
6198 machine/endian.h machine/param.h sys/machine.h sys/types.h \
6199 fp.h locale.h float.h inttypes.h
6201 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6202 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6203 echo "configure
:6204: checking
for $ac_hdr" >&5
6204 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6205 echo $ac_n "(cached
) $ac_c" 1>&6
6207 cat > conftest.$ac_ext <<EOF
6208 #line 6209 "configure
"
6209 #include "confdefs.h
"
6212 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6213 { (eval echo configure:6214: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6214 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6215 if test -z "$ac_err"; then
6217 eval "ac_cv_header_
$ac_safe=yes"
6220 echo "configure
: failed program was
:" >&5
6221 cat conftest.$ac_ext >&5
6223 eval "ac_cv_header_
$ac_safe=no
"
6227 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6228 echo "$ac_t""yes" 1>&6
6229 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6230 cat >> confdefs.h <<EOF
6231 #define $ac_tr_hdr 1
6235 echo "$ac_t""no
" 1>&6
6239 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6242 # If we're not using GNU ld, then there's no point in even trying these
6243 # tests. Check for that first. We should have already tested for gld
6244 # by now (in libtool), but require it now just to be safe...
6245 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6246 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6249 # The name set by libtool depends on the version of libtool. Shame on us
6250 # for depending on an impl detail, but c'est la vie. Older versions used
6251 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6252 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6253 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6254 # set (hence we're using an older libtool), then set it.
6255 if test x${with_gnu_ld+set} != xset; then
6256 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6257 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
6260 with_gnu_ld=$ac_cv_prog_gnu_ld
6264 # Start by getting the version number. I think the libtool test already
6265 # does some of this, but throws away the result.
6267 ldver=`$LD --version 2>/dev/null | head -1 | \
6268 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6270 glibcpp_gnu_ld_version=`echo $ldver | \
6271 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6273 # Set --gc-sections.
6274 if test "$with_gnu_ld" = "notbroken
"; then
6275 # GNU ld it is! Joy and bunny rabbits!
6277 # All these tests are for C++; save the language and the compiler flags.
6278 # Need to do this so that g++ won't try to link in libstdc++
6279 ac_test_CFLAGS="${CFLAGS+set}"
6280 ac_save_CFLAGS="$CFLAGS"
6281 CFLAGS='-x c++ -Wl,--gc-sections'
6283 # Check for -Wl,--gc-sections
6284 # XXX This test is broken at the moment, as symbols required for
6285 # linking are now in libsupc++ (not built yet.....). In addition,
6286 # this test has cored on solaris in the past. In addition,
6287 # --gc-sections doesn't really work at the moment (keeps on discarding
6288 # used sections, first .eh_frame and now some of the glibc sections for
6289 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6290 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
6291 echo "configure
:6292: checking
for ld that supports
-Wl,--gc-sections" >&5
6292 if test "$cross_compiling" = yes; then
6293 ac_sectionLDflags=yes
6295 cat > conftest.$ac_ext <<EOF
6296 #line 6297 "configure
"
6297 #include "confdefs.h
"
6307 if { (eval echo configure:6308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6309 ac_sectionLDflags=yes
6311 echo "configure
: failed program was
:" >&5
6312 cat conftest.$ac_ext >&5
6314 ac_sectionLDflags=no
6319 if test "$ac_test_CFLAGS" = set; then
6320 CFLAGS="$ac_save_CFLAGS"
6322 # this is the suspicious part
6325 if test "$ac_sectionLDflags" = "yes"; then
6326 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6328 echo "$ac_t""$ac_sectionLDflags" 1>&6
6331 # Set linker optimization flags.
6332 if test x"$with_gnu_ld" = x"yes"; then
6333 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6340 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
6341 echo "configure
:6342: checking
for main
in -lm" >&5
6342 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
6343 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6344 echo $ac_n "(cached
) $ac_c" 1>&6
6346 ac_save_LIBS="$LIBS"
6348 cat > conftest.$ac_ext <<EOF
6349 #line 6350 "configure
"
6350 #include "confdefs.h
"
6356 if { (eval echo configure:6357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6358 eval "ac_cv_lib_
$ac_lib_var=yes"
6360 echo "configure
: failed program was
:" >&5
6361 cat conftest.$ac_ext >&5
6363 eval "ac_cv_lib_
$ac_lib_var=no
"
6366 LIBS="$ac_save_LIBS"
6369 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6370 echo "$ac_t""yes" 1>&6
6371 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6372 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6373 cat >> confdefs.h <<EOF
6374 #define $ac_tr_lib 1
6380 echo "$ac_t""no
" 1>&6
6383 for ac_func in nan copysignf
6385 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6386 echo "configure
:6387: checking
for $ac_func" >&5
6387 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6388 echo $ac_n "(cached
) $ac_c" 1>&6
6390 cat > conftest.$ac_ext <<EOF
6391 #line 6392 "configure
"
6392 #include "confdefs.h
"
6393 /* System header to define __stub macros and hopefully few prototypes,
6394 which can conflict with char $ac_func(); below. */
6396 /* Override any gcc2 internal prototype to avoid an error. */
6397 /* We use char because int might match the return type of a gcc2
6398 builtin and then its argument prototype would still apply. */
6403 /* The GNU C library defines this for functions which it implements
6404 to always fail with ENOSYS. Some functions are actually named
6405 something starting with __ and the normal name is an alias. */
6406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6414 if { (eval echo configure:6415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6416 eval "ac_cv_func_
$ac_func=yes"
6418 echo "configure
: failed program was
:" >&5
6419 cat conftest.$ac_ext >&5
6421 eval "ac_cv_func_
$ac_func=no
"
6426 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6427 echo "$ac_t""yes" 1>&6
6428 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6429 cat >> confdefs.h <<EOF
6430 #define $ac_tr_func 1
6434 echo "$ac_t""no
" 1>&6
6435 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
6440 for ac_func in __signbit
6442 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6443 echo "configure
:6444: checking
for $ac_func" >&5
6444 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6445 echo $ac_n "(cached
) $ac_c" 1>&6
6447 cat > conftest.$ac_ext <<EOF
6448 #line 6449 "configure
"
6449 #include "confdefs.h
"
6450 /* System header to define __stub macros and hopefully few prototypes,
6451 which can conflict with char $ac_func(); below. */
6453 /* Override any gcc2 internal prototype to avoid an error. */
6454 /* We use char because int might match the return type of a gcc2
6455 builtin and then its argument prototype would still apply. */
6460 /* The GNU C library defines this for functions which it implements
6461 to always fail with ENOSYS. Some functions are actually named
6462 something starting with __ and the normal name is an alias. */
6463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6471 if { (eval echo configure:6472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6473 eval "ac_cv_func_
$ac_func=yes"
6475 echo "configure
: failed program was
:" >&5
6476 cat conftest.$ac_ext >&5
6478 eval "ac_cv_func_
$ac_func=no
"
6483 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6484 echo "$ac_t""yes" 1>&6
6485 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6486 cat >> confdefs.h <<EOF
6487 #define $ac_tr_func 1
6491 echo "$ac_t""no
" 1>&6
6492 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
6496 for ac_func in __signbitf
6498 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6499 echo "configure
:6500: checking
for $ac_func" >&5
6500 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6501 echo $ac_n "(cached
) $ac_c" 1>&6
6503 cat > conftest.$ac_ext <<EOF
6504 #line 6505 "configure
"
6505 #include "confdefs.h
"
6506 /* System header to define __stub macros and hopefully few prototypes,
6507 which can conflict with char $ac_func(); below. */
6509 /* Override any gcc2 internal prototype to avoid an error. */
6510 /* We use char because int might match the return type of a gcc2
6511 builtin and then its argument prototype would still apply. */
6516 /* The GNU C library defines this for functions which it implements
6517 to always fail with ENOSYS. Some functions are actually named
6518 something starting with __ and the normal name is an alias. */
6519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6527 if { (eval echo configure:6528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6529 eval "ac_cv_func_
$ac_func=yes"
6531 echo "configure
: failed program was
:" >&5
6532 cat conftest.$ac_ext >&5
6534 eval "ac_cv_func_
$ac_func=no
"
6539 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6540 echo "$ac_t""yes" 1>&6
6541 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6542 cat >> confdefs.h <<EOF
6543 #define $ac_tr_func 1
6547 echo "$ac_t""no
" 1>&6
6548 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
6553 if test x$ac_cv_func_copysignl = x"yes"; then
6554 for ac_func in __signbitl
6556 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6557 echo "configure
:6558: checking
for $ac_func" >&5
6558 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6559 echo $ac_n "(cached
) $ac_c" 1>&6
6561 cat > conftest.$ac_ext <<EOF
6562 #line 6563 "configure
"
6563 #include "confdefs.h
"
6564 /* System header to define __stub macros and hopefully few prototypes,
6565 which can conflict with char $ac_func(); below. */
6567 /* Override any gcc2 internal prototype to avoid an error. */
6568 /* We use char because int might match the return type of a gcc2
6569 builtin and then its argument prototype would still apply. */
6574 /* The GNU C library defines this for functions which it implements
6575 to always fail with ENOSYS. Some functions are actually named
6576 something starting with __ and the normal name is an alias. */
6577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6585 if { (eval echo configure:6586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6587 eval "ac_cv_func_
$ac_func=yes"
6589 echo "configure
: failed program was
:" >&5
6590 cat conftest.$ac_ext >&5
6592 eval "ac_cv_func_
$ac_func=no
"
6597 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6598 echo "$ac_t""yes" 1>&6
6599 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6600 cat >> confdefs.h <<EOF
6601 #define $ac_tr_func 1
6605 echo "$ac_t""no
" 1>&6
6606 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
6612 if test -n "$LIBMATHOBJS"; then
6618 if test "$need_libmath" = yes; then
6619 GLIBCPP_BUILD_LIBMATH_TRUE=
6620 GLIBCPP_BUILD_LIBMATH_FALSE='#'
6622 GLIBCPP_BUILD_LIBMATH_TRUE='#'
6623 GLIBCPP_BUILD_LIBMATH_FALSE=
6629 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
6630 echo "configure
:6631: checking
for mbstate_t
" >&5
6631 cat > conftest.$ac_ext <<EOF
6632 #line 6633 "configure
"
6633 #include "confdefs.h
"
6636 mbstate_t teststate;
6639 if { (eval echo configure:6640: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6643 echo "configure
: failed program was
:" >&5
6644 cat conftest.$ac_ext >&5
6649 echo "$ac_t""$have_mbstate_t" 1>&6
6650 if test x"$have_mbstate_t" = xyes; then
6651 cat >> confdefs.h <<\EOF
6652 #define HAVE_MBSTATE_T 1
6657 for ac_hdr in wchar.h
6659 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6660 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6661 echo "configure
:6662: checking
for $ac_hdr" >&5
6662 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6663 echo $ac_n "(cached
) $ac_c" 1>&6
6665 cat > conftest.$ac_ext <<EOF
6666 #line 6667 "configure
"
6667 #include "confdefs.h
"
6670 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6671 { (eval echo configure:6672: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6672 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6673 if test -z "$ac_err"; then
6675 eval "ac_cv_header_
$ac_safe=yes"
6678 echo "configure
: failed program was
:" >&5
6679 cat conftest.$ac_ext >&5
6681 eval "ac_cv_header_
$ac_safe=no
"
6685 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6686 echo "$ac_t""yes" 1>&6
6687 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6688 cat >> confdefs.h <<EOF
6689 #define $ac_tr_hdr 1
6693 echo "$ac_t""no
" 1>&6
6698 for ac_hdr in wctype.h
6700 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6701 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6702 echo "configure
:6703: checking
for $ac_hdr" >&5
6703 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6704 echo $ac_n "(cached
) $ac_c" 1>&6
6706 cat > conftest.$ac_ext <<EOF
6707 #line 6708 "configure
"
6708 #include "confdefs.h
"
6711 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6712 { (eval echo configure:6713: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6713 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6714 if test -z "$ac_err"; then
6716 eval "ac_cv_header_
$ac_safe=yes"
6719 echo "configure
: failed program was
:" >&5
6720 cat conftest.$ac_ext >&5
6722 eval "ac_cv_header_
$ac_safe=no
"
6726 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6727 echo "$ac_t""yes" 1>&6
6728 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6729 cat >> confdefs.h <<EOF
6730 #define $ac_tr_hdr 1
6734 echo "$ac_t""no
" 1>&6
6740 if test x"$ac_has_wchar_h" = xyes &&
6741 test x"$ac_has_wctype_h" = xyes &&
6742 test x"$enable_c_mbchar" != xno; then
6744 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
6745 echo "configure
:6746: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
6746 cat > conftest.$ac_ext <<EOF
6747 #line 6748 "configure
"
6748 #include "confdefs.h
"
6751 int i = WCHAR_MIN; int j = WCHAR_MAX;
6754 if { (eval echo configure:6755: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6756 has_wchar_minmax=yes
6758 echo "configure
: failed program was
:" >&5
6759 cat conftest.$ac_ext >&5
6764 echo "$ac_t""$has_wchar_minmax" 1>&6
6766 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
6767 echo "configure
:6768: checking
for WEOF
" >&5
6768 cat > conftest.$ac_ext <<EOF
6769 #line 6770 "configure
"
6770 #include "confdefs.h
"
6778 if { (eval echo configure:6779: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6782 echo "configure
: failed program was
:" >&5
6783 cat conftest.$ac_ext >&5
6788 echo "$ac_t""$has_weof" 1>&6
6791 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6793 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6794 echo "configure
:6795: checking
for $ac_func" >&5
6795 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6796 echo $ac_n "(cached
) $ac_c" 1>&6
6798 cat > conftest.$ac_ext <<EOF
6799 #line 6800 "configure
"
6800 #include "confdefs.h
"
6801 /* System header to define __stub macros and hopefully few prototypes,
6802 which can conflict with char $ac_func(); below. */
6804 /* Override any gcc2 internal prototype to avoid an error. */
6805 /* We use char because int might match the return type of a gcc2
6806 builtin and then its argument prototype would still apply. */
6811 /* The GNU C library defines this for functions which it implements
6812 to always fail with ENOSYS. Some functions are actually named
6813 something starting with __ and the normal name is an alias. */
6814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6822 if { (eval echo configure:6823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6824 eval "ac_cv_func_
$ac_func=yes"
6826 echo "configure
: failed program was
:" >&5
6827 cat conftest.$ac_ext >&5
6829 eval "ac_cv_func_
$ac_func=no
"
6834 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6835 echo "$ac_t""yes" 1>&6
6836 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6837 cat >> confdefs.h <<EOF
6838 #define $ac_tr_func 1
6842 echo "$ac_t""no
" 1>&6
6849 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
6850 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6851 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6852 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6853 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6854 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6856 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6857 echo "configure
:6858: checking
for $ac_func" >&5
6858 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6859 echo $ac_n "(cached
) $ac_c" 1>&6
6861 cat > conftest.$ac_ext <<EOF
6862 #line 6863 "configure
"
6863 #include "confdefs.h
"
6864 /* System header to define __stub macros and hopefully few prototypes,
6865 which can conflict with char $ac_func(); below. */
6867 /* Override any gcc2 internal prototype to avoid an error. */
6868 /* We use char because int might match the return type of a gcc2
6869 builtin and then its argument prototype would still apply. */
6874 /* The GNU C library defines this for functions which it implements
6875 to always fail with ENOSYS. Some functions are actually named
6876 something starting with __ and the normal name is an alias. */
6877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6885 if { (eval echo configure:6886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6887 eval "ac_cv_func_
$ac_func=yes"
6889 echo "configure
: failed program was
:" >&5
6890 cat conftest.$ac_ext >&5
6892 eval "ac_cv_func_
$ac_func=no
"
6897 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6898 echo "$ac_t""yes" 1>&6
6899 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6900 cat >> confdefs.h <<EOF
6901 #define $ac_tr_func 1
6905 echo "$ac_t""no
" 1>&6
6912 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
6913 echo "configure
:6914: checking
for ISO C99 wchar_t support
" >&5
6914 if test x"$has_weof" = xyes &&
6915 test x"$has_wchar_minmax" = xyes &&
6916 test x"$ac_wfuncs" = xyes; then
6917 ac_isoC99_wchar_t=yes
6919 ac_isoC99_wchar_t=no
6921 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6923 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
6924 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
6925 echo "configure
:6926: checking
for iconv.h
" >&5
6926 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6927 echo $ac_n "(cached
) $ac_c" 1>&6
6929 cat > conftest.$ac_ext <<EOF
6930 #line 6931 "configure
"
6931 #include "confdefs.h
"
6934 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6935 { (eval echo configure:6936: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6936 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6937 if test -z "$ac_err"; then
6939 eval "ac_cv_header_
$ac_safe=yes"
6942 echo "configure
: failed program was
:" >&5
6943 cat conftest.$ac_ext >&5
6945 eval "ac_cv_header_
$ac_safe=no
"
6949 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6950 echo "$ac_t""yes" 1>&6
6953 echo "$ac_t""no
" 1>&6
6957 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
6958 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
6959 echo "configure
:6960: checking
for langinfo.h
" >&5
6960 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6961 echo $ac_n "(cached
) $ac_c" 1>&6
6963 cat > conftest.$ac_ext <<EOF
6964 #line 6965 "configure
"
6965 #include "confdefs.h
"
6966 #include <langinfo.h>
6968 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6969 { (eval echo configure:6970: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6970 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6971 if test -z "$ac_err"; then
6973 eval "ac_cv_header_
$ac_safe=yes"
6976 echo "configure
: failed program was
:" >&5
6977 cat conftest.$ac_ext >&5
6979 eval "ac_cv_header_
$ac_safe=no
"
6983 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6984 echo "$ac_t""yes" 1>&6
6985 ac_has_langinfo_h=yes
6987 echo "$ac_t""no
" 1>&6
6988 ac_has_langinfo_h=no
6992 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
6993 echo "configure
:6994: checking
for iconv in -liconv" >&5
6994 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6995 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6996 echo $ac_n "(cached
) $ac_c" 1>&6
6998 ac_save_LIBS="$LIBS"
6999 LIBS="-liconv $LIBS"
7000 cat > conftest.$ac_ext <<EOF
7001 #line 7002 "configure
"
7002 #include "confdefs.h
"
7003 /* Override any gcc2 internal prototype to avoid an error. */
7004 /* We use char because int might match the return type of a gcc2
7005 builtin and then its argument prototype would still apply. */
7012 if { (eval echo configure:7013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7014 eval "ac_cv_lib_
$ac_lib_var=yes"
7016 echo "configure
: failed program was
:" >&5
7017 cat conftest.$ac_ext >&5
7019 eval "ac_cv_lib_
$ac_lib_var=no
"
7022 LIBS="$ac_save_LIBS"
7025 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7026 echo "$ac_t""yes" 1>&6
7029 echo "$ac_t""no
" 1>&6
7032 ac_save_LIBS="$LIBS"
7033 LIBS="$LIBS $libiconv"
7035 for ac_func in iconv_open iconv_close iconv nl_langinfo
7037 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7038 echo "configure
:7039: checking
for $ac_func" >&5
7039 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7040 echo $ac_n "(cached
) $ac_c" 1>&6
7042 cat > conftest.$ac_ext <<EOF
7043 #line 7044 "configure
"
7044 #include "confdefs.h
"
7045 /* System header to define __stub macros and hopefully few prototypes,
7046 which can conflict with char $ac_func(); below. */
7048 /* Override any gcc2 internal prototype to avoid an error. */
7049 /* We use char because int might match the return type of a gcc2
7050 builtin and then its argument prototype would still apply. */
7055 /* The GNU C library defines this for functions which it implements
7056 to always fail with ENOSYS. Some functions are actually named
7057 something starting with __ and the normal name is an alias. */
7058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7066 if { (eval echo configure:7067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7068 eval "ac_cv_func_
$ac_func=yes"
7070 echo "configure
: failed program was
:" >&5
7071 cat conftest.$ac_ext >&5
7073 eval "ac_cv_func_
$ac_func=no
"
7078 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7079 echo "$ac_t""yes" 1>&6
7080 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7081 cat >> confdefs.h <<EOF
7082 #define $ac_tr_func 1
7087 echo "$ac_t""no
" 1>&6
7093 LIBS="$ac_save_LIBS"
7095 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
7096 echo "configure
:7097: checking
for XPG2 wchar_t support
" >&5
7097 if test x"$ac_has_iconv_h" = xyes &&
7098 test x"$ac_has_langinfo_h" = xyes &&
7099 test x"$ac_XPG2funcs" = xyes; then
7104 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
7106 if test x"$ac_isoC99_wchar_t" = xyes &&
7107 test x"$ac_XPG2_wchar_t" = xyes; then
7108 cat >> confdefs.h <<\EOF
7109 #define _GLIBCPP_USE_WCHAR_T 1
7115 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
7116 echo "configure
:7117: checking
for enabled wchar_t specializations
" >&5
7117 echo "$ac_t""$enable_wchar_t" 1>&6
7120 if test "$enable_wchar_t" = yes; then
7121 GLIBCPP_TEST_WCHAR_T_TRUE=
7122 GLIBCPP_TEST_WCHAR_T_FALSE='#'
7124 GLIBCPP_TEST_WCHAR_T_TRUE='#'
7125 GLIBCPP_TEST_WCHAR_T_FALSE=
7128 os_include_dir="os
/bsd
/netbsd
"
7129 cat >> confdefs.h <<\EOF
7130 #define HAVE_COPYSIGN 1
7133 cat >> confdefs.h <<\EOF
7134 #define HAVE_COPYSIGNF 1
7137 cat >> confdefs.h <<\EOF
7138 #define HAVE_FINITEF 1
7141 cat >> confdefs.h <<\EOF
7142 #define HAVE_FINITE 1
7145 cat >> confdefs.h <<\EOF
7146 #define HAVE_FREXPF 1
7149 cat >> confdefs.h <<\EOF
7150 #define HAVE_HYPOTF 1
7153 cat >> confdefs.h <<\EOF
7154 #define HAVE_ISINF 1
7157 cat >> confdefs.h <<\EOF
7158 #define HAVE_ISINFF 1
7161 cat >> confdefs.h <<\EOF
7162 #define HAVE_ISNAN 1
7165 cat >> confdefs.h <<\EOF
7166 #define HAVE_ISNANF 1
7169 if test x"long_double_math_on_this_cpu
" = x"yes"; then
7170 cat >> confdefs.h <<\EOF
7171 #define HAVE_FINITEL 1
7174 cat >> confdefs.h <<\EOF
7175 #define HAVE_ISINFL 1
7178 cat >> confdefs.h <<\EOF
7179 #define HAVE_ISNANL 1
7185 # Check for available headers.
7186 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
7187 machine/endian.h machine/param.h sys/machine.h sys/types.h \
7188 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
7191 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7192 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
7193 echo "configure
:7194: checking
for $ac_hdr" >&5
7194 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7195 echo $ac_n "(cached
) $ac_c" 1>&6
7197 cat > conftest.$ac_ext <<EOF
7198 #line 7199 "configure
"
7199 #include "confdefs.h
"
7202 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7203 { (eval echo configure:7204: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7204 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7205 if test -z "$ac_err"; then
7207 eval "ac_cv_header_
$ac_safe=yes"
7210 echo "configure
: failed program was
:" >&5
7211 cat conftest.$ac_ext >&5
7213 eval "ac_cv_header_
$ac_safe=no
"
7217 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7218 echo "$ac_t""yes" 1>&6
7219 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7220 cat >> confdefs.h <<EOF
7221 #define $ac_tr_hdr 1
7225 echo "$ac_t""no
" 1>&6
7229 SECTION_FLAGS='-ffunction-sections -fdata-sections'
7232 # If we're not using GNU ld, then there's no point in even trying these
7233 # tests. Check for that first. We should have already tested for gld
7234 # by now (in libtool), but require it now just to be safe...
7235 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7236 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7239 # The name set by libtool depends on the version of libtool. Shame on us
7240 # for depending on an impl detail, but c'est la vie. Older versions used
7241 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7242 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7243 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7244 # set (hence we're using an older libtool), then set it.
7245 if test x${with_gnu_ld+set} != xset; then
7246 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7247 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
7250 with_gnu_ld=$ac_cv_prog_gnu_ld
7254 # Start by getting the version number. I think the libtool test already
7255 # does some of this, but throws away the result.
7257 ldver=`$LD --version 2>/dev/null | head -1 | \
7258 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7260 glibcpp_gnu_ld_version=`echo $ldver | \
7261 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7263 # Set --gc-sections.
7264 if test "$with_gnu_ld" = "notbroken
"; then
7265 # GNU ld it is! Joy and bunny rabbits!
7267 # All these tests are for C++; save the language and the compiler flags.
7268 # Need to do this so that g++ won't try to link in libstdc++
7269 ac_test_CFLAGS="${CFLAGS+set}"
7270 ac_save_CFLAGS="$CFLAGS"
7271 CFLAGS='-x c++ -Wl,--gc-sections'
7273 # Check for -Wl,--gc-sections
7274 # XXX This test is broken at the moment, as symbols required for
7275 # linking are now in libsupc++ (not built yet.....). In addition,
7276 # this test has cored on solaris in the past. In addition,
7277 # --gc-sections doesn't really work at the moment (keeps on discarding
7278 # used sections, first .eh_frame and now some of the glibc sections for
7279 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7280 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
7281 echo "configure
:7282: checking
for ld that supports
-Wl,--gc-sections" >&5
7282 if test "$cross_compiling" = yes; then
7283 ac_sectionLDflags=yes
7285 cat > conftest.$ac_ext <<EOF
7286 #line 7287 "configure
"
7287 #include "confdefs.h
"
7297 if { (eval echo configure:7298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7299 ac_sectionLDflags=yes
7301 echo "configure
: failed program was
:" >&5
7302 cat conftest.$ac_ext >&5
7304 ac_sectionLDflags=no
7309 if test "$ac_test_CFLAGS" = set; then
7310 CFLAGS="$ac_save_CFLAGS"
7312 # this is the suspicious part
7315 if test "$ac_sectionLDflags" = "yes"; then
7316 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7318 echo "$ac_t""$ac_sectionLDflags" 1>&6
7321 # Set linker optimization flags.
7322 if test x"$with_gnu_ld" = x"yes"; then
7323 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7330 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
7331 echo "configure
:7332: checking
for main
in -lm" >&5
7332 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
7333 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7334 echo $ac_n "(cached
) $ac_c" 1>&6
7336 ac_save_LIBS="$LIBS"
7338 cat > conftest.$ac_ext <<EOF
7339 #line 7340 "configure
"
7340 #include "confdefs.h
"
7346 if { (eval echo configure:7347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7348 eval "ac_cv_lib_
$ac_lib_var=yes"
7350 echo "configure
: failed program was
:" >&5
7351 cat conftest.$ac_ext >&5
7353 eval "ac_cv_lib_
$ac_lib_var=no
"
7356 LIBS="$ac_save_LIBS"
7359 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7360 echo "$ac_t""yes" 1>&6
7361 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7362 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7363 cat >> confdefs.h <<EOF
7364 #define $ac_tr_lib 1
7370 echo "$ac_t""no
" 1>&6
7373 for ac_func in nan copysignf
7375 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7376 echo "configure
:7377: checking
for $ac_func" >&5
7377 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7378 echo $ac_n "(cached
) $ac_c" 1>&6
7380 cat > conftest.$ac_ext <<EOF
7381 #line 7382 "configure
"
7382 #include "confdefs.h
"
7383 /* System header to define __stub macros and hopefully few prototypes,
7384 which can conflict with char $ac_func(); below. */
7386 /* Override any gcc2 internal prototype to avoid an error. */
7387 /* We use char because int might match the return type of a gcc2
7388 builtin and then its argument prototype would still apply. */
7393 /* The GNU C library defines this for functions which it implements
7394 to always fail with ENOSYS. Some functions are actually named
7395 something starting with __ and the normal name is an alias. */
7396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7404 if { (eval echo configure:7405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7406 eval "ac_cv_func_
$ac_func=yes"
7408 echo "configure
: failed program was
:" >&5
7409 cat conftest.$ac_ext >&5
7411 eval "ac_cv_func_
$ac_func=no
"
7416 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7417 echo "$ac_t""yes" 1>&6
7418 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7419 cat >> confdefs.h <<EOF
7420 #define $ac_tr_func 1
7424 echo "$ac_t""no
" 1>&6
7425 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
7430 for ac_func in __signbit
7432 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7433 echo "configure
:7434: checking
for $ac_func" >&5
7434 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7435 echo $ac_n "(cached
) $ac_c" 1>&6
7437 cat > conftest.$ac_ext <<EOF
7438 #line 7439 "configure
"
7439 #include "confdefs.h
"
7440 /* System header to define __stub macros and hopefully few prototypes,
7441 which can conflict with char $ac_func(); below. */
7443 /* Override any gcc2 internal prototype to avoid an error. */
7444 /* We use char because int might match the return type of a gcc2
7445 builtin and then its argument prototype would still apply. */
7450 /* The GNU C library defines this for functions which it implements
7451 to always fail with ENOSYS. Some functions are actually named
7452 something starting with __ and the normal name is an alias. */
7453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7461 if { (eval echo configure:7462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7463 eval "ac_cv_func_
$ac_func=yes"
7465 echo "configure
: failed program was
:" >&5
7466 cat conftest.$ac_ext >&5
7468 eval "ac_cv_func_
$ac_func=no
"
7473 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7474 echo "$ac_t""yes" 1>&6
7475 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7476 cat >> confdefs.h <<EOF
7477 #define $ac_tr_func 1
7481 echo "$ac_t""no
" 1>&6
7482 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
7486 for ac_func in __signbitf
7488 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7489 echo "configure
:7490: checking
for $ac_func" >&5
7490 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7491 echo $ac_n "(cached
) $ac_c" 1>&6
7493 cat > conftest.$ac_ext <<EOF
7494 #line 7495 "configure
"
7495 #include "confdefs.h
"
7496 /* System header to define __stub macros and hopefully few prototypes,
7497 which can conflict with char $ac_func(); below. */
7499 /* Override any gcc2 internal prototype to avoid an error. */
7500 /* We use char because int might match the return type of a gcc2
7501 builtin and then its argument prototype would still apply. */
7506 /* The GNU C library defines this for functions which it implements
7507 to always fail with ENOSYS. Some functions are actually named
7508 something starting with __ and the normal name is an alias. */
7509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7517 if { (eval echo configure:7518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7519 eval "ac_cv_func_
$ac_func=yes"
7521 echo "configure
: failed program was
:" >&5
7522 cat conftest.$ac_ext >&5
7524 eval "ac_cv_func_
$ac_func=no
"
7529 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7530 echo "$ac_t""yes" 1>&6
7531 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7532 cat >> confdefs.h <<EOF
7533 #define $ac_tr_func 1
7537 echo "$ac_t""no
" 1>&6
7538 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
7543 if test x$ac_cv_func_copysignl = x"yes"; then
7544 for ac_func in __signbitl
7546 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7547 echo "configure
:7548: checking
for $ac_func" >&5
7548 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7549 echo $ac_n "(cached
) $ac_c" 1>&6
7551 cat > conftest.$ac_ext <<EOF
7552 #line 7553 "configure
"
7553 #include "confdefs.h
"
7554 /* System header to define __stub macros and hopefully few prototypes,
7555 which can conflict with char $ac_func(); below. */
7557 /* Override any gcc2 internal prototype to avoid an error. */
7558 /* We use char because int might match the return type of a gcc2
7559 builtin and then its argument prototype would still apply. */
7564 /* The GNU C library defines this for functions which it implements
7565 to always fail with ENOSYS. Some functions are actually named
7566 something starting with __ and the normal name is an alias. */
7567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7575 if { (eval echo configure:7576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7577 eval "ac_cv_func_
$ac_func=yes"
7579 echo "configure
: failed program was
:" >&5
7580 cat conftest.$ac_ext >&5
7582 eval "ac_cv_func_
$ac_func=no
"
7587 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7588 echo "$ac_t""yes" 1>&6
7589 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7590 cat >> confdefs.h <<EOF
7591 #define $ac_tr_func 1
7595 echo "$ac_t""no
" 1>&6
7596 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
7602 if test -n "$LIBMATHOBJS"; then
7608 if test "$need_libmath" = yes; then
7609 GLIBCPP_BUILD_LIBMATH_TRUE=
7610 GLIBCPP_BUILD_LIBMATH_FALSE='#'
7612 GLIBCPP_BUILD_LIBMATH_TRUE='#'
7613 GLIBCPP_BUILD_LIBMATH_FALSE=
7619 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
7620 echo "configure
:7621: checking
for mbstate_t
" >&5
7621 cat > conftest.$ac_ext <<EOF
7622 #line 7623 "configure
"
7623 #include "confdefs.h
"
7626 mbstate_t teststate;
7629 if { (eval echo configure:7630: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7633 echo "configure
: failed program was
:" >&5
7634 cat conftest.$ac_ext >&5
7639 echo "$ac_t""$have_mbstate_t" 1>&6
7640 if test x"$have_mbstate_t" = xyes; then
7641 cat >> confdefs.h <<\EOF
7642 #define HAVE_MBSTATE_T 1
7647 for ac_hdr in wchar.h
7649 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7650 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
7651 echo "configure
:7652: checking
for $ac_hdr" >&5
7652 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7653 echo $ac_n "(cached
) $ac_c" 1>&6
7655 cat > conftest.$ac_ext <<EOF
7656 #line 7657 "configure
"
7657 #include "confdefs.h
"
7660 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7661 { (eval echo configure:7662: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7662 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7663 if test -z "$ac_err"; then
7665 eval "ac_cv_header_
$ac_safe=yes"
7668 echo "configure
: failed program was
:" >&5
7669 cat conftest.$ac_ext >&5
7671 eval "ac_cv_header_
$ac_safe=no
"
7675 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7676 echo "$ac_t""yes" 1>&6
7677 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7678 cat >> confdefs.h <<EOF
7679 #define $ac_tr_hdr 1
7683 echo "$ac_t""no
" 1>&6
7688 for ac_hdr in wctype.h
7690 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7691 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
7692 echo "configure
:7693: checking
for $ac_hdr" >&5
7693 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7694 echo $ac_n "(cached
) $ac_c" 1>&6
7696 cat > conftest.$ac_ext <<EOF
7697 #line 7698 "configure
"
7698 #include "confdefs.h
"
7701 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7702 { (eval echo configure:7703: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7703 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7704 if test -z "$ac_err"; then
7706 eval "ac_cv_header_
$ac_safe=yes"
7709 echo "configure
: failed program was
:" >&5
7710 cat conftest.$ac_ext >&5
7712 eval "ac_cv_header_
$ac_safe=no
"
7716 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7717 echo "$ac_t""yes" 1>&6
7718 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7719 cat >> confdefs.h <<EOF
7720 #define $ac_tr_hdr 1
7724 echo "$ac_t""no
" 1>&6
7730 if test x"$ac_has_wchar_h" = xyes &&
7731 test x"$ac_has_wctype_h" = xyes &&
7732 test x"$enable_c_mbchar" != xno; then
7734 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
7735 echo "configure
:7736: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
7736 cat > conftest.$ac_ext <<EOF
7737 #line 7738 "configure
"
7738 #include "confdefs.h
"
7741 int i = WCHAR_MIN; int j = WCHAR_MAX;
7744 if { (eval echo configure:7745: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7746 has_wchar_minmax=yes
7748 echo "configure
: failed program was
:" >&5
7749 cat conftest.$ac_ext >&5
7754 echo "$ac_t""$has_wchar_minmax" 1>&6
7756 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
7757 echo "configure
:7758: checking
for WEOF
" >&5
7758 cat > conftest.$ac_ext <<EOF
7759 #line 7760 "configure
"
7760 #include "confdefs.h
"
7768 if { (eval echo configure:7769: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7772 echo "configure
: failed program was
:" >&5
7773 cat conftest.$ac_ext >&5
7778 echo "$ac_t""$has_weof" 1>&6
7781 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
7783 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7784 echo "configure
:7785: checking
for $ac_func" >&5
7785 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7786 echo $ac_n "(cached
) $ac_c" 1>&6
7788 cat > conftest.$ac_ext <<EOF
7789 #line 7790 "configure
"
7790 #include "confdefs.h
"
7791 /* System header to define __stub macros and hopefully few prototypes,
7792 which can conflict with char $ac_func(); below. */
7794 /* Override any gcc2 internal prototype to avoid an error. */
7795 /* We use char because int might match the return type of a gcc2
7796 builtin and then its argument prototype would still apply. */
7801 /* The GNU C library defines this for functions which it implements
7802 to always fail with ENOSYS. Some functions are actually named
7803 something starting with __ and the normal name is an alias. */
7804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7812 if { (eval echo configure:7813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7814 eval "ac_cv_func_
$ac_func=yes"
7816 echo "configure
: failed program was
:" >&5
7817 cat conftest.$ac_ext >&5
7819 eval "ac_cv_func_
$ac_func=no
"
7824 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7825 echo "$ac_t""yes" 1>&6
7826 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7827 cat >> confdefs.h <<EOF
7828 #define $ac_tr_func 1
7832 echo "$ac_t""no
" 1>&6
7839 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
7840 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
7841 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
7842 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
7843 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
7844 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
7846 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7847 echo "configure
:7848: checking
for $ac_func" >&5
7848 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7849 echo $ac_n "(cached
) $ac_c" 1>&6
7851 cat > conftest.$ac_ext <<EOF
7852 #line 7853 "configure
"
7853 #include "confdefs.h
"
7854 /* System header to define __stub macros and hopefully few prototypes,
7855 which can conflict with char $ac_func(); below. */
7857 /* Override any gcc2 internal prototype to avoid an error. */
7858 /* We use char because int might match the return type of a gcc2
7859 builtin and then its argument prototype would still apply. */
7864 /* The GNU C library defines this for functions which it implements
7865 to always fail with ENOSYS. Some functions are actually named
7866 something starting with __ and the normal name is an alias. */
7867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7875 if { (eval echo configure:7876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7877 eval "ac_cv_func_
$ac_func=yes"
7879 echo "configure
: failed program was
:" >&5
7880 cat conftest.$ac_ext >&5
7882 eval "ac_cv_func_
$ac_func=no
"
7887 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7888 echo "$ac_t""yes" 1>&6
7889 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7890 cat >> confdefs.h <<EOF
7891 #define $ac_tr_func 1
7895 echo "$ac_t""no
" 1>&6
7902 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
7903 echo "configure
:7904: checking
for ISO C99 wchar_t support
" >&5
7904 if test x"$has_weof" = xyes &&
7905 test x"$has_wchar_minmax" = xyes &&
7906 test x"$ac_wfuncs" = xyes; then
7907 ac_isoC99_wchar_t=yes
7909 ac_isoC99_wchar_t=no
7911 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7913 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
7914 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
7915 echo "configure
:7916: checking
for iconv.h
" >&5
7916 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7917 echo $ac_n "(cached
) $ac_c" 1>&6
7919 cat > conftest.$ac_ext <<EOF
7920 #line 7921 "configure
"
7921 #include "confdefs.h
"
7924 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7925 { (eval echo configure:7926: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7926 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7927 if test -z "$ac_err"; then
7929 eval "ac_cv_header_
$ac_safe=yes"
7932 echo "configure
: failed program was
:" >&5
7933 cat conftest.$ac_ext >&5
7935 eval "ac_cv_header_
$ac_safe=no
"
7939 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7940 echo "$ac_t""yes" 1>&6
7943 echo "$ac_t""no
" 1>&6
7947 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
7948 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
7949 echo "configure
:7950: checking
for langinfo.h
" >&5
7950 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7951 echo $ac_n "(cached
) $ac_c" 1>&6
7953 cat > conftest.$ac_ext <<EOF
7954 #line 7955 "configure
"
7955 #include "confdefs.h
"
7956 #include <langinfo.h>
7958 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7959 { (eval echo configure:7960: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7960 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7961 if test -z "$ac_err"; then
7963 eval "ac_cv_header_
$ac_safe=yes"
7966 echo "configure
: failed program was
:" >&5
7967 cat conftest.$ac_ext >&5
7969 eval "ac_cv_header_
$ac_safe=no
"
7973 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7974 echo "$ac_t""yes" 1>&6
7975 ac_has_langinfo_h=yes
7977 echo "$ac_t""no
" 1>&6
7978 ac_has_langinfo_h=no
7982 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
7983 echo "configure
:7984: checking
for iconv in -liconv" >&5
7984 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
7985 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7986 echo $ac_n "(cached
) $ac_c" 1>&6
7988 ac_save_LIBS="$LIBS"
7989 LIBS="-liconv $LIBS"
7990 cat > conftest.$ac_ext <<EOF
7991 #line 7992 "configure
"
7992 #include "confdefs.h
"
7993 /* Override any gcc2 internal prototype to avoid an error. */
7994 /* We use char because int might match the return type of a gcc2
7995 builtin and then its argument prototype would still apply. */
8002 if { (eval echo configure:8003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8004 eval "ac_cv_lib_
$ac_lib_var=yes"
8006 echo "configure
: failed program was
:" >&5
8007 cat conftest.$ac_ext >&5
8009 eval "ac_cv_lib_
$ac_lib_var=no
"
8012 LIBS="$ac_save_LIBS"
8015 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8016 echo "$ac_t""yes" 1>&6
8019 echo "$ac_t""no
" 1>&6
8022 ac_save_LIBS="$LIBS"
8023 LIBS="$LIBS $libiconv"
8025 for ac_func in iconv_open iconv_close iconv nl_langinfo
8027 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8028 echo "configure
:8029: checking
for $ac_func" >&5
8029 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8030 echo $ac_n "(cached
) $ac_c" 1>&6
8032 cat > conftest.$ac_ext <<EOF
8033 #line 8034 "configure
"
8034 #include "confdefs.h
"
8035 /* System header to define __stub macros and hopefully few prototypes,
8036 which can conflict with char $ac_func(); below. */
8038 /* Override any gcc2 internal prototype to avoid an error. */
8039 /* We use char because int might match the return type of a gcc2
8040 builtin and then its argument prototype would still apply. */
8045 /* The GNU C library defines this for functions which it implements
8046 to always fail with ENOSYS. Some functions are actually named
8047 something starting with __ and the normal name is an alias. */
8048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8056 if { (eval echo configure:8057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8058 eval "ac_cv_func_
$ac_func=yes"
8060 echo "configure
: failed program was
:" >&5
8061 cat conftest.$ac_ext >&5
8063 eval "ac_cv_func_
$ac_func=no
"
8068 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8069 echo "$ac_t""yes" 1>&6
8070 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8071 cat >> confdefs.h <<EOF
8072 #define $ac_tr_func 1
8077 echo "$ac_t""no
" 1>&6
8083 LIBS="$ac_save_LIBS"
8085 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
8086 echo "configure
:8087: checking
for XPG2 wchar_t support
" >&5
8087 if test x"$ac_has_iconv_h" = xyes &&
8088 test x"$ac_has_langinfo_h" = xyes &&
8089 test x"$ac_XPG2funcs" = xyes; then
8094 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
8096 if test x"$ac_isoC99_wchar_t" = xyes &&
8097 test x"$ac_XPG2_wchar_t" = xyes; then
8098 cat >> confdefs.h <<\EOF
8099 #define _GLIBCPP_USE_WCHAR_T 1
8105 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
8106 echo "configure
:8107: checking
for enabled wchar_t specializations
" >&5
8107 echo "$ac_t""$enable_wchar_t" 1>&6
8110 if test "$enable_wchar_t" = yes; then
8111 GLIBCPP_TEST_WCHAR_T_TRUE=
8112 GLIBCPP_TEST_WCHAR_T_FALSE='#'
8114 GLIBCPP_TEST_WCHAR_T_TRUE='#'
8115 GLIBCPP_TEST_WCHAR_T_FALSE=
8118 os_include_dir="os
/bsd
/freebsd
"
8119 cat >> confdefs.h <<\EOF
8120 #define HAVE_LC_MESSAGES 1
8123 cat >> confdefs.h <<\EOF
8124 #define HAVE_DRAND48 1
8127 cat >> confdefs.h <<\EOF
8128 #define HAVE_GETPAGESIZE 1
8131 cat >> confdefs.h <<\EOF
8132 #define HAVE_SETENV 1
8135 cat >> confdefs.h <<\EOF
8136 #define HAVE_SIGSETJMP 1
8139 cat >> confdefs.h <<\EOF
8140 #define HAVE_COPYSIGN 1
8143 cat >> confdefs.h <<\EOF
8144 #define HAVE_COPYSIGNF 1
8147 cat >> confdefs.h <<\EOF
8148 #define HAVE_FINITEF 1
8151 cat >> confdefs.h <<\EOF
8152 #define HAVE_FINITE 1
8155 cat >> confdefs.h <<\EOF
8156 #define HAVE_FREXPF 1
8159 cat >> confdefs.h <<\EOF
8160 #define HAVE_HYPOT 1
8163 cat >> confdefs.h <<\EOF
8164 #define HAVE_HYPOTF 1
8167 cat >> confdefs.h <<\EOF
8168 #define HAVE_ISINF 1
8171 cat >> confdefs.h <<\EOF
8172 #define HAVE_ISNAN 1
8175 cat >> confdefs.h <<\EOF
8176 #define HAVE_ISNANF 1
8179 if test x"long_double_math_on_this_cpu
" = x"yes"; then
8180 cat >> confdefs.h <<\EOF
8181 #define HAVE_FINITEL 1
8184 cat >> confdefs.h <<\EOF
8185 #define HAVE_ISINFL 1
8188 cat >> confdefs.h <<\EOF
8189 #define HAVE_ISNANL 1
8195 for ac_hdr in sys/types.h locale.h float.h
8197 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8198 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
8199 echo "configure
:8200: checking
for $ac_hdr" >&5
8200 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8201 echo $ac_n "(cached
) $ac_c" 1>&6
8203 cat > conftest.$ac_ext <<EOF
8204 #line 8205 "configure
"
8205 #include "confdefs.h
"
8208 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8209 { (eval echo configure:8210: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8210 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8211 if test -z "$ac_err"; then
8213 eval "ac_cv_header_
$ac_safe=yes"
8216 echo "configure
: failed program was
:" >&5
8217 cat conftest.$ac_ext >&5
8219 eval "ac_cv_header_
$ac_safe=no
"
8223 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8224 echo "$ac_t""yes" 1>&6
8225 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8226 cat >> confdefs.h <<EOF
8227 #define $ac_tr_hdr 1
8231 echo "$ac_t""no
" 1>&6
8236 # If we're not using GNU ld, then there's no point in even trying these
8237 # tests. Check for that first. We should have already tested for gld
8238 # by now (in libtool), but require it now just to be safe...
8239 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8240 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8243 # The name set by libtool depends on the version of libtool. Shame on us
8244 # for depending on an impl detail, but c'est la vie. Older versions used
8245 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8246 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8247 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8248 # set (hence we're using an older libtool), then set it.
8249 if test x${with_gnu_ld+set} != xset; then
8250 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8251 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
8254 with_gnu_ld=$ac_cv_prog_gnu_ld
8258 # Start by getting the version number. I think the libtool test already
8259 # does some of this, but throws away the result.
8261 ldver=`$LD --version 2>/dev/null | head -1 | \
8262 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8264 glibcpp_gnu_ld_version=`echo $ldver | \
8265 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8267 # Set --gc-sections.
8268 if test "$with_gnu_ld" = "notbroken
"; then
8269 # GNU ld it is! Joy and bunny rabbits!
8271 # All these tests are for C++; save the language and the compiler flags.
8272 # Need to do this so that g++ won't try to link in libstdc++
8273 ac_test_CFLAGS="${CFLAGS+set}"
8274 ac_save_CFLAGS="$CFLAGS"
8275 CFLAGS='-x c++ -Wl,--gc-sections'
8277 # Check for -Wl,--gc-sections
8278 # XXX This test is broken at the moment, as symbols required for
8279 # linking are now in libsupc++ (not built yet.....). In addition,
8280 # this test has cored on solaris in the past. In addition,
8281 # --gc-sections doesn't really work at the moment (keeps on discarding
8282 # used sections, first .eh_frame and now some of the glibc sections for
8283 # iconv). Bzzzzt. Thanks for playing, maybe next time.
8284 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
8285 echo "configure
:8286: checking
for ld that supports
-Wl,--gc-sections" >&5
8286 if test "$cross_compiling" = yes; then
8287 ac_sectionLDflags=yes
8289 cat > conftest.$ac_ext <<EOF
8290 #line 8291 "configure
"
8291 #include "confdefs.h
"
8301 if { (eval echo configure:8302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8303 ac_sectionLDflags=yes
8305 echo "configure
: failed program was
:" >&5
8306 cat conftest.$ac_ext >&5
8308 ac_sectionLDflags=no
8313 if test "$ac_test_CFLAGS" = set; then
8314 CFLAGS="$ac_save_CFLAGS"
8316 # this is the suspicious part
8319 if test "$ac_sectionLDflags" = "yes"; then
8320 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8322 echo "$ac_t""$ac_sectionLDflags" 1>&6
8325 # Set linker optimization flags.
8326 if test x"$with_gnu_ld" = x"yes"; then
8327 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8334 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
8335 echo "configure
:8336: checking
for main
in -lm" >&5
8336 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
8337 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8338 echo $ac_n "(cached
) $ac_c" 1>&6
8340 ac_save_LIBS="$LIBS"
8342 cat > conftest.$ac_ext <<EOF
8343 #line 8344 "configure
"
8344 #include "confdefs.h
"
8350 if { (eval echo configure:8351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8352 eval "ac_cv_lib_
$ac_lib_var=yes"
8354 echo "configure
: failed program was
:" >&5
8355 cat conftest.$ac_ext >&5
8357 eval "ac_cv_lib_
$ac_lib_var=no
"
8360 LIBS="$ac_save_LIBS"
8363 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8364 echo "$ac_t""yes" 1>&6
8365 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
8366 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
8367 cat >> confdefs.h <<EOF
8368 #define $ac_tr_lib 1
8374 echo "$ac_t""no
" 1>&6
8377 for ac_func in nan copysignf
8379 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8380 echo "configure
:8381: checking
for $ac_func" >&5
8381 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8382 echo $ac_n "(cached
) $ac_c" 1>&6
8384 cat > conftest.$ac_ext <<EOF
8385 #line 8386 "configure
"
8386 #include "confdefs.h
"
8387 /* System header to define __stub macros and hopefully few prototypes,
8388 which can conflict with char $ac_func(); below. */
8390 /* Override any gcc2 internal prototype to avoid an error. */
8391 /* We use char because int might match the return type of a gcc2
8392 builtin and then its argument prototype would still apply. */
8397 /* The GNU C library defines this for functions which it implements
8398 to always fail with ENOSYS. Some functions are actually named
8399 something starting with __ and the normal name is an alias. */
8400 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8408 if { (eval echo configure:8409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8410 eval "ac_cv_func_
$ac_func=yes"
8412 echo "configure
: failed program was
:" >&5
8413 cat conftest.$ac_ext >&5
8415 eval "ac_cv_func_
$ac_func=no
"
8420 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8421 echo "$ac_t""yes" 1>&6
8422 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8423 cat >> confdefs.h <<EOF
8424 #define $ac_tr_func 1
8428 echo "$ac_t""no
" 1>&6
8429 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
8434 for ac_func in __signbit
8436 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8437 echo "configure
:8438: checking
for $ac_func" >&5
8438 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8439 echo $ac_n "(cached
) $ac_c" 1>&6
8441 cat > conftest.$ac_ext <<EOF
8442 #line 8443 "configure
"
8443 #include "confdefs.h
"
8444 /* System header to define __stub macros and hopefully few prototypes,
8445 which can conflict with char $ac_func(); below. */
8447 /* Override any gcc2 internal prototype to avoid an error. */
8448 /* We use char because int might match the return type of a gcc2
8449 builtin and then its argument prototype would still apply. */
8454 /* The GNU C library defines this for functions which it implements
8455 to always fail with ENOSYS. Some functions are actually named
8456 something starting with __ and the normal name is an alias. */
8457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8465 if { (eval echo configure:8466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8467 eval "ac_cv_func_
$ac_func=yes"
8469 echo "configure
: failed program was
:" >&5
8470 cat conftest.$ac_ext >&5
8472 eval "ac_cv_func_
$ac_func=no
"
8477 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8478 echo "$ac_t""yes" 1>&6
8479 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8480 cat >> confdefs.h <<EOF
8481 #define $ac_tr_func 1
8485 echo "$ac_t""no
" 1>&6
8486 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
8490 for ac_func in __signbitf
8492 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8493 echo "configure
:8494: checking
for $ac_func" >&5
8494 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8495 echo $ac_n "(cached
) $ac_c" 1>&6
8497 cat > conftest.$ac_ext <<EOF
8498 #line 8499 "configure
"
8499 #include "confdefs.h
"
8500 /* System header to define __stub macros and hopefully few prototypes,
8501 which can conflict with char $ac_func(); below. */
8503 /* Override any gcc2 internal prototype to avoid an error. */
8504 /* We use char because int might match the return type of a gcc2
8505 builtin and then its argument prototype would still apply. */
8510 /* The GNU C library defines this for functions which it implements
8511 to always fail with ENOSYS. Some functions are actually named
8512 something starting with __ and the normal name is an alias. */
8513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8521 if { (eval echo configure:8522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8523 eval "ac_cv_func_
$ac_func=yes"
8525 echo "configure
: failed program was
:" >&5
8526 cat conftest.$ac_ext >&5
8528 eval "ac_cv_func_
$ac_func=no
"
8533 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8534 echo "$ac_t""yes" 1>&6
8535 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8536 cat >> confdefs.h <<EOF
8537 #define $ac_tr_func 1
8541 echo "$ac_t""no
" 1>&6
8542 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
8547 if test x$ac_cv_func_copysignl = x"yes"; then
8548 for ac_func in __signbitl
8550 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8551 echo "configure
:8552: checking
for $ac_func" >&5
8552 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8553 echo $ac_n "(cached
) $ac_c" 1>&6
8555 cat > conftest.$ac_ext <<EOF
8556 #line 8557 "configure
"
8557 #include "confdefs.h
"
8558 /* System header to define __stub macros and hopefully few prototypes,
8559 which can conflict with char $ac_func(); below. */
8561 /* Override any gcc2 internal prototype to avoid an error. */
8562 /* We use char because int might match the return type of a gcc2
8563 builtin and then its argument prototype would still apply. */
8568 /* The GNU C library defines this for functions which it implements
8569 to always fail with ENOSYS. Some functions are actually named
8570 something starting with __ and the normal name is an alias. */
8571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8579 if { (eval echo configure:8580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8581 eval "ac_cv_func_
$ac_func=yes"
8583 echo "configure
: failed program was
:" >&5
8584 cat conftest.$ac_ext >&5
8586 eval "ac_cv_func_
$ac_func=no
"
8591 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8592 echo "$ac_t""yes" 1>&6
8593 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8594 cat >> confdefs.h <<EOF
8595 #define $ac_tr_func 1
8599 echo "$ac_t""no
" 1>&6
8600 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
8606 if test -n "$LIBMATHOBJS"; then
8612 if test "$need_libmath" = yes; then
8613 GLIBCPP_BUILD_LIBMATH_TRUE=
8614 GLIBCPP_BUILD_LIBMATH_FALSE='#'
8616 GLIBCPP_BUILD_LIBMATH_TRUE='#'
8617 GLIBCPP_BUILD_LIBMATH_FALSE=
8623 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
8624 echo "configure
:8625: checking
for mbstate_t
" >&5
8625 cat > conftest.$ac_ext <<EOF
8626 #line 8627 "configure
"
8627 #include "confdefs.h
"
8630 mbstate_t teststate;
8633 if { (eval echo configure:8634: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8637 echo "configure
: failed program was
:" >&5
8638 cat conftest.$ac_ext >&5
8643 echo "$ac_t""$have_mbstate_t" 1>&6
8644 if test x"$have_mbstate_t" = xyes; then
8645 cat >> confdefs.h <<\EOF
8646 #define HAVE_MBSTATE_T 1
8651 for ac_hdr in wchar.h
8653 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8654 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
8655 echo "configure
:8656: checking
for $ac_hdr" >&5
8656 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8657 echo $ac_n "(cached
) $ac_c" 1>&6
8659 cat > conftest.$ac_ext <<EOF
8660 #line 8661 "configure
"
8661 #include "confdefs.h
"
8664 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8665 { (eval echo configure:8666: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8666 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8667 if test -z "$ac_err"; then
8669 eval "ac_cv_header_
$ac_safe=yes"
8672 echo "configure
: failed program was
:" >&5
8673 cat conftest.$ac_ext >&5
8675 eval "ac_cv_header_
$ac_safe=no
"
8679 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8680 echo "$ac_t""yes" 1>&6
8681 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8682 cat >> confdefs.h <<EOF
8683 #define $ac_tr_hdr 1
8687 echo "$ac_t""no
" 1>&6
8692 for ac_hdr in wctype.h
8694 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8695 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
8696 echo "configure
:8697: checking
for $ac_hdr" >&5
8697 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8698 echo $ac_n "(cached
) $ac_c" 1>&6
8700 cat > conftest.$ac_ext <<EOF
8701 #line 8702 "configure
"
8702 #include "confdefs.h
"
8705 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8706 { (eval echo configure:8707: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8707 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8708 if test -z "$ac_err"; then
8710 eval "ac_cv_header_
$ac_safe=yes"
8713 echo "configure
: failed program was
:" >&5
8714 cat conftest.$ac_ext >&5
8716 eval "ac_cv_header_
$ac_safe=no
"
8720 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8721 echo "$ac_t""yes" 1>&6
8722 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8723 cat >> confdefs.h <<EOF
8724 #define $ac_tr_hdr 1
8728 echo "$ac_t""no
" 1>&6
8734 if test x"$ac_has_wchar_h" = xyes &&
8735 test x"$ac_has_wctype_h" = xyes &&
8736 test x"$enable_c_mbchar" != xno; then
8738 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
8739 echo "configure
:8740: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
8740 cat > conftest.$ac_ext <<EOF
8741 #line 8742 "configure
"
8742 #include "confdefs.h
"
8745 int i = WCHAR_MIN; int j = WCHAR_MAX;
8748 if { (eval echo configure:8749: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8750 has_wchar_minmax=yes
8752 echo "configure
: failed program was
:" >&5
8753 cat conftest.$ac_ext >&5
8758 echo "$ac_t""$has_wchar_minmax" 1>&6
8760 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
8761 echo "configure
:8762: checking
for WEOF
" >&5
8762 cat > conftest.$ac_ext <<EOF
8763 #line 8764 "configure
"
8764 #include "confdefs.h
"
8772 if { (eval echo configure:8773: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8776 echo "configure
: failed program was
:" >&5
8777 cat conftest.$ac_ext >&5
8782 echo "$ac_t""$has_weof" 1>&6
8785 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
8787 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8788 echo "configure
:8789: checking
for $ac_func" >&5
8789 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8790 echo $ac_n "(cached
) $ac_c" 1>&6
8792 cat > conftest.$ac_ext <<EOF
8793 #line 8794 "configure
"
8794 #include "confdefs.h
"
8795 /* System header to define __stub macros and hopefully few prototypes,
8796 which can conflict with char $ac_func(); below. */
8798 /* Override any gcc2 internal prototype to avoid an error. */
8799 /* We use char because int might match the return type of a gcc2
8800 builtin and then its argument prototype would still apply. */
8805 /* The GNU C library defines this for functions which it implements
8806 to always fail with ENOSYS. Some functions are actually named
8807 something starting with __ and the normal name is an alias. */
8808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8816 if { (eval echo configure:8817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8818 eval "ac_cv_func_
$ac_func=yes"
8820 echo "configure
: failed program was
:" >&5
8821 cat conftest.$ac_ext >&5
8823 eval "ac_cv_func_
$ac_func=no
"
8828 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8829 echo "$ac_t""yes" 1>&6
8830 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8831 cat >> confdefs.h <<EOF
8832 #define $ac_tr_func 1
8836 echo "$ac_t""no
" 1>&6
8843 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
8844 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
8845 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
8846 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
8847 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
8848 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
8850 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8851 echo "configure
:8852: checking
for $ac_func" >&5
8852 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8853 echo $ac_n "(cached
) $ac_c" 1>&6
8855 cat > conftest.$ac_ext <<EOF
8856 #line 8857 "configure
"
8857 #include "confdefs.h
"
8858 /* System header to define __stub macros and hopefully few prototypes,
8859 which can conflict with char $ac_func(); below. */
8861 /* Override any gcc2 internal prototype to avoid an error. */
8862 /* We use char because int might match the return type of a gcc2
8863 builtin and then its argument prototype would still apply. */
8868 /* The GNU C library defines this for functions which it implements
8869 to always fail with ENOSYS. Some functions are actually named
8870 something starting with __ and the normal name is an alias. */
8871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8879 if { (eval echo configure:8880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8881 eval "ac_cv_func_
$ac_func=yes"
8883 echo "configure
: failed program was
:" >&5
8884 cat conftest.$ac_ext >&5
8886 eval "ac_cv_func_
$ac_func=no
"
8891 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8892 echo "$ac_t""yes" 1>&6
8893 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8894 cat >> confdefs.h <<EOF
8895 #define $ac_tr_func 1
8899 echo "$ac_t""no
" 1>&6
8906 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
8907 echo "configure
:8908: checking
for ISO C99 wchar_t support
" >&5
8908 if test x"$has_weof" = xyes &&
8909 test x"$has_wchar_minmax" = xyes &&
8910 test x"$ac_wfuncs" = xyes; then
8911 ac_isoC99_wchar_t=yes
8913 ac_isoC99_wchar_t=no
8915 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
8917 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
8918 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
8919 echo "configure
:8920: checking
for iconv.h
" >&5
8920 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8921 echo $ac_n "(cached
) $ac_c" 1>&6
8923 cat > conftest.$ac_ext <<EOF
8924 #line 8925 "configure
"
8925 #include "confdefs.h
"
8928 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8929 { (eval echo configure:8930: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8930 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8931 if test -z "$ac_err"; then
8933 eval "ac_cv_header_
$ac_safe=yes"
8936 echo "configure
: failed program was
:" >&5
8937 cat conftest.$ac_ext >&5
8939 eval "ac_cv_header_
$ac_safe=no
"
8943 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8944 echo "$ac_t""yes" 1>&6
8947 echo "$ac_t""no
" 1>&6
8951 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
8952 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
8953 echo "configure
:8954: checking
for langinfo.h
" >&5
8954 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8955 echo $ac_n "(cached
) $ac_c" 1>&6
8957 cat > conftest.$ac_ext <<EOF
8958 #line 8959 "configure
"
8959 #include "confdefs.h
"
8960 #include <langinfo.h>
8962 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8963 { (eval echo configure:8964: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8964 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8965 if test -z "$ac_err"; then
8967 eval "ac_cv_header_
$ac_safe=yes"
8970 echo "configure
: failed program was
:" >&5
8971 cat conftest.$ac_ext >&5
8973 eval "ac_cv_header_
$ac_safe=no
"
8977 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8978 echo "$ac_t""yes" 1>&6
8979 ac_has_langinfo_h=yes
8981 echo "$ac_t""no
" 1>&6
8982 ac_has_langinfo_h=no
8986 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
8987 echo "configure
:8988: checking
for iconv in -liconv" >&5
8988 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
8989 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8990 echo $ac_n "(cached
) $ac_c" 1>&6
8992 ac_save_LIBS="$LIBS"
8993 LIBS="-liconv $LIBS"
8994 cat > conftest.$ac_ext <<EOF
8995 #line 8996 "configure
"
8996 #include "confdefs.h
"
8997 /* Override any gcc2 internal prototype to avoid an error. */
8998 /* We use char because int might match the return type of a gcc2
8999 builtin and then its argument prototype would still apply. */
9006 if { (eval echo configure:9007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9008 eval "ac_cv_lib_
$ac_lib_var=yes"
9010 echo "configure
: failed program was
:" >&5
9011 cat conftest.$ac_ext >&5
9013 eval "ac_cv_lib_
$ac_lib_var=no
"
9016 LIBS="$ac_save_LIBS"
9019 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9020 echo "$ac_t""yes" 1>&6
9023 echo "$ac_t""no
" 1>&6
9026 ac_save_LIBS="$LIBS"
9027 LIBS="$LIBS $libiconv"
9029 for ac_func in iconv_open iconv_close iconv nl_langinfo
9031 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9032 echo "configure
:9033: checking
for $ac_func" >&5
9033 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9034 echo $ac_n "(cached
) $ac_c" 1>&6
9036 cat > conftest.$ac_ext <<EOF
9037 #line 9038 "configure
"
9038 #include "confdefs.h
"
9039 /* System header to define __stub macros and hopefully few prototypes,
9040 which can conflict with char $ac_func(); below. */
9042 /* Override any gcc2 internal prototype to avoid an error. */
9043 /* We use char because int might match the return type of a gcc2
9044 builtin and then its argument prototype would still apply. */
9049 /* The GNU C library defines this for functions which it implements
9050 to always fail with ENOSYS. Some functions are actually named
9051 something starting with __ and the normal name is an alias. */
9052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9060 if { (eval echo configure:9061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9062 eval "ac_cv_func_
$ac_func=yes"
9064 echo "configure
: failed program was
:" >&5
9065 cat conftest.$ac_ext >&5
9067 eval "ac_cv_func_
$ac_func=no
"
9072 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9073 echo "$ac_t""yes" 1>&6
9074 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9075 cat >> confdefs.h <<EOF
9076 #define $ac_tr_func 1
9081 echo "$ac_t""no
" 1>&6
9087 LIBS="$ac_save_LIBS"
9089 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
9090 echo "configure
:9091: checking
for XPG2 wchar_t support
" >&5
9091 if test x"$ac_has_iconv_h" = xyes &&
9092 test x"$ac_has_langinfo_h" = xyes &&
9093 test x"$ac_XPG2funcs" = xyes; then
9098 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
9100 if test x"$ac_isoC99_wchar_t" = xyes &&
9101 test x"$ac_XPG2_wchar_t" = xyes; then
9102 cat >> confdefs.h <<\EOF
9103 #define _GLIBCPP_USE_WCHAR_T 1
9109 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
9110 echo "configure
:9111: checking
for enabled wchar_t specializations
" >&5
9111 echo "$ac_t""$enable_wchar_t" 1>&6
9114 if test "$enable_wchar_t" = yes; then
9115 GLIBCPP_TEST_WCHAR_T_TRUE=
9116 GLIBCPP_TEST_WCHAR_T_FALSE='#'
9118 GLIBCPP_TEST_WCHAR_T_TRUE='#'
9119 GLIBCPP_TEST_WCHAR_T_FALSE=
9122 os_include_dir="os
/mingw32
"
9125 os_include_dir="os
/windiss
"
9128 SECTION_FLAGS='-ffunction-sections -fdata-sections'
9131 # If we're not using GNU ld, then there's no point in even trying these
9132 # tests. Check for that first. We should have already tested for gld
9133 # by now (in libtool), but require it now just to be safe...
9134 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
9135 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
9138 # The name set by libtool depends on the version of libtool. Shame on us
9139 # for depending on an impl detail, but c'est la vie. Older versions used
9140 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
9141 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
9142 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
9143 # set (hence we're using an older libtool), then set it.
9144 if test x${with_gnu_ld+set} != xset; then
9145 if test x${ac_cv_prog_gnu_ld+set} != xset; then
9146 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
9149 with_gnu_ld=$ac_cv_prog_gnu_ld
9153 # Start by getting the version number. I think the libtool test already
9154 # does some of this, but throws away the result.
9156 ldver=`$LD --version 2>/dev/null | head -1 | \
9157 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
9159 glibcpp_gnu_ld_version=`echo $ldver | \
9160 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
9162 # Set --gc-sections.
9163 if test "$with_gnu_ld" = "notbroken
"; then
9164 # GNU ld it is! Joy and bunny rabbits!
9166 # All these tests are for C++; save the language and the compiler flags.
9167 # Need to do this so that g++ won't try to link in libstdc++
9168 ac_test_CFLAGS="${CFLAGS+set}"
9169 ac_save_CFLAGS="$CFLAGS"
9170 CFLAGS='-x c++ -Wl,--gc-sections'
9172 # Check for -Wl,--gc-sections
9173 # XXX This test is broken at the moment, as symbols required for
9174 # linking are now in libsupc++ (not built yet.....). In addition,
9175 # this test has cored on solaris in the past. In addition,
9176 # --gc-sections doesn't really work at the moment (keeps on discarding
9177 # used sections, first .eh_frame and now some of the glibc sections for
9178 # iconv). Bzzzzt. Thanks for playing, maybe next time.
9179 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
9180 echo "configure
:9181: checking
for ld that supports
-Wl,--gc-sections" >&5
9181 if test "$cross_compiling" = yes; then
9182 ac_sectionLDflags=yes
9184 cat > conftest.$ac_ext <<EOF
9185 #line 9186 "configure
"
9186 #include "confdefs.h
"
9196 if { (eval echo configure:9197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9198 ac_sectionLDflags=yes
9200 echo "configure
: failed program was
:" >&5
9201 cat conftest.$ac_ext >&5
9203 ac_sectionLDflags=no
9208 if test "$ac_test_CFLAGS" = set; then
9209 CFLAGS="$ac_save_CFLAGS"
9211 # this is the suspicious part
9214 if test "$ac_sectionLDflags" = "yes"; then
9215 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
9217 echo "$ac_t""$ac_sectionLDflags" 1>&6
9220 # Set linker optimization flags.
9221 if test x"$with_gnu_ld" = x"yes"; then
9222 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
9229 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
9230 echo "configure
:9231: checking
for main
in -lm" >&5
9231 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
9232 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9233 echo $ac_n "(cached
) $ac_c" 1>&6
9235 ac_save_LIBS="$LIBS"
9237 cat > conftest.$ac_ext <<EOF
9238 #line 9239 "configure
"
9239 #include "confdefs.h
"
9245 if { (eval echo configure:9246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9247 eval "ac_cv_lib_
$ac_lib_var=yes"
9249 echo "configure
: failed program was
:" >&5
9250 cat conftest.$ac_ext >&5
9252 eval "ac_cv_lib_
$ac_lib_var=no
"
9255 LIBS="$ac_save_LIBS"
9258 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9259 echo "$ac_t""yes" 1>&6
9260 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
9261 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
9262 cat >> confdefs.h <<EOF
9263 #define $ac_tr_lib 1
9269 echo "$ac_t""no
" 1>&6
9272 for ac_func in nan copysignf
9274 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9275 echo "configure
:9276: checking
for $ac_func" >&5
9276 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9277 echo $ac_n "(cached
) $ac_c" 1>&6
9279 cat > conftest.$ac_ext <<EOF
9280 #line 9281 "configure
"
9281 #include "confdefs.h
"
9282 /* System header to define __stub macros and hopefully few prototypes,
9283 which can conflict with char $ac_func(); below. */
9285 /* Override any gcc2 internal prototype to avoid an error. */
9286 /* We use char because int might match the return type of a gcc2
9287 builtin and then its argument prototype would still apply. */
9292 /* The GNU C library defines this for functions which it implements
9293 to always fail with ENOSYS. Some functions are actually named
9294 something starting with __ and the normal name is an alias. */
9295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9303 if { (eval echo configure:9304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9305 eval "ac_cv_func_
$ac_func=yes"
9307 echo "configure
: failed program was
:" >&5
9308 cat conftest.$ac_ext >&5
9310 eval "ac_cv_func_
$ac_func=no
"
9315 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9316 echo "$ac_t""yes" 1>&6
9317 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9318 cat >> confdefs.h <<EOF
9319 #define $ac_tr_func 1
9323 echo "$ac_t""no
" 1>&6
9324 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
9329 for ac_func in __signbit
9331 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9332 echo "configure
:9333: checking
for $ac_func" >&5
9333 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9334 echo $ac_n "(cached
) $ac_c" 1>&6
9336 cat > conftest.$ac_ext <<EOF
9337 #line 9338 "configure
"
9338 #include "confdefs.h
"
9339 /* System header to define __stub macros and hopefully few prototypes,
9340 which can conflict with char $ac_func(); below. */
9342 /* Override any gcc2 internal prototype to avoid an error. */
9343 /* We use char because int might match the return type of a gcc2
9344 builtin and then its argument prototype would still apply. */
9349 /* The GNU C library defines this for functions which it implements
9350 to always fail with ENOSYS. Some functions are actually named
9351 something starting with __ and the normal name is an alias. */
9352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9360 if { (eval echo configure:9361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9362 eval "ac_cv_func_
$ac_func=yes"
9364 echo "configure
: failed program was
:" >&5
9365 cat conftest.$ac_ext >&5
9367 eval "ac_cv_func_
$ac_func=no
"
9372 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9373 echo "$ac_t""yes" 1>&6
9374 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9375 cat >> confdefs.h <<EOF
9376 #define $ac_tr_func 1
9380 echo "$ac_t""no
" 1>&6
9381 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
9385 for ac_func in __signbitf
9387 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9388 echo "configure
:9389: checking
for $ac_func" >&5
9389 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9390 echo $ac_n "(cached
) $ac_c" 1>&6
9392 cat > conftest.$ac_ext <<EOF
9393 #line 9394 "configure
"
9394 #include "confdefs.h
"
9395 /* System header to define __stub macros and hopefully few prototypes,
9396 which can conflict with char $ac_func(); below. */
9398 /* Override any gcc2 internal prototype to avoid an error. */
9399 /* We use char because int might match the return type of a gcc2
9400 builtin and then its argument prototype would still apply. */
9405 /* The GNU C library defines this for functions which it implements
9406 to always fail with ENOSYS. Some functions are actually named
9407 something starting with __ and the normal name is an alias. */
9408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9416 if { (eval echo configure:9417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9418 eval "ac_cv_func_
$ac_func=yes"
9420 echo "configure
: failed program was
:" >&5
9421 cat conftest.$ac_ext >&5
9423 eval "ac_cv_func_
$ac_func=no
"
9428 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9429 echo "$ac_t""yes" 1>&6
9430 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9431 cat >> confdefs.h <<EOF
9432 #define $ac_tr_func 1
9436 echo "$ac_t""no
" 1>&6
9437 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
9442 if test x$ac_cv_func_copysignl = x"yes"; then
9443 for ac_func in __signbitl
9445 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9446 echo "configure
:9447: checking
for $ac_func" >&5
9447 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9448 echo $ac_n "(cached
) $ac_c" 1>&6
9450 cat > conftest.$ac_ext <<EOF
9451 #line 9452 "configure
"
9452 #include "confdefs.h
"
9453 /* System header to define __stub macros and hopefully few prototypes,
9454 which can conflict with char $ac_func(); below. */
9456 /* Override any gcc2 internal prototype to avoid an error. */
9457 /* We use char because int might match the return type of a gcc2
9458 builtin and then its argument prototype would still apply. */
9463 /* The GNU C library defines this for functions which it implements
9464 to always fail with ENOSYS. Some functions are actually named
9465 something starting with __ and the normal name is an alias. */
9466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9474 if { (eval echo configure:9475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9476 eval "ac_cv_func_
$ac_func=yes"
9478 echo "configure
: failed program was
:" >&5
9479 cat conftest.$ac_ext >&5
9481 eval "ac_cv_func_
$ac_func=no
"
9486 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9487 echo "$ac_t""yes" 1>&6
9488 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9489 cat >> confdefs.h <<EOF
9490 #define $ac_tr_func 1
9494 echo "$ac_t""no
" 1>&6
9495 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
9501 if test -n "$LIBMATHOBJS"; then
9507 if test "$need_libmath" = yes; then
9508 GLIBCPP_BUILD_LIBMATH_TRUE=
9509 GLIBCPP_BUILD_LIBMATH_FALSE='#'
9511 GLIBCPP_BUILD_LIBMATH_TRUE='#'
9512 GLIBCPP_BUILD_LIBMATH_FALSE=
9518 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
9519 echo "configure
:9520: checking
for mbstate_t
" >&5
9520 cat > conftest.$ac_ext <<EOF
9521 #line 9522 "configure
"
9522 #include "confdefs.h
"
9525 mbstate_t teststate;
9528 if { (eval echo configure:9529: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9532 echo "configure
: failed program was
:" >&5
9533 cat conftest.$ac_ext >&5
9538 echo "$ac_t""$have_mbstate_t" 1>&6
9539 if test x"$have_mbstate_t" = xyes; then
9540 cat >> confdefs.h <<\EOF
9541 #define HAVE_MBSTATE_T 1
9546 for ac_hdr in wchar.h
9548 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9549 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
9550 echo "configure
:9551: checking
for $ac_hdr" >&5
9551 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9552 echo $ac_n "(cached
) $ac_c" 1>&6
9554 cat > conftest.$ac_ext <<EOF
9555 #line 9556 "configure
"
9556 #include "confdefs.h
"
9559 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
9560 { (eval echo configure:9561: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9561 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
9562 if test -z "$ac_err"; then
9564 eval "ac_cv_header_
$ac_safe=yes"
9567 echo "configure
: failed program was
:" >&5
9568 cat conftest.$ac_ext >&5
9570 eval "ac_cv_header_
$ac_safe=no
"
9574 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9575 echo "$ac_t""yes" 1>&6
9576 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9577 cat >> confdefs.h <<EOF
9578 #define $ac_tr_hdr 1
9582 echo "$ac_t""no
" 1>&6
9587 for ac_hdr in wctype.h
9589 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9590 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
9591 echo "configure
:9592: checking
for $ac_hdr" >&5
9592 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9593 echo $ac_n "(cached
) $ac_c" 1>&6
9595 cat > conftest.$ac_ext <<EOF
9596 #line 9597 "configure
"
9597 #include "confdefs.h
"
9600 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
9601 { (eval echo configure:9602: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9602 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
9603 if test -z "$ac_err"; then
9605 eval "ac_cv_header_
$ac_safe=yes"
9608 echo "configure
: failed program was
:" >&5
9609 cat conftest.$ac_ext >&5
9611 eval "ac_cv_header_
$ac_safe=no
"
9615 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9616 echo "$ac_t""yes" 1>&6
9617 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9618 cat >> confdefs.h <<EOF
9619 #define $ac_tr_hdr 1
9623 echo "$ac_t""no
" 1>&6
9629 if test x"$ac_has_wchar_h" = xyes &&
9630 test x"$ac_has_wctype_h" = xyes &&
9631 test x"$enable_c_mbchar" != xno; then
9633 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
9634 echo "configure
:9635: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
9635 cat > conftest.$ac_ext <<EOF
9636 #line 9637 "configure
"
9637 #include "confdefs.h
"
9640 int i = WCHAR_MIN; int j = WCHAR_MAX;
9643 if { (eval echo configure:9644: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9645 has_wchar_minmax=yes
9647 echo "configure
: failed program was
:" >&5
9648 cat conftest.$ac_ext >&5
9653 echo "$ac_t""$has_wchar_minmax" 1>&6
9655 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
9656 echo "configure
:9657: checking
for WEOF
" >&5
9657 cat > conftest.$ac_ext <<EOF
9658 #line 9659 "configure
"
9659 #include "confdefs.h
"
9667 if { (eval echo configure:9668: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9671 echo "configure
: failed program was
:" >&5
9672 cat conftest.$ac_ext >&5
9677 echo "$ac_t""$has_weof" 1>&6
9680 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
9682 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9683 echo "configure
:9684: checking
for $ac_func" >&5
9684 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9685 echo $ac_n "(cached
) $ac_c" 1>&6
9687 cat > conftest.$ac_ext <<EOF
9688 #line 9689 "configure
"
9689 #include "confdefs.h
"
9690 /* System header to define __stub macros and hopefully few prototypes,
9691 which can conflict with char $ac_func(); below. */
9693 /* Override any gcc2 internal prototype to avoid an error. */
9694 /* We use char because int might match the return type of a gcc2
9695 builtin and then its argument prototype would still apply. */
9700 /* The GNU C library defines this for functions which it implements
9701 to always fail with ENOSYS. Some functions are actually named
9702 something starting with __ and the normal name is an alias. */
9703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9711 if { (eval echo configure:9712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9713 eval "ac_cv_func_
$ac_func=yes"
9715 echo "configure
: failed program was
:" >&5
9716 cat conftest.$ac_ext >&5
9718 eval "ac_cv_func_
$ac_func=no
"
9723 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9724 echo "$ac_t""yes" 1>&6
9725 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9726 cat >> confdefs.h <<EOF
9727 #define $ac_tr_func 1
9731 echo "$ac_t""no
" 1>&6
9738 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
9739 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
9740 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
9741 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
9742 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
9743 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
9745 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9746 echo "configure
:9747: checking
for $ac_func" >&5
9747 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9748 echo $ac_n "(cached
) $ac_c" 1>&6
9750 cat > conftest.$ac_ext <<EOF
9751 #line 9752 "configure
"
9752 #include "confdefs.h
"
9753 /* System header to define __stub macros and hopefully few prototypes,
9754 which can conflict with char $ac_func(); below. */
9756 /* Override any gcc2 internal prototype to avoid an error. */
9757 /* We use char because int might match the return type of a gcc2
9758 builtin and then its argument prototype would still apply. */
9763 /* The GNU C library defines this for functions which it implements
9764 to always fail with ENOSYS. Some functions are actually named
9765 something starting with __ and the normal name is an alias. */
9766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9774 if { (eval echo configure:9775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9776 eval "ac_cv_func_
$ac_func=yes"
9778 echo "configure
: failed program was
:" >&5
9779 cat conftest.$ac_ext >&5
9781 eval "ac_cv_func_
$ac_func=no
"
9786 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9787 echo "$ac_t""yes" 1>&6
9788 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9789 cat >> confdefs.h <<EOF
9790 #define $ac_tr_func 1
9794 echo "$ac_t""no
" 1>&6
9801 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
9802 echo "configure
:9803: checking
for ISO C99 wchar_t support
" >&5
9803 if test x"$has_weof" = xyes &&
9804 test x"$has_wchar_minmax" = xyes &&
9805 test x"$ac_wfuncs" = xyes; then
9806 ac_isoC99_wchar_t=yes
9808 ac_isoC99_wchar_t=no
9810 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
9812 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
9813 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
9814 echo "configure
:9815: checking
for iconv.h
" >&5
9815 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9816 echo $ac_n "(cached
) $ac_c" 1>&6
9818 cat > conftest.$ac_ext <<EOF
9819 #line 9820 "configure
"
9820 #include "confdefs.h
"
9823 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
9824 { (eval echo configure:9825: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9825 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
9826 if test -z "$ac_err"; then
9828 eval "ac_cv_header_
$ac_safe=yes"
9831 echo "configure
: failed program was
:" >&5
9832 cat conftest.$ac_ext >&5
9834 eval "ac_cv_header_
$ac_safe=no
"
9838 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9839 echo "$ac_t""yes" 1>&6
9842 echo "$ac_t""no
" 1>&6
9846 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
9847 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
9848 echo "configure
:9849: checking
for langinfo.h
" >&5
9849 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9850 echo $ac_n "(cached
) $ac_c" 1>&6
9852 cat > conftest.$ac_ext <<EOF
9853 #line 9854 "configure
"
9854 #include "confdefs.h
"
9855 #include <langinfo.h>
9857 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
9858 { (eval echo configure:9859: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9859 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
9860 if test -z "$ac_err"; then
9862 eval "ac_cv_header_
$ac_safe=yes"
9865 echo "configure
: failed program was
:" >&5
9866 cat conftest.$ac_ext >&5
9868 eval "ac_cv_header_
$ac_safe=no
"
9872 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9873 echo "$ac_t""yes" 1>&6
9874 ac_has_langinfo_h=yes
9876 echo "$ac_t""no
" 1>&6
9877 ac_has_langinfo_h=no
9881 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
9882 echo "configure
:9883: checking
for iconv in -liconv" >&5
9883 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
9884 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9885 echo $ac_n "(cached
) $ac_c" 1>&6
9887 ac_save_LIBS="$LIBS"
9888 LIBS="-liconv $LIBS"
9889 cat > conftest.$ac_ext <<EOF
9890 #line 9891 "configure
"
9891 #include "confdefs.h
"
9892 /* Override any gcc2 internal prototype to avoid an error. */
9893 /* We use char because int might match the return type of a gcc2
9894 builtin and then its argument prototype would still apply. */
9901 if { (eval echo configure:9902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9903 eval "ac_cv_lib_
$ac_lib_var=yes"
9905 echo "configure
: failed program was
:" >&5
9906 cat conftest.$ac_ext >&5
9908 eval "ac_cv_lib_
$ac_lib_var=no
"
9911 LIBS="$ac_save_LIBS"
9914 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9915 echo "$ac_t""yes" 1>&6
9918 echo "$ac_t""no
" 1>&6
9921 ac_save_LIBS="$LIBS"
9922 LIBS="$LIBS $libiconv"
9924 for ac_func in iconv_open iconv_close iconv nl_langinfo
9926 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9927 echo "configure
:9928: checking
for $ac_func" >&5
9928 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9929 echo $ac_n "(cached
) $ac_c" 1>&6
9931 cat > conftest.$ac_ext <<EOF
9932 #line 9933 "configure
"
9933 #include "confdefs.h
"
9934 /* System header to define __stub macros and hopefully few prototypes,
9935 which can conflict with char $ac_func(); below. */
9937 /* Override any gcc2 internal prototype to avoid an error. */
9938 /* We use char because int might match the return type of a gcc2
9939 builtin and then its argument prototype would still apply. */
9944 /* The GNU C library defines this for functions which it implements
9945 to always fail with ENOSYS. Some functions are actually named
9946 something starting with __ and the normal name is an alias. */
9947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9955 if { (eval echo configure:9956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9957 eval "ac_cv_func_
$ac_func=yes"
9959 echo "configure
: failed program was
:" >&5
9960 cat conftest.$ac_ext >&5
9962 eval "ac_cv_func_
$ac_func=no
"
9967 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9968 echo "$ac_t""yes" 1>&6
9969 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9970 cat >> confdefs.h <<EOF
9971 #define $ac_tr_func 1
9976 echo "$ac_t""no
" 1>&6
9982 LIBS="$ac_save_LIBS"
9984 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
9985 echo "configure
:9986: checking
for XPG2 wchar_t support
" >&5
9986 if test x"$ac_has_iconv_h" = xyes &&
9987 test x"$ac_has_langinfo_h" = xyes &&
9988 test x"$ac_XPG2funcs" = xyes; then
9993 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
9995 if test x"$ac_isoC99_wchar_t" = xyes &&
9996 test x"$ac_XPG2_wchar_t" = xyes; then
9997 cat >> confdefs.h <<\EOF
9998 #define _GLIBCPP_USE_WCHAR_T 1
10004 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
10005 echo "configure
:10006: checking
for enabled wchar_t specializations
" >&5
10006 echo "$ac_t""$enable_wchar_t" 1>&6
10009 if test "$enable_wchar_t" = yes; then
10010 GLIBCPP_TEST_WCHAR_T_TRUE=
10011 GLIBCPP_TEST_WCHAR_T_FALSE='#'
10013 GLIBCPP_TEST_WCHAR_T_TRUE='#'
10014 GLIBCPP_TEST_WCHAR_T_FALSE=
10017 os_include_dir="os
/qnx
/qnx6.1
"
10018 cat >> confdefs.h <<\EOF
10019 #define HAVE_COSF 1
10022 cat >> confdefs.h <<\EOF
10023 #define HAVE_COSL 1
10026 cat >> confdefs.h <<\EOF
10027 #define HAVE_COSHF 1
10030 cat >> confdefs.h <<\EOF
10031 #define HAVE_COSHL 1
10034 cat >> confdefs.h <<\EOF
10035 #define HAVE_LOGF 1
10038 cat >> confdefs.h <<\EOF
10039 #define HAVE_LOGL 1
10042 cat >> confdefs.h <<\EOF
10043 #define HAVE_LOG10F 1
10046 cat >> confdefs.h <<\EOF
10047 #define HAVE_LOG10L 1
10050 cat >> confdefs.h <<\EOF
10051 #define HAVE_SINF 1
10054 cat >> confdefs.h <<\EOF
10055 #define HAVE_SINL 1
10058 cat >> confdefs.h <<\EOF
10059 #define HAVE_SINHF 1
10062 cat >> confdefs.h <<\EOF
10063 #define HAVE_SINHL 1
10068 os_include_dir="os
/newlib
"
10069 cat >> confdefs.h <<\EOF
10070 #define HAVE_HYPOT 1
10080 cat >> confdefs.h <<\EOF
10081 #define HAVE_ACOSF 1
10084 cat >> confdefs.h <<\EOF
10085 #define HAVE_ASINF 1
10088 cat >> confdefs.h <<\EOF
10089 #define HAVE_ATAN2F 1
10092 cat >> confdefs.h <<\EOF
10093 #define HAVE_ATANF 1
10096 cat >> confdefs.h <<\EOF
10097 #define HAVE_CEILF 1
10100 cat >> confdefs.h <<\EOF
10101 #define HAVE_COPYSIGN 1
10104 cat >> confdefs.h <<\EOF
10105 #define HAVE_COPYSIGNF 1
10108 cat >> confdefs.h <<\EOF
10109 #define HAVE_COSF 1
10112 cat >> confdefs.h <<\EOF
10113 #define HAVE_COSHF 1
10116 cat >> confdefs.h <<\EOF
10117 #define HAVE_EXPF 1
10120 cat >> confdefs.h <<\EOF
10121 #define HAVE_FABSF 1
10124 cat >> confdefs.h <<\EOF
10125 #define HAVE_FLOORF 1
10128 cat >> confdefs.h <<\EOF
10129 #define HAVE_FMODF 1
10132 cat >> confdefs.h <<\EOF
10133 #define HAVE_FREXPF 1
10136 cat >> confdefs.h <<\EOF
10137 #define HAVE_LDEXPF 1
10140 cat >> confdefs.h <<\EOF
10141 #define HAVE_LOG10F 1
10144 cat >> confdefs.h <<\EOF
10145 #define HAVE_LOGF 1
10148 cat >> confdefs.h <<\EOF
10149 #define HAVE_MODFF 1
10152 cat >> confdefs.h <<\EOF
10153 #define HAVE_POWF 1
10156 cat >> confdefs.h <<\EOF
10157 #define HAVE_SINF 1
10160 cat >> confdefs.h <<\EOF
10161 #define HAVE_SINHF 1
10164 cat >> confdefs.h <<\EOF
10165 #define HAVE_SQRTF 1
10168 cat >> confdefs.h <<\EOF
10169 #define HAVE_TANF 1
10172 cat >> confdefs.h <<\EOF
10173 #define HAVE_TANHF 1
10178 # Must replicate generic section since we don't have strtof or strtold.
10179 cat >> confdefs.h <<\EOF
10180 #define HAVE_MMAP 1
10183 cat >> confdefs.h <<\EOF
10184 #define HAVE_ACOSF 1
10187 cat >> confdefs.h <<\EOF
10188 #define HAVE_ASINF 1
10191 cat >> confdefs.h <<\EOF
10192 #define HAVE_ATAN2F 1
10195 cat >> confdefs.h <<\EOF
10196 #define HAVE_ATANF 1
10199 cat >> confdefs.h <<\EOF
10200 #define HAVE_CEILF 1
10203 cat >> confdefs.h <<\EOF
10204 #define HAVE_COPYSIGN 1
10207 cat >> confdefs.h <<\EOF
10208 #define HAVE_COPYSIGNF 1
10211 cat >> confdefs.h <<\EOF
10212 #define HAVE_COSF 1
10215 cat >> confdefs.h <<\EOF
10216 #define HAVE_COSHF 1
10219 cat >> confdefs.h <<\EOF
10220 #define HAVE_EXPF 1
10223 cat >> confdefs.h <<\EOF
10224 #define HAVE_FABSF 1
10227 cat >> confdefs.h <<\EOF
10228 #define HAVE_FLOORF 1
10231 cat >> confdefs.h <<\EOF
10232 #define HAVE_FMODF 1
10235 cat >> confdefs.h <<\EOF
10236 #define HAVE_FREXPF 1
10239 cat >> confdefs.h <<\EOF
10240 #define HAVE_LDEXPF 1
10243 cat >> confdefs.h <<\EOF
10244 #define HAVE_LOG10F 1
10247 cat >> confdefs.h <<\EOF
10248 #define HAVE_LOGF 1
10251 cat >> confdefs.h <<\EOF
10252 #define HAVE_MODFF 1
10255 cat >> confdefs.h <<\EOF
10256 #define HAVE_POWF 1
10259 cat >> confdefs.h <<\EOF
10260 #define HAVE_SINF 1
10263 cat >> confdefs.h <<\EOF
10264 #define HAVE_SINHF 1
10267 cat >> confdefs.h <<\EOF
10268 #define HAVE_SQRTF 1
10271 cat >> confdefs.h <<\EOF
10272 #define HAVE_TANF 1
10275 cat >> confdefs.h <<\EOF
10276 #define HAVE_TANHF 1
10281 # GLIBCPP_CHECK_STDLIB_SUPPORT
10282 cat >> confdefs.h <<\EOF
10283 #define HAVE_STRTOF 1
10286 cat >> confdefs.h <<\EOF
10287 #define HAVE_STRTOLD 1
10291 cat >> confdefs.h <<\EOF
10292 #define HAVE_MMAP 1
10296 cat >> confdefs.h <<\EOF
10297 #define HAVE_ACOSF 1
10300 cat >> confdefs.h <<\EOF
10301 #define HAVE_ASINF 1
10304 cat >> confdefs.h <<\EOF
10305 #define HAVE_ATAN2F 1
10308 cat >> confdefs.h <<\EOF
10309 #define HAVE_ATANF 1
10312 cat >> confdefs.h <<\EOF
10313 #define HAVE_CEILF 1
10316 cat >> confdefs.h <<\EOF
10317 #define HAVE_COPYSIGN 1
10320 cat >> confdefs.h <<\EOF
10321 #define HAVE_COPYSIGNF 1
10324 cat >> confdefs.h <<\EOF
10325 #define HAVE_COSF 1
10328 cat >> confdefs.h <<\EOF
10329 #define HAVE_COSHF 1
10332 cat >> confdefs.h <<\EOF
10333 #define HAVE_EXPF 1
10336 cat >> confdefs.h <<\EOF
10337 #define HAVE_FABSF 1
10340 cat >> confdefs.h <<\EOF
10341 #define HAVE_FLOORF 1
10344 cat >> confdefs.h <<\EOF
10345 #define HAVE_FMODF 1
10348 cat >> confdefs.h <<\EOF
10349 #define HAVE_FREXPF 1
10352 cat >> confdefs.h <<\EOF
10353 #define HAVE_LDEXPF 1
10356 cat >> confdefs.h <<\EOF
10357 #define HAVE_LOG10F 1
10360 cat >> confdefs.h <<\EOF
10361 #define HAVE_LOGF 1
10364 cat >> confdefs.h <<\EOF
10365 #define HAVE_MODFF 1
10368 cat >> confdefs.h <<\EOF
10369 #define HAVE_POWF 1
10372 cat >> confdefs.h <<\EOF
10373 #define HAVE_SINF 1
10376 cat >> confdefs.h <<\EOF
10377 #define HAVE_SINHF 1
10380 cat >> confdefs.h <<\EOF
10381 #define HAVE_SQRTF 1
10384 cat >> confdefs.h <<\EOF
10385 #define HAVE_TANF 1
10388 cat >> confdefs.h <<\EOF
10389 #define HAVE_TANHF 1
10395 # At some point, we should differentiate between architectures
10396 # like x86, which have long double versions, and alpha/powerpc/etc.,
10397 # which don't. For the time being, punt.
10398 if test x"long_double_math_on_this_cpu
" = x"yes"; then
10399 cat >> confdefs.h <<\EOF
10400 #define HAVE_ACOSL 1
10403 cat >> confdefs.h <<\EOF
10404 #define HAVE_ASINL 1
10407 cat >> confdefs.h <<\EOF
10408 #define HAVE_ATAN2L 1
10411 cat >> confdefs.h <<\EOF
10412 #define HAVE_ATANL 1
10415 cat >> confdefs.h <<\EOF
10416 #define HAVE_CEILL 1
10419 cat >> confdefs.h <<\EOF
10420 #define HAVE_COPYSIGNL 1
10423 cat >> confdefs.h <<\EOF
10424 #define HAVE_COSL 1
10427 cat >> confdefs.h <<\EOF
10428 #define HAVE_COSHL 1
10431 cat >> confdefs.h <<\EOF
10432 #define HAVE_EXPL 1
10435 cat >> confdefs.h <<\EOF
10436 #define HAVE_FABSL 1
10439 cat >> confdefs.h <<\EOF
10440 #define HAVE_FLOORL 1
10443 cat >> confdefs.h <<\EOF
10444 #define HAVE_FMODL 1
10447 cat >> confdefs.h <<\EOF
10448 #define HAVE_FREXPL 1
10451 cat >> confdefs.h <<\EOF
10452 #define HAVE_LDEXPL 1
10455 cat >> confdefs.h <<\EOF
10456 #define HAVE_LOG10L 1
10459 cat >> confdefs.h <<\EOF
10460 #define HAVE_LOGL 1
10463 cat >> confdefs.h <<\EOF
10464 #define HAVE_MODFL 1
10467 cat >> confdefs.h <<\EOF
10468 #define HAVE_POWL 1
10471 cat >> confdefs.h <<\EOF
10472 #define HAVE_SINCOSL 1
10475 cat >> confdefs.h <<\EOF
10476 #define HAVE_SINL 1
10479 cat >> confdefs.h <<\EOF
10480 #define HAVE_SINHL 1
10483 cat >> confdefs.h <<\EOF
10484 #define HAVE_SQRTL 1
10487 cat >> confdefs.h <<\EOF
10488 #define HAVE_TANL 1
10491 cat >> confdefs.h <<\EOF
10492 #define HAVE_TANHL 1
10499 # We are being configured natively. We can do more elaborate tests
10500 # that include AC_TRY_COMPILE now, as the linker is assumed to be
10502 GLIBCPP_IS_CROSS_COMPILING=0
10505 # Check for available headers.
10506 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
10507 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h sys/types.h
10509 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10510 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
10511 echo "configure
:10512: checking
for $ac_hdr" >&5
10512 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10513 echo $ac_n "(cached
) $ac_c" 1>&6
10515 cat > conftest.$ac_ext <<EOF
10516 #line 10517 "configure
"
10517 #include "confdefs.h
"
10520 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
10521 { (eval echo configure:10522: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10522 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
10523 if test -z "$ac_err"; then
10525 eval "ac_cv_header_
$ac_safe=yes"
10528 echo "configure
: failed program was
:" >&5
10529 cat conftest.$ac_ext >&5
10531 eval "ac_cv_header_
$ac_safe=no
"
10535 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10536 echo "$ac_t""yes" 1>&6
10537 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10538 cat >> confdefs.h <<EOF
10539 #define $ac_tr_hdr 1
10543 echo "$ac_t""no
" 1>&6
10549 # All these tests are for C++; save the language and the compiler flags.
10550 # The CXXFLAGS thing is suspicious, but based on similar bits previously
10551 # found in GLIBCPP_CONFIGURE.
10554 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10555 ac_cpp='$CXXCPP $CPPFLAGS'
10556 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10557 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10558 cross_compiling=$ac_cv_prog_cxx_cross
10560 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10561 ac_save_CXXFLAGS="$CXXFLAGS"
10563 # Check for maintainer-mode bits.
10564 if test x"$USE_MAINTAINER_MODE" = xno; then
10570 # Check for -ffunction-sections -fdata-sections
10571 echo $ac_n "checking
for g
++ that supports
-ffunction-sections -fdata-sections""...
$ac_c" 1>&6
10572 echo "configure
:10573: checking
for g
++ that supports
-ffunction-sections -fdata-sections" >&5
10573 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
10574 cat > conftest.$ac_ext <<EOF
10575 #line 10576 "configure
"
10576 #include "confdefs.h
"
10583 if { (eval echo configure:10584: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10587 echo "configure
: failed program was
:" >&5
10588 cat conftest.$ac_ext >&5
10593 if test "$ac_test_CXXFLAGS" = set; then
10594 CXXFLAGS="$ac_save_CXXFLAGS"
10596 # this is the suspicious part
10599 if test x"$ac_fdsections" = x"yes"; then
10600 SECTION_FLAGS='-ffunction-sections -fdata-sections'
10602 echo "$ac_t""$ac_fdsections" 1>&6
10605 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10606 ac_cpp='$CPP $CPPFLAGS'
10607 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10608 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10609 cross_compiling=$ac_cv_prog_cc_cross
10615 # If we're not using GNU ld, then there's no point in even trying these
10616 # tests. Check for that first. We should have already tested for gld
10617 # by now (in libtool), but require it now just to be safe...
10618 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
10619 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
10622 # The name set by libtool depends on the version of libtool. Shame on us
10623 # for depending on an impl detail, but c'est la vie. Older versions used
10624 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
10625 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
10626 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
10627 # set (hence we're using an older libtool), then set it.
10628 if test x${with_gnu_ld+set} != xset; then
10629 if test x${ac_cv_prog_gnu_ld+set} != xset; then
10630 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
10633 with_gnu_ld=$ac_cv_prog_gnu_ld
10637 # Start by getting the version number. I think the libtool test already
10638 # does some of this, but throws away the result.
10640 ldver=`$LD --version 2>/dev/null | head -1 | \
10641 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
10643 glibcpp_gnu_ld_version=`echo $ldver | \
10644 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
10646 # Set --gc-sections.
10647 if test "$with_gnu_ld" = "notbroken
"; then
10648 # GNU ld it is! Joy and bunny rabbits!
10650 # All these tests are for C++; save the language and the compiler flags.
10651 # Need to do this so that g++ won't try to link in libstdc++
10652 ac_test_CFLAGS="${CFLAGS+set}"
10653 ac_save_CFLAGS="$CFLAGS"
10654 CFLAGS='-x c++ -Wl,--gc-sections'
10656 # Check for -Wl,--gc-sections
10657 # XXX This test is broken at the moment, as symbols required for
10658 # linking are now in libsupc++ (not built yet.....). In addition,
10659 # this test has cored on solaris in the past. In addition,
10660 # --gc-sections doesn't really work at the moment (keeps on discarding
10661 # used sections, first .eh_frame and now some of the glibc sections for
10662 # iconv). Bzzzzt. Thanks for playing, maybe next time.
10663 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
10664 echo "configure
:10665: checking
for ld that supports
-Wl,--gc-sections" >&5
10665 if test "$cross_compiling" = yes; then
10666 ac_sectionLDflags=yes
10668 cat > conftest.$ac_ext <<EOF
10669 #line 10670 "configure
"
10670 #include "confdefs.h
"
10680 if { (eval echo configure:10681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10682 ac_sectionLDflags=yes
10684 echo "configure
: failed program was
:" >&5
10685 cat conftest.$ac_ext >&5
10687 ac_sectionLDflags=no
10692 if test "$ac_test_CFLAGS" = set; then
10693 CFLAGS="$ac_save_CFLAGS"
10695 # this is the suspicious part
10698 if test "$ac_sectionLDflags" = "yes"; then
10699 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
10701 echo "$ac_t""$ac_sectionLDflags" 1>&6
10704 # Set linker optimization flags.
10705 if test x"$with_gnu_ld" = x"yes"; then
10706 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
10714 echo $ac_n "checking
for __builtin_abs declaration
""...
$ac_c" 1>&6
10715 echo "configure
:10716: checking
for __builtin_abs declaration
" >&5
10716 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
10717 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
10718 echo $ac_n "(cached
) $ac_c" 1>&6
10723 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10724 ac_cpp='$CXXCPP $CPPFLAGS'
10725 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10726 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10727 cross_compiling=$ac_cv_prog_cxx_cross
10729 cat > conftest.$ac_ext <<EOF
10730 #line 10731 "configure
"
10731 #include "confdefs.h
"
10737 if { (eval echo configure:10738: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10739 glibcpp_cv_func___builtin_abs_use=yes
10741 echo "configure
: failed program was
:" >&5
10742 cat conftest.$ac_ext >&5
10744 glibcpp_cv_func___builtin_abs_use=no
10748 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10749 ac_cpp='$CPP $CPPFLAGS'
10750 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10751 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10752 cross_compiling=$ac_cv_prog_cc_cross
10758 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
10759 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
10760 echo $ac_n "checking
for __builtin_abs linkage
""...
$ac_c" 1>&6
10761 echo "configure
:10762: checking
for __builtin_abs linkage
" >&5
10762 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
10763 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
10764 echo $ac_n "(cached
) $ac_c" 1>&6
10767 cat > conftest.$ac_ext <<EOF
10768 #line 10769 "configure
"
10769 #include "confdefs.h
"
10775 if { (eval echo configure:10776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10777 glibcpp_cv_func___builtin_abs_link=yes
10779 echo "configure
: failed program was
:" >&5
10780 cat conftest.$ac_ext >&5
10782 glibcpp_cv_func___builtin_abs_link=no
10789 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
10790 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
10791 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10792 cat >> confdefs.h <<EOF
10793 #define ${ac_tr_func} 1
10800 echo $ac_n "checking
for __builtin_fabsf declaration
""...
$ac_c" 1>&6
10801 echo "configure
:10802: checking
for __builtin_fabsf declaration
" >&5
10802 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
10803 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
10804 echo $ac_n "(cached
) $ac_c" 1>&6
10809 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10810 ac_cpp='$CXXCPP $CPPFLAGS'
10811 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10812 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10813 cross_compiling=$ac_cv_prog_cxx_cross
10815 cat > conftest.$ac_ext <<EOF
10816 #line 10817 "configure
"
10817 #include "confdefs.h
"
10820 __builtin_fabsf(0);
10823 if { (eval echo configure:10824: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10825 glibcpp_cv_func___builtin_fabsf_use=yes
10827 echo "configure
: failed program was
:" >&5
10828 cat conftest.$ac_ext >&5
10830 glibcpp_cv_func___builtin_fabsf_use=no
10834 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10835 ac_cpp='$CPP $CPPFLAGS'
10836 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10837 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10838 cross_compiling=$ac_cv_prog_cc_cross
10844 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
10845 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
10846 echo $ac_n "checking
for __builtin_fabsf linkage
""...
$ac_c" 1>&6
10847 echo "configure
:10848: checking
for __builtin_fabsf linkage
" >&5
10848 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
10849 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
10850 echo $ac_n "(cached
) $ac_c" 1>&6
10853 cat > conftest.$ac_ext <<EOF
10854 #line 10855 "configure
"
10855 #include "confdefs.h
"
10858 __builtin_fabsf(0);
10861 if { (eval echo configure:10862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10863 glibcpp_cv_func___builtin_fabsf_link=yes
10865 echo "configure
: failed program was
:" >&5
10866 cat conftest.$ac_ext >&5
10868 glibcpp_cv_func___builtin_fabsf_link=no
10875 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
10876 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
10877 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10878 cat >> confdefs.h <<EOF
10879 #define ${ac_tr_func} 1
10886 echo $ac_n "checking
for __builtin_fabs declaration
""...
$ac_c" 1>&6
10887 echo "configure
:10888: checking
for __builtin_fabs declaration
" >&5
10888 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
10889 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
10890 echo $ac_n "(cached
) $ac_c" 1>&6
10895 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10896 ac_cpp='$CXXCPP $CPPFLAGS'
10897 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10898 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10899 cross_compiling=$ac_cv_prog_cxx_cross
10901 cat > conftest.$ac_ext <<EOF
10902 #line 10903 "configure
"
10903 #include "confdefs.h
"
10909 if { (eval echo configure:10910: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10911 glibcpp_cv_func___builtin_fabs_use=yes
10913 echo "configure
: failed program was
:" >&5
10914 cat conftest.$ac_ext >&5
10916 glibcpp_cv_func___builtin_fabs_use=no
10920 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10921 ac_cpp='$CPP $CPPFLAGS'
10922 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10923 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10924 cross_compiling=$ac_cv_prog_cc_cross
10930 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
10931 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
10932 echo $ac_n "checking
for __builtin_fabs linkage
""...
$ac_c" 1>&6
10933 echo "configure
:10934: checking
for __builtin_fabs linkage
" >&5
10934 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
10935 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
10936 echo $ac_n "(cached
) $ac_c" 1>&6
10939 cat > conftest.$ac_ext <<EOF
10940 #line 10941 "configure
"
10941 #include "confdefs.h
"
10947 if { (eval echo configure:10948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10949 glibcpp_cv_func___builtin_fabs_link=yes
10951 echo "configure
: failed program was
:" >&5
10952 cat conftest.$ac_ext >&5
10954 glibcpp_cv_func___builtin_fabs_link=no
10961 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
10962 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
10963 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10964 cat >> confdefs.h <<EOF
10965 #define ${ac_tr_func} 1
10972 echo $ac_n "checking
for __builtin_fabsl declaration
""...
$ac_c" 1>&6
10973 echo "configure
:10974: checking
for __builtin_fabsl declaration
" >&5
10974 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
10975 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
10976 echo $ac_n "(cached
) $ac_c" 1>&6
10981 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10982 ac_cpp='$CXXCPP $CPPFLAGS'
10983 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10984 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10985 cross_compiling=$ac_cv_prog_cxx_cross
10987 cat > conftest.$ac_ext <<EOF
10988 #line 10989 "configure
"
10989 #include "confdefs.h
"
10992 __builtin_fabsl(0);
10995 if { (eval echo configure:10996: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10997 glibcpp_cv_func___builtin_fabsl_use=yes
10999 echo "configure
: failed program was
:" >&5
11000 cat conftest.$ac_ext >&5
11002 glibcpp_cv_func___builtin_fabsl_use=no
11006 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11007 ac_cpp='$CPP $CPPFLAGS'
11008 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11009 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11010 cross_compiling=$ac_cv_prog_cc_cross
11016 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
11017 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
11018 echo $ac_n "checking
for __builtin_fabsl linkage
""...
$ac_c" 1>&6
11019 echo "configure
:11020: checking
for __builtin_fabsl linkage
" >&5
11020 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
11021 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
11022 echo $ac_n "(cached
) $ac_c" 1>&6
11025 cat > conftest.$ac_ext <<EOF
11026 #line 11027 "configure
"
11027 #include "confdefs.h
"
11030 __builtin_fabsl(0);
11033 if { (eval echo configure:11034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11035 glibcpp_cv_func___builtin_fabsl_link=yes
11037 echo "configure
: failed program was
:" >&5
11038 cat conftest.$ac_ext >&5
11040 glibcpp_cv_func___builtin_fabsl_link=no
11047 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
11048 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
11049 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11050 cat >> confdefs.h <<EOF
11051 #define ${ac_tr_func} 1
11058 echo $ac_n "checking
for __builtin_labs declaration
""...
$ac_c" 1>&6
11059 echo "configure
:11060: checking
for __builtin_labs declaration
" >&5
11060 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
11061 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
11062 echo $ac_n "(cached
) $ac_c" 1>&6
11067 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11068 ac_cpp='$CXXCPP $CPPFLAGS'
11069 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11070 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11071 cross_compiling=$ac_cv_prog_cxx_cross
11073 cat > conftest.$ac_ext <<EOF
11074 #line 11075 "configure
"
11075 #include "confdefs.h
"
11081 if { (eval echo configure:11082: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11083 glibcpp_cv_func___builtin_labs_use=yes
11085 echo "configure
: failed program was
:" >&5
11086 cat conftest.$ac_ext >&5
11088 glibcpp_cv_func___builtin_labs_use=no
11092 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11093 ac_cpp='$CPP $CPPFLAGS'
11094 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11095 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11096 cross_compiling=$ac_cv_prog_cc_cross
11102 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
11103 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
11104 echo $ac_n "checking
for __builtin_labs linkage
""...
$ac_c" 1>&6
11105 echo "configure
:11106: checking
for __builtin_labs linkage
" >&5
11106 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
11107 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
11108 echo $ac_n "(cached
) $ac_c" 1>&6
11111 cat > conftest.$ac_ext <<EOF
11112 #line 11113 "configure
"
11113 #include "confdefs.h
"
11119 if { (eval echo configure:11120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11121 glibcpp_cv_func___builtin_labs_link=yes
11123 echo "configure
: failed program was
:" >&5
11124 cat conftest.$ac_ext >&5
11126 glibcpp_cv_func___builtin_labs_link=no
11133 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
11134 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
11135 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11136 cat >> confdefs.h <<EOF
11137 #define ${ac_tr_func} 1
11145 echo $ac_n "checking
for __builtin_sqrtf declaration
""...
$ac_c" 1>&6
11146 echo "configure
:11147: checking
for __builtin_sqrtf declaration
" >&5
11147 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
11148 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
11149 echo $ac_n "(cached
) $ac_c" 1>&6
11154 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11155 ac_cpp='$CXXCPP $CPPFLAGS'
11156 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11157 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11158 cross_compiling=$ac_cv_prog_cxx_cross
11160 cat > conftest.$ac_ext <<EOF
11161 #line 11162 "configure
"
11162 #include "confdefs.h
"
11165 __builtin_sqrtf(0);
11168 if { (eval echo configure:11169: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11170 glibcpp_cv_func___builtin_sqrtf_use=yes
11172 echo "configure
: failed program was
:" >&5
11173 cat conftest.$ac_ext >&5
11175 glibcpp_cv_func___builtin_sqrtf_use=no
11179 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11180 ac_cpp='$CPP $CPPFLAGS'
11181 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11182 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11183 cross_compiling=$ac_cv_prog_cc_cross
11189 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
11190 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
11191 echo $ac_n "checking
for __builtin_sqrtf linkage
""...
$ac_c" 1>&6
11192 echo "configure
:11193: checking
for __builtin_sqrtf linkage
" >&5
11193 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
11194 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
11195 echo $ac_n "(cached
) $ac_c" 1>&6
11198 cat > conftest.$ac_ext <<EOF
11199 #line 11200 "configure
"
11200 #include "confdefs.h
"
11203 __builtin_sqrtf(0);
11206 if { (eval echo configure:11207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11208 glibcpp_cv_func___builtin_sqrtf_link=yes
11210 echo "configure
: failed program was
:" >&5
11211 cat conftest.$ac_ext >&5
11213 glibcpp_cv_func___builtin_sqrtf_link=no
11220 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
11221 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
11222 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11223 cat >> confdefs.h <<EOF
11224 #define ${ac_tr_func} 1
11231 echo $ac_n "checking
for __builtin_sqrt declaration
""...
$ac_c" 1>&6
11232 echo "configure
:11233: checking
for __builtin_sqrt declaration
" >&5
11233 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
11234 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
11235 echo $ac_n "(cached
) $ac_c" 1>&6
11240 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11241 ac_cpp='$CXXCPP $CPPFLAGS'
11242 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11243 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11244 cross_compiling=$ac_cv_prog_cxx_cross
11246 cat > conftest.$ac_ext <<EOF
11247 #line 11248 "configure
"
11248 #include "confdefs.h
"
11254 if { (eval echo configure:11255: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11256 glibcpp_cv_func___builtin_sqrt_use=yes
11258 echo "configure
: failed program was
:" >&5
11259 cat conftest.$ac_ext >&5
11261 glibcpp_cv_func___builtin_sqrt_use=no
11265 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11266 ac_cpp='$CPP $CPPFLAGS'
11267 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11268 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11269 cross_compiling=$ac_cv_prog_cc_cross
11275 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
11276 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
11277 echo $ac_n "checking
for __builtin_sqrt linkage
""...
$ac_c" 1>&6
11278 echo "configure
:11279: checking
for __builtin_sqrt linkage
" >&5
11279 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
11280 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
11281 echo $ac_n "(cached
) $ac_c" 1>&6
11284 cat > conftest.$ac_ext <<EOF
11285 #line 11286 "configure
"
11286 #include "confdefs.h
"
11292 if { (eval echo configure:11293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11294 glibcpp_cv_func___builtin_sqrt_link=yes
11296 echo "configure
: failed program was
:" >&5
11297 cat conftest.$ac_ext >&5
11299 glibcpp_cv_func___builtin_sqrt_link=no
11306 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
11307 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
11308 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11309 cat >> confdefs.h <<EOF
11310 #define ${ac_tr_func} 1
11317 echo $ac_n "checking
for __builtin_sqrtl declaration
""...
$ac_c" 1>&6
11318 echo "configure
:11319: checking
for __builtin_sqrtl declaration
" >&5
11319 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
11320 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
11321 echo $ac_n "(cached
) $ac_c" 1>&6
11326 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11327 ac_cpp='$CXXCPP $CPPFLAGS'
11328 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11329 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11330 cross_compiling=$ac_cv_prog_cxx_cross
11332 cat > conftest.$ac_ext <<EOF
11333 #line 11334 "configure
"
11334 #include "confdefs.h
"
11337 __builtin_sqrtl(0);
11340 if { (eval echo configure:11341: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11342 glibcpp_cv_func___builtin_sqrtl_use=yes
11344 echo "configure
: failed program was
:" >&5
11345 cat conftest.$ac_ext >&5
11347 glibcpp_cv_func___builtin_sqrtl_use=no
11351 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11352 ac_cpp='$CPP $CPPFLAGS'
11353 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11354 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11355 cross_compiling=$ac_cv_prog_cc_cross
11361 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
11362 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
11363 echo $ac_n "checking
for __builtin_sqrtl linkage
""...
$ac_c" 1>&6
11364 echo "configure
:11365: checking
for __builtin_sqrtl linkage
" >&5
11365 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
11366 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
11367 echo $ac_n "(cached
) $ac_c" 1>&6
11370 cat > conftest.$ac_ext <<EOF
11371 #line 11372 "configure
"
11372 #include "confdefs.h
"
11375 __builtin_sqrtl(0);
11378 if { (eval echo configure:11379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11380 glibcpp_cv_func___builtin_sqrtl_link=yes
11382 echo "configure
: failed program was
:" >&5
11383 cat conftest.$ac_ext >&5
11385 glibcpp_cv_func___builtin_sqrtl_link=no
11392 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
11393 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
11394 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11395 cat >> confdefs.h <<EOF
11396 #define ${ac_tr_func} 1
11404 echo $ac_n "checking
for __builtin_sinf declaration
""...
$ac_c" 1>&6
11405 echo "configure
:11406: checking
for __builtin_sinf declaration
" >&5
11406 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
11407 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
11408 echo $ac_n "(cached
) $ac_c" 1>&6
11413 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11414 ac_cpp='$CXXCPP $CPPFLAGS'
11415 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11416 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11417 cross_compiling=$ac_cv_prog_cxx_cross
11419 cat > conftest.$ac_ext <<EOF
11420 #line 11421 "configure
"
11421 #include "confdefs.h
"
11427 if { (eval echo configure:11428: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11429 glibcpp_cv_func___builtin_sinf_use=yes
11431 echo "configure
: failed program was
:" >&5
11432 cat conftest.$ac_ext >&5
11434 glibcpp_cv_func___builtin_sinf_use=no
11438 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11439 ac_cpp='$CPP $CPPFLAGS'
11440 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11441 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11442 cross_compiling=$ac_cv_prog_cc_cross
11448 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
11449 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
11450 echo $ac_n "checking
for __builtin_sinf linkage
""...
$ac_c" 1>&6
11451 echo "configure
:11452: checking
for __builtin_sinf linkage
" >&5
11452 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
11453 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
11454 echo $ac_n "(cached
) $ac_c" 1>&6
11457 cat > conftest.$ac_ext <<EOF
11458 #line 11459 "configure
"
11459 #include "confdefs.h
"
11465 if { (eval echo configure:11466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11467 glibcpp_cv_func___builtin_sinf_link=yes
11469 echo "configure
: failed program was
:" >&5
11470 cat conftest.$ac_ext >&5
11472 glibcpp_cv_func___builtin_sinf_link=no
11479 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
11480 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
11481 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11482 cat >> confdefs.h <<EOF
11483 #define ${ac_tr_func} 1
11490 echo $ac_n "checking
for __builtin_sin declaration
""...
$ac_c" 1>&6
11491 echo "configure
:11492: checking
for __builtin_sin declaration
" >&5
11492 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
11493 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
11494 echo $ac_n "(cached
) $ac_c" 1>&6
11499 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11500 ac_cpp='$CXXCPP $CPPFLAGS'
11501 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11502 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11503 cross_compiling=$ac_cv_prog_cxx_cross
11505 cat > conftest.$ac_ext <<EOF
11506 #line 11507 "configure
"
11507 #include "confdefs.h
"
11513 if { (eval echo configure:11514: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11515 glibcpp_cv_func___builtin_sin_use=yes
11517 echo "configure
: failed program was
:" >&5
11518 cat conftest.$ac_ext >&5
11520 glibcpp_cv_func___builtin_sin_use=no
11524 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11525 ac_cpp='$CPP $CPPFLAGS'
11526 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11527 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11528 cross_compiling=$ac_cv_prog_cc_cross
11534 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
11535 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
11536 echo $ac_n "checking
for __builtin_sin linkage
""...
$ac_c" 1>&6
11537 echo "configure
:11538: checking
for __builtin_sin linkage
" >&5
11538 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
11539 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
11540 echo $ac_n "(cached
) $ac_c" 1>&6
11543 cat > conftest.$ac_ext <<EOF
11544 #line 11545 "configure
"
11545 #include "confdefs.h
"
11551 if { (eval echo configure:11552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11553 glibcpp_cv_func___builtin_sin_link=yes
11555 echo "configure
: failed program was
:" >&5
11556 cat conftest.$ac_ext >&5
11558 glibcpp_cv_func___builtin_sin_link=no
11565 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
11566 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
11567 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11568 cat >> confdefs.h <<EOF
11569 #define ${ac_tr_func} 1
11576 echo $ac_n "checking
for __builtin_sinl declaration
""...
$ac_c" 1>&6
11577 echo "configure
:11578: checking
for __builtin_sinl declaration
" >&5
11578 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
11579 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
11580 echo $ac_n "(cached
) $ac_c" 1>&6
11585 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11586 ac_cpp='$CXXCPP $CPPFLAGS'
11587 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11588 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11589 cross_compiling=$ac_cv_prog_cxx_cross
11591 cat > conftest.$ac_ext <<EOF
11592 #line 11593 "configure
"
11593 #include "confdefs.h
"
11599 if { (eval echo configure:11600: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11601 glibcpp_cv_func___builtin_sinl_use=yes
11603 echo "configure
: failed program was
:" >&5
11604 cat conftest.$ac_ext >&5
11606 glibcpp_cv_func___builtin_sinl_use=no
11610 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11611 ac_cpp='$CPP $CPPFLAGS'
11612 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11613 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11614 cross_compiling=$ac_cv_prog_cc_cross
11620 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
11621 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
11622 echo $ac_n "checking
for __builtin_sinl linkage
""...
$ac_c" 1>&6
11623 echo "configure
:11624: checking
for __builtin_sinl linkage
" >&5
11624 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
11625 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
11626 echo $ac_n "(cached
) $ac_c" 1>&6
11629 cat > conftest.$ac_ext <<EOF
11630 #line 11631 "configure
"
11631 #include "confdefs.h
"
11637 if { (eval echo configure:11638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11639 glibcpp_cv_func___builtin_sinl_link=yes
11641 echo "configure
: failed program was
:" >&5
11642 cat conftest.$ac_ext >&5
11644 glibcpp_cv_func___builtin_sinl_link=no
11651 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
11652 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
11653 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11654 cat >> confdefs.h <<EOF
11655 #define ${ac_tr_func} 1
11663 echo $ac_n "checking
for __builtin_cosf declaration
""...
$ac_c" 1>&6
11664 echo "configure
:11665: checking
for __builtin_cosf declaration
" >&5
11665 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
11666 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
11667 echo $ac_n "(cached
) $ac_c" 1>&6
11672 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11673 ac_cpp='$CXXCPP $CPPFLAGS'
11674 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11675 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11676 cross_compiling=$ac_cv_prog_cxx_cross
11678 cat > conftest.$ac_ext <<EOF
11679 #line 11680 "configure
"
11680 #include "confdefs.h
"
11686 if { (eval echo configure:11687: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11688 glibcpp_cv_func___builtin_cosf_use=yes
11690 echo "configure
: failed program was
:" >&5
11691 cat conftest.$ac_ext >&5
11693 glibcpp_cv_func___builtin_cosf_use=no
11697 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11698 ac_cpp='$CPP $CPPFLAGS'
11699 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11700 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11701 cross_compiling=$ac_cv_prog_cc_cross
11707 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
11708 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
11709 echo $ac_n "checking
for __builtin_cosf linkage
""...
$ac_c" 1>&6
11710 echo "configure
:11711: checking
for __builtin_cosf linkage
" >&5
11711 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
11712 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
11713 echo $ac_n "(cached
) $ac_c" 1>&6
11716 cat > conftest.$ac_ext <<EOF
11717 #line 11718 "configure
"
11718 #include "confdefs.h
"
11724 if { (eval echo configure:11725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11726 glibcpp_cv_func___builtin_cosf_link=yes
11728 echo "configure
: failed program was
:" >&5
11729 cat conftest.$ac_ext >&5
11731 glibcpp_cv_func___builtin_cosf_link=no
11738 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
11739 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
11740 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11741 cat >> confdefs.h <<EOF
11742 #define ${ac_tr_func} 1
11749 echo $ac_n "checking
for __builtin_cos declaration
""...
$ac_c" 1>&6
11750 echo "configure
:11751: checking
for __builtin_cos declaration
" >&5
11751 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
11752 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
11753 echo $ac_n "(cached
) $ac_c" 1>&6
11758 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11759 ac_cpp='$CXXCPP $CPPFLAGS'
11760 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11761 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11762 cross_compiling=$ac_cv_prog_cxx_cross
11764 cat > conftest.$ac_ext <<EOF
11765 #line 11766 "configure
"
11766 #include "confdefs.h
"
11772 if { (eval echo configure:11773: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11774 glibcpp_cv_func___builtin_cos_use=yes
11776 echo "configure
: failed program was
:" >&5
11777 cat conftest.$ac_ext >&5
11779 glibcpp_cv_func___builtin_cos_use=no
11783 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11784 ac_cpp='$CPP $CPPFLAGS'
11785 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11786 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11787 cross_compiling=$ac_cv_prog_cc_cross
11793 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
11794 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
11795 echo $ac_n "checking
for __builtin_cos linkage
""...
$ac_c" 1>&6
11796 echo "configure
:11797: checking
for __builtin_cos linkage
" >&5
11797 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
11798 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
11799 echo $ac_n "(cached
) $ac_c" 1>&6
11802 cat > conftest.$ac_ext <<EOF
11803 #line 11804 "configure
"
11804 #include "confdefs.h
"
11810 if { (eval echo configure:11811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11812 glibcpp_cv_func___builtin_cos_link=yes
11814 echo "configure
: failed program was
:" >&5
11815 cat conftest.$ac_ext >&5
11817 glibcpp_cv_func___builtin_cos_link=no
11824 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
11825 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
11826 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11827 cat >> confdefs.h <<EOF
11828 #define ${ac_tr_func} 1
11835 echo $ac_n "checking
for __builtin_cosl declaration
""...
$ac_c" 1>&6
11836 echo "configure
:11837: checking
for __builtin_cosl declaration
" >&5
11837 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
11838 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
11839 echo $ac_n "(cached
) $ac_c" 1>&6
11844 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11845 ac_cpp='$CXXCPP $CPPFLAGS'
11846 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11847 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11848 cross_compiling=$ac_cv_prog_cxx_cross
11850 cat > conftest.$ac_ext <<EOF
11851 #line 11852 "configure
"
11852 #include "confdefs.h
"
11858 if { (eval echo configure:11859: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11860 glibcpp_cv_func___builtin_cosl_use=yes
11862 echo "configure
: failed program was
:" >&5
11863 cat conftest.$ac_ext >&5
11865 glibcpp_cv_func___builtin_cosl_use=no
11869 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11870 ac_cpp='$CPP $CPPFLAGS'
11871 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11872 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11873 cross_compiling=$ac_cv_prog_cc_cross
11879 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
11880 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
11881 echo $ac_n "checking
for __builtin_cosl linkage
""...
$ac_c" 1>&6
11882 echo "configure
:11883: checking
for __builtin_cosl linkage
" >&5
11883 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
11884 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
11885 echo $ac_n "(cached
) $ac_c" 1>&6
11888 cat > conftest.$ac_ext <<EOF
11889 #line 11890 "configure
"
11890 #include "confdefs.h
"
11896 if { (eval echo configure:11897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11898 glibcpp_cv_func___builtin_cosl_link=yes
11900 echo "configure
: failed program was
:" >&5
11901 cat conftest.$ac_ext >&5
11903 glibcpp_cv_func___builtin_cosl_link=no
11910 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
11911 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
11912 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11913 cat >> confdefs.h <<EOF
11914 #define ${ac_tr_func} 1
11922 if test x$dummyvar = x"yes"; then
11923 cat >> confdefs.h <<\EOF
11924 #define HAVE___BUILTIN_ABS 1
11927 cat >> confdefs.h <<\EOF
11928 #define HAVE___BUILTIN_LABS 1
11931 cat >> confdefs.h <<\EOF
11932 #define HAVE___BUILTIN_COS 1
11935 cat >> confdefs.h <<\EOF
11936 #define HAVE___BUILTIN_COSF 1
11939 cat >> confdefs.h <<\EOF
11940 #define HAVE___BUILTIN_COSL 1
11943 cat >> confdefs.h <<\EOF
11944 #define HAVE___BUILTIN_FABS 1
11947 cat >> confdefs.h <<\EOF
11948 #define HAVE___BUILTIN_FABSF 1
11951 cat >> confdefs.h <<\EOF
11952 #define HAVE___BUILTIN_FABSL 1
11955 cat >> confdefs.h <<\EOF
11956 #define HAVE___BUILTIN_SIN 1
11959 cat >> confdefs.h <<\EOF
11960 #define HAVE___BUILTIN_SINF 1
11963 cat >> confdefs.h <<\EOF
11964 #define HAVE___BUILTIN_SINL 1
11967 cat >> confdefs.h <<\EOF
11968 #define HAVE___BUILTIN_SQRT 1
11971 cat >> confdefs.h <<\EOF
11972 #define HAVE___BUILTIN_SQRTF 1
11975 cat >> confdefs.h <<\EOF
11976 #define HAVE___BUILTIN_SQRTL 1
11982 ac_test_CXXFLAGS="${CXXFLAGS+set}"
11983 ac_save_CXXFLAGS="$CXXFLAGS"
11984 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
11986 echo $ac_n "checking
for sin
in -lm""...
$ac_c" 1>&6
11987 echo "configure
:11988: checking
for sin
in -lm" >&5
11988 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
11989 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11990 echo $ac_n "(cached
) $ac_c" 1>&6
11992 ac_save_LIBS="$LIBS"
11994 cat > conftest.$ac_ext <<EOF
11995 #line 11996 "configure
"
11996 #include "confdefs.h
"
11997 /* Override any gcc2 internal prototype to avoid an error. */
11998 /* We use char because int might match the return type of a gcc2
11999 builtin and then its argument prototype would still apply. */
12006 if { (eval echo configure:12007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12008 eval "ac_cv_lib_
$ac_lib_var=yes"
12010 echo "configure
: failed program was
:" >&5
12011 cat conftest.$ac_ext >&5
12013 eval "ac_cv_lib_
$ac_lib_var=no
"
12016 LIBS="$ac_save_LIBS"
12019 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12020 echo "$ac_t""yes" 1>&6
12023 echo "$ac_t""no
" 1>&6
12026 ac_save_LIBS="$LIBS"
12031 echo $ac_n "checking
for isinf declaration
""...
$ac_c" 1>&6
12032 echo "configure
:12033: checking
for isinf declaration
" >&5
12033 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
12034 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
12035 echo $ac_n "(cached
) $ac_c" 1>&6
12040 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12041 ac_cpp='$CXXCPP $CPPFLAGS'
12042 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12043 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12044 cross_compiling=$ac_cv_prog_cxx_cross
12046 cat > conftest.$ac_ext <<EOF
12047 #line 12048 "configure
"
12048 #include "confdefs.h
"
12050 #ifdef HAVE_IEEEFP_H
12051 #include <ieeefp.h>
12058 if { (eval echo configure:12059: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12060 glibcpp_cv_func_isinf_use=yes
12062 echo "configure
: failed program was
:" >&5
12063 cat conftest.$ac_ext >&5
12065 glibcpp_cv_func_isinf_use=no
12069 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12070 ac_cpp='$CPP $CPPFLAGS'
12071 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12072 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12073 cross_compiling=$ac_cv_prog_cc_cross
12079 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
12081 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
12082 for ac_func in isinf
12084 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12085 echo "configure
:12086: checking
for $ac_func" >&5
12086 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12087 echo $ac_n "(cached
) $ac_c" 1>&6
12089 cat > conftest.$ac_ext <<EOF
12090 #line 12091 "configure
"
12091 #include "confdefs.h
"
12092 /* System header to define __stub macros and hopefully few prototypes,
12093 which can conflict with char $ac_func(); below. */
12094 #include <assert.h>
12095 /* Override any gcc2 internal prototype to avoid an error. */
12096 /* We use char because int might match the return type of a gcc2
12097 builtin and then its argument prototype would still apply. */
12102 /* The GNU C library defines this for functions which it implements
12103 to always fail with ENOSYS. Some functions are actually named
12104 something starting with __ and the normal name is an alias. */
12105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12113 if { (eval echo configure:12114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12115 eval "ac_cv_func_
$ac_func=yes"
12117 echo "configure
: failed program was
:" >&5
12118 cat conftest.$ac_ext >&5
12120 eval "ac_cv_func_
$ac_func=no
"
12125 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12126 echo "$ac_t""yes" 1>&6
12127 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12128 cat >> confdefs.h <<EOF
12129 #define $ac_tr_func 1
12133 echo "$ac_t""no
" 1>&6
12139 echo $ac_n "checking
for _isinf declaration
""...
$ac_c" 1>&6
12140 echo "configure
:12141: checking
for _isinf declaration
" >&5
12141 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
12142 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
12143 echo $ac_n "(cached
) $ac_c" 1>&6
12148 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12149 ac_cpp='$CXXCPP $CPPFLAGS'
12150 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12151 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12152 cross_compiling=$ac_cv_prog_cxx_cross
12154 cat > conftest.$ac_ext <<EOF
12155 #line 12156 "configure
"
12156 #include "confdefs.h
"
12158 #ifdef HAVE_IEEEFP_H
12159 #include <ieeefp.h>
12166 if { (eval echo configure:12167: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12168 glibcpp_cv_func__isinf_use=yes
12170 echo "configure
: failed program was
:" >&5
12171 cat conftest.$ac_ext >&5
12173 glibcpp_cv_func__isinf_use=no
12177 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12178 ac_cpp='$CPP $CPPFLAGS'
12179 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12180 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12181 cross_compiling=$ac_cv_prog_cc_cross
12187 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
12189 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
12190 for ac_func in _isinf
12192 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12193 echo "configure
:12194: checking
for $ac_func" >&5
12194 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12195 echo $ac_n "(cached
) $ac_c" 1>&6
12197 cat > conftest.$ac_ext <<EOF
12198 #line 12199 "configure
"
12199 #include "confdefs.h
"
12200 /* System header to define __stub macros and hopefully few prototypes,
12201 which can conflict with char $ac_func(); below. */
12202 #include <assert.h>
12203 /* Override any gcc2 internal prototype to avoid an error. */
12204 /* We use char because int might match the return type of a gcc2
12205 builtin and then its argument prototype would still apply. */
12210 /* The GNU C library defines this for functions which it implements
12211 to always fail with ENOSYS. Some functions are actually named
12212 something starting with __ and the normal name is an alias. */
12213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12221 if { (eval echo configure:12222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12223 eval "ac_cv_func_
$ac_func=yes"
12225 echo "configure
: failed program was
:" >&5
12226 cat conftest.$ac_ext >&5
12228 eval "ac_cv_func_
$ac_func=no
"
12233 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12234 echo "$ac_t""yes" 1>&6
12235 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12236 cat >> confdefs.h <<EOF
12237 #define $ac_tr_func 1
12241 echo "$ac_t""no
" 1>&6
12250 echo $ac_n "checking
for isnan declaration
""...
$ac_c" 1>&6
12251 echo "configure
:12252: checking
for isnan declaration
" >&5
12252 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
12253 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
12254 echo $ac_n "(cached
) $ac_c" 1>&6
12259 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12260 ac_cpp='$CXXCPP $CPPFLAGS'
12261 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12262 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12263 cross_compiling=$ac_cv_prog_cxx_cross
12265 cat > conftest.$ac_ext <<EOF
12266 #line 12267 "configure
"
12267 #include "confdefs.h
"
12269 #ifdef HAVE_IEEEFP_H
12270 #include <ieeefp.h>
12277 if { (eval echo configure:12278: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12279 glibcpp_cv_func_isnan_use=yes
12281 echo "configure
: failed program was
:" >&5
12282 cat conftest.$ac_ext >&5
12284 glibcpp_cv_func_isnan_use=no
12288 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12289 ac_cpp='$CPP $CPPFLAGS'
12290 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12291 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12292 cross_compiling=$ac_cv_prog_cc_cross
12298 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
12300 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
12301 for ac_func in isnan
12303 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12304 echo "configure
:12305: checking
for $ac_func" >&5
12305 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12306 echo $ac_n "(cached
) $ac_c" 1>&6
12308 cat > conftest.$ac_ext <<EOF
12309 #line 12310 "configure
"
12310 #include "confdefs.h
"
12311 /* System header to define __stub macros and hopefully few prototypes,
12312 which can conflict with char $ac_func(); below. */
12313 #include <assert.h>
12314 /* Override any gcc2 internal prototype to avoid an error. */
12315 /* We use char because int might match the return type of a gcc2
12316 builtin and then its argument prototype would still apply. */
12321 /* The GNU C library defines this for functions which it implements
12322 to always fail with ENOSYS. Some functions are actually named
12323 something starting with __ and the normal name is an alias. */
12324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12332 if { (eval echo configure:12333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12334 eval "ac_cv_func_
$ac_func=yes"
12336 echo "configure
: failed program was
:" >&5
12337 cat conftest.$ac_ext >&5
12339 eval "ac_cv_func_
$ac_func=no
"
12344 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12345 echo "$ac_t""yes" 1>&6
12346 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12347 cat >> confdefs.h <<EOF
12348 #define $ac_tr_func 1
12352 echo "$ac_t""no
" 1>&6
12358 echo $ac_n "checking
for _isnan declaration
""...
$ac_c" 1>&6
12359 echo "configure
:12360: checking
for _isnan declaration
" >&5
12360 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
12361 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
12362 echo $ac_n "(cached
) $ac_c" 1>&6
12367 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12368 ac_cpp='$CXXCPP $CPPFLAGS'
12369 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12370 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12371 cross_compiling=$ac_cv_prog_cxx_cross
12373 cat > conftest.$ac_ext <<EOF
12374 #line 12375 "configure
"
12375 #include "confdefs.h
"
12377 #ifdef HAVE_IEEEFP_H
12378 #include <ieeefp.h>
12385 if { (eval echo configure:12386: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12387 glibcpp_cv_func__isnan_use=yes
12389 echo "configure
: failed program was
:" >&5
12390 cat conftest.$ac_ext >&5
12392 glibcpp_cv_func__isnan_use=no
12396 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12397 ac_cpp='$CPP $CPPFLAGS'
12398 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12399 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12400 cross_compiling=$ac_cv_prog_cc_cross
12406 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
12408 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
12409 for ac_func in _isnan
12411 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12412 echo "configure
:12413: checking
for $ac_func" >&5
12413 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12414 echo $ac_n "(cached
) $ac_c" 1>&6
12416 cat > conftest.$ac_ext <<EOF
12417 #line 12418 "configure
"
12418 #include "confdefs.h
"
12419 /* System header to define __stub macros and hopefully few prototypes,
12420 which can conflict with char $ac_func(); below. */
12421 #include <assert.h>
12422 /* Override any gcc2 internal prototype to avoid an error. */
12423 /* We use char because int might match the return type of a gcc2
12424 builtin and then its argument prototype would still apply. */
12429 /* The GNU C library defines this for functions which it implements
12430 to always fail with ENOSYS. Some functions are actually named
12431 something starting with __ and the normal name is an alias. */
12432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12440 if { (eval echo configure:12441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12442 eval "ac_cv_func_
$ac_func=yes"
12444 echo "configure
: failed program was
:" >&5
12445 cat conftest.$ac_ext >&5
12447 eval "ac_cv_func_
$ac_func=no
"
12452 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12453 echo "$ac_t""yes" 1>&6
12454 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12455 cat >> confdefs.h <<EOF
12456 #define $ac_tr_func 1
12460 echo "$ac_t""no
" 1>&6
12469 echo $ac_n "checking
for finite declaration
""...
$ac_c" 1>&6
12470 echo "configure
:12471: checking
for finite declaration
" >&5
12471 if test x${glibcpp_cv_func_finite_use+set} != xset; then
12472 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
12473 echo $ac_n "(cached
) $ac_c" 1>&6
12478 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12479 ac_cpp='$CXXCPP $CPPFLAGS'
12480 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12481 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12482 cross_compiling=$ac_cv_prog_cxx_cross
12484 cat > conftest.$ac_ext <<EOF
12485 #line 12486 "configure
"
12486 #include "confdefs.h
"
12488 #ifdef HAVE_IEEEFP_H
12489 #include <ieeefp.h>
12496 if { (eval echo configure:12497: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12498 glibcpp_cv_func_finite_use=yes
12500 echo "configure
: failed program was
:" >&5
12501 cat conftest.$ac_ext >&5
12503 glibcpp_cv_func_finite_use=no
12507 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12508 ac_cpp='$CPP $CPPFLAGS'
12509 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12510 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12511 cross_compiling=$ac_cv_prog_cc_cross
12517 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
12519 if test x$glibcpp_cv_func_finite_use = x"yes"; then
12520 for ac_func in finite
12522 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12523 echo "configure
:12524: checking
for $ac_func" >&5
12524 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12525 echo $ac_n "(cached
) $ac_c" 1>&6
12527 cat > conftest.$ac_ext <<EOF
12528 #line 12529 "configure
"
12529 #include "confdefs.h
"
12530 /* System header to define __stub macros and hopefully few prototypes,
12531 which can conflict with char $ac_func(); below. */
12532 #include <assert.h>
12533 /* Override any gcc2 internal prototype to avoid an error. */
12534 /* We use char because int might match the return type of a gcc2
12535 builtin and then its argument prototype would still apply. */
12540 /* The GNU C library defines this for functions which it implements
12541 to always fail with ENOSYS. Some functions are actually named
12542 something starting with __ and the normal name is an alias. */
12543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12551 if { (eval echo configure:12552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12553 eval "ac_cv_func_
$ac_func=yes"
12555 echo "configure
: failed program was
:" >&5
12556 cat conftest.$ac_ext >&5
12558 eval "ac_cv_func_
$ac_func=no
"
12563 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12564 echo "$ac_t""yes" 1>&6
12565 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12566 cat >> confdefs.h <<EOF
12567 #define $ac_tr_func 1
12571 echo "$ac_t""no
" 1>&6
12577 echo $ac_n "checking
for _finite declaration
""...
$ac_c" 1>&6
12578 echo "configure
:12579: checking
for _finite declaration
" >&5
12579 if test x${glibcpp_cv_func__finite_use+set} != xset; then
12580 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
12581 echo $ac_n "(cached
) $ac_c" 1>&6
12586 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12587 ac_cpp='$CXXCPP $CPPFLAGS'
12588 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12589 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12590 cross_compiling=$ac_cv_prog_cxx_cross
12592 cat > conftest.$ac_ext <<EOF
12593 #line 12594 "configure
"
12594 #include "confdefs.h
"
12596 #ifdef HAVE_IEEEFP_H
12597 #include <ieeefp.h>
12604 if { (eval echo configure:12605: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12606 glibcpp_cv_func__finite_use=yes
12608 echo "configure
: failed program was
:" >&5
12609 cat conftest.$ac_ext >&5
12611 glibcpp_cv_func__finite_use=no
12615 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12616 ac_cpp='$CPP $CPPFLAGS'
12617 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12618 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12619 cross_compiling=$ac_cv_prog_cc_cross
12625 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
12627 if test x$glibcpp_cv_func__finite_use = x"yes"; then
12628 for ac_func in _finite
12630 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12631 echo "configure
:12632: checking
for $ac_func" >&5
12632 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12633 echo $ac_n "(cached
) $ac_c" 1>&6
12635 cat > conftest.$ac_ext <<EOF
12636 #line 12637 "configure
"
12637 #include "confdefs.h
"
12638 /* System header to define __stub macros and hopefully few prototypes,
12639 which can conflict with char $ac_func(); below. */
12640 #include <assert.h>
12641 /* Override any gcc2 internal prototype to avoid an error. */
12642 /* We use char because int might match the return type of a gcc2
12643 builtin and then its argument prototype would still apply. */
12648 /* The GNU C library defines this for functions which it implements
12649 to always fail with ENOSYS. Some functions are actually named
12650 something starting with __ and the normal name is an alias. */
12651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12659 if { (eval echo configure:12660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12661 eval "ac_cv_func_
$ac_func=yes"
12663 echo "configure
: failed program was
:" >&5
12664 cat conftest.$ac_ext >&5
12666 eval "ac_cv_func_
$ac_func=no
"
12671 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12672 echo "$ac_t""yes" 1>&6
12673 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12674 cat >> confdefs.h <<EOF
12675 #define $ac_tr_func 1
12679 echo "$ac_t""no
" 1>&6
12688 echo $ac_n "checking
for copysign declaration
""...
$ac_c" 1>&6
12689 echo "configure
:12690: checking
for copysign declaration
" >&5
12690 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
12691 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
12692 echo $ac_n "(cached
) $ac_c" 1>&6
12697 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12698 ac_cpp='$CXXCPP $CPPFLAGS'
12699 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12700 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12701 cross_compiling=$ac_cv_prog_cxx_cross
12703 cat > conftest.$ac_ext <<EOF
12704 #line 12705 "configure
"
12705 #include "confdefs.h
"
12711 if { (eval echo configure:12712: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12713 glibcpp_cv_func_copysign_use=yes
12715 echo "configure
: failed program was
:" >&5
12716 cat conftest.$ac_ext >&5
12718 glibcpp_cv_func_copysign_use=no
12722 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12723 ac_cpp='$CPP $CPPFLAGS'
12724 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12725 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12726 cross_compiling=$ac_cv_prog_cc_cross
12732 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
12734 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
12735 for ac_func in copysign
12737 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12738 echo "configure
:12739: checking
for $ac_func" >&5
12739 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12740 echo $ac_n "(cached
) $ac_c" 1>&6
12742 cat > conftest.$ac_ext <<EOF
12743 #line 12744 "configure
"
12744 #include "confdefs.h
"
12745 /* System header to define __stub macros and hopefully few prototypes,
12746 which can conflict with char $ac_func(); below. */
12747 #include <assert.h>
12748 /* Override any gcc2 internal prototype to avoid an error. */
12749 /* We use char because int might match the return type of a gcc2
12750 builtin and then its argument prototype would still apply. */
12755 /* The GNU C library defines this for functions which it implements
12756 to always fail with ENOSYS. Some functions are actually named
12757 something starting with __ and the normal name is an alias. */
12758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12766 if { (eval echo configure:12767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12768 eval "ac_cv_func_
$ac_func=yes"
12770 echo "configure
: failed program was
:" >&5
12771 cat conftest.$ac_ext >&5
12773 eval "ac_cv_func_
$ac_func=no
"
12778 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12779 echo "$ac_t""yes" 1>&6
12780 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12781 cat >> confdefs.h <<EOF
12782 #define $ac_tr_func 1
12786 echo "$ac_t""no
" 1>&6
12792 echo $ac_n "checking
for _copysign declaration
""...
$ac_c" 1>&6
12793 echo "configure
:12794: checking
for _copysign declaration
" >&5
12794 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
12795 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
12796 echo $ac_n "(cached
) $ac_c" 1>&6
12801 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12802 ac_cpp='$CXXCPP $CPPFLAGS'
12803 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12804 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12805 cross_compiling=$ac_cv_prog_cxx_cross
12807 cat > conftest.$ac_ext <<EOF
12808 #line 12809 "configure
"
12809 #include "confdefs.h
"
12815 if { (eval echo configure:12816: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12817 glibcpp_cv_func__copysign_use=yes
12819 echo "configure
: failed program was
:" >&5
12820 cat conftest.$ac_ext >&5
12822 glibcpp_cv_func__copysign_use=no
12826 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12827 ac_cpp='$CPP $CPPFLAGS'
12828 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12829 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12830 cross_compiling=$ac_cv_prog_cc_cross
12836 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
12838 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
12839 for ac_func in _copysign
12841 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12842 echo "configure
:12843: checking
for $ac_func" >&5
12843 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12844 echo $ac_n "(cached
) $ac_c" 1>&6
12846 cat > conftest.$ac_ext <<EOF
12847 #line 12848 "configure
"
12848 #include "confdefs.h
"
12849 /* System header to define __stub macros and hopefully few prototypes,
12850 which can conflict with char $ac_func(); below. */
12851 #include <assert.h>
12852 /* Override any gcc2 internal prototype to avoid an error. */
12853 /* We use char because int might match the return type of a gcc2
12854 builtin and then its argument prototype would still apply. */
12859 /* The GNU C library defines this for functions which it implements
12860 to always fail with ENOSYS. Some functions are actually named
12861 something starting with __ and the normal name is an alias. */
12862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12870 if { (eval echo configure:12871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12872 eval "ac_cv_func_
$ac_func=yes"
12874 echo "configure
: failed program was
:" >&5
12875 cat conftest.$ac_ext >&5
12877 eval "ac_cv_func_
$ac_func=no
"
12882 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12883 echo "$ac_t""yes" 1>&6
12884 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12885 cat >> confdefs.h <<EOF
12886 #define $ac_tr_func 1
12890 echo "$ac_t""no
" 1>&6
12899 echo $ac_n "checking
for sincos declaration
""...
$ac_c" 1>&6
12900 echo "configure
:12901: checking
for sincos declaration
" >&5
12901 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
12902 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
12903 echo $ac_n "(cached
) $ac_c" 1>&6
12908 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12909 ac_cpp='$CXXCPP $CPPFLAGS'
12910 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12911 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12912 cross_compiling=$ac_cv_prog_cxx_cross
12914 cat > conftest.$ac_ext <<EOF
12915 #line 12916 "configure
"
12916 #include "confdefs.h
"
12922 if { (eval echo configure:12923: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12924 glibcpp_cv_func_sincos_use=yes
12926 echo "configure
: failed program was
:" >&5
12927 cat conftest.$ac_ext >&5
12929 glibcpp_cv_func_sincos_use=no
12933 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12934 ac_cpp='$CPP $CPPFLAGS'
12935 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12936 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12937 cross_compiling=$ac_cv_prog_cc_cross
12943 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
12945 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
12946 for ac_func in sincos
12948 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12949 echo "configure
:12950: checking
for $ac_func" >&5
12950 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12951 echo $ac_n "(cached
) $ac_c" 1>&6
12953 cat > conftest.$ac_ext <<EOF
12954 #line 12955 "configure
"
12955 #include "confdefs.h
"
12956 /* System header to define __stub macros and hopefully few prototypes,
12957 which can conflict with char $ac_func(); below. */
12958 #include <assert.h>
12959 /* Override any gcc2 internal prototype to avoid an error. */
12960 /* We use char because int might match the return type of a gcc2
12961 builtin and then its argument prototype would still apply. */
12966 /* The GNU C library defines this for functions which it implements
12967 to always fail with ENOSYS. Some functions are actually named
12968 something starting with __ and the normal name is an alias. */
12969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12977 if { (eval echo configure:12978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12979 eval "ac_cv_func_
$ac_func=yes"
12981 echo "configure
: failed program was
:" >&5
12982 cat conftest.$ac_ext >&5
12984 eval "ac_cv_func_
$ac_func=no
"
12989 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12990 echo "$ac_t""yes" 1>&6
12991 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12992 cat >> confdefs.h <<EOF
12993 #define $ac_tr_func 1
12997 echo "$ac_t""no
" 1>&6
13003 echo $ac_n "checking
for _sincos declaration
""...
$ac_c" 1>&6
13004 echo "configure
:13005: checking
for _sincos declaration
" >&5
13005 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
13006 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
13007 echo $ac_n "(cached
) $ac_c" 1>&6
13012 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13013 ac_cpp='$CXXCPP $CPPFLAGS'
13014 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13015 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13016 cross_compiling=$ac_cv_prog_cxx_cross
13018 cat > conftest.$ac_ext <<EOF
13019 #line 13020 "configure
"
13020 #include "confdefs.h
"
13026 if { (eval echo configure:13027: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13028 glibcpp_cv_func__sincos_use=yes
13030 echo "configure
: failed program was
:" >&5
13031 cat conftest.$ac_ext >&5
13033 glibcpp_cv_func__sincos_use=no
13037 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13038 ac_cpp='$CPP $CPPFLAGS'
13039 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13040 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13041 cross_compiling=$ac_cv_prog_cc_cross
13047 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
13049 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
13050 for ac_func in _sincos
13052 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13053 echo "configure
:13054: checking
for $ac_func" >&5
13054 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13055 echo $ac_n "(cached
) $ac_c" 1>&6
13057 cat > conftest.$ac_ext <<EOF
13058 #line 13059 "configure
"
13059 #include "confdefs.h
"
13060 /* System header to define __stub macros and hopefully few prototypes,
13061 which can conflict with char $ac_func(); below. */
13062 #include <assert.h>
13063 /* Override any gcc2 internal prototype to avoid an error. */
13064 /* We use char because int might match the return type of a gcc2
13065 builtin and then its argument prototype would still apply. */
13070 /* The GNU C library defines this for functions which it implements
13071 to always fail with ENOSYS. Some functions are actually named
13072 something starting with __ and the normal name is an alias. */
13073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13081 if { (eval echo configure:13082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13083 eval "ac_cv_func_
$ac_func=yes"
13085 echo "configure
: failed program was
:" >&5
13086 cat conftest.$ac_ext >&5
13088 eval "ac_cv_func_
$ac_func=no
"
13093 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13094 echo "$ac_t""yes" 1>&6
13095 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13096 cat >> confdefs.h <<EOF
13097 #define $ac_tr_func 1
13101 echo "$ac_t""no
" 1>&6
13110 echo $ac_n "checking
for fpclass declaration
""...
$ac_c" 1>&6
13111 echo "configure
:13112: checking
for fpclass declaration
" >&5
13112 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
13113 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
13114 echo $ac_n "(cached
) $ac_c" 1>&6
13119 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13120 ac_cpp='$CXXCPP $CPPFLAGS'
13121 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13122 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13123 cross_compiling=$ac_cv_prog_cxx_cross
13125 cat > conftest.$ac_ext <<EOF
13126 #line 13127 "configure
"
13127 #include "confdefs.h
"
13129 #ifdef HAVE_IEEEFP_H
13130 #include <ieeefp.h>
13137 if { (eval echo configure:13138: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13139 glibcpp_cv_func_fpclass_use=yes
13141 echo "configure
: failed program was
:" >&5
13142 cat conftest.$ac_ext >&5
13144 glibcpp_cv_func_fpclass_use=no
13148 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13149 ac_cpp='$CPP $CPPFLAGS'
13150 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13151 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13152 cross_compiling=$ac_cv_prog_cc_cross
13158 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
13160 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
13161 for ac_func in fpclass
13163 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13164 echo "configure
:13165: checking
for $ac_func" >&5
13165 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13166 echo $ac_n "(cached
) $ac_c" 1>&6
13168 cat > conftest.$ac_ext <<EOF
13169 #line 13170 "configure
"
13170 #include "confdefs.h
"
13171 /* System header to define __stub macros and hopefully few prototypes,
13172 which can conflict with char $ac_func(); below. */
13173 #include <assert.h>
13174 /* Override any gcc2 internal prototype to avoid an error. */
13175 /* We use char because int might match the return type of a gcc2
13176 builtin and then its argument prototype would still apply. */
13181 /* The GNU C library defines this for functions which it implements
13182 to always fail with ENOSYS. Some functions are actually named
13183 something starting with __ and the normal name is an alias. */
13184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13192 if { (eval echo configure:13193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13194 eval "ac_cv_func_
$ac_func=yes"
13196 echo "configure
: failed program was
:" >&5
13197 cat conftest.$ac_ext >&5
13199 eval "ac_cv_func_
$ac_func=no
"
13204 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13205 echo "$ac_t""yes" 1>&6
13206 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13207 cat >> confdefs.h <<EOF
13208 #define $ac_tr_func 1
13212 echo "$ac_t""no
" 1>&6
13218 echo $ac_n "checking
for _fpclass declaration
""...
$ac_c" 1>&6
13219 echo "configure
:13220: checking
for _fpclass declaration
" >&5
13220 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
13221 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
13222 echo $ac_n "(cached
) $ac_c" 1>&6
13227 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13228 ac_cpp='$CXXCPP $CPPFLAGS'
13229 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13230 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13231 cross_compiling=$ac_cv_prog_cxx_cross
13233 cat > conftest.$ac_ext <<EOF
13234 #line 13235 "configure
"
13235 #include "confdefs.h
"
13237 #ifdef HAVE_IEEEFP_H
13238 #include <ieeefp.h>
13245 if { (eval echo configure:13246: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13247 glibcpp_cv_func__fpclass_use=yes
13249 echo "configure
: failed program was
:" >&5
13250 cat conftest.$ac_ext >&5
13252 glibcpp_cv_func__fpclass_use=no
13256 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13257 ac_cpp='$CPP $CPPFLAGS'
13258 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13259 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13260 cross_compiling=$ac_cv_prog_cc_cross
13266 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
13268 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
13269 for ac_func in _fpclass
13271 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13272 echo "configure
:13273: checking
for $ac_func" >&5
13273 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13274 echo $ac_n "(cached
) $ac_c" 1>&6
13276 cat > conftest.$ac_ext <<EOF
13277 #line 13278 "configure
"
13278 #include "confdefs.h
"
13279 /* System header to define __stub macros and hopefully few prototypes,
13280 which can conflict with char $ac_func(); below. */
13281 #include <assert.h>
13282 /* Override any gcc2 internal prototype to avoid an error. */
13283 /* We use char because int might match the return type of a gcc2
13284 builtin and then its argument prototype would still apply. */
13289 /* The GNU C library defines this for functions which it implements
13290 to always fail with ENOSYS. Some functions are actually named
13291 something starting with __ and the normal name is an alias. */
13292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13300 if { (eval echo configure:13301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13302 eval "ac_cv_func_
$ac_func=yes"
13304 echo "configure
: failed program was
:" >&5
13305 cat conftest.$ac_ext >&5
13307 eval "ac_cv_func_
$ac_func=no
"
13312 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13313 echo "$ac_t""yes" 1>&6
13314 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13315 cat >> confdefs.h <<EOF
13316 #define $ac_tr_func 1
13320 echo "$ac_t""no
" 1>&6
13329 echo $ac_n "checking
for qfpclass declaration
""...
$ac_c" 1>&6
13330 echo "configure
:13331: checking
for qfpclass declaration
" >&5
13331 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
13332 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
13333 echo $ac_n "(cached
) $ac_c" 1>&6
13338 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13339 ac_cpp='$CXXCPP $CPPFLAGS'
13340 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13341 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13342 cross_compiling=$ac_cv_prog_cxx_cross
13344 cat > conftest.$ac_ext <<EOF
13345 #line 13346 "configure
"
13346 #include "confdefs.h
"
13348 #ifdef HAVE_IEEEFP_H
13349 #include <ieeefp.h>
13356 if { (eval echo configure:13357: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13358 glibcpp_cv_func_qfpclass_use=yes
13360 echo "configure
: failed program was
:" >&5
13361 cat conftest.$ac_ext >&5
13363 glibcpp_cv_func_qfpclass_use=no
13367 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13368 ac_cpp='$CPP $CPPFLAGS'
13369 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13370 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13371 cross_compiling=$ac_cv_prog_cc_cross
13377 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
13379 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
13380 for ac_func in qfpclass
13382 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13383 echo "configure
:13384: checking
for $ac_func" >&5
13384 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13385 echo $ac_n "(cached
) $ac_c" 1>&6
13387 cat > conftest.$ac_ext <<EOF
13388 #line 13389 "configure
"
13389 #include "confdefs.h
"
13390 /* System header to define __stub macros and hopefully few prototypes,
13391 which can conflict with char $ac_func(); below. */
13392 #include <assert.h>
13393 /* Override any gcc2 internal prototype to avoid an error. */
13394 /* We use char because int might match the return type of a gcc2
13395 builtin and then its argument prototype would still apply. */
13400 /* The GNU C library defines this for functions which it implements
13401 to always fail with ENOSYS. Some functions are actually named
13402 something starting with __ and the normal name is an alias. */
13403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13411 if { (eval echo configure:13412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13413 eval "ac_cv_func_
$ac_func=yes"
13415 echo "configure
: failed program was
:" >&5
13416 cat conftest.$ac_ext >&5
13418 eval "ac_cv_func_
$ac_func=no
"
13423 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13424 echo "$ac_t""yes" 1>&6
13425 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13426 cat >> confdefs.h <<EOF
13427 #define $ac_tr_func 1
13431 echo "$ac_t""no
" 1>&6
13437 echo $ac_n "checking
for _qfpclass declaration
""...
$ac_c" 1>&6
13438 echo "configure
:13439: checking
for _qfpclass declaration
" >&5
13439 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
13440 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
13441 echo $ac_n "(cached
) $ac_c" 1>&6
13446 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13447 ac_cpp='$CXXCPP $CPPFLAGS'
13448 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13449 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13450 cross_compiling=$ac_cv_prog_cxx_cross
13452 cat > conftest.$ac_ext <<EOF
13453 #line 13454 "configure
"
13454 #include "confdefs.h
"
13456 #ifdef HAVE_IEEEFP_H
13457 #include <ieeefp.h>
13464 if { (eval echo configure:13465: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13466 glibcpp_cv_func__qfpclass_use=yes
13468 echo "configure
: failed program was
:" >&5
13469 cat conftest.$ac_ext >&5
13471 glibcpp_cv_func__qfpclass_use=no
13475 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13476 ac_cpp='$CPP $CPPFLAGS'
13477 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13478 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13479 cross_compiling=$ac_cv_prog_cc_cross
13485 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
13487 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
13488 for ac_func in _qfpclass
13490 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13491 echo "configure
:13492: checking
for $ac_func" >&5
13492 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13493 echo $ac_n "(cached
) $ac_c" 1>&6
13495 cat > conftest.$ac_ext <<EOF
13496 #line 13497 "configure
"
13497 #include "confdefs.h
"
13498 /* System header to define __stub macros and hopefully few prototypes,
13499 which can conflict with char $ac_func(); below. */
13500 #include <assert.h>
13501 /* Override any gcc2 internal prototype to avoid an error. */
13502 /* We use char because int might match the return type of a gcc2
13503 builtin and then its argument prototype would still apply. */
13508 /* The GNU C library defines this for functions which it implements
13509 to always fail with ENOSYS. Some functions are actually named
13510 something starting with __ and the normal name is an alias. */
13511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13519 if { (eval echo configure:13520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13521 eval "ac_cv_func_
$ac_func=yes"
13523 echo "configure
: failed program was
:" >&5
13524 cat conftest.$ac_ext >&5
13526 eval "ac_cv_func_
$ac_func=no
"
13531 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13532 echo "$ac_t""yes" 1>&6
13533 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13534 cat >> confdefs.h <<EOF
13535 #define $ac_tr_func 1
13539 echo "$ac_t""no
" 1>&6
13548 echo $ac_n "checking
for hypot declaration
""...
$ac_c" 1>&6
13549 echo "configure
:13550: checking
for hypot declaration
" >&5
13550 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
13551 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
13552 echo $ac_n "(cached
) $ac_c" 1>&6
13557 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13558 ac_cpp='$CXXCPP $CPPFLAGS'
13559 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13560 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13561 cross_compiling=$ac_cv_prog_cxx_cross
13563 cat > conftest.$ac_ext <<EOF
13564 #line 13565 "configure
"
13565 #include "confdefs.h
"
13571 if { (eval echo configure:13572: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13573 glibcpp_cv_func_hypot_use=yes
13575 echo "configure
: failed program was
:" >&5
13576 cat conftest.$ac_ext >&5
13578 glibcpp_cv_func_hypot_use=no
13582 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13583 ac_cpp='$CPP $CPPFLAGS'
13584 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13585 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13586 cross_compiling=$ac_cv_prog_cc_cross
13592 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
13594 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
13595 for ac_func in hypot
13597 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13598 echo "configure
:13599: checking
for $ac_func" >&5
13599 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13600 echo $ac_n "(cached
) $ac_c" 1>&6
13602 cat > conftest.$ac_ext <<EOF
13603 #line 13604 "configure
"
13604 #include "confdefs.h
"
13605 /* System header to define __stub macros and hopefully few prototypes,
13606 which can conflict with char $ac_func(); below. */
13607 #include <assert.h>
13608 /* Override any gcc2 internal prototype to avoid an error. */
13609 /* We use char because int might match the return type of a gcc2
13610 builtin and then its argument prototype would still apply. */
13615 /* The GNU C library defines this for functions which it implements
13616 to always fail with ENOSYS. Some functions are actually named
13617 something starting with __ and the normal name is an alias. */
13618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13626 if { (eval echo configure:13627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13628 eval "ac_cv_func_
$ac_func=yes"
13630 echo "configure
: failed program was
:" >&5
13631 cat conftest.$ac_ext >&5
13633 eval "ac_cv_func_
$ac_func=no
"
13638 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13639 echo "$ac_t""yes" 1>&6
13640 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13641 cat >> confdefs.h <<EOF
13642 #define $ac_tr_func 1
13646 echo "$ac_t""no
" 1>&6
13652 echo $ac_n "checking
for _hypot declaration
""...
$ac_c" 1>&6
13653 echo "configure
:13654: checking
for _hypot declaration
" >&5
13654 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
13655 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
13656 echo $ac_n "(cached
) $ac_c" 1>&6
13661 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13662 ac_cpp='$CXXCPP $CPPFLAGS'
13663 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13664 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13665 cross_compiling=$ac_cv_prog_cxx_cross
13667 cat > conftest.$ac_ext <<EOF
13668 #line 13669 "configure
"
13669 #include "confdefs.h
"
13675 if { (eval echo configure:13676: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13677 glibcpp_cv_func__hypot_use=yes
13679 echo "configure
: failed program was
:" >&5
13680 cat conftest.$ac_ext >&5
13682 glibcpp_cv_func__hypot_use=no
13686 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13687 ac_cpp='$CPP $CPPFLAGS'
13688 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13689 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13690 cross_compiling=$ac_cv_prog_cc_cross
13696 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
13698 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
13699 for ac_func in _hypot
13701 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13702 echo "configure
:13703: checking
for $ac_func" >&5
13703 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13704 echo $ac_n "(cached
) $ac_c" 1>&6
13706 cat > conftest.$ac_ext <<EOF
13707 #line 13708 "configure
"
13708 #include "confdefs.h
"
13709 /* System header to define __stub macros and hopefully few prototypes,
13710 which can conflict with char $ac_func(); below. */
13711 #include <assert.h>
13712 /* Override any gcc2 internal prototype to avoid an error. */
13713 /* We use char because int might match the return type of a gcc2
13714 builtin and then its argument prototype would still apply. */
13719 /* The GNU C library defines this for functions which it implements
13720 to always fail with ENOSYS. Some functions are actually named
13721 something starting with __ and the normal name is an alias. */
13722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13730 if { (eval echo configure:13731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13732 eval "ac_cv_func_
$ac_func=yes"
13734 echo "configure
: failed program was
:" >&5
13735 cat conftest.$ac_ext >&5
13737 eval "ac_cv_func_
$ac_func=no
"
13742 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13743 echo "$ac_t""yes" 1>&6
13744 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13745 cat >> confdefs.h <<EOF
13746 #define $ac_tr_func 1
13750 echo "$ac_t""no
" 1>&6
13759 echo $ac_n "checking
for float trig functions
""...
$ac_c" 1>&6
13760 echo "configure
:13761: checking
for float trig functions
" >&5
13761 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
13762 echo $ac_n "(cached
) $ac_c" 1>&6
13767 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13768 ac_cpp='$CXXCPP $CPPFLAGS'
13769 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13770 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13771 cross_compiling=$ac_cv_prog_cxx_cross
13773 cat > conftest.$ac_ext <<EOF
13774 #line 13775 "configure
"
13775 #include "confdefs.h
"
13778 `for x in acosf asinf atanf \
13780 coshf sinhf tanhf; do echo "$x (0);"; done`
13783 if { (eval echo configure:13784: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13785 glibcpp_cv_func_float_trig_use=yes
13787 echo "configure
: failed program was
:" >&5
13788 cat conftest.$ac_ext >&5
13790 glibcpp_cv_func_float_trig_use=no
13794 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13795 ac_cpp='$CPP $CPPFLAGS'
13796 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13797 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13798 cross_compiling=$ac_cv_prog_cc_cross
13802 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
13803 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
13804 for ac_func in acosf asinf atanf \
13808 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13809 echo "configure
:13810: checking
for $ac_func" >&5
13810 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13811 echo $ac_n "(cached
) $ac_c" 1>&6
13813 cat > conftest.$ac_ext <<EOF
13814 #line 13815 "configure
"
13815 #include "confdefs.h
"
13816 /* System header to define __stub macros and hopefully few prototypes,
13817 which can conflict with char $ac_func(); below. */
13818 #include <assert.h>
13819 /* Override any gcc2 internal prototype to avoid an error. */
13820 /* We use char because int might match the return type of a gcc2
13821 builtin and then its argument prototype would still apply. */
13826 /* The GNU C library defines this for functions which it implements
13827 to always fail with ENOSYS. Some functions are actually named
13828 something starting with __ and the normal name is an alias. */
13829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13837 if { (eval echo configure:13838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13839 eval "ac_cv_func_
$ac_func=yes"
13841 echo "configure
: failed program was
:" >&5
13842 cat conftest.$ac_ext >&5
13844 eval "ac_cv_func_
$ac_func=no
"
13849 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13850 echo "$ac_t""yes" 1>&6
13851 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13852 cat >> confdefs.h <<EOF
13853 #define $ac_tr_func 1
13857 echo "$ac_t""no
" 1>&6
13864 echo $ac_n "checking
for float round functions
""...
$ac_c" 1>&6
13865 echo "configure
:13866: checking
for float round functions
" >&5
13866 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
13867 echo $ac_n "(cached
) $ac_c" 1>&6
13872 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13873 ac_cpp='$CXXCPP $CPPFLAGS'
13874 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13875 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13876 cross_compiling=$ac_cv_prog_cxx_cross
13878 cat > conftest.$ac_ext <<EOF
13879 #line 13880 "configure
"
13880 #include "confdefs.h
"
13883 `for x in ceilf floorf; do echo "$x (0);"; done`
13886 if { (eval echo configure:13887: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13888 glibcpp_cv_func_float_round_use=yes
13890 echo "configure
: failed program was
:" >&5
13891 cat conftest.$ac_ext >&5
13893 glibcpp_cv_func_float_round_use=no
13897 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13898 ac_cpp='$CPP $CPPFLAGS'
13899 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13900 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13901 cross_compiling=$ac_cv_prog_cc_cross
13905 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
13906 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
13907 for ac_func in ceilf floorf
13909 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13910 echo "configure
:13911: checking
for $ac_func" >&5
13911 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13912 echo $ac_n "(cached
) $ac_c" 1>&6
13914 cat > conftest.$ac_ext <<EOF
13915 #line 13916 "configure
"
13916 #include "confdefs.h
"
13917 /* System header to define __stub macros and hopefully few prototypes,
13918 which can conflict with char $ac_func(); below. */
13919 #include <assert.h>
13920 /* Override any gcc2 internal prototype to avoid an error. */
13921 /* We use char because int might match the return type of a gcc2
13922 builtin and then its argument prototype would still apply. */
13927 /* The GNU C library defines this for functions which it implements
13928 to always fail with ENOSYS. Some functions are actually named
13929 something starting with __ and the normal name is an alias. */
13930 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13938 if { (eval echo configure:13939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13940 eval "ac_cv_func_
$ac_func=yes"
13942 echo "configure
: failed program was
:" >&5
13943 cat conftest.$ac_ext >&5
13945 eval "ac_cv_func_
$ac_func=no
"
13950 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13951 echo "$ac_t""yes" 1>&6
13952 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13953 cat >> confdefs.h <<EOF
13954 #define $ac_tr_func 1
13958 echo "$ac_t""no
" 1>&6
13966 echo $ac_n "checking
for expf declaration
""...
$ac_c" 1>&6
13967 echo "configure
:13968: checking
for expf declaration
" >&5
13968 if test x${glibcpp_cv_func_expf_use+set} != xset; then
13969 if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
13970 echo $ac_n "(cached
) $ac_c" 1>&6
13975 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13976 ac_cpp='$CXXCPP $CPPFLAGS'
13977 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13978 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13979 cross_compiling=$ac_cv_prog_cxx_cross
13981 cat > conftest.$ac_ext <<EOF
13982 #line 13983 "configure
"
13983 #include "confdefs.h
"
13985 #ifdef HAVE_IEEEFP_H
13986 #include <ieeefp.h>
13993 if { (eval echo configure:13994: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13995 glibcpp_cv_func_expf_use=yes
13997 echo "configure
: failed program was
:" >&5
13998 cat conftest.$ac_ext >&5
14000 glibcpp_cv_func_expf_use=no
14004 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14005 ac_cpp='$CPP $CPPFLAGS'
14006 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14007 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14008 cross_compiling=$ac_cv_prog_cc_cross
14014 echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
14016 if test x$glibcpp_cv_func_expf_use = x"yes"; then
14017 for ac_func in expf
14019 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14020 echo "configure
:14021: checking
for $ac_func" >&5
14021 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14022 echo $ac_n "(cached
) $ac_c" 1>&6
14024 cat > conftest.$ac_ext <<EOF
14025 #line 14026 "configure
"
14026 #include "confdefs.h
"
14027 /* System header to define __stub macros and hopefully few prototypes,
14028 which can conflict with char $ac_func(); below. */
14029 #include <assert.h>
14030 /* Override any gcc2 internal prototype to avoid an error. */
14031 /* We use char because int might match the return type of a gcc2
14032 builtin and then its argument prototype would still apply. */
14037 /* The GNU C library defines this for functions which it implements
14038 to always fail with ENOSYS. Some functions are actually named
14039 something starting with __ and the normal name is an alias. */
14040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14048 if { (eval echo configure:14049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14050 eval "ac_cv_func_
$ac_func=yes"
14052 echo "configure
: failed program was
:" >&5
14053 cat conftest.$ac_ext >&5
14055 eval "ac_cv_func_
$ac_func=no
"
14060 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14061 echo "$ac_t""yes" 1>&6
14062 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14063 cat >> confdefs.h <<EOF
14064 #define $ac_tr_func 1
14068 echo "$ac_t""no
" 1>&6
14074 echo $ac_n "checking
for _expf declaration
""...
$ac_c" 1>&6
14075 echo "configure
:14076: checking
for _expf declaration
" >&5
14076 if test x${glibcpp_cv_func__expf_use+set} != xset; then
14077 if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
14078 echo $ac_n "(cached
) $ac_c" 1>&6
14083 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14084 ac_cpp='$CXXCPP $CPPFLAGS'
14085 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14086 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14087 cross_compiling=$ac_cv_prog_cxx_cross
14089 cat > conftest.$ac_ext <<EOF
14090 #line 14091 "configure
"
14091 #include "confdefs.h
"
14093 #ifdef HAVE_IEEEFP_H
14094 #include <ieeefp.h>
14101 if { (eval echo configure:14102: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14103 glibcpp_cv_func__expf_use=yes
14105 echo "configure
: failed program was
:" >&5
14106 cat conftest.$ac_ext >&5
14108 glibcpp_cv_func__expf_use=no
14112 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14113 ac_cpp='$CPP $CPPFLAGS'
14114 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14115 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14116 cross_compiling=$ac_cv_prog_cc_cross
14122 echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
14124 if test x$glibcpp_cv_func__expf_use = x"yes"; then
14125 for ac_func in _expf
14127 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14128 echo "configure
:14129: checking
for $ac_func" >&5
14129 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14130 echo $ac_n "(cached
) $ac_c" 1>&6
14132 cat > conftest.$ac_ext <<EOF
14133 #line 14134 "configure
"
14134 #include "confdefs.h
"
14135 /* System header to define __stub macros and hopefully few prototypes,
14136 which can conflict with char $ac_func(); below. */
14137 #include <assert.h>
14138 /* Override any gcc2 internal prototype to avoid an error. */
14139 /* We use char because int might match the return type of a gcc2
14140 builtin and then its argument prototype would still apply. */
14145 /* The GNU C library defines this for functions which it implements
14146 to always fail with ENOSYS. Some functions are actually named
14147 something starting with __ and the normal name is an alias. */
14148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14156 if { (eval echo configure:14157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14158 eval "ac_cv_func_
$ac_func=yes"
14160 echo "configure
: failed program was
:" >&5
14161 cat conftest.$ac_ext >&5
14163 eval "ac_cv_func_
$ac_func=no
"
14168 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14169 echo "$ac_t""yes" 1>&6
14170 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14171 cat >> confdefs.h <<EOF
14172 #define $ac_tr_func 1
14176 echo "$ac_t""no
" 1>&6
14185 echo $ac_n "checking
for isnanf declaration
""...
$ac_c" 1>&6
14186 echo "configure
:14187: checking
for isnanf declaration
" >&5
14187 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
14188 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
14189 echo $ac_n "(cached
) $ac_c" 1>&6
14194 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14195 ac_cpp='$CXXCPP $CPPFLAGS'
14196 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14197 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14198 cross_compiling=$ac_cv_prog_cxx_cross
14200 cat > conftest.$ac_ext <<EOF
14201 #line 14202 "configure
"
14202 #include "confdefs.h
"
14204 #ifdef HAVE_IEEEFP_H
14205 #include <ieeefp.h>
14212 if { (eval echo configure:14213: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14214 glibcpp_cv_func_isnanf_use=yes
14216 echo "configure
: failed program was
:" >&5
14217 cat conftest.$ac_ext >&5
14219 glibcpp_cv_func_isnanf_use=no
14223 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14224 ac_cpp='$CPP $CPPFLAGS'
14225 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14226 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14227 cross_compiling=$ac_cv_prog_cc_cross
14233 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
14235 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
14236 for ac_func in isnanf
14238 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14239 echo "configure
:14240: checking
for $ac_func" >&5
14240 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14241 echo $ac_n "(cached
) $ac_c" 1>&6
14243 cat > conftest.$ac_ext <<EOF
14244 #line 14245 "configure
"
14245 #include "confdefs.h
"
14246 /* System header to define __stub macros and hopefully few prototypes,
14247 which can conflict with char $ac_func(); below. */
14248 #include <assert.h>
14249 /* Override any gcc2 internal prototype to avoid an error. */
14250 /* We use char because int might match the return type of a gcc2
14251 builtin and then its argument prototype would still apply. */
14256 /* The GNU C library defines this for functions which it implements
14257 to always fail with ENOSYS. Some functions are actually named
14258 something starting with __ and the normal name is an alias. */
14259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14267 if { (eval echo configure:14268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14269 eval "ac_cv_func_
$ac_func=yes"
14271 echo "configure
: failed program was
:" >&5
14272 cat conftest.$ac_ext >&5
14274 eval "ac_cv_func_
$ac_func=no
"
14279 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14280 echo "$ac_t""yes" 1>&6
14281 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14282 cat >> confdefs.h <<EOF
14283 #define $ac_tr_func 1
14287 echo "$ac_t""no
" 1>&6
14293 echo $ac_n "checking
for _isnanf declaration
""...
$ac_c" 1>&6
14294 echo "configure
:14295: checking
for _isnanf declaration
" >&5
14295 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
14296 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
14297 echo $ac_n "(cached
) $ac_c" 1>&6
14302 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14303 ac_cpp='$CXXCPP $CPPFLAGS'
14304 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14305 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14306 cross_compiling=$ac_cv_prog_cxx_cross
14308 cat > conftest.$ac_ext <<EOF
14309 #line 14310 "configure
"
14310 #include "confdefs.h
"
14312 #ifdef HAVE_IEEEFP_H
14313 #include <ieeefp.h>
14320 if { (eval echo configure:14321: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14322 glibcpp_cv_func__isnanf_use=yes
14324 echo "configure
: failed program was
:" >&5
14325 cat conftest.$ac_ext >&5
14327 glibcpp_cv_func__isnanf_use=no
14331 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14332 ac_cpp='$CPP $CPPFLAGS'
14333 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14334 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14335 cross_compiling=$ac_cv_prog_cc_cross
14341 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
14343 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
14344 for ac_func in _isnanf
14346 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14347 echo "configure
:14348: checking
for $ac_func" >&5
14348 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14349 echo $ac_n "(cached
) $ac_c" 1>&6
14351 cat > conftest.$ac_ext <<EOF
14352 #line 14353 "configure
"
14353 #include "confdefs.h
"
14354 /* System header to define __stub macros and hopefully few prototypes,
14355 which can conflict with char $ac_func(); below. */
14356 #include <assert.h>
14357 /* Override any gcc2 internal prototype to avoid an error. */
14358 /* We use char because int might match the return type of a gcc2
14359 builtin and then its argument prototype would still apply. */
14364 /* The GNU C library defines this for functions which it implements
14365 to always fail with ENOSYS. Some functions are actually named
14366 something starting with __ and the normal name is an alias. */
14367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14375 if { (eval echo configure:14376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14377 eval "ac_cv_func_
$ac_func=yes"
14379 echo "configure
: failed program was
:" >&5
14380 cat conftest.$ac_ext >&5
14382 eval "ac_cv_func_
$ac_func=no
"
14387 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14388 echo "$ac_t""yes" 1>&6
14389 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14390 cat >> confdefs.h <<EOF
14391 #define $ac_tr_func 1
14395 echo "$ac_t""no
" 1>&6
14404 echo $ac_n "checking
for isinff declaration
""...
$ac_c" 1>&6
14405 echo "configure
:14406: checking
for isinff declaration
" >&5
14406 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
14407 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
14408 echo $ac_n "(cached
) $ac_c" 1>&6
14413 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14414 ac_cpp='$CXXCPP $CPPFLAGS'
14415 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14416 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14417 cross_compiling=$ac_cv_prog_cxx_cross
14419 cat > conftest.$ac_ext <<EOF
14420 #line 14421 "configure
"
14421 #include "confdefs.h
"
14423 #ifdef HAVE_IEEEFP_H
14424 #include <ieeefp.h>
14431 if { (eval echo configure:14432: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14433 glibcpp_cv_func_isinff_use=yes
14435 echo "configure
: failed program was
:" >&5
14436 cat conftest.$ac_ext >&5
14438 glibcpp_cv_func_isinff_use=no
14442 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14443 ac_cpp='$CPP $CPPFLAGS'
14444 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14445 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14446 cross_compiling=$ac_cv_prog_cc_cross
14452 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
14454 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
14455 for ac_func in isinff
14457 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14458 echo "configure
:14459: checking
for $ac_func" >&5
14459 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14460 echo $ac_n "(cached
) $ac_c" 1>&6
14462 cat > conftest.$ac_ext <<EOF
14463 #line 14464 "configure
"
14464 #include "confdefs.h
"
14465 /* System header to define __stub macros and hopefully few prototypes,
14466 which can conflict with char $ac_func(); below. */
14467 #include <assert.h>
14468 /* Override any gcc2 internal prototype to avoid an error. */
14469 /* We use char because int might match the return type of a gcc2
14470 builtin and then its argument prototype would still apply. */
14475 /* The GNU C library defines this for functions which it implements
14476 to always fail with ENOSYS. Some functions are actually named
14477 something starting with __ and the normal name is an alias. */
14478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14486 if { (eval echo configure:14487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14488 eval "ac_cv_func_
$ac_func=yes"
14490 echo "configure
: failed program was
:" >&5
14491 cat conftest.$ac_ext >&5
14493 eval "ac_cv_func_
$ac_func=no
"
14498 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14499 echo "$ac_t""yes" 1>&6
14500 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14501 cat >> confdefs.h <<EOF
14502 #define $ac_tr_func 1
14506 echo "$ac_t""no
" 1>&6
14512 echo $ac_n "checking
for _isinff declaration
""...
$ac_c" 1>&6
14513 echo "configure
:14514: checking
for _isinff declaration
" >&5
14514 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
14515 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
14516 echo $ac_n "(cached
) $ac_c" 1>&6
14521 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14522 ac_cpp='$CXXCPP $CPPFLAGS'
14523 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14524 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14525 cross_compiling=$ac_cv_prog_cxx_cross
14527 cat > conftest.$ac_ext <<EOF
14528 #line 14529 "configure
"
14529 #include "confdefs.h
"
14531 #ifdef HAVE_IEEEFP_H
14532 #include <ieeefp.h>
14539 if { (eval echo configure:14540: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14541 glibcpp_cv_func__isinff_use=yes
14543 echo "configure
: failed program was
:" >&5
14544 cat conftest.$ac_ext >&5
14546 glibcpp_cv_func__isinff_use=no
14550 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14551 ac_cpp='$CPP $CPPFLAGS'
14552 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14553 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14554 cross_compiling=$ac_cv_prog_cc_cross
14560 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
14562 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
14563 for ac_func in _isinff
14565 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14566 echo "configure
:14567: checking
for $ac_func" >&5
14567 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14568 echo $ac_n "(cached
) $ac_c" 1>&6
14570 cat > conftest.$ac_ext <<EOF
14571 #line 14572 "configure
"
14572 #include "confdefs.h
"
14573 /* System header to define __stub macros and hopefully few prototypes,
14574 which can conflict with char $ac_func(); below. */
14575 #include <assert.h>
14576 /* Override any gcc2 internal prototype to avoid an error. */
14577 /* We use char because int might match the return type of a gcc2
14578 builtin and then its argument prototype would still apply. */
14583 /* The GNU C library defines this for functions which it implements
14584 to always fail with ENOSYS. Some functions are actually named
14585 something starting with __ and the normal name is an alias. */
14586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14594 if { (eval echo configure:14595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14596 eval "ac_cv_func_
$ac_func=yes"
14598 echo "configure
: failed program was
:" >&5
14599 cat conftest.$ac_ext >&5
14601 eval "ac_cv_func_
$ac_func=no
"
14606 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14607 echo "$ac_t""yes" 1>&6
14608 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14609 cat >> confdefs.h <<EOF
14610 #define $ac_tr_func 1
14614 echo "$ac_t""no
" 1>&6
14623 echo $ac_n "checking
for atan2f declaration
""...
$ac_c" 1>&6
14624 echo "configure
:14625: checking
for atan2f declaration
" >&5
14625 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
14626 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
14627 echo $ac_n "(cached
) $ac_c" 1>&6
14632 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14633 ac_cpp='$CXXCPP $CPPFLAGS'
14634 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14635 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14636 cross_compiling=$ac_cv_prog_cxx_cross
14638 cat > conftest.$ac_ext <<EOF
14639 #line 14640 "configure
"
14640 #include "confdefs.h
"
14646 if { (eval echo configure:14647: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14648 glibcpp_cv_func_atan2f_use=yes
14650 echo "configure
: failed program was
:" >&5
14651 cat conftest.$ac_ext >&5
14653 glibcpp_cv_func_atan2f_use=no
14657 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14658 ac_cpp='$CPP $CPPFLAGS'
14659 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14660 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14661 cross_compiling=$ac_cv_prog_cc_cross
14667 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
14669 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
14670 for ac_func in atan2f
14672 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14673 echo "configure
:14674: checking
for $ac_func" >&5
14674 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14675 echo $ac_n "(cached
) $ac_c" 1>&6
14677 cat > conftest.$ac_ext <<EOF
14678 #line 14679 "configure
"
14679 #include "confdefs.h
"
14680 /* System header to define __stub macros and hopefully few prototypes,
14681 which can conflict with char $ac_func(); below. */
14682 #include <assert.h>
14683 /* Override any gcc2 internal prototype to avoid an error. */
14684 /* We use char because int might match the return type of a gcc2
14685 builtin and then its argument prototype would still apply. */
14690 /* The GNU C library defines this for functions which it implements
14691 to always fail with ENOSYS. Some functions are actually named
14692 something starting with __ and the normal name is an alias. */
14693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14701 if { (eval echo configure:14702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14703 eval "ac_cv_func_
$ac_func=yes"
14705 echo "configure
: failed program was
:" >&5
14706 cat conftest.$ac_ext >&5
14708 eval "ac_cv_func_
$ac_func=no
"
14713 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14714 echo "$ac_t""yes" 1>&6
14715 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14716 cat >> confdefs.h <<EOF
14717 #define $ac_tr_func 1
14721 echo "$ac_t""no
" 1>&6
14727 echo $ac_n "checking
for _atan2f declaration
""...
$ac_c" 1>&6
14728 echo "configure
:14729: checking
for _atan2f declaration
" >&5
14729 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
14730 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
14731 echo $ac_n "(cached
) $ac_c" 1>&6
14736 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14737 ac_cpp='$CXXCPP $CPPFLAGS'
14738 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14739 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14740 cross_compiling=$ac_cv_prog_cxx_cross
14742 cat > conftest.$ac_ext <<EOF
14743 #line 14744 "configure
"
14744 #include "confdefs.h
"
14750 if { (eval echo configure:14751: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14752 glibcpp_cv_func__atan2f_use=yes
14754 echo "configure
: failed program was
:" >&5
14755 cat conftest.$ac_ext >&5
14757 glibcpp_cv_func__atan2f_use=no
14761 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14762 ac_cpp='$CPP $CPPFLAGS'
14763 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14764 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14765 cross_compiling=$ac_cv_prog_cc_cross
14771 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
14773 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
14774 for ac_func in _atan2f
14776 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14777 echo "configure
:14778: checking
for $ac_func" >&5
14778 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14779 echo $ac_n "(cached
) $ac_c" 1>&6
14781 cat > conftest.$ac_ext <<EOF
14782 #line 14783 "configure
"
14783 #include "confdefs.h
"
14784 /* System header to define __stub macros and hopefully few prototypes,
14785 which can conflict with char $ac_func(); below. */
14786 #include <assert.h>
14787 /* Override any gcc2 internal prototype to avoid an error. */
14788 /* We use char because int might match the return type of a gcc2
14789 builtin and then its argument prototype would still apply. */
14794 /* The GNU C library defines this for functions which it implements
14795 to always fail with ENOSYS. Some functions are actually named
14796 something starting with __ and the normal name is an alias. */
14797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14805 if { (eval echo configure:14806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14807 eval "ac_cv_func_
$ac_func=yes"
14809 echo "configure
: failed program was
:" >&5
14810 cat conftest.$ac_ext >&5
14812 eval "ac_cv_func_
$ac_func=no
"
14817 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14818 echo "$ac_t""yes" 1>&6
14819 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14820 cat >> confdefs.h <<EOF
14821 #define $ac_tr_func 1
14825 echo "$ac_t""no
" 1>&6
14834 echo $ac_n "checking
for fabsf declaration
""...
$ac_c" 1>&6
14835 echo "configure
:14836: checking
for fabsf declaration
" >&5
14836 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
14837 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
14838 echo $ac_n "(cached
) $ac_c" 1>&6
14843 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14844 ac_cpp='$CXXCPP $CPPFLAGS'
14845 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14846 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14847 cross_compiling=$ac_cv_prog_cxx_cross
14849 cat > conftest.$ac_ext <<EOF
14850 #line 14851 "configure
"
14851 #include "confdefs.h
"
14853 #ifdef HAVE_IEEEFP_H
14854 #include <ieeefp.h>
14861 if { (eval echo configure:14862: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14863 glibcpp_cv_func_fabsf_use=yes
14865 echo "configure
: failed program was
:" >&5
14866 cat conftest.$ac_ext >&5
14868 glibcpp_cv_func_fabsf_use=no
14872 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14873 ac_cpp='$CPP $CPPFLAGS'
14874 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14875 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14876 cross_compiling=$ac_cv_prog_cc_cross
14882 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
14884 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
14885 for ac_func in fabsf
14887 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14888 echo "configure
:14889: checking
for $ac_func" >&5
14889 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14890 echo $ac_n "(cached
) $ac_c" 1>&6
14892 cat > conftest.$ac_ext <<EOF
14893 #line 14894 "configure
"
14894 #include "confdefs.h
"
14895 /* System header to define __stub macros and hopefully few prototypes,
14896 which can conflict with char $ac_func(); below. */
14897 #include <assert.h>
14898 /* Override any gcc2 internal prototype to avoid an error. */
14899 /* We use char because int might match the return type of a gcc2
14900 builtin and then its argument prototype would still apply. */
14905 /* The GNU C library defines this for functions which it implements
14906 to always fail with ENOSYS. Some functions are actually named
14907 something starting with __ and the normal name is an alias. */
14908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14916 if { (eval echo configure:14917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14918 eval "ac_cv_func_
$ac_func=yes"
14920 echo "configure
: failed program was
:" >&5
14921 cat conftest.$ac_ext >&5
14923 eval "ac_cv_func_
$ac_func=no
"
14928 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14929 echo "$ac_t""yes" 1>&6
14930 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14931 cat >> confdefs.h <<EOF
14932 #define $ac_tr_func 1
14936 echo "$ac_t""no
" 1>&6
14942 echo $ac_n "checking
for _fabsf declaration
""...
$ac_c" 1>&6
14943 echo "configure
:14944: checking
for _fabsf declaration
" >&5
14944 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
14945 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
14946 echo $ac_n "(cached
) $ac_c" 1>&6
14951 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14952 ac_cpp='$CXXCPP $CPPFLAGS'
14953 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14954 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14955 cross_compiling=$ac_cv_prog_cxx_cross
14957 cat > conftest.$ac_ext <<EOF
14958 #line 14959 "configure
"
14959 #include "confdefs.h
"
14961 #ifdef HAVE_IEEEFP_H
14962 #include <ieeefp.h>
14969 if { (eval echo configure:14970: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14971 glibcpp_cv_func__fabsf_use=yes
14973 echo "configure
: failed program was
:" >&5
14974 cat conftest.$ac_ext >&5
14976 glibcpp_cv_func__fabsf_use=no
14980 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14981 ac_cpp='$CPP $CPPFLAGS'
14982 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14983 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14984 cross_compiling=$ac_cv_prog_cc_cross
14990 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
14992 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
14993 for ac_func in _fabsf
14995 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14996 echo "configure
:14997: checking
for $ac_func" >&5
14997 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14998 echo $ac_n "(cached
) $ac_c" 1>&6
15000 cat > conftest.$ac_ext <<EOF
15001 #line 15002 "configure
"
15002 #include "confdefs.h
"
15003 /* System header to define __stub macros and hopefully few prototypes,
15004 which can conflict with char $ac_func(); below. */
15005 #include <assert.h>
15006 /* Override any gcc2 internal prototype to avoid an error. */
15007 /* We use char because int might match the return type of a gcc2
15008 builtin and then its argument prototype would still apply. */
15013 /* The GNU C library defines this for functions which it implements
15014 to always fail with ENOSYS. Some functions are actually named
15015 something starting with __ and the normal name is an alias. */
15016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15024 if { (eval echo configure:15025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15026 eval "ac_cv_func_
$ac_func=yes"
15028 echo "configure
: failed program was
:" >&5
15029 cat conftest.$ac_ext >&5
15031 eval "ac_cv_func_
$ac_func=no
"
15036 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15037 echo "$ac_t""yes" 1>&6
15038 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15039 cat >> confdefs.h <<EOF
15040 #define $ac_tr_func 1
15044 echo "$ac_t""no
" 1>&6
15053 echo $ac_n "checking
for fmodf declaration
""...
$ac_c" 1>&6
15054 echo "configure
:15055: checking
for fmodf declaration
" >&5
15055 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
15056 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
15057 echo $ac_n "(cached
) $ac_c" 1>&6
15062 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15063 ac_cpp='$CXXCPP $CPPFLAGS'
15064 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15065 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15066 cross_compiling=$ac_cv_prog_cxx_cross
15068 cat > conftest.$ac_ext <<EOF
15069 #line 15070 "configure
"
15070 #include "confdefs.h
"
15076 if { (eval echo configure:15077: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15078 glibcpp_cv_func_fmodf_use=yes
15080 echo "configure
: failed program was
:" >&5
15081 cat conftest.$ac_ext >&5
15083 glibcpp_cv_func_fmodf_use=no
15087 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15088 ac_cpp='$CPP $CPPFLAGS'
15089 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15090 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15091 cross_compiling=$ac_cv_prog_cc_cross
15097 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
15099 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
15100 for ac_func in fmodf
15102 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15103 echo "configure
:15104: checking
for $ac_func" >&5
15104 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15105 echo $ac_n "(cached
) $ac_c" 1>&6
15107 cat > conftest.$ac_ext <<EOF
15108 #line 15109 "configure
"
15109 #include "confdefs.h
"
15110 /* System header to define __stub macros and hopefully few prototypes,
15111 which can conflict with char $ac_func(); below. */
15112 #include <assert.h>
15113 /* Override any gcc2 internal prototype to avoid an error. */
15114 /* We use char because int might match the return type of a gcc2
15115 builtin and then its argument prototype would still apply. */
15120 /* The GNU C library defines this for functions which it implements
15121 to always fail with ENOSYS. Some functions are actually named
15122 something starting with __ and the normal name is an alias. */
15123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15131 if { (eval echo configure:15132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15133 eval "ac_cv_func_
$ac_func=yes"
15135 echo "configure
: failed program was
:" >&5
15136 cat conftest.$ac_ext >&5
15138 eval "ac_cv_func_
$ac_func=no
"
15143 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15144 echo "$ac_t""yes" 1>&6
15145 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15146 cat >> confdefs.h <<EOF
15147 #define $ac_tr_func 1
15151 echo "$ac_t""no
" 1>&6
15157 echo $ac_n "checking
for _fmodf declaration
""...
$ac_c" 1>&6
15158 echo "configure
:15159: checking
for _fmodf declaration
" >&5
15159 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
15160 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
15161 echo $ac_n "(cached
) $ac_c" 1>&6
15166 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15167 ac_cpp='$CXXCPP $CPPFLAGS'
15168 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15169 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15170 cross_compiling=$ac_cv_prog_cxx_cross
15172 cat > conftest.$ac_ext <<EOF
15173 #line 15174 "configure
"
15174 #include "confdefs.h
"
15180 if { (eval echo configure:15181: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15182 glibcpp_cv_func__fmodf_use=yes
15184 echo "configure
: failed program was
:" >&5
15185 cat conftest.$ac_ext >&5
15187 glibcpp_cv_func__fmodf_use=no
15191 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15192 ac_cpp='$CPP $CPPFLAGS'
15193 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15194 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15195 cross_compiling=$ac_cv_prog_cc_cross
15201 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
15203 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
15204 for ac_func in _fmodf
15206 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15207 echo "configure
:15208: checking
for $ac_func" >&5
15208 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15209 echo $ac_n "(cached
) $ac_c" 1>&6
15211 cat > conftest.$ac_ext <<EOF
15212 #line 15213 "configure
"
15213 #include "confdefs.h
"
15214 /* System header to define __stub macros and hopefully few prototypes,
15215 which can conflict with char $ac_func(); below. */
15216 #include <assert.h>
15217 /* Override any gcc2 internal prototype to avoid an error. */
15218 /* We use char because int might match the return type of a gcc2
15219 builtin and then its argument prototype would still apply. */
15224 /* The GNU C library defines this for functions which it implements
15225 to always fail with ENOSYS. Some functions are actually named
15226 something starting with __ and the normal name is an alias. */
15227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15235 if { (eval echo configure:15236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15237 eval "ac_cv_func_
$ac_func=yes"
15239 echo "configure
: failed program was
:" >&5
15240 cat conftest.$ac_ext >&5
15242 eval "ac_cv_func_
$ac_func=no
"
15247 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15248 echo "$ac_t""yes" 1>&6
15249 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15250 cat >> confdefs.h <<EOF
15251 #define $ac_tr_func 1
15255 echo "$ac_t""no
" 1>&6
15264 echo $ac_n "checking
for frexpf declaration
""...
$ac_c" 1>&6
15265 echo "configure
:15266: checking
for frexpf declaration
" >&5
15266 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
15267 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
15268 echo $ac_n "(cached
) $ac_c" 1>&6
15273 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15274 ac_cpp='$CXXCPP $CPPFLAGS'
15275 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15276 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15277 cross_compiling=$ac_cv_prog_cxx_cross
15279 cat > conftest.$ac_ext <<EOF
15280 #line 15281 "configure
"
15281 #include "confdefs.h
"
15287 if { (eval echo configure:15288: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15289 glibcpp_cv_func_frexpf_use=yes
15291 echo "configure
: failed program was
:" >&5
15292 cat conftest.$ac_ext >&5
15294 glibcpp_cv_func_frexpf_use=no
15298 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15299 ac_cpp='$CPP $CPPFLAGS'
15300 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15301 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15302 cross_compiling=$ac_cv_prog_cc_cross
15308 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
15310 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
15311 for ac_func in frexpf
15313 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15314 echo "configure
:15315: checking
for $ac_func" >&5
15315 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15316 echo $ac_n "(cached
) $ac_c" 1>&6
15318 cat > conftest.$ac_ext <<EOF
15319 #line 15320 "configure
"
15320 #include "confdefs.h
"
15321 /* System header to define __stub macros and hopefully few prototypes,
15322 which can conflict with char $ac_func(); below. */
15323 #include <assert.h>
15324 /* Override any gcc2 internal prototype to avoid an error. */
15325 /* We use char because int might match the return type of a gcc2
15326 builtin and then its argument prototype would still apply. */
15331 /* The GNU C library defines this for functions which it implements
15332 to always fail with ENOSYS. Some functions are actually named
15333 something starting with __ and the normal name is an alias. */
15334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15342 if { (eval echo configure:15343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15344 eval "ac_cv_func_
$ac_func=yes"
15346 echo "configure
: failed program was
:" >&5
15347 cat conftest.$ac_ext >&5
15349 eval "ac_cv_func_
$ac_func=no
"
15354 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15355 echo "$ac_t""yes" 1>&6
15356 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15357 cat >> confdefs.h <<EOF
15358 #define $ac_tr_func 1
15362 echo "$ac_t""no
" 1>&6
15368 echo $ac_n "checking
for _frexpf declaration
""...
$ac_c" 1>&6
15369 echo "configure
:15370: checking
for _frexpf declaration
" >&5
15370 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
15371 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
15372 echo $ac_n "(cached
) $ac_c" 1>&6
15377 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15378 ac_cpp='$CXXCPP $CPPFLAGS'
15379 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15380 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15381 cross_compiling=$ac_cv_prog_cxx_cross
15383 cat > conftest.$ac_ext <<EOF
15384 #line 15385 "configure
"
15385 #include "confdefs.h
"
15391 if { (eval echo configure:15392: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15393 glibcpp_cv_func__frexpf_use=yes
15395 echo "configure
: failed program was
:" >&5
15396 cat conftest.$ac_ext >&5
15398 glibcpp_cv_func__frexpf_use=no
15402 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15403 ac_cpp='$CPP $CPPFLAGS'
15404 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15405 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15406 cross_compiling=$ac_cv_prog_cc_cross
15412 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
15414 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
15415 for ac_func in _frexpf
15417 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15418 echo "configure
:15419: checking
for $ac_func" >&5
15419 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15420 echo $ac_n "(cached
) $ac_c" 1>&6
15422 cat > conftest.$ac_ext <<EOF
15423 #line 15424 "configure
"
15424 #include "confdefs.h
"
15425 /* System header to define __stub macros and hopefully few prototypes,
15426 which can conflict with char $ac_func(); below. */
15427 #include <assert.h>
15428 /* Override any gcc2 internal prototype to avoid an error. */
15429 /* We use char because int might match the return type of a gcc2
15430 builtin and then its argument prototype would still apply. */
15435 /* The GNU C library defines this for functions which it implements
15436 to always fail with ENOSYS. Some functions are actually named
15437 something starting with __ and the normal name is an alias. */
15438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15446 if { (eval echo configure:15447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15448 eval "ac_cv_func_
$ac_func=yes"
15450 echo "configure
: failed program was
:" >&5
15451 cat conftest.$ac_ext >&5
15453 eval "ac_cv_func_
$ac_func=no
"
15458 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15459 echo "$ac_t""yes" 1>&6
15460 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15461 cat >> confdefs.h <<EOF
15462 #define $ac_tr_func 1
15466 echo "$ac_t""no
" 1>&6
15475 echo $ac_n "checking
for hypotf declaration
""...
$ac_c" 1>&6
15476 echo "configure
:15477: checking
for hypotf declaration
" >&5
15477 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
15478 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
15479 echo $ac_n "(cached
) $ac_c" 1>&6
15484 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15485 ac_cpp='$CXXCPP $CPPFLAGS'
15486 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15487 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15488 cross_compiling=$ac_cv_prog_cxx_cross
15490 cat > conftest.$ac_ext <<EOF
15491 #line 15492 "configure
"
15492 #include "confdefs.h
"
15498 if { (eval echo configure:15499: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15500 glibcpp_cv_func_hypotf_use=yes
15502 echo "configure
: failed program was
:" >&5
15503 cat conftest.$ac_ext >&5
15505 glibcpp_cv_func_hypotf_use=no
15509 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15510 ac_cpp='$CPP $CPPFLAGS'
15511 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15512 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15513 cross_compiling=$ac_cv_prog_cc_cross
15519 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
15521 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
15522 for ac_func in hypotf
15524 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15525 echo "configure
:15526: checking
for $ac_func" >&5
15526 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15527 echo $ac_n "(cached
) $ac_c" 1>&6
15529 cat > conftest.$ac_ext <<EOF
15530 #line 15531 "configure
"
15531 #include "confdefs.h
"
15532 /* System header to define __stub macros and hopefully few prototypes,
15533 which can conflict with char $ac_func(); below. */
15534 #include <assert.h>
15535 /* Override any gcc2 internal prototype to avoid an error. */
15536 /* We use char because int might match the return type of a gcc2
15537 builtin and then its argument prototype would still apply. */
15542 /* The GNU C library defines this for functions which it implements
15543 to always fail with ENOSYS. Some functions are actually named
15544 something starting with __ and the normal name is an alias. */
15545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15553 if { (eval echo configure:15554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15555 eval "ac_cv_func_
$ac_func=yes"
15557 echo "configure
: failed program was
:" >&5
15558 cat conftest.$ac_ext >&5
15560 eval "ac_cv_func_
$ac_func=no
"
15565 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15566 echo "$ac_t""yes" 1>&6
15567 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15568 cat >> confdefs.h <<EOF
15569 #define $ac_tr_func 1
15573 echo "$ac_t""no
" 1>&6
15579 echo $ac_n "checking
for _hypotf declaration
""...
$ac_c" 1>&6
15580 echo "configure
:15581: checking
for _hypotf declaration
" >&5
15581 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
15582 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
15583 echo $ac_n "(cached
) $ac_c" 1>&6
15588 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15589 ac_cpp='$CXXCPP $CPPFLAGS'
15590 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15591 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15592 cross_compiling=$ac_cv_prog_cxx_cross
15594 cat > conftest.$ac_ext <<EOF
15595 #line 15596 "configure
"
15596 #include "confdefs.h
"
15602 if { (eval echo configure:15603: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15604 glibcpp_cv_func__hypotf_use=yes
15606 echo "configure
: failed program was
:" >&5
15607 cat conftest.$ac_ext >&5
15609 glibcpp_cv_func__hypotf_use=no
15613 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15614 ac_cpp='$CPP $CPPFLAGS'
15615 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15616 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15617 cross_compiling=$ac_cv_prog_cc_cross
15623 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
15625 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
15626 for ac_func in _hypotf
15628 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15629 echo "configure
:15630: checking
for $ac_func" >&5
15630 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15631 echo $ac_n "(cached
) $ac_c" 1>&6
15633 cat > conftest.$ac_ext <<EOF
15634 #line 15635 "configure
"
15635 #include "confdefs.h
"
15636 /* System header to define __stub macros and hopefully few prototypes,
15637 which can conflict with char $ac_func(); below. */
15638 #include <assert.h>
15639 /* Override any gcc2 internal prototype to avoid an error. */
15640 /* We use char because int might match the return type of a gcc2
15641 builtin and then its argument prototype would still apply. */
15646 /* The GNU C library defines this for functions which it implements
15647 to always fail with ENOSYS. Some functions are actually named
15648 something starting with __ and the normal name is an alias. */
15649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15657 if { (eval echo configure:15658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15659 eval "ac_cv_func_
$ac_func=yes"
15661 echo "configure
: failed program was
:" >&5
15662 cat conftest.$ac_ext >&5
15664 eval "ac_cv_func_
$ac_func=no
"
15669 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15670 echo "$ac_t""yes" 1>&6
15671 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15672 cat >> confdefs.h <<EOF
15673 #define $ac_tr_func 1
15677 echo "$ac_t""no
" 1>&6
15686 echo $ac_n "checking
for ldexpf declaration
""...
$ac_c" 1>&6
15687 echo "configure
:15688: checking
for ldexpf declaration
" >&5
15688 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
15689 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
15690 echo $ac_n "(cached
) $ac_c" 1>&6
15695 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15696 ac_cpp='$CXXCPP $CPPFLAGS'
15697 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15698 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15699 cross_compiling=$ac_cv_prog_cxx_cross
15701 cat > conftest.$ac_ext <<EOF
15702 #line 15703 "configure
"
15703 #include "confdefs.h
"
15709 if { (eval echo configure:15710: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15711 glibcpp_cv_func_ldexpf_use=yes
15713 echo "configure
: failed program was
:" >&5
15714 cat conftest.$ac_ext >&5
15716 glibcpp_cv_func_ldexpf_use=no
15720 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15721 ac_cpp='$CPP $CPPFLAGS'
15722 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15723 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15724 cross_compiling=$ac_cv_prog_cc_cross
15730 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
15732 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
15733 for ac_func in ldexpf
15735 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15736 echo "configure
:15737: checking
for $ac_func" >&5
15737 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15738 echo $ac_n "(cached
) $ac_c" 1>&6
15740 cat > conftest.$ac_ext <<EOF
15741 #line 15742 "configure
"
15742 #include "confdefs.h
"
15743 /* System header to define __stub macros and hopefully few prototypes,
15744 which can conflict with char $ac_func(); below. */
15745 #include <assert.h>
15746 /* Override any gcc2 internal prototype to avoid an error. */
15747 /* We use char because int might match the return type of a gcc2
15748 builtin and then its argument prototype would still apply. */
15753 /* The GNU C library defines this for functions which it implements
15754 to always fail with ENOSYS. Some functions are actually named
15755 something starting with __ and the normal name is an alias. */
15756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15764 if { (eval echo configure:15765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15766 eval "ac_cv_func_
$ac_func=yes"
15768 echo "configure
: failed program was
:" >&5
15769 cat conftest.$ac_ext >&5
15771 eval "ac_cv_func_
$ac_func=no
"
15776 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15777 echo "$ac_t""yes" 1>&6
15778 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15779 cat >> confdefs.h <<EOF
15780 #define $ac_tr_func 1
15784 echo "$ac_t""no
" 1>&6
15790 echo $ac_n "checking
for _ldexpf declaration
""...
$ac_c" 1>&6
15791 echo "configure
:15792: checking
for _ldexpf declaration
" >&5
15792 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
15793 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
15794 echo $ac_n "(cached
) $ac_c" 1>&6
15799 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15800 ac_cpp='$CXXCPP $CPPFLAGS'
15801 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15802 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15803 cross_compiling=$ac_cv_prog_cxx_cross
15805 cat > conftest.$ac_ext <<EOF
15806 #line 15807 "configure
"
15807 #include "confdefs.h
"
15813 if { (eval echo configure:15814: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15815 glibcpp_cv_func__ldexpf_use=yes
15817 echo "configure
: failed program was
:" >&5
15818 cat conftest.$ac_ext >&5
15820 glibcpp_cv_func__ldexpf_use=no
15824 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15825 ac_cpp='$CPP $CPPFLAGS'
15826 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15827 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15828 cross_compiling=$ac_cv_prog_cc_cross
15834 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
15836 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
15837 for ac_func in _ldexpf
15839 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15840 echo "configure
:15841: checking
for $ac_func" >&5
15841 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15842 echo $ac_n "(cached
) $ac_c" 1>&6
15844 cat > conftest.$ac_ext <<EOF
15845 #line 15846 "configure
"
15846 #include "confdefs.h
"
15847 /* System header to define __stub macros and hopefully few prototypes,
15848 which can conflict with char $ac_func(); below. */
15849 #include <assert.h>
15850 /* Override any gcc2 internal prototype to avoid an error. */
15851 /* We use char because int might match the return type of a gcc2
15852 builtin and then its argument prototype would still apply. */
15857 /* The GNU C library defines this for functions which it implements
15858 to always fail with ENOSYS. Some functions are actually named
15859 something starting with __ and the normal name is an alias. */
15860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15868 if { (eval echo configure:15869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15870 eval "ac_cv_func_
$ac_func=yes"
15872 echo "configure
: failed program was
:" >&5
15873 cat conftest.$ac_ext >&5
15875 eval "ac_cv_func_
$ac_func=no
"
15880 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15881 echo "$ac_t""yes" 1>&6
15882 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15883 cat >> confdefs.h <<EOF
15884 #define $ac_tr_func 1
15888 echo "$ac_t""no
" 1>&6
15897 echo $ac_n "checking
for logf declaration
""...
$ac_c" 1>&6
15898 echo "configure
:15899: checking
for logf declaration
" >&5
15899 if test x${glibcpp_cv_func_logf_use+set} != xset; then
15900 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
15901 echo $ac_n "(cached
) $ac_c" 1>&6
15906 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15907 ac_cpp='$CXXCPP $CPPFLAGS'
15908 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15909 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15910 cross_compiling=$ac_cv_prog_cxx_cross
15912 cat > conftest.$ac_ext <<EOF
15913 #line 15914 "configure
"
15914 #include "confdefs.h
"
15916 #ifdef HAVE_IEEEFP_H
15917 #include <ieeefp.h>
15924 if { (eval echo configure:15925: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15926 glibcpp_cv_func_logf_use=yes
15928 echo "configure
: failed program was
:" >&5
15929 cat conftest.$ac_ext >&5
15931 glibcpp_cv_func_logf_use=no
15935 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15936 ac_cpp='$CPP $CPPFLAGS'
15937 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15938 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15939 cross_compiling=$ac_cv_prog_cc_cross
15945 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
15947 if test x$glibcpp_cv_func_logf_use = x"yes"; then
15948 for ac_func in logf
15950 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15951 echo "configure
:15952: checking
for $ac_func" >&5
15952 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15953 echo $ac_n "(cached
) $ac_c" 1>&6
15955 cat > conftest.$ac_ext <<EOF
15956 #line 15957 "configure
"
15957 #include "confdefs.h
"
15958 /* System header to define __stub macros and hopefully few prototypes,
15959 which can conflict with char $ac_func(); below. */
15960 #include <assert.h>
15961 /* Override any gcc2 internal prototype to avoid an error. */
15962 /* We use char because int might match the return type of a gcc2
15963 builtin and then its argument prototype would still apply. */
15968 /* The GNU C library defines this for functions which it implements
15969 to always fail with ENOSYS. Some functions are actually named
15970 something starting with __ and the normal name is an alias. */
15971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15979 if { (eval echo configure:15980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15981 eval "ac_cv_func_
$ac_func=yes"
15983 echo "configure
: failed program was
:" >&5
15984 cat conftest.$ac_ext >&5
15986 eval "ac_cv_func_
$ac_func=no
"
15991 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15992 echo "$ac_t""yes" 1>&6
15993 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15994 cat >> confdefs.h <<EOF
15995 #define $ac_tr_func 1
15999 echo "$ac_t""no
" 1>&6
16005 echo $ac_n "checking
for _logf declaration
""...
$ac_c" 1>&6
16006 echo "configure
:16007: checking
for _logf declaration
" >&5
16007 if test x${glibcpp_cv_func__logf_use+set} != xset; then
16008 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
16009 echo $ac_n "(cached
) $ac_c" 1>&6
16014 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16015 ac_cpp='$CXXCPP $CPPFLAGS'
16016 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16017 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16018 cross_compiling=$ac_cv_prog_cxx_cross
16020 cat > conftest.$ac_ext <<EOF
16021 #line 16022 "configure
"
16022 #include "confdefs.h
"
16024 #ifdef HAVE_IEEEFP_H
16025 #include <ieeefp.h>
16032 if { (eval echo configure:16033: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16034 glibcpp_cv_func__logf_use=yes
16036 echo "configure
: failed program was
:" >&5
16037 cat conftest.$ac_ext >&5
16039 glibcpp_cv_func__logf_use=no
16043 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16044 ac_cpp='$CPP $CPPFLAGS'
16045 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16046 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16047 cross_compiling=$ac_cv_prog_cc_cross
16053 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
16055 if test x$glibcpp_cv_func__logf_use = x"yes"; then
16056 for ac_func in _logf
16058 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16059 echo "configure
:16060: checking
for $ac_func" >&5
16060 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16061 echo $ac_n "(cached
) $ac_c" 1>&6
16063 cat > conftest.$ac_ext <<EOF
16064 #line 16065 "configure
"
16065 #include "confdefs.h
"
16066 /* System header to define __stub macros and hopefully few prototypes,
16067 which can conflict with char $ac_func(); below. */
16068 #include <assert.h>
16069 /* Override any gcc2 internal prototype to avoid an error. */
16070 /* We use char because int might match the return type of a gcc2
16071 builtin and then its argument prototype would still apply. */
16076 /* The GNU C library defines this for functions which it implements
16077 to always fail with ENOSYS. Some functions are actually named
16078 something starting with __ and the normal name is an alias. */
16079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16087 if { (eval echo configure:16088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16089 eval "ac_cv_func_
$ac_func=yes"
16091 echo "configure
: failed program was
:" >&5
16092 cat conftest.$ac_ext >&5
16094 eval "ac_cv_func_
$ac_func=no
"
16099 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16100 echo "$ac_t""yes" 1>&6
16101 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16102 cat >> confdefs.h <<EOF
16103 #define $ac_tr_func 1
16107 echo "$ac_t""no
" 1>&6
16116 echo $ac_n "checking
for log10f declaration
""...
$ac_c" 1>&6
16117 echo "configure
:16118: checking
for log10f declaration
" >&5
16118 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
16119 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
16120 echo $ac_n "(cached
) $ac_c" 1>&6
16125 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16126 ac_cpp='$CXXCPP $CPPFLAGS'
16127 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16128 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16129 cross_compiling=$ac_cv_prog_cxx_cross
16131 cat > conftest.$ac_ext <<EOF
16132 #line 16133 "configure
"
16133 #include "confdefs.h
"
16135 #ifdef HAVE_IEEEFP_H
16136 #include <ieeefp.h>
16143 if { (eval echo configure:16144: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16145 glibcpp_cv_func_log10f_use=yes
16147 echo "configure
: failed program was
:" >&5
16148 cat conftest.$ac_ext >&5
16150 glibcpp_cv_func_log10f_use=no
16154 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16155 ac_cpp='$CPP $CPPFLAGS'
16156 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16157 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16158 cross_compiling=$ac_cv_prog_cc_cross
16164 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
16166 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
16167 for ac_func in log10f
16169 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16170 echo "configure
:16171: checking
for $ac_func" >&5
16171 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16172 echo $ac_n "(cached
) $ac_c" 1>&6
16174 cat > conftest.$ac_ext <<EOF
16175 #line 16176 "configure
"
16176 #include "confdefs.h
"
16177 /* System header to define __stub macros and hopefully few prototypes,
16178 which can conflict with char $ac_func(); below. */
16179 #include <assert.h>
16180 /* Override any gcc2 internal prototype to avoid an error. */
16181 /* We use char because int might match the return type of a gcc2
16182 builtin and then its argument prototype would still apply. */
16187 /* The GNU C library defines this for functions which it implements
16188 to always fail with ENOSYS. Some functions are actually named
16189 something starting with __ and the normal name is an alias. */
16190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16198 if { (eval echo configure:16199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16200 eval "ac_cv_func_
$ac_func=yes"
16202 echo "configure
: failed program was
:" >&5
16203 cat conftest.$ac_ext >&5
16205 eval "ac_cv_func_
$ac_func=no
"
16210 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16211 echo "$ac_t""yes" 1>&6
16212 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16213 cat >> confdefs.h <<EOF
16214 #define $ac_tr_func 1
16218 echo "$ac_t""no
" 1>&6
16224 echo $ac_n "checking
for _log10f declaration
""...
$ac_c" 1>&6
16225 echo "configure
:16226: checking
for _log10f declaration
" >&5
16226 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
16227 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
16228 echo $ac_n "(cached
) $ac_c" 1>&6
16233 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16234 ac_cpp='$CXXCPP $CPPFLAGS'
16235 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16236 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16237 cross_compiling=$ac_cv_prog_cxx_cross
16239 cat > conftest.$ac_ext <<EOF
16240 #line 16241 "configure
"
16241 #include "confdefs.h
"
16243 #ifdef HAVE_IEEEFP_H
16244 #include <ieeefp.h>
16251 if { (eval echo configure:16252: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16253 glibcpp_cv_func__log10f_use=yes
16255 echo "configure
: failed program was
:" >&5
16256 cat conftest.$ac_ext >&5
16258 glibcpp_cv_func__log10f_use=no
16262 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16263 ac_cpp='$CPP $CPPFLAGS'
16264 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16265 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16266 cross_compiling=$ac_cv_prog_cc_cross
16272 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
16274 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
16275 for ac_func in _log10f
16277 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16278 echo "configure
:16279: checking
for $ac_func" >&5
16279 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16280 echo $ac_n "(cached
) $ac_c" 1>&6
16282 cat > conftest.$ac_ext <<EOF
16283 #line 16284 "configure
"
16284 #include "confdefs.h
"
16285 /* System header to define __stub macros and hopefully few prototypes,
16286 which can conflict with char $ac_func(); below. */
16287 #include <assert.h>
16288 /* Override any gcc2 internal prototype to avoid an error. */
16289 /* We use char because int might match the return type of a gcc2
16290 builtin and then its argument prototype would still apply. */
16295 /* The GNU C library defines this for functions which it implements
16296 to always fail with ENOSYS. Some functions are actually named
16297 something starting with __ and the normal name is an alias. */
16298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16306 if { (eval echo configure:16307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16308 eval "ac_cv_func_
$ac_func=yes"
16310 echo "configure
: failed program was
:" >&5
16311 cat conftest.$ac_ext >&5
16313 eval "ac_cv_func_
$ac_func=no
"
16318 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16319 echo "$ac_t""yes" 1>&6
16320 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16321 cat >> confdefs.h <<EOF
16322 #define $ac_tr_func 1
16326 echo "$ac_t""no
" 1>&6
16335 echo $ac_n "checking
for modff declaration
""...
$ac_c" 1>&6
16336 echo "configure
:16337: checking
for modff declaration
" >&5
16337 if test x${glibcpp_cv_func_modff_use+set} != xset; then
16338 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
16339 echo $ac_n "(cached
) $ac_c" 1>&6
16344 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16345 ac_cpp='$CXXCPP $CPPFLAGS'
16346 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16347 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16348 cross_compiling=$ac_cv_prog_cxx_cross
16350 cat > conftest.$ac_ext <<EOF
16351 #line 16352 "configure
"
16352 #include "confdefs.h
"
16358 if { (eval echo configure:16359: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16360 glibcpp_cv_func_modff_use=yes
16362 echo "configure
: failed program was
:" >&5
16363 cat conftest.$ac_ext >&5
16365 glibcpp_cv_func_modff_use=no
16369 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16370 ac_cpp='$CPP $CPPFLAGS'
16371 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16372 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16373 cross_compiling=$ac_cv_prog_cc_cross
16379 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
16381 if test x$glibcpp_cv_func_modff_use = x"yes"; then
16382 for ac_func in modff
16384 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16385 echo "configure
:16386: checking
for $ac_func" >&5
16386 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16387 echo $ac_n "(cached
) $ac_c" 1>&6
16389 cat > conftest.$ac_ext <<EOF
16390 #line 16391 "configure
"
16391 #include "confdefs.h
"
16392 /* System header to define __stub macros and hopefully few prototypes,
16393 which can conflict with char $ac_func(); below. */
16394 #include <assert.h>
16395 /* Override any gcc2 internal prototype to avoid an error. */
16396 /* We use char because int might match the return type of a gcc2
16397 builtin and then its argument prototype would still apply. */
16402 /* The GNU C library defines this for functions which it implements
16403 to always fail with ENOSYS. Some functions are actually named
16404 something starting with __ and the normal name is an alias. */
16405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16413 if { (eval echo configure:16414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16415 eval "ac_cv_func_
$ac_func=yes"
16417 echo "configure
: failed program was
:" >&5
16418 cat conftest.$ac_ext >&5
16420 eval "ac_cv_func_
$ac_func=no
"
16425 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16426 echo "$ac_t""yes" 1>&6
16427 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16428 cat >> confdefs.h <<EOF
16429 #define $ac_tr_func 1
16433 echo "$ac_t""no
" 1>&6
16439 echo $ac_n "checking
for _modff declaration
""...
$ac_c" 1>&6
16440 echo "configure
:16441: checking
for _modff declaration
" >&5
16441 if test x${glibcpp_cv_func__modff_use+set} != xset; then
16442 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
16443 echo $ac_n "(cached
) $ac_c" 1>&6
16448 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16449 ac_cpp='$CXXCPP $CPPFLAGS'
16450 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16451 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16452 cross_compiling=$ac_cv_prog_cxx_cross
16454 cat > conftest.$ac_ext <<EOF
16455 #line 16456 "configure
"
16456 #include "confdefs.h
"
16462 if { (eval echo configure:16463: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16464 glibcpp_cv_func__modff_use=yes
16466 echo "configure
: failed program was
:" >&5
16467 cat conftest.$ac_ext >&5
16469 glibcpp_cv_func__modff_use=no
16473 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16474 ac_cpp='$CPP $CPPFLAGS'
16475 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16476 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16477 cross_compiling=$ac_cv_prog_cc_cross
16483 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
16485 if test x$glibcpp_cv_func__modff_use = x"yes"; then
16486 for ac_func in _modff
16488 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16489 echo "configure
:16490: checking
for $ac_func" >&5
16490 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16491 echo $ac_n "(cached
) $ac_c" 1>&6
16493 cat > conftest.$ac_ext <<EOF
16494 #line 16495 "configure
"
16495 #include "confdefs.h
"
16496 /* System header to define __stub macros and hopefully few prototypes,
16497 which can conflict with char $ac_func(); below. */
16498 #include <assert.h>
16499 /* Override any gcc2 internal prototype to avoid an error. */
16500 /* We use char because int might match the return type of a gcc2
16501 builtin and then its argument prototype would still apply. */
16506 /* The GNU C library defines this for functions which it implements
16507 to always fail with ENOSYS. Some functions are actually named
16508 something starting with __ and the normal name is an alias. */
16509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16517 if { (eval echo configure:16518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16519 eval "ac_cv_func_
$ac_func=yes"
16521 echo "configure
: failed program was
:" >&5
16522 cat conftest.$ac_ext >&5
16524 eval "ac_cv_func_
$ac_func=no
"
16529 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16530 echo "$ac_t""yes" 1>&6
16531 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16532 cat >> confdefs.h <<EOF
16533 #define $ac_tr_func 1
16537 echo "$ac_t""no
" 1>&6
16546 echo $ac_n "checking
for powf declaration
""...
$ac_c" 1>&6
16547 echo "configure
:16548: checking
for powf declaration
" >&5
16548 if test x${glibcpp_cv_func_powf_use+set} != xset; then
16549 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
16550 echo $ac_n "(cached
) $ac_c" 1>&6
16555 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16556 ac_cpp='$CXXCPP $CPPFLAGS'
16557 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16558 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16559 cross_compiling=$ac_cv_prog_cxx_cross
16561 cat > conftest.$ac_ext <<EOF
16562 #line 16563 "configure
"
16563 #include "confdefs.h
"
16569 if { (eval echo configure:16570: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16571 glibcpp_cv_func_powf_use=yes
16573 echo "configure
: failed program was
:" >&5
16574 cat conftest.$ac_ext >&5
16576 glibcpp_cv_func_powf_use=no
16580 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16581 ac_cpp='$CPP $CPPFLAGS'
16582 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16583 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16584 cross_compiling=$ac_cv_prog_cc_cross
16590 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
16592 if test x$glibcpp_cv_func_powf_use = x"yes"; then
16593 for ac_func in powf
16595 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16596 echo "configure
:16597: checking
for $ac_func" >&5
16597 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16598 echo $ac_n "(cached
) $ac_c" 1>&6
16600 cat > conftest.$ac_ext <<EOF
16601 #line 16602 "configure
"
16602 #include "confdefs.h
"
16603 /* System header to define __stub macros and hopefully few prototypes,
16604 which can conflict with char $ac_func(); below. */
16605 #include <assert.h>
16606 /* Override any gcc2 internal prototype to avoid an error. */
16607 /* We use char because int might match the return type of a gcc2
16608 builtin and then its argument prototype would still apply. */
16613 /* The GNU C library defines this for functions which it implements
16614 to always fail with ENOSYS. Some functions are actually named
16615 something starting with __ and the normal name is an alias. */
16616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16624 if { (eval echo configure:16625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16626 eval "ac_cv_func_
$ac_func=yes"
16628 echo "configure
: failed program was
:" >&5
16629 cat conftest.$ac_ext >&5
16631 eval "ac_cv_func_
$ac_func=no
"
16636 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16637 echo "$ac_t""yes" 1>&6
16638 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16639 cat >> confdefs.h <<EOF
16640 #define $ac_tr_func 1
16644 echo "$ac_t""no
" 1>&6
16650 echo $ac_n "checking
for _powf declaration
""...
$ac_c" 1>&6
16651 echo "configure
:16652: checking
for _powf declaration
" >&5
16652 if test x${glibcpp_cv_func__powf_use+set} != xset; then
16653 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
16654 echo $ac_n "(cached
) $ac_c" 1>&6
16659 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16660 ac_cpp='$CXXCPP $CPPFLAGS'
16661 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16662 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16663 cross_compiling=$ac_cv_prog_cxx_cross
16665 cat > conftest.$ac_ext <<EOF
16666 #line 16667 "configure
"
16667 #include "confdefs.h
"
16673 if { (eval echo configure:16674: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16675 glibcpp_cv_func__powf_use=yes
16677 echo "configure
: failed program was
:" >&5
16678 cat conftest.$ac_ext >&5
16680 glibcpp_cv_func__powf_use=no
16684 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16685 ac_cpp='$CPP $CPPFLAGS'
16686 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16687 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16688 cross_compiling=$ac_cv_prog_cc_cross
16694 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
16696 if test x$glibcpp_cv_func__powf_use = x"yes"; then
16697 for ac_func in _powf
16699 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16700 echo "configure
:16701: checking
for $ac_func" >&5
16701 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16702 echo $ac_n "(cached
) $ac_c" 1>&6
16704 cat > conftest.$ac_ext <<EOF
16705 #line 16706 "configure
"
16706 #include "confdefs.h
"
16707 /* System header to define __stub macros and hopefully few prototypes,
16708 which can conflict with char $ac_func(); below. */
16709 #include <assert.h>
16710 /* Override any gcc2 internal prototype to avoid an error. */
16711 /* We use char because int might match the return type of a gcc2
16712 builtin and then its argument prototype would still apply. */
16717 /* The GNU C library defines this for functions which it implements
16718 to always fail with ENOSYS. Some functions are actually named
16719 something starting with __ and the normal name is an alias. */
16720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16728 if { (eval echo configure:16729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16730 eval "ac_cv_func_
$ac_func=yes"
16732 echo "configure
: failed program was
:" >&5
16733 cat conftest.$ac_ext >&5
16735 eval "ac_cv_func_
$ac_func=no
"
16740 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16741 echo "$ac_t""yes" 1>&6
16742 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16743 cat >> confdefs.h <<EOF
16744 #define $ac_tr_func 1
16748 echo "$ac_t""no
" 1>&6
16757 echo $ac_n "checking
for sqrtf declaration
""...
$ac_c" 1>&6
16758 echo "configure
:16759: checking
for sqrtf declaration
" >&5
16759 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
16760 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
16761 echo $ac_n "(cached
) $ac_c" 1>&6
16766 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16767 ac_cpp='$CXXCPP $CPPFLAGS'
16768 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16769 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16770 cross_compiling=$ac_cv_prog_cxx_cross
16772 cat > conftest.$ac_ext <<EOF
16773 #line 16774 "configure
"
16774 #include "confdefs.h
"
16776 #ifdef HAVE_IEEEFP_H
16777 #include <ieeefp.h>
16784 if { (eval echo configure:16785: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16786 glibcpp_cv_func_sqrtf_use=yes
16788 echo "configure
: failed program was
:" >&5
16789 cat conftest.$ac_ext >&5
16791 glibcpp_cv_func_sqrtf_use=no
16795 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16796 ac_cpp='$CPP $CPPFLAGS'
16797 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16798 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16799 cross_compiling=$ac_cv_prog_cc_cross
16805 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
16807 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
16808 for ac_func in sqrtf
16810 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16811 echo "configure
:16812: checking
for $ac_func" >&5
16812 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16813 echo $ac_n "(cached
) $ac_c" 1>&6
16815 cat > conftest.$ac_ext <<EOF
16816 #line 16817 "configure
"
16817 #include "confdefs.h
"
16818 /* System header to define __stub macros and hopefully few prototypes,
16819 which can conflict with char $ac_func(); below. */
16820 #include <assert.h>
16821 /* Override any gcc2 internal prototype to avoid an error. */
16822 /* We use char because int might match the return type of a gcc2
16823 builtin and then its argument prototype would still apply. */
16828 /* The GNU C library defines this for functions which it implements
16829 to always fail with ENOSYS. Some functions are actually named
16830 something starting with __ and the normal name is an alias. */
16831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16839 if { (eval echo configure:16840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16841 eval "ac_cv_func_
$ac_func=yes"
16843 echo "configure
: failed program was
:" >&5
16844 cat conftest.$ac_ext >&5
16846 eval "ac_cv_func_
$ac_func=no
"
16851 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16852 echo "$ac_t""yes" 1>&6
16853 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16854 cat >> confdefs.h <<EOF
16855 #define $ac_tr_func 1
16859 echo "$ac_t""no
" 1>&6
16865 echo $ac_n "checking
for _sqrtf declaration
""...
$ac_c" 1>&6
16866 echo "configure
:16867: checking
for _sqrtf declaration
" >&5
16867 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
16868 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
16869 echo $ac_n "(cached
) $ac_c" 1>&6
16874 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16875 ac_cpp='$CXXCPP $CPPFLAGS'
16876 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16877 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16878 cross_compiling=$ac_cv_prog_cxx_cross
16880 cat > conftest.$ac_ext <<EOF
16881 #line 16882 "configure
"
16882 #include "confdefs.h
"
16884 #ifdef HAVE_IEEEFP_H
16885 #include <ieeefp.h>
16892 if { (eval echo configure:16893: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16894 glibcpp_cv_func__sqrtf_use=yes
16896 echo "configure
: failed program was
:" >&5
16897 cat conftest.$ac_ext >&5
16899 glibcpp_cv_func__sqrtf_use=no
16903 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16904 ac_cpp='$CPP $CPPFLAGS'
16905 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16906 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16907 cross_compiling=$ac_cv_prog_cc_cross
16913 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
16915 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
16916 for ac_func in _sqrtf
16918 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16919 echo "configure
:16920: checking
for $ac_func" >&5
16920 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16921 echo $ac_n "(cached
) $ac_c" 1>&6
16923 cat > conftest.$ac_ext <<EOF
16924 #line 16925 "configure
"
16925 #include "confdefs.h
"
16926 /* System header to define __stub macros and hopefully few prototypes,
16927 which can conflict with char $ac_func(); below. */
16928 #include <assert.h>
16929 /* Override any gcc2 internal prototype to avoid an error. */
16930 /* We use char because int might match the return type of a gcc2
16931 builtin and then its argument prototype would still apply. */
16936 /* The GNU C library defines this for functions which it implements
16937 to always fail with ENOSYS. Some functions are actually named
16938 something starting with __ and the normal name is an alias. */
16939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16947 if { (eval echo configure:16948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16949 eval "ac_cv_func_
$ac_func=yes"
16951 echo "configure
: failed program was
:" >&5
16952 cat conftest.$ac_ext >&5
16954 eval "ac_cv_func_
$ac_func=no
"
16959 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16960 echo "$ac_t""yes" 1>&6
16961 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16962 cat >> confdefs.h <<EOF
16963 #define $ac_tr_func 1
16967 echo "$ac_t""no
" 1>&6
16976 echo $ac_n "checking
for sincosf declaration
""...
$ac_c" 1>&6
16977 echo "configure
:16978: checking
for sincosf declaration
" >&5
16978 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
16979 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
16980 echo $ac_n "(cached
) $ac_c" 1>&6
16985 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16986 ac_cpp='$CXXCPP $CPPFLAGS'
16987 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16988 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16989 cross_compiling=$ac_cv_prog_cxx_cross
16991 cat > conftest.$ac_ext <<EOF
16992 #line 16993 "configure
"
16993 #include "confdefs.h
"
16999 if { (eval echo configure:17000: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17001 glibcpp_cv_func_sincosf_use=yes
17003 echo "configure
: failed program was
:" >&5
17004 cat conftest.$ac_ext >&5
17006 glibcpp_cv_func_sincosf_use=no
17010 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17011 ac_cpp='$CPP $CPPFLAGS'
17012 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17013 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17014 cross_compiling=$ac_cv_prog_cc_cross
17020 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
17022 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
17023 for ac_func in sincosf
17025 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17026 echo "configure
:17027: checking
for $ac_func" >&5
17027 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17028 echo $ac_n "(cached
) $ac_c" 1>&6
17030 cat > conftest.$ac_ext <<EOF
17031 #line 17032 "configure
"
17032 #include "confdefs.h
"
17033 /* System header to define __stub macros and hopefully few prototypes,
17034 which can conflict with char $ac_func(); below. */
17035 #include <assert.h>
17036 /* Override any gcc2 internal prototype to avoid an error. */
17037 /* We use char because int might match the return type of a gcc2
17038 builtin and then its argument prototype would still apply. */
17043 /* The GNU C library defines this for functions which it implements
17044 to always fail with ENOSYS. Some functions are actually named
17045 something starting with __ and the normal name is an alias. */
17046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17054 if { (eval echo configure:17055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17056 eval "ac_cv_func_
$ac_func=yes"
17058 echo "configure
: failed program was
:" >&5
17059 cat conftest.$ac_ext >&5
17061 eval "ac_cv_func_
$ac_func=no
"
17066 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17067 echo "$ac_t""yes" 1>&6
17068 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17069 cat >> confdefs.h <<EOF
17070 #define $ac_tr_func 1
17074 echo "$ac_t""no
" 1>&6
17080 echo $ac_n "checking
for _sincosf declaration
""...
$ac_c" 1>&6
17081 echo "configure
:17082: checking
for _sincosf declaration
" >&5
17082 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
17083 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
17084 echo $ac_n "(cached
) $ac_c" 1>&6
17089 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17090 ac_cpp='$CXXCPP $CPPFLAGS'
17091 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17092 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17093 cross_compiling=$ac_cv_prog_cxx_cross
17095 cat > conftest.$ac_ext <<EOF
17096 #line 17097 "configure
"
17097 #include "confdefs.h
"
17103 if { (eval echo configure:17104: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17105 glibcpp_cv_func__sincosf_use=yes
17107 echo "configure
: failed program was
:" >&5
17108 cat conftest.$ac_ext >&5
17110 glibcpp_cv_func__sincosf_use=no
17114 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17115 ac_cpp='$CPP $CPPFLAGS'
17116 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17117 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17118 cross_compiling=$ac_cv_prog_cc_cross
17124 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
17126 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
17127 for ac_func in _sincosf
17129 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17130 echo "configure
:17131: checking
for $ac_func" >&5
17131 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17132 echo $ac_n "(cached
) $ac_c" 1>&6
17134 cat > conftest.$ac_ext <<EOF
17135 #line 17136 "configure
"
17136 #include "confdefs.h
"
17137 /* System header to define __stub macros and hopefully few prototypes,
17138 which can conflict with char $ac_func(); below. */
17139 #include <assert.h>
17140 /* Override any gcc2 internal prototype to avoid an error. */
17141 /* We use char because int might match the return type of a gcc2
17142 builtin and then its argument prototype would still apply. */
17147 /* The GNU C library defines this for functions which it implements
17148 to always fail with ENOSYS. Some functions are actually named
17149 something starting with __ and the normal name is an alias. */
17150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17158 if { (eval echo configure:17159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17160 eval "ac_cv_func_
$ac_func=yes"
17162 echo "configure
: failed program was
:" >&5
17163 cat conftest.$ac_ext >&5
17165 eval "ac_cv_func_
$ac_func=no
"
17170 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17171 echo "$ac_t""yes" 1>&6
17172 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17173 cat >> confdefs.h <<EOF
17174 #define $ac_tr_func 1
17178 echo "$ac_t""no
" 1>&6
17187 echo $ac_n "checking
for finitef declaration
""...
$ac_c" 1>&6
17188 echo "configure
:17189: checking
for finitef declaration
" >&5
17189 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
17190 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
17191 echo $ac_n "(cached
) $ac_c" 1>&6
17196 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17197 ac_cpp='$CXXCPP $CPPFLAGS'
17198 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17199 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17200 cross_compiling=$ac_cv_prog_cxx_cross
17202 cat > conftest.$ac_ext <<EOF
17203 #line 17204 "configure
"
17204 #include "confdefs.h
"
17206 #ifdef HAVE_IEEEFP_H
17207 #include <ieeefp.h>
17214 if { (eval echo configure:17215: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17216 glibcpp_cv_func_finitef_use=yes
17218 echo "configure
: failed program was
:" >&5
17219 cat conftest.$ac_ext >&5
17221 glibcpp_cv_func_finitef_use=no
17225 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17226 ac_cpp='$CPP $CPPFLAGS'
17227 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17228 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17229 cross_compiling=$ac_cv_prog_cc_cross
17235 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
17237 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
17238 for ac_func in finitef
17240 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17241 echo "configure
:17242: checking
for $ac_func" >&5
17242 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17243 echo $ac_n "(cached
) $ac_c" 1>&6
17245 cat > conftest.$ac_ext <<EOF
17246 #line 17247 "configure
"
17247 #include "confdefs.h
"
17248 /* System header to define __stub macros and hopefully few prototypes,
17249 which can conflict with char $ac_func(); below. */
17250 #include <assert.h>
17251 /* Override any gcc2 internal prototype to avoid an error. */
17252 /* We use char because int might match the return type of a gcc2
17253 builtin and then its argument prototype would still apply. */
17258 /* The GNU C library defines this for functions which it implements
17259 to always fail with ENOSYS. Some functions are actually named
17260 something starting with __ and the normal name is an alias. */
17261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17269 if { (eval echo configure:17270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17271 eval "ac_cv_func_
$ac_func=yes"
17273 echo "configure
: failed program was
:" >&5
17274 cat conftest.$ac_ext >&5
17276 eval "ac_cv_func_
$ac_func=no
"
17281 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17282 echo "$ac_t""yes" 1>&6
17283 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17284 cat >> confdefs.h <<EOF
17285 #define $ac_tr_func 1
17289 echo "$ac_t""no
" 1>&6
17295 echo $ac_n "checking
for _finitef declaration
""...
$ac_c" 1>&6
17296 echo "configure
:17297: checking
for _finitef declaration
" >&5
17297 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
17298 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
17299 echo $ac_n "(cached
) $ac_c" 1>&6
17304 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17305 ac_cpp='$CXXCPP $CPPFLAGS'
17306 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17307 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17308 cross_compiling=$ac_cv_prog_cxx_cross
17310 cat > conftest.$ac_ext <<EOF
17311 #line 17312 "configure
"
17312 #include "confdefs.h
"
17314 #ifdef HAVE_IEEEFP_H
17315 #include <ieeefp.h>
17322 if { (eval echo configure:17323: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17324 glibcpp_cv_func__finitef_use=yes
17326 echo "configure
: failed program was
:" >&5
17327 cat conftest.$ac_ext >&5
17329 glibcpp_cv_func__finitef_use=no
17333 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17334 ac_cpp='$CPP $CPPFLAGS'
17335 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17336 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17337 cross_compiling=$ac_cv_prog_cc_cross
17343 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
17345 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
17346 for ac_func in _finitef
17348 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17349 echo "configure
:17350: checking
for $ac_func" >&5
17350 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17351 echo $ac_n "(cached
) $ac_c" 1>&6
17353 cat > conftest.$ac_ext <<EOF
17354 #line 17355 "configure
"
17355 #include "confdefs.h
"
17356 /* System header to define __stub macros and hopefully few prototypes,
17357 which can conflict with char $ac_func(); below. */
17358 #include <assert.h>
17359 /* Override any gcc2 internal prototype to avoid an error. */
17360 /* We use char because int might match the return type of a gcc2
17361 builtin and then its argument prototype would still apply. */
17366 /* The GNU C library defines this for functions which it implements
17367 to always fail with ENOSYS. Some functions are actually named
17368 something starting with __ and the normal name is an alias. */
17369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17377 if { (eval echo configure:17378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17379 eval "ac_cv_func_
$ac_func=yes"
17381 echo "configure
: failed program was
:" >&5
17382 cat conftest.$ac_ext >&5
17384 eval "ac_cv_func_
$ac_func=no
"
17389 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17390 echo "$ac_t""yes" 1>&6
17391 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17392 cat >> confdefs.h <<EOF
17393 #define $ac_tr_func 1
17397 echo "$ac_t""no
" 1>&6
17406 echo $ac_n "checking
for long double trig functions
""...
$ac_c" 1>&6
17407 echo "configure
:17408: checking
for long double trig functions
" >&5
17408 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
17409 echo $ac_n "(cached
) $ac_c" 1>&6
17414 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17415 ac_cpp='$CXXCPP $CPPFLAGS'
17416 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17417 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17418 cross_compiling=$ac_cv_prog_cxx_cross
17420 cat > conftest.$ac_ext <<EOF
17421 #line 17422 "configure
"
17422 #include "confdefs.h
"
17425 `for x in acosl asinl atanl \
17427 coshl sinhl tanhl; do echo "$x (0);"; done`
17430 if { (eval echo configure:17431: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17432 glibcpp_cv_func_long_double_trig_use=yes
17434 echo "configure
: failed program was
:" >&5
17435 cat conftest.$ac_ext >&5
17437 glibcpp_cv_func_long_double_trig_use=no
17441 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17442 ac_cpp='$CPP $CPPFLAGS'
17443 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17444 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17445 cross_compiling=$ac_cv_prog_cc_cross
17449 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
17450 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
17451 for ac_func in acosl asinl atanl \
17455 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17456 echo "configure
:17457: checking
for $ac_func" >&5
17457 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17458 echo $ac_n "(cached
) $ac_c" 1>&6
17460 cat > conftest.$ac_ext <<EOF
17461 #line 17462 "configure
"
17462 #include "confdefs.h
"
17463 /* System header to define __stub macros and hopefully few prototypes,
17464 which can conflict with char $ac_func(); below. */
17465 #include <assert.h>
17466 /* Override any gcc2 internal prototype to avoid an error. */
17467 /* We use char because int might match the return type of a gcc2
17468 builtin and then its argument prototype would still apply. */
17473 /* The GNU C library defines this for functions which it implements
17474 to always fail with ENOSYS. Some functions are actually named
17475 something starting with __ and the normal name is an alias. */
17476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17484 if { (eval echo configure:17485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17486 eval "ac_cv_func_
$ac_func=yes"
17488 echo "configure
: failed program was
:" >&5
17489 cat conftest.$ac_ext >&5
17491 eval "ac_cv_func_
$ac_func=no
"
17496 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17497 echo "$ac_t""yes" 1>&6
17498 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17499 cat >> confdefs.h <<EOF
17500 #define $ac_tr_func 1
17504 echo "$ac_t""no
" 1>&6
17511 echo $ac_n "checking
for long double round functions
""...
$ac_c" 1>&6
17512 echo "configure
:17513: checking
for long double round functions
" >&5
17513 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
17514 echo $ac_n "(cached
) $ac_c" 1>&6
17519 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17520 ac_cpp='$CXXCPP $CPPFLAGS'
17521 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17522 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17523 cross_compiling=$ac_cv_prog_cxx_cross
17525 cat > conftest.$ac_ext <<EOF
17526 #line 17527 "configure
"
17527 #include "confdefs.h
"
17530 `for x in ceill floorl; do echo "$x (0);"; done`
17533 if { (eval echo configure:17534: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17535 glibcpp_cv_func_long_double_round_use=yes
17537 echo "configure
: failed program was
:" >&5
17538 cat conftest.$ac_ext >&5
17540 glibcpp_cv_func_long_double_round_use=no
17544 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17545 ac_cpp='$CPP $CPPFLAGS'
17546 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17547 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17548 cross_compiling=$ac_cv_prog_cc_cross
17552 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
17553 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
17554 for ac_func in ceill floorl
17556 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17557 echo "configure
:17558: checking
for $ac_func" >&5
17558 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17559 echo $ac_n "(cached
) $ac_c" 1>&6
17561 cat > conftest.$ac_ext <<EOF
17562 #line 17563 "configure
"
17563 #include "confdefs.h
"
17564 /* System header to define __stub macros and hopefully few prototypes,
17565 which can conflict with char $ac_func(); below. */
17566 #include <assert.h>
17567 /* Override any gcc2 internal prototype to avoid an error. */
17568 /* We use char because int might match the return type of a gcc2
17569 builtin and then its argument prototype would still apply. */
17574 /* The GNU C library defines this for functions which it implements
17575 to always fail with ENOSYS. Some functions are actually named
17576 something starting with __ and the normal name is an alias. */
17577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17585 if { (eval echo configure:17586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17587 eval "ac_cv_func_
$ac_func=yes"
17589 echo "configure
: failed program was
:" >&5
17590 cat conftest.$ac_ext >&5
17592 eval "ac_cv_func_
$ac_func=no
"
17597 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17598 echo "$ac_t""yes" 1>&6
17599 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17600 cat >> confdefs.h <<EOF
17601 #define $ac_tr_func 1
17605 echo "$ac_t""no
" 1>&6
17613 echo $ac_n "checking
for isnanl declaration
""...
$ac_c" 1>&6
17614 echo "configure
:17615: checking
for isnanl declaration
" >&5
17615 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
17616 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
17617 echo $ac_n "(cached
) $ac_c" 1>&6
17622 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17623 ac_cpp='$CXXCPP $CPPFLAGS'
17624 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17625 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17626 cross_compiling=$ac_cv_prog_cxx_cross
17628 cat > conftest.$ac_ext <<EOF
17629 #line 17630 "configure
"
17630 #include "confdefs.h
"
17632 #ifdef HAVE_IEEEFP_H
17633 #include <ieeefp.h>
17640 if { (eval echo configure:17641: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17642 glibcpp_cv_func_isnanl_use=yes
17644 echo "configure
: failed program was
:" >&5
17645 cat conftest.$ac_ext >&5
17647 glibcpp_cv_func_isnanl_use=no
17651 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17652 ac_cpp='$CPP $CPPFLAGS'
17653 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17654 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17655 cross_compiling=$ac_cv_prog_cc_cross
17661 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
17663 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
17664 for ac_func in isnanl
17666 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17667 echo "configure
:17668: checking
for $ac_func" >&5
17668 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17669 echo $ac_n "(cached
) $ac_c" 1>&6
17671 cat > conftest.$ac_ext <<EOF
17672 #line 17673 "configure
"
17673 #include "confdefs.h
"
17674 /* System header to define __stub macros and hopefully few prototypes,
17675 which can conflict with char $ac_func(); below. */
17676 #include <assert.h>
17677 /* Override any gcc2 internal prototype to avoid an error. */
17678 /* We use char because int might match the return type of a gcc2
17679 builtin and then its argument prototype would still apply. */
17684 /* The GNU C library defines this for functions which it implements
17685 to always fail with ENOSYS. Some functions are actually named
17686 something starting with __ and the normal name is an alias. */
17687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17695 if { (eval echo configure:17696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17697 eval "ac_cv_func_
$ac_func=yes"
17699 echo "configure
: failed program was
:" >&5
17700 cat conftest.$ac_ext >&5
17702 eval "ac_cv_func_
$ac_func=no
"
17707 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17708 echo "$ac_t""yes" 1>&6
17709 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17710 cat >> confdefs.h <<EOF
17711 #define $ac_tr_func 1
17715 echo "$ac_t""no
" 1>&6
17721 echo $ac_n "checking
for _isnanl declaration
""...
$ac_c" 1>&6
17722 echo "configure
:17723: checking
for _isnanl declaration
" >&5
17723 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
17724 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
17725 echo $ac_n "(cached
) $ac_c" 1>&6
17730 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17731 ac_cpp='$CXXCPP $CPPFLAGS'
17732 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17733 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17734 cross_compiling=$ac_cv_prog_cxx_cross
17736 cat > conftest.$ac_ext <<EOF
17737 #line 17738 "configure
"
17738 #include "confdefs.h
"
17740 #ifdef HAVE_IEEEFP_H
17741 #include <ieeefp.h>
17748 if { (eval echo configure:17749: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17750 glibcpp_cv_func__isnanl_use=yes
17752 echo "configure
: failed program was
:" >&5
17753 cat conftest.$ac_ext >&5
17755 glibcpp_cv_func__isnanl_use=no
17759 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17760 ac_cpp='$CPP $CPPFLAGS'
17761 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17762 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17763 cross_compiling=$ac_cv_prog_cc_cross
17769 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
17771 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
17772 for ac_func in _isnanl
17774 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17775 echo "configure
:17776: checking
for $ac_func" >&5
17776 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17777 echo $ac_n "(cached
) $ac_c" 1>&6
17779 cat > conftest.$ac_ext <<EOF
17780 #line 17781 "configure
"
17781 #include "confdefs.h
"
17782 /* System header to define __stub macros and hopefully few prototypes,
17783 which can conflict with char $ac_func(); below. */
17784 #include <assert.h>
17785 /* Override any gcc2 internal prototype to avoid an error. */
17786 /* We use char because int might match the return type of a gcc2
17787 builtin and then its argument prototype would still apply. */
17792 /* The GNU C library defines this for functions which it implements
17793 to always fail with ENOSYS. Some functions are actually named
17794 something starting with __ and the normal name is an alias. */
17795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17803 if { (eval echo configure:17804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17805 eval "ac_cv_func_
$ac_func=yes"
17807 echo "configure
: failed program was
:" >&5
17808 cat conftest.$ac_ext >&5
17810 eval "ac_cv_func_
$ac_func=no
"
17815 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17816 echo "$ac_t""yes" 1>&6
17817 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17818 cat >> confdefs.h <<EOF
17819 #define $ac_tr_func 1
17823 echo "$ac_t""no
" 1>&6
17832 echo $ac_n "checking
for isinfl declaration
""...
$ac_c" 1>&6
17833 echo "configure
:17834: checking
for isinfl declaration
" >&5
17834 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
17835 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
17836 echo $ac_n "(cached
) $ac_c" 1>&6
17841 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17842 ac_cpp='$CXXCPP $CPPFLAGS'
17843 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17844 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17845 cross_compiling=$ac_cv_prog_cxx_cross
17847 cat > conftest.$ac_ext <<EOF
17848 #line 17849 "configure
"
17849 #include "confdefs.h
"
17851 #ifdef HAVE_IEEEFP_H
17852 #include <ieeefp.h>
17859 if { (eval echo configure:17860: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17861 glibcpp_cv_func_isinfl_use=yes
17863 echo "configure
: failed program was
:" >&5
17864 cat conftest.$ac_ext >&5
17866 glibcpp_cv_func_isinfl_use=no
17870 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17871 ac_cpp='$CPP $CPPFLAGS'
17872 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17873 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17874 cross_compiling=$ac_cv_prog_cc_cross
17880 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
17882 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
17883 for ac_func in isinfl
17885 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17886 echo "configure
:17887: checking
for $ac_func" >&5
17887 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17888 echo $ac_n "(cached
) $ac_c" 1>&6
17890 cat > conftest.$ac_ext <<EOF
17891 #line 17892 "configure
"
17892 #include "confdefs.h
"
17893 /* System header to define __stub macros and hopefully few prototypes,
17894 which can conflict with char $ac_func(); below. */
17895 #include <assert.h>
17896 /* Override any gcc2 internal prototype to avoid an error. */
17897 /* We use char because int might match the return type of a gcc2
17898 builtin and then its argument prototype would still apply. */
17903 /* The GNU C library defines this for functions which it implements
17904 to always fail with ENOSYS. Some functions are actually named
17905 something starting with __ and the normal name is an alias. */
17906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17914 if { (eval echo configure:17915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17916 eval "ac_cv_func_
$ac_func=yes"
17918 echo "configure
: failed program was
:" >&5
17919 cat conftest.$ac_ext >&5
17921 eval "ac_cv_func_
$ac_func=no
"
17926 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17927 echo "$ac_t""yes" 1>&6
17928 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17929 cat >> confdefs.h <<EOF
17930 #define $ac_tr_func 1
17934 echo "$ac_t""no
" 1>&6
17940 echo $ac_n "checking
for _isinfl declaration
""...
$ac_c" 1>&6
17941 echo "configure
:17942: checking
for _isinfl declaration
" >&5
17942 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
17943 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
17944 echo $ac_n "(cached
) $ac_c" 1>&6
17949 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17950 ac_cpp='$CXXCPP $CPPFLAGS'
17951 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17952 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17953 cross_compiling=$ac_cv_prog_cxx_cross
17955 cat > conftest.$ac_ext <<EOF
17956 #line 17957 "configure
"
17957 #include "confdefs.h
"
17959 #ifdef HAVE_IEEEFP_H
17960 #include <ieeefp.h>
17967 if { (eval echo configure:17968: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17969 glibcpp_cv_func__isinfl_use=yes
17971 echo "configure
: failed program was
:" >&5
17972 cat conftest.$ac_ext >&5
17974 glibcpp_cv_func__isinfl_use=no
17978 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17979 ac_cpp='$CPP $CPPFLAGS'
17980 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17981 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17982 cross_compiling=$ac_cv_prog_cc_cross
17988 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
17990 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
17991 for ac_func in _isinfl
17993 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17994 echo "configure
:17995: checking
for $ac_func" >&5
17995 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17996 echo $ac_n "(cached
) $ac_c" 1>&6
17998 cat > conftest.$ac_ext <<EOF
17999 #line 18000 "configure
"
18000 #include "confdefs.h
"
18001 /* System header to define __stub macros and hopefully few prototypes,
18002 which can conflict with char $ac_func(); below. */
18003 #include <assert.h>
18004 /* Override any gcc2 internal prototype to avoid an error. */
18005 /* We use char because int might match the return type of a gcc2
18006 builtin and then its argument prototype would still apply. */
18011 /* The GNU C library defines this for functions which it implements
18012 to always fail with ENOSYS. Some functions are actually named
18013 something starting with __ and the normal name is an alias. */
18014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18022 if { (eval echo configure:18023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18024 eval "ac_cv_func_
$ac_func=yes"
18026 echo "configure
: failed program was
:" >&5
18027 cat conftest.$ac_ext >&5
18029 eval "ac_cv_func_
$ac_func=no
"
18034 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18035 echo "$ac_t""yes" 1>&6
18036 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18037 cat >> confdefs.h <<EOF
18038 #define $ac_tr_func 1
18042 echo "$ac_t""no
" 1>&6
18051 echo $ac_n "checking
for copysignl declaration
""...
$ac_c" 1>&6
18052 echo "configure
:18053: checking
for copysignl declaration
" >&5
18053 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
18054 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
18055 echo $ac_n "(cached
) $ac_c" 1>&6
18060 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18061 ac_cpp='$CXXCPP $CPPFLAGS'
18062 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18063 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18064 cross_compiling=$ac_cv_prog_cxx_cross
18066 cat > conftest.$ac_ext <<EOF
18067 #line 18068 "configure
"
18068 #include "confdefs.h
"
18074 if { (eval echo configure:18075: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18076 glibcpp_cv_func_copysignl_use=yes
18078 echo "configure
: failed program was
:" >&5
18079 cat conftest.$ac_ext >&5
18081 glibcpp_cv_func_copysignl_use=no
18085 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18086 ac_cpp='$CPP $CPPFLAGS'
18087 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18088 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18089 cross_compiling=$ac_cv_prog_cc_cross
18095 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
18097 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
18098 for ac_func in copysignl
18100 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18101 echo "configure
:18102: checking
for $ac_func" >&5
18102 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18103 echo $ac_n "(cached
) $ac_c" 1>&6
18105 cat > conftest.$ac_ext <<EOF
18106 #line 18107 "configure
"
18107 #include "confdefs.h
"
18108 /* System header to define __stub macros and hopefully few prototypes,
18109 which can conflict with char $ac_func(); below. */
18110 #include <assert.h>
18111 /* Override any gcc2 internal prototype to avoid an error. */
18112 /* We use char because int might match the return type of a gcc2
18113 builtin and then its argument prototype would still apply. */
18118 /* The GNU C library defines this for functions which it implements
18119 to always fail with ENOSYS. Some functions are actually named
18120 something starting with __ and the normal name is an alias. */
18121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18129 if { (eval echo configure:18130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18131 eval "ac_cv_func_
$ac_func=yes"
18133 echo "configure
: failed program was
:" >&5
18134 cat conftest.$ac_ext >&5
18136 eval "ac_cv_func_
$ac_func=no
"
18141 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18142 echo "$ac_t""yes" 1>&6
18143 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18144 cat >> confdefs.h <<EOF
18145 #define $ac_tr_func 1
18149 echo "$ac_t""no
" 1>&6
18155 echo $ac_n "checking
for _copysignl declaration
""...
$ac_c" 1>&6
18156 echo "configure
:18157: checking
for _copysignl declaration
" >&5
18157 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
18158 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
18159 echo $ac_n "(cached
) $ac_c" 1>&6
18164 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18165 ac_cpp='$CXXCPP $CPPFLAGS'
18166 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18167 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18168 cross_compiling=$ac_cv_prog_cxx_cross
18170 cat > conftest.$ac_ext <<EOF
18171 #line 18172 "configure
"
18172 #include "confdefs.h
"
18178 if { (eval echo configure:18179: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18180 glibcpp_cv_func__copysignl_use=yes
18182 echo "configure
: failed program was
:" >&5
18183 cat conftest.$ac_ext >&5
18185 glibcpp_cv_func__copysignl_use=no
18189 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18190 ac_cpp='$CPP $CPPFLAGS'
18191 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18192 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18193 cross_compiling=$ac_cv_prog_cc_cross
18199 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
18201 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
18202 for ac_func in _copysignl
18204 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18205 echo "configure
:18206: checking
for $ac_func" >&5
18206 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18207 echo $ac_n "(cached
) $ac_c" 1>&6
18209 cat > conftest.$ac_ext <<EOF
18210 #line 18211 "configure
"
18211 #include "confdefs.h
"
18212 /* System header to define __stub macros and hopefully few prototypes,
18213 which can conflict with char $ac_func(); below. */
18214 #include <assert.h>
18215 /* Override any gcc2 internal prototype to avoid an error. */
18216 /* We use char because int might match the return type of a gcc2
18217 builtin and then its argument prototype would still apply. */
18222 /* The GNU C library defines this for functions which it implements
18223 to always fail with ENOSYS. Some functions are actually named
18224 something starting with __ and the normal name is an alias. */
18225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18233 if { (eval echo configure:18234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18235 eval "ac_cv_func_
$ac_func=yes"
18237 echo "configure
: failed program was
:" >&5
18238 cat conftest.$ac_ext >&5
18240 eval "ac_cv_func_
$ac_func=no
"
18245 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18246 echo "$ac_t""yes" 1>&6
18247 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18248 cat >> confdefs.h <<EOF
18249 #define $ac_tr_func 1
18253 echo "$ac_t""no
" 1>&6
18262 echo $ac_n "checking
for atan2l declaration
""...
$ac_c" 1>&6
18263 echo "configure
:18264: checking
for atan2l declaration
" >&5
18264 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
18265 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
18266 echo $ac_n "(cached
) $ac_c" 1>&6
18271 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18272 ac_cpp='$CXXCPP $CPPFLAGS'
18273 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18274 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18275 cross_compiling=$ac_cv_prog_cxx_cross
18277 cat > conftest.$ac_ext <<EOF
18278 #line 18279 "configure
"
18279 #include "confdefs.h
"
18285 if { (eval echo configure:18286: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18287 glibcpp_cv_func_atan2l_use=yes
18289 echo "configure
: failed program was
:" >&5
18290 cat conftest.$ac_ext >&5
18292 glibcpp_cv_func_atan2l_use=no
18296 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18297 ac_cpp='$CPP $CPPFLAGS'
18298 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18299 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18300 cross_compiling=$ac_cv_prog_cc_cross
18306 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
18308 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
18309 for ac_func in atan2l
18311 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18312 echo "configure
:18313: checking
for $ac_func" >&5
18313 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18314 echo $ac_n "(cached
) $ac_c" 1>&6
18316 cat > conftest.$ac_ext <<EOF
18317 #line 18318 "configure
"
18318 #include "confdefs.h
"
18319 /* System header to define __stub macros and hopefully few prototypes,
18320 which can conflict with char $ac_func(); below. */
18321 #include <assert.h>
18322 /* Override any gcc2 internal prototype to avoid an error. */
18323 /* We use char because int might match the return type of a gcc2
18324 builtin and then its argument prototype would still apply. */
18329 /* The GNU C library defines this for functions which it implements
18330 to always fail with ENOSYS. Some functions are actually named
18331 something starting with __ and the normal name is an alias. */
18332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18340 if { (eval echo configure:18341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18342 eval "ac_cv_func_
$ac_func=yes"
18344 echo "configure
: failed program was
:" >&5
18345 cat conftest.$ac_ext >&5
18347 eval "ac_cv_func_
$ac_func=no
"
18352 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18353 echo "$ac_t""yes" 1>&6
18354 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18355 cat >> confdefs.h <<EOF
18356 #define $ac_tr_func 1
18360 echo "$ac_t""no
" 1>&6
18366 echo $ac_n "checking
for _atan2l declaration
""...
$ac_c" 1>&6
18367 echo "configure
:18368: checking
for _atan2l declaration
" >&5
18368 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
18369 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
18370 echo $ac_n "(cached
) $ac_c" 1>&6
18375 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18376 ac_cpp='$CXXCPP $CPPFLAGS'
18377 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18378 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18379 cross_compiling=$ac_cv_prog_cxx_cross
18381 cat > conftest.$ac_ext <<EOF
18382 #line 18383 "configure
"
18383 #include "confdefs.h
"
18389 if { (eval echo configure:18390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18391 glibcpp_cv_func__atan2l_use=yes
18393 echo "configure
: failed program was
:" >&5
18394 cat conftest.$ac_ext >&5
18396 glibcpp_cv_func__atan2l_use=no
18400 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18401 ac_cpp='$CPP $CPPFLAGS'
18402 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18403 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18404 cross_compiling=$ac_cv_prog_cc_cross
18410 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
18412 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
18413 for ac_func in _atan2l
18415 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18416 echo "configure
:18417: checking
for $ac_func" >&5
18417 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18418 echo $ac_n "(cached
) $ac_c" 1>&6
18420 cat > conftest.$ac_ext <<EOF
18421 #line 18422 "configure
"
18422 #include "confdefs.h
"
18423 /* System header to define __stub macros and hopefully few prototypes,
18424 which can conflict with char $ac_func(); below. */
18425 #include <assert.h>
18426 /* Override any gcc2 internal prototype to avoid an error. */
18427 /* We use char because int might match the return type of a gcc2
18428 builtin and then its argument prototype would still apply. */
18433 /* The GNU C library defines this for functions which it implements
18434 to always fail with ENOSYS. Some functions are actually named
18435 something starting with __ and the normal name is an alias. */
18436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18444 if { (eval echo configure:18445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18446 eval "ac_cv_func_
$ac_func=yes"
18448 echo "configure
: failed program was
:" >&5
18449 cat conftest.$ac_ext >&5
18451 eval "ac_cv_func_
$ac_func=no
"
18456 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18457 echo "$ac_t""yes" 1>&6
18458 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18459 cat >> confdefs.h <<EOF
18460 #define $ac_tr_func 1
18464 echo "$ac_t""no
" 1>&6
18473 echo $ac_n "checking
for expl declaration
""...
$ac_c" 1>&6
18474 echo "configure
:18475: checking
for expl declaration
" >&5
18475 if test x${glibcpp_cv_func_expl_use+set} != xset; then
18476 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
18477 echo $ac_n "(cached
) $ac_c" 1>&6
18482 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18483 ac_cpp='$CXXCPP $CPPFLAGS'
18484 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18485 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18486 cross_compiling=$ac_cv_prog_cxx_cross
18488 cat > conftest.$ac_ext <<EOF
18489 #line 18490 "configure
"
18490 #include "confdefs.h
"
18492 #ifdef HAVE_IEEEFP_H
18493 #include <ieeefp.h>
18500 if { (eval echo configure:18501: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18502 glibcpp_cv_func_expl_use=yes
18504 echo "configure
: failed program was
:" >&5
18505 cat conftest.$ac_ext >&5
18507 glibcpp_cv_func_expl_use=no
18511 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18512 ac_cpp='$CPP $CPPFLAGS'
18513 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18514 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18515 cross_compiling=$ac_cv_prog_cc_cross
18521 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
18523 if test x$glibcpp_cv_func_expl_use = x"yes"; then
18524 for ac_func in expl
18526 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18527 echo "configure
:18528: checking
for $ac_func" >&5
18528 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18529 echo $ac_n "(cached
) $ac_c" 1>&6
18531 cat > conftest.$ac_ext <<EOF
18532 #line 18533 "configure
"
18533 #include "confdefs.h
"
18534 /* System header to define __stub macros and hopefully few prototypes,
18535 which can conflict with char $ac_func(); below. */
18536 #include <assert.h>
18537 /* Override any gcc2 internal prototype to avoid an error. */
18538 /* We use char because int might match the return type of a gcc2
18539 builtin and then its argument prototype would still apply. */
18544 /* The GNU C library defines this for functions which it implements
18545 to always fail with ENOSYS. Some functions are actually named
18546 something starting with __ and the normal name is an alias. */
18547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18555 if { (eval echo configure:18556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18557 eval "ac_cv_func_
$ac_func=yes"
18559 echo "configure
: failed program was
:" >&5
18560 cat conftest.$ac_ext >&5
18562 eval "ac_cv_func_
$ac_func=no
"
18567 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18568 echo "$ac_t""yes" 1>&6
18569 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18570 cat >> confdefs.h <<EOF
18571 #define $ac_tr_func 1
18575 echo "$ac_t""no
" 1>&6
18581 echo $ac_n "checking
for _expl declaration
""...
$ac_c" 1>&6
18582 echo "configure
:18583: checking
for _expl declaration
" >&5
18583 if test x${glibcpp_cv_func__expl_use+set} != xset; then
18584 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
18585 echo $ac_n "(cached
) $ac_c" 1>&6
18590 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18591 ac_cpp='$CXXCPP $CPPFLAGS'
18592 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18593 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18594 cross_compiling=$ac_cv_prog_cxx_cross
18596 cat > conftest.$ac_ext <<EOF
18597 #line 18598 "configure
"
18598 #include "confdefs.h
"
18600 #ifdef HAVE_IEEEFP_H
18601 #include <ieeefp.h>
18608 if { (eval echo configure:18609: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18610 glibcpp_cv_func__expl_use=yes
18612 echo "configure
: failed program was
:" >&5
18613 cat conftest.$ac_ext >&5
18615 glibcpp_cv_func__expl_use=no
18619 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18620 ac_cpp='$CPP $CPPFLAGS'
18621 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18622 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18623 cross_compiling=$ac_cv_prog_cc_cross
18629 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
18631 if test x$glibcpp_cv_func__expl_use = x"yes"; then
18632 for ac_func in _expl
18634 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18635 echo "configure
:18636: checking
for $ac_func" >&5
18636 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18637 echo $ac_n "(cached
) $ac_c" 1>&6
18639 cat > conftest.$ac_ext <<EOF
18640 #line 18641 "configure
"
18641 #include "confdefs.h
"
18642 /* System header to define __stub macros and hopefully few prototypes,
18643 which can conflict with char $ac_func(); below. */
18644 #include <assert.h>
18645 /* Override any gcc2 internal prototype to avoid an error. */
18646 /* We use char because int might match the return type of a gcc2
18647 builtin and then its argument prototype would still apply. */
18652 /* The GNU C library defines this for functions which it implements
18653 to always fail with ENOSYS. Some functions are actually named
18654 something starting with __ and the normal name is an alias. */
18655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18663 if { (eval echo configure:18664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18665 eval "ac_cv_func_
$ac_func=yes"
18667 echo "configure
: failed program was
:" >&5
18668 cat conftest.$ac_ext >&5
18670 eval "ac_cv_func_
$ac_func=no
"
18675 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18676 echo "$ac_t""yes" 1>&6
18677 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18678 cat >> confdefs.h <<EOF
18679 #define $ac_tr_func 1
18683 echo "$ac_t""no
" 1>&6
18692 echo $ac_n "checking
for fabsl declaration
""...
$ac_c" 1>&6
18693 echo "configure
:18694: checking
for fabsl declaration
" >&5
18694 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
18695 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
18696 echo $ac_n "(cached
) $ac_c" 1>&6
18701 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18702 ac_cpp='$CXXCPP $CPPFLAGS'
18703 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18704 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18705 cross_compiling=$ac_cv_prog_cxx_cross
18707 cat > conftest.$ac_ext <<EOF
18708 #line 18709 "configure
"
18709 #include "confdefs.h
"
18711 #ifdef HAVE_IEEEFP_H
18712 #include <ieeefp.h>
18719 if { (eval echo configure:18720: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18721 glibcpp_cv_func_fabsl_use=yes
18723 echo "configure
: failed program was
:" >&5
18724 cat conftest.$ac_ext >&5
18726 glibcpp_cv_func_fabsl_use=no
18730 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18731 ac_cpp='$CPP $CPPFLAGS'
18732 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18733 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18734 cross_compiling=$ac_cv_prog_cc_cross
18740 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
18742 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
18743 for ac_func in fabsl
18745 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18746 echo "configure
:18747: checking
for $ac_func" >&5
18747 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18748 echo $ac_n "(cached
) $ac_c" 1>&6
18750 cat > conftest.$ac_ext <<EOF
18751 #line 18752 "configure
"
18752 #include "confdefs.h
"
18753 /* System header to define __stub macros and hopefully few prototypes,
18754 which can conflict with char $ac_func(); below. */
18755 #include <assert.h>
18756 /* Override any gcc2 internal prototype to avoid an error. */
18757 /* We use char because int might match the return type of a gcc2
18758 builtin and then its argument prototype would still apply. */
18763 /* The GNU C library defines this for functions which it implements
18764 to always fail with ENOSYS. Some functions are actually named
18765 something starting with __ and the normal name is an alias. */
18766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18774 if { (eval echo configure:18775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18776 eval "ac_cv_func_
$ac_func=yes"
18778 echo "configure
: failed program was
:" >&5
18779 cat conftest.$ac_ext >&5
18781 eval "ac_cv_func_
$ac_func=no
"
18786 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18787 echo "$ac_t""yes" 1>&6
18788 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18789 cat >> confdefs.h <<EOF
18790 #define $ac_tr_func 1
18794 echo "$ac_t""no
" 1>&6
18800 echo $ac_n "checking
for _fabsl declaration
""...
$ac_c" 1>&6
18801 echo "configure
:18802: checking
for _fabsl declaration
" >&5
18802 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
18803 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
18804 echo $ac_n "(cached
) $ac_c" 1>&6
18809 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18810 ac_cpp='$CXXCPP $CPPFLAGS'
18811 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18812 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18813 cross_compiling=$ac_cv_prog_cxx_cross
18815 cat > conftest.$ac_ext <<EOF
18816 #line 18817 "configure
"
18817 #include "confdefs.h
"
18819 #ifdef HAVE_IEEEFP_H
18820 #include <ieeefp.h>
18827 if { (eval echo configure:18828: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18829 glibcpp_cv_func__fabsl_use=yes
18831 echo "configure
: failed program was
:" >&5
18832 cat conftest.$ac_ext >&5
18834 glibcpp_cv_func__fabsl_use=no
18838 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18839 ac_cpp='$CPP $CPPFLAGS'
18840 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18841 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18842 cross_compiling=$ac_cv_prog_cc_cross
18848 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
18850 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
18851 for ac_func in _fabsl
18853 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18854 echo "configure
:18855: checking
for $ac_func" >&5
18855 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18856 echo $ac_n "(cached
) $ac_c" 1>&6
18858 cat > conftest.$ac_ext <<EOF
18859 #line 18860 "configure
"
18860 #include "confdefs.h
"
18861 /* System header to define __stub macros and hopefully few prototypes,
18862 which can conflict with char $ac_func(); below. */
18863 #include <assert.h>
18864 /* Override any gcc2 internal prototype to avoid an error. */
18865 /* We use char because int might match the return type of a gcc2
18866 builtin and then its argument prototype would still apply. */
18871 /* The GNU C library defines this for functions which it implements
18872 to always fail with ENOSYS. Some functions are actually named
18873 something starting with __ and the normal name is an alias. */
18874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18882 if { (eval echo configure:18883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18884 eval "ac_cv_func_
$ac_func=yes"
18886 echo "configure
: failed program was
:" >&5
18887 cat conftest.$ac_ext >&5
18889 eval "ac_cv_func_
$ac_func=no
"
18894 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18895 echo "$ac_t""yes" 1>&6
18896 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18897 cat >> confdefs.h <<EOF
18898 #define $ac_tr_func 1
18902 echo "$ac_t""no
" 1>&6
18911 echo $ac_n "checking
for fmodl declaration
""...
$ac_c" 1>&6
18912 echo "configure
:18913: checking
for fmodl declaration
" >&5
18913 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
18914 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
18915 echo $ac_n "(cached
) $ac_c" 1>&6
18920 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18921 ac_cpp='$CXXCPP $CPPFLAGS'
18922 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18923 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18924 cross_compiling=$ac_cv_prog_cxx_cross
18926 cat > conftest.$ac_ext <<EOF
18927 #line 18928 "configure
"
18928 #include "confdefs.h
"
18934 if { (eval echo configure:18935: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18936 glibcpp_cv_func_fmodl_use=yes
18938 echo "configure
: failed program was
:" >&5
18939 cat conftest.$ac_ext >&5
18941 glibcpp_cv_func_fmodl_use=no
18945 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18946 ac_cpp='$CPP $CPPFLAGS'
18947 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18948 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18949 cross_compiling=$ac_cv_prog_cc_cross
18955 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
18957 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
18958 for ac_func in fmodl
18960 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18961 echo "configure
:18962: checking
for $ac_func" >&5
18962 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18963 echo $ac_n "(cached
) $ac_c" 1>&6
18965 cat > conftest.$ac_ext <<EOF
18966 #line 18967 "configure
"
18967 #include "confdefs.h
"
18968 /* System header to define __stub macros and hopefully few prototypes,
18969 which can conflict with char $ac_func(); below. */
18970 #include <assert.h>
18971 /* Override any gcc2 internal prototype to avoid an error. */
18972 /* We use char because int might match the return type of a gcc2
18973 builtin and then its argument prototype would still apply. */
18978 /* The GNU C library defines this for functions which it implements
18979 to always fail with ENOSYS. Some functions are actually named
18980 something starting with __ and the normal name is an alias. */
18981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18989 if { (eval echo configure:18990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18991 eval "ac_cv_func_
$ac_func=yes"
18993 echo "configure
: failed program was
:" >&5
18994 cat conftest.$ac_ext >&5
18996 eval "ac_cv_func_
$ac_func=no
"
19001 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19002 echo "$ac_t""yes" 1>&6
19003 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19004 cat >> confdefs.h <<EOF
19005 #define $ac_tr_func 1
19009 echo "$ac_t""no
" 1>&6
19015 echo $ac_n "checking
for _fmodl declaration
""...
$ac_c" 1>&6
19016 echo "configure
:19017: checking
for _fmodl declaration
" >&5
19017 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
19018 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
19019 echo $ac_n "(cached
) $ac_c" 1>&6
19024 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19025 ac_cpp='$CXXCPP $CPPFLAGS'
19026 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19027 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19028 cross_compiling=$ac_cv_prog_cxx_cross
19030 cat > conftest.$ac_ext <<EOF
19031 #line 19032 "configure
"
19032 #include "confdefs.h
"
19038 if { (eval echo configure:19039: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19040 glibcpp_cv_func__fmodl_use=yes
19042 echo "configure
: failed program was
:" >&5
19043 cat conftest.$ac_ext >&5
19045 glibcpp_cv_func__fmodl_use=no
19049 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19050 ac_cpp='$CPP $CPPFLAGS'
19051 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19052 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19053 cross_compiling=$ac_cv_prog_cc_cross
19059 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
19061 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
19062 for ac_func in _fmodl
19064 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19065 echo "configure
:19066: checking
for $ac_func" >&5
19066 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19067 echo $ac_n "(cached
) $ac_c" 1>&6
19069 cat > conftest.$ac_ext <<EOF
19070 #line 19071 "configure
"
19071 #include "confdefs.h
"
19072 /* System header to define __stub macros and hopefully few prototypes,
19073 which can conflict with char $ac_func(); below. */
19074 #include <assert.h>
19075 /* Override any gcc2 internal prototype to avoid an error. */
19076 /* We use char because int might match the return type of a gcc2
19077 builtin and then its argument prototype would still apply. */
19082 /* The GNU C library defines this for functions which it implements
19083 to always fail with ENOSYS. Some functions are actually named
19084 something starting with __ and the normal name is an alias. */
19085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19093 if { (eval echo configure:19094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19095 eval "ac_cv_func_
$ac_func=yes"
19097 echo "configure
: failed program was
:" >&5
19098 cat conftest.$ac_ext >&5
19100 eval "ac_cv_func_
$ac_func=no
"
19105 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19106 echo "$ac_t""yes" 1>&6
19107 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19108 cat >> confdefs.h <<EOF
19109 #define $ac_tr_func 1
19113 echo "$ac_t""no
" 1>&6
19122 echo $ac_n "checking
for frexpl declaration
""...
$ac_c" 1>&6
19123 echo "configure
:19124: checking
for frexpl declaration
" >&5
19124 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
19125 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
19126 echo $ac_n "(cached
) $ac_c" 1>&6
19131 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19132 ac_cpp='$CXXCPP $CPPFLAGS'
19133 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19134 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19135 cross_compiling=$ac_cv_prog_cxx_cross
19137 cat > conftest.$ac_ext <<EOF
19138 #line 19139 "configure
"
19139 #include "confdefs.h
"
19145 if { (eval echo configure:19146: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19147 glibcpp_cv_func_frexpl_use=yes
19149 echo "configure
: failed program was
:" >&5
19150 cat conftest.$ac_ext >&5
19152 glibcpp_cv_func_frexpl_use=no
19156 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19157 ac_cpp='$CPP $CPPFLAGS'
19158 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19159 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19160 cross_compiling=$ac_cv_prog_cc_cross
19166 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
19168 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
19169 for ac_func in frexpl
19171 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19172 echo "configure
:19173: checking
for $ac_func" >&5
19173 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19174 echo $ac_n "(cached
) $ac_c" 1>&6
19176 cat > conftest.$ac_ext <<EOF
19177 #line 19178 "configure
"
19178 #include "confdefs.h
"
19179 /* System header to define __stub macros and hopefully few prototypes,
19180 which can conflict with char $ac_func(); below. */
19181 #include <assert.h>
19182 /* Override any gcc2 internal prototype to avoid an error. */
19183 /* We use char because int might match the return type of a gcc2
19184 builtin and then its argument prototype would still apply. */
19189 /* The GNU C library defines this for functions which it implements
19190 to always fail with ENOSYS. Some functions are actually named
19191 something starting with __ and the normal name is an alias. */
19192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19200 if { (eval echo configure:19201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19202 eval "ac_cv_func_
$ac_func=yes"
19204 echo "configure
: failed program was
:" >&5
19205 cat conftest.$ac_ext >&5
19207 eval "ac_cv_func_
$ac_func=no
"
19212 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19213 echo "$ac_t""yes" 1>&6
19214 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19215 cat >> confdefs.h <<EOF
19216 #define $ac_tr_func 1
19220 echo "$ac_t""no
" 1>&6
19226 echo $ac_n "checking
for _frexpl declaration
""...
$ac_c" 1>&6
19227 echo "configure
:19228: checking
for _frexpl declaration
" >&5
19228 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
19229 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
19230 echo $ac_n "(cached
) $ac_c" 1>&6
19235 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19236 ac_cpp='$CXXCPP $CPPFLAGS'
19237 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19238 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19239 cross_compiling=$ac_cv_prog_cxx_cross
19241 cat > conftest.$ac_ext <<EOF
19242 #line 19243 "configure
"
19243 #include "confdefs.h
"
19249 if { (eval echo configure:19250: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19251 glibcpp_cv_func__frexpl_use=yes
19253 echo "configure
: failed program was
:" >&5
19254 cat conftest.$ac_ext >&5
19256 glibcpp_cv_func__frexpl_use=no
19260 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19261 ac_cpp='$CPP $CPPFLAGS'
19262 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19263 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19264 cross_compiling=$ac_cv_prog_cc_cross
19270 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
19272 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
19273 for ac_func in _frexpl
19275 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19276 echo "configure
:19277: checking
for $ac_func" >&5
19277 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19278 echo $ac_n "(cached
) $ac_c" 1>&6
19280 cat > conftest.$ac_ext <<EOF
19281 #line 19282 "configure
"
19282 #include "confdefs.h
"
19283 /* System header to define __stub macros and hopefully few prototypes,
19284 which can conflict with char $ac_func(); below. */
19285 #include <assert.h>
19286 /* Override any gcc2 internal prototype to avoid an error. */
19287 /* We use char because int might match the return type of a gcc2
19288 builtin and then its argument prototype would still apply. */
19293 /* The GNU C library defines this for functions which it implements
19294 to always fail with ENOSYS. Some functions are actually named
19295 something starting with __ and the normal name is an alias. */
19296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19304 if { (eval echo configure:19305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19306 eval "ac_cv_func_
$ac_func=yes"
19308 echo "configure
: failed program was
:" >&5
19309 cat conftest.$ac_ext >&5
19311 eval "ac_cv_func_
$ac_func=no
"
19316 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19317 echo "$ac_t""yes" 1>&6
19318 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19319 cat >> confdefs.h <<EOF
19320 #define $ac_tr_func 1
19324 echo "$ac_t""no
" 1>&6
19333 echo $ac_n "checking
for hypotl declaration
""...
$ac_c" 1>&6
19334 echo "configure
:19335: checking
for hypotl declaration
" >&5
19335 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
19336 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
19337 echo $ac_n "(cached
) $ac_c" 1>&6
19342 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19343 ac_cpp='$CXXCPP $CPPFLAGS'
19344 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19345 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19346 cross_compiling=$ac_cv_prog_cxx_cross
19348 cat > conftest.$ac_ext <<EOF
19349 #line 19350 "configure
"
19350 #include "confdefs.h
"
19356 if { (eval echo configure:19357: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19358 glibcpp_cv_func_hypotl_use=yes
19360 echo "configure
: failed program was
:" >&5
19361 cat conftest.$ac_ext >&5
19363 glibcpp_cv_func_hypotl_use=no
19367 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19368 ac_cpp='$CPP $CPPFLAGS'
19369 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19370 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19371 cross_compiling=$ac_cv_prog_cc_cross
19377 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
19379 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
19380 for ac_func in hypotl
19382 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19383 echo "configure
:19384: checking
for $ac_func" >&5
19384 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19385 echo $ac_n "(cached
) $ac_c" 1>&6
19387 cat > conftest.$ac_ext <<EOF
19388 #line 19389 "configure
"
19389 #include "confdefs.h
"
19390 /* System header to define __stub macros and hopefully few prototypes,
19391 which can conflict with char $ac_func(); below. */
19392 #include <assert.h>
19393 /* Override any gcc2 internal prototype to avoid an error. */
19394 /* We use char because int might match the return type of a gcc2
19395 builtin and then its argument prototype would still apply. */
19400 /* The GNU C library defines this for functions which it implements
19401 to always fail with ENOSYS. Some functions are actually named
19402 something starting with __ and the normal name is an alias. */
19403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19411 if { (eval echo configure:19412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19413 eval "ac_cv_func_
$ac_func=yes"
19415 echo "configure
: failed program was
:" >&5
19416 cat conftest.$ac_ext >&5
19418 eval "ac_cv_func_
$ac_func=no
"
19423 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19424 echo "$ac_t""yes" 1>&6
19425 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19426 cat >> confdefs.h <<EOF
19427 #define $ac_tr_func 1
19431 echo "$ac_t""no
" 1>&6
19437 echo $ac_n "checking
for _hypotl declaration
""...
$ac_c" 1>&6
19438 echo "configure
:19439: checking
for _hypotl declaration
" >&5
19439 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
19440 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
19441 echo $ac_n "(cached
) $ac_c" 1>&6
19446 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19447 ac_cpp='$CXXCPP $CPPFLAGS'
19448 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19449 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19450 cross_compiling=$ac_cv_prog_cxx_cross
19452 cat > conftest.$ac_ext <<EOF
19453 #line 19454 "configure
"
19454 #include "confdefs.h
"
19460 if { (eval echo configure:19461: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19462 glibcpp_cv_func__hypotl_use=yes
19464 echo "configure
: failed program was
:" >&5
19465 cat conftest.$ac_ext >&5
19467 glibcpp_cv_func__hypotl_use=no
19471 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19472 ac_cpp='$CPP $CPPFLAGS'
19473 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19474 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19475 cross_compiling=$ac_cv_prog_cc_cross
19481 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
19483 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
19484 for ac_func in _hypotl
19486 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19487 echo "configure
:19488: checking
for $ac_func" >&5
19488 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19489 echo $ac_n "(cached
) $ac_c" 1>&6
19491 cat > conftest.$ac_ext <<EOF
19492 #line 19493 "configure
"
19493 #include "confdefs.h
"
19494 /* System header to define __stub macros and hopefully few prototypes,
19495 which can conflict with char $ac_func(); below. */
19496 #include <assert.h>
19497 /* Override any gcc2 internal prototype to avoid an error. */
19498 /* We use char because int might match the return type of a gcc2
19499 builtin and then its argument prototype would still apply. */
19504 /* The GNU C library defines this for functions which it implements
19505 to always fail with ENOSYS. Some functions are actually named
19506 something starting with __ and the normal name is an alias. */
19507 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19515 if { (eval echo configure:19516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19517 eval "ac_cv_func_
$ac_func=yes"
19519 echo "configure
: failed program was
:" >&5
19520 cat conftest.$ac_ext >&5
19522 eval "ac_cv_func_
$ac_func=no
"
19527 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19528 echo "$ac_t""yes" 1>&6
19529 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19530 cat >> confdefs.h <<EOF
19531 #define $ac_tr_func 1
19535 echo "$ac_t""no
" 1>&6
19544 echo $ac_n "checking
for ldexpl declaration
""...
$ac_c" 1>&6
19545 echo "configure
:19546: checking
for ldexpl declaration
" >&5
19546 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
19547 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
19548 echo $ac_n "(cached
) $ac_c" 1>&6
19553 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19554 ac_cpp='$CXXCPP $CPPFLAGS'
19555 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19556 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19557 cross_compiling=$ac_cv_prog_cxx_cross
19559 cat > conftest.$ac_ext <<EOF
19560 #line 19561 "configure
"
19561 #include "confdefs.h
"
19567 if { (eval echo configure:19568: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19569 glibcpp_cv_func_ldexpl_use=yes
19571 echo "configure
: failed program was
:" >&5
19572 cat conftest.$ac_ext >&5
19574 glibcpp_cv_func_ldexpl_use=no
19578 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19579 ac_cpp='$CPP $CPPFLAGS'
19580 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19581 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19582 cross_compiling=$ac_cv_prog_cc_cross
19588 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
19590 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
19591 for ac_func in ldexpl
19593 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19594 echo "configure
:19595: checking
for $ac_func" >&5
19595 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19596 echo $ac_n "(cached
) $ac_c" 1>&6
19598 cat > conftest.$ac_ext <<EOF
19599 #line 19600 "configure
"
19600 #include "confdefs.h
"
19601 /* System header to define __stub macros and hopefully few prototypes,
19602 which can conflict with char $ac_func(); below. */
19603 #include <assert.h>
19604 /* Override any gcc2 internal prototype to avoid an error. */
19605 /* We use char because int might match the return type of a gcc2
19606 builtin and then its argument prototype would still apply. */
19611 /* The GNU C library defines this for functions which it implements
19612 to always fail with ENOSYS. Some functions are actually named
19613 something starting with __ and the normal name is an alias. */
19614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19622 if { (eval echo configure:19623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19624 eval "ac_cv_func_
$ac_func=yes"
19626 echo "configure
: failed program was
:" >&5
19627 cat conftest.$ac_ext >&5
19629 eval "ac_cv_func_
$ac_func=no
"
19634 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19635 echo "$ac_t""yes" 1>&6
19636 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19637 cat >> confdefs.h <<EOF
19638 #define $ac_tr_func 1
19642 echo "$ac_t""no
" 1>&6
19648 echo $ac_n "checking
for _ldexpl declaration
""...
$ac_c" 1>&6
19649 echo "configure
:19650: checking
for _ldexpl declaration
" >&5
19650 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
19651 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
19652 echo $ac_n "(cached
) $ac_c" 1>&6
19657 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19658 ac_cpp='$CXXCPP $CPPFLAGS'
19659 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19660 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19661 cross_compiling=$ac_cv_prog_cxx_cross
19663 cat > conftest.$ac_ext <<EOF
19664 #line 19665 "configure
"
19665 #include "confdefs.h
"
19671 if { (eval echo configure:19672: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19673 glibcpp_cv_func__ldexpl_use=yes
19675 echo "configure
: failed program was
:" >&5
19676 cat conftest.$ac_ext >&5
19678 glibcpp_cv_func__ldexpl_use=no
19682 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19683 ac_cpp='$CPP $CPPFLAGS'
19684 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19685 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19686 cross_compiling=$ac_cv_prog_cc_cross
19692 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
19694 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
19695 for ac_func in _ldexpl
19697 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19698 echo "configure
:19699: checking
for $ac_func" >&5
19699 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19700 echo $ac_n "(cached
) $ac_c" 1>&6
19702 cat > conftest.$ac_ext <<EOF
19703 #line 19704 "configure
"
19704 #include "confdefs.h
"
19705 /* System header to define __stub macros and hopefully few prototypes,
19706 which can conflict with char $ac_func(); below. */
19707 #include <assert.h>
19708 /* Override any gcc2 internal prototype to avoid an error. */
19709 /* We use char because int might match the return type of a gcc2
19710 builtin and then its argument prototype would still apply. */
19715 /* The GNU C library defines this for functions which it implements
19716 to always fail with ENOSYS. Some functions are actually named
19717 something starting with __ and the normal name is an alias. */
19718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19726 if { (eval echo configure:19727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19728 eval "ac_cv_func_
$ac_func=yes"
19730 echo "configure
: failed program was
:" >&5
19731 cat conftest.$ac_ext >&5
19733 eval "ac_cv_func_
$ac_func=no
"
19738 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19739 echo "$ac_t""yes" 1>&6
19740 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19741 cat >> confdefs.h <<EOF
19742 #define $ac_tr_func 1
19746 echo "$ac_t""no
" 1>&6
19755 echo $ac_n "checking
for logl declaration
""...
$ac_c" 1>&6
19756 echo "configure
:19757: checking
for logl declaration
" >&5
19757 if test x${glibcpp_cv_func_logl_use+set} != xset; then
19758 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
19759 echo $ac_n "(cached
) $ac_c" 1>&6
19764 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19765 ac_cpp='$CXXCPP $CPPFLAGS'
19766 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19767 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19768 cross_compiling=$ac_cv_prog_cxx_cross
19770 cat > conftest.$ac_ext <<EOF
19771 #line 19772 "configure
"
19772 #include "confdefs.h
"
19774 #ifdef HAVE_IEEEFP_H
19775 #include <ieeefp.h>
19782 if { (eval echo configure:19783: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19784 glibcpp_cv_func_logl_use=yes
19786 echo "configure
: failed program was
:" >&5
19787 cat conftest.$ac_ext >&5
19789 glibcpp_cv_func_logl_use=no
19793 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19794 ac_cpp='$CPP $CPPFLAGS'
19795 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19796 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19797 cross_compiling=$ac_cv_prog_cc_cross
19803 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
19805 if test x$glibcpp_cv_func_logl_use = x"yes"; then
19806 for ac_func in logl
19808 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19809 echo "configure
:19810: checking
for $ac_func" >&5
19810 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19811 echo $ac_n "(cached
) $ac_c" 1>&6
19813 cat > conftest.$ac_ext <<EOF
19814 #line 19815 "configure
"
19815 #include "confdefs.h
"
19816 /* System header to define __stub macros and hopefully few prototypes,
19817 which can conflict with char $ac_func(); below. */
19818 #include <assert.h>
19819 /* Override any gcc2 internal prototype to avoid an error. */
19820 /* We use char because int might match the return type of a gcc2
19821 builtin and then its argument prototype would still apply. */
19826 /* The GNU C library defines this for functions which it implements
19827 to always fail with ENOSYS. Some functions are actually named
19828 something starting with __ and the normal name is an alias. */
19829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19837 if { (eval echo configure:19838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19839 eval "ac_cv_func_
$ac_func=yes"
19841 echo "configure
: failed program was
:" >&5
19842 cat conftest.$ac_ext >&5
19844 eval "ac_cv_func_
$ac_func=no
"
19849 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19850 echo "$ac_t""yes" 1>&6
19851 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19852 cat >> confdefs.h <<EOF
19853 #define $ac_tr_func 1
19857 echo "$ac_t""no
" 1>&6
19863 echo $ac_n "checking
for _logl declaration
""...
$ac_c" 1>&6
19864 echo "configure
:19865: checking
for _logl declaration
" >&5
19865 if test x${glibcpp_cv_func__logl_use+set} != xset; then
19866 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
19867 echo $ac_n "(cached
) $ac_c" 1>&6
19872 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19873 ac_cpp='$CXXCPP $CPPFLAGS'
19874 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19875 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19876 cross_compiling=$ac_cv_prog_cxx_cross
19878 cat > conftest.$ac_ext <<EOF
19879 #line 19880 "configure
"
19880 #include "confdefs.h
"
19882 #ifdef HAVE_IEEEFP_H
19883 #include <ieeefp.h>
19890 if { (eval echo configure:19891: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19892 glibcpp_cv_func__logl_use=yes
19894 echo "configure
: failed program was
:" >&5
19895 cat conftest.$ac_ext >&5
19897 glibcpp_cv_func__logl_use=no
19901 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19902 ac_cpp='$CPP $CPPFLAGS'
19903 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19904 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19905 cross_compiling=$ac_cv_prog_cc_cross
19911 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
19913 if test x$glibcpp_cv_func__logl_use = x"yes"; then
19914 for ac_func in _logl
19916 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19917 echo "configure
:19918: checking
for $ac_func" >&5
19918 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19919 echo $ac_n "(cached
) $ac_c" 1>&6
19921 cat > conftest.$ac_ext <<EOF
19922 #line 19923 "configure
"
19923 #include "confdefs.h
"
19924 /* System header to define __stub macros and hopefully few prototypes,
19925 which can conflict with char $ac_func(); below. */
19926 #include <assert.h>
19927 /* Override any gcc2 internal prototype to avoid an error. */
19928 /* We use char because int might match the return type of a gcc2
19929 builtin and then its argument prototype would still apply. */
19934 /* The GNU C library defines this for functions which it implements
19935 to always fail with ENOSYS. Some functions are actually named
19936 something starting with __ and the normal name is an alias. */
19937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19945 if { (eval echo configure:19946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19947 eval "ac_cv_func_
$ac_func=yes"
19949 echo "configure
: failed program was
:" >&5
19950 cat conftest.$ac_ext >&5
19952 eval "ac_cv_func_
$ac_func=no
"
19957 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19958 echo "$ac_t""yes" 1>&6
19959 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19960 cat >> confdefs.h <<EOF
19961 #define $ac_tr_func 1
19965 echo "$ac_t""no
" 1>&6
19974 echo $ac_n "checking
for log10l declaration
""...
$ac_c" 1>&6
19975 echo "configure
:19976: checking
for log10l declaration
" >&5
19976 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
19977 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
19978 echo $ac_n "(cached
) $ac_c" 1>&6
19983 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19984 ac_cpp='$CXXCPP $CPPFLAGS'
19985 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19986 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19987 cross_compiling=$ac_cv_prog_cxx_cross
19989 cat > conftest.$ac_ext <<EOF
19990 #line 19991 "configure
"
19991 #include "confdefs.h
"
19993 #ifdef HAVE_IEEEFP_H
19994 #include <ieeefp.h>
20001 if { (eval echo configure:20002: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20003 glibcpp_cv_func_log10l_use=yes
20005 echo "configure
: failed program was
:" >&5
20006 cat conftest.$ac_ext >&5
20008 glibcpp_cv_func_log10l_use=no
20012 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20013 ac_cpp='$CPP $CPPFLAGS'
20014 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20015 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20016 cross_compiling=$ac_cv_prog_cc_cross
20022 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
20024 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
20025 for ac_func in log10l
20027 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20028 echo "configure
:20029: checking
for $ac_func" >&5
20029 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20030 echo $ac_n "(cached
) $ac_c" 1>&6
20032 cat > conftest.$ac_ext <<EOF
20033 #line 20034 "configure
"
20034 #include "confdefs.h
"
20035 /* System header to define __stub macros and hopefully few prototypes,
20036 which can conflict with char $ac_func(); below. */
20037 #include <assert.h>
20038 /* Override any gcc2 internal prototype to avoid an error. */
20039 /* We use char because int might match the return type of a gcc2
20040 builtin and then its argument prototype would still apply. */
20045 /* The GNU C library defines this for functions which it implements
20046 to always fail with ENOSYS. Some functions are actually named
20047 something starting with __ and the normal name is an alias. */
20048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20056 if { (eval echo configure:20057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20058 eval "ac_cv_func_
$ac_func=yes"
20060 echo "configure
: failed program was
:" >&5
20061 cat conftest.$ac_ext >&5
20063 eval "ac_cv_func_
$ac_func=no
"
20068 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20069 echo "$ac_t""yes" 1>&6
20070 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20071 cat >> confdefs.h <<EOF
20072 #define $ac_tr_func 1
20076 echo "$ac_t""no
" 1>&6
20082 echo $ac_n "checking
for _log10l declaration
""...
$ac_c" 1>&6
20083 echo "configure
:20084: checking
for _log10l declaration
" >&5
20084 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
20085 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
20086 echo $ac_n "(cached
) $ac_c" 1>&6
20091 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20092 ac_cpp='$CXXCPP $CPPFLAGS'
20093 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20094 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20095 cross_compiling=$ac_cv_prog_cxx_cross
20097 cat > conftest.$ac_ext <<EOF
20098 #line 20099 "configure
"
20099 #include "confdefs.h
"
20101 #ifdef HAVE_IEEEFP_H
20102 #include <ieeefp.h>
20109 if { (eval echo configure:20110: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20111 glibcpp_cv_func__log10l_use=yes
20113 echo "configure
: failed program was
:" >&5
20114 cat conftest.$ac_ext >&5
20116 glibcpp_cv_func__log10l_use=no
20120 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20121 ac_cpp='$CPP $CPPFLAGS'
20122 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20123 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20124 cross_compiling=$ac_cv_prog_cc_cross
20130 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
20132 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
20133 for ac_func in _log10l
20135 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20136 echo "configure
:20137: checking
for $ac_func" >&5
20137 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20138 echo $ac_n "(cached
) $ac_c" 1>&6
20140 cat > conftest.$ac_ext <<EOF
20141 #line 20142 "configure
"
20142 #include "confdefs.h
"
20143 /* System header to define __stub macros and hopefully few prototypes,
20144 which can conflict with char $ac_func(); below. */
20145 #include <assert.h>
20146 /* Override any gcc2 internal prototype to avoid an error. */
20147 /* We use char because int might match the return type of a gcc2
20148 builtin and then its argument prototype would still apply. */
20153 /* The GNU C library defines this for functions which it implements
20154 to always fail with ENOSYS. Some functions are actually named
20155 something starting with __ and the normal name is an alias. */
20156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20164 if { (eval echo configure:20165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20166 eval "ac_cv_func_
$ac_func=yes"
20168 echo "configure
: failed program was
:" >&5
20169 cat conftest.$ac_ext >&5
20171 eval "ac_cv_func_
$ac_func=no
"
20176 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20177 echo "$ac_t""yes" 1>&6
20178 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20179 cat >> confdefs.h <<EOF
20180 #define $ac_tr_func 1
20184 echo "$ac_t""no
" 1>&6
20193 echo $ac_n "checking
for modfl declaration
""...
$ac_c" 1>&6
20194 echo "configure
:20195: checking
for modfl declaration
" >&5
20195 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
20196 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
20197 echo $ac_n "(cached
) $ac_c" 1>&6
20202 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20203 ac_cpp='$CXXCPP $CPPFLAGS'
20204 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20205 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20206 cross_compiling=$ac_cv_prog_cxx_cross
20208 cat > conftest.$ac_ext <<EOF
20209 #line 20210 "configure
"
20210 #include "confdefs.h
"
20216 if { (eval echo configure:20217: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20218 glibcpp_cv_func_modfl_use=yes
20220 echo "configure
: failed program was
:" >&5
20221 cat conftest.$ac_ext >&5
20223 glibcpp_cv_func_modfl_use=no
20227 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20228 ac_cpp='$CPP $CPPFLAGS'
20229 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20230 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20231 cross_compiling=$ac_cv_prog_cc_cross
20237 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
20239 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
20240 for ac_func in modfl
20242 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20243 echo "configure
:20244: checking
for $ac_func" >&5
20244 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20245 echo $ac_n "(cached
) $ac_c" 1>&6
20247 cat > conftest.$ac_ext <<EOF
20248 #line 20249 "configure
"
20249 #include "confdefs.h
"
20250 /* System header to define __stub macros and hopefully few prototypes,
20251 which can conflict with char $ac_func(); below. */
20252 #include <assert.h>
20253 /* Override any gcc2 internal prototype to avoid an error. */
20254 /* We use char because int might match the return type of a gcc2
20255 builtin and then its argument prototype would still apply. */
20260 /* The GNU C library defines this for functions which it implements
20261 to always fail with ENOSYS. Some functions are actually named
20262 something starting with __ and the normal name is an alias. */
20263 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20271 if { (eval echo configure:20272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20273 eval "ac_cv_func_
$ac_func=yes"
20275 echo "configure
: failed program was
:" >&5
20276 cat conftest.$ac_ext >&5
20278 eval "ac_cv_func_
$ac_func=no
"
20283 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20284 echo "$ac_t""yes" 1>&6
20285 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20286 cat >> confdefs.h <<EOF
20287 #define $ac_tr_func 1
20291 echo "$ac_t""no
" 1>&6
20297 echo $ac_n "checking
for _modfl declaration
""...
$ac_c" 1>&6
20298 echo "configure
:20299: checking
for _modfl declaration
" >&5
20299 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
20300 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
20301 echo $ac_n "(cached
) $ac_c" 1>&6
20306 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20307 ac_cpp='$CXXCPP $CPPFLAGS'
20308 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20309 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20310 cross_compiling=$ac_cv_prog_cxx_cross
20312 cat > conftest.$ac_ext <<EOF
20313 #line 20314 "configure
"
20314 #include "confdefs.h
"
20320 if { (eval echo configure:20321: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20322 glibcpp_cv_func__modfl_use=yes
20324 echo "configure
: failed program was
:" >&5
20325 cat conftest.$ac_ext >&5
20327 glibcpp_cv_func__modfl_use=no
20331 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20332 ac_cpp='$CPP $CPPFLAGS'
20333 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20334 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20335 cross_compiling=$ac_cv_prog_cc_cross
20341 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
20343 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
20344 for ac_func in _modfl
20346 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20347 echo "configure
:20348: checking
for $ac_func" >&5
20348 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20349 echo $ac_n "(cached
) $ac_c" 1>&6
20351 cat > conftest.$ac_ext <<EOF
20352 #line 20353 "configure
"
20353 #include "confdefs.h
"
20354 /* System header to define __stub macros and hopefully few prototypes,
20355 which can conflict with char $ac_func(); below. */
20356 #include <assert.h>
20357 /* Override any gcc2 internal prototype to avoid an error. */
20358 /* We use char because int might match the return type of a gcc2
20359 builtin and then its argument prototype would still apply. */
20364 /* The GNU C library defines this for functions which it implements
20365 to always fail with ENOSYS. Some functions are actually named
20366 something starting with __ and the normal name is an alias. */
20367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20375 if { (eval echo configure:20376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20377 eval "ac_cv_func_
$ac_func=yes"
20379 echo "configure
: failed program was
:" >&5
20380 cat conftest.$ac_ext >&5
20382 eval "ac_cv_func_
$ac_func=no
"
20387 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20388 echo "$ac_t""yes" 1>&6
20389 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20390 cat >> confdefs.h <<EOF
20391 #define $ac_tr_func 1
20395 echo "$ac_t""no
" 1>&6
20404 echo $ac_n "checking
for powl declaration
""...
$ac_c" 1>&6
20405 echo "configure
:20406: checking
for powl declaration
" >&5
20406 if test x${glibcpp_cv_func_powl_use+set} != xset; then
20407 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
20408 echo $ac_n "(cached
) $ac_c" 1>&6
20413 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20414 ac_cpp='$CXXCPP $CPPFLAGS'
20415 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20416 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20417 cross_compiling=$ac_cv_prog_cxx_cross
20419 cat > conftest.$ac_ext <<EOF
20420 #line 20421 "configure
"
20421 #include "confdefs.h
"
20427 if { (eval echo configure:20428: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20429 glibcpp_cv_func_powl_use=yes
20431 echo "configure
: failed program was
:" >&5
20432 cat conftest.$ac_ext >&5
20434 glibcpp_cv_func_powl_use=no
20438 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20439 ac_cpp='$CPP $CPPFLAGS'
20440 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20441 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20442 cross_compiling=$ac_cv_prog_cc_cross
20448 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
20450 if test x$glibcpp_cv_func_powl_use = x"yes"; then
20451 for ac_func in powl
20453 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20454 echo "configure
:20455: checking
for $ac_func" >&5
20455 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20456 echo $ac_n "(cached
) $ac_c" 1>&6
20458 cat > conftest.$ac_ext <<EOF
20459 #line 20460 "configure
"
20460 #include "confdefs.h
"
20461 /* System header to define __stub macros and hopefully few prototypes,
20462 which can conflict with char $ac_func(); below. */
20463 #include <assert.h>
20464 /* Override any gcc2 internal prototype to avoid an error. */
20465 /* We use char because int might match the return type of a gcc2
20466 builtin and then its argument prototype would still apply. */
20471 /* The GNU C library defines this for functions which it implements
20472 to always fail with ENOSYS. Some functions are actually named
20473 something starting with __ and the normal name is an alias. */
20474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20482 if { (eval echo configure:20483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20484 eval "ac_cv_func_
$ac_func=yes"
20486 echo "configure
: failed program was
:" >&5
20487 cat conftest.$ac_ext >&5
20489 eval "ac_cv_func_
$ac_func=no
"
20494 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20495 echo "$ac_t""yes" 1>&6
20496 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20497 cat >> confdefs.h <<EOF
20498 #define $ac_tr_func 1
20502 echo "$ac_t""no
" 1>&6
20508 echo $ac_n "checking
for _powl declaration
""...
$ac_c" 1>&6
20509 echo "configure
:20510: checking
for _powl declaration
" >&5
20510 if test x${glibcpp_cv_func__powl_use+set} != xset; then
20511 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
20512 echo $ac_n "(cached
) $ac_c" 1>&6
20517 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20518 ac_cpp='$CXXCPP $CPPFLAGS'
20519 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20520 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20521 cross_compiling=$ac_cv_prog_cxx_cross
20523 cat > conftest.$ac_ext <<EOF
20524 #line 20525 "configure
"
20525 #include "confdefs.h
"
20531 if { (eval echo configure:20532: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20533 glibcpp_cv_func__powl_use=yes
20535 echo "configure
: failed program was
:" >&5
20536 cat conftest.$ac_ext >&5
20538 glibcpp_cv_func__powl_use=no
20542 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20543 ac_cpp='$CPP $CPPFLAGS'
20544 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20545 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20546 cross_compiling=$ac_cv_prog_cc_cross
20552 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
20554 if test x$glibcpp_cv_func__powl_use = x"yes"; then
20555 for ac_func in _powl
20557 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20558 echo "configure
:20559: checking
for $ac_func" >&5
20559 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20560 echo $ac_n "(cached
) $ac_c" 1>&6
20562 cat > conftest.$ac_ext <<EOF
20563 #line 20564 "configure
"
20564 #include "confdefs.h
"
20565 /* System header to define __stub macros and hopefully few prototypes,
20566 which can conflict with char $ac_func(); below. */
20567 #include <assert.h>
20568 /* Override any gcc2 internal prototype to avoid an error. */
20569 /* We use char because int might match the return type of a gcc2
20570 builtin and then its argument prototype would still apply. */
20575 /* The GNU C library defines this for functions which it implements
20576 to always fail with ENOSYS. Some functions are actually named
20577 something starting with __ and the normal name is an alias. */
20578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20586 if { (eval echo configure:20587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20588 eval "ac_cv_func_
$ac_func=yes"
20590 echo "configure
: failed program was
:" >&5
20591 cat conftest.$ac_ext >&5
20593 eval "ac_cv_func_
$ac_func=no
"
20598 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20599 echo "$ac_t""yes" 1>&6
20600 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20601 cat >> confdefs.h <<EOF
20602 #define $ac_tr_func 1
20606 echo "$ac_t""no
" 1>&6
20615 echo $ac_n "checking
for sqrtl declaration
""...
$ac_c" 1>&6
20616 echo "configure
:20617: checking
for sqrtl declaration
" >&5
20617 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
20618 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
20619 echo $ac_n "(cached
) $ac_c" 1>&6
20624 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20625 ac_cpp='$CXXCPP $CPPFLAGS'
20626 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20627 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20628 cross_compiling=$ac_cv_prog_cxx_cross
20630 cat > conftest.$ac_ext <<EOF
20631 #line 20632 "configure
"
20632 #include "confdefs.h
"
20634 #ifdef HAVE_IEEEFP_H
20635 #include <ieeefp.h>
20642 if { (eval echo configure:20643: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20644 glibcpp_cv_func_sqrtl_use=yes
20646 echo "configure
: failed program was
:" >&5
20647 cat conftest.$ac_ext >&5
20649 glibcpp_cv_func_sqrtl_use=no
20653 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20654 ac_cpp='$CPP $CPPFLAGS'
20655 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20656 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20657 cross_compiling=$ac_cv_prog_cc_cross
20663 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
20665 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
20666 for ac_func in sqrtl
20668 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20669 echo "configure
:20670: checking
for $ac_func" >&5
20670 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20671 echo $ac_n "(cached
) $ac_c" 1>&6
20673 cat > conftest.$ac_ext <<EOF
20674 #line 20675 "configure
"
20675 #include "confdefs.h
"
20676 /* System header to define __stub macros and hopefully few prototypes,
20677 which can conflict with char $ac_func(); below. */
20678 #include <assert.h>
20679 /* Override any gcc2 internal prototype to avoid an error. */
20680 /* We use char because int might match the return type of a gcc2
20681 builtin and then its argument prototype would still apply. */
20686 /* The GNU C library defines this for functions which it implements
20687 to always fail with ENOSYS. Some functions are actually named
20688 something starting with __ and the normal name is an alias. */
20689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20697 if { (eval echo configure:20698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20699 eval "ac_cv_func_
$ac_func=yes"
20701 echo "configure
: failed program was
:" >&5
20702 cat conftest.$ac_ext >&5
20704 eval "ac_cv_func_
$ac_func=no
"
20709 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20710 echo "$ac_t""yes" 1>&6
20711 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20712 cat >> confdefs.h <<EOF
20713 #define $ac_tr_func 1
20717 echo "$ac_t""no
" 1>&6
20723 echo $ac_n "checking
for _sqrtl declaration
""...
$ac_c" 1>&6
20724 echo "configure
:20725: checking
for _sqrtl declaration
" >&5
20725 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
20726 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
20727 echo $ac_n "(cached
) $ac_c" 1>&6
20732 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20733 ac_cpp='$CXXCPP $CPPFLAGS'
20734 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20735 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20736 cross_compiling=$ac_cv_prog_cxx_cross
20738 cat > conftest.$ac_ext <<EOF
20739 #line 20740 "configure
"
20740 #include "confdefs.h
"
20742 #ifdef HAVE_IEEEFP_H
20743 #include <ieeefp.h>
20750 if { (eval echo configure:20751: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20752 glibcpp_cv_func__sqrtl_use=yes
20754 echo "configure
: failed program was
:" >&5
20755 cat conftest.$ac_ext >&5
20757 glibcpp_cv_func__sqrtl_use=no
20761 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20762 ac_cpp='$CPP $CPPFLAGS'
20763 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20764 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20765 cross_compiling=$ac_cv_prog_cc_cross
20771 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
20773 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
20774 for ac_func in _sqrtl
20776 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20777 echo "configure
:20778: checking
for $ac_func" >&5
20778 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20779 echo $ac_n "(cached
) $ac_c" 1>&6
20781 cat > conftest.$ac_ext <<EOF
20782 #line 20783 "configure
"
20783 #include "confdefs.h
"
20784 /* System header to define __stub macros and hopefully few prototypes,
20785 which can conflict with char $ac_func(); below. */
20786 #include <assert.h>
20787 /* Override any gcc2 internal prototype to avoid an error. */
20788 /* We use char because int might match the return type of a gcc2
20789 builtin and then its argument prototype would still apply. */
20794 /* The GNU C library defines this for functions which it implements
20795 to always fail with ENOSYS. Some functions are actually named
20796 something starting with __ and the normal name is an alias. */
20797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20805 if { (eval echo configure:20806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20807 eval "ac_cv_func_
$ac_func=yes"
20809 echo "configure
: failed program was
:" >&5
20810 cat conftest.$ac_ext >&5
20812 eval "ac_cv_func_
$ac_func=no
"
20817 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20818 echo "$ac_t""yes" 1>&6
20819 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20820 cat >> confdefs.h <<EOF
20821 #define $ac_tr_func 1
20825 echo "$ac_t""no
" 1>&6
20834 echo $ac_n "checking
for sincosl declaration
""...
$ac_c" 1>&6
20835 echo "configure
:20836: checking
for sincosl declaration
" >&5
20836 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
20837 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
20838 echo $ac_n "(cached
) $ac_c" 1>&6
20843 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20844 ac_cpp='$CXXCPP $CPPFLAGS'
20845 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20846 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20847 cross_compiling=$ac_cv_prog_cxx_cross
20849 cat > conftest.$ac_ext <<EOF
20850 #line 20851 "configure
"
20851 #include "confdefs.h
"
20857 if { (eval echo configure:20858: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20859 glibcpp_cv_func_sincosl_use=yes
20861 echo "configure
: failed program was
:" >&5
20862 cat conftest.$ac_ext >&5
20864 glibcpp_cv_func_sincosl_use=no
20868 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20869 ac_cpp='$CPP $CPPFLAGS'
20870 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20871 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20872 cross_compiling=$ac_cv_prog_cc_cross
20878 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
20880 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
20881 for ac_func in sincosl
20883 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20884 echo "configure
:20885: checking
for $ac_func" >&5
20885 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20886 echo $ac_n "(cached
) $ac_c" 1>&6
20888 cat > conftest.$ac_ext <<EOF
20889 #line 20890 "configure
"
20890 #include "confdefs.h
"
20891 /* System header to define __stub macros and hopefully few prototypes,
20892 which can conflict with char $ac_func(); below. */
20893 #include <assert.h>
20894 /* Override any gcc2 internal prototype to avoid an error. */
20895 /* We use char because int might match the return type of a gcc2
20896 builtin and then its argument prototype would still apply. */
20901 /* The GNU C library defines this for functions which it implements
20902 to always fail with ENOSYS. Some functions are actually named
20903 something starting with __ and the normal name is an alias. */
20904 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20912 if { (eval echo configure:20913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20914 eval "ac_cv_func_
$ac_func=yes"
20916 echo "configure
: failed program was
:" >&5
20917 cat conftest.$ac_ext >&5
20919 eval "ac_cv_func_
$ac_func=no
"
20924 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20925 echo "$ac_t""yes" 1>&6
20926 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20927 cat >> confdefs.h <<EOF
20928 #define $ac_tr_func 1
20932 echo "$ac_t""no
" 1>&6
20938 echo $ac_n "checking
for _sincosl declaration
""...
$ac_c" 1>&6
20939 echo "configure
:20940: checking
for _sincosl declaration
" >&5
20940 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
20941 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
20942 echo $ac_n "(cached
) $ac_c" 1>&6
20947 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20948 ac_cpp='$CXXCPP $CPPFLAGS'
20949 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20950 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20951 cross_compiling=$ac_cv_prog_cxx_cross
20953 cat > conftest.$ac_ext <<EOF
20954 #line 20955 "configure
"
20955 #include "confdefs.h
"
20961 if { (eval echo configure:20962: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20963 glibcpp_cv_func__sincosl_use=yes
20965 echo "configure
: failed program was
:" >&5
20966 cat conftest.$ac_ext >&5
20968 glibcpp_cv_func__sincosl_use=no
20972 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20973 ac_cpp='$CPP $CPPFLAGS'
20974 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20975 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20976 cross_compiling=$ac_cv_prog_cc_cross
20982 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
20984 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
20985 for ac_func in _sincosl
20987 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20988 echo "configure
:20989: checking
for $ac_func" >&5
20989 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20990 echo $ac_n "(cached
) $ac_c" 1>&6
20992 cat > conftest.$ac_ext <<EOF
20993 #line 20994 "configure
"
20994 #include "confdefs.h
"
20995 /* System header to define __stub macros and hopefully few prototypes,
20996 which can conflict with char $ac_func(); below. */
20997 #include <assert.h>
20998 /* Override any gcc2 internal prototype to avoid an error. */
20999 /* We use char because int might match the return type of a gcc2
21000 builtin and then its argument prototype would still apply. */
21005 /* The GNU C library defines this for functions which it implements
21006 to always fail with ENOSYS. Some functions are actually named
21007 something starting with __ and the normal name is an alias. */
21008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21016 if { (eval echo configure:21017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21018 eval "ac_cv_func_
$ac_func=yes"
21020 echo "configure
: failed program was
:" >&5
21021 cat conftest.$ac_ext >&5
21023 eval "ac_cv_func_
$ac_func=no
"
21028 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21029 echo "$ac_t""yes" 1>&6
21030 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21031 cat >> confdefs.h <<EOF
21032 #define $ac_tr_func 1
21036 echo "$ac_t""no
" 1>&6
21045 echo $ac_n "checking
for finitel declaration
""...
$ac_c" 1>&6
21046 echo "configure
:21047: checking
for finitel declaration
" >&5
21047 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
21048 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
21049 echo $ac_n "(cached
) $ac_c" 1>&6
21054 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21055 ac_cpp='$CXXCPP $CPPFLAGS'
21056 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21057 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21058 cross_compiling=$ac_cv_prog_cxx_cross
21060 cat > conftest.$ac_ext <<EOF
21061 #line 21062 "configure
"
21062 #include "confdefs.h
"
21064 #ifdef HAVE_IEEEFP_H
21065 #include <ieeefp.h>
21072 if { (eval echo configure:21073: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21074 glibcpp_cv_func_finitel_use=yes
21076 echo "configure
: failed program was
:" >&5
21077 cat conftest.$ac_ext >&5
21079 glibcpp_cv_func_finitel_use=no
21083 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21084 ac_cpp='$CPP $CPPFLAGS'
21085 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21086 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21087 cross_compiling=$ac_cv_prog_cc_cross
21093 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
21095 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
21096 for ac_func in finitel
21098 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21099 echo "configure
:21100: checking
for $ac_func" >&5
21100 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21101 echo $ac_n "(cached
) $ac_c" 1>&6
21103 cat > conftest.$ac_ext <<EOF
21104 #line 21105 "configure
"
21105 #include "confdefs.h
"
21106 /* System header to define __stub macros and hopefully few prototypes,
21107 which can conflict with char $ac_func(); below. */
21108 #include <assert.h>
21109 /* Override any gcc2 internal prototype to avoid an error. */
21110 /* We use char because int might match the return type of a gcc2
21111 builtin and then its argument prototype would still apply. */
21116 /* The GNU C library defines this for functions which it implements
21117 to always fail with ENOSYS. Some functions are actually named
21118 something starting with __ and the normal name is an alias. */
21119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21127 if { (eval echo configure:21128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21129 eval "ac_cv_func_
$ac_func=yes"
21131 echo "configure
: failed program was
:" >&5
21132 cat conftest.$ac_ext >&5
21134 eval "ac_cv_func_
$ac_func=no
"
21139 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21140 echo "$ac_t""yes" 1>&6
21141 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21142 cat >> confdefs.h <<EOF
21143 #define $ac_tr_func 1
21147 echo "$ac_t""no
" 1>&6
21153 echo $ac_n "checking
for _finitel declaration
""...
$ac_c" 1>&6
21154 echo "configure
:21155: checking
for _finitel declaration
" >&5
21155 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
21156 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
21157 echo $ac_n "(cached
) $ac_c" 1>&6
21162 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21163 ac_cpp='$CXXCPP $CPPFLAGS'
21164 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21165 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21166 cross_compiling=$ac_cv_prog_cxx_cross
21168 cat > conftest.$ac_ext <<EOF
21169 #line 21170 "configure
"
21170 #include "confdefs.h
"
21172 #ifdef HAVE_IEEEFP_H
21173 #include <ieeefp.h>
21180 if { (eval echo configure:21181: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21182 glibcpp_cv_func__finitel_use=yes
21184 echo "configure
: failed program was
:" >&5
21185 cat conftest.$ac_ext >&5
21187 glibcpp_cv_func__finitel_use=no
21191 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21192 ac_cpp='$CPP $CPPFLAGS'
21193 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21194 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21195 cross_compiling=$ac_cv_prog_cc_cross
21201 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
21203 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
21204 for ac_func in _finitel
21206 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21207 echo "configure
:21208: checking
for $ac_func" >&5
21208 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21209 echo $ac_n "(cached
) $ac_c" 1>&6
21211 cat > conftest.$ac_ext <<EOF
21212 #line 21213 "configure
"
21213 #include "confdefs.h
"
21214 /* System header to define __stub macros and hopefully few prototypes,
21215 which can conflict with char $ac_func(); below. */
21216 #include <assert.h>
21217 /* Override any gcc2 internal prototype to avoid an error. */
21218 /* We use char because int might match the return type of a gcc2
21219 builtin and then its argument prototype would still apply. */
21224 /* The GNU C library defines this for functions which it implements
21225 to always fail with ENOSYS. Some functions are actually named
21226 something starting with __ and the normal name is an alias. */
21227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21235 if { (eval echo configure:21236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21237 eval "ac_cv_func_
$ac_func=yes"
21239 echo "configure
: failed program was
:" >&5
21240 cat conftest.$ac_ext >&5
21242 eval "ac_cv_func_
$ac_func=no
"
21247 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21248 echo "$ac_t""yes" 1>&6
21249 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21250 cat >> confdefs.h <<EOF
21251 #define $ac_tr_func 1
21255 echo "$ac_t""no
" 1>&6
21265 echo $ac_n "checking
for _float trig functions
""...
$ac_c" 1>&6
21266 echo "configure
:21267: checking
for _float trig functions
" >&5
21267 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
21268 echo $ac_n "(cached
) $ac_c" 1>&6
21273 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21274 ac_cpp='$CXXCPP $CPPFLAGS'
21275 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21276 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21277 cross_compiling=$ac_cv_prog_cxx_cross
21279 cat > conftest.$ac_ext <<EOF
21280 #line 21281 "configure
"
21281 #include "confdefs.h
"
21284 `for x in _acosf _asinf _atanf \
21285 _cosf _sinf _tanf \
21286 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
21289 if { (eval echo configure:21290: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21291 glibcpp_cv_func__float_trig_use=yes
21293 echo "configure
: failed program was
:" >&5
21294 cat conftest.$ac_ext >&5
21296 glibcpp_cv_func__float_trig_use=no
21300 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21301 ac_cpp='$CPP $CPPFLAGS'
21302 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21303 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21304 cross_compiling=$ac_cv_prog_cc_cross
21308 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
21309 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
21310 for ac_func in _acosf _asinf _atanf \
21311 _cosf _sinf _tanf \
21312 _coshf _sinhf _tanhf
21314 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21315 echo "configure
:21316: checking
for $ac_func" >&5
21316 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21317 echo $ac_n "(cached
) $ac_c" 1>&6
21319 cat > conftest.$ac_ext <<EOF
21320 #line 21321 "configure
"
21321 #include "confdefs.h
"
21322 /* System header to define __stub macros and hopefully few prototypes,
21323 which can conflict with char $ac_func(); below. */
21324 #include <assert.h>
21325 /* Override any gcc2 internal prototype to avoid an error. */
21326 /* We use char because int might match the return type of a gcc2
21327 builtin and then its argument prototype would still apply. */
21332 /* The GNU C library defines this for functions which it implements
21333 to always fail with ENOSYS. Some functions are actually named
21334 something starting with __ and the normal name is an alias. */
21335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21343 if { (eval echo configure:21344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21345 eval "ac_cv_func_
$ac_func=yes"
21347 echo "configure
: failed program was
:" >&5
21348 cat conftest.$ac_ext >&5
21350 eval "ac_cv_func_
$ac_func=no
"
21355 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21356 echo "$ac_t""yes" 1>&6
21357 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21358 cat >> confdefs.h <<EOF
21359 #define $ac_tr_func 1
21363 echo "$ac_t""no
" 1>&6
21370 echo $ac_n "checking
for _float round functions
""...
$ac_c" 1>&6
21371 echo "configure
:21372: checking
for _float round functions
" >&5
21372 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
21373 echo $ac_n "(cached
) $ac_c" 1>&6
21378 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21379 ac_cpp='$CXXCPP $CPPFLAGS'
21380 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21381 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21382 cross_compiling=$ac_cv_prog_cxx_cross
21384 cat > conftest.$ac_ext <<EOF
21385 #line 21386 "configure
"
21386 #include "confdefs.h
"
21389 `for x in _ceilf _floorf; do echo "$x (0);"; done`
21392 if { (eval echo configure:21393: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21394 glibcpp_cv_func__float_round_use=yes
21396 echo "configure
: failed program was
:" >&5
21397 cat conftest.$ac_ext >&5
21399 glibcpp_cv_func__float_round_use=no
21403 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21404 ac_cpp='$CPP $CPPFLAGS'
21405 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21406 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21407 cross_compiling=$ac_cv_prog_cc_cross
21411 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
21412 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
21413 for ac_func in _ceilf _floorf
21415 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21416 echo "configure
:21417: checking
for $ac_func" >&5
21417 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21418 echo $ac_n "(cached
) $ac_c" 1>&6
21420 cat > conftest.$ac_ext <<EOF
21421 #line 21422 "configure
"
21422 #include "confdefs.h
"
21423 /* System header to define __stub macros and hopefully few prototypes,
21424 which can conflict with char $ac_func(); below. */
21425 #include <assert.h>
21426 /* Override any gcc2 internal prototype to avoid an error. */
21427 /* We use char because int might match the return type of a gcc2
21428 builtin and then its argument prototype would still apply. */
21433 /* The GNU C library defines this for functions which it implements
21434 to always fail with ENOSYS. Some functions are actually named
21435 something starting with __ and the normal name is an alias. */
21436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21444 if { (eval echo configure:21445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21446 eval "ac_cv_func_
$ac_func=yes"
21448 echo "configure
: failed program was
:" >&5
21449 cat conftest.$ac_ext >&5
21451 eval "ac_cv_func_
$ac_func=no
"
21456 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21457 echo "$ac_t""yes" 1>&6
21458 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21459 cat >> confdefs.h <<EOF
21460 #define $ac_tr_func 1
21464 echo "$ac_t""no
" 1>&6
21472 echo $ac_n "checking
for _long double trig functions
""...
$ac_c" 1>&6
21473 echo "configure
:21474: checking
for _long double trig functions
" >&5
21474 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
21475 echo $ac_n "(cached
) $ac_c" 1>&6
21480 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21481 ac_cpp='$CXXCPP $CPPFLAGS'
21482 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21483 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21484 cross_compiling=$ac_cv_prog_cxx_cross
21486 cat > conftest.$ac_ext <<EOF
21487 #line 21488 "configure
"
21488 #include "confdefs.h
"
21491 `for x in _acosl _asinl _atanl \
21492 _cosl _sinl _tanl \
21493 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
21496 if { (eval echo configure:21497: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21498 glibcpp_cv_func__long_double_trig_use=yes
21500 echo "configure
: failed program was
:" >&5
21501 cat conftest.$ac_ext >&5
21503 glibcpp_cv_func__long_double_trig_use=no
21507 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21508 ac_cpp='$CPP $CPPFLAGS'
21509 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21510 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21511 cross_compiling=$ac_cv_prog_cc_cross
21515 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
21516 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
21517 for ac_func in _acosl _asinl _atanl \
21518 _cosl _sinl _tanl \
21519 _coshl _sinhl _tanhl
21521 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21522 echo "configure
:21523: checking
for $ac_func" >&5
21523 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21524 echo $ac_n "(cached
) $ac_c" 1>&6
21526 cat > conftest.$ac_ext <<EOF
21527 #line 21528 "configure
"
21528 #include "confdefs.h
"
21529 /* System header to define __stub macros and hopefully few prototypes,
21530 which can conflict with char $ac_func(); below. */
21531 #include <assert.h>
21532 /* Override any gcc2 internal prototype to avoid an error. */
21533 /* We use char because int might match the return type of a gcc2
21534 builtin and then its argument prototype would still apply. */
21539 /* The GNU C library defines this for functions which it implements
21540 to always fail with ENOSYS. Some functions are actually named
21541 something starting with __ and the normal name is an alias. */
21542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21550 if { (eval echo configure:21551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21552 eval "ac_cv_func_
$ac_func=yes"
21554 echo "configure
: failed program was
:" >&5
21555 cat conftest.$ac_ext >&5
21557 eval "ac_cv_func_
$ac_func=no
"
21562 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21563 echo "$ac_t""yes" 1>&6
21564 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21565 cat >> confdefs.h <<EOF
21566 #define $ac_tr_func 1
21570 echo "$ac_t""no
" 1>&6
21577 echo $ac_n "checking
for _long double round functions
""...
$ac_c" 1>&6
21578 echo "configure
:21579: checking
for _long double round functions
" >&5
21579 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
21580 echo $ac_n "(cached
) $ac_c" 1>&6
21585 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21586 ac_cpp='$CXXCPP $CPPFLAGS'
21587 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21588 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21589 cross_compiling=$ac_cv_prog_cxx_cross
21591 cat > conftest.$ac_ext <<EOF
21592 #line 21593 "configure
"
21593 #include "confdefs.h
"
21596 `for x in _ceill _floorl; do echo "$x (0);"; done`
21599 if { (eval echo configure:21600: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21601 glibcpp_cv_func__long_double_round_use=yes
21603 echo "configure
: failed program was
:" >&5
21604 cat conftest.$ac_ext >&5
21606 glibcpp_cv_func__long_double_round_use=no
21610 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21611 ac_cpp='$CPP $CPPFLAGS'
21612 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21613 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21614 cross_compiling=$ac_cv_prog_cc_cross
21618 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
21619 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
21620 for ac_func in _ceill _floorl
21622 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21623 echo "configure
:21624: checking
for $ac_func" >&5
21624 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21625 echo $ac_n "(cached
) $ac_c" 1>&6
21627 cat > conftest.$ac_ext <<EOF
21628 #line 21629 "configure
"
21629 #include "confdefs.h
"
21630 /* System header to define __stub macros and hopefully few prototypes,
21631 which can conflict with char $ac_func(); below. */
21632 #include <assert.h>
21633 /* Override any gcc2 internal prototype to avoid an error. */
21634 /* We use char because int might match the return type of a gcc2
21635 builtin and then its argument prototype would still apply. */
21640 /* The GNU C library defines this for functions which it implements
21641 to always fail with ENOSYS. Some functions are actually named
21642 something starting with __ and the normal name is an alias. */
21643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21651 if { (eval echo configure:21652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21653 eval "ac_cv_func_
$ac_func=yes"
21655 echo "configure
: failed program was
:" >&5
21656 cat conftest.$ac_ext >&5
21658 eval "ac_cv_func_
$ac_func=no
"
21663 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21664 echo "$ac_t""yes" 1>&6
21665 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21666 cat >> confdefs.h <<EOF
21667 #define $ac_tr_func 1
21671 echo "$ac_t""no
" 1>&6
21678 LIBS="$ac_save_LIBS"
21679 CXXFLAGS="$ac_save_CXXFLAGS"
21682 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
21683 echo "configure
:21684: checking
for main
in -lm" >&5
21684 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
21685 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
21686 echo $ac_n "(cached
) $ac_c" 1>&6
21688 ac_save_LIBS="$LIBS"
21690 cat > conftest.$ac_ext <<EOF
21691 #line 21692 "configure
"
21692 #include "confdefs.h
"
21698 if { (eval echo configure:21699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21700 eval "ac_cv_lib_
$ac_lib_var=yes"
21702 echo "configure
: failed program was
:" >&5
21703 cat conftest.$ac_ext >&5
21705 eval "ac_cv_lib_
$ac_lib_var=no
"
21708 LIBS="$ac_save_LIBS"
21711 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21712 echo "$ac_t""yes" 1>&6
21713 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
21714 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
21715 cat >> confdefs.h <<EOF
21716 #define $ac_tr_lib 1
21722 echo "$ac_t""no
" 1>&6
21725 for ac_func in nan copysignf
21727 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21728 echo "configure
:21729: checking
for $ac_func" >&5
21729 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21730 echo $ac_n "(cached
) $ac_c" 1>&6
21732 cat > conftest.$ac_ext <<EOF
21733 #line 21734 "configure
"
21734 #include "confdefs.h
"
21735 /* System header to define __stub macros and hopefully few prototypes,
21736 which can conflict with char $ac_func(); below. */
21737 #include <assert.h>
21738 /* Override any gcc2 internal prototype to avoid an error. */
21739 /* We use char because int might match the return type of a gcc2
21740 builtin and then its argument prototype would still apply. */
21745 /* The GNU C library defines this for functions which it implements
21746 to always fail with ENOSYS. Some functions are actually named
21747 something starting with __ and the normal name is an alias. */
21748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21756 if { (eval echo configure:21757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21758 eval "ac_cv_func_
$ac_func=yes"
21760 echo "configure
: failed program was
:" >&5
21761 cat conftest.$ac_ext >&5
21763 eval "ac_cv_func_
$ac_func=no
"
21768 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21769 echo "$ac_t""yes" 1>&6
21770 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21771 cat >> confdefs.h <<EOF
21772 #define $ac_tr_func 1
21776 echo "$ac_t""no
" 1>&6
21777 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
21782 for ac_func in __signbit
21784 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21785 echo "configure
:21786: checking
for $ac_func" >&5
21786 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21787 echo $ac_n "(cached
) $ac_c" 1>&6
21789 cat > conftest.$ac_ext <<EOF
21790 #line 21791 "configure
"
21791 #include "confdefs.h
"
21792 /* System header to define __stub macros and hopefully few prototypes,
21793 which can conflict with char $ac_func(); below. */
21794 #include <assert.h>
21795 /* Override any gcc2 internal prototype to avoid an error. */
21796 /* We use char because int might match the return type of a gcc2
21797 builtin and then its argument prototype would still apply. */
21802 /* The GNU C library defines this for functions which it implements
21803 to always fail with ENOSYS. Some functions are actually named
21804 something starting with __ and the normal name is an alias. */
21805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21813 if { (eval echo configure:21814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21815 eval "ac_cv_func_
$ac_func=yes"
21817 echo "configure
: failed program was
:" >&5
21818 cat conftest.$ac_ext >&5
21820 eval "ac_cv_func_
$ac_func=no
"
21825 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21826 echo "$ac_t""yes" 1>&6
21827 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21828 cat >> confdefs.h <<EOF
21829 #define $ac_tr_func 1
21833 echo "$ac_t""no
" 1>&6
21834 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
21838 for ac_func in __signbitf
21840 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21841 echo "configure
:21842: checking
for $ac_func" >&5
21842 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21843 echo $ac_n "(cached
) $ac_c" 1>&6
21845 cat > conftest.$ac_ext <<EOF
21846 #line 21847 "configure
"
21847 #include "confdefs.h
"
21848 /* System header to define __stub macros and hopefully few prototypes,
21849 which can conflict with char $ac_func(); below. */
21850 #include <assert.h>
21851 /* Override any gcc2 internal prototype to avoid an error. */
21852 /* We use char because int might match the return type of a gcc2
21853 builtin and then its argument prototype would still apply. */
21858 /* The GNU C library defines this for functions which it implements
21859 to always fail with ENOSYS. Some functions are actually named
21860 something starting with __ and the normal name is an alias. */
21861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21869 if { (eval echo configure:21870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21871 eval "ac_cv_func_
$ac_func=yes"
21873 echo "configure
: failed program was
:" >&5
21874 cat conftest.$ac_ext >&5
21876 eval "ac_cv_func_
$ac_func=no
"
21881 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21882 echo "$ac_t""yes" 1>&6
21883 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21884 cat >> confdefs.h <<EOF
21885 #define $ac_tr_func 1
21889 echo "$ac_t""no
" 1>&6
21890 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
21895 if test x$ac_cv_func_copysignl = x"yes"; then
21896 for ac_func in __signbitl
21898 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21899 echo "configure
:21900: checking
for $ac_func" >&5
21900 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21901 echo $ac_n "(cached
) $ac_c" 1>&6
21903 cat > conftest.$ac_ext <<EOF
21904 #line 21905 "configure
"
21905 #include "confdefs.h
"
21906 /* System header to define __stub macros and hopefully few prototypes,
21907 which can conflict with char $ac_func(); below. */
21908 #include <assert.h>
21909 /* Override any gcc2 internal prototype to avoid an error. */
21910 /* We use char because int might match the return type of a gcc2
21911 builtin and then its argument prototype would still apply. */
21916 /* The GNU C library defines this for functions which it implements
21917 to always fail with ENOSYS. Some functions are actually named
21918 something starting with __ and the normal name is an alias. */
21919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21927 if { (eval echo configure:21928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21929 eval "ac_cv_func_
$ac_func=yes"
21931 echo "configure
: failed program was
:" >&5
21932 cat conftest.$ac_ext >&5
21934 eval "ac_cv_func_
$ac_func=no
"
21939 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21940 echo "$ac_t""yes" 1>&6
21941 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21942 cat >> confdefs.h <<EOF
21943 #define $ac_tr_func 1
21947 echo "$ac_t""no
" 1>&6
21948 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
21954 if test -n "$LIBMATHOBJS"; then
21960 if test "$need_libmath" = yes; then
21961 GLIBCPP_BUILD_LIBMATH_TRUE=
21962 GLIBCPP_BUILD_LIBMATH_FALSE='#'
21964 GLIBCPP_BUILD_LIBMATH_TRUE='#'
21965 GLIBCPP_BUILD_LIBMATH_FALSE=
21971 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
21972 echo "configure
:21973: checking
for mbstate_t
" >&5
21973 cat > conftest.$ac_ext <<EOF
21974 #line 21975 "configure
"
21975 #include "confdefs.h
"
21978 mbstate_t teststate;
21981 if { (eval echo configure:21982: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21985 echo "configure
: failed program was
:" >&5
21986 cat conftest.$ac_ext >&5
21991 echo "$ac_t""$have_mbstate_t" 1>&6
21992 if test x"$have_mbstate_t" = xyes; then
21993 cat >> confdefs.h <<\EOF
21994 #define HAVE_MBSTATE_T 1
21999 for ac_hdr in wchar.h
22001 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22002 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
22003 echo "configure
:22004: checking
for $ac_hdr" >&5
22004 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+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
"
22012 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22013 { (eval echo configure:22014: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22014 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22015 if test -z "$ac_err"; then
22017 eval "ac_cv_header_
$ac_safe=yes"
22020 echo "configure
: failed program was
:" >&5
22021 cat conftest.$ac_ext >&5
22023 eval "ac_cv_header_
$ac_safe=no
"
22027 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22028 echo "$ac_t""yes" 1>&6
22029 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22030 cat >> confdefs.h <<EOF
22031 #define $ac_tr_hdr 1
22035 echo "$ac_t""no
" 1>&6
22040 for ac_hdr in wctype.h
22042 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22043 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
22044 echo "configure
:22045: checking
for $ac_hdr" >&5
22045 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22046 echo $ac_n "(cached
) $ac_c" 1>&6
22048 cat > conftest.$ac_ext <<EOF
22049 #line 22050 "configure
"
22050 #include "confdefs.h
"
22053 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22054 { (eval echo configure:22055: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22055 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22056 if test -z "$ac_err"; then
22058 eval "ac_cv_header_
$ac_safe=yes"
22061 echo "configure
: failed program was
:" >&5
22062 cat conftest.$ac_ext >&5
22064 eval "ac_cv_header_
$ac_safe=no
"
22068 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22069 echo "$ac_t""yes" 1>&6
22070 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22071 cat >> confdefs.h <<EOF
22072 #define $ac_tr_hdr 1
22074 ac_has_wctype_h=yes
22076 echo "$ac_t""no
" 1>&6
22082 if test x"$ac_has_wchar_h" = xyes &&
22083 test x"$ac_has_wctype_h" = xyes &&
22084 test x"$enable_c_mbchar" != xno; then
22086 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
22087 echo "configure
:22088: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
22088 cat > conftest.$ac_ext <<EOF
22089 #line 22090 "configure
"
22090 #include "confdefs.h
"
22093 int i = WCHAR_MIN; int j = WCHAR_MAX;
22096 if { (eval echo configure:22097: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22098 has_wchar_minmax=yes
22100 echo "configure
: failed program was
:" >&5
22101 cat conftest.$ac_ext >&5
22103 has_wchar_minmax=no
22106 echo "$ac_t""$has_wchar_minmax" 1>&6
22108 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
22109 echo "configure
:22110: checking
for WEOF
" >&5
22110 cat > conftest.$ac_ext <<EOF
22111 #line 22112 "configure
"
22112 #include "confdefs.h
"
22115 #include <stddef.h>
22120 if { (eval echo configure:22121: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22124 echo "configure
: failed program was
:" >&5
22125 cat conftest.$ac_ext >&5
22130 echo "$ac_t""$has_weof" 1>&6
22133 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
22135 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22136 echo "configure
:22137: checking
for $ac_func" >&5
22137 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22138 echo $ac_n "(cached
) $ac_c" 1>&6
22140 cat > conftest.$ac_ext <<EOF
22141 #line 22142 "configure
"
22142 #include "confdefs.h
"
22143 /* System header to define __stub macros and hopefully few prototypes,
22144 which can conflict with char $ac_func(); below. */
22145 #include <assert.h>
22146 /* Override any gcc2 internal prototype to avoid an error. */
22147 /* We use char because int might match the return type of a gcc2
22148 builtin and then its argument prototype would still apply. */
22153 /* The GNU C library defines this for functions which it implements
22154 to always fail with ENOSYS. Some functions are actually named
22155 something starting with __ and the normal name is an alias. */
22156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22164 if { (eval echo configure:22165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22166 eval "ac_cv_func_
$ac_func=yes"
22168 echo "configure
: failed program was
:" >&5
22169 cat conftest.$ac_ext >&5
22171 eval "ac_cv_func_
$ac_func=no
"
22176 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22177 echo "$ac_t""yes" 1>&6
22178 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22179 cat >> confdefs.h <<EOF
22180 #define $ac_tr_func 1
22184 echo "$ac_t""no
" 1>&6
22191 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
22192 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
22193 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
22194 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
22195 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
22196 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
22198 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22199 echo "configure
:22200: checking
for $ac_func" >&5
22200 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22201 echo $ac_n "(cached
) $ac_c" 1>&6
22203 cat > conftest.$ac_ext <<EOF
22204 #line 22205 "configure
"
22205 #include "confdefs.h
"
22206 /* System header to define __stub macros and hopefully few prototypes,
22207 which can conflict with char $ac_func(); below. */
22208 #include <assert.h>
22209 /* Override any gcc2 internal prototype to avoid an error. */
22210 /* We use char because int might match the return type of a gcc2
22211 builtin and then its argument prototype would still apply. */
22216 /* The GNU C library defines this for functions which it implements
22217 to always fail with ENOSYS. Some functions are actually named
22218 something starting with __ and the normal name is an alias. */
22219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22227 if { (eval echo configure:22228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22229 eval "ac_cv_func_
$ac_func=yes"
22231 echo "configure
: failed program was
:" >&5
22232 cat conftest.$ac_ext >&5
22234 eval "ac_cv_func_
$ac_func=no
"
22239 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22240 echo "$ac_t""yes" 1>&6
22241 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22242 cat >> confdefs.h <<EOF
22243 #define $ac_tr_func 1
22247 echo "$ac_t""no
" 1>&6
22254 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
22255 echo "configure
:22256: checking
for ISO C99 wchar_t support
" >&5
22256 if test x"$has_weof" = xyes &&
22257 test x"$has_wchar_minmax" = xyes &&
22258 test x"$ac_wfuncs" = xyes; then
22259 ac_isoC99_wchar_t=yes
22261 ac_isoC99_wchar_t=no
22263 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
22265 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
22266 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
22267 echo "configure
:22268: checking
for iconv.h
" >&5
22268 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22269 echo $ac_n "(cached
) $ac_c" 1>&6
22271 cat > conftest.$ac_ext <<EOF
22272 #line 22273 "configure
"
22273 #include "confdefs.h
"
22276 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22277 { (eval echo configure:22278: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22278 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22279 if test -z "$ac_err"; then
22281 eval "ac_cv_header_
$ac_safe=yes"
22284 echo "configure
: failed program was
:" >&5
22285 cat conftest.$ac_ext >&5
22287 eval "ac_cv_header_
$ac_safe=no
"
22291 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22292 echo "$ac_t""yes" 1>&6
22295 echo "$ac_t""no
" 1>&6
22299 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
22300 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
22301 echo "configure
:22302: checking
for langinfo.h
" >&5
22302 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22303 echo $ac_n "(cached
) $ac_c" 1>&6
22305 cat > conftest.$ac_ext <<EOF
22306 #line 22307 "configure
"
22307 #include "confdefs.h
"
22308 #include <langinfo.h>
22310 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22311 { (eval echo configure:22312: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22312 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22313 if test -z "$ac_err"; then
22315 eval "ac_cv_header_
$ac_safe=yes"
22318 echo "configure
: failed program was
:" >&5
22319 cat conftest.$ac_ext >&5
22321 eval "ac_cv_header_
$ac_safe=no
"
22325 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22326 echo "$ac_t""yes" 1>&6
22327 ac_has_langinfo_h=yes
22329 echo "$ac_t""no
" 1>&6
22330 ac_has_langinfo_h=no
22334 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
22335 echo "configure
:22336: checking
for iconv in -liconv" >&5
22336 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
22337 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
22338 echo $ac_n "(cached
) $ac_c" 1>&6
22340 ac_save_LIBS="$LIBS"
22341 LIBS="-liconv $LIBS"
22342 cat > conftest.$ac_ext <<EOF
22343 #line 22344 "configure
"
22344 #include "confdefs.h
"
22345 /* Override any gcc2 internal prototype to avoid an error. */
22346 /* We use char because int might match the return type of a gcc2
22347 builtin and then its argument prototype would still apply. */
22354 if { (eval echo configure:22355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22356 eval "ac_cv_lib_
$ac_lib_var=yes"
22358 echo "configure
: failed program was
:" >&5
22359 cat conftest.$ac_ext >&5
22361 eval "ac_cv_lib_
$ac_lib_var=no
"
22364 LIBS="$ac_save_LIBS"
22367 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
22368 echo "$ac_t""yes" 1>&6
22371 echo "$ac_t""no
" 1>&6
22374 ac_save_LIBS="$LIBS"
22375 LIBS="$LIBS $libiconv"
22377 for ac_func in iconv_open iconv_close iconv nl_langinfo
22379 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22380 echo "configure
:22381: checking
for $ac_func" >&5
22381 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22382 echo $ac_n "(cached
) $ac_c" 1>&6
22384 cat > conftest.$ac_ext <<EOF
22385 #line 22386 "configure
"
22386 #include "confdefs.h
"
22387 /* System header to define __stub macros and hopefully few prototypes,
22388 which can conflict with char $ac_func(); below. */
22389 #include <assert.h>
22390 /* Override any gcc2 internal prototype to avoid an error. */
22391 /* We use char because int might match the return type of a gcc2
22392 builtin and then its argument prototype would still apply. */
22397 /* The GNU C library defines this for functions which it implements
22398 to always fail with ENOSYS. Some functions are actually named
22399 something starting with __ and the normal name is an alias. */
22400 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22408 if { (eval echo configure:22409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22410 eval "ac_cv_func_
$ac_func=yes"
22412 echo "configure
: failed program was
:" >&5
22413 cat conftest.$ac_ext >&5
22415 eval "ac_cv_func_
$ac_func=no
"
22420 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22421 echo "$ac_t""yes" 1>&6
22422 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22423 cat >> confdefs.h <<EOF
22424 #define $ac_tr_func 1
22429 echo "$ac_t""no
" 1>&6
22435 LIBS="$ac_save_LIBS"
22437 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
22438 echo "configure
:22439: checking
for XPG2 wchar_t support
" >&5
22439 if test x"$ac_has_iconv_h" = xyes &&
22440 test x"$ac_has_langinfo_h" = xyes &&
22441 test x"$ac_XPG2funcs" = xyes; then
22442 ac_XPG2_wchar_t=yes
22446 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
22448 if test x"$ac_isoC99_wchar_t" = xyes &&
22449 test x"$ac_XPG2_wchar_t" = xyes; then
22450 cat >> confdefs.h <<\EOF
22451 #define _GLIBCPP_USE_WCHAR_T 1
22457 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
22458 echo "configure
:22459: checking
for enabled wchar_t specializations
" >&5
22459 echo "$ac_t""$enable_wchar_t" 1>&6
22462 if test "$enable_wchar_t" = yes; then
22463 GLIBCPP_TEST_WCHAR_T_TRUE=
22464 GLIBCPP_TEST_WCHAR_T_FALSE='#'
22466 GLIBCPP_TEST_WCHAR_T_TRUE='#'
22467 GLIBCPP_TEST_WCHAR_T_FALSE=
22471 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22472 ac_save_CXXFLAGS="$CXXFLAGS"
22473 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
22476 echo $ac_n "checking
for strtold declaration
""...
$ac_c" 1>&6
22477 echo "configure
:22478: checking
for strtold declaration
" >&5
22478 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
22479 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
22480 echo $ac_n "(cached
) $ac_c" 1>&6
22485 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22486 ac_cpp='$CXXCPP $CPPFLAGS'
22487 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22488 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22489 cross_compiling=$ac_cv_prog_cxx_cross
22491 cat > conftest.$ac_ext <<EOF
22492 #line 22493 "configure
"
22493 #include "confdefs.h
"
22494 #include <stdlib.h>
22499 if { (eval echo configure:22500: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22501 glibcpp_cv_func_strtold_use=yes
22503 echo "configure
: failed program was
:" >&5
22504 cat conftest.$ac_ext >&5
22506 glibcpp_cv_func_strtold_use=no
22510 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22511 ac_cpp='$CPP $CPPFLAGS'
22512 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22513 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22514 cross_compiling=$ac_cv_prog_cc_cross
22520 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
22521 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
22522 for ac_func in strtold
22524 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22525 echo "configure
:22526: checking
for $ac_func" >&5
22526 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22527 echo $ac_n "(cached
) $ac_c" 1>&6
22529 cat > conftest.$ac_ext <<EOF
22530 #line 22531 "configure
"
22531 #include "confdefs.h
"
22532 /* System header to define __stub macros and hopefully few prototypes,
22533 which can conflict with char $ac_func(); below. */
22534 #include <assert.h>
22535 /* Override any gcc2 internal prototype to avoid an error. */
22536 /* We use char because int might match the return type of a gcc2
22537 builtin and then its argument prototype would still apply. */
22542 /* The GNU C library defines this for functions which it implements
22543 to always fail with ENOSYS. Some functions are actually named
22544 something starting with __ and the normal name is an alias. */
22545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22553 if { (eval echo configure:22554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22555 eval "ac_cv_func_
$ac_func=yes"
22557 echo "configure
: failed program was
:" >&5
22558 cat conftest.$ac_ext >&5
22560 eval "ac_cv_func_
$ac_func=no
"
22565 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22566 echo "$ac_t""yes" 1>&6
22567 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22568 cat >> confdefs.h <<EOF
22569 #define $ac_tr_func 1
22573 echo "$ac_t""no
" 1>&6
22580 echo $ac_n "checking
for strtof declaration
""...
$ac_c" 1>&6
22581 echo "configure
:22582: checking
for strtof declaration
" >&5
22582 if test x${glibcpp_cv_func_strtof_use+set} != xset; then
22583 if eval "test \"`echo '$''{'glibcpp_cv_func_strtof_use'+set}'`\" = set"; then
22584 echo $ac_n "(cached
) $ac_c" 1>&6
22589 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22590 ac_cpp='$CXXCPP $CPPFLAGS'
22591 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22592 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22593 cross_compiling=$ac_cv_prog_cxx_cross
22595 cat > conftest.$ac_ext <<EOF
22596 #line 22597 "configure
"
22597 #include "confdefs.h
"
22598 #include <stdlib.h>
22603 if { (eval echo configure:22604: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22605 glibcpp_cv_func_strtof_use=yes
22607 echo "configure
: failed program was
:" >&5
22608 cat conftest.$ac_ext >&5
22610 glibcpp_cv_func_strtof_use=no
22614 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22615 ac_cpp='$CPP $CPPFLAGS'
22616 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22617 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22618 cross_compiling=$ac_cv_prog_cc_cross
22624 echo "$ac_t""$glibcpp_cv_func_strtof_use" 1>&6
22625 if test x$glibcpp_cv_func_strtof_use = x"yes"; then
22626 for ac_func in strtof
22628 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22629 echo "configure
:22630: checking
for $ac_func" >&5
22630 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22631 echo $ac_n "(cached
) $ac_c" 1>&6
22633 cat > conftest.$ac_ext <<EOF
22634 #line 22635 "configure
"
22635 #include "confdefs.h
"
22636 /* System header to define __stub macros and hopefully few prototypes,
22637 which can conflict with char $ac_func(); below. */
22638 #include <assert.h>
22639 /* Override any gcc2 internal prototype to avoid an error. */
22640 /* We use char because int might match the return type of a gcc2
22641 builtin and then its argument prototype would still apply. */
22646 /* The GNU C library defines this for functions which it implements
22647 to always fail with ENOSYS. Some functions are actually named
22648 something starting with __ and the normal name is an alias. */
22649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22657 if { (eval echo configure:22658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22659 eval "ac_cv_func_
$ac_func=yes"
22661 echo "configure
: failed program was
:" >&5
22662 cat conftest.$ac_ext >&5
22664 eval "ac_cv_func_
$ac_func=no
"
22669 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22670 echo "$ac_t""yes" 1>&6
22671 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22672 cat >> confdefs.h <<EOF
22673 #define $ac_tr_func 1
22677 echo "$ac_t""no
" 1>&6
22683 for ac_func in drand48
22685 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22686 echo "configure
:22687: checking
for $ac_func" >&5
22687 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22688 echo $ac_n "(cached
) $ac_c" 1>&6
22690 cat > conftest.$ac_ext <<EOF
22691 #line 22692 "configure
"
22692 #include "confdefs.h
"
22693 /* System header to define __stub macros and hopefully few prototypes,
22694 which can conflict with char $ac_func(); below. */
22695 #include <assert.h>
22696 /* Override any gcc2 internal prototype to avoid an error. */
22697 /* We use char because int might match the return type of a gcc2
22698 builtin and then its argument prototype would still apply. */
22703 /* The GNU C library defines this for functions which it implements
22704 to always fail with ENOSYS. Some functions are actually named
22705 something starting with __ and the normal name is an alias. */
22706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22714 if { (eval echo configure:22715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22716 eval "ac_cv_func_
$ac_func=yes"
22718 echo "configure
: failed program was
:" >&5
22719 cat conftest.$ac_ext >&5
22721 eval "ac_cv_func_
$ac_func=no
"
22726 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22727 echo "$ac_t""yes" 1>&6
22728 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22729 cat >> confdefs.h <<EOF
22730 #define $ac_tr_func 1
22734 echo "$ac_t""no
" 1>&6
22739 CXXFLAGS="$ac_save_CXXFLAGS"
22742 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22743 ac_save_CXXFLAGS="$CXXFLAGS"
22744 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
22747 echo $ac_n "checking
for isatty declaration
""...
$ac_c" 1>&6
22748 echo "configure
:22749: checking
for isatty declaration
" >&5
22749 if test x${glibcpp_cv_func_isatty_use+set} != xset; then
22750 if eval "test \"`echo '$''{'glibcpp_cv_func_isatty_use'+set}'`\" = set"; then
22751 echo $ac_n "(cached
) $ac_c" 1>&6
22756 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22757 ac_cpp='$CXXCPP $CPPFLAGS'
22758 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22759 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22760 cross_compiling=$ac_cv_prog_cxx_cross
22762 cat > conftest.$ac_ext <<EOF
22763 #line 22764 "configure
"
22764 #include "confdefs.h
"
22765 #include <unistd.h>
22770 if { (eval echo configure:22771: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22772 glibcpp_cv_func_isatty_use=yes
22774 echo "configure
: failed program was
:" >&5
22775 cat conftest.$ac_ext >&5
22777 glibcpp_cv_func_isatty_use=no
22781 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22782 ac_cpp='$CPP $CPPFLAGS'
22783 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22784 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22785 cross_compiling=$ac_cv_prog_cc_cross
22791 echo "$ac_t""$glibcpp_cv_func_isatty_use" 1>&6
22792 if test x$glibcpp_cv_func_isatty_use = x"yes"; then
22793 for ac_func in isatty
22795 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22796 echo "configure
:22797: checking
for $ac_func" >&5
22797 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22798 echo $ac_n "(cached
) $ac_c" 1>&6
22800 cat > conftest.$ac_ext <<EOF
22801 #line 22802 "configure
"
22802 #include "confdefs.h
"
22803 /* System header to define __stub macros and hopefully few prototypes,
22804 which can conflict with char $ac_func(); below. */
22805 #include <assert.h>
22806 /* Override any gcc2 internal prototype to avoid an error. */
22807 /* We use char because int might match the return type of a gcc2
22808 builtin and then its argument prototype would still apply. */
22813 /* The GNU C library defines this for functions which it implements
22814 to always fail with ENOSYS. Some functions are actually named
22815 something starting with __ and the normal name is an alias. */
22816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22824 if { (eval echo configure:22825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22826 eval "ac_cv_func_
$ac_func=yes"
22828 echo "configure
: failed program was
:" >&5
22829 cat conftest.$ac_ext >&5
22831 eval "ac_cv_func_
$ac_func=no
"
22836 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22837 echo "$ac_t""yes" 1>&6
22838 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22839 cat >> confdefs.h <<EOF
22840 #define $ac_tr_func 1
22844 echo "$ac_t""no
" 1>&6
22851 CXXFLAGS="$ac_save_CXXFLAGS"
22854 ac_safe=`echo "locale.h
" | sed 'y%./+-%__p_%'`
22855 echo $ac_n "checking
for locale.h
""...
$ac_c" 1>&6
22856 echo "configure
:22857: checking
for locale.h
" >&5
22857 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22858 echo $ac_n "(cached
) $ac_c" 1>&6
22860 cat > conftest.$ac_ext <<EOF
22861 #line 22862 "configure
"
22862 #include "confdefs.h
"
22863 #include <locale.h>
22865 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22866 { (eval echo configure:22867: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22867 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22868 if test -z "$ac_err"; then
22870 eval "ac_cv_header_
$ac_safe=yes"
22873 echo "configure
: failed program was
:" >&5
22874 cat conftest.$ac_ext >&5
22876 eval "ac_cv_header_
$ac_safe=no
"
22880 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22881 echo "$ac_t""yes" 1>&6
22883 echo $ac_n "checking
for LC_MESSAGES
""...
$ac_c" 1>&6
22884 echo "configure
:22885: checking
for LC_MESSAGES
" >&5
22885 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
22886 echo $ac_n "(cached
) $ac_c" 1>&6
22888 cat > conftest.$ac_ext <<EOF
22889 #line 22890 "configure
"
22890 #include "confdefs.h
"
22891 #include <locale.h>
22896 if { (eval echo configure:22897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22898 ac_cv_val_LC_MESSAGES=yes
22900 echo "configure
: failed program was
:" >&5
22901 cat conftest.$ac_ext >&5
22903 ac_cv_val_LC_MESSAGES=no
22908 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
22909 if test $ac_cv_val_LC_MESSAGES = yes; then
22910 cat >> confdefs.h <<\EOF
22911 #define HAVE_LC_MESSAGES 1
22917 echo "$ac_t""no
" 1>&6
22922 cat > conftest.$ac_ext <<EOF
22923 #line 22924 "configure
"
22924 #include "confdefs.h
"
22926 #include <setjmp.h>
22929 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
22932 if { (eval echo configure:22933: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22934 cat >> confdefs.h <<\EOF
22935 #define HAVE_SIGSETJMP 1
22940 echo "configure
: failed program was
:" >&5
22941 cat conftest.$ac_ext >&5
22945 for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h
22947 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22948 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
22949 echo "configure
:22950: checking
for $ac_hdr" >&5
22950 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22951 echo $ac_n "(cached
) $ac_c" 1>&6
22953 cat > conftest.$ac_ext <<EOF
22954 #line 22955 "configure
"
22955 #include "confdefs.h
"
22958 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22959 { (eval echo configure:22960: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22960 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22961 if test -z "$ac_err"; then
22963 eval "ac_cv_header_
$ac_safe=yes"
22966 echo "configure
: failed program was
:" >&5
22967 cat conftest.$ac_ext >&5
22969 eval "ac_cv_header_
$ac_safe=no
"
22973 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22974 echo "$ac_t""yes" 1>&6
22975 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22976 cat >> confdefs.h <<EOF
22977 #define $ac_tr_hdr 1
22981 echo "$ac_t""no
" 1>&6
22985 for ac_func in getpagesize
22987 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22988 echo "configure
:22989: checking
for $ac_func" >&5
22989 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22990 echo $ac_n "(cached
) $ac_c" 1>&6
22992 cat > conftest.$ac_ext <<EOF
22993 #line 22994 "configure
"
22994 #include "confdefs.h
"
22995 /* System header to define __stub macros and hopefully few prototypes,
22996 which can conflict with char $ac_func(); below. */
22997 #include <assert.h>
22998 /* Override any gcc2 internal prototype to avoid an error. */
22999 /* We use char because int might match the return type of a gcc2
23000 builtin and then its argument prototype would still apply. */
23005 /* The GNU C library defines this for functions which it implements
23006 to always fail with ENOSYS. Some functions are actually named
23007 something starting with __ and the normal name is an alias. */
23008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23016 if { (eval echo configure:23017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23018 eval "ac_cv_func_
$ac_func=yes"
23020 echo "configure
: failed program was
:" >&5
23021 cat conftest.$ac_ext >&5
23023 eval "ac_cv_func_
$ac_func=no
"
23028 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
23029 echo "$ac_t""yes" 1>&6
23030 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23031 cat >> confdefs.h <<EOF
23032 #define $ac_tr_func 1
23036 echo "$ac_t""no
" 1>&6
23040 echo $ac_n "checking
for working mmap
""...
$ac_c" 1>&6
23041 echo "configure
:23042: checking
for working mmap
" >&5
23042 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
23043 echo $ac_n "(cached
) $ac_c" 1>&6
23045 if test "$cross_compiling" = yes; then
23046 ac_cv_func_mmap_fixed_mapped=no
23048 cat > conftest.$ac_ext <<EOF
23049 #line 23050 "configure
"
23050 #include "confdefs.h
"
23052 /* Thanks to Mike Haertel and Jim Avera for this test.
23053 Here is a matrix of mmap possibilities:
23054 mmap private not fixed
23055 mmap private fixed at somewhere currently unmapped
23056 mmap private fixed at somewhere already mapped
23057 mmap shared not fixed
23058 mmap shared fixed at somewhere currently unmapped
23059 mmap shared fixed at somewhere already mapped
23060 For private mappings, we should verify that changes cannot be read()
23061 back from the file, nor mmap's back from the file at a different
23062 address. (There have been systems where private was not correctly
23063 implemented like the infamous i386 svr4.0, and systems where the
23064 VM page cache was not coherent with the filesystem buffer cache
23065 like early versions of FreeBSD and possibly contemporary NetBSD.)
23066 For shared mappings, we should conversely verify that changes get
23067 propogated back to all the places they're supposed to be.
23069 Grep wants private fixed already mapped.
23070 The main things grep needs to know about mmap are:
23071 * does it exist and is it safe to write into the mmap'd area
23072 * how to use it (BSD variants) */
23073 #include <sys/types.h>
23075 #include <sys/mman.h>
23077 #if HAVE_SYS_TYPES_H
23078 # include <sys/types.h>
23082 # include <stdlib.h>
23085 #if HAVE_SYS_STAT_H
23086 # include <sys/stat.h>
23090 # include <unistd.h>
23093 /* This mess was copied from the GNU getpagesize.h. */
23094 #ifndef HAVE_GETPAGESIZE
23096 /* Assume that all systems that can run configure have sys/param.h. */
23097 # ifndef HAVE_SYS_PARAM_H
23098 # define HAVE_SYS_PARAM_H 1
23101 # ifdef _SC_PAGESIZE
23102 # define getpagesize() sysconf(_SC_PAGESIZE)
23103 # else /* no _SC_PAGESIZE */
23104 # ifdef HAVE_SYS_PARAM_H
23105 # include <sys/param.h>
23106 # ifdef EXEC_PAGESIZE
23107 # define getpagesize() EXEC_PAGESIZE
23108 # else /* no EXEC_PAGESIZE */
23110 # define getpagesize() NBPG * CLSIZE
23113 # endif /* no CLSIZE */
23114 # else /* no NBPG */
23116 # define getpagesize() NBPC
23117 # else /* no NBPC */
23119 # define getpagesize() PAGESIZE
23120 # endif /* PAGESIZE */
23121 # endif /* no NBPC */
23122 # endif /* no NBPG */
23123 # endif /* no EXEC_PAGESIZE */
23124 # else /* no HAVE_SYS_PARAM_H */
23125 # define getpagesize() 8192 /* punt totally */
23126 # endif /* no HAVE_SYS_PARAM_H */
23127 # endif /* no _SC_PAGESIZE */
23129 #endif /* no HAVE_GETPAGESIZE */
23132 extern "C
" { void *malloc(unsigned); }
23140 char *data, *data2, *data3;
23144 pagesize = getpagesize();
23147 * First, make a file with some known garbage in it.
23149 data = malloc(pagesize);
23152 for (i = 0; i < pagesize; ++i)
23153 *(data + i) = rand();
23155 fd = creat("conftestmmap
", 0600);
23158 if (write(fd, data, pagesize) != pagesize)
23163 * Next, try to mmap the file at a fixed address which
23164 * already has something else allocated at it. If we can,
23165 * also make sure that we see the same garbage.
23167 fd = open("conftestmmap
", O_RDWR);
23170 data2 = malloc(2 * pagesize);
23173 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
23174 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
23175 MAP_PRIVATE | MAP_FIXED, fd, 0L))
23177 for (i = 0; i < pagesize; ++i)
23178 if (*(data + i) != *(data2 + i))
23182 * Finally, make sure that changes to the mapped area
23183 * do not percolate back to the file as seen by read().
23184 * (This is a bug on some variants of i386 svr4.0.)
23186 for (i = 0; i < pagesize; ++i)
23187 *(data2 + i) = *(data2 + i) + 1;
23188 data3 = malloc(pagesize);
23191 if (read(fd, data3, pagesize) != pagesize)
23193 for (i = 0; i < pagesize; ++i)
23194 if (*(data + i) != *(data3 + i))
23197 unlink("conftestmmap
");
23202 if { (eval echo configure:23203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
23204 ac_cv_func_mmap_fixed_mapped=yes
23206 echo "configure
: failed program was
:" >&5
23207 cat conftest.$ac_ext >&5
23209 ac_cv_func_mmap_fixed_mapped=no
23216 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
23217 if test $ac_cv_func_mmap_fixed_mapped = yes; then
23218 cat >> confdefs.h <<\EOF
23219 #define HAVE_MMAP 1
23225 # Establish limits on memory usage during 'make check'
23228 setrlimit_have_headers=yes
23229 for ac_hdr in unistd.h sys/time.h sys/resource.h
23231 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
23232 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
23233 echo "configure
:23234: checking
for $ac_hdr" >&5
23234 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
23235 echo $ac_n "(cached
) $ac_c" 1>&6
23237 cat > conftest.$ac_ext <<EOF
23238 #line 23239 "configure
"
23239 #include "confdefs.h
"
23242 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
23243 { (eval echo configure:23244: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
23244 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
23245 if test -z "$ac_err"; then
23247 eval "ac_cv_header_
$ac_safe=yes"
23250 echo "configure
: failed program was
:" >&5
23251 cat conftest.$ac_ext >&5
23253 eval "ac_cv_header_
$ac_safe=no
"
23257 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
23258 echo "$ac_t""yes" 1>&6
23259 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
23260 cat >> confdefs.h <<EOF
23261 #define $ac_tr_hdr 1
23265 echo "$ac_t""no
" 1>&6
23266 setrlimit_have_headers=no
23270 # If don't have the headers, then we can't run the tests now, and we
23271 # won't be seeing any of these during testsuite compilation.
23272 if test $setrlimit_have_headers = yes; then
23273 # Can't do these in a loop, else the resulting syntax is wrong.
23275 cat > conftest.$ac_ext <<EOF
23276 #line 23277 "configure
"
23277 #include "confdefs.h
"
23278 #include <unistd.h>
23279 #include <sys/time.h>
23280 #include <sys/resource.h>
23283 int f = RLIMIT_DATA ;
23286 if { (eval echo configure:23287: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23290 echo "configure
: failed program was
:" >&5
23291 cat conftest.$ac_ext >&5
23296 cat >> confdefs.h <<EOF
23297 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
23302 cat > conftest.$ac_ext <<EOF
23303 #line 23304 "configure
"
23304 #include "confdefs.h
"
23305 #include <unistd.h>
23306 #include <sys/time.h>
23307 #include <sys/resource.h>
23310 int f = RLIMIT_RSS ;
23313 if { (eval echo configure:23314: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23317 echo "configure
: failed program was
:" >&5
23318 cat conftest.$ac_ext >&5
23323 cat >> confdefs.h <<EOF
23324 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
23329 cat > conftest.$ac_ext <<EOF
23330 #line 23331 "configure
"
23331 #include "confdefs.h
"
23332 #include <unistd.h>
23333 #include <sys/time.h>
23334 #include <sys/resource.h>
23337 int f = RLIMIT_VMEM ;
23340 if { (eval echo configure:23341: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23344 echo "configure
: failed program was
:" >&5
23345 cat conftest.$ac_ext >&5
23350 cat >> confdefs.h <<EOF
23351 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
23356 cat > conftest.$ac_ext <<EOF
23357 #line 23358 "configure
"
23358 #include "confdefs.h
"
23359 #include <unistd.h>
23360 #include <sys/time.h>
23361 #include <sys/resource.h>
23364 int f = RLIMIT_AS ;
23367 if { (eval echo configure:23368: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23371 echo "configure
: failed program was
:" >&5
23372 cat conftest.$ac_ext >&5
23377 cat >> confdefs.h <<EOF
23378 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
23383 # Check for rlimit, setrlimit.
23384 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
23385 echo $ac_n "(cached
) $ac_c" 1>&6
23388 cat > conftest.$ac_ext <<EOF
23389 #line 23390 "configure
"
23390 #include "confdefs.h
"
23391 #include <unistd.h>
23392 #include <sys/time.h>
23393 #include <sys/resource.h>
23396 struct rlimit r; setrlimit(0, &r);
23399 if { (eval echo configure:23400: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23403 echo "configure
: failed program was
:" >&5
23404 cat conftest.$ac_ext >&5
23414 echo $ac_n "checking
for testsuite memory limit support
""...
$ac_c" 1>&6
23415 echo "configure
:23416: checking
for testsuite memory limit support
" >&5
23416 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
23418 cat >> confdefs.h <<\EOF
23419 #define _GLIBCPP_MEM_LIMITS 1
23425 echo "$ac_t""$ac_mem_limits" 1>&6
23428 # Look for setenv, so that extended locale tests can be performed.
23430 echo $ac_n "checking
for setenv declaration
""...
$ac_c" 1>&6
23431 echo "configure
:23432: checking
for setenv declaration
" >&5
23432 if test x${glibcpp_cv_func_setenv_use+set} != xset; then
23433 if eval "test \"`echo '$''{'glibcpp_cv_func_setenv_use'+set}'`\" = set"; then
23434 echo $ac_n "(cached
) $ac_c" 1>&6
23439 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
23440 ac_cpp='$CXXCPP $CPPFLAGS'
23441 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
23442 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23443 cross_compiling=$ac_cv_prog_cxx_cross
23445 cat > conftest.$ac_ext <<EOF
23446 #line 23447 "configure
"
23447 #include "confdefs.h
"
23448 #include <stdlib.h>
23453 if { (eval echo configure:23454: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23455 glibcpp_cv_func_setenv_use=yes
23457 echo "configure
: failed program was
:" >&5
23458 cat conftest.$ac_ext >&5
23460 glibcpp_cv_func_setenv_use=no
23464 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
23465 ac_cpp='$CPP $CPPFLAGS'
23466 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
23467 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23468 cross_compiling=$ac_cv_prog_cc_cross
23474 echo "$ac_t""$glibcpp_cv_func_setenv_use" 1>&6
23475 if test x$glibcpp_cv_func_setenv_use = x"yes"; then
23476 for ac_func in setenv
23478 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
23479 echo "configure
:23480: checking
for $ac_func" >&5
23480 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
23481 echo $ac_n "(cached
) $ac_c" 1>&6
23483 cat > conftest.$ac_ext <<EOF
23484 #line 23485 "configure
"
23485 #include "confdefs.h
"
23486 /* System header to define __stub macros and hopefully few prototypes,
23487 which can conflict with char $ac_func(); below. */
23488 #include <assert.h>
23489 /* Override any gcc2 internal prototype to avoid an error. */
23490 /* We use char because int might match the return type of a gcc2
23491 builtin and then its argument prototype would still apply. */
23496 /* The GNU C library defines this for functions which it implements
23497 to always fail with ENOSYS. Some functions are actually named
23498 something starting with __ and the normal name is an alias. */
23499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23507 if { (eval echo configure:23508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23509 eval "ac_cv_func_
$ac_func=yes"
23511 echo "configure
: failed program was
:" >&5
23512 cat conftest.$ac_ext >&5
23514 eval "ac_cv_func_
$ac_func=no
"
23519 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
23520 echo "$ac_t""yes" 1>&6
23521 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23522 cat >> confdefs.h <<EOF
23523 #define $ac_tr_func 1
23527 echo "$ac_t""no
" 1>&6
23534 # Export file names for ABI checking.
23535 baseline_file="${glibcpp_srcdir}/config
/abi
/${abi_baseline_triplet}/baseline_symbols.txt
"
23539 *-*-cygwin* ) enable_abi_check=no ;;
23540 * ) enable_abi_check=yes ;;
23543 # Don't do ABI checking unless native.
23546 if test x"$build" = x"$host" && test -z "$with_cross_host" \
23547 && test "$enable_abi_check" = yes ; then
23548 GLIBCPP_BUILD_ABI_CHECK_TRUE=
23549 GLIBCPP_BUILD_ABI_CHECK_FALSE='#'
23551 GLIBCPP_BUILD_ABI_CHECK_TRUE='#'
23552 GLIBCPP_BUILD_ABI_CHECK_FALSE=
23557 # This depends on the possibly-skipped linker test above.
23558 # Check whether --enable-symvers or --disable-symvers was given.
23559 if test "${enable_symvers+set}" = set; then
23560 enableval="$enable_symvers"
23561 case "$enableval" in
23562 yes) enable_symvers=yes ;;
23563 no) enable_symvers=no ;;
23564 # other names here, just as sanity checks
23565 #gnu|sun|etcetera) enable_symvers=$enableval ;;
23566 gnu) enable_symvers=$enableval ;;
23567 *) { echo "configure
: error
: Unknown argument to enable
/disable symvers
" 1>&2; exit 1; } ;;
23573 # If we never went through the GLIBCPP_CHECK_LINKER_FEATURES macro, then we
23574 # don't know enough about $LD to do tricks...
23575 if test x$enable_shared = xno ||
23577 test x$glibcpp_gnu_ld_version = x; then
23581 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
23582 if test $enable_symvers != no; then
23583 echo $ac_n "checking
for shared libgcc
""...
$ac_c" 1>&6
23584 echo "configure
:23585: checking
for shared libgcc
" >&5
23585 ac_save_CFLAGS="$CFLAGS"
23587 cat > conftest.$ac_ext <<EOF
23588 #line 23589 "configure
"
23589 #include "confdefs.h
"
23595 if { (eval echo configure:23596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23597 glibcpp_shared_libgcc=yes
23599 echo "configure
: failed program was
:" >&5
23600 cat conftest.$ac_ext >&5
23602 glibcpp_shared_libgcc=no
23605 CFLAGS="$ac_save_CFLAGS"
23606 echo "$ac_t""$glibcpp_shared_libgcc" 1>&6
23609 # For GNU ld, we need at least this version. It's 2.12 in the same format
23610 # as the tested-for version. See GLIBCPP_CHECK_LINKER_FEATURES for more.
23611 glibcpp_min_gnu_ld_version=21200
23613 # Check to see if unspecified "yes" value can win, given results
23615 if test $enable_symvers = yes ; then
23616 if test $with_gnu_ld = yes &&
23617 test $glibcpp_shared_libgcc = yes ;
23619 if test $glibcpp_gnu_ld_version -ge $glibcpp_min_gnu_ld_version ; then
23622 ac_test_CFLAGS="${CFLAGS+set}"
23623 ac_save_CFLAGS="$CFLAGS"
23624 CFLAGS='-shared -Wl,--version-script,conftest.map'
23627 echo 'FOO { global: f[a-z]o; local: *; };' > conftest.map
23629 cat > conftest.$ac_ext <<EOF
23630 #line 23631 "configure
"
23631 #include "confdefs.h
"
23637 if { (eval echo configure:23638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23641 echo "configure
: failed program was
:" >&5
23642 cat conftest.$ac_ext >&5
23645 if test "$ac_test_CFLAGS" = set; then
23646 CFLAGS="$ac_save_CFLAGS"
23648 # this is the suspicious part
23654 # just fail for now
23659 case $enable_symvers in
23661 SYMVER_MAP=config/linker-map.dummy
23664 SYMVER_MAP=config/linker-map.gnu
23665 cat >> confdefs.h <<\EOF
23666 #define _GLIBCPP_SYMVER 1
23675 if test $enable_symvers != no; then
23676 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE=
23677 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE='#'
23679 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE='#'
23680 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE=
23682 echo $ac_n "checking versioning on shared library symbols
""...
$ac_c" 1>&6
23683 echo "configure
:23684: checking versioning on shared library symbols
" >&5
23684 echo "$ac_t""$enable_symvers" 1>&6
23687 # Propagate the target-specific source directories through the build chain.
23688 # (Nothing currently uses cpu_include_dir directly; only ATOMICITYH
23689 # uses it, and it only gets used in this file.)
23690 OS_INC_SRCDIR=config/${os_include_dir}
23691 ATOMICITY_INC_SRCDIR=config/${ATOMICITYH}
23695 # Set up cross-compile flags
23698 if test "$CANADIAN" = yes; then
23706 cat > confcache <<\EOF
23707 # This file is a shell script that caches the results of configure
23708 # tests run on this system so they can be shared between configure
23709 # scripts and configure runs. It is not useful on other systems.
23710 # If it contains results you don't want to keep, you may remove or edit it.
23712 # By default, configure uses ./config.cache as the cache file,
23713 # creating it if it does not exist already. You can give configure
23714 # the --cache-file=FILE option to use a different cache file; that is
23715 # what configure does when it calls configure scripts in
23716 # subdirectories, so they share the cache.
23717 # Giving --cache-file=/dev/null disables caching, for debugging configure.
23718 # config.status only pays attention to the cache file if you give it the
23719 # --recheck option to rerun configure.
23722 # The following way of writing the cache mishandles newlines in values,
23723 # but we know of no workaround that is simple, portable, and efficient.
23724 # So, don't put newlines in cache variables' values.
23725 # Ultrix sh set writes to stderr and can't be redirected directly,
23726 # and sets the high bit in the cache file unless we assign to the vars.
23728 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23730 # `set' does not quote correctly, so add quotes (double-quote substitution
23731 # turns \\\\ into \\, and sed turns \\ into \).
23733 -e "s
/'/'\\\\''/g
" \
23734 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
23737 # `set' quotes correctly as required by POSIX, so do not add quotes.
23738 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
23741 if cmp -s $cache_file confcache; then
23744 if test -w $cache_file; then
23745 echo "updating cache
$cache_file"
23746 cat confcache > $cache_file
23748 echo "not updating unwritable cache
$cache_file"
23754 if test "${multilib}" = "yes"; then
23755 multilib_arg="--enable-multilib"
23760 # Export all the install information
23762 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
23763 # exported correctly in GLIBCPP_CONFIGURE.
23764 glibcpp_toolexecdir=no
23765 glibcpp_toolexeclibdir=no
23766 glibcpp_prefixdir=${prefix}
23768 # Process the option --with-gxx-include-dir=<path to include-files directory>
23769 echo $ac_n "checking
for --with-gxx-include-dir""...
$ac_c" 1>&6
23770 echo "configure
:23771: checking
for --with-gxx-include-dir" >&5
23771 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
23772 if test "${with_gxx_include_dir+set}" = set; then
23773 withval="$with_gxx_include_dir"
23774 case "${withval}" in
23776 { echo "configure
: error
: Missing directory
for --with-gxx-include-dir" 1>&2; exit 1; }
23783 gxx_include_dir=${withval}
23790 echo "$ac_t""$gxx_include_dir" 1>&6
23792 # Process the option "--enable-version-specific-runtime-libs"
23793 echo $ac_n "checking
for --enable-version-specific-runtime-libs""...
$ac_c" 1>&6
23794 echo "configure
:23795: checking
for --enable-version-specific-runtime-libs" >&5
23795 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
23796 if test "${enable_version_specific_runtime_libs+set}" = set; then
23797 enableval="$enable_version_specific_runtime_libs"
23798 case "$enableval" in
23799 yes) version_specific_libs=yes ;;
23800 no) version_specific_libs=no ;;
23801 *) { echo "configure
: error
: Unknown argument to enable
/disable version-specific libs
" 1>&2; exit 1; };;
23804 version_specific_libs=no
23806 # Option set, now we can test it.
23807 echo "$ac_t""$version_specific_libs" 1>&6
23809 # Default case for install directory for include files.
23810 if test $version_specific_libs = no && test $gxx_include_dir = no; then
23811 gxx_include_dir='$(prefix)'/include/c++/${gcc_version}
23814 # Version-specific runtime libs processing.
23815 if test $version_specific_libs = yes; then
23816 # Need the gcc compiler version to know where to install libraries
23817 # and header files if --enable-version-specific-runtime-libs option
23819 if test x"$gxx_include_dir" = x"no
"; then
23820 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/c++
23822 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
23823 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
23826 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
23827 # Install a library built with a cross compiler in tooldir, not libdir.
23828 if test x"$glibcpp_toolexecdir" = x"no
"; then
23829 if test -n "$with_cross_host" &&
23830 test x"$with_cross_host" != x"no
"; then
23831 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
23832 glibcpp_toolexeclibdir='$(toolexecdir)/lib'
23834 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
23835 glibcpp_toolexeclibdir='$(libdir)'
23837 glibcpp_toolexeclibdir=$glibcpp_toolexeclibdir/`$CC -print-multi-os-directory`
23840 echo $ac_n "checking
for install location
""...
$ac_c" 1>&6
23841 echo "configure
:23842: checking
for install location
" >&5
23842 echo "$ac_t""$gxx_include_dir" 1>&6
23850 # Export all the include and flag information to Makefiles.
23852 # Root level of the build directory include sources.
23853 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include
"
23855 # Passed down for canadian crosses.
23856 if test x"$CANADIAN" = xyes; then
23857 TOPLEVEL_INCLUDES='-I$(includedir)'
23860 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
23862 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
23864 if test x"$need_libio" = xyes; then
23865 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
23869 # Now, export this to all the little Makefiles....
23876 # Optimization flags that are probably a good idea for thrill-seekers. Just
23877 # uncomment the lines below and make, everything else is ready to go...
23878 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
23882 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
23886 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
23887 grep "enable shared
" > /dev/null; then
23888 LIBSUPCXX_PICFLAGS=-prefer-pic
23890 LIBSUPCXX_PICFLAGS=
23894 # Generate the various Makefiles, include files, and scripts.
23895 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
23896 # and libsupc++/Makefile.am so that multilib installs will end up
23897 # installed in the correct place. To work around this not being passed
23898 # down from config-ml.in -> top_srcdir/Makefile.am ->
23899 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
23901 cat > confcache <<\EOF
23902 # This file is a shell script that caches the results of configure
23903 # tests run on this system so they can be shared between configure
23904 # scripts and configure runs. It is not useful on other systems.
23905 # If it contains results you don't want to keep, you may remove or edit it.
23907 # By default, configure uses ./config.cache as the cache file,
23908 # creating it if it does not exist already. You can give configure
23909 # the --cache-file=FILE option to use a different cache file; that is
23910 # what configure does when it calls configure scripts in
23911 # subdirectories, so they share the cache.
23912 # Giving --cache-file=/dev/null disables caching, for debugging configure.
23913 # config.status only pays attention to the cache file if you give it the
23914 # --recheck option to rerun configure.
23917 # The following way of writing the cache mishandles newlines in values,
23918 # but we know of no workaround that is simple, portable, and efficient.
23919 # So, don't put newlines in cache variables' values.
23920 # Ultrix sh set writes to stderr and can't be redirected directly,
23921 # and sets the high bit in the cache file unless we assign to the vars.
23923 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23925 # `set' does not quote correctly, so add quotes (double-quote substitution
23926 # turns \\\\ into \\, and sed turns \\ into \).
23928 -e "s
/'/'\\\\''/g
" \
23929 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
23932 # `set' quotes correctly as required by POSIX, so do not add quotes.
23933 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
23936 if cmp -s $cache_file confcache; then
23939 if test -w $cache_file; then
23940 echo "updating cache
$cache_file"
23941 cat confcache > $cache_file
23943 echo "not updating unwritable cache
$cache_file"
23948 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
23950 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
23951 # Let make expand exec_prefix.
23952 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
23954 # Any assignment to VPATH causes Sun make to only execute
23955 # the first set of double-colon rules, so remove it if not needed.
23956 # If there is a colon in the path, we need to keep it.
23957 if test "x
$srcdir" = x.; then
23958 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
23961 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
23963 DEFS=-DHAVE_CONFIG_H
23965 # Without the ".
/", some shells look in PATH for config.status.
23966 : ${CONFIG_STATUS=./config.status}
23968 echo creating $CONFIG_STATUS
23969 rm -f $CONFIG_STATUS
23970 cat > $CONFIG_STATUS <<EOF
23972 # Generated automatically by configure.
23973 # Run this file to recreate the current configuration.
23974 # This directory was configured as follows,
23975 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23977 # $0 $ac_configure_args
23979 # Compiler output produced by configure, useful for debugging
23980 # configure, is in ./config.log if it exists.
23982 ac_cs_usage="Usage
: $CONFIG_STATUS [--recheck] [--version] [--help]"
23985 case "\
$ac_option" in
23986 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23987 echo "running \
${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
23988 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
23989 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
23990 echo "$CONFIG_STATUS generated by autoconf version
2.13"
23992 -help | --help | --hel | --he | --h)
23993 echo "\
$ac_cs_usage"; exit 0 ;;
23994 *) echo "\
$ac_cs_usage"; exit 1 ;;
23998 ac_given_srcdir=$srcdir
23999 ac_given_INSTALL="$INSTALL"
24001 trap 'rm -fr `echo "Makefile \
24002 include
/Makefile src
/Makefile \
24003 libmath
/Makefile libio
/Makefile libsupc
++/Makefile \
24004 po
/Makefile testsuite
/Makefile mkcheck testsuite_flags config.h
" | sed "s
/:[^
]*//g
"` conftest*; exit 1' 1 2 15
24006 cat >> $CONFIG_STATUS <<EOF
24008 # Protect against being on the right side of a sed subst in config.status.
24009 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
24010 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
24014 s%@CFLAGS@%$CFLAGS%g
24015 s%@CPPFLAGS@%$CPPFLAGS%g
24016 s%@CXXFLAGS@%$CXXFLAGS%g
24017 s%@FFLAGS@%$FFLAGS%g
24019 s%@LDFLAGS@%$LDFLAGS%g
24021 s%@exec_prefix@%$exec_prefix%g
24022 s%@prefix@%$prefix%g
24023 s%@program_transform_name@%$program_transform_name%g
24024 s%@bindir@%$bindir%g
24025 s%@sbindir@%$sbindir%g
24026 s%@libexecdir@%$libexecdir%g
24027 s%@datadir@%$datadir%g
24028 s%@sysconfdir@%$sysconfdir%g
24029 s%@sharedstatedir@%$sharedstatedir%g
24030 s%@localstatedir@%$localstatedir%g
24031 s%@libdir@%$libdir%g
24032 s%@includedir@%$includedir%g
24033 s%@oldincludedir@%$oldincludedir%g
24034 s%@infodir@%$infodir%g
24035 s%@mandir@%$mandir%g
24036 s%@PACKAGE@%$PACKAGE%g
24037 s%@libtool_VERSION@%$libtool_VERSION%g
24038 s%@toplevel_srcdir@%$toplevel_srcdir%g
24040 s%@host_alias@%$host_alias%g
24041 s%@host_cpu@%$host_cpu%g
24042 s%@host_vendor@%$host_vendor%g
24043 s%@host_os@%$host_os%g
24044 s%@target@%$target%g
24045 s%@target_alias@%$target_alias%g
24046 s%@target_cpu@%$target_cpu%g
24047 s%@target_vendor@%$target_vendor%g
24048 s%@target_os@%$target_os%g
24050 s%@build_alias@%$build_alias%g
24051 s%@build_cpu@%$build_cpu%g
24052 s%@build_vendor@%$build_vendor%g
24053 s%@build_os@%$build_os%g
24054 s%@glibcpp_builddir@%$glibcpp_builddir%g
24055 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
24058 s%@glibcpp_basedir@%$glibcpp_basedir%g
24060 s%@glibcpp_CXX@%$glibcpp_CXX%g
24063 s%@RANLIB@%$RANLIB%g
24064 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
24065 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
24066 s%@INSTALL_DATA@%$INSTALL_DATA%g
24067 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
24068 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
24070 s%@EXEEXT@%$EXEEXT%g
24071 s%@VERSION@%$VERSION%g
24072 s%@ACLOCAL@%$ACLOCAL%g
24073 s%@AUTOCONF@%$AUTOCONF%g
24074 s%@AUTOMAKE@%$AUTOMAKE%g
24075 s%@AUTOHEADER@%$AUTOHEADER%g
24076 s%@MAKEINFO@%$MAKEINFO%g
24077 s%@SET_MAKE@%$SET_MAKE%g
24078 s%@OBJEXT@%$OBJEXT%g
24080 s%@LIBTOOL@%$LIBTOOL%g
24081 s%@CXXCPP@%$CXXCPP%g
24082 s%@enable_shared@%$enable_shared%g
24083 s%@enable_static@%$enable_static%g
24084 s%@ifGNUmake@%$ifGNUmake%g
24086 s%@CSTDIO_H@%$CSTDIO_H%g
24087 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
24088 s%@BASIC_FILE_CC@%$BASIC_FILE_CC%g
24089 s%@CCODECVT_C@%$CCODECVT_C%g
24090 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
24091 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
24092 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
24093 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
24094 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
24095 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
24096 s%@libio_la@%$libio_la%g
24097 s%@check_msgfmt@%$check_msgfmt%g
24098 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
24099 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
24100 s%@glibcpp_localedir@%$glibcpp_localedir%g
24101 s%@USE_NLS@%$USE_NLS%g
24102 s%@CLOCALE_H@%$CLOCALE_H%g
24103 s%@CCODECVT_H@%$CCODECVT_H%g
24104 s%@CMESSAGES_H@%$CMESSAGES_H%g
24105 s%@CCODECVT_CC@%$CCODECVT_CC%g
24106 s%@CCOLLATE_CC@%$CCOLLATE_CC%g
24107 s%@CCTYPE_CC@%$CCTYPE_CC%g
24108 s%@CMESSAGES_CC@%$CMESSAGES_CC%g
24109 s%@CMONEY_CC@%$CMONEY_CC%g
24110 s%@CNUMERIC_CC@%$CNUMERIC_CC%g
24111 s%@CTIME_H@%$CTIME_H%g
24112 s%@CTIME_CC@%$CTIME_CC%g
24113 s%@CLOCALE_CC@%$CLOCALE_CC%g
24114 s%@CLOCALE_INTERNAL_H@%$CLOCALE_INTERNAL_H%g
24115 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
24116 s%@GLIBCPP_C_HEADERS_C_TRUE@%$GLIBCPP_C_HEADERS_C_TRUE%g
24117 s%@GLIBCPP_C_HEADERS_C_FALSE@%$GLIBCPP_C_HEADERS_C_FALSE%g
24118 s%@GLIBCPP_C_HEADERS_C_STD_TRUE@%$GLIBCPP_C_HEADERS_C_STD_TRUE%g
24119 s%@GLIBCPP_C_HEADERS_C_STD_FALSE@%$GLIBCPP_C_HEADERS_C_STD_FALSE%g
24120 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE%g
24121 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE%g
24122 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
24123 s%@LIBUNWIND_FLAG@%$LIBUNWIND_FLAG%g
24124 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
24125 s%@GLIBCPP_BUILD_DEBUG_TRUE@%$GLIBCPP_BUILD_DEBUG_TRUE%g
24126 s%@GLIBCPP_BUILD_DEBUG_FALSE@%$GLIBCPP_BUILD_DEBUG_FALSE%g
24127 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
24128 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
24129 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
24130 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
24131 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
24132 s%@GLIBCPP_BUILD_LIBMATH_TRUE@%$GLIBCPP_BUILD_LIBMATH_TRUE%g
24133 s%@GLIBCPP_BUILD_LIBMATH_FALSE@%$GLIBCPP_BUILD_LIBMATH_FALSE%g
24134 s%@GLIBCPP_TEST_WCHAR_T_TRUE@%$GLIBCPP_TEST_WCHAR_T_TRUE%g
24135 s%@GLIBCPP_TEST_WCHAR_T_FALSE@%$GLIBCPP_TEST_WCHAR_T_FALSE%g
24136 s%@WERROR@%$WERROR%g
24137 s%@baseline_file@%$baseline_file%g
24138 s%@GLIBCPP_BUILD_ABI_CHECK_TRUE@%$GLIBCPP_BUILD_ABI_CHECK_TRUE%g
24139 s%@GLIBCPP_BUILD_ABI_CHECK_FALSE@%$GLIBCPP_BUILD_ABI_CHECK_FALSE%g
24140 s%@SYMVER_MAP@%$SYMVER_MAP%g
24141 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g
24142 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g
24143 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
24144 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
24145 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
24146 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
24147 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
24148 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
24149 s%@gxx_include_dir@%$gxx_include_dir%g
24150 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
24151 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
24152 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
24153 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
24154 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
24155 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
24156 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
24157 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
24158 s%@WARN_FLAGS@%$WARN_FLAGS%g
24159 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
24164 cat >> $CONFIG_STATUS <<\EOF
24166 # Split the substitutions into bite-sized pieces for seds with
24167 # small command number limits, like on Digital OSF/1 and HP-UX.
24168 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
24169 ac_file=1 # Number of current file.
24170 ac_beg=1 # First line for current file.
24171 ac_end=$ac_max_sed_cmds # Line after last line for current file.
24174 while $ac_more_lines; do
24175 if test $ac_beg -gt 1; then
24176 sed "1,${ac_beg}d
; ${ac_end}q
" conftest.subs > conftest.s$ac_file
24178 sed "${ac_end}q
" conftest.subs > conftest.s$ac_file
24180 if test ! -s conftest.s$ac_file; then
24181 ac_more_lines=false
24182 rm -f conftest.s$ac_file
24184 if test -z "$ac_sed_cmds"; then
24185 ac_sed_cmds="sed -f conftest.s
$ac_file"
24187 ac_sed_cmds="$ac_sed_cmds |
sed -f conftest.s
$ac_file"
24189 ac_file=`expr $ac_file + 1`
24191 ac_end=`expr $ac_end + $ac_max_sed_cmds`
24194 if test -z "$ac_sed_cmds"; then
24199 cat >> $CONFIG_STATUS <<EOF
24201 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
24202 include
/Makefile src
/Makefile \
24203 libmath
/Makefile libio
/Makefile libsupc
++/Makefile \
24204 po
/Makefile testsuite
/Makefile mkcheck testsuite_flags
"}
24206 cat >> $CONFIG_STATUS <<\EOF
24207 for ac_file in .. $CONFIG_FILES; do if test "x
$ac_file" != x..; then
24208 # Support "outfile
[:infile
[:infile...
]]", defaulting infile="outfile.
in".
24210 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
24211 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
24212 *) ac_file_in="${ac_file}.
in" ;;
24215 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
24217 # Remove last slash and all that follows it. Not all systems have dirname.
24218 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
24219 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
24220 # The file is in a subdirectory.
24221 test ! -d "$ac_dir" && mkdir "$ac_dir"
24222 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
24223 # A "..
/" for each directory in $ac_dir_suffix.
24224 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
24226 ac_dir_suffix= ac_dots=
24229 case "$ac_given_srcdir" in
24231 if test -z "$ac_dots"; then top_srcdir=.
24232 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
24233 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
24234 *) # Relative path.
24235 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
24236 top_srcdir="$ac_dots$ac_given_srcdir" ;;
24239 case "$ac_given_INSTALL" in
24240 [/$]*) INSTALL="$ac_given_INSTALL" ;;
24241 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
24244 echo creating "$ac_file"
24246 configure_input="Generated automatically from
`echo $ac_file_in|sed 's%.*/%%'` by configure.
"
24248 *Makefile*) ac_comsub="1i
\\
24249 # $configure_input" ;;
24253 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
24255 s%@configure_input@%$configure_input%g
24256 s%@srcdir@%$srcdir%g
24257 s%@top_srcdir@%$top_srcdir%g
24258 s%@INSTALL@%$INSTALL%g
24259 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
24263 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24264 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24266 # ac_d sets the value in "#define NAME VALUE" lines.
24267 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24268 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
24271 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
24272 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24273 ac_uB
='\([ ]\)%\1#\2define\3'
24276 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24277 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24278 ac_eB
='$%\1#\2define\3'
24282 if test "${CONFIG_HEADERS+set}" != set; then
24284 cat >> $CONFIG_STATUS <<EOF
24285 CONFIG_HEADERS="config.h"
24287 cat >> $CONFIG_STATUS <<\EOF
24289 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
24290 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24292 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
24293 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
24294 *) ac_file_in
="${ac_file}.in" ;;
24297 echo creating
$ac_file
24299 rm -f conftest.frag conftest.
in conftest.out
24300 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
24301 cat $ac_file_inputs > conftest.
in
24305 # Transform confdefs.h into a sed script conftest.vals that substitutes
24306 # the proper values into config.h.in to produce config.h. And first:
24307 # Protect against being on the right side of a sed subst in config.status.
24308 # Protect against being in an unquoted here document in config.status.
24309 rm -f conftest.vals
24310 cat > conftest.hdr
<<\EOF
24313 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
24317 sed -n -f conftest.hdr confdefs.h > conftest.vals
24320 # This sed command replaces #undef with comments. This is necessary, for
24321 # example, in the case of _POSIX_SOURCE, which is predefined and required
24322 # on some systems where configure will not decide to define it.
24323 cat >> conftest.vals <<\EOF
24324 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
24327 # Break up conftest.vals because some shells have a limit on
24328 # the size of here documents, and old seds have small limits too.
24330 rm -f conftest.tail
24333 ac_lines=`grep -c . conftest.vals
`
24334 # grep -c gives empty output for an empty file on some AIX systems.
24335 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
24336 # Write a limited-size here document to conftest.frag.
24337 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
24338 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
24340 sed -f conftest.frag conftest.in > conftest.out
24342 mv conftest.out conftest.in
24343 ' >> $CONFIG_STATUS
24344 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
24345 rm -f conftest.vals
24346 mv conftest.tail conftest.vals
24348 rm -f conftest.vals
24350 cat >> $CONFIG_STATUS <<\EOF
24351 rm -f conftest.frag conftest.h
24352 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
24353 cat conftest.in >> conftest.h
24355 if cmp -s $ac_file conftest.h 2>/dev/null; then
24356 echo "$ac_file is unchanged"
24359 # Remove last slash and all that follows it. Not all systems have dirname.
24360 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
24361 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
24362 # The file is in a subdirectory.
24363 test ! -d "$ac_dir" && mkdir "$ac_dir"
24366 mv conftest.h $ac_file
24371 cat >> $CONFIG_STATUS <<EOF
24376 with_target_subdir=${with_target_subdir}
24377 with_build_subdir=${with_build_subdir}
24378 with_multisubdir=${with_multisubdir}
24379 ac_configure_args="${multilib_arg} ${ac_configure_args}"
24380 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
24381 glibcpp_basedir=${glibcpp_basedir}
24384 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
24387 cat >> $CONFIG_STATUS <<\EOF
24388 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
24389 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
24390 if test -n "$CONFIG_FILES"; then
24391 if test -n "${with_build_subdir}" || test -n "${with_target_subdir}"; then
24392 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
24393 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
24394 grep '^MULTISUBDIR =' Makefile >> src/Makefile
24395 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
24399 chmod +x testsuite_flags
24402 chmod +x $CONFIG_STATUS
24403 rm -fr confdefs* $ac_clean_files
24404 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
24408 # Sanity checking & User-visible messages.
24409 # Checks down here, otherwise they get scrolled off before
24410 # the user will notice.
24412 # Trying to get more people to read documentation. Possibly remove
24413 # check and warn all the time. There is no "informational" AC_MSG_
24414 # macro, so these are going to be printed even when --quiet/--silent
24416 if test ! -f stamp-sanity-warned; then
24417 touch stamp-sanity-warned
24419 echo "Please make certain that you read the installation information here:"
24420 echo " faster => ${srcdir}/docs/html/install.html"
24421 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
24423 echo "and the configuration information here:"
24424 echo " faster => ${srcdir}/docs/html/configopts.html"
24425 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
24427 echo "before proceeding with ${_cv_gnu_make_command}."