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 am__api_version="1.4"
1505 echo $ac_n "checking whether build environment is sane
""...
$ac_c" 1>&6
1506 echo "configure
:1507: checking whether build environment is sane
" >&5
1509 echo timestamp > conftestfile
1510 # Do `set' in a subshell so we don't clobber the current shell's
1511 # arguments. Must try -L first in case configure is actually a
1512 # symlink; some systems play weird games with the mod time of symlinks
1513 # (eg FreeBSD returns the mod time of the symlink's containing
1516 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1517 if test "$
*" = "X
"; then
1519 set X `ls -t $srcdir/configure conftestfile`
1521 if test "$
*" != "X
$srcdir/configure conftestfile
" \
1522 && test "$
*" != "X conftestfile
$srcdir/configure
"; then
1524 # If neither matched, then we have a broken ls. This can happen
1525 # if, for instance, CONFIG_SHELL is bash and it inherits a
1526 # broken ls alias from the environment. This has actually
1527 # happened. Such a system could not be considered "sane
".
1528 { echo "configure
: error
: ls -t appears to fail. Make sure there is not a broken
1529 alias in your environment
" 1>&2; exit 1; }
1532 test "$2" = conftestfile
1538 { echo "configure
: error
: newly created
file is older than distributed files
!
1539 Check your system
clock" 1>&2; exit 1; }
1542 echo "$ac_t""yes" 1>&6
1543 if test "$program_transform_name" = s,x,x,; then
1544 program_transform_name=
1546 # Double any \ or $. echo might interpret backslashes.
1547 cat <<\EOF_SED > conftestsed
1548 s,\\,\\\\,g; s,\$,$$,g
1550 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
1553 test "$program_prefix" != NONE &&
1554 program_transform_name="s
,^
,${program_prefix},; $program_transform_name"
1555 # Use a double $ so make ignores it.
1556 test "$program_suffix" != NONE &&
1557 program_transform_name="s
,\$\$
,${program_suffix},; $program_transform_name"
1559 # sed with no file args requires a program.
1560 test "$program_transform_name" = "" && program_transform_name="s
,x
,x
,"
1562 echo $ac_n "checking whether
${MAKE-make} sets \
${MAKE}""...
$ac_c" 1>&6
1563 echo "configure
:1564: checking whether
${MAKE-make} sets \
${MAKE}" >&5
1564 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
1565 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
1566 echo $ac_n "(cached
) $ac_c" 1>&6
1568 cat > conftestmake <<\EOF
1570 @echo 'ac_maketemp="${MAKE}"'
1572 # GNU make sometimes prints "make[1]: Entering...
", which would confuse us.
1573 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
1574 if test -n "$ac_maketemp"; then
1575 eval ac_cv_prog_make_${ac_make}_set=yes
1577 eval ac_cv_prog_make_${ac_make}_set=no
1581 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1582 echo "$ac_t""yes" 1>&6
1585 echo "$ac_t""no
" 1>&6
1586 SET_MAKE="MAKE
=${MAKE-make}"
1592 VERSION=$gcc_version
1594 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1595 { echo "configure
: error
: source directory already configured
; run
"make distclean" there first
" 1>&2; exit 1; }
1597 cat >> confdefs.h <<EOF
1598 #define PACKAGE "$PACKAGE"
1601 cat >> confdefs.h <<EOF
1602 #define VERSION "$VERSION"
1607 missing_dir=`cd $ac_aux_dir && pwd`
1608 echo $ac_n "checking
for working aclocal-
${am__api_version}""...
$ac_c" 1>&6
1609 echo "configure
:1610: checking
for working aclocal-
${am__api_version}" >&5
1610 # Run test in a subshell; some versions of sh will print an error if
1611 # an executable is not found, even if stderr is redirected.
1612 # Redirect stdin to placate older versions of autoconf. Sigh.
1613 if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1614 ACLOCAL=aclocal-${am__api_version}
1615 echo "$ac_t""found
" 1>&6
1617 ACLOCAL="$missing_dir/missing aclocal-
${am__api_version}"
1618 echo "$ac_t""missing
" 1>&6
1621 echo $ac_n "checking
for working autoconf
""...
$ac_c" 1>&6
1622 echo "configure
:1623: checking
for working autoconf
" >&5
1623 # Run test in a subshell; some versions of sh will print an error if
1624 # an executable is not found, even if stderr is redirected.
1625 # Redirect stdin to placate older versions of autoconf. Sigh.
1626 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1628 echo "$ac_t""found
" 1>&6
1630 AUTOCONF="$missing_dir/missing autoconf
"
1631 echo "$ac_t""missing
" 1>&6
1634 echo $ac_n "checking
for working automake-
${am__api_version}""...
$ac_c" 1>&6
1635 echo "configure
:1636: checking
for working automake-
${am__api_version}" >&5
1636 # Run test in a subshell; some versions of sh will print an error if
1637 # an executable is not found, even if stderr is redirected.
1638 # Redirect stdin to placate older versions of autoconf. Sigh.
1639 if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1640 AUTOMAKE=automake-${am__api_version}
1641 echo "$ac_t""found
" 1>&6
1643 AUTOMAKE="$missing_dir/missing automake-
${am__api_version}"
1644 echo "$ac_t""missing
" 1>&6
1647 echo $ac_n "checking
for working autoheader
""...
$ac_c" 1>&6
1648 echo "configure
:1649: checking
for working autoheader
" >&5
1649 # Run test in a subshell; some versions of sh will print an error if
1650 # an executable is not found, even if stderr is redirected.
1651 # Redirect stdin to placate older versions of autoconf. Sigh.
1652 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1653 AUTOHEADER=autoheader
1654 echo "$ac_t""found
" 1>&6
1656 AUTOHEADER="$missing_dir/missing autoheader
"
1657 echo "$ac_t""missing
" 1>&6
1660 echo $ac_n "checking
for working makeinfo
""...
$ac_c" 1>&6
1661 echo "configure
:1662: checking
for working makeinfo
" >&5
1662 # Run test in a subshell; some versions of sh will print an error if
1663 # an executable is not found, even if stderr is redirected.
1664 # Redirect stdin to placate older versions of autoconf. Sigh.
1665 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1667 echo "$ac_t""found
" 1>&6
1669 MAKEINFO="$missing_dir/missing makeinfo
"
1670 echo "$ac_t""missing
" 1>&6
1679 # Check whether --enable-shared or --disable-shared was given.
1680 if test "${enable_shared+set}" = set; then
1681 enableval="$enable_shared"
1682 p=${PACKAGE-default}
1684 yes) enable_shared=yes ;;
1685 no) enable_shared=no ;;
1688 # Look at the argument we got. We use all the common list separators.
1689 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1690 for pkg in $enableval; do
1691 if test "X
$pkg" = "X
$p"; then
1702 # Check whether --enable-static or --disable-static was given.
1703 if test "${enable_static+set}" = set; then
1704 enableval="$enable_static"
1705 p=${PACKAGE-default}
1707 yes) enable_static=yes ;;
1708 no) enable_static=no ;;
1711 # Look at the argument we got. We use all the common list separators.
1712 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1713 for pkg in $enableval; do
1714 if test "X
$pkg" = "X
$p"; then
1725 # Check whether --enable-fast-install or --disable-fast-install was given.
1726 if test "${enable_fast_install+set}" = set; then
1727 enableval="$enable_fast_install"
1728 p=${PACKAGE-default}
1730 yes) enable_fast_install=yes ;;
1731 no) enable_fast_install=no ;;
1733 enable_fast_install=no
1734 # Look at the argument we got. We use all the common list separators.
1735 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1736 for pkg in $enableval; do
1737 if test "X
$pkg" = "X
$p"; then
1738 enable_fast_install=yes
1745 enable_fast_install=yes
1748 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1749 if test "${with_gnu_ld+set}" = set; then
1750 withval="$with_gnu_ld"
1751 test "$withval" = no || with_gnu_ld=yes
1757 if test "$GCC" = yes; then
1758 # Check if gcc -print-prog-name=ld gives a path.
1759 echo $ac_n "checking
for ld used by GCC
""...
$ac_c" 1>&6
1760 echo "configure
:1761: checking
for ld used by GCC
" >&5
1763 # gcc leaves a trailing carriage return which upsets mingw
1764 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1766 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1769 # Accept absolute paths.
1770 [\\/]* | [A-Za-z]:[\\/]*)
1771 re_direlt='/[^/][^/]*/\.\./'
1772 # Canonicalize the path of ld
1773 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1774 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1775 ac_prog=`echo $ac_prog| sed "s
%$re_direlt%/%"`
1777 test -z "$LD" && LD="$ac_prog"
1780 # If it fails, then pretend we aren't using GCC.
1784 # If it is relative, then search for the first ld in PATH.
1788 elif test "$with_gnu_ld" = yes; then
1789 echo $ac_n "checking
for GNU ld
""...
$ac_c" 1>&6
1790 echo "configure
:1791: checking
for GNU ld
" >&5
1792 echo $ac_n "checking
for non-GNU ld
""...
$ac_c" 1>&6
1793 echo "configure
:1794: checking
for non-GNU ld
" >&5
1795 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1796 echo $ac_n "(cached
) $ac_c" 1>&6
1798 if test -z "$LD"; then
1799 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1800 for ac_dir in $PATH; do
1801 test -z "$ac_dir" && ac_dir=.
1802 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1803 lt_cv_path_LD="$ac_dir/$ac_prog"
1804 # Check to see if the program is GNU ld. I'd rather use --version,
1805 # but apparently some GNU ld's only accept -v.
1806 # Break only if it was the GNU/non-GNU ld that we prefer.
1807 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1808 test "$with_gnu_ld" != no && break
1810 test "$with_gnu_ld" != yes && break
1816 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1821 if test -n "$LD"; then
1822 echo "$ac_t""$LD" 1>&6
1824 echo "$ac_t""no
" 1>&6
1826 test -z "$LD" && { echo "configure
: error
: no acceptable ld found
in \
$PATH" 1>&2; exit 1; }
1827 echo $ac_n "checking
if the linker
($LD) is GNU ld
""...
$ac_c" 1>&6
1828 echo "configure
:1829: checking
if the linker
($LD) is GNU ld
" >&5
1829 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1830 echo $ac_n "(cached
) $ac_c" 1>&6
1832 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1833 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1834 lt_cv_prog_gnu_ld=yes
1836 lt_cv_prog_gnu_ld=no
1840 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1841 with_gnu_ld=$lt_cv_prog_gnu_ld
1844 echo $ac_n "checking
for $LD option to reload object files
""...
$ac_c" 1>&6
1845 echo "configure
:1846: checking
for $LD option to reload object files
" >&5
1846 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1847 echo $ac_n "(cached
) $ac_c" 1>&6
1849 lt_cv_ld_reload_flag='-r'
1852 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1853 reload_flag=$lt_cv_ld_reload_flag
1854 test -n "$reload_flag" && reload_flag=" $reload_flag"
1856 echo $ac_n "checking
for BSD-compatible nm
""...
$ac_c" 1>&6
1857 echo "configure
:1858: checking
for BSD-compatible nm
" >&5
1858 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1859 echo $ac_n "(cached
) $ac_c" 1>&6
1861 if test -n "$NM"; then
1862 # Let the user override the test.
1865 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1866 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1867 test -z "$ac_dir" && ac_dir=.
1868 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1869 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1870 # Check to see if the nm accepts a BSD-compat flag.
1871 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1872 # nm: unknown option "B
" ignored
1873 # Tru64's nm complains that /dev/null is an invalid object file
1874 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1875 lt_cv_path_NM="$tmp_nm -B"
1877 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1878 lt_cv_path_NM="$tmp_nm -p"
1881 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1882 continue # so that we can try to find one that supports BSD flags
1887 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1892 echo "$ac_t""$NM" 1>&6
1894 echo $ac_n "checking how to recognise dependant libraries
""...
$ac_c" 1>&6
1895 echo "configure
:1896: checking how to recognise dependant libraries
" >&5
1896 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1897 echo $ac_n "(cached
) $ac_c" 1>&6
1899 lt_cv_file_magic_cmd='$MAGIC_CMD'
1900 lt_cv_file_magic_test_file=
1901 lt_cv_deplibs_check_method='unknown'
1902 # Need to set the preceding variable on all platforms that support
1903 # interlibrary dependencies.
1904 # 'none' -- dependencies not supported.
1905 # `unknown' -- same as none, but documents that we really don't know.
1906 # 'pass_all' -- all dependencies passed with no checks.
1907 # 'test_compile' -- check by making test program.
1908 # 'file_magic [regex]' -- check by looking for files in library path
1909 # which responds to the $file_magic_cmd with a given egrep regex.
1910 # If you have `file' or equivalent on your system and you're not sure
1911 # whether `pass_all' will *always* work, you probably want this one.
1915 lt_cv_deplibs_check_method=pass_all
1919 lt_cv_deplibs_check_method=pass_all
1923 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1924 lt_cv_file_magic_cmd='/usr/bin/file -L'
1925 lt_cv_file_magic_test_file=/shlib/libc.so
1928 cygwin* | mingw* |pw32*)
1929 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1930 lt_cv_file_magic_cmd='$OBJDUMP -f'
1933 darwin* | rhapsody*)
1934 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1935 lt_cv_file_magic_cmd='/usr/bin/file -L'
1937 rhapsody* | darwin1.012)
1938 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
1941 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
1947 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1950 # Not sure whether the presence of OpenBSD here was a mistake.
1951 # Let's accept both of them until this is cleared up.
1952 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1953 lt_cv_file_magic_cmd=/usr/bin/file
1954 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1958 lt_cv_deplibs_check_method=pass_all
1963 lt_cv_deplibs_check_method=pass_all
1969 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1970 lt_cv_file_magic_cmd=/usr/bin/file
1971 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1974 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
1975 lt_cv_file_magic_cmd=/usr/bin/file
1976 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
1984 # this will be overridden with pass_all, but let us keep it just in case
1985 lt_cv_deplibs_check_method="file_magic ELF
32-bit MSB dynamic lib MIPS
- version
1"
1989 *-32|*"-32 ") libmagic=32-bit;;
1990 *-n32|*"-n32 ") libmagic=N32;;
1991 *-64|*"-64 ") libmagic=64-bit;;
1992 *) libmagic=never-match;;
1994 # this will be overridden with pass_all, but let us keep it just in case
1995 lt_cv_deplibs_check_method="file_magic ELF
${libmagic} MSB mips-
[1234] dynamic lib MIPS
- version
1"
1998 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
1999 lt_cv_deplibs_check_method=pass_all
2002 # This must be Linux ELF.
2005 alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* )
2006 lt_cv_deplibs_check_method=pass_all ;;
2008 # glibc up to 2.1.1 does not perform some relocations on ARM
2009 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2011 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2015 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2016 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2018 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2023 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2024 lt_cv_file_magic_cmd=/usr/bin/file
2025 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2028 osf3* | osf4* | osf5*)
2029 # this will be overridden with pass_all, but let us keep it just in case
2030 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2031 lt_cv_file_magic_test_file=/shlib/libc.so
2032 lt_cv_deplibs_check_method=pass_all
2036 lt_cv_deplibs_check_method=pass_all
2040 lt_cv_deplibs_check_method=pass_all
2041 lt_cv_file_magic_test_file=/lib/libc.so
2044 sysv5uw[78]* | sysv4*uw2*)
2045 lt_cv_deplibs_check_method=pass_all
2048 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2049 case $host_vendor in
2051 lt_cv_deplibs_check_method=pass_all
2054 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]'
2055 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2063 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2064 file_magic_cmd=$lt_cv_file_magic_cmd
2065 deplibs_check_method=$lt_cv_deplibs_check_method
2067 echo $ac_n "checking
for object suffix
""...
$ac_c" 1>&6
2068 echo "configure
:2069: checking
for object suffix
" >&5
2069 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2070 echo $ac_n "(cached
) $ac_c" 1>&6
2073 echo 'int i = 1;' > conftest.$ac_ext
2074 if { (eval echo configure:2075: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2075 for ac_file in conftest.*; do
2078 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2082 { echo "configure
: error
: installation or configuration problem
; compiler does not work
" 1>&2; exit 1; }
2087 echo "$ac_t""$ac_cv_objext" 1>&6
2088 OBJEXT=$ac_cv_objext
2089 ac_objext=$ac_cv_objext
2091 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2093 # Only perform the check for file, if the check method requires it
2094 case $deplibs_check_method in
2096 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2097 echo $ac_n "checking
for ${ac_tool_prefix}file""...
$ac_c" 1>&6
2098 echo "configure
:2099: checking
for ${ac_tool_prefix}file" >&5
2099 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2100 echo $ac_n "(cached
) $ac_c" 1>&6
2104 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2107 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2110 ac_save_MAGIC_CMD="$MAGIC_CMD"
2111 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2112 ac_dummy="/usr
/bin
:$PATH"
2113 for ac_dir in $ac_dummy; do
2114 test -z "$ac_dir" && ac_dir=.
2115 if test -f $ac_dir/${ac_tool_prefix}file; then
2116 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2117 if test -n "$file_magic_test_file"; then
2118 case $deplibs_check_method in
2120 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2121 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2122 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2123 egrep "$file_magic_regex" > /dev/null; then
2128 *** Warning: the command libtool uses to detect shared libraries,
2129 *** $file_magic_cmd, produces output that libtool cannot recognize.
2130 *** The result is that libtool may fail to recognize shared libraries
2131 *** as such. This will affect the creation of libtool libraries that
2132 *** depend on shared libraries, but programs linked with such libtool
2133 *** libraries will work regardless of this problem. Nevertheless, you
2134 *** may want to report the problem to your system manager and/or to
2135 *** bug-libtool@gnu.org
2145 MAGIC_CMD="$ac_save_MAGIC_CMD"
2150 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2151 if test -n "$MAGIC_CMD"; then
2152 echo "$ac_t""$MAGIC_CMD" 1>&6
2154 echo "$ac_t""no
" 1>&6
2157 if test -z "$lt_cv_path_MAGIC_CMD"; then
2158 if test -n "$ac_tool_prefix"; then
2159 echo $ac_n "checking
for file""...
$ac_c" 1>&6
2160 echo "configure
:2161: checking
for file" >&5
2161 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2162 echo $ac_n "(cached
) $ac_c" 1>&6
2166 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2169 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2172 ac_save_MAGIC_CMD="$MAGIC_CMD"
2173 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2174 ac_dummy="/usr
/bin
:$PATH"
2175 for ac_dir in $ac_dummy; do
2176 test -z "$ac_dir" && ac_dir=.
2177 if test -f $ac_dir/file; then
2178 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2179 if test -n "$file_magic_test_file"; then
2180 case $deplibs_check_method in
2182 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2183 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2184 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2185 egrep "$file_magic_regex" > /dev/null; then
2190 *** Warning: the command libtool uses to detect shared libraries,
2191 *** $file_magic_cmd, produces output that libtool cannot recognize.
2192 *** The result is that libtool may fail to recognize shared libraries
2193 *** as such. This will affect the creation of libtool libraries that
2194 *** depend on shared libraries, but programs linked with such libtool
2195 *** libraries will work regardless of this problem. Nevertheless, you
2196 *** may want to report the problem to your system manager and/or to
2197 *** bug-libtool@gnu.org
2207 MAGIC_CMD="$ac_save_MAGIC_CMD"
2212 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2213 if test -n "$MAGIC_CMD"; then
2214 echo "$ac_t""$MAGIC_CMD" 1>&6
2216 echo "$ac_t""no
" 1>&6
2228 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
2229 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2230 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2231 echo "configure
:2232: checking
for $ac_word" >&5
2232 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2233 echo $ac_n "(cached
) $ac_c" 1>&6
2235 if test -n "$RANLIB"; then
2236 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2238 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2240 for ac_dir in $ac_dummy; do
2241 test -z "$ac_dir" && ac_dir=.
2242 if test -f $ac_dir/$ac_word; then
2243 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
2250 RANLIB="$ac_cv_prog_RANLIB"
2251 if test -n "$RANLIB"; then
2252 echo "$ac_t""$RANLIB" 1>&6
2254 echo "$ac_t""no
" 1>&6
2258 if test -z "$ac_cv_prog_RANLIB"; then
2259 if test -n "$ac_tool_prefix"; then
2260 # Extract the first word of "ranlib
", so it can be a program name with args.
2261 set dummy ranlib; ac_word=$2
2262 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2263 echo "configure
:2264: checking
for $ac_word" >&5
2264 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2265 echo $ac_n "(cached
) $ac_c" 1>&6
2267 if test -n "$RANLIB"; then
2268 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2270 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2272 for ac_dir in $ac_dummy; do
2273 test -z "$ac_dir" && ac_dir=.
2274 if test -f $ac_dir/$ac_word; then
2275 ac_cv_prog_RANLIB="ranlib
"
2280 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2283 RANLIB="$ac_cv_prog_RANLIB"
2284 if test -n "$RANLIB"; then
2285 echo "$ac_t""$RANLIB" 1>&6
2287 echo "$ac_t""no
" 1>&6
2295 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
2296 set dummy ${ac_tool_prefix}strip; ac_word=$2
2297 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2298 echo "configure
:2299: checking
for $ac_word" >&5
2299 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2300 echo $ac_n "(cached
) $ac_c" 1>&6
2302 if test -n "$STRIP"; then
2303 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2305 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2307 for ac_dir in $ac_dummy; do
2308 test -z "$ac_dir" && ac_dir=.
2309 if test -f $ac_dir/$ac_word; then
2310 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
2317 STRIP="$ac_cv_prog_STRIP"
2318 if test -n "$STRIP"; then
2319 echo "$ac_t""$STRIP" 1>&6
2321 echo "$ac_t""no
" 1>&6
2325 if test -z "$ac_cv_prog_STRIP"; then
2326 if test -n "$ac_tool_prefix"; then
2327 # Extract the first word of "strip
", so it can be a program name with args.
2328 set dummy strip; ac_word=$2
2329 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2330 echo "configure
:2331: checking
for $ac_word" >&5
2331 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2332 echo $ac_n "(cached
) $ac_c" 1>&6
2334 if test -n "$STRIP"; then
2335 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2337 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2339 for ac_dir in $ac_dummy; do
2340 test -z "$ac_dir" && ac_dir=.
2341 if test -f $ac_dir/$ac_word; then
2342 ac_cv_prog_STRIP="strip
"
2347 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2350 STRIP="$ac_cv_prog_STRIP"
2351 if test -n "$STRIP"; then
2352 echo "$ac_t""$STRIP" 1>&6
2354 echo "$ac_t""no
" 1>&6
2363 # Check for any special flags to pass to ltconfig.
2364 libtool_flags="--cache-file=$cache_file"
2365 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2366 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2367 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2368 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2369 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2370 libtool_flags="$libtool_flags --enable-dlopen"
2372 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2373 if test "${enable_libtool_lock+set}" = set; then
2374 enableval="$enable_libtool_lock"
2378 test "x
$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2379 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2381 # Check whether --with-pic or --without-pic was given.
2382 if test "${with_pic+set}" = set; then
2389 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2390 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2392 # Some flags need to be propagated to the compiler or linker for good
2396 # Find out which ABI we are using.
2397 echo '#line 2398 "configure
"' > conftest.$ac_ext
2398 if { (eval echo configure:2399: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2399 if test "$lt_cv_prog_gnu_ld" = yes; then
2400 case `/usr/bin/file conftest.$ac_objext` in
2402 LD="${LD-ld} -melf32bsmip"
2405 LD="${LD-ld} -melf32bmipn32"
2408 LD="${LD-ld} -melf64bmip"
2412 case `/usr/bin/file conftest.$ac_objext` in
2429 # Find out which ABI we are using.
2430 echo 'int i;' > conftest.$ac_ext
2431 if { (eval echo configure:2432: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2432 case "`/usr/bin/file conftest.o`" in
2444 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
2445 # Find out which ABI we are using.
2446 echo 'int i;' > conftest.$ac_ext
2447 if { (eval echo configure:2448: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2448 case "`/usr/bin/file conftest.o`" in
2452 LD="${LD-ld} -m elf_i386
"
2455 LD="${LD-ld} -m elf32ppclinux
"
2458 LD="${LD-ld} -m elf_s390
"
2461 LD="${LD-ld} -m elf32_sparc
"
2468 LD="${LD-ld} -m elf_x86_64
"
2470 ppc*-*linux*|powerpc*-*linux*)
2471 LD="${LD-ld} -m elf64ppc
"
2474 LD="${LD-ld} -m elf64_s390
"
2477 LD="${LD-ld} -m elf64_sparc
"
2487 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2488 SAVE_CFLAGS="$CFLAGS"
2489 CFLAGS="$CFLAGS -belf"
2490 echo $ac_n "checking whether the C compiler needs
-belf""...
$ac_c" 1>&6
2491 echo "configure
:2492: checking whether the C compiler needs
-belf" >&5
2492 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2493 echo $ac_n "(cached
) $ac_c" 1>&6
2497 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2498 ac_cpp='$CPP $CPPFLAGS'
2499 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2500 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2501 cross_compiling=$ac_cv_prog_cc_cross
2503 cat > conftest.$ac_ext <<EOF
2504 #line 2505 "configure
"
2505 #include "confdefs.h
"
2511 if { (eval echo configure:2512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2513 lt_cv_cc_needs_belf=yes
2515 echo "configure
: failed program was
:" >&5
2516 cat conftest.$ac_ext >&5
2518 lt_cv_cc_needs_belf=no
2522 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2523 ac_cpp='$CPP $CPPFLAGS'
2524 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2525 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2526 cross_compiling=$ac_cv_prog_cc_cross
2530 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2531 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2532 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2533 CFLAGS="$SAVE_CFLAGS"
2540 echo $ac_n "checking how to run the C
++ preprocessor
""...
$ac_c" 1>&6
2541 echo "configure
:2542: checking how to run the C
++ preprocessor
" >&5
2542 if test -z "$CXXCPP"; then
2543 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2544 echo $ac_n "(cached
) $ac_c" 1>&6
2547 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2548 ac_cpp='$CXXCPP $CPPFLAGS'
2549 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2550 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2551 cross_compiling=$ac_cv_prog_cxx_cross
2552 CXXCPP="${CXX-g++} -E"
2553 cat > conftest.$ac_ext <<EOF
2554 #line 2555 "configure
"
2555 #include "confdefs.h
"
2558 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2559 { (eval echo configure:2560: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2560 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2561 if test -z "$ac_err"; then
2565 echo "configure
: failed program was
:" >&5
2566 cat conftest.$ac_ext >&5
2571 ac_cv_prog_CXXCPP="$CXXCPP"
2573 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2574 ac_cpp='$CPP $CPPFLAGS'
2575 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2576 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2577 cross_compiling=$ac_cv_prog_cc_cross
2580 CXXCPP="$ac_cv_prog_CXXCPP"
2581 echo "$ac_t""$CXXCPP" 1>&6
2584 # Save cache, so that ltconfig can load it
2585 cat > confcache <<\EOF
2586 # This file is a shell script that caches the results of configure
2587 # tests run on this system so they can be shared between configure
2588 # scripts and configure runs. It is not useful on other systems.
2589 # If it contains results you don't want to keep, you may remove or edit it.
2591 # By default, configure uses ./config.cache as the cache file,
2592 # creating it if it does not exist already. You can give configure
2593 # the --cache-file=FILE option to use a different cache file; that is
2594 # what configure does when it calls configure scripts in
2595 # subdirectories, so they share the cache.
2596 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2597 # config.status only pays attention to the cache file if you give it the
2598 # --recheck option to rerun configure.
2601 # The following way of writing the cache mishandles newlines in values,
2602 # but we know of no workaround that is simple, portable, and efficient.
2603 # So, don't put newlines in cache variables' values.
2604 # Ultrix sh set writes to stderr and can't be redirected directly,
2605 # and sets the high bit in the cache file unless we assign to the vars.
2607 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2609 # `set' does not quote correctly, so add quotes (double-quote substitution
2610 # turns \\\\ into \\, and sed turns \\ into \).
2612 -e "s
/'/'\\\\''/g
" \
2613 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
2616 # `set' quotes correctly as required by POSIX, so do not add quotes.
2617 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2620 if cmp -s $cache_file confcache; then
2623 if test -w $cache_file; then
2624 echo "updating cache
$cache_file"
2625 cat confcache > $cache_file
2627 echo "not updating unwritable cache
$cache_file"
2633 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2634 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2635 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2636 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2637 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2638 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2639 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2640 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2641 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2642 || { echo "configure
: error
: libtool configure failed
" 1>&2; exit 1; }
2644 # Reload cache, that may have been modified by ltconfig
2645 if test -r "$cache_file"; then
2646 echo "loading cache
$cache_file"
2649 echo "creating cache
$cache_file"
2654 # This can be used to rebuild libtool when needed
2655 LIBTOOL_DEPS="$ac_aux_dir/ltconfig
$ac_aux_dir/ltmain.sh
$ac_aux_dir/ltcf-c.sh
"
2657 # Always use our own libtool.
2658 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2660 # Redirect the config.log output again, so that the ltconfig log is not
2661 # clobbered by the next message.
2662 exec 5>>./config.log
2666 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh
"
2668 lt_save_CFLAGS="$CFLAGS"
2669 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2670 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2671 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2672 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2673 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2674 deplibs_check_method="$deplibs_check_method" \
2675 file_magic_cmd="$file_magic_cmd" \
2676 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2677 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2678 || { echo "configure
: error
: libtool tag configuration failed
" 1>&2; exit 1; }
2680 CFLAGS="$lt_save_CFLAGS"
2682 # Redirect the config.log output again, so that the ltconfig log is not
2683 # clobbered by the next message.
2684 exec 5>>./config.log
2694 # Check for c++ or library specific bits that don't require linking.
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
2719 #GLIBCPP_CHECK_COMPILER_VERSION
2721 ac_test_CXXFLAGS="${CXXFLAGS+set}"
2722 ac_save_CXXFLAGS="$CXXFLAGS"
2723 CXXFLAGS='-Werror -Winvalid-pch -Wno-deprecated -x c++-header'
2725 echo $ac_n "checking
for compiler that seems to compile .gch files
""...
$ac_c" 1>&6
2726 echo "configure
:2727: checking
for compiler that seems to compile .gch files
" >&5
2727 if test x${glibcpp_pch_comp+set} != xset; then
2728 if eval "test \"`echo '$''{'glibcpp_pch_comp'+set}'`\" = set"; then
2729 echo $ac_n "(cached
) $ac_c" 1>&6
2734 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2735 ac_cpp='$CXXCPP $CPPFLAGS'
2736 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2737 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2738 cross_compiling=$ac_cv_prog_cxx_cross
2740 cat > conftest.$ac_ext <<EOF
2741 #line 2742 "configure
"
2742 #include "confdefs.h
"
2749 if { (eval echo configure:2750: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2751 glibcpp_pch_comp=yes
2753 echo "configure
: failed program was
:" >&5
2754 cat conftest.$ac_ext >&5
2760 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2761 ac_cpp='$CPP $CPPFLAGS'
2762 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2763 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2764 cross_compiling=$ac_cv_prog_cc_cross
2770 echo "$ac_t""$glibcpp_pch_comp" 1>&6
2772 CXXFLAGS="$ac_save_CXXFLAGS"
2775 if test "$glibcpp_pch_comp" = yes; then
2776 GLIBCPP_BUILD_PCH_TRUE=
2777 GLIBCPP_BUILD_PCH_FALSE='#'
2779 GLIBCPP_BUILD_PCH_TRUE='#'
2780 GLIBCPP_BUILD_PCH_FALSE=
2784 # Enable all the variable C++ stuff. C_MBCHAR must come early.
2785 echo $ac_n "checking how to run the C preprocessor
""...
$ac_c" 1>&6
2786 echo "configure
:2787: checking how to run the C preprocessor
" >&5
2787 # On Suns, sometimes $CPP names a directory.
2788 if test -n "$CPP" && test -d "$CPP"; then
2791 if test -z "$CPP"; then
2792 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2793 echo $ac_n "(cached
) $ac_c" 1>&6
2795 # This must be in double quotes, not single quotes, because CPP may get
2796 # substituted into the Makefile and "${CC-cc}" will confuse make.
2798 # On the NeXT, cc -E runs the code through the compiler's parser,
2799 # not just through cpp.
2800 cat > conftest.$ac_ext <<EOF
2801 #line 2802 "configure
"
2802 #include "confdefs.h
"
2806 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2807 { (eval echo configure:2808: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2808 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2809 if test -z "$ac_err"; then
2813 echo "configure
: failed program was
:" >&5
2814 cat conftest.$ac_ext >&5
2816 CPP="${CC-cc} -E -traditional-cpp"
2817 cat > conftest.$ac_ext <<EOF
2818 #line 2819 "configure
"
2819 #include "confdefs.h
"
2823 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2824 { (eval echo configure:2825: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2825 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2826 if test -z "$ac_err"; then
2830 echo "configure
: failed program was
:" >&5
2831 cat conftest.$ac_ext >&5
2833 CPP="${CC-cc} -nologo -E"
2834 cat > conftest.$ac_ext <<EOF
2835 #line 2836 "configure
"
2836 #include "confdefs.h
"
2840 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2841 { (eval echo configure:2842: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2842 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2843 if test -z "$ac_err"; then
2847 echo "configure
: failed program was
:" >&5
2848 cat conftest.$ac_ext >&5
2857 ac_cv_prog_CPP="$CPP"
2859 CPP="$ac_cv_prog_CPP"
2861 ac_cv_prog_CPP="$CPP"
2863 echo "$ac_t""$CPP" 1>&6
2866 echo $ac_n "checking
for cstdio to use
""...
$ac_c" 1>&6
2867 echo "configure
:2868: checking
for cstdio to use
" >&5
2868 # Check whether --enable-cstdio or --disable-cstdio was given.
2869 if test "${enable_cstdio+set}" = set; then
2870 enableval="$enable_cstdio"
2871 if test x$enable_cstdio = xno; then
2879 enable_cstdio_flag=$enable_cstdio
2881 case x${enable_cstdio_flag} in
2883 CSTDIO_H=config/io/c_io_libio.h
2884 BASIC_FILE_H=config/io/basic_file_libio.h
2885 BASIC_FILE_CC=config/io/basic_file_libio.cc
2886 echo "$ac_t""libio
" 1>&6
2888 # see if we are on a system with libio native (ie, linux)
2889 ac_safe=`echo "libio.h
" | sed 'y%./+-%__p_%'`
2890 echo $ac_n "checking
for libio.h
""...
$ac_c" 1>&6
2891 echo "configure
:2892: checking
for libio.h
" >&5
2892 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2893 echo $ac_n "(cached
) $ac_c" 1>&6
2895 cat > conftest.$ac_ext <<EOF
2896 #line 2897 "configure
"
2897 #include "confdefs.h
"
2900 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2901 { (eval echo configure:2902: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2902 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2903 if test -z "$ac_err"; then
2905 eval "ac_cv_header_
$ac_safe=yes"
2908 echo "configure
: failed program was
:" >&5
2909 cat conftest.$ac_ext >&5
2911 eval "ac_cv_header_
$ac_safe=no
"
2915 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2916 echo "$ac_t""yes" 1>&6
2919 echo "$ac_t""no
" 1>&6
2924 # Need to check and see what version of glibc is being used. If
2925 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2926 # compile most of libio for linux systems.
2927 if test x$has_libio = x"yes"; then
2930 echo $ac_n "checking
for glibc version
>= 2.2""...
$ac_c" 1>&6
2931 echo "configure
:2932: checking
for glibc version
>= 2.2" >&5
2932 cat > conftest.$ac_ext <<EOF
2933 #line 2934 "configure
"
2934 #include "confdefs.h
"
2936 #include <features.h>
2937 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2942 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
2943 egrep "ok
" >/dev/null 2>&1; then
2945 glibc_satisfactory=yes
2948 glibc_satisfactory=no
2952 echo "$ac_t""$glibc_satisfactory" 1>&6
2956 # XXX at the moment, admit defeat and force the recompilation
2957 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2958 glibc_satisfactory=no
2960 if test x$glibc_satisfactory = x"yes"; then
2965 # bkoz XXX need to add checks to enable this
2966 # pme XXX here's a first pass at such a check
2967 if test x$enable_c_mbchar != xno; then
2975 # Using libio, but <libio.h> doesn't exist on the target system. . .
2977 # bkoz XXX need to add checks to enable this
2978 # pme XXX here's a first pass at such a check
2979 if test x$enable_c_mbchar != xno; then
2986 xstdio | x | xno | xnone | xyes)
2988 CSTDIO_H=config/io/c_io_stdio.h
2989 BASIC_FILE_H=config/io/basic_file_stdio.h
2990 BASIC_FILE_CC=config/io/basic_file_stdio.cc
2991 echo "$ac_t""stdio
" 1>&6
2993 # We're not using stdio.
2998 echo "$enable_cstdio is an unknown io package
" 1>&2
3006 # 2000-08-04 bkoz hack
3007 CCODECVT_C=config/io/c_io_libio_codecvt.c
3009 # 2000-08-04 bkoz hack
3013 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
3014 GLIBCPP_BUILD_LIBIO_TRUE=
3015 GLIBCPP_BUILD_LIBIO_FALSE='#'
3017 GLIBCPP_BUILD_LIBIO_TRUE='#'
3018 GLIBCPP_BUILD_LIBIO_FALSE=
3022 if test "$need_libio" = yes; then
3023 GLIBCPP_NEED_LIBIO_TRUE=
3024 GLIBCPP_NEED_LIBIO_FALSE='#'
3026 GLIBCPP_NEED_LIBIO_TRUE='#'
3027 GLIBCPP_NEED_LIBIO_FALSE=
3031 if test "$need_wlibio" = yes; then
3032 GLIBCPP_NEED_WLIBIO_TRUE=
3033 GLIBCPP_NEED_WLIBIO_FALSE='#'
3035 GLIBCPP_NEED_WLIBIO_TRUE='#'
3036 GLIBCPP_NEED_WLIBIO_FALSE=
3038 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
3039 libio_la=../libio/libio.la
3046 echo $ac_n "checking
for clocale to use
""...
$ac_c" 1>&6
3047 echo "configure
:3048: checking
for clocale to use
" >&5
3048 # Check whether --enable-clocale or --disable-clocale was given.
3049 if test "${enable_clocale+set}" = set; then
3050 enableval="$enable_clocale"
3051 if test x$enable_clocale = xno; then
3059 enable_clocale_flag=$enable_clocale
3061 if test x$enable_clocale_flag = xno; then
3062 case x${target_os} in
3064 cat > conftest.$ac_ext <<EOF
3065 #line 3066 "configure
"
3066 #include "confdefs.h
"
3068 #include <features.h>
3069 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
3074 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
3075 egrep "_GLIBCPP_ok
" >/dev/null 2>&1; then
3077 enable_clocale_flag=gnu
3080 enable_clocale_flag=generic
3085 # Test for bugs early in glibc-2.2.x series
3086 if test x$enable_clocale_flag = xgnu; then
3087 if test "$cross_compiling" = yes; then
3088 enable_clocale_flag=generic
3090 cat > conftest.$ac_ext <<EOF
3091 #line 3092 "configure
"
3092 #include "confdefs.h
"
3094 #define _GNU_SOURCE 1
3097 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
3098 extern __typeof(newlocale) __newlocale;
3099 extern __typeof(duplocale) __duplocale;
3100 extern __typeof(strcoll_l) __strcoll_l;
3104 const char __one[] = "Äuglein Augmen
";
3105 const char __two[] = "Äuglein
";
3110 loc = __newlocale(1 << LC_ALL, "de_DE
", 0);
3111 loc_dup = __duplocale(loc);
3112 i = __strcoll_l(__one, __two, loc);
3113 j = __strcoll_l(__one, __two, loc_dup);
3118 if { (eval echo configure:3119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3120 enable_clocale_flag=gnu
3122 echo "configure
: failed program was
:" >&5
3123 cat conftest.$ac_ext >&5
3125 enable_clocale_flag=generic
3132 # ... at some point put __strxfrm_l tests in as well.
3135 enable_clocale_flag=generic
3140 # Check whether --enable-nls or --disable-nls was given.
3141 if test "${enable_nls+set}" = set; then
3142 enableval="$enable_nls"
3150 case x${enable_clocale_flag} in
3152 echo "$ac_t""generic
" 1>&6
3154 CLOCALE_H=config/locale/generic/c_locale.h
3155 CLOCALE_CC=config/locale/generic/c_locale.cc
3156 CCODECVT_H=config/locale/generic/codecvt_specializations.h
3157 CCODECVT_CC=config/locale/generic/codecvt_members.cc
3158 CCOLLATE_CC=config/locale/generic/collate_members.cc
3159 CCTYPE_CC=config/locale/generic/ctype_members.cc
3160 CMESSAGES_H=config/locale/generic/messages_members.h
3161 CMESSAGES_CC=config/locale/generic/messages_members.cc
3162 CMONEY_CC=config/locale/generic/monetary_members.cc
3163 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3164 CTIME_H=config/locale/generic/time_members.h
3165 CTIME_CC=config/locale/generic/time_members.cc
3166 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
3169 echo "$ac_t""gnu
" 1>&6
3171 # Declare intention to use gettext, and add support for specific
3173 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
3176 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
3177 # Extract the first word of "msgfmt
", so it can be a program name with args.
3178 set dummy msgfmt; ac_word=$2
3179 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
3180 echo "configure
:3181: checking
for $ac_word" >&5
3181 if eval "test \"`echo '$''{'ac_cv_prog_check_msgfmt'+set}'`\" = set"; then
3182 echo $ac_n "(cached
) $ac_c" 1>&6
3184 if test -n "$check_msgfmt"; then
3185 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
3187 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3189 for ac_dir in $ac_dummy; do
3190 test -z "$ac_dir" && ac_dir=.
3191 if test -f $ac_dir/$ac_word; then
3192 ac_cv_prog_check_msgfmt="yes"
3197 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no
"
3200 check_msgfmt="$ac_cv_prog_check_msgfmt"
3201 if test -n "$check_msgfmt"; then
3202 echo "$ac_t""$check_msgfmt" 1>&6
3204 echo "$ac_t""no
" 1>&6
3207 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
3210 # Export the build objects.
3211 for ling in $ALL_LINGUAS; do \
3212 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo
"; \
3213 glibcpp_POFILES="$glibcpp_POFILES $ling.po
"; \
3218 CLOCALE_H=config/locale/gnu/c_locale.h
3219 CLOCALE_CC=config/locale/gnu/c_locale.cc
3220 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3221 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
3222 CCOLLATE_CC=config/locale/gnu/collate_members.cc
3223 CCTYPE_CC=config/locale/gnu/ctype_members.cc
3224 CMESSAGES_H=config/locale/gnu/messages_members.h
3225 CMESSAGES_CC=config/locale/gnu/messages_members.cc
3226 CMONEY_CC=config/locale/gnu/monetary_members.cc
3227 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
3228 CTIME_H=config/locale/gnu/time_members.h
3229 CTIME_CC=config/locale/gnu/time_members.cc
3230 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
3233 echo "$ac_t""generic
" 1>&6
3235 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
3236 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
3237 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3238 CCODECVT_CC=config/locale/generic/codecvt_members.cc
3239 CCOLLATE_CC=config/locale/generic/collate_members.cc
3240 CCTYPE_CC=config/locale/generic/ctype_members.cc
3241 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
3242 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
3243 CMONEY_CC=config/locale/generic/monetary_members.cc
3244 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3245 CTIME_H=config/locale/generic/time_members.h
3246 CTIME_CC=config/locale/generic/time_members.cc
3247 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
3250 echo "$enable_clocale is an unknown locale package
" 1>&2
3255 # This is where the testsuite looks for locale catalogs, using the
3256 # -DLOCALEDIR define during testsuite compilation.
3257 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3275 echo $ac_n "checking
for c header strategy to use
""...
$ac_c" 1>&6
3276 echo "configure
:3277: checking
for c header strategy to use
" >&5
3277 # Check whether --enable-cheaders or --disable-cheaders was given.
3278 if test "${enable_cheaders+set}" = set; then
3279 enableval="$enable_cheaders"
3281 case "$enableval" in
3286 enable_cheaders=c_std
3288 *) { echo "configure
: error
: Unknown argument to enable
/disable
"C" headers
" 1>&2; exit 1; }
3292 enable_cheaders=c_std
3295 echo "$ac_t""$enable_cheaders" 1>&6
3297 case "$enable_cheaders" in
3299 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3302 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3309 if test "$enable_cheaders" = c; then
3310 GLIBCPP_C_HEADERS_C_TRUE=
3311 GLIBCPP_C_HEADERS_C_FALSE='#'
3313 GLIBCPP_C_HEADERS_C_TRUE='#'
3314 GLIBCPP_C_HEADERS_C_FALSE=
3318 if test "$enable_cheaders" = c_std; then
3319 GLIBCPP_C_HEADERS_C_STD_TRUE=
3320 GLIBCPP_C_HEADERS_C_STD_FALSE='#'
3322 GLIBCPP_C_HEADERS_C_STD_TRUE='#'
3323 GLIBCPP_C_HEADERS_C_STD_FALSE=
3327 if test "$c_compatibility" = yes; then
3328 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE=
3329 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE='#'
3331 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE='#'
3332 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE=
3335 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3336 if test "${enable_c_mbchar+set}" = set; then
3337 enableval="$enable_c_mbchar"
3338 case "$enableval" in
3339 yes) enable_c_mbchar=yes ;;
3340 no) enable_c_mbchar=no ;;
3341 *) { echo "configure
: error
: Unknown argument to enable
/disable c-mbchar
" 1>&2; exit 1; } ;;
3348 # Check whether --enable-c99 or --disable-c99 was given.
3349 if test "${enable_c99+set}" = set; then
3350 enableval="$enable_c99"
3351 case "$enableval" in
3352 yes) enable_c99=yes ;;
3353 no) enable_c99=no ;;
3354 *) { echo "configure
: error
: Unknown argument to enable
/disable C99
" 1>&2; exit 1; } ;;
3362 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3363 ac_cpp='$CXXCPP $CPPFLAGS'
3364 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3365 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3366 cross_compiling=$ac_cv_prog_cxx_cross
3369 # Check for the existence of <math.h> functions used if C99 is enabled.
3371 echo $ac_n "checking
for ISO C99 support
in <math.h
>""...
$ac_c" 1>&6
3372 echo "configure
:3373: checking
for ISO C99 support
in <math.h
>" >&5
3373 cat > conftest.$ac_ext <<EOF
3374 #line 3375 "configure
"
3375 #include "confdefs.h
"
3381 if { (eval echo configure:3382: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3384 echo "configure
: failed program was
:" >&5
3385 cat conftest.$ac_ext >&5
3390 cat > conftest.$ac_ext <<EOF
3391 #line 3392 "configure
"
3392 #include "confdefs.h
"
3398 if { (eval echo configure:3399: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3401 echo "configure
: failed program was
:" >&5
3402 cat conftest.$ac_ext >&5
3407 cat > conftest.$ac_ext <<EOF
3408 #line 3409 "configure
"
3409 #include "confdefs.h
"
3415 if { (eval echo configure:3416: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3418 echo "configure
: failed program was
:" >&5
3419 cat conftest.$ac_ext >&5
3424 cat > conftest.$ac_ext <<EOF
3425 #line 3426 "configure
"
3426 #include "confdefs.h
"
3432 if { (eval echo configure:3433: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3435 echo "configure
: failed program was
:" >&5
3436 cat conftest.$ac_ext >&5
3441 cat > conftest.$ac_ext <<EOF
3442 #line 3443 "configure
"
3443 #include "confdefs.h
"
3449 if { (eval echo configure:3450: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3452 echo "configure
: failed program was
:" >&5
3453 cat conftest.$ac_ext >&5
3458 cat > conftest.$ac_ext <<EOF
3459 #line 3460 "configure
"
3460 #include "confdefs.h
"
3466 if { (eval echo configure:3467: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3469 echo "configure
: failed program was
:" >&5
3470 cat conftest.$ac_ext >&5
3475 cat > conftest.$ac_ext <<EOF
3476 #line 3477 "configure
"
3477 #include "confdefs.h
"
3483 if { (eval echo configure:3484: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3486 echo "configure
: failed program was
:" >&5
3487 cat conftest.$ac_ext >&5
3492 cat > conftest.$ac_ext <<EOF
3493 #line 3494 "configure
"
3494 #include "confdefs.h
"
3497 isgreaterequal(0.0,0.0);
3500 if { (eval echo configure:3501: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3503 echo "configure
: failed program was
:" >&5
3504 cat conftest.$ac_ext >&5
3509 cat > conftest.$ac_ext <<EOF
3510 #line 3511 "configure
"
3511 #include "confdefs.h
"
3517 if { (eval echo configure:3518: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3520 echo "configure
: failed program was
:" >&5
3521 cat conftest.$ac_ext >&5
3526 cat > conftest.$ac_ext <<EOF
3527 #line 3528 "configure
"
3528 #include "confdefs.h
"
3531 islessequal(0.0,0.0);
3534 if { (eval echo configure:3535: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3537 echo "configure
: failed program was
:" >&5
3538 cat conftest.$ac_ext >&5
3543 cat > conftest.$ac_ext <<EOF
3544 #line 3545 "configure
"
3545 #include "confdefs.h
"
3548 islessgreater(0.0,0.0);
3551 if { (eval echo configure:3552: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3554 echo "configure
: failed program was
:" >&5
3555 cat conftest.$ac_ext >&5
3560 cat > conftest.$ac_ext <<EOF
3561 #line 3562 "configure
"
3562 #include "confdefs.h
"
3565 isunordered(0.0,0.0);
3568 if { (eval echo configure:3569: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3571 echo "configure
: failed program was
:" >&5
3572 cat conftest.$ac_ext >&5
3577 echo "$ac_t""$ac_c99_math" 1>&6
3579 # Check for the existence in <stdio.h> of vscanf, et. al.
3581 echo $ac_n "checking
for ISO C99 support
in <stdio.h
>""...
$ac_c" 1>&6
3582 echo "configure
:3583: checking
for ISO C99 support
in <stdio.h
>" >&5
3583 cat > conftest.$ac_ext <<EOF
3584 #line 3585 "configure
"
3585 #include "confdefs.h
"
3588 snprintf("12", 0, "%i
");
3591 if { (eval echo configure:3592: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3594 echo "configure
: failed program was
:" >&5
3595 cat conftest.$ac_ext >&5
3600 cat > conftest.$ac_ext <<EOF
3601 #line 3602 "configure
"
3602 #include "confdefs.h
"
3605 void foo(char* fmt, ...)
3606 {va_list args; va_start(args, fmt);
3607 vfscanf(stderr, "%i
", args);}
3612 if { (eval echo configure:3613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3615 echo "configure
: failed program was
:" >&5
3616 cat conftest.$ac_ext >&5
3621 cat > conftest.$ac_ext <<EOF
3622 #line 3623 "configure
"
3623 #include "confdefs.h
"
3626 void foo(char* fmt, ...)
3627 {va_list args; va_start(args, fmt);
3628 vscanf("%i
", args);}
3633 if { (eval echo configure:3634: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3636 echo "configure
: failed program was
:" >&5
3637 cat conftest.$ac_ext >&5
3642 cat > conftest.$ac_ext <<EOF
3643 #line 3644 "configure
"
3644 #include "confdefs.h
"
3647 void foo(char* fmt, ...)
3648 {va_list args; va_start(args, fmt);
3649 vsnprintf(fmt, 0, "%i
", args);}
3654 if { (eval echo configure:3655: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3657 echo "configure
: failed program was
:" >&5
3658 cat conftest.$ac_ext >&5
3663 cat > conftest.$ac_ext <<EOF
3664 #line 3665 "configure
"
3665 #include "confdefs.h
"
3668 void foo(char* fmt, ...)
3669 {va_list args; va_start(args, fmt);
3670 vsscanf(fmt, "%i
", args);}
3675 if { (eval echo configure:3676: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3678 echo "configure
: failed program was
:" >&5
3679 cat conftest.$ac_ext >&5
3684 echo "$ac_t""$ac_c99_stdio" 1>&6
3686 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3688 echo $ac_n "checking
for lldiv_t declaration
""...
$ac_c" 1>&6
3689 echo "configure
:3690: checking
for lldiv_t declaration
" >&5
3690 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3691 echo $ac_n "(cached
) $ac_c" 1>&6
3694 cat > conftest.$ac_ext <<EOF
3695 #line 3696 "configure
"
3696 #include "confdefs.h
"
3702 if { (eval echo configure:3703: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3706 echo "configure
: failed program was
:" >&5
3707 cat conftest.$ac_ext >&5
3715 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3717 echo $ac_n "checking
for ISO C99 support
in <stdlib.h
>""...
$ac_c" 1>&6
3718 echo "configure
:3719: checking
for ISO C99 support
in <stdlib.h
>" >&5
3719 cat > conftest.$ac_ext <<EOF
3720 #line 3721 "configure
"
3721 #include "confdefs.h
"
3724 char* tmp; strtof("gnu
", &tmp);
3727 if { (eval echo configure:3728: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3730 echo "configure
: failed program was
:" >&5
3731 cat conftest.$ac_ext >&5
3736 cat > conftest.$ac_ext <<EOF
3737 #line 3738 "configure
"
3738 #include "confdefs.h
"
3741 char* tmp; strtold("gnu
", &tmp);
3744 if { (eval echo configure:3745: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3747 echo "configure
: failed program was
:" >&5
3748 cat conftest.$ac_ext >&5
3753 cat > conftest.$ac_ext <<EOF
3754 #line 3755 "configure
"
3755 #include "confdefs.h
"
3761 if { (eval echo configure:3762: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3764 echo "configure
: failed program was
:" >&5
3765 cat conftest.$ac_ext >&5
3770 cat > conftest.$ac_ext <<EOF
3771 #line 3772 "configure
"
3772 #include "confdefs.h
"
3778 if { (eval echo configure:3779: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3781 echo "configure
: failed program was
:" >&5
3782 cat conftest.$ac_ext >&5
3787 cat > conftest.$ac_ext <<EOF
3788 #line 3789 "configure
"
3789 #include "confdefs.h
"
3795 if { (eval echo configure:3796: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3798 echo "configure
: failed program was
:" >&5
3799 cat conftest.$ac_ext >&5
3804 cat > conftest.$ac_ext <<EOF
3805 #line 3806 "configure
"
3806 #include "confdefs.h
"
3812 if { (eval echo configure:3813: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3815 echo "configure
: failed program was
:" >&5
3816 cat conftest.$ac_ext >&5
3821 if test x"$ac_c99_lldiv_t" = x"no
"; then
3824 echo "$ac_t""$ac_c99_stdlib" 1>&6
3826 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3827 # XXX the wchar.h checks should be rolled into the general C99 bits.
3829 echo $ac_n "checking
for additional ISO C99 support
in <wchar.h
>""...
$ac_c" 1>&6
3830 echo "configure
:3831: checking
for additional ISO C99 support
in <wchar.h
>" >&5
3831 cat > conftest.$ac_ext <<EOF
3832 #line 3833 "configure
"
3833 #include "confdefs.h
"
3836 wcstold(L"10.0", NULL);
3839 if { (eval echo configure:3840: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3842 echo "configure
: failed program was
:" >&5
3843 cat conftest.$ac_ext >&5
3848 cat > conftest.$ac_ext <<EOF
3849 #line 3850 "configure
"
3850 #include "confdefs.h
"
3853 wcstoll(L"10", NULL, 10);
3856 if { (eval echo configure:3857: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3859 echo "configure
: failed program was
:" >&5
3860 cat conftest.$ac_ext >&5
3865 cat > conftest.$ac_ext <<EOF
3866 #line 3867 "configure
"
3867 #include "confdefs.h
"
3870 wcstoull(L"10", NULL, 10);
3873 if { (eval echo configure:3874: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3876 echo "configure
: failed program was
:" >&5
3877 cat conftest.$ac_ext >&5
3882 echo "$ac_t""$ac_c99_wchar" 1>&6
3884 echo $ac_n "checking
for enabled ISO C99 support
""...
$ac_c" 1>&6
3885 echo "configure
:3886: checking
for enabled ISO C99 support
" >&5
3886 if test x"$ac_c99_math" = x"no
" ||
3887 test x"$ac_c99_stdio" = x"no
" ||
3888 test x"$ac_c99_stdlib" = x"no
" ||
3889 test x"$ac_c99_wchar" = x"no
"; then
3892 echo "$ac_t""$enable_c99" 1>&6
3894 # Option parsed, now set things appropriately
3895 if test x"$enable_c99" = x"yes"; then
3896 cat >> confdefs.h <<\EOF
3897 #define _GLIBCPP_USE_C99 1
3903 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3904 ac_cpp='$CPP $CPPFLAGS'
3905 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3906 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3907 cross_compiling=$ac_cv_prog_cc_cross
3911 # Check whether --enable-long-long or --disable-long-long was given.
3912 if test "${enable_long_long+set}" = set; then
3913 enableval="$enable_long_long"
3914 case "$enableval" in
3915 yes) enable_long_long=yes ;;
3916 no) enable_long_long=no ;;
3917 *) { echo "configure
: error
: Unknown argument to enable
/disable long long
" 1>&2; exit 1; } ;;
3920 enable_long_long=yes
3925 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3926 ac_cpp='$CXXCPP $CPPFLAGS'
3927 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3928 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3929 cross_compiling=$ac_cv_prog_cxx_cross
3932 echo $ac_n "checking
for enabled long long I
/O support
""...
$ac_c" 1>&6
3933 echo "configure
:3934: checking
for enabled long long I
/O support
" >&5
3934 # iostreams require strtoll, strtoull to compile
3935 cat > conftest.$ac_ext <<EOF
3936 #line 3937 "configure
"
3937 #include "confdefs.h
"
3940 char* tmp; strtoll("gnu
", &tmp, 10);
3943 if { (eval echo configure:3944: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3946 echo "configure
: failed program was
:" >&5
3947 cat conftest.$ac_ext >&5
3952 cat > conftest.$ac_ext <<EOF
3953 #line 3954 "configure
"
3954 #include "confdefs.h
"
3957 char* tmp; strtoull("gnu
", &tmp, 10);
3960 if { (eval echo configure:3961: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3963 echo "configure
: failed program was
:" >&5
3964 cat conftest.$ac_ext >&5
3970 # Option parsed, now set things appropriately
3971 if test x"$enable_long_long" = xyes; then
3972 cat >> confdefs.h <<\EOF
3973 #define _GLIBCPP_USE_LONG_LONG 1
3977 echo "$ac_t""$enable_long_long" 1>&6
3980 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3981 ac_cpp='$CPP $CPPFLAGS'
3982 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3983 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3984 cross_compiling=$ac_cv_prog_cc_cross
3988 echo $ac_n "checking
for thread model used by GCC
""...
$ac_c" 1>&6
3989 echo "configure
:3990: checking
for thread model used by GCC
" >&5
3990 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3991 echo "$ac_t""$target_thread_file" 1>&6
3993 if test $target_thread_file != single; then
3994 cat >> confdefs.h <<\EOF
3995 #define HAVE_GTHR_DEFAULT 1
3998 cat >> confdefs.h <<\EOF
3999 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
4004 glibcpp_thread_h=gthr-$target_thread_file.h
4008 echo $ac_n "checking
for exception model to use
""...
$ac_c" 1>&6
4009 echo "configure
:4010: checking
for exception model to use
" >&5
4012 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4013 ac_cpp='$CXXCPP $CPPFLAGS'
4014 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4015 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4016 cross_compiling=$ac_cv_prog_cxx_cross
4018 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
4019 if test "${enable_sjlj_exceptions+set}" = set; then
4020 enableval="$enable_sjlj_exceptions"
4023 cat > conftest.$ac_ext << EOF
4024 #line 4025 "configure
"
4033 old_CXXFLAGS="$CXXFLAGS"
4035 if { (eval echo configure:4036: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4036 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
4037 enable_sjlj_exceptions=yes
4038 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
4039 enable_sjlj_exceptions=no
4042 CXXFLAGS="$old_CXXFLAGS"
4046 if test x$enable_sjlj_exceptions = xyes; then
4047 cat >> confdefs.h <<\EOF
4048 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
4051 ac_exception_model_name=sjlj
4052 elif test x$enable_sjlj_exceptions = xno; then
4053 ac_exception_model_name="call frame
"
4055 { echo "configure
: error
: unable to detect exception model
" 1>&2; exit 1; }
4058 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4059 ac_cpp='$CPP $CPPFLAGS'
4060 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4061 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4062 cross_compiling=$ac_cv_prog_cc_cross
4064 echo "$ac_t""$ac_exception_model_name" 1>&6
4067 echo $ac_n "checking
for use of libunwind
""...
$ac_c" 1>&6
4068 echo "configure
:4069: checking
for use of libunwind
" >&5
4069 # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
4070 if test "${enable_libunwind_exceptions+set}" = set; then
4071 enableval="$enable_libunwind_exceptions"
4072 use_libunwind_exceptions=$enableval
4074 use_libunwind_exceptions=no
4077 echo "$ac_t""$use_libunwind_exceptions" 1>&6
4078 if test x"$use_libunwind_exceptions" = xyes; then
4079 LIBUNWIND_FLAG="-lunwind"
4085 # Check whether --enable-concept-checks or --disable-concept-checks was given.
4086 if test "${enable_concept_checks+set}" = set; then
4087 enableval="$enable_concept_checks"
4088 case "$enableval" in
4089 yes) enable_concept_checks=yes ;;
4090 no) enable_concept_checks=no ;;
4091 *) { echo "configure
: error
: Unknown argument to enable
/disable concept checks
" 1>&2; exit 1; } ;;
4094 enable_concept_checks=no
4096 if test x"$enable_concept_checks" = xyes; then
4097 cat >> confdefs.h <<\EOF
4098 #define _GLIBCPP_CONCEPT_CHECKS 1
4103 echo $ac_n "checking
for extra compiler flags
for building
""...
$ac_c" 1>&6
4104 echo "configure
:4105: checking
for extra compiler flags
for building
" >&5
4105 # Check whether --enable-cxx_flags or --disable-cxx_flags was given.
4106 if test "${enable_cxx_flags+set}" = set; then
4107 enableval="$enable_cxx_flags"
4108 case "x
$enable_cxx_flags" in
4110 { echo "configure
: error
: --enable-cxx-flags needs compiler flags as arguments
" 1>&2; exit 1; } ;;
4112 enable_cxx_flags='' ;;
4114 enable_cxx_flags="$enableval" ;;
4121 if test -n "$enable_cxx_flags"; then
4122 for f in $enable_cxx_flags; do
4126 *) # and we're trying to pass /what/ exactly?
4127 { echo "configure
: error
: compiler flags start with a
-" 1>&2; exit 1; } ;;
4131 EXTRA_CXX_FLAGS="$enable_cxx_flags"
4132 echo "$ac_t""$EXTRA_CXX_FLAGS" 1>&6
4135 # Check whether --enable-debug or --disable-debug was given.
4136 if test "${enable_debug+set}" = set; then
4137 enableval="$enable_debug"
4138 case "${enableval}" in
4139 yes) enable_debug=yes ;;
4140 no) enable_debug=no ;;
4141 *) { echo "configure
: error
: Unknown argument to enable
/disable extra debugging
" 1>&2; exit 1; } ;;
4146 echo $ac_n "checking
for additional debug build
""...
$ac_c" 1>&6
4147 echo "configure
:4148: checking
for additional debug build
" >&5
4148 echo "$ac_t""$enable_debug" 1>&6
4151 if test "$enable_debug" = yes; then
4152 GLIBCPP_BUILD_DEBUG_TRUE=
4153 GLIBCPP_BUILD_DEBUG_FALSE='#'
4155 GLIBCPP_BUILD_DEBUG_TRUE='#'
4156 GLIBCPP_BUILD_DEBUG_FALSE=
4159 # Check whether --enable-debug_flags or --disable-debug_flags was given.
4160 if test "${enable_debug_flags+set}" = set; then
4161 enableval="$enable_debug_flags"
4162 case "${enableval}" in
4164 -*) enable_debug_flags="${enableval}" ;;
4165 *) { echo "configure
: error
: Unknown argument to extra debugging flags
" 1>&2; exit 1; } ;;
4168 enable_debug_flags=none
4171 case x"$enable_debug" in
4173 case "$enable_debug_flags" in
4175 DEBUG_FLAGS="-g3 -O0";;
4177 DEBUG_FLAGS="${enableval}"
4186 echo $ac_n "checking
for debug build flags
""...
$ac_c" 1>&6
4187 echo "configure
:4188: checking
for debug build flags
" >&5
4188 echo "$ac_t""$DEBUG_FLAGS" 1>&6
4191 # No surprises, no surprises...
4192 if test $ATOMICITYH = cpu/generic ; then
4193 echo "configure
: warning
: No native atomic operations are provided
for this platform.
" 1>&2
4194 if test $target_thread_file = single; then
4195 echo "configure
: warning
: They cannot be faked when thread support is disabled.
" 1>&2
4196 echo "configure
: warning
: Thread-safety of certain classes is not guaranteed.
" 1>&2
4198 echo "configure
: warning
: They will be faked using a mutex.
" 1>&2
4199 echo "configure
: warning
: Performance of certain classes will degrade as a result.
" 1>&2
4204 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
4206 # We are being configured with some form of cross compiler.
4207 GLIBCPP_IS_CROSS_COMPILING=1
4209 # This lets us hard-code the functionality we know we'll have in the cross
4210 # target environment. "Let
" is a sugar-coated word placed on an especially
4211 # dull and tedious hack, actually.
4213 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
4214 # that involve linking, can't be used:
4215 # "cannot open sim-crt0.o
"
4216 # "cannot open crt0.o
"
4217 # etc. All this is because there currently exists no unified, consistent
4218 # way for top level CC information to be passed down to target directories:
4219 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
4220 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
4221 # crosses can be removed.
4223 # If Canadian cross, then don't pick up tools from the build directory.
4224 # Used in GLIBCPP_EXPORT_INCLUDES (and nowhere else?).
4225 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
4231 # Construct crosses by hand, eliminating bits that need ld...
4232 # GLIBCPP_CHECK_COMPILER_FEATURES
4233 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4234 # GLIBCPP_CHECK_MATH_SUPPORT
4238 os_include_dir="os
/gnu-linux
"
4239 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4240 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4241 fp.h locale.h float.h inttypes.h
4243 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4244 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4245 echo "configure
:4246: checking
for $ac_hdr" >&5
4246 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4247 echo $ac_n "(cached
) $ac_c" 1>&6
4249 cat > conftest.$ac_ext <<EOF
4250 #line 4251 "configure
"
4251 #include "confdefs.h
"
4254 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4255 { (eval echo configure:4256: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4256 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4257 if test -z "$ac_err"; then
4259 eval "ac_cv_header_
$ac_safe=yes"
4262 echo "configure
: failed program was
:" >&5
4263 cat conftest.$ac_ext >&5
4265 eval "ac_cv_header_
$ac_safe=no
"
4269 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4270 echo "$ac_t""yes" 1>&6
4271 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4272 cat >> confdefs.h <<EOF
4273 #define $ac_tr_hdr 1
4277 echo "$ac_t""no
" 1>&6
4281 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4284 # If we're not using GNU ld, then there's no point in even trying these
4285 # tests. Check for that first. We should have already tested for gld
4286 # by now (in libtool), but require it now just to be safe...
4287 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4288 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4291 # The name set by libtool depends on the version of libtool. Shame on us
4292 # for depending on an impl detail, but c'est la vie. Older versions used
4293 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4294 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4295 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4296 # set (hence we're using an older libtool), then set it.
4297 if test x${with_gnu_ld+set} != xset; then
4298 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4299 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
4302 with_gnu_ld=$ac_cv_prog_gnu_ld
4306 # Start by getting the version number. I think the libtool test already
4307 # does some of this, but throws away the result.
4309 ldver=`$LD --version 2>/dev/null | head -1 | \
4310 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4312 glibcpp_gnu_ld_version=`echo $ldver | \
4313 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4315 # Set --gc-sections.
4316 if test "$with_gnu_ld" = "notbroken
"; then
4317 # GNU ld it is! Joy and bunny rabbits!
4319 # All these tests are for C++; save the language and the compiler flags.
4320 # Need to do this so that g++ won't try to link in libstdc++
4321 ac_test_CFLAGS="${CFLAGS+set}"
4322 ac_save_CFLAGS="$CFLAGS"
4323 CFLAGS='-x c++ -Wl,--gc-sections'
4325 # Check for -Wl,--gc-sections
4326 # XXX This test is broken at the moment, as symbols required for
4327 # linking are now in libsupc++ (not built yet.....). In addition,
4328 # this test has cored on solaris in the past. In addition,
4329 # --gc-sections doesn't really work at the moment (keeps on discarding
4330 # used sections, first .eh_frame and now some of the glibc sections for
4331 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4332 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
4333 echo "configure
:4334: checking
for ld that supports
-Wl,--gc-sections" >&5
4334 if test "$cross_compiling" = yes; then
4335 ac_sectionLDflags=yes
4337 cat > conftest.$ac_ext <<EOF
4338 #line 4339 "configure
"
4339 #include "confdefs.h
"
4349 if { (eval echo configure:4350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4351 ac_sectionLDflags=yes
4353 echo "configure
: failed program was
:" >&5
4354 cat conftest.$ac_ext >&5
4356 ac_sectionLDflags=no
4361 if test "$ac_test_CFLAGS" = set; then
4362 CFLAGS="$ac_save_CFLAGS"
4364 # this is the suspicious part
4367 if test "$ac_sectionLDflags" = "yes"; then
4368 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4370 echo "$ac_t""$ac_sectionLDflags" 1>&6
4373 # Set linker optimization flags.
4374 if test x"$with_gnu_ld" = x"yes"; then
4375 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4382 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
4383 echo "configure
:4384: checking
for main
in -lm" >&5
4384 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4385 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4386 echo $ac_n "(cached
) $ac_c" 1>&6
4388 ac_save_LIBS="$LIBS"
4390 cat > conftest.$ac_ext <<EOF
4391 #line 4392 "configure
"
4392 #include "confdefs.h
"
4398 if { (eval echo configure:4399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4400 eval "ac_cv_lib_
$ac_lib_var=yes"
4402 echo "configure
: failed program was
:" >&5
4403 cat conftest.$ac_ext >&5
4405 eval "ac_cv_lib_
$ac_lib_var=no
"
4408 LIBS="$ac_save_LIBS"
4411 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4412 echo "$ac_t""yes" 1>&6
4413 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4414 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4415 cat >> confdefs.h <<EOF
4416 #define $ac_tr_lib 1
4422 echo "$ac_t""no
" 1>&6
4425 for ac_func in nan copysignf
4427 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4428 echo "configure
:4429: checking
for $ac_func" >&5
4429 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4430 echo $ac_n "(cached
) $ac_c" 1>&6
4432 cat > conftest.$ac_ext <<EOF
4433 #line 4434 "configure
"
4434 #include "confdefs.h
"
4435 /* System header to define __stub macros and hopefully few prototypes,
4436 which can conflict with char $ac_func(); below. */
4438 /* Override any gcc2 internal prototype to avoid an error. */
4439 /* We use char because int might match the return type of a gcc2
4440 builtin and then its argument prototype would still apply. */
4445 /* The GNU C library defines this for functions which it implements
4446 to always fail with ENOSYS. Some functions are actually named
4447 something starting with __ and the normal name is an alias. */
4448 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4456 if { (eval echo configure:4457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4458 eval "ac_cv_func_
$ac_func=yes"
4460 echo "configure
: failed program was
:" >&5
4461 cat conftest.$ac_ext >&5
4463 eval "ac_cv_func_
$ac_func=no
"
4468 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4469 echo "$ac_t""yes" 1>&6
4470 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4471 cat >> confdefs.h <<EOF
4472 #define $ac_tr_func 1
4476 echo "$ac_t""no
" 1>&6
4477 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
4482 for ac_func in __signbit
4484 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4485 echo "configure
:4486: checking
for $ac_func" >&5
4486 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4487 echo $ac_n "(cached
) $ac_c" 1>&6
4489 cat > conftest.$ac_ext <<EOF
4490 #line 4491 "configure
"
4491 #include "confdefs.h
"
4492 /* System header to define __stub macros and hopefully few prototypes,
4493 which can conflict with char $ac_func(); below. */
4495 /* Override any gcc2 internal prototype to avoid an error. */
4496 /* We use char because int might match the return type of a gcc2
4497 builtin and then its argument prototype would still apply. */
4502 /* The GNU C library defines this for functions which it implements
4503 to always fail with ENOSYS. Some functions are actually named
4504 something starting with __ and the normal name is an alias. */
4505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4513 if { (eval echo configure:4514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4515 eval "ac_cv_func_
$ac_func=yes"
4517 echo "configure
: failed program was
:" >&5
4518 cat conftest.$ac_ext >&5
4520 eval "ac_cv_func_
$ac_func=no
"
4525 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4526 echo "$ac_t""yes" 1>&6
4527 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4528 cat >> confdefs.h <<EOF
4529 #define $ac_tr_func 1
4533 echo "$ac_t""no
" 1>&6
4534 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
4538 for ac_func in __signbitf
4540 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4541 echo "configure
:4542: checking
for $ac_func" >&5
4542 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4543 echo $ac_n "(cached
) $ac_c" 1>&6
4545 cat > conftest.$ac_ext <<EOF
4546 #line 4547 "configure
"
4547 #include "confdefs.h
"
4548 /* System header to define __stub macros and hopefully few prototypes,
4549 which can conflict with char $ac_func(); below. */
4551 /* Override any gcc2 internal prototype to avoid an error. */
4552 /* We use char because int might match the return type of a gcc2
4553 builtin and then its argument prototype would still apply. */
4558 /* The GNU C library defines this for functions which it implements
4559 to always fail with ENOSYS. Some functions are actually named
4560 something starting with __ and the normal name is an alias. */
4561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4569 if { (eval echo configure:4570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4571 eval "ac_cv_func_
$ac_func=yes"
4573 echo "configure
: failed program was
:" >&5
4574 cat conftest.$ac_ext >&5
4576 eval "ac_cv_func_
$ac_func=no
"
4581 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4582 echo "$ac_t""yes" 1>&6
4583 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4584 cat >> confdefs.h <<EOF
4585 #define $ac_tr_func 1
4589 echo "$ac_t""no
" 1>&6
4590 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
4595 if test x$ac_cv_func_copysignl = x"yes"; then
4596 for ac_func in __signbitl
4598 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4599 echo "configure
:4600: checking
for $ac_func" >&5
4600 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4601 echo $ac_n "(cached
) $ac_c" 1>&6
4603 cat > conftest.$ac_ext <<EOF
4604 #line 4605 "configure
"
4605 #include "confdefs.h
"
4606 /* System header to define __stub macros and hopefully few prototypes,
4607 which can conflict with char $ac_func(); below. */
4609 /* Override any gcc2 internal prototype to avoid an error. */
4610 /* We use char because int might match the return type of a gcc2
4611 builtin and then its argument prototype would still apply. */
4616 /* The GNU C library defines this for functions which it implements
4617 to always fail with ENOSYS. Some functions are actually named
4618 something starting with __ and the normal name is an alias. */
4619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4627 if { (eval echo configure:4628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4629 eval "ac_cv_func_
$ac_func=yes"
4631 echo "configure
: failed program was
:" >&5
4632 cat conftest.$ac_ext >&5
4634 eval "ac_cv_func_
$ac_func=no
"
4639 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4640 echo "$ac_t""yes" 1>&6
4641 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4642 cat >> confdefs.h <<EOF
4643 #define $ac_tr_func 1
4647 echo "$ac_t""no
" 1>&6
4648 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
4654 if test -n "$LIBMATHOBJS"; then
4660 if test "$need_libmath" = yes; then
4661 GLIBCPP_BUILD_LIBMATH_TRUE=
4662 GLIBCPP_BUILD_LIBMATH_FALSE='#'
4664 GLIBCPP_BUILD_LIBMATH_TRUE='#'
4665 GLIBCPP_BUILD_LIBMATH_FALSE=
4671 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
4672 echo "configure
:4673: checking
for mbstate_t
" >&5
4673 cat > conftest.$ac_ext <<EOF
4674 #line 4675 "configure
"
4675 #include "confdefs.h
"
4678 mbstate_t teststate;
4681 if { (eval echo configure:4682: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4685 echo "configure
: failed program was
:" >&5
4686 cat conftest.$ac_ext >&5
4691 echo "$ac_t""$have_mbstate_t" 1>&6
4692 if test x"$have_mbstate_t" = xyes; then
4693 cat >> confdefs.h <<\EOF
4694 #define HAVE_MBSTATE_T 1
4699 for ac_hdr in wchar.h
4701 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4702 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4703 echo "configure
:4704: checking
for $ac_hdr" >&5
4704 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4705 echo $ac_n "(cached
) $ac_c" 1>&6
4707 cat > conftest.$ac_ext <<EOF
4708 #line 4709 "configure
"
4709 #include "confdefs.h
"
4712 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4713 { (eval echo configure:4714: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4714 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4715 if test -z "$ac_err"; then
4717 eval "ac_cv_header_
$ac_safe=yes"
4720 echo "configure
: failed program was
:" >&5
4721 cat conftest.$ac_ext >&5
4723 eval "ac_cv_header_
$ac_safe=no
"
4727 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4728 echo "$ac_t""yes" 1>&6
4729 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4730 cat >> confdefs.h <<EOF
4731 #define $ac_tr_hdr 1
4735 echo "$ac_t""no
" 1>&6
4740 for ac_hdr in wctype.h
4742 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4743 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4744 echo "configure
:4745: checking
for $ac_hdr" >&5
4745 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4746 echo $ac_n "(cached
) $ac_c" 1>&6
4748 cat > conftest.$ac_ext <<EOF
4749 #line 4750 "configure
"
4750 #include "confdefs.h
"
4753 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4754 { (eval echo configure:4755: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4755 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4756 if test -z "$ac_err"; then
4758 eval "ac_cv_header_
$ac_safe=yes"
4761 echo "configure
: failed program was
:" >&5
4762 cat conftest.$ac_ext >&5
4764 eval "ac_cv_header_
$ac_safe=no
"
4768 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4769 echo "$ac_t""yes" 1>&6
4770 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4771 cat >> confdefs.h <<EOF
4772 #define $ac_tr_hdr 1
4776 echo "$ac_t""no
" 1>&6
4782 if test x"$ac_has_wchar_h" = xyes &&
4783 test x"$ac_has_wctype_h" = xyes &&
4784 test x"$enable_c_mbchar" != xno; then
4786 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
4787 echo "configure
:4788: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
4788 cat > conftest.$ac_ext <<EOF
4789 #line 4790 "configure
"
4790 #include "confdefs.h
"
4793 int i = WCHAR_MIN; int j = WCHAR_MAX;
4796 if { (eval echo configure:4797: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4798 has_wchar_minmax=yes
4800 echo "configure
: failed program was
:" >&5
4801 cat conftest.$ac_ext >&5
4806 echo "$ac_t""$has_wchar_minmax" 1>&6
4808 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
4809 echo "configure
:4810: checking
for WEOF
" >&5
4810 cat > conftest.$ac_ext <<EOF
4811 #line 4812 "configure
"
4812 #include "confdefs.h
"
4820 if { (eval echo configure:4821: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4824 echo "configure
: failed program was
:" >&5
4825 cat conftest.$ac_ext >&5
4830 echo "$ac_t""$has_weof" 1>&6
4833 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4835 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4836 echo "configure
:4837: checking
for $ac_func" >&5
4837 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4838 echo $ac_n "(cached
) $ac_c" 1>&6
4840 cat > conftest.$ac_ext <<EOF
4841 #line 4842 "configure
"
4842 #include "confdefs.h
"
4843 /* System header to define __stub macros and hopefully few prototypes,
4844 which can conflict with char $ac_func(); below. */
4846 /* Override any gcc2 internal prototype to avoid an error. */
4847 /* We use char because int might match the return type of a gcc2
4848 builtin and then its argument prototype would still apply. */
4853 /* The GNU C library defines this for functions which it implements
4854 to always fail with ENOSYS. Some functions are actually named
4855 something starting with __ and the normal name is an alias. */
4856 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4864 if { (eval echo configure:4865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4866 eval "ac_cv_func_
$ac_func=yes"
4868 echo "configure
: failed program was
:" >&5
4869 cat conftest.$ac_ext >&5
4871 eval "ac_cv_func_
$ac_func=no
"
4876 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4877 echo "$ac_t""yes" 1>&6
4878 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4879 cat >> confdefs.h <<EOF
4880 #define $ac_tr_func 1
4884 echo "$ac_t""no
" 1>&6
4891 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
4892 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4893 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4894 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4895 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4896 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4898 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4899 echo "configure
:4900: checking
for $ac_func" >&5
4900 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4901 echo $ac_n "(cached
) $ac_c" 1>&6
4903 cat > conftest.$ac_ext <<EOF
4904 #line 4905 "configure
"
4905 #include "confdefs.h
"
4906 /* System header to define __stub macros and hopefully few prototypes,
4907 which can conflict with char $ac_func(); below. */
4909 /* Override any gcc2 internal prototype to avoid an error. */
4910 /* We use char because int might match the return type of a gcc2
4911 builtin and then its argument prototype would still apply. */
4916 /* The GNU C library defines this for functions which it implements
4917 to always fail with ENOSYS. Some functions are actually named
4918 something starting with __ and the normal name is an alias. */
4919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4927 if { (eval echo configure:4928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4929 eval "ac_cv_func_
$ac_func=yes"
4931 echo "configure
: failed program was
:" >&5
4932 cat conftest.$ac_ext >&5
4934 eval "ac_cv_func_
$ac_func=no
"
4939 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4940 echo "$ac_t""yes" 1>&6
4941 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4942 cat >> confdefs.h <<EOF
4943 #define $ac_tr_func 1
4947 echo "$ac_t""no
" 1>&6
4954 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
4955 echo "configure
:4956: checking
for ISO C99 wchar_t support
" >&5
4956 if test x"$has_weof" = xyes &&
4957 test x"$has_wchar_minmax" = xyes &&
4958 test x"$ac_wfuncs" = xyes; then
4959 ac_isoC99_wchar_t=yes
4961 ac_isoC99_wchar_t=no
4963 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4965 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
4966 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
4967 echo "configure
:4968: checking
for iconv.h
" >&5
4968 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4969 echo $ac_n "(cached
) $ac_c" 1>&6
4971 cat > conftest.$ac_ext <<EOF
4972 #line 4973 "configure
"
4973 #include "confdefs.h
"
4976 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4977 { (eval echo configure:4978: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4978 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4979 if test -z "$ac_err"; then
4981 eval "ac_cv_header_
$ac_safe=yes"
4984 echo "configure
: failed program was
:" >&5
4985 cat conftest.$ac_ext >&5
4987 eval "ac_cv_header_
$ac_safe=no
"
4991 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4992 echo "$ac_t""yes" 1>&6
4995 echo "$ac_t""no
" 1>&6
4999 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
5000 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
5001 echo "configure
:5002: checking
for langinfo.h
" >&5
5002 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5003 echo $ac_n "(cached
) $ac_c" 1>&6
5005 cat > conftest.$ac_ext <<EOF
5006 #line 5007 "configure
"
5007 #include "confdefs.h
"
5008 #include <langinfo.h>
5010 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5011 { (eval echo configure:5012: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5012 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5013 if test -z "$ac_err"; then
5015 eval "ac_cv_header_
$ac_safe=yes"
5018 echo "configure
: failed program was
:" >&5
5019 cat conftest.$ac_ext >&5
5021 eval "ac_cv_header_
$ac_safe=no
"
5025 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5026 echo "$ac_t""yes" 1>&6
5027 ac_has_langinfo_h=yes
5029 echo "$ac_t""no
" 1>&6
5030 ac_has_langinfo_h=no
5034 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
5035 echo "configure
:5036: checking
for iconv in -liconv" >&5
5036 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5037 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5038 echo $ac_n "(cached
) $ac_c" 1>&6
5040 ac_save_LIBS="$LIBS"
5041 LIBS="-liconv $LIBS"
5042 cat > conftest.$ac_ext <<EOF
5043 #line 5044 "configure
"
5044 #include "confdefs.h
"
5045 /* Override any gcc2 internal prototype to avoid an error. */
5046 /* We use char because int might match the return type of a gcc2
5047 builtin and then its argument prototype would still apply. */
5054 if { (eval echo configure:5055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5056 eval "ac_cv_lib_
$ac_lib_var=yes"
5058 echo "configure
: failed program was
:" >&5
5059 cat conftest.$ac_ext >&5
5061 eval "ac_cv_lib_
$ac_lib_var=no
"
5064 LIBS="$ac_save_LIBS"
5067 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5068 echo "$ac_t""yes" 1>&6
5071 echo "$ac_t""no
" 1>&6
5074 ac_save_LIBS="$LIBS"
5075 LIBS="$LIBS $libiconv"
5077 for ac_func in iconv_open iconv_close iconv nl_langinfo
5079 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5080 echo "configure
:5081: checking
for $ac_func" >&5
5081 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5082 echo $ac_n "(cached
) $ac_c" 1>&6
5084 cat > conftest.$ac_ext <<EOF
5085 #line 5086 "configure
"
5086 #include "confdefs.h
"
5087 /* System header to define __stub macros and hopefully few prototypes,
5088 which can conflict with char $ac_func(); below. */
5090 /* Override any gcc2 internal prototype to avoid an error. */
5091 /* We use char because int might match the return type of a gcc2
5092 builtin and then its argument prototype would still apply. */
5097 /* The GNU C library defines this for functions which it implements
5098 to always fail with ENOSYS. Some functions are actually named
5099 something starting with __ and the normal name is an alias. */
5100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5108 if { (eval echo configure:5109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5110 eval "ac_cv_func_
$ac_func=yes"
5112 echo "configure
: failed program was
:" >&5
5113 cat conftest.$ac_ext >&5
5115 eval "ac_cv_func_
$ac_func=no
"
5120 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5121 echo "$ac_t""yes" 1>&6
5122 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5123 cat >> confdefs.h <<EOF
5124 #define $ac_tr_func 1
5129 echo "$ac_t""no
" 1>&6
5135 LIBS="$ac_save_LIBS"
5137 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
5138 echo "configure
:5139: checking
for XPG2 wchar_t support
" >&5
5139 if test x"$ac_has_iconv_h" = xyes &&
5140 test x"$ac_has_langinfo_h" = xyes &&
5141 test x"$ac_XPG2funcs" = xyes; then
5146 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5148 if test x"$ac_isoC99_wchar_t" = xyes &&
5149 test x"$ac_XPG2_wchar_t" = xyes; then
5150 cat >> confdefs.h <<\EOF
5151 #define _GLIBCPP_USE_WCHAR_T 1
5157 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
5158 echo "configure
:5159: checking
for enabled wchar_t specializations
" >&5
5159 echo "$ac_t""$enable_wchar_t" 1>&6
5162 if test "$enable_wchar_t" = yes; then
5163 GLIBCPP_TEST_WCHAR_T_TRUE=
5164 GLIBCPP_TEST_WCHAR_T_FALSE='#'
5166 GLIBCPP_TEST_WCHAR_T_TRUE='#'
5167 GLIBCPP_TEST_WCHAR_T_FALSE=
5170 cat >> confdefs.h <<\EOF
5171 #define HAVE_COPYSIGN 1
5174 cat >> confdefs.h <<\EOF
5175 #define HAVE_COPYSIGNF 1
5178 cat >> confdefs.h <<\EOF
5179 #define HAVE_FINITE 1
5182 cat >> confdefs.h <<\EOF
5183 #define HAVE_FINITEF 1
5186 cat >> confdefs.h <<\EOF
5187 #define HAVE_FREXPF 1
5190 cat >> confdefs.h <<\EOF
5191 #define HAVE_HYPOTF 1
5194 cat >> confdefs.h <<\EOF
5195 #define HAVE_ISINF 1
5198 cat >> confdefs.h <<\EOF
5199 #define HAVE_ISINFF 1
5202 cat >> confdefs.h <<\EOF
5203 #define HAVE_ISNAN 1
5206 cat >> confdefs.h <<\EOF
5207 #define HAVE_ISNANF 1
5210 cat >> confdefs.h <<\EOF
5211 #define HAVE_SINCOS 1
5214 cat >> confdefs.h <<\EOF
5215 #define HAVE_SINCOSF 1
5218 if test x"long_double_math_on_this_cpu
" = x"yes"; then
5219 cat >> confdefs.h <<\EOF
5220 #define HAVE_FINITEL 1
5223 cat >> confdefs.h <<\EOF
5224 #define HAVE_HYPOTL 1
5227 cat >> confdefs.h <<\EOF
5228 #define HAVE_ISINFL 1
5231 cat >> confdefs.h <<\EOF
5232 #define HAVE_ISNANL 1
5238 # Check for available headers.
5239 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5240 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5241 fp.h locale.h float.h inttypes.h
5243 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5244 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5245 echo "configure
:5246: checking
for $ac_hdr" >&5
5246 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5247 echo $ac_n "(cached
) $ac_c" 1>&6
5249 cat > conftest.$ac_ext <<EOF
5250 #line 5251 "configure
"
5251 #include "confdefs.h
"
5254 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5255 { (eval echo configure:5256: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5256 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5257 if test -z "$ac_err"; then
5259 eval "ac_cv_header_
$ac_safe=yes"
5262 echo "configure
: failed program was
:" >&5
5263 cat conftest.$ac_ext >&5
5265 eval "ac_cv_header_
$ac_safe=no
"
5269 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5270 echo "$ac_t""yes" 1>&6
5271 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5272 cat >> confdefs.h <<EOF
5273 #define $ac_tr_hdr 1
5277 echo "$ac_t""no
" 1>&6
5281 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5284 # If we're not using GNU ld, then there's no point in even trying these
5285 # tests. Check for that first. We should have already tested for gld
5286 # by now (in libtool), but require it now just to be safe...
5287 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5288 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5291 # The name set by libtool depends on the version of libtool. Shame on us
5292 # for depending on an impl detail, but c'est la vie. Older versions used
5293 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
5294 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
5295 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
5296 # set (hence we're using an older libtool), then set it.
5297 if test x${with_gnu_ld+set} != xset; then
5298 if test x${ac_cv_prog_gnu_ld+set} != xset; then
5299 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
5302 with_gnu_ld=$ac_cv_prog_gnu_ld
5306 # Start by getting the version number. I think the libtool test already
5307 # does some of this, but throws away the result.
5309 ldver=`$LD --version 2>/dev/null | head -1 | \
5310 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
5312 glibcpp_gnu_ld_version=`echo $ldver | \
5313 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
5315 # Set --gc-sections.
5316 if test "$with_gnu_ld" = "notbroken
"; then
5317 # GNU ld it is! Joy and bunny rabbits!
5319 # All these tests are for C++; save the language and the compiler flags.
5320 # Need to do this so that g++ won't try to link in libstdc++
5321 ac_test_CFLAGS="${CFLAGS+set}"
5322 ac_save_CFLAGS="$CFLAGS"
5323 CFLAGS='-x c++ -Wl,--gc-sections'
5325 # Check for -Wl,--gc-sections
5326 # XXX This test is broken at the moment, as symbols required for
5327 # linking are now in libsupc++ (not built yet.....). In addition,
5328 # this test has cored on solaris in the past. In addition,
5329 # --gc-sections doesn't really work at the moment (keeps on discarding
5330 # used sections, first .eh_frame and now some of the glibc sections for
5331 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5332 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
5333 echo "configure
:5334: checking
for ld that supports
-Wl,--gc-sections" >&5
5334 if test "$cross_compiling" = yes; then
5335 ac_sectionLDflags=yes
5337 cat > conftest.$ac_ext <<EOF
5338 #line 5339 "configure
"
5339 #include "confdefs.h
"
5349 if { (eval echo configure:5350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5351 ac_sectionLDflags=yes
5353 echo "configure
: failed program was
:" >&5
5354 cat conftest.$ac_ext >&5
5356 ac_sectionLDflags=no
5361 if test "$ac_test_CFLAGS" = set; then
5362 CFLAGS="$ac_save_CFLAGS"
5364 # this is the suspicious part
5367 if test "$ac_sectionLDflags" = "yes"; then
5368 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5370 echo "$ac_t""$ac_sectionLDflags" 1>&6
5373 # Set linker optimization flags.
5374 if test x"$with_gnu_ld" = x"yes"; then
5375 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5382 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
5383 echo "configure
:5384: checking
for main
in -lm" >&5
5384 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5385 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5386 echo $ac_n "(cached
) $ac_c" 1>&6
5388 ac_save_LIBS="$LIBS"
5390 cat > conftest.$ac_ext <<EOF
5391 #line 5392 "configure
"
5392 #include "confdefs.h
"
5398 if { (eval echo configure:5399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5400 eval "ac_cv_lib_
$ac_lib_var=yes"
5402 echo "configure
: failed program was
:" >&5
5403 cat conftest.$ac_ext >&5
5405 eval "ac_cv_lib_
$ac_lib_var=no
"
5408 LIBS="$ac_save_LIBS"
5411 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5412 echo "$ac_t""yes" 1>&6
5413 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5414 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5415 cat >> confdefs.h <<EOF
5416 #define $ac_tr_lib 1
5422 echo "$ac_t""no
" 1>&6
5425 for ac_func in nan copysignf
5427 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5428 echo "configure
:5429: checking
for $ac_func" >&5
5429 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5430 echo $ac_n "(cached
) $ac_c" 1>&6
5432 cat > conftest.$ac_ext <<EOF
5433 #line 5434 "configure
"
5434 #include "confdefs.h
"
5435 /* System header to define __stub macros and hopefully few prototypes,
5436 which can conflict with char $ac_func(); below. */
5438 /* Override any gcc2 internal prototype to avoid an error. */
5439 /* We use char because int might match the return type of a gcc2
5440 builtin and then its argument prototype would still apply. */
5445 /* The GNU C library defines this for functions which it implements
5446 to always fail with ENOSYS. Some functions are actually named
5447 something starting with __ and the normal name is an alias. */
5448 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5456 if { (eval echo configure:5457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5458 eval "ac_cv_func_
$ac_func=yes"
5460 echo "configure
: failed program was
:" >&5
5461 cat conftest.$ac_ext >&5
5463 eval "ac_cv_func_
$ac_func=no
"
5468 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5469 echo "$ac_t""yes" 1>&6
5470 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5471 cat >> confdefs.h <<EOF
5472 #define $ac_tr_func 1
5476 echo "$ac_t""no
" 1>&6
5477 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
5482 for ac_func in __signbit
5484 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5485 echo "configure
:5486: checking
for $ac_func" >&5
5486 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5487 echo $ac_n "(cached
) $ac_c" 1>&6
5489 cat > conftest.$ac_ext <<EOF
5490 #line 5491 "configure
"
5491 #include "confdefs.h
"
5492 /* System header to define __stub macros and hopefully few prototypes,
5493 which can conflict with char $ac_func(); below. */
5495 /* Override any gcc2 internal prototype to avoid an error. */
5496 /* We use char because int might match the return type of a gcc2
5497 builtin and then its argument prototype would still apply. */
5502 /* The GNU C library defines this for functions which it implements
5503 to always fail with ENOSYS. Some functions are actually named
5504 something starting with __ and the normal name is an alias. */
5505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5513 if { (eval echo configure:5514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5515 eval "ac_cv_func_
$ac_func=yes"
5517 echo "configure
: failed program was
:" >&5
5518 cat conftest.$ac_ext >&5
5520 eval "ac_cv_func_
$ac_func=no
"
5525 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5526 echo "$ac_t""yes" 1>&6
5527 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5528 cat >> confdefs.h <<EOF
5529 #define $ac_tr_func 1
5533 echo "$ac_t""no
" 1>&6
5534 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
5538 for ac_func in __signbitf
5540 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5541 echo "configure
:5542: checking
for $ac_func" >&5
5542 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5543 echo $ac_n "(cached
) $ac_c" 1>&6
5545 cat > conftest.$ac_ext <<EOF
5546 #line 5547 "configure
"
5547 #include "confdefs.h
"
5548 /* System header to define __stub macros and hopefully few prototypes,
5549 which can conflict with char $ac_func(); below. */
5551 /* Override any gcc2 internal prototype to avoid an error. */
5552 /* We use char because int might match the return type of a gcc2
5553 builtin and then its argument prototype would still apply. */
5558 /* The GNU C library defines this for functions which it implements
5559 to always fail with ENOSYS. Some functions are actually named
5560 something starting with __ and the normal name is an alias. */
5561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5569 if { (eval echo configure:5570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5571 eval "ac_cv_func_
$ac_func=yes"
5573 echo "configure
: failed program was
:" >&5
5574 cat conftest.$ac_ext >&5
5576 eval "ac_cv_func_
$ac_func=no
"
5581 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5582 echo "$ac_t""yes" 1>&6
5583 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5584 cat >> confdefs.h <<EOF
5585 #define $ac_tr_func 1
5589 echo "$ac_t""no
" 1>&6
5590 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
5595 if test x$ac_cv_func_copysignl = x"yes"; then
5596 for ac_func in __signbitl
5598 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5599 echo "configure
:5600: checking
for $ac_func" >&5
5600 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5601 echo $ac_n "(cached
) $ac_c" 1>&6
5603 cat > conftest.$ac_ext <<EOF
5604 #line 5605 "configure
"
5605 #include "confdefs.h
"
5606 /* System header to define __stub macros and hopefully few prototypes,
5607 which can conflict with char $ac_func(); below. */
5609 /* Override any gcc2 internal prototype to avoid an error. */
5610 /* We use char because int might match the return type of a gcc2
5611 builtin and then its argument prototype would still apply. */
5616 /* The GNU C library defines this for functions which it implements
5617 to always fail with ENOSYS. Some functions are actually named
5618 something starting with __ and the normal name is an alias. */
5619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5627 if { (eval echo configure:5628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5629 eval "ac_cv_func_
$ac_func=yes"
5631 echo "configure
: failed program was
:" >&5
5632 cat conftest.$ac_ext >&5
5634 eval "ac_cv_func_
$ac_func=no
"
5639 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5640 echo "$ac_t""yes" 1>&6
5641 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5642 cat >> confdefs.h <<EOF
5643 #define $ac_tr_func 1
5647 echo "$ac_t""no
" 1>&6
5648 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
5654 if test -n "$LIBMATHOBJS"; then
5660 if test "$need_libmath" = yes; then
5661 GLIBCPP_BUILD_LIBMATH_TRUE=
5662 GLIBCPP_BUILD_LIBMATH_FALSE='#'
5664 GLIBCPP_BUILD_LIBMATH_TRUE='#'
5665 GLIBCPP_BUILD_LIBMATH_FALSE=
5671 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
5672 echo "configure
:5673: checking
for mbstate_t
" >&5
5673 cat > conftest.$ac_ext <<EOF
5674 #line 5675 "configure
"
5675 #include "confdefs.h
"
5678 mbstate_t teststate;
5681 if { (eval echo configure:5682: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5685 echo "configure
: failed program was
:" >&5
5686 cat conftest.$ac_ext >&5
5691 echo "$ac_t""$have_mbstate_t" 1>&6
5692 if test x"$have_mbstate_t" = xyes; then
5693 cat >> confdefs.h <<\EOF
5694 #define HAVE_MBSTATE_T 1
5699 for ac_hdr in wchar.h
5701 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5702 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5703 echo "configure
:5704: checking
for $ac_hdr" >&5
5704 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5705 echo $ac_n "(cached
) $ac_c" 1>&6
5707 cat > conftest.$ac_ext <<EOF
5708 #line 5709 "configure
"
5709 #include "confdefs.h
"
5712 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5713 { (eval echo configure:5714: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5714 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5715 if test -z "$ac_err"; then
5717 eval "ac_cv_header_
$ac_safe=yes"
5720 echo "configure
: failed program was
:" >&5
5721 cat conftest.$ac_ext >&5
5723 eval "ac_cv_header_
$ac_safe=no
"
5727 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5728 echo "$ac_t""yes" 1>&6
5729 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5730 cat >> confdefs.h <<EOF
5731 #define $ac_tr_hdr 1
5735 echo "$ac_t""no
" 1>&6
5740 for ac_hdr in wctype.h
5742 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5743 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5744 echo "configure
:5745: checking
for $ac_hdr" >&5
5745 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5746 echo $ac_n "(cached
) $ac_c" 1>&6
5748 cat > conftest.$ac_ext <<EOF
5749 #line 5750 "configure
"
5750 #include "confdefs.h
"
5753 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5754 { (eval echo configure:5755: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5755 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5756 if test -z "$ac_err"; then
5758 eval "ac_cv_header_
$ac_safe=yes"
5761 echo "configure
: failed program was
:" >&5
5762 cat conftest.$ac_ext >&5
5764 eval "ac_cv_header_
$ac_safe=no
"
5768 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5769 echo "$ac_t""yes" 1>&6
5770 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5771 cat >> confdefs.h <<EOF
5772 #define $ac_tr_hdr 1
5776 echo "$ac_t""no
" 1>&6
5782 if test x"$ac_has_wchar_h" = xyes &&
5783 test x"$ac_has_wctype_h" = xyes &&
5784 test x"$enable_c_mbchar" != xno; then
5786 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
5787 echo "configure
:5788: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
5788 cat > conftest.$ac_ext <<EOF
5789 #line 5790 "configure
"
5790 #include "confdefs.h
"
5793 int i = WCHAR_MIN; int j = WCHAR_MAX;
5796 if { (eval echo configure:5797: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5798 has_wchar_minmax=yes
5800 echo "configure
: failed program was
:" >&5
5801 cat conftest.$ac_ext >&5
5806 echo "$ac_t""$has_wchar_minmax" 1>&6
5808 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
5809 echo "configure
:5810: checking
for WEOF
" >&5
5810 cat > conftest.$ac_ext <<EOF
5811 #line 5812 "configure
"
5812 #include "confdefs.h
"
5820 if { (eval echo configure:5821: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5824 echo "configure
: failed program was
:" >&5
5825 cat conftest.$ac_ext >&5
5830 echo "$ac_t""$has_weof" 1>&6
5833 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5835 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5836 echo "configure
:5837: checking
for $ac_func" >&5
5837 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5838 echo $ac_n "(cached
) $ac_c" 1>&6
5840 cat > conftest.$ac_ext <<EOF
5841 #line 5842 "configure
"
5842 #include "confdefs.h
"
5843 /* System header to define __stub macros and hopefully few prototypes,
5844 which can conflict with char $ac_func(); below. */
5846 /* Override any gcc2 internal prototype to avoid an error. */
5847 /* We use char because int might match the return type of a gcc2
5848 builtin and then its argument prototype would still apply. */
5853 /* The GNU C library defines this for functions which it implements
5854 to always fail with ENOSYS. Some functions are actually named
5855 something starting with __ and the normal name is an alias. */
5856 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5864 if { (eval echo configure:5865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5866 eval "ac_cv_func_
$ac_func=yes"
5868 echo "configure
: failed program was
:" >&5
5869 cat conftest.$ac_ext >&5
5871 eval "ac_cv_func_
$ac_func=no
"
5876 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5877 echo "$ac_t""yes" 1>&6
5878 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5879 cat >> confdefs.h <<EOF
5880 #define $ac_tr_func 1
5884 echo "$ac_t""no
" 1>&6
5891 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
5892 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5893 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5894 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5895 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5896 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5898 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5899 echo "configure
:5900: checking
for $ac_func" >&5
5900 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5901 echo $ac_n "(cached
) $ac_c" 1>&6
5903 cat > conftest.$ac_ext <<EOF
5904 #line 5905 "configure
"
5905 #include "confdefs.h
"
5906 /* System header to define __stub macros and hopefully few prototypes,
5907 which can conflict with char $ac_func(); below. */
5909 /* Override any gcc2 internal prototype to avoid an error. */
5910 /* We use char because int might match the return type of a gcc2
5911 builtin and then its argument prototype would still apply. */
5916 /* The GNU C library defines this for functions which it implements
5917 to always fail with ENOSYS. Some functions are actually named
5918 something starting with __ and the normal name is an alias. */
5919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5927 if { (eval echo configure:5928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5929 eval "ac_cv_func_
$ac_func=yes"
5931 echo "configure
: failed program was
:" >&5
5932 cat conftest.$ac_ext >&5
5934 eval "ac_cv_func_
$ac_func=no
"
5939 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5940 echo "$ac_t""yes" 1>&6
5941 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5942 cat >> confdefs.h <<EOF
5943 #define $ac_tr_func 1
5947 echo "$ac_t""no
" 1>&6
5954 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
5955 echo "configure
:5956: checking
for ISO C99 wchar_t support
" >&5
5956 if test x"$has_weof" = xyes &&
5957 test x"$has_wchar_minmax" = xyes &&
5958 test x"$ac_wfuncs" = xyes; then
5959 ac_isoC99_wchar_t=yes
5961 ac_isoC99_wchar_t=no
5963 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
5965 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
5966 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
5967 echo "configure
:5968: checking
for iconv.h
" >&5
5968 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5969 echo $ac_n "(cached
) $ac_c" 1>&6
5971 cat > conftest.$ac_ext <<EOF
5972 #line 5973 "configure
"
5973 #include "confdefs.h
"
5976 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5977 { (eval echo configure:5978: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5978 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5979 if test -z "$ac_err"; then
5981 eval "ac_cv_header_
$ac_safe=yes"
5984 echo "configure
: failed program was
:" >&5
5985 cat conftest.$ac_ext >&5
5987 eval "ac_cv_header_
$ac_safe=no
"
5991 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5992 echo "$ac_t""yes" 1>&6
5995 echo "$ac_t""no
" 1>&6
5999 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
6000 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
6001 echo "configure
:6002: checking
for langinfo.h
" >&5
6002 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6003 echo $ac_n "(cached
) $ac_c" 1>&6
6005 cat > conftest.$ac_ext <<EOF
6006 #line 6007 "configure
"
6007 #include "confdefs.h
"
6008 #include <langinfo.h>
6010 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6011 { (eval echo configure:6012: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6012 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6013 if test -z "$ac_err"; then
6015 eval "ac_cv_header_
$ac_safe=yes"
6018 echo "configure
: failed program was
:" >&5
6019 cat conftest.$ac_ext >&5
6021 eval "ac_cv_header_
$ac_safe=no
"
6025 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6026 echo "$ac_t""yes" 1>&6
6027 ac_has_langinfo_h=yes
6029 echo "$ac_t""no
" 1>&6
6030 ac_has_langinfo_h=no
6034 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
6035 echo "configure
:6036: checking
for iconv in -liconv" >&5
6036 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6037 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6038 echo $ac_n "(cached
) $ac_c" 1>&6
6040 ac_save_LIBS="$LIBS"
6041 LIBS="-liconv $LIBS"
6042 cat > conftest.$ac_ext <<EOF
6043 #line 6044 "configure
"
6044 #include "confdefs.h
"
6045 /* Override any gcc2 internal prototype to avoid an error. */
6046 /* We use char because int might match the return type of a gcc2
6047 builtin and then its argument prototype would still apply. */
6054 if { (eval echo configure:6055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6056 eval "ac_cv_lib_
$ac_lib_var=yes"
6058 echo "configure
: failed program was
:" >&5
6059 cat conftest.$ac_ext >&5
6061 eval "ac_cv_lib_
$ac_lib_var=no
"
6064 LIBS="$ac_save_LIBS"
6067 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6068 echo "$ac_t""yes" 1>&6
6071 echo "$ac_t""no
" 1>&6
6074 ac_save_LIBS="$LIBS"
6075 LIBS="$LIBS $libiconv"
6077 for ac_func in iconv_open iconv_close iconv nl_langinfo
6079 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6080 echo "configure
:6081: checking
for $ac_func" >&5
6081 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6082 echo $ac_n "(cached
) $ac_c" 1>&6
6084 cat > conftest.$ac_ext <<EOF
6085 #line 6086 "configure
"
6086 #include "confdefs.h
"
6087 /* System header to define __stub macros and hopefully few prototypes,
6088 which can conflict with char $ac_func(); below. */
6090 /* Override any gcc2 internal prototype to avoid an error. */
6091 /* We use char because int might match the return type of a gcc2
6092 builtin and then its argument prototype would still apply. */
6097 /* The GNU C library defines this for functions which it implements
6098 to always fail with ENOSYS. Some functions are actually named
6099 something starting with __ and the normal name is an alias. */
6100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6108 if { (eval echo configure:6109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6110 eval "ac_cv_func_
$ac_func=yes"
6112 echo "configure
: failed program was
:" >&5
6113 cat conftest.$ac_ext >&5
6115 eval "ac_cv_func_
$ac_func=no
"
6120 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6121 echo "$ac_t""yes" 1>&6
6122 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6123 cat >> confdefs.h <<EOF
6124 #define $ac_tr_func 1
6129 echo "$ac_t""no
" 1>&6
6135 LIBS="$ac_save_LIBS"
6137 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
6138 echo "configure
:6139: checking
for XPG2 wchar_t support
" >&5
6139 if test x"$ac_has_iconv_h" = xyes &&
6140 test x"$ac_has_langinfo_h" = xyes &&
6141 test x"$ac_XPG2funcs" = xyes; then
6146 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6148 if test x"$ac_isoC99_wchar_t" = xyes &&
6149 test x"$ac_XPG2_wchar_t" = xyes; then
6150 cat >> confdefs.h <<\EOF
6151 #define _GLIBCPP_USE_WCHAR_T 1
6157 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
6158 echo "configure
:6159: checking
for enabled wchar_t specializations
" >&5
6159 echo "$ac_t""$enable_wchar_t" 1>&6
6162 if test "$enable_wchar_t" = yes; then
6163 GLIBCPP_TEST_WCHAR_T_TRUE=
6164 GLIBCPP_TEST_WCHAR_T_FALSE='#'
6166 GLIBCPP_TEST_WCHAR_T_TRUE='#'
6167 GLIBCPP_TEST_WCHAR_T_FALSE=
6170 os_include_dir="os
/hpux
"
6171 cat >> confdefs.h <<\EOF
6172 #define HAVE_COPYSIGN 1
6175 cat >> confdefs.h <<\EOF
6176 #define HAVE_COPYSIGNF 1
6179 cat >> confdefs.h <<\EOF
6180 #define HAVE_FREXPF 1
6183 cat >> confdefs.h <<\EOF
6184 #define HAVE_HYPOT 1
6189 cat >> confdefs.h <<\EOF
6190 #define HAVE_FINITE 1
6193 cat >> confdefs.h <<\EOF
6194 #define HAVE_FINITEF 1
6197 cat >> confdefs.h <<\EOF
6198 #define HAVE_ISINF 1
6201 cat >> confdefs.h <<\EOF
6202 #define HAVE_ISINFF 1
6205 cat >> confdefs.h <<\EOF
6206 #define HAVE_ISNAN 1
6209 cat >> confdefs.h <<\EOF
6210 #define HAVE_ISNANF 1
6218 # Check for available headers.
6219 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
6220 machine/endian.h machine/param.h sys/machine.h sys/types.h \
6221 fp.h locale.h float.h inttypes.h
6223 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6224 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6225 echo "configure
:6226: checking
for $ac_hdr" >&5
6226 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6227 echo $ac_n "(cached
) $ac_c" 1>&6
6229 cat > conftest.$ac_ext <<EOF
6230 #line 6231 "configure
"
6231 #include "confdefs.h
"
6234 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6235 { (eval echo configure:6236: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6236 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6237 if test -z "$ac_err"; then
6239 eval "ac_cv_header_
$ac_safe=yes"
6242 echo "configure
: failed program was
:" >&5
6243 cat conftest.$ac_ext >&5
6245 eval "ac_cv_header_
$ac_safe=no
"
6249 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6250 echo "$ac_t""yes" 1>&6
6251 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6252 cat >> confdefs.h <<EOF
6253 #define $ac_tr_hdr 1
6257 echo "$ac_t""no
" 1>&6
6261 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6264 # If we're not using GNU ld, then there's no point in even trying these
6265 # tests. Check for that first. We should have already tested for gld
6266 # by now (in libtool), but require it now just to be safe...
6267 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6268 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6271 # The name set by libtool depends on the version of libtool. Shame on us
6272 # for depending on an impl detail, but c'est la vie. Older versions used
6273 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6274 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6275 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6276 # set (hence we're using an older libtool), then set it.
6277 if test x${with_gnu_ld+set} != xset; then
6278 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6279 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
6282 with_gnu_ld=$ac_cv_prog_gnu_ld
6286 # Start by getting the version number. I think the libtool test already
6287 # does some of this, but throws away the result.
6289 ldver=`$LD --version 2>/dev/null | head -1 | \
6290 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6292 glibcpp_gnu_ld_version=`echo $ldver | \
6293 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6295 # Set --gc-sections.
6296 if test "$with_gnu_ld" = "notbroken
"; then
6297 # GNU ld it is! Joy and bunny rabbits!
6299 # All these tests are for C++; save the language and the compiler flags.
6300 # Need to do this so that g++ won't try to link in libstdc++
6301 ac_test_CFLAGS="${CFLAGS+set}"
6302 ac_save_CFLAGS="$CFLAGS"
6303 CFLAGS='-x c++ -Wl,--gc-sections'
6305 # Check for -Wl,--gc-sections
6306 # XXX This test is broken at the moment, as symbols required for
6307 # linking are now in libsupc++ (not built yet.....). In addition,
6308 # this test has cored on solaris in the past. In addition,
6309 # --gc-sections doesn't really work at the moment (keeps on discarding
6310 # used sections, first .eh_frame and now some of the glibc sections for
6311 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6312 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
6313 echo "configure
:6314: checking
for ld that supports
-Wl,--gc-sections" >&5
6314 if test "$cross_compiling" = yes; then
6315 ac_sectionLDflags=yes
6317 cat > conftest.$ac_ext <<EOF
6318 #line 6319 "configure
"
6319 #include "confdefs.h
"
6329 if { (eval echo configure:6330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6331 ac_sectionLDflags=yes
6333 echo "configure
: failed program was
:" >&5
6334 cat conftest.$ac_ext >&5
6336 ac_sectionLDflags=no
6341 if test "$ac_test_CFLAGS" = set; then
6342 CFLAGS="$ac_save_CFLAGS"
6344 # this is the suspicious part
6347 if test "$ac_sectionLDflags" = "yes"; then
6348 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6350 echo "$ac_t""$ac_sectionLDflags" 1>&6
6353 # Set linker optimization flags.
6354 if test x"$with_gnu_ld" = x"yes"; then
6355 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6362 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
6363 echo "configure
:6364: checking
for main
in -lm" >&5
6364 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
6365 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6366 echo $ac_n "(cached
) $ac_c" 1>&6
6368 ac_save_LIBS="$LIBS"
6370 cat > conftest.$ac_ext <<EOF
6371 #line 6372 "configure
"
6372 #include "confdefs.h
"
6378 if { (eval echo configure:6379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6380 eval "ac_cv_lib_
$ac_lib_var=yes"
6382 echo "configure
: failed program was
:" >&5
6383 cat conftest.$ac_ext >&5
6385 eval "ac_cv_lib_
$ac_lib_var=no
"
6388 LIBS="$ac_save_LIBS"
6391 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6392 echo "$ac_t""yes" 1>&6
6393 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6394 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6395 cat >> confdefs.h <<EOF
6396 #define $ac_tr_lib 1
6402 echo "$ac_t""no
" 1>&6
6405 for ac_func in nan copysignf
6407 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6408 echo "configure
:6409: checking
for $ac_func" >&5
6409 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6410 echo $ac_n "(cached
) $ac_c" 1>&6
6412 cat > conftest.$ac_ext <<EOF
6413 #line 6414 "configure
"
6414 #include "confdefs.h
"
6415 /* System header to define __stub macros and hopefully few prototypes,
6416 which can conflict with char $ac_func(); below. */
6418 /* Override any gcc2 internal prototype to avoid an error. */
6419 /* We use char because int might match the return type of a gcc2
6420 builtin and then its argument prototype would still apply. */
6425 /* The GNU C library defines this for functions which it implements
6426 to always fail with ENOSYS. Some functions are actually named
6427 something starting with __ and the normal name is an alias. */
6428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6436 if { (eval echo configure:6437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6438 eval "ac_cv_func_
$ac_func=yes"
6440 echo "configure
: failed program was
:" >&5
6441 cat conftest.$ac_ext >&5
6443 eval "ac_cv_func_
$ac_func=no
"
6448 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6449 echo "$ac_t""yes" 1>&6
6450 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6451 cat >> confdefs.h <<EOF
6452 #define $ac_tr_func 1
6456 echo "$ac_t""no
" 1>&6
6457 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
6462 for ac_func in __signbit
6464 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6465 echo "configure
:6466: checking
for $ac_func" >&5
6466 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6467 echo $ac_n "(cached
) $ac_c" 1>&6
6469 cat > conftest.$ac_ext <<EOF
6470 #line 6471 "configure
"
6471 #include "confdefs.h
"
6472 /* System header to define __stub macros and hopefully few prototypes,
6473 which can conflict with char $ac_func(); below. */
6475 /* Override any gcc2 internal prototype to avoid an error. */
6476 /* We use char because int might match the return type of a gcc2
6477 builtin and then its argument prototype would still apply. */
6482 /* The GNU C library defines this for functions which it implements
6483 to always fail with ENOSYS. Some functions are actually named
6484 something starting with __ and the normal name is an alias. */
6485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6493 if { (eval echo configure:6494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6495 eval "ac_cv_func_
$ac_func=yes"
6497 echo "configure
: failed program was
:" >&5
6498 cat conftest.$ac_ext >&5
6500 eval "ac_cv_func_
$ac_func=no
"
6505 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6506 echo "$ac_t""yes" 1>&6
6507 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6508 cat >> confdefs.h <<EOF
6509 #define $ac_tr_func 1
6513 echo "$ac_t""no
" 1>&6
6514 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
6518 for ac_func in __signbitf
6520 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6521 echo "configure
:6522: checking
for $ac_func" >&5
6522 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6523 echo $ac_n "(cached
) $ac_c" 1>&6
6525 cat > conftest.$ac_ext <<EOF
6526 #line 6527 "configure
"
6527 #include "confdefs.h
"
6528 /* System header to define __stub macros and hopefully few prototypes,
6529 which can conflict with char $ac_func(); below. */
6531 /* Override any gcc2 internal prototype to avoid an error. */
6532 /* We use char because int might match the return type of a gcc2
6533 builtin and then its argument prototype would still apply. */
6538 /* The GNU C library defines this for functions which it implements
6539 to always fail with ENOSYS. Some functions are actually named
6540 something starting with __ and the normal name is an alias. */
6541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6549 if { (eval echo configure:6550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6551 eval "ac_cv_func_
$ac_func=yes"
6553 echo "configure
: failed program was
:" >&5
6554 cat conftest.$ac_ext >&5
6556 eval "ac_cv_func_
$ac_func=no
"
6561 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6562 echo "$ac_t""yes" 1>&6
6563 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6564 cat >> confdefs.h <<EOF
6565 #define $ac_tr_func 1
6569 echo "$ac_t""no
" 1>&6
6570 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
6575 if test x$ac_cv_func_copysignl = x"yes"; then
6576 for ac_func in __signbitl
6578 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6579 echo "configure
:6580: checking
for $ac_func" >&5
6580 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6581 echo $ac_n "(cached
) $ac_c" 1>&6
6583 cat > conftest.$ac_ext <<EOF
6584 #line 6585 "configure
"
6585 #include "confdefs.h
"
6586 /* System header to define __stub macros and hopefully few prototypes,
6587 which can conflict with char $ac_func(); below. */
6589 /* Override any gcc2 internal prototype to avoid an error. */
6590 /* We use char because int might match the return type of a gcc2
6591 builtin and then its argument prototype would still apply. */
6596 /* The GNU C library defines this for functions which it implements
6597 to always fail with ENOSYS. Some functions are actually named
6598 something starting with __ and the normal name is an alias. */
6599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6607 if { (eval echo configure:6608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6609 eval "ac_cv_func_
$ac_func=yes"
6611 echo "configure
: failed program was
:" >&5
6612 cat conftest.$ac_ext >&5
6614 eval "ac_cv_func_
$ac_func=no
"
6619 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6620 echo "$ac_t""yes" 1>&6
6621 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6622 cat >> confdefs.h <<EOF
6623 #define $ac_tr_func 1
6627 echo "$ac_t""no
" 1>&6
6628 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
6634 if test -n "$LIBMATHOBJS"; then
6640 if test "$need_libmath" = yes; then
6641 GLIBCPP_BUILD_LIBMATH_TRUE=
6642 GLIBCPP_BUILD_LIBMATH_FALSE='#'
6644 GLIBCPP_BUILD_LIBMATH_TRUE='#'
6645 GLIBCPP_BUILD_LIBMATH_FALSE=
6651 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
6652 echo "configure
:6653: checking
for mbstate_t
" >&5
6653 cat > conftest.$ac_ext <<EOF
6654 #line 6655 "configure
"
6655 #include "confdefs.h
"
6658 mbstate_t teststate;
6661 if { (eval echo configure:6662: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6665 echo "configure
: failed program was
:" >&5
6666 cat conftest.$ac_ext >&5
6671 echo "$ac_t""$have_mbstate_t" 1>&6
6672 if test x"$have_mbstate_t" = xyes; then
6673 cat >> confdefs.h <<\EOF
6674 #define HAVE_MBSTATE_T 1
6679 for ac_hdr in wchar.h
6681 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6682 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6683 echo "configure
:6684: checking
for $ac_hdr" >&5
6684 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6685 echo $ac_n "(cached
) $ac_c" 1>&6
6687 cat > conftest.$ac_ext <<EOF
6688 #line 6689 "configure
"
6689 #include "confdefs.h
"
6692 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6693 { (eval echo configure:6694: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6694 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6695 if test -z "$ac_err"; then
6697 eval "ac_cv_header_
$ac_safe=yes"
6700 echo "configure
: failed program was
:" >&5
6701 cat conftest.$ac_ext >&5
6703 eval "ac_cv_header_
$ac_safe=no
"
6707 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6708 echo "$ac_t""yes" 1>&6
6709 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6710 cat >> confdefs.h <<EOF
6711 #define $ac_tr_hdr 1
6715 echo "$ac_t""no
" 1>&6
6720 for ac_hdr in wctype.h
6722 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6723 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6724 echo "configure
:6725: checking
for $ac_hdr" >&5
6725 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6726 echo $ac_n "(cached
) $ac_c" 1>&6
6728 cat > conftest.$ac_ext <<EOF
6729 #line 6730 "configure
"
6730 #include "confdefs.h
"
6733 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6734 { (eval echo configure:6735: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6735 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6736 if test -z "$ac_err"; then
6738 eval "ac_cv_header_
$ac_safe=yes"
6741 echo "configure
: failed program was
:" >&5
6742 cat conftest.$ac_ext >&5
6744 eval "ac_cv_header_
$ac_safe=no
"
6748 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6749 echo "$ac_t""yes" 1>&6
6750 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6751 cat >> confdefs.h <<EOF
6752 #define $ac_tr_hdr 1
6756 echo "$ac_t""no
" 1>&6
6762 if test x"$ac_has_wchar_h" = xyes &&
6763 test x"$ac_has_wctype_h" = xyes &&
6764 test x"$enable_c_mbchar" != xno; then
6766 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
6767 echo "configure
:6768: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
6768 cat > conftest.$ac_ext <<EOF
6769 #line 6770 "configure
"
6770 #include "confdefs.h
"
6773 int i = WCHAR_MIN; int j = WCHAR_MAX;
6776 if { (eval echo configure:6777: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6778 has_wchar_minmax=yes
6780 echo "configure
: failed program was
:" >&5
6781 cat conftest.$ac_ext >&5
6786 echo "$ac_t""$has_wchar_minmax" 1>&6
6788 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
6789 echo "configure
:6790: checking
for WEOF
" >&5
6790 cat > conftest.$ac_ext <<EOF
6791 #line 6792 "configure
"
6792 #include "confdefs.h
"
6800 if { (eval echo configure:6801: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6804 echo "configure
: failed program was
:" >&5
6805 cat conftest.$ac_ext >&5
6810 echo "$ac_t""$has_weof" 1>&6
6813 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6815 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6816 echo "configure
:6817: checking
for $ac_func" >&5
6817 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6818 echo $ac_n "(cached
) $ac_c" 1>&6
6820 cat > conftest.$ac_ext <<EOF
6821 #line 6822 "configure
"
6822 #include "confdefs.h
"
6823 /* System header to define __stub macros and hopefully few prototypes,
6824 which can conflict with char $ac_func(); below. */
6826 /* Override any gcc2 internal prototype to avoid an error. */
6827 /* We use char because int might match the return type of a gcc2
6828 builtin and then its argument prototype would still apply. */
6833 /* The GNU C library defines this for functions which it implements
6834 to always fail with ENOSYS. Some functions are actually named
6835 something starting with __ and the normal name is an alias. */
6836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6844 if { (eval echo configure:6845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6846 eval "ac_cv_func_
$ac_func=yes"
6848 echo "configure
: failed program was
:" >&5
6849 cat conftest.$ac_ext >&5
6851 eval "ac_cv_func_
$ac_func=no
"
6856 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6857 echo "$ac_t""yes" 1>&6
6858 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6859 cat >> confdefs.h <<EOF
6860 #define $ac_tr_func 1
6864 echo "$ac_t""no
" 1>&6
6871 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
6872 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6873 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6874 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6875 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6876 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6878 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6879 echo "configure
:6880: checking
for $ac_func" >&5
6880 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6881 echo $ac_n "(cached
) $ac_c" 1>&6
6883 cat > conftest.$ac_ext <<EOF
6884 #line 6885 "configure
"
6885 #include "confdefs.h
"
6886 /* System header to define __stub macros and hopefully few prototypes,
6887 which can conflict with char $ac_func(); below. */
6889 /* Override any gcc2 internal prototype to avoid an error. */
6890 /* We use char because int might match the return type of a gcc2
6891 builtin and then its argument prototype would still apply. */
6896 /* The GNU C library defines this for functions which it implements
6897 to always fail with ENOSYS. Some functions are actually named
6898 something starting with __ and the normal name is an alias. */
6899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6907 if { (eval echo configure:6908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6909 eval "ac_cv_func_
$ac_func=yes"
6911 echo "configure
: failed program was
:" >&5
6912 cat conftest.$ac_ext >&5
6914 eval "ac_cv_func_
$ac_func=no
"
6919 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6920 echo "$ac_t""yes" 1>&6
6921 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6922 cat >> confdefs.h <<EOF
6923 #define $ac_tr_func 1
6927 echo "$ac_t""no
" 1>&6
6934 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
6935 echo "configure
:6936: checking
for ISO C99 wchar_t support
" >&5
6936 if test x"$has_weof" = xyes &&
6937 test x"$has_wchar_minmax" = xyes &&
6938 test x"$ac_wfuncs" = xyes; then
6939 ac_isoC99_wchar_t=yes
6941 ac_isoC99_wchar_t=no
6943 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6945 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
6946 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
6947 echo "configure
:6948: checking
for iconv.h
" >&5
6948 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6949 echo $ac_n "(cached
) $ac_c" 1>&6
6951 cat > conftest.$ac_ext <<EOF
6952 #line 6953 "configure
"
6953 #include "confdefs.h
"
6956 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6957 { (eval echo configure:6958: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6958 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6959 if test -z "$ac_err"; then
6961 eval "ac_cv_header_
$ac_safe=yes"
6964 echo "configure
: failed program was
:" >&5
6965 cat conftest.$ac_ext >&5
6967 eval "ac_cv_header_
$ac_safe=no
"
6971 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6972 echo "$ac_t""yes" 1>&6
6975 echo "$ac_t""no
" 1>&6
6979 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
6980 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
6981 echo "configure
:6982: checking
for langinfo.h
" >&5
6982 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6983 echo $ac_n "(cached
) $ac_c" 1>&6
6985 cat > conftest.$ac_ext <<EOF
6986 #line 6987 "configure
"
6987 #include "confdefs.h
"
6988 #include <langinfo.h>
6990 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6991 { (eval echo configure:6992: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6992 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6993 if test -z "$ac_err"; then
6995 eval "ac_cv_header_
$ac_safe=yes"
6998 echo "configure
: failed program was
:" >&5
6999 cat conftest.$ac_ext >&5
7001 eval "ac_cv_header_
$ac_safe=no
"
7005 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7006 echo "$ac_t""yes" 1>&6
7007 ac_has_langinfo_h=yes
7009 echo "$ac_t""no
" 1>&6
7010 ac_has_langinfo_h=no
7014 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
7015 echo "configure
:7016: checking
for iconv in -liconv" >&5
7016 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
7017 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7018 echo $ac_n "(cached
) $ac_c" 1>&6
7020 ac_save_LIBS="$LIBS"
7021 LIBS="-liconv $LIBS"
7022 cat > conftest.$ac_ext <<EOF
7023 #line 7024 "configure
"
7024 #include "confdefs.h
"
7025 /* Override any gcc2 internal prototype to avoid an error. */
7026 /* We use char because int might match the return type of a gcc2
7027 builtin and then its argument prototype would still apply. */
7034 if { (eval echo configure:7035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7036 eval "ac_cv_lib_
$ac_lib_var=yes"
7038 echo "configure
: failed program was
:" >&5
7039 cat conftest.$ac_ext >&5
7041 eval "ac_cv_lib_
$ac_lib_var=no
"
7044 LIBS="$ac_save_LIBS"
7047 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7048 echo "$ac_t""yes" 1>&6
7051 echo "$ac_t""no
" 1>&6
7054 ac_save_LIBS="$LIBS"
7055 LIBS="$LIBS $libiconv"
7057 for ac_func in iconv_open iconv_close iconv nl_langinfo
7059 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7060 echo "configure
:7061: checking
for $ac_func" >&5
7061 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7062 echo $ac_n "(cached
) $ac_c" 1>&6
7064 cat > conftest.$ac_ext <<EOF
7065 #line 7066 "configure
"
7066 #include "confdefs.h
"
7067 /* System header to define __stub macros and hopefully few prototypes,
7068 which can conflict with char $ac_func(); below. */
7070 /* Override any gcc2 internal prototype to avoid an error. */
7071 /* We use char because int might match the return type of a gcc2
7072 builtin and then its argument prototype would still apply. */
7077 /* The GNU C library defines this for functions which it implements
7078 to always fail with ENOSYS. Some functions are actually named
7079 something starting with __ and the normal name is an alias. */
7080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7088 if { (eval echo configure:7089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7090 eval "ac_cv_func_
$ac_func=yes"
7092 echo "configure
: failed program was
:" >&5
7093 cat conftest.$ac_ext >&5
7095 eval "ac_cv_func_
$ac_func=no
"
7100 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7101 echo "$ac_t""yes" 1>&6
7102 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7103 cat >> confdefs.h <<EOF
7104 #define $ac_tr_func 1
7109 echo "$ac_t""no
" 1>&6
7115 LIBS="$ac_save_LIBS"
7117 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
7118 echo "configure
:7119: checking
for XPG2 wchar_t support
" >&5
7119 if test x"$ac_has_iconv_h" = xyes &&
7120 test x"$ac_has_langinfo_h" = xyes &&
7121 test x"$ac_XPG2funcs" = xyes; then
7126 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
7128 if test x"$ac_isoC99_wchar_t" = xyes &&
7129 test x"$ac_XPG2_wchar_t" = xyes; then
7130 cat >> confdefs.h <<\EOF
7131 #define _GLIBCPP_USE_WCHAR_T 1
7137 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
7138 echo "configure
:7139: checking
for enabled wchar_t specializations
" >&5
7139 echo "$ac_t""$enable_wchar_t" 1>&6
7142 if test "$enable_wchar_t" = yes; then
7143 GLIBCPP_TEST_WCHAR_T_TRUE=
7144 GLIBCPP_TEST_WCHAR_T_FALSE='#'
7146 GLIBCPP_TEST_WCHAR_T_TRUE='#'
7147 GLIBCPP_TEST_WCHAR_T_FALSE=
7150 os_include_dir="os
/bsd
/netbsd
"
7151 cat >> confdefs.h <<\EOF
7152 #define HAVE_COPYSIGN 1
7155 cat >> confdefs.h <<\EOF
7156 #define HAVE_COPYSIGNF 1
7159 cat >> confdefs.h <<\EOF
7160 #define HAVE_FINITEF 1
7163 cat >> confdefs.h <<\EOF
7164 #define HAVE_FINITE 1
7167 cat >> confdefs.h <<\EOF
7168 #define HAVE_FREXPF 1
7171 cat >> confdefs.h <<\EOF
7172 #define HAVE_HYPOTF 1
7175 cat >> confdefs.h <<\EOF
7176 #define HAVE_ISINF 1
7179 cat >> confdefs.h <<\EOF
7180 #define HAVE_ISINFF 1
7183 cat >> confdefs.h <<\EOF
7184 #define HAVE_ISNAN 1
7187 cat >> confdefs.h <<\EOF
7188 #define HAVE_ISNANF 1
7191 if test x"long_double_math_on_this_cpu
" = x"yes"; then
7192 cat >> confdefs.h <<\EOF
7193 #define HAVE_FINITEL 1
7196 cat >> confdefs.h <<\EOF
7197 #define HAVE_ISINFL 1
7200 cat >> confdefs.h <<\EOF
7201 #define HAVE_ISNANL 1
7207 # Check for available headers.
7208 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
7209 machine/endian.h machine/param.h sys/machine.h sys/types.h \
7210 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
7213 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7214 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
7215 echo "configure
:7216: checking
for $ac_hdr" >&5
7216 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7217 echo $ac_n "(cached
) $ac_c" 1>&6
7219 cat > conftest.$ac_ext <<EOF
7220 #line 7221 "configure
"
7221 #include "confdefs.h
"
7224 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7225 { (eval echo configure:7226: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7226 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7227 if test -z "$ac_err"; then
7229 eval "ac_cv_header_
$ac_safe=yes"
7232 echo "configure
: failed program was
:" >&5
7233 cat conftest.$ac_ext >&5
7235 eval "ac_cv_header_
$ac_safe=no
"
7239 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7240 echo "$ac_t""yes" 1>&6
7241 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7242 cat >> confdefs.h <<EOF
7243 #define $ac_tr_hdr 1
7247 echo "$ac_t""no
" 1>&6
7251 SECTION_FLAGS='-ffunction-sections -fdata-sections'
7254 # If we're not using GNU ld, then there's no point in even trying these
7255 # tests. Check for that first. We should have already tested for gld
7256 # by now (in libtool), but require it now just to be safe...
7257 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7258 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7261 # The name set by libtool depends on the version of libtool. Shame on us
7262 # for depending on an impl detail, but c'est la vie. Older versions used
7263 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7264 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7265 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7266 # set (hence we're using an older libtool), then set it.
7267 if test x${with_gnu_ld+set} != xset; then
7268 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7269 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
7272 with_gnu_ld=$ac_cv_prog_gnu_ld
7276 # Start by getting the version number. I think the libtool test already
7277 # does some of this, but throws away the result.
7279 ldver=`$LD --version 2>/dev/null | head -1 | \
7280 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7282 glibcpp_gnu_ld_version=`echo $ldver | \
7283 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7285 # Set --gc-sections.
7286 if test "$with_gnu_ld" = "notbroken
"; then
7287 # GNU ld it is! Joy and bunny rabbits!
7289 # All these tests are for C++; save the language and the compiler flags.
7290 # Need to do this so that g++ won't try to link in libstdc++
7291 ac_test_CFLAGS="${CFLAGS+set}"
7292 ac_save_CFLAGS="$CFLAGS"
7293 CFLAGS='-x c++ -Wl,--gc-sections'
7295 # Check for -Wl,--gc-sections
7296 # XXX This test is broken at the moment, as symbols required for
7297 # linking are now in libsupc++ (not built yet.....). In addition,
7298 # this test has cored on solaris in the past. In addition,
7299 # --gc-sections doesn't really work at the moment (keeps on discarding
7300 # used sections, first .eh_frame and now some of the glibc sections for
7301 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7302 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
7303 echo "configure
:7304: checking
for ld that supports
-Wl,--gc-sections" >&5
7304 if test "$cross_compiling" = yes; then
7305 ac_sectionLDflags=yes
7307 cat > conftest.$ac_ext <<EOF
7308 #line 7309 "configure
"
7309 #include "confdefs.h
"
7319 if { (eval echo configure:7320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7321 ac_sectionLDflags=yes
7323 echo "configure
: failed program was
:" >&5
7324 cat conftest.$ac_ext >&5
7326 ac_sectionLDflags=no
7331 if test "$ac_test_CFLAGS" = set; then
7332 CFLAGS="$ac_save_CFLAGS"
7334 # this is the suspicious part
7337 if test "$ac_sectionLDflags" = "yes"; then
7338 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7340 echo "$ac_t""$ac_sectionLDflags" 1>&6
7343 # Set linker optimization flags.
7344 if test x"$with_gnu_ld" = x"yes"; then
7345 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7352 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
7353 echo "configure
:7354: checking
for main
in -lm" >&5
7354 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
7355 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7356 echo $ac_n "(cached
) $ac_c" 1>&6
7358 ac_save_LIBS="$LIBS"
7360 cat > conftest.$ac_ext <<EOF
7361 #line 7362 "configure
"
7362 #include "confdefs.h
"
7368 if { (eval echo configure:7369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7370 eval "ac_cv_lib_
$ac_lib_var=yes"
7372 echo "configure
: failed program was
:" >&5
7373 cat conftest.$ac_ext >&5
7375 eval "ac_cv_lib_
$ac_lib_var=no
"
7378 LIBS="$ac_save_LIBS"
7381 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7382 echo "$ac_t""yes" 1>&6
7383 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7384 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7385 cat >> confdefs.h <<EOF
7386 #define $ac_tr_lib 1
7392 echo "$ac_t""no
" 1>&6
7395 for ac_func in nan copysignf
7397 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7398 echo "configure
:7399: checking
for $ac_func" >&5
7399 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7400 echo $ac_n "(cached
) $ac_c" 1>&6
7402 cat > conftest.$ac_ext <<EOF
7403 #line 7404 "configure
"
7404 #include "confdefs.h
"
7405 /* System header to define __stub macros and hopefully few prototypes,
7406 which can conflict with char $ac_func(); below. */
7408 /* Override any gcc2 internal prototype to avoid an error. */
7409 /* We use char because int might match the return type of a gcc2
7410 builtin and then its argument prototype would still apply. */
7415 /* The GNU C library defines this for functions which it implements
7416 to always fail with ENOSYS. Some functions are actually named
7417 something starting with __ and the normal name is an alias. */
7418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7426 if { (eval echo configure:7427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7428 eval "ac_cv_func_
$ac_func=yes"
7430 echo "configure
: failed program was
:" >&5
7431 cat conftest.$ac_ext >&5
7433 eval "ac_cv_func_
$ac_func=no
"
7438 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7439 echo "$ac_t""yes" 1>&6
7440 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7441 cat >> confdefs.h <<EOF
7442 #define $ac_tr_func 1
7446 echo "$ac_t""no
" 1>&6
7447 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
7452 for ac_func in __signbit
7454 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7455 echo "configure
:7456: checking
for $ac_func" >&5
7456 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7457 echo $ac_n "(cached
) $ac_c" 1>&6
7459 cat > conftest.$ac_ext <<EOF
7460 #line 7461 "configure
"
7461 #include "confdefs.h
"
7462 /* System header to define __stub macros and hopefully few prototypes,
7463 which can conflict with char $ac_func(); below. */
7465 /* Override any gcc2 internal prototype to avoid an error. */
7466 /* We use char because int might match the return type of a gcc2
7467 builtin and then its argument prototype would still apply. */
7472 /* The GNU C library defines this for functions which it implements
7473 to always fail with ENOSYS. Some functions are actually named
7474 something starting with __ and the normal name is an alias. */
7475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7483 if { (eval echo configure:7484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7485 eval "ac_cv_func_
$ac_func=yes"
7487 echo "configure
: failed program was
:" >&5
7488 cat conftest.$ac_ext >&5
7490 eval "ac_cv_func_
$ac_func=no
"
7495 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7496 echo "$ac_t""yes" 1>&6
7497 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7498 cat >> confdefs.h <<EOF
7499 #define $ac_tr_func 1
7503 echo "$ac_t""no
" 1>&6
7504 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
7508 for ac_func in __signbitf
7510 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7511 echo "configure
:7512: checking
for $ac_func" >&5
7512 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7513 echo $ac_n "(cached
) $ac_c" 1>&6
7515 cat > conftest.$ac_ext <<EOF
7516 #line 7517 "configure
"
7517 #include "confdefs.h
"
7518 /* System header to define __stub macros and hopefully few prototypes,
7519 which can conflict with char $ac_func(); below. */
7521 /* Override any gcc2 internal prototype to avoid an error. */
7522 /* We use char because int might match the return type of a gcc2
7523 builtin and then its argument prototype would still apply. */
7528 /* The GNU C library defines this for functions which it implements
7529 to always fail with ENOSYS. Some functions are actually named
7530 something starting with __ and the normal name is an alias. */
7531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7539 if { (eval echo configure:7540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7541 eval "ac_cv_func_
$ac_func=yes"
7543 echo "configure
: failed program was
:" >&5
7544 cat conftest.$ac_ext >&5
7546 eval "ac_cv_func_
$ac_func=no
"
7551 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7552 echo "$ac_t""yes" 1>&6
7553 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7554 cat >> confdefs.h <<EOF
7555 #define $ac_tr_func 1
7559 echo "$ac_t""no
" 1>&6
7560 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
7565 if test x$ac_cv_func_copysignl = x"yes"; then
7566 for ac_func in __signbitl
7568 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7569 echo "configure
:7570: checking
for $ac_func" >&5
7570 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7571 echo $ac_n "(cached
) $ac_c" 1>&6
7573 cat > conftest.$ac_ext <<EOF
7574 #line 7575 "configure
"
7575 #include "confdefs.h
"
7576 /* System header to define __stub macros and hopefully few prototypes,
7577 which can conflict with char $ac_func(); below. */
7579 /* Override any gcc2 internal prototype to avoid an error. */
7580 /* We use char because int might match the return type of a gcc2
7581 builtin and then its argument prototype would still apply. */
7586 /* The GNU C library defines this for functions which it implements
7587 to always fail with ENOSYS. Some functions are actually named
7588 something starting with __ and the normal name is an alias. */
7589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7597 if { (eval echo configure:7598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7599 eval "ac_cv_func_
$ac_func=yes"
7601 echo "configure
: failed program was
:" >&5
7602 cat conftest.$ac_ext >&5
7604 eval "ac_cv_func_
$ac_func=no
"
7609 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7610 echo "$ac_t""yes" 1>&6
7611 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7612 cat >> confdefs.h <<EOF
7613 #define $ac_tr_func 1
7617 echo "$ac_t""no
" 1>&6
7618 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
7624 if test -n "$LIBMATHOBJS"; then
7630 if test "$need_libmath" = yes; then
7631 GLIBCPP_BUILD_LIBMATH_TRUE=
7632 GLIBCPP_BUILD_LIBMATH_FALSE='#'
7634 GLIBCPP_BUILD_LIBMATH_TRUE='#'
7635 GLIBCPP_BUILD_LIBMATH_FALSE=
7641 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
7642 echo "configure
:7643: checking
for mbstate_t
" >&5
7643 cat > conftest.$ac_ext <<EOF
7644 #line 7645 "configure
"
7645 #include "confdefs.h
"
7648 mbstate_t teststate;
7651 if { (eval echo configure:7652: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7655 echo "configure
: failed program was
:" >&5
7656 cat conftest.$ac_ext >&5
7661 echo "$ac_t""$have_mbstate_t" 1>&6
7662 if test x"$have_mbstate_t" = xyes; then
7663 cat >> confdefs.h <<\EOF
7664 #define HAVE_MBSTATE_T 1
7669 for ac_hdr in wchar.h
7671 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7672 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
7673 echo "configure
:7674: checking
for $ac_hdr" >&5
7674 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7675 echo $ac_n "(cached
) $ac_c" 1>&6
7677 cat > conftest.$ac_ext <<EOF
7678 #line 7679 "configure
"
7679 #include "confdefs.h
"
7682 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7683 { (eval echo configure:7684: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7684 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7685 if test -z "$ac_err"; then
7687 eval "ac_cv_header_
$ac_safe=yes"
7690 echo "configure
: failed program was
:" >&5
7691 cat conftest.$ac_ext >&5
7693 eval "ac_cv_header_
$ac_safe=no
"
7697 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7698 echo "$ac_t""yes" 1>&6
7699 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7700 cat >> confdefs.h <<EOF
7701 #define $ac_tr_hdr 1
7705 echo "$ac_t""no
" 1>&6
7710 for ac_hdr in wctype.h
7712 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7713 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
7714 echo "configure
:7715: checking
for $ac_hdr" >&5
7715 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7716 echo $ac_n "(cached
) $ac_c" 1>&6
7718 cat > conftest.$ac_ext <<EOF
7719 #line 7720 "configure
"
7720 #include "confdefs.h
"
7723 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7724 { (eval echo configure:7725: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7725 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7726 if test -z "$ac_err"; then
7728 eval "ac_cv_header_
$ac_safe=yes"
7731 echo "configure
: failed program was
:" >&5
7732 cat conftest.$ac_ext >&5
7734 eval "ac_cv_header_
$ac_safe=no
"
7738 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7739 echo "$ac_t""yes" 1>&6
7740 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7741 cat >> confdefs.h <<EOF
7742 #define $ac_tr_hdr 1
7746 echo "$ac_t""no
" 1>&6
7752 if test x"$ac_has_wchar_h" = xyes &&
7753 test x"$ac_has_wctype_h" = xyes &&
7754 test x"$enable_c_mbchar" != xno; then
7756 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
7757 echo "configure
:7758: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
7758 cat > conftest.$ac_ext <<EOF
7759 #line 7760 "configure
"
7760 #include "confdefs.h
"
7763 int i = WCHAR_MIN; int j = WCHAR_MAX;
7766 if { (eval echo configure:7767: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7768 has_wchar_minmax=yes
7770 echo "configure
: failed program was
:" >&5
7771 cat conftest.$ac_ext >&5
7776 echo "$ac_t""$has_wchar_minmax" 1>&6
7778 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
7779 echo "configure
:7780: checking
for WEOF
" >&5
7780 cat > conftest.$ac_ext <<EOF
7781 #line 7782 "configure
"
7782 #include "confdefs.h
"
7790 if { (eval echo configure:7791: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7794 echo "configure
: failed program was
:" >&5
7795 cat conftest.$ac_ext >&5
7800 echo "$ac_t""$has_weof" 1>&6
7803 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
7805 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7806 echo "configure
:7807: checking
for $ac_func" >&5
7807 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7808 echo $ac_n "(cached
) $ac_c" 1>&6
7810 cat > conftest.$ac_ext <<EOF
7811 #line 7812 "configure
"
7812 #include "confdefs.h
"
7813 /* System header to define __stub macros and hopefully few prototypes,
7814 which can conflict with char $ac_func(); below. */
7816 /* Override any gcc2 internal prototype to avoid an error. */
7817 /* We use char because int might match the return type of a gcc2
7818 builtin and then its argument prototype would still apply. */
7823 /* The GNU C library defines this for functions which it implements
7824 to always fail with ENOSYS. Some functions are actually named
7825 something starting with __ and the normal name is an alias. */
7826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7834 if { (eval echo configure:7835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7836 eval "ac_cv_func_
$ac_func=yes"
7838 echo "configure
: failed program was
:" >&5
7839 cat conftest.$ac_ext >&5
7841 eval "ac_cv_func_
$ac_func=no
"
7846 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7847 echo "$ac_t""yes" 1>&6
7848 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7849 cat >> confdefs.h <<EOF
7850 #define $ac_tr_func 1
7854 echo "$ac_t""no
" 1>&6
7861 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
7862 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
7863 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
7864 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
7865 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
7866 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
7868 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7869 echo "configure
:7870: checking
for $ac_func" >&5
7870 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7871 echo $ac_n "(cached
) $ac_c" 1>&6
7873 cat > conftest.$ac_ext <<EOF
7874 #line 7875 "configure
"
7875 #include "confdefs.h
"
7876 /* System header to define __stub macros and hopefully few prototypes,
7877 which can conflict with char $ac_func(); below. */
7879 /* Override any gcc2 internal prototype to avoid an error. */
7880 /* We use char because int might match the return type of a gcc2
7881 builtin and then its argument prototype would still apply. */
7886 /* The GNU C library defines this for functions which it implements
7887 to always fail with ENOSYS. Some functions are actually named
7888 something starting with __ and the normal name is an alias. */
7889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7897 if { (eval echo configure:7898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7899 eval "ac_cv_func_
$ac_func=yes"
7901 echo "configure
: failed program was
:" >&5
7902 cat conftest.$ac_ext >&5
7904 eval "ac_cv_func_
$ac_func=no
"
7909 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7910 echo "$ac_t""yes" 1>&6
7911 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7912 cat >> confdefs.h <<EOF
7913 #define $ac_tr_func 1
7917 echo "$ac_t""no
" 1>&6
7924 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
7925 echo "configure
:7926: checking
for ISO C99 wchar_t support
" >&5
7926 if test x"$has_weof" = xyes &&
7927 test x"$has_wchar_minmax" = xyes &&
7928 test x"$ac_wfuncs" = xyes; then
7929 ac_isoC99_wchar_t=yes
7931 ac_isoC99_wchar_t=no
7933 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7935 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
7936 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
7937 echo "configure
:7938: checking
for iconv.h
" >&5
7938 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7939 echo $ac_n "(cached
) $ac_c" 1>&6
7941 cat > conftest.$ac_ext <<EOF
7942 #line 7943 "configure
"
7943 #include "confdefs.h
"
7946 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7947 { (eval echo configure:7948: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7948 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7949 if test -z "$ac_err"; then
7951 eval "ac_cv_header_
$ac_safe=yes"
7954 echo "configure
: failed program was
:" >&5
7955 cat conftest.$ac_ext >&5
7957 eval "ac_cv_header_
$ac_safe=no
"
7961 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7962 echo "$ac_t""yes" 1>&6
7965 echo "$ac_t""no
" 1>&6
7969 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
7970 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
7971 echo "configure
:7972: checking
for langinfo.h
" >&5
7972 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7973 echo $ac_n "(cached
) $ac_c" 1>&6
7975 cat > conftest.$ac_ext <<EOF
7976 #line 7977 "configure
"
7977 #include "confdefs.h
"
7978 #include <langinfo.h>
7980 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7981 { (eval echo configure:7982: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7982 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7983 if test -z "$ac_err"; then
7985 eval "ac_cv_header_
$ac_safe=yes"
7988 echo "configure
: failed program was
:" >&5
7989 cat conftest.$ac_ext >&5
7991 eval "ac_cv_header_
$ac_safe=no
"
7995 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7996 echo "$ac_t""yes" 1>&6
7997 ac_has_langinfo_h=yes
7999 echo "$ac_t""no
" 1>&6
8000 ac_has_langinfo_h=no
8004 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
8005 echo "configure
:8006: checking
for iconv in -liconv" >&5
8006 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
8007 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8008 echo $ac_n "(cached
) $ac_c" 1>&6
8010 ac_save_LIBS="$LIBS"
8011 LIBS="-liconv $LIBS"
8012 cat > conftest.$ac_ext <<EOF
8013 #line 8014 "configure
"
8014 #include "confdefs.h
"
8015 /* Override any gcc2 internal prototype to avoid an error. */
8016 /* We use char because int might match the return type of a gcc2
8017 builtin and then its argument prototype would still apply. */
8024 if { (eval echo configure:8025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8026 eval "ac_cv_lib_
$ac_lib_var=yes"
8028 echo "configure
: failed program was
:" >&5
8029 cat conftest.$ac_ext >&5
8031 eval "ac_cv_lib_
$ac_lib_var=no
"
8034 LIBS="$ac_save_LIBS"
8037 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8038 echo "$ac_t""yes" 1>&6
8041 echo "$ac_t""no
" 1>&6
8044 ac_save_LIBS="$LIBS"
8045 LIBS="$LIBS $libiconv"
8047 for ac_func in iconv_open iconv_close iconv nl_langinfo
8049 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8050 echo "configure
:8051: checking
for $ac_func" >&5
8051 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8052 echo $ac_n "(cached
) $ac_c" 1>&6
8054 cat > conftest.$ac_ext <<EOF
8055 #line 8056 "configure
"
8056 #include "confdefs.h
"
8057 /* System header to define __stub macros and hopefully few prototypes,
8058 which can conflict with char $ac_func(); below. */
8060 /* Override any gcc2 internal prototype to avoid an error. */
8061 /* We use char because int might match the return type of a gcc2
8062 builtin and then its argument prototype would still apply. */
8067 /* The GNU C library defines this for functions which it implements
8068 to always fail with ENOSYS. Some functions are actually named
8069 something starting with __ and the normal name is an alias. */
8070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8078 if { (eval echo configure:8079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8080 eval "ac_cv_func_
$ac_func=yes"
8082 echo "configure
: failed program was
:" >&5
8083 cat conftest.$ac_ext >&5
8085 eval "ac_cv_func_
$ac_func=no
"
8090 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8091 echo "$ac_t""yes" 1>&6
8092 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8093 cat >> confdefs.h <<EOF
8094 #define $ac_tr_func 1
8099 echo "$ac_t""no
" 1>&6
8105 LIBS="$ac_save_LIBS"
8107 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
8108 echo "configure
:8109: checking
for XPG2 wchar_t support
" >&5
8109 if test x"$ac_has_iconv_h" = xyes &&
8110 test x"$ac_has_langinfo_h" = xyes &&
8111 test x"$ac_XPG2funcs" = xyes; then
8116 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
8118 if test x"$ac_isoC99_wchar_t" = xyes &&
8119 test x"$ac_XPG2_wchar_t" = xyes; then
8120 cat >> confdefs.h <<\EOF
8121 #define _GLIBCPP_USE_WCHAR_T 1
8127 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
8128 echo "configure
:8129: checking
for enabled wchar_t specializations
" >&5
8129 echo "$ac_t""$enable_wchar_t" 1>&6
8132 if test "$enable_wchar_t" = yes; then
8133 GLIBCPP_TEST_WCHAR_T_TRUE=
8134 GLIBCPP_TEST_WCHAR_T_FALSE='#'
8136 GLIBCPP_TEST_WCHAR_T_TRUE='#'
8137 GLIBCPP_TEST_WCHAR_T_FALSE=
8140 os_include_dir="os
/bsd
/freebsd
"
8141 cat >> confdefs.h <<\EOF
8142 #define HAVE_LC_MESSAGES 1
8145 cat >> confdefs.h <<\EOF
8146 #define HAVE_DRAND48 1
8149 cat >> confdefs.h <<\EOF
8150 #define HAVE_GETPAGESIZE 1
8153 cat >> confdefs.h <<\EOF
8154 #define HAVE_SETENV 1
8157 cat >> confdefs.h <<\EOF
8158 #define HAVE_SIGSETJMP 1
8161 cat >> confdefs.h <<\EOF
8162 #define HAVE_COPYSIGN 1
8165 cat >> confdefs.h <<\EOF
8166 #define HAVE_COPYSIGNF 1
8169 cat >> confdefs.h <<\EOF
8170 #define HAVE_FINITEF 1
8173 cat >> confdefs.h <<\EOF
8174 #define HAVE_FINITE 1
8177 cat >> confdefs.h <<\EOF
8178 #define HAVE_FREXPF 1
8181 cat >> confdefs.h <<\EOF
8182 #define HAVE_HYPOT 1
8185 cat >> confdefs.h <<\EOF
8186 #define HAVE_HYPOTF 1
8189 cat >> confdefs.h <<\EOF
8190 #define HAVE_ISINF 1
8193 cat >> confdefs.h <<\EOF
8194 #define HAVE_ISNAN 1
8197 cat >> confdefs.h <<\EOF
8198 #define HAVE_ISNANF 1
8201 if test x"long_double_math_on_this_cpu
" = x"yes"; then
8202 cat >> confdefs.h <<\EOF
8203 #define HAVE_FINITEL 1
8206 cat >> confdefs.h <<\EOF
8207 #define HAVE_ISINFL 1
8210 cat >> confdefs.h <<\EOF
8211 #define HAVE_ISNANL 1
8217 for ac_hdr in sys/types.h locale.h float.h
8219 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8220 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
8221 echo "configure
:8222: checking
for $ac_hdr" >&5
8222 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8223 echo $ac_n "(cached
) $ac_c" 1>&6
8225 cat > conftest.$ac_ext <<EOF
8226 #line 8227 "configure
"
8227 #include "confdefs.h
"
8230 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8231 { (eval echo configure:8232: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8232 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8233 if test -z "$ac_err"; then
8235 eval "ac_cv_header_
$ac_safe=yes"
8238 echo "configure
: failed program was
:" >&5
8239 cat conftest.$ac_ext >&5
8241 eval "ac_cv_header_
$ac_safe=no
"
8245 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8246 echo "$ac_t""yes" 1>&6
8247 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8248 cat >> confdefs.h <<EOF
8249 #define $ac_tr_hdr 1
8253 echo "$ac_t""no
" 1>&6
8258 # If we're not using GNU ld, then there's no point in even trying these
8259 # tests. Check for that first. We should have already tested for gld
8260 # by now (in libtool), but require it now just to be safe...
8261 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8262 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8265 # The name set by libtool depends on the version of libtool. Shame on us
8266 # for depending on an impl detail, but c'est la vie. Older versions used
8267 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8268 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8269 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8270 # set (hence we're using an older libtool), then set it.
8271 if test x${with_gnu_ld+set} != xset; then
8272 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8273 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
8276 with_gnu_ld=$ac_cv_prog_gnu_ld
8280 # Start by getting the version number. I think the libtool test already
8281 # does some of this, but throws away the result.
8283 ldver=`$LD --version 2>/dev/null | head -1 | \
8284 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8286 glibcpp_gnu_ld_version=`echo $ldver | \
8287 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8289 # Set --gc-sections.
8290 if test "$with_gnu_ld" = "notbroken
"; then
8291 # GNU ld it is! Joy and bunny rabbits!
8293 # All these tests are for C++; save the language and the compiler flags.
8294 # Need to do this so that g++ won't try to link in libstdc++
8295 ac_test_CFLAGS="${CFLAGS+set}"
8296 ac_save_CFLAGS="$CFLAGS"
8297 CFLAGS='-x c++ -Wl,--gc-sections'
8299 # Check for -Wl,--gc-sections
8300 # XXX This test is broken at the moment, as symbols required for
8301 # linking are now in libsupc++ (not built yet.....). In addition,
8302 # this test has cored on solaris in the past. In addition,
8303 # --gc-sections doesn't really work at the moment (keeps on discarding
8304 # used sections, first .eh_frame and now some of the glibc sections for
8305 # iconv). Bzzzzt. Thanks for playing, maybe next time.
8306 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
8307 echo "configure
:8308: checking
for ld that supports
-Wl,--gc-sections" >&5
8308 if test "$cross_compiling" = yes; then
8309 ac_sectionLDflags=yes
8311 cat > conftest.$ac_ext <<EOF
8312 #line 8313 "configure
"
8313 #include "confdefs.h
"
8323 if { (eval echo configure:8324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8325 ac_sectionLDflags=yes
8327 echo "configure
: failed program was
:" >&5
8328 cat conftest.$ac_ext >&5
8330 ac_sectionLDflags=no
8335 if test "$ac_test_CFLAGS" = set; then
8336 CFLAGS="$ac_save_CFLAGS"
8338 # this is the suspicious part
8341 if test "$ac_sectionLDflags" = "yes"; then
8342 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8344 echo "$ac_t""$ac_sectionLDflags" 1>&6
8347 # Set linker optimization flags.
8348 if test x"$with_gnu_ld" = x"yes"; then
8349 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8356 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
8357 echo "configure
:8358: checking
for main
in -lm" >&5
8358 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
8359 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8360 echo $ac_n "(cached
) $ac_c" 1>&6
8362 ac_save_LIBS="$LIBS"
8364 cat > conftest.$ac_ext <<EOF
8365 #line 8366 "configure
"
8366 #include "confdefs.h
"
8372 if { (eval echo configure:8373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8374 eval "ac_cv_lib_
$ac_lib_var=yes"
8376 echo "configure
: failed program was
:" >&5
8377 cat conftest.$ac_ext >&5
8379 eval "ac_cv_lib_
$ac_lib_var=no
"
8382 LIBS="$ac_save_LIBS"
8385 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8386 echo "$ac_t""yes" 1>&6
8387 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
8388 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
8389 cat >> confdefs.h <<EOF
8390 #define $ac_tr_lib 1
8396 echo "$ac_t""no
" 1>&6
8399 for ac_func in nan copysignf
8401 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8402 echo "configure
:8403: checking
for $ac_func" >&5
8403 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8404 echo $ac_n "(cached
) $ac_c" 1>&6
8406 cat > conftest.$ac_ext <<EOF
8407 #line 8408 "configure
"
8408 #include "confdefs.h
"
8409 /* System header to define __stub macros and hopefully few prototypes,
8410 which can conflict with char $ac_func(); below. */
8412 /* Override any gcc2 internal prototype to avoid an error. */
8413 /* We use char because int might match the return type of a gcc2
8414 builtin and then its argument prototype would still apply. */
8419 /* The GNU C library defines this for functions which it implements
8420 to always fail with ENOSYS. Some functions are actually named
8421 something starting with __ and the normal name is an alias. */
8422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8430 if { (eval echo configure:8431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8432 eval "ac_cv_func_
$ac_func=yes"
8434 echo "configure
: failed program was
:" >&5
8435 cat conftest.$ac_ext >&5
8437 eval "ac_cv_func_
$ac_func=no
"
8442 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8443 echo "$ac_t""yes" 1>&6
8444 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8445 cat >> confdefs.h <<EOF
8446 #define $ac_tr_func 1
8450 echo "$ac_t""no
" 1>&6
8451 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
8456 for ac_func in __signbit
8458 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8459 echo "configure
:8460: checking
for $ac_func" >&5
8460 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8461 echo $ac_n "(cached
) $ac_c" 1>&6
8463 cat > conftest.$ac_ext <<EOF
8464 #line 8465 "configure
"
8465 #include "confdefs.h
"
8466 /* System header to define __stub macros and hopefully few prototypes,
8467 which can conflict with char $ac_func(); below. */
8469 /* Override any gcc2 internal prototype to avoid an error. */
8470 /* We use char because int might match the return type of a gcc2
8471 builtin and then its argument prototype would still apply. */
8476 /* The GNU C library defines this for functions which it implements
8477 to always fail with ENOSYS. Some functions are actually named
8478 something starting with __ and the normal name is an alias. */
8479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8487 if { (eval echo configure:8488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8489 eval "ac_cv_func_
$ac_func=yes"
8491 echo "configure
: failed program was
:" >&5
8492 cat conftest.$ac_ext >&5
8494 eval "ac_cv_func_
$ac_func=no
"
8499 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8500 echo "$ac_t""yes" 1>&6
8501 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8502 cat >> confdefs.h <<EOF
8503 #define $ac_tr_func 1
8507 echo "$ac_t""no
" 1>&6
8508 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
8512 for ac_func in __signbitf
8514 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8515 echo "configure
:8516: checking
for $ac_func" >&5
8516 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8517 echo $ac_n "(cached
) $ac_c" 1>&6
8519 cat > conftest.$ac_ext <<EOF
8520 #line 8521 "configure
"
8521 #include "confdefs.h
"
8522 /* System header to define __stub macros and hopefully few prototypes,
8523 which can conflict with char $ac_func(); below. */
8525 /* Override any gcc2 internal prototype to avoid an error. */
8526 /* We use char because int might match the return type of a gcc2
8527 builtin and then its argument prototype would still apply. */
8532 /* The GNU C library defines this for functions which it implements
8533 to always fail with ENOSYS. Some functions are actually named
8534 something starting with __ and the normal name is an alias. */
8535 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8543 if { (eval echo configure:8544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8545 eval "ac_cv_func_
$ac_func=yes"
8547 echo "configure
: failed program was
:" >&5
8548 cat conftest.$ac_ext >&5
8550 eval "ac_cv_func_
$ac_func=no
"
8555 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8556 echo "$ac_t""yes" 1>&6
8557 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8558 cat >> confdefs.h <<EOF
8559 #define $ac_tr_func 1
8563 echo "$ac_t""no
" 1>&6
8564 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
8569 if test x$ac_cv_func_copysignl = x"yes"; then
8570 for ac_func in __signbitl
8572 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8573 echo "configure
:8574: checking
for $ac_func" >&5
8574 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8575 echo $ac_n "(cached
) $ac_c" 1>&6
8577 cat > conftest.$ac_ext <<EOF
8578 #line 8579 "configure
"
8579 #include "confdefs.h
"
8580 /* System header to define __stub macros and hopefully few prototypes,
8581 which can conflict with char $ac_func(); below. */
8583 /* Override any gcc2 internal prototype to avoid an error. */
8584 /* We use char because int might match the return type of a gcc2
8585 builtin and then its argument prototype would still apply. */
8590 /* The GNU C library defines this for functions which it implements
8591 to always fail with ENOSYS. Some functions are actually named
8592 something starting with __ and the normal name is an alias. */
8593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8601 if { (eval echo configure:8602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8603 eval "ac_cv_func_
$ac_func=yes"
8605 echo "configure
: failed program was
:" >&5
8606 cat conftest.$ac_ext >&5
8608 eval "ac_cv_func_
$ac_func=no
"
8613 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8614 echo "$ac_t""yes" 1>&6
8615 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8616 cat >> confdefs.h <<EOF
8617 #define $ac_tr_func 1
8621 echo "$ac_t""no
" 1>&6
8622 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
8628 if test -n "$LIBMATHOBJS"; then
8634 if test "$need_libmath" = yes; then
8635 GLIBCPP_BUILD_LIBMATH_TRUE=
8636 GLIBCPP_BUILD_LIBMATH_FALSE='#'
8638 GLIBCPP_BUILD_LIBMATH_TRUE='#'
8639 GLIBCPP_BUILD_LIBMATH_FALSE=
8645 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
8646 echo "configure
:8647: checking
for mbstate_t
" >&5
8647 cat > conftest.$ac_ext <<EOF
8648 #line 8649 "configure
"
8649 #include "confdefs.h
"
8652 mbstate_t teststate;
8655 if { (eval echo configure:8656: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8659 echo "configure
: failed program was
:" >&5
8660 cat conftest.$ac_ext >&5
8665 echo "$ac_t""$have_mbstate_t" 1>&6
8666 if test x"$have_mbstate_t" = xyes; then
8667 cat >> confdefs.h <<\EOF
8668 #define HAVE_MBSTATE_T 1
8673 for ac_hdr in wchar.h
8675 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8676 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
8677 echo "configure
:8678: checking
for $ac_hdr" >&5
8678 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8679 echo $ac_n "(cached
) $ac_c" 1>&6
8681 cat > conftest.$ac_ext <<EOF
8682 #line 8683 "configure
"
8683 #include "confdefs.h
"
8686 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8687 { (eval echo configure:8688: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8688 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8689 if test -z "$ac_err"; then
8691 eval "ac_cv_header_
$ac_safe=yes"
8694 echo "configure
: failed program was
:" >&5
8695 cat conftest.$ac_ext >&5
8697 eval "ac_cv_header_
$ac_safe=no
"
8701 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8702 echo "$ac_t""yes" 1>&6
8703 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8704 cat >> confdefs.h <<EOF
8705 #define $ac_tr_hdr 1
8709 echo "$ac_t""no
" 1>&6
8714 for ac_hdr in wctype.h
8716 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8717 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
8718 echo "configure
:8719: checking
for $ac_hdr" >&5
8719 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8720 echo $ac_n "(cached
) $ac_c" 1>&6
8722 cat > conftest.$ac_ext <<EOF
8723 #line 8724 "configure
"
8724 #include "confdefs.h
"
8727 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8728 { (eval echo configure:8729: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8729 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8730 if test -z "$ac_err"; then
8732 eval "ac_cv_header_
$ac_safe=yes"
8735 echo "configure
: failed program was
:" >&5
8736 cat conftest.$ac_ext >&5
8738 eval "ac_cv_header_
$ac_safe=no
"
8742 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8743 echo "$ac_t""yes" 1>&6
8744 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8745 cat >> confdefs.h <<EOF
8746 #define $ac_tr_hdr 1
8750 echo "$ac_t""no
" 1>&6
8756 if test x"$ac_has_wchar_h" = xyes &&
8757 test x"$ac_has_wctype_h" = xyes &&
8758 test x"$enable_c_mbchar" != xno; then
8760 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
8761 echo "configure
:8762: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
8762 cat > conftest.$ac_ext <<EOF
8763 #line 8764 "configure
"
8764 #include "confdefs.h
"
8767 int i = WCHAR_MIN; int j = WCHAR_MAX;
8770 if { (eval echo configure:8771: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8772 has_wchar_minmax=yes
8774 echo "configure
: failed program was
:" >&5
8775 cat conftest.$ac_ext >&5
8780 echo "$ac_t""$has_wchar_minmax" 1>&6
8782 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
8783 echo "configure
:8784: checking
for WEOF
" >&5
8784 cat > conftest.$ac_ext <<EOF
8785 #line 8786 "configure
"
8786 #include "confdefs.h
"
8794 if { (eval echo configure:8795: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8798 echo "configure
: failed program was
:" >&5
8799 cat conftest.$ac_ext >&5
8804 echo "$ac_t""$has_weof" 1>&6
8807 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
8809 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8810 echo "configure
:8811: checking
for $ac_func" >&5
8811 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8812 echo $ac_n "(cached
) $ac_c" 1>&6
8814 cat > conftest.$ac_ext <<EOF
8815 #line 8816 "configure
"
8816 #include "confdefs.h
"
8817 /* System header to define __stub macros and hopefully few prototypes,
8818 which can conflict with char $ac_func(); below. */
8820 /* Override any gcc2 internal prototype to avoid an error. */
8821 /* We use char because int might match the return type of a gcc2
8822 builtin and then its argument prototype would still apply. */
8827 /* The GNU C library defines this for functions which it implements
8828 to always fail with ENOSYS. Some functions are actually named
8829 something starting with __ and the normal name is an alias. */
8830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8838 if { (eval echo configure:8839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8840 eval "ac_cv_func_
$ac_func=yes"
8842 echo "configure
: failed program was
:" >&5
8843 cat conftest.$ac_ext >&5
8845 eval "ac_cv_func_
$ac_func=no
"
8850 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8851 echo "$ac_t""yes" 1>&6
8852 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8853 cat >> confdefs.h <<EOF
8854 #define $ac_tr_func 1
8858 echo "$ac_t""no
" 1>&6
8865 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
8866 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
8867 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
8868 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
8869 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
8870 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
8872 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8873 echo "configure
:8874: checking
for $ac_func" >&5
8874 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8875 echo $ac_n "(cached
) $ac_c" 1>&6
8877 cat > conftest.$ac_ext <<EOF
8878 #line 8879 "configure
"
8879 #include "confdefs.h
"
8880 /* System header to define __stub macros and hopefully few prototypes,
8881 which can conflict with char $ac_func(); below. */
8883 /* Override any gcc2 internal prototype to avoid an error. */
8884 /* We use char because int might match the return type of a gcc2
8885 builtin and then its argument prototype would still apply. */
8890 /* The GNU C library defines this for functions which it implements
8891 to always fail with ENOSYS. Some functions are actually named
8892 something starting with __ and the normal name is an alias. */
8893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8901 if { (eval echo configure:8902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8903 eval "ac_cv_func_
$ac_func=yes"
8905 echo "configure
: failed program was
:" >&5
8906 cat conftest.$ac_ext >&5
8908 eval "ac_cv_func_
$ac_func=no
"
8913 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8914 echo "$ac_t""yes" 1>&6
8915 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8916 cat >> confdefs.h <<EOF
8917 #define $ac_tr_func 1
8921 echo "$ac_t""no
" 1>&6
8928 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
8929 echo "configure
:8930: checking
for ISO C99 wchar_t support
" >&5
8930 if test x"$has_weof" = xyes &&
8931 test x"$has_wchar_minmax" = xyes &&
8932 test x"$ac_wfuncs" = xyes; then
8933 ac_isoC99_wchar_t=yes
8935 ac_isoC99_wchar_t=no
8937 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
8939 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
8940 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
8941 echo "configure
:8942: checking
for iconv.h
" >&5
8942 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8943 echo $ac_n "(cached
) $ac_c" 1>&6
8945 cat > conftest.$ac_ext <<EOF
8946 #line 8947 "configure
"
8947 #include "confdefs.h
"
8950 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8951 { (eval echo configure:8952: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8952 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8953 if test -z "$ac_err"; then
8955 eval "ac_cv_header_
$ac_safe=yes"
8958 echo "configure
: failed program was
:" >&5
8959 cat conftest.$ac_ext >&5
8961 eval "ac_cv_header_
$ac_safe=no
"
8965 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8966 echo "$ac_t""yes" 1>&6
8969 echo "$ac_t""no
" 1>&6
8973 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
8974 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
8975 echo "configure
:8976: checking
for langinfo.h
" >&5
8976 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8977 echo $ac_n "(cached
) $ac_c" 1>&6
8979 cat > conftest.$ac_ext <<EOF
8980 #line 8981 "configure
"
8981 #include "confdefs.h
"
8982 #include <langinfo.h>
8984 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8985 { (eval echo configure:8986: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8986 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8987 if test -z "$ac_err"; then
8989 eval "ac_cv_header_
$ac_safe=yes"
8992 echo "configure
: failed program was
:" >&5
8993 cat conftest.$ac_ext >&5
8995 eval "ac_cv_header_
$ac_safe=no
"
8999 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9000 echo "$ac_t""yes" 1>&6
9001 ac_has_langinfo_h=yes
9003 echo "$ac_t""no
" 1>&6
9004 ac_has_langinfo_h=no
9008 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
9009 echo "configure
:9010: checking
for iconv in -liconv" >&5
9010 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
9011 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9012 echo $ac_n "(cached
) $ac_c" 1>&6
9014 ac_save_LIBS="$LIBS"
9015 LIBS="-liconv $LIBS"
9016 cat > conftest.$ac_ext <<EOF
9017 #line 9018 "configure
"
9018 #include "confdefs.h
"
9019 /* Override any gcc2 internal prototype to avoid an error. */
9020 /* We use char because int might match the return type of a gcc2
9021 builtin and then its argument prototype would still apply. */
9028 if { (eval echo configure:9029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9030 eval "ac_cv_lib_
$ac_lib_var=yes"
9032 echo "configure
: failed program was
:" >&5
9033 cat conftest.$ac_ext >&5
9035 eval "ac_cv_lib_
$ac_lib_var=no
"
9038 LIBS="$ac_save_LIBS"
9041 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9042 echo "$ac_t""yes" 1>&6
9045 echo "$ac_t""no
" 1>&6
9048 ac_save_LIBS="$LIBS"
9049 LIBS="$LIBS $libiconv"
9051 for ac_func in iconv_open iconv_close iconv nl_langinfo
9053 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9054 echo "configure
:9055: checking
for $ac_func" >&5
9055 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9056 echo $ac_n "(cached
) $ac_c" 1>&6
9058 cat > conftest.$ac_ext <<EOF
9059 #line 9060 "configure
"
9060 #include "confdefs.h
"
9061 /* System header to define __stub macros and hopefully few prototypes,
9062 which can conflict with char $ac_func(); below. */
9064 /* Override any gcc2 internal prototype to avoid an error. */
9065 /* We use char because int might match the return type of a gcc2
9066 builtin and then its argument prototype would still apply. */
9071 /* The GNU C library defines this for functions which it implements
9072 to always fail with ENOSYS. Some functions are actually named
9073 something starting with __ and the normal name is an alias. */
9074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9082 if { (eval echo configure:9083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9084 eval "ac_cv_func_
$ac_func=yes"
9086 echo "configure
: failed program was
:" >&5
9087 cat conftest.$ac_ext >&5
9089 eval "ac_cv_func_
$ac_func=no
"
9094 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9095 echo "$ac_t""yes" 1>&6
9096 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9097 cat >> confdefs.h <<EOF
9098 #define $ac_tr_func 1
9103 echo "$ac_t""no
" 1>&6
9109 LIBS="$ac_save_LIBS"
9111 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
9112 echo "configure
:9113: checking
for XPG2 wchar_t support
" >&5
9113 if test x"$ac_has_iconv_h" = xyes &&
9114 test x"$ac_has_langinfo_h" = xyes &&
9115 test x"$ac_XPG2funcs" = xyes; then
9120 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
9122 if test x"$ac_isoC99_wchar_t" = xyes &&
9123 test x"$ac_XPG2_wchar_t" = xyes; then
9124 cat >> confdefs.h <<\EOF
9125 #define _GLIBCPP_USE_WCHAR_T 1
9131 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
9132 echo "configure
:9133: checking
for enabled wchar_t specializations
" >&5
9133 echo "$ac_t""$enable_wchar_t" 1>&6
9136 if test "$enable_wchar_t" = yes; then
9137 GLIBCPP_TEST_WCHAR_T_TRUE=
9138 GLIBCPP_TEST_WCHAR_T_FALSE='#'
9140 GLIBCPP_TEST_WCHAR_T_TRUE='#'
9141 GLIBCPP_TEST_WCHAR_T_FALSE=
9144 os_include_dir="os
/mingw32
"
9147 os_include_dir="os
/windiss
"
9150 SECTION_FLAGS='-ffunction-sections -fdata-sections'
9153 # If we're not using GNU ld, then there's no point in even trying these
9154 # tests. Check for that first. We should have already tested for gld
9155 # by now (in libtool), but require it now just to be safe...
9156 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
9157 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
9160 # The name set by libtool depends on the version of libtool. Shame on us
9161 # for depending on an impl detail, but c'est la vie. Older versions used
9162 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
9163 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
9164 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
9165 # set (hence we're using an older libtool), then set it.
9166 if test x${with_gnu_ld+set} != xset; then
9167 if test x${ac_cv_prog_gnu_ld+set} != xset; then
9168 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
9171 with_gnu_ld=$ac_cv_prog_gnu_ld
9175 # Start by getting the version number. I think the libtool test already
9176 # does some of this, but throws away the result.
9178 ldver=`$LD --version 2>/dev/null | head -1 | \
9179 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
9181 glibcpp_gnu_ld_version=`echo $ldver | \
9182 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
9184 # Set --gc-sections.
9185 if test "$with_gnu_ld" = "notbroken
"; then
9186 # GNU ld it is! Joy and bunny rabbits!
9188 # All these tests are for C++; save the language and the compiler flags.
9189 # Need to do this so that g++ won't try to link in libstdc++
9190 ac_test_CFLAGS="${CFLAGS+set}"
9191 ac_save_CFLAGS="$CFLAGS"
9192 CFLAGS='-x c++ -Wl,--gc-sections'
9194 # Check for -Wl,--gc-sections
9195 # XXX This test is broken at the moment, as symbols required for
9196 # linking are now in libsupc++ (not built yet.....). In addition,
9197 # this test has cored on solaris in the past. In addition,
9198 # --gc-sections doesn't really work at the moment (keeps on discarding
9199 # used sections, first .eh_frame and now some of the glibc sections for
9200 # iconv). Bzzzzt. Thanks for playing, maybe next time.
9201 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
9202 echo "configure
:9203: checking
for ld that supports
-Wl,--gc-sections" >&5
9203 if test "$cross_compiling" = yes; then
9204 ac_sectionLDflags=yes
9206 cat > conftest.$ac_ext <<EOF
9207 #line 9208 "configure
"
9208 #include "confdefs.h
"
9218 if { (eval echo configure:9219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9220 ac_sectionLDflags=yes
9222 echo "configure
: failed program was
:" >&5
9223 cat conftest.$ac_ext >&5
9225 ac_sectionLDflags=no
9230 if test "$ac_test_CFLAGS" = set; then
9231 CFLAGS="$ac_save_CFLAGS"
9233 # this is the suspicious part
9236 if test "$ac_sectionLDflags" = "yes"; then
9237 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
9239 echo "$ac_t""$ac_sectionLDflags" 1>&6
9242 # Set linker optimization flags.
9243 if test x"$with_gnu_ld" = x"yes"; then
9244 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
9251 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
9252 echo "configure
:9253: checking
for main
in -lm" >&5
9253 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
9254 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9255 echo $ac_n "(cached
) $ac_c" 1>&6
9257 ac_save_LIBS="$LIBS"
9259 cat > conftest.$ac_ext <<EOF
9260 #line 9261 "configure
"
9261 #include "confdefs.h
"
9267 if { (eval echo configure:9268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9269 eval "ac_cv_lib_
$ac_lib_var=yes"
9271 echo "configure
: failed program was
:" >&5
9272 cat conftest.$ac_ext >&5
9274 eval "ac_cv_lib_
$ac_lib_var=no
"
9277 LIBS="$ac_save_LIBS"
9280 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9281 echo "$ac_t""yes" 1>&6
9282 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
9283 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
9284 cat >> confdefs.h <<EOF
9285 #define $ac_tr_lib 1
9291 echo "$ac_t""no
" 1>&6
9294 for ac_func in nan copysignf
9296 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9297 echo "configure
:9298: checking
for $ac_func" >&5
9298 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9299 echo $ac_n "(cached
) $ac_c" 1>&6
9301 cat > conftest.$ac_ext <<EOF
9302 #line 9303 "configure
"
9303 #include "confdefs.h
"
9304 /* System header to define __stub macros and hopefully few prototypes,
9305 which can conflict with char $ac_func(); below. */
9307 /* Override any gcc2 internal prototype to avoid an error. */
9308 /* We use char because int might match the return type of a gcc2
9309 builtin and then its argument prototype would still apply. */
9314 /* The GNU C library defines this for functions which it implements
9315 to always fail with ENOSYS. Some functions are actually named
9316 something starting with __ and the normal name is an alias. */
9317 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9325 if { (eval echo configure:9326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9327 eval "ac_cv_func_
$ac_func=yes"
9329 echo "configure
: failed program was
:" >&5
9330 cat conftest.$ac_ext >&5
9332 eval "ac_cv_func_
$ac_func=no
"
9337 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9338 echo "$ac_t""yes" 1>&6
9339 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9340 cat >> confdefs.h <<EOF
9341 #define $ac_tr_func 1
9345 echo "$ac_t""no
" 1>&6
9346 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
9351 for ac_func in __signbit
9353 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9354 echo "configure
:9355: checking
for $ac_func" >&5
9355 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9356 echo $ac_n "(cached
) $ac_c" 1>&6
9358 cat > conftest.$ac_ext <<EOF
9359 #line 9360 "configure
"
9360 #include "confdefs.h
"
9361 /* System header to define __stub macros and hopefully few prototypes,
9362 which can conflict with char $ac_func(); below. */
9364 /* Override any gcc2 internal prototype to avoid an error. */
9365 /* We use char because int might match the return type of a gcc2
9366 builtin and then its argument prototype would still apply. */
9371 /* The GNU C library defines this for functions which it implements
9372 to always fail with ENOSYS. Some functions are actually named
9373 something starting with __ and the normal name is an alias. */
9374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9382 if { (eval echo configure:9383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9384 eval "ac_cv_func_
$ac_func=yes"
9386 echo "configure
: failed program was
:" >&5
9387 cat conftest.$ac_ext >&5
9389 eval "ac_cv_func_
$ac_func=no
"
9394 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9395 echo "$ac_t""yes" 1>&6
9396 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9397 cat >> confdefs.h <<EOF
9398 #define $ac_tr_func 1
9402 echo "$ac_t""no
" 1>&6
9403 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
9407 for ac_func in __signbitf
9409 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9410 echo "configure
:9411: checking
for $ac_func" >&5
9411 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9412 echo $ac_n "(cached
) $ac_c" 1>&6
9414 cat > conftest.$ac_ext <<EOF
9415 #line 9416 "configure
"
9416 #include "confdefs.h
"
9417 /* System header to define __stub macros and hopefully few prototypes,
9418 which can conflict with char $ac_func(); below. */
9420 /* Override any gcc2 internal prototype to avoid an error. */
9421 /* We use char because int might match the return type of a gcc2
9422 builtin and then its argument prototype would still apply. */
9427 /* The GNU C library defines this for functions which it implements
9428 to always fail with ENOSYS. Some functions are actually named
9429 something starting with __ and the normal name is an alias. */
9430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9438 if { (eval echo configure:9439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9440 eval "ac_cv_func_
$ac_func=yes"
9442 echo "configure
: failed program was
:" >&5
9443 cat conftest.$ac_ext >&5
9445 eval "ac_cv_func_
$ac_func=no
"
9450 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9451 echo "$ac_t""yes" 1>&6
9452 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9453 cat >> confdefs.h <<EOF
9454 #define $ac_tr_func 1
9458 echo "$ac_t""no
" 1>&6
9459 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
9464 if test x$ac_cv_func_copysignl = x"yes"; then
9465 for ac_func in __signbitl
9467 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9468 echo "configure
:9469: checking
for $ac_func" >&5
9469 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9470 echo $ac_n "(cached
) $ac_c" 1>&6
9472 cat > conftest.$ac_ext <<EOF
9473 #line 9474 "configure
"
9474 #include "confdefs.h
"
9475 /* System header to define __stub macros and hopefully few prototypes,
9476 which can conflict with char $ac_func(); below. */
9478 /* Override any gcc2 internal prototype to avoid an error. */
9479 /* We use char because int might match the return type of a gcc2
9480 builtin and then its argument prototype would still apply. */
9485 /* The GNU C library defines this for functions which it implements
9486 to always fail with ENOSYS. Some functions are actually named
9487 something starting with __ and the normal name is an alias. */
9488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9496 if { (eval echo configure:9497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9498 eval "ac_cv_func_
$ac_func=yes"
9500 echo "configure
: failed program was
:" >&5
9501 cat conftest.$ac_ext >&5
9503 eval "ac_cv_func_
$ac_func=no
"
9508 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9509 echo "$ac_t""yes" 1>&6
9510 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9511 cat >> confdefs.h <<EOF
9512 #define $ac_tr_func 1
9516 echo "$ac_t""no
" 1>&6
9517 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
9523 if test -n "$LIBMATHOBJS"; then
9529 if test "$need_libmath" = yes; then
9530 GLIBCPP_BUILD_LIBMATH_TRUE=
9531 GLIBCPP_BUILD_LIBMATH_FALSE='#'
9533 GLIBCPP_BUILD_LIBMATH_TRUE='#'
9534 GLIBCPP_BUILD_LIBMATH_FALSE=
9540 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
9541 echo "configure
:9542: checking
for mbstate_t
" >&5
9542 cat > conftest.$ac_ext <<EOF
9543 #line 9544 "configure
"
9544 #include "confdefs.h
"
9547 mbstate_t teststate;
9550 if { (eval echo configure:9551: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9554 echo "configure
: failed program was
:" >&5
9555 cat conftest.$ac_ext >&5
9560 echo "$ac_t""$have_mbstate_t" 1>&6
9561 if test x"$have_mbstate_t" = xyes; then
9562 cat >> confdefs.h <<\EOF
9563 #define HAVE_MBSTATE_T 1
9568 for ac_hdr in wchar.h
9570 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9571 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
9572 echo "configure
:9573: checking
for $ac_hdr" >&5
9573 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9574 echo $ac_n "(cached
) $ac_c" 1>&6
9576 cat > conftest.$ac_ext <<EOF
9577 #line 9578 "configure
"
9578 #include "confdefs.h
"
9581 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
9582 { (eval echo configure:9583: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9583 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
9584 if test -z "$ac_err"; then
9586 eval "ac_cv_header_
$ac_safe=yes"
9589 echo "configure
: failed program was
:" >&5
9590 cat conftest.$ac_ext >&5
9592 eval "ac_cv_header_
$ac_safe=no
"
9596 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9597 echo "$ac_t""yes" 1>&6
9598 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9599 cat >> confdefs.h <<EOF
9600 #define $ac_tr_hdr 1
9604 echo "$ac_t""no
" 1>&6
9609 for ac_hdr in wctype.h
9611 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9612 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
9613 echo "configure
:9614: checking
for $ac_hdr" >&5
9614 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9615 echo $ac_n "(cached
) $ac_c" 1>&6
9617 cat > conftest.$ac_ext <<EOF
9618 #line 9619 "configure
"
9619 #include "confdefs.h
"
9622 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
9623 { (eval echo configure:9624: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9624 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
9625 if test -z "$ac_err"; then
9627 eval "ac_cv_header_
$ac_safe=yes"
9630 echo "configure
: failed program was
:" >&5
9631 cat conftest.$ac_ext >&5
9633 eval "ac_cv_header_
$ac_safe=no
"
9637 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9638 echo "$ac_t""yes" 1>&6
9639 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9640 cat >> confdefs.h <<EOF
9641 #define $ac_tr_hdr 1
9645 echo "$ac_t""no
" 1>&6
9651 if test x"$ac_has_wchar_h" = xyes &&
9652 test x"$ac_has_wctype_h" = xyes &&
9653 test x"$enable_c_mbchar" != xno; then
9655 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
9656 echo "configure
:9657: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
9657 cat > conftest.$ac_ext <<EOF
9658 #line 9659 "configure
"
9659 #include "confdefs.h
"
9662 int i = WCHAR_MIN; int j = WCHAR_MAX;
9665 if { (eval echo configure:9666: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9667 has_wchar_minmax=yes
9669 echo "configure
: failed program was
:" >&5
9670 cat conftest.$ac_ext >&5
9675 echo "$ac_t""$has_wchar_minmax" 1>&6
9677 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
9678 echo "configure
:9679: checking
for WEOF
" >&5
9679 cat > conftest.$ac_ext <<EOF
9680 #line 9681 "configure
"
9681 #include "confdefs.h
"
9689 if { (eval echo configure:9690: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9693 echo "configure
: failed program was
:" >&5
9694 cat conftest.$ac_ext >&5
9699 echo "$ac_t""$has_weof" 1>&6
9702 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
9704 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9705 echo "configure
:9706: checking
for $ac_func" >&5
9706 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9707 echo $ac_n "(cached
) $ac_c" 1>&6
9709 cat > conftest.$ac_ext <<EOF
9710 #line 9711 "configure
"
9711 #include "confdefs.h
"
9712 /* System header to define __stub macros and hopefully few prototypes,
9713 which can conflict with char $ac_func(); below. */
9715 /* Override any gcc2 internal prototype to avoid an error. */
9716 /* We use char because int might match the return type of a gcc2
9717 builtin and then its argument prototype would still apply. */
9722 /* The GNU C library defines this for functions which it implements
9723 to always fail with ENOSYS. Some functions are actually named
9724 something starting with __ and the normal name is an alias. */
9725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9733 if { (eval echo configure:9734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9735 eval "ac_cv_func_
$ac_func=yes"
9737 echo "configure
: failed program was
:" >&5
9738 cat conftest.$ac_ext >&5
9740 eval "ac_cv_func_
$ac_func=no
"
9745 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9746 echo "$ac_t""yes" 1>&6
9747 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9748 cat >> confdefs.h <<EOF
9749 #define $ac_tr_func 1
9753 echo "$ac_t""no
" 1>&6
9760 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
9761 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
9762 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
9763 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
9764 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
9765 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
9767 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9768 echo "configure
:9769: checking
for $ac_func" >&5
9769 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9770 echo $ac_n "(cached
) $ac_c" 1>&6
9772 cat > conftest.$ac_ext <<EOF
9773 #line 9774 "configure
"
9774 #include "confdefs.h
"
9775 /* System header to define __stub macros and hopefully few prototypes,
9776 which can conflict with char $ac_func(); below. */
9778 /* Override any gcc2 internal prototype to avoid an error. */
9779 /* We use char because int might match the return type of a gcc2
9780 builtin and then its argument prototype would still apply. */
9785 /* The GNU C library defines this for functions which it implements
9786 to always fail with ENOSYS. Some functions are actually named
9787 something starting with __ and the normal name is an alias. */
9788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9796 if { (eval echo configure:9797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9798 eval "ac_cv_func_
$ac_func=yes"
9800 echo "configure
: failed program was
:" >&5
9801 cat conftest.$ac_ext >&5
9803 eval "ac_cv_func_
$ac_func=no
"
9808 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9809 echo "$ac_t""yes" 1>&6
9810 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9811 cat >> confdefs.h <<EOF
9812 #define $ac_tr_func 1
9816 echo "$ac_t""no
" 1>&6
9823 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
9824 echo "configure
:9825: checking
for ISO C99 wchar_t support
" >&5
9825 if test x"$has_weof" = xyes &&
9826 test x"$has_wchar_minmax" = xyes &&
9827 test x"$ac_wfuncs" = xyes; then
9828 ac_isoC99_wchar_t=yes
9830 ac_isoC99_wchar_t=no
9832 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
9834 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
9835 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
9836 echo "configure
:9837: checking
for iconv.h
" >&5
9837 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9838 echo $ac_n "(cached
) $ac_c" 1>&6
9840 cat > conftest.$ac_ext <<EOF
9841 #line 9842 "configure
"
9842 #include "confdefs.h
"
9845 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
9846 { (eval echo configure:9847: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9847 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
9848 if test -z "$ac_err"; then
9850 eval "ac_cv_header_
$ac_safe=yes"
9853 echo "configure
: failed program was
:" >&5
9854 cat conftest.$ac_ext >&5
9856 eval "ac_cv_header_
$ac_safe=no
"
9860 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9861 echo "$ac_t""yes" 1>&6
9864 echo "$ac_t""no
" 1>&6
9868 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
9869 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
9870 echo "configure
:9871: checking
for langinfo.h
" >&5
9871 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9872 echo $ac_n "(cached
) $ac_c" 1>&6
9874 cat > conftest.$ac_ext <<EOF
9875 #line 9876 "configure
"
9876 #include "confdefs.h
"
9877 #include <langinfo.h>
9879 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
9880 { (eval echo configure:9881: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9881 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
9882 if test -z "$ac_err"; then
9884 eval "ac_cv_header_
$ac_safe=yes"
9887 echo "configure
: failed program was
:" >&5
9888 cat conftest.$ac_ext >&5
9890 eval "ac_cv_header_
$ac_safe=no
"
9894 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9895 echo "$ac_t""yes" 1>&6
9896 ac_has_langinfo_h=yes
9898 echo "$ac_t""no
" 1>&6
9899 ac_has_langinfo_h=no
9903 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
9904 echo "configure
:9905: checking
for iconv in -liconv" >&5
9905 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
9906 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9907 echo $ac_n "(cached
) $ac_c" 1>&6
9909 ac_save_LIBS="$LIBS"
9910 LIBS="-liconv $LIBS"
9911 cat > conftest.$ac_ext <<EOF
9912 #line 9913 "configure
"
9913 #include "confdefs.h
"
9914 /* Override any gcc2 internal prototype to avoid an error. */
9915 /* We use char because int might match the return type of a gcc2
9916 builtin and then its argument prototype would still apply. */
9923 if { (eval echo configure:9924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9925 eval "ac_cv_lib_
$ac_lib_var=yes"
9927 echo "configure
: failed program was
:" >&5
9928 cat conftest.$ac_ext >&5
9930 eval "ac_cv_lib_
$ac_lib_var=no
"
9933 LIBS="$ac_save_LIBS"
9936 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9937 echo "$ac_t""yes" 1>&6
9940 echo "$ac_t""no
" 1>&6
9943 ac_save_LIBS="$LIBS"
9944 LIBS="$LIBS $libiconv"
9946 for ac_func in iconv_open iconv_close iconv nl_langinfo
9948 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9949 echo "configure
:9950: checking
for $ac_func" >&5
9950 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9951 echo $ac_n "(cached
) $ac_c" 1>&6
9953 cat > conftest.$ac_ext <<EOF
9954 #line 9955 "configure
"
9955 #include "confdefs.h
"
9956 /* System header to define __stub macros and hopefully few prototypes,
9957 which can conflict with char $ac_func(); below. */
9959 /* Override any gcc2 internal prototype to avoid an error. */
9960 /* We use char because int might match the return type of a gcc2
9961 builtin and then its argument prototype would still apply. */
9966 /* The GNU C library defines this for functions which it implements
9967 to always fail with ENOSYS. Some functions are actually named
9968 something starting with __ and the normal name is an alias. */
9969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9977 if { (eval echo configure:9978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9979 eval "ac_cv_func_
$ac_func=yes"
9981 echo "configure
: failed program was
:" >&5
9982 cat conftest.$ac_ext >&5
9984 eval "ac_cv_func_
$ac_func=no
"
9989 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9990 echo "$ac_t""yes" 1>&6
9991 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9992 cat >> confdefs.h <<EOF
9993 #define $ac_tr_func 1
9998 echo "$ac_t""no
" 1>&6
10004 LIBS="$ac_save_LIBS"
10006 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
10007 echo "configure
:10008: checking
for XPG2 wchar_t support
" >&5
10008 if test x"$ac_has_iconv_h" = xyes &&
10009 test x"$ac_has_langinfo_h" = xyes &&
10010 test x"$ac_XPG2funcs" = xyes; then
10011 ac_XPG2_wchar_t=yes
10015 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
10017 if test x"$ac_isoC99_wchar_t" = xyes &&
10018 test x"$ac_XPG2_wchar_t" = xyes; then
10019 cat >> confdefs.h <<\EOF
10020 #define _GLIBCPP_USE_WCHAR_T 1
10026 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
10027 echo "configure
:10028: checking
for enabled wchar_t specializations
" >&5
10028 echo "$ac_t""$enable_wchar_t" 1>&6
10031 if test "$enable_wchar_t" = yes; then
10032 GLIBCPP_TEST_WCHAR_T_TRUE=
10033 GLIBCPP_TEST_WCHAR_T_FALSE='#'
10035 GLIBCPP_TEST_WCHAR_T_TRUE='#'
10036 GLIBCPP_TEST_WCHAR_T_FALSE=
10039 os_include_dir="os
/qnx
/qnx6.1
"
10040 cat >> confdefs.h <<\EOF
10041 #define HAVE_COSF 1
10044 cat >> confdefs.h <<\EOF
10045 #define HAVE_COSL 1
10048 cat >> confdefs.h <<\EOF
10049 #define HAVE_COSHF 1
10052 cat >> confdefs.h <<\EOF
10053 #define HAVE_COSHL 1
10056 cat >> confdefs.h <<\EOF
10057 #define HAVE_LOGF 1
10060 cat >> confdefs.h <<\EOF
10061 #define HAVE_LOGL 1
10064 cat >> confdefs.h <<\EOF
10065 #define HAVE_LOG10F 1
10068 cat >> confdefs.h <<\EOF
10069 #define HAVE_LOG10L 1
10072 cat >> confdefs.h <<\EOF
10073 #define HAVE_SINF 1
10076 cat >> confdefs.h <<\EOF
10077 #define HAVE_SINL 1
10080 cat >> confdefs.h <<\EOF
10081 #define HAVE_SINHF 1
10084 cat >> confdefs.h <<\EOF
10085 #define HAVE_SINHL 1
10090 os_include_dir="os
/newlib
"
10091 cat >> confdefs.h <<\EOF
10092 #define HAVE_HYPOT 1
10102 cat >> confdefs.h <<\EOF
10103 #define HAVE_ACOSF 1
10106 cat >> confdefs.h <<\EOF
10107 #define HAVE_ASINF 1
10110 cat >> confdefs.h <<\EOF
10111 #define HAVE_ATAN2F 1
10114 cat >> confdefs.h <<\EOF
10115 #define HAVE_ATANF 1
10118 cat >> confdefs.h <<\EOF
10119 #define HAVE_CEILF 1
10122 cat >> confdefs.h <<\EOF
10123 #define HAVE_COPYSIGN 1
10126 cat >> confdefs.h <<\EOF
10127 #define HAVE_COPYSIGNF 1
10130 cat >> confdefs.h <<\EOF
10131 #define HAVE_COSF 1
10134 cat >> confdefs.h <<\EOF
10135 #define HAVE_COSHF 1
10138 cat >> confdefs.h <<\EOF
10139 #define HAVE_EXPF 1
10142 cat >> confdefs.h <<\EOF
10143 #define HAVE_FABSF 1
10146 cat >> confdefs.h <<\EOF
10147 #define HAVE_FLOORF 1
10150 cat >> confdefs.h <<\EOF
10151 #define HAVE_FMODF 1
10154 cat >> confdefs.h <<\EOF
10155 #define HAVE_FREXPF 1
10158 cat >> confdefs.h <<\EOF
10159 #define HAVE_LDEXPF 1
10162 cat >> confdefs.h <<\EOF
10163 #define HAVE_LOG10F 1
10166 cat >> confdefs.h <<\EOF
10167 #define HAVE_LOGF 1
10170 cat >> confdefs.h <<\EOF
10171 #define HAVE_MODFF 1
10174 cat >> confdefs.h <<\EOF
10175 #define HAVE_POWF 1
10178 cat >> confdefs.h <<\EOF
10179 #define HAVE_SINF 1
10182 cat >> confdefs.h <<\EOF
10183 #define HAVE_SINHF 1
10186 cat >> confdefs.h <<\EOF
10187 #define HAVE_SQRTF 1
10190 cat >> confdefs.h <<\EOF
10191 #define HAVE_TANF 1
10194 cat >> confdefs.h <<\EOF
10195 #define HAVE_TANHF 1
10200 # Must replicate generic section since we don't have strtof or strtold.
10201 cat >> confdefs.h <<\EOF
10202 #define HAVE_MMAP 1
10205 cat >> confdefs.h <<\EOF
10206 #define HAVE_ACOSF 1
10209 cat >> confdefs.h <<\EOF
10210 #define HAVE_ASINF 1
10213 cat >> confdefs.h <<\EOF
10214 #define HAVE_ATAN2F 1
10217 cat >> confdefs.h <<\EOF
10218 #define HAVE_ATANF 1
10221 cat >> confdefs.h <<\EOF
10222 #define HAVE_CEILF 1
10225 cat >> confdefs.h <<\EOF
10226 #define HAVE_COPYSIGN 1
10229 cat >> confdefs.h <<\EOF
10230 #define HAVE_COPYSIGNF 1
10233 cat >> confdefs.h <<\EOF
10234 #define HAVE_COSF 1
10237 cat >> confdefs.h <<\EOF
10238 #define HAVE_COSHF 1
10241 cat >> confdefs.h <<\EOF
10242 #define HAVE_EXPF 1
10245 cat >> confdefs.h <<\EOF
10246 #define HAVE_FABSF 1
10249 cat >> confdefs.h <<\EOF
10250 #define HAVE_FLOORF 1
10253 cat >> confdefs.h <<\EOF
10254 #define HAVE_FMODF 1
10257 cat >> confdefs.h <<\EOF
10258 #define HAVE_FREXPF 1
10261 cat >> confdefs.h <<\EOF
10262 #define HAVE_LDEXPF 1
10265 cat >> confdefs.h <<\EOF
10266 #define HAVE_LOG10F 1
10269 cat >> confdefs.h <<\EOF
10270 #define HAVE_LOGF 1
10273 cat >> confdefs.h <<\EOF
10274 #define HAVE_MODFF 1
10277 cat >> confdefs.h <<\EOF
10278 #define HAVE_POWF 1
10281 cat >> confdefs.h <<\EOF
10282 #define HAVE_SINF 1
10285 cat >> confdefs.h <<\EOF
10286 #define HAVE_SINHF 1
10289 cat >> confdefs.h <<\EOF
10290 #define HAVE_SQRTF 1
10293 cat >> confdefs.h <<\EOF
10294 #define HAVE_TANF 1
10297 cat >> confdefs.h <<\EOF
10298 #define HAVE_TANHF 1
10303 # GLIBCPP_CHECK_STDLIB_SUPPORT
10304 cat >> confdefs.h <<\EOF
10305 #define HAVE_STRTOF 1
10308 cat >> confdefs.h <<\EOF
10309 #define HAVE_STRTOLD 1
10313 cat >> confdefs.h <<\EOF
10314 #define HAVE_MMAP 1
10318 cat >> confdefs.h <<\EOF
10319 #define HAVE_ACOSF 1
10322 cat >> confdefs.h <<\EOF
10323 #define HAVE_ASINF 1
10326 cat >> confdefs.h <<\EOF
10327 #define HAVE_ATAN2F 1
10330 cat >> confdefs.h <<\EOF
10331 #define HAVE_ATANF 1
10334 cat >> confdefs.h <<\EOF
10335 #define HAVE_CEILF 1
10338 cat >> confdefs.h <<\EOF
10339 #define HAVE_COPYSIGN 1
10342 cat >> confdefs.h <<\EOF
10343 #define HAVE_COPYSIGNF 1
10346 cat >> confdefs.h <<\EOF
10347 #define HAVE_COSF 1
10350 cat >> confdefs.h <<\EOF
10351 #define HAVE_COSHF 1
10354 cat >> confdefs.h <<\EOF
10355 #define HAVE_EXPF 1
10358 cat >> confdefs.h <<\EOF
10359 #define HAVE_FABSF 1
10362 cat >> confdefs.h <<\EOF
10363 #define HAVE_FLOORF 1
10366 cat >> confdefs.h <<\EOF
10367 #define HAVE_FMODF 1
10370 cat >> confdefs.h <<\EOF
10371 #define HAVE_FREXPF 1
10374 cat >> confdefs.h <<\EOF
10375 #define HAVE_LDEXPF 1
10378 cat >> confdefs.h <<\EOF
10379 #define HAVE_LOG10F 1
10382 cat >> confdefs.h <<\EOF
10383 #define HAVE_LOGF 1
10386 cat >> confdefs.h <<\EOF
10387 #define HAVE_MODFF 1
10390 cat >> confdefs.h <<\EOF
10391 #define HAVE_POWF 1
10394 cat >> confdefs.h <<\EOF
10395 #define HAVE_SINF 1
10398 cat >> confdefs.h <<\EOF
10399 #define HAVE_SINHF 1
10402 cat >> confdefs.h <<\EOF
10403 #define HAVE_SQRTF 1
10406 cat >> confdefs.h <<\EOF
10407 #define HAVE_TANF 1
10410 cat >> confdefs.h <<\EOF
10411 #define HAVE_TANHF 1
10417 # At some point, we should differentiate between architectures
10418 # like x86, which have long double versions, and alpha/powerpc/etc.,
10419 # which don't. For the time being, punt.
10420 if test x"long_double_math_on_this_cpu
" = x"yes"; then
10421 cat >> confdefs.h <<\EOF
10422 #define HAVE_ACOSL 1
10425 cat >> confdefs.h <<\EOF
10426 #define HAVE_ASINL 1
10429 cat >> confdefs.h <<\EOF
10430 #define HAVE_ATAN2L 1
10433 cat >> confdefs.h <<\EOF
10434 #define HAVE_ATANL 1
10437 cat >> confdefs.h <<\EOF
10438 #define HAVE_CEILL 1
10441 cat >> confdefs.h <<\EOF
10442 #define HAVE_COPYSIGNL 1
10445 cat >> confdefs.h <<\EOF
10446 #define HAVE_COSL 1
10449 cat >> confdefs.h <<\EOF
10450 #define HAVE_COSHL 1
10453 cat >> confdefs.h <<\EOF
10454 #define HAVE_EXPL 1
10457 cat >> confdefs.h <<\EOF
10458 #define HAVE_FABSL 1
10461 cat >> confdefs.h <<\EOF
10462 #define HAVE_FLOORL 1
10465 cat >> confdefs.h <<\EOF
10466 #define HAVE_FMODL 1
10469 cat >> confdefs.h <<\EOF
10470 #define HAVE_FREXPL 1
10473 cat >> confdefs.h <<\EOF
10474 #define HAVE_LDEXPL 1
10477 cat >> confdefs.h <<\EOF
10478 #define HAVE_LOG10L 1
10481 cat >> confdefs.h <<\EOF
10482 #define HAVE_LOGL 1
10485 cat >> confdefs.h <<\EOF
10486 #define HAVE_MODFL 1
10489 cat >> confdefs.h <<\EOF
10490 #define HAVE_POWL 1
10493 cat >> confdefs.h <<\EOF
10494 #define HAVE_SINCOSL 1
10497 cat >> confdefs.h <<\EOF
10498 #define HAVE_SINL 1
10501 cat >> confdefs.h <<\EOF
10502 #define HAVE_SINHL 1
10505 cat >> confdefs.h <<\EOF
10506 #define HAVE_SQRTL 1
10509 cat >> confdefs.h <<\EOF
10510 #define HAVE_TANL 1
10513 cat >> confdefs.h <<\EOF
10514 #define HAVE_TANHL 1
10521 # We are being configured natively. We can do more elaborate tests
10522 # that include AC_TRY_COMPILE now, as the linker is assumed to be
10524 GLIBCPP_IS_CROSS_COMPILING=0
10527 # Check for available headers.
10528 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
10529 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
10532 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10533 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
10534 echo "configure
:10535: checking
for $ac_hdr" >&5
10535 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10536 echo $ac_n "(cached
) $ac_c" 1>&6
10538 cat > conftest.$ac_ext <<EOF
10539 #line 10540 "configure
"
10540 #include "confdefs.h
"
10543 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
10544 { (eval echo configure:10545: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10545 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
10546 if test -z "$ac_err"; then
10548 eval "ac_cv_header_
$ac_safe=yes"
10551 echo "configure
: failed program was
:" >&5
10552 cat conftest.$ac_ext >&5
10554 eval "ac_cv_header_
$ac_safe=no
"
10558 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10559 echo "$ac_t""yes" 1>&6
10560 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10561 cat >> confdefs.h <<EOF
10562 #define $ac_tr_hdr 1
10566 echo "$ac_t""no
" 1>&6
10572 # All these tests are for C++; save the language and the compiler flags.
10573 # The CXXFLAGS thing is suspicious, but based on similar bits previously
10574 # found in GLIBCPP_CONFIGURE.
10577 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10578 ac_cpp='$CXXCPP $CPPFLAGS'
10579 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10580 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10581 cross_compiling=$ac_cv_prog_cxx_cross
10583 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10584 ac_save_CXXFLAGS="$CXXFLAGS"
10586 # Check for maintainer-mode bits.
10587 if test x"$USE_MAINTAINER_MODE" = xno; then
10593 # Check for -ffunction-sections -fdata-sections
10594 echo $ac_n "checking
for g
++ that supports
-ffunction-sections -fdata-sections""...
$ac_c" 1>&6
10595 echo "configure
:10596: checking
for g
++ that supports
-ffunction-sections -fdata-sections" >&5
10596 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
10597 cat > conftest.$ac_ext <<EOF
10598 #line 10599 "configure
"
10599 #include "confdefs.h
"
10606 if { (eval echo configure:10607: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10610 echo "configure
: failed program was
:" >&5
10611 cat conftest.$ac_ext >&5
10616 if test "$ac_test_CXXFLAGS" = set; then
10617 CXXFLAGS="$ac_save_CXXFLAGS"
10619 # this is the suspicious part
10622 if test x"$ac_fdsections" = x"yes"; then
10623 SECTION_FLAGS='-ffunction-sections -fdata-sections'
10625 echo "$ac_t""$ac_fdsections" 1>&6
10628 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10629 ac_cpp='$CPP $CPPFLAGS'
10630 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10631 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10632 cross_compiling=$ac_cv_prog_cc_cross
10638 # If we're not using GNU ld, then there's no point in even trying these
10639 # tests. Check for that first. We should have already tested for gld
10640 # by now (in libtool), but require it now just to be safe...
10641 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
10642 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
10645 # The name set by libtool depends on the version of libtool. Shame on us
10646 # for depending on an impl detail, but c'est la vie. Older versions used
10647 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
10648 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
10649 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
10650 # set (hence we're using an older libtool), then set it.
10651 if test x${with_gnu_ld+set} != xset; then
10652 if test x${ac_cv_prog_gnu_ld+set} != xset; then
10653 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
10656 with_gnu_ld=$ac_cv_prog_gnu_ld
10660 # Start by getting the version number. I think the libtool test already
10661 # does some of this, but throws away the result.
10663 ldver=`$LD --version 2>/dev/null | head -1 | \
10664 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
10666 glibcpp_gnu_ld_version=`echo $ldver | \
10667 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
10669 # Set --gc-sections.
10670 if test "$with_gnu_ld" = "notbroken
"; then
10671 # GNU ld it is! Joy and bunny rabbits!
10673 # All these tests are for C++; save the language and the compiler flags.
10674 # Need to do this so that g++ won't try to link in libstdc++
10675 ac_test_CFLAGS="${CFLAGS+set}"
10676 ac_save_CFLAGS="$CFLAGS"
10677 CFLAGS='-x c++ -Wl,--gc-sections'
10679 # Check for -Wl,--gc-sections
10680 # XXX This test is broken at the moment, as symbols required for
10681 # linking are now in libsupc++ (not built yet.....). In addition,
10682 # this test has cored on solaris in the past. In addition,
10683 # --gc-sections doesn't really work at the moment (keeps on discarding
10684 # used sections, first .eh_frame and now some of the glibc sections for
10685 # iconv). Bzzzzt. Thanks for playing, maybe next time.
10686 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
10687 echo "configure
:10688: checking
for ld that supports
-Wl,--gc-sections" >&5
10688 if test "$cross_compiling" = yes; then
10689 ac_sectionLDflags=yes
10691 cat > conftest.$ac_ext <<EOF
10692 #line 10693 "configure
"
10693 #include "confdefs.h
"
10703 if { (eval echo configure:10704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10705 ac_sectionLDflags=yes
10707 echo "configure
: failed program was
:" >&5
10708 cat conftest.$ac_ext >&5
10710 ac_sectionLDflags=no
10715 if test "$ac_test_CFLAGS" = set; then
10716 CFLAGS="$ac_save_CFLAGS"
10718 # this is the suspicious part
10721 if test "$ac_sectionLDflags" = "yes"; then
10722 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
10724 echo "$ac_t""$ac_sectionLDflags" 1>&6
10727 # Set linker optimization flags.
10728 if test x"$with_gnu_ld" = x"yes"; then
10729 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
10736 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10737 ac_save_CXXFLAGS="$CXXFLAGS"
10738 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
10740 echo $ac_n "checking
for sin
in -lm""...
$ac_c" 1>&6
10741 echo "configure
:10742: checking
for sin
in -lm" >&5
10742 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
10743 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10744 echo $ac_n "(cached
) $ac_c" 1>&6
10746 ac_save_LIBS="$LIBS"
10748 cat > conftest.$ac_ext <<EOF
10749 #line 10750 "configure
"
10750 #include "confdefs.h
"
10751 /* Override any gcc2 internal prototype to avoid an error. */
10752 /* We use char because int might match the return type of a gcc2
10753 builtin and then its argument prototype would still apply. */
10760 if { (eval echo configure:10761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10762 eval "ac_cv_lib_
$ac_lib_var=yes"
10764 echo "configure
: failed program was
:" >&5
10765 cat conftest.$ac_ext >&5
10767 eval "ac_cv_lib_
$ac_lib_var=no
"
10770 LIBS="$ac_save_LIBS"
10773 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10774 echo "$ac_t""yes" 1>&6
10777 echo "$ac_t""no
" 1>&6
10780 ac_save_LIBS="$LIBS"
10785 echo $ac_n "checking
for isinf declaration
""...
$ac_c" 1>&6
10786 echo "configure
:10787: checking
for isinf declaration
" >&5
10787 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
10788 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
10789 echo $ac_n "(cached
) $ac_c" 1>&6
10794 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10795 ac_cpp='$CXXCPP $CPPFLAGS'
10796 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10797 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10798 cross_compiling=$ac_cv_prog_cxx_cross
10800 cat > conftest.$ac_ext <<EOF
10801 #line 10802 "configure
"
10802 #include "confdefs.h
"
10804 #ifdef HAVE_IEEEFP_H
10805 #include <ieeefp.h>
10812 if { (eval echo configure:10813: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10814 glibcpp_cv_func_isinf_use=yes
10816 echo "configure
: failed program was
:" >&5
10817 cat conftest.$ac_ext >&5
10819 glibcpp_cv_func_isinf_use=no
10823 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10824 ac_cpp='$CPP $CPPFLAGS'
10825 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10826 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10827 cross_compiling=$ac_cv_prog_cc_cross
10833 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
10835 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
10836 for ac_func in isinf
10838 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10839 echo "configure
:10840: checking
for $ac_func" >&5
10840 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10841 echo $ac_n "(cached
) $ac_c" 1>&6
10843 cat > conftest.$ac_ext <<EOF
10844 #line 10845 "configure
"
10845 #include "confdefs.h
"
10846 /* System header to define __stub macros and hopefully few prototypes,
10847 which can conflict with char $ac_func(); below. */
10848 #include <assert.h>
10849 /* Override any gcc2 internal prototype to avoid an error. */
10850 /* We use char because int might match the return type of a gcc2
10851 builtin and then its argument prototype would still apply. */
10856 /* The GNU C library defines this for functions which it implements
10857 to always fail with ENOSYS. Some functions are actually named
10858 something starting with __ and the normal name is an alias. */
10859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10867 if { (eval echo configure:10868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10869 eval "ac_cv_func_
$ac_func=yes"
10871 echo "configure
: failed program was
:" >&5
10872 cat conftest.$ac_ext >&5
10874 eval "ac_cv_func_
$ac_func=no
"
10879 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10880 echo "$ac_t""yes" 1>&6
10881 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10882 cat >> confdefs.h <<EOF
10883 #define $ac_tr_func 1
10887 echo "$ac_t""no
" 1>&6
10893 echo $ac_n "checking
for _isinf declaration
""...
$ac_c" 1>&6
10894 echo "configure
:10895: checking
for _isinf declaration
" >&5
10895 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
10896 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
10897 echo $ac_n "(cached
) $ac_c" 1>&6
10902 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10903 ac_cpp='$CXXCPP $CPPFLAGS'
10904 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10905 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10906 cross_compiling=$ac_cv_prog_cxx_cross
10908 cat > conftest.$ac_ext <<EOF
10909 #line 10910 "configure
"
10910 #include "confdefs.h
"
10912 #ifdef HAVE_IEEEFP_H
10913 #include <ieeefp.h>
10920 if { (eval echo configure:10921: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10922 glibcpp_cv_func__isinf_use=yes
10924 echo "configure
: failed program was
:" >&5
10925 cat conftest.$ac_ext >&5
10927 glibcpp_cv_func__isinf_use=no
10931 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10932 ac_cpp='$CPP $CPPFLAGS'
10933 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10934 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10935 cross_compiling=$ac_cv_prog_cc_cross
10941 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
10943 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
10944 for ac_func in _isinf
10946 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10947 echo "configure
:10948: checking
for $ac_func" >&5
10948 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10949 echo $ac_n "(cached
) $ac_c" 1>&6
10951 cat > conftest.$ac_ext <<EOF
10952 #line 10953 "configure
"
10953 #include "confdefs.h
"
10954 /* System header to define __stub macros and hopefully few prototypes,
10955 which can conflict with char $ac_func(); below. */
10956 #include <assert.h>
10957 /* Override any gcc2 internal prototype to avoid an error. */
10958 /* We use char because int might match the return type of a gcc2
10959 builtin and then its argument prototype would still apply. */
10964 /* The GNU C library defines this for functions which it implements
10965 to always fail with ENOSYS. Some functions are actually named
10966 something starting with __ and the normal name is an alias. */
10967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10975 if { (eval echo configure:10976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10977 eval "ac_cv_func_
$ac_func=yes"
10979 echo "configure
: failed program was
:" >&5
10980 cat conftest.$ac_ext >&5
10982 eval "ac_cv_func_
$ac_func=no
"
10987 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10988 echo "$ac_t""yes" 1>&6
10989 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10990 cat >> confdefs.h <<EOF
10991 #define $ac_tr_func 1
10995 echo "$ac_t""no
" 1>&6
11004 echo $ac_n "checking
for isnan declaration
""...
$ac_c" 1>&6
11005 echo "configure
:11006: checking
for isnan declaration
" >&5
11006 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
11007 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
11008 echo $ac_n "(cached
) $ac_c" 1>&6
11013 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11014 ac_cpp='$CXXCPP $CPPFLAGS'
11015 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11016 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11017 cross_compiling=$ac_cv_prog_cxx_cross
11019 cat > conftest.$ac_ext <<EOF
11020 #line 11021 "configure
"
11021 #include "confdefs.h
"
11023 #ifdef HAVE_IEEEFP_H
11024 #include <ieeefp.h>
11031 if { (eval echo configure:11032: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11033 glibcpp_cv_func_isnan_use=yes
11035 echo "configure
: failed program was
:" >&5
11036 cat conftest.$ac_ext >&5
11038 glibcpp_cv_func_isnan_use=no
11042 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11043 ac_cpp='$CPP $CPPFLAGS'
11044 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11045 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11046 cross_compiling=$ac_cv_prog_cc_cross
11052 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
11054 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
11055 for ac_func in isnan
11057 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11058 echo "configure
:11059: checking
for $ac_func" >&5
11059 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11060 echo $ac_n "(cached
) $ac_c" 1>&6
11062 cat > conftest.$ac_ext <<EOF
11063 #line 11064 "configure
"
11064 #include "confdefs.h
"
11065 /* System header to define __stub macros and hopefully few prototypes,
11066 which can conflict with char $ac_func(); below. */
11067 #include <assert.h>
11068 /* Override any gcc2 internal prototype to avoid an error. */
11069 /* We use char because int might match the return type of a gcc2
11070 builtin and then its argument prototype would still apply. */
11075 /* The GNU C library defines this for functions which it implements
11076 to always fail with ENOSYS. Some functions are actually named
11077 something starting with __ and the normal name is an alias. */
11078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11086 if { (eval echo configure:11087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11088 eval "ac_cv_func_
$ac_func=yes"
11090 echo "configure
: failed program was
:" >&5
11091 cat conftest.$ac_ext >&5
11093 eval "ac_cv_func_
$ac_func=no
"
11098 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11099 echo "$ac_t""yes" 1>&6
11100 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11101 cat >> confdefs.h <<EOF
11102 #define $ac_tr_func 1
11106 echo "$ac_t""no
" 1>&6
11112 echo $ac_n "checking
for _isnan declaration
""...
$ac_c" 1>&6
11113 echo "configure
:11114: checking
for _isnan declaration
" >&5
11114 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
11115 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
11116 echo $ac_n "(cached
) $ac_c" 1>&6
11121 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11122 ac_cpp='$CXXCPP $CPPFLAGS'
11123 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11124 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11125 cross_compiling=$ac_cv_prog_cxx_cross
11127 cat > conftest.$ac_ext <<EOF
11128 #line 11129 "configure
"
11129 #include "confdefs.h
"
11131 #ifdef HAVE_IEEEFP_H
11132 #include <ieeefp.h>
11139 if { (eval echo configure:11140: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11141 glibcpp_cv_func__isnan_use=yes
11143 echo "configure
: failed program was
:" >&5
11144 cat conftest.$ac_ext >&5
11146 glibcpp_cv_func__isnan_use=no
11150 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11151 ac_cpp='$CPP $CPPFLAGS'
11152 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11153 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11154 cross_compiling=$ac_cv_prog_cc_cross
11160 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
11162 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
11163 for ac_func in _isnan
11165 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11166 echo "configure
:11167: checking
for $ac_func" >&5
11167 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11168 echo $ac_n "(cached
) $ac_c" 1>&6
11170 cat > conftest.$ac_ext <<EOF
11171 #line 11172 "configure
"
11172 #include "confdefs.h
"
11173 /* System header to define __stub macros and hopefully few prototypes,
11174 which can conflict with char $ac_func(); below. */
11175 #include <assert.h>
11176 /* Override any gcc2 internal prototype to avoid an error. */
11177 /* We use char because int might match the return type of a gcc2
11178 builtin and then its argument prototype would still apply. */
11183 /* The GNU C library defines this for functions which it implements
11184 to always fail with ENOSYS. Some functions are actually named
11185 something starting with __ and the normal name is an alias. */
11186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11194 if { (eval echo configure:11195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11196 eval "ac_cv_func_
$ac_func=yes"
11198 echo "configure
: failed program was
:" >&5
11199 cat conftest.$ac_ext >&5
11201 eval "ac_cv_func_
$ac_func=no
"
11206 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11207 echo "$ac_t""yes" 1>&6
11208 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11209 cat >> confdefs.h <<EOF
11210 #define $ac_tr_func 1
11214 echo "$ac_t""no
" 1>&6
11223 echo $ac_n "checking
for finite declaration
""...
$ac_c" 1>&6
11224 echo "configure
:11225: checking
for finite declaration
" >&5
11225 if test x${glibcpp_cv_func_finite_use+set} != xset; then
11226 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
11227 echo $ac_n "(cached
) $ac_c" 1>&6
11232 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11233 ac_cpp='$CXXCPP $CPPFLAGS'
11234 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11235 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11236 cross_compiling=$ac_cv_prog_cxx_cross
11238 cat > conftest.$ac_ext <<EOF
11239 #line 11240 "configure
"
11240 #include "confdefs.h
"
11242 #ifdef HAVE_IEEEFP_H
11243 #include <ieeefp.h>
11250 if { (eval echo configure:11251: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11252 glibcpp_cv_func_finite_use=yes
11254 echo "configure
: failed program was
:" >&5
11255 cat conftest.$ac_ext >&5
11257 glibcpp_cv_func_finite_use=no
11261 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11262 ac_cpp='$CPP $CPPFLAGS'
11263 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11264 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11265 cross_compiling=$ac_cv_prog_cc_cross
11271 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
11273 if test x$glibcpp_cv_func_finite_use = x"yes"; then
11274 for ac_func in finite
11276 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11277 echo "configure
:11278: checking
for $ac_func" >&5
11278 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11279 echo $ac_n "(cached
) $ac_c" 1>&6
11281 cat > conftest.$ac_ext <<EOF
11282 #line 11283 "configure
"
11283 #include "confdefs.h
"
11284 /* System header to define __stub macros and hopefully few prototypes,
11285 which can conflict with char $ac_func(); below. */
11286 #include <assert.h>
11287 /* Override any gcc2 internal prototype to avoid an error. */
11288 /* We use char because int might match the return type of a gcc2
11289 builtin and then its argument prototype would still apply. */
11294 /* The GNU C library defines this for functions which it implements
11295 to always fail with ENOSYS. Some functions are actually named
11296 something starting with __ and the normal name is an alias. */
11297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11305 if { (eval echo configure:11306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11307 eval "ac_cv_func_
$ac_func=yes"
11309 echo "configure
: failed program was
:" >&5
11310 cat conftest.$ac_ext >&5
11312 eval "ac_cv_func_
$ac_func=no
"
11317 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11318 echo "$ac_t""yes" 1>&6
11319 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11320 cat >> confdefs.h <<EOF
11321 #define $ac_tr_func 1
11325 echo "$ac_t""no
" 1>&6
11331 echo $ac_n "checking
for _finite declaration
""...
$ac_c" 1>&6
11332 echo "configure
:11333: checking
for _finite declaration
" >&5
11333 if test x${glibcpp_cv_func__finite_use+set} != xset; then
11334 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
11335 echo $ac_n "(cached
) $ac_c" 1>&6
11340 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11341 ac_cpp='$CXXCPP $CPPFLAGS'
11342 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11343 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11344 cross_compiling=$ac_cv_prog_cxx_cross
11346 cat > conftest.$ac_ext <<EOF
11347 #line 11348 "configure
"
11348 #include "confdefs.h
"
11350 #ifdef HAVE_IEEEFP_H
11351 #include <ieeefp.h>
11358 if { (eval echo configure:11359: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11360 glibcpp_cv_func__finite_use=yes
11362 echo "configure
: failed program was
:" >&5
11363 cat conftest.$ac_ext >&5
11365 glibcpp_cv_func__finite_use=no
11369 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11370 ac_cpp='$CPP $CPPFLAGS'
11371 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11372 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11373 cross_compiling=$ac_cv_prog_cc_cross
11379 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
11381 if test x$glibcpp_cv_func__finite_use = x"yes"; then
11382 for ac_func in _finite
11384 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11385 echo "configure
:11386: checking
for $ac_func" >&5
11386 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11387 echo $ac_n "(cached
) $ac_c" 1>&6
11389 cat > conftest.$ac_ext <<EOF
11390 #line 11391 "configure
"
11391 #include "confdefs.h
"
11392 /* System header to define __stub macros and hopefully few prototypes,
11393 which can conflict with char $ac_func(); below. */
11394 #include <assert.h>
11395 /* Override any gcc2 internal prototype to avoid an error. */
11396 /* We use char because int might match the return type of a gcc2
11397 builtin and then its argument prototype would still apply. */
11402 /* The GNU C library defines this for functions which it implements
11403 to always fail with ENOSYS. Some functions are actually named
11404 something starting with __ and the normal name is an alias. */
11405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11413 if { (eval echo configure:11414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11415 eval "ac_cv_func_
$ac_func=yes"
11417 echo "configure
: failed program was
:" >&5
11418 cat conftest.$ac_ext >&5
11420 eval "ac_cv_func_
$ac_func=no
"
11425 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11426 echo "$ac_t""yes" 1>&6
11427 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11428 cat >> confdefs.h <<EOF
11429 #define $ac_tr_func 1
11433 echo "$ac_t""no
" 1>&6
11442 echo $ac_n "checking
for copysign declaration
""...
$ac_c" 1>&6
11443 echo "configure
:11444: checking
for copysign declaration
" >&5
11444 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
11445 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
11446 echo $ac_n "(cached
) $ac_c" 1>&6
11451 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11452 ac_cpp='$CXXCPP $CPPFLAGS'
11453 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11454 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11455 cross_compiling=$ac_cv_prog_cxx_cross
11457 cat > conftest.$ac_ext <<EOF
11458 #line 11459 "configure
"
11459 #include "confdefs.h
"
11465 if { (eval echo configure:11466: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11467 glibcpp_cv_func_copysign_use=yes
11469 echo "configure
: failed program was
:" >&5
11470 cat conftest.$ac_ext >&5
11472 glibcpp_cv_func_copysign_use=no
11476 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11477 ac_cpp='$CPP $CPPFLAGS'
11478 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11479 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11480 cross_compiling=$ac_cv_prog_cc_cross
11486 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
11488 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
11489 for ac_func in copysign
11491 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11492 echo "configure
:11493: checking
for $ac_func" >&5
11493 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11494 echo $ac_n "(cached
) $ac_c" 1>&6
11496 cat > conftest.$ac_ext <<EOF
11497 #line 11498 "configure
"
11498 #include "confdefs.h
"
11499 /* System header to define __stub macros and hopefully few prototypes,
11500 which can conflict with char $ac_func(); below. */
11501 #include <assert.h>
11502 /* Override any gcc2 internal prototype to avoid an error. */
11503 /* We use char because int might match the return type of a gcc2
11504 builtin and then its argument prototype would still apply. */
11509 /* The GNU C library defines this for functions which it implements
11510 to always fail with ENOSYS. Some functions are actually named
11511 something starting with __ and the normal name is an alias. */
11512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11520 if { (eval echo configure:11521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11522 eval "ac_cv_func_
$ac_func=yes"
11524 echo "configure
: failed program was
:" >&5
11525 cat conftest.$ac_ext >&5
11527 eval "ac_cv_func_
$ac_func=no
"
11532 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11533 echo "$ac_t""yes" 1>&6
11534 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11535 cat >> confdefs.h <<EOF
11536 #define $ac_tr_func 1
11540 echo "$ac_t""no
" 1>&6
11546 echo $ac_n "checking
for _copysign declaration
""...
$ac_c" 1>&6
11547 echo "configure
:11548: checking
for _copysign declaration
" >&5
11548 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
11549 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
11550 echo $ac_n "(cached
) $ac_c" 1>&6
11555 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11556 ac_cpp='$CXXCPP $CPPFLAGS'
11557 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11558 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11559 cross_compiling=$ac_cv_prog_cxx_cross
11561 cat > conftest.$ac_ext <<EOF
11562 #line 11563 "configure
"
11563 #include "confdefs.h
"
11569 if { (eval echo configure:11570: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11571 glibcpp_cv_func__copysign_use=yes
11573 echo "configure
: failed program was
:" >&5
11574 cat conftest.$ac_ext >&5
11576 glibcpp_cv_func__copysign_use=no
11580 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11581 ac_cpp='$CPP $CPPFLAGS'
11582 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11583 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11584 cross_compiling=$ac_cv_prog_cc_cross
11590 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
11592 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
11593 for ac_func in _copysign
11595 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11596 echo "configure
:11597: checking
for $ac_func" >&5
11597 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11598 echo $ac_n "(cached
) $ac_c" 1>&6
11600 cat > conftest.$ac_ext <<EOF
11601 #line 11602 "configure
"
11602 #include "confdefs.h
"
11603 /* System header to define __stub macros and hopefully few prototypes,
11604 which can conflict with char $ac_func(); below. */
11605 #include <assert.h>
11606 /* Override any gcc2 internal prototype to avoid an error. */
11607 /* We use char because int might match the return type of a gcc2
11608 builtin and then its argument prototype would still apply. */
11613 /* The GNU C library defines this for functions which it implements
11614 to always fail with ENOSYS. Some functions are actually named
11615 something starting with __ and the normal name is an alias. */
11616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11624 if { (eval echo configure:11625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11626 eval "ac_cv_func_
$ac_func=yes"
11628 echo "configure
: failed program was
:" >&5
11629 cat conftest.$ac_ext >&5
11631 eval "ac_cv_func_
$ac_func=no
"
11636 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11637 echo "$ac_t""yes" 1>&6
11638 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11639 cat >> confdefs.h <<EOF
11640 #define $ac_tr_func 1
11644 echo "$ac_t""no
" 1>&6
11653 echo $ac_n "checking
for sincos declaration
""...
$ac_c" 1>&6
11654 echo "configure
:11655: checking
for sincos declaration
" >&5
11655 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
11656 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
11657 echo $ac_n "(cached
) $ac_c" 1>&6
11662 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11663 ac_cpp='$CXXCPP $CPPFLAGS'
11664 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11665 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11666 cross_compiling=$ac_cv_prog_cxx_cross
11668 cat > conftest.$ac_ext <<EOF
11669 #line 11670 "configure
"
11670 #include "confdefs.h
"
11676 if { (eval echo configure:11677: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11678 glibcpp_cv_func_sincos_use=yes
11680 echo "configure
: failed program was
:" >&5
11681 cat conftest.$ac_ext >&5
11683 glibcpp_cv_func_sincos_use=no
11687 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11688 ac_cpp='$CPP $CPPFLAGS'
11689 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11690 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11691 cross_compiling=$ac_cv_prog_cc_cross
11697 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
11699 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
11700 for ac_func in sincos
11702 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11703 echo "configure
:11704: checking
for $ac_func" >&5
11704 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11705 echo $ac_n "(cached
) $ac_c" 1>&6
11707 cat > conftest.$ac_ext <<EOF
11708 #line 11709 "configure
"
11709 #include "confdefs.h
"
11710 /* System header to define __stub macros and hopefully few prototypes,
11711 which can conflict with char $ac_func(); below. */
11712 #include <assert.h>
11713 /* Override any gcc2 internal prototype to avoid an error. */
11714 /* We use char because int might match the return type of a gcc2
11715 builtin and then its argument prototype would still apply. */
11720 /* The GNU C library defines this for functions which it implements
11721 to always fail with ENOSYS. Some functions are actually named
11722 something starting with __ and the normal name is an alias. */
11723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11731 if { (eval echo configure:11732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11733 eval "ac_cv_func_
$ac_func=yes"
11735 echo "configure
: failed program was
:" >&5
11736 cat conftest.$ac_ext >&5
11738 eval "ac_cv_func_
$ac_func=no
"
11743 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11744 echo "$ac_t""yes" 1>&6
11745 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11746 cat >> confdefs.h <<EOF
11747 #define $ac_tr_func 1
11751 echo "$ac_t""no
" 1>&6
11757 echo $ac_n "checking
for _sincos declaration
""...
$ac_c" 1>&6
11758 echo "configure
:11759: checking
for _sincos declaration
" >&5
11759 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
11760 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
11761 echo $ac_n "(cached
) $ac_c" 1>&6
11766 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11767 ac_cpp='$CXXCPP $CPPFLAGS'
11768 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11769 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11770 cross_compiling=$ac_cv_prog_cxx_cross
11772 cat > conftest.$ac_ext <<EOF
11773 #line 11774 "configure
"
11774 #include "confdefs.h
"
11780 if { (eval echo configure:11781: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11782 glibcpp_cv_func__sincos_use=yes
11784 echo "configure
: failed program was
:" >&5
11785 cat conftest.$ac_ext >&5
11787 glibcpp_cv_func__sincos_use=no
11791 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11792 ac_cpp='$CPP $CPPFLAGS'
11793 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11794 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11795 cross_compiling=$ac_cv_prog_cc_cross
11801 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
11803 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
11804 for ac_func in _sincos
11806 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11807 echo "configure
:11808: checking
for $ac_func" >&5
11808 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11809 echo $ac_n "(cached
) $ac_c" 1>&6
11811 cat > conftest.$ac_ext <<EOF
11812 #line 11813 "configure
"
11813 #include "confdefs.h
"
11814 /* System header to define __stub macros and hopefully few prototypes,
11815 which can conflict with char $ac_func(); below. */
11816 #include <assert.h>
11817 /* Override any gcc2 internal prototype to avoid an error. */
11818 /* We use char because int might match the return type of a gcc2
11819 builtin and then its argument prototype would still apply. */
11824 /* The GNU C library defines this for functions which it implements
11825 to always fail with ENOSYS. Some functions are actually named
11826 something starting with __ and the normal name is an alias. */
11827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11835 if { (eval echo configure:11836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11837 eval "ac_cv_func_
$ac_func=yes"
11839 echo "configure
: failed program was
:" >&5
11840 cat conftest.$ac_ext >&5
11842 eval "ac_cv_func_
$ac_func=no
"
11847 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11848 echo "$ac_t""yes" 1>&6
11849 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11850 cat >> confdefs.h <<EOF
11851 #define $ac_tr_func 1
11855 echo "$ac_t""no
" 1>&6
11864 echo $ac_n "checking
for fpclass declaration
""...
$ac_c" 1>&6
11865 echo "configure
:11866: checking
for fpclass declaration
" >&5
11866 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
11867 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
11868 echo $ac_n "(cached
) $ac_c" 1>&6
11873 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11874 ac_cpp='$CXXCPP $CPPFLAGS'
11875 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11876 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11877 cross_compiling=$ac_cv_prog_cxx_cross
11879 cat > conftest.$ac_ext <<EOF
11880 #line 11881 "configure
"
11881 #include "confdefs.h
"
11883 #ifdef HAVE_IEEEFP_H
11884 #include <ieeefp.h>
11891 if { (eval echo configure:11892: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11893 glibcpp_cv_func_fpclass_use=yes
11895 echo "configure
: failed program was
:" >&5
11896 cat conftest.$ac_ext >&5
11898 glibcpp_cv_func_fpclass_use=no
11902 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11903 ac_cpp='$CPP $CPPFLAGS'
11904 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11905 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11906 cross_compiling=$ac_cv_prog_cc_cross
11912 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
11914 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
11915 for ac_func in fpclass
11917 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11918 echo "configure
:11919: checking
for $ac_func" >&5
11919 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11920 echo $ac_n "(cached
) $ac_c" 1>&6
11922 cat > conftest.$ac_ext <<EOF
11923 #line 11924 "configure
"
11924 #include "confdefs.h
"
11925 /* System header to define __stub macros and hopefully few prototypes,
11926 which can conflict with char $ac_func(); below. */
11927 #include <assert.h>
11928 /* Override any gcc2 internal prototype to avoid an error. */
11929 /* We use char because int might match the return type of a gcc2
11930 builtin and then its argument prototype would still apply. */
11935 /* The GNU C library defines this for functions which it implements
11936 to always fail with ENOSYS. Some functions are actually named
11937 something starting with __ and the normal name is an alias. */
11938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11946 if { (eval echo configure:11947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11948 eval "ac_cv_func_
$ac_func=yes"
11950 echo "configure
: failed program was
:" >&5
11951 cat conftest.$ac_ext >&5
11953 eval "ac_cv_func_
$ac_func=no
"
11958 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11959 echo "$ac_t""yes" 1>&6
11960 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11961 cat >> confdefs.h <<EOF
11962 #define $ac_tr_func 1
11966 echo "$ac_t""no
" 1>&6
11972 echo $ac_n "checking
for _fpclass declaration
""...
$ac_c" 1>&6
11973 echo "configure
:11974: checking
for _fpclass declaration
" >&5
11974 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
11975 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
11976 echo $ac_n "(cached
) $ac_c" 1>&6
11981 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11982 ac_cpp='$CXXCPP $CPPFLAGS'
11983 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11984 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11985 cross_compiling=$ac_cv_prog_cxx_cross
11987 cat > conftest.$ac_ext <<EOF
11988 #line 11989 "configure
"
11989 #include "confdefs.h
"
11991 #ifdef HAVE_IEEEFP_H
11992 #include <ieeefp.h>
11999 if { (eval echo configure:12000: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12001 glibcpp_cv_func__fpclass_use=yes
12003 echo "configure
: failed program was
:" >&5
12004 cat conftest.$ac_ext >&5
12006 glibcpp_cv_func__fpclass_use=no
12010 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12011 ac_cpp='$CPP $CPPFLAGS'
12012 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12013 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12014 cross_compiling=$ac_cv_prog_cc_cross
12020 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
12022 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
12023 for ac_func in _fpclass
12025 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12026 echo "configure
:12027: checking
for $ac_func" >&5
12027 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12028 echo $ac_n "(cached
) $ac_c" 1>&6
12030 cat > conftest.$ac_ext <<EOF
12031 #line 12032 "configure
"
12032 #include "confdefs.h
"
12033 /* System header to define __stub macros and hopefully few prototypes,
12034 which can conflict with char $ac_func(); below. */
12035 #include <assert.h>
12036 /* Override any gcc2 internal prototype to avoid an error. */
12037 /* We use char because int might match the return type of a gcc2
12038 builtin and then its argument prototype would still apply. */
12043 /* The GNU C library defines this for functions which it implements
12044 to always fail with ENOSYS. Some functions are actually named
12045 something starting with __ and the normal name is an alias. */
12046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12054 if { (eval echo configure:12055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12056 eval "ac_cv_func_
$ac_func=yes"
12058 echo "configure
: failed program was
:" >&5
12059 cat conftest.$ac_ext >&5
12061 eval "ac_cv_func_
$ac_func=no
"
12066 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12067 echo "$ac_t""yes" 1>&6
12068 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12069 cat >> confdefs.h <<EOF
12070 #define $ac_tr_func 1
12074 echo "$ac_t""no
" 1>&6
12083 echo $ac_n "checking
for qfpclass declaration
""...
$ac_c" 1>&6
12084 echo "configure
:12085: checking
for qfpclass declaration
" >&5
12085 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
12086 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
12087 echo $ac_n "(cached
) $ac_c" 1>&6
12092 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12093 ac_cpp='$CXXCPP $CPPFLAGS'
12094 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12095 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12096 cross_compiling=$ac_cv_prog_cxx_cross
12098 cat > conftest.$ac_ext <<EOF
12099 #line 12100 "configure
"
12100 #include "confdefs.h
"
12102 #ifdef HAVE_IEEEFP_H
12103 #include <ieeefp.h>
12110 if { (eval echo configure:12111: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12112 glibcpp_cv_func_qfpclass_use=yes
12114 echo "configure
: failed program was
:" >&5
12115 cat conftest.$ac_ext >&5
12117 glibcpp_cv_func_qfpclass_use=no
12121 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12122 ac_cpp='$CPP $CPPFLAGS'
12123 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12124 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12125 cross_compiling=$ac_cv_prog_cc_cross
12131 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
12133 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
12134 for ac_func in qfpclass
12136 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12137 echo "configure
:12138: checking
for $ac_func" >&5
12138 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12139 echo $ac_n "(cached
) $ac_c" 1>&6
12141 cat > conftest.$ac_ext <<EOF
12142 #line 12143 "configure
"
12143 #include "confdefs.h
"
12144 /* System header to define __stub macros and hopefully few prototypes,
12145 which can conflict with char $ac_func(); below. */
12146 #include <assert.h>
12147 /* Override any gcc2 internal prototype to avoid an error. */
12148 /* We use char because int might match the return type of a gcc2
12149 builtin and then its argument prototype would still apply. */
12154 /* The GNU C library defines this for functions which it implements
12155 to always fail with ENOSYS. Some functions are actually named
12156 something starting with __ and the normal name is an alias. */
12157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12165 if { (eval echo configure:12166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12167 eval "ac_cv_func_
$ac_func=yes"
12169 echo "configure
: failed program was
:" >&5
12170 cat conftest.$ac_ext >&5
12172 eval "ac_cv_func_
$ac_func=no
"
12177 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12178 echo "$ac_t""yes" 1>&6
12179 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12180 cat >> confdefs.h <<EOF
12181 #define $ac_tr_func 1
12185 echo "$ac_t""no
" 1>&6
12191 echo $ac_n "checking
for _qfpclass declaration
""...
$ac_c" 1>&6
12192 echo "configure
:12193: checking
for _qfpclass declaration
" >&5
12193 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
12194 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
12195 echo $ac_n "(cached
) $ac_c" 1>&6
12200 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12201 ac_cpp='$CXXCPP $CPPFLAGS'
12202 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12203 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12204 cross_compiling=$ac_cv_prog_cxx_cross
12206 cat > conftest.$ac_ext <<EOF
12207 #line 12208 "configure
"
12208 #include "confdefs.h
"
12210 #ifdef HAVE_IEEEFP_H
12211 #include <ieeefp.h>
12218 if { (eval echo configure:12219: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12220 glibcpp_cv_func__qfpclass_use=yes
12222 echo "configure
: failed program was
:" >&5
12223 cat conftest.$ac_ext >&5
12225 glibcpp_cv_func__qfpclass_use=no
12229 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12230 ac_cpp='$CPP $CPPFLAGS'
12231 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12232 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12233 cross_compiling=$ac_cv_prog_cc_cross
12239 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
12241 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
12242 for ac_func in _qfpclass
12244 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12245 echo "configure
:12246: checking
for $ac_func" >&5
12246 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12247 echo $ac_n "(cached
) $ac_c" 1>&6
12249 cat > conftest.$ac_ext <<EOF
12250 #line 12251 "configure
"
12251 #include "confdefs.h
"
12252 /* System header to define __stub macros and hopefully few prototypes,
12253 which can conflict with char $ac_func(); below. */
12254 #include <assert.h>
12255 /* Override any gcc2 internal prototype to avoid an error. */
12256 /* We use char because int might match the return type of a gcc2
12257 builtin and then its argument prototype would still apply. */
12262 /* The GNU C library defines this for functions which it implements
12263 to always fail with ENOSYS. Some functions are actually named
12264 something starting with __ and the normal name is an alias. */
12265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12273 if { (eval echo configure:12274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12275 eval "ac_cv_func_
$ac_func=yes"
12277 echo "configure
: failed program was
:" >&5
12278 cat conftest.$ac_ext >&5
12280 eval "ac_cv_func_
$ac_func=no
"
12285 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12286 echo "$ac_t""yes" 1>&6
12287 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12288 cat >> confdefs.h <<EOF
12289 #define $ac_tr_func 1
12293 echo "$ac_t""no
" 1>&6
12302 echo $ac_n "checking
for hypot declaration
""...
$ac_c" 1>&6
12303 echo "configure
:12304: checking
for hypot declaration
" >&5
12304 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
12305 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
12306 echo $ac_n "(cached
) $ac_c" 1>&6
12311 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12312 ac_cpp='$CXXCPP $CPPFLAGS'
12313 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12314 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12315 cross_compiling=$ac_cv_prog_cxx_cross
12317 cat > conftest.$ac_ext <<EOF
12318 #line 12319 "configure
"
12319 #include "confdefs.h
"
12325 if { (eval echo configure:12326: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12327 glibcpp_cv_func_hypot_use=yes
12329 echo "configure
: failed program was
:" >&5
12330 cat conftest.$ac_ext >&5
12332 glibcpp_cv_func_hypot_use=no
12336 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12337 ac_cpp='$CPP $CPPFLAGS'
12338 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12339 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12340 cross_compiling=$ac_cv_prog_cc_cross
12346 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
12348 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
12349 for ac_func in hypot
12351 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12352 echo "configure
:12353: checking
for $ac_func" >&5
12353 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12354 echo $ac_n "(cached
) $ac_c" 1>&6
12356 cat > conftest.$ac_ext <<EOF
12357 #line 12358 "configure
"
12358 #include "confdefs.h
"
12359 /* System header to define __stub macros and hopefully few prototypes,
12360 which can conflict with char $ac_func(); below. */
12361 #include <assert.h>
12362 /* Override any gcc2 internal prototype to avoid an error. */
12363 /* We use char because int might match the return type of a gcc2
12364 builtin and then its argument prototype would still apply. */
12369 /* The GNU C library defines this for functions which it implements
12370 to always fail with ENOSYS. Some functions are actually named
12371 something starting with __ and the normal name is an alias. */
12372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12380 if { (eval echo configure:12381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12382 eval "ac_cv_func_
$ac_func=yes"
12384 echo "configure
: failed program was
:" >&5
12385 cat conftest.$ac_ext >&5
12387 eval "ac_cv_func_
$ac_func=no
"
12392 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12393 echo "$ac_t""yes" 1>&6
12394 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12395 cat >> confdefs.h <<EOF
12396 #define $ac_tr_func 1
12400 echo "$ac_t""no
" 1>&6
12406 echo $ac_n "checking
for _hypot declaration
""...
$ac_c" 1>&6
12407 echo "configure
:12408: checking
for _hypot declaration
" >&5
12408 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
12409 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
12410 echo $ac_n "(cached
) $ac_c" 1>&6
12415 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12416 ac_cpp='$CXXCPP $CPPFLAGS'
12417 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12418 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12419 cross_compiling=$ac_cv_prog_cxx_cross
12421 cat > conftest.$ac_ext <<EOF
12422 #line 12423 "configure
"
12423 #include "confdefs.h
"
12429 if { (eval echo configure:12430: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12431 glibcpp_cv_func__hypot_use=yes
12433 echo "configure
: failed program was
:" >&5
12434 cat conftest.$ac_ext >&5
12436 glibcpp_cv_func__hypot_use=no
12440 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12441 ac_cpp='$CPP $CPPFLAGS'
12442 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12443 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12444 cross_compiling=$ac_cv_prog_cc_cross
12450 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
12452 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
12453 for ac_func in _hypot
12455 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12456 echo "configure
:12457: checking
for $ac_func" >&5
12457 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12458 echo $ac_n "(cached
) $ac_c" 1>&6
12460 cat > conftest.$ac_ext <<EOF
12461 #line 12462 "configure
"
12462 #include "confdefs.h
"
12463 /* System header to define __stub macros and hopefully few prototypes,
12464 which can conflict with char $ac_func(); below. */
12465 #include <assert.h>
12466 /* Override any gcc2 internal prototype to avoid an error. */
12467 /* We use char because int might match the return type of a gcc2
12468 builtin and then its argument prototype would still apply. */
12473 /* The GNU C library defines this for functions which it implements
12474 to always fail with ENOSYS. Some functions are actually named
12475 something starting with __ and the normal name is an alias. */
12476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12484 if { (eval echo configure:12485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12486 eval "ac_cv_func_
$ac_func=yes"
12488 echo "configure
: failed program was
:" >&5
12489 cat conftest.$ac_ext >&5
12491 eval "ac_cv_func_
$ac_func=no
"
12496 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12497 echo "$ac_t""yes" 1>&6
12498 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12499 cat >> confdefs.h <<EOF
12500 #define $ac_tr_func 1
12504 echo "$ac_t""no
" 1>&6
12513 echo $ac_n "checking
for float trig functions
""...
$ac_c" 1>&6
12514 echo "configure
:12515: checking
for float trig functions
" >&5
12515 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
12516 echo $ac_n "(cached
) $ac_c" 1>&6
12521 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12522 ac_cpp='$CXXCPP $CPPFLAGS'
12523 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12524 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12525 cross_compiling=$ac_cv_prog_cxx_cross
12527 cat > conftest.$ac_ext <<EOF
12528 #line 12529 "configure
"
12529 #include "confdefs.h
"
12532 `for x in acosf asinf atanf \
12534 coshf sinhf tanhf; do echo "$x (0);"; done`
12537 if { (eval echo configure:12538: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12539 glibcpp_cv_func_float_trig_use=yes
12541 echo "configure
: failed program was
:" >&5
12542 cat conftest.$ac_ext >&5
12544 glibcpp_cv_func_float_trig_use=no
12548 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12549 ac_cpp='$CPP $CPPFLAGS'
12550 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12551 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12552 cross_compiling=$ac_cv_prog_cc_cross
12556 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
12557 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
12558 for ac_func in acosf asinf atanf \
12562 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12563 echo "configure
:12564: checking
for $ac_func" >&5
12564 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12565 echo $ac_n "(cached
) $ac_c" 1>&6
12567 cat > conftest.$ac_ext <<EOF
12568 #line 12569 "configure
"
12569 #include "confdefs.h
"
12570 /* System header to define __stub macros and hopefully few prototypes,
12571 which can conflict with char $ac_func(); below. */
12572 #include <assert.h>
12573 /* Override any gcc2 internal prototype to avoid an error. */
12574 /* We use char because int might match the return type of a gcc2
12575 builtin and then its argument prototype would still apply. */
12580 /* The GNU C library defines this for functions which it implements
12581 to always fail with ENOSYS. Some functions are actually named
12582 something starting with __ and the normal name is an alias. */
12583 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12591 if { (eval echo configure:12592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12593 eval "ac_cv_func_
$ac_func=yes"
12595 echo "configure
: failed program was
:" >&5
12596 cat conftest.$ac_ext >&5
12598 eval "ac_cv_func_
$ac_func=no
"
12603 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12604 echo "$ac_t""yes" 1>&6
12605 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12606 cat >> confdefs.h <<EOF
12607 #define $ac_tr_func 1
12611 echo "$ac_t""no
" 1>&6
12618 echo $ac_n "checking
for float round functions
""...
$ac_c" 1>&6
12619 echo "configure
:12620: checking
for float round functions
" >&5
12620 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
12621 echo $ac_n "(cached
) $ac_c" 1>&6
12626 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12627 ac_cpp='$CXXCPP $CPPFLAGS'
12628 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12629 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12630 cross_compiling=$ac_cv_prog_cxx_cross
12632 cat > conftest.$ac_ext <<EOF
12633 #line 12634 "configure
"
12634 #include "confdefs.h
"
12637 `for x in ceilf floorf; do echo "$x (0);"; done`
12640 if { (eval echo configure:12641: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12642 glibcpp_cv_func_float_round_use=yes
12644 echo "configure
: failed program was
:" >&5
12645 cat conftest.$ac_ext >&5
12647 glibcpp_cv_func_float_round_use=no
12651 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12652 ac_cpp='$CPP $CPPFLAGS'
12653 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12654 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12655 cross_compiling=$ac_cv_prog_cc_cross
12659 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
12660 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
12661 for ac_func in ceilf floorf
12663 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12664 echo "configure
:12665: checking
for $ac_func" >&5
12665 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12666 echo $ac_n "(cached
) $ac_c" 1>&6
12668 cat > conftest.$ac_ext <<EOF
12669 #line 12670 "configure
"
12670 #include "confdefs.h
"
12671 /* System header to define __stub macros and hopefully few prototypes,
12672 which can conflict with char $ac_func(); below. */
12673 #include <assert.h>
12674 /* Override any gcc2 internal prototype to avoid an error. */
12675 /* We use char because int might match the return type of a gcc2
12676 builtin and then its argument prototype would still apply. */
12681 /* The GNU C library defines this for functions which it implements
12682 to always fail with ENOSYS. Some functions are actually named
12683 something starting with __ and the normal name is an alias. */
12684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12692 if { (eval echo configure:12693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12694 eval "ac_cv_func_
$ac_func=yes"
12696 echo "configure
: failed program was
:" >&5
12697 cat conftest.$ac_ext >&5
12699 eval "ac_cv_func_
$ac_func=no
"
12704 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12705 echo "$ac_t""yes" 1>&6
12706 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12707 cat >> confdefs.h <<EOF
12708 #define $ac_tr_func 1
12712 echo "$ac_t""no
" 1>&6
12720 echo $ac_n "checking
for expf declaration
""...
$ac_c" 1>&6
12721 echo "configure
:12722: checking
for expf declaration
" >&5
12722 if test x${glibcpp_cv_func_expf_use+set} != xset; then
12723 if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
12724 echo $ac_n "(cached
) $ac_c" 1>&6
12729 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12730 ac_cpp='$CXXCPP $CPPFLAGS'
12731 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12732 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12733 cross_compiling=$ac_cv_prog_cxx_cross
12735 cat > conftest.$ac_ext <<EOF
12736 #line 12737 "configure
"
12737 #include "confdefs.h
"
12739 #ifdef HAVE_IEEEFP_H
12740 #include <ieeefp.h>
12747 if { (eval echo configure:12748: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12749 glibcpp_cv_func_expf_use=yes
12751 echo "configure
: failed program was
:" >&5
12752 cat conftest.$ac_ext >&5
12754 glibcpp_cv_func_expf_use=no
12758 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12759 ac_cpp='$CPP $CPPFLAGS'
12760 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12761 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12762 cross_compiling=$ac_cv_prog_cc_cross
12768 echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
12770 if test x$glibcpp_cv_func_expf_use = x"yes"; then
12771 for ac_func in expf
12773 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12774 echo "configure
:12775: checking
for $ac_func" >&5
12775 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12776 echo $ac_n "(cached
) $ac_c" 1>&6
12778 cat > conftest.$ac_ext <<EOF
12779 #line 12780 "configure
"
12780 #include "confdefs.h
"
12781 /* System header to define __stub macros and hopefully few prototypes,
12782 which can conflict with char $ac_func(); below. */
12783 #include <assert.h>
12784 /* Override any gcc2 internal prototype to avoid an error. */
12785 /* We use char because int might match the return type of a gcc2
12786 builtin and then its argument prototype would still apply. */
12791 /* The GNU C library defines this for functions which it implements
12792 to always fail with ENOSYS. Some functions are actually named
12793 something starting with __ and the normal name is an alias. */
12794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12802 if { (eval echo configure:12803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12804 eval "ac_cv_func_
$ac_func=yes"
12806 echo "configure
: failed program was
:" >&5
12807 cat conftest.$ac_ext >&5
12809 eval "ac_cv_func_
$ac_func=no
"
12814 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12815 echo "$ac_t""yes" 1>&6
12816 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12817 cat >> confdefs.h <<EOF
12818 #define $ac_tr_func 1
12822 echo "$ac_t""no
" 1>&6
12828 echo $ac_n "checking
for _expf declaration
""...
$ac_c" 1>&6
12829 echo "configure
:12830: checking
for _expf declaration
" >&5
12830 if test x${glibcpp_cv_func__expf_use+set} != xset; then
12831 if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
12832 echo $ac_n "(cached
) $ac_c" 1>&6
12837 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12838 ac_cpp='$CXXCPP $CPPFLAGS'
12839 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12840 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12841 cross_compiling=$ac_cv_prog_cxx_cross
12843 cat > conftest.$ac_ext <<EOF
12844 #line 12845 "configure
"
12845 #include "confdefs.h
"
12847 #ifdef HAVE_IEEEFP_H
12848 #include <ieeefp.h>
12855 if { (eval echo configure:12856: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12857 glibcpp_cv_func__expf_use=yes
12859 echo "configure
: failed program was
:" >&5
12860 cat conftest.$ac_ext >&5
12862 glibcpp_cv_func__expf_use=no
12866 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12867 ac_cpp='$CPP $CPPFLAGS'
12868 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12869 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12870 cross_compiling=$ac_cv_prog_cc_cross
12876 echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
12878 if test x$glibcpp_cv_func__expf_use = x"yes"; then
12879 for ac_func in _expf
12881 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12882 echo "configure
:12883: checking
for $ac_func" >&5
12883 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12884 echo $ac_n "(cached
) $ac_c" 1>&6
12886 cat > conftest.$ac_ext <<EOF
12887 #line 12888 "configure
"
12888 #include "confdefs.h
"
12889 /* System header to define __stub macros and hopefully few prototypes,
12890 which can conflict with char $ac_func(); below. */
12891 #include <assert.h>
12892 /* Override any gcc2 internal prototype to avoid an error. */
12893 /* We use char because int might match the return type of a gcc2
12894 builtin and then its argument prototype would still apply. */
12899 /* The GNU C library defines this for functions which it implements
12900 to always fail with ENOSYS. Some functions are actually named
12901 something starting with __ and the normal name is an alias. */
12902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12910 if { (eval echo configure:12911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12912 eval "ac_cv_func_
$ac_func=yes"
12914 echo "configure
: failed program was
:" >&5
12915 cat conftest.$ac_ext >&5
12917 eval "ac_cv_func_
$ac_func=no
"
12922 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12923 echo "$ac_t""yes" 1>&6
12924 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12925 cat >> confdefs.h <<EOF
12926 #define $ac_tr_func 1
12930 echo "$ac_t""no
" 1>&6
12939 echo $ac_n "checking
for isnanf declaration
""...
$ac_c" 1>&6
12940 echo "configure
:12941: checking
for isnanf declaration
" >&5
12941 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
12942 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
12943 echo $ac_n "(cached
) $ac_c" 1>&6
12948 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12949 ac_cpp='$CXXCPP $CPPFLAGS'
12950 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12951 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12952 cross_compiling=$ac_cv_prog_cxx_cross
12954 cat > conftest.$ac_ext <<EOF
12955 #line 12956 "configure
"
12956 #include "confdefs.h
"
12958 #ifdef HAVE_IEEEFP_H
12959 #include <ieeefp.h>
12966 if { (eval echo configure:12967: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12968 glibcpp_cv_func_isnanf_use=yes
12970 echo "configure
: failed program was
:" >&5
12971 cat conftest.$ac_ext >&5
12973 glibcpp_cv_func_isnanf_use=no
12977 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12978 ac_cpp='$CPP $CPPFLAGS'
12979 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12980 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12981 cross_compiling=$ac_cv_prog_cc_cross
12987 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
12989 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
12990 for ac_func in isnanf
12992 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12993 echo "configure
:12994: checking
for $ac_func" >&5
12994 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12995 echo $ac_n "(cached
) $ac_c" 1>&6
12997 cat > conftest.$ac_ext <<EOF
12998 #line 12999 "configure
"
12999 #include "confdefs.h
"
13000 /* System header to define __stub macros and hopefully few prototypes,
13001 which can conflict with char $ac_func(); below. */
13002 #include <assert.h>
13003 /* Override any gcc2 internal prototype to avoid an error. */
13004 /* We use char because int might match the return type of a gcc2
13005 builtin and then its argument prototype would still apply. */
13010 /* The GNU C library defines this for functions which it implements
13011 to always fail with ENOSYS. Some functions are actually named
13012 something starting with __ and the normal name is an alias. */
13013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13021 if { (eval echo configure:13022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13023 eval "ac_cv_func_
$ac_func=yes"
13025 echo "configure
: failed program was
:" >&5
13026 cat conftest.$ac_ext >&5
13028 eval "ac_cv_func_
$ac_func=no
"
13033 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13034 echo "$ac_t""yes" 1>&6
13035 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13036 cat >> confdefs.h <<EOF
13037 #define $ac_tr_func 1
13041 echo "$ac_t""no
" 1>&6
13047 echo $ac_n "checking
for _isnanf declaration
""...
$ac_c" 1>&6
13048 echo "configure
:13049: checking
for _isnanf declaration
" >&5
13049 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
13050 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
13051 echo $ac_n "(cached
) $ac_c" 1>&6
13056 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13057 ac_cpp='$CXXCPP $CPPFLAGS'
13058 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13059 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13060 cross_compiling=$ac_cv_prog_cxx_cross
13062 cat > conftest.$ac_ext <<EOF
13063 #line 13064 "configure
"
13064 #include "confdefs.h
"
13066 #ifdef HAVE_IEEEFP_H
13067 #include <ieeefp.h>
13074 if { (eval echo configure:13075: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13076 glibcpp_cv_func__isnanf_use=yes
13078 echo "configure
: failed program was
:" >&5
13079 cat conftest.$ac_ext >&5
13081 glibcpp_cv_func__isnanf_use=no
13085 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13086 ac_cpp='$CPP $CPPFLAGS'
13087 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13088 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13089 cross_compiling=$ac_cv_prog_cc_cross
13095 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
13097 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
13098 for ac_func in _isnanf
13100 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13101 echo "configure
:13102: checking
for $ac_func" >&5
13102 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13103 echo $ac_n "(cached
) $ac_c" 1>&6
13105 cat > conftest.$ac_ext <<EOF
13106 #line 13107 "configure
"
13107 #include "confdefs.h
"
13108 /* System header to define __stub macros and hopefully few prototypes,
13109 which can conflict with char $ac_func(); below. */
13110 #include <assert.h>
13111 /* Override any gcc2 internal prototype to avoid an error. */
13112 /* We use char because int might match the return type of a gcc2
13113 builtin and then its argument prototype would still apply. */
13118 /* The GNU C library defines this for functions which it implements
13119 to always fail with ENOSYS. Some functions are actually named
13120 something starting with __ and the normal name is an alias. */
13121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13129 if { (eval echo configure:13130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13131 eval "ac_cv_func_
$ac_func=yes"
13133 echo "configure
: failed program was
:" >&5
13134 cat conftest.$ac_ext >&5
13136 eval "ac_cv_func_
$ac_func=no
"
13141 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13142 echo "$ac_t""yes" 1>&6
13143 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13144 cat >> confdefs.h <<EOF
13145 #define $ac_tr_func 1
13149 echo "$ac_t""no
" 1>&6
13158 echo $ac_n "checking
for isinff declaration
""...
$ac_c" 1>&6
13159 echo "configure
:13160: checking
for isinff declaration
" >&5
13160 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
13161 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
13162 echo $ac_n "(cached
) $ac_c" 1>&6
13167 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13168 ac_cpp='$CXXCPP $CPPFLAGS'
13169 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13170 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13171 cross_compiling=$ac_cv_prog_cxx_cross
13173 cat > conftest.$ac_ext <<EOF
13174 #line 13175 "configure
"
13175 #include "confdefs.h
"
13177 #ifdef HAVE_IEEEFP_H
13178 #include <ieeefp.h>
13185 if { (eval echo configure:13186: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13187 glibcpp_cv_func_isinff_use=yes
13189 echo "configure
: failed program was
:" >&5
13190 cat conftest.$ac_ext >&5
13192 glibcpp_cv_func_isinff_use=no
13196 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13197 ac_cpp='$CPP $CPPFLAGS'
13198 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13199 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13200 cross_compiling=$ac_cv_prog_cc_cross
13206 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
13208 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
13209 for ac_func in isinff
13211 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13212 echo "configure
:13213: checking
for $ac_func" >&5
13213 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13214 echo $ac_n "(cached
) $ac_c" 1>&6
13216 cat > conftest.$ac_ext <<EOF
13217 #line 13218 "configure
"
13218 #include "confdefs.h
"
13219 /* System header to define __stub macros and hopefully few prototypes,
13220 which can conflict with char $ac_func(); below. */
13221 #include <assert.h>
13222 /* Override any gcc2 internal prototype to avoid an error. */
13223 /* We use char because int might match the return type of a gcc2
13224 builtin and then its argument prototype would still apply. */
13229 /* The GNU C library defines this for functions which it implements
13230 to always fail with ENOSYS. Some functions are actually named
13231 something starting with __ and the normal name is an alias. */
13232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13240 if { (eval echo configure:13241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13242 eval "ac_cv_func_
$ac_func=yes"
13244 echo "configure
: failed program was
:" >&5
13245 cat conftest.$ac_ext >&5
13247 eval "ac_cv_func_
$ac_func=no
"
13252 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13253 echo "$ac_t""yes" 1>&6
13254 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13255 cat >> confdefs.h <<EOF
13256 #define $ac_tr_func 1
13260 echo "$ac_t""no
" 1>&6
13266 echo $ac_n "checking
for _isinff declaration
""...
$ac_c" 1>&6
13267 echo "configure
:13268: checking
for _isinff declaration
" >&5
13268 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
13269 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
13270 echo $ac_n "(cached
) $ac_c" 1>&6
13275 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13276 ac_cpp='$CXXCPP $CPPFLAGS'
13277 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13278 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13279 cross_compiling=$ac_cv_prog_cxx_cross
13281 cat > conftest.$ac_ext <<EOF
13282 #line 13283 "configure
"
13283 #include "confdefs.h
"
13285 #ifdef HAVE_IEEEFP_H
13286 #include <ieeefp.h>
13293 if { (eval echo configure:13294: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13295 glibcpp_cv_func__isinff_use=yes
13297 echo "configure
: failed program was
:" >&5
13298 cat conftest.$ac_ext >&5
13300 glibcpp_cv_func__isinff_use=no
13304 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13305 ac_cpp='$CPP $CPPFLAGS'
13306 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13307 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13308 cross_compiling=$ac_cv_prog_cc_cross
13314 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
13316 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
13317 for ac_func in _isinff
13319 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13320 echo "configure
:13321: checking
for $ac_func" >&5
13321 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13322 echo $ac_n "(cached
) $ac_c" 1>&6
13324 cat > conftest.$ac_ext <<EOF
13325 #line 13326 "configure
"
13326 #include "confdefs.h
"
13327 /* System header to define __stub macros and hopefully few prototypes,
13328 which can conflict with char $ac_func(); below. */
13329 #include <assert.h>
13330 /* Override any gcc2 internal prototype to avoid an error. */
13331 /* We use char because int might match the return type of a gcc2
13332 builtin and then its argument prototype would still apply. */
13337 /* The GNU C library defines this for functions which it implements
13338 to always fail with ENOSYS. Some functions are actually named
13339 something starting with __ and the normal name is an alias. */
13340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13348 if { (eval echo configure:13349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13350 eval "ac_cv_func_
$ac_func=yes"
13352 echo "configure
: failed program was
:" >&5
13353 cat conftest.$ac_ext >&5
13355 eval "ac_cv_func_
$ac_func=no
"
13360 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13361 echo "$ac_t""yes" 1>&6
13362 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13363 cat >> confdefs.h <<EOF
13364 #define $ac_tr_func 1
13368 echo "$ac_t""no
" 1>&6
13377 echo $ac_n "checking
for atan2f declaration
""...
$ac_c" 1>&6
13378 echo "configure
:13379: checking
for atan2f declaration
" >&5
13379 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
13380 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
13381 echo $ac_n "(cached
) $ac_c" 1>&6
13386 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13387 ac_cpp='$CXXCPP $CPPFLAGS'
13388 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13389 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13390 cross_compiling=$ac_cv_prog_cxx_cross
13392 cat > conftest.$ac_ext <<EOF
13393 #line 13394 "configure
"
13394 #include "confdefs.h
"
13400 if { (eval echo configure:13401: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13402 glibcpp_cv_func_atan2f_use=yes
13404 echo "configure
: failed program was
:" >&5
13405 cat conftest.$ac_ext >&5
13407 glibcpp_cv_func_atan2f_use=no
13411 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13412 ac_cpp='$CPP $CPPFLAGS'
13413 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13414 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13415 cross_compiling=$ac_cv_prog_cc_cross
13421 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
13423 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
13424 for ac_func in atan2f
13426 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13427 echo "configure
:13428: checking
for $ac_func" >&5
13428 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13429 echo $ac_n "(cached
) $ac_c" 1>&6
13431 cat > conftest.$ac_ext <<EOF
13432 #line 13433 "configure
"
13433 #include "confdefs.h
"
13434 /* System header to define __stub macros and hopefully few prototypes,
13435 which can conflict with char $ac_func(); below. */
13436 #include <assert.h>
13437 /* Override any gcc2 internal prototype to avoid an error. */
13438 /* We use char because int might match the return type of a gcc2
13439 builtin and then its argument prototype would still apply. */
13444 /* The GNU C library defines this for functions which it implements
13445 to always fail with ENOSYS. Some functions are actually named
13446 something starting with __ and the normal name is an alias. */
13447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13455 if { (eval echo configure:13456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13457 eval "ac_cv_func_
$ac_func=yes"
13459 echo "configure
: failed program was
:" >&5
13460 cat conftest.$ac_ext >&5
13462 eval "ac_cv_func_
$ac_func=no
"
13467 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13468 echo "$ac_t""yes" 1>&6
13469 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13470 cat >> confdefs.h <<EOF
13471 #define $ac_tr_func 1
13475 echo "$ac_t""no
" 1>&6
13481 echo $ac_n "checking
for _atan2f declaration
""...
$ac_c" 1>&6
13482 echo "configure
:13483: checking
for _atan2f declaration
" >&5
13483 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
13484 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
13485 echo $ac_n "(cached
) $ac_c" 1>&6
13490 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13491 ac_cpp='$CXXCPP $CPPFLAGS'
13492 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13493 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13494 cross_compiling=$ac_cv_prog_cxx_cross
13496 cat > conftest.$ac_ext <<EOF
13497 #line 13498 "configure
"
13498 #include "confdefs.h
"
13504 if { (eval echo configure:13505: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13506 glibcpp_cv_func__atan2f_use=yes
13508 echo "configure
: failed program was
:" >&5
13509 cat conftest.$ac_ext >&5
13511 glibcpp_cv_func__atan2f_use=no
13515 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13516 ac_cpp='$CPP $CPPFLAGS'
13517 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13518 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13519 cross_compiling=$ac_cv_prog_cc_cross
13525 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
13527 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
13528 for ac_func in _atan2f
13530 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13531 echo "configure
:13532: checking
for $ac_func" >&5
13532 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13533 echo $ac_n "(cached
) $ac_c" 1>&6
13535 cat > conftest.$ac_ext <<EOF
13536 #line 13537 "configure
"
13537 #include "confdefs.h
"
13538 /* System header to define __stub macros and hopefully few prototypes,
13539 which can conflict with char $ac_func(); below. */
13540 #include <assert.h>
13541 /* Override any gcc2 internal prototype to avoid an error. */
13542 /* We use char because int might match the return type of a gcc2
13543 builtin and then its argument prototype would still apply. */
13548 /* The GNU C library defines this for functions which it implements
13549 to always fail with ENOSYS. Some functions are actually named
13550 something starting with __ and the normal name is an alias. */
13551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13559 if { (eval echo configure:13560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13561 eval "ac_cv_func_
$ac_func=yes"
13563 echo "configure
: failed program was
:" >&5
13564 cat conftest.$ac_ext >&5
13566 eval "ac_cv_func_
$ac_func=no
"
13571 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13572 echo "$ac_t""yes" 1>&6
13573 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13574 cat >> confdefs.h <<EOF
13575 #define $ac_tr_func 1
13579 echo "$ac_t""no
" 1>&6
13588 echo $ac_n "checking
for fabsf declaration
""...
$ac_c" 1>&6
13589 echo "configure
:13590: checking
for fabsf declaration
" >&5
13590 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
13591 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
13592 echo $ac_n "(cached
) $ac_c" 1>&6
13597 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13598 ac_cpp='$CXXCPP $CPPFLAGS'
13599 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13600 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13601 cross_compiling=$ac_cv_prog_cxx_cross
13603 cat > conftest.$ac_ext <<EOF
13604 #line 13605 "configure
"
13605 #include "confdefs.h
"
13607 #ifdef HAVE_IEEEFP_H
13608 #include <ieeefp.h>
13615 if { (eval echo configure:13616: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13617 glibcpp_cv_func_fabsf_use=yes
13619 echo "configure
: failed program was
:" >&5
13620 cat conftest.$ac_ext >&5
13622 glibcpp_cv_func_fabsf_use=no
13626 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13627 ac_cpp='$CPP $CPPFLAGS'
13628 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13629 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13630 cross_compiling=$ac_cv_prog_cc_cross
13636 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
13638 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
13639 for ac_func in fabsf
13641 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13642 echo "configure
:13643: checking
for $ac_func" >&5
13643 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13644 echo $ac_n "(cached
) $ac_c" 1>&6
13646 cat > conftest.$ac_ext <<EOF
13647 #line 13648 "configure
"
13648 #include "confdefs.h
"
13649 /* System header to define __stub macros and hopefully few prototypes,
13650 which can conflict with char $ac_func(); below. */
13651 #include <assert.h>
13652 /* Override any gcc2 internal prototype to avoid an error. */
13653 /* We use char because int might match the return type of a gcc2
13654 builtin and then its argument prototype would still apply. */
13659 /* The GNU C library defines this for functions which it implements
13660 to always fail with ENOSYS. Some functions are actually named
13661 something starting with __ and the normal name is an alias. */
13662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13670 if { (eval echo configure:13671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13672 eval "ac_cv_func_
$ac_func=yes"
13674 echo "configure
: failed program was
:" >&5
13675 cat conftest.$ac_ext >&5
13677 eval "ac_cv_func_
$ac_func=no
"
13682 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13683 echo "$ac_t""yes" 1>&6
13684 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13685 cat >> confdefs.h <<EOF
13686 #define $ac_tr_func 1
13690 echo "$ac_t""no
" 1>&6
13696 echo $ac_n "checking
for _fabsf declaration
""...
$ac_c" 1>&6
13697 echo "configure
:13698: checking
for _fabsf declaration
" >&5
13698 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
13699 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
13700 echo $ac_n "(cached
) $ac_c" 1>&6
13705 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13706 ac_cpp='$CXXCPP $CPPFLAGS'
13707 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13708 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13709 cross_compiling=$ac_cv_prog_cxx_cross
13711 cat > conftest.$ac_ext <<EOF
13712 #line 13713 "configure
"
13713 #include "confdefs.h
"
13715 #ifdef HAVE_IEEEFP_H
13716 #include <ieeefp.h>
13723 if { (eval echo configure:13724: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13725 glibcpp_cv_func__fabsf_use=yes
13727 echo "configure
: failed program was
:" >&5
13728 cat conftest.$ac_ext >&5
13730 glibcpp_cv_func__fabsf_use=no
13734 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13735 ac_cpp='$CPP $CPPFLAGS'
13736 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13737 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13738 cross_compiling=$ac_cv_prog_cc_cross
13744 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
13746 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
13747 for ac_func in _fabsf
13749 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13750 echo "configure
:13751: checking
for $ac_func" >&5
13751 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13752 echo $ac_n "(cached
) $ac_c" 1>&6
13754 cat > conftest.$ac_ext <<EOF
13755 #line 13756 "configure
"
13756 #include "confdefs.h
"
13757 /* System header to define __stub macros and hopefully few prototypes,
13758 which can conflict with char $ac_func(); below. */
13759 #include <assert.h>
13760 /* Override any gcc2 internal prototype to avoid an error. */
13761 /* We use char because int might match the return type of a gcc2
13762 builtin and then its argument prototype would still apply. */
13767 /* The GNU C library defines this for functions which it implements
13768 to always fail with ENOSYS. Some functions are actually named
13769 something starting with __ and the normal name is an alias. */
13770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13778 if { (eval echo configure:13779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13780 eval "ac_cv_func_
$ac_func=yes"
13782 echo "configure
: failed program was
:" >&5
13783 cat conftest.$ac_ext >&5
13785 eval "ac_cv_func_
$ac_func=no
"
13790 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13791 echo "$ac_t""yes" 1>&6
13792 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13793 cat >> confdefs.h <<EOF
13794 #define $ac_tr_func 1
13798 echo "$ac_t""no
" 1>&6
13807 echo $ac_n "checking
for fmodf declaration
""...
$ac_c" 1>&6
13808 echo "configure
:13809: checking
for fmodf declaration
" >&5
13809 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
13810 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
13811 echo $ac_n "(cached
) $ac_c" 1>&6
13816 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13817 ac_cpp='$CXXCPP $CPPFLAGS'
13818 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13819 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13820 cross_compiling=$ac_cv_prog_cxx_cross
13822 cat > conftest.$ac_ext <<EOF
13823 #line 13824 "configure
"
13824 #include "confdefs.h
"
13830 if { (eval echo configure:13831: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13832 glibcpp_cv_func_fmodf_use=yes
13834 echo "configure
: failed program was
:" >&5
13835 cat conftest.$ac_ext >&5
13837 glibcpp_cv_func_fmodf_use=no
13841 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13842 ac_cpp='$CPP $CPPFLAGS'
13843 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13844 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13845 cross_compiling=$ac_cv_prog_cc_cross
13851 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
13853 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
13854 for ac_func in fmodf
13856 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13857 echo "configure
:13858: checking
for $ac_func" >&5
13858 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13859 echo $ac_n "(cached
) $ac_c" 1>&6
13861 cat > conftest.$ac_ext <<EOF
13862 #line 13863 "configure
"
13863 #include "confdefs.h
"
13864 /* System header to define __stub macros and hopefully few prototypes,
13865 which can conflict with char $ac_func(); below. */
13866 #include <assert.h>
13867 /* Override any gcc2 internal prototype to avoid an error. */
13868 /* We use char because int might match the return type of a gcc2
13869 builtin and then its argument prototype would still apply. */
13874 /* The GNU C library defines this for functions which it implements
13875 to always fail with ENOSYS. Some functions are actually named
13876 something starting with __ and the normal name is an alias. */
13877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13885 if { (eval echo configure:13886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13887 eval "ac_cv_func_
$ac_func=yes"
13889 echo "configure
: failed program was
:" >&5
13890 cat conftest.$ac_ext >&5
13892 eval "ac_cv_func_
$ac_func=no
"
13897 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13898 echo "$ac_t""yes" 1>&6
13899 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13900 cat >> confdefs.h <<EOF
13901 #define $ac_tr_func 1
13905 echo "$ac_t""no
" 1>&6
13911 echo $ac_n "checking
for _fmodf declaration
""...
$ac_c" 1>&6
13912 echo "configure
:13913: checking
for _fmodf declaration
" >&5
13913 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
13914 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
13915 echo $ac_n "(cached
) $ac_c" 1>&6
13920 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13921 ac_cpp='$CXXCPP $CPPFLAGS'
13922 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13923 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13924 cross_compiling=$ac_cv_prog_cxx_cross
13926 cat > conftest.$ac_ext <<EOF
13927 #line 13928 "configure
"
13928 #include "confdefs.h
"
13934 if { (eval echo configure:13935: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13936 glibcpp_cv_func__fmodf_use=yes
13938 echo "configure
: failed program was
:" >&5
13939 cat conftest.$ac_ext >&5
13941 glibcpp_cv_func__fmodf_use=no
13945 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13946 ac_cpp='$CPP $CPPFLAGS'
13947 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13948 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13949 cross_compiling=$ac_cv_prog_cc_cross
13955 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
13957 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
13958 for ac_func in _fmodf
13960 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13961 echo "configure
:13962: checking
for $ac_func" >&5
13962 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13963 echo $ac_n "(cached
) $ac_c" 1>&6
13965 cat > conftest.$ac_ext <<EOF
13966 #line 13967 "configure
"
13967 #include "confdefs.h
"
13968 /* System header to define __stub macros and hopefully few prototypes,
13969 which can conflict with char $ac_func(); below. */
13970 #include <assert.h>
13971 /* Override any gcc2 internal prototype to avoid an error. */
13972 /* We use char because int might match the return type of a gcc2
13973 builtin and then its argument prototype would still apply. */
13978 /* The GNU C library defines this for functions which it implements
13979 to always fail with ENOSYS. Some functions are actually named
13980 something starting with __ and the normal name is an alias. */
13981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13989 if { (eval echo configure:13990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13991 eval "ac_cv_func_
$ac_func=yes"
13993 echo "configure
: failed program was
:" >&5
13994 cat conftest.$ac_ext >&5
13996 eval "ac_cv_func_
$ac_func=no
"
14001 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14002 echo "$ac_t""yes" 1>&6
14003 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14004 cat >> confdefs.h <<EOF
14005 #define $ac_tr_func 1
14009 echo "$ac_t""no
" 1>&6
14018 echo $ac_n "checking
for frexpf declaration
""...
$ac_c" 1>&6
14019 echo "configure
:14020: checking
for frexpf declaration
" >&5
14020 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
14021 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
14022 echo $ac_n "(cached
) $ac_c" 1>&6
14027 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14028 ac_cpp='$CXXCPP $CPPFLAGS'
14029 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14030 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14031 cross_compiling=$ac_cv_prog_cxx_cross
14033 cat > conftest.$ac_ext <<EOF
14034 #line 14035 "configure
"
14035 #include "confdefs.h
"
14041 if { (eval echo configure:14042: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14043 glibcpp_cv_func_frexpf_use=yes
14045 echo "configure
: failed program was
:" >&5
14046 cat conftest.$ac_ext >&5
14048 glibcpp_cv_func_frexpf_use=no
14052 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14053 ac_cpp='$CPP $CPPFLAGS'
14054 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14055 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14056 cross_compiling=$ac_cv_prog_cc_cross
14062 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
14064 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
14065 for ac_func in frexpf
14067 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14068 echo "configure
:14069: checking
for $ac_func" >&5
14069 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14070 echo $ac_n "(cached
) $ac_c" 1>&6
14072 cat > conftest.$ac_ext <<EOF
14073 #line 14074 "configure
"
14074 #include "confdefs.h
"
14075 /* System header to define __stub macros and hopefully few prototypes,
14076 which can conflict with char $ac_func(); below. */
14077 #include <assert.h>
14078 /* Override any gcc2 internal prototype to avoid an error. */
14079 /* We use char because int might match the return type of a gcc2
14080 builtin and then its argument prototype would still apply. */
14085 /* The GNU C library defines this for functions which it implements
14086 to always fail with ENOSYS. Some functions are actually named
14087 something starting with __ and the normal name is an alias. */
14088 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14096 if { (eval echo configure:14097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14098 eval "ac_cv_func_
$ac_func=yes"
14100 echo "configure
: failed program was
:" >&5
14101 cat conftest.$ac_ext >&5
14103 eval "ac_cv_func_
$ac_func=no
"
14108 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14109 echo "$ac_t""yes" 1>&6
14110 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14111 cat >> confdefs.h <<EOF
14112 #define $ac_tr_func 1
14116 echo "$ac_t""no
" 1>&6
14122 echo $ac_n "checking
for _frexpf declaration
""...
$ac_c" 1>&6
14123 echo "configure
:14124: checking
for _frexpf declaration
" >&5
14124 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
14125 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
14126 echo $ac_n "(cached
) $ac_c" 1>&6
14131 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14132 ac_cpp='$CXXCPP $CPPFLAGS'
14133 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14134 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14135 cross_compiling=$ac_cv_prog_cxx_cross
14137 cat > conftest.$ac_ext <<EOF
14138 #line 14139 "configure
"
14139 #include "confdefs.h
"
14145 if { (eval echo configure:14146: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14147 glibcpp_cv_func__frexpf_use=yes
14149 echo "configure
: failed program was
:" >&5
14150 cat conftest.$ac_ext >&5
14152 glibcpp_cv_func__frexpf_use=no
14156 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14157 ac_cpp='$CPP $CPPFLAGS'
14158 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14159 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14160 cross_compiling=$ac_cv_prog_cc_cross
14166 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
14168 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
14169 for ac_func in _frexpf
14171 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14172 echo "configure
:14173: checking
for $ac_func" >&5
14173 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14174 echo $ac_n "(cached
) $ac_c" 1>&6
14176 cat > conftest.$ac_ext <<EOF
14177 #line 14178 "configure
"
14178 #include "confdefs.h
"
14179 /* System header to define __stub macros and hopefully few prototypes,
14180 which can conflict with char $ac_func(); below. */
14181 #include <assert.h>
14182 /* Override any gcc2 internal prototype to avoid an error. */
14183 /* We use char because int might match the return type of a gcc2
14184 builtin and then its argument prototype would still apply. */
14189 /* The GNU C library defines this for functions which it implements
14190 to always fail with ENOSYS. Some functions are actually named
14191 something starting with __ and the normal name is an alias. */
14192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14200 if { (eval echo configure:14201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14202 eval "ac_cv_func_
$ac_func=yes"
14204 echo "configure
: failed program was
:" >&5
14205 cat conftest.$ac_ext >&5
14207 eval "ac_cv_func_
$ac_func=no
"
14212 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14213 echo "$ac_t""yes" 1>&6
14214 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14215 cat >> confdefs.h <<EOF
14216 #define $ac_tr_func 1
14220 echo "$ac_t""no
" 1>&6
14229 echo $ac_n "checking
for hypotf declaration
""...
$ac_c" 1>&6
14230 echo "configure
:14231: checking
for hypotf declaration
" >&5
14231 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
14232 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
14233 echo $ac_n "(cached
) $ac_c" 1>&6
14238 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14239 ac_cpp='$CXXCPP $CPPFLAGS'
14240 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14241 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14242 cross_compiling=$ac_cv_prog_cxx_cross
14244 cat > conftest.$ac_ext <<EOF
14245 #line 14246 "configure
"
14246 #include "confdefs.h
"
14252 if { (eval echo configure:14253: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14254 glibcpp_cv_func_hypotf_use=yes
14256 echo "configure
: failed program was
:" >&5
14257 cat conftest.$ac_ext >&5
14259 glibcpp_cv_func_hypotf_use=no
14263 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14264 ac_cpp='$CPP $CPPFLAGS'
14265 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14266 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14267 cross_compiling=$ac_cv_prog_cc_cross
14273 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
14275 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
14276 for ac_func in hypotf
14278 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14279 echo "configure
:14280: checking
for $ac_func" >&5
14280 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14281 echo $ac_n "(cached
) $ac_c" 1>&6
14283 cat > conftest.$ac_ext <<EOF
14284 #line 14285 "configure
"
14285 #include "confdefs.h
"
14286 /* System header to define __stub macros and hopefully few prototypes,
14287 which can conflict with char $ac_func(); below. */
14288 #include <assert.h>
14289 /* Override any gcc2 internal prototype to avoid an error. */
14290 /* We use char because int might match the return type of a gcc2
14291 builtin and then its argument prototype would still apply. */
14296 /* The GNU C library defines this for functions which it implements
14297 to always fail with ENOSYS. Some functions are actually named
14298 something starting with __ and the normal name is an alias. */
14299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14307 if { (eval echo configure:14308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14309 eval "ac_cv_func_
$ac_func=yes"
14311 echo "configure
: failed program was
:" >&5
14312 cat conftest.$ac_ext >&5
14314 eval "ac_cv_func_
$ac_func=no
"
14319 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14320 echo "$ac_t""yes" 1>&6
14321 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14322 cat >> confdefs.h <<EOF
14323 #define $ac_tr_func 1
14327 echo "$ac_t""no
" 1>&6
14333 echo $ac_n "checking
for _hypotf declaration
""...
$ac_c" 1>&6
14334 echo "configure
:14335: checking
for _hypotf declaration
" >&5
14335 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
14336 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
14337 echo $ac_n "(cached
) $ac_c" 1>&6
14342 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14343 ac_cpp='$CXXCPP $CPPFLAGS'
14344 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14345 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14346 cross_compiling=$ac_cv_prog_cxx_cross
14348 cat > conftest.$ac_ext <<EOF
14349 #line 14350 "configure
"
14350 #include "confdefs.h
"
14356 if { (eval echo configure:14357: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14358 glibcpp_cv_func__hypotf_use=yes
14360 echo "configure
: failed program was
:" >&5
14361 cat conftest.$ac_ext >&5
14363 glibcpp_cv_func__hypotf_use=no
14367 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14368 ac_cpp='$CPP $CPPFLAGS'
14369 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14370 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14371 cross_compiling=$ac_cv_prog_cc_cross
14377 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
14379 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
14380 for ac_func in _hypotf
14382 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14383 echo "configure
:14384: checking
for $ac_func" >&5
14384 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14385 echo $ac_n "(cached
) $ac_c" 1>&6
14387 cat > conftest.$ac_ext <<EOF
14388 #line 14389 "configure
"
14389 #include "confdefs.h
"
14390 /* System header to define __stub macros and hopefully few prototypes,
14391 which can conflict with char $ac_func(); below. */
14392 #include <assert.h>
14393 /* Override any gcc2 internal prototype to avoid an error. */
14394 /* We use char because int might match the return type of a gcc2
14395 builtin and then its argument prototype would still apply. */
14400 /* The GNU C library defines this for functions which it implements
14401 to always fail with ENOSYS. Some functions are actually named
14402 something starting with __ and the normal name is an alias. */
14403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14411 if { (eval echo configure:14412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14413 eval "ac_cv_func_
$ac_func=yes"
14415 echo "configure
: failed program was
:" >&5
14416 cat conftest.$ac_ext >&5
14418 eval "ac_cv_func_
$ac_func=no
"
14423 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14424 echo "$ac_t""yes" 1>&6
14425 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14426 cat >> confdefs.h <<EOF
14427 #define $ac_tr_func 1
14431 echo "$ac_t""no
" 1>&6
14440 echo $ac_n "checking
for ldexpf declaration
""...
$ac_c" 1>&6
14441 echo "configure
:14442: checking
for ldexpf declaration
" >&5
14442 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
14443 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
14444 echo $ac_n "(cached
) $ac_c" 1>&6
14449 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14450 ac_cpp='$CXXCPP $CPPFLAGS'
14451 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14452 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14453 cross_compiling=$ac_cv_prog_cxx_cross
14455 cat > conftest.$ac_ext <<EOF
14456 #line 14457 "configure
"
14457 #include "confdefs.h
"
14463 if { (eval echo configure:14464: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14465 glibcpp_cv_func_ldexpf_use=yes
14467 echo "configure
: failed program was
:" >&5
14468 cat conftest.$ac_ext >&5
14470 glibcpp_cv_func_ldexpf_use=no
14474 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14475 ac_cpp='$CPP $CPPFLAGS'
14476 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14477 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14478 cross_compiling=$ac_cv_prog_cc_cross
14484 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
14486 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
14487 for ac_func in ldexpf
14489 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14490 echo "configure
:14491: checking
for $ac_func" >&5
14491 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14492 echo $ac_n "(cached
) $ac_c" 1>&6
14494 cat > conftest.$ac_ext <<EOF
14495 #line 14496 "configure
"
14496 #include "confdefs.h
"
14497 /* System header to define __stub macros and hopefully few prototypes,
14498 which can conflict with char $ac_func(); below. */
14499 #include <assert.h>
14500 /* Override any gcc2 internal prototype to avoid an error. */
14501 /* We use char because int might match the return type of a gcc2
14502 builtin and then its argument prototype would still apply. */
14507 /* The GNU C library defines this for functions which it implements
14508 to always fail with ENOSYS. Some functions are actually named
14509 something starting with __ and the normal name is an alias. */
14510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14518 if { (eval echo configure:14519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14520 eval "ac_cv_func_
$ac_func=yes"
14522 echo "configure
: failed program was
:" >&5
14523 cat conftest.$ac_ext >&5
14525 eval "ac_cv_func_
$ac_func=no
"
14530 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14531 echo "$ac_t""yes" 1>&6
14532 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14533 cat >> confdefs.h <<EOF
14534 #define $ac_tr_func 1
14538 echo "$ac_t""no
" 1>&6
14544 echo $ac_n "checking
for _ldexpf declaration
""...
$ac_c" 1>&6
14545 echo "configure
:14546: checking
for _ldexpf declaration
" >&5
14546 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
14547 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
14548 echo $ac_n "(cached
) $ac_c" 1>&6
14553 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14554 ac_cpp='$CXXCPP $CPPFLAGS'
14555 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14556 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14557 cross_compiling=$ac_cv_prog_cxx_cross
14559 cat > conftest.$ac_ext <<EOF
14560 #line 14561 "configure
"
14561 #include "confdefs.h
"
14567 if { (eval echo configure:14568: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14569 glibcpp_cv_func__ldexpf_use=yes
14571 echo "configure
: failed program was
:" >&5
14572 cat conftest.$ac_ext >&5
14574 glibcpp_cv_func__ldexpf_use=no
14578 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14579 ac_cpp='$CPP $CPPFLAGS'
14580 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14581 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14582 cross_compiling=$ac_cv_prog_cc_cross
14588 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
14590 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
14591 for ac_func in _ldexpf
14593 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14594 echo "configure
:14595: checking
for $ac_func" >&5
14595 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14596 echo $ac_n "(cached
) $ac_c" 1>&6
14598 cat > conftest.$ac_ext <<EOF
14599 #line 14600 "configure
"
14600 #include "confdefs.h
"
14601 /* System header to define __stub macros and hopefully few prototypes,
14602 which can conflict with char $ac_func(); below. */
14603 #include <assert.h>
14604 /* Override any gcc2 internal prototype to avoid an error. */
14605 /* We use char because int might match the return type of a gcc2
14606 builtin and then its argument prototype would still apply. */
14611 /* The GNU C library defines this for functions which it implements
14612 to always fail with ENOSYS. Some functions are actually named
14613 something starting with __ and the normal name is an alias. */
14614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14622 if { (eval echo configure:14623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14624 eval "ac_cv_func_
$ac_func=yes"
14626 echo "configure
: failed program was
:" >&5
14627 cat conftest.$ac_ext >&5
14629 eval "ac_cv_func_
$ac_func=no
"
14634 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14635 echo "$ac_t""yes" 1>&6
14636 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14637 cat >> confdefs.h <<EOF
14638 #define $ac_tr_func 1
14642 echo "$ac_t""no
" 1>&6
14651 echo $ac_n "checking
for logf declaration
""...
$ac_c" 1>&6
14652 echo "configure
:14653: checking
for logf declaration
" >&5
14653 if test x${glibcpp_cv_func_logf_use+set} != xset; then
14654 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
14655 echo $ac_n "(cached
) $ac_c" 1>&6
14660 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14661 ac_cpp='$CXXCPP $CPPFLAGS'
14662 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14663 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14664 cross_compiling=$ac_cv_prog_cxx_cross
14666 cat > conftest.$ac_ext <<EOF
14667 #line 14668 "configure
"
14668 #include "confdefs.h
"
14670 #ifdef HAVE_IEEEFP_H
14671 #include <ieeefp.h>
14678 if { (eval echo configure:14679: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14680 glibcpp_cv_func_logf_use=yes
14682 echo "configure
: failed program was
:" >&5
14683 cat conftest.$ac_ext >&5
14685 glibcpp_cv_func_logf_use=no
14689 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14690 ac_cpp='$CPP $CPPFLAGS'
14691 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14692 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14693 cross_compiling=$ac_cv_prog_cc_cross
14699 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
14701 if test x$glibcpp_cv_func_logf_use = x"yes"; then
14702 for ac_func in logf
14704 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14705 echo "configure
:14706: checking
for $ac_func" >&5
14706 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14707 echo $ac_n "(cached
) $ac_c" 1>&6
14709 cat > conftest.$ac_ext <<EOF
14710 #line 14711 "configure
"
14711 #include "confdefs.h
"
14712 /* System header to define __stub macros and hopefully few prototypes,
14713 which can conflict with char $ac_func(); below. */
14714 #include <assert.h>
14715 /* Override any gcc2 internal prototype to avoid an error. */
14716 /* We use char because int might match the return type of a gcc2
14717 builtin and then its argument prototype would still apply. */
14722 /* The GNU C library defines this for functions which it implements
14723 to always fail with ENOSYS. Some functions are actually named
14724 something starting with __ and the normal name is an alias. */
14725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14733 if { (eval echo configure:14734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14735 eval "ac_cv_func_
$ac_func=yes"
14737 echo "configure
: failed program was
:" >&5
14738 cat conftest.$ac_ext >&5
14740 eval "ac_cv_func_
$ac_func=no
"
14745 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14746 echo "$ac_t""yes" 1>&6
14747 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14748 cat >> confdefs.h <<EOF
14749 #define $ac_tr_func 1
14753 echo "$ac_t""no
" 1>&6
14759 echo $ac_n "checking
for _logf declaration
""...
$ac_c" 1>&6
14760 echo "configure
:14761: checking
for _logf declaration
" >&5
14761 if test x${glibcpp_cv_func__logf_use+set} != xset; then
14762 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
14763 echo $ac_n "(cached
) $ac_c" 1>&6
14768 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14769 ac_cpp='$CXXCPP $CPPFLAGS'
14770 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14771 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14772 cross_compiling=$ac_cv_prog_cxx_cross
14774 cat > conftest.$ac_ext <<EOF
14775 #line 14776 "configure
"
14776 #include "confdefs.h
"
14778 #ifdef HAVE_IEEEFP_H
14779 #include <ieeefp.h>
14786 if { (eval echo configure:14787: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14788 glibcpp_cv_func__logf_use=yes
14790 echo "configure
: failed program was
:" >&5
14791 cat conftest.$ac_ext >&5
14793 glibcpp_cv_func__logf_use=no
14797 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14798 ac_cpp='$CPP $CPPFLAGS'
14799 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14800 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14801 cross_compiling=$ac_cv_prog_cc_cross
14807 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
14809 if test x$glibcpp_cv_func__logf_use = x"yes"; then
14810 for ac_func in _logf
14812 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14813 echo "configure
:14814: checking
for $ac_func" >&5
14814 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14815 echo $ac_n "(cached
) $ac_c" 1>&6
14817 cat > conftest.$ac_ext <<EOF
14818 #line 14819 "configure
"
14819 #include "confdefs.h
"
14820 /* System header to define __stub macros and hopefully few prototypes,
14821 which can conflict with char $ac_func(); below. */
14822 #include <assert.h>
14823 /* Override any gcc2 internal prototype to avoid an error. */
14824 /* We use char because int might match the return type of a gcc2
14825 builtin and then its argument prototype would still apply. */
14830 /* The GNU C library defines this for functions which it implements
14831 to always fail with ENOSYS. Some functions are actually named
14832 something starting with __ and the normal name is an alias. */
14833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14841 if { (eval echo configure:14842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14843 eval "ac_cv_func_
$ac_func=yes"
14845 echo "configure
: failed program was
:" >&5
14846 cat conftest.$ac_ext >&5
14848 eval "ac_cv_func_
$ac_func=no
"
14853 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14854 echo "$ac_t""yes" 1>&6
14855 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14856 cat >> confdefs.h <<EOF
14857 #define $ac_tr_func 1
14861 echo "$ac_t""no
" 1>&6
14870 echo $ac_n "checking
for log10f declaration
""...
$ac_c" 1>&6
14871 echo "configure
:14872: checking
for log10f declaration
" >&5
14872 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
14873 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
14874 echo $ac_n "(cached
) $ac_c" 1>&6
14879 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14880 ac_cpp='$CXXCPP $CPPFLAGS'
14881 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14882 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14883 cross_compiling=$ac_cv_prog_cxx_cross
14885 cat > conftest.$ac_ext <<EOF
14886 #line 14887 "configure
"
14887 #include "confdefs.h
"
14889 #ifdef HAVE_IEEEFP_H
14890 #include <ieeefp.h>
14897 if { (eval echo configure:14898: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14899 glibcpp_cv_func_log10f_use=yes
14901 echo "configure
: failed program was
:" >&5
14902 cat conftest.$ac_ext >&5
14904 glibcpp_cv_func_log10f_use=no
14908 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14909 ac_cpp='$CPP $CPPFLAGS'
14910 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14911 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14912 cross_compiling=$ac_cv_prog_cc_cross
14918 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
14920 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
14921 for ac_func in log10f
14923 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14924 echo "configure
:14925: checking
for $ac_func" >&5
14925 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14926 echo $ac_n "(cached
) $ac_c" 1>&6
14928 cat > conftest.$ac_ext <<EOF
14929 #line 14930 "configure
"
14930 #include "confdefs.h
"
14931 /* System header to define __stub macros and hopefully few prototypes,
14932 which can conflict with char $ac_func(); below. */
14933 #include <assert.h>
14934 /* Override any gcc2 internal prototype to avoid an error. */
14935 /* We use char because int might match the return type of a gcc2
14936 builtin and then its argument prototype would still apply. */
14941 /* The GNU C library defines this for functions which it implements
14942 to always fail with ENOSYS. Some functions are actually named
14943 something starting with __ and the normal name is an alias. */
14944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14952 if { (eval echo configure:14953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14954 eval "ac_cv_func_
$ac_func=yes"
14956 echo "configure
: failed program was
:" >&5
14957 cat conftest.$ac_ext >&5
14959 eval "ac_cv_func_
$ac_func=no
"
14964 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14965 echo "$ac_t""yes" 1>&6
14966 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14967 cat >> confdefs.h <<EOF
14968 #define $ac_tr_func 1
14972 echo "$ac_t""no
" 1>&6
14978 echo $ac_n "checking
for _log10f declaration
""...
$ac_c" 1>&6
14979 echo "configure
:14980: checking
for _log10f declaration
" >&5
14980 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
14981 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
14982 echo $ac_n "(cached
) $ac_c" 1>&6
14987 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14988 ac_cpp='$CXXCPP $CPPFLAGS'
14989 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14990 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14991 cross_compiling=$ac_cv_prog_cxx_cross
14993 cat > conftest.$ac_ext <<EOF
14994 #line 14995 "configure
"
14995 #include "confdefs.h
"
14997 #ifdef HAVE_IEEEFP_H
14998 #include <ieeefp.h>
15005 if { (eval echo configure:15006: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15007 glibcpp_cv_func__log10f_use=yes
15009 echo "configure
: failed program was
:" >&5
15010 cat conftest.$ac_ext >&5
15012 glibcpp_cv_func__log10f_use=no
15016 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15017 ac_cpp='$CPP $CPPFLAGS'
15018 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15019 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15020 cross_compiling=$ac_cv_prog_cc_cross
15026 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
15028 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
15029 for ac_func in _log10f
15031 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15032 echo "configure
:15033: checking
for $ac_func" >&5
15033 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15034 echo $ac_n "(cached
) $ac_c" 1>&6
15036 cat > conftest.$ac_ext <<EOF
15037 #line 15038 "configure
"
15038 #include "confdefs.h
"
15039 /* System header to define __stub macros and hopefully few prototypes,
15040 which can conflict with char $ac_func(); below. */
15041 #include <assert.h>
15042 /* Override any gcc2 internal prototype to avoid an error. */
15043 /* We use char because int might match the return type of a gcc2
15044 builtin and then its argument prototype would still apply. */
15049 /* The GNU C library defines this for functions which it implements
15050 to always fail with ENOSYS. Some functions are actually named
15051 something starting with __ and the normal name is an alias. */
15052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15060 if { (eval echo configure:15061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15062 eval "ac_cv_func_
$ac_func=yes"
15064 echo "configure
: failed program was
:" >&5
15065 cat conftest.$ac_ext >&5
15067 eval "ac_cv_func_
$ac_func=no
"
15072 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15073 echo "$ac_t""yes" 1>&6
15074 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15075 cat >> confdefs.h <<EOF
15076 #define $ac_tr_func 1
15080 echo "$ac_t""no
" 1>&6
15089 echo $ac_n "checking
for modff declaration
""...
$ac_c" 1>&6
15090 echo "configure
:15091: checking
for modff declaration
" >&5
15091 if test x${glibcpp_cv_func_modff_use+set} != xset; then
15092 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
15093 echo $ac_n "(cached
) $ac_c" 1>&6
15098 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15099 ac_cpp='$CXXCPP $CPPFLAGS'
15100 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15101 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15102 cross_compiling=$ac_cv_prog_cxx_cross
15104 cat > conftest.$ac_ext <<EOF
15105 #line 15106 "configure
"
15106 #include "confdefs.h
"
15112 if { (eval echo configure:15113: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15114 glibcpp_cv_func_modff_use=yes
15116 echo "configure
: failed program was
:" >&5
15117 cat conftest.$ac_ext >&5
15119 glibcpp_cv_func_modff_use=no
15123 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15124 ac_cpp='$CPP $CPPFLAGS'
15125 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15126 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15127 cross_compiling=$ac_cv_prog_cc_cross
15133 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
15135 if test x$glibcpp_cv_func_modff_use = x"yes"; then
15136 for ac_func in modff
15138 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15139 echo "configure
:15140: checking
for $ac_func" >&5
15140 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15141 echo $ac_n "(cached
) $ac_c" 1>&6
15143 cat > conftest.$ac_ext <<EOF
15144 #line 15145 "configure
"
15145 #include "confdefs.h
"
15146 /* System header to define __stub macros and hopefully few prototypes,
15147 which can conflict with char $ac_func(); below. */
15148 #include <assert.h>
15149 /* Override any gcc2 internal prototype to avoid an error. */
15150 /* We use char because int might match the return type of a gcc2
15151 builtin and then its argument prototype would still apply. */
15156 /* The GNU C library defines this for functions which it implements
15157 to always fail with ENOSYS. Some functions are actually named
15158 something starting with __ and the normal name is an alias. */
15159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15167 if { (eval echo configure:15168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15169 eval "ac_cv_func_
$ac_func=yes"
15171 echo "configure
: failed program was
:" >&5
15172 cat conftest.$ac_ext >&5
15174 eval "ac_cv_func_
$ac_func=no
"
15179 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15180 echo "$ac_t""yes" 1>&6
15181 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15182 cat >> confdefs.h <<EOF
15183 #define $ac_tr_func 1
15187 echo "$ac_t""no
" 1>&6
15193 echo $ac_n "checking
for _modff declaration
""...
$ac_c" 1>&6
15194 echo "configure
:15195: checking
for _modff declaration
" >&5
15195 if test x${glibcpp_cv_func__modff_use+set} != xset; then
15196 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
15197 echo $ac_n "(cached
) $ac_c" 1>&6
15202 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15203 ac_cpp='$CXXCPP $CPPFLAGS'
15204 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15205 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15206 cross_compiling=$ac_cv_prog_cxx_cross
15208 cat > conftest.$ac_ext <<EOF
15209 #line 15210 "configure
"
15210 #include "confdefs.h
"
15216 if { (eval echo configure:15217: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15218 glibcpp_cv_func__modff_use=yes
15220 echo "configure
: failed program was
:" >&5
15221 cat conftest.$ac_ext >&5
15223 glibcpp_cv_func__modff_use=no
15227 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15228 ac_cpp='$CPP $CPPFLAGS'
15229 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15230 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15231 cross_compiling=$ac_cv_prog_cc_cross
15237 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
15239 if test x$glibcpp_cv_func__modff_use = x"yes"; then
15240 for ac_func in _modff
15242 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15243 echo "configure
:15244: checking
for $ac_func" >&5
15244 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15245 echo $ac_n "(cached
) $ac_c" 1>&6
15247 cat > conftest.$ac_ext <<EOF
15248 #line 15249 "configure
"
15249 #include "confdefs.h
"
15250 /* System header to define __stub macros and hopefully few prototypes,
15251 which can conflict with char $ac_func(); below. */
15252 #include <assert.h>
15253 /* Override any gcc2 internal prototype to avoid an error. */
15254 /* We use char because int might match the return type of a gcc2
15255 builtin and then its argument prototype would still apply. */
15260 /* The GNU C library defines this for functions which it implements
15261 to always fail with ENOSYS. Some functions are actually named
15262 something starting with __ and the normal name is an alias. */
15263 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15271 if { (eval echo configure:15272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15273 eval "ac_cv_func_
$ac_func=yes"
15275 echo "configure
: failed program was
:" >&5
15276 cat conftest.$ac_ext >&5
15278 eval "ac_cv_func_
$ac_func=no
"
15283 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15284 echo "$ac_t""yes" 1>&6
15285 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15286 cat >> confdefs.h <<EOF
15287 #define $ac_tr_func 1
15291 echo "$ac_t""no
" 1>&6
15300 echo $ac_n "checking
for powf declaration
""...
$ac_c" 1>&6
15301 echo "configure
:15302: checking
for powf declaration
" >&5
15302 if test x${glibcpp_cv_func_powf_use+set} != xset; then
15303 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
15304 echo $ac_n "(cached
) $ac_c" 1>&6
15309 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15310 ac_cpp='$CXXCPP $CPPFLAGS'
15311 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15312 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15313 cross_compiling=$ac_cv_prog_cxx_cross
15315 cat > conftest.$ac_ext <<EOF
15316 #line 15317 "configure
"
15317 #include "confdefs.h
"
15323 if { (eval echo configure:15324: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15325 glibcpp_cv_func_powf_use=yes
15327 echo "configure
: failed program was
:" >&5
15328 cat conftest.$ac_ext >&5
15330 glibcpp_cv_func_powf_use=no
15334 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15335 ac_cpp='$CPP $CPPFLAGS'
15336 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15337 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15338 cross_compiling=$ac_cv_prog_cc_cross
15344 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
15346 if test x$glibcpp_cv_func_powf_use = x"yes"; then
15347 for ac_func in powf
15349 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15350 echo "configure
:15351: checking
for $ac_func" >&5
15351 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15352 echo $ac_n "(cached
) $ac_c" 1>&6
15354 cat > conftest.$ac_ext <<EOF
15355 #line 15356 "configure
"
15356 #include "confdefs.h
"
15357 /* System header to define __stub macros and hopefully few prototypes,
15358 which can conflict with char $ac_func(); below. */
15359 #include <assert.h>
15360 /* Override any gcc2 internal prototype to avoid an error. */
15361 /* We use char because int might match the return type of a gcc2
15362 builtin and then its argument prototype would still apply. */
15367 /* The GNU C library defines this for functions which it implements
15368 to always fail with ENOSYS. Some functions are actually named
15369 something starting with __ and the normal name is an alias. */
15370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15378 if { (eval echo configure:15379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15380 eval "ac_cv_func_
$ac_func=yes"
15382 echo "configure
: failed program was
:" >&5
15383 cat conftest.$ac_ext >&5
15385 eval "ac_cv_func_
$ac_func=no
"
15390 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15391 echo "$ac_t""yes" 1>&6
15392 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15393 cat >> confdefs.h <<EOF
15394 #define $ac_tr_func 1
15398 echo "$ac_t""no
" 1>&6
15404 echo $ac_n "checking
for _powf declaration
""...
$ac_c" 1>&6
15405 echo "configure
:15406: checking
for _powf declaration
" >&5
15406 if test x${glibcpp_cv_func__powf_use+set} != xset; then
15407 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
15408 echo $ac_n "(cached
) $ac_c" 1>&6
15413 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15414 ac_cpp='$CXXCPP $CPPFLAGS'
15415 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15416 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15417 cross_compiling=$ac_cv_prog_cxx_cross
15419 cat > conftest.$ac_ext <<EOF
15420 #line 15421 "configure
"
15421 #include "confdefs.h
"
15427 if { (eval echo configure:15428: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15429 glibcpp_cv_func__powf_use=yes
15431 echo "configure
: failed program was
:" >&5
15432 cat conftest.$ac_ext >&5
15434 glibcpp_cv_func__powf_use=no
15438 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15439 ac_cpp='$CPP $CPPFLAGS'
15440 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15441 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15442 cross_compiling=$ac_cv_prog_cc_cross
15448 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
15450 if test x$glibcpp_cv_func__powf_use = x"yes"; then
15451 for ac_func in _powf
15453 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15454 echo "configure
:15455: checking
for $ac_func" >&5
15455 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15456 echo $ac_n "(cached
) $ac_c" 1>&6
15458 cat > conftest.$ac_ext <<EOF
15459 #line 15460 "configure
"
15460 #include "confdefs.h
"
15461 /* System header to define __stub macros and hopefully few prototypes,
15462 which can conflict with char $ac_func(); below. */
15463 #include <assert.h>
15464 /* Override any gcc2 internal prototype to avoid an error. */
15465 /* We use char because int might match the return type of a gcc2
15466 builtin and then its argument prototype would still apply. */
15471 /* The GNU C library defines this for functions which it implements
15472 to always fail with ENOSYS. Some functions are actually named
15473 something starting with __ and the normal name is an alias. */
15474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15482 if { (eval echo configure:15483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15484 eval "ac_cv_func_
$ac_func=yes"
15486 echo "configure
: failed program was
:" >&5
15487 cat conftest.$ac_ext >&5
15489 eval "ac_cv_func_
$ac_func=no
"
15494 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15495 echo "$ac_t""yes" 1>&6
15496 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15497 cat >> confdefs.h <<EOF
15498 #define $ac_tr_func 1
15502 echo "$ac_t""no
" 1>&6
15511 echo $ac_n "checking
for sqrtf declaration
""...
$ac_c" 1>&6
15512 echo "configure
:15513: checking
for sqrtf declaration
" >&5
15513 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
15514 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
15515 echo $ac_n "(cached
) $ac_c" 1>&6
15520 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15521 ac_cpp='$CXXCPP $CPPFLAGS'
15522 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15523 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15524 cross_compiling=$ac_cv_prog_cxx_cross
15526 cat > conftest.$ac_ext <<EOF
15527 #line 15528 "configure
"
15528 #include "confdefs.h
"
15530 #ifdef HAVE_IEEEFP_H
15531 #include <ieeefp.h>
15538 if { (eval echo configure:15539: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15540 glibcpp_cv_func_sqrtf_use=yes
15542 echo "configure
: failed program was
:" >&5
15543 cat conftest.$ac_ext >&5
15545 glibcpp_cv_func_sqrtf_use=no
15549 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15550 ac_cpp='$CPP $CPPFLAGS'
15551 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15552 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15553 cross_compiling=$ac_cv_prog_cc_cross
15559 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
15561 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
15562 for ac_func in sqrtf
15564 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15565 echo "configure
:15566: checking
for $ac_func" >&5
15566 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15567 echo $ac_n "(cached
) $ac_c" 1>&6
15569 cat > conftest.$ac_ext <<EOF
15570 #line 15571 "configure
"
15571 #include "confdefs.h
"
15572 /* System header to define __stub macros and hopefully few prototypes,
15573 which can conflict with char $ac_func(); below. */
15574 #include <assert.h>
15575 /* Override any gcc2 internal prototype to avoid an error. */
15576 /* We use char because int might match the return type of a gcc2
15577 builtin and then its argument prototype would still apply. */
15582 /* The GNU C library defines this for functions which it implements
15583 to always fail with ENOSYS. Some functions are actually named
15584 something starting with __ and the normal name is an alias. */
15585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15593 if { (eval echo configure:15594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15595 eval "ac_cv_func_
$ac_func=yes"
15597 echo "configure
: failed program was
:" >&5
15598 cat conftest.$ac_ext >&5
15600 eval "ac_cv_func_
$ac_func=no
"
15605 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15606 echo "$ac_t""yes" 1>&6
15607 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15608 cat >> confdefs.h <<EOF
15609 #define $ac_tr_func 1
15613 echo "$ac_t""no
" 1>&6
15619 echo $ac_n "checking
for _sqrtf declaration
""...
$ac_c" 1>&6
15620 echo "configure
:15621: checking
for _sqrtf declaration
" >&5
15621 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
15622 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
15623 echo $ac_n "(cached
) $ac_c" 1>&6
15628 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15629 ac_cpp='$CXXCPP $CPPFLAGS'
15630 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15631 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15632 cross_compiling=$ac_cv_prog_cxx_cross
15634 cat > conftest.$ac_ext <<EOF
15635 #line 15636 "configure
"
15636 #include "confdefs.h
"
15638 #ifdef HAVE_IEEEFP_H
15639 #include <ieeefp.h>
15646 if { (eval echo configure:15647: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15648 glibcpp_cv_func__sqrtf_use=yes
15650 echo "configure
: failed program was
:" >&5
15651 cat conftest.$ac_ext >&5
15653 glibcpp_cv_func__sqrtf_use=no
15657 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15658 ac_cpp='$CPP $CPPFLAGS'
15659 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15660 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15661 cross_compiling=$ac_cv_prog_cc_cross
15667 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
15669 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
15670 for ac_func in _sqrtf
15672 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15673 echo "configure
:15674: checking
for $ac_func" >&5
15674 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15675 echo $ac_n "(cached
) $ac_c" 1>&6
15677 cat > conftest.$ac_ext <<EOF
15678 #line 15679 "configure
"
15679 #include "confdefs.h
"
15680 /* System header to define __stub macros and hopefully few prototypes,
15681 which can conflict with char $ac_func(); below. */
15682 #include <assert.h>
15683 /* Override any gcc2 internal prototype to avoid an error. */
15684 /* We use char because int might match the return type of a gcc2
15685 builtin and then its argument prototype would still apply. */
15690 /* The GNU C library defines this for functions which it implements
15691 to always fail with ENOSYS. Some functions are actually named
15692 something starting with __ and the normal name is an alias. */
15693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15701 if { (eval echo configure:15702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15703 eval "ac_cv_func_
$ac_func=yes"
15705 echo "configure
: failed program was
:" >&5
15706 cat conftest.$ac_ext >&5
15708 eval "ac_cv_func_
$ac_func=no
"
15713 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15714 echo "$ac_t""yes" 1>&6
15715 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15716 cat >> confdefs.h <<EOF
15717 #define $ac_tr_func 1
15721 echo "$ac_t""no
" 1>&6
15730 echo $ac_n "checking
for sincosf declaration
""...
$ac_c" 1>&6
15731 echo "configure
:15732: checking
for sincosf declaration
" >&5
15732 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
15733 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
15734 echo $ac_n "(cached
) $ac_c" 1>&6
15739 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15740 ac_cpp='$CXXCPP $CPPFLAGS'
15741 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15742 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15743 cross_compiling=$ac_cv_prog_cxx_cross
15745 cat > conftest.$ac_ext <<EOF
15746 #line 15747 "configure
"
15747 #include "confdefs.h
"
15753 if { (eval echo configure:15754: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15755 glibcpp_cv_func_sincosf_use=yes
15757 echo "configure
: failed program was
:" >&5
15758 cat conftest.$ac_ext >&5
15760 glibcpp_cv_func_sincosf_use=no
15764 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15765 ac_cpp='$CPP $CPPFLAGS'
15766 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15767 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15768 cross_compiling=$ac_cv_prog_cc_cross
15774 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
15776 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
15777 for ac_func in sincosf
15779 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15780 echo "configure
:15781: checking
for $ac_func" >&5
15781 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15782 echo $ac_n "(cached
) $ac_c" 1>&6
15784 cat > conftest.$ac_ext <<EOF
15785 #line 15786 "configure
"
15786 #include "confdefs.h
"
15787 /* System header to define __stub macros and hopefully few prototypes,
15788 which can conflict with char $ac_func(); below. */
15789 #include <assert.h>
15790 /* Override any gcc2 internal prototype to avoid an error. */
15791 /* We use char because int might match the return type of a gcc2
15792 builtin and then its argument prototype would still apply. */
15797 /* The GNU C library defines this for functions which it implements
15798 to always fail with ENOSYS. Some functions are actually named
15799 something starting with __ and the normal name is an alias. */
15800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15808 if { (eval echo configure:15809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15810 eval "ac_cv_func_
$ac_func=yes"
15812 echo "configure
: failed program was
:" >&5
15813 cat conftest.$ac_ext >&5
15815 eval "ac_cv_func_
$ac_func=no
"
15820 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15821 echo "$ac_t""yes" 1>&6
15822 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15823 cat >> confdefs.h <<EOF
15824 #define $ac_tr_func 1
15828 echo "$ac_t""no
" 1>&6
15834 echo $ac_n "checking
for _sincosf declaration
""...
$ac_c" 1>&6
15835 echo "configure
:15836: checking
for _sincosf declaration
" >&5
15836 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
15837 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
15838 echo $ac_n "(cached
) $ac_c" 1>&6
15843 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15844 ac_cpp='$CXXCPP $CPPFLAGS'
15845 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15846 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15847 cross_compiling=$ac_cv_prog_cxx_cross
15849 cat > conftest.$ac_ext <<EOF
15850 #line 15851 "configure
"
15851 #include "confdefs.h
"
15857 if { (eval echo configure:15858: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15859 glibcpp_cv_func__sincosf_use=yes
15861 echo "configure
: failed program was
:" >&5
15862 cat conftest.$ac_ext >&5
15864 glibcpp_cv_func__sincosf_use=no
15868 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15869 ac_cpp='$CPP $CPPFLAGS'
15870 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15871 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15872 cross_compiling=$ac_cv_prog_cc_cross
15878 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
15880 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
15881 for ac_func in _sincosf
15883 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15884 echo "configure
:15885: checking
for $ac_func" >&5
15885 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15886 echo $ac_n "(cached
) $ac_c" 1>&6
15888 cat > conftest.$ac_ext <<EOF
15889 #line 15890 "configure
"
15890 #include "confdefs.h
"
15891 /* System header to define __stub macros and hopefully few prototypes,
15892 which can conflict with char $ac_func(); below. */
15893 #include <assert.h>
15894 /* Override any gcc2 internal prototype to avoid an error. */
15895 /* We use char because int might match the return type of a gcc2
15896 builtin and then its argument prototype would still apply. */
15901 /* The GNU C library defines this for functions which it implements
15902 to always fail with ENOSYS. Some functions are actually named
15903 something starting with __ and the normal name is an alias. */
15904 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15912 if { (eval echo configure:15913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15914 eval "ac_cv_func_
$ac_func=yes"
15916 echo "configure
: failed program was
:" >&5
15917 cat conftest.$ac_ext >&5
15919 eval "ac_cv_func_
$ac_func=no
"
15924 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15925 echo "$ac_t""yes" 1>&6
15926 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15927 cat >> confdefs.h <<EOF
15928 #define $ac_tr_func 1
15932 echo "$ac_t""no
" 1>&6
15941 echo $ac_n "checking
for finitef declaration
""...
$ac_c" 1>&6
15942 echo "configure
:15943: checking
for finitef declaration
" >&5
15943 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
15944 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
15945 echo $ac_n "(cached
) $ac_c" 1>&6
15950 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15951 ac_cpp='$CXXCPP $CPPFLAGS'
15952 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15953 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15954 cross_compiling=$ac_cv_prog_cxx_cross
15956 cat > conftest.$ac_ext <<EOF
15957 #line 15958 "configure
"
15958 #include "confdefs.h
"
15960 #ifdef HAVE_IEEEFP_H
15961 #include <ieeefp.h>
15968 if { (eval echo configure:15969: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15970 glibcpp_cv_func_finitef_use=yes
15972 echo "configure
: failed program was
:" >&5
15973 cat conftest.$ac_ext >&5
15975 glibcpp_cv_func_finitef_use=no
15979 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15980 ac_cpp='$CPP $CPPFLAGS'
15981 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15982 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15983 cross_compiling=$ac_cv_prog_cc_cross
15989 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
15991 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
15992 for ac_func in finitef
15994 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15995 echo "configure
:15996: checking
for $ac_func" >&5
15996 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15997 echo $ac_n "(cached
) $ac_c" 1>&6
15999 cat > conftest.$ac_ext <<EOF
16000 #line 16001 "configure
"
16001 #include "confdefs.h
"
16002 /* System header to define __stub macros and hopefully few prototypes,
16003 which can conflict with char $ac_func(); below. */
16004 #include <assert.h>
16005 /* Override any gcc2 internal prototype to avoid an error. */
16006 /* We use char because int might match the return type of a gcc2
16007 builtin and then its argument prototype would still apply. */
16012 /* The GNU C library defines this for functions which it implements
16013 to always fail with ENOSYS. Some functions are actually named
16014 something starting with __ and the normal name is an alias. */
16015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16023 if { (eval echo configure:16024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16025 eval "ac_cv_func_
$ac_func=yes"
16027 echo "configure
: failed program was
:" >&5
16028 cat conftest.$ac_ext >&5
16030 eval "ac_cv_func_
$ac_func=no
"
16035 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16036 echo "$ac_t""yes" 1>&6
16037 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16038 cat >> confdefs.h <<EOF
16039 #define $ac_tr_func 1
16043 echo "$ac_t""no
" 1>&6
16049 echo $ac_n "checking
for _finitef declaration
""...
$ac_c" 1>&6
16050 echo "configure
:16051: checking
for _finitef declaration
" >&5
16051 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
16052 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
16053 echo $ac_n "(cached
) $ac_c" 1>&6
16058 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16059 ac_cpp='$CXXCPP $CPPFLAGS'
16060 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16061 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16062 cross_compiling=$ac_cv_prog_cxx_cross
16064 cat > conftest.$ac_ext <<EOF
16065 #line 16066 "configure
"
16066 #include "confdefs.h
"
16068 #ifdef HAVE_IEEEFP_H
16069 #include <ieeefp.h>
16076 if { (eval echo configure:16077: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16078 glibcpp_cv_func__finitef_use=yes
16080 echo "configure
: failed program was
:" >&5
16081 cat conftest.$ac_ext >&5
16083 glibcpp_cv_func__finitef_use=no
16087 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16088 ac_cpp='$CPP $CPPFLAGS'
16089 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16090 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16091 cross_compiling=$ac_cv_prog_cc_cross
16097 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
16099 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
16100 for ac_func in _finitef
16102 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16103 echo "configure
:16104: checking
for $ac_func" >&5
16104 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16105 echo $ac_n "(cached
) $ac_c" 1>&6
16107 cat > conftest.$ac_ext <<EOF
16108 #line 16109 "configure
"
16109 #include "confdefs.h
"
16110 /* System header to define __stub macros and hopefully few prototypes,
16111 which can conflict with char $ac_func(); below. */
16112 #include <assert.h>
16113 /* Override any gcc2 internal prototype to avoid an error. */
16114 /* We use char because int might match the return type of a gcc2
16115 builtin and then its argument prototype would still apply. */
16120 /* The GNU C library defines this for functions which it implements
16121 to always fail with ENOSYS. Some functions are actually named
16122 something starting with __ and the normal name is an alias. */
16123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16131 if { (eval echo configure:16132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16133 eval "ac_cv_func_
$ac_func=yes"
16135 echo "configure
: failed program was
:" >&5
16136 cat conftest.$ac_ext >&5
16138 eval "ac_cv_func_
$ac_func=no
"
16143 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16144 echo "$ac_t""yes" 1>&6
16145 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16146 cat >> confdefs.h <<EOF
16147 #define $ac_tr_func 1
16151 echo "$ac_t""no
" 1>&6
16160 echo $ac_n "checking
for long double trig functions
""...
$ac_c" 1>&6
16161 echo "configure
:16162: checking
for long double trig functions
" >&5
16162 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
16163 echo $ac_n "(cached
) $ac_c" 1>&6
16168 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16169 ac_cpp='$CXXCPP $CPPFLAGS'
16170 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16171 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16172 cross_compiling=$ac_cv_prog_cxx_cross
16174 cat > conftest.$ac_ext <<EOF
16175 #line 16176 "configure
"
16176 #include "confdefs.h
"
16179 `for x in acosl asinl atanl \
16181 coshl sinhl tanhl; do echo "$x (0);"; done`
16184 if { (eval echo configure:16185: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16186 glibcpp_cv_func_long_double_trig_use=yes
16188 echo "configure
: failed program was
:" >&5
16189 cat conftest.$ac_ext >&5
16191 glibcpp_cv_func_long_double_trig_use=no
16195 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16196 ac_cpp='$CPP $CPPFLAGS'
16197 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16198 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16199 cross_compiling=$ac_cv_prog_cc_cross
16203 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
16204 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
16205 for ac_func in acosl asinl atanl \
16209 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16210 echo "configure
:16211: checking
for $ac_func" >&5
16211 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16212 echo $ac_n "(cached
) $ac_c" 1>&6
16214 cat > conftest.$ac_ext <<EOF
16215 #line 16216 "configure
"
16216 #include "confdefs.h
"
16217 /* System header to define __stub macros and hopefully few prototypes,
16218 which can conflict with char $ac_func(); below. */
16219 #include <assert.h>
16220 /* Override any gcc2 internal prototype to avoid an error. */
16221 /* We use char because int might match the return type of a gcc2
16222 builtin and then its argument prototype would still apply. */
16227 /* The GNU C library defines this for functions which it implements
16228 to always fail with ENOSYS. Some functions are actually named
16229 something starting with __ and the normal name is an alias. */
16230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16238 if { (eval echo configure:16239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16240 eval "ac_cv_func_
$ac_func=yes"
16242 echo "configure
: failed program was
:" >&5
16243 cat conftest.$ac_ext >&5
16245 eval "ac_cv_func_
$ac_func=no
"
16250 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16251 echo "$ac_t""yes" 1>&6
16252 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16253 cat >> confdefs.h <<EOF
16254 #define $ac_tr_func 1
16258 echo "$ac_t""no
" 1>&6
16265 echo $ac_n "checking
for long double round functions
""...
$ac_c" 1>&6
16266 echo "configure
:16267: checking
for long double round functions
" >&5
16267 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
16268 echo $ac_n "(cached
) $ac_c" 1>&6
16273 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16274 ac_cpp='$CXXCPP $CPPFLAGS'
16275 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16276 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16277 cross_compiling=$ac_cv_prog_cxx_cross
16279 cat > conftest.$ac_ext <<EOF
16280 #line 16281 "configure
"
16281 #include "confdefs.h
"
16284 `for x in ceill floorl; do echo "$x (0);"; done`
16287 if { (eval echo configure:16288: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16289 glibcpp_cv_func_long_double_round_use=yes
16291 echo "configure
: failed program was
:" >&5
16292 cat conftest.$ac_ext >&5
16294 glibcpp_cv_func_long_double_round_use=no
16298 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16299 ac_cpp='$CPP $CPPFLAGS'
16300 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16301 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16302 cross_compiling=$ac_cv_prog_cc_cross
16306 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
16307 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
16308 for ac_func in ceill floorl
16310 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16311 echo "configure
:16312: checking
for $ac_func" >&5
16312 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16313 echo $ac_n "(cached
) $ac_c" 1>&6
16315 cat > conftest.$ac_ext <<EOF
16316 #line 16317 "configure
"
16317 #include "confdefs.h
"
16318 /* System header to define __stub macros and hopefully few prototypes,
16319 which can conflict with char $ac_func(); below. */
16320 #include <assert.h>
16321 /* Override any gcc2 internal prototype to avoid an error. */
16322 /* We use char because int might match the return type of a gcc2
16323 builtin and then its argument prototype would still apply. */
16328 /* The GNU C library defines this for functions which it implements
16329 to always fail with ENOSYS. Some functions are actually named
16330 something starting with __ and the normal name is an alias. */
16331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16339 if { (eval echo configure:16340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16341 eval "ac_cv_func_
$ac_func=yes"
16343 echo "configure
: failed program was
:" >&5
16344 cat conftest.$ac_ext >&5
16346 eval "ac_cv_func_
$ac_func=no
"
16351 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16352 echo "$ac_t""yes" 1>&6
16353 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16354 cat >> confdefs.h <<EOF
16355 #define $ac_tr_func 1
16359 echo "$ac_t""no
" 1>&6
16367 echo $ac_n "checking
for isnanl declaration
""...
$ac_c" 1>&6
16368 echo "configure
:16369: checking
for isnanl declaration
" >&5
16369 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
16370 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
16371 echo $ac_n "(cached
) $ac_c" 1>&6
16376 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16377 ac_cpp='$CXXCPP $CPPFLAGS'
16378 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16379 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16380 cross_compiling=$ac_cv_prog_cxx_cross
16382 cat > conftest.$ac_ext <<EOF
16383 #line 16384 "configure
"
16384 #include "confdefs.h
"
16386 #ifdef HAVE_IEEEFP_H
16387 #include <ieeefp.h>
16394 if { (eval echo configure:16395: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16396 glibcpp_cv_func_isnanl_use=yes
16398 echo "configure
: failed program was
:" >&5
16399 cat conftest.$ac_ext >&5
16401 glibcpp_cv_func_isnanl_use=no
16405 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16406 ac_cpp='$CPP $CPPFLAGS'
16407 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16408 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16409 cross_compiling=$ac_cv_prog_cc_cross
16415 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
16417 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
16418 for ac_func in isnanl
16420 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16421 echo "configure
:16422: checking
for $ac_func" >&5
16422 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16423 echo $ac_n "(cached
) $ac_c" 1>&6
16425 cat > conftest.$ac_ext <<EOF
16426 #line 16427 "configure
"
16427 #include "confdefs.h
"
16428 /* System header to define __stub macros and hopefully few prototypes,
16429 which can conflict with char $ac_func(); below. */
16430 #include <assert.h>
16431 /* Override any gcc2 internal prototype to avoid an error. */
16432 /* We use char because int might match the return type of a gcc2
16433 builtin and then its argument prototype would still apply. */
16438 /* The GNU C library defines this for functions which it implements
16439 to always fail with ENOSYS. Some functions are actually named
16440 something starting with __ and the normal name is an alias. */
16441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16449 if { (eval echo configure:16450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16451 eval "ac_cv_func_
$ac_func=yes"
16453 echo "configure
: failed program was
:" >&5
16454 cat conftest.$ac_ext >&5
16456 eval "ac_cv_func_
$ac_func=no
"
16461 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16462 echo "$ac_t""yes" 1>&6
16463 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16464 cat >> confdefs.h <<EOF
16465 #define $ac_tr_func 1
16469 echo "$ac_t""no
" 1>&6
16475 echo $ac_n "checking
for _isnanl declaration
""...
$ac_c" 1>&6
16476 echo "configure
:16477: checking
for _isnanl declaration
" >&5
16477 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
16478 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
16479 echo $ac_n "(cached
) $ac_c" 1>&6
16484 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16485 ac_cpp='$CXXCPP $CPPFLAGS'
16486 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16487 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16488 cross_compiling=$ac_cv_prog_cxx_cross
16490 cat > conftest.$ac_ext <<EOF
16491 #line 16492 "configure
"
16492 #include "confdefs.h
"
16494 #ifdef HAVE_IEEEFP_H
16495 #include <ieeefp.h>
16502 if { (eval echo configure:16503: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16504 glibcpp_cv_func__isnanl_use=yes
16506 echo "configure
: failed program was
:" >&5
16507 cat conftest.$ac_ext >&5
16509 glibcpp_cv_func__isnanl_use=no
16513 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16514 ac_cpp='$CPP $CPPFLAGS'
16515 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16516 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16517 cross_compiling=$ac_cv_prog_cc_cross
16523 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
16525 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
16526 for ac_func in _isnanl
16528 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16529 echo "configure
:16530: checking
for $ac_func" >&5
16530 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16531 echo $ac_n "(cached
) $ac_c" 1>&6
16533 cat > conftest.$ac_ext <<EOF
16534 #line 16535 "configure
"
16535 #include "confdefs.h
"
16536 /* System header to define __stub macros and hopefully few prototypes,
16537 which can conflict with char $ac_func(); below. */
16538 #include <assert.h>
16539 /* Override any gcc2 internal prototype to avoid an error. */
16540 /* We use char because int might match the return type of a gcc2
16541 builtin and then its argument prototype would still apply. */
16546 /* The GNU C library defines this for functions which it implements
16547 to always fail with ENOSYS. Some functions are actually named
16548 something starting with __ and the normal name is an alias. */
16549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16557 if { (eval echo configure:16558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16559 eval "ac_cv_func_
$ac_func=yes"
16561 echo "configure
: failed program was
:" >&5
16562 cat conftest.$ac_ext >&5
16564 eval "ac_cv_func_
$ac_func=no
"
16569 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16570 echo "$ac_t""yes" 1>&6
16571 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16572 cat >> confdefs.h <<EOF
16573 #define $ac_tr_func 1
16577 echo "$ac_t""no
" 1>&6
16586 echo $ac_n "checking
for isinfl declaration
""...
$ac_c" 1>&6
16587 echo "configure
:16588: checking
for isinfl declaration
" >&5
16588 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
16589 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
16590 echo $ac_n "(cached
) $ac_c" 1>&6
16595 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16596 ac_cpp='$CXXCPP $CPPFLAGS'
16597 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16598 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16599 cross_compiling=$ac_cv_prog_cxx_cross
16601 cat > conftest.$ac_ext <<EOF
16602 #line 16603 "configure
"
16603 #include "confdefs.h
"
16605 #ifdef HAVE_IEEEFP_H
16606 #include <ieeefp.h>
16613 if { (eval echo configure:16614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16615 glibcpp_cv_func_isinfl_use=yes
16617 echo "configure
: failed program was
:" >&5
16618 cat conftest.$ac_ext >&5
16620 glibcpp_cv_func_isinfl_use=no
16624 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16625 ac_cpp='$CPP $CPPFLAGS'
16626 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16627 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16628 cross_compiling=$ac_cv_prog_cc_cross
16634 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
16636 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
16637 for ac_func in isinfl
16639 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16640 echo "configure
:16641: checking
for $ac_func" >&5
16641 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16642 echo $ac_n "(cached
) $ac_c" 1>&6
16644 cat > conftest.$ac_ext <<EOF
16645 #line 16646 "configure
"
16646 #include "confdefs.h
"
16647 /* System header to define __stub macros and hopefully few prototypes,
16648 which can conflict with char $ac_func(); below. */
16649 #include <assert.h>
16650 /* Override any gcc2 internal prototype to avoid an error. */
16651 /* We use char because int might match the return type of a gcc2
16652 builtin and then its argument prototype would still apply. */
16657 /* The GNU C library defines this for functions which it implements
16658 to always fail with ENOSYS. Some functions are actually named
16659 something starting with __ and the normal name is an alias. */
16660 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16668 if { (eval echo configure:16669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16670 eval "ac_cv_func_
$ac_func=yes"
16672 echo "configure
: failed program was
:" >&5
16673 cat conftest.$ac_ext >&5
16675 eval "ac_cv_func_
$ac_func=no
"
16680 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16681 echo "$ac_t""yes" 1>&6
16682 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16683 cat >> confdefs.h <<EOF
16684 #define $ac_tr_func 1
16688 echo "$ac_t""no
" 1>&6
16694 echo $ac_n "checking
for _isinfl declaration
""...
$ac_c" 1>&6
16695 echo "configure
:16696: checking
for _isinfl declaration
" >&5
16696 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
16697 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
16698 echo $ac_n "(cached
) $ac_c" 1>&6
16703 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16704 ac_cpp='$CXXCPP $CPPFLAGS'
16705 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16706 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16707 cross_compiling=$ac_cv_prog_cxx_cross
16709 cat > conftest.$ac_ext <<EOF
16710 #line 16711 "configure
"
16711 #include "confdefs.h
"
16713 #ifdef HAVE_IEEEFP_H
16714 #include <ieeefp.h>
16721 if { (eval echo configure:16722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16723 glibcpp_cv_func__isinfl_use=yes
16725 echo "configure
: failed program was
:" >&5
16726 cat conftest.$ac_ext >&5
16728 glibcpp_cv_func__isinfl_use=no
16732 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16733 ac_cpp='$CPP $CPPFLAGS'
16734 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16735 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16736 cross_compiling=$ac_cv_prog_cc_cross
16742 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
16744 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
16745 for ac_func in _isinfl
16747 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16748 echo "configure
:16749: checking
for $ac_func" >&5
16749 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16750 echo $ac_n "(cached
) $ac_c" 1>&6
16752 cat > conftest.$ac_ext <<EOF
16753 #line 16754 "configure
"
16754 #include "confdefs.h
"
16755 /* System header to define __stub macros and hopefully few prototypes,
16756 which can conflict with char $ac_func(); below. */
16757 #include <assert.h>
16758 /* Override any gcc2 internal prototype to avoid an error. */
16759 /* We use char because int might match the return type of a gcc2
16760 builtin and then its argument prototype would still apply. */
16765 /* The GNU C library defines this for functions which it implements
16766 to always fail with ENOSYS. Some functions are actually named
16767 something starting with __ and the normal name is an alias. */
16768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16776 if { (eval echo configure:16777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16778 eval "ac_cv_func_
$ac_func=yes"
16780 echo "configure
: failed program was
:" >&5
16781 cat conftest.$ac_ext >&5
16783 eval "ac_cv_func_
$ac_func=no
"
16788 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16789 echo "$ac_t""yes" 1>&6
16790 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16791 cat >> confdefs.h <<EOF
16792 #define $ac_tr_func 1
16796 echo "$ac_t""no
" 1>&6
16805 echo $ac_n "checking
for copysignl declaration
""...
$ac_c" 1>&6
16806 echo "configure
:16807: checking
for copysignl declaration
" >&5
16807 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
16808 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
16809 echo $ac_n "(cached
) $ac_c" 1>&6
16814 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16815 ac_cpp='$CXXCPP $CPPFLAGS'
16816 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16817 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16818 cross_compiling=$ac_cv_prog_cxx_cross
16820 cat > conftest.$ac_ext <<EOF
16821 #line 16822 "configure
"
16822 #include "confdefs.h
"
16828 if { (eval echo configure:16829: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16830 glibcpp_cv_func_copysignl_use=yes
16832 echo "configure
: failed program was
:" >&5
16833 cat conftest.$ac_ext >&5
16835 glibcpp_cv_func_copysignl_use=no
16839 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16840 ac_cpp='$CPP $CPPFLAGS'
16841 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16842 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16843 cross_compiling=$ac_cv_prog_cc_cross
16849 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
16851 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
16852 for ac_func in copysignl
16854 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16855 echo "configure
:16856: checking
for $ac_func" >&5
16856 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16857 echo $ac_n "(cached
) $ac_c" 1>&6
16859 cat > conftest.$ac_ext <<EOF
16860 #line 16861 "configure
"
16861 #include "confdefs.h
"
16862 /* System header to define __stub macros and hopefully few prototypes,
16863 which can conflict with char $ac_func(); below. */
16864 #include <assert.h>
16865 /* Override any gcc2 internal prototype to avoid an error. */
16866 /* We use char because int might match the return type of a gcc2
16867 builtin and then its argument prototype would still apply. */
16872 /* The GNU C library defines this for functions which it implements
16873 to always fail with ENOSYS. Some functions are actually named
16874 something starting with __ and the normal name is an alias. */
16875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16883 if { (eval echo configure:16884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16885 eval "ac_cv_func_
$ac_func=yes"
16887 echo "configure
: failed program was
:" >&5
16888 cat conftest.$ac_ext >&5
16890 eval "ac_cv_func_
$ac_func=no
"
16895 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16896 echo "$ac_t""yes" 1>&6
16897 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16898 cat >> confdefs.h <<EOF
16899 #define $ac_tr_func 1
16903 echo "$ac_t""no
" 1>&6
16909 echo $ac_n "checking
for _copysignl declaration
""...
$ac_c" 1>&6
16910 echo "configure
:16911: checking
for _copysignl declaration
" >&5
16911 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
16912 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
16913 echo $ac_n "(cached
) $ac_c" 1>&6
16918 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16919 ac_cpp='$CXXCPP $CPPFLAGS'
16920 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16921 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16922 cross_compiling=$ac_cv_prog_cxx_cross
16924 cat > conftest.$ac_ext <<EOF
16925 #line 16926 "configure
"
16926 #include "confdefs.h
"
16932 if { (eval echo configure:16933: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16934 glibcpp_cv_func__copysignl_use=yes
16936 echo "configure
: failed program was
:" >&5
16937 cat conftest.$ac_ext >&5
16939 glibcpp_cv_func__copysignl_use=no
16943 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16944 ac_cpp='$CPP $CPPFLAGS'
16945 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16946 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16947 cross_compiling=$ac_cv_prog_cc_cross
16953 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
16955 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
16956 for ac_func in _copysignl
16958 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16959 echo "configure
:16960: checking
for $ac_func" >&5
16960 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16961 echo $ac_n "(cached
) $ac_c" 1>&6
16963 cat > conftest.$ac_ext <<EOF
16964 #line 16965 "configure
"
16965 #include "confdefs.h
"
16966 /* System header to define __stub macros and hopefully few prototypes,
16967 which can conflict with char $ac_func(); below. */
16968 #include <assert.h>
16969 /* Override any gcc2 internal prototype to avoid an error. */
16970 /* We use char because int might match the return type of a gcc2
16971 builtin and then its argument prototype would still apply. */
16976 /* The GNU C library defines this for functions which it implements
16977 to always fail with ENOSYS. Some functions are actually named
16978 something starting with __ and the normal name is an alias. */
16979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16987 if { (eval echo configure:16988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16989 eval "ac_cv_func_
$ac_func=yes"
16991 echo "configure
: failed program was
:" >&5
16992 cat conftest.$ac_ext >&5
16994 eval "ac_cv_func_
$ac_func=no
"
16999 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17000 echo "$ac_t""yes" 1>&6
17001 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17002 cat >> confdefs.h <<EOF
17003 #define $ac_tr_func 1
17007 echo "$ac_t""no
" 1>&6
17016 echo $ac_n "checking
for atan2l declaration
""...
$ac_c" 1>&6
17017 echo "configure
:17018: checking
for atan2l declaration
" >&5
17018 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
17019 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
17020 echo $ac_n "(cached
) $ac_c" 1>&6
17025 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17026 ac_cpp='$CXXCPP $CPPFLAGS'
17027 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17028 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17029 cross_compiling=$ac_cv_prog_cxx_cross
17031 cat > conftest.$ac_ext <<EOF
17032 #line 17033 "configure
"
17033 #include "confdefs.h
"
17039 if { (eval echo configure:17040: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17041 glibcpp_cv_func_atan2l_use=yes
17043 echo "configure
: failed program was
:" >&5
17044 cat conftest.$ac_ext >&5
17046 glibcpp_cv_func_atan2l_use=no
17050 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17051 ac_cpp='$CPP $CPPFLAGS'
17052 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17053 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17054 cross_compiling=$ac_cv_prog_cc_cross
17060 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
17062 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
17063 for ac_func in atan2l
17065 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17066 echo "configure
:17067: checking
for $ac_func" >&5
17067 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17068 echo $ac_n "(cached
) $ac_c" 1>&6
17070 cat > conftest.$ac_ext <<EOF
17071 #line 17072 "configure
"
17072 #include "confdefs.h
"
17073 /* System header to define __stub macros and hopefully few prototypes,
17074 which can conflict with char $ac_func(); below. */
17075 #include <assert.h>
17076 /* Override any gcc2 internal prototype to avoid an error. */
17077 /* We use char because int might match the return type of a gcc2
17078 builtin and then its argument prototype would still apply. */
17083 /* The GNU C library defines this for functions which it implements
17084 to always fail with ENOSYS. Some functions are actually named
17085 something starting with __ and the normal name is an alias. */
17086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17094 if { (eval echo configure:17095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17096 eval "ac_cv_func_
$ac_func=yes"
17098 echo "configure
: failed program was
:" >&5
17099 cat conftest.$ac_ext >&5
17101 eval "ac_cv_func_
$ac_func=no
"
17106 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17107 echo "$ac_t""yes" 1>&6
17108 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17109 cat >> confdefs.h <<EOF
17110 #define $ac_tr_func 1
17114 echo "$ac_t""no
" 1>&6
17120 echo $ac_n "checking
for _atan2l declaration
""...
$ac_c" 1>&6
17121 echo "configure
:17122: checking
for _atan2l declaration
" >&5
17122 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
17123 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
17124 echo $ac_n "(cached
) $ac_c" 1>&6
17129 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17130 ac_cpp='$CXXCPP $CPPFLAGS'
17131 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17132 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17133 cross_compiling=$ac_cv_prog_cxx_cross
17135 cat > conftest.$ac_ext <<EOF
17136 #line 17137 "configure
"
17137 #include "confdefs.h
"
17143 if { (eval echo configure:17144: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17145 glibcpp_cv_func__atan2l_use=yes
17147 echo "configure
: failed program was
:" >&5
17148 cat conftest.$ac_ext >&5
17150 glibcpp_cv_func__atan2l_use=no
17154 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17155 ac_cpp='$CPP $CPPFLAGS'
17156 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17157 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17158 cross_compiling=$ac_cv_prog_cc_cross
17164 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
17166 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
17167 for ac_func in _atan2l
17169 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17170 echo "configure
:17171: checking
for $ac_func" >&5
17171 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17172 echo $ac_n "(cached
) $ac_c" 1>&6
17174 cat > conftest.$ac_ext <<EOF
17175 #line 17176 "configure
"
17176 #include "confdefs.h
"
17177 /* System header to define __stub macros and hopefully few prototypes,
17178 which can conflict with char $ac_func(); below. */
17179 #include <assert.h>
17180 /* Override any gcc2 internal prototype to avoid an error. */
17181 /* We use char because int might match the return type of a gcc2
17182 builtin and then its argument prototype would still apply. */
17187 /* The GNU C library defines this for functions which it implements
17188 to always fail with ENOSYS. Some functions are actually named
17189 something starting with __ and the normal name is an alias. */
17190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17198 if { (eval echo configure:17199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17200 eval "ac_cv_func_
$ac_func=yes"
17202 echo "configure
: failed program was
:" >&5
17203 cat conftest.$ac_ext >&5
17205 eval "ac_cv_func_
$ac_func=no
"
17210 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17211 echo "$ac_t""yes" 1>&6
17212 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17213 cat >> confdefs.h <<EOF
17214 #define $ac_tr_func 1
17218 echo "$ac_t""no
" 1>&6
17227 echo $ac_n "checking
for expl declaration
""...
$ac_c" 1>&6
17228 echo "configure
:17229: checking
for expl declaration
" >&5
17229 if test x${glibcpp_cv_func_expl_use+set} != xset; then
17230 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
17231 echo $ac_n "(cached
) $ac_c" 1>&6
17236 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17237 ac_cpp='$CXXCPP $CPPFLAGS'
17238 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17239 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17240 cross_compiling=$ac_cv_prog_cxx_cross
17242 cat > conftest.$ac_ext <<EOF
17243 #line 17244 "configure
"
17244 #include "confdefs.h
"
17246 #ifdef HAVE_IEEEFP_H
17247 #include <ieeefp.h>
17254 if { (eval echo configure:17255: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17256 glibcpp_cv_func_expl_use=yes
17258 echo "configure
: failed program was
:" >&5
17259 cat conftest.$ac_ext >&5
17261 glibcpp_cv_func_expl_use=no
17265 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17266 ac_cpp='$CPP $CPPFLAGS'
17267 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17268 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17269 cross_compiling=$ac_cv_prog_cc_cross
17275 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
17277 if test x$glibcpp_cv_func_expl_use = x"yes"; then
17278 for ac_func in expl
17280 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17281 echo "configure
:17282: checking
for $ac_func" >&5
17282 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17283 echo $ac_n "(cached
) $ac_c" 1>&6
17285 cat > conftest.$ac_ext <<EOF
17286 #line 17287 "configure
"
17287 #include "confdefs.h
"
17288 /* System header to define __stub macros and hopefully few prototypes,
17289 which can conflict with char $ac_func(); below. */
17290 #include <assert.h>
17291 /* Override any gcc2 internal prototype to avoid an error. */
17292 /* We use char because int might match the return type of a gcc2
17293 builtin and then its argument prototype would still apply. */
17298 /* The GNU C library defines this for functions which it implements
17299 to always fail with ENOSYS. Some functions are actually named
17300 something starting with __ and the normal name is an alias. */
17301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17309 if { (eval echo configure:17310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17311 eval "ac_cv_func_
$ac_func=yes"
17313 echo "configure
: failed program was
:" >&5
17314 cat conftest.$ac_ext >&5
17316 eval "ac_cv_func_
$ac_func=no
"
17321 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17322 echo "$ac_t""yes" 1>&6
17323 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17324 cat >> confdefs.h <<EOF
17325 #define $ac_tr_func 1
17329 echo "$ac_t""no
" 1>&6
17335 echo $ac_n "checking
for _expl declaration
""...
$ac_c" 1>&6
17336 echo "configure
:17337: checking
for _expl declaration
" >&5
17337 if test x${glibcpp_cv_func__expl_use+set} != xset; then
17338 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
17339 echo $ac_n "(cached
) $ac_c" 1>&6
17344 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17345 ac_cpp='$CXXCPP $CPPFLAGS'
17346 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17347 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17348 cross_compiling=$ac_cv_prog_cxx_cross
17350 cat > conftest.$ac_ext <<EOF
17351 #line 17352 "configure
"
17352 #include "confdefs.h
"
17354 #ifdef HAVE_IEEEFP_H
17355 #include <ieeefp.h>
17362 if { (eval echo configure:17363: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17364 glibcpp_cv_func__expl_use=yes
17366 echo "configure
: failed program was
:" >&5
17367 cat conftest.$ac_ext >&5
17369 glibcpp_cv_func__expl_use=no
17373 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17374 ac_cpp='$CPP $CPPFLAGS'
17375 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17376 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17377 cross_compiling=$ac_cv_prog_cc_cross
17383 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
17385 if test x$glibcpp_cv_func__expl_use = x"yes"; then
17386 for ac_func in _expl
17388 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17389 echo "configure
:17390: checking
for $ac_func" >&5
17390 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17391 echo $ac_n "(cached
) $ac_c" 1>&6
17393 cat > conftest.$ac_ext <<EOF
17394 #line 17395 "configure
"
17395 #include "confdefs.h
"
17396 /* System header to define __stub macros and hopefully few prototypes,
17397 which can conflict with char $ac_func(); below. */
17398 #include <assert.h>
17399 /* Override any gcc2 internal prototype to avoid an error. */
17400 /* We use char because int might match the return type of a gcc2
17401 builtin and then its argument prototype would still apply. */
17406 /* The GNU C library defines this for functions which it implements
17407 to always fail with ENOSYS. Some functions are actually named
17408 something starting with __ and the normal name is an alias. */
17409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17417 if { (eval echo configure:17418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17419 eval "ac_cv_func_
$ac_func=yes"
17421 echo "configure
: failed program was
:" >&5
17422 cat conftest.$ac_ext >&5
17424 eval "ac_cv_func_
$ac_func=no
"
17429 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17430 echo "$ac_t""yes" 1>&6
17431 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17432 cat >> confdefs.h <<EOF
17433 #define $ac_tr_func 1
17437 echo "$ac_t""no
" 1>&6
17446 echo $ac_n "checking
for fabsl declaration
""...
$ac_c" 1>&6
17447 echo "configure
:17448: checking
for fabsl declaration
" >&5
17448 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
17449 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
17450 echo $ac_n "(cached
) $ac_c" 1>&6
17455 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17456 ac_cpp='$CXXCPP $CPPFLAGS'
17457 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17458 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17459 cross_compiling=$ac_cv_prog_cxx_cross
17461 cat > conftest.$ac_ext <<EOF
17462 #line 17463 "configure
"
17463 #include "confdefs.h
"
17465 #ifdef HAVE_IEEEFP_H
17466 #include <ieeefp.h>
17473 if { (eval echo configure:17474: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17475 glibcpp_cv_func_fabsl_use=yes
17477 echo "configure
: failed program was
:" >&5
17478 cat conftest.$ac_ext >&5
17480 glibcpp_cv_func_fabsl_use=no
17484 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17485 ac_cpp='$CPP $CPPFLAGS'
17486 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17487 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17488 cross_compiling=$ac_cv_prog_cc_cross
17494 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
17496 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
17497 for ac_func in fabsl
17499 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17500 echo "configure
:17501: checking
for $ac_func" >&5
17501 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17502 echo $ac_n "(cached
) $ac_c" 1>&6
17504 cat > conftest.$ac_ext <<EOF
17505 #line 17506 "configure
"
17506 #include "confdefs.h
"
17507 /* System header to define __stub macros and hopefully few prototypes,
17508 which can conflict with char $ac_func(); below. */
17509 #include <assert.h>
17510 /* Override any gcc2 internal prototype to avoid an error. */
17511 /* We use char because int might match the return type of a gcc2
17512 builtin and then its argument prototype would still apply. */
17517 /* The GNU C library defines this for functions which it implements
17518 to always fail with ENOSYS. Some functions are actually named
17519 something starting with __ and the normal name is an alias. */
17520 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17528 if { (eval echo configure:17529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17530 eval "ac_cv_func_
$ac_func=yes"
17532 echo "configure
: failed program was
:" >&5
17533 cat conftest.$ac_ext >&5
17535 eval "ac_cv_func_
$ac_func=no
"
17540 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17541 echo "$ac_t""yes" 1>&6
17542 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17543 cat >> confdefs.h <<EOF
17544 #define $ac_tr_func 1
17548 echo "$ac_t""no
" 1>&6
17554 echo $ac_n "checking
for _fabsl declaration
""...
$ac_c" 1>&6
17555 echo "configure
:17556: checking
for _fabsl declaration
" >&5
17556 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
17557 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
17558 echo $ac_n "(cached
) $ac_c" 1>&6
17563 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17564 ac_cpp='$CXXCPP $CPPFLAGS'
17565 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17566 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17567 cross_compiling=$ac_cv_prog_cxx_cross
17569 cat > conftest.$ac_ext <<EOF
17570 #line 17571 "configure
"
17571 #include "confdefs.h
"
17573 #ifdef HAVE_IEEEFP_H
17574 #include <ieeefp.h>
17581 if { (eval echo configure:17582: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17583 glibcpp_cv_func__fabsl_use=yes
17585 echo "configure
: failed program was
:" >&5
17586 cat conftest.$ac_ext >&5
17588 glibcpp_cv_func__fabsl_use=no
17592 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17593 ac_cpp='$CPP $CPPFLAGS'
17594 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17595 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17596 cross_compiling=$ac_cv_prog_cc_cross
17602 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
17604 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
17605 for ac_func in _fabsl
17607 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17608 echo "configure
:17609: checking
for $ac_func" >&5
17609 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17610 echo $ac_n "(cached
) $ac_c" 1>&6
17612 cat > conftest.$ac_ext <<EOF
17613 #line 17614 "configure
"
17614 #include "confdefs.h
"
17615 /* System header to define __stub macros and hopefully few prototypes,
17616 which can conflict with char $ac_func(); below. */
17617 #include <assert.h>
17618 /* Override any gcc2 internal prototype to avoid an error. */
17619 /* We use char because int might match the return type of a gcc2
17620 builtin and then its argument prototype would still apply. */
17625 /* The GNU C library defines this for functions which it implements
17626 to always fail with ENOSYS. Some functions are actually named
17627 something starting with __ and the normal name is an alias. */
17628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17636 if { (eval echo configure:17637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17638 eval "ac_cv_func_
$ac_func=yes"
17640 echo "configure
: failed program was
:" >&5
17641 cat conftest.$ac_ext >&5
17643 eval "ac_cv_func_
$ac_func=no
"
17648 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17649 echo "$ac_t""yes" 1>&6
17650 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17651 cat >> confdefs.h <<EOF
17652 #define $ac_tr_func 1
17656 echo "$ac_t""no
" 1>&6
17665 echo $ac_n "checking
for fmodl declaration
""...
$ac_c" 1>&6
17666 echo "configure
:17667: checking
for fmodl declaration
" >&5
17667 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
17668 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
17669 echo $ac_n "(cached
) $ac_c" 1>&6
17674 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17675 ac_cpp='$CXXCPP $CPPFLAGS'
17676 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17677 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17678 cross_compiling=$ac_cv_prog_cxx_cross
17680 cat > conftest.$ac_ext <<EOF
17681 #line 17682 "configure
"
17682 #include "confdefs.h
"
17688 if { (eval echo configure:17689: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17690 glibcpp_cv_func_fmodl_use=yes
17692 echo "configure
: failed program was
:" >&5
17693 cat conftest.$ac_ext >&5
17695 glibcpp_cv_func_fmodl_use=no
17699 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17700 ac_cpp='$CPP $CPPFLAGS'
17701 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17702 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17703 cross_compiling=$ac_cv_prog_cc_cross
17709 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
17711 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
17712 for ac_func in fmodl
17714 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17715 echo "configure
:17716: checking
for $ac_func" >&5
17716 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17717 echo $ac_n "(cached
) $ac_c" 1>&6
17719 cat > conftest.$ac_ext <<EOF
17720 #line 17721 "configure
"
17721 #include "confdefs.h
"
17722 /* System header to define __stub macros and hopefully few prototypes,
17723 which can conflict with char $ac_func(); below. */
17724 #include <assert.h>
17725 /* Override any gcc2 internal prototype to avoid an error. */
17726 /* We use char because int might match the return type of a gcc2
17727 builtin and then its argument prototype would still apply. */
17732 /* The GNU C library defines this for functions which it implements
17733 to always fail with ENOSYS. Some functions are actually named
17734 something starting with __ and the normal name is an alias. */
17735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17743 if { (eval echo configure:17744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17745 eval "ac_cv_func_
$ac_func=yes"
17747 echo "configure
: failed program was
:" >&5
17748 cat conftest.$ac_ext >&5
17750 eval "ac_cv_func_
$ac_func=no
"
17755 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17756 echo "$ac_t""yes" 1>&6
17757 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17758 cat >> confdefs.h <<EOF
17759 #define $ac_tr_func 1
17763 echo "$ac_t""no
" 1>&6
17769 echo $ac_n "checking
for _fmodl declaration
""...
$ac_c" 1>&6
17770 echo "configure
:17771: checking
for _fmodl declaration
" >&5
17771 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
17772 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
17773 echo $ac_n "(cached
) $ac_c" 1>&6
17778 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17779 ac_cpp='$CXXCPP $CPPFLAGS'
17780 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17781 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17782 cross_compiling=$ac_cv_prog_cxx_cross
17784 cat > conftest.$ac_ext <<EOF
17785 #line 17786 "configure
"
17786 #include "confdefs.h
"
17792 if { (eval echo configure:17793: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17794 glibcpp_cv_func__fmodl_use=yes
17796 echo "configure
: failed program was
:" >&5
17797 cat conftest.$ac_ext >&5
17799 glibcpp_cv_func__fmodl_use=no
17803 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17804 ac_cpp='$CPP $CPPFLAGS'
17805 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17806 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17807 cross_compiling=$ac_cv_prog_cc_cross
17813 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
17815 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
17816 for ac_func in _fmodl
17818 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17819 echo "configure
:17820: checking
for $ac_func" >&5
17820 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17821 echo $ac_n "(cached
) $ac_c" 1>&6
17823 cat > conftest.$ac_ext <<EOF
17824 #line 17825 "configure
"
17825 #include "confdefs.h
"
17826 /* System header to define __stub macros and hopefully few prototypes,
17827 which can conflict with char $ac_func(); below. */
17828 #include <assert.h>
17829 /* Override any gcc2 internal prototype to avoid an error. */
17830 /* We use char because int might match the return type of a gcc2
17831 builtin and then its argument prototype would still apply. */
17836 /* The GNU C library defines this for functions which it implements
17837 to always fail with ENOSYS. Some functions are actually named
17838 something starting with __ and the normal name is an alias. */
17839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17847 if { (eval echo configure:17848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17849 eval "ac_cv_func_
$ac_func=yes"
17851 echo "configure
: failed program was
:" >&5
17852 cat conftest.$ac_ext >&5
17854 eval "ac_cv_func_
$ac_func=no
"
17859 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17860 echo "$ac_t""yes" 1>&6
17861 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17862 cat >> confdefs.h <<EOF
17863 #define $ac_tr_func 1
17867 echo "$ac_t""no
" 1>&6
17876 echo $ac_n "checking
for frexpl declaration
""...
$ac_c" 1>&6
17877 echo "configure
:17878: checking
for frexpl declaration
" >&5
17878 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
17879 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
17880 echo $ac_n "(cached
) $ac_c" 1>&6
17885 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17886 ac_cpp='$CXXCPP $CPPFLAGS'
17887 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17888 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17889 cross_compiling=$ac_cv_prog_cxx_cross
17891 cat > conftest.$ac_ext <<EOF
17892 #line 17893 "configure
"
17893 #include "confdefs.h
"
17899 if { (eval echo configure:17900: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17901 glibcpp_cv_func_frexpl_use=yes
17903 echo "configure
: failed program was
:" >&5
17904 cat conftest.$ac_ext >&5
17906 glibcpp_cv_func_frexpl_use=no
17910 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17911 ac_cpp='$CPP $CPPFLAGS'
17912 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17913 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17914 cross_compiling=$ac_cv_prog_cc_cross
17920 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
17922 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
17923 for ac_func in frexpl
17925 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17926 echo "configure
:17927: checking
for $ac_func" >&5
17927 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17928 echo $ac_n "(cached
) $ac_c" 1>&6
17930 cat > conftest.$ac_ext <<EOF
17931 #line 17932 "configure
"
17932 #include "confdefs.h
"
17933 /* System header to define __stub macros and hopefully few prototypes,
17934 which can conflict with char $ac_func(); below. */
17935 #include <assert.h>
17936 /* Override any gcc2 internal prototype to avoid an error. */
17937 /* We use char because int might match the return type of a gcc2
17938 builtin and then its argument prototype would still apply. */
17943 /* The GNU C library defines this for functions which it implements
17944 to always fail with ENOSYS. Some functions are actually named
17945 something starting with __ and the normal name is an alias. */
17946 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17954 if { (eval echo configure:17955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17956 eval "ac_cv_func_
$ac_func=yes"
17958 echo "configure
: failed program was
:" >&5
17959 cat conftest.$ac_ext >&5
17961 eval "ac_cv_func_
$ac_func=no
"
17966 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17967 echo "$ac_t""yes" 1>&6
17968 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17969 cat >> confdefs.h <<EOF
17970 #define $ac_tr_func 1
17974 echo "$ac_t""no
" 1>&6
17980 echo $ac_n "checking
for _frexpl declaration
""...
$ac_c" 1>&6
17981 echo "configure
:17982: checking
for _frexpl declaration
" >&5
17982 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
17983 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
17984 echo $ac_n "(cached
) $ac_c" 1>&6
17989 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17990 ac_cpp='$CXXCPP $CPPFLAGS'
17991 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17992 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17993 cross_compiling=$ac_cv_prog_cxx_cross
17995 cat > conftest.$ac_ext <<EOF
17996 #line 17997 "configure
"
17997 #include "confdefs.h
"
18003 if { (eval echo configure:18004: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18005 glibcpp_cv_func__frexpl_use=yes
18007 echo "configure
: failed program was
:" >&5
18008 cat conftest.$ac_ext >&5
18010 glibcpp_cv_func__frexpl_use=no
18014 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18015 ac_cpp='$CPP $CPPFLAGS'
18016 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18017 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18018 cross_compiling=$ac_cv_prog_cc_cross
18024 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
18026 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
18027 for ac_func in _frexpl
18029 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18030 echo "configure
:18031: checking
for $ac_func" >&5
18031 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18032 echo $ac_n "(cached
) $ac_c" 1>&6
18034 cat > conftest.$ac_ext <<EOF
18035 #line 18036 "configure
"
18036 #include "confdefs.h
"
18037 /* System header to define __stub macros and hopefully few prototypes,
18038 which can conflict with char $ac_func(); below. */
18039 #include <assert.h>
18040 /* Override any gcc2 internal prototype to avoid an error. */
18041 /* We use char because int might match the return type of a gcc2
18042 builtin and then its argument prototype would still apply. */
18047 /* The GNU C library defines this for functions which it implements
18048 to always fail with ENOSYS. Some functions are actually named
18049 something starting with __ and the normal name is an alias. */
18050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18058 if { (eval echo configure:18059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18060 eval "ac_cv_func_
$ac_func=yes"
18062 echo "configure
: failed program was
:" >&5
18063 cat conftest.$ac_ext >&5
18065 eval "ac_cv_func_
$ac_func=no
"
18070 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18071 echo "$ac_t""yes" 1>&6
18072 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18073 cat >> confdefs.h <<EOF
18074 #define $ac_tr_func 1
18078 echo "$ac_t""no
" 1>&6
18087 echo $ac_n "checking
for hypotl declaration
""...
$ac_c" 1>&6
18088 echo "configure
:18089: checking
for hypotl declaration
" >&5
18089 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
18090 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
18091 echo $ac_n "(cached
) $ac_c" 1>&6
18096 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18097 ac_cpp='$CXXCPP $CPPFLAGS'
18098 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18099 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18100 cross_compiling=$ac_cv_prog_cxx_cross
18102 cat > conftest.$ac_ext <<EOF
18103 #line 18104 "configure
"
18104 #include "confdefs.h
"
18110 if { (eval echo configure:18111: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18112 glibcpp_cv_func_hypotl_use=yes
18114 echo "configure
: failed program was
:" >&5
18115 cat conftest.$ac_ext >&5
18117 glibcpp_cv_func_hypotl_use=no
18121 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18122 ac_cpp='$CPP $CPPFLAGS'
18123 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18124 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18125 cross_compiling=$ac_cv_prog_cc_cross
18131 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
18133 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
18134 for ac_func in hypotl
18136 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18137 echo "configure
:18138: checking
for $ac_func" >&5
18138 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18139 echo $ac_n "(cached
) $ac_c" 1>&6
18141 cat > conftest.$ac_ext <<EOF
18142 #line 18143 "configure
"
18143 #include "confdefs.h
"
18144 /* System header to define __stub macros and hopefully few prototypes,
18145 which can conflict with char $ac_func(); below. */
18146 #include <assert.h>
18147 /* Override any gcc2 internal prototype to avoid an error. */
18148 /* We use char because int might match the return type of a gcc2
18149 builtin and then its argument prototype would still apply. */
18154 /* The GNU C library defines this for functions which it implements
18155 to always fail with ENOSYS. Some functions are actually named
18156 something starting with __ and the normal name is an alias. */
18157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18165 if { (eval echo configure:18166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18167 eval "ac_cv_func_
$ac_func=yes"
18169 echo "configure
: failed program was
:" >&5
18170 cat conftest.$ac_ext >&5
18172 eval "ac_cv_func_
$ac_func=no
"
18177 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18178 echo "$ac_t""yes" 1>&6
18179 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18180 cat >> confdefs.h <<EOF
18181 #define $ac_tr_func 1
18185 echo "$ac_t""no
" 1>&6
18191 echo $ac_n "checking
for _hypotl declaration
""...
$ac_c" 1>&6
18192 echo "configure
:18193: checking
for _hypotl declaration
" >&5
18193 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
18194 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
18195 echo $ac_n "(cached
) $ac_c" 1>&6
18200 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18201 ac_cpp='$CXXCPP $CPPFLAGS'
18202 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18203 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18204 cross_compiling=$ac_cv_prog_cxx_cross
18206 cat > conftest.$ac_ext <<EOF
18207 #line 18208 "configure
"
18208 #include "confdefs.h
"
18214 if { (eval echo configure:18215: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18216 glibcpp_cv_func__hypotl_use=yes
18218 echo "configure
: failed program was
:" >&5
18219 cat conftest.$ac_ext >&5
18221 glibcpp_cv_func__hypotl_use=no
18225 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18226 ac_cpp='$CPP $CPPFLAGS'
18227 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18228 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18229 cross_compiling=$ac_cv_prog_cc_cross
18235 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
18237 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
18238 for ac_func in _hypotl
18240 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18241 echo "configure
:18242: checking
for $ac_func" >&5
18242 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18243 echo $ac_n "(cached
) $ac_c" 1>&6
18245 cat > conftest.$ac_ext <<EOF
18246 #line 18247 "configure
"
18247 #include "confdefs.h
"
18248 /* System header to define __stub macros and hopefully few prototypes,
18249 which can conflict with char $ac_func(); below. */
18250 #include <assert.h>
18251 /* Override any gcc2 internal prototype to avoid an error. */
18252 /* We use char because int might match the return type of a gcc2
18253 builtin and then its argument prototype would still apply. */
18258 /* The GNU C library defines this for functions which it implements
18259 to always fail with ENOSYS. Some functions are actually named
18260 something starting with __ and the normal name is an alias. */
18261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18269 if { (eval echo configure:18270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18271 eval "ac_cv_func_
$ac_func=yes"
18273 echo "configure
: failed program was
:" >&5
18274 cat conftest.$ac_ext >&5
18276 eval "ac_cv_func_
$ac_func=no
"
18281 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18282 echo "$ac_t""yes" 1>&6
18283 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18284 cat >> confdefs.h <<EOF
18285 #define $ac_tr_func 1
18289 echo "$ac_t""no
" 1>&6
18298 echo $ac_n "checking
for ldexpl declaration
""...
$ac_c" 1>&6
18299 echo "configure
:18300: checking
for ldexpl declaration
" >&5
18300 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
18301 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
18302 echo $ac_n "(cached
) $ac_c" 1>&6
18307 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18308 ac_cpp='$CXXCPP $CPPFLAGS'
18309 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18310 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18311 cross_compiling=$ac_cv_prog_cxx_cross
18313 cat > conftest.$ac_ext <<EOF
18314 #line 18315 "configure
"
18315 #include "confdefs.h
"
18321 if { (eval echo configure:18322: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18323 glibcpp_cv_func_ldexpl_use=yes
18325 echo "configure
: failed program was
:" >&5
18326 cat conftest.$ac_ext >&5
18328 glibcpp_cv_func_ldexpl_use=no
18332 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18333 ac_cpp='$CPP $CPPFLAGS'
18334 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18335 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18336 cross_compiling=$ac_cv_prog_cc_cross
18342 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
18344 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
18345 for ac_func in ldexpl
18347 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18348 echo "configure
:18349: checking
for $ac_func" >&5
18349 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18350 echo $ac_n "(cached
) $ac_c" 1>&6
18352 cat > conftest.$ac_ext <<EOF
18353 #line 18354 "configure
"
18354 #include "confdefs.h
"
18355 /* System header to define __stub macros and hopefully few prototypes,
18356 which can conflict with char $ac_func(); below. */
18357 #include <assert.h>
18358 /* Override any gcc2 internal prototype to avoid an error. */
18359 /* We use char because int might match the return type of a gcc2
18360 builtin and then its argument prototype would still apply. */
18365 /* The GNU C library defines this for functions which it implements
18366 to always fail with ENOSYS. Some functions are actually named
18367 something starting with __ and the normal name is an alias. */
18368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18376 if { (eval echo configure:18377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18378 eval "ac_cv_func_
$ac_func=yes"
18380 echo "configure
: failed program was
:" >&5
18381 cat conftest.$ac_ext >&5
18383 eval "ac_cv_func_
$ac_func=no
"
18388 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18389 echo "$ac_t""yes" 1>&6
18390 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18391 cat >> confdefs.h <<EOF
18392 #define $ac_tr_func 1
18396 echo "$ac_t""no
" 1>&6
18402 echo $ac_n "checking
for _ldexpl declaration
""...
$ac_c" 1>&6
18403 echo "configure
:18404: checking
for _ldexpl declaration
" >&5
18404 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
18405 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
18406 echo $ac_n "(cached
) $ac_c" 1>&6
18411 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18412 ac_cpp='$CXXCPP $CPPFLAGS'
18413 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18414 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18415 cross_compiling=$ac_cv_prog_cxx_cross
18417 cat > conftest.$ac_ext <<EOF
18418 #line 18419 "configure
"
18419 #include "confdefs.h
"
18425 if { (eval echo configure:18426: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18427 glibcpp_cv_func__ldexpl_use=yes
18429 echo "configure
: failed program was
:" >&5
18430 cat conftest.$ac_ext >&5
18432 glibcpp_cv_func__ldexpl_use=no
18436 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18437 ac_cpp='$CPP $CPPFLAGS'
18438 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18439 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18440 cross_compiling=$ac_cv_prog_cc_cross
18446 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
18448 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
18449 for ac_func in _ldexpl
18451 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18452 echo "configure
:18453: checking
for $ac_func" >&5
18453 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18454 echo $ac_n "(cached
) $ac_c" 1>&6
18456 cat > conftest.$ac_ext <<EOF
18457 #line 18458 "configure
"
18458 #include "confdefs.h
"
18459 /* System header to define __stub macros and hopefully few prototypes,
18460 which can conflict with char $ac_func(); below. */
18461 #include <assert.h>
18462 /* Override any gcc2 internal prototype to avoid an error. */
18463 /* We use char because int might match the return type of a gcc2
18464 builtin and then its argument prototype would still apply. */
18469 /* The GNU C library defines this for functions which it implements
18470 to always fail with ENOSYS. Some functions are actually named
18471 something starting with __ and the normal name is an alias. */
18472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18480 if { (eval echo configure:18481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18482 eval "ac_cv_func_
$ac_func=yes"
18484 echo "configure
: failed program was
:" >&5
18485 cat conftest.$ac_ext >&5
18487 eval "ac_cv_func_
$ac_func=no
"
18492 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18493 echo "$ac_t""yes" 1>&6
18494 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18495 cat >> confdefs.h <<EOF
18496 #define $ac_tr_func 1
18500 echo "$ac_t""no
" 1>&6
18509 echo $ac_n "checking
for logl declaration
""...
$ac_c" 1>&6
18510 echo "configure
:18511: checking
for logl declaration
" >&5
18511 if test x${glibcpp_cv_func_logl_use+set} != xset; then
18512 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
18513 echo $ac_n "(cached
) $ac_c" 1>&6
18518 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18519 ac_cpp='$CXXCPP $CPPFLAGS'
18520 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18521 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18522 cross_compiling=$ac_cv_prog_cxx_cross
18524 cat > conftest.$ac_ext <<EOF
18525 #line 18526 "configure
"
18526 #include "confdefs.h
"
18528 #ifdef HAVE_IEEEFP_H
18529 #include <ieeefp.h>
18536 if { (eval echo configure:18537: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18538 glibcpp_cv_func_logl_use=yes
18540 echo "configure
: failed program was
:" >&5
18541 cat conftest.$ac_ext >&5
18543 glibcpp_cv_func_logl_use=no
18547 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18548 ac_cpp='$CPP $CPPFLAGS'
18549 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18550 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18551 cross_compiling=$ac_cv_prog_cc_cross
18557 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
18559 if test x$glibcpp_cv_func_logl_use = x"yes"; then
18560 for ac_func in logl
18562 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18563 echo "configure
:18564: checking
for $ac_func" >&5
18564 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18565 echo $ac_n "(cached
) $ac_c" 1>&6
18567 cat > conftest.$ac_ext <<EOF
18568 #line 18569 "configure
"
18569 #include "confdefs.h
"
18570 /* System header to define __stub macros and hopefully few prototypes,
18571 which can conflict with char $ac_func(); below. */
18572 #include <assert.h>
18573 /* Override any gcc2 internal prototype to avoid an error. */
18574 /* We use char because int might match the return type of a gcc2
18575 builtin and then its argument prototype would still apply. */
18580 /* The GNU C library defines this for functions which it implements
18581 to always fail with ENOSYS. Some functions are actually named
18582 something starting with __ and the normal name is an alias. */
18583 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18591 if { (eval echo configure:18592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18593 eval "ac_cv_func_
$ac_func=yes"
18595 echo "configure
: failed program was
:" >&5
18596 cat conftest.$ac_ext >&5
18598 eval "ac_cv_func_
$ac_func=no
"
18603 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18604 echo "$ac_t""yes" 1>&6
18605 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18606 cat >> confdefs.h <<EOF
18607 #define $ac_tr_func 1
18611 echo "$ac_t""no
" 1>&6
18617 echo $ac_n "checking
for _logl declaration
""...
$ac_c" 1>&6
18618 echo "configure
:18619: checking
for _logl declaration
" >&5
18619 if test x${glibcpp_cv_func__logl_use+set} != xset; then
18620 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
18621 echo $ac_n "(cached
) $ac_c" 1>&6
18626 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18627 ac_cpp='$CXXCPP $CPPFLAGS'
18628 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18629 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18630 cross_compiling=$ac_cv_prog_cxx_cross
18632 cat > conftest.$ac_ext <<EOF
18633 #line 18634 "configure
"
18634 #include "confdefs.h
"
18636 #ifdef HAVE_IEEEFP_H
18637 #include <ieeefp.h>
18644 if { (eval echo configure:18645: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18646 glibcpp_cv_func__logl_use=yes
18648 echo "configure
: failed program was
:" >&5
18649 cat conftest.$ac_ext >&5
18651 glibcpp_cv_func__logl_use=no
18655 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18656 ac_cpp='$CPP $CPPFLAGS'
18657 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18658 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18659 cross_compiling=$ac_cv_prog_cc_cross
18665 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
18667 if test x$glibcpp_cv_func__logl_use = x"yes"; then
18668 for ac_func in _logl
18670 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18671 echo "configure
:18672: checking
for $ac_func" >&5
18672 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18673 echo $ac_n "(cached
) $ac_c" 1>&6
18675 cat > conftest.$ac_ext <<EOF
18676 #line 18677 "configure
"
18677 #include "confdefs.h
"
18678 /* System header to define __stub macros and hopefully few prototypes,
18679 which can conflict with char $ac_func(); below. */
18680 #include <assert.h>
18681 /* Override any gcc2 internal prototype to avoid an error. */
18682 /* We use char because int might match the return type of a gcc2
18683 builtin and then its argument prototype would still apply. */
18688 /* The GNU C library defines this for functions which it implements
18689 to always fail with ENOSYS. Some functions are actually named
18690 something starting with __ and the normal name is an alias. */
18691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18699 if { (eval echo configure:18700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18701 eval "ac_cv_func_
$ac_func=yes"
18703 echo "configure
: failed program was
:" >&5
18704 cat conftest.$ac_ext >&5
18706 eval "ac_cv_func_
$ac_func=no
"
18711 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18712 echo "$ac_t""yes" 1>&6
18713 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18714 cat >> confdefs.h <<EOF
18715 #define $ac_tr_func 1
18719 echo "$ac_t""no
" 1>&6
18728 echo $ac_n "checking
for log10l declaration
""...
$ac_c" 1>&6
18729 echo "configure
:18730: checking
for log10l declaration
" >&5
18730 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
18731 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
18732 echo $ac_n "(cached
) $ac_c" 1>&6
18737 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18738 ac_cpp='$CXXCPP $CPPFLAGS'
18739 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18740 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18741 cross_compiling=$ac_cv_prog_cxx_cross
18743 cat > conftest.$ac_ext <<EOF
18744 #line 18745 "configure
"
18745 #include "confdefs.h
"
18747 #ifdef HAVE_IEEEFP_H
18748 #include <ieeefp.h>
18755 if { (eval echo configure:18756: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18757 glibcpp_cv_func_log10l_use=yes
18759 echo "configure
: failed program was
:" >&5
18760 cat conftest.$ac_ext >&5
18762 glibcpp_cv_func_log10l_use=no
18766 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18767 ac_cpp='$CPP $CPPFLAGS'
18768 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18769 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18770 cross_compiling=$ac_cv_prog_cc_cross
18776 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
18778 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
18779 for ac_func in log10l
18781 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18782 echo "configure
:18783: checking
for $ac_func" >&5
18783 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18784 echo $ac_n "(cached
) $ac_c" 1>&6
18786 cat > conftest.$ac_ext <<EOF
18787 #line 18788 "configure
"
18788 #include "confdefs.h
"
18789 /* System header to define __stub macros and hopefully few prototypes,
18790 which can conflict with char $ac_func(); below. */
18791 #include <assert.h>
18792 /* Override any gcc2 internal prototype to avoid an error. */
18793 /* We use char because int might match the return type of a gcc2
18794 builtin and then its argument prototype would still apply. */
18799 /* The GNU C library defines this for functions which it implements
18800 to always fail with ENOSYS. Some functions are actually named
18801 something starting with __ and the normal name is an alias. */
18802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18810 if { (eval echo configure:18811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18812 eval "ac_cv_func_
$ac_func=yes"
18814 echo "configure
: failed program was
:" >&5
18815 cat conftest.$ac_ext >&5
18817 eval "ac_cv_func_
$ac_func=no
"
18822 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18823 echo "$ac_t""yes" 1>&6
18824 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18825 cat >> confdefs.h <<EOF
18826 #define $ac_tr_func 1
18830 echo "$ac_t""no
" 1>&6
18836 echo $ac_n "checking
for _log10l declaration
""...
$ac_c" 1>&6
18837 echo "configure
:18838: checking
for _log10l declaration
" >&5
18838 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
18839 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
18840 echo $ac_n "(cached
) $ac_c" 1>&6
18845 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18846 ac_cpp='$CXXCPP $CPPFLAGS'
18847 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18848 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18849 cross_compiling=$ac_cv_prog_cxx_cross
18851 cat > conftest.$ac_ext <<EOF
18852 #line 18853 "configure
"
18853 #include "confdefs.h
"
18855 #ifdef HAVE_IEEEFP_H
18856 #include <ieeefp.h>
18863 if { (eval echo configure:18864: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18865 glibcpp_cv_func__log10l_use=yes
18867 echo "configure
: failed program was
:" >&5
18868 cat conftest.$ac_ext >&5
18870 glibcpp_cv_func__log10l_use=no
18874 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18875 ac_cpp='$CPP $CPPFLAGS'
18876 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18877 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18878 cross_compiling=$ac_cv_prog_cc_cross
18884 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
18886 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
18887 for ac_func in _log10l
18889 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18890 echo "configure
:18891: checking
for $ac_func" >&5
18891 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18892 echo $ac_n "(cached
) $ac_c" 1>&6
18894 cat > conftest.$ac_ext <<EOF
18895 #line 18896 "configure
"
18896 #include "confdefs.h
"
18897 /* System header to define __stub macros and hopefully few prototypes,
18898 which can conflict with char $ac_func(); below. */
18899 #include <assert.h>
18900 /* Override any gcc2 internal prototype to avoid an error. */
18901 /* We use char because int might match the return type of a gcc2
18902 builtin and then its argument prototype would still apply. */
18907 /* The GNU C library defines this for functions which it implements
18908 to always fail with ENOSYS. Some functions are actually named
18909 something starting with __ and the normal name is an alias. */
18910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18918 if { (eval echo configure:18919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18920 eval "ac_cv_func_
$ac_func=yes"
18922 echo "configure
: failed program was
:" >&5
18923 cat conftest.$ac_ext >&5
18925 eval "ac_cv_func_
$ac_func=no
"
18930 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18931 echo "$ac_t""yes" 1>&6
18932 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18933 cat >> confdefs.h <<EOF
18934 #define $ac_tr_func 1
18938 echo "$ac_t""no
" 1>&6
18947 echo $ac_n "checking
for modfl declaration
""...
$ac_c" 1>&6
18948 echo "configure
:18949: checking
for modfl declaration
" >&5
18949 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
18950 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
18951 echo $ac_n "(cached
) $ac_c" 1>&6
18956 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18957 ac_cpp='$CXXCPP $CPPFLAGS'
18958 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18959 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18960 cross_compiling=$ac_cv_prog_cxx_cross
18962 cat > conftest.$ac_ext <<EOF
18963 #line 18964 "configure
"
18964 #include "confdefs.h
"
18970 if { (eval echo configure:18971: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18972 glibcpp_cv_func_modfl_use=yes
18974 echo "configure
: failed program was
:" >&5
18975 cat conftest.$ac_ext >&5
18977 glibcpp_cv_func_modfl_use=no
18981 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18982 ac_cpp='$CPP $CPPFLAGS'
18983 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18984 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18985 cross_compiling=$ac_cv_prog_cc_cross
18991 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
18993 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
18994 for ac_func in modfl
18996 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18997 echo "configure
:18998: checking
for $ac_func" >&5
18998 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18999 echo $ac_n "(cached
) $ac_c" 1>&6
19001 cat > conftest.$ac_ext <<EOF
19002 #line 19003 "configure
"
19003 #include "confdefs.h
"
19004 /* System header to define __stub macros and hopefully few prototypes,
19005 which can conflict with char $ac_func(); below. */
19006 #include <assert.h>
19007 /* Override any gcc2 internal prototype to avoid an error. */
19008 /* We use char because int might match the return type of a gcc2
19009 builtin and then its argument prototype would still apply. */
19014 /* The GNU C library defines this for functions which it implements
19015 to always fail with ENOSYS. Some functions are actually named
19016 something starting with __ and the normal name is an alias. */
19017 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19025 if { (eval echo configure:19026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19027 eval "ac_cv_func_
$ac_func=yes"
19029 echo "configure
: failed program was
:" >&5
19030 cat conftest.$ac_ext >&5
19032 eval "ac_cv_func_
$ac_func=no
"
19037 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19038 echo "$ac_t""yes" 1>&6
19039 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19040 cat >> confdefs.h <<EOF
19041 #define $ac_tr_func 1
19045 echo "$ac_t""no
" 1>&6
19051 echo $ac_n "checking
for _modfl declaration
""...
$ac_c" 1>&6
19052 echo "configure
:19053: checking
for _modfl declaration
" >&5
19053 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
19054 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
19055 echo $ac_n "(cached
) $ac_c" 1>&6
19060 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19061 ac_cpp='$CXXCPP $CPPFLAGS'
19062 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19063 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19064 cross_compiling=$ac_cv_prog_cxx_cross
19066 cat > conftest.$ac_ext <<EOF
19067 #line 19068 "configure
"
19068 #include "confdefs.h
"
19074 if { (eval echo configure:19075: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19076 glibcpp_cv_func__modfl_use=yes
19078 echo "configure
: failed program was
:" >&5
19079 cat conftest.$ac_ext >&5
19081 glibcpp_cv_func__modfl_use=no
19085 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19086 ac_cpp='$CPP $CPPFLAGS'
19087 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19088 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19089 cross_compiling=$ac_cv_prog_cc_cross
19095 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
19097 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
19098 for ac_func in _modfl
19100 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19101 echo "configure
:19102: checking
for $ac_func" >&5
19102 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19103 echo $ac_n "(cached
) $ac_c" 1>&6
19105 cat > conftest.$ac_ext <<EOF
19106 #line 19107 "configure
"
19107 #include "confdefs.h
"
19108 /* System header to define __stub macros and hopefully few prototypes,
19109 which can conflict with char $ac_func(); below. */
19110 #include <assert.h>
19111 /* Override any gcc2 internal prototype to avoid an error. */
19112 /* We use char because int might match the return type of a gcc2
19113 builtin and then its argument prototype would still apply. */
19118 /* The GNU C library defines this for functions which it implements
19119 to always fail with ENOSYS. Some functions are actually named
19120 something starting with __ and the normal name is an alias. */
19121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19129 if { (eval echo configure:19130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19131 eval "ac_cv_func_
$ac_func=yes"
19133 echo "configure
: failed program was
:" >&5
19134 cat conftest.$ac_ext >&5
19136 eval "ac_cv_func_
$ac_func=no
"
19141 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19142 echo "$ac_t""yes" 1>&6
19143 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19144 cat >> confdefs.h <<EOF
19145 #define $ac_tr_func 1
19149 echo "$ac_t""no
" 1>&6
19158 echo $ac_n "checking
for powl declaration
""...
$ac_c" 1>&6
19159 echo "configure
:19160: checking
for powl declaration
" >&5
19160 if test x${glibcpp_cv_func_powl_use+set} != xset; then
19161 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
19162 echo $ac_n "(cached
) $ac_c" 1>&6
19167 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19168 ac_cpp='$CXXCPP $CPPFLAGS'
19169 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19170 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19171 cross_compiling=$ac_cv_prog_cxx_cross
19173 cat > conftest.$ac_ext <<EOF
19174 #line 19175 "configure
"
19175 #include "confdefs.h
"
19181 if { (eval echo configure:19182: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19183 glibcpp_cv_func_powl_use=yes
19185 echo "configure
: failed program was
:" >&5
19186 cat conftest.$ac_ext >&5
19188 glibcpp_cv_func_powl_use=no
19192 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19193 ac_cpp='$CPP $CPPFLAGS'
19194 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19195 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19196 cross_compiling=$ac_cv_prog_cc_cross
19202 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
19204 if test x$glibcpp_cv_func_powl_use = x"yes"; then
19205 for ac_func in powl
19207 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19208 echo "configure
:19209: checking
for $ac_func" >&5
19209 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19210 echo $ac_n "(cached
) $ac_c" 1>&6
19212 cat > conftest.$ac_ext <<EOF
19213 #line 19214 "configure
"
19214 #include "confdefs.h
"
19215 /* System header to define __stub macros and hopefully few prototypes,
19216 which can conflict with char $ac_func(); below. */
19217 #include <assert.h>
19218 /* Override any gcc2 internal prototype to avoid an error. */
19219 /* We use char because int might match the return type of a gcc2
19220 builtin and then its argument prototype would still apply. */
19225 /* The GNU C library defines this for functions which it implements
19226 to always fail with ENOSYS. Some functions are actually named
19227 something starting with __ and the normal name is an alias. */
19228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19236 if { (eval echo configure:19237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19238 eval "ac_cv_func_
$ac_func=yes"
19240 echo "configure
: failed program was
:" >&5
19241 cat conftest.$ac_ext >&5
19243 eval "ac_cv_func_
$ac_func=no
"
19248 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19249 echo "$ac_t""yes" 1>&6
19250 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19251 cat >> confdefs.h <<EOF
19252 #define $ac_tr_func 1
19256 echo "$ac_t""no
" 1>&6
19262 echo $ac_n "checking
for _powl declaration
""...
$ac_c" 1>&6
19263 echo "configure
:19264: checking
for _powl declaration
" >&5
19264 if test x${glibcpp_cv_func__powl_use+set} != xset; then
19265 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
19266 echo $ac_n "(cached
) $ac_c" 1>&6
19271 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19272 ac_cpp='$CXXCPP $CPPFLAGS'
19273 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19274 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19275 cross_compiling=$ac_cv_prog_cxx_cross
19277 cat > conftest.$ac_ext <<EOF
19278 #line 19279 "configure
"
19279 #include "confdefs.h
"
19285 if { (eval echo configure:19286: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19287 glibcpp_cv_func__powl_use=yes
19289 echo "configure
: failed program was
:" >&5
19290 cat conftest.$ac_ext >&5
19292 glibcpp_cv_func__powl_use=no
19296 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19297 ac_cpp='$CPP $CPPFLAGS'
19298 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19299 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19300 cross_compiling=$ac_cv_prog_cc_cross
19306 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
19308 if test x$glibcpp_cv_func__powl_use = x"yes"; then
19309 for ac_func in _powl
19311 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19312 echo "configure
:19313: checking
for $ac_func" >&5
19313 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19314 echo $ac_n "(cached
) $ac_c" 1>&6
19316 cat > conftest.$ac_ext <<EOF
19317 #line 19318 "configure
"
19318 #include "confdefs.h
"
19319 /* System header to define __stub macros and hopefully few prototypes,
19320 which can conflict with char $ac_func(); below. */
19321 #include <assert.h>
19322 /* Override any gcc2 internal prototype to avoid an error. */
19323 /* We use char because int might match the return type of a gcc2
19324 builtin and then its argument prototype would still apply. */
19329 /* The GNU C library defines this for functions which it implements
19330 to always fail with ENOSYS. Some functions are actually named
19331 something starting with __ and the normal name is an alias. */
19332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19340 if { (eval echo configure:19341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19342 eval "ac_cv_func_
$ac_func=yes"
19344 echo "configure
: failed program was
:" >&5
19345 cat conftest.$ac_ext >&5
19347 eval "ac_cv_func_
$ac_func=no
"
19352 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19353 echo "$ac_t""yes" 1>&6
19354 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19355 cat >> confdefs.h <<EOF
19356 #define $ac_tr_func 1
19360 echo "$ac_t""no
" 1>&6
19369 echo $ac_n "checking
for sqrtl declaration
""...
$ac_c" 1>&6
19370 echo "configure
:19371: checking
for sqrtl declaration
" >&5
19371 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
19372 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
19373 echo $ac_n "(cached
) $ac_c" 1>&6
19378 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19379 ac_cpp='$CXXCPP $CPPFLAGS'
19380 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19381 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19382 cross_compiling=$ac_cv_prog_cxx_cross
19384 cat > conftest.$ac_ext <<EOF
19385 #line 19386 "configure
"
19386 #include "confdefs.h
"
19388 #ifdef HAVE_IEEEFP_H
19389 #include <ieeefp.h>
19396 if { (eval echo configure:19397: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19398 glibcpp_cv_func_sqrtl_use=yes
19400 echo "configure
: failed program was
:" >&5
19401 cat conftest.$ac_ext >&5
19403 glibcpp_cv_func_sqrtl_use=no
19407 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19408 ac_cpp='$CPP $CPPFLAGS'
19409 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19410 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19411 cross_compiling=$ac_cv_prog_cc_cross
19417 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
19419 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
19420 for ac_func in sqrtl
19422 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19423 echo "configure
:19424: checking
for $ac_func" >&5
19424 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19425 echo $ac_n "(cached
) $ac_c" 1>&6
19427 cat > conftest.$ac_ext <<EOF
19428 #line 19429 "configure
"
19429 #include "confdefs.h
"
19430 /* System header to define __stub macros and hopefully few prototypes,
19431 which can conflict with char $ac_func(); below. */
19432 #include <assert.h>
19433 /* Override any gcc2 internal prototype to avoid an error. */
19434 /* We use char because int might match the return type of a gcc2
19435 builtin and then its argument prototype would still apply. */
19440 /* The GNU C library defines this for functions which it implements
19441 to always fail with ENOSYS. Some functions are actually named
19442 something starting with __ and the normal name is an alias. */
19443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19451 if { (eval echo configure:19452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19453 eval "ac_cv_func_
$ac_func=yes"
19455 echo "configure
: failed program was
:" >&5
19456 cat conftest.$ac_ext >&5
19458 eval "ac_cv_func_
$ac_func=no
"
19463 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19464 echo "$ac_t""yes" 1>&6
19465 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19466 cat >> confdefs.h <<EOF
19467 #define $ac_tr_func 1
19471 echo "$ac_t""no
" 1>&6
19477 echo $ac_n "checking
for _sqrtl declaration
""...
$ac_c" 1>&6
19478 echo "configure
:19479: checking
for _sqrtl declaration
" >&5
19479 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
19480 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
19481 echo $ac_n "(cached
) $ac_c" 1>&6
19486 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19487 ac_cpp='$CXXCPP $CPPFLAGS'
19488 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19489 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19490 cross_compiling=$ac_cv_prog_cxx_cross
19492 cat > conftest.$ac_ext <<EOF
19493 #line 19494 "configure
"
19494 #include "confdefs.h
"
19496 #ifdef HAVE_IEEEFP_H
19497 #include <ieeefp.h>
19504 if { (eval echo configure:19505: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19506 glibcpp_cv_func__sqrtl_use=yes
19508 echo "configure
: failed program was
:" >&5
19509 cat conftest.$ac_ext >&5
19511 glibcpp_cv_func__sqrtl_use=no
19515 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19516 ac_cpp='$CPP $CPPFLAGS'
19517 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19518 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19519 cross_compiling=$ac_cv_prog_cc_cross
19525 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
19527 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
19528 for ac_func in _sqrtl
19530 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19531 echo "configure
:19532: checking
for $ac_func" >&5
19532 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19533 echo $ac_n "(cached
) $ac_c" 1>&6
19535 cat > conftest.$ac_ext <<EOF
19536 #line 19537 "configure
"
19537 #include "confdefs.h
"
19538 /* System header to define __stub macros and hopefully few prototypes,
19539 which can conflict with char $ac_func(); below. */
19540 #include <assert.h>
19541 /* Override any gcc2 internal prototype to avoid an error. */
19542 /* We use char because int might match the return type of a gcc2
19543 builtin and then its argument prototype would still apply. */
19548 /* The GNU C library defines this for functions which it implements
19549 to always fail with ENOSYS. Some functions are actually named
19550 something starting with __ and the normal name is an alias. */
19551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19559 if { (eval echo configure:19560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19561 eval "ac_cv_func_
$ac_func=yes"
19563 echo "configure
: failed program was
:" >&5
19564 cat conftest.$ac_ext >&5
19566 eval "ac_cv_func_
$ac_func=no
"
19571 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19572 echo "$ac_t""yes" 1>&6
19573 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19574 cat >> confdefs.h <<EOF
19575 #define $ac_tr_func 1
19579 echo "$ac_t""no
" 1>&6
19588 echo $ac_n "checking
for sincosl declaration
""...
$ac_c" 1>&6
19589 echo "configure
:19590: checking
for sincosl declaration
" >&5
19590 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
19591 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
19592 echo $ac_n "(cached
) $ac_c" 1>&6
19597 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19598 ac_cpp='$CXXCPP $CPPFLAGS'
19599 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19600 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19601 cross_compiling=$ac_cv_prog_cxx_cross
19603 cat > conftest.$ac_ext <<EOF
19604 #line 19605 "configure
"
19605 #include "confdefs.h
"
19611 if { (eval echo configure:19612: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19613 glibcpp_cv_func_sincosl_use=yes
19615 echo "configure
: failed program was
:" >&5
19616 cat conftest.$ac_ext >&5
19618 glibcpp_cv_func_sincosl_use=no
19622 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19623 ac_cpp='$CPP $CPPFLAGS'
19624 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19625 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19626 cross_compiling=$ac_cv_prog_cc_cross
19632 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
19634 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
19635 for ac_func in sincosl
19637 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19638 echo "configure
:19639: checking
for $ac_func" >&5
19639 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19640 echo $ac_n "(cached
) $ac_c" 1>&6
19642 cat > conftest.$ac_ext <<EOF
19643 #line 19644 "configure
"
19644 #include "confdefs.h
"
19645 /* System header to define __stub macros and hopefully few prototypes,
19646 which can conflict with char $ac_func(); below. */
19647 #include <assert.h>
19648 /* Override any gcc2 internal prototype to avoid an error. */
19649 /* We use char because int might match the return type of a gcc2
19650 builtin and then its argument prototype would still apply. */
19655 /* The GNU C library defines this for functions which it implements
19656 to always fail with ENOSYS. Some functions are actually named
19657 something starting with __ and the normal name is an alias. */
19658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19666 if { (eval echo configure:19667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19668 eval "ac_cv_func_
$ac_func=yes"
19670 echo "configure
: failed program was
:" >&5
19671 cat conftest.$ac_ext >&5
19673 eval "ac_cv_func_
$ac_func=no
"
19678 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19679 echo "$ac_t""yes" 1>&6
19680 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19681 cat >> confdefs.h <<EOF
19682 #define $ac_tr_func 1
19686 echo "$ac_t""no
" 1>&6
19692 echo $ac_n "checking
for _sincosl declaration
""...
$ac_c" 1>&6
19693 echo "configure
:19694: checking
for _sincosl declaration
" >&5
19694 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
19695 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
19696 echo $ac_n "(cached
) $ac_c" 1>&6
19701 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19702 ac_cpp='$CXXCPP $CPPFLAGS'
19703 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19704 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19705 cross_compiling=$ac_cv_prog_cxx_cross
19707 cat > conftest.$ac_ext <<EOF
19708 #line 19709 "configure
"
19709 #include "confdefs.h
"
19715 if { (eval echo configure:19716: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19717 glibcpp_cv_func__sincosl_use=yes
19719 echo "configure
: failed program was
:" >&5
19720 cat conftest.$ac_ext >&5
19722 glibcpp_cv_func__sincosl_use=no
19726 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19727 ac_cpp='$CPP $CPPFLAGS'
19728 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19729 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19730 cross_compiling=$ac_cv_prog_cc_cross
19736 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
19738 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
19739 for ac_func in _sincosl
19741 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19742 echo "configure
:19743: checking
for $ac_func" >&5
19743 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19744 echo $ac_n "(cached
) $ac_c" 1>&6
19746 cat > conftest.$ac_ext <<EOF
19747 #line 19748 "configure
"
19748 #include "confdefs.h
"
19749 /* System header to define __stub macros and hopefully few prototypes,
19750 which can conflict with char $ac_func(); below. */
19751 #include <assert.h>
19752 /* Override any gcc2 internal prototype to avoid an error. */
19753 /* We use char because int might match the return type of a gcc2
19754 builtin and then its argument prototype would still apply. */
19759 /* The GNU C library defines this for functions which it implements
19760 to always fail with ENOSYS. Some functions are actually named
19761 something starting with __ and the normal name is an alias. */
19762 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19770 if { (eval echo configure:19771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19772 eval "ac_cv_func_
$ac_func=yes"
19774 echo "configure
: failed program was
:" >&5
19775 cat conftest.$ac_ext >&5
19777 eval "ac_cv_func_
$ac_func=no
"
19782 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19783 echo "$ac_t""yes" 1>&6
19784 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19785 cat >> confdefs.h <<EOF
19786 #define $ac_tr_func 1
19790 echo "$ac_t""no
" 1>&6
19799 echo $ac_n "checking
for finitel declaration
""...
$ac_c" 1>&6
19800 echo "configure
:19801: checking
for finitel declaration
" >&5
19801 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
19802 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
19803 echo $ac_n "(cached
) $ac_c" 1>&6
19808 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19809 ac_cpp='$CXXCPP $CPPFLAGS'
19810 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19811 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19812 cross_compiling=$ac_cv_prog_cxx_cross
19814 cat > conftest.$ac_ext <<EOF
19815 #line 19816 "configure
"
19816 #include "confdefs.h
"
19818 #ifdef HAVE_IEEEFP_H
19819 #include <ieeefp.h>
19826 if { (eval echo configure:19827: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19828 glibcpp_cv_func_finitel_use=yes
19830 echo "configure
: failed program was
:" >&5
19831 cat conftest.$ac_ext >&5
19833 glibcpp_cv_func_finitel_use=no
19837 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19838 ac_cpp='$CPP $CPPFLAGS'
19839 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19840 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19841 cross_compiling=$ac_cv_prog_cc_cross
19847 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
19849 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
19850 for ac_func in finitel
19852 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19853 echo "configure
:19854: checking
for $ac_func" >&5
19854 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19855 echo $ac_n "(cached
) $ac_c" 1>&6
19857 cat > conftest.$ac_ext <<EOF
19858 #line 19859 "configure
"
19859 #include "confdefs.h
"
19860 /* System header to define __stub macros and hopefully few prototypes,
19861 which can conflict with char $ac_func(); below. */
19862 #include <assert.h>
19863 /* Override any gcc2 internal prototype to avoid an error. */
19864 /* We use char because int might match the return type of a gcc2
19865 builtin and then its argument prototype would still apply. */
19870 /* The GNU C library defines this for functions which it implements
19871 to always fail with ENOSYS. Some functions are actually named
19872 something starting with __ and the normal name is an alias. */
19873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19881 if { (eval echo configure:19882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19883 eval "ac_cv_func_
$ac_func=yes"
19885 echo "configure
: failed program was
:" >&5
19886 cat conftest.$ac_ext >&5
19888 eval "ac_cv_func_
$ac_func=no
"
19893 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19894 echo "$ac_t""yes" 1>&6
19895 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19896 cat >> confdefs.h <<EOF
19897 #define $ac_tr_func 1
19901 echo "$ac_t""no
" 1>&6
19907 echo $ac_n "checking
for _finitel declaration
""...
$ac_c" 1>&6
19908 echo "configure
:19909: checking
for _finitel declaration
" >&5
19909 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
19910 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
19911 echo $ac_n "(cached
) $ac_c" 1>&6
19916 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19917 ac_cpp='$CXXCPP $CPPFLAGS'
19918 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19919 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19920 cross_compiling=$ac_cv_prog_cxx_cross
19922 cat > conftest.$ac_ext <<EOF
19923 #line 19924 "configure
"
19924 #include "confdefs.h
"
19926 #ifdef HAVE_IEEEFP_H
19927 #include <ieeefp.h>
19934 if { (eval echo configure:19935: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19936 glibcpp_cv_func__finitel_use=yes
19938 echo "configure
: failed program was
:" >&5
19939 cat conftest.$ac_ext >&5
19941 glibcpp_cv_func__finitel_use=no
19945 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19946 ac_cpp='$CPP $CPPFLAGS'
19947 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19948 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19949 cross_compiling=$ac_cv_prog_cc_cross
19955 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
19957 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
19958 for ac_func in _finitel
19960 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19961 echo "configure
:19962: checking
for $ac_func" >&5
19962 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19963 echo $ac_n "(cached
) $ac_c" 1>&6
19965 cat > conftest.$ac_ext <<EOF
19966 #line 19967 "configure
"
19967 #include "confdefs.h
"
19968 /* System header to define __stub macros and hopefully few prototypes,
19969 which can conflict with char $ac_func(); below. */
19970 #include <assert.h>
19971 /* Override any gcc2 internal prototype to avoid an error. */
19972 /* We use char because int might match the return type of a gcc2
19973 builtin and then its argument prototype would still apply. */
19978 /* The GNU C library defines this for functions which it implements
19979 to always fail with ENOSYS. Some functions are actually named
19980 something starting with __ and the normal name is an alias. */
19981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19989 if { (eval echo configure:19990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19991 eval "ac_cv_func_
$ac_func=yes"
19993 echo "configure
: failed program was
:" >&5
19994 cat conftest.$ac_ext >&5
19996 eval "ac_cv_func_
$ac_func=no
"
20001 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20002 echo "$ac_t""yes" 1>&6
20003 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20004 cat >> confdefs.h <<EOF
20005 #define $ac_tr_func 1
20009 echo "$ac_t""no
" 1>&6
20019 echo $ac_n "checking
for _float trig functions
""...
$ac_c" 1>&6
20020 echo "configure
:20021: checking
for _float trig functions
" >&5
20021 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
20022 echo $ac_n "(cached
) $ac_c" 1>&6
20027 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20028 ac_cpp='$CXXCPP $CPPFLAGS'
20029 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20030 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20031 cross_compiling=$ac_cv_prog_cxx_cross
20033 cat > conftest.$ac_ext <<EOF
20034 #line 20035 "configure
"
20035 #include "confdefs.h
"
20038 `for x in _acosf _asinf _atanf \
20039 _cosf _sinf _tanf \
20040 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
20043 if { (eval echo configure:20044: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20045 glibcpp_cv_func__float_trig_use=yes
20047 echo "configure
: failed program was
:" >&5
20048 cat conftest.$ac_ext >&5
20050 glibcpp_cv_func__float_trig_use=no
20054 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20055 ac_cpp='$CPP $CPPFLAGS'
20056 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20057 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20058 cross_compiling=$ac_cv_prog_cc_cross
20062 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
20063 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
20064 for ac_func in _acosf _asinf _atanf \
20065 _cosf _sinf _tanf \
20066 _coshf _sinhf _tanhf
20068 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20069 echo "configure
:20070: checking
for $ac_func" >&5
20070 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20071 echo $ac_n "(cached
) $ac_c" 1>&6
20073 cat > conftest.$ac_ext <<EOF
20074 #line 20075 "configure
"
20075 #include "confdefs.h
"
20076 /* System header to define __stub macros and hopefully few prototypes,
20077 which can conflict with char $ac_func(); below. */
20078 #include <assert.h>
20079 /* Override any gcc2 internal prototype to avoid an error. */
20080 /* We use char because int might match the return type of a gcc2
20081 builtin and then its argument prototype would still apply. */
20086 /* The GNU C library defines this for functions which it implements
20087 to always fail with ENOSYS. Some functions are actually named
20088 something starting with __ and the normal name is an alias. */
20089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20097 if { (eval echo configure:20098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20099 eval "ac_cv_func_
$ac_func=yes"
20101 echo "configure
: failed program was
:" >&5
20102 cat conftest.$ac_ext >&5
20104 eval "ac_cv_func_
$ac_func=no
"
20109 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20110 echo "$ac_t""yes" 1>&6
20111 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20112 cat >> confdefs.h <<EOF
20113 #define $ac_tr_func 1
20117 echo "$ac_t""no
" 1>&6
20124 echo $ac_n "checking
for _float round functions
""...
$ac_c" 1>&6
20125 echo "configure
:20126: checking
for _float round functions
" >&5
20126 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
20127 echo $ac_n "(cached
) $ac_c" 1>&6
20132 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20133 ac_cpp='$CXXCPP $CPPFLAGS'
20134 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20135 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20136 cross_compiling=$ac_cv_prog_cxx_cross
20138 cat > conftest.$ac_ext <<EOF
20139 #line 20140 "configure
"
20140 #include "confdefs.h
"
20143 `for x in _ceilf _floorf; do echo "$x (0);"; done`
20146 if { (eval echo configure:20147: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20148 glibcpp_cv_func__float_round_use=yes
20150 echo "configure
: failed program was
:" >&5
20151 cat conftest.$ac_ext >&5
20153 glibcpp_cv_func__float_round_use=no
20157 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20158 ac_cpp='$CPP $CPPFLAGS'
20159 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20160 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20161 cross_compiling=$ac_cv_prog_cc_cross
20165 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
20166 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
20167 for ac_func in _ceilf _floorf
20169 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20170 echo "configure
:20171: checking
for $ac_func" >&5
20171 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20172 echo $ac_n "(cached
) $ac_c" 1>&6
20174 cat > conftest.$ac_ext <<EOF
20175 #line 20176 "configure
"
20176 #include "confdefs.h
"
20177 /* System header to define __stub macros and hopefully few prototypes,
20178 which can conflict with char $ac_func(); below. */
20179 #include <assert.h>
20180 /* Override any gcc2 internal prototype to avoid an error. */
20181 /* We use char because int might match the return type of a gcc2
20182 builtin and then its argument prototype would still apply. */
20187 /* The GNU C library defines this for functions which it implements
20188 to always fail with ENOSYS. Some functions are actually named
20189 something starting with __ and the normal name is an alias. */
20190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20198 if { (eval echo configure:20199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20200 eval "ac_cv_func_
$ac_func=yes"
20202 echo "configure
: failed program was
:" >&5
20203 cat conftest.$ac_ext >&5
20205 eval "ac_cv_func_
$ac_func=no
"
20210 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20211 echo "$ac_t""yes" 1>&6
20212 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20213 cat >> confdefs.h <<EOF
20214 #define $ac_tr_func 1
20218 echo "$ac_t""no
" 1>&6
20226 echo $ac_n "checking
for _long double trig functions
""...
$ac_c" 1>&6
20227 echo "configure
:20228: checking
for _long double trig functions
" >&5
20228 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
20229 echo $ac_n "(cached
) $ac_c" 1>&6
20234 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20235 ac_cpp='$CXXCPP $CPPFLAGS'
20236 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20237 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20238 cross_compiling=$ac_cv_prog_cxx_cross
20240 cat > conftest.$ac_ext <<EOF
20241 #line 20242 "configure
"
20242 #include "confdefs.h
"
20245 `for x in _acosl _asinl _atanl \
20246 _cosl _sinl _tanl \
20247 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
20250 if { (eval echo configure:20251: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20252 glibcpp_cv_func__long_double_trig_use=yes
20254 echo "configure
: failed program was
:" >&5
20255 cat conftest.$ac_ext >&5
20257 glibcpp_cv_func__long_double_trig_use=no
20261 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20262 ac_cpp='$CPP $CPPFLAGS'
20263 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20264 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20265 cross_compiling=$ac_cv_prog_cc_cross
20269 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
20270 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
20271 for ac_func in _acosl _asinl _atanl \
20272 _cosl _sinl _tanl \
20273 _coshl _sinhl _tanhl
20275 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20276 echo "configure
:20277: checking
for $ac_func" >&5
20277 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20278 echo $ac_n "(cached
) $ac_c" 1>&6
20280 cat > conftest.$ac_ext <<EOF
20281 #line 20282 "configure
"
20282 #include "confdefs.h
"
20283 /* System header to define __stub macros and hopefully few prototypes,
20284 which can conflict with char $ac_func(); below. */
20285 #include <assert.h>
20286 /* Override any gcc2 internal prototype to avoid an error. */
20287 /* We use char because int might match the return type of a gcc2
20288 builtin and then its argument prototype would still apply. */
20293 /* The GNU C library defines this for functions which it implements
20294 to always fail with ENOSYS. Some functions are actually named
20295 something starting with __ and the normal name is an alias. */
20296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20304 if { (eval echo configure:20305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20306 eval "ac_cv_func_
$ac_func=yes"
20308 echo "configure
: failed program was
:" >&5
20309 cat conftest.$ac_ext >&5
20311 eval "ac_cv_func_
$ac_func=no
"
20316 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20317 echo "$ac_t""yes" 1>&6
20318 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20319 cat >> confdefs.h <<EOF
20320 #define $ac_tr_func 1
20324 echo "$ac_t""no
" 1>&6
20331 echo $ac_n "checking
for _long double round functions
""...
$ac_c" 1>&6
20332 echo "configure
:20333: checking
for _long double round functions
" >&5
20333 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
20334 echo $ac_n "(cached
) $ac_c" 1>&6
20339 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20340 ac_cpp='$CXXCPP $CPPFLAGS'
20341 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20342 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20343 cross_compiling=$ac_cv_prog_cxx_cross
20345 cat > conftest.$ac_ext <<EOF
20346 #line 20347 "configure
"
20347 #include "confdefs.h
"
20350 `for x in _ceill _floorl; do echo "$x (0);"; done`
20353 if { (eval echo configure:20354: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20355 glibcpp_cv_func__long_double_round_use=yes
20357 echo "configure
: failed program was
:" >&5
20358 cat conftest.$ac_ext >&5
20360 glibcpp_cv_func__long_double_round_use=no
20364 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20365 ac_cpp='$CPP $CPPFLAGS'
20366 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20367 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20368 cross_compiling=$ac_cv_prog_cc_cross
20372 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
20373 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
20374 for ac_func in _ceill _floorl
20376 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20377 echo "configure
:20378: checking
for $ac_func" >&5
20378 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20379 echo $ac_n "(cached
) $ac_c" 1>&6
20381 cat > conftest.$ac_ext <<EOF
20382 #line 20383 "configure
"
20383 #include "confdefs.h
"
20384 /* System header to define __stub macros and hopefully few prototypes,
20385 which can conflict with char $ac_func(); below. */
20386 #include <assert.h>
20387 /* Override any gcc2 internal prototype to avoid an error. */
20388 /* We use char because int might match the return type of a gcc2
20389 builtin and then its argument prototype would still apply. */
20394 /* The GNU C library defines this for functions which it implements
20395 to always fail with ENOSYS. Some functions are actually named
20396 something starting with __ and the normal name is an alias. */
20397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20405 if { (eval echo configure:20406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20407 eval "ac_cv_func_
$ac_func=yes"
20409 echo "configure
: failed program was
:" >&5
20410 cat conftest.$ac_ext >&5
20412 eval "ac_cv_func_
$ac_func=no
"
20417 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20418 echo "$ac_t""yes" 1>&6
20419 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20420 cat >> confdefs.h <<EOF
20421 #define $ac_tr_func 1
20425 echo "$ac_t""no
" 1>&6
20432 LIBS="$ac_save_LIBS"
20433 CXXFLAGS="$ac_save_CXXFLAGS"
20437 echo $ac_n "checking
for __builtin_abs declaration
""...
$ac_c" 1>&6
20438 echo "configure
:20439: checking
for __builtin_abs declaration
" >&5
20439 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
20440 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
20441 echo $ac_n "(cached
) $ac_c" 1>&6
20446 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20447 ac_cpp='$CXXCPP $CPPFLAGS'
20448 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20449 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20450 cross_compiling=$ac_cv_prog_cxx_cross
20452 cat > conftest.$ac_ext <<EOF
20453 #line 20454 "configure
"
20454 #include "confdefs.h
"
20460 if { (eval echo configure:20461: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20462 glibcpp_cv_func___builtin_abs_use=yes
20464 echo "configure
: failed program was
:" >&5
20465 cat conftest.$ac_ext >&5
20467 glibcpp_cv_func___builtin_abs_use=no
20471 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20472 ac_cpp='$CPP $CPPFLAGS'
20473 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20474 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20475 cross_compiling=$ac_cv_prog_cc_cross
20481 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
20482 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
20483 echo $ac_n "checking
for __builtin_abs linkage
""...
$ac_c" 1>&6
20484 echo "configure
:20485: checking
for __builtin_abs linkage
" >&5
20485 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
20486 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
20487 echo $ac_n "(cached
) $ac_c" 1>&6
20490 cat > conftest.$ac_ext <<EOF
20491 #line 20492 "configure
"
20492 #include "confdefs.h
"
20498 if { (eval echo configure:20499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20500 glibcpp_cv_func___builtin_abs_link=yes
20502 echo "configure
: failed program was
:" >&5
20503 cat conftest.$ac_ext >&5
20505 glibcpp_cv_func___builtin_abs_link=no
20512 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
20513 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
20514 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20515 cat >> confdefs.h <<EOF
20516 #define ${ac_tr_func} 1
20523 echo $ac_n "checking
for __builtin_fabsf declaration
""...
$ac_c" 1>&6
20524 echo "configure
:20525: checking
for __builtin_fabsf declaration
" >&5
20525 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
20526 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
20527 echo $ac_n "(cached
) $ac_c" 1>&6
20532 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20533 ac_cpp='$CXXCPP $CPPFLAGS'
20534 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20535 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20536 cross_compiling=$ac_cv_prog_cxx_cross
20538 cat > conftest.$ac_ext <<EOF
20539 #line 20540 "configure
"
20540 #include "confdefs.h
"
20543 __builtin_fabsf(0);
20546 if { (eval echo configure:20547: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20548 glibcpp_cv_func___builtin_fabsf_use=yes
20550 echo "configure
: failed program was
:" >&5
20551 cat conftest.$ac_ext >&5
20553 glibcpp_cv_func___builtin_fabsf_use=no
20557 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20558 ac_cpp='$CPP $CPPFLAGS'
20559 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20560 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20561 cross_compiling=$ac_cv_prog_cc_cross
20567 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
20568 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
20569 echo $ac_n "checking
for __builtin_fabsf linkage
""...
$ac_c" 1>&6
20570 echo "configure
:20571: checking
for __builtin_fabsf linkage
" >&5
20571 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
20572 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
20573 echo $ac_n "(cached
) $ac_c" 1>&6
20576 cat > conftest.$ac_ext <<EOF
20577 #line 20578 "configure
"
20578 #include "confdefs.h
"
20581 __builtin_fabsf(0);
20584 if { (eval echo configure:20585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20586 glibcpp_cv_func___builtin_fabsf_link=yes
20588 echo "configure
: failed program was
:" >&5
20589 cat conftest.$ac_ext >&5
20591 glibcpp_cv_func___builtin_fabsf_link=no
20598 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
20599 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
20600 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20601 cat >> confdefs.h <<EOF
20602 #define ${ac_tr_func} 1
20609 echo $ac_n "checking
for __builtin_fabs declaration
""...
$ac_c" 1>&6
20610 echo "configure
:20611: checking
for __builtin_fabs declaration
" >&5
20611 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
20612 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
20613 echo $ac_n "(cached
) $ac_c" 1>&6
20618 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20619 ac_cpp='$CXXCPP $CPPFLAGS'
20620 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20621 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20622 cross_compiling=$ac_cv_prog_cxx_cross
20624 cat > conftest.$ac_ext <<EOF
20625 #line 20626 "configure
"
20626 #include "confdefs.h
"
20632 if { (eval echo configure:20633: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20634 glibcpp_cv_func___builtin_fabs_use=yes
20636 echo "configure
: failed program was
:" >&5
20637 cat conftest.$ac_ext >&5
20639 glibcpp_cv_func___builtin_fabs_use=no
20643 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20644 ac_cpp='$CPP $CPPFLAGS'
20645 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20646 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20647 cross_compiling=$ac_cv_prog_cc_cross
20653 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
20654 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
20655 echo $ac_n "checking
for __builtin_fabs linkage
""...
$ac_c" 1>&6
20656 echo "configure
:20657: checking
for __builtin_fabs linkage
" >&5
20657 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
20658 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
20659 echo $ac_n "(cached
) $ac_c" 1>&6
20662 cat > conftest.$ac_ext <<EOF
20663 #line 20664 "configure
"
20664 #include "confdefs.h
"
20670 if { (eval echo configure:20671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20672 glibcpp_cv_func___builtin_fabs_link=yes
20674 echo "configure
: failed program was
:" >&5
20675 cat conftest.$ac_ext >&5
20677 glibcpp_cv_func___builtin_fabs_link=no
20684 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
20685 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
20686 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20687 cat >> confdefs.h <<EOF
20688 #define ${ac_tr_func} 1
20695 echo $ac_n "checking
for __builtin_fabsl declaration
""...
$ac_c" 1>&6
20696 echo "configure
:20697: checking
for __builtin_fabsl declaration
" >&5
20697 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
20698 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
20699 echo $ac_n "(cached
) $ac_c" 1>&6
20704 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20705 ac_cpp='$CXXCPP $CPPFLAGS'
20706 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20707 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20708 cross_compiling=$ac_cv_prog_cxx_cross
20710 cat > conftest.$ac_ext <<EOF
20711 #line 20712 "configure
"
20712 #include "confdefs.h
"
20715 __builtin_fabsl(0);
20718 if { (eval echo configure:20719: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20720 glibcpp_cv_func___builtin_fabsl_use=yes
20722 echo "configure
: failed program was
:" >&5
20723 cat conftest.$ac_ext >&5
20725 glibcpp_cv_func___builtin_fabsl_use=no
20729 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20730 ac_cpp='$CPP $CPPFLAGS'
20731 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20732 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20733 cross_compiling=$ac_cv_prog_cc_cross
20739 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
20740 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
20741 echo $ac_n "checking
for __builtin_fabsl linkage
""...
$ac_c" 1>&6
20742 echo "configure
:20743: checking
for __builtin_fabsl linkage
" >&5
20743 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
20744 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
20745 echo $ac_n "(cached
) $ac_c" 1>&6
20748 cat > conftest.$ac_ext <<EOF
20749 #line 20750 "configure
"
20750 #include "confdefs.h
"
20753 __builtin_fabsl(0);
20756 if { (eval echo configure:20757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20758 glibcpp_cv_func___builtin_fabsl_link=yes
20760 echo "configure
: failed program was
:" >&5
20761 cat conftest.$ac_ext >&5
20763 glibcpp_cv_func___builtin_fabsl_link=no
20770 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
20771 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
20772 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20773 cat >> confdefs.h <<EOF
20774 #define ${ac_tr_func} 1
20781 echo $ac_n "checking
for __builtin_labs declaration
""...
$ac_c" 1>&6
20782 echo "configure
:20783: checking
for __builtin_labs declaration
" >&5
20783 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
20784 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
20785 echo $ac_n "(cached
) $ac_c" 1>&6
20790 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20791 ac_cpp='$CXXCPP $CPPFLAGS'
20792 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20793 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20794 cross_compiling=$ac_cv_prog_cxx_cross
20796 cat > conftest.$ac_ext <<EOF
20797 #line 20798 "configure
"
20798 #include "confdefs.h
"
20804 if { (eval echo configure:20805: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20806 glibcpp_cv_func___builtin_labs_use=yes
20808 echo "configure
: failed program was
:" >&5
20809 cat conftest.$ac_ext >&5
20811 glibcpp_cv_func___builtin_labs_use=no
20815 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20816 ac_cpp='$CPP $CPPFLAGS'
20817 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20818 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20819 cross_compiling=$ac_cv_prog_cc_cross
20825 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
20826 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
20827 echo $ac_n "checking
for __builtin_labs linkage
""...
$ac_c" 1>&6
20828 echo "configure
:20829: checking
for __builtin_labs linkage
" >&5
20829 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
20830 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
20831 echo $ac_n "(cached
) $ac_c" 1>&6
20834 cat > conftest.$ac_ext <<EOF
20835 #line 20836 "configure
"
20836 #include "confdefs.h
"
20842 if { (eval echo configure:20843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20844 glibcpp_cv_func___builtin_labs_link=yes
20846 echo "configure
: failed program was
:" >&5
20847 cat conftest.$ac_ext >&5
20849 glibcpp_cv_func___builtin_labs_link=no
20856 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
20857 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
20858 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20859 cat >> confdefs.h <<EOF
20860 #define ${ac_tr_func} 1
20868 echo $ac_n "checking
for __builtin_sqrtf declaration
""...
$ac_c" 1>&6
20869 echo "configure
:20870: checking
for __builtin_sqrtf declaration
" >&5
20870 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
20871 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
20872 echo $ac_n "(cached
) $ac_c" 1>&6
20877 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20878 ac_cpp='$CXXCPP $CPPFLAGS'
20879 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20880 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20881 cross_compiling=$ac_cv_prog_cxx_cross
20883 cat > conftest.$ac_ext <<EOF
20884 #line 20885 "configure
"
20885 #include "confdefs.h
"
20888 __builtin_sqrtf(0);
20891 if { (eval echo configure:20892: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20893 glibcpp_cv_func___builtin_sqrtf_use=yes
20895 echo "configure
: failed program was
:" >&5
20896 cat conftest.$ac_ext >&5
20898 glibcpp_cv_func___builtin_sqrtf_use=no
20902 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20903 ac_cpp='$CPP $CPPFLAGS'
20904 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20905 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20906 cross_compiling=$ac_cv_prog_cc_cross
20912 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
20913 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
20914 echo $ac_n "checking
for __builtin_sqrtf linkage
""...
$ac_c" 1>&6
20915 echo "configure
:20916: checking
for __builtin_sqrtf linkage
" >&5
20916 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
20917 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
20918 echo $ac_n "(cached
) $ac_c" 1>&6
20921 cat > conftest.$ac_ext <<EOF
20922 #line 20923 "configure
"
20923 #include "confdefs.h
"
20926 __builtin_sqrtf(0);
20929 if { (eval echo configure:20930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20931 glibcpp_cv_func___builtin_sqrtf_link=yes
20933 echo "configure
: failed program was
:" >&5
20934 cat conftest.$ac_ext >&5
20936 glibcpp_cv_func___builtin_sqrtf_link=no
20943 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
20944 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
20945 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20946 cat >> confdefs.h <<EOF
20947 #define ${ac_tr_func} 1
20954 echo $ac_n "checking
for __builtin_sqrt declaration
""...
$ac_c" 1>&6
20955 echo "configure
:20956: checking
for __builtin_sqrt declaration
" >&5
20956 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
20957 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
20958 echo $ac_n "(cached
) $ac_c" 1>&6
20963 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20964 ac_cpp='$CXXCPP $CPPFLAGS'
20965 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20966 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20967 cross_compiling=$ac_cv_prog_cxx_cross
20969 cat > conftest.$ac_ext <<EOF
20970 #line 20971 "configure
"
20971 #include "confdefs.h
"
20977 if { (eval echo configure:20978: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20979 glibcpp_cv_func___builtin_sqrt_use=yes
20981 echo "configure
: failed program was
:" >&5
20982 cat conftest.$ac_ext >&5
20984 glibcpp_cv_func___builtin_sqrt_use=no
20988 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20989 ac_cpp='$CPP $CPPFLAGS'
20990 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20991 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20992 cross_compiling=$ac_cv_prog_cc_cross
20998 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
20999 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
21000 echo $ac_n "checking
for __builtin_sqrt linkage
""...
$ac_c" 1>&6
21001 echo "configure
:21002: checking
for __builtin_sqrt linkage
" >&5
21002 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
21003 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
21004 echo $ac_n "(cached
) $ac_c" 1>&6
21007 cat > conftest.$ac_ext <<EOF
21008 #line 21009 "configure
"
21009 #include "confdefs.h
"
21015 if { (eval echo configure:21016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21017 glibcpp_cv_func___builtin_sqrt_link=yes
21019 echo "configure
: failed program was
:" >&5
21020 cat conftest.$ac_ext >&5
21022 glibcpp_cv_func___builtin_sqrt_link=no
21029 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
21030 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
21031 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21032 cat >> confdefs.h <<EOF
21033 #define ${ac_tr_func} 1
21040 echo $ac_n "checking
for __builtin_sqrtl declaration
""...
$ac_c" 1>&6
21041 echo "configure
:21042: checking
for __builtin_sqrtl declaration
" >&5
21042 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
21043 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
21044 echo $ac_n "(cached
) $ac_c" 1>&6
21049 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21050 ac_cpp='$CXXCPP $CPPFLAGS'
21051 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21052 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21053 cross_compiling=$ac_cv_prog_cxx_cross
21055 cat > conftest.$ac_ext <<EOF
21056 #line 21057 "configure
"
21057 #include "confdefs.h
"
21060 __builtin_sqrtl(0);
21063 if { (eval echo configure:21064: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21065 glibcpp_cv_func___builtin_sqrtl_use=yes
21067 echo "configure
: failed program was
:" >&5
21068 cat conftest.$ac_ext >&5
21070 glibcpp_cv_func___builtin_sqrtl_use=no
21074 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21075 ac_cpp='$CPP $CPPFLAGS'
21076 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21077 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21078 cross_compiling=$ac_cv_prog_cc_cross
21084 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
21085 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
21086 echo $ac_n "checking
for __builtin_sqrtl linkage
""...
$ac_c" 1>&6
21087 echo "configure
:21088: checking
for __builtin_sqrtl linkage
" >&5
21088 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
21089 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
21090 echo $ac_n "(cached
) $ac_c" 1>&6
21093 cat > conftest.$ac_ext <<EOF
21094 #line 21095 "configure
"
21095 #include "confdefs.h
"
21098 __builtin_sqrtl(0);
21101 if { (eval echo configure:21102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21103 glibcpp_cv_func___builtin_sqrtl_link=yes
21105 echo "configure
: failed program was
:" >&5
21106 cat conftest.$ac_ext >&5
21108 glibcpp_cv_func___builtin_sqrtl_link=no
21115 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
21116 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
21117 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21118 cat >> confdefs.h <<EOF
21119 #define ${ac_tr_func} 1
21127 echo $ac_n "checking
for __builtin_sinf declaration
""...
$ac_c" 1>&6
21128 echo "configure
:21129: checking
for __builtin_sinf declaration
" >&5
21129 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
21130 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
21131 echo $ac_n "(cached
) $ac_c" 1>&6
21136 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21137 ac_cpp='$CXXCPP $CPPFLAGS'
21138 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21139 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21140 cross_compiling=$ac_cv_prog_cxx_cross
21142 cat > conftest.$ac_ext <<EOF
21143 #line 21144 "configure
"
21144 #include "confdefs.h
"
21150 if { (eval echo configure:21151: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21152 glibcpp_cv_func___builtin_sinf_use=yes
21154 echo "configure
: failed program was
:" >&5
21155 cat conftest.$ac_ext >&5
21157 glibcpp_cv_func___builtin_sinf_use=no
21161 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21162 ac_cpp='$CPP $CPPFLAGS'
21163 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21164 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21165 cross_compiling=$ac_cv_prog_cc_cross
21171 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
21172 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
21173 echo $ac_n "checking
for __builtin_sinf linkage
""...
$ac_c" 1>&6
21174 echo "configure
:21175: checking
for __builtin_sinf linkage
" >&5
21175 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
21176 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
21177 echo $ac_n "(cached
) $ac_c" 1>&6
21180 cat > conftest.$ac_ext <<EOF
21181 #line 21182 "configure
"
21182 #include "confdefs.h
"
21188 if { (eval echo configure:21189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21190 glibcpp_cv_func___builtin_sinf_link=yes
21192 echo "configure
: failed program was
:" >&5
21193 cat conftest.$ac_ext >&5
21195 glibcpp_cv_func___builtin_sinf_link=no
21202 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
21203 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
21204 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21205 cat >> confdefs.h <<EOF
21206 #define ${ac_tr_func} 1
21213 echo $ac_n "checking
for __builtin_sin declaration
""...
$ac_c" 1>&6
21214 echo "configure
:21215: checking
for __builtin_sin declaration
" >&5
21215 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
21216 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
21217 echo $ac_n "(cached
) $ac_c" 1>&6
21222 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21223 ac_cpp='$CXXCPP $CPPFLAGS'
21224 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21225 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21226 cross_compiling=$ac_cv_prog_cxx_cross
21228 cat > conftest.$ac_ext <<EOF
21229 #line 21230 "configure
"
21230 #include "confdefs.h
"
21236 if { (eval echo configure:21237: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21238 glibcpp_cv_func___builtin_sin_use=yes
21240 echo "configure
: failed program was
:" >&5
21241 cat conftest.$ac_ext >&5
21243 glibcpp_cv_func___builtin_sin_use=no
21247 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21248 ac_cpp='$CPP $CPPFLAGS'
21249 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21250 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21251 cross_compiling=$ac_cv_prog_cc_cross
21257 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
21258 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
21259 echo $ac_n "checking
for __builtin_sin linkage
""...
$ac_c" 1>&6
21260 echo "configure
:21261: checking
for __builtin_sin linkage
" >&5
21261 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
21262 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
21263 echo $ac_n "(cached
) $ac_c" 1>&6
21266 cat > conftest.$ac_ext <<EOF
21267 #line 21268 "configure
"
21268 #include "confdefs.h
"
21274 if { (eval echo configure:21275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21276 glibcpp_cv_func___builtin_sin_link=yes
21278 echo "configure
: failed program was
:" >&5
21279 cat conftest.$ac_ext >&5
21281 glibcpp_cv_func___builtin_sin_link=no
21288 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
21289 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
21290 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21291 cat >> confdefs.h <<EOF
21292 #define ${ac_tr_func} 1
21299 echo $ac_n "checking
for __builtin_sinl declaration
""...
$ac_c" 1>&6
21300 echo "configure
:21301: checking
for __builtin_sinl declaration
" >&5
21301 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
21302 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
21303 echo $ac_n "(cached
) $ac_c" 1>&6
21308 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21309 ac_cpp='$CXXCPP $CPPFLAGS'
21310 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21311 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21312 cross_compiling=$ac_cv_prog_cxx_cross
21314 cat > conftest.$ac_ext <<EOF
21315 #line 21316 "configure
"
21316 #include "confdefs.h
"
21322 if { (eval echo configure:21323: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21324 glibcpp_cv_func___builtin_sinl_use=yes
21326 echo "configure
: failed program was
:" >&5
21327 cat conftest.$ac_ext >&5
21329 glibcpp_cv_func___builtin_sinl_use=no
21333 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21334 ac_cpp='$CPP $CPPFLAGS'
21335 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21336 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21337 cross_compiling=$ac_cv_prog_cc_cross
21343 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
21344 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
21345 echo $ac_n "checking
for __builtin_sinl linkage
""...
$ac_c" 1>&6
21346 echo "configure
:21347: checking
for __builtin_sinl linkage
" >&5
21347 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
21348 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
21349 echo $ac_n "(cached
) $ac_c" 1>&6
21352 cat > conftest.$ac_ext <<EOF
21353 #line 21354 "configure
"
21354 #include "confdefs.h
"
21360 if { (eval echo configure:21361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21362 glibcpp_cv_func___builtin_sinl_link=yes
21364 echo "configure
: failed program was
:" >&5
21365 cat conftest.$ac_ext >&5
21367 glibcpp_cv_func___builtin_sinl_link=no
21374 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
21375 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
21376 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21377 cat >> confdefs.h <<EOF
21378 #define ${ac_tr_func} 1
21386 echo $ac_n "checking
for __builtin_cosf declaration
""...
$ac_c" 1>&6
21387 echo "configure
:21388: checking
for __builtin_cosf declaration
" >&5
21388 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
21389 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
21390 echo $ac_n "(cached
) $ac_c" 1>&6
21395 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21396 ac_cpp='$CXXCPP $CPPFLAGS'
21397 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21398 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21399 cross_compiling=$ac_cv_prog_cxx_cross
21401 cat > conftest.$ac_ext <<EOF
21402 #line 21403 "configure
"
21403 #include "confdefs.h
"
21409 if { (eval echo configure:21410: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21411 glibcpp_cv_func___builtin_cosf_use=yes
21413 echo "configure
: failed program was
:" >&5
21414 cat conftest.$ac_ext >&5
21416 glibcpp_cv_func___builtin_cosf_use=no
21420 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21421 ac_cpp='$CPP $CPPFLAGS'
21422 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21423 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21424 cross_compiling=$ac_cv_prog_cc_cross
21430 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
21431 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
21432 echo $ac_n "checking
for __builtin_cosf linkage
""...
$ac_c" 1>&6
21433 echo "configure
:21434: checking
for __builtin_cosf linkage
" >&5
21434 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
21435 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
21436 echo $ac_n "(cached
) $ac_c" 1>&6
21439 cat > conftest.$ac_ext <<EOF
21440 #line 21441 "configure
"
21441 #include "confdefs.h
"
21447 if { (eval echo configure:21448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21449 glibcpp_cv_func___builtin_cosf_link=yes
21451 echo "configure
: failed program was
:" >&5
21452 cat conftest.$ac_ext >&5
21454 glibcpp_cv_func___builtin_cosf_link=no
21461 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
21462 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
21463 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21464 cat >> confdefs.h <<EOF
21465 #define ${ac_tr_func} 1
21472 echo $ac_n "checking
for __builtin_cos declaration
""...
$ac_c" 1>&6
21473 echo "configure
:21474: checking
for __builtin_cos declaration
" >&5
21474 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
21475 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
21476 echo $ac_n "(cached
) $ac_c" 1>&6
21481 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21482 ac_cpp='$CXXCPP $CPPFLAGS'
21483 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21484 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21485 cross_compiling=$ac_cv_prog_cxx_cross
21487 cat > conftest.$ac_ext <<EOF
21488 #line 21489 "configure
"
21489 #include "confdefs.h
"
21495 if { (eval echo configure:21496: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21497 glibcpp_cv_func___builtin_cos_use=yes
21499 echo "configure
: failed program was
:" >&5
21500 cat conftest.$ac_ext >&5
21502 glibcpp_cv_func___builtin_cos_use=no
21506 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21507 ac_cpp='$CPP $CPPFLAGS'
21508 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21509 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21510 cross_compiling=$ac_cv_prog_cc_cross
21516 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
21517 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
21518 echo $ac_n "checking
for __builtin_cos linkage
""...
$ac_c" 1>&6
21519 echo "configure
:21520: checking
for __builtin_cos linkage
" >&5
21520 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
21521 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
21522 echo $ac_n "(cached
) $ac_c" 1>&6
21525 cat > conftest.$ac_ext <<EOF
21526 #line 21527 "configure
"
21527 #include "confdefs.h
"
21533 if { (eval echo configure:21534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21535 glibcpp_cv_func___builtin_cos_link=yes
21537 echo "configure
: failed program was
:" >&5
21538 cat conftest.$ac_ext >&5
21540 glibcpp_cv_func___builtin_cos_link=no
21547 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
21548 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
21549 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21550 cat >> confdefs.h <<EOF
21551 #define ${ac_tr_func} 1
21558 echo $ac_n "checking
for __builtin_cosl declaration
""...
$ac_c" 1>&6
21559 echo "configure
:21560: checking
for __builtin_cosl declaration
" >&5
21560 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
21561 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
21562 echo $ac_n "(cached
) $ac_c" 1>&6
21567 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21568 ac_cpp='$CXXCPP $CPPFLAGS'
21569 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21570 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21571 cross_compiling=$ac_cv_prog_cxx_cross
21573 cat > conftest.$ac_ext <<EOF
21574 #line 21575 "configure
"
21575 #include "confdefs.h
"
21581 if { (eval echo configure:21582: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21583 glibcpp_cv_func___builtin_cosl_use=yes
21585 echo "configure
: failed program was
:" >&5
21586 cat conftest.$ac_ext >&5
21588 glibcpp_cv_func___builtin_cosl_use=no
21592 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21593 ac_cpp='$CPP $CPPFLAGS'
21594 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21595 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21596 cross_compiling=$ac_cv_prog_cc_cross
21602 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
21603 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
21604 echo $ac_n "checking
for __builtin_cosl linkage
""...
$ac_c" 1>&6
21605 echo "configure
:21606: checking
for __builtin_cosl linkage
" >&5
21606 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
21607 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
21608 echo $ac_n "(cached
) $ac_c" 1>&6
21611 cat > conftest.$ac_ext <<EOF
21612 #line 21613 "configure
"
21613 #include "confdefs.h
"
21619 if { (eval echo configure:21620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21621 glibcpp_cv_func___builtin_cosl_link=yes
21623 echo "configure
: failed program was
:" >&5
21624 cat conftest.$ac_ext >&5
21626 glibcpp_cv_func___builtin_cosl_link=no
21633 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
21634 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
21635 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21636 cat >> confdefs.h <<EOF
21637 #define ${ac_tr_func} 1
21645 if test x$dummyvar = x"yes"; then
21646 cat >> confdefs.h <<\EOF
21647 #define HAVE___BUILTIN_ABS 1
21650 cat >> confdefs.h <<\EOF
21651 #define HAVE___BUILTIN_LABS 1
21654 cat >> confdefs.h <<\EOF
21655 #define HAVE___BUILTIN_COS 1
21658 cat >> confdefs.h <<\EOF
21659 #define HAVE___BUILTIN_COSF 1
21662 cat >> confdefs.h <<\EOF
21663 #define HAVE___BUILTIN_COSL 1
21666 cat >> confdefs.h <<\EOF
21667 #define HAVE___BUILTIN_FABS 1
21670 cat >> confdefs.h <<\EOF
21671 #define HAVE___BUILTIN_FABSF 1
21674 cat >> confdefs.h <<\EOF
21675 #define HAVE___BUILTIN_FABSL 1
21678 cat >> confdefs.h <<\EOF
21679 #define HAVE___BUILTIN_SIN 1
21682 cat >> confdefs.h <<\EOF
21683 #define HAVE___BUILTIN_SINF 1
21686 cat >> confdefs.h <<\EOF
21687 #define HAVE___BUILTIN_SINL 1
21690 cat >> confdefs.h <<\EOF
21691 #define HAVE___BUILTIN_SQRT 1
21694 cat >> confdefs.h <<\EOF
21695 #define HAVE___BUILTIN_SQRTF 1
21698 cat >> confdefs.h <<\EOF
21699 #define HAVE___BUILTIN_SQRTL 1
21705 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
21706 echo "configure
:21707: checking
for main
in -lm" >&5
21707 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
21708 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
21709 echo $ac_n "(cached
) $ac_c" 1>&6
21711 ac_save_LIBS="$LIBS"
21713 cat > conftest.$ac_ext <<EOF
21714 #line 21715 "configure
"
21715 #include "confdefs.h
"
21721 if { (eval echo configure:21722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21723 eval "ac_cv_lib_
$ac_lib_var=yes"
21725 echo "configure
: failed program was
:" >&5
21726 cat conftest.$ac_ext >&5
21728 eval "ac_cv_lib_
$ac_lib_var=no
"
21731 LIBS="$ac_save_LIBS"
21734 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21735 echo "$ac_t""yes" 1>&6
21736 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
21737 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
21738 cat >> confdefs.h <<EOF
21739 #define $ac_tr_lib 1
21745 echo "$ac_t""no
" 1>&6
21748 for ac_func in nan copysignf
21750 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21751 echo "configure
:21752: checking
for $ac_func" >&5
21752 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21753 echo $ac_n "(cached
) $ac_c" 1>&6
21755 cat > conftest.$ac_ext <<EOF
21756 #line 21757 "configure
"
21757 #include "confdefs.h
"
21758 /* System header to define __stub macros and hopefully few prototypes,
21759 which can conflict with char $ac_func(); below. */
21760 #include <assert.h>
21761 /* Override any gcc2 internal prototype to avoid an error. */
21762 /* We use char because int might match the return type of a gcc2
21763 builtin and then its argument prototype would still apply. */
21768 /* The GNU C library defines this for functions which it implements
21769 to always fail with ENOSYS. Some functions are actually named
21770 something starting with __ and the normal name is an alias. */
21771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21779 if { (eval echo configure:21780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21781 eval "ac_cv_func_
$ac_func=yes"
21783 echo "configure
: failed program was
:" >&5
21784 cat conftest.$ac_ext >&5
21786 eval "ac_cv_func_
$ac_func=no
"
21791 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21792 echo "$ac_t""yes" 1>&6
21793 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21794 cat >> confdefs.h <<EOF
21795 #define $ac_tr_func 1
21799 echo "$ac_t""no
" 1>&6
21800 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
21805 for ac_func in __signbit
21807 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21808 echo "configure
:21809: checking
for $ac_func" >&5
21809 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21810 echo $ac_n "(cached
) $ac_c" 1>&6
21812 cat > conftest.$ac_ext <<EOF
21813 #line 21814 "configure
"
21814 #include "confdefs.h
"
21815 /* System header to define __stub macros and hopefully few prototypes,
21816 which can conflict with char $ac_func(); below. */
21817 #include <assert.h>
21818 /* Override any gcc2 internal prototype to avoid an error. */
21819 /* We use char because int might match the return type of a gcc2
21820 builtin and then its argument prototype would still apply. */
21825 /* The GNU C library defines this for functions which it implements
21826 to always fail with ENOSYS. Some functions are actually named
21827 something starting with __ and the normal name is an alias. */
21828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21836 if { (eval echo configure:21837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21838 eval "ac_cv_func_
$ac_func=yes"
21840 echo "configure
: failed program was
:" >&5
21841 cat conftest.$ac_ext >&5
21843 eval "ac_cv_func_
$ac_func=no
"
21848 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21849 echo "$ac_t""yes" 1>&6
21850 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21851 cat >> confdefs.h <<EOF
21852 #define $ac_tr_func 1
21856 echo "$ac_t""no
" 1>&6
21857 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
21861 for ac_func in __signbitf
21863 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21864 echo "configure
:21865: checking
for $ac_func" >&5
21865 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21866 echo $ac_n "(cached
) $ac_c" 1>&6
21868 cat > conftest.$ac_ext <<EOF
21869 #line 21870 "configure
"
21870 #include "confdefs.h
"
21871 /* System header to define __stub macros and hopefully few prototypes,
21872 which can conflict with char $ac_func(); below. */
21873 #include <assert.h>
21874 /* Override any gcc2 internal prototype to avoid an error. */
21875 /* We use char because int might match the return type of a gcc2
21876 builtin and then its argument prototype would still apply. */
21881 /* The GNU C library defines this for functions which it implements
21882 to always fail with ENOSYS. Some functions are actually named
21883 something starting with __ and the normal name is an alias. */
21884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21892 if { (eval echo configure:21893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21894 eval "ac_cv_func_
$ac_func=yes"
21896 echo "configure
: failed program was
:" >&5
21897 cat conftest.$ac_ext >&5
21899 eval "ac_cv_func_
$ac_func=no
"
21904 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21905 echo "$ac_t""yes" 1>&6
21906 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21907 cat >> confdefs.h <<EOF
21908 #define $ac_tr_func 1
21912 echo "$ac_t""no
" 1>&6
21913 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
21918 if test x$ac_cv_func_copysignl = x"yes"; then
21919 for ac_func in __signbitl
21921 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21922 echo "configure
:21923: checking
for $ac_func" >&5
21923 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21924 echo $ac_n "(cached
) $ac_c" 1>&6
21926 cat > conftest.$ac_ext <<EOF
21927 #line 21928 "configure
"
21928 #include "confdefs.h
"
21929 /* System header to define __stub macros and hopefully few prototypes,
21930 which can conflict with char $ac_func(); below. */
21931 #include <assert.h>
21932 /* Override any gcc2 internal prototype to avoid an error. */
21933 /* We use char because int might match the return type of a gcc2
21934 builtin and then its argument prototype would still apply. */
21939 /* The GNU C library defines this for functions which it implements
21940 to always fail with ENOSYS. Some functions are actually named
21941 something starting with __ and the normal name is an alias. */
21942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21950 if { (eval echo configure:21951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21952 eval "ac_cv_func_
$ac_func=yes"
21954 echo "configure
: failed program was
:" >&5
21955 cat conftest.$ac_ext >&5
21957 eval "ac_cv_func_
$ac_func=no
"
21962 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21963 echo "$ac_t""yes" 1>&6
21964 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21965 cat >> confdefs.h <<EOF
21966 #define $ac_tr_func 1
21970 echo "$ac_t""no
" 1>&6
21971 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
21977 if test -n "$LIBMATHOBJS"; then
21983 if test "$need_libmath" = yes; then
21984 GLIBCPP_BUILD_LIBMATH_TRUE=
21985 GLIBCPP_BUILD_LIBMATH_FALSE='#'
21987 GLIBCPP_BUILD_LIBMATH_TRUE='#'
21988 GLIBCPP_BUILD_LIBMATH_FALSE=
21994 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
21995 echo "configure
:21996: checking
for mbstate_t
" >&5
21996 cat > conftest.$ac_ext <<EOF
21997 #line 21998 "configure
"
21998 #include "confdefs.h
"
22001 mbstate_t teststate;
22004 if { (eval echo configure:22005: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22008 echo "configure
: failed program was
:" >&5
22009 cat conftest.$ac_ext >&5
22014 echo "$ac_t""$have_mbstate_t" 1>&6
22015 if test x"$have_mbstate_t" = xyes; then
22016 cat >> confdefs.h <<\EOF
22017 #define HAVE_MBSTATE_T 1
22022 for ac_hdr in wchar.h
22024 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22025 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
22026 echo "configure
:22027: checking
for $ac_hdr" >&5
22027 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22028 echo $ac_n "(cached
) $ac_c" 1>&6
22030 cat > conftest.$ac_ext <<EOF
22031 #line 22032 "configure
"
22032 #include "confdefs.h
"
22035 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22036 { (eval echo configure:22037: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22037 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22038 if test -z "$ac_err"; then
22040 eval "ac_cv_header_
$ac_safe=yes"
22043 echo "configure
: failed program was
:" >&5
22044 cat conftest.$ac_ext >&5
22046 eval "ac_cv_header_
$ac_safe=no
"
22050 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22051 echo "$ac_t""yes" 1>&6
22052 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22053 cat >> confdefs.h <<EOF
22054 #define $ac_tr_hdr 1
22058 echo "$ac_t""no
" 1>&6
22063 for ac_hdr in wctype.h
22065 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22066 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
22067 echo "configure
:22068: checking
for $ac_hdr" >&5
22068 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22069 echo $ac_n "(cached
) $ac_c" 1>&6
22071 cat > conftest.$ac_ext <<EOF
22072 #line 22073 "configure
"
22073 #include "confdefs.h
"
22076 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22077 { (eval echo configure:22078: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22078 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22079 if test -z "$ac_err"; then
22081 eval "ac_cv_header_
$ac_safe=yes"
22084 echo "configure
: failed program was
:" >&5
22085 cat conftest.$ac_ext >&5
22087 eval "ac_cv_header_
$ac_safe=no
"
22091 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22092 echo "$ac_t""yes" 1>&6
22093 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22094 cat >> confdefs.h <<EOF
22095 #define $ac_tr_hdr 1
22097 ac_has_wctype_h=yes
22099 echo "$ac_t""no
" 1>&6
22105 if test x"$ac_has_wchar_h" = xyes &&
22106 test x"$ac_has_wctype_h" = xyes &&
22107 test x"$enable_c_mbchar" != xno; then
22109 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
22110 echo "configure
:22111: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
22111 cat > conftest.$ac_ext <<EOF
22112 #line 22113 "configure
"
22113 #include "confdefs.h
"
22116 int i = WCHAR_MIN; int j = WCHAR_MAX;
22119 if { (eval echo configure:22120: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22121 has_wchar_minmax=yes
22123 echo "configure
: failed program was
:" >&5
22124 cat conftest.$ac_ext >&5
22126 has_wchar_minmax=no
22129 echo "$ac_t""$has_wchar_minmax" 1>&6
22131 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
22132 echo "configure
:22133: checking
for WEOF
" >&5
22133 cat > conftest.$ac_ext <<EOF
22134 #line 22135 "configure
"
22135 #include "confdefs.h
"
22138 #include <stddef.h>
22143 if { (eval echo configure:22144: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22147 echo "configure
: failed program was
:" >&5
22148 cat conftest.$ac_ext >&5
22153 echo "$ac_t""$has_weof" 1>&6
22156 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
22158 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22159 echo "configure
:22160: checking
for $ac_func" >&5
22160 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22161 echo $ac_n "(cached
) $ac_c" 1>&6
22163 cat > conftest.$ac_ext <<EOF
22164 #line 22165 "configure
"
22165 #include "confdefs.h
"
22166 /* System header to define __stub macros and hopefully few prototypes,
22167 which can conflict with char $ac_func(); below. */
22168 #include <assert.h>
22169 /* Override any gcc2 internal prototype to avoid an error. */
22170 /* We use char because int might match the return type of a gcc2
22171 builtin and then its argument prototype would still apply. */
22176 /* The GNU C library defines this for functions which it implements
22177 to always fail with ENOSYS. Some functions are actually named
22178 something starting with __ and the normal name is an alias. */
22179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22187 if { (eval echo configure:22188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22189 eval "ac_cv_func_
$ac_func=yes"
22191 echo "configure
: failed program was
:" >&5
22192 cat conftest.$ac_ext >&5
22194 eval "ac_cv_func_
$ac_func=no
"
22199 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22200 echo "$ac_t""yes" 1>&6
22201 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22202 cat >> confdefs.h <<EOF
22203 #define $ac_tr_func 1
22207 echo "$ac_t""no
" 1>&6
22214 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
22215 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
22216 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
22217 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
22218 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
22219 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
22221 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22222 echo "configure
:22223: checking
for $ac_func" >&5
22223 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22224 echo $ac_n "(cached
) $ac_c" 1>&6
22226 cat > conftest.$ac_ext <<EOF
22227 #line 22228 "configure
"
22228 #include "confdefs.h
"
22229 /* System header to define __stub macros and hopefully few prototypes,
22230 which can conflict with char $ac_func(); below. */
22231 #include <assert.h>
22232 /* Override any gcc2 internal prototype to avoid an error. */
22233 /* We use char because int might match the return type of a gcc2
22234 builtin and then its argument prototype would still apply. */
22239 /* The GNU C library defines this for functions which it implements
22240 to always fail with ENOSYS. Some functions are actually named
22241 something starting with __ and the normal name is an alias. */
22242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22250 if { (eval echo configure:22251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22252 eval "ac_cv_func_
$ac_func=yes"
22254 echo "configure
: failed program was
:" >&5
22255 cat conftest.$ac_ext >&5
22257 eval "ac_cv_func_
$ac_func=no
"
22262 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22263 echo "$ac_t""yes" 1>&6
22264 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22265 cat >> confdefs.h <<EOF
22266 #define $ac_tr_func 1
22270 echo "$ac_t""no
" 1>&6
22277 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
22278 echo "configure
:22279: checking
for ISO C99 wchar_t support
" >&5
22279 if test x"$has_weof" = xyes &&
22280 test x"$has_wchar_minmax" = xyes &&
22281 test x"$ac_wfuncs" = xyes; then
22282 ac_isoC99_wchar_t=yes
22284 ac_isoC99_wchar_t=no
22286 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
22288 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
22289 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
22290 echo "configure
:22291: checking
for iconv.h
" >&5
22291 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22292 echo $ac_n "(cached
) $ac_c" 1>&6
22294 cat > conftest.$ac_ext <<EOF
22295 #line 22296 "configure
"
22296 #include "confdefs.h
"
22299 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22300 { (eval echo configure:22301: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22301 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22302 if test -z "$ac_err"; then
22304 eval "ac_cv_header_
$ac_safe=yes"
22307 echo "configure
: failed program was
:" >&5
22308 cat conftest.$ac_ext >&5
22310 eval "ac_cv_header_
$ac_safe=no
"
22314 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22315 echo "$ac_t""yes" 1>&6
22318 echo "$ac_t""no
" 1>&6
22322 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
22323 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
22324 echo "configure
:22325: checking
for langinfo.h
" >&5
22325 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22326 echo $ac_n "(cached
) $ac_c" 1>&6
22328 cat > conftest.$ac_ext <<EOF
22329 #line 22330 "configure
"
22330 #include "confdefs.h
"
22331 #include <langinfo.h>
22333 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22334 { (eval echo configure:22335: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22335 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22336 if test -z "$ac_err"; then
22338 eval "ac_cv_header_
$ac_safe=yes"
22341 echo "configure
: failed program was
:" >&5
22342 cat conftest.$ac_ext >&5
22344 eval "ac_cv_header_
$ac_safe=no
"
22348 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22349 echo "$ac_t""yes" 1>&6
22350 ac_has_langinfo_h=yes
22352 echo "$ac_t""no
" 1>&6
22353 ac_has_langinfo_h=no
22357 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
22358 echo "configure
:22359: checking
for iconv in -liconv" >&5
22359 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
22360 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
22361 echo $ac_n "(cached
) $ac_c" 1>&6
22363 ac_save_LIBS="$LIBS"
22364 LIBS="-liconv $LIBS"
22365 cat > conftest.$ac_ext <<EOF
22366 #line 22367 "configure
"
22367 #include "confdefs.h
"
22368 /* Override any gcc2 internal prototype to avoid an error. */
22369 /* We use char because int might match the return type of a gcc2
22370 builtin and then its argument prototype would still apply. */
22377 if { (eval echo configure:22378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22379 eval "ac_cv_lib_
$ac_lib_var=yes"
22381 echo "configure
: failed program was
:" >&5
22382 cat conftest.$ac_ext >&5
22384 eval "ac_cv_lib_
$ac_lib_var=no
"
22387 LIBS="$ac_save_LIBS"
22390 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
22391 echo "$ac_t""yes" 1>&6
22394 echo "$ac_t""no
" 1>&6
22397 ac_save_LIBS="$LIBS"
22398 LIBS="$LIBS $libiconv"
22400 for ac_func in iconv_open iconv_close iconv nl_langinfo
22402 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22403 echo "configure
:22404: checking
for $ac_func" >&5
22404 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22405 echo $ac_n "(cached
) $ac_c" 1>&6
22407 cat > conftest.$ac_ext <<EOF
22408 #line 22409 "configure
"
22409 #include "confdefs.h
"
22410 /* System header to define __stub macros and hopefully few prototypes,
22411 which can conflict with char $ac_func(); below. */
22412 #include <assert.h>
22413 /* Override any gcc2 internal prototype to avoid an error. */
22414 /* We use char because int might match the return type of a gcc2
22415 builtin and then its argument prototype would still apply. */
22420 /* The GNU C library defines this for functions which it implements
22421 to always fail with ENOSYS. Some functions are actually named
22422 something starting with __ and the normal name is an alias. */
22423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22431 if { (eval echo configure:22432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22433 eval "ac_cv_func_
$ac_func=yes"
22435 echo "configure
: failed program was
:" >&5
22436 cat conftest.$ac_ext >&5
22438 eval "ac_cv_func_
$ac_func=no
"
22443 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22444 echo "$ac_t""yes" 1>&6
22445 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22446 cat >> confdefs.h <<EOF
22447 #define $ac_tr_func 1
22452 echo "$ac_t""no
" 1>&6
22458 LIBS="$ac_save_LIBS"
22460 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
22461 echo "configure
:22462: checking
for XPG2 wchar_t support
" >&5
22462 if test x"$ac_has_iconv_h" = xyes &&
22463 test x"$ac_has_langinfo_h" = xyes &&
22464 test x"$ac_XPG2funcs" = xyes; then
22465 ac_XPG2_wchar_t=yes
22469 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
22471 if test x"$ac_isoC99_wchar_t" = xyes &&
22472 test x"$ac_XPG2_wchar_t" = xyes; then
22473 cat >> confdefs.h <<\EOF
22474 #define _GLIBCPP_USE_WCHAR_T 1
22480 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
22481 echo "configure
:22482: checking
for enabled wchar_t specializations
" >&5
22482 echo "$ac_t""$enable_wchar_t" 1>&6
22485 if test "$enable_wchar_t" = yes; then
22486 GLIBCPP_TEST_WCHAR_T_TRUE=
22487 GLIBCPP_TEST_WCHAR_T_FALSE='#'
22489 GLIBCPP_TEST_WCHAR_T_TRUE='#'
22490 GLIBCPP_TEST_WCHAR_T_FALSE=
22494 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22495 ac_save_CXXFLAGS="$CXXFLAGS"
22496 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
22499 echo $ac_n "checking
for strtold declaration
""...
$ac_c" 1>&6
22500 echo "configure
:22501: checking
for strtold declaration
" >&5
22501 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
22502 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
22503 echo $ac_n "(cached
) $ac_c" 1>&6
22508 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22509 ac_cpp='$CXXCPP $CPPFLAGS'
22510 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22511 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22512 cross_compiling=$ac_cv_prog_cxx_cross
22514 cat > conftest.$ac_ext <<EOF
22515 #line 22516 "configure
"
22516 #include "confdefs.h
"
22517 #include <stdlib.h>
22522 if { (eval echo configure:22523: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22524 glibcpp_cv_func_strtold_use=yes
22526 echo "configure
: failed program was
:" >&5
22527 cat conftest.$ac_ext >&5
22529 glibcpp_cv_func_strtold_use=no
22533 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22534 ac_cpp='$CPP $CPPFLAGS'
22535 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22536 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22537 cross_compiling=$ac_cv_prog_cc_cross
22543 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
22544 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
22545 for ac_func in strtold
22547 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22548 echo "configure
:22549: checking
for $ac_func" >&5
22549 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22550 echo $ac_n "(cached
) $ac_c" 1>&6
22552 cat > conftest.$ac_ext <<EOF
22553 #line 22554 "configure
"
22554 #include "confdefs.h
"
22555 /* System header to define __stub macros and hopefully few prototypes,
22556 which can conflict with char $ac_func(); below. */
22557 #include <assert.h>
22558 /* Override any gcc2 internal prototype to avoid an error. */
22559 /* We use char because int might match the return type of a gcc2
22560 builtin and then its argument prototype would still apply. */
22565 /* The GNU C library defines this for functions which it implements
22566 to always fail with ENOSYS. Some functions are actually named
22567 something starting with __ and the normal name is an alias. */
22568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22576 if { (eval echo configure:22577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22578 eval "ac_cv_func_
$ac_func=yes"
22580 echo "configure
: failed program was
:" >&5
22581 cat conftest.$ac_ext >&5
22583 eval "ac_cv_func_
$ac_func=no
"
22588 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22589 echo "$ac_t""yes" 1>&6
22590 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22591 cat >> confdefs.h <<EOF
22592 #define $ac_tr_func 1
22596 echo "$ac_t""no
" 1>&6
22603 echo $ac_n "checking
for strtof declaration
""...
$ac_c" 1>&6
22604 echo "configure
:22605: checking
for strtof declaration
" >&5
22605 if test x${glibcpp_cv_func_strtof_use+set} != xset; then
22606 if eval "test \"`echo '$''{'glibcpp_cv_func_strtof_use'+set}'`\" = set"; then
22607 echo $ac_n "(cached
) $ac_c" 1>&6
22612 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22613 ac_cpp='$CXXCPP $CPPFLAGS'
22614 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22615 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22616 cross_compiling=$ac_cv_prog_cxx_cross
22618 cat > conftest.$ac_ext <<EOF
22619 #line 22620 "configure
"
22620 #include "confdefs.h
"
22621 #include <stdlib.h>
22626 if { (eval echo configure:22627: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22628 glibcpp_cv_func_strtof_use=yes
22630 echo "configure
: failed program was
:" >&5
22631 cat conftest.$ac_ext >&5
22633 glibcpp_cv_func_strtof_use=no
22637 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22638 ac_cpp='$CPP $CPPFLAGS'
22639 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22640 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22641 cross_compiling=$ac_cv_prog_cc_cross
22647 echo "$ac_t""$glibcpp_cv_func_strtof_use" 1>&6
22648 if test x$glibcpp_cv_func_strtof_use = x"yes"; then
22649 for ac_func in strtof
22651 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22652 echo "configure
:22653: checking
for $ac_func" >&5
22653 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22654 echo $ac_n "(cached
) $ac_c" 1>&6
22656 cat > conftest.$ac_ext <<EOF
22657 #line 22658 "configure
"
22658 #include "confdefs.h
"
22659 /* System header to define __stub macros and hopefully few prototypes,
22660 which can conflict with char $ac_func(); below. */
22661 #include <assert.h>
22662 /* Override any gcc2 internal prototype to avoid an error. */
22663 /* We use char because int might match the return type of a gcc2
22664 builtin and then its argument prototype would still apply. */
22669 /* The GNU C library defines this for functions which it implements
22670 to always fail with ENOSYS. Some functions are actually named
22671 something starting with __ and the normal name is an alias. */
22672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22680 if { (eval echo configure:22681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22682 eval "ac_cv_func_
$ac_func=yes"
22684 echo "configure
: failed program was
:" >&5
22685 cat conftest.$ac_ext >&5
22687 eval "ac_cv_func_
$ac_func=no
"
22692 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22693 echo "$ac_t""yes" 1>&6
22694 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22695 cat >> confdefs.h <<EOF
22696 #define $ac_tr_func 1
22700 echo "$ac_t""no
" 1>&6
22706 for ac_func in drand48
22708 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22709 echo "configure
:22710: checking
for $ac_func" >&5
22710 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22711 echo $ac_n "(cached
) $ac_c" 1>&6
22713 cat > conftest.$ac_ext <<EOF
22714 #line 22715 "configure
"
22715 #include "confdefs.h
"
22716 /* System header to define __stub macros and hopefully few prototypes,
22717 which can conflict with char $ac_func(); below. */
22718 #include <assert.h>
22719 /* Override any gcc2 internal prototype to avoid an error. */
22720 /* We use char because int might match the return type of a gcc2
22721 builtin and then its argument prototype would still apply. */
22726 /* The GNU C library defines this for functions which it implements
22727 to always fail with ENOSYS. Some functions are actually named
22728 something starting with __ and the normal name is an alias. */
22729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22737 if { (eval echo configure:22738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22739 eval "ac_cv_func_
$ac_func=yes"
22741 echo "configure
: failed program was
:" >&5
22742 cat conftest.$ac_ext >&5
22744 eval "ac_cv_func_
$ac_func=no
"
22749 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22750 echo "$ac_t""yes" 1>&6
22751 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22752 cat >> confdefs.h <<EOF
22753 #define $ac_tr_func 1
22757 echo "$ac_t""no
" 1>&6
22762 CXXFLAGS="$ac_save_CXXFLAGS"
22765 # For showmanyc_helper().
22766 for ac_hdr in sys/ioctl.h sys/filio.h
22768 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22769 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
22770 echo "configure
:22771: checking
for $ac_hdr" >&5
22771 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22772 echo $ac_n "(cached
) $ac_c" 1>&6
22774 cat > conftest.$ac_ext <<EOF
22775 #line 22776 "configure
"
22776 #include "confdefs.h
"
22779 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22780 { (eval echo configure:22781: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22781 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22782 if test -z "$ac_err"; then
22784 eval "ac_cv_header_
$ac_safe=yes"
22787 echo "configure
: failed program was
:" >&5
22788 cat conftest.$ac_ext >&5
22790 eval "ac_cv_header_
$ac_safe=no
"
22794 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22795 echo "$ac_t""yes" 1>&6
22796 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22797 cat >> confdefs.h <<EOF
22798 #define $ac_tr_hdr 1
22802 echo "$ac_t""no
" 1>&6
22807 if eval "test \"`echo '$''{'glibcpp_cv_POLL'+set}'`\" = set"; then
22808 echo $ac_n "(cached
) $ac_c" 1>&6
22811 cat > conftest.$ac_ext <<EOF
22812 #line 22813 "configure
"
22813 #include "confdefs.h
"
22816 struct pollfd pfd[1]; pfd[0].events = POLLIN; poll(pfd, 1, 0);
22819 if { (eval echo configure:22820: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22821 glibcpp_cv_POLL=yes
22823 echo "configure
: failed program was
:" >&5
22824 cat conftest.$ac_ext >&5
22832 if test x$glibcpp_cv_POLL = xyes; then
22833 cat >> confdefs.h <<\EOF
22834 #define HAVE_POLL 1
22840 if eval "test \"`echo '$''{'glibcpp_cv_S_ISREG'+set}'`\" = set"; then
22841 echo $ac_n "(cached
) $ac_c" 1>&6
22844 cat > conftest.$ac_ext <<EOF
22845 #line 22846 "configure
"
22846 #include "confdefs.h
"
22847 #include <sys/stat.h>
22849 struct stat buffer; fstat(0, &buffer); S_ISREG(buffer.st_mode);
22852 if { (eval echo configure:22853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22854 glibcpp_cv_S_ISREG=yes
22856 echo "configure
: failed program was
:" >&5
22857 cat conftest.$ac_ext >&5
22859 glibcpp_cv_S_ISREG=no
22865 if eval "test \"`echo '$''{'glibcpp_cv_S_IFREG'+set}'`\" = set"; then
22866 echo $ac_n "(cached
) $ac_c" 1>&6
22869 cat > conftest.$ac_ext <<EOF
22870 #line 22871 "configure
"
22871 #include "confdefs.h
"
22872 #include <sys/stat.h>
22874 struct stat buffer; fstat(0, &buffer); S_IFREG & buffer.st_mode;
22877 if { (eval echo configure:22878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22879 glibcpp_cv_S_IFREG=yes
22881 echo "configure
: failed program was
:" >&5
22882 cat conftest.$ac_ext >&5
22884 glibcpp_cv_S_IFREG=no
22890 if test x$glibcpp_cv_S_ISREG = xyes; then
22891 cat >> confdefs.h <<\EOF
22892 #define HAVE_S_ISREG 1
22895 elif test x$glibcpp_cv_S_IFREG = xyes; then
22896 cat >> confdefs.h <<\EOF
22897 #define HAVE_S_IFREG 1
22904 ac_safe=`echo "locale.h
" | sed 'y%./+-%__p_%'`
22905 echo $ac_n "checking
for locale.h
""...
$ac_c" 1>&6
22906 echo "configure
:22907: checking
for locale.h
" >&5
22907 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22908 echo $ac_n "(cached
) $ac_c" 1>&6
22910 cat > conftest.$ac_ext <<EOF
22911 #line 22912 "configure
"
22912 #include "confdefs.h
"
22913 #include <locale.h>
22915 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22916 { (eval echo configure:22917: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22917 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22918 if test -z "$ac_err"; then
22920 eval "ac_cv_header_
$ac_safe=yes"
22923 echo "configure
: failed program was
:" >&5
22924 cat conftest.$ac_ext >&5
22926 eval "ac_cv_header_
$ac_safe=no
"
22930 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22931 echo "$ac_t""yes" 1>&6
22933 echo $ac_n "checking
for LC_MESSAGES
""...
$ac_c" 1>&6
22934 echo "configure
:22935: checking
for LC_MESSAGES
" >&5
22935 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
22936 echo $ac_n "(cached
) $ac_c" 1>&6
22938 cat > conftest.$ac_ext <<EOF
22939 #line 22940 "configure
"
22940 #include "confdefs.h
"
22941 #include <locale.h>
22946 if { (eval echo configure:22947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22948 ac_cv_val_LC_MESSAGES=yes
22950 echo "configure
: failed program was
:" >&5
22951 cat conftest.$ac_ext >&5
22953 ac_cv_val_LC_MESSAGES=no
22958 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
22959 if test $ac_cv_val_LC_MESSAGES = yes; then
22960 cat >> confdefs.h <<\EOF
22961 #define HAVE_LC_MESSAGES 1
22967 echo "$ac_t""no
" 1>&6
22972 cat > conftest.$ac_ext <<EOF
22973 #line 22974 "configure
"
22974 #include "confdefs.h
"
22976 #include <setjmp.h>
22979 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
22982 if { (eval echo configure:22983: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22984 cat >> confdefs.h <<\EOF
22985 #define HAVE_SIGSETJMP 1
22990 echo "configure
: failed program was
:" >&5
22991 cat conftest.$ac_ext >&5
22995 for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h
22997 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22998 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
22999 echo "configure
:23000: checking
for $ac_hdr" >&5
23000 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
23001 echo $ac_n "(cached
) $ac_c" 1>&6
23003 cat > conftest.$ac_ext <<EOF
23004 #line 23005 "configure
"
23005 #include "confdefs.h
"
23008 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
23009 { (eval echo configure:23010: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
23010 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
23011 if test -z "$ac_err"; then
23013 eval "ac_cv_header_
$ac_safe=yes"
23016 echo "configure
: failed program was
:" >&5
23017 cat conftest.$ac_ext >&5
23019 eval "ac_cv_header_
$ac_safe=no
"
23023 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
23024 echo "$ac_t""yes" 1>&6
23025 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
23026 cat >> confdefs.h <<EOF
23027 #define $ac_tr_hdr 1
23031 echo "$ac_t""no
" 1>&6
23035 for ac_func in getpagesize
23037 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
23038 echo "configure
:23039: checking
for $ac_func" >&5
23039 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
23040 echo $ac_n "(cached
) $ac_c" 1>&6
23042 cat > conftest.$ac_ext <<EOF
23043 #line 23044 "configure
"
23044 #include "confdefs.h
"
23045 /* System header to define __stub macros and hopefully few prototypes,
23046 which can conflict with char $ac_func(); below. */
23047 #include <assert.h>
23048 /* Override any gcc2 internal prototype to avoid an error. */
23049 /* We use char because int might match the return type of a gcc2
23050 builtin and then its argument prototype would still apply. */
23055 /* The GNU C library defines this for functions which it implements
23056 to always fail with ENOSYS. Some functions are actually named
23057 something starting with __ and the normal name is an alias. */
23058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23066 if { (eval echo configure:23067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23068 eval "ac_cv_func_
$ac_func=yes"
23070 echo "configure
: failed program was
:" >&5
23071 cat conftest.$ac_ext >&5
23073 eval "ac_cv_func_
$ac_func=no
"
23078 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
23079 echo "$ac_t""yes" 1>&6
23080 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23081 cat >> confdefs.h <<EOF
23082 #define $ac_tr_func 1
23086 echo "$ac_t""no
" 1>&6
23090 echo $ac_n "checking
for working mmap
""...
$ac_c" 1>&6
23091 echo "configure
:23092: checking
for working mmap
" >&5
23092 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
23093 echo $ac_n "(cached
) $ac_c" 1>&6
23095 if test "$cross_compiling" = yes; then
23096 ac_cv_func_mmap_fixed_mapped=no
23098 cat > conftest.$ac_ext <<EOF
23099 #line 23100 "configure
"
23100 #include "confdefs.h
"
23102 /* Thanks to Mike Haertel and Jim Avera for this test.
23103 Here is a matrix of mmap possibilities:
23104 mmap private not fixed
23105 mmap private fixed at somewhere currently unmapped
23106 mmap private fixed at somewhere already mapped
23107 mmap shared not fixed
23108 mmap shared fixed at somewhere currently unmapped
23109 mmap shared fixed at somewhere already mapped
23110 For private mappings, we should verify that changes cannot be read()
23111 back from the file, nor mmap's back from the file at a different
23112 address. (There have been systems where private was not correctly
23113 implemented like the infamous i386 svr4.0, and systems where the
23114 VM page cache was not coherent with the filesystem buffer cache
23115 like early versions of FreeBSD and possibly contemporary NetBSD.)
23116 For shared mappings, we should conversely verify that changes get
23117 propogated back to all the places they're supposed to be.
23119 Grep wants private fixed already mapped.
23120 The main things grep needs to know about mmap are:
23121 * does it exist and is it safe to write into the mmap'd area
23122 * how to use it (BSD variants) */
23123 #include <sys/types.h>
23125 #include <sys/mman.h>
23127 #if HAVE_SYS_TYPES_H
23128 # include <sys/types.h>
23132 # include <stdlib.h>
23135 #if HAVE_SYS_STAT_H
23136 # include <sys/stat.h>
23140 # include <unistd.h>
23143 /* This mess was copied from the GNU getpagesize.h. */
23144 #ifndef HAVE_GETPAGESIZE
23146 /* Assume that all systems that can run configure have sys/param.h. */
23147 # ifndef HAVE_SYS_PARAM_H
23148 # define HAVE_SYS_PARAM_H 1
23151 # ifdef _SC_PAGESIZE
23152 # define getpagesize() sysconf(_SC_PAGESIZE)
23153 # else /* no _SC_PAGESIZE */
23154 # ifdef HAVE_SYS_PARAM_H
23155 # include <sys/param.h>
23156 # ifdef EXEC_PAGESIZE
23157 # define getpagesize() EXEC_PAGESIZE
23158 # else /* no EXEC_PAGESIZE */
23160 # define getpagesize() NBPG * CLSIZE
23163 # endif /* no CLSIZE */
23164 # else /* no NBPG */
23166 # define getpagesize() NBPC
23167 # else /* no NBPC */
23169 # define getpagesize() PAGESIZE
23170 # endif /* PAGESIZE */
23171 # endif /* no NBPC */
23172 # endif /* no NBPG */
23173 # endif /* no EXEC_PAGESIZE */
23174 # else /* no HAVE_SYS_PARAM_H */
23175 # define getpagesize() 8192 /* punt totally */
23176 # endif /* no HAVE_SYS_PARAM_H */
23177 # endif /* no _SC_PAGESIZE */
23179 #endif /* no HAVE_GETPAGESIZE */
23182 extern "C
" { void *malloc(unsigned); }
23190 char *data, *data2, *data3;
23194 pagesize = getpagesize();
23197 * First, make a file with some known garbage in it.
23199 data = malloc(pagesize);
23202 for (i = 0; i < pagesize; ++i)
23203 *(data + i) = rand();
23205 fd = creat("conftestmmap
", 0600);
23208 if (write(fd, data, pagesize) != pagesize)
23213 * Next, try to mmap the file at a fixed address which
23214 * already has something else allocated at it. If we can,
23215 * also make sure that we see the same garbage.
23217 fd = open("conftestmmap
", O_RDWR);
23220 data2 = malloc(2 * pagesize);
23223 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
23224 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
23225 MAP_PRIVATE | MAP_FIXED, fd, 0L))
23227 for (i = 0; i < pagesize; ++i)
23228 if (*(data + i) != *(data2 + i))
23232 * Finally, make sure that changes to the mapped area
23233 * do not percolate back to the file as seen by read().
23234 * (This is a bug on some variants of i386 svr4.0.)
23236 for (i = 0; i < pagesize; ++i)
23237 *(data2 + i) = *(data2 + i) + 1;
23238 data3 = malloc(pagesize);
23241 if (read(fd, data3, pagesize) != pagesize)
23243 for (i = 0; i < pagesize; ++i)
23244 if (*(data + i) != *(data3 + i))
23247 unlink("conftestmmap
");
23252 if { (eval echo configure:23253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
23254 ac_cv_func_mmap_fixed_mapped=yes
23256 echo "configure
: failed program was
:" >&5
23257 cat conftest.$ac_ext >&5
23259 ac_cv_func_mmap_fixed_mapped=no
23266 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
23267 if test $ac_cv_func_mmap_fixed_mapped = yes; then
23268 cat >> confdefs.h <<\EOF
23269 #define HAVE_MMAP 1
23275 # Establish limits on memory usage during 'make check'
23278 setrlimit_have_headers=yes
23279 for ac_hdr in unistd.h sys/time.h sys/resource.h
23281 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
23282 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
23283 echo "configure
:23284: checking
for $ac_hdr" >&5
23284 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
23285 echo $ac_n "(cached
) $ac_c" 1>&6
23287 cat > conftest.$ac_ext <<EOF
23288 #line 23289 "configure
"
23289 #include "confdefs.h
"
23292 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
23293 { (eval echo configure:23294: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
23294 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
23295 if test -z "$ac_err"; then
23297 eval "ac_cv_header_
$ac_safe=yes"
23300 echo "configure
: failed program was
:" >&5
23301 cat conftest.$ac_ext >&5
23303 eval "ac_cv_header_
$ac_safe=no
"
23307 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
23308 echo "$ac_t""yes" 1>&6
23309 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
23310 cat >> confdefs.h <<EOF
23311 #define $ac_tr_hdr 1
23315 echo "$ac_t""no
" 1>&6
23316 setrlimit_have_headers=no
23320 # If don't have the headers, then we can't run the tests now, and we
23321 # won't be seeing any of these during testsuite compilation.
23322 if test $setrlimit_have_headers = yes; then
23323 # Can't do these in a loop, else the resulting syntax is wrong.
23325 cat > conftest.$ac_ext <<EOF
23326 #line 23327 "configure
"
23327 #include "confdefs.h
"
23328 #include <unistd.h>
23329 #include <sys/time.h>
23330 #include <sys/resource.h>
23333 int f = RLIMIT_DATA ;
23336 if { (eval echo configure:23337: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23340 echo "configure
: failed program was
:" >&5
23341 cat conftest.$ac_ext >&5
23346 cat >> confdefs.h <<EOF
23347 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
23352 cat > conftest.$ac_ext <<EOF
23353 #line 23354 "configure
"
23354 #include "confdefs.h
"
23355 #include <unistd.h>
23356 #include <sys/time.h>
23357 #include <sys/resource.h>
23360 int f = RLIMIT_RSS ;
23363 if { (eval echo configure:23364: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23367 echo "configure
: failed program was
:" >&5
23368 cat conftest.$ac_ext >&5
23373 cat >> confdefs.h <<EOF
23374 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
23379 cat > conftest.$ac_ext <<EOF
23380 #line 23381 "configure
"
23381 #include "confdefs.h
"
23382 #include <unistd.h>
23383 #include <sys/time.h>
23384 #include <sys/resource.h>
23387 int f = RLIMIT_VMEM ;
23390 if { (eval echo configure:23391: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23394 echo "configure
: failed program was
:" >&5
23395 cat conftest.$ac_ext >&5
23400 cat >> confdefs.h <<EOF
23401 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
23406 cat > conftest.$ac_ext <<EOF
23407 #line 23408 "configure
"
23408 #include "confdefs.h
"
23409 #include <unistd.h>
23410 #include <sys/time.h>
23411 #include <sys/resource.h>
23414 int f = RLIMIT_AS ;
23417 if { (eval echo configure:23418: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23421 echo "configure
: failed program was
:" >&5
23422 cat conftest.$ac_ext >&5
23427 cat >> confdefs.h <<EOF
23428 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
23433 # Check for rlimit, setrlimit.
23434 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
23435 echo $ac_n "(cached
) $ac_c" 1>&6
23438 cat > conftest.$ac_ext <<EOF
23439 #line 23440 "configure
"
23440 #include "confdefs.h
"
23441 #include <unistd.h>
23442 #include <sys/time.h>
23443 #include <sys/resource.h>
23446 struct rlimit r; setrlimit(0, &r);
23449 if { (eval echo configure:23450: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23453 echo "configure
: failed program was
:" >&5
23454 cat conftest.$ac_ext >&5
23464 echo $ac_n "checking
for testsuite memory limit support
""...
$ac_c" 1>&6
23465 echo "configure
:23466: checking
for testsuite memory limit support
" >&5
23466 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
23468 cat >> confdefs.h <<\EOF
23469 #define _GLIBCPP_MEM_LIMITS 1
23475 echo "$ac_t""$ac_mem_limits" 1>&6
23478 # Look for setenv, so that extended locale tests can be performed.
23480 echo $ac_n "checking
for setenv declaration
""...
$ac_c" 1>&6
23481 echo "configure
:23482: checking
for setenv declaration
" >&5
23482 if test x${glibcpp_cv_func_setenv_use+set} != xset; then
23483 if eval "test \"`echo '$''{'glibcpp_cv_func_setenv_use'+set}'`\" = set"; then
23484 echo $ac_n "(cached
) $ac_c" 1>&6
23489 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
23490 ac_cpp='$CXXCPP $CPPFLAGS'
23491 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
23492 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23493 cross_compiling=$ac_cv_prog_cxx_cross
23495 cat > conftest.$ac_ext <<EOF
23496 #line 23497 "configure
"
23497 #include "confdefs.h
"
23498 #include <stdlib.h>
23503 if { (eval echo configure:23504: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23505 glibcpp_cv_func_setenv_use=yes
23507 echo "configure
: failed program was
:" >&5
23508 cat conftest.$ac_ext >&5
23510 glibcpp_cv_func_setenv_use=no
23514 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
23515 ac_cpp='$CPP $CPPFLAGS'
23516 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
23517 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23518 cross_compiling=$ac_cv_prog_cc_cross
23524 echo "$ac_t""$glibcpp_cv_func_setenv_use" 1>&6
23525 if test x$glibcpp_cv_func_setenv_use = x"yes"; then
23526 for ac_func in setenv
23528 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
23529 echo "configure
:23530: checking
for $ac_func" >&5
23530 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
23531 echo $ac_n "(cached
) $ac_c" 1>&6
23533 cat > conftest.$ac_ext <<EOF
23534 #line 23535 "configure
"
23535 #include "confdefs.h
"
23536 /* System header to define __stub macros and hopefully few prototypes,
23537 which can conflict with char $ac_func(); below. */
23538 #include <assert.h>
23539 /* Override any gcc2 internal prototype to avoid an error. */
23540 /* We use char because int might match the return type of a gcc2
23541 builtin and then its argument prototype would still apply. */
23546 /* The GNU C library defines this for functions which it implements
23547 to always fail with ENOSYS. Some functions are actually named
23548 something starting with __ and the normal name is an alias. */
23549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23557 if { (eval echo configure:23558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23559 eval "ac_cv_func_
$ac_func=yes"
23561 echo "configure
: failed program was
:" >&5
23562 cat conftest.$ac_ext >&5
23564 eval "ac_cv_func_
$ac_func=no
"
23569 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
23570 echo "$ac_t""yes" 1>&6
23571 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23572 cat >> confdefs.h <<EOF
23573 #define $ac_tr_func 1
23577 echo "$ac_t""no
" 1>&6
23584 # Export file names for ABI checking.
23585 baseline_file="${glibcpp_srcdir}/config
/abi
/${abi_baseline_triplet}/baseline_symbols.txt
"
23589 *-*-cygwin* ) enable_abi_check=no ;;
23590 * ) enable_abi_check=yes ;;
23593 # Don't do ABI checking unless native.
23596 if test x"$build" = x"$host" && test -z "$with_cross_host" \
23597 && test "$enable_abi_check" = yes ; then
23598 GLIBCPP_BUILD_ABI_CHECK_TRUE=
23599 GLIBCPP_BUILD_ABI_CHECK_FALSE='#'
23601 GLIBCPP_BUILD_ABI_CHECK_TRUE='#'
23602 GLIBCPP_BUILD_ABI_CHECK_FALSE=
23607 # This depends on the possibly-skipped linker test above.
23608 # Check whether --enable-symvers or --disable-symvers was given.
23609 if test "${enable_symvers+set}" = set; then
23610 enableval="$enable_symvers"
23611 case "$enableval" in
23612 yes) enable_symvers=yes ;;
23613 no) enable_symvers=no ;;
23614 # other names here, just as sanity checks
23615 #gnu|sun|etcetera) enable_symvers=$enableval ;;
23616 gnu) enable_symvers=$enableval ;;
23617 *) { echo "configure
: error
: Unknown argument to enable
/disable symvers
" 1>&2; exit 1; } ;;
23623 # If we never went through the GLIBCPP_CHECK_LINKER_FEATURES macro, then we
23624 # don't know enough about $LD to do tricks...
23625 if test x$enable_shared = xno ||
23627 test x$glibcpp_gnu_ld_version = x; then
23631 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
23632 if test $enable_symvers != no; then
23633 echo $ac_n "checking
for shared libgcc
""...
$ac_c" 1>&6
23634 echo "configure
:23635: checking
for shared libgcc
" >&5
23635 ac_save_CFLAGS="$CFLAGS"
23637 cat > conftest.$ac_ext <<EOF
23638 #line 23639 "configure
"
23639 #include "confdefs.h
"
23645 if { (eval echo configure:23646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23647 glibcpp_shared_libgcc=yes
23649 echo "configure
: failed program was
:" >&5
23650 cat conftest.$ac_ext >&5
23652 glibcpp_shared_libgcc=no
23655 CFLAGS="$ac_save_CFLAGS"
23656 echo "$ac_t""$glibcpp_shared_libgcc" 1>&6
23659 # For GNU ld, we need at least this version. It's 2.12 in the same format
23660 # as the tested-for version. See GLIBCPP_CHECK_LINKER_FEATURES for more.
23661 glibcpp_min_gnu_ld_version=21200
23663 # Check to see if unspecified "yes" value can win, given results
23665 if test $enable_symvers = yes ; then
23666 if test $with_gnu_ld = yes &&
23667 test $glibcpp_shared_libgcc = yes ;
23669 if test $glibcpp_gnu_ld_version -ge $glibcpp_min_gnu_ld_version ; then
23672 ac_test_CFLAGS="${CFLAGS+set}"
23673 ac_save_CFLAGS="$CFLAGS"
23674 CFLAGS='-shared -Wl,--version-script,conftest.map'
23677 echo 'FOO { global: f[a-z]o; local: *; };' > conftest.map
23679 cat > conftest.$ac_ext <<EOF
23680 #line 23681 "configure
"
23681 #include "confdefs.h
"
23687 if { (eval echo configure:23688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23691 echo "configure
: failed program was
:" >&5
23692 cat conftest.$ac_ext >&5
23695 if test "$ac_test_CFLAGS" = set; then
23696 CFLAGS="$ac_save_CFLAGS"
23698 # this is the suspicious part
23704 # just fail for now
23709 case $enable_symvers in
23711 SYMVER_MAP=config/linker-map.dummy
23714 SYMVER_MAP=config/linker-map.gnu
23715 cat >> confdefs.h <<\EOF
23716 #define _GLIBCPP_SYMVER 1
23725 if test $enable_symvers != no; then
23726 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE=
23727 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE='#'
23729 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE='#'
23730 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE=
23732 echo $ac_n "checking versioning on shared library symbols
""...
$ac_c" 1>&6
23733 echo "configure
:23734: checking versioning on shared library symbols
" >&5
23734 echo "$ac_t""$enable_symvers" 1>&6
23737 # Propagate the target-specific source directories through the build chain.
23738 # (Nothing currently uses cpu_include_dir directly; only ATOMICITYH
23739 # uses it, and it only gets used in this file.)
23740 OS_INC_SRCDIR=config/${os_include_dir}
23741 ATOMICITY_INC_SRCDIR=config/${ATOMICITYH}
23745 # Set up cross-compile flags
23748 if test "$CANADIAN" = yes; then
23756 cat > confcache <<\EOF
23757 # This file is a shell script that caches the results of configure
23758 # tests run on this system so they can be shared between configure
23759 # scripts and configure runs. It is not useful on other systems.
23760 # If it contains results you don't want to keep, you may remove or edit it.
23762 # By default, configure uses ./config.cache as the cache file,
23763 # creating it if it does not exist already. You can give configure
23764 # the --cache-file=FILE option to use a different cache file; that is
23765 # what configure does when it calls configure scripts in
23766 # subdirectories, so they share the cache.
23767 # Giving --cache-file=/dev/null disables caching, for debugging configure.
23768 # config.status only pays attention to the cache file if you give it the
23769 # --recheck option to rerun configure.
23772 # The following way of writing the cache mishandles newlines in values,
23773 # but we know of no workaround that is simple, portable, and efficient.
23774 # So, don't put newlines in cache variables' values.
23775 # Ultrix sh set writes to stderr and can't be redirected directly,
23776 # and sets the high bit in the cache file unless we assign to the vars.
23778 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23780 # `set' does not quote correctly, so add quotes (double-quote substitution
23781 # turns \\\\ into \\, and sed turns \\ into \).
23783 -e "s
/'/'\\\\''/g
" \
23784 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
23787 # `set' quotes correctly as required by POSIX, so do not add quotes.
23788 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
23791 if cmp -s $cache_file confcache; then
23794 if test -w $cache_file; then
23795 echo "updating cache
$cache_file"
23796 cat confcache > $cache_file
23798 echo "not updating unwritable cache
$cache_file"
23804 if test "${multilib}" = "yes"; then
23805 multilib_arg="--enable-multilib"
23810 # Export all the install information
23812 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
23813 # exported correctly in GLIBCPP_CONFIGURE.
23814 glibcpp_toolexecdir=no
23815 glibcpp_toolexeclibdir=no
23816 glibcpp_prefixdir=${prefix}
23818 # Process the option --with-gxx-include-dir=<path to include-files directory>
23819 echo $ac_n "checking
for --with-gxx-include-dir""...
$ac_c" 1>&6
23820 echo "configure
:23821: checking
for --with-gxx-include-dir" >&5
23821 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
23822 if test "${with_gxx_include_dir+set}" = set; then
23823 withval="$with_gxx_include_dir"
23824 case "${withval}" in
23826 { echo "configure
: error
: Missing directory
for --with-gxx-include-dir" 1>&2; exit 1; }
23833 gxx_include_dir=${withval}
23840 echo "$ac_t""$gxx_include_dir" 1>&6
23842 # Process the option "--enable-version-specific-runtime-libs"
23843 echo $ac_n "checking
for --enable-version-specific-runtime-libs""...
$ac_c" 1>&6
23844 echo "configure
:23845: checking
for --enable-version-specific-runtime-libs" >&5
23845 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
23846 if test "${enable_version_specific_runtime_libs+set}" = set; then
23847 enableval="$enable_version_specific_runtime_libs"
23848 case "$enableval" in
23849 yes) version_specific_libs=yes ;;
23850 no) version_specific_libs=no ;;
23851 *) { echo "configure
: error
: Unknown argument to enable
/disable version-specific libs
" 1>&2; exit 1; };;
23854 version_specific_libs=no
23856 # Option set, now we can test it.
23857 echo "$ac_t""$version_specific_libs" 1>&6
23859 # Default case for install directory for include files.
23860 if test $version_specific_libs = no && test $gxx_include_dir = no; then
23861 gxx_include_dir='$(prefix)'/include/c++/${gcc_version}
23864 # Version-specific runtime libs processing.
23865 if test $version_specific_libs = yes; then
23866 # Need the gcc compiler version to know where to install libraries
23867 # and header files if --enable-version-specific-runtime-libs option
23869 if test x"$gxx_include_dir" = x"no
"; then
23870 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/c++
23872 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
23873 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
23876 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
23877 # Install a library built with a cross compiler in tooldir, not libdir.
23878 if test x"$glibcpp_toolexecdir" = x"no
"; then
23879 if test -n "$with_cross_host" &&
23880 test x"$with_cross_host" != x"no
"; then
23881 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
23882 glibcpp_toolexeclibdir='$(toolexecdir)/lib'
23884 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
23885 glibcpp_toolexeclibdir='$(libdir)'
23887 multi_os_directory=`$CC -print-multi-os-directory`
23888 case $multi_os_directory in
23889 .) ;; # Avoid trailing /.
23890 *) glibcpp_toolexeclibdir=$glibcpp_toolexeclibdir/$multi_os_directory ;;
23894 echo $ac_n "checking
for install location
""...
$ac_c" 1>&6
23895 echo "configure
:23896: checking
for install location
" >&5
23896 echo "$ac_t""$gxx_include_dir" 1>&6
23904 # Export all the include and flag information to Makefiles.
23906 # Root level of the build directory include sources.
23907 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include
"
23909 # Passed down for canadian crosses.
23910 if test x"$CANADIAN" = xyes; then
23911 TOPLEVEL_INCLUDES='-I$(includedir)'
23914 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
23916 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
23918 if test x"$need_libio" = xyes; then
23919 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
23923 # Now, export this to all the little Makefiles....
23930 # Optimization flags that are probably a good idea for thrill-seekers. Just
23931 # uncomment the lines below and make, everything else is ready to go...
23932 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
23936 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
23940 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
23941 grep "enable shared
" > /dev/null; then
23942 LIBSUPCXX_PICFLAGS=-prefer-pic
23944 LIBSUPCXX_PICFLAGS=
23948 # Generate the various Makefiles, include files, and scripts.
23949 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
23950 # and libsupc++/Makefile.am so that multilib installs will end up
23951 # installed in the correct place. To work around this not being passed
23952 # down from config-ml.in -> top_srcdir/Makefile.am ->
23953 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
23955 cat > confcache <<\EOF
23956 # This file is a shell script that caches the results of configure
23957 # tests run on this system so they can be shared between configure
23958 # scripts and configure runs. It is not useful on other systems.
23959 # If it contains results you don't want to keep, you may remove or edit it.
23961 # By default, configure uses ./config.cache as the cache file,
23962 # creating it if it does not exist already. You can give configure
23963 # the --cache-file=FILE option to use a different cache file; that is
23964 # what configure does when it calls configure scripts in
23965 # subdirectories, so they share the cache.
23966 # Giving --cache-file=/dev/null disables caching, for debugging configure.
23967 # config.status only pays attention to the cache file if you give it the
23968 # --recheck option to rerun configure.
23971 # The following way of writing the cache mishandles newlines in values,
23972 # but we know of no workaround that is simple, portable, and efficient.
23973 # So, don't put newlines in cache variables' values.
23974 # Ultrix sh set writes to stderr and can't be redirected directly,
23975 # and sets the high bit in the cache file unless we assign to the vars.
23977 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23979 # `set' does not quote correctly, so add quotes (double-quote substitution
23980 # turns \\\\ into \\, and sed turns \\ into \).
23982 -e "s
/'/'\\\\''/g
" \
23983 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
23986 # `set' quotes correctly as required by POSIX, so do not add quotes.
23987 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
23990 if cmp -s $cache_file confcache; then
23993 if test -w $cache_file; then
23994 echo "updating cache
$cache_file"
23995 cat confcache > $cache_file
23997 echo "not updating unwritable cache
$cache_file"
24002 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
24004 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
24005 # Let make expand exec_prefix.
24006 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
24008 # Any assignment to VPATH causes Sun make to only execute
24009 # the first set of double-colon rules, so remove it if not needed.
24010 # If there is a colon in the path, we need to keep it.
24011 if test "x
$srcdir" = x.; then
24012 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
24015 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
24017 DEFS=-DHAVE_CONFIG_H
24019 # Without the ".
/", some shells look in PATH for config.status.
24020 : ${CONFIG_STATUS=./config.status}
24022 echo creating $CONFIG_STATUS
24023 rm -f $CONFIG_STATUS
24024 cat > $CONFIG_STATUS <<EOF
24026 # Generated automatically by configure.
24027 # Run this file to recreate the current configuration.
24028 # This directory was configured as follows,
24029 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
24031 # $0 $ac_configure_args
24033 # Compiler output produced by configure, useful for debugging
24034 # configure, is in ./config.log if it exists.
24036 ac_cs_usage="Usage
: $CONFIG_STATUS [--recheck] [--version] [--help]"
24039 case "\
$ac_option" in
24040 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24041 echo "running \
${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
24042 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
24043 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
24044 echo "$CONFIG_STATUS generated by autoconf version
2.13"
24046 -help | --help | --hel | --he | --h)
24047 echo "\
$ac_cs_usage"; exit 0 ;;
24048 *) echo "\
$ac_cs_usage"; exit 1 ;;
24052 ac_given_srcdir=$srcdir
24053 ac_given_INSTALL="$INSTALL"
24055 trap 'rm -fr `echo "Makefile \
24056 include
/Makefile src
/Makefile \
24057 libmath
/Makefile libio
/Makefile libsupc
++/Makefile \
24058 po
/Makefile testsuite
/Makefile mkcheck testsuite_flags config.h
" | sed "s
/:[^
]*//g
"` conftest*; exit 1' 1 2 15
24060 cat >> $CONFIG_STATUS <<EOF
24062 # Protect against being on the right side of a sed subst in config.status.
24063 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
24064 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
24068 s%@CFLAGS@%$CFLAGS%g
24069 s%@CPPFLAGS@%$CPPFLAGS%g
24070 s%@CXXFLAGS@%$CXXFLAGS%g
24071 s%@FFLAGS@%$FFLAGS%g
24073 s%@LDFLAGS@%$LDFLAGS%g
24075 s%@exec_prefix@%$exec_prefix%g
24076 s%@prefix@%$prefix%g
24077 s%@program_transform_name@%$program_transform_name%g
24078 s%@bindir@%$bindir%g
24079 s%@sbindir@%$sbindir%g
24080 s%@libexecdir@%$libexecdir%g
24081 s%@datadir@%$datadir%g
24082 s%@sysconfdir@%$sysconfdir%g
24083 s%@sharedstatedir@%$sharedstatedir%g
24084 s%@localstatedir@%$localstatedir%g
24085 s%@libdir@%$libdir%g
24086 s%@includedir@%$includedir%g
24087 s%@oldincludedir@%$oldincludedir%g
24088 s%@infodir@%$infodir%g
24089 s%@mandir@%$mandir%g
24090 s%@PACKAGE@%$PACKAGE%g
24091 s%@libtool_VERSION@%$libtool_VERSION%g
24092 s%@toplevel_srcdir@%$toplevel_srcdir%g
24094 s%@host_alias@%$host_alias%g
24095 s%@host_cpu@%$host_cpu%g
24096 s%@host_vendor@%$host_vendor%g
24097 s%@host_os@%$host_os%g
24098 s%@target@%$target%g
24099 s%@target_alias@%$target_alias%g
24100 s%@target_cpu@%$target_cpu%g
24101 s%@target_vendor@%$target_vendor%g
24102 s%@target_os@%$target_os%g
24104 s%@build_alias@%$build_alias%g
24105 s%@build_cpu@%$build_cpu%g
24106 s%@build_vendor@%$build_vendor%g
24107 s%@build_os@%$build_os%g
24108 s%@glibcpp_builddir@%$glibcpp_builddir%g
24109 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
24112 s%@glibcpp_basedir@%$glibcpp_basedir%g
24114 s%@glibcpp_CXX@%$glibcpp_CXX%g
24117 s%@RANLIB@%$RANLIB%g
24118 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
24119 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
24120 s%@INSTALL_DATA@%$INSTALL_DATA%g
24121 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
24122 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
24124 s%@EXEEXT@%$EXEEXT%g
24125 s%@VERSION@%$VERSION%g
24126 s%@ACLOCAL@%$ACLOCAL%g
24127 s%@AUTOCONF@%$AUTOCONF%g
24128 s%@AUTOMAKE@%$AUTOMAKE%g
24129 s%@AUTOHEADER@%$AUTOHEADER%g
24130 s%@MAKEINFO@%$MAKEINFO%g
24131 s%@SET_MAKE@%$SET_MAKE%g
24132 s%@OBJEXT@%$OBJEXT%g
24134 s%@LIBTOOL@%$LIBTOOL%g
24135 s%@CXXCPP@%$CXXCPP%g
24136 s%@enable_shared@%$enable_shared%g
24137 s%@enable_static@%$enable_static%g
24138 s%@ifGNUmake@%$ifGNUmake%g
24139 s%@GLIBCPP_BUILD_PCH_TRUE@%$GLIBCPP_BUILD_PCH_TRUE%g
24140 s%@GLIBCPP_BUILD_PCH_FALSE@%$GLIBCPP_BUILD_PCH_FALSE%g
24142 s%@CSTDIO_H@%$CSTDIO_H%g
24143 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
24144 s%@BASIC_FILE_CC@%$BASIC_FILE_CC%g
24145 s%@CCODECVT_C@%$CCODECVT_C%g
24146 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
24147 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
24148 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
24149 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
24150 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
24151 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
24152 s%@libio_la@%$libio_la%g
24153 s%@check_msgfmt@%$check_msgfmt%g
24154 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
24155 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
24156 s%@glibcpp_localedir@%$glibcpp_localedir%g
24157 s%@USE_NLS@%$USE_NLS%g
24158 s%@CLOCALE_H@%$CLOCALE_H%g
24159 s%@CCODECVT_H@%$CCODECVT_H%g
24160 s%@CMESSAGES_H@%$CMESSAGES_H%g
24161 s%@CCODECVT_CC@%$CCODECVT_CC%g
24162 s%@CCOLLATE_CC@%$CCOLLATE_CC%g
24163 s%@CCTYPE_CC@%$CCTYPE_CC%g
24164 s%@CMESSAGES_CC@%$CMESSAGES_CC%g
24165 s%@CMONEY_CC@%$CMONEY_CC%g
24166 s%@CNUMERIC_CC@%$CNUMERIC_CC%g
24167 s%@CTIME_H@%$CTIME_H%g
24168 s%@CTIME_CC@%$CTIME_CC%g
24169 s%@CLOCALE_CC@%$CLOCALE_CC%g
24170 s%@CLOCALE_INTERNAL_H@%$CLOCALE_INTERNAL_H%g
24171 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
24172 s%@GLIBCPP_C_HEADERS_C_TRUE@%$GLIBCPP_C_HEADERS_C_TRUE%g
24173 s%@GLIBCPP_C_HEADERS_C_FALSE@%$GLIBCPP_C_HEADERS_C_FALSE%g
24174 s%@GLIBCPP_C_HEADERS_C_STD_TRUE@%$GLIBCPP_C_HEADERS_C_STD_TRUE%g
24175 s%@GLIBCPP_C_HEADERS_C_STD_FALSE@%$GLIBCPP_C_HEADERS_C_STD_FALSE%g
24176 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE%g
24177 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE%g
24178 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
24179 s%@LIBUNWIND_FLAG@%$LIBUNWIND_FLAG%g
24180 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
24181 s%@GLIBCPP_BUILD_DEBUG_TRUE@%$GLIBCPP_BUILD_DEBUG_TRUE%g
24182 s%@GLIBCPP_BUILD_DEBUG_FALSE@%$GLIBCPP_BUILD_DEBUG_FALSE%g
24183 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
24184 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
24185 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
24186 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
24187 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
24188 s%@GLIBCPP_BUILD_LIBMATH_TRUE@%$GLIBCPP_BUILD_LIBMATH_TRUE%g
24189 s%@GLIBCPP_BUILD_LIBMATH_FALSE@%$GLIBCPP_BUILD_LIBMATH_FALSE%g
24190 s%@GLIBCPP_TEST_WCHAR_T_TRUE@%$GLIBCPP_TEST_WCHAR_T_TRUE%g
24191 s%@GLIBCPP_TEST_WCHAR_T_FALSE@%$GLIBCPP_TEST_WCHAR_T_FALSE%g
24192 s%@WERROR@%$WERROR%g
24193 s%@baseline_file@%$baseline_file%g
24194 s%@GLIBCPP_BUILD_ABI_CHECK_TRUE@%$GLIBCPP_BUILD_ABI_CHECK_TRUE%g
24195 s%@GLIBCPP_BUILD_ABI_CHECK_FALSE@%$GLIBCPP_BUILD_ABI_CHECK_FALSE%g
24196 s%@SYMVER_MAP@%$SYMVER_MAP%g
24197 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g
24198 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g
24199 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
24200 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
24201 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
24202 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
24203 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
24204 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
24205 s%@gxx_include_dir@%$gxx_include_dir%g
24206 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
24207 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
24208 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
24209 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
24210 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
24211 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
24212 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
24213 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
24214 s%@WARN_FLAGS@%$WARN_FLAGS%g
24215 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
24220 cat >> $CONFIG_STATUS <<\EOF
24222 # Split the substitutions into bite-sized pieces for seds with
24223 # small command number limits, like on Digital OSF/1 and HP-UX.
24224 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
24225 ac_file=1 # Number of current file.
24226 ac_beg=1 # First line for current file.
24227 ac_end=$ac_max_sed_cmds # Line after last line for current file.
24230 while $ac_more_lines; do
24231 if test $ac_beg -gt 1; then
24232 sed "1,${ac_beg}d
; ${ac_end}q
" conftest.subs > conftest.s$ac_file
24234 sed "${ac_end}q
" conftest.subs > conftest.s$ac_file
24236 if test ! -s conftest.s$ac_file; then
24237 ac_more_lines=false
24238 rm -f conftest.s$ac_file
24240 if test -z "$ac_sed_cmds"; then
24241 ac_sed_cmds="sed -f conftest.s
$ac_file"
24243 ac_sed_cmds="$ac_sed_cmds |
sed -f conftest.s
$ac_file"
24245 ac_file=`expr $ac_file + 1`
24247 ac_end=`expr $ac_end + $ac_max_sed_cmds`
24250 if test -z "$ac_sed_cmds"; then
24255 cat >> $CONFIG_STATUS <<EOF
24257 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
24258 include
/Makefile src
/Makefile \
24259 libmath
/Makefile libio
/Makefile libsupc
++/Makefile \
24260 po
/Makefile testsuite
/Makefile mkcheck testsuite_flags
"}
24262 cat >> $CONFIG_STATUS <<\EOF
24263 for ac_file in .. $CONFIG_FILES; do if test "x
$ac_file" != x..; then
24264 # Support "outfile
[:infile
[:infile...
]]", defaulting infile="outfile.
in".
24266 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
24267 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
24268 *) ac_file_in="${ac_file}.
in" ;;
24271 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
24273 # Remove last slash and all that follows it. Not all systems have dirname.
24274 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
24275 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
24276 # The file is in a subdirectory.
24277 test ! -d "$ac_dir" && mkdir "$ac_dir"
24278 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
24279 # A "..
/" for each directory in $ac_dir_suffix.
24280 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
24282 ac_dir_suffix= ac_dots=
24285 case "$ac_given_srcdir" in
24287 if test -z "$ac_dots"; then top_srcdir=.
24288 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
24289 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
24290 *) # Relative path.
24291 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
24292 top_srcdir="$ac_dots$ac_given_srcdir" ;;
24295 case "$ac_given_INSTALL" in
24296 [/$]*) INSTALL="$ac_given_INSTALL" ;;
24297 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
24300 echo creating "$ac_file"
24302 configure_input="Generated automatically from
`echo $ac_file_in|sed 's%.*/%%'` by configure.
"
24304 *Makefile*) ac_comsub="1i
\\
24305 # $configure_input" ;;
24309 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
24311 s%@configure_input@%$configure_input%g
24312 s%@srcdir@%$srcdir%g
24313 s%@top_srcdir@%$top_srcdir%g
24314 s%@INSTALL@%$INSTALL%g
24315 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
24319 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24320 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24322 # ac_d sets the value in "#define NAME VALUE" lines.
24323 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24324 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
24327 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
24328 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24329 ac_uB
='\([ ]\)%\1#\2define\3'
24332 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24333 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24334 ac_eB
='$%\1#\2define\3'
24338 if test "${CONFIG_HEADERS+set}" != set; then
24340 cat >> $CONFIG_STATUS <<EOF
24341 CONFIG_HEADERS="config.h"
24343 cat >> $CONFIG_STATUS <<\EOF
24345 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
24346 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24348 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
24349 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
24350 *) ac_file_in
="${ac_file}.in" ;;
24353 echo creating
$ac_file
24355 rm -f conftest.frag conftest.
in conftest.out
24356 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
24357 cat $ac_file_inputs > conftest.
in
24361 # Transform confdefs.h into a sed script conftest.vals that substitutes
24362 # the proper values into config.h.in to produce config.h. And first:
24363 # Protect against being on the right side of a sed subst in config.status.
24364 # Protect against being in an unquoted here document in config.status.
24365 rm -f conftest.vals
24366 cat > conftest.hdr
<<\EOF
24369 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
24373 sed -n -f conftest.hdr confdefs.h > conftest.vals
24376 # This sed command replaces #undef with comments. This is necessary, for
24377 # example, in the case of _POSIX_SOURCE, which is predefined and required
24378 # on some systems where configure will not decide to define it.
24379 cat >> conftest.vals <<\EOF
24380 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
24383 # Break up conftest.vals because some shells have a limit on
24384 # the size of here documents, and old seds have small limits too.
24386 rm -f conftest.tail
24389 ac_lines=`grep -c . conftest.vals
`
24390 # grep -c gives empty output for an empty file on some AIX systems.
24391 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
24392 # Write a limited-size here document to conftest.frag.
24393 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
24394 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
24396 sed -f conftest.frag conftest.in > conftest.out
24398 mv conftest.out conftest.in
24399 ' >> $CONFIG_STATUS
24400 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
24401 rm -f conftest.vals
24402 mv conftest.tail conftest.vals
24404 rm -f conftest.vals
24406 cat >> $CONFIG_STATUS <<\EOF
24407 rm -f conftest.frag conftest.h
24408 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
24409 cat conftest.in >> conftest.h
24411 if cmp -s $ac_file conftest.h 2>/dev/null; then
24412 echo "$ac_file is unchanged"
24415 # Remove last slash and all that follows it. Not all systems have dirname.
24416 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
24417 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
24418 # The file is in a subdirectory.
24419 test ! -d "$ac_dir" && mkdir "$ac_dir"
24422 mv conftest.h $ac_file
24427 cat >> $CONFIG_STATUS <<EOF
24432 with_target_subdir=${with_target_subdir}
24433 with_build_subdir=${with_build_subdir}
24434 with_multisubdir=${with_multisubdir}
24435 ac_configure_args="${multilib_arg} ${ac_configure_args}"
24436 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
24437 glibcpp_basedir=${glibcpp_basedir}
24440 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
24443 cat >> $CONFIG_STATUS <<\EOF
24444 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
24445 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
24446 if test -n "$CONFIG_FILES"; then
24447 if test -n "${with_build_subdir}" || test -n "${with_target_subdir}"; then
24448 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
24449 # Ony modify Makefiles that are just being created.
24450 case " $CONFIG_FILES" in
24452 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
24455 case $CONFIG_FILES in
24457 grep '^MULTISUBDIR =' Makefile >> src/Makefile
24460 case $CONFIG_FILES in
24461 *libsupc++/Makefile*)
24462 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
24468 chmod +x testsuite_flags
24471 chmod +x $CONFIG_STATUS
24472 rm -fr confdefs* $ac_clean_files
24473 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
24477 # Sanity checking & User-visible messages.
24478 # Checks down here, otherwise they get scrolled off before
24479 # the user will notice.
24481 # Trying to get more people to read documentation. Possibly remove
24482 # check and warn all the time. There is no "informational" AC_MSG_
24483 # macro, so these are going to be printed even when --quiet/--silent
24485 if test ! -f stamp-sanity-warned; then
24486 touch stamp-sanity-warned
24488 echo "Please make certain that you read the installation information here:"
24489 echo " faster => ${srcdir}/docs/html/install.html"
24490 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
24492 echo "and the configuration information here:"
24493 echo " faster => ${srcdir}/docs/html/configopts.html"
24494 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
24496 echo "before proceeding with ${_cv_gnu_make_command}."