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""IEEE
1003.1" 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
3260 # A standalone libintl (e.g., GNU libintl) may be in use.
3261 if test $USE_NLS = yes; then
3262 for ac_hdr in libintl.h
3264 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3265 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
3266 echo "configure
:3267: checking
for $ac_hdr" >&5
3267 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3268 echo $ac_n "(cached
) $ac_c" 1>&6
3270 cat > conftest.$ac_ext <<EOF
3271 #line 3272 "configure
"
3272 #include "confdefs.h
"
3275 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
3276 { (eval echo configure:3277: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3277 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
3278 if test -z "$ac_err"; then
3280 eval "ac_cv_header_
$ac_safe=yes"
3283 echo "configure
: failed program was
:" >&5
3284 cat conftest.$ac_ext >&5
3286 eval "ac_cv_header_
$ac_safe=no
"
3290 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3291 echo "$ac_t""yes" 1>&6
3292 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3293 cat >> confdefs.h <<EOF
3294 #define $ac_tr_hdr 1
3298 echo "$ac_t""no
" 1>&6
3304 echo $ac_n "checking
for library containing
gettext""...
$ac_c" 1>&6
3305 echo "configure
:3306: checking
for library containing
gettext" >&5
3306 if eval "test \"`echo '$''{'ac_cv_search_gettext'+set}'`\" = set"; then
3307 echo $ac_n "(cached
) $ac_c" 1>&6
3309 ac_func_search_save_LIBS="$LIBS"
3310 ac_cv_search_gettext="no
"
3311 cat > conftest.$ac_ext <<EOF
3312 #line 3313 "configure
"
3313 #include "confdefs.h
"
3314 /* Override any gcc2 internal prototype to avoid an error. */
3315 /* We use char because int might match the return type of a gcc2
3316 builtin and then its argument prototype would still apply. */
3323 if { (eval echo configure:3324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3325 ac_cv_search_gettext="none required
"
3327 echo "configure
: failed program was
:" >&5
3328 cat conftest.$ac_ext >&5
3331 test "$ac_cv_search_gettext" = "no
" && for i in intl; do
3332 LIBS="-l$i $ac_func_search_save_LIBS"
3333 cat > conftest.$ac_ext <<EOF
3334 #line 3335 "configure
"
3335 #include "confdefs.h
"
3336 /* Override any gcc2 internal prototype to avoid an error. */
3337 /* We use char because int might match the return type of a gcc2
3338 builtin and then its argument prototype would still apply. */
3345 if { (eval echo configure:3346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3347 ac_cv_search_gettext="-l$i"
3350 echo "configure
: failed program was
:" >&5
3351 cat conftest.$ac_ext >&5
3355 LIBS="$ac_func_search_save_LIBS"
3358 echo "$ac_t""$ac_cv_search_gettext" 1>&6
3359 if test "$ac_cv_search_gettext" != "no
"; then
3360 test "$ac_cv_search_gettext" = "none required
" || LIBS="$ac_cv_search_gettext $LIBS"
3366 if test $USE_NLS = yes; then
3367 cat >> confdefs.h <<\EOF
3368 #define _GLIBCPP_USE_NLS 1
3388 echo $ac_n "checking
for c header strategy to use
""...
$ac_c" 1>&6
3389 echo "configure
:3390: checking
for c header strategy to use
" >&5
3390 # Check whether --enable-cheaders or --disable-cheaders was given.
3391 if test "${enable_cheaders+set}" = set; then
3392 enableval="$enable_cheaders"
3394 case "$enableval" in
3399 enable_cheaders=c_std
3401 *) { echo "configure
: error
: Unknown argument to enable
/disable
"C" headers
" 1>&2; exit 1; }
3405 enable_cheaders=c_std
3408 echo "$ac_t""$enable_cheaders" 1>&6
3410 case "$enable_cheaders" in
3412 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3415 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3422 if test "$enable_cheaders" = c; then
3423 GLIBCPP_C_HEADERS_C_TRUE=
3424 GLIBCPP_C_HEADERS_C_FALSE='#'
3426 GLIBCPP_C_HEADERS_C_TRUE='#'
3427 GLIBCPP_C_HEADERS_C_FALSE=
3431 if test "$enable_cheaders" = c_std; then
3432 GLIBCPP_C_HEADERS_C_STD_TRUE=
3433 GLIBCPP_C_HEADERS_C_STD_FALSE='#'
3435 GLIBCPP_C_HEADERS_C_STD_TRUE='#'
3436 GLIBCPP_C_HEADERS_C_STD_FALSE=
3440 if test "$c_compatibility" = yes; then
3441 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE=
3442 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE='#'
3444 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE='#'
3445 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE=
3448 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3449 if test "${enable_c_mbchar+set}" = set; then
3450 enableval="$enable_c_mbchar"
3451 case "$enableval" in
3452 yes) enable_c_mbchar=yes ;;
3453 no) enable_c_mbchar=no ;;
3454 *) { echo "configure
: error
: Unknown argument to enable
/disable c-mbchar
" 1>&2; exit 1; } ;;
3461 # Check whether --enable-c99 or --disable-c99 was given.
3462 if test "${enable_c99+set}" = set; then
3463 enableval="$enable_c99"
3464 case "$enableval" in
3465 yes) enable_c99=yes ;;
3466 no) enable_c99=no ;;
3467 *) { echo "configure
: error
: Unknown argument to enable
/disable C99
" 1>&2; exit 1; } ;;
3475 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3476 ac_cpp='$CXXCPP $CPPFLAGS'
3477 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3478 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3479 cross_compiling=$ac_cv_prog_cxx_cross
3482 # Check for the existence of <math.h> functions used if C99 is enabled.
3484 echo $ac_n "checking
for ISO C99 support
in <math.h
>""...
$ac_c" 1>&6
3485 echo "configure
:3486: checking
for ISO C99 support
in <math.h
>" >&5
3486 cat > conftest.$ac_ext <<EOF
3487 #line 3488 "configure
"
3488 #include "confdefs.h
"
3494 if { (eval echo configure:3495: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3497 echo "configure
: failed program was
:" >&5
3498 cat conftest.$ac_ext >&5
3503 cat > conftest.$ac_ext <<EOF
3504 #line 3505 "configure
"
3505 #include "confdefs.h
"
3511 if { (eval echo configure:3512: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3514 echo "configure
: failed program was
:" >&5
3515 cat conftest.$ac_ext >&5
3520 cat > conftest.$ac_ext <<EOF
3521 #line 3522 "configure
"
3522 #include "confdefs.h
"
3528 if { (eval echo configure:3529: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3531 echo "configure
: failed program was
:" >&5
3532 cat conftest.$ac_ext >&5
3537 cat > conftest.$ac_ext <<EOF
3538 #line 3539 "configure
"
3539 #include "confdefs.h
"
3545 if { (eval echo configure:3546: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3548 echo "configure
: failed program was
:" >&5
3549 cat conftest.$ac_ext >&5
3554 cat > conftest.$ac_ext <<EOF
3555 #line 3556 "configure
"
3556 #include "confdefs.h
"
3562 if { (eval echo configure:3563: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3565 echo "configure
: failed program was
:" >&5
3566 cat conftest.$ac_ext >&5
3571 cat > conftest.$ac_ext <<EOF
3572 #line 3573 "configure
"
3573 #include "confdefs.h
"
3579 if { (eval echo configure:3580: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3582 echo "configure
: failed program was
:" >&5
3583 cat conftest.$ac_ext >&5
3588 cat > conftest.$ac_ext <<EOF
3589 #line 3590 "configure
"
3590 #include "confdefs.h
"
3596 if { (eval echo configure:3597: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3599 echo "configure
: failed program was
:" >&5
3600 cat conftest.$ac_ext >&5
3605 cat > conftest.$ac_ext <<EOF
3606 #line 3607 "configure
"
3607 #include "confdefs.h
"
3610 isgreaterequal(0.0,0.0);
3613 if { (eval echo configure:3614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3616 echo "configure
: failed program was
:" >&5
3617 cat conftest.$ac_ext >&5
3622 cat > conftest.$ac_ext <<EOF
3623 #line 3624 "configure
"
3624 #include "confdefs.h
"
3630 if { (eval echo configure:3631: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3633 echo "configure
: failed program was
:" >&5
3634 cat conftest.$ac_ext >&5
3639 cat > conftest.$ac_ext <<EOF
3640 #line 3641 "configure
"
3641 #include "confdefs.h
"
3644 islessequal(0.0,0.0);
3647 if { (eval echo configure:3648: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3650 echo "configure
: failed program was
:" >&5
3651 cat conftest.$ac_ext >&5
3656 cat > conftest.$ac_ext <<EOF
3657 #line 3658 "configure
"
3658 #include "confdefs.h
"
3661 islessgreater(0.0,0.0);
3664 if { (eval echo configure:3665: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3667 echo "configure
: failed program was
:" >&5
3668 cat conftest.$ac_ext >&5
3673 cat > conftest.$ac_ext <<EOF
3674 #line 3675 "configure
"
3675 #include "confdefs.h
"
3678 isunordered(0.0,0.0);
3681 if { (eval echo configure:3682: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3684 echo "configure
: failed program was
:" >&5
3685 cat conftest.$ac_ext >&5
3690 echo "$ac_t""$ac_c99_math" 1>&6
3692 # Check for the existence in <stdio.h> of vscanf, et. al.
3694 echo $ac_n "checking
for ISO C99 support
in <stdio.h
>""...
$ac_c" 1>&6
3695 echo "configure
:3696: checking
for ISO C99 support
in <stdio.h
>" >&5
3696 cat > conftest.$ac_ext <<EOF
3697 #line 3698 "configure
"
3698 #include "confdefs.h
"
3701 snprintf("12", 0, "%i
");
3704 if { (eval echo configure:3705: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3707 echo "configure
: failed program was
:" >&5
3708 cat conftest.$ac_ext >&5
3713 cat > conftest.$ac_ext <<EOF
3714 #line 3715 "configure
"
3715 #include "confdefs.h
"
3718 void foo(char* fmt, ...)
3719 {va_list args; va_start(args, fmt);
3720 vfscanf(stderr, "%i
", args);}
3725 if { (eval echo configure:3726: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3728 echo "configure
: failed program was
:" >&5
3729 cat conftest.$ac_ext >&5
3734 cat > conftest.$ac_ext <<EOF
3735 #line 3736 "configure
"
3736 #include "confdefs.h
"
3739 void foo(char* fmt, ...)
3740 {va_list args; va_start(args, fmt);
3741 vscanf("%i
", args);}
3746 if { (eval echo configure:3747: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3749 echo "configure
: failed program was
:" >&5
3750 cat conftest.$ac_ext >&5
3755 cat > conftest.$ac_ext <<EOF
3756 #line 3757 "configure
"
3757 #include "confdefs.h
"
3760 void foo(char* fmt, ...)
3761 {va_list args; va_start(args, fmt);
3762 vsnprintf(fmt, 0, "%i
", args);}
3767 if { (eval echo configure:3768: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3770 echo "configure
: failed program was
:" >&5
3771 cat conftest.$ac_ext >&5
3776 cat > conftest.$ac_ext <<EOF
3777 #line 3778 "configure
"
3778 #include "confdefs.h
"
3781 void foo(char* fmt, ...)
3782 {va_list args; va_start(args, fmt);
3783 vsscanf(fmt, "%i
", args);}
3788 if { (eval echo configure:3789: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3791 echo "configure
: failed program was
:" >&5
3792 cat conftest.$ac_ext >&5
3797 echo "$ac_t""$ac_c99_stdio" 1>&6
3799 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3801 echo $ac_n "checking
for lldiv_t declaration
""...
$ac_c" 1>&6
3802 echo "configure
:3803: checking
for lldiv_t declaration
" >&5
3803 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3804 echo $ac_n "(cached
) $ac_c" 1>&6
3807 cat > conftest.$ac_ext <<EOF
3808 #line 3809 "configure
"
3809 #include "confdefs.h
"
3815 if { (eval echo configure:3816: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3819 echo "configure
: failed program was
:" >&5
3820 cat conftest.$ac_ext >&5
3828 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3830 echo $ac_n "checking
for ISO C99 support
in <stdlib.h
>""...
$ac_c" 1>&6
3831 echo "configure
:3832: checking
for ISO C99 support
in <stdlib.h
>" >&5
3832 cat > conftest.$ac_ext <<EOF
3833 #line 3834 "configure
"
3834 #include "confdefs.h
"
3837 char* tmp; strtof("gnu
", &tmp);
3840 if { (eval echo configure:3841: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3843 echo "configure
: failed program was
:" >&5
3844 cat conftest.$ac_ext >&5
3849 cat > conftest.$ac_ext <<EOF
3850 #line 3851 "configure
"
3851 #include "confdefs.h
"
3854 char* tmp; strtold("gnu
", &tmp);
3857 if { (eval echo configure:3858: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3860 echo "configure
: failed program was
:" >&5
3861 cat conftest.$ac_ext >&5
3866 cat > conftest.$ac_ext <<EOF
3867 #line 3868 "configure
"
3868 #include "confdefs.h
"
3874 if { (eval echo configure:3875: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3877 echo "configure
: failed program was
:" >&5
3878 cat conftest.$ac_ext >&5
3883 cat > conftest.$ac_ext <<EOF
3884 #line 3885 "configure
"
3885 #include "confdefs.h
"
3891 if { (eval echo configure:3892: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3894 echo "configure
: failed program was
:" >&5
3895 cat conftest.$ac_ext >&5
3900 cat > conftest.$ac_ext <<EOF
3901 #line 3902 "configure
"
3902 #include "confdefs.h
"
3908 if { (eval echo configure:3909: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3911 echo "configure
: failed program was
:" >&5
3912 cat conftest.$ac_ext >&5
3917 cat > conftest.$ac_ext <<EOF
3918 #line 3919 "configure
"
3919 #include "confdefs.h
"
3925 if { (eval echo configure:3926: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3928 echo "configure
: failed program was
:" >&5
3929 cat conftest.$ac_ext >&5
3934 if test x"$ac_c99_lldiv_t" = x"no
"; then
3937 echo "$ac_t""$ac_c99_stdlib" 1>&6
3939 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3940 # XXX the wchar.h checks should be rolled into the general C99 bits.
3942 echo $ac_n "checking
for additional ISO C99 support
in <wchar.h
>""...
$ac_c" 1>&6
3943 echo "configure
:3944: checking
for additional ISO C99 support
in <wchar.h
>" >&5
3944 cat > conftest.$ac_ext <<EOF
3945 #line 3946 "configure
"
3946 #include "confdefs.h
"
3949 wcstold(L"10.0", NULL);
3952 if { (eval echo configure:3953: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3955 echo "configure
: failed program was
:" >&5
3956 cat conftest.$ac_ext >&5
3961 cat > conftest.$ac_ext <<EOF
3962 #line 3963 "configure
"
3963 #include "confdefs.h
"
3966 wcstoll(L"10", NULL, 10);
3969 if { (eval echo configure:3970: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3972 echo "configure
: failed program was
:" >&5
3973 cat conftest.$ac_ext >&5
3978 cat > conftest.$ac_ext <<EOF
3979 #line 3980 "configure
"
3980 #include "confdefs.h
"
3983 wcstoull(L"10", NULL, 10);
3986 if { (eval echo configure:3987: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3989 echo "configure
: failed program was
:" >&5
3990 cat conftest.$ac_ext >&5
3995 echo "$ac_t""$ac_c99_wchar" 1>&6
3997 echo $ac_n "checking
for enabled ISO C99 support
""...
$ac_c" 1>&6
3998 echo "configure
:3999: checking
for enabled ISO C99 support
" >&5
3999 if test x"$ac_c99_math" = x"no
" ||
4000 test x"$ac_c99_stdio" = x"no
" ||
4001 test x"$ac_c99_stdlib" = x"no
" ||
4002 test x"$ac_c99_wchar" = x"no
"; then
4005 echo "$ac_t""$enable_c99" 1>&6
4007 # Option parsed, now set things appropriately
4008 if test x"$enable_c99" = x"yes"; then
4009 cat >> confdefs.h <<\EOF
4010 #define _GLIBCPP_USE_C99 1
4016 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4017 ac_cpp='$CPP $CPPFLAGS'
4018 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4019 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4020 cross_compiling=$ac_cv_prog_cc_cross
4024 # Check whether --enable-long-long or --disable-long-long was given.
4025 if test "${enable_long_long+set}" = set; then
4026 enableval="$enable_long_long"
4027 case "$enableval" in
4028 yes) enable_long_long=yes ;;
4029 no) enable_long_long=no ;;
4030 *) { echo "configure
: error
: Unknown argument to enable
/disable long long
" 1>&2; exit 1; } ;;
4033 enable_long_long=yes
4038 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4039 ac_cpp='$CXXCPP $CPPFLAGS'
4040 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4041 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4042 cross_compiling=$ac_cv_prog_cxx_cross
4045 echo $ac_n "checking
for enabled long long I
/O support
""...
$ac_c" 1>&6
4046 echo "configure
:4047: checking
for enabled long long I
/O support
" >&5
4047 # iostreams require strtoll, strtoull to compile
4048 cat > conftest.$ac_ext <<EOF
4049 #line 4050 "configure
"
4050 #include "confdefs.h
"
4053 char* tmp; strtoll("gnu
", &tmp, 10);
4056 if { (eval echo configure:4057: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4059 echo "configure
: failed program was
:" >&5
4060 cat conftest.$ac_ext >&5
4065 cat > conftest.$ac_ext <<EOF
4066 #line 4067 "configure
"
4067 #include "confdefs.h
"
4070 char* tmp; strtoull("gnu
", &tmp, 10);
4073 if { (eval echo configure:4074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4076 echo "configure
: failed program was
:" >&5
4077 cat conftest.$ac_ext >&5
4083 # Option parsed, now set things appropriately
4084 if test x"$enable_long_long" = xyes; then
4085 cat >> confdefs.h <<\EOF
4086 #define _GLIBCPP_USE_LONG_LONG 1
4090 echo "$ac_t""$enable_long_long" 1>&6
4093 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4094 ac_cpp='$CPP $CPPFLAGS'
4095 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4096 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4097 cross_compiling=$ac_cv_prog_cc_cross
4101 echo $ac_n "checking
for thread model used by GCC
""...
$ac_c" 1>&6
4102 echo "configure
:4103: checking
for thread model used by GCC
" >&5
4103 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
4104 echo "$ac_t""$target_thread_file" 1>&6
4106 if test $target_thread_file != single; then
4107 cat >> confdefs.h <<\EOF
4108 #define HAVE_GTHR_DEFAULT 1
4111 cat >> confdefs.h <<\EOF
4112 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
4117 glibcpp_thread_h=gthr-$target_thread_file.h
4121 echo $ac_n "checking
for exception model to use
""...
$ac_c" 1>&6
4122 echo "configure
:4123: checking
for exception model to use
" >&5
4125 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4126 ac_cpp='$CXXCPP $CPPFLAGS'
4127 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4128 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4129 cross_compiling=$ac_cv_prog_cxx_cross
4131 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
4132 if test "${enable_sjlj_exceptions+set}" = set; then
4133 enableval="$enable_sjlj_exceptions"
4136 cat > conftest.$ac_ext << EOF
4137 #line 4138 "configure
"
4146 old_CXXFLAGS="$CXXFLAGS"
4148 if { (eval echo configure:4149: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4149 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
4150 enable_sjlj_exceptions=yes
4151 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
4152 enable_sjlj_exceptions=no
4155 CXXFLAGS="$old_CXXFLAGS"
4159 if test x$enable_sjlj_exceptions = xyes; then
4160 cat >> confdefs.h <<\EOF
4161 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
4164 ac_exception_model_name=sjlj
4165 elif test x$enable_sjlj_exceptions = xno; then
4166 ac_exception_model_name="call frame
"
4168 { echo "configure
: error
: unable to detect exception model
" 1>&2; exit 1; }
4171 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4172 ac_cpp='$CPP $CPPFLAGS'
4173 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4174 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4175 cross_compiling=$ac_cv_prog_cc_cross
4177 echo "$ac_t""$ac_exception_model_name" 1>&6
4180 echo $ac_n "checking
for use of libunwind
""...
$ac_c" 1>&6
4181 echo "configure
:4182: checking
for use of libunwind
" >&5
4182 # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
4183 if test "${enable_libunwind_exceptions+set}" = set; then
4184 enableval="$enable_libunwind_exceptions"
4185 use_libunwind_exceptions=$enableval
4187 use_libunwind_exceptions=no
4190 echo "$ac_t""$use_libunwind_exceptions" 1>&6
4191 if test x"$use_libunwind_exceptions" = xyes; then
4192 LIBUNWIND_FLAG="-lunwind"
4198 # Check whether --enable-concept-checks or --disable-concept-checks was given.
4199 if test "${enable_concept_checks+set}" = set; then
4200 enableval="$enable_concept_checks"
4201 case "$enableval" in
4202 yes) enable_concept_checks=yes ;;
4203 no) enable_concept_checks=no ;;
4204 *) { echo "configure
: error
: Unknown argument to enable
/disable concept checks
" 1>&2; exit 1; } ;;
4207 enable_concept_checks=no
4209 if test x"$enable_concept_checks" = xyes; then
4210 cat >> confdefs.h <<\EOF
4211 #define _GLIBCPP_CONCEPT_CHECKS 1
4216 echo $ac_n "checking
for extra compiler flags
for building
""...
$ac_c" 1>&6
4217 echo "configure
:4218: checking
for extra compiler flags
for building
" >&5
4218 # Check whether --enable-cxx_flags or --disable-cxx_flags was given.
4219 if test "${enable_cxx_flags+set}" = set; then
4220 enableval="$enable_cxx_flags"
4221 case "x
$enable_cxx_flags" in
4223 { echo "configure
: error
: --enable-cxx-flags needs compiler flags as arguments
" 1>&2; exit 1; } ;;
4225 enable_cxx_flags='' ;;
4227 enable_cxx_flags="$enableval" ;;
4234 if test -n "$enable_cxx_flags"; then
4235 for f in $enable_cxx_flags; do
4239 *) # and we're trying to pass /what/ exactly?
4240 { echo "configure
: error
: compiler flags start with a
-" 1>&2; exit 1; } ;;
4244 EXTRA_CXX_FLAGS="$enable_cxx_flags"
4245 echo "$ac_t""$EXTRA_CXX_FLAGS" 1>&6
4248 # Check whether --enable-debug or --disable-debug was given.
4249 if test "${enable_debug+set}" = set; then
4250 enableval="$enable_debug"
4251 case "${enableval}" in
4252 yes) enable_debug=yes ;;
4253 no) enable_debug=no ;;
4254 *) { echo "configure
: error
: Unknown argument to enable
/disable extra debugging
" 1>&2; exit 1; } ;;
4259 echo $ac_n "checking
for additional debug build
""...
$ac_c" 1>&6
4260 echo "configure
:4261: checking
for additional debug build
" >&5
4261 echo "$ac_t""$enable_debug" 1>&6
4264 if test "$enable_debug" = yes; then
4265 GLIBCPP_BUILD_DEBUG_TRUE=
4266 GLIBCPP_BUILD_DEBUG_FALSE='#'
4268 GLIBCPP_BUILD_DEBUG_TRUE='#'
4269 GLIBCPP_BUILD_DEBUG_FALSE=
4272 # Check whether --enable-debug_flags or --disable-debug_flags was given.
4273 if test "${enable_debug_flags+set}" = set; then
4274 enableval="$enable_debug_flags"
4275 case "${enableval}" in
4277 -*) enable_debug_flags="${enableval}" ;;
4278 *) { echo "configure
: error
: Unknown argument to extra debugging flags
" 1>&2; exit 1; } ;;
4281 enable_debug_flags=none
4284 case x"$enable_debug" in
4286 case "$enable_debug_flags" in
4288 DEBUG_FLAGS="-g3 -O0";;
4290 DEBUG_FLAGS="${enableval}"
4299 echo $ac_n "checking
for debug build flags
""...
$ac_c" 1>&6
4300 echo "configure
:4301: checking
for debug build flags
" >&5
4301 echo "$ac_t""$DEBUG_FLAGS" 1>&6
4304 # No surprises, no surprises...
4305 if test $ATOMICITYH = cpu/generic ; then
4306 echo "configure
: warning
: No native atomic operations are provided
for this platform.
" 1>&2
4307 if test $target_thread_file = single; then
4308 echo "configure
: warning
: They cannot be faked when thread support is disabled.
" 1>&2
4309 echo "configure
: warning
: Thread-safety of certain classes is not guaranteed.
" 1>&2
4311 echo "configure
: warning
: They will be faked using a mutex.
" 1>&2
4312 echo "configure
: warning
: Performance of certain classes will degrade as a result.
" 1>&2
4317 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
4319 # We are being configured with some form of cross compiler.
4320 GLIBCPP_IS_CROSS_COMPILING=1
4322 # This lets us hard-code the functionality we know we'll have in the cross
4323 # target environment. "Let
" is a sugar-coated word placed on an especially
4324 # dull and tedious hack, actually.
4326 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
4327 # that involve linking, can't be used:
4328 # "cannot open sim-crt0.o
"
4329 # "cannot open crt0.o
"
4330 # etc. All this is because there currently exists no unified, consistent
4331 # way for top level CC information to be passed down to target directories:
4332 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
4333 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
4334 # crosses can be removed.
4336 # If Canadian cross, then don't pick up tools from the build directory.
4337 # Used in GLIBCPP_EXPORT_INCLUDES (and nowhere else?).
4338 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
4344 # Construct crosses by hand, eliminating bits that need ld...
4345 # GLIBCPP_CHECK_COMPILER_FEATURES
4346 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4347 # GLIBCPP_CHECK_MATH_SUPPORT
4351 os_include_dir="os
/gnu-linux
"
4352 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4353 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4354 fp.h locale.h float.h inttypes.h
4356 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4357 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4358 echo "configure
:4359: checking
for $ac_hdr" >&5
4359 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4360 echo $ac_n "(cached
) $ac_c" 1>&6
4362 cat > conftest.$ac_ext <<EOF
4363 #line 4364 "configure
"
4364 #include "confdefs.h
"
4367 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4368 { (eval echo configure:4369: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4369 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4370 if test -z "$ac_err"; then
4372 eval "ac_cv_header_
$ac_safe=yes"
4375 echo "configure
: failed program was
:" >&5
4376 cat conftest.$ac_ext >&5
4378 eval "ac_cv_header_
$ac_safe=no
"
4382 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4383 echo "$ac_t""yes" 1>&6
4384 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4385 cat >> confdefs.h <<EOF
4386 #define $ac_tr_hdr 1
4390 echo "$ac_t""no
" 1>&6
4394 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4397 # If we're not using GNU ld, then there's no point in even trying these
4398 # tests. Check for that first. We should have already tested for gld
4399 # by now (in libtool), but require it now just to be safe...
4400 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4401 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4404 # The name set by libtool depends on the version of libtool. Shame on us
4405 # for depending on an impl detail, but c'est la vie. Older versions used
4406 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4407 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4408 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4409 # set (hence we're using an older libtool), then set it.
4410 if test x${with_gnu_ld+set} != xset; then
4411 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4412 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
4415 with_gnu_ld=$ac_cv_prog_gnu_ld
4419 # Start by getting the version number. I think the libtool test already
4420 # does some of this, but throws away the result.
4422 ldver=`$LD --version 2>/dev/null | head -1 | \
4423 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4425 glibcpp_gnu_ld_version=`echo $ldver | \
4426 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4428 # Set --gc-sections.
4429 if test "$with_gnu_ld" = "notbroken
"; then
4430 # GNU ld it is! Joy and bunny rabbits!
4432 # All these tests are for C++; save the language and the compiler flags.
4433 # Need to do this so that g++ won't try to link in libstdc++
4434 ac_test_CFLAGS="${CFLAGS+set}"
4435 ac_save_CFLAGS="$CFLAGS"
4436 CFLAGS='-x c++ -Wl,--gc-sections'
4438 # Check for -Wl,--gc-sections
4439 # XXX This test is broken at the moment, as symbols required for
4440 # linking are now in libsupc++ (not built yet.....). In addition,
4441 # this test has cored on solaris in the past. In addition,
4442 # --gc-sections doesn't really work at the moment (keeps on discarding
4443 # used sections, first .eh_frame and now some of the glibc sections for
4444 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4445 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
4446 echo "configure
:4447: checking
for ld that supports
-Wl,--gc-sections" >&5
4447 if test "$cross_compiling" = yes; then
4448 ac_sectionLDflags=yes
4450 cat > conftest.$ac_ext <<EOF
4451 #line 4452 "configure
"
4452 #include "confdefs.h
"
4462 if { (eval echo configure:4463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4464 ac_sectionLDflags=yes
4466 echo "configure
: failed program was
:" >&5
4467 cat conftest.$ac_ext >&5
4469 ac_sectionLDflags=no
4474 if test "$ac_test_CFLAGS" = set; then
4475 CFLAGS="$ac_save_CFLAGS"
4477 # this is the suspicious part
4480 if test "$ac_sectionLDflags" = "yes"; then
4481 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4483 echo "$ac_t""$ac_sectionLDflags" 1>&6
4486 # Set linker optimization flags.
4487 if test x"$with_gnu_ld" = x"yes"; then
4488 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4495 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
4496 echo "configure
:4497: checking
for main
in -lm" >&5
4497 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4498 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4499 echo $ac_n "(cached
) $ac_c" 1>&6
4501 ac_save_LIBS="$LIBS"
4503 cat > conftest.$ac_ext <<EOF
4504 #line 4505 "configure
"
4505 #include "confdefs.h
"
4511 if { (eval echo configure:4512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4513 eval "ac_cv_lib_
$ac_lib_var=yes"
4515 echo "configure
: failed program was
:" >&5
4516 cat conftest.$ac_ext >&5
4518 eval "ac_cv_lib_
$ac_lib_var=no
"
4521 LIBS="$ac_save_LIBS"
4524 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4525 echo "$ac_t""yes" 1>&6
4526 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4527 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4528 cat >> confdefs.h <<EOF
4529 #define $ac_tr_lib 1
4535 echo "$ac_t""no
" 1>&6
4538 for ac_func in nan copysignf
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 ${ac_func}.lo
"
4595 for ac_func in __signbit
4597 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4598 echo "configure
:4599: checking
for $ac_func" >&5
4599 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4600 echo $ac_n "(cached
) $ac_c" 1>&6
4602 cat > conftest.$ac_ext <<EOF
4603 #line 4604 "configure
"
4604 #include "confdefs.h
"
4605 /* System header to define __stub macros and hopefully few prototypes,
4606 which can conflict with char $ac_func(); below. */
4608 /* Override any gcc2 internal prototype to avoid an error. */
4609 /* We use char because int might match the return type of a gcc2
4610 builtin and then its argument prototype would still apply. */
4615 /* The GNU C library defines this for functions which it implements
4616 to always fail with ENOSYS. Some functions are actually named
4617 something starting with __ and the normal name is an alias. */
4618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4626 if { (eval echo configure:4627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4628 eval "ac_cv_func_
$ac_func=yes"
4630 echo "configure
: failed program was
:" >&5
4631 cat conftest.$ac_ext >&5
4633 eval "ac_cv_func_
$ac_func=no
"
4638 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4639 echo "$ac_t""yes" 1>&6
4640 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4641 cat >> confdefs.h <<EOF
4642 #define $ac_tr_func 1
4646 echo "$ac_t""no
" 1>&6
4647 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
4651 for ac_func in __signbitf
4653 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4654 echo "configure
:4655: checking
for $ac_func" >&5
4655 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4656 echo $ac_n "(cached
) $ac_c" 1>&6
4658 cat > conftest.$ac_ext <<EOF
4659 #line 4660 "configure
"
4660 #include "confdefs.h
"
4661 /* System header to define __stub macros and hopefully few prototypes,
4662 which can conflict with char $ac_func(); below. */
4664 /* Override any gcc2 internal prototype to avoid an error. */
4665 /* We use char because int might match the return type of a gcc2
4666 builtin and then its argument prototype would still apply. */
4671 /* The GNU C library defines this for functions which it implements
4672 to always fail with ENOSYS. Some functions are actually named
4673 something starting with __ and the normal name is an alias. */
4674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4682 if { (eval echo configure:4683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4684 eval "ac_cv_func_
$ac_func=yes"
4686 echo "configure
: failed program was
:" >&5
4687 cat conftest.$ac_ext >&5
4689 eval "ac_cv_func_
$ac_func=no
"
4694 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4695 echo "$ac_t""yes" 1>&6
4696 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4697 cat >> confdefs.h <<EOF
4698 #define $ac_tr_func 1
4702 echo "$ac_t""no
" 1>&6
4703 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
4708 if test x$ac_cv_func_copysignl = x"yes"; then
4709 for ac_func in __signbitl
4711 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4712 echo "configure
:4713: checking
for $ac_func" >&5
4713 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4714 echo $ac_n "(cached
) $ac_c" 1>&6
4716 cat > conftest.$ac_ext <<EOF
4717 #line 4718 "configure
"
4718 #include "confdefs.h
"
4719 /* System header to define __stub macros and hopefully few prototypes,
4720 which can conflict with char $ac_func(); below. */
4722 /* Override any gcc2 internal prototype to avoid an error. */
4723 /* We use char because int might match the return type of a gcc2
4724 builtin and then its argument prototype would still apply. */
4729 /* The GNU C library defines this for functions which it implements
4730 to always fail with ENOSYS. Some functions are actually named
4731 something starting with __ and the normal name is an alias. */
4732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4740 if { (eval echo configure:4741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4742 eval "ac_cv_func_
$ac_func=yes"
4744 echo "configure
: failed program was
:" >&5
4745 cat conftest.$ac_ext >&5
4747 eval "ac_cv_func_
$ac_func=no
"
4752 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4753 echo "$ac_t""yes" 1>&6
4754 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4755 cat >> confdefs.h <<EOF
4756 #define $ac_tr_func 1
4760 echo "$ac_t""no
" 1>&6
4761 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
4767 if test -n "$LIBMATHOBJS"; then
4773 if test "$need_libmath" = yes; then
4774 GLIBCPP_BUILD_LIBMATH_TRUE=
4775 GLIBCPP_BUILD_LIBMATH_FALSE='#'
4777 GLIBCPP_BUILD_LIBMATH_TRUE='#'
4778 GLIBCPP_BUILD_LIBMATH_FALSE=
4784 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
4785 echo "configure
:4786: checking
for mbstate_t
" >&5
4786 cat > conftest.$ac_ext <<EOF
4787 #line 4788 "configure
"
4788 #include "confdefs.h
"
4791 mbstate_t teststate;
4794 if { (eval echo configure:4795: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4798 echo "configure
: failed program was
:" >&5
4799 cat conftest.$ac_ext >&5
4804 echo "$ac_t""$have_mbstate_t" 1>&6
4805 if test x"$have_mbstate_t" = xyes; then
4806 cat >> confdefs.h <<\EOF
4807 #define HAVE_MBSTATE_T 1
4812 for ac_hdr in wchar.h
4814 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4815 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4816 echo "configure
:4817: checking
for $ac_hdr" >&5
4817 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4818 echo $ac_n "(cached
) $ac_c" 1>&6
4820 cat > conftest.$ac_ext <<EOF
4821 #line 4822 "configure
"
4822 #include "confdefs.h
"
4825 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4826 { (eval echo configure:4827: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4827 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4828 if test -z "$ac_err"; then
4830 eval "ac_cv_header_
$ac_safe=yes"
4833 echo "configure
: failed program was
:" >&5
4834 cat conftest.$ac_ext >&5
4836 eval "ac_cv_header_
$ac_safe=no
"
4840 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4841 echo "$ac_t""yes" 1>&6
4842 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4843 cat >> confdefs.h <<EOF
4844 #define $ac_tr_hdr 1
4848 echo "$ac_t""no
" 1>&6
4853 for ac_hdr in wctype.h
4855 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4856 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4857 echo "configure
:4858: checking
for $ac_hdr" >&5
4858 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4859 echo $ac_n "(cached
) $ac_c" 1>&6
4861 cat > conftest.$ac_ext <<EOF
4862 #line 4863 "configure
"
4863 #include "confdefs.h
"
4866 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4867 { (eval echo configure:4868: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4868 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4869 if test -z "$ac_err"; then
4871 eval "ac_cv_header_
$ac_safe=yes"
4874 echo "configure
: failed program was
:" >&5
4875 cat conftest.$ac_ext >&5
4877 eval "ac_cv_header_
$ac_safe=no
"
4881 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4882 echo "$ac_t""yes" 1>&6
4883 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4884 cat >> confdefs.h <<EOF
4885 #define $ac_tr_hdr 1
4889 echo "$ac_t""no
" 1>&6
4895 if test x"$ac_has_wchar_h" = xyes &&
4896 test x"$ac_has_wctype_h" = xyes &&
4897 test x"$enable_c_mbchar" != xno; then
4899 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
4900 echo "configure
:4901: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
4901 cat > conftest.$ac_ext <<EOF
4902 #line 4903 "configure
"
4903 #include "confdefs.h
"
4906 int i = WCHAR_MIN; int j = WCHAR_MAX;
4909 if { (eval echo configure:4910: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4911 has_wchar_minmax=yes
4913 echo "configure
: failed program was
:" >&5
4914 cat conftest.$ac_ext >&5
4919 echo "$ac_t""$has_wchar_minmax" 1>&6
4921 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
4922 echo "configure
:4923: checking
for WEOF
" >&5
4923 cat > conftest.$ac_ext <<EOF
4924 #line 4925 "configure
"
4925 #include "confdefs.h
"
4933 if { (eval echo configure:4934: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4937 echo "configure
: failed program was
:" >&5
4938 cat conftest.$ac_ext >&5
4943 echo "$ac_t""$has_weof" 1>&6
4946 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4948 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4949 echo "configure
:4950: checking
for $ac_func" >&5
4950 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4951 echo $ac_n "(cached
) $ac_c" 1>&6
4953 cat > conftest.$ac_ext <<EOF
4954 #line 4955 "configure
"
4955 #include "confdefs.h
"
4956 /* System header to define __stub macros and hopefully few prototypes,
4957 which can conflict with char $ac_func(); below. */
4959 /* Override any gcc2 internal prototype to avoid an error. */
4960 /* We use char because int might match the return type of a gcc2
4961 builtin and then its argument prototype would still apply. */
4966 /* The GNU C library defines this for functions which it implements
4967 to always fail with ENOSYS. Some functions are actually named
4968 something starting with __ and the normal name is an alias. */
4969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4977 if { (eval echo configure:4978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4979 eval "ac_cv_func_
$ac_func=yes"
4981 echo "configure
: failed program was
:" >&5
4982 cat conftest.$ac_ext >&5
4984 eval "ac_cv_func_
$ac_func=no
"
4989 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4990 echo "$ac_t""yes" 1>&6
4991 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4992 cat >> confdefs.h <<EOF
4993 #define $ac_tr_func 1
4997 echo "$ac_t""no
" 1>&6
5004 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
5005 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5006 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5007 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5008 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5009 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5011 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5012 echo "configure
:5013: checking
for $ac_func" >&5
5013 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5014 echo $ac_n "(cached
) $ac_c" 1>&6
5016 cat > conftest.$ac_ext <<EOF
5017 #line 5018 "configure
"
5018 #include "confdefs.h
"
5019 /* System header to define __stub macros and hopefully few prototypes,
5020 which can conflict with char $ac_func(); below. */
5022 /* Override any gcc2 internal prototype to avoid an error. */
5023 /* We use char because int might match the return type of a gcc2
5024 builtin and then its argument prototype would still apply. */
5029 /* The GNU C library defines this for functions which it implements
5030 to always fail with ENOSYS. Some functions are actually named
5031 something starting with __ and the normal name is an alias. */
5032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5040 if { (eval echo configure:5041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5042 eval "ac_cv_func_
$ac_func=yes"
5044 echo "configure
: failed program was
:" >&5
5045 cat conftest.$ac_ext >&5
5047 eval "ac_cv_func_
$ac_func=no
"
5052 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5053 echo "$ac_t""yes" 1>&6
5054 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5055 cat >> confdefs.h <<EOF
5056 #define $ac_tr_func 1
5060 echo "$ac_t""no
" 1>&6
5067 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
5068 echo "configure
:5069: checking
for ISO C99 wchar_t support
" >&5
5069 if test x"$has_weof" = xyes &&
5070 test x"$has_wchar_minmax" = xyes &&
5071 test x"$ac_wfuncs" = xyes; then
5072 ac_isoC99_wchar_t=yes
5074 ac_isoC99_wchar_t=no
5076 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
5078 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
5079 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
5080 echo "configure
:5081: checking
for iconv.h
" >&5
5081 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+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
"
5089 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5090 { (eval echo configure:5091: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5091 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5092 if test -z "$ac_err"; then
5094 eval "ac_cv_header_
$ac_safe=yes"
5097 echo "configure
: failed program was
:" >&5
5098 cat conftest.$ac_ext >&5
5100 eval "ac_cv_header_
$ac_safe=no
"
5104 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5105 echo "$ac_t""yes" 1>&6
5108 echo "$ac_t""no
" 1>&6
5112 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
5113 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
5114 echo "configure
:5115: checking
for langinfo.h
" >&5
5115 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5116 echo $ac_n "(cached
) $ac_c" 1>&6
5118 cat > conftest.$ac_ext <<EOF
5119 #line 5120 "configure
"
5120 #include "confdefs.h
"
5121 #include <langinfo.h>
5123 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5124 { (eval echo configure:5125: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5125 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5126 if test -z "$ac_err"; then
5128 eval "ac_cv_header_
$ac_safe=yes"
5131 echo "configure
: failed program was
:" >&5
5132 cat conftest.$ac_ext >&5
5134 eval "ac_cv_header_
$ac_safe=no
"
5138 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5139 echo "$ac_t""yes" 1>&6
5140 ac_has_langinfo_h=yes
5142 echo "$ac_t""no
" 1>&6
5143 ac_has_langinfo_h=no
5147 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
5148 echo "configure
:5149: checking
for iconv in -liconv" >&5
5149 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5150 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5151 echo $ac_n "(cached
) $ac_c" 1>&6
5153 ac_save_LIBS="$LIBS"
5154 LIBS="-liconv $LIBS"
5155 cat > conftest.$ac_ext <<EOF
5156 #line 5157 "configure
"
5157 #include "confdefs.h
"
5158 /* Override any gcc2 internal prototype to avoid an error. */
5159 /* We use char because int might match the return type of a gcc2
5160 builtin and then its argument prototype would still apply. */
5167 if { (eval echo configure:5168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5169 eval "ac_cv_lib_
$ac_lib_var=yes"
5171 echo "configure
: failed program was
:" >&5
5172 cat conftest.$ac_ext >&5
5174 eval "ac_cv_lib_
$ac_lib_var=no
"
5177 LIBS="$ac_save_LIBS"
5180 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5181 echo "$ac_t""yes" 1>&6
5184 echo "$ac_t""no
" 1>&6
5187 ac_save_LIBS="$LIBS"
5188 LIBS="$LIBS $libiconv"
5190 for ac_func in iconv_open iconv_close iconv nl_langinfo
5192 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5193 echo "configure
:5194: checking
for $ac_func" >&5
5194 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5195 echo $ac_n "(cached
) $ac_c" 1>&6
5197 cat > conftest.$ac_ext <<EOF
5198 #line 5199 "configure
"
5199 #include "confdefs.h
"
5200 /* System header to define __stub macros and hopefully few prototypes,
5201 which can conflict with char $ac_func(); below. */
5203 /* Override any gcc2 internal prototype to avoid an error. */
5204 /* We use char because int might match the return type of a gcc2
5205 builtin and then its argument prototype would still apply. */
5210 /* The GNU C library defines this for functions which it implements
5211 to always fail with ENOSYS. Some functions are actually named
5212 something starting with __ and the normal name is an alias. */
5213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5221 if { (eval echo configure:5222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5223 eval "ac_cv_func_
$ac_func=yes"
5225 echo "configure
: failed program was
:" >&5
5226 cat conftest.$ac_ext >&5
5228 eval "ac_cv_func_
$ac_func=no
"
5233 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5234 echo "$ac_t""yes" 1>&6
5235 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5236 cat >> confdefs.h <<EOF
5237 #define $ac_tr_func 1
5242 echo "$ac_t""no
" 1>&6
5248 LIBS="$ac_save_LIBS"
5250 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
5251 echo "configure
:5252: checking
for XPG2 wchar_t support
" >&5
5252 if test x"$ac_has_iconv_h" = xyes &&
5253 test x"$ac_has_langinfo_h" = xyes &&
5254 test x"$ac_XPG2funcs" = xyes; then
5259 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5261 if test x"$ac_isoC99_wchar_t" = xyes &&
5262 test x"$ac_XPG2_wchar_t" = xyes; then
5263 cat >> confdefs.h <<\EOF
5264 #define _GLIBCPP_USE_WCHAR_T 1
5270 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
5271 echo "configure
:5272: checking
for enabled wchar_t specializations
" >&5
5272 echo "$ac_t""$enable_wchar_t" 1>&6
5275 if test "$enable_wchar_t" = yes; then
5276 GLIBCPP_TEST_WCHAR_T_TRUE=
5277 GLIBCPP_TEST_WCHAR_T_FALSE='#'
5279 GLIBCPP_TEST_WCHAR_T_TRUE='#'
5280 GLIBCPP_TEST_WCHAR_T_FALSE=
5283 cat >> confdefs.h <<\EOF
5284 #define HAVE_COPYSIGN 1
5287 cat >> confdefs.h <<\EOF
5288 #define HAVE_COPYSIGNF 1
5291 cat >> confdefs.h <<\EOF
5292 #define HAVE_FINITE 1
5295 cat >> confdefs.h <<\EOF
5296 #define HAVE_FINITEF 1
5299 cat >> confdefs.h <<\EOF
5300 #define HAVE_FREXPF 1
5303 cat >> confdefs.h <<\EOF
5304 #define HAVE_HYPOTF 1
5307 cat >> confdefs.h <<\EOF
5308 #define HAVE_ISINF 1
5311 cat >> confdefs.h <<\EOF
5312 #define HAVE_ISINFF 1
5315 cat >> confdefs.h <<\EOF
5316 #define HAVE_ISNAN 1
5319 cat >> confdefs.h <<\EOF
5320 #define HAVE_ISNANF 1
5323 cat >> confdefs.h <<\EOF
5324 #define HAVE_SINCOS 1
5327 cat >> confdefs.h <<\EOF
5328 #define HAVE_SINCOSF 1
5331 if test x"long_double_math_on_this_cpu
" = x"yes"; then
5332 cat >> confdefs.h <<\EOF
5333 #define HAVE_FINITEL 1
5336 cat >> confdefs.h <<\EOF
5337 #define HAVE_HYPOTL 1
5340 cat >> confdefs.h <<\EOF
5341 #define HAVE_ISINFL 1
5344 cat >> confdefs.h <<\EOF
5345 #define HAVE_ISNANL 1
5351 os_include_dir="os
/hpux
"
5352 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5353 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5354 fp.h locale.h float.h inttypes.h
5356 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5357 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5358 echo "configure
:5359: checking
for $ac_hdr" >&5
5359 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5360 echo $ac_n "(cached
) $ac_c" 1>&6
5362 cat > conftest.$ac_ext <<EOF
5363 #line 5364 "configure
"
5364 #include "confdefs.h
"
5367 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5368 { (eval echo configure:5369: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5369 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5370 if test -z "$ac_err"; then
5372 eval "ac_cv_header_
$ac_safe=yes"
5375 echo "configure
: failed program was
:" >&5
5376 cat conftest.$ac_ext >&5
5378 eval "ac_cv_header_
$ac_safe=no
"
5382 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5383 echo "$ac_t""yes" 1>&6
5384 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5385 cat >> confdefs.h <<EOF
5386 #define $ac_tr_hdr 1
5390 echo "$ac_t""no
" 1>&6
5394 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5397 # If we're not using GNU ld, then there's no point in even trying these
5398 # tests. Check for that first. We should have already tested for gld
5399 # by now (in libtool), but require it now just to be safe...
5400 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5401 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5404 # The name set by libtool depends on the version of libtool. Shame on us
5405 # for depending on an impl detail, but c'est la vie. Older versions used
5406 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
5407 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
5408 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
5409 # set (hence we're using an older libtool), then set it.
5410 if test x${with_gnu_ld+set} != xset; then
5411 if test x${ac_cv_prog_gnu_ld+set} != xset; then
5412 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
5415 with_gnu_ld=$ac_cv_prog_gnu_ld
5419 # Start by getting the version number. I think the libtool test already
5420 # does some of this, but throws away the result.
5422 ldver=`$LD --version 2>/dev/null | head -1 | \
5423 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
5425 glibcpp_gnu_ld_version=`echo $ldver | \
5426 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
5428 # Set --gc-sections.
5429 if test "$with_gnu_ld" = "notbroken
"; then
5430 # GNU ld it is! Joy and bunny rabbits!
5432 # All these tests are for C++; save the language and the compiler flags.
5433 # Need to do this so that g++ won't try to link in libstdc++
5434 ac_test_CFLAGS="${CFLAGS+set}"
5435 ac_save_CFLAGS="$CFLAGS"
5436 CFLAGS='-x c++ -Wl,--gc-sections'
5438 # Check for -Wl,--gc-sections
5439 # XXX This test is broken at the moment, as symbols required for
5440 # linking are now in libsupc++ (not built yet.....). In addition,
5441 # this test has cored on solaris in the past. In addition,
5442 # --gc-sections doesn't really work at the moment (keeps on discarding
5443 # used sections, first .eh_frame and now some of the glibc sections for
5444 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5445 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
5446 echo "configure
:5447: checking
for ld that supports
-Wl,--gc-sections" >&5
5447 if test "$cross_compiling" = yes; then
5448 ac_sectionLDflags=yes
5450 cat > conftest.$ac_ext <<EOF
5451 #line 5452 "configure
"
5452 #include "confdefs.h
"
5462 if { (eval echo configure:5463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5464 ac_sectionLDflags=yes
5466 echo "configure
: failed program was
:" >&5
5467 cat conftest.$ac_ext >&5
5469 ac_sectionLDflags=no
5474 if test "$ac_test_CFLAGS" = set; then
5475 CFLAGS="$ac_save_CFLAGS"
5477 # this is the suspicious part
5480 if test "$ac_sectionLDflags" = "yes"; then
5481 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5483 echo "$ac_t""$ac_sectionLDflags" 1>&6
5486 # Set linker optimization flags.
5487 if test x"$with_gnu_ld" = x"yes"; then
5488 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5495 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
5496 echo "configure
:5497: checking
for main
in -lm" >&5
5497 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5498 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5499 echo $ac_n "(cached
) $ac_c" 1>&6
5501 ac_save_LIBS="$LIBS"
5503 cat > conftest.$ac_ext <<EOF
5504 #line 5505 "configure
"
5505 #include "confdefs.h
"
5511 if { (eval echo configure:5512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5513 eval "ac_cv_lib_
$ac_lib_var=yes"
5515 echo "configure
: failed program was
:" >&5
5516 cat conftest.$ac_ext >&5
5518 eval "ac_cv_lib_
$ac_lib_var=no
"
5521 LIBS="$ac_save_LIBS"
5524 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5525 echo "$ac_t""yes" 1>&6
5526 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5527 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5528 cat >> confdefs.h <<EOF
5529 #define $ac_tr_lib 1
5535 echo "$ac_t""no
" 1>&6
5538 for ac_func in nan copysignf
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 ${ac_func}.lo
"
5595 for ac_func in __signbit
5597 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5598 echo "configure
:5599: checking
for $ac_func" >&5
5599 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5600 echo $ac_n "(cached
) $ac_c" 1>&6
5602 cat > conftest.$ac_ext <<EOF
5603 #line 5604 "configure
"
5604 #include "confdefs.h
"
5605 /* System header to define __stub macros and hopefully few prototypes,
5606 which can conflict with char $ac_func(); below. */
5608 /* Override any gcc2 internal prototype to avoid an error. */
5609 /* We use char because int might match the return type of a gcc2
5610 builtin and then its argument prototype would still apply. */
5615 /* The GNU C library defines this for functions which it implements
5616 to always fail with ENOSYS. Some functions are actually named
5617 something starting with __ and the normal name is an alias. */
5618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5626 if { (eval echo configure:5627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5628 eval "ac_cv_func_
$ac_func=yes"
5630 echo "configure
: failed program was
:" >&5
5631 cat conftest.$ac_ext >&5
5633 eval "ac_cv_func_
$ac_func=no
"
5638 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5639 echo "$ac_t""yes" 1>&6
5640 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5641 cat >> confdefs.h <<EOF
5642 #define $ac_tr_func 1
5646 echo "$ac_t""no
" 1>&6
5647 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
5651 for ac_func in __signbitf
5653 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5654 echo "configure
:5655: checking
for $ac_func" >&5
5655 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5656 echo $ac_n "(cached
) $ac_c" 1>&6
5658 cat > conftest.$ac_ext <<EOF
5659 #line 5660 "configure
"
5660 #include "confdefs.h
"
5661 /* System header to define __stub macros and hopefully few prototypes,
5662 which can conflict with char $ac_func(); below. */
5664 /* Override any gcc2 internal prototype to avoid an error. */
5665 /* We use char because int might match the return type of a gcc2
5666 builtin and then its argument prototype would still apply. */
5671 /* The GNU C library defines this for functions which it implements
5672 to always fail with ENOSYS. Some functions are actually named
5673 something starting with __ and the normal name is an alias. */
5674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5682 if { (eval echo configure:5683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5684 eval "ac_cv_func_
$ac_func=yes"
5686 echo "configure
: failed program was
:" >&5
5687 cat conftest.$ac_ext >&5
5689 eval "ac_cv_func_
$ac_func=no
"
5694 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5695 echo "$ac_t""yes" 1>&6
5696 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5697 cat >> confdefs.h <<EOF
5698 #define $ac_tr_func 1
5702 echo "$ac_t""no
" 1>&6
5703 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
5708 if test x$ac_cv_func_copysignl = x"yes"; then
5709 for ac_func in __signbitl
5711 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5712 echo "configure
:5713: checking
for $ac_func" >&5
5713 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5714 echo $ac_n "(cached
) $ac_c" 1>&6
5716 cat > conftest.$ac_ext <<EOF
5717 #line 5718 "configure
"
5718 #include "confdefs.h
"
5719 /* System header to define __stub macros and hopefully few prototypes,
5720 which can conflict with char $ac_func(); below. */
5722 /* Override any gcc2 internal prototype to avoid an error. */
5723 /* We use char because int might match the return type of a gcc2
5724 builtin and then its argument prototype would still apply. */
5729 /* The GNU C library defines this for functions which it implements
5730 to always fail with ENOSYS. Some functions are actually named
5731 something starting with __ and the normal name is an alias. */
5732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5740 if { (eval echo configure:5741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5742 eval "ac_cv_func_
$ac_func=yes"
5744 echo "configure
: failed program was
:" >&5
5745 cat conftest.$ac_ext >&5
5747 eval "ac_cv_func_
$ac_func=no
"
5752 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5753 echo "$ac_t""yes" 1>&6
5754 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5755 cat >> confdefs.h <<EOF
5756 #define $ac_tr_func 1
5760 echo "$ac_t""no
" 1>&6
5761 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
5767 if test -n "$LIBMATHOBJS"; then
5773 if test "$need_libmath" = yes; then
5774 GLIBCPP_BUILD_LIBMATH_TRUE=
5775 GLIBCPP_BUILD_LIBMATH_FALSE='#'
5777 GLIBCPP_BUILD_LIBMATH_TRUE='#'
5778 GLIBCPP_BUILD_LIBMATH_FALSE=
5784 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
5785 echo "configure
:5786: checking
for mbstate_t
" >&5
5786 cat > conftest.$ac_ext <<EOF
5787 #line 5788 "configure
"
5788 #include "confdefs.h
"
5791 mbstate_t teststate;
5794 if { (eval echo configure:5795: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5798 echo "configure
: failed program was
:" >&5
5799 cat conftest.$ac_ext >&5
5804 echo "$ac_t""$have_mbstate_t" 1>&6
5805 if test x"$have_mbstate_t" = xyes; then
5806 cat >> confdefs.h <<\EOF
5807 #define HAVE_MBSTATE_T 1
5812 for ac_hdr in wchar.h
5814 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5815 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5816 echo "configure
:5817: checking
for $ac_hdr" >&5
5817 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5818 echo $ac_n "(cached
) $ac_c" 1>&6
5820 cat > conftest.$ac_ext <<EOF
5821 #line 5822 "configure
"
5822 #include "confdefs.h
"
5825 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5826 { (eval echo configure:5827: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5827 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5828 if test -z "$ac_err"; then
5830 eval "ac_cv_header_
$ac_safe=yes"
5833 echo "configure
: failed program was
:" >&5
5834 cat conftest.$ac_ext >&5
5836 eval "ac_cv_header_
$ac_safe=no
"
5840 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5841 echo "$ac_t""yes" 1>&6
5842 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5843 cat >> confdefs.h <<EOF
5844 #define $ac_tr_hdr 1
5848 echo "$ac_t""no
" 1>&6
5853 for ac_hdr in wctype.h
5855 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5856 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5857 echo "configure
:5858: checking
for $ac_hdr" >&5
5858 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5859 echo $ac_n "(cached
) $ac_c" 1>&6
5861 cat > conftest.$ac_ext <<EOF
5862 #line 5863 "configure
"
5863 #include "confdefs.h
"
5866 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5867 { (eval echo configure:5868: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5868 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5869 if test -z "$ac_err"; then
5871 eval "ac_cv_header_
$ac_safe=yes"
5874 echo "configure
: failed program was
:" >&5
5875 cat conftest.$ac_ext >&5
5877 eval "ac_cv_header_
$ac_safe=no
"
5881 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5882 echo "$ac_t""yes" 1>&6
5883 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5884 cat >> confdefs.h <<EOF
5885 #define $ac_tr_hdr 1
5889 echo "$ac_t""no
" 1>&6
5895 if test x"$ac_has_wchar_h" = xyes &&
5896 test x"$ac_has_wctype_h" = xyes &&
5897 test x"$enable_c_mbchar" != xno; then
5899 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
5900 echo "configure
:5901: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
5901 cat > conftest.$ac_ext <<EOF
5902 #line 5903 "configure
"
5903 #include "confdefs.h
"
5906 int i = WCHAR_MIN; int j = WCHAR_MAX;
5909 if { (eval echo configure:5910: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5911 has_wchar_minmax=yes
5913 echo "configure
: failed program was
:" >&5
5914 cat conftest.$ac_ext >&5
5919 echo "$ac_t""$has_wchar_minmax" 1>&6
5921 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
5922 echo "configure
:5923: checking
for WEOF
" >&5
5923 cat > conftest.$ac_ext <<EOF
5924 #line 5925 "configure
"
5925 #include "confdefs.h
"
5933 if { (eval echo configure:5934: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5937 echo "configure
: failed program was
:" >&5
5938 cat conftest.$ac_ext >&5
5943 echo "$ac_t""$has_weof" 1>&6
5946 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5948 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5949 echo "configure
:5950: checking
for $ac_func" >&5
5950 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5951 echo $ac_n "(cached
) $ac_c" 1>&6
5953 cat > conftest.$ac_ext <<EOF
5954 #line 5955 "configure
"
5955 #include "confdefs.h
"
5956 /* System header to define __stub macros and hopefully few prototypes,
5957 which can conflict with char $ac_func(); below. */
5959 /* Override any gcc2 internal prototype to avoid an error. */
5960 /* We use char because int might match the return type of a gcc2
5961 builtin and then its argument prototype would still apply. */
5966 /* The GNU C library defines this for functions which it implements
5967 to always fail with ENOSYS. Some functions are actually named
5968 something starting with __ and the normal name is an alias. */
5969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5977 if { (eval echo configure:5978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5979 eval "ac_cv_func_
$ac_func=yes"
5981 echo "configure
: failed program was
:" >&5
5982 cat conftest.$ac_ext >&5
5984 eval "ac_cv_func_
$ac_func=no
"
5989 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5990 echo "$ac_t""yes" 1>&6
5991 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5992 cat >> confdefs.h <<EOF
5993 #define $ac_tr_func 1
5997 echo "$ac_t""no
" 1>&6
6004 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
6005 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6006 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6007 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6008 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6009 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6011 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6012 echo "configure
:6013: checking
for $ac_func" >&5
6013 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6014 echo $ac_n "(cached
) $ac_c" 1>&6
6016 cat > conftest.$ac_ext <<EOF
6017 #line 6018 "configure
"
6018 #include "confdefs.h
"
6019 /* System header to define __stub macros and hopefully few prototypes,
6020 which can conflict with char $ac_func(); below. */
6022 /* Override any gcc2 internal prototype to avoid an error. */
6023 /* We use char because int might match the return type of a gcc2
6024 builtin and then its argument prototype would still apply. */
6029 /* The GNU C library defines this for functions which it implements
6030 to always fail with ENOSYS. Some functions are actually named
6031 something starting with __ and the normal name is an alias. */
6032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6040 if { (eval echo configure:6041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6042 eval "ac_cv_func_
$ac_func=yes"
6044 echo "configure
: failed program was
:" >&5
6045 cat conftest.$ac_ext >&5
6047 eval "ac_cv_func_
$ac_func=no
"
6052 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6053 echo "$ac_t""yes" 1>&6
6054 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6055 cat >> confdefs.h <<EOF
6056 #define $ac_tr_func 1
6060 echo "$ac_t""no
" 1>&6
6067 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
6068 echo "configure
:6069: checking
for ISO C99 wchar_t support
" >&5
6069 if test x"$has_weof" = xyes &&
6070 test x"$has_wchar_minmax" = xyes &&
6071 test x"$ac_wfuncs" = xyes; then
6072 ac_isoC99_wchar_t=yes
6074 ac_isoC99_wchar_t=no
6076 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6078 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
6079 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
6080 echo "configure
:6081: checking
for iconv.h
" >&5
6081 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+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
"
6089 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6090 { (eval echo configure:6091: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6091 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6092 if test -z "$ac_err"; then
6094 eval "ac_cv_header_
$ac_safe=yes"
6097 echo "configure
: failed program was
:" >&5
6098 cat conftest.$ac_ext >&5
6100 eval "ac_cv_header_
$ac_safe=no
"
6104 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6105 echo "$ac_t""yes" 1>&6
6108 echo "$ac_t""no
" 1>&6
6112 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
6113 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
6114 echo "configure
:6115: checking
for langinfo.h
" >&5
6115 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6116 echo $ac_n "(cached
) $ac_c" 1>&6
6118 cat > conftest.$ac_ext <<EOF
6119 #line 6120 "configure
"
6120 #include "confdefs.h
"
6121 #include <langinfo.h>
6123 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6124 { (eval echo configure:6125: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6125 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6126 if test -z "$ac_err"; then
6128 eval "ac_cv_header_
$ac_safe=yes"
6131 echo "configure
: failed program was
:" >&5
6132 cat conftest.$ac_ext >&5
6134 eval "ac_cv_header_
$ac_safe=no
"
6138 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6139 echo "$ac_t""yes" 1>&6
6140 ac_has_langinfo_h=yes
6142 echo "$ac_t""no
" 1>&6
6143 ac_has_langinfo_h=no
6147 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
6148 echo "configure
:6149: checking
for iconv in -liconv" >&5
6149 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6150 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6151 echo $ac_n "(cached
) $ac_c" 1>&6
6153 ac_save_LIBS="$LIBS"
6154 LIBS="-liconv $LIBS"
6155 cat > conftest.$ac_ext <<EOF
6156 #line 6157 "configure
"
6157 #include "confdefs.h
"
6158 /* Override any gcc2 internal prototype to avoid an error. */
6159 /* We use char because int might match the return type of a gcc2
6160 builtin and then its argument prototype would still apply. */
6167 if { (eval echo configure:6168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6169 eval "ac_cv_lib_
$ac_lib_var=yes"
6171 echo "configure
: failed program was
:" >&5
6172 cat conftest.$ac_ext >&5
6174 eval "ac_cv_lib_
$ac_lib_var=no
"
6177 LIBS="$ac_save_LIBS"
6180 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6181 echo "$ac_t""yes" 1>&6
6184 echo "$ac_t""no
" 1>&6
6187 ac_save_LIBS="$LIBS"
6188 LIBS="$LIBS $libiconv"
6190 for ac_func in iconv_open iconv_close iconv nl_langinfo
6192 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6193 echo "configure
:6194: checking
for $ac_func" >&5
6194 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6195 echo $ac_n "(cached
) $ac_c" 1>&6
6197 cat > conftest.$ac_ext <<EOF
6198 #line 6199 "configure
"
6199 #include "confdefs.h
"
6200 /* System header to define __stub macros and hopefully few prototypes,
6201 which can conflict with char $ac_func(); below. */
6203 /* Override any gcc2 internal prototype to avoid an error. */
6204 /* We use char because int might match the return type of a gcc2
6205 builtin and then its argument prototype would still apply. */
6210 /* The GNU C library defines this for functions which it implements
6211 to always fail with ENOSYS. Some functions are actually named
6212 something starting with __ and the normal name is an alias. */
6213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6221 if { (eval echo configure:6222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6223 eval "ac_cv_func_
$ac_func=yes"
6225 echo "configure
: failed program was
:" >&5
6226 cat conftest.$ac_ext >&5
6228 eval "ac_cv_func_
$ac_func=no
"
6233 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6234 echo "$ac_t""yes" 1>&6
6235 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6236 cat >> confdefs.h <<EOF
6237 #define $ac_tr_func 1
6242 echo "$ac_t""no
" 1>&6
6248 LIBS="$ac_save_LIBS"
6250 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
6251 echo "configure
:6252: checking
for XPG2 wchar_t support
" >&5
6252 if test x"$ac_has_iconv_h" = xyes &&
6253 test x"$ac_has_langinfo_h" = xyes &&
6254 test x"$ac_XPG2funcs" = xyes; then
6259 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6261 if test x"$ac_isoC99_wchar_t" = xyes &&
6262 test x"$ac_XPG2_wchar_t" = xyes; then
6263 cat >> confdefs.h <<\EOF
6264 #define _GLIBCPP_USE_WCHAR_T 1
6270 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
6271 echo "configure
:6272: checking
for enabled wchar_t specializations
" >&5
6272 echo "$ac_t""$enable_wchar_t" 1>&6
6275 if test "$enable_wchar_t" = yes; then
6276 GLIBCPP_TEST_WCHAR_T_TRUE=
6277 GLIBCPP_TEST_WCHAR_T_FALSE='#'
6279 GLIBCPP_TEST_WCHAR_T_TRUE='#'
6280 GLIBCPP_TEST_WCHAR_T_FALSE=
6283 cat >> confdefs.h <<\EOF
6284 #define HAVE_COPYSIGN 1
6287 cat >> confdefs.h <<\EOF
6288 #define HAVE_COPYSIGNF 1
6291 cat >> confdefs.h <<\EOF
6292 #define HAVE_FREXPF 1
6295 cat >> confdefs.h <<\EOF
6296 #define HAVE_HYPOT 1
6301 cat >> confdefs.h <<\EOF
6302 #define HAVE_FINITE 1
6305 cat >> confdefs.h <<\EOF
6306 #define HAVE_FINITEF 1
6309 cat >> confdefs.h <<\EOF
6310 #define HAVE_ISINF 1
6313 cat >> confdefs.h <<\EOF
6314 #define HAVE_ISINFF 1
6317 cat >> confdefs.h <<\EOF
6318 #define HAVE_ISNAN 1
6321 cat >> confdefs.h <<\EOF
6322 #define HAVE_ISNANF 1
6329 os_include_dir="os
/bsd
/netbsd
"
6330 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
6331 machine/endian.h machine/param.h sys/machine.h sys/types.h \
6332 fp.h locale.h float.h inttypes.h
6334 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6335 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6336 echo "configure
:6337: checking
for $ac_hdr" >&5
6337 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6338 echo $ac_n "(cached
) $ac_c" 1>&6
6340 cat > conftest.$ac_ext <<EOF
6341 #line 6342 "configure
"
6342 #include "confdefs.h
"
6345 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6346 { (eval echo configure:6347: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6347 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6348 if test -z "$ac_err"; then
6350 eval "ac_cv_header_
$ac_safe=yes"
6353 echo "configure
: failed program was
:" >&5
6354 cat conftest.$ac_ext >&5
6356 eval "ac_cv_header_
$ac_safe=no
"
6360 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6361 echo "$ac_t""yes" 1>&6
6362 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6363 cat >> confdefs.h <<EOF
6364 #define $ac_tr_hdr 1
6368 echo "$ac_t""no
" 1>&6
6372 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6375 # If we're not using GNU ld, then there's no point in even trying these
6376 # tests. Check for that first. We should have already tested for gld
6377 # by now (in libtool), but require it now just to be safe...
6378 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6379 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6382 # The name set by libtool depends on the version of libtool. Shame on us
6383 # for depending on an impl detail, but c'est la vie. Older versions used
6384 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6385 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6386 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6387 # set (hence we're using an older libtool), then set it.
6388 if test x${with_gnu_ld+set} != xset; then
6389 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6390 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
6393 with_gnu_ld=$ac_cv_prog_gnu_ld
6397 # Start by getting the version number. I think the libtool test already
6398 # does some of this, but throws away the result.
6400 ldver=`$LD --version 2>/dev/null | head -1 | \
6401 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6403 glibcpp_gnu_ld_version=`echo $ldver | \
6404 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6406 # Set --gc-sections.
6407 if test "$with_gnu_ld" = "notbroken
"; then
6408 # GNU ld it is! Joy and bunny rabbits!
6410 # All these tests are for C++; save the language and the compiler flags.
6411 # Need to do this so that g++ won't try to link in libstdc++
6412 ac_test_CFLAGS="${CFLAGS+set}"
6413 ac_save_CFLAGS="$CFLAGS"
6414 CFLAGS='-x c++ -Wl,--gc-sections'
6416 # Check for -Wl,--gc-sections
6417 # XXX This test is broken at the moment, as symbols required for
6418 # linking are now in libsupc++ (not built yet.....). In addition,
6419 # this test has cored on solaris in the past. In addition,
6420 # --gc-sections doesn't really work at the moment (keeps on discarding
6421 # used sections, first .eh_frame and now some of the glibc sections for
6422 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6423 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
6424 echo "configure
:6425: checking
for ld that supports
-Wl,--gc-sections" >&5
6425 if test "$cross_compiling" = yes; then
6426 ac_sectionLDflags=yes
6428 cat > conftest.$ac_ext <<EOF
6429 #line 6430 "configure
"
6430 #include "confdefs.h
"
6440 if { (eval echo configure:6441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6442 ac_sectionLDflags=yes
6444 echo "configure
: failed program was
:" >&5
6445 cat conftest.$ac_ext >&5
6447 ac_sectionLDflags=no
6452 if test "$ac_test_CFLAGS" = set; then
6453 CFLAGS="$ac_save_CFLAGS"
6455 # this is the suspicious part
6458 if test "$ac_sectionLDflags" = "yes"; then
6459 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6461 echo "$ac_t""$ac_sectionLDflags" 1>&6
6464 # Set linker optimization flags.
6465 if test x"$with_gnu_ld" = x"yes"; then
6466 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6473 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
6474 echo "configure
:6475: checking
for main
in -lm" >&5
6475 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
6476 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6477 echo $ac_n "(cached
) $ac_c" 1>&6
6479 ac_save_LIBS="$LIBS"
6481 cat > conftest.$ac_ext <<EOF
6482 #line 6483 "configure
"
6483 #include "confdefs.h
"
6489 if { (eval echo configure:6490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6491 eval "ac_cv_lib_
$ac_lib_var=yes"
6493 echo "configure
: failed program was
:" >&5
6494 cat conftest.$ac_ext >&5
6496 eval "ac_cv_lib_
$ac_lib_var=no
"
6499 LIBS="$ac_save_LIBS"
6502 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6503 echo "$ac_t""yes" 1>&6
6504 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6505 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6506 cat >> confdefs.h <<EOF
6507 #define $ac_tr_lib 1
6513 echo "$ac_t""no
" 1>&6
6516 for ac_func in nan copysignf
6518 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6519 echo "configure
:6520: checking
for $ac_func" >&5
6520 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6521 echo $ac_n "(cached
) $ac_c" 1>&6
6523 cat > conftest.$ac_ext <<EOF
6524 #line 6525 "configure
"
6525 #include "confdefs.h
"
6526 /* System header to define __stub macros and hopefully few prototypes,
6527 which can conflict with char $ac_func(); below. */
6529 /* Override any gcc2 internal prototype to avoid an error. */
6530 /* We use char because int might match the return type of a gcc2
6531 builtin and then its argument prototype would still apply. */
6536 /* The GNU C library defines this for functions which it implements
6537 to always fail with ENOSYS. Some functions are actually named
6538 something starting with __ and the normal name is an alias. */
6539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6547 if { (eval echo configure:6548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6549 eval "ac_cv_func_
$ac_func=yes"
6551 echo "configure
: failed program was
:" >&5
6552 cat conftest.$ac_ext >&5
6554 eval "ac_cv_func_
$ac_func=no
"
6559 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6560 echo "$ac_t""yes" 1>&6
6561 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6562 cat >> confdefs.h <<EOF
6563 #define $ac_tr_func 1
6567 echo "$ac_t""no
" 1>&6
6568 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
6573 for ac_func in __signbit
6575 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6576 echo "configure
:6577: checking
for $ac_func" >&5
6577 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6578 echo $ac_n "(cached
) $ac_c" 1>&6
6580 cat > conftest.$ac_ext <<EOF
6581 #line 6582 "configure
"
6582 #include "confdefs.h
"
6583 /* System header to define __stub macros and hopefully few prototypes,
6584 which can conflict with char $ac_func(); below. */
6586 /* Override any gcc2 internal prototype to avoid an error. */
6587 /* We use char because int might match the return type of a gcc2
6588 builtin and then its argument prototype would still apply. */
6593 /* The GNU C library defines this for functions which it implements
6594 to always fail with ENOSYS. Some functions are actually named
6595 something starting with __ and the normal name is an alias. */
6596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6604 if { (eval echo configure:6605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6606 eval "ac_cv_func_
$ac_func=yes"
6608 echo "configure
: failed program was
:" >&5
6609 cat conftest.$ac_ext >&5
6611 eval "ac_cv_func_
$ac_func=no
"
6616 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6617 echo "$ac_t""yes" 1>&6
6618 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6619 cat >> confdefs.h <<EOF
6620 #define $ac_tr_func 1
6624 echo "$ac_t""no
" 1>&6
6625 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
6629 for ac_func in __signbitf
6631 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6632 echo "configure
:6633: checking
for $ac_func" >&5
6633 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6634 echo $ac_n "(cached
) $ac_c" 1>&6
6636 cat > conftest.$ac_ext <<EOF
6637 #line 6638 "configure
"
6638 #include "confdefs.h
"
6639 /* System header to define __stub macros and hopefully few prototypes,
6640 which can conflict with char $ac_func(); below. */
6642 /* Override any gcc2 internal prototype to avoid an error. */
6643 /* We use char because int might match the return type of a gcc2
6644 builtin and then its argument prototype would still apply. */
6649 /* The GNU C library defines this for functions which it implements
6650 to always fail with ENOSYS. Some functions are actually named
6651 something starting with __ and the normal name is an alias. */
6652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6660 if { (eval echo configure:6661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6662 eval "ac_cv_func_
$ac_func=yes"
6664 echo "configure
: failed program was
:" >&5
6665 cat conftest.$ac_ext >&5
6667 eval "ac_cv_func_
$ac_func=no
"
6672 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6673 echo "$ac_t""yes" 1>&6
6674 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6675 cat >> confdefs.h <<EOF
6676 #define $ac_tr_func 1
6680 echo "$ac_t""no
" 1>&6
6681 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
6686 if test x$ac_cv_func_copysignl = x"yes"; then
6687 for ac_func in __signbitl
6689 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6690 echo "configure
:6691: checking
for $ac_func" >&5
6691 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6692 echo $ac_n "(cached
) $ac_c" 1>&6
6694 cat > conftest.$ac_ext <<EOF
6695 #line 6696 "configure
"
6696 #include "confdefs.h
"
6697 /* System header to define __stub macros and hopefully few prototypes,
6698 which can conflict with char $ac_func(); below. */
6700 /* Override any gcc2 internal prototype to avoid an error. */
6701 /* We use char because int might match the return type of a gcc2
6702 builtin and then its argument prototype would still apply. */
6707 /* The GNU C library defines this for functions which it implements
6708 to always fail with ENOSYS. Some functions are actually named
6709 something starting with __ and the normal name is an alias. */
6710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6718 if { (eval echo configure:6719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6720 eval "ac_cv_func_
$ac_func=yes"
6722 echo "configure
: failed program was
:" >&5
6723 cat conftest.$ac_ext >&5
6725 eval "ac_cv_func_
$ac_func=no
"
6730 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6731 echo "$ac_t""yes" 1>&6
6732 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6733 cat >> confdefs.h <<EOF
6734 #define $ac_tr_func 1
6738 echo "$ac_t""no
" 1>&6
6739 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
6745 if test -n "$LIBMATHOBJS"; then
6751 if test "$need_libmath" = yes; then
6752 GLIBCPP_BUILD_LIBMATH_TRUE=
6753 GLIBCPP_BUILD_LIBMATH_FALSE='#'
6755 GLIBCPP_BUILD_LIBMATH_TRUE='#'
6756 GLIBCPP_BUILD_LIBMATH_FALSE=
6762 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
6763 echo "configure
:6764: checking
for mbstate_t
" >&5
6764 cat > conftest.$ac_ext <<EOF
6765 #line 6766 "configure
"
6766 #include "confdefs.h
"
6769 mbstate_t teststate;
6772 if { (eval echo configure:6773: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6776 echo "configure
: failed program was
:" >&5
6777 cat conftest.$ac_ext >&5
6782 echo "$ac_t""$have_mbstate_t" 1>&6
6783 if test x"$have_mbstate_t" = xyes; then
6784 cat >> confdefs.h <<\EOF
6785 #define HAVE_MBSTATE_T 1
6790 for ac_hdr in wchar.h
6792 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6793 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6794 echo "configure
:6795: checking
for $ac_hdr" >&5
6795 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6796 echo $ac_n "(cached
) $ac_c" 1>&6
6798 cat > conftest.$ac_ext <<EOF
6799 #line 6800 "configure
"
6800 #include "confdefs.h
"
6803 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6804 { (eval echo configure:6805: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6805 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6806 if test -z "$ac_err"; then
6808 eval "ac_cv_header_
$ac_safe=yes"
6811 echo "configure
: failed program was
:" >&5
6812 cat conftest.$ac_ext >&5
6814 eval "ac_cv_header_
$ac_safe=no
"
6818 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6819 echo "$ac_t""yes" 1>&6
6820 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6821 cat >> confdefs.h <<EOF
6822 #define $ac_tr_hdr 1
6826 echo "$ac_t""no
" 1>&6
6831 for ac_hdr in wctype.h
6833 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6834 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6835 echo "configure
:6836: checking
for $ac_hdr" >&5
6836 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6837 echo $ac_n "(cached
) $ac_c" 1>&6
6839 cat > conftest.$ac_ext <<EOF
6840 #line 6841 "configure
"
6841 #include "confdefs.h
"
6844 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6845 { (eval echo configure:6846: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6846 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6847 if test -z "$ac_err"; then
6849 eval "ac_cv_header_
$ac_safe=yes"
6852 echo "configure
: failed program was
:" >&5
6853 cat conftest.$ac_ext >&5
6855 eval "ac_cv_header_
$ac_safe=no
"
6859 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6860 echo "$ac_t""yes" 1>&6
6861 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6862 cat >> confdefs.h <<EOF
6863 #define $ac_tr_hdr 1
6867 echo "$ac_t""no
" 1>&6
6873 if test x"$ac_has_wchar_h" = xyes &&
6874 test x"$ac_has_wctype_h" = xyes &&
6875 test x"$enable_c_mbchar" != xno; then
6877 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
6878 echo "configure
:6879: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
6879 cat > conftest.$ac_ext <<EOF
6880 #line 6881 "configure
"
6881 #include "confdefs.h
"
6884 int i = WCHAR_MIN; int j = WCHAR_MAX;
6887 if { (eval echo configure:6888: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6889 has_wchar_minmax=yes
6891 echo "configure
: failed program was
:" >&5
6892 cat conftest.$ac_ext >&5
6897 echo "$ac_t""$has_wchar_minmax" 1>&6
6899 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
6900 echo "configure
:6901: checking
for WEOF
" >&5
6901 cat > conftest.$ac_ext <<EOF
6902 #line 6903 "configure
"
6903 #include "confdefs.h
"
6911 if { (eval echo configure:6912: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6915 echo "configure
: failed program was
:" >&5
6916 cat conftest.$ac_ext >&5
6921 echo "$ac_t""$has_weof" 1>&6
6924 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6926 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6927 echo "configure
:6928: checking
for $ac_func" >&5
6928 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6929 echo $ac_n "(cached
) $ac_c" 1>&6
6931 cat > conftest.$ac_ext <<EOF
6932 #line 6933 "configure
"
6933 #include "confdefs.h
"
6934 /* System header to define __stub macros and hopefully few prototypes,
6935 which can conflict with char $ac_func(); below. */
6937 /* Override any gcc2 internal prototype to avoid an error. */
6938 /* We use char because int might match the return type of a gcc2
6939 builtin and then its argument prototype would still apply. */
6944 /* The GNU C library defines this for functions which it implements
6945 to always fail with ENOSYS. Some functions are actually named
6946 something starting with __ and the normal name is an alias. */
6947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6955 if { (eval echo configure:6956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6957 eval "ac_cv_func_
$ac_func=yes"
6959 echo "configure
: failed program was
:" >&5
6960 cat conftest.$ac_ext >&5
6962 eval "ac_cv_func_
$ac_func=no
"
6967 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6968 echo "$ac_t""yes" 1>&6
6969 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6970 cat >> confdefs.h <<EOF
6971 #define $ac_tr_func 1
6975 echo "$ac_t""no
" 1>&6
6982 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
6983 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6984 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6985 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6986 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6987 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6989 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6990 echo "configure
:6991: checking
for $ac_func" >&5
6991 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6992 echo $ac_n "(cached
) $ac_c" 1>&6
6994 cat > conftest.$ac_ext <<EOF
6995 #line 6996 "configure
"
6996 #include "confdefs.h
"
6997 /* System header to define __stub macros and hopefully few prototypes,
6998 which can conflict with char $ac_func(); below. */
7000 /* Override any gcc2 internal prototype to avoid an error. */
7001 /* We use char because int might match the return type of a gcc2
7002 builtin and then its argument prototype would still apply. */
7007 /* The GNU C library defines this for functions which it implements
7008 to always fail with ENOSYS. Some functions are actually named
7009 something starting with __ and the normal name is an alias. */
7010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7018 if { (eval echo configure:7019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7020 eval "ac_cv_func_
$ac_func=yes"
7022 echo "configure
: failed program was
:" >&5
7023 cat conftest.$ac_ext >&5
7025 eval "ac_cv_func_
$ac_func=no
"
7030 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7031 echo "$ac_t""yes" 1>&6
7032 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7033 cat >> confdefs.h <<EOF
7034 #define $ac_tr_func 1
7038 echo "$ac_t""no
" 1>&6
7045 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
7046 echo "configure
:7047: checking
for ISO C99 wchar_t support
" >&5
7047 if test x"$has_weof" = xyes &&
7048 test x"$has_wchar_minmax" = xyes &&
7049 test x"$ac_wfuncs" = xyes; then
7050 ac_isoC99_wchar_t=yes
7052 ac_isoC99_wchar_t=no
7054 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7056 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
7057 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
7058 echo "configure
:7059: checking
for iconv.h
" >&5
7059 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7060 echo $ac_n "(cached
) $ac_c" 1>&6
7062 cat > conftest.$ac_ext <<EOF
7063 #line 7064 "configure
"
7064 #include "confdefs.h
"
7067 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7068 { (eval echo configure:7069: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7069 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7070 if test -z "$ac_err"; then
7072 eval "ac_cv_header_
$ac_safe=yes"
7075 echo "configure
: failed program was
:" >&5
7076 cat conftest.$ac_ext >&5
7078 eval "ac_cv_header_
$ac_safe=no
"
7082 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7083 echo "$ac_t""yes" 1>&6
7086 echo "$ac_t""no
" 1>&6
7090 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
7091 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
7092 echo "configure
:7093: checking
for langinfo.h
" >&5
7093 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7094 echo $ac_n "(cached
) $ac_c" 1>&6
7096 cat > conftest.$ac_ext <<EOF
7097 #line 7098 "configure
"
7098 #include "confdefs.h
"
7099 #include <langinfo.h>
7101 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7102 { (eval echo configure:7103: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7103 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7104 if test -z "$ac_err"; then
7106 eval "ac_cv_header_
$ac_safe=yes"
7109 echo "configure
: failed program was
:" >&5
7110 cat conftest.$ac_ext >&5
7112 eval "ac_cv_header_
$ac_safe=no
"
7116 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7117 echo "$ac_t""yes" 1>&6
7118 ac_has_langinfo_h=yes
7120 echo "$ac_t""no
" 1>&6
7121 ac_has_langinfo_h=no
7125 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
7126 echo "configure
:7127: checking
for iconv in -liconv" >&5
7127 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
7128 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7129 echo $ac_n "(cached
) $ac_c" 1>&6
7131 ac_save_LIBS="$LIBS"
7132 LIBS="-liconv $LIBS"
7133 cat > conftest.$ac_ext <<EOF
7134 #line 7135 "configure
"
7135 #include "confdefs.h
"
7136 /* Override any gcc2 internal prototype to avoid an error. */
7137 /* We use char because int might match the return type of a gcc2
7138 builtin and then its argument prototype would still apply. */
7145 if { (eval echo configure:7146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7147 eval "ac_cv_lib_
$ac_lib_var=yes"
7149 echo "configure
: failed program was
:" >&5
7150 cat conftest.$ac_ext >&5
7152 eval "ac_cv_lib_
$ac_lib_var=no
"
7155 LIBS="$ac_save_LIBS"
7158 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7159 echo "$ac_t""yes" 1>&6
7162 echo "$ac_t""no
" 1>&6
7165 ac_save_LIBS="$LIBS"
7166 LIBS="$LIBS $libiconv"
7168 for ac_func in iconv_open iconv_close iconv nl_langinfo
7170 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7171 echo "configure
:7172: checking
for $ac_func" >&5
7172 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7173 echo $ac_n "(cached
) $ac_c" 1>&6
7175 cat > conftest.$ac_ext <<EOF
7176 #line 7177 "configure
"
7177 #include "confdefs.h
"
7178 /* System header to define __stub macros and hopefully few prototypes,
7179 which can conflict with char $ac_func(); below. */
7181 /* Override any gcc2 internal prototype to avoid an error. */
7182 /* We use char because int might match the return type of a gcc2
7183 builtin and then its argument prototype would still apply. */
7188 /* The GNU C library defines this for functions which it implements
7189 to always fail with ENOSYS. Some functions are actually named
7190 something starting with __ and the normal name is an alias. */
7191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7199 if { (eval echo configure:7200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7201 eval "ac_cv_func_
$ac_func=yes"
7203 echo "configure
: failed program was
:" >&5
7204 cat conftest.$ac_ext >&5
7206 eval "ac_cv_func_
$ac_func=no
"
7211 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7212 echo "$ac_t""yes" 1>&6
7213 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7214 cat >> confdefs.h <<EOF
7215 #define $ac_tr_func 1
7220 echo "$ac_t""no
" 1>&6
7226 LIBS="$ac_save_LIBS"
7228 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
7229 echo "configure
:7230: checking
for XPG2 wchar_t support
" >&5
7230 if test x"$ac_has_iconv_h" = xyes &&
7231 test x"$ac_has_langinfo_h" = xyes &&
7232 test x"$ac_XPG2funcs" = xyes; then
7237 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
7239 if test x"$ac_isoC99_wchar_t" = xyes &&
7240 test x"$ac_XPG2_wchar_t" = xyes; then
7241 cat >> confdefs.h <<\EOF
7242 #define _GLIBCPP_USE_WCHAR_T 1
7248 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
7249 echo "configure
:7250: checking
for enabled wchar_t specializations
" >&5
7250 echo "$ac_t""$enable_wchar_t" 1>&6
7253 if test "$enable_wchar_t" = yes; then
7254 GLIBCPP_TEST_WCHAR_T_TRUE=
7255 GLIBCPP_TEST_WCHAR_T_FALSE='#'
7257 GLIBCPP_TEST_WCHAR_T_TRUE='#'
7258 GLIBCPP_TEST_WCHAR_T_FALSE=
7261 cat >> confdefs.h <<\EOF
7262 #define HAVE_COPYSIGN 1
7265 cat >> confdefs.h <<\EOF
7266 #define HAVE_COPYSIGNF 1
7269 cat >> confdefs.h <<\EOF
7270 #define HAVE_FINITEF 1
7273 cat >> confdefs.h <<\EOF
7274 #define HAVE_FINITE 1
7277 cat >> confdefs.h <<\EOF
7278 #define HAVE_FREXPF 1
7281 cat >> confdefs.h <<\EOF
7282 #define HAVE_HYPOTF 1
7285 cat >> confdefs.h <<\EOF
7286 #define HAVE_ISINF 1
7289 cat >> confdefs.h <<\EOF
7290 #define HAVE_ISINFF 1
7293 cat >> confdefs.h <<\EOF
7294 #define HAVE_ISNAN 1
7297 cat >> confdefs.h <<\EOF
7298 #define HAVE_ISNANF 1
7301 if test x"long_double_math_on_this_cpu
" = x"yes"; then
7302 cat >> confdefs.h <<\EOF
7303 #define HAVE_FINITEL 1
7306 cat >> confdefs.h <<\EOF
7307 #define HAVE_ISINFL 1
7310 cat >> confdefs.h <<\EOF
7311 #define HAVE_ISNANL 1
7317 os_include_dir="os
/bsd
/freebsd
"
7318 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
7319 machine/endian.h machine/param.h sys/machine.h sys/types.h \
7320 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
7323 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7324 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
7325 echo "configure
:7326: checking
for $ac_hdr" >&5
7326 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7327 echo $ac_n "(cached
) $ac_c" 1>&6
7329 cat > conftest.$ac_ext <<EOF
7330 #line 7331 "configure
"
7331 #include "confdefs.h
"
7334 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7335 { (eval echo configure:7336: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7336 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7337 if test -z "$ac_err"; then
7339 eval "ac_cv_header_
$ac_safe=yes"
7342 echo "configure
: failed program was
:" >&5
7343 cat conftest.$ac_ext >&5
7345 eval "ac_cv_header_
$ac_safe=no
"
7349 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7350 echo "$ac_t""yes" 1>&6
7351 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7352 cat >> confdefs.h <<EOF
7353 #define $ac_tr_hdr 1
7357 echo "$ac_t""no
" 1>&6
7361 SECTION_FLAGS='-ffunction-sections -fdata-sections'
7364 # If we're not using GNU ld, then there's no point in even trying these
7365 # tests. Check for that first. We should have already tested for gld
7366 # by now (in libtool), but require it now just to be safe...
7367 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7368 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7371 # The name set by libtool depends on the version of libtool. Shame on us
7372 # for depending on an impl detail, but c'est la vie. Older versions used
7373 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7374 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7375 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7376 # set (hence we're using an older libtool), then set it.
7377 if test x${with_gnu_ld+set} != xset; then
7378 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7379 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
7382 with_gnu_ld=$ac_cv_prog_gnu_ld
7386 # Start by getting the version number. I think the libtool test already
7387 # does some of this, but throws away the result.
7389 ldver=`$LD --version 2>/dev/null | head -1 | \
7390 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7392 glibcpp_gnu_ld_version=`echo $ldver | \
7393 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7395 # Set --gc-sections.
7396 if test "$with_gnu_ld" = "notbroken
"; then
7397 # GNU ld it is! Joy and bunny rabbits!
7399 # All these tests are for C++; save the language and the compiler flags.
7400 # Need to do this so that g++ won't try to link in libstdc++
7401 ac_test_CFLAGS="${CFLAGS+set}"
7402 ac_save_CFLAGS="$CFLAGS"
7403 CFLAGS='-x c++ -Wl,--gc-sections'
7405 # Check for -Wl,--gc-sections
7406 # XXX This test is broken at the moment, as symbols required for
7407 # linking are now in libsupc++ (not built yet.....). In addition,
7408 # this test has cored on solaris in the past. In addition,
7409 # --gc-sections doesn't really work at the moment (keeps on discarding
7410 # used sections, first .eh_frame and now some of the glibc sections for
7411 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7412 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
7413 echo "configure
:7414: checking
for ld that supports
-Wl,--gc-sections" >&5
7414 if test "$cross_compiling" = yes; then
7415 ac_sectionLDflags=yes
7417 cat > conftest.$ac_ext <<EOF
7418 #line 7419 "configure
"
7419 #include "confdefs.h
"
7429 if { (eval echo configure:7430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7431 ac_sectionLDflags=yes
7433 echo "configure
: failed program was
:" >&5
7434 cat conftest.$ac_ext >&5
7436 ac_sectionLDflags=no
7441 if test "$ac_test_CFLAGS" = set; then
7442 CFLAGS="$ac_save_CFLAGS"
7444 # this is the suspicious part
7447 if test "$ac_sectionLDflags" = "yes"; then
7448 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7450 echo "$ac_t""$ac_sectionLDflags" 1>&6
7453 # Set linker optimization flags.
7454 if test x"$with_gnu_ld" = x"yes"; then
7455 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7462 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
7463 echo "configure
:7464: checking
for main
in -lm" >&5
7464 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
7465 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7466 echo $ac_n "(cached
) $ac_c" 1>&6
7468 ac_save_LIBS="$LIBS"
7470 cat > conftest.$ac_ext <<EOF
7471 #line 7472 "configure
"
7472 #include "confdefs.h
"
7478 if { (eval echo configure:7479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7480 eval "ac_cv_lib_
$ac_lib_var=yes"
7482 echo "configure
: failed program was
:" >&5
7483 cat conftest.$ac_ext >&5
7485 eval "ac_cv_lib_
$ac_lib_var=no
"
7488 LIBS="$ac_save_LIBS"
7491 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7492 echo "$ac_t""yes" 1>&6
7493 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7494 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7495 cat >> confdefs.h <<EOF
7496 #define $ac_tr_lib 1
7502 echo "$ac_t""no
" 1>&6
7505 for ac_func in nan copysignf
7507 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7508 echo "configure
:7509: checking
for $ac_func" >&5
7509 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7510 echo $ac_n "(cached
) $ac_c" 1>&6
7512 cat > conftest.$ac_ext <<EOF
7513 #line 7514 "configure
"
7514 #include "confdefs.h
"
7515 /* System header to define __stub macros and hopefully few prototypes,
7516 which can conflict with char $ac_func(); below. */
7518 /* Override any gcc2 internal prototype to avoid an error. */
7519 /* We use char because int might match the return type of a gcc2
7520 builtin and then its argument prototype would still apply. */
7525 /* The GNU C library defines this for functions which it implements
7526 to always fail with ENOSYS. Some functions are actually named
7527 something starting with __ and the normal name is an alias. */
7528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7536 if { (eval echo configure:7537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7538 eval "ac_cv_func_
$ac_func=yes"
7540 echo "configure
: failed program was
:" >&5
7541 cat conftest.$ac_ext >&5
7543 eval "ac_cv_func_
$ac_func=no
"
7548 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7549 echo "$ac_t""yes" 1>&6
7550 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7551 cat >> confdefs.h <<EOF
7552 #define $ac_tr_func 1
7556 echo "$ac_t""no
" 1>&6
7557 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
7562 for ac_func in __signbit
7564 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7565 echo "configure
:7566: checking
for $ac_func" >&5
7566 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7567 echo $ac_n "(cached
) $ac_c" 1>&6
7569 cat > conftest.$ac_ext <<EOF
7570 #line 7571 "configure
"
7571 #include "confdefs.h
"
7572 /* System header to define __stub macros and hopefully few prototypes,
7573 which can conflict with char $ac_func(); below. */
7575 /* Override any gcc2 internal prototype to avoid an error. */
7576 /* We use char because int might match the return type of a gcc2
7577 builtin and then its argument prototype would still apply. */
7582 /* The GNU C library defines this for functions which it implements
7583 to always fail with ENOSYS. Some functions are actually named
7584 something starting with __ and the normal name is an alias. */
7585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7593 if { (eval echo configure:7594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7595 eval "ac_cv_func_
$ac_func=yes"
7597 echo "configure
: failed program was
:" >&5
7598 cat conftest.$ac_ext >&5
7600 eval "ac_cv_func_
$ac_func=no
"
7605 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7606 echo "$ac_t""yes" 1>&6
7607 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7608 cat >> confdefs.h <<EOF
7609 #define $ac_tr_func 1
7613 echo "$ac_t""no
" 1>&6
7614 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
7618 for ac_func in __signbitf
7620 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7621 echo "configure
:7622: checking
for $ac_func" >&5
7622 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7623 echo $ac_n "(cached
) $ac_c" 1>&6
7625 cat > conftest.$ac_ext <<EOF
7626 #line 7627 "configure
"
7627 #include "confdefs.h
"
7628 /* System header to define __stub macros and hopefully few prototypes,
7629 which can conflict with char $ac_func(); below. */
7631 /* Override any gcc2 internal prototype to avoid an error. */
7632 /* We use char because int might match the return type of a gcc2
7633 builtin and then its argument prototype would still apply. */
7638 /* The GNU C library defines this for functions which it implements
7639 to always fail with ENOSYS. Some functions are actually named
7640 something starting with __ and the normal name is an alias. */
7641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7649 if { (eval echo configure:7650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7651 eval "ac_cv_func_
$ac_func=yes"
7653 echo "configure
: failed program was
:" >&5
7654 cat conftest.$ac_ext >&5
7656 eval "ac_cv_func_
$ac_func=no
"
7661 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7662 echo "$ac_t""yes" 1>&6
7663 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7664 cat >> confdefs.h <<EOF
7665 #define $ac_tr_func 1
7669 echo "$ac_t""no
" 1>&6
7670 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
7675 if test x$ac_cv_func_copysignl = x"yes"; then
7676 for ac_func in __signbitl
7678 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7679 echo "configure
:7680: checking
for $ac_func" >&5
7680 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7681 echo $ac_n "(cached
) $ac_c" 1>&6
7683 cat > conftest.$ac_ext <<EOF
7684 #line 7685 "configure
"
7685 #include "confdefs.h
"
7686 /* System header to define __stub macros and hopefully few prototypes,
7687 which can conflict with char $ac_func(); below. */
7689 /* Override any gcc2 internal prototype to avoid an error. */
7690 /* We use char because int might match the return type of a gcc2
7691 builtin and then its argument prototype would still apply. */
7696 /* The GNU C library defines this for functions which it implements
7697 to always fail with ENOSYS. Some functions are actually named
7698 something starting with __ and the normal name is an alias. */
7699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7707 if { (eval echo configure:7708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7709 eval "ac_cv_func_
$ac_func=yes"
7711 echo "configure
: failed program was
:" >&5
7712 cat conftest.$ac_ext >&5
7714 eval "ac_cv_func_
$ac_func=no
"
7719 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7720 echo "$ac_t""yes" 1>&6
7721 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7722 cat >> confdefs.h <<EOF
7723 #define $ac_tr_func 1
7727 echo "$ac_t""no
" 1>&6
7728 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
7734 if test -n "$LIBMATHOBJS"; then
7740 if test "$need_libmath" = yes; then
7741 GLIBCPP_BUILD_LIBMATH_TRUE=
7742 GLIBCPP_BUILD_LIBMATH_FALSE='#'
7744 GLIBCPP_BUILD_LIBMATH_TRUE='#'
7745 GLIBCPP_BUILD_LIBMATH_FALSE=
7751 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
7752 echo "configure
:7753: checking
for mbstate_t
" >&5
7753 cat > conftest.$ac_ext <<EOF
7754 #line 7755 "configure
"
7755 #include "confdefs.h
"
7758 mbstate_t teststate;
7761 if { (eval echo configure:7762: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7765 echo "configure
: failed program was
:" >&5
7766 cat conftest.$ac_ext >&5
7771 echo "$ac_t""$have_mbstate_t" 1>&6
7772 if test x"$have_mbstate_t" = xyes; then
7773 cat >> confdefs.h <<\EOF
7774 #define HAVE_MBSTATE_T 1
7779 for ac_hdr in wchar.h
7781 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7782 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
7783 echo "configure
:7784: checking
for $ac_hdr" >&5
7784 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7785 echo $ac_n "(cached
) $ac_c" 1>&6
7787 cat > conftest.$ac_ext <<EOF
7788 #line 7789 "configure
"
7789 #include "confdefs.h
"
7792 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7793 { (eval echo configure:7794: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7794 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7795 if test -z "$ac_err"; then
7797 eval "ac_cv_header_
$ac_safe=yes"
7800 echo "configure
: failed program was
:" >&5
7801 cat conftest.$ac_ext >&5
7803 eval "ac_cv_header_
$ac_safe=no
"
7807 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7808 echo "$ac_t""yes" 1>&6
7809 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7810 cat >> confdefs.h <<EOF
7811 #define $ac_tr_hdr 1
7815 echo "$ac_t""no
" 1>&6
7820 for ac_hdr in wctype.h
7822 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7823 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
7824 echo "configure
:7825: checking
for $ac_hdr" >&5
7825 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7826 echo $ac_n "(cached
) $ac_c" 1>&6
7828 cat > conftest.$ac_ext <<EOF
7829 #line 7830 "configure
"
7830 #include "confdefs.h
"
7833 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7834 { (eval echo configure:7835: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7835 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7836 if test -z "$ac_err"; then
7838 eval "ac_cv_header_
$ac_safe=yes"
7841 echo "configure
: failed program was
:" >&5
7842 cat conftest.$ac_ext >&5
7844 eval "ac_cv_header_
$ac_safe=no
"
7848 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7849 echo "$ac_t""yes" 1>&6
7850 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7851 cat >> confdefs.h <<EOF
7852 #define $ac_tr_hdr 1
7856 echo "$ac_t""no
" 1>&6
7862 if test x"$ac_has_wchar_h" = xyes &&
7863 test x"$ac_has_wctype_h" = xyes &&
7864 test x"$enable_c_mbchar" != xno; then
7866 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
7867 echo "configure
:7868: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
7868 cat > conftest.$ac_ext <<EOF
7869 #line 7870 "configure
"
7870 #include "confdefs.h
"
7873 int i = WCHAR_MIN; int j = WCHAR_MAX;
7876 if { (eval echo configure:7877: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7878 has_wchar_minmax=yes
7880 echo "configure
: failed program was
:" >&5
7881 cat conftest.$ac_ext >&5
7886 echo "$ac_t""$has_wchar_minmax" 1>&6
7888 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
7889 echo "configure
:7890: checking
for WEOF
" >&5
7890 cat > conftest.$ac_ext <<EOF
7891 #line 7892 "configure
"
7892 #include "confdefs.h
"
7900 if { (eval echo configure:7901: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7904 echo "configure
: failed program was
:" >&5
7905 cat conftest.$ac_ext >&5
7910 echo "$ac_t""$has_weof" 1>&6
7913 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
7915 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7916 echo "configure
:7917: checking
for $ac_func" >&5
7917 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7918 echo $ac_n "(cached
) $ac_c" 1>&6
7920 cat > conftest.$ac_ext <<EOF
7921 #line 7922 "configure
"
7922 #include "confdefs.h
"
7923 /* System header to define __stub macros and hopefully few prototypes,
7924 which can conflict with char $ac_func(); below. */
7926 /* Override any gcc2 internal prototype to avoid an error. */
7927 /* We use char because int might match the return type of a gcc2
7928 builtin and then its argument prototype would still apply. */
7933 /* The GNU C library defines this for functions which it implements
7934 to always fail with ENOSYS. Some functions are actually named
7935 something starting with __ and the normal name is an alias. */
7936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7944 if { (eval echo configure:7945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7946 eval "ac_cv_func_
$ac_func=yes"
7948 echo "configure
: failed program was
:" >&5
7949 cat conftest.$ac_ext >&5
7951 eval "ac_cv_func_
$ac_func=no
"
7956 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7957 echo "$ac_t""yes" 1>&6
7958 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7959 cat >> confdefs.h <<EOF
7960 #define $ac_tr_func 1
7964 echo "$ac_t""no
" 1>&6
7971 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
7972 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
7973 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
7974 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
7975 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
7976 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
7978 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7979 echo "configure
:7980: checking
for $ac_func" >&5
7980 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7981 echo $ac_n "(cached
) $ac_c" 1>&6
7983 cat > conftest.$ac_ext <<EOF
7984 #line 7985 "configure
"
7985 #include "confdefs.h
"
7986 /* System header to define __stub macros and hopefully few prototypes,
7987 which can conflict with char $ac_func(); below. */
7989 /* Override any gcc2 internal prototype to avoid an error. */
7990 /* We use char because int might match the return type of a gcc2
7991 builtin and then its argument prototype would still apply. */
7996 /* The GNU C library defines this for functions which it implements
7997 to always fail with ENOSYS. Some functions are actually named
7998 something starting with __ and the normal name is an alias. */
7999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8007 if { (eval echo configure:8008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8009 eval "ac_cv_func_
$ac_func=yes"
8011 echo "configure
: failed program was
:" >&5
8012 cat conftest.$ac_ext >&5
8014 eval "ac_cv_func_
$ac_func=no
"
8019 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8020 echo "$ac_t""yes" 1>&6
8021 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8022 cat >> confdefs.h <<EOF
8023 #define $ac_tr_func 1
8027 echo "$ac_t""no
" 1>&6
8034 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
8035 echo "configure
:8036: checking
for ISO C99 wchar_t support
" >&5
8036 if test x"$has_weof" = xyes &&
8037 test x"$has_wchar_minmax" = xyes &&
8038 test x"$ac_wfuncs" = xyes; then
8039 ac_isoC99_wchar_t=yes
8041 ac_isoC99_wchar_t=no
8043 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
8045 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
8046 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
8047 echo "configure
:8048: checking
for iconv.h
" >&5
8048 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8049 echo $ac_n "(cached
) $ac_c" 1>&6
8051 cat > conftest.$ac_ext <<EOF
8052 #line 8053 "configure
"
8053 #include "confdefs.h
"
8056 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8057 { (eval echo configure:8058: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8058 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8059 if test -z "$ac_err"; then
8061 eval "ac_cv_header_
$ac_safe=yes"
8064 echo "configure
: failed program was
:" >&5
8065 cat conftest.$ac_ext >&5
8067 eval "ac_cv_header_
$ac_safe=no
"
8071 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8072 echo "$ac_t""yes" 1>&6
8075 echo "$ac_t""no
" 1>&6
8079 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
8080 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
8081 echo "configure
:8082: checking
for langinfo.h
" >&5
8082 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8083 echo $ac_n "(cached
) $ac_c" 1>&6
8085 cat > conftest.$ac_ext <<EOF
8086 #line 8087 "configure
"
8087 #include "confdefs.h
"
8088 #include <langinfo.h>
8090 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8091 { (eval echo configure:8092: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8092 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8093 if test -z "$ac_err"; then
8095 eval "ac_cv_header_
$ac_safe=yes"
8098 echo "configure
: failed program was
:" >&5
8099 cat conftest.$ac_ext >&5
8101 eval "ac_cv_header_
$ac_safe=no
"
8105 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8106 echo "$ac_t""yes" 1>&6
8107 ac_has_langinfo_h=yes
8109 echo "$ac_t""no
" 1>&6
8110 ac_has_langinfo_h=no
8114 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
8115 echo "configure
:8116: checking
for iconv in -liconv" >&5
8116 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
8117 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8118 echo $ac_n "(cached
) $ac_c" 1>&6
8120 ac_save_LIBS="$LIBS"
8121 LIBS="-liconv $LIBS"
8122 cat > conftest.$ac_ext <<EOF
8123 #line 8124 "configure
"
8124 #include "confdefs.h
"
8125 /* Override any gcc2 internal prototype to avoid an error. */
8126 /* We use char because int might match the return type of a gcc2
8127 builtin and then its argument prototype would still apply. */
8134 if { (eval echo configure:8135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8136 eval "ac_cv_lib_
$ac_lib_var=yes"
8138 echo "configure
: failed program was
:" >&5
8139 cat conftest.$ac_ext >&5
8141 eval "ac_cv_lib_
$ac_lib_var=no
"
8144 LIBS="$ac_save_LIBS"
8147 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8148 echo "$ac_t""yes" 1>&6
8151 echo "$ac_t""no
" 1>&6
8154 ac_save_LIBS="$LIBS"
8155 LIBS="$LIBS $libiconv"
8157 for ac_func in iconv_open iconv_close iconv nl_langinfo
8159 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8160 echo "configure
:8161: checking
for $ac_func" >&5
8161 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8162 echo $ac_n "(cached
) $ac_c" 1>&6
8164 cat > conftest.$ac_ext <<EOF
8165 #line 8166 "configure
"
8166 #include "confdefs.h
"
8167 /* System header to define __stub macros and hopefully few prototypes,
8168 which can conflict with char $ac_func(); below. */
8170 /* Override any gcc2 internal prototype to avoid an error. */
8171 /* We use char because int might match the return type of a gcc2
8172 builtin and then its argument prototype would still apply. */
8177 /* The GNU C library defines this for functions which it implements
8178 to always fail with ENOSYS. Some functions are actually named
8179 something starting with __ and the normal name is an alias. */
8180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8188 if { (eval echo configure:8189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8190 eval "ac_cv_func_
$ac_func=yes"
8192 echo "configure
: failed program was
:" >&5
8193 cat conftest.$ac_ext >&5
8195 eval "ac_cv_func_
$ac_func=no
"
8200 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8201 echo "$ac_t""yes" 1>&6
8202 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8203 cat >> confdefs.h <<EOF
8204 #define $ac_tr_func 1
8209 echo "$ac_t""no
" 1>&6
8215 LIBS="$ac_save_LIBS"
8217 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
8218 echo "configure
:8219: checking
for XPG2 wchar_t support
" >&5
8219 if test x"$ac_has_iconv_h" = xyes &&
8220 test x"$ac_has_langinfo_h" = xyes &&
8221 test x"$ac_XPG2funcs" = xyes; then
8226 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
8228 if test x"$ac_isoC99_wchar_t" = xyes &&
8229 test x"$ac_XPG2_wchar_t" = xyes; then
8230 cat >> confdefs.h <<\EOF
8231 #define _GLIBCPP_USE_WCHAR_T 1
8237 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
8238 echo "configure
:8239: checking
for enabled wchar_t specializations
" >&5
8239 echo "$ac_t""$enable_wchar_t" 1>&6
8242 if test "$enable_wchar_t" = yes; then
8243 GLIBCPP_TEST_WCHAR_T_TRUE=
8244 GLIBCPP_TEST_WCHAR_T_FALSE='#'
8246 GLIBCPP_TEST_WCHAR_T_TRUE='#'
8247 GLIBCPP_TEST_WCHAR_T_FALSE=
8250 cat >> confdefs.h <<\EOF
8251 #define HAVE_LC_MESSAGES 1
8254 cat >> confdefs.h <<\EOF
8255 #define HAVE_DRAND48 1
8258 cat >> confdefs.h <<\EOF
8259 #define HAVE_GETPAGESIZE 1
8262 cat >> confdefs.h <<\EOF
8263 #define HAVE_SETENV 1
8266 cat >> confdefs.h <<\EOF
8267 #define HAVE_SIGSETJMP 1
8270 cat >> confdefs.h <<\EOF
8271 #define HAVE_COPYSIGN 1
8274 cat >> confdefs.h <<\EOF
8275 #define HAVE_COPYSIGNF 1
8278 cat >> confdefs.h <<\EOF
8279 #define HAVE_FINITEF 1
8282 cat >> confdefs.h <<\EOF
8283 #define HAVE_FINITE 1
8286 cat >> confdefs.h <<\EOF
8287 #define HAVE_FREXPF 1
8290 cat >> confdefs.h <<\EOF
8291 #define HAVE_HYPOT 1
8294 cat >> confdefs.h <<\EOF
8295 #define HAVE_HYPOTF 1
8298 cat >> confdefs.h <<\EOF
8299 #define HAVE_ISINF 1
8302 cat >> confdefs.h <<\EOF
8303 #define HAVE_ISNAN 1
8306 cat >> confdefs.h <<\EOF
8307 #define HAVE_ISNANF 1
8311 cat >> confdefs.h <<\EOF
8315 cat >> confdefs.h <<\EOF
8316 #define HAVE_ACOSF 1
8319 cat >> confdefs.h <<\EOF
8320 #define HAVE_ASINF 1
8323 cat >> confdefs.h <<\EOF
8324 #define HAVE_ATAN2F 1
8327 cat >> confdefs.h <<\EOF
8328 #define HAVE_ATANF 1
8331 cat >> confdefs.h <<\EOF
8332 #define HAVE_CEILF 1
8335 cat >> confdefs.h <<\EOF
8336 #define HAVE_COPYSIGN 1
8339 cat >> confdefs.h <<\EOF
8340 #define HAVE_COPYSIGNF 1
8343 cat >> confdefs.h <<\EOF
8347 cat >> confdefs.h <<\EOF
8348 #define HAVE_COSHF 1
8351 cat >> confdefs.h <<\EOF
8355 cat >> confdefs.h <<\EOF
8356 #define HAVE_FABSF 1
8359 cat >> confdefs.h <<\EOF
8360 #define HAVE_FLOORF 1
8363 cat >> confdefs.h <<\EOF
8364 #define HAVE_FMODF 1
8367 cat >> confdefs.h <<\EOF
8368 #define HAVE_FREXPF 1
8371 cat >> confdefs.h <<\EOF
8372 #define HAVE_LDEXPF 1
8375 cat >> confdefs.h <<\EOF
8376 #define HAVE_LOG10F 1
8379 cat >> confdefs.h <<\EOF
8383 cat >> confdefs.h <<\EOF
8384 #define HAVE_MODFF 1
8387 cat >> confdefs.h <<\EOF
8391 cat >> confdefs.h <<\EOF
8395 cat >> confdefs.h <<\EOF
8396 #define HAVE_SINHF 1
8399 cat >> confdefs.h <<\EOF
8400 #define HAVE_SQRTF 1
8403 cat >> confdefs.h <<\EOF
8407 cat >> confdefs.h <<\EOF
8408 #define HAVE_TANHF 1
8411 if test x"long_double_math_on_this_cpu
" = x"yes"; then
8412 cat >> confdefs.h <<\EOF
8413 #define HAVE_FINITEL 1
8416 cat >> confdefs.h <<\EOF
8417 #define HAVE_ISINFL 1
8420 cat >> confdefs.h <<\EOF
8421 #define HAVE_ISNANL 1
8427 os_include_dir="os
/mingw32
"
8428 for ac_hdr in sys/types.h locale.h float.h
8430 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8431 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
8432 echo "configure
:8433: checking
for $ac_hdr" >&5
8433 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8434 echo $ac_n "(cached
) $ac_c" 1>&6
8436 cat > conftest.$ac_ext <<EOF
8437 #line 8438 "configure
"
8438 #include "confdefs.h
"
8441 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8442 { (eval echo configure:8443: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8443 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8444 if test -z "$ac_err"; then
8446 eval "ac_cv_header_
$ac_safe=yes"
8449 echo "configure
: failed program was
:" >&5
8450 cat conftest.$ac_ext >&5
8452 eval "ac_cv_header_
$ac_safe=no
"
8456 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8457 echo "$ac_t""yes" 1>&6
8458 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8459 cat >> confdefs.h <<EOF
8460 #define $ac_tr_hdr 1
8464 echo "$ac_t""no
" 1>&6
8469 # If we're not using GNU ld, then there's no point in even trying these
8470 # tests. Check for that first. We should have already tested for gld
8471 # by now (in libtool), but require it now just to be safe...
8472 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8473 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8476 # The name set by libtool depends on the version of libtool. Shame on us
8477 # for depending on an impl detail, but c'est la vie. Older versions used
8478 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8479 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8480 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8481 # set (hence we're using an older libtool), then set it.
8482 if test x${with_gnu_ld+set} != xset; then
8483 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8484 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
8487 with_gnu_ld=$ac_cv_prog_gnu_ld
8491 # Start by getting the version number. I think the libtool test already
8492 # does some of this, but throws away the result.
8494 ldver=`$LD --version 2>/dev/null | head -1 | \
8495 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8497 glibcpp_gnu_ld_version=`echo $ldver | \
8498 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8500 # Set --gc-sections.
8501 if test "$with_gnu_ld" = "notbroken
"; then
8502 # GNU ld it is! Joy and bunny rabbits!
8504 # All these tests are for C++; save the language and the compiler flags.
8505 # Need to do this so that g++ won't try to link in libstdc++
8506 ac_test_CFLAGS="${CFLAGS+set}"
8507 ac_save_CFLAGS="$CFLAGS"
8508 CFLAGS='-x c++ -Wl,--gc-sections'
8510 # Check for -Wl,--gc-sections
8511 # XXX This test is broken at the moment, as symbols required for
8512 # linking are now in libsupc++ (not built yet.....). In addition,
8513 # this test has cored on solaris in the past. In addition,
8514 # --gc-sections doesn't really work at the moment (keeps on discarding
8515 # used sections, first .eh_frame and now some of the glibc sections for
8516 # iconv). Bzzzzt. Thanks for playing, maybe next time.
8517 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
8518 echo "configure
:8519: checking
for ld that supports
-Wl,--gc-sections" >&5
8519 if test "$cross_compiling" = yes; then
8520 ac_sectionLDflags=yes
8522 cat > conftest.$ac_ext <<EOF
8523 #line 8524 "configure
"
8524 #include "confdefs.h
"
8534 if { (eval echo configure:8535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8536 ac_sectionLDflags=yes
8538 echo "configure
: failed program was
:" >&5
8539 cat conftest.$ac_ext >&5
8541 ac_sectionLDflags=no
8546 if test "$ac_test_CFLAGS" = set; then
8547 CFLAGS="$ac_save_CFLAGS"
8549 # this is the suspicious part
8552 if test "$ac_sectionLDflags" = "yes"; then
8553 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8555 echo "$ac_t""$ac_sectionLDflags" 1>&6
8558 # Set linker optimization flags.
8559 if test x"$with_gnu_ld" = x"yes"; then
8560 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8567 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
8568 echo "configure
:8569: checking
for main
in -lm" >&5
8569 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
8570 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8571 echo $ac_n "(cached
) $ac_c" 1>&6
8573 ac_save_LIBS="$LIBS"
8575 cat > conftest.$ac_ext <<EOF
8576 #line 8577 "configure
"
8577 #include "confdefs.h
"
8583 if { (eval echo configure:8584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8585 eval "ac_cv_lib_
$ac_lib_var=yes"
8587 echo "configure
: failed program was
:" >&5
8588 cat conftest.$ac_ext >&5
8590 eval "ac_cv_lib_
$ac_lib_var=no
"
8593 LIBS="$ac_save_LIBS"
8596 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8597 echo "$ac_t""yes" 1>&6
8598 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
8599 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
8600 cat >> confdefs.h <<EOF
8601 #define $ac_tr_lib 1
8607 echo "$ac_t""no
" 1>&6
8610 for ac_func in nan copysignf
8612 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8613 echo "configure
:8614: checking
for $ac_func" >&5
8614 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8615 echo $ac_n "(cached
) $ac_c" 1>&6
8617 cat > conftest.$ac_ext <<EOF
8618 #line 8619 "configure
"
8619 #include "confdefs.h
"
8620 /* System header to define __stub macros and hopefully few prototypes,
8621 which can conflict with char $ac_func(); below. */
8623 /* Override any gcc2 internal prototype to avoid an error. */
8624 /* We use char because int might match the return type of a gcc2
8625 builtin and then its argument prototype would still apply. */
8630 /* The GNU C library defines this for functions which it implements
8631 to always fail with ENOSYS. Some functions are actually named
8632 something starting with __ and the normal name is an alias. */
8633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8641 if { (eval echo configure:8642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8643 eval "ac_cv_func_
$ac_func=yes"
8645 echo "configure
: failed program was
:" >&5
8646 cat conftest.$ac_ext >&5
8648 eval "ac_cv_func_
$ac_func=no
"
8653 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8654 echo "$ac_t""yes" 1>&6
8655 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8656 cat >> confdefs.h <<EOF
8657 #define $ac_tr_func 1
8661 echo "$ac_t""no
" 1>&6
8662 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
8667 for ac_func in __signbit
8669 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8670 echo "configure
:8671: checking
for $ac_func" >&5
8671 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8672 echo $ac_n "(cached
) $ac_c" 1>&6
8674 cat > conftest.$ac_ext <<EOF
8675 #line 8676 "configure
"
8676 #include "confdefs.h
"
8677 /* System header to define __stub macros and hopefully few prototypes,
8678 which can conflict with char $ac_func(); below. */
8680 /* Override any gcc2 internal prototype to avoid an error. */
8681 /* We use char because int might match the return type of a gcc2
8682 builtin and then its argument prototype would still apply. */
8687 /* The GNU C library defines this for functions which it implements
8688 to always fail with ENOSYS. Some functions are actually named
8689 something starting with __ and the normal name is an alias. */
8690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8698 if { (eval echo configure:8699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8700 eval "ac_cv_func_
$ac_func=yes"
8702 echo "configure
: failed program was
:" >&5
8703 cat conftest.$ac_ext >&5
8705 eval "ac_cv_func_
$ac_func=no
"
8710 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8711 echo "$ac_t""yes" 1>&6
8712 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8713 cat >> confdefs.h <<EOF
8714 #define $ac_tr_func 1
8718 echo "$ac_t""no
" 1>&6
8719 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
8723 for ac_func in __signbitf
8725 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8726 echo "configure
:8727: checking
for $ac_func" >&5
8727 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8728 echo $ac_n "(cached
) $ac_c" 1>&6
8730 cat > conftest.$ac_ext <<EOF
8731 #line 8732 "configure
"
8732 #include "confdefs.h
"
8733 /* System header to define __stub macros and hopefully few prototypes,
8734 which can conflict with char $ac_func(); below. */
8736 /* Override any gcc2 internal prototype to avoid an error. */
8737 /* We use char because int might match the return type of a gcc2
8738 builtin and then its argument prototype would still apply. */
8743 /* The GNU C library defines this for functions which it implements
8744 to always fail with ENOSYS. Some functions are actually named
8745 something starting with __ and the normal name is an alias. */
8746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8754 if { (eval echo configure:8755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8756 eval "ac_cv_func_
$ac_func=yes"
8758 echo "configure
: failed program was
:" >&5
8759 cat conftest.$ac_ext >&5
8761 eval "ac_cv_func_
$ac_func=no
"
8766 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8767 echo "$ac_t""yes" 1>&6
8768 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8769 cat >> confdefs.h <<EOF
8770 #define $ac_tr_func 1
8774 echo "$ac_t""no
" 1>&6
8775 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
8780 if test x$ac_cv_func_copysignl = x"yes"; then
8781 for ac_func in __signbitl
8783 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8784 echo "configure
:8785: checking
for $ac_func" >&5
8785 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8786 echo $ac_n "(cached
) $ac_c" 1>&6
8788 cat > conftest.$ac_ext <<EOF
8789 #line 8790 "configure
"
8790 #include "confdefs.h
"
8791 /* System header to define __stub macros and hopefully few prototypes,
8792 which can conflict with char $ac_func(); below. */
8794 /* Override any gcc2 internal prototype to avoid an error. */
8795 /* We use char because int might match the return type of a gcc2
8796 builtin and then its argument prototype would still apply. */
8801 /* The GNU C library defines this for functions which it implements
8802 to always fail with ENOSYS. Some functions are actually named
8803 something starting with __ and the normal name is an alias. */
8804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8812 if { (eval echo configure:8813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8814 eval "ac_cv_func_
$ac_func=yes"
8816 echo "configure
: failed program was
:" >&5
8817 cat conftest.$ac_ext >&5
8819 eval "ac_cv_func_
$ac_func=no
"
8824 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8825 echo "$ac_t""yes" 1>&6
8826 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8827 cat >> confdefs.h <<EOF
8828 #define $ac_tr_func 1
8832 echo "$ac_t""no
" 1>&6
8833 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
8839 if test -n "$LIBMATHOBJS"; then
8845 if test "$need_libmath" = yes; then
8846 GLIBCPP_BUILD_LIBMATH_TRUE=
8847 GLIBCPP_BUILD_LIBMATH_FALSE='#'
8849 GLIBCPP_BUILD_LIBMATH_TRUE='#'
8850 GLIBCPP_BUILD_LIBMATH_FALSE=
8856 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
8857 echo "configure
:8858: checking
for mbstate_t
" >&5
8858 cat > conftest.$ac_ext <<EOF
8859 #line 8860 "configure
"
8860 #include "confdefs.h
"
8863 mbstate_t teststate;
8866 if { (eval echo configure:8867: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8870 echo "configure
: failed program was
:" >&5
8871 cat conftest.$ac_ext >&5
8876 echo "$ac_t""$have_mbstate_t" 1>&6
8877 if test x"$have_mbstate_t" = xyes; then
8878 cat >> confdefs.h <<\EOF
8879 #define HAVE_MBSTATE_T 1
8884 for ac_hdr in wchar.h
8886 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8887 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
8888 echo "configure
:8889: checking
for $ac_hdr" >&5
8889 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8890 echo $ac_n "(cached
) $ac_c" 1>&6
8892 cat > conftest.$ac_ext <<EOF
8893 #line 8894 "configure
"
8894 #include "confdefs.h
"
8897 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8898 { (eval echo configure:8899: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8899 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8900 if test -z "$ac_err"; then
8902 eval "ac_cv_header_
$ac_safe=yes"
8905 echo "configure
: failed program was
:" >&5
8906 cat conftest.$ac_ext >&5
8908 eval "ac_cv_header_
$ac_safe=no
"
8912 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8913 echo "$ac_t""yes" 1>&6
8914 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8915 cat >> confdefs.h <<EOF
8916 #define $ac_tr_hdr 1
8920 echo "$ac_t""no
" 1>&6
8925 for ac_hdr in wctype.h
8927 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8928 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
8929 echo "configure
:8930: checking
for $ac_hdr" >&5
8930 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8931 echo $ac_n "(cached
) $ac_c" 1>&6
8933 cat > conftest.$ac_ext <<EOF
8934 #line 8935 "configure
"
8935 #include "confdefs.h
"
8938 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8939 { (eval echo configure:8940: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8940 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8941 if test -z "$ac_err"; then
8943 eval "ac_cv_header_
$ac_safe=yes"
8946 echo "configure
: failed program was
:" >&5
8947 cat conftest.$ac_ext >&5
8949 eval "ac_cv_header_
$ac_safe=no
"
8953 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8954 echo "$ac_t""yes" 1>&6
8955 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8956 cat >> confdefs.h <<EOF
8957 #define $ac_tr_hdr 1
8961 echo "$ac_t""no
" 1>&6
8967 if test x"$ac_has_wchar_h" = xyes &&
8968 test x"$ac_has_wctype_h" = xyes &&
8969 test x"$enable_c_mbchar" != xno; then
8971 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
8972 echo "configure
:8973: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
8973 cat > conftest.$ac_ext <<EOF
8974 #line 8975 "configure
"
8975 #include "confdefs.h
"
8978 int i = WCHAR_MIN; int j = WCHAR_MAX;
8981 if { (eval echo configure:8982: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8983 has_wchar_minmax=yes
8985 echo "configure
: failed program was
:" >&5
8986 cat conftest.$ac_ext >&5
8991 echo "$ac_t""$has_wchar_minmax" 1>&6
8993 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
8994 echo "configure
:8995: checking
for WEOF
" >&5
8995 cat > conftest.$ac_ext <<EOF
8996 #line 8997 "configure
"
8997 #include "confdefs.h
"
9005 if { (eval echo configure:9006: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9009 echo "configure
: failed program was
:" >&5
9010 cat conftest.$ac_ext >&5
9015 echo "$ac_t""$has_weof" 1>&6
9018 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
9020 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9021 echo "configure
:9022: checking
for $ac_func" >&5
9022 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9023 echo $ac_n "(cached
) $ac_c" 1>&6
9025 cat > conftest.$ac_ext <<EOF
9026 #line 9027 "configure
"
9027 #include "confdefs.h
"
9028 /* System header to define __stub macros and hopefully few prototypes,
9029 which can conflict with char $ac_func(); below. */
9031 /* Override any gcc2 internal prototype to avoid an error. */
9032 /* We use char because int might match the return type of a gcc2
9033 builtin and then its argument prototype would still apply. */
9038 /* The GNU C library defines this for functions which it implements
9039 to always fail with ENOSYS. Some functions are actually named
9040 something starting with __ and the normal name is an alias. */
9041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9049 if { (eval echo configure:9050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9051 eval "ac_cv_func_
$ac_func=yes"
9053 echo "configure
: failed program was
:" >&5
9054 cat conftest.$ac_ext >&5
9056 eval "ac_cv_func_
$ac_func=no
"
9061 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9062 echo "$ac_t""yes" 1>&6
9063 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9064 cat >> confdefs.h <<EOF
9065 #define $ac_tr_func 1
9069 echo "$ac_t""no
" 1>&6
9076 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
9077 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
9078 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
9079 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
9080 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
9081 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
9083 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9084 echo "configure
:9085: checking
for $ac_func" >&5
9085 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9086 echo $ac_n "(cached
) $ac_c" 1>&6
9088 cat > conftest.$ac_ext <<EOF
9089 #line 9090 "configure
"
9090 #include "confdefs.h
"
9091 /* System header to define __stub macros and hopefully few prototypes,
9092 which can conflict with char $ac_func(); below. */
9094 /* Override any gcc2 internal prototype to avoid an error. */
9095 /* We use char because int might match the return type of a gcc2
9096 builtin and then its argument prototype would still apply. */
9101 /* The GNU C library defines this for functions which it implements
9102 to always fail with ENOSYS. Some functions are actually named
9103 something starting with __ and the normal name is an alias. */
9104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9112 if { (eval echo configure:9113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9114 eval "ac_cv_func_
$ac_func=yes"
9116 echo "configure
: failed program was
:" >&5
9117 cat conftest.$ac_ext >&5
9119 eval "ac_cv_func_
$ac_func=no
"
9124 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9125 echo "$ac_t""yes" 1>&6
9126 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9127 cat >> confdefs.h <<EOF
9128 #define $ac_tr_func 1
9132 echo "$ac_t""no
" 1>&6
9139 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
9140 echo "configure
:9141: checking
for ISO C99 wchar_t support
" >&5
9141 if test x"$has_weof" = xyes &&
9142 test x"$has_wchar_minmax" = xyes &&
9143 test x"$ac_wfuncs" = xyes; then
9144 ac_isoC99_wchar_t=yes
9146 ac_isoC99_wchar_t=no
9148 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
9150 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
9151 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
9152 echo "configure
:9153: checking
for iconv.h
" >&5
9153 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9154 echo $ac_n "(cached
) $ac_c" 1>&6
9156 cat > conftest.$ac_ext <<EOF
9157 #line 9158 "configure
"
9158 #include "confdefs.h
"
9161 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
9162 { (eval echo configure:9163: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9163 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
9164 if test -z "$ac_err"; then
9166 eval "ac_cv_header_
$ac_safe=yes"
9169 echo "configure
: failed program was
:" >&5
9170 cat conftest.$ac_ext >&5
9172 eval "ac_cv_header_
$ac_safe=no
"
9176 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9177 echo "$ac_t""yes" 1>&6
9180 echo "$ac_t""no
" 1>&6
9184 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
9185 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
9186 echo "configure
:9187: checking
for langinfo.h
" >&5
9187 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9188 echo $ac_n "(cached
) $ac_c" 1>&6
9190 cat > conftest.$ac_ext <<EOF
9191 #line 9192 "configure
"
9192 #include "confdefs.h
"
9193 #include <langinfo.h>
9195 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
9196 { (eval echo configure:9197: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9197 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
9198 if test -z "$ac_err"; then
9200 eval "ac_cv_header_
$ac_safe=yes"
9203 echo "configure
: failed program was
:" >&5
9204 cat conftest.$ac_ext >&5
9206 eval "ac_cv_header_
$ac_safe=no
"
9210 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9211 echo "$ac_t""yes" 1>&6
9212 ac_has_langinfo_h=yes
9214 echo "$ac_t""no
" 1>&6
9215 ac_has_langinfo_h=no
9219 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
9220 echo "configure
:9221: checking
for iconv in -liconv" >&5
9221 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
9222 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9223 echo $ac_n "(cached
) $ac_c" 1>&6
9225 ac_save_LIBS="$LIBS"
9226 LIBS="-liconv $LIBS"
9227 cat > conftest.$ac_ext <<EOF
9228 #line 9229 "configure
"
9229 #include "confdefs.h
"
9230 /* Override any gcc2 internal prototype to avoid an error. */
9231 /* We use char because int might match the return type of a gcc2
9232 builtin and then its argument prototype would still apply. */
9239 if { (eval echo configure:9240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9241 eval "ac_cv_lib_
$ac_lib_var=yes"
9243 echo "configure
: failed program was
:" >&5
9244 cat conftest.$ac_ext >&5
9246 eval "ac_cv_lib_
$ac_lib_var=no
"
9249 LIBS="$ac_save_LIBS"
9252 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9253 echo "$ac_t""yes" 1>&6
9256 echo "$ac_t""no
" 1>&6
9259 ac_save_LIBS="$LIBS"
9260 LIBS="$LIBS $libiconv"
9262 for ac_func in iconv_open iconv_close iconv nl_langinfo
9264 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9265 echo "configure
:9266: checking
for $ac_func" >&5
9266 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9267 echo $ac_n "(cached
) $ac_c" 1>&6
9269 cat > conftest.$ac_ext <<EOF
9270 #line 9271 "configure
"
9271 #include "confdefs.h
"
9272 /* System header to define __stub macros and hopefully few prototypes,
9273 which can conflict with char $ac_func(); below. */
9275 /* Override any gcc2 internal prototype to avoid an error. */
9276 /* We use char because int might match the return type of a gcc2
9277 builtin and then its argument prototype would still apply. */
9282 /* The GNU C library defines this for functions which it implements
9283 to always fail with ENOSYS. Some functions are actually named
9284 something starting with __ and the normal name is an alias. */
9285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9293 if { (eval echo configure:9294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9295 eval "ac_cv_func_
$ac_func=yes"
9297 echo "configure
: failed program was
:" >&5
9298 cat conftest.$ac_ext >&5
9300 eval "ac_cv_func_
$ac_func=no
"
9305 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9306 echo "$ac_t""yes" 1>&6
9307 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9308 cat >> confdefs.h <<EOF
9309 #define $ac_tr_func 1
9314 echo "$ac_t""no
" 1>&6
9320 LIBS="$ac_save_LIBS"
9322 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
9323 echo "configure
:9324: checking
for XPG2 wchar_t support
" >&5
9324 if test x"$ac_has_iconv_h" = xyes &&
9325 test x"$ac_has_langinfo_h" = xyes &&
9326 test x"$ac_XPG2funcs" = xyes; then
9331 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
9333 if test x"$ac_isoC99_wchar_t" = xyes &&
9334 test x"$ac_XPG2_wchar_t" = xyes; then
9335 cat >> confdefs.h <<\EOF
9336 #define _GLIBCPP_USE_WCHAR_T 1
9342 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
9343 echo "configure
:9344: checking
for enabled wchar_t specializations
" >&5
9344 echo "$ac_t""$enable_wchar_t" 1>&6
9347 if test "$enable_wchar_t" = yes; then
9348 GLIBCPP_TEST_WCHAR_T_TRUE=
9349 GLIBCPP_TEST_WCHAR_T_FALSE='#'
9351 GLIBCPP_TEST_WCHAR_T_TRUE='#'
9352 GLIBCPP_TEST_WCHAR_T_FALSE=
9357 os_include_dir="os
/windiss
"
9358 cat >> confdefs.h <<\EOF
9359 #define HAVE_ACOSF 1
9362 cat >> confdefs.h <<\EOF
9363 #define HAVE_ASINF 1
9366 cat >> confdefs.h <<\EOF
9367 #define HAVE_ATAN2F 1
9370 cat >> confdefs.h <<\EOF
9371 #define HAVE_ATANF 1
9374 cat >> confdefs.h <<\EOF
9375 #define HAVE_CEILF 1
9378 cat >> confdefs.h <<\EOF
9379 #define HAVE_COPYSIGN 1
9382 cat >> confdefs.h <<\EOF
9383 #define HAVE_COPYSIGNF 1
9386 cat >> confdefs.h <<\EOF
9390 cat >> confdefs.h <<\EOF
9391 #define HAVE_COSHF 1
9394 cat >> confdefs.h <<\EOF
9398 cat >> confdefs.h <<\EOF
9399 #define HAVE_FABSF 1
9402 cat >> confdefs.h <<\EOF
9403 #define HAVE_FLOORF 1
9406 cat >> confdefs.h <<\EOF
9407 #define HAVE_FMODF 1
9410 cat >> confdefs.h <<\EOF
9411 #define HAVE_FREXPF 1
9414 cat >> confdefs.h <<\EOF
9415 #define HAVE_LDEXPF 1
9418 cat >> confdefs.h <<\EOF
9419 #define HAVE_LOG10F 1
9422 cat >> confdefs.h <<\EOF
9426 cat >> confdefs.h <<\EOF
9427 #define HAVE_MODFF 1
9430 cat >> confdefs.h <<\EOF
9434 cat >> confdefs.h <<\EOF
9438 cat >> confdefs.h <<\EOF
9439 #define HAVE_SINHF 1
9442 cat >> confdefs.h <<\EOF
9443 #define HAVE_SQRTF 1
9446 cat >> confdefs.h <<\EOF
9450 cat >> confdefs.h <<\EOF
9451 #define HAVE_TANHF 1
9456 os_include_dir="os
/qnx
/qnx6.1
"
9457 SECTION_FLAGS='-ffunction-sections -fdata-sections'
9460 # If we're not using GNU ld, then there's no point in even trying these
9461 # tests. Check for that first. We should have already tested for gld
9462 # by now (in libtool), but require it now just to be safe...
9463 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
9464 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
9467 # The name set by libtool depends on the version of libtool. Shame on us
9468 # for depending on an impl detail, but c'est la vie. Older versions used
9469 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
9470 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
9471 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
9472 # set (hence we're using an older libtool), then set it.
9473 if test x${with_gnu_ld+set} != xset; then
9474 if test x${ac_cv_prog_gnu_ld+set} != xset; then
9475 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
9478 with_gnu_ld=$ac_cv_prog_gnu_ld
9482 # Start by getting the version number. I think the libtool test already
9483 # does some of this, but throws away the result.
9485 ldver=`$LD --version 2>/dev/null | head -1 | \
9486 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
9488 glibcpp_gnu_ld_version=`echo $ldver | \
9489 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
9491 # Set --gc-sections.
9492 if test "$with_gnu_ld" = "notbroken
"; then
9493 # GNU ld it is! Joy and bunny rabbits!
9495 # All these tests are for C++; save the language and the compiler flags.
9496 # Need to do this so that g++ won't try to link in libstdc++
9497 ac_test_CFLAGS="${CFLAGS+set}"
9498 ac_save_CFLAGS="$CFLAGS"
9499 CFLAGS='-x c++ -Wl,--gc-sections'
9501 # Check for -Wl,--gc-sections
9502 # XXX This test is broken at the moment, as symbols required for
9503 # linking are now in libsupc++ (not built yet.....). In addition,
9504 # this test has cored on solaris in the past. In addition,
9505 # --gc-sections doesn't really work at the moment (keeps on discarding
9506 # used sections, first .eh_frame and now some of the glibc sections for
9507 # iconv). Bzzzzt. Thanks for playing, maybe next time.
9508 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
9509 echo "configure
:9510: checking
for ld that supports
-Wl,--gc-sections" >&5
9510 if test "$cross_compiling" = yes; then
9511 ac_sectionLDflags=yes
9513 cat > conftest.$ac_ext <<EOF
9514 #line 9515 "configure
"
9515 #include "confdefs.h
"
9525 if { (eval echo configure:9526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9527 ac_sectionLDflags=yes
9529 echo "configure
: failed program was
:" >&5
9530 cat conftest.$ac_ext >&5
9532 ac_sectionLDflags=no
9537 if test "$ac_test_CFLAGS" = set; then
9538 CFLAGS="$ac_save_CFLAGS"
9540 # this is the suspicious part
9543 if test "$ac_sectionLDflags" = "yes"; then
9544 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
9546 echo "$ac_t""$ac_sectionLDflags" 1>&6
9549 # Set linker optimization flags.
9550 if test x"$with_gnu_ld" = x"yes"; then
9551 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
9558 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
9559 echo "configure
:9560: checking
for main
in -lm" >&5
9560 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
9561 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9562 echo $ac_n "(cached
) $ac_c" 1>&6
9564 ac_save_LIBS="$LIBS"
9566 cat > conftest.$ac_ext <<EOF
9567 #line 9568 "configure
"
9568 #include "confdefs.h
"
9574 if { (eval echo configure:9575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9576 eval "ac_cv_lib_
$ac_lib_var=yes"
9578 echo "configure
: failed program was
:" >&5
9579 cat conftest.$ac_ext >&5
9581 eval "ac_cv_lib_
$ac_lib_var=no
"
9584 LIBS="$ac_save_LIBS"
9587 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9588 echo "$ac_t""yes" 1>&6
9589 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
9590 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
9591 cat >> confdefs.h <<EOF
9592 #define $ac_tr_lib 1
9598 echo "$ac_t""no
" 1>&6
9601 for ac_func in nan copysignf
9603 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9604 echo "configure
:9605: checking
for $ac_func" >&5
9605 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9606 echo $ac_n "(cached
) $ac_c" 1>&6
9608 cat > conftest.$ac_ext <<EOF
9609 #line 9610 "configure
"
9610 #include "confdefs.h
"
9611 /* System header to define __stub macros and hopefully few prototypes,
9612 which can conflict with char $ac_func(); below. */
9614 /* Override any gcc2 internal prototype to avoid an error. */
9615 /* We use char because int might match the return type of a gcc2
9616 builtin and then its argument prototype would still apply. */
9621 /* The GNU C library defines this for functions which it implements
9622 to always fail with ENOSYS. Some functions are actually named
9623 something starting with __ and the normal name is an alias. */
9624 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9632 if { (eval echo configure:9633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9634 eval "ac_cv_func_
$ac_func=yes"
9636 echo "configure
: failed program was
:" >&5
9637 cat conftest.$ac_ext >&5
9639 eval "ac_cv_func_
$ac_func=no
"
9644 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9645 echo "$ac_t""yes" 1>&6
9646 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9647 cat >> confdefs.h <<EOF
9648 #define $ac_tr_func 1
9652 echo "$ac_t""no
" 1>&6
9653 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
9658 for ac_func in __signbit
9660 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9661 echo "configure
:9662: checking
for $ac_func" >&5
9662 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9663 echo $ac_n "(cached
) $ac_c" 1>&6
9665 cat > conftest.$ac_ext <<EOF
9666 #line 9667 "configure
"
9667 #include "confdefs.h
"
9668 /* System header to define __stub macros and hopefully few prototypes,
9669 which can conflict with char $ac_func(); below. */
9671 /* Override any gcc2 internal prototype to avoid an error. */
9672 /* We use char because int might match the return type of a gcc2
9673 builtin and then its argument prototype would still apply. */
9678 /* The GNU C library defines this for functions which it implements
9679 to always fail with ENOSYS. Some functions are actually named
9680 something starting with __ and the normal name is an alias. */
9681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9689 if { (eval echo configure:9690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9691 eval "ac_cv_func_
$ac_func=yes"
9693 echo "configure
: failed program was
:" >&5
9694 cat conftest.$ac_ext >&5
9696 eval "ac_cv_func_
$ac_func=no
"
9701 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9702 echo "$ac_t""yes" 1>&6
9703 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9704 cat >> confdefs.h <<EOF
9705 #define $ac_tr_func 1
9709 echo "$ac_t""no
" 1>&6
9710 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
9714 for ac_func in __signbitf
9716 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9717 echo "configure
:9718: checking
for $ac_func" >&5
9718 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9719 echo $ac_n "(cached
) $ac_c" 1>&6
9721 cat > conftest.$ac_ext <<EOF
9722 #line 9723 "configure
"
9723 #include "confdefs.h
"
9724 /* System header to define __stub macros and hopefully few prototypes,
9725 which can conflict with char $ac_func(); below. */
9727 /* Override any gcc2 internal prototype to avoid an error. */
9728 /* We use char because int might match the return type of a gcc2
9729 builtin and then its argument prototype would still apply. */
9734 /* The GNU C library defines this for functions which it implements
9735 to always fail with ENOSYS. Some functions are actually named
9736 something starting with __ and the normal name is an alias. */
9737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9745 if { (eval echo configure:9746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9747 eval "ac_cv_func_
$ac_func=yes"
9749 echo "configure
: failed program was
:" >&5
9750 cat conftest.$ac_ext >&5
9752 eval "ac_cv_func_
$ac_func=no
"
9757 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9758 echo "$ac_t""yes" 1>&6
9759 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9760 cat >> confdefs.h <<EOF
9761 #define $ac_tr_func 1
9765 echo "$ac_t""no
" 1>&6
9766 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
9771 if test x$ac_cv_func_copysignl = x"yes"; then
9772 for ac_func in __signbitl
9774 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9775 echo "configure
:9776: checking
for $ac_func" >&5
9776 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9777 echo $ac_n "(cached
) $ac_c" 1>&6
9779 cat > conftest.$ac_ext <<EOF
9780 #line 9781 "configure
"
9781 #include "confdefs.h
"
9782 /* System header to define __stub macros and hopefully few prototypes,
9783 which can conflict with char $ac_func(); below. */
9785 /* Override any gcc2 internal prototype to avoid an error. */
9786 /* We use char because int might match the return type of a gcc2
9787 builtin and then its argument prototype would still apply. */
9792 /* The GNU C library defines this for functions which it implements
9793 to always fail with ENOSYS. Some functions are actually named
9794 something starting with __ and the normal name is an alias. */
9795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9803 if { (eval echo configure:9804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9805 eval "ac_cv_func_
$ac_func=yes"
9807 echo "configure
: failed program was
:" >&5
9808 cat conftest.$ac_ext >&5
9810 eval "ac_cv_func_
$ac_func=no
"
9815 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9816 echo "$ac_t""yes" 1>&6
9817 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9818 cat >> confdefs.h <<EOF
9819 #define $ac_tr_func 1
9823 echo "$ac_t""no
" 1>&6
9824 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
9830 if test -n "$LIBMATHOBJS"; then
9836 if test "$need_libmath" = yes; then
9837 GLIBCPP_BUILD_LIBMATH_TRUE=
9838 GLIBCPP_BUILD_LIBMATH_FALSE='#'
9840 GLIBCPP_BUILD_LIBMATH_TRUE='#'
9841 GLIBCPP_BUILD_LIBMATH_FALSE=
9847 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
9848 echo "configure
:9849: checking
for mbstate_t
" >&5
9849 cat > conftest.$ac_ext <<EOF
9850 #line 9851 "configure
"
9851 #include "confdefs.h
"
9854 mbstate_t teststate;
9857 if { (eval echo configure:9858: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9861 echo "configure
: failed program was
:" >&5
9862 cat conftest.$ac_ext >&5
9867 echo "$ac_t""$have_mbstate_t" 1>&6
9868 if test x"$have_mbstate_t" = xyes; then
9869 cat >> confdefs.h <<\EOF
9870 #define HAVE_MBSTATE_T 1
9875 for ac_hdr in wchar.h
9877 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9878 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
9879 echo "configure
:9880: checking
for $ac_hdr" >&5
9880 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9881 echo $ac_n "(cached
) $ac_c" 1>&6
9883 cat > conftest.$ac_ext <<EOF
9884 #line 9885 "configure
"
9885 #include "confdefs.h
"
9888 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
9889 { (eval echo configure:9890: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9890 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
9891 if test -z "$ac_err"; then
9893 eval "ac_cv_header_
$ac_safe=yes"
9896 echo "configure
: failed program was
:" >&5
9897 cat conftest.$ac_ext >&5
9899 eval "ac_cv_header_
$ac_safe=no
"
9903 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9904 echo "$ac_t""yes" 1>&6
9905 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9906 cat >> confdefs.h <<EOF
9907 #define $ac_tr_hdr 1
9911 echo "$ac_t""no
" 1>&6
9916 for ac_hdr in wctype.h
9918 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9919 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
9920 echo "configure
:9921: checking
for $ac_hdr" >&5
9921 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9922 echo $ac_n "(cached
) $ac_c" 1>&6
9924 cat > conftest.$ac_ext <<EOF
9925 #line 9926 "configure
"
9926 #include "confdefs.h
"
9929 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
9930 { (eval echo configure:9931: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9931 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
9932 if test -z "$ac_err"; then
9934 eval "ac_cv_header_
$ac_safe=yes"
9937 echo "configure
: failed program was
:" >&5
9938 cat conftest.$ac_ext >&5
9940 eval "ac_cv_header_
$ac_safe=no
"
9944 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9945 echo "$ac_t""yes" 1>&6
9946 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9947 cat >> confdefs.h <<EOF
9948 #define $ac_tr_hdr 1
9952 echo "$ac_t""no
" 1>&6
9958 if test x"$ac_has_wchar_h" = xyes &&
9959 test x"$ac_has_wctype_h" = xyes &&
9960 test x"$enable_c_mbchar" != xno; then
9962 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
9963 echo "configure
:9964: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
9964 cat > conftest.$ac_ext <<EOF
9965 #line 9966 "configure
"
9966 #include "confdefs.h
"
9969 int i = WCHAR_MIN; int j = WCHAR_MAX;
9972 if { (eval echo configure:9973: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9974 has_wchar_minmax=yes
9976 echo "configure
: failed program was
:" >&5
9977 cat conftest.$ac_ext >&5
9982 echo "$ac_t""$has_wchar_minmax" 1>&6
9984 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
9985 echo "configure
:9986: checking
for WEOF
" >&5
9986 cat > conftest.$ac_ext <<EOF
9987 #line 9988 "configure
"
9988 #include "confdefs.h
"
9996 if { (eval echo configure:9997: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10000 echo "configure
: failed program was
:" >&5
10001 cat conftest.$ac_ext >&5
10006 echo "$ac_t""$has_weof" 1>&6
10009 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
10011 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10012 echo "configure
:10013: checking
for $ac_func" >&5
10013 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10014 echo $ac_n "(cached
) $ac_c" 1>&6
10016 cat > conftest.$ac_ext <<EOF
10017 #line 10018 "configure
"
10018 #include "confdefs.h
"
10019 /* System header to define __stub macros and hopefully few prototypes,
10020 which can conflict with char $ac_func(); below. */
10021 #include <assert.h>
10022 /* Override any gcc2 internal prototype to avoid an error. */
10023 /* We use char because int might match the return type of a gcc2
10024 builtin and then its argument prototype would still apply. */
10029 /* The GNU C library defines this for functions which it implements
10030 to always fail with ENOSYS. Some functions are actually named
10031 something starting with __ and the normal name is an alias. */
10032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10040 if { (eval echo configure:10041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10042 eval "ac_cv_func_
$ac_func=yes"
10044 echo "configure
: failed program was
:" >&5
10045 cat conftest.$ac_ext >&5
10047 eval "ac_cv_func_
$ac_func=no
"
10052 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10053 echo "$ac_t""yes" 1>&6
10054 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10055 cat >> confdefs.h <<EOF
10056 #define $ac_tr_func 1
10060 echo "$ac_t""no
" 1>&6
10067 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
10068 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
10069 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
10070 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
10071 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
10072 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
10074 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10075 echo "configure
:10076: checking
for $ac_func" >&5
10076 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10077 echo $ac_n "(cached
) $ac_c" 1>&6
10079 cat > conftest.$ac_ext <<EOF
10080 #line 10081 "configure
"
10081 #include "confdefs.h
"
10082 /* System header to define __stub macros and hopefully few prototypes,
10083 which can conflict with char $ac_func(); below. */
10084 #include <assert.h>
10085 /* Override any gcc2 internal prototype to avoid an error. */
10086 /* We use char because int might match the return type of a gcc2
10087 builtin and then its argument prototype would still apply. */
10092 /* The GNU C library defines this for functions which it implements
10093 to always fail with ENOSYS. Some functions are actually named
10094 something starting with __ and the normal name is an alias. */
10095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10103 if { (eval echo configure:10104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10105 eval "ac_cv_func_
$ac_func=yes"
10107 echo "configure
: failed program was
:" >&5
10108 cat conftest.$ac_ext >&5
10110 eval "ac_cv_func_
$ac_func=no
"
10115 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10116 echo "$ac_t""yes" 1>&6
10117 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10118 cat >> confdefs.h <<EOF
10119 #define $ac_tr_func 1
10123 echo "$ac_t""no
" 1>&6
10130 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
10131 echo "configure
:10132: checking
for ISO C99 wchar_t support
" >&5
10132 if test x"$has_weof" = xyes &&
10133 test x"$has_wchar_minmax" = xyes &&
10134 test x"$ac_wfuncs" = xyes; then
10135 ac_isoC99_wchar_t=yes
10137 ac_isoC99_wchar_t=no
10139 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
10141 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
10142 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
10143 echo "configure
:10144: checking
for iconv.h
" >&5
10144 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10145 echo $ac_n "(cached
) $ac_c" 1>&6
10147 cat > conftest.$ac_ext <<EOF
10148 #line 10149 "configure
"
10149 #include "confdefs.h
"
10152 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
10153 { (eval echo configure:10154: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10154 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
10155 if test -z "$ac_err"; then
10157 eval "ac_cv_header_
$ac_safe=yes"
10160 echo "configure
: failed program was
:" >&5
10161 cat conftest.$ac_ext >&5
10163 eval "ac_cv_header_
$ac_safe=no
"
10167 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10168 echo "$ac_t""yes" 1>&6
10171 echo "$ac_t""no
" 1>&6
10175 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
10176 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
10177 echo "configure
:10178: checking
for langinfo.h
" >&5
10178 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10179 echo $ac_n "(cached
) $ac_c" 1>&6
10181 cat > conftest.$ac_ext <<EOF
10182 #line 10183 "configure
"
10183 #include "confdefs.h
"
10184 #include <langinfo.h>
10186 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
10187 { (eval echo configure:10188: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10188 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
10189 if test -z "$ac_err"; then
10191 eval "ac_cv_header_
$ac_safe=yes"
10194 echo "configure
: failed program was
:" >&5
10195 cat conftest.$ac_ext >&5
10197 eval "ac_cv_header_
$ac_safe=no
"
10201 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10202 echo "$ac_t""yes" 1>&6
10203 ac_has_langinfo_h=yes
10205 echo "$ac_t""no
" 1>&6
10206 ac_has_langinfo_h=no
10210 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
10211 echo "configure
:10212: checking
for iconv in -liconv" >&5
10212 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
10213 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10214 echo $ac_n "(cached
) $ac_c" 1>&6
10216 ac_save_LIBS="$LIBS"
10217 LIBS="-liconv $LIBS"
10218 cat > conftest.$ac_ext <<EOF
10219 #line 10220 "configure
"
10220 #include "confdefs.h
"
10221 /* Override any gcc2 internal prototype to avoid an error. */
10222 /* We use char because int might match the return type of a gcc2
10223 builtin and then its argument prototype would still apply. */
10230 if { (eval echo configure:10231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10232 eval "ac_cv_lib_
$ac_lib_var=yes"
10234 echo "configure
: failed program was
:" >&5
10235 cat conftest.$ac_ext >&5
10237 eval "ac_cv_lib_
$ac_lib_var=no
"
10240 LIBS="$ac_save_LIBS"
10243 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10244 echo "$ac_t""yes" 1>&6
10247 echo "$ac_t""no
" 1>&6
10250 ac_save_LIBS="$LIBS"
10251 LIBS="$LIBS $libiconv"
10253 for ac_func in iconv_open iconv_close iconv nl_langinfo
10255 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10256 echo "configure
:10257: checking
for $ac_func" >&5
10257 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10258 echo $ac_n "(cached
) $ac_c" 1>&6
10260 cat > conftest.$ac_ext <<EOF
10261 #line 10262 "configure
"
10262 #include "confdefs.h
"
10263 /* System header to define __stub macros and hopefully few prototypes,
10264 which can conflict with char $ac_func(); below. */
10265 #include <assert.h>
10266 /* Override any gcc2 internal prototype to avoid an error. */
10267 /* We use char because int might match the return type of a gcc2
10268 builtin and then its argument prototype would still apply. */
10273 /* The GNU C library defines this for functions which it implements
10274 to always fail with ENOSYS. Some functions are actually named
10275 something starting with __ and the normal name is an alias. */
10276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10284 if { (eval echo configure:10285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10286 eval "ac_cv_func_
$ac_func=yes"
10288 echo "configure
: failed program was
:" >&5
10289 cat conftest.$ac_ext >&5
10291 eval "ac_cv_func_
$ac_func=no
"
10296 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10297 echo "$ac_t""yes" 1>&6
10298 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10299 cat >> confdefs.h <<EOF
10300 #define $ac_tr_func 1
10305 echo "$ac_t""no
" 1>&6
10311 LIBS="$ac_save_LIBS"
10313 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
10314 echo "configure
:10315: checking
for XPG2 wchar_t support
" >&5
10315 if test x"$ac_has_iconv_h" = xyes &&
10316 test x"$ac_has_langinfo_h" = xyes &&
10317 test x"$ac_XPG2funcs" = xyes; then
10318 ac_XPG2_wchar_t=yes
10322 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
10324 if test x"$ac_isoC99_wchar_t" = xyes &&
10325 test x"$ac_XPG2_wchar_t" = xyes; then
10326 cat >> confdefs.h <<\EOF
10327 #define _GLIBCPP_USE_WCHAR_T 1
10333 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
10334 echo "configure
:10335: checking
for enabled wchar_t specializations
" >&5
10335 echo "$ac_t""$enable_wchar_t" 1>&6
10338 if test "$enable_wchar_t" = yes; then
10339 GLIBCPP_TEST_WCHAR_T_TRUE=
10340 GLIBCPP_TEST_WCHAR_T_FALSE='#'
10342 GLIBCPP_TEST_WCHAR_T_TRUE='#'
10343 GLIBCPP_TEST_WCHAR_T_FALSE=
10346 cat >> confdefs.h <<\EOF
10347 #define HAVE_COSF 1
10350 cat >> confdefs.h <<\EOF
10351 #define HAVE_COSL 1
10354 cat >> confdefs.h <<\EOF
10355 #define HAVE_COSHF 1
10358 cat >> confdefs.h <<\EOF
10359 #define HAVE_COSHL 1
10362 cat >> confdefs.h <<\EOF
10363 #define HAVE_LOGF 1
10366 cat >> confdefs.h <<\EOF
10367 #define HAVE_LOGL 1
10370 cat >> confdefs.h <<\EOF
10371 #define HAVE_LOG10F 1
10374 cat >> confdefs.h <<\EOF
10375 #define HAVE_LOG10L 1
10378 cat >> confdefs.h <<\EOF
10379 #define HAVE_SINF 1
10382 cat >> confdefs.h <<\EOF
10383 #define HAVE_SINL 1
10386 cat >> confdefs.h <<\EOF
10387 #define HAVE_SINHF 1
10390 cat >> confdefs.h <<\EOF
10391 #define HAVE_SINHL 1
10398 os_include_dir="os
/solaris
/solaris2.5
"
10401 os_include_dir="os
/solaris
/solaris2.6
"
10403 *-solaris2.[789] | *-solaris2.8 | *-solaris2.9)
10404 os_include_dir="os
/solaris
/solaris2.7
"
10407 cat >> confdefs.h <<\EOF
10408 #define HAVE_STRTOF 1
10411 cat >> confdefs.h <<\EOF
10412 #define HAVE_STRTOLD 1
10415 cat >> confdefs.h <<\EOF
10416 #define HAVE_MMAP 1
10419 cat >> confdefs.h <<\EOF
10420 #define HAVE_COPYSIGN 1
10423 cat >> confdefs.h <<\EOF
10424 #define HAVE_ISNAN 1
10427 cat >> confdefs.h <<\EOF
10428 #define HAVE_ISNANF 1
10431 cat >> confdefs.h <<\EOF
10432 #define HAVE_MODFF 1
10435 cat >> confdefs.h <<\EOF
10436 #define HAVE_HYPOT 1
10441 os_include_dir="os
/newlib
"
10442 cat >> confdefs.h <<\EOF
10443 #define HAVE_HYPOT 1
10447 # GLIBCPP_CHECK_STDLIB_SUPPORT
10448 cat >> confdefs.h <<\EOF
10449 #define HAVE_STRTOF 1
10452 cat >> confdefs.h <<\EOF
10453 #define HAVE_STRTOLD 1
10457 cat >> confdefs.h <<\EOF
10458 #define HAVE_MMAP 1
10462 cat >> confdefs.h <<\EOF
10463 #define HAVE_ACOSF 1
10466 cat >> confdefs.h <<\EOF
10467 #define HAVE_ASINF 1
10470 cat >> confdefs.h <<\EOF
10471 #define HAVE_ATAN2F 1
10474 cat >> confdefs.h <<\EOF
10475 #define HAVE_ATANF 1
10478 cat >> confdefs.h <<\EOF
10479 #define HAVE_CEILF 1
10482 cat >> confdefs.h <<\EOF
10483 #define HAVE_COPYSIGN 1
10486 cat >> confdefs.h <<\EOF
10487 #define HAVE_COPYSIGNF 1
10490 cat >> confdefs.h <<\EOF
10491 #define HAVE_COSF 1
10494 cat >> confdefs.h <<\EOF
10495 #define HAVE_COSHF 1
10498 cat >> confdefs.h <<\EOF
10499 #define HAVE_EXPF 1
10502 cat >> confdefs.h <<\EOF
10503 #define HAVE_FABSF 1
10506 cat >> confdefs.h <<\EOF
10507 #define HAVE_FLOORF 1
10510 cat >> confdefs.h <<\EOF
10511 #define HAVE_FMODF 1
10514 cat >> confdefs.h <<\EOF
10515 #define HAVE_FREXPF 1
10518 cat >> confdefs.h <<\EOF
10519 #define HAVE_LDEXPF 1
10522 cat >> confdefs.h <<\EOF
10523 #define HAVE_LOG10F 1
10526 cat >> confdefs.h <<\EOF
10527 #define HAVE_LOGF 1
10530 cat >> confdefs.h <<\EOF
10531 #define HAVE_MODFF 1
10534 cat >> confdefs.h <<\EOF
10535 #define HAVE_POWF 1
10538 cat >> confdefs.h <<\EOF
10539 #define HAVE_SINF 1
10542 cat >> confdefs.h <<\EOF
10543 #define HAVE_SINHF 1
10546 cat >> confdefs.h <<\EOF
10547 #define HAVE_SQRTF 1
10550 cat >> confdefs.h <<\EOF
10551 #define HAVE_TANF 1
10554 cat >> confdefs.h <<\EOF
10555 #define HAVE_TANHF 1
10561 # At some point, we should differentiate between architectures
10562 # like x86, which have long double versions, and alpha/powerpc/etc.,
10563 # which don't. For the time being, punt.
10564 if test x"long_double_math_on_this_cpu
" = x"yes"; then
10565 cat >> confdefs.h <<\EOF
10566 #define HAVE_ACOSL 1
10569 cat >> confdefs.h <<\EOF
10570 #define HAVE_ASINL 1
10573 cat >> confdefs.h <<\EOF
10574 #define HAVE_ATAN2L 1
10577 cat >> confdefs.h <<\EOF
10578 #define HAVE_ATANL 1
10581 cat >> confdefs.h <<\EOF
10582 #define HAVE_CEILL 1
10585 cat >> confdefs.h <<\EOF
10586 #define HAVE_COPYSIGNL 1
10589 cat >> confdefs.h <<\EOF
10590 #define HAVE_COSL 1
10593 cat >> confdefs.h <<\EOF
10594 #define HAVE_COSHL 1
10597 cat >> confdefs.h <<\EOF
10598 #define HAVE_EXPL 1
10601 cat >> confdefs.h <<\EOF
10602 #define HAVE_FABSL 1
10605 cat >> confdefs.h <<\EOF
10606 #define HAVE_FLOORL 1
10609 cat >> confdefs.h <<\EOF
10610 #define HAVE_FMODL 1
10613 cat >> confdefs.h <<\EOF
10614 #define HAVE_FREXPL 1
10617 cat >> confdefs.h <<\EOF
10618 #define HAVE_LDEXPL 1
10621 cat >> confdefs.h <<\EOF
10622 #define HAVE_LOG10L 1
10625 cat >> confdefs.h <<\EOF
10626 #define HAVE_LOGL 1
10629 cat >> confdefs.h <<\EOF
10630 #define HAVE_MODFL 1
10633 cat >> confdefs.h <<\EOF
10634 #define HAVE_POWL 1
10637 cat >> confdefs.h <<\EOF
10638 #define HAVE_SINCOSL 1
10641 cat >> confdefs.h <<\EOF
10642 #define HAVE_SINL 1
10645 cat >> confdefs.h <<\EOF
10646 #define HAVE_SINHL 1
10649 cat >> confdefs.h <<\EOF
10650 #define HAVE_SQRTL 1
10653 cat >> confdefs.h <<\EOF
10654 #define HAVE_TANL 1
10657 cat >> confdefs.h <<\EOF
10658 #define HAVE_TANHL 1
10665 # We are being configured natively. We can do more elaborate tests
10666 # that include AC_TRY_COMPILE now, as the linker is assumed to be
10668 GLIBCPP_IS_CROSS_COMPILING=0
10671 # Check for available headers.
10672 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
10673 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
10676 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10677 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
10678 echo "configure
:10679: checking
for $ac_hdr" >&5
10679 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10680 echo $ac_n "(cached
) $ac_c" 1>&6
10682 cat > conftest.$ac_ext <<EOF
10683 #line 10684 "configure
"
10684 #include "confdefs.h
"
10687 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
10688 { (eval echo configure:10689: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10689 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
10690 if test -z "$ac_err"; then
10692 eval "ac_cv_header_
$ac_safe=yes"
10695 echo "configure
: failed program was
:" >&5
10696 cat conftest.$ac_ext >&5
10698 eval "ac_cv_header_
$ac_safe=no
"
10702 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10703 echo "$ac_t""yes" 1>&6
10704 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10705 cat >> confdefs.h <<EOF
10706 #define $ac_tr_hdr 1
10710 echo "$ac_t""no
" 1>&6
10716 # All these tests are for C++; save the language and the compiler flags.
10717 # The CXXFLAGS thing is suspicious, but based on similar bits previously
10718 # found in GLIBCPP_CONFIGURE.
10721 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10722 ac_cpp='$CXXCPP $CPPFLAGS'
10723 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10724 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10725 cross_compiling=$ac_cv_prog_cxx_cross
10727 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10728 ac_save_CXXFLAGS="$CXXFLAGS"
10730 # Check for maintainer-mode bits.
10731 if test x"$USE_MAINTAINER_MODE" = xno; then
10737 # Check for -ffunction-sections -fdata-sections
10738 echo $ac_n "checking
for g
++ that supports
-ffunction-sections -fdata-sections""...
$ac_c" 1>&6
10739 echo "configure
:10740: checking
for g
++ that supports
-ffunction-sections -fdata-sections" >&5
10740 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
10741 cat > conftest.$ac_ext <<EOF
10742 #line 10743 "configure
"
10743 #include "confdefs.h
"
10750 if { (eval echo configure:10751: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10754 echo "configure
: failed program was
:" >&5
10755 cat conftest.$ac_ext >&5
10760 if test "$ac_test_CXXFLAGS" = set; then
10761 CXXFLAGS="$ac_save_CXXFLAGS"
10763 # this is the suspicious part
10766 if test x"$ac_fdsections" = x"yes"; then
10767 SECTION_FLAGS='-ffunction-sections -fdata-sections'
10769 echo "$ac_t""$ac_fdsections" 1>&6
10772 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10773 ac_cpp='$CPP $CPPFLAGS'
10774 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10775 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10776 cross_compiling=$ac_cv_prog_cc_cross
10782 # If we're not using GNU ld, then there's no point in even trying these
10783 # tests. Check for that first. We should have already tested for gld
10784 # by now (in libtool), but require it now just to be safe...
10785 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
10786 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
10789 # The name set by libtool depends on the version of libtool. Shame on us
10790 # for depending on an impl detail, but c'est la vie. Older versions used
10791 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
10792 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
10793 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
10794 # set (hence we're using an older libtool), then set it.
10795 if test x${with_gnu_ld+set} != xset; then
10796 if test x${ac_cv_prog_gnu_ld+set} != xset; then
10797 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
10800 with_gnu_ld=$ac_cv_prog_gnu_ld
10804 # Start by getting the version number. I think the libtool test already
10805 # does some of this, but throws away the result.
10807 ldver=`$LD --version 2>/dev/null | head -1 | \
10808 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
10810 glibcpp_gnu_ld_version=`echo $ldver | \
10811 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
10813 # Set --gc-sections.
10814 if test "$with_gnu_ld" = "notbroken
"; then
10815 # GNU ld it is! Joy and bunny rabbits!
10817 # All these tests are for C++; save the language and the compiler flags.
10818 # Need to do this so that g++ won't try to link in libstdc++
10819 ac_test_CFLAGS="${CFLAGS+set}"
10820 ac_save_CFLAGS="$CFLAGS"
10821 CFLAGS='-x c++ -Wl,--gc-sections'
10823 # Check for -Wl,--gc-sections
10824 # XXX This test is broken at the moment, as symbols required for
10825 # linking are now in libsupc++ (not built yet.....). In addition,
10826 # this test has cored on solaris in the past. In addition,
10827 # --gc-sections doesn't really work at the moment (keeps on discarding
10828 # used sections, first .eh_frame and now some of the glibc sections for
10829 # iconv). Bzzzzt. Thanks for playing, maybe next time.
10830 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
10831 echo "configure
:10832: checking
for ld that supports
-Wl,--gc-sections" >&5
10832 if test "$cross_compiling" = yes; then
10833 ac_sectionLDflags=yes
10835 cat > conftest.$ac_ext <<EOF
10836 #line 10837 "configure
"
10837 #include "confdefs.h
"
10847 if { (eval echo configure:10848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10849 ac_sectionLDflags=yes
10851 echo "configure
: failed program was
:" >&5
10852 cat conftest.$ac_ext >&5
10854 ac_sectionLDflags=no
10859 if test "$ac_test_CFLAGS" = set; then
10860 CFLAGS="$ac_save_CFLAGS"
10862 # this is the suspicious part
10865 if test "$ac_sectionLDflags" = "yes"; then
10866 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
10868 echo "$ac_t""$ac_sectionLDflags" 1>&6
10871 # Set linker optimization flags.
10872 if test x"$with_gnu_ld" = x"yes"; then
10873 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
10880 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10881 ac_save_CXXFLAGS="$CXXFLAGS"
10882 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
10884 echo $ac_n "checking
for sin
in -lm""...
$ac_c" 1>&6
10885 echo "configure
:10886: checking
for sin
in -lm" >&5
10886 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
10887 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10888 echo $ac_n "(cached
) $ac_c" 1>&6
10890 ac_save_LIBS="$LIBS"
10892 cat > conftest.$ac_ext <<EOF
10893 #line 10894 "configure
"
10894 #include "confdefs.h
"
10895 /* Override any gcc2 internal prototype to avoid an error. */
10896 /* We use char because int might match the return type of a gcc2
10897 builtin and then its argument prototype would still apply. */
10904 if { (eval echo configure:10905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10906 eval "ac_cv_lib_
$ac_lib_var=yes"
10908 echo "configure
: failed program was
:" >&5
10909 cat conftest.$ac_ext >&5
10911 eval "ac_cv_lib_
$ac_lib_var=no
"
10914 LIBS="$ac_save_LIBS"
10917 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10918 echo "$ac_t""yes" 1>&6
10921 echo "$ac_t""no
" 1>&6
10924 ac_save_LIBS="$LIBS"
10929 echo $ac_n "checking
for isinf declaration
""...
$ac_c" 1>&6
10930 echo "configure
:10931: checking
for isinf declaration
" >&5
10931 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
10932 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
10933 echo $ac_n "(cached
) $ac_c" 1>&6
10938 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10939 ac_cpp='$CXXCPP $CPPFLAGS'
10940 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10941 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10942 cross_compiling=$ac_cv_prog_cxx_cross
10944 cat > conftest.$ac_ext <<EOF
10945 #line 10946 "configure
"
10946 #include "confdefs.h
"
10948 #ifdef HAVE_IEEEFP_H
10949 #include <ieeefp.h>
10956 if { (eval echo configure:10957: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10958 glibcpp_cv_func_isinf_use=yes
10960 echo "configure
: failed program was
:" >&5
10961 cat conftest.$ac_ext >&5
10963 glibcpp_cv_func_isinf_use=no
10967 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10968 ac_cpp='$CPP $CPPFLAGS'
10969 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10970 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10971 cross_compiling=$ac_cv_prog_cc_cross
10977 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
10979 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
10980 for ac_func in isinf
10982 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10983 echo "configure
:10984: checking
for $ac_func" >&5
10984 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10985 echo $ac_n "(cached
) $ac_c" 1>&6
10987 cat > conftest.$ac_ext <<EOF
10988 #line 10989 "configure
"
10989 #include "confdefs.h
"
10990 /* System header to define __stub macros and hopefully few prototypes,
10991 which can conflict with char $ac_func(); below. */
10992 #include <assert.h>
10993 /* Override any gcc2 internal prototype to avoid an error. */
10994 /* We use char because int might match the return type of a gcc2
10995 builtin and then its argument prototype would still apply. */
11000 /* The GNU C library defines this for functions which it implements
11001 to always fail with ENOSYS. Some functions are actually named
11002 something starting with __ and the normal name is an alias. */
11003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11011 if { (eval echo configure:11012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11013 eval "ac_cv_func_
$ac_func=yes"
11015 echo "configure
: failed program was
:" >&5
11016 cat conftest.$ac_ext >&5
11018 eval "ac_cv_func_
$ac_func=no
"
11023 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11024 echo "$ac_t""yes" 1>&6
11025 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11026 cat >> confdefs.h <<EOF
11027 #define $ac_tr_func 1
11031 echo "$ac_t""no
" 1>&6
11037 echo $ac_n "checking
for _isinf declaration
""...
$ac_c" 1>&6
11038 echo "configure
:11039: checking
for _isinf declaration
" >&5
11039 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
11040 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
11041 echo $ac_n "(cached
) $ac_c" 1>&6
11046 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11047 ac_cpp='$CXXCPP $CPPFLAGS'
11048 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11049 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11050 cross_compiling=$ac_cv_prog_cxx_cross
11052 cat > conftest.$ac_ext <<EOF
11053 #line 11054 "configure
"
11054 #include "confdefs.h
"
11056 #ifdef HAVE_IEEEFP_H
11057 #include <ieeefp.h>
11064 if { (eval echo configure:11065: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11066 glibcpp_cv_func__isinf_use=yes
11068 echo "configure
: failed program was
:" >&5
11069 cat conftest.$ac_ext >&5
11071 glibcpp_cv_func__isinf_use=no
11075 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11076 ac_cpp='$CPP $CPPFLAGS'
11077 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11078 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11079 cross_compiling=$ac_cv_prog_cc_cross
11085 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
11087 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
11088 for ac_func in _isinf
11090 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11091 echo "configure
:11092: checking
for $ac_func" >&5
11092 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11093 echo $ac_n "(cached
) $ac_c" 1>&6
11095 cat > conftest.$ac_ext <<EOF
11096 #line 11097 "configure
"
11097 #include "confdefs.h
"
11098 /* System header to define __stub macros and hopefully few prototypes,
11099 which can conflict with char $ac_func(); below. */
11100 #include <assert.h>
11101 /* Override any gcc2 internal prototype to avoid an error. */
11102 /* We use char because int might match the return type of a gcc2
11103 builtin and then its argument prototype would still apply. */
11108 /* The GNU C library defines this for functions which it implements
11109 to always fail with ENOSYS. Some functions are actually named
11110 something starting with __ and the normal name is an alias. */
11111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11119 if { (eval echo configure:11120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11121 eval "ac_cv_func_
$ac_func=yes"
11123 echo "configure
: failed program was
:" >&5
11124 cat conftest.$ac_ext >&5
11126 eval "ac_cv_func_
$ac_func=no
"
11131 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11132 echo "$ac_t""yes" 1>&6
11133 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11134 cat >> confdefs.h <<EOF
11135 #define $ac_tr_func 1
11139 echo "$ac_t""no
" 1>&6
11148 echo $ac_n "checking
for isnan declaration
""...
$ac_c" 1>&6
11149 echo "configure
:11150: checking
for isnan declaration
" >&5
11150 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
11151 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
11152 echo $ac_n "(cached
) $ac_c" 1>&6
11157 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11158 ac_cpp='$CXXCPP $CPPFLAGS'
11159 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11160 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11161 cross_compiling=$ac_cv_prog_cxx_cross
11163 cat > conftest.$ac_ext <<EOF
11164 #line 11165 "configure
"
11165 #include "confdefs.h
"
11167 #ifdef HAVE_IEEEFP_H
11168 #include <ieeefp.h>
11175 if { (eval echo configure:11176: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11177 glibcpp_cv_func_isnan_use=yes
11179 echo "configure
: failed program was
:" >&5
11180 cat conftest.$ac_ext >&5
11182 glibcpp_cv_func_isnan_use=no
11186 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11187 ac_cpp='$CPP $CPPFLAGS'
11188 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11189 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11190 cross_compiling=$ac_cv_prog_cc_cross
11196 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
11198 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
11199 for ac_func in isnan
11201 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11202 echo "configure
:11203: checking
for $ac_func" >&5
11203 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11204 echo $ac_n "(cached
) $ac_c" 1>&6
11206 cat > conftest.$ac_ext <<EOF
11207 #line 11208 "configure
"
11208 #include "confdefs.h
"
11209 /* System header to define __stub macros and hopefully few prototypes,
11210 which can conflict with char $ac_func(); below. */
11211 #include <assert.h>
11212 /* Override any gcc2 internal prototype to avoid an error. */
11213 /* We use char because int might match the return type of a gcc2
11214 builtin and then its argument prototype would still apply. */
11219 /* The GNU C library defines this for functions which it implements
11220 to always fail with ENOSYS. Some functions are actually named
11221 something starting with __ and the normal name is an alias. */
11222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11230 if { (eval echo configure:11231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11232 eval "ac_cv_func_
$ac_func=yes"
11234 echo "configure
: failed program was
:" >&5
11235 cat conftest.$ac_ext >&5
11237 eval "ac_cv_func_
$ac_func=no
"
11242 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11243 echo "$ac_t""yes" 1>&6
11244 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11245 cat >> confdefs.h <<EOF
11246 #define $ac_tr_func 1
11250 echo "$ac_t""no
" 1>&6
11256 echo $ac_n "checking
for _isnan declaration
""...
$ac_c" 1>&6
11257 echo "configure
:11258: checking
for _isnan declaration
" >&5
11258 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
11259 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
11260 echo $ac_n "(cached
) $ac_c" 1>&6
11265 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11266 ac_cpp='$CXXCPP $CPPFLAGS'
11267 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11268 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11269 cross_compiling=$ac_cv_prog_cxx_cross
11271 cat > conftest.$ac_ext <<EOF
11272 #line 11273 "configure
"
11273 #include "confdefs.h
"
11275 #ifdef HAVE_IEEEFP_H
11276 #include <ieeefp.h>
11283 if { (eval echo configure:11284: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11285 glibcpp_cv_func__isnan_use=yes
11287 echo "configure
: failed program was
:" >&5
11288 cat conftest.$ac_ext >&5
11290 glibcpp_cv_func__isnan_use=no
11294 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11295 ac_cpp='$CPP $CPPFLAGS'
11296 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11297 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11298 cross_compiling=$ac_cv_prog_cc_cross
11304 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
11306 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
11307 for ac_func in _isnan
11309 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11310 echo "configure
:11311: checking
for $ac_func" >&5
11311 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11312 echo $ac_n "(cached
) $ac_c" 1>&6
11314 cat > conftest.$ac_ext <<EOF
11315 #line 11316 "configure
"
11316 #include "confdefs.h
"
11317 /* System header to define __stub macros and hopefully few prototypes,
11318 which can conflict with char $ac_func(); below. */
11319 #include <assert.h>
11320 /* Override any gcc2 internal prototype to avoid an error. */
11321 /* We use char because int might match the return type of a gcc2
11322 builtin and then its argument prototype would still apply. */
11327 /* The GNU C library defines this for functions which it implements
11328 to always fail with ENOSYS. Some functions are actually named
11329 something starting with __ and the normal name is an alias. */
11330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11338 if { (eval echo configure:11339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11340 eval "ac_cv_func_
$ac_func=yes"
11342 echo "configure
: failed program was
:" >&5
11343 cat conftest.$ac_ext >&5
11345 eval "ac_cv_func_
$ac_func=no
"
11350 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11351 echo "$ac_t""yes" 1>&6
11352 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11353 cat >> confdefs.h <<EOF
11354 #define $ac_tr_func 1
11358 echo "$ac_t""no
" 1>&6
11367 echo $ac_n "checking
for finite declaration
""...
$ac_c" 1>&6
11368 echo "configure
:11369: checking
for finite declaration
" >&5
11369 if test x${glibcpp_cv_func_finite_use+set} != xset; then
11370 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
11371 echo $ac_n "(cached
) $ac_c" 1>&6
11376 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11377 ac_cpp='$CXXCPP $CPPFLAGS'
11378 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11379 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11380 cross_compiling=$ac_cv_prog_cxx_cross
11382 cat > conftest.$ac_ext <<EOF
11383 #line 11384 "configure
"
11384 #include "confdefs.h
"
11386 #ifdef HAVE_IEEEFP_H
11387 #include <ieeefp.h>
11394 if { (eval echo configure:11395: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11396 glibcpp_cv_func_finite_use=yes
11398 echo "configure
: failed program was
:" >&5
11399 cat conftest.$ac_ext >&5
11401 glibcpp_cv_func_finite_use=no
11405 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11406 ac_cpp='$CPP $CPPFLAGS'
11407 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11408 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11409 cross_compiling=$ac_cv_prog_cc_cross
11415 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
11417 if test x$glibcpp_cv_func_finite_use = x"yes"; then
11418 for ac_func in finite
11420 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11421 echo "configure
:11422: checking
for $ac_func" >&5
11422 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11423 echo $ac_n "(cached
) $ac_c" 1>&6
11425 cat > conftest.$ac_ext <<EOF
11426 #line 11427 "configure
"
11427 #include "confdefs.h
"
11428 /* System header to define __stub macros and hopefully few prototypes,
11429 which can conflict with char $ac_func(); below. */
11430 #include <assert.h>
11431 /* Override any gcc2 internal prototype to avoid an error. */
11432 /* We use char because int might match the return type of a gcc2
11433 builtin and then its argument prototype would still apply. */
11438 /* The GNU C library defines this for functions which it implements
11439 to always fail with ENOSYS. Some functions are actually named
11440 something starting with __ and the normal name is an alias. */
11441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11449 if { (eval echo configure:11450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11451 eval "ac_cv_func_
$ac_func=yes"
11453 echo "configure
: failed program was
:" >&5
11454 cat conftest.$ac_ext >&5
11456 eval "ac_cv_func_
$ac_func=no
"
11461 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11462 echo "$ac_t""yes" 1>&6
11463 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11464 cat >> confdefs.h <<EOF
11465 #define $ac_tr_func 1
11469 echo "$ac_t""no
" 1>&6
11475 echo $ac_n "checking
for _finite declaration
""...
$ac_c" 1>&6
11476 echo "configure
:11477: checking
for _finite declaration
" >&5
11477 if test x${glibcpp_cv_func__finite_use+set} != xset; then
11478 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
11479 echo $ac_n "(cached
) $ac_c" 1>&6
11484 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11485 ac_cpp='$CXXCPP $CPPFLAGS'
11486 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11487 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11488 cross_compiling=$ac_cv_prog_cxx_cross
11490 cat > conftest.$ac_ext <<EOF
11491 #line 11492 "configure
"
11492 #include "confdefs.h
"
11494 #ifdef HAVE_IEEEFP_H
11495 #include <ieeefp.h>
11502 if { (eval echo configure:11503: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11504 glibcpp_cv_func__finite_use=yes
11506 echo "configure
: failed program was
:" >&5
11507 cat conftest.$ac_ext >&5
11509 glibcpp_cv_func__finite_use=no
11513 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11514 ac_cpp='$CPP $CPPFLAGS'
11515 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11516 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11517 cross_compiling=$ac_cv_prog_cc_cross
11523 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
11525 if test x$glibcpp_cv_func__finite_use = x"yes"; then
11526 for ac_func in _finite
11528 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11529 echo "configure
:11530: checking
for $ac_func" >&5
11530 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11531 echo $ac_n "(cached
) $ac_c" 1>&6
11533 cat > conftest.$ac_ext <<EOF
11534 #line 11535 "configure
"
11535 #include "confdefs.h
"
11536 /* System header to define __stub macros and hopefully few prototypes,
11537 which can conflict with char $ac_func(); below. */
11538 #include <assert.h>
11539 /* Override any gcc2 internal prototype to avoid an error. */
11540 /* We use char because int might match the return type of a gcc2
11541 builtin and then its argument prototype would still apply. */
11546 /* The GNU C library defines this for functions which it implements
11547 to always fail with ENOSYS. Some functions are actually named
11548 something starting with __ and the normal name is an alias. */
11549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11557 if { (eval echo configure:11558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11559 eval "ac_cv_func_
$ac_func=yes"
11561 echo "configure
: failed program was
:" >&5
11562 cat conftest.$ac_ext >&5
11564 eval "ac_cv_func_
$ac_func=no
"
11569 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11570 echo "$ac_t""yes" 1>&6
11571 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11572 cat >> confdefs.h <<EOF
11573 #define $ac_tr_func 1
11577 echo "$ac_t""no
" 1>&6
11586 echo $ac_n "checking
for copysign declaration
""...
$ac_c" 1>&6
11587 echo "configure
:11588: checking
for copysign declaration
" >&5
11588 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
11589 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
11590 echo $ac_n "(cached
) $ac_c" 1>&6
11595 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11596 ac_cpp='$CXXCPP $CPPFLAGS'
11597 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11598 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11599 cross_compiling=$ac_cv_prog_cxx_cross
11601 cat > conftest.$ac_ext <<EOF
11602 #line 11603 "configure
"
11603 #include "confdefs.h
"
11609 if { (eval echo configure:11610: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11611 glibcpp_cv_func_copysign_use=yes
11613 echo "configure
: failed program was
:" >&5
11614 cat conftest.$ac_ext >&5
11616 glibcpp_cv_func_copysign_use=no
11620 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11621 ac_cpp='$CPP $CPPFLAGS'
11622 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11623 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11624 cross_compiling=$ac_cv_prog_cc_cross
11630 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
11632 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
11633 for ac_func in copysign
11635 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11636 echo "configure
:11637: checking
for $ac_func" >&5
11637 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11638 echo $ac_n "(cached
) $ac_c" 1>&6
11640 cat > conftest.$ac_ext <<EOF
11641 #line 11642 "configure
"
11642 #include "confdefs.h
"
11643 /* System header to define __stub macros and hopefully few prototypes,
11644 which can conflict with char $ac_func(); below. */
11645 #include <assert.h>
11646 /* Override any gcc2 internal prototype to avoid an error. */
11647 /* We use char because int might match the return type of a gcc2
11648 builtin and then its argument prototype would still apply. */
11653 /* The GNU C library defines this for functions which it implements
11654 to always fail with ENOSYS. Some functions are actually named
11655 something starting with __ and the normal name is an alias. */
11656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11664 if { (eval echo configure:11665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11666 eval "ac_cv_func_
$ac_func=yes"
11668 echo "configure
: failed program was
:" >&5
11669 cat conftest.$ac_ext >&5
11671 eval "ac_cv_func_
$ac_func=no
"
11676 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11677 echo "$ac_t""yes" 1>&6
11678 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11679 cat >> confdefs.h <<EOF
11680 #define $ac_tr_func 1
11684 echo "$ac_t""no
" 1>&6
11690 echo $ac_n "checking
for _copysign declaration
""...
$ac_c" 1>&6
11691 echo "configure
:11692: checking
for _copysign declaration
" >&5
11692 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
11693 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
11694 echo $ac_n "(cached
) $ac_c" 1>&6
11699 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11700 ac_cpp='$CXXCPP $CPPFLAGS'
11701 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11702 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11703 cross_compiling=$ac_cv_prog_cxx_cross
11705 cat > conftest.$ac_ext <<EOF
11706 #line 11707 "configure
"
11707 #include "confdefs.h
"
11713 if { (eval echo configure:11714: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11715 glibcpp_cv_func__copysign_use=yes
11717 echo "configure
: failed program was
:" >&5
11718 cat conftest.$ac_ext >&5
11720 glibcpp_cv_func__copysign_use=no
11724 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11725 ac_cpp='$CPP $CPPFLAGS'
11726 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11727 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11728 cross_compiling=$ac_cv_prog_cc_cross
11734 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
11736 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
11737 for ac_func in _copysign
11739 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11740 echo "configure
:11741: checking
for $ac_func" >&5
11741 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11742 echo $ac_n "(cached
) $ac_c" 1>&6
11744 cat > conftest.$ac_ext <<EOF
11745 #line 11746 "configure
"
11746 #include "confdefs.h
"
11747 /* System header to define __stub macros and hopefully few prototypes,
11748 which can conflict with char $ac_func(); below. */
11749 #include <assert.h>
11750 /* Override any gcc2 internal prototype to avoid an error. */
11751 /* We use char because int might match the return type of a gcc2
11752 builtin and then its argument prototype would still apply. */
11757 /* The GNU C library defines this for functions which it implements
11758 to always fail with ENOSYS. Some functions are actually named
11759 something starting with __ and the normal name is an alias. */
11760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11768 if { (eval echo configure:11769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11770 eval "ac_cv_func_
$ac_func=yes"
11772 echo "configure
: failed program was
:" >&5
11773 cat conftest.$ac_ext >&5
11775 eval "ac_cv_func_
$ac_func=no
"
11780 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11781 echo "$ac_t""yes" 1>&6
11782 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11783 cat >> confdefs.h <<EOF
11784 #define $ac_tr_func 1
11788 echo "$ac_t""no
" 1>&6
11797 echo $ac_n "checking
for sincos declaration
""...
$ac_c" 1>&6
11798 echo "configure
:11799: checking
for sincos declaration
" >&5
11799 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
11800 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
11801 echo $ac_n "(cached
) $ac_c" 1>&6
11806 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11807 ac_cpp='$CXXCPP $CPPFLAGS'
11808 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11809 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11810 cross_compiling=$ac_cv_prog_cxx_cross
11812 cat > conftest.$ac_ext <<EOF
11813 #line 11814 "configure
"
11814 #include "confdefs.h
"
11820 if { (eval echo configure:11821: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11822 glibcpp_cv_func_sincos_use=yes
11824 echo "configure
: failed program was
:" >&5
11825 cat conftest.$ac_ext >&5
11827 glibcpp_cv_func_sincos_use=no
11831 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11832 ac_cpp='$CPP $CPPFLAGS'
11833 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11834 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11835 cross_compiling=$ac_cv_prog_cc_cross
11841 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
11843 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
11844 for ac_func in sincos
11846 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11847 echo "configure
:11848: checking
for $ac_func" >&5
11848 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11849 echo $ac_n "(cached
) $ac_c" 1>&6
11851 cat > conftest.$ac_ext <<EOF
11852 #line 11853 "configure
"
11853 #include "confdefs.h
"
11854 /* System header to define __stub macros and hopefully few prototypes,
11855 which can conflict with char $ac_func(); below. */
11856 #include <assert.h>
11857 /* Override any gcc2 internal prototype to avoid an error. */
11858 /* We use char because int might match the return type of a gcc2
11859 builtin and then its argument prototype would still apply. */
11864 /* The GNU C library defines this for functions which it implements
11865 to always fail with ENOSYS. Some functions are actually named
11866 something starting with __ and the normal name is an alias. */
11867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11875 if { (eval echo configure:11876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11877 eval "ac_cv_func_
$ac_func=yes"
11879 echo "configure
: failed program was
:" >&5
11880 cat conftest.$ac_ext >&5
11882 eval "ac_cv_func_
$ac_func=no
"
11887 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11888 echo "$ac_t""yes" 1>&6
11889 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11890 cat >> confdefs.h <<EOF
11891 #define $ac_tr_func 1
11895 echo "$ac_t""no
" 1>&6
11901 echo $ac_n "checking
for _sincos declaration
""...
$ac_c" 1>&6
11902 echo "configure
:11903: checking
for _sincos declaration
" >&5
11903 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
11904 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
11905 echo $ac_n "(cached
) $ac_c" 1>&6
11910 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11911 ac_cpp='$CXXCPP $CPPFLAGS'
11912 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11913 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11914 cross_compiling=$ac_cv_prog_cxx_cross
11916 cat > conftest.$ac_ext <<EOF
11917 #line 11918 "configure
"
11918 #include "confdefs.h
"
11924 if { (eval echo configure:11925: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11926 glibcpp_cv_func__sincos_use=yes
11928 echo "configure
: failed program was
:" >&5
11929 cat conftest.$ac_ext >&5
11931 glibcpp_cv_func__sincos_use=no
11935 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11936 ac_cpp='$CPP $CPPFLAGS'
11937 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11938 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11939 cross_compiling=$ac_cv_prog_cc_cross
11945 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
11947 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
11948 for ac_func in _sincos
11950 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11951 echo "configure
:11952: checking
for $ac_func" >&5
11952 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11953 echo $ac_n "(cached
) $ac_c" 1>&6
11955 cat > conftest.$ac_ext <<EOF
11956 #line 11957 "configure
"
11957 #include "confdefs.h
"
11958 /* System header to define __stub macros and hopefully few prototypes,
11959 which can conflict with char $ac_func(); below. */
11960 #include <assert.h>
11961 /* Override any gcc2 internal prototype to avoid an error. */
11962 /* We use char because int might match the return type of a gcc2
11963 builtin and then its argument prototype would still apply. */
11968 /* The GNU C library defines this for functions which it implements
11969 to always fail with ENOSYS. Some functions are actually named
11970 something starting with __ and the normal name is an alias. */
11971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11979 if { (eval echo configure:11980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11981 eval "ac_cv_func_
$ac_func=yes"
11983 echo "configure
: failed program was
:" >&5
11984 cat conftest.$ac_ext >&5
11986 eval "ac_cv_func_
$ac_func=no
"
11991 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11992 echo "$ac_t""yes" 1>&6
11993 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11994 cat >> confdefs.h <<EOF
11995 #define $ac_tr_func 1
11999 echo "$ac_t""no
" 1>&6
12008 echo $ac_n "checking
for fpclass declaration
""...
$ac_c" 1>&6
12009 echo "configure
:12010: checking
for fpclass declaration
" >&5
12010 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
12011 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
12012 echo $ac_n "(cached
) $ac_c" 1>&6
12017 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12018 ac_cpp='$CXXCPP $CPPFLAGS'
12019 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12020 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12021 cross_compiling=$ac_cv_prog_cxx_cross
12023 cat > conftest.$ac_ext <<EOF
12024 #line 12025 "configure
"
12025 #include "confdefs.h
"
12027 #ifdef HAVE_IEEEFP_H
12028 #include <ieeefp.h>
12035 if { (eval echo configure:12036: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12037 glibcpp_cv_func_fpclass_use=yes
12039 echo "configure
: failed program was
:" >&5
12040 cat conftest.$ac_ext >&5
12042 glibcpp_cv_func_fpclass_use=no
12046 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12047 ac_cpp='$CPP $CPPFLAGS'
12048 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12049 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12050 cross_compiling=$ac_cv_prog_cc_cross
12056 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
12058 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
12059 for ac_func in fpclass
12061 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12062 echo "configure
:12063: checking
for $ac_func" >&5
12063 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12064 echo $ac_n "(cached
) $ac_c" 1>&6
12066 cat > conftest.$ac_ext <<EOF
12067 #line 12068 "configure
"
12068 #include "confdefs.h
"
12069 /* System header to define __stub macros and hopefully few prototypes,
12070 which can conflict with char $ac_func(); below. */
12071 #include <assert.h>
12072 /* Override any gcc2 internal prototype to avoid an error. */
12073 /* We use char because int might match the return type of a gcc2
12074 builtin and then its argument prototype would still apply. */
12079 /* The GNU C library defines this for functions which it implements
12080 to always fail with ENOSYS. Some functions are actually named
12081 something starting with __ and the normal name is an alias. */
12082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12090 if { (eval echo configure:12091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12092 eval "ac_cv_func_
$ac_func=yes"
12094 echo "configure
: failed program was
:" >&5
12095 cat conftest.$ac_ext >&5
12097 eval "ac_cv_func_
$ac_func=no
"
12102 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12103 echo "$ac_t""yes" 1>&6
12104 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12105 cat >> confdefs.h <<EOF
12106 #define $ac_tr_func 1
12110 echo "$ac_t""no
" 1>&6
12116 echo $ac_n "checking
for _fpclass declaration
""...
$ac_c" 1>&6
12117 echo "configure
:12118: checking
for _fpclass declaration
" >&5
12118 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
12119 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
12120 echo $ac_n "(cached
) $ac_c" 1>&6
12125 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12126 ac_cpp='$CXXCPP $CPPFLAGS'
12127 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12128 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12129 cross_compiling=$ac_cv_prog_cxx_cross
12131 cat > conftest.$ac_ext <<EOF
12132 #line 12133 "configure
"
12133 #include "confdefs.h
"
12135 #ifdef HAVE_IEEEFP_H
12136 #include <ieeefp.h>
12143 if { (eval echo configure:12144: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12145 glibcpp_cv_func__fpclass_use=yes
12147 echo "configure
: failed program was
:" >&5
12148 cat conftest.$ac_ext >&5
12150 glibcpp_cv_func__fpclass_use=no
12154 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12155 ac_cpp='$CPP $CPPFLAGS'
12156 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12157 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12158 cross_compiling=$ac_cv_prog_cc_cross
12164 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
12166 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
12167 for ac_func in _fpclass
12169 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12170 echo "configure
:12171: checking
for $ac_func" >&5
12171 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12172 echo $ac_n "(cached
) $ac_c" 1>&6
12174 cat > conftest.$ac_ext <<EOF
12175 #line 12176 "configure
"
12176 #include "confdefs.h
"
12177 /* System header to define __stub macros and hopefully few prototypes,
12178 which can conflict with char $ac_func(); below. */
12179 #include <assert.h>
12180 /* Override any gcc2 internal prototype to avoid an error. */
12181 /* We use char because int might match the return type of a gcc2
12182 builtin and then its argument prototype would still apply. */
12187 /* The GNU C library defines this for functions which it implements
12188 to always fail with ENOSYS. Some functions are actually named
12189 something starting with __ and the normal name is an alias. */
12190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12198 if { (eval echo configure:12199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12200 eval "ac_cv_func_
$ac_func=yes"
12202 echo "configure
: failed program was
:" >&5
12203 cat conftest.$ac_ext >&5
12205 eval "ac_cv_func_
$ac_func=no
"
12210 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12211 echo "$ac_t""yes" 1>&6
12212 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12213 cat >> confdefs.h <<EOF
12214 #define $ac_tr_func 1
12218 echo "$ac_t""no
" 1>&6
12227 echo $ac_n "checking
for qfpclass declaration
""...
$ac_c" 1>&6
12228 echo "configure
:12229: checking
for qfpclass declaration
" >&5
12229 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
12230 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
12231 echo $ac_n "(cached
) $ac_c" 1>&6
12236 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12237 ac_cpp='$CXXCPP $CPPFLAGS'
12238 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12239 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12240 cross_compiling=$ac_cv_prog_cxx_cross
12242 cat > conftest.$ac_ext <<EOF
12243 #line 12244 "configure
"
12244 #include "confdefs.h
"
12246 #ifdef HAVE_IEEEFP_H
12247 #include <ieeefp.h>
12254 if { (eval echo configure:12255: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12256 glibcpp_cv_func_qfpclass_use=yes
12258 echo "configure
: failed program was
:" >&5
12259 cat conftest.$ac_ext >&5
12261 glibcpp_cv_func_qfpclass_use=no
12265 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12266 ac_cpp='$CPP $CPPFLAGS'
12267 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12268 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12269 cross_compiling=$ac_cv_prog_cc_cross
12275 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
12277 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
12278 for ac_func in qfpclass
12280 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12281 echo "configure
:12282: checking
for $ac_func" >&5
12282 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12283 echo $ac_n "(cached
) $ac_c" 1>&6
12285 cat > conftest.$ac_ext <<EOF
12286 #line 12287 "configure
"
12287 #include "confdefs.h
"
12288 /* System header to define __stub macros and hopefully few prototypes,
12289 which can conflict with char $ac_func(); below. */
12290 #include <assert.h>
12291 /* Override any gcc2 internal prototype to avoid an error. */
12292 /* We use char because int might match the return type of a gcc2
12293 builtin and then its argument prototype would still apply. */
12298 /* The GNU C library defines this for functions which it implements
12299 to always fail with ENOSYS. Some functions are actually named
12300 something starting with __ and the normal name is an alias. */
12301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12309 if { (eval echo configure:12310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12311 eval "ac_cv_func_
$ac_func=yes"
12313 echo "configure
: failed program was
:" >&5
12314 cat conftest.$ac_ext >&5
12316 eval "ac_cv_func_
$ac_func=no
"
12321 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12322 echo "$ac_t""yes" 1>&6
12323 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12324 cat >> confdefs.h <<EOF
12325 #define $ac_tr_func 1
12329 echo "$ac_t""no
" 1>&6
12335 echo $ac_n "checking
for _qfpclass declaration
""...
$ac_c" 1>&6
12336 echo "configure
:12337: checking
for _qfpclass declaration
" >&5
12337 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
12338 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
12339 echo $ac_n "(cached
) $ac_c" 1>&6
12344 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12345 ac_cpp='$CXXCPP $CPPFLAGS'
12346 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12347 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12348 cross_compiling=$ac_cv_prog_cxx_cross
12350 cat > conftest.$ac_ext <<EOF
12351 #line 12352 "configure
"
12352 #include "confdefs.h
"
12354 #ifdef HAVE_IEEEFP_H
12355 #include <ieeefp.h>
12362 if { (eval echo configure:12363: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12364 glibcpp_cv_func__qfpclass_use=yes
12366 echo "configure
: failed program was
:" >&5
12367 cat conftest.$ac_ext >&5
12369 glibcpp_cv_func__qfpclass_use=no
12373 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12374 ac_cpp='$CPP $CPPFLAGS'
12375 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12376 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12377 cross_compiling=$ac_cv_prog_cc_cross
12383 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
12385 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
12386 for ac_func in _qfpclass
12388 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12389 echo "configure
:12390: checking
for $ac_func" >&5
12390 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12391 echo $ac_n "(cached
) $ac_c" 1>&6
12393 cat > conftest.$ac_ext <<EOF
12394 #line 12395 "configure
"
12395 #include "confdefs.h
"
12396 /* System header to define __stub macros and hopefully few prototypes,
12397 which can conflict with char $ac_func(); below. */
12398 #include <assert.h>
12399 /* Override any gcc2 internal prototype to avoid an error. */
12400 /* We use char because int might match the return type of a gcc2
12401 builtin and then its argument prototype would still apply. */
12406 /* The GNU C library defines this for functions which it implements
12407 to always fail with ENOSYS. Some functions are actually named
12408 something starting with __ and the normal name is an alias. */
12409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12417 if { (eval echo configure:12418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12419 eval "ac_cv_func_
$ac_func=yes"
12421 echo "configure
: failed program was
:" >&5
12422 cat conftest.$ac_ext >&5
12424 eval "ac_cv_func_
$ac_func=no
"
12429 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12430 echo "$ac_t""yes" 1>&6
12431 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12432 cat >> confdefs.h <<EOF
12433 #define $ac_tr_func 1
12437 echo "$ac_t""no
" 1>&6
12446 echo $ac_n "checking
for hypot declaration
""...
$ac_c" 1>&6
12447 echo "configure
:12448: checking
for hypot declaration
" >&5
12448 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
12449 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
12450 echo $ac_n "(cached
) $ac_c" 1>&6
12455 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12456 ac_cpp='$CXXCPP $CPPFLAGS'
12457 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12458 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12459 cross_compiling=$ac_cv_prog_cxx_cross
12461 cat > conftest.$ac_ext <<EOF
12462 #line 12463 "configure
"
12463 #include "confdefs.h
"
12469 if { (eval echo configure:12470: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12471 glibcpp_cv_func_hypot_use=yes
12473 echo "configure
: failed program was
:" >&5
12474 cat conftest.$ac_ext >&5
12476 glibcpp_cv_func_hypot_use=no
12480 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12481 ac_cpp='$CPP $CPPFLAGS'
12482 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12483 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12484 cross_compiling=$ac_cv_prog_cc_cross
12490 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
12492 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
12493 for ac_func in hypot
12495 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12496 echo "configure
:12497: checking
for $ac_func" >&5
12497 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12498 echo $ac_n "(cached
) $ac_c" 1>&6
12500 cat > conftest.$ac_ext <<EOF
12501 #line 12502 "configure
"
12502 #include "confdefs.h
"
12503 /* System header to define __stub macros and hopefully few prototypes,
12504 which can conflict with char $ac_func(); below. */
12505 #include <assert.h>
12506 /* Override any gcc2 internal prototype to avoid an error. */
12507 /* We use char because int might match the return type of a gcc2
12508 builtin and then its argument prototype would still apply. */
12513 /* The GNU C library defines this for functions which it implements
12514 to always fail with ENOSYS. Some functions are actually named
12515 something starting with __ and the normal name is an alias. */
12516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12524 if { (eval echo configure:12525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12526 eval "ac_cv_func_
$ac_func=yes"
12528 echo "configure
: failed program was
:" >&5
12529 cat conftest.$ac_ext >&5
12531 eval "ac_cv_func_
$ac_func=no
"
12536 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12537 echo "$ac_t""yes" 1>&6
12538 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12539 cat >> confdefs.h <<EOF
12540 #define $ac_tr_func 1
12544 echo "$ac_t""no
" 1>&6
12550 echo $ac_n "checking
for _hypot declaration
""...
$ac_c" 1>&6
12551 echo "configure
:12552: checking
for _hypot declaration
" >&5
12552 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
12553 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
12554 echo $ac_n "(cached
) $ac_c" 1>&6
12559 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12560 ac_cpp='$CXXCPP $CPPFLAGS'
12561 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12562 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12563 cross_compiling=$ac_cv_prog_cxx_cross
12565 cat > conftest.$ac_ext <<EOF
12566 #line 12567 "configure
"
12567 #include "confdefs.h
"
12573 if { (eval echo configure:12574: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12575 glibcpp_cv_func__hypot_use=yes
12577 echo "configure
: failed program was
:" >&5
12578 cat conftest.$ac_ext >&5
12580 glibcpp_cv_func__hypot_use=no
12584 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12585 ac_cpp='$CPP $CPPFLAGS'
12586 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12587 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12588 cross_compiling=$ac_cv_prog_cc_cross
12594 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
12596 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
12597 for ac_func in _hypot
12599 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12600 echo "configure
:12601: checking
for $ac_func" >&5
12601 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12602 echo $ac_n "(cached
) $ac_c" 1>&6
12604 cat > conftest.$ac_ext <<EOF
12605 #line 12606 "configure
"
12606 #include "confdefs.h
"
12607 /* System header to define __stub macros and hopefully few prototypes,
12608 which can conflict with char $ac_func(); below. */
12609 #include <assert.h>
12610 /* Override any gcc2 internal prototype to avoid an error. */
12611 /* We use char because int might match the return type of a gcc2
12612 builtin and then its argument prototype would still apply. */
12617 /* The GNU C library defines this for functions which it implements
12618 to always fail with ENOSYS. Some functions are actually named
12619 something starting with __ and the normal name is an alias. */
12620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12628 if { (eval echo configure:12629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12630 eval "ac_cv_func_
$ac_func=yes"
12632 echo "configure
: failed program was
:" >&5
12633 cat conftest.$ac_ext >&5
12635 eval "ac_cv_func_
$ac_func=no
"
12640 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12641 echo "$ac_t""yes" 1>&6
12642 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12643 cat >> confdefs.h <<EOF
12644 #define $ac_tr_func 1
12648 echo "$ac_t""no
" 1>&6
12657 echo $ac_n "checking
for float trig functions
""...
$ac_c" 1>&6
12658 echo "configure
:12659: checking
for float trig functions
" >&5
12659 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
12660 echo $ac_n "(cached
) $ac_c" 1>&6
12665 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12666 ac_cpp='$CXXCPP $CPPFLAGS'
12667 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12668 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12669 cross_compiling=$ac_cv_prog_cxx_cross
12671 cat > conftest.$ac_ext <<EOF
12672 #line 12673 "configure
"
12673 #include "confdefs.h
"
12676 `for x in acosf asinf atanf \
12678 coshf sinhf tanhf; do echo "$x (0);"; done`
12681 if { (eval echo configure:12682: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12683 glibcpp_cv_func_float_trig_use=yes
12685 echo "configure
: failed program was
:" >&5
12686 cat conftest.$ac_ext >&5
12688 glibcpp_cv_func_float_trig_use=no
12692 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12693 ac_cpp='$CPP $CPPFLAGS'
12694 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12695 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12696 cross_compiling=$ac_cv_prog_cc_cross
12700 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
12701 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
12702 for ac_func in acosf asinf atanf \
12706 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12707 echo "configure
:12708: checking
for $ac_func" >&5
12708 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12709 echo $ac_n "(cached
) $ac_c" 1>&6
12711 cat > conftest.$ac_ext <<EOF
12712 #line 12713 "configure
"
12713 #include "confdefs.h
"
12714 /* System header to define __stub macros and hopefully few prototypes,
12715 which can conflict with char $ac_func(); below. */
12716 #include <assert.h>
12717 /* Override any gcc2 internal prototype to avoid an error. */
12718 /* We use char because int might match the return type of a gcc2
12719 builtin and then its argument prototype would still apply. */
12724 /* The GNU C library defines this for functions which it implements
12725 to always fail with ENOSYS. Some functions are actually named
12726 something starting with __ and the normal name is an alias. */
12727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12735 if { (eval echo configure:12736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12737 eval "ac_cv_func_
$ac_func=yes"
12739 echo "configure
: failed program was
:" >&5
12740 cat conftest.$ac_ext >&5
12742 eval "ac_cv_func_
$ac_func=no
"
12747 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12748 echo "$ac_t""yes" 1>&6
12749 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12750 cat >> confdefs.h <<EOF
12751 #define $ac_tr_func 1
12755 echo "$ac_t""no
" 1>&6
12762 echo $ac_n "checking
for float round functions
""...
$ac_c" 1>&6
12763 echo "configure
:12764: checking
for float round functions
" >&5
12764 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
12765 echo $ac_n "(cached
) $ac_c" 1>&6
12770 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12771 ac_cpp='$CXXCPP $CPPFLAGS'
12772 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12773 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12774 cross_compiling=$ac_cv_prog_cxx_cross
12776 cat > conftest.$ac_ext <<EOF
12777 #line 12778 "configure
"
12778 #include "confdefs.h
"
12781 `for x in ceilf floorf; do echo "$x (0);"; done`
12784 if { (eval echo configure:12785: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12786 glibcpp_cv_func_float_round_use=yes
12788 echo "configure
: failed program was
:" >&5
12789 cat conftest.$ac_ext >&5
12791 glibcpp_cv_func_float_round_use=no
12795 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12796 ac_cpp='$CPP $CPPFLAGS'
12797 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12798 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12799 cross_compiling=$ac_cv_prog_cc_cross
12803 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
12804 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
12805 for ac_func in ceilf floorf
12807 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12808 echo "configure
:12809: checking
for $ac_func" >&5
12809 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12810 echo $ac_n "(cached
) $ac_c" 1>&6
12812 cat > conftest.$ac_ext <<EOF
12813 #line 12814 "configure
"
12814 #include "confdefs.h
"
12815 /* System header to define __stub macros and hopefully few prototypes,
12816 which can conflict with char $ac_func(); below. */
12817 #include <assert.h>
12818 /* Override any gcc2 internal prototype to avoid an error. */
12819 /* We use char because int might match the return type of a gcc2
12820 builtin and then its argument prototype would still apply. */
12825 /* The GNU C library defines this for functions which it implements
12826 to always fail with ENOSYS. Some functions are actually named
12827 something starting with __ and the normal name is an alias. */
12828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12836 if { (eval echo configure:12837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12838 eval "ac_cv_func_
$ac_func=yes"
12840 echo "configure
: failed program was
:" >&5
12841 cat conftest.$ac_ext >&5
12843 eval "ac_cv_func_
$ac_func=no
"
12848 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12849 echo "$ac_t""yes" 1>&6
12850 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12851 cat >> confdefs.h <<EOF
12852 #define $ac_tr_func 1
12856 echo "$ac_t""no
" 1>&6
12864 echo $ac_n "checking
for expf declaration
""...
$ac_c" 1>&6
12865 echo "configure
:12866: checking
for expf declaration
" >&5
12866 if test x${glibcpp_cv_func_expf_use+set} != xset; then
12867 if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
12868 echo $ac_n "(cached
) $ac_c" 1>&6
12873 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12874 ac_cpp='$CXXCPP $CPPFLAGS'
12875 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12876 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12877 cross_compiling=$ac_cv_prog_cxx_cross
12879 cat > conftest.$ac_ext <<EOF
12880 #line 12881 "configure
"
12881 #include "confdefs.h
"
12883 #ifdef HAVE_IEEEFP_H
12884 #include <ieeefp.h>
12891 if { (eval echo configure:12892: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12893 glibcpp_cv_func_expf_use=yes
12895 echo "configure
: failed program was
:" >&5
12896 cat conftest.$ac_ext >&5
12898 glibcpp_cv_func_expf_use=no
12902 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12903 ac_cpp='$CPP $CPPFLAGS'
12904 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12905 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12906 cross_compiling=$ac_cv_prog_cc_cross
12912 echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
12914 if test x$glibcpp_cv_func_expf_use = x"yes"; then
12915 for ac_func in expf
12917 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12918 echo "configure
:12919: checking
for $ac_func" >&5
12919 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12920 echo $ac_n "(cached
) $ac_c" 1>&6
12922 cat > conftest.$ac_ext <<EOF
12923 #line 12924 "configure
"
12924 #include "confdefs.h
"
12925 /* System header to define __stub macros and hopefully few prototypes,
12926 which can conflict with char $ac_func(); below. */
12927 #include <assert.h>
12928 /* Override any gcc2 internal prototype to avoid an error. */
12929 /* We use char because int might match the return type of a gcc2
12930 builtin and then its argument prototype would still apply. */
12935 /* The GNU C library defines this for functions which it implements
12936 to always fail with ENOSYS. Some functions are actually named
12937 something starting with __ and the normal name is an alias. */
12938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12946 if { (eval echo configure:12947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12948 eval "ac_cv_func_
$ac_func=yes"
12950 echo "configure
: failed program was
:" >&5
12951 cat conftest.$ac_ext >&5
12953 eval "ac_cv_func_
$ac_func=no
"
12958 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12959 echo "$ac_t""yes" 1>&6
12960 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12961 cat >> confdefs.h <<EOF
12962 #define $ac_tr_func 1
12966 echo "$ac_t""no
" 1>&6
12972 echo $ac_n "checking
for _expf declaration
""...
$ac_c" 1>&6
12973 echo "configure
:12974: checking
for _expf declaration
" >&5
12974 if test x${glibcpp_cv_func__expf_use+set} != xset; then
12975 if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
12976 echo $ac_n "(cached
) $ac_c" 1>&6
12981 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12982 ac_cpp='$CXXCPP $CPPFLAGS'
12983 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12984 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12985 cross_compiling=$ac_cv_prog_cxx_cross
12987 cat > conftest.$ac_ext <<EOF
12988 #line 12989 "configure
"
12989 #include "confdefs.h
"
12991 #ifdef HAVE_IEEEFP_H
12992 #include <ieeefp.h>
12999 if { (eval echo configure:13000: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13001 glibcpp_cv_func__expf_use=yes
13003 echo "configure
: failed program was
:" >&5
13004 cat conftest.$ac_ext >&5
13006 glibcpp_cv_func__expf_use=no
13010 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13011 ac_cpp='$CPP $CPPFLAGS'
13012 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13013 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13014 cross_compiling=$ac_cv_prog_cc_cross
13020 echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
13022 if test x$glibcpp_cv_func__expf_use = x"yes"; then
13023 for ac_func in _expf
13025 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13026 echo "configure
:13027: checking
for $ac_func" >&5
13027 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13028 echo $ac_n "(cached
) $ac_c" 1>&6
13030 cat > conftest.$ac_ext <<EOF
13031 #line 13032 "configure
"
13032 #include "confdefs.h
"
13033 /* System header to define __stub macros and hopefully few prototypes,
13034 which can conflict with char $ac_func(); below. */
13035 #include <assert.h>
13036 /* Override any gcc2 internal prototype to avoid an error. */
13037 /* We use char because int might match the return type of a gcc2
13038 builtin and then its argument prototype would still apply. */
13043 /* The GNU C library defines this for functions which it implements
13044 to always fail with ENOSYS. Some functions are actually named
13045 something starting with __ and the normal name is an alias. */
13046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13054 if { (eval echo configure:13055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13056 eval "ac_cv_func_
$ac_func=yes"
13058 echo "configure
: failed program was
:" >&5
13059 cat conftest.$ac_ext >&5
13061 eval "ac_cv_func_
$ac_func=no
"
13066 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13067 echo "$ac_t""yes" 1>&6
13068 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13069 cat >> confdefs.h <<EOF
13070 #define $ac_tr_func 1
13074 echo "$ac_t""no
" 1>&6
13083 echo $ac_n "checking
for isnanf declaration
""...
$ac_c" 1>&6
13084 echo "configure
:13085: checking
for isnanf declaration
" >&5
13085 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
13086 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
13087 echo $ac_n "(cached
) $ac_c" 1>&6
13092 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13093 ac_cpp='$CXXCPP $CPPFLAGS'
13094 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13095 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13096 cross_compiling=$ac_cv_prog_cxx_cross
13098 cat > conftest.$ac_ext <<EOF
13099 #line 13100 "configure
"
13100 #include "confdefs.h
"
13102 #ifdef HAVE_IEEEFP_H
13103 #include <ieeefp.h>
13110 if { (eval echo configure:13111: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13112 glibcpp_cv_func_isnanf_use=yes
13114 echo "configure
: failed program was
:" >&5
13115 cat conftest.$ac_ext >&5
13117 glibcpp_cv_func_isnanf_use=no
13121 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13122 ac_cpp='$CPP $CPPFLAGS'
13123 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13124 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13125 cross_compiling=$ac_cv_prog_cc_cross
13131 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
13133 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
13134 for ac_func in isnanf
13136 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13137 echo "configure
:13138: checking
for $ac_func" >&5
13138 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13139 echo $ac_n "(cached
) $ac_c" 1>&6
13141 cat > conftest.$ac_ext <<EOF
13142 #line 13143 "configure
"
13143 #include "confdefs.h
"
13144 /* System header to define __stub macros and hopefully few prototypes,
13145 which can conflict with char $ac_func(); below. */
13146 #include <assert.h>
13147 /* Override any gcc2 internal prototype to avoid an error. */
13148 /* We use char because int might match the return type of a gcc2
13149 builtin and then its argument prototype would still apply. */
13154 /* The GNU C library defines this for functions which it implements
13155 to always fail with ENOSYS. Some functions are actually named
13156 something starting with __ and the normal name is an alias. */
13157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13165 if { (eval echo configure:13166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13167 eval "ac_cv_func_
$ac_func=yes"
13169 echo "configure
: failed program was
:" >&5
13170 cat conftest.$ac_ext >&5
13172 eval "ac_cv_func_
$ac_func=no
"
13177 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13178 echo "$ac_t""yes" 1>&6
13179 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13180 cat >> confdefs.h <<EOF
13181 #define $ac_tr_func 1
13185 echo "$ac_t""no
" 1>&6
13191 echo $ac_n "checking
for _isnanf declaration
""...
$ac_c" 1>&6
13192 echo "configure
:13193: checking
for _isnanf declaration
" >&5
13193 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
13194 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
13195 echo $ac_n "(cached
) $ac_c" 1>&6
13200 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13201 ac_cpp='$CXXCPP $CPPFLAGS'
13202 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13203 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13204 cross_compiling=$ac_cv_prog_cxx_cross
13206 cat > conftest.$ac_ext <<EOF
13207 #line 13208 "configure
"
13208 #include "confdefs.h
"
13210 #ifdef HAVE_IEEEFP_H
13211 #include <ieeefp.h>
13218 if { (eval echo configure:13219: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13220 glibcpp_cv_func__isnanf_use=yes
13222 echo "configure
: failed program was
:" >&5
13223 cat conftest.$ac_ext >&5
13225 glibcpp_cv_func__isnanf_use=no
13229 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13230 ac_cpp='$CPP $CPPFLAGS'
13231 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13232 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13233 cross_compiling=$ac_cv_prog_cc_cross
13239 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
13241 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
13242 for ac_func in _isnanf
13244 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13245 echo "configure
:13246: checking
for $ac_func" >&5
13246 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13247 echo $ac_n "(cached
) $ac_c" 1>&6
13249 cat > conftest.$ac_ext <<EOF
13250 #line 13251 "configure
"
13251 #include "confdefs.h
"
13252 /* System header to define __stub macros and hopefully few prototypes,
13253 which can conflict with char $ac_func(); below. */
13254 #include <assert.h>
13255 /* Override any gcc2 internal prototype to avoid an error. */
13256 /* We use char because int might match the return type of a gcc2
13257 builtin and then its argument prototype would still apply. */
13262 /* The GNU C library defines this for functions which it implements
13263 to always fail with ENOSYS. Some functions are actually named
13264 something starting with __ and the normal name is an alias. */
13265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13273 if { (eval echo configure:13274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13275 eval "ac_cv_func_
$ac_func=yes"
13277 echo "configure
: failed program was
:" >&5
13278 cat conftest.$ac_ext >&5
13280 eval "ac_cv_func_
$ac_func=no
"
13285 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13286 echo "$ac_t""yes" 1>&6
13287 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13288 cat >> confdefs.h <<EOF
13289 #define $ac_tr_func 1
13293 echo "$ac_t""no
" 1>&6
13302 echo $ac_n "checking
for isinff declaration
""...
$ac_c" 1>&6
13303 echo "configure
:13304: checking
for isinff declaration
" >&5
13304 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
13305 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
13306 echo $ac_n "(cached
) $ac_c" 1>&6
13311 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13312 ac_cpp='$CXXCPP $CPPFLAGS'
13313 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13314 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13315 cross_compiling=$ac_cv_prog_cxx_cross
13317 cat > conftest.$ac_ext <<EOF
13318 #line 13319 "configure
"
13319 #include "confdefs.h
"
13321 #ifdef HAVE_IEEEFP_H
13322 #include <ieeefp.h>
13329 if { (eval echo configure:13330: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13331 glibcpp_cv_func_isinff_use=yes
13333 echo "configure
: failed program was
:" >&5
13334 cat conftest.$ac_ext >&5
13336 glibcpp_cv_func_isinff_use=no
13340 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13341 ac_cpp='$CPP $CPPFLAGS'
13342 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13343 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13344 cross_compiling=$ac_cv_prog_cc_cross
13350 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
13352 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
13353 for ac_func in isinff
13355 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13356 echo "configure
:13357: checking
for $ac_func" >&5
13357 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13358 echo $ac_n "(cached
) $ac_c" 1>&6
13360 cat > conftest.$ac_ext <<EOF
13361 #line 13362 "configure
"
13362 #include "confdefs.h
"
13363 /* System header to define __stub macros and hopefully few prototypes,
13364 which can conflict with char $ac_func(); below. */
13365 #include <assert.h>
13366 /* Override any gcc2 internal prototype to avoid an error. */
13367 /* We use char because int might match the return type of a gcc2
13368 builtin and then its argument prototype would still apply. */
13373 /* The GNU C library defines this for functions which it implements
13374 to always fail with ENOSYS. Some functions are actually named
13375 something starting with __ and the normal name is an alias. */
13376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13384 if { (eval echo configure:13385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13386 eval "ac_cv_func_
$ac_func=yes"
13388 echo "configure
: failed program was
:" >&5
13389 cat conftest.$ac_ext >&5
13391 eval "ac_cv_func_
$ac_func=no
"
13396 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13397 echo "$ac_t""yes" 1>&6
13398 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13399 cat >> confdefs.h <<EOF
13400 #define $ac_tr_func 1
13404 echo "$ac_t""no
" 1>&6
13410 echo $ac_n "checking
for _isinff declaration
""...
$ac_c" 1>&6
13411 echo "configure
:13412: checking
for _isinff declaration
" >&5
13412 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
13413 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
13414 echo $ac_n "(cached
) $ac_c" 1>&6
13419 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13420 ac_cpp='$CXXCPP $CPPFLAGS'
13421 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13422 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13423 cross_compiling=$ac_cv_prog_cxx_cross
13425 cat > conftest.$ac_ext <<EOF
13426 #line 13427 "configure
"
13427 #include "confdefs.h
"
13429 #ifdef HAVE_IEEEFP_H
13430 #include <ieeefp.h>
13437 if { (eval echo configure:13438: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13439 glibcpp_cv_func__isinff_use=yes
13441 echo "configure
: failed program was
:" >&5
13442 cat conftest.$ac_ext >&5
13444 glibcpp_cv_func__isinff_use=no
13448 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13449 ac_cpp='$CPP $CPPFLAGS'
13450 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13451 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13452 cross_compiling=$ac_cv_prog_cc_cross
13458 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
13460 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
13461 for ac_func in _isinff
13463 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13464 echo "configure
:13465: checking
for $ac_func" >&5
13465 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13466 echo $ac_n "(cached
) $ac_c" 1>&6
13468 cat > conftest.$ac_ext <<EOF
13469 #line 13470 "configure
"
13470 #include "confdefs.h
"
13471 /* System header to define __stub macros and hopefully few prototypes,
13472 which can conflict with char $ac_func(); below. */
13473 #include <assert.h>
13474 /* Override any gcc2 internal prototype to avoid an error. */
13475 /* We use char because int might match the return type of a gcc2
13476 builtin and then its argument prototype would still apply. */
13481 /* The GNU C library defines this for functions which it implements
13482 to always fail with ENOSYS. Some functions are actually named
13483 something starting with __ and the normal name is an alias. */
13484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13492 if { (eval echo configure:13493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13494 eval "ac_cv_func_
$ac_func=yes"
13496 echo "configure
: failed program was
:" >&5
13497 cat conftest.$ac_ext >&5
13499 eval "ac_cv_func_
$ac_func=no
"
13504 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13505 echo "$ac_t""yes" 1>&6
13506 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13507 cat >> confdefs.h <<EOF
13508 #define $ac_tr_func 1
13512 echo "$ac_t""no
" 1>&6
13521 echo $ac_n "checking
for atan2f declaration
""...
$ac_c" 1>&6
13522 echo "configure
:13523: checking
for atan2f declaration
" >&5
13523 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
13524 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
13525 echo $ac_n "(cached
) $ac_c" 1>&6
13530 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13531 ac_cpp='$CXXCPP $CPPFLAGS'
13532 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13533 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13534 cross_compiling=$ac_cv_prog_cxx_cross
13536 cat > conftest.$ac_ext <<EOF
13537 #line 13538 "configure
"
13538 #include "confdefs.h
"
13544 if { (eval echo configure:13545: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13546 glibcpp_cv_func_atan2f_use=yes
13548 echo "configure
: failed program was
:" >&5
13549 cat conftest.$ac_ext >&5
13551 glibcpp_cv_func_atan2f_use=no
13555 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13556 ac_cpp='$CPP $CPPFLAGS'
13557 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13558 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13559 cross_compiling=$ac_cv_prog_cc_cross
13565 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
13567 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
13568 for ac_func in atan2f
13570 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13571 echo "configure
:13572: checking
for $ac_func" >&5
13572 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13573 echo $ac_n "(cached
) $ac_c" 1>&6
13575 cat > conftest.$ac_ext <<EOF
13576 #line 13577 "configure
"
13577 #include "confdefs.h
"
13578 /* System header to define __stub macros and hopefully few prototypes,
13579 which can conflict with char $ac_func(); below. */
13580 #include <assert.h>
13581 /* Override any gcc2 internal prototype to avoid an error. */
13582 /* We use char because int might match the return type of a gcc2
13583 builtin and then its argument prototype would still apply. */
13588 /* The GNU C library defines this for functions which it implements
13589 to always fail with ENOSYS. Some functions are actually named
13590 something starting with __ and the normal name is an alias. */
13591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13599 if { (eval echo configure:13600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13601 eval "ac_cv_func_
$ac_func=yes"
13603 echo "configure
: failed program was
:" >&5
13604 cat conftest.$ac_ext >&5
13606 eval "ac_cv_func_
$ac_func=no
"
13611 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13612 echo "$ac_t""yes" 1>&6
13613 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13614 cat >> confdefs.h <<EOF
13615 #define $ac_tr_func 1
13619 echo "$ac_t""no
" 1>&6
13625 echo $ac_n "checking
for _atan2f declaration
""...
$ac_c" 1>&6
13626 echo "configure
:13627: checking
for _atan2f declaration
" >&5
13627 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
13628 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
13629 echo $ac_n "(cached
) $ac_c" 1>&6
13634 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13635 ac_cpp='$CXXCPP $CPPFLAGS'
13636 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13637 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13638 cross_compiling=$ac_cv_prog_cxx_cross
13640 cat > conftest.$ac_ext <<EOF
13641 #line 13642 "configure
"
13642 #include "confdefs.h
"
13648 if { (eval echo configure:13649: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13650 glibcpp_cv_func__atan2f_use=yes
13652 echo "configure
: failed program was
:" >&5
13653 cat conftest.$ac_ext >&5
13655 glibcpp_cv_func__atan2f_use=no
13659 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13660 ac_cpp='$CPP $CPPFLAGS'
13661 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13662 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13663 cross_compiling=$ac_cv_prog_cc_cross
13669 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
13671 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
13672 for ac_func in _atan2f
13674 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13675 echo "configure
:13676: checking
for $ac_func" >&5
13676 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13677 echo $ac_n "(cached
) $ac_c" 1>&6
13679 cat > conftest.$ac_ext <<EOF
13680 #line 13681 "configure
"
13681 #include "confdefs.h
"
13682 /* System header to define __stub macros and hopefully few prototypes,
13683 which can conflict with char $ac_func(); below. */
13684 #include <assert.h>
13685 /* Override any gcc2 internal prototype to avoid an error. */
13686 /* We use char because int might match the return type of a gcc2
13687 builtin and then its argument prototype would still apply. */
13692 /* The GNU C library defines this for functions which it implements
13693 to always fail with ENOSYS. Some functions are actually named
13694 something starting with __ and the normal name is an alias. */
13695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13703 if { (eval echo configure:13704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13705 eval "ac_cv_func_
$ac_func=yes"
13707 echo "configure
: failed program was
:" >&5
13708 cat conftest.$ac_ext >&5
13710 eval "ac_cv_func_
$ac_func=no
"
13715 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13716 echo "$ac_t""yes" 1>&6
13717 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13718 cat >> confdefs.h <<EOF
13719 #define $ac_tr_func 1
13723 echo "$ac_t""no
" 1>&6
13732 echo $ac_n "checking
for fabsf declaration
""...
$ac_c" 1>&6
13733 echo "configure
:13734: checking
for fabsf declaration
" >&5
13734 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
13735 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
13736 echo $ac_n "(cached
) $ac_c" 1>&6
13741 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13742 ac_cpp='$CXXCPP $CPPFLAGS'
13743 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13744 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13745 cross_compiling=$ac_cv_prog_cxx_cross
13747 cat > conftest.$ac_ext <<EOF
13748 #line 13749 "configure
"
13749 #include "confdefs.h
"
13751 #ifdef HAVE_IEEEFP_H
13752 #include <ieeefp.h>
13759 if { (eval echo configure:13760: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13761 glibcpp_cv_func_fabsf_use=yes
13763 echo "configure
: failed program was
:" >&5
13764 cat conftest.$ac_ext >&5
13766 glibcpp_cv_func_fabsf_use=no
13770 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13771 ac_cpp='$CPP $CPPFLAGS'
13772 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13773 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13774 cross_compiling=$ac_cv_prog_cc_cross
13780 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
13782 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
13783 for ac_func in fabsf
13785 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13786 echo "configure
:13787: checking
for $ac_func" >&5
13787 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13788 echo $ac_n "(cached
) $ac_c" 1>&6
13790 cat > conftest.$ac_ext <<EOF
13791 #line 13792 "configure
"
13792 #include "confdefs.h
"
13793 /* System header to define __stub macros and hopefully few prototypes,
13794 which can conflict with char $ac_func(); below. */
13795 #include <assert.h>
13796 /* Override any gcc2 internal prototype to avoid an error. */
13797 /* We use char because int might match the return type of a gcc2
13798 builtin and then its argument prototype would still apply. */
13803 /* The GNU C library defines this for functions which it implements
13804 to always fail with ENOSYS. Some functions are actually named
13805 something starting with __ and the normal name is an alias. */
13806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13814 if { (eval echo configure:13815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13816 eval "ac_cv_func_
$ac_func=yes"
13818 echo "configure
: failed program was
:" >&5
13819 cat conftest.$ac_ext >&5
13821 eval "ac_cv_func_
$ac_func=no
"
13826 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13827 echo "$ac_t""yes" 1>&6
13828 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13829 cat >> confdefs.h <<EOF
13830 #define $ac_tr_func 1
13834 echo "$ac_t""no
" 1>&6
13840 echo $ac_n "checking
for _fabsf declaration
""...
$ac_c" 1>&6
13841 echo "configure
:13842: checking
for _fabsf declaration
" >&5
13842 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
13843 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
13844 echo $ac_n "(cached
) $ac_c" 1>&6
13849 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13850 ac_cpp='$CXXCPP $CPPFLAGS'
13851 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13852 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13853 cross_compiling=$ac_cv_prog_cxx_cross
13855 cat > conftest.$ac_ext <<EOF
13856 #line 13857 "configure
"
13857 #include "confdefs.h
"
13859 #ifdef HAVE_IEEEFP_H
13860 #include <ieeefp.h>
13867 if { (eval echo configure:13868: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13869 glibcpp_cv_func__fabsf_use=yes
13871 echo "configure
: failed program was
:" >&5
13872 cat conftest.$ac_ext >&5
13874 glibcpp_cv_func__fabsf_use=no
13878 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13879 ac_cpp='$CPP $CPPFLAGS'
13880 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13881 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13882 cross_compiling=$ac_cv_prog_cc_cross
13888 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
13890 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
13891 for ac_func in _fabsf
13893 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13894 echo "configure
:13895: checking
for $ac_func" >&5
13895 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13896 echo $ac_n "(cached
) $ac_c" 1>&6
13898 cat > conftest.$ac_ext <<EOF
13899 #line 13900 "configure
"
13900 #include "confdefs.h
"
13901 /* System header to define __stub macros and hopefully few prototypes,
13902 which can conflict with char $ac_func(); below. */
13903 #include <assert.h>
13904 /* Override any gcc2 internal prototype to avoid an error. */
13905 /* We use char because int might match the return type of a gcc2
13906 builtin and then its argument prototype would still apply. */
13911 /* The GNU C library defines this for functions which it implements
13912 to always fail with ENOSYS. Some functions are actually named
13913 something starting with __ and the normal name is an alias. */
13914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13922 if { (eval echo configure:13923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13924 eval "ac_cv_func_
$ac_func=yes"
13926 echo "configure
: failed program was
:" >&5
13927 cat conftest.$ac_ext >&5
13929 eval "ac_cv_func_
$ac_func=no
"
13934 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13935 echo "$ac_t""yes" 1>&6
13936 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13937 cat >> confdefs.h <<EOF
13938 #define $ac_tr_func 1
13942 echo "$ac_t""no
" 1>&6
13951 echo $ac_n "checking
for fmodf declaration
""...
$ac_c" 1>&6
13952 echo "configure
:13953: checking
for fmodf declaration
" >&5
13953 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
13954 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
13955 echo $ac_n "(cached
) $ac_c" 1>&6
13960 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13961 ac_cpp='$CXXCPP $CPPFLAGS'
13962 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13963 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13964 cross_compiling=$ac_cv_prog_cxx_cross
13966 cat > conftest.$ac_ext <<EOF
13967 #line 13968 "configure
"
13968 #include "confdefs.h
"
13974 if { (eval echo configure:13975: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13976 glibcpp_cv_func_fmodf_use=yes
13978 echo "configure
: failed program was
:" >&5
13979 cat conftest.$ac_ext >&5
13981 glibcpp_cv_func_fmodf_use=no
13985 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13986 ac_cpp='$CPP $CPPFLAGS'
13987 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13988 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13989 cross_compiling=$ac_cv_prog_cc_cross
13995 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
13997 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
13998 for ac_func in fmodf
14000 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14001 echo "configure
:14002: checking
for $ac_func" >&5
14002 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14003 echo $ac_n "(cached
) $ac_c" 1>&6
14005 cat > conftest.$ac_ext <<EOF
14006 #line 14007 "configure
"
14007 #include "confdefs.h
"
14008 /* System header to define __stub macros and hopefully few prototypes,
14009 which can conflict with char $ac_func(); below. */
14010 #include <assert.h>
14011 /* Override any gcc2 internal prototype to avoid an error. */
14012 /* We use char because int might match the return type of a gcc2
14013 builtin and then its argument prototype would still apply. */
14018 /* The GNU C library defines this for functions which it implements
14019 to always fail with ENOSYS. Some functions are actually named
14020 something starting with __ and the normal name is an alias. */
14021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14029 if { (eval echo configure:14030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14031 eval "ac_cv_func_
$ac_func=yes"
14033 echo "configure
: failed program was
:" >&5
14034 cat conftest.$ac_ext >&5
14036 eval "ac_cv_func_
$ac_func=no
"
14041 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14042 echo "$ac_t""yes" 1>&6
14043 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14044 cat >> confdefs.h <<EOF
14045 #define $ac_tr_func 1
14049 echo "$ac_t""no
" 1>&6
14055 echo $ac_n "checking
for _fmodf declaration
""...
$ac_c" 1>&6
14056 echo "configure
:14057: checking
for _fmodf declaration
" >&5
14057 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
14058 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
14059 echo $ac_n "(cached
) $ac_c" 1>&6
14064 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14065 ac_cpp='$CXXCPP $CPPFLAGS'
14066 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14067 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14068 cross_compiling=$ac_cv_prog_cxx_cross
14070 cat > conftest.$ac_ext <<EOF
14071 #line 14072 "configure
"
14072 #include "confdefs.h
"
14078 if { (eval echo configure:14079: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14080 glibcpp_cv_func__fmodf_use=yes
14082 echo "configure
: failed program was
:" >&5
14083 cat conftest.$ac_ext >&5
14085 glibcpp_cv_func__fmodf_use=no
14089 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14090 ac_cpp='$CPP $CPPFLAGS'
14091 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14092 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14093 cross_compiling=$ac_cv_prog_cc_cross
14099 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
14101 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
14102 for ac_func in _fmodf
14104 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14105 echo "configure
:14106: checking
for $ac_func" >&5
14106 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14107 echo $ac_n "(cached
) $ac_c" 1>&6
14109 cat > conftest.$ac_ext <<EOF
14110 #line 14111 "configure
"
14111 #include "confdefs.h
"
14112 /* System header to define __stub macros and hopefully few prototypes,
14113 which can conflict with char $ac_func(); below. */
14114 #include <assert.h>
14115 /* Override any gcc2 internal prototype to avoid an error. */
14116 /* We use char because int might match the return type of a gcc2
14117 builtin and then its argument prototype would still apply. */
14122 /* The GNU C library defines this for functions which it implements
14123 to always fail with ENOSYS. Some functions are actually named
14124 something starting with __ and the normal name is an alias. */
14125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14133 if { (eval echo configure:14134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14135 eval "ac_cv_func_
$ac_func=yes"
14137 echo "configure
: failed program was
:" >&5
14138 cat conftest.$ac_ext >&5
14140 eval "ac_cv_func_
$ac_func=no
"
14145 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14146 echo "$ac_t""yes" 1>&6
14147 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14148 cat >> confdefs.h <<EOF
14149 #define $ac_tr_func 1
14153 echo "$ac_t""no
" 1>&6
14162 echo $ac_n "checking
for frexpf declaration
""...
$ac_c" 1>&6
14163 echo "configure
:14164: checking
for frexpf declaration
" >&5
14164 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
14165 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
14166 echo $ac_n "(cached
) $ac_c" 1>&6
14171 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14172 ac_cpp='$CXXCPP $CPPFLAGS'
14173 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14174 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14175 cross_compiling=$ac_cv_prog_cxx_cross
14177 cat > conftest.$ac_ext <<EOF
14178 #line 14179 "configure
"
14179 #include "confdefs.h
"
14185 if { (eval echo configure:14186: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14187 glibcpp_cv_func_frexpf_use=yes
14189 echo "configure
: failed program was
:" >&5
14190 cat conftest.$ac_ext >&5
14192 glibcpp_cv_func_frexpf_use=no
14196 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14197 ac_cpp='$CPP $CPPFLAGS'
14198 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14199 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14200 cross_compiling=$ac_cv_prog_cc_cross
14206 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
14208 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
14209 for ac_func in frexpf
14211 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14212 echo "configure
:14213: checking
for $ac_func" >&5
14213 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14214 echo $ac_n "(cached
) $ac_c" 1>&6
14216 cat > conftest.$ac_ext <<EOF
14217 #line 14218 "configure
"
14218 #include "confdefs.h
"
14219 /* System header to define __stub macros and hopefully few prototypes,
14220 which can conflict with char $ac_func(); below. */
14221 #include <assert.h>
14222 /* Override any gcc2 internal prototype to avoid an error. */
14223 /* We use char because int might match the return type of a gcc2
14224 builtin and then its argument prototype would still apply. */
14229 /* The GNU C library defines this for functions which it implements
14230 to always fail with ENOSYS. Some functions are actually named
14231 something starting with __ and the normal name is an alias. */
14232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14240 if { (eval echo configure:14241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14242 eval "ac_cv_func_
$ac_func=yes"
14244 echo "configure
: failed program was
:" >&5
14245 cat conftest.$ac_ext >&5
14247 eval "ac_cv_func_
$ac_func=no
"
14252 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14253 echo "$ac_t""yes" 1>&6
14254 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14255 cat >> confdefs.h <<EOF
14256 #define $ac_tr_func 1
14260 echo "$ac_t""no
" 1>&6
14266 echo $ac_n "checking
for _frexpf declaration
""...
$ac_c" 1>&6
14267 echo "configure
:14268: checking
for _frexpf declaration
" >&5
14268 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
14269 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
14270 echo $ac_n "(cached
) $ac_c" 1>&6
14275 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14276 ac_cpp='$CXXCPP $CPPFLAGS'
14277 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14278 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14279 cross_compiling=$ac_cv_prog_cxx_cross
14281 cat > conftest.$ac_ext <<EOF
14282 #line 14283 "configure
"
14283 #include "confdefs.h
"
14289 if { (eval echo configure:14290: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14291 glibcpp_cv_func__frexpf_use=yes
14293 echo "configure
: failed program was
:" >&5
14294 cat conftest.$ac_ext >&5
14296 glibcpp_cv_func__frexpf_use=no
14300 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14301 ac_cpp='$CPP $CPPFLAGS'
14302 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14303 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14304 cross_compiling=$ac_cv_prog_cc_cross
14310 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
14312 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
14313 for ac_func in _frexpf
14315 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14316 echo "configure
:14317: checking
for $ac_func" >&5
14317 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14318 echo $ac_n "(cached
) $ac_c" 1>&6
14320 cat > conftest.$ac_ext <<EOF
14321 #line 14322 "configure
"
14322 #include "confdefs.h
"
14323 /* System header to define __stub macros and hopefully few prototypes,
14324 which can conflict with char $ac_func(); below. */
14325 #include <assert.h>
14326 /* Override any gcc2 internal prototype to avoid an error. */
14327 /* We use char because int might match the return type of a gcc2
14328 builtin and then its argument prototype would still apply. */
14333 /* The GNU C library defines this for functions which it implements
14334 to always fail with ENOSYS. Some functions are actually named
14335 something starting with __ and the normal name is an alias. */
14336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14344 if { (eval echo configure:14345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14346 eval "ac_cv_func_
$ac_func=yes"
14348 echo "configure
: failed program was
:" >&5
14349 cat conftest.$ac_ext >&5
14351 eval "ac_cv_func_
$ac_func=no
"
14356 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14357 echo "$ac_t""yes" 1>&6
14358 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14359 cat >> confdefs.h <<EOF
14360 #define $ac_tr_func 1
14364 echo "$ac_t""no
" 1>&6
14373 echo $ac_n "checking
for hypotf declaration
""...
$ac_c" 1>&6
14374 echo "configure
:14375: checking
for hypotf declaration
" >&5
14375 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
14376 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
14377 echo $ac_n "(cached
) $ac_c" 1>&6
14382 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14383 ac_cpp='$CXXCPP $CPPFLAGS'
14384 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14385 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14386 cross_compiling=$ac_cv_prog_cxx_cross
14388 cat > conftest.$ac_ext <<EOF
14389 #line 14390 "configure
"
14390 #include "confdefs.h
"
14396 if { (eval echo configure:14397: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14398 glibcpp_cv_func_hypotf_use=yes
14400 echo "configure
: failed program was
:" >&5
14401 cat conftest.$ac_ext >&5
14403 glibcpp_cv_func_hypotf_use=no
14407 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14408 ac_cpp='$CPP $CPPFLAGS'
14409 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14410 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14411 cross_compiling=$ac_cv_prog_cc_cross
14417 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
14419 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
14420 for ac_func in hypotf
14422 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14423 echo "configure
:14424: checking
for $ac_func" >&5
14424 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14425 echo $ac_n "(cached
) $ac_c" 1>&6
14427 cat > conftest.$ac_ext <<EOF
14428 #line 14429 "configure
"
14429 #include "confdefs.h
"
14430 /* System header to define __stub macros and hopefully few prototypes,
14431 which can conflict with char $ac_func(); below. */
14432 #include <assert.h>
14433 /* Override any gcc2 internal prototype to avoid an error. */
14434 /* We use char because int might match the return type of a gcc2
14435 builtin and then its argument prototype would still apply. */
14440 /* The GNU C library defines this for functions which it implements
14441 to always fail with ENOSYS. Some functions are actually named
14442 something starting with __ and the normal name is an alias. */
14443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14451 if { (eval echo configure:14452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14453 eval "ac_cv_func_
$ac_func=yes"
14455 echo "configure
: failed program was
:" >&5
14456 cat conftest.$ac_ext >&5
14458 eval "ac_cv_func_
$ac_func=no
"
14463 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14464 echo "$ac_t""yes" 1>&6
14465 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14466 cat >> confdefs.h <<EOF
14467 #define $ac_tr_func 1
14471 echo "$ac_t""no
" 1>&6
14477 echo $ac_n "checking
for _hypotf declaration
""...
$ac_c" 1>&6
14478 echo "configure
:14479: checking
for _hypotf declaration
" >&5
14479 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
14480 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
14481 echo $ac_n "(cached
) $ac_c" 1>&6
14486 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14487 ac_cpp='$CXXCPP $CPPFLAGS'
14488 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14489 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14490 cross_compiling=$ac_cv_prog_cxx_cross
14492 cat > conftest.$ac_ext <<EOF
14493 #line 14494 "configure
"
14494 #include "confdefs.h
"
14500 if { (eval echo configure:14501: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14502 glibcpp_cv_func__hypotf_use=yes
14504 echo "configure
: failed program was
:" >&5
14505 cat conftest.$ac_ext >&5
14507 glibcpp_cv_func__hypotf_use=no
14511 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14512 ac_cpp='$CPP $CPPFLAGS'
14513 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14514 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14515 cross_compiling=$ac_cv_prog_cc_cross
14521 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
14523 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
14524 for ac_func in _hypotf
14526 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14527 echo "configure
:14528: checking
for $ac_func" >&5
14528 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14529 echo $ac_n "(cached
) $ac_c" 1>&6
14531 cat > conftest.$ac_ext <<EOF
14532 #line 14533 "configure
"
14533 #include "confdefs.h
"
14534 /* System header to define __stub macros and hopefully few prototypes,
14535 which can conflict with char $ac_func(); below. */
14536 #include <assert.h>
14537 /* Override any gcc2 internal prototype to avoid an error. */
14538 /* We use char because int might match the return type of a gcc2
14539 builtin and then its argument prototype would still apply. */
14544 /* The GNU C library defines this for functions which it implements
14545 to always fail with ENOSYS. Some functions are actually named
14546 something starting with __ and the normal name is an alias. */
14547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14555 if { (eval echo configure:14556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14557 eval "ac_cv_func_
$ac_func=yes"
14559 echo "configure
: failed program was
:" >&5
14560 cat conftest.$ac_ext >&5
14562 eval "ac_cv_func_
$ac_func=no
"
14567 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14568 echo "$ac_t""yes" 1>&6
14569 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14570 cat >> confdefs.h <<EOF
14571 #define $ac_tr_func 1
14575 echo "$ac_t""no
" 1>&6
14584 echo $ac_n "checking
for ldexpf declaration
""...
$ac_c" 1>&6
14585 echo "configure
:14586: checking
for ldexpf declaration
" >&5
14586 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
14587 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
14588 echo $ac_n "(cached
) $ac_c" 1>&6
14593 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14594 ac_cpp='$CXXCPP $CPPFLAGS'
14595 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14596 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14597 cross_compiling=$ac_cv_prog_cxx_cross
14599 cat > conftest.$ac_ext <<EOF
14600 #line 14601 "configure
"
14601 #include "confdefs.h
"
14607 if { (eval echo configure:14608: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14609 glibcpp_cv_func_ldexpf_use=yes
14611 echo "configure
: failed program was
:" >&5
14612 cat conftest.$ac_ext >&5
14614 glibcpp_cv_func_ldexpf_use=no
14618 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14619 ac_cpp='$CPP $CPPFLAGS'
14620 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14621 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14622 cross_compiling=$ac_cv_prog_cc_cross
14628 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
14630 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
14631 for ac_func in ldexpf
14633 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14634 echo "configure
:14635: checking
for $ac_func" >&5
14635 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14636 echo $ac_n "(cached
) $ac_c" 1>&6
14638 cat > conftest.$ac_ext <<EOF
14639 #line 14640 "configure
"
14640 #include "confdefs.h
"
14641 /* System header to define __stub macros and hopefully few prototypes,
14642 which can conflict with char $ac_func(); below. */
14643 #include <assert.h>
14644 /* Override any gcc2 internal prototype to avoid an error. */
14645 /* We use char because int might match the return type of a gcc2
14646 builtin and then its argument prototype would still apply. */
14651 /* The GNU C library defines this for functions which it implements
14652 to always fail with ENOSYS. Some functions are actually named
14653 something starting with __ and the normal name is an alias. */
14654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14662 if { (eval echo configure:14663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14664 eval "ac_cv_func_
$ac_func=yes"
14666 echo "configure
: failed program was
:" >&5
14667 cat conftest.$ac_ext >&5
14669 eval "ac_cv_func_
$ac_func=no
"
14674 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14675 echo "$ac_t""yes" 1>&6
14676 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14677 cat >> confdefs.h <<EOF
14678 #define $ac_tr_func 1
14682 echo "$ac_t""no
" 1>&6
14688 echo $ac_n "checking
for _ldexpf declaration
""...
$ac_c" 1>&6
14689 echo "configure
:14690: checking
for _ldexpf declaration
" >&5
14690 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
14691 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
14692 echo $ac_n "(cached
) $ac_c" 1>&6
14697 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14698 ac_cpp='$CXXCPP $CPPFLAGS'
14699 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14700 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14701 cross_compiling=$ac_cv_prog_cxx_cross
14703 cat > conftest.$ac_ext <<EOF
14704 #line 14705 "configure
"
14705 #include "confdefs.h
"
14711 if { (eval echo configure:14712: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14713 glibcpp_cv_func__ldexpf_use=yes
14715 echo "configure
: failed program was
:" >&5
14716 cat conftest.$ac_ext >&5
14718 glibcpp_cv_func__ldexpf_use=no
14722 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14723 ac_cpp='$CPP $CPPFLAGS'
14724 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14725 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14726 cross_compiling=$ac_cv_prog_cc_cross
14732 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
14734 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
14735 for ac_func in _ldexpf
14737 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14738 echo "configure
:14739: checking
for $ac_func" >&5
14739 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14740 echo $ac_n "(cached
) $ac_c" 1>&6
14742 cat > conftest.$ac_ext <<EOF
14743 #line 14744 "configure
"
14744 #include "confdefs.h
"
14745 /* System header to define __stub macros and hopefully few prototypes,
14746 which can conflict with char $ac_func(); below. */
14747 #include <assert.h>
14748 /* Override any gcc2 internal prototype to avoid an error. */
14749 /* We use char because int might match the return type of a gcc2
14750 builtin and then its argument prototype would still apply. */
14755 /* The GNU C library defines this for functions which it implements
14756 to always fail with ENOSYS. Some functions are actually named
14757 something starting with __ and the normal name is an alias. */
14758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14766 if { (eval echo configure:14767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14768 eval "ac_cv_func_
$ac_func=yes"
14770 echo "configure
: failed program was
:" >&5
14771 cat conftest.$ac_ext >&5
14773 eval "ac_cv_func_
$ac_func=no
"
14778 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14779 echo "$ac_t""yes" 1>&6
14780 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14781 cat >> confdefs.h <<EOF
14782 #define $ac_tr_func 1
14786 echo "$ac_t""no
" 1>&6
14795 echo $ac_n "checking
for logf declaration
""...
$ac_c" 1>&6
14796 echo "configure
:14797: checking
for logf declaration
" >&5
14797 if test x${glibcpp_cv_func_logf_use+set} != xset; then
14798 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
14799 echo $ac_n "(cached
) $ac_c" 1>&6
14804 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14805 ac_cpp='$CXXCPP $CPPFLAGS'
14806 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14807 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14808 cross_compiling=$ac_cv_prog_cxx_cross
14810 cat > conftest.$ac_ext <<EOF
14811 #line 14812 "configure
"
14812 #include "confdefs.h
"
14814 #ifdef HAVE_IEEEFP_H
14815 #include <ieeefp.h>
14822 if { (eval echo configure:14823: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14824 glibcpp_cv_func_logf_use=yes
14826 echo "configure
: failed program was
:" >&5
14827 cat conftest.$ac_ext >&5
14829 glibcpp_cv_func_logf_use=no
14833 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14834 ac_cpp='$CPP $CPPFLAGS'
14835 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14836 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14837 cross_compiling=$ac_cv_prog_cc_cross
14843 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
14845 if test x$glibcpp_cv_func_logf_use = x"yes"; then
14846 for ac_func in logf
14848 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14849 echo "configure
:14850: checking
for $ac_func" >&5
14850 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14851 echo $ac_n "(cached
) $ac_c" 1>&6
14853 cat > conftest.$ac_ext <<EOF
14854 #line 14855 "configure
"
14855 #include "confdefs.h
"
14856 /* System header to define __stub macros and hopefully few prototypes,
14857 which can conflict with char $ac_func(); below. */
14858 #include <assert.h>
14859 /* Override any gcc2 internal prototype to avoid an error. */
14860 /* We use char because int might match the return type of a gcc2
14861 builtin and then its argument prototype would still apply. */
14866 /* The GNU C library defines this for functions which it implements
14867 to always fail with ENOSYS. Some functions are actually named
14868 something starting with __ and the normal name is an alias. */
14869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14877 if { (eval echo configure:14878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14879 eval "ac_cv_func_
$ac_func=yes"
14881 echo "configure
: failed program was
:" >&5
14882 cat conftest.$ac_ext >&5
14884 eval "ac_cv_func_
$ac_func=no
"
14889 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14890 echo "$ac_t""yes" 1>&6
14891 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14892 cat >> confdefs.h <<EOF
14893 #define $ac_tr_func 1
14897 echo "$ac_t""no
" 1>&6
14903 echo $ac_n "checking
for _logf declaration
""...
$ac_c" 1>&6
14904 echo "configure
:14905: checking
for _logf declaration
" >&5
14905 if test x${glibcpp_cv_func__logf_use+set} != xset; then
14906 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
14907 echo $ac_n "(cached
) $ac_c" 1>&6
14912 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14913 ac_cpp='$CXXCPP $CPPFLAGS'
14914 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14915 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14916 cross_compiling=$ac_cv_prog_cxx_cross
14918 cat > conftest.$ac_ext <<EOF
14919 #line 14920 "configure
"
14920 #include "confdefs.h
"
14922 #ifdef HAVE_IEEEFP_H
14923 #include <ieeefp.h>
14930 if { (eval echo configure:14931: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14932 glibcpp_cv_func__logf_use=yes
14934 echo "configure
: failed program was
:" >&5
14935 cat conftest.$ac_ext >&5
14937 glibcpp_cv_func__logf_use=no
14941 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14942 ac_cpp='$CPP $CPPFLAGS'
14943 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14944 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14945 cross_compiling=$ac_cv_prog_cc_cross
14951 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
14953 if test x$glibcpp_cv_func__logf_use = x"yes"; then
14954 for ac_func in _logf
14956 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14957 echo "configure
:14958: checking
for $ac_func" >&5
14958 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14959 echo $ac_n "(cached
) $ac_c" 1>&6
14961 cat > conftest.$ac_ext <<EOF
14962 #line 14963 "configure
"
14963 #include "confdefs.h
"
14964 /* System header to define __stub macros and hopefully few prototypes,
14965 which can conflict with char $ac_func(); below. */
14966 #include <assert.h>
14967 /* Override any gcc2 internal prototype to avoid an error. */
14968 /* We use char because int might match the return type of a gcc2
14969 builtin and then its argument prototype would still apply. */
14974 /* The GNU C library defines this for functions which it implements
14975 to always fail with ENOSYS. Some functions are actually named
14976 something starting with __ and the normal name is an alias. */
14977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14985 if { (eval echo configure:14986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14987 eval "ac_cv_func_
$ac_func=yes"
14989 echo "configure
: failed program was
:" >&5
14990 cat conftest.$ac_ext >&5
14992 eval "ac_cv_func_
$ac_func=no
"
14997 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14998 echo "$ac_t""yes" 1>&6
14999 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15000 cat >> confdefs.h <<EOF
15001 #define $ac_tr_func 1
15005 echo "$ac_t""no
" 1>&6
15014 echo $ac_n "checking
for log10f declaration
""...
$ac_c" 1>&6
15015 echo "configure
:15016: checking
for log10f declaration
" >&5
15016 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
15017 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
15018 echo $ac_n "(cached
) $ac_c" 1>&6
15023 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15024 ac_cpp='$CXXCPP $CPPFLAGS'
15025 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15026 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15027 cross_compiling=$ac_cv_prog_cxx_cross
15029 cat > conftest.$ac_ext <<EOF
15030 #line 15031 "configure
"
15031 #include "confdefs.h
"
15033 #ifdef HAVE_IEEEFP_H
15034 #include <ieeefp.h>
15041 if { (eval echo configure:15042: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15043 glibcpp_cv_func_log10f_use=yes
15045 echo "configure
: failed program was
:" >&5
15046 cat conftest.$ac_ext >&5
15048 glibcpp_cv_func_log10f_use=no
15052 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15053 ac_cpp='$CPP $CPPFLAGS'
15054 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15055 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15056 cross_compiling=$ac_cv_prog_cc_cross
15062 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
15064 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
15065 for ac_func in log10f
15067 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15068 echo "configure
:15069: checking
for $ac_func" >&5
15069 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15070 echo $ac_n "(cached
) $ac_c" 1>&6
15072 cat > conftest.$ac_ext <<EOF
15073 #line 15074 "configure
"
15074 #include "confdefs.h
"
15075 /* System header to define __stub macros and hopefully few prototypes,
15076 which can conflict with char $ac_func(); below. */
15077 #include <assert.h>
15078 /* Override any gcc2 internal prototype to avoid an error. */
15079 /* We use char because int might match the return type of a gcc2
15080 builtin and then its argument prototype would still apply. */
15085 /* The GNU C library defines this for functions which it implements
15086 to always fail with ENOSYS. Some functions are actually named
15087 something starting with __ and the normal name is an alias. */
15088 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15096 if { (eval echo configure:15097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15098 eval "ac_cv_func_
$ac_func=yes"
15100 echo "configure
: failed program was
:" >&5
15101 cat conftest.$ac_ext >&5
15103 eval "ac_cv_func_
$ac_func=no
"
15108 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15109 echo "$ac_t""yes" 1>&6
15110 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15111 cat >> confdefs.h <<EOF
15112 #define $ac_tr_func 1
15116 echo "$ac_t""no
" 1>&6
15122 echo $ac_n "checking
for _log10f declaration
""...
$ac_c" 1>&6
15123 echo "configure
:15124: checking
for _log10f declaration
" >&5
15124 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
15125 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
15126 echo $ac_n "(cached
) $ac_c" 1>&6
15131 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15132 ac_cpp='$CXXCPP $CPPFLAGS'
15133 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15134 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15135 cross_compiling=$ac_cv_prog_cxx_cross
15137 cat > conftest.$ac_ext <<EOF
15138 #line 15139 "configure
"
15139 #include "confdefs.h
"
15141 #ifdef HAVE_IEEEFP_H
15142 #include <ieeefp.h>
15149 if { (eval echo configure:15150: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15151 glibcpp_cv_func__log10f_use=yes
15153 echo "configure
: failed program was
:" >&5
15154 cat conftest.$ac_ext >&5
15156 glibcpp_cv_func__log10f_use=no
15160 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15161 ac_cpp='$CPP $CPPFLAGS'
15162 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15163 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15164 cross_compiling=$ac_cv_prog_cc_cross
15170 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
15172 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
15173 for ac_func in _log10f
15175 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15176 echo "configure
:15177: checking
for $ac_func" >&5
15177 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15178 echo $ac_n "(cached
) $ac_c" 1>&6
15180 cat > conftest.$ac_ext <<EOF
15181 #line 15182 "configure
"
15182 #include "confdefs.h
"
15183 /* System header to define __stub macros and hopefully few prototypes,
15184 which can conflict with char $ac_func(); below. */
15185 #include <assert.h>
15186 /* Override any gcc2 internal prototype to avoid an error. */
15187 /* We use char because int might match the return type of a gcc2
15188 builtin and then its argument prototype would still apply. */
15193 /* The GNU C library defines this for functions which it implements
15194 to always fail with ENOSYS. Some functions are actually named
15195 something starting with __ and the normal name is an alias. */
15196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15204 if { (eval echo configure:15205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15206 eval "ac_cv_func_
$ac_func=yes"
15208 echo "configure
: failed program was
:" >&5
15209 cat conftest.$ac_ext >&5
15211 eval "ac_cv_func_
$ac_func=no
"
15216 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15217 echo "$ac_t""yes" 1>&6
15218 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15219 cat >> confdefs.h <<EOF
15220 #define $ac_tr_func 1
15224 echo "$ac_t""no
" 1>&6
15233 echo $ac_n "checking
for modff declaration
""...
$ac_c" 1>&6
15234 echo "configure
:15235: checking
for modff declaration
" >&5
15235 if test x${glibcpp_cv_func_modff_use+set} != xset; then
15236 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
15237 echo $ac_n "(cached
) $ac_c" 1>&6
15242 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15243 ac_cpp='$CXXCPP $CPPFLAGS'
15244 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15245 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15246 cross_compiling=$ac_cv_prog_cxx_cross
15248 cat > conftest.$ac_ext <<EOF
15249 #line 15250 "configure
"
15250 #include "confdefs.h
"
15256 if { (eval echo configure:15257: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15258 glibcpp_cv_func_modff_use=yes
15260 echo "configure
: failed program was
:" >&5
15261 cat conftest.$ac_ext >&5
15263 glibcpp_cv_func_modff_use=no
15267 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15268 ac_cpp='$CPP $CPPFLAGS'
15269 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15270 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15271 cross_compiling=$ac_cv_prog_cc_cross
15277 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
15279 if test x$glibcpp_cv_func_modff_use = x"yes"; then
15280 for ac_func in modff
15282 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15283 echo "configure
:15284: checking
for $ac_func" >&5
15284 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15285 echo $ac_n "(cached
) $ac_c" 1>&6
15287 cat > conftest.$ac_ext <<EOF
15288 #line 15289 "configure
"
15289 #include "confdefs.h
"
15290 /* System header to define __stub macros and hopefully few prototypes,
15291 which can conflict with char $ac_func(); below. */
15292 #include <assert.h>
15293 /* Override any gcc2 internal prototype to avoid an error. */
15294 /* We use char because int might match the return type of a gcc2
15295 builtin and then its argument prototype would still apply. */
15300 /* The GNU C library defines this for functions which it implements
15301 to always fail with ENOSYS. Some functions are actually named
15302 something starting with __ and the normal name is an alias. */
15303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15311 if { (eval echo configure:15312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15313 eval "ac_cv_func_
$ac_func=yes"
15315 echo "configure
: failed program was
:" >&5
15316 cat conftest.$ac_ext >&5
15318 eval "ac_cv_func_
$ac_func=no
"
15323 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15324 echo "$ac_t""yes" 1>&6
15325 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15326 cat >> confdefs.h <<EOF
15327 #define $ac_tr_func 1
15331 echo "$ac_t""no
" 1>&6
15337 echo $ac_n "checking
for _modff declaration
""...
$ac_c" 1>&6
15338 echo "configure
:15339: checking
for _modff declaration
" >&5
15339 if test x${glibcpp_cv_func__modff_use+set} != xset; then
15340 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
15341 echo $ac_n "(cached
) $ac_c" 1>&6
15346 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15347 ac_cpp='$CXXCPP $CPPFLAGS'
15348 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15349 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15350 cross_compiling=$ac_cv_prog_cxx_cross
15352 cat > conftest.$ac_ext <<EOF
15353 #line 15354 "configure
"
15354 #include "confdefs.h
"
15360 if { (eval echo configure:15361: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15362 glibcpp_cv_func__modff_use=yes
15364 echo "configure
: failed program was
:" >&5
15365 cat conftest.$ac_ext >&5
15367 glibcpp_cv_func__modff_use=no
15371 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15372 ac_cpp='$CPP $CPPFLAGS'
15373 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15374 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15375 cross_compiling=$ac_cv_prog_cc_cross
15381 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
15383 if test x$glibcpp_cv_func__modff_use = x"yes"; then
15384 for ac_func in _modff
15386 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15387 echo "configure
:15388: checking
for $ac_func" >&5
15388 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15389 echo $ac_n "(cached
) $ac_c" 1>&6
15391 cat > conftest.$ac_ext <<EOF
15392 #line 15393 "configure
"
15393 #include "confdefs.h
"
15394 /* System header to define __stub macros and hopefully few prototypes,
15395 which can conflict with char $ac_func(); below. */
15396 #include <assert.h>
15397 /* Override any gcc2 internal prototype to avoid an error. */
15398 /* We use char because int might match the return type of a gcc2
15399 builtin and then its argument prototype would still apply. */
15404 /* The GNU C library defines this for functions which it implements
15405 to always fail with ENOSYS. Some functions are actually named
15406 something starting with __ and the normal name is an alias. */
15407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15415 if { (eval echo configure:15416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15417 eval "ac_cv_func_
$ac_func=yes"
15419 echo "configure
: failed program was
:" >&5
15420 cat conftest.$ac_ext >&5
15422 eval "ac_cv_func_
$ac_func=no
"
15427 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15428 echo "$ac_t""yes" 1>&6
15429 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15430 cat >> confdefs.h <<EOF
15431 #define $ac_tr_func 1
15435 echo "$ac_t""no
" 1>&6
15444 echo $ac_n "checking
for powf declaration
""...
$ac_c" 1>&6
15445 echo "configure
:15446: checking
for powf declaration
" >&5
15446 if test x${glibcpp_cv_func_powf_use+set} != xset; then
15447 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
15448 echo $ac_n "(cached
) $ac_c" 1>&6
15453 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15454 ac_cpp='$CXXCPP $CPPFLAGS'
15455 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15456 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15457 cross_compiling=$ac_cv_prog_cxx_cross
15459 cat > conftest.$ac_ext <<EOF
15460 #line 15461 "configure
"
15461 #include "confdefs.h
"
15467 if { (eval echo configure:15468: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15469 glibcpp_cv_func_powf_use=yes
15471 echo "configure
: failed program was
:" >&5
15472 cat conftest.$ac_ext >&5
15474 glibcpp_cv_func_powf_use=no
15478 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15479 ac_cpp='$CPP $CPPFLAGS'
15480 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15481 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15482 cross_compiling=$ac_cv_prog_cc_cross
15488 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
15490 if test x$glibcpp_cv_func_powf_use = x"yes"; then
15491 for ac_func in powf
15493 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15494 echo "configure
:15495: checking
for $ac_func" >&5
15495 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15496 echo $ac_n "(cached
) $ac_c" 1>&6
15498 cat > conftest.$ac_ext <<EOF
15499 #line 15500 "configure
"
15500 #include "confdefs.h
"
15501 /* System header to define __stub macros and hopefully few prototypes,
15502 which can conflict with char $ac_func(); below. */
15503 #include <assert.h>
15504 /* Override any gcc2 internal prototype to avoid an error. */
15505 /* We use char because int might match the return type of a gcc2
15506 builtin and then its argument prototype would still apply. */
15511 /* The GNU C library defines this for functions which it implements
15512 to always fail with ENOSYS. Some functions are actually named
15513 something starting with __ and the normal name is an alias. */
15514 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15522 if { (eval echo configure:15523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15524 eval "ac_cv_func_
$ac_func=yes"
15526 echo "configure
: failed program was
:" >&5
15527 cat conftest.$ac_ext >&5
15529 eval "ac_cv_func_
$ac_func=no
"
15534 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15535 echo "$ac_t""yes" 1>&6
15536 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15537 cat >> confdefs.h <<EOF
15538 #define $ac_tr_func 1
15542 echo "$ac_t""no
" 1>&6
15548 echo $ac_n "checking
for _powf declaration
""...
$ac_c" 1>&6
15549 echo "configure
:15550: checking
for _powf declaration
" >&5
15550 if test x${glibcpp_cv_func__powf_use+set} != xset; then
15551 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
15552 echo $ac_n "(cached
) $ac_c" 1>&6
15557 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15558 ac_cpp='$CXXCPP $CPPFLAGS'
15559 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15560 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15561 cross_compiling=$ac_cv_prog_cxx_cross
15563 cat > conftest.$ac_ext <<EOF
15564 #line 15565 "configure
"
15565 #include "confdefs.h
"
15571 if { (eval echo configure:15572: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15573 glibcpp_cv_func__powf_use=yes
15575 echo "configure
: failed program was
:" >&5
15576 cat conftest.$ac_ext >&5
15578 glibcpp_cv_func__powf_use=no
15582 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15583 ac_cpp='$CPP $CPPFLAGS'
15584 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15585 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15586 cross_compiling=$ac_cv_prog_cc_cross
15592 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
15594 if test x$glibcpp_cv_func__powf_use = x"yes"; then
15595 for ac_func in _powf
15597 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15598 echo "configure
:15599: checking
for $ac_func" >&5
15599 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15600 echo $ac_n "(cached
) $ac_c" 1>&6
15602 cat > conftest.$ac_ext <<EOF
15603 #line 15604 "configure
"
15604 #include "confdefs.h
"
15605 /* System header to define __stub macros and hopefully few prototypes,
15606 which can conflict with char $ac_func(); below. */
15607 #include <assert.h>
15608 /* Override any gcc2 internal prototype to avoid an error. */
15609 /* We use char because int might match the return type of a gcc2
15610 builtin and then its argument prototype would still apply. */
15615 /* The GNU C library defines this for functions which it implements
15616 to always fail with ENOSYS. Some functions are actually named
15617 something starting with __ and the normal name is an alias. */
15618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15626 if { (eval echo configure:15627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15628 eval "ac_cv_func_
$ac_func=yes"
15630 echo "configure
: failed program was
:" >&5
15631 cat conftest.$ac_ext >&5
15633 eval "ac_cv_func_
$ac_func=no
"
15638 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15639 echo "$ac_t""yes" 1>&6
15640 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15641 cat >> confdefs.h <<EOF
15642 #define $ac_tr_func 1
15646 echo "$ac_t""no
" 1>&6
15655 echo $ac_n "checking
for sqrtf declaration
""...
$ac_c" 1>&6
15656 echo "configure
:15657: checking
for sqrtf declaration
" >&5
15657 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
15658 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
15659 echo $ac_n "(cached
) $ac_c" 1>&6
15664 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15665 ac_cpp='$CXXCPP $CPPFLAGS'
15666 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15667 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15668 cross_compiling=$ac_cv_prog_cxx_cross
15670 cat > conftest.$ac_ext <<EOF
15671 #line 15672 "configure
"
15672 #include "confdefs.h
"
15674 #ifdef HAVE_IEEEFP_H
15675 #include <ieeefp.h>
15682 if { (eval echo configure:15683: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15684 glibcpp_cv_func_sqrtf_use=yes
15686 echo "configure
: failed program was
:" >&5
15687 cat conftest.$ac_ext >&5
15689 glibcpp_cv_func_sqrtf_use=no
15693 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15694 ac_cpp='$CPP $CPPFLAGS'
15695 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15696 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15697 cross_compiling=$ac_cv_prog_cc_cross
15703 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
15705 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
15706 for ac_func in sqrtf
15708 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15709 echo "configure
:15710: checking
for $ac_func" >&5
15710 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15711 echo $ac_n "(cached
) $ac_c" 1>&6
15713 cat > conftest.$ac_ext <<EOF
15714 #line 15715 "configure
"
15715 #include "confdefs.h
"
15716 /* System header to define __stub macros and hopefully few prototypes,
15717 which can conflict with char $ac_func(); below. */
15718 #include <assert.h>
15719 /* Override any gcc2 internal prototype to avoid an error. */
15720 /* We use char because int might match the return type of a gcc2
15721 builtin and then its argument prototype would still apply. */
15726 /* The GNU C library defines this for functions which it implements
15727 to always fail with ENOSYS. Some functions are actually named
15728 something starting with __ and the normal name is an alias. */
15729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15737 if { (eval echo configure:15738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15739 eval "ac_cv_func_
$ac_func=yes"
15741 echo "configure
: failed program was
:" >&5
15742 cat conftest.$ac_ext >&5
15744 eval "ac_cv_func_
$ac_func=no
"
15749 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15750 echo "$ac_t""yes" 1>&6
15751 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15752 cat >> confdefs.h <<EOF
15753 #define $ac_tr_func 1
15757 echo "$ac_t""no
" 1>&6
15763 echo $ac_n "checking
for _sqrtf declaration
""...
$ac_c" 1>&6
15764 echo "configure
:15765: checking
for _sqrtf declaration
" >&5
15765 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
15766 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
15767 echo $ac_n "(cached
) $ac_c" 1>&6
15772 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15773 ac_cpp='$CXXCPP $CPPFLAGS'
15774 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15775 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15776 cross_compiling=$ac_cv_prog_cxx_cross
15778 cat > conftest.$ac_ext <<EOF
15779 #line 15780 "configure
"
15780 #include "confdefs.h
"
15782 #ifdef HAVE_IEEEFP_H
15783 #include <ieeefp.h>
15790 if { (eval echo configure:15791: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15792 glibcpp_cv_func__sqrtf_use=yes
15794 echo "configure
: failed program was
:" >&5
15795 cat conftest.$ac_ext >&5
15797 glibcpp_cv_func__sqrtf_use=no
15801 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15802 ac_cpp='$CPP $CPPFLAGS'
15803 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15804 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15805 cross_compiling=$ac_cv_prog_cc_cross
15811 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
15813 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
15814 for ac_func in _sqrtf
15816 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15817 echo "configure
:15818: checking
for $ac_func" >&5
15818 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15819 echo $ac_n "(cached
) $ac_c" 1>&6
15821 cat > conftest.$ac_ext <<EOF
15822 #line 15823 "configure
"
15823 #include "confdefs.h
"
15824 /* System header to define __stub macros and hopefully few prototypes,
15825 which can conflict with char $ac_func(); below. */
15826 #include <assert.h>
15827 /* Override any gcc2 internal prototype to avoid an error. */
15828 /* We use char because int might match the return type of a gcc2
15829 builtin and then its argument prototype would still apply. */
15834 /* The GNU C library defines this for functions which it implements
15835 to always fail with ENOSYS. Some functions are actually named
15836 something starting with __ and the normal name is an alias. */
15837 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15845 if { (eval echo configure:15846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15847 eval "ac_cv_func_
$ac_func=yes"
15849 echo "configure
: failed program was
:" >&5
15850 cat conftest.$ac_ext >&5
15852 eval "ac_cv_func_
$ac_func=no
"
15857 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15858 echo "$ac_t""yes" 1>&6
15859 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15860 cat >> confdefs.h <<EOF
15861 #define $ac_tr_func 1
15865 echo "$ac_t""no
" 1>&6
15874 echo $ac_n "checking
for sincosf declaration
""...
$ac_c" 1>&6
15875 echo "configure
:15876: checking
for sincosf declaration
" >&5
15876 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
15877 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
15878 echo $ac_n "(cached
) $ac_c" 1>&6
15883 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15884 ac_cpp='$CXXCPP $CPPFLAGS'
15885 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15886 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15887 cross_compiling=$ac_cv_prog_cxx_cross
15889 cat > conftest.$ac_ext <<EOF
15890 #line 15891 "configure
"
15891 #include "confdefs.h
"
15897 if { (eval echo configure:15898: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15899 glibcpp_cv_func_sincosf_use=yes
15901 echo "configure
: failed program was
:" >&5
15902 cat conftest.$ac_ext >&5
15904 glibcpp_cv_func_sincosf_use=no
15908 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15909 ac_cpp='$CPP $CPPFLAGS'
15910 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15911 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15912 cross_compiling=$ac_cv_prog_cc_cross
15918 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
15920 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
15921 for ac_func in sincosf
15923 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15924 echo "configure
:15925: checking
for $ac_func" >&5
15925 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15926 echo $ac_n "(cached
) $ac_c" 1>&6
15928 cat > conftest.$ac_ext <<EOF
15929 #line 15930 "configure
"
15930 #include "confdefs.h
"
15931 /* System header to define __stub macros and hopefully few prototypes,
15932 which can conflict with char $ac_func(); below. */
15933 #include <assert.h>
15934 /* Override any gcc2 internal prototype to avoid an error. */
15935 /* We use char because int might match the return type of a gcc2
15936 builtin and then its argument prototype would still apply. */
15941 /* The GNU C library defines this for functions which it implements
15942 to always fail with ENOSYS. Some functions are actually named
15943 something starting with __ and the normal name is an alias. */
15944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15952 if { (eval echo configure:15953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15954 eval "ac_cv_func_
$ac_func=yes"
15956 echo "configure
: failed program was
:" >&5
15957 cat conftest.$ac_ext >&5
15959 eval "ac_cv_func_
$ac_func=no
"
15964 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15965 echo "$ac_t""yes" 1>&6
15966 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15967 cat >> confdefs.h <<EOF
15968 #define $ac_tr_func 1
15972 echo "$ac_t""no
" 1>&6
15978 echo $ac_n "checking
for _sincosf declaration
""...
$ac_c" 1>&6
15979 echo "configure
:15980: checking
for _sincosf declaration
" >&5
15980 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
15981 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
15982 echo $ac_n "(cached
) $ac_c" 1>&6
15987 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15988 ac_cpp='$CXXCPP $CPPFLAGS'
15989 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15990 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15991 cross_compiling=$ac_cv_prog_cxx_cross
15993 cat > conftest.$ac_ext <<EOF
15994 #line 15995 "configure
"
15995 #include "confdefs.h
"
16001 if { (eval echo configure:16002: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16003 glibcpp_cv_func__sincosf_use=yes
16005 echo "configure
: failed program was
:" >&5
16006 cat conftest.$ac_ext >&5
16008 glibcpp_cv_func__sincosf_use=no
16012 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16013 ac_cpp='$CPP $CPPFLAGS'
16014 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16015 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16016 cross_compiling=$ac_cv_prog_cc_cross
16022 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
16024 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
16025 for ac_func in _sincosf
16027 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16028 echo "configure
:16029: checking
for $ac_func" >&5
16029 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16030 echo $ac_n "(cached
) $ac_c" 1>&6
16032 cat > conftest.$ac_ext <<EOF
16033 #line 16034 "configure
"
16034 #include "confdefs.h
"
16035 /* System header to define __stub macros and hopefully few prototypes,
16036 which can conflict with char $ac_func(); below. */
16037 #include <assert.h>
16038 /* Override any gcc2 internal prototype to avoid an error. */
16039 /* We use char because int might match the return type of a gcc2
16040 builtin and then its argument prototype would still apply. */
16045 /* The GNU C library defines this for functions which it implements
16046 to always fail with ENOSYS. Some functions are actually named
16047 something starting with __ and the normal name is an alias. */
16048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16056 if { (eval echo configure:16057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16058 eval "ac_cv_func_
$ac_func=yes"
16060 echo "configure
: failed program was
:" >&5
16061 cat conftest.$ac_ext >&5
16063 eval "ac_cv_func_
$ac_func=no
"
16068 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16069 echo "$ac_t""yes" 1>&6
16070 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16071 cat >> confdefs.h <<EOF
16072 #define $ac_tr_func 1
16076 echo "$ac_t""no
" 1>&6
16085 echo $ac_n "checking
for finitef declaration
""...
$ac_c" 1>&6
16086 echo "configure
:16087: checking
for finitef declaration
" >&5
16087 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
16088 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
16089 echo $ac_n "(cached
) $ac_c" 1>&6
16094 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16095 ac_cpp='$CXXCPP $CPPFLAGS'
16096 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16097 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16098 cross_compiling=$ac_cv_prog_cxx_cross
16100 cat > conftest.$ac_ext <<EOF
16101 #line 16102 "configure
"
16102 #include "confdefs.h
"
16104 #ifdef HAVE_IEEEFP_H
16105 #include <ieeefp.h>
16112 if { (eval echo configure:16113: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16114 glibcpp_cv_func_finitef_use=yes
16116 echo "configure
: failed program was
:" >&5
16117 cat conftest.$ac_ext >&5
16119 glibcpp_cv_func_finitef_use=no
16123 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16124 ac_cpp='$CPP $CPPFLAGS'
16125 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16126 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16127 cross_compiling=$ac_cv_prog_cc_cross
16133 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
16135 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
16136 for ac_func in finitef
16138 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16139 echo "configure
:16140: checking
for $ac_func" >&5
16140 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16141 echo $ac_n "(cached
) $ac_c" 1>&6
16143 cat > conftest.$ac_ext <<EOF
16144 #line 16145 "configure
"
16145 #include "confdefs.h
"
16146 /* System header to define __stub macros and hopefully few prototypes,
16147 which can conflict with char $ac_func(); below. */
16148 #include <assert.h>
16149 /* Override any gcc2 internal prototype to avoid an error. */
16150 /* We use char because int might match the return type of a gcc2
16151 builtin and then its argument prototype would still apply. */
16156 /* The GNU C library defines this for functions which it implements
16157 to always fail with ENOSYS. Some functions are actually named
16158 something starting with __ and the normal name is an alias. */
16159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16167 if { (eval echo configure:16168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16169 eval "ac_cv_func_
$ac_func=yes"
16171 echo "configure
: failed program was
:" >&5
16172 cat conftest.$ac_ext >&5
16174 eval "ac_cv_func_
$ac_func=no
"
16179 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16180 echo "$ac_t""yes" 1>&6
16181 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16182 cat >> confdefs.h <<EOF
16183 #define $ac_tr_func 1
16187 echo "$ac_t""no
" 1>&6
16193 echo $ac_n "checking
for _finitef declaration
""...
$ac_c" 1>&6
16194 echo "configure
:16195: checking
for _finitef declaration
" >&5
16195 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
16196 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
16197 echo $ac_n "(cached
) $ac_c" 1>&6
16202 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16203 ac_cpp='$CXXCPP $CPPFLAGS'
16204 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16205 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16206 cross_compiling=$ac_cv_prog_cxx_cross
16208 cat > conftest.$ac_ext <<EOF
16209 #line 16210 "configure
"
16210 #include "confdefs.h
"
16212 #ifdef HAVE_IEEEFP_H
16213 #include <ieeefp.h>
16220 if { (eval echo configure:16221: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16222 glibcpp_cv_func__finitef_use=yes
16224 echo "configure
: failed program was
:" >&5
16225 cat conftest.$ac_ext >&5
16227 glibcpp_cv_func__finitef_use=no
16231 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16232 ac_cpp='$CPP $CPPFLAGS'
16233 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16234 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16235 cross_compiling=$ac_cv_prog_cc_cross
16241 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
16243 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
16244 for ac_func in _finitef
16246 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16247 echo "configure
:16248: checking
for $ac_func" >&5
16248 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16249 echo $ac_n "(cached
) $ac_c" 1>&6
16251 cat > conftest.$ac_ext <<EOF
16252 #line 16253 "configure
"
16253 #include "confdefs.h
"
16254 /* System header to define __stub macros and hopefully few prototypes,
16255 which can conflict with char $ac_func(); below. */
16256 #include <assert.h>
16257 /* Override any gcc2 internal prototype to avoid an error. */
16258 /* We use char because int might match the return type of a gcc2
16259 builtin and then its argument prototype would still apply. */
16264 /* The GNU C library defines this for functions which it implements
16265 to always fail with ENOSYS. Some functions are actually named
16266 something starting with __ and the normal name is an alias. */
16267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16275 if { (eval echo configure:16276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16277 eval "ac_cv_func_
$ac_func=yes"
16279 echo "configure
: failed program was
:" >&5
16280 cat conftest.$ac_ext >&5
16282 eval "ac_cv_func_
$ac_func=no
"
16287 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16288 echo "$ac_t""yes" 1>&6
16289 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16290 cat >> confdefs.h <<EOF
16291 #define $ac_tr_func 1
16295 echo "$ac_t""no
" 1>&6
16304 echo $ac_n "checking
for long double trig functions
""...
$ac_c" 1>&6
16305 echo "configure
:16306: checking
for long double trig functions
" >&5
16306 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
16307 echo $ac_n "(cached
) $ac_c" 1>&6
16312 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16313 ac_cpp='$CXXCPP $CPPFLAGS'
16314 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16315 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16316 cross_compiling=$ac_cv_prog_cxx_cross
16318 cat > conftest.$ac_ext <<EOF
16319 #line 16320 "configure
"
16320 #include "confdefs.h
"
16323 `for x in acosl asinl atanl \
16325 coshl sinhl tanhl; do echo "$x (0);"; done`
16328 if { (eval echo configure:16329: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16330 glibcpp_cv_func_long_double_trig_use=yes
16332 echo "configure
: failed program was
:" >&5
16333 cat conftest.$ac_ext >&5
16335 glibcpp_cv_func_long_double_trig_use=no
16339 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16340 ac_cpp='$CPP $CPPFLAGS'
16341 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16342 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16343 cross_compiling=$ac_cv_prog_cc_cross
16347 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
16348 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
16349 for ac_func in acosl asinl atanl \
16353 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16354 echo "configure
:16355: checking
for $ac_func" >&5
16355 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16356 echo $ac_n "(cached
) $ac_c" 1>&6
16358 cat > conftest.$ac_ext <<EOF
16359 #line 16360 "configure
"
16360 #include "confdefs.h
"
16361 /* System header to define __stub macros and hopefully few prototypes,
16362 which can conflict with char $ac_func(); below. */
16363 #include <assert.h>
16364 /* Override any gcc2 internal prototype to avoid an error. */
16365 /* We use char because int might match the return type of a gcc2
16366 builtin and then its argument prototype would still apply. */
16371 /* The GNU C library defines this for functions which it implements
16372 to always fail with ENOSYS. Some functions are actually named
16373 something starting with __ and the normal name is an alias. */
16374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16382 if { (eval echo configure:16383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16384 eval "ac_cv_func_
$ac_func=yes"
16386 echo "configure
: failed program was
:" >&5
16387 cat conftest.$ac_ext >&5
16389 eval "ac_cv_func_
$ac_func=no
"
16394 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16395 echo "$ac_t""yes" 1>&6
16396 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16397 cat >> confdefs.h <<EOF
16398 #define $ac_tr_func 1
16402 echo "$ac_t""no
" 1>&6
16409 echo $ac_n "checking
for long double round functions
""...
$ac_c" 1>&6
16410 echo "configure
:16411: checking
for long double round functions
" >&5
16411 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
16412 echo $ac_n "(cached
) $ac_c" 1>&6
16417 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16418 ac_cpp='$CXXCPP $CPPFLAGS'
16419 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16420 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16421 cross_compiling=$ac_cv_prog_cxx_cross
16423 cat > conftest.$ac_ext <<EOF
16424 #line 16425 "configure
"
16425 #include "confdefs.h
"
16428 `for x in ceill floorl; do echo "$x (0);"; done`
16431 if { (eval echo configure:16432: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16433 glibcpp_cv_func_long_double_round_use=yes
16435 echo "configure
: failed program was
:" >&5
16436 cat conftest.$ac_ext >&5
16438 glibcpp_cv_func_long_double_round_use=no
16442 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16443 ac_cpp='$CPP $CPPFLAGS'
16444 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16445 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16446 cross_compiling=$ac_cv_prog_cc_cross
16450 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
16451 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
16452 for ac_func in ceill floorl
16454 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16455 echo "configure
:16456: checking
for $ac_func" >&5
16456 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16457 echo $ac_n "(cached
) $ac_c" 1>&6
16459 cat > conftest.$ac_ext <<EOF
16460 #line 16461 "configure
"
16461 #include "confdefs.h
"
16462 /* System header to define __stub macros and hopefully few prototypes,
16463 which can conflict with char $ac_func(); below. */
16464 #include <assert.h>
16465 /* Override any gcc2 internal prototype to avoid an error. */
16466 /* We use char because int might match the return type of a gcc2
16467 builtin and then its argument prototype would still apply. */
16472 /* The GNU C library defines this for functions which it implements
16473 to always fail with ENOSYS. Some functions are actually named
16474 something starting with __ and the normal name is an alias. */
16475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16483 if { (eval echo configure:16484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16485 eval "ac_cv_func_
$ac_func=yes"
16487 echo "configure
: failed program was
:" >&5
16488 cat conftest.$ac_ext >&5
16490 eval "ac_cv_func_
$ac_func=no
"
16495 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16496 echo "$ac_t""yes" 1>&6
16497 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16498 cat >> confdefs.h <<EOF
16499 #define $ac_tr_func 1
16503 echo "$ac_t""no
" 1>&6
16511 echo $ac_n "checking
for isnanl declaration
""...
$ac_c" 1>&6
16512 echo "configure
:16513: checking
for isnanl declaration
" >&5
16513 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
16514 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
16515 echo $ac_n "(cached
) $ac_c" 1>&6
16520 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16521 ac_cpp='$CXXCPP $CPPFLAGS'
16522 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16523 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16524 cross_compiling=$ac_cv_prog_cxx_cross
16526 cat > conftest.$ac_ext <<EOF
16527 #line 16528 "configure
"
16528 #include "confdefs.h
"
16530 #ifdef HAVE_IEEEFP_H
16531 #include <ieeefp.h>
16538 if { (eval echo configure:16539: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16540 glibcpp_cv_func_isnanl_use=yes
16542 echo "configure
: failed program was
:" >&5
16543 cat conftest.$ac_ext >&5
16545 glibcpp_cv_func_isnanl_use=no
16549 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16550 ac_cpp='$CPP $CPPFLAGS'
16551 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16552 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16553 cross_compiling=$ac_cv_prog_cc_cross
16559 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
16561 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
16562 for ac_func in isnanl
16564 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16565 echo "configure
:16566: checking
for $ac_func" >&5
16566 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16567 echo $ac_n "(cached
) $ac_c" 1>&6
16569 cat > conftest.$ac_ext <<EOF
16570 #line 16571 "configure
"
16571 #include "confdefs.h
"
16572 /* System header to define __stub macros and hopefully few prototypes,
16573 which can conflict with char $ac_func(); below. */
16574 #include <assert.h>
16575 /* Override any gcc2 internal prototype to avoid an error. */
16576 /* We use char because int might match the return type of a gcc2
16577 builtin and then its argument prototype would still apply. */
16582 /* The GNU C library defines this for functions which it implements
16583 to always fail with ENOSYS. Some functions are actually named
16584 something starting with __ and the normal name is an alias. */
16585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16593 if { (eval echo configure:16594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16595 eval "ac_cv_func_
$ac_func=yes"
16597 echo "configure
: failed program was
:" >&5
16598 cat conftest.$ac_ext >&5
16600 eval "ac_cv_func_
$ac_func=no
"
16605 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16606 echo "$ac_t""yes" 1>&6
16607 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16608 cat >> confdefs.h <<EOF
16609 #define $ac_tr_func 1
16613 echo "$ac_t""no
" 1>&6
16619 echo $ac_n "checking
for _isnanl declaration
""...
$ac_c" 1>&6
16620 echo "configure
:16621: checking
for _isnanl declaration
" >&5
16621 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
16622 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
16623 echo $ac_n "(cached
) $ac_c" 1>&6
16628 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16629 ac_cpp='$CXXCPP $CPPFLAGS'
16630 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16631 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16632 cross_compiling=$ac_cv_prog_cxx_cross
16634 cat > conftest.$ac_ext <<EOF
16635 #line 16636 "configure
"
16636 #include "confdefs.h
"
16638 #ifdef HAVE_IEEEFP_H
16639 #include <ieeefp.h>
16646 if { (eval echo configure:16647: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16648 glibcpp_cv_func__isnanl_use=yes
16650 echo "configure
: failed program was
:" >&5
16651 cat conftest.$ac_ext >&5
16653 glibcpp_cv_func__isnanl_use=no
16657 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16658 ac_cpp='$CPP $CPPFLAGS'
16659 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16660 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16661 cross_compiling=$ac_cv_prog_cc_cross
16667 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
16669 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
16670 for ac_func in _isnanl
16672 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16673 echo "configure
:16674: checking
for $ac_func" >&5
16674 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16675 echo $ac_n "(cached
) $ac_c" 1>&6
16677 cat > conftest.$ac_ext <<EOF
16678 #line 16679 "configure
"
16679 #include "confdefs.h
"
16680 /* System header to define __stub macros and hopefully few prototypes,
16681 which can conflict with char $ac_func(); below. */
16682 #include <assert.h>
16683 /* Override any gcc2 internal prototype to avoid an error. */
16684 /* We use char because int might match the return type of a gcc2
16685 builtin and then its argument prototype would still apply. */
16690 /* The GNU C library defines this for functions which it implements
16691 to always fail with ENOSYS. Some functions are actually named
16692 something starting with __ and the normal name is an alias. */
16693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16701 if { (eval echo configure:16702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16703 eval "ac_cv_func_
$ac_func=yes"
16705 echo "configure
: failed program was
:" >&5
16706 cat conftest.$ac_ext >&5
16708 eval "ac_cv_func_
$ac_func=no
"
16713 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16714 echo "$ac_t""yes" 1>&6
16715 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16716 cat >> confdefs.h <<EOF
16717 #define $ac_tr_func 1
16721 echo "$ac_t""no
" 1>&6
16730 echo $ac_n "checking
for isinfl declaration
""...
$ac_c" 1>&6
16731 echo "configure
:16732: checking
for isinfl declaration
" >&5
16732 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
16733 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
16734 echo $ac_n "(cached
) $ac_c" 1>&6
16739 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16740 ac_cpp='$CXXCPP $CPPFLAGS'
16741 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16742 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16743 cross_compiling=$ac_cv_prog_cxx_cross
16745 cat > conftest.$ac_ext <<EOF
16746 #line 16747 "configure
"
16747 #include "confdefs.h
"
16749 #ifdef HAVE_IEEEFP_H
16750 #include <ieeefp.h>
16757 if { (eval echo configure:16758: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16759 glibcpp_cv_func_isinfl_use=yes
16761 echo "configure
: failed program was
:" >&5
16762 cat conftest.$ac_ext >&5
16764 glibcpp_cv_func_isinfl_use=no
16768 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16769 ac_cpp='$CPP $CPPFLAGS'
16770 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16771 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16772 cross_compiling=$ac_cv_prog_cc_cross
16778 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
16780 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
16781 for ac_func in isinfl
16783 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16784 echo "configure
:16785: checking
for $ac_func" >&5
16785 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16786 echo $ac_n "(cached
) $ac_c" 1>&6
16788 cat > conftest.$ac_ext <<EOF
16789 #line 16790 "configure
"
16790 #include "confdefs.h
"
16791 /* System header to define __stub macros and hopefully few prototypes,
16792 which can conflict with char $ac_func(); below. */
16793 #include <assert.h>
16794 /* Override any gcc2 internal prototype to avoid an error. */
16795 /* We use char because int might match the return type of a gcc2
16796 builtin and then its argument prototype would still apply. */
16801 /* The GNU C library defines this for functions which it implements
16802 to always fail with ENOSYS. Some functions are actually named
16803 something starting with __ and the normal name is an alias. */
16804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16812 if { (eval echo configure:16813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16814 eval "ac_cv_func_
$ac_func=yes"
16816 echo "configure
: failed program was
:" >&5
16817 cat conftest.$ac_ext >&5
16819 eval "ac_cv_func_
$ac_func=no
"
16824 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16825 echo "$ac_t""yes" 1>&6
16826 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16827 cat >> confdefs.h <<EOF
16828 #define $ac_tr_func 1
16832 echo "$ac_t""no
" 1>&6
16838 echo $ac_n "checking
for _isinfl declaration
""...
$ac_c" 1>&6
16839 echo "configure
:16840: checking
for _isinfl declaration
" >&5
16840 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
16841 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
16842 echo $ac_n "(cached
) $ac_c" 1>&6
16847 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16848 ac_cpp='$CXXCPP $CPPFLAGS'
16849 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16850 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16851 cross_compiling=$ac_cv_prog_cxx_cross
16853 cat > conftest.$ac_ext <<EOF
16854 #line 16855 "configure
"
16855 #include "confdefs.h
"
16857 #ifdef HAVE_IEEEFP_H
16858 #include <ieeefp.h>
16865 if { (eval echo configure:16866: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16867 glibcpp_cv_func__isinfl_use=yes
16869 echo "configure
: failed program was
:" >&5
16870 cat conftest.$ac_ext >&5
16872 glibcpp_cv_func__isinfl_use=no
16876 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16877 ac_cpp='$CPP $CPPFLAGS'
16878 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16879 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16880 cross_compiling=$ac_cv_prog_cc_cross
16886 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
16888 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
16889 for ac_func in _isinfl
16891 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16892 echo "configure
:16893: checking
for $ac_func" >&5
16893 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16894 echo $ac_n "(cached
) $ac_c" 1>&6
16896 cat > conftest.$ac_ext <<EOF
16897 #line 16898 "configure
"
16898 #include "confdefs.h
"
16899 /* System header to define __stub macros and hopefully few prototypes,
16900 which can conflict with char $ac_func(); below. */
16901 #include <assert.h>
16902 /* Override any gcc2 internal prototype to avoid an error. */
16903 /* We use char because int might match the return type of a gcc2
16904 builtin and then its argument prototype would still apply. */
16909 /* The GNU C library defines this for functions which it implements
16910 to always fail with ENOSYS. Some functions are actually named
16911 something starting with __ and the normal name is an alias. */
16912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16920 if { (eval echo configure:16921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16922 eval "ac_cv_func_
$ac_func=yes"
16924 echo "configure
: failed program was
:" >&5
16925 cat conftest.$ac_ext >&5
16927 eval "ac_cv_func_
$ac_func=no
"
16932 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16933 echo "$ac_t""yes" 1>&6
16934 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16935 cat >> confdefs.h <<EOF
16936 #define $ac_tr_func 1
16940 echo "$ac_t""no
" 1>&6
16949 echo $ac_n "checking
for copysignl declaration
""...
$ac_c" 1>&6
16950 echo "configure
:16951: checking
for copysignl declaration
" >&5
16951 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
16952 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
16953 echo $ac_n "(cached
) $ac_c" 1>&6
16958 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16959 ac_cpp='$CXXCPP $CPPFLAGS'
16960 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16961 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16962 cross_compiling=$ac_cv_prog_cxx_cross
16964 cat > conftest.$ac_ext <<EOF
16965 #line 16966 "configure
"
16966 #include "confdefs.h
"
16972 if { (eval echo configure:16973: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16974 glibcpp_cv_func_copysignl_use=yes
16976 echo "configure
: failed program was
:" >&5
16977 cat conftest.$ac_ext >&5
16979 glibcpp_cv_func_copysignl_use=no
16983 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16984 ac_cpp='$CPP $CPPFLAGS'
16985 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16986 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16987 cross_compiling=$ac_cv_prog_cc_cross
16993 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
16995 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
16996 for ac_func in copysignl
16998 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16999 echo "configure
:17000: checking
for $ac_func" >&5
17000 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17001 echo $ac_n "(cached
) $ac_c" 1>&6
17003 cat > conftest.$ac_ext <<EOF
17004 #line 17005 "configure
"
17005 #include "confdefs.h
"
17006 /* System header to define __stub macros and hopefully few prototypes,
17007 which can conflict with char $ac_func(); below. */
17008 #include <assert.h>
17009 /* Override any gcc2 internal prototype to avoid an error. */
17010 /* We use char because int might match the return type of a gcc2
17011 builtin and then its argument prototype would still apply. */
17016 /* The GNU C library defines this for functions which it implements
17017 to always fail with ENOSYS. Some functions are actually named
17018 something starting with __ and the normal name is an alias. */
17019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17027 if { (eval echo configure:17028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17029 eval "ac_cv_func_
$ac_func=yes"
17031 echo "configure
: failed program was
:" >&5
17032 cat conftest.$ac_ext >&5
17034 eval "ac_cv_func_
$ac_func=no
"
17039 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17040 echo "$ac_t""yes" 1>&6
17041 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17042 cat >> confdefs.h <<EOF
17043 #define $ac_tr_func 1
17047 echo "$ac_t""no
" 1>&6
17053 echo $ac_n "checking
for _copysignl declaration
""...
$ac_c" 1>&6
17054 echo "configure
:17055: checking
for _copysignl declaration
" >&5
17055 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
17056 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
17057 echo $ac_n "(cached
) $ac_c" 1>&6
17062 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17063 ac_cpp='$CXXCPP $CPPFLAGS'
17064 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17065 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17066 cross_compiling=$ac_cv_prog_cxx_cross
17068 cat > conftest.$ac_ext <<EOF
17069 #line 17070 "configure
"
17070 #include "confdefs.h
"
17076 if { (eval echo configure:17077: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17078 glibcpp_cv_func__copysignl_use=yes
17080 echo "configure
: failed program was
:" >&5
17081 cat conftest.$ac_ext >&5
17083 glibcpp_cv_func__copysignl_use=no
17087 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17088 ac_cpp='$CPP $CPPFLAGS'
17089 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17090 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17091 cross_compiling=$ac_cv_prog_cc_cross
17097 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
17099 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
17100 for ac_func in _copysignl
17102 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17103 echo "configure
:17104: checking
for $ac_func" >&5
17104 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17105 echo $ac_n "(cached
) $ac_c" 1>&6
17107 cat > conftest.$ac_ext <<EOF
17108 #line 17109 "configure
"
17109 #include "confdefs.h
"
17110 /* System header to define __stub macros and hopefully few prototypes,
17111 which can conflict with char $ac_func(); below. */
17112 #include <assert.h>
17113 /* Override any gcc2 internal prototype to avoid an error. */
17114 /* We use char because int might match the return type of a gcc2
17115 builtin and then its argument prototype would still apply. */
17120 /* The GNU C library defines this for functions which it implements
17121 to always fail with ENOSYS. Some functions are actually named
17122 something starting with __ and the normal name is an alias. */
17123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17131 if { (eval echo configure:17132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17133 eval "ac_cv_func_
$ac_func=yes"
17135 echo "configure
: failed program was
:" >&5
17136 cat conftest.$ac_ext >&5
17138 eval "ac_cv_func_
$ac_func=no
"
17143 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17144 echo "$ac_t""yes" 1>&6
17145 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17146 cat >> confdefs.h <<EOF
17147 #define $ac_tr_func 1
17151 echo "$ac_t""no
" 1>&6
17160 echo $ac_n "checking
for atan2l declaration
""...
$ac_c" 1>&6
17161 echo "configure
:17162: checking
for atan2l declaration
" >&5
17162 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
17163 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
17164 echo $ac_n "(cached
) $ac_c" 1>&6
17169 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17170 ac_cpp='$CXXCPP $CPPFLAGS'
17171 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17172 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17173 cross_compiling=$ac_cv_prog_cxx_cross
17175 cat > conftest.$ac_ext <<EOF
17176 #line 17177 "configure
"
17177 #include "confdefs.h
"
17183 if { (eval echo configure:17184: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17185 glibcpp_cv_func_atan2l_use=yes
17187 echo "configure
: failed program was
:" >&5
17188 cat conftest.$ac_ext >&5
17190 glibcpp_cv_func_atan2l_use=no
17194 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17195 ac_cpp='$CPP $CPPFLAGS'
17196 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17197 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17198 cross_compiling=$ac_cv_prog_cc_cross
17204 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
17206 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
17207 for ac_func in atan2l
17209 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17210 echo "configure
:17211: checking
for $ac_func" >&5
17211 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17212 echo $ac_n "(cached
) $ac_c" 1>&6
17214 cat > conftest.$ac_ext <<EOF
17215 #line 17216 "configure
"
17216 #include "confdefs.h
"
17217 /* System header to define __stub macros and hopefully few prototypes,
17218 which can conflict with char $ac_func(); below. */
17219 #include <assert.h>
17220 /* Override any gcc2 internal prototype to avoid an error. */
17221 /* We use char because int might match the return type of a gcc2
17222 builtin and then its argument prototype would still apply. */
17227 /* The GNU C library defines this for functions which it implements
17228 to always fail with ENOSYS. Some functions are actually named
17229 something starting with __ and the normal name is an alias. */
17230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17238 if { (eval echo configure:17239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17240 eval "ac_cv_func_
$ac_func=yes"
17242 echo "configure
: failed program was
:" >&5
17243 cat conftest.$ac_ext >&5
17245 eval "ac_cv_func_
$ac_func=no
"
17250 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17251 echo "$ac_t""yes" 1>&6
17252 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17253 cat >> confdefs.h <<EOF
17254 #define $ac_tr_func 1
17258 echo "$ac_t""no
" 1>&6
17264 echo $ac_n "checking
for _atan2l declaration
""...
$ac_c" 1>&6
17265 echo "configure
:17266: checking
for _atan2l declaration
" >&5
17266 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
17267 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
17268 echo $ac_n "(cached
) $ac_c" 1>&6
17273 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17274 ac_cpp='$CXXCPP $CPPFLAGS'
17275 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17276 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17277 cross_compiling=$ac_cv_prog_cxx_cross
17279 cat > conftest.$ac_ext <<EOF
17280 #line 17281 "configure
"
17281 #include "confdefs.h
"
17287 if { (eval echo configure:17288: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17289 glibcpp_cv_func__atan2l_use=yes
17291 echo "configure
: failed program was
:" >&5
17292 cat conftest.$ac_ext >&5
17294 glibcpp_cv_func__atan2l_use=no
17298 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17299 ac_cpp='$CPP $CPPFLAGS'
17300 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17301 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17302 cross_compiling=$ac_cv_prog_cc_cross
17308 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
17310 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
17311 for ac_func in _atan2l
17313 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17314 echo "configure
:17315: checking
for $ac_func" >&5
17315 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17316 echo $ac_n "(cached
) $ac_c" 1>&6
17318 cat > conftest.$ac_ext <<EOF
17319 #line 17320 "configure
"
17320 #include "confdefs.h
"
17321 /* System header to define __stub macros and hopefully few prototypes,
17322 which can conflict with char $ac_func(); below. */
17323 #include <assert.h>
17324 /* Override any gcc2 internal prototype to avoid an error. */
17325 /* We use char because int might match the return type of a gcc2
17326 builtin and then its argument prototype would still apply. */
17331 /* The GNU C library defines this for functions which it implements
17332 to always fail with ENOSYS. Some functions are actually named
17333 something starting with __ and the normal name is an alias. */
17334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17342 if { (eval echo configure:17343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17344 eval "ac_cv_func_
$ac_func=yes"
17346 echo "configure
: failed program was
:" >&5
17347 cat conftest.$ac_ext >&5
17349 eval "ac_cv_func_
$ac_func=no
"
17354 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17355 echo "$ac_t""yes" 1>&6
17356 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17357 cat >> confdefs.h <<EOF
17358 #define $ac_tr_func 1
17362 echo "$ac_t""no
" 1>&6
17371 echo $ac_n "checking
for expl declaration
""...
$ac_c" 1>&6
17372 echo "configure
:17373: checking
for expl declaration
" >&5
17373 if test x${glibcpp_cv_func_expl_use+set} != xset; then
17374 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
17375 echo $ac_n "(cached
) $ac_c" 1>&6
17380 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17381 ac_cpp='$CXXCPP $CPPFLAGS'
17382 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17383 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17384 cross_compiling=$ac_cv_prog_cxx_cross
17386 cat > conftest.$ac_ext <<EOF
17387 #line 17388 "configure
"
17388 #include "confdefs.h
"
17390 #ifdef HAVE_IEEEFP_H
17391 #include <ieeefp.h>
17398 if { (eval echo configure:17399: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17400 glibcpp_cv_func_expl_use=yes
17402 echo "configure
: failed program was
:" >&5
17403 cat conftest.$ac_ext >&5
17405 glibcpp_cv_func_expl_use=no
17409 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17410 ac_cpp='$CPP $CPPFLAGS'
17411 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17412 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17413 cross_compiling=$ac_cv_prog_cc_cross
17419 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
17421 if test x$glibcpp_cv_func_expl_use = x"yes"; then
17422 for ac_func in expl
17424 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17425 echo "configure
:17426: checking
for $ac_func" >&5
17426 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17427 echo $ac_n "(cached
) $ac_c" 1>&6
17429 cat > conftest.$ac_ext <<EOF
17430 #line 17431 "configure
"
17431 #include "confdefs.h
"
17432 /* System header to define __stub macros and hopefully few prototypes,
17433 which can conflict with char $ac_func(); below. */
17434 #include <assert.h>
17435 /* Override any gcc2 internal prototype to avoid an error. */
17436 /* We use char because int might match the return type of a gcc2
17437 builtin and then its argument prototype would still apply. */
17442 /* The GNU C library defines this for functions which it implements
17443 to always fail with ENOSYS. Some functions are actually named
17444 something starting with __ and the normal name is an alias. */
17445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17453 if { (eval echo configure:17454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17455 eval "ac_cv_func_
$ac_func=yes"
17457 echo "configure
: failed program was
:" >&5
17458 cat conftest.$ac_ext >&5
17460 eval "ac_cv_func_
$ac_func=no
"
17465 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17466 echo "$ac_t""yes" 1>&6
17467 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17468 cat >> confdefs.h <<EOF
17469 #define $ac_tr_func 1
17473 echo "$ac_t""no
" 1>&6
17479 echo $ac_n "checking
for _expl declaration
""...
$ac_c" 1>&6
17480 echo "configure
:17481: checking
for _expl declaration
" >&5
17481 if test x${glibcpp_cv_func__expl_use+set} != xset; then
17482 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
17483 echo $ac_n "(cached
) $ac_c" 1>&6
17488 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17489 ac_cpp='$CXXCPP $CPPFLAGS'
17490 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17491 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17492 cross_compiling=$ac_cv_prog_cxx_cross
17494 cat > conftest.$ac_ext <<EOF
17495 #line 17496 "configure
"
17496 #include "confdefs.h
"
17498 #ifdef HAVE_IEEEFP_H
17499 #include <ieeefp.h>
17506 if { (eval echo configure:17507: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17508 glibcpp_cv_func__expl_use=yes
17510 echo "configure
: failed program was
:" >&5
17511 cat conftest.$ac_ext >&5
17513 glibcpp_cv_func__expl_use=no
17517 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17518 ac_cpp='$CPP $CPPFLAGS'
17519 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17520 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17521 cross_compiling=$ac_cv_prog_cc_cross
17527 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
17529 if test x$glibcpp_cv_func__expl_use = x"yes"; then
17530 for ac_func in _expl
17532 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17533 echo "configure
:17534: checking
for $ac_func" >&5
17534 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17535 echo $ac_n "(cached
) $ac_c" 1>&6
17537 cat > conftest.$ac_ext <<EOF
17538 #line 17539 "configure
"
17539 #include "confdefs.h
"
17540 /* System header to define __stub macros and hopefully few prototypes,
17541 which can conflict with char $ac_func(); below. */
17542 #include <assert.h>
17543 /* Override any gcc2 internal prototype to avoid an error. */
17544 /* We use char because int might match the return type of a gcc2
17545 builtin and then its argument prototype would still apply. */
17550 /* The GNU C library defines this for functions which it implements
17551 to always fail with ENOSYS. Some functions are actually named
17552 something starting with __ and the normal name is an alias. */
17553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17561 if { (eval echo configure:17562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17563 eval "ac_cv_func_
$ac_func=yes"
17565 echo "configure
: failed program was
:" >&5
17566 cat conftest.$ac_ext >&5
17568 eval "ac_cv_func_
$ac_func=no
"
17573 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17574 echo "$ac_t""yes" 1>&6
17575 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17576 cat >> confdefs.h <<EOF
17577 #define $ac_tr_func 1
17581 echo "$ac_t""no
" 1>&6
17590 echo $ac_n "checking
for fabsl declaration
""...
$ac_c" 1>&6
17591 echo "configure
:17592: checking
for fabsl declaration
" >&5
17592 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
17593 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
17594 echo $ac_n "(cached
) $ac_c" 1>&6
17599 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17600 ac_cpp='$CXXCPP $CPPFLAGS'
17601 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17602 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17603 cross_compiling=$ac_cv_prog_cxx_cross
17605 cat > conftest.$ac_ext <<EOF
17606 #line 17607 "configure
"
17607 #include "confdefs.h
"
17609 #ifdef HAVE_IEEEFP_H
17610 #include <ieeefp.h>
17617 if { (eval echo configure:17618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17619 glibcpp_cv_func_fabsl_use=yes
17621 echo "configure
: failed program was
:" >&5
17622 cat conftest.$ac_ext >&5
17624 glibcpp_cv_func_fabsl_use=no
17628 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17629 ac_cpp='$CPP $CPPFLAGS'
17630 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17631 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17632 cross_compiling=$ac_cv_prog_cc_cross
17638 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
17640 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
17641 for ac_func in fabsl
17643 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17644 echo "configure
:17645: checking
for $ac_func" >&5
17645 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17646 echo $ac_n "(cached
) $ac_c" 1>&6
17648 cat > conftest.$ac_ext <<EOF
17649 #line 17650 "configure
"
17650 #include "confdefs.h
"
17651 /* System header to define __stub macros and hopefully few prototypes,
17652 which can conflict with char $ac_func(); below. */
17653 #include <assert.h>
17654 /* Override any gcc2 internal prototype to avoid an error. */
17655 /* We use char because int might match the return type of a gcc2
17656 builtin and then its argument prototype would still apply. */
17661 /* The GNU C library defines this for functions which it implements
17662 to always fail with ENOSYS. Some functions are actually named
17663 something starting with __ and the normal name is an alias. */
17664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17672 if { (eval echo configure:17673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17674 eval "ac_cv_func_
$ac_func=yes"
17676 echo "configure
: failed program was
:" >&5
17677 cat conftest.$ac_ext >&5
17679 eval "ac_cv_func_
$ac_func=no
"
17684 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17685 echo "$ac_t""yes" 1>&6
17686 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17687 cat >> confdefs.h <<EOF
17688 #define $ac_tr_func 1
17692 echo "$ac_t""no
" 1>&6
17698 echo $ac_n "checking
for _fabsl declaration
""...
$ac_c" 1>&6
17699 echo "configure
:17700: checking
for _fabsl declaration
" >&5
17700 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
17701 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
17702 echo $ac_n "(cached
) $ac_c" 1>&6
17707 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17708 ac_cpp='$CXXCPP $CPPFLAGS'
17709 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17710 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17711 cross_compiling=$ac_cv_prog_cxx_cross
17713 cat > conftest.$ac_ext <<EOF
17714 #line 17715 "configure
"
17715 #include "confdefs.h
"
17717 #ifdef HAVE_IEEEFP_H
17718 #include <ieeefp.h>
17725 if { (eval echo configure:17726: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17727 glibcpp_cv_func__fabsl_use=yes
17729 echo "configure
: failed program was
:" >&5
17730 cat conftest.$ac_ext >&5
17732 glibcpp_cv_func__fabsl_use=no
17736 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17737 ac_cpp='$CPP $CPPFLAGS'
17738 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17739 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17740 cross_compiling=$ac_cv_prog_cc_cross
17746 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
17748 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
17749 for ac_func in _fabsl
17751 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17752 echo "configure
:17753: checking
for $ac_func" >&5
17753 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17754 echo $ac_n "(cached
) $ac_c" 1>&6
17756 cat > conftest.$ac_ext <<EOF
17757 #line 17758 "configure
"
17758 #include "confdefs.h
"
17759 /* System header to define __stub macros and hopefully few prototypes,
17760 which can conflict with char $ac_func(); below. */
17761 #include <assert.h>
17762 /* Override any gcc2 internal prototype to avoid an error. */
17763 /* We use char because int might match the return type of a gcc2
17764 builtin and then its argument prototype would still apply. */
17769 /* The GNU C library defines this for functions which it implements
17770 to always fail with ENOSYS. Some functions are actually named
17771 something starting with __ and the normal name is an alias. */
17772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17780 if { (eval echo configure:17781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17782 eval "ac_cv_func_
$ac_func=yes"
17784 echo "configure
: failed program was
:" >&5
17785 cat conftest.$ac_ext >&5
17787 eval "ac_cv_func_
$ac_func=no
"
17792 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17793 echo "$ac_t""yes" 1>&6
17794 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17795 cat >> confdefs.h <<EOF
17796 #define $ac_tr_func 1
17800 echo "$ac_t""no
" 1>&6
17809 echo $ac_n "checking
for fmodl declaration
""...
$ac_c" 1>&6
17810 echo "configure
:17811: checking
for fmodl declaration
" >&5
17811 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
17812 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
17813 echo $ac_n "(cached
) $ac_c" 1>&6
17818 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17819 ac_cpp='$CXXCPP $CPPFLAGS'
17820 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17821 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17822 cross_compiling=$ac_cv_prog_cxx_cross
17824 cat > conftest.$ac_ext <<EOF
17825 #line 17826 "configure
"
17826 #include "confdefs.h
"
17832 if { (eval echo configure:17833: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17834 glibcpp_cv_func_fmodl_use=yes
17836 echo "configure
: failed program was
:" >&5
17837 cat conftest.$ac_ext >&5
17839 glibcpp_cv_func_fmodl_use=no
17843 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17844 ac_cpp='$CPP $CPPFLAGS'
17845 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17846 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17847 cross_compiling=$ac_cv_prog_cc_cross
17853 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
17855 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
17856 for ac_func in fmodl
17858 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17859 echo "configure
:17860: checking
for $ac_func" >&5
17860 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17861 echo $ac_n "(cached
) $ac_c" 1>&6
17863 cat > conftest.$ac_ext <<EOF
17864 #line 17865 "configure
"
17865 #include "confdefs.h
"
17866 /* System header to define __stub macros and hopefully few prototypes,
17867 which can conflict with char $ac_func(); below. */
17868 #include <assert.h>
17869 /* Override any gcc2 internal prototype to avoid an error. */
17870 /* We use char because int might match the return type of a gcc2
17871 builtin and then its argument prototype would still apply. */
17876 /* The GNU C library defines this for functions which it implements
17877 to always fail with ENOSYS. Some functions are actually named
17878 something starting with __ and the normal name is an alias. */
17879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17887 if { (eval echo configure:17888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17889 eval "ac_cv_func_
$ac_func=yes"
17891 echo "configure
: failed program was
:" >&5
17892 cat conftest.$ac_ext >&5
17894 eval "ac_cv_func_
$ac_func=no
"
17899 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17900 echo "$ac_t""yes" 1>&6
17901 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17902 cat >> confdefs.h <<EOF
17903 #define $ac_tr_func 1
17907 echo "$ac_t""no
" 1>&6
17913 echo $ac_n "checking
for _fmodl declaration
""...
$ac_c" 1>&6
17914 echo "configure
:17915: checking
for _fmodl declaration
" >&5
17915 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
17916 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
17917 echo $ac_n "(cached
) $ac_c" 1>&6
17922 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17923 ac_cpp='$CXXCPP $CPPFLAGS'
17924 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17925 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17926 cross_compiling=$ac_cv_prog_cxx_cross
17928 cat > conftest.$ac_ext <<EOF
17929 #line 17930 "configure
"
17930 #include "confdefs.h
"
17936 if { (eval echo configure:17937: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17938 glibcpp_cv_func__fmodl_use=yes
17940 echo "configure
: failed program was
:" >&5
17941 cat conftest.$ac_ext >&5
17943 glibcpp_cv_func__fmodl_use=no
17947 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17948 ac_cpp='$CPP $CPPFLAGS'
17949 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17950 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17951 cross_compiling=$ac_cv_prog_cc_cross
17957 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
17959 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
17960 for ac_func in _fmodl
17962 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17963 echo "configure
:17964: checking
for $ac_func" >&5
17964 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17965 echo $ac_n "(cached
) $ac_c" 1>&6
17967 cat > conftest.$ac_ext <<EOF
17968 #line 17969 "configure
"
17969 #include "confdefs.h
"
17970 /* System header to define __stub macros and hopefully few prototypes,
17971 which can conflict with char $ac_func(); below. */
17972 #include <assert.h>
17973 /* Override any gcc2 internal prototype to avoid an error. */
17974 /* We use char because int might match the return type of a gcc2
17975 builtin and then its argument prototype would still apply. */
17980 /* The GNU C library defines this for functions which it implements
17981 to always fail with ENOSYS. Some functions are actually named
17982 something starting with __ and the normal name is an alias. */
17983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17991 if { (eval echo configure:17992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17993 eval "ac_cv_func_
$ac_func=yes"
17995 echo "configure
: failed program was
:" >&5
17996 cat conftest.$ac_ext >&5
17998 eval "ac_cv_func_
$ac_func=no
"
18003 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18004 echo "$ac_t""yes" 1>&6
18005 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18006 cat >> confdefs.h <<EOF
18007 #define $ac_tr_func 1
18011 echo "$ac_t""no
" 1>&6
18020 echo $ac_n "checking
for frexpl declaration
""...
$ac_c" 1>&6
18021 echo "configure
:18022: checking
for frexpl declaration
" >&5
18022 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
18023 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
18024 echo $ac_n "(cached
) $ac_c" 1>&6
18029 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18030 ac_cpp='$CXXCPP $CPPFLAGS'
18031 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18032 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18033 cross_compiling=$ac_cv_prog_cxx_cross
18035 cat > conftest.$ac_ext <<EOF
18036 #line 18037 "configure
"
18037 #include "confdefs.h
"
18043 if { (eval echo configure:18044: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18045 glibcpp_cv_func_frexpl_use=yes
18047 echo "configure
: failed program was
:" >&5
18048 cat conftest.$ac_ext >&5
18050 glibcpp_cv_func_frexpl_use=no
18054 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18055 ac_cpp='$CPP $CPPFLAGS'
18056 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18057 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18058 cross_compiling=$ac_cv_prog_cc_cross
18064 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
18066 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
18067 for ac_func in frexpl
18069 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18070 echo "configure
:18071: checking
for $ac_func" >&5
18071 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18072 echo $ac_n "(cached
) $ac_c" 1>&6
18074 cat > conftest.$ac_ext <<EOF
18075 #line 18076 "configure
"
18076 #include "confdefs.h
"
18077 /* System header to define __stub macros and hopefully few prototypes,
18078 which can conflict with char $ac_func(); below. */
18079 #include <assert.h>
18080 /* Override any gcc2 internal prototype to avoid an error. */
18081 /* We use char because int might match the return type of a gcc2
18082 builtin and then its argument prototype would still apply. */
18087 /* The GNU C library defines this for functions which it implements
18088 to always fail with ENOSYS. Some functions are actually named
18089 something starting with __ and the normal name is an alias. */
18090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18098 if { (eval echo configure:18099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18100 eval "ac_cv_func_
$ac_func=yes"
18102 echo "configure
: failed program was
:" >&5
18103 cat conftest.$ac_ext >&5
18105 eval "ac_cv_func_
$ac_func=no
"
18110 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18111 echo "$ac_t""yes" 1>&6
18112 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18113 cat >> confdefs.h <<EOF
18114 #define $ac_tr_func 1
18118 echo "$ac_t""no
" 1>&6
18124 echo $ac_n "checking
for _frexpl declaration
""...
$ac_c" 1>&6
18125 echo "configure
:18126: checking
for _frexpl declaration
" >&5
18126 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
18127 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
18128 echo $ac_n "(cached
) $ac_c" 1>&6
18133 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18134 ac_cpp='$CXXCPP $CPPFLAGS'
18135 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18136 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18137 cross_compiling=$ac_cv_prog_cxx_cross
18139 cat > conftest.$ac_ext <<EOF
18140 #line 18141 "configure
"
18141 #include "confdefs.h
"
18147 if { (eval echo configure:18148: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18149 glibcpp_cv_func__frexpl_use=yes
18151 echo "configure
: failed program was
:" >&5
18152 cat conftest.$ac_ext >&5
18154 glibcpp_cv_func__frexpl_use=no
18158 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18159 ac_cpp='$CPP $CPPFLAGS'
18160 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18161 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18162 cross_compiling=$ac_cv_prog_cc_cross
18168 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
18170 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
18171 for ac_func in _frexpl
18173 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18174 echo "configure
:18175: checking
for $ac_func" >&5
18175 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18176 echo $ac_n "(cached
) $ac_c" 1>&6
18178 cat > conftest.$ac_ext <<EOF
18179 #line 18180 "configure
"
18180 #include "confdefs.h
"
18181 /* System header to define __stub macros and hopefully few prototypes,
18182 which can conflict with char $ac_func(); below. */
18183 #include <assert.h>
18184 /* Override any gcc2 internal prototype to avoid an error. */
18185 /* We use char because int might match the return type of a gcc2
18186 builtin and then its argument prototype would still apply. */
18191 /* The GNU C library defines this for functions which it implements
18192 to always fail with ENOSYS. Some functions are actually named
18193 something starting with __ and the normal name is an alias. */
18194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18202 if { (eval echo configure:18203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18204 eval "ac_cv_func_
$ac_func=yes"
18206 echo "configure
: failed program was
:" >&5
18207 cat conftest.$ac_ext >&5
18209 eval "ac_cv_func_
$ac_func=no
"
18214 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18215 echo "$ac_t""yes" 1>&6
18216 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18217 cat >> confdefs.h <<EOF
18218 #define $ac_tr_func 1
18222 echo "$ac_t""no
" 1>&6
18231 echo $ac_n "checking
for hypotl declaration
""...
$ac_c" 1>&6
18232 echo "configure
:18233: checking
for hypotl declaration
" >&5
18233 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
18234 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
18235 echo $ac_n "(cached
) $ac_c" 1>&6
18240 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18241 ac_cpp='$CXXCPP $CPPFLAGS'
18242 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18243 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18244 cross_compiling=$ac_cv_prog_cxx_cross
18246 cat > conftest.$ac_ext <<EOF
18247 #line 18248 "configure
"
18248 #include "confdefs.h
"
18254 if { (eval echo configure:18255: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18256 glibcpp_cv_func_hypotl_use=yes
18258 echo "configure
: failed program was
:" >&5
18259 cat conftest.$ac_ext >&5
18261 glibcpp_cv_func_hypotl_use=no
18265 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18266 ac_cpp='$CPP $CPPFLAGS'
18267 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18268 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18269 cross_compiling=$ac_cv_prog_cc_cross
18275 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
18277 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
18278 for ac_func in hypotl
18280 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18281 echo "configure
:18282: checking
for $ac_func" >&5
18282 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18283 echo $ac_n "(cached
) $ac_c" 1>&6
18285 cat > conftest.$ac_ext <<EOF
18286 #line 18287 "configure
"
18287 #include "confdefs.h
"
18288 /* System header to define __stub macros and hopefully few prototypes,
18289 which can conflict with char $ac_func(); below. */
18290 #include <assert.h>
18291 /* Override any gcc2 internal prototype to avoid an error. */
18292 /* We use char because int might match the return type of a gcc2
18293 builtin and then its argument prototype would still apply. */
18298 /* The GNU C library defines this for functions which it implements
18299 to always fail with ENOSYS. Some functions are actually named
18300 something starting with __ and the normal name is an alias. */
18301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18309 if { (eval echo configure:18310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18311 eval "ac_cv_func_
$ac_func=yes"
18313 echo "configure
: failed program was
:" >&5
18314 cat conftest.$ac_ext >&5
18316 eval "ac_cv_func_
$ac_func=no
"
18321 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18322 echo "$ac_t""yes" 1>&6
18323 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18324 cat >> confdefs.h <<EOF
18325 #define $ac_tr_func 1
18329 echo "$ac_t""no
" 1>&6
18335 echo $ac_n "checking
for _hypotl declaration
""...
$ac_c" 1>&6
18336 echo "configure
:18337: checking
for _hypotl declaration
" >&5
18337 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
18338 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
18339 echo $ac_n "(cached
) $ac_c" 1>&6
18344 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18345 ac_cpp='$CXXCPP $CPPFLAGS'
18346 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18347 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18348 cross_compiling=$ac_cv_prog_cxx_cross
18350 cat > conftest.$ac_ext <<EOF
18351 #line 18352 "configure
"
18352 #include "confdefs.h
"
18358 if { (eval echo configure:18359: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18360 glibcpp_cv_func__hypotl_use=yes
18362 echo "configure
: failed program was
:" >&5
18363 cat conftest.$ac_ext >&5
18365 glibcpp_cv_func__hypotl_use=no
18369 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18370 ac_cpp='$CPP $CPPFLAGS'
18371 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18372 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18373 cross_compiling=$ac_cv_prog_cc_cross
18379 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
18381 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
18382 for ac_func in _hypotl
18384 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18385 echo "configure
:18386: checking
for $ac_func" >&5
18386 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18387 echo $ac_n "(cached
) $ac_c" 1>&6
18389 cat > conftest.$ac_ext <<EOF
18390 #line 18391 "configure
"
18391 #include "confdefs.h
"
18392 /* System header to define __stub macros and hopefully few prototypes,
18393 which can conflict with char $ac_func(); below. */
18394 #include <assert.h>
18395 /* Override any gcc2 internal prototype to avoid an error. */
18396 /* We use char because int might match the return type of a gcc2
18397 builtin and then its argument prototype would still apply. */
18402 /* The GNU C library defines this for functions which it implements
18403 to always fail with ENOSYS. Some functions are actually named
18404 something starting with __ and the normal name is an alias. */
18405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18413 if { (eval echo configure:18414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18415 eval "ac_cv_func_
$ac_func=yes"
18417 echo "configure
: failed program was
:" >&5
18418 cat conftest.$ac_ext >&5
18420 eval "ac_cv_func_
$ac_func=no
"
18425 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18426 echo "$ac_t""yes" 1>&6
18427 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18428 cat >> confdefs.h <<EOF
18429 #define $ac_tr_func 1
18433 echo "$ac_t""no
" 1>&6
18442 echo $ac_n "checking
for ldexpl declaration
""...
$ac_c" 1>&6
18443 echo "configure
:18444: checking
for ldexpl declaration
" >&5
18444 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
18445 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
18446 echo $ac_n "(cached
) $ac_c" 1>&6
18451 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18452 ac_cpp='$CXXCPP $CPPFLAGS'
18453 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18454 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18455 cross_compiling=$ac_cv_prog_cxx_cross
18457 cat > conftest.$ac_ext <<EOF
18458 #line 18459 "configure
"
18459 #include "confdefs.h
"
18465 if { (eval echo configure:18466: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18467 glibcpp_cv_func_ldexpl_use=yes
18469 echo "configure
: failed program was
:" >&5
18470 cat conftest.$ac_ext >&5
18472 glibcpp_cv_func_ldexpl_use=no
18476 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18477 ac_cpp='$CPP $CPPFLAGS'
18478 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18479 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18480 cross_compiling=$ac_cv_prog_cc_cross
18486 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
18488 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
18489 for ac_func in ldexpl
18491 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18492 echo "configure
:18493: checking
for $ac_func" >&5
18493 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18494 echo $ac_n "(cached
) $ac_c" 1>&6
18496 cat > conftest.$ac_ext <<EOF
18497 #line 18498 "configure
"
18498 #include "confdefs.h
"
18499 /* System header to define __stub macros and hopefully few prototypes,
18500 which can conflict with char $ac_func(); below. */
18501 #include <assert.h>
18502 /* Override any gcc2 internal prototype to avoid an error. */
18503 /* We use char because int might match the return type of a gcc2
18504 builtin and then its argument prototype would still apply. */
18509 /* The GNU C library defines this for functions which it implements
18510 to always fail with ENOSYS. Some functions are actually named
18511 something starting with __ and the normal name is an alias. */
18512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18520 if { (eval echo configure:18521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18522 eval "ac_cv_func_
$ac_func=yes"
18524 echo "configure
: failed program was
:" >&5
18525 cat conftest.$ac_ext >&5
18527 eval "ac_cv_func_
$ac_func=no
"
18532 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18533 echo "$ac_t""yes" 1>&6
18534 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18535 cat >> confdefs.h <<EOF
18536 #define $ac_tr_func 1
18540 echo "$ac_t""no
" 1>&6
18546 echo $ac_n "checking
for _ldexpl declaration
""...
$ac_c" 1>&6
18547 echo "configure
:18548: checking
for _ldexpl declaration
" >&5
18548 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
18549 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
18550 echo $ac_n "(cached
) $ac_c" 1>&6
18555 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18556 ac_cpp='$CXXCPP $CPPFLAGS'
18557 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18558 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18559 cross_compiling=$ac_cv_prog_cxx_cross
18561 cat > conftest.$ac_ext <<EOF
18562 #line 18563 "configure
"
18563 #include "confdefs.h
"
18569 if { (eval echo configure:18570: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18571 glibcpp_cv_func__ldexpl_use=yes
18573 echo "configure
: failed program was
:" >&5
18574 cat conftest.$ac_ext >&5
18576 glibcpp_cv_func__ldexpl_use=no
18580 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18581 ac_cpp='$CPP $CPPFLAGS'
18582 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18583 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18584 cross_compiling=$ac_cv_prog_cc_cross
18590 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
18592 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
18593 for ac_func in _ldexpl
18595 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18596 echo "configure
:18597: checking
for $ac_func" >&5
18597 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18598 echo $ac_n "(cached
) $ac_c" 1>&6
18600 cat > conftest.$ac_ext <<EOF
18601 #line 18602 "configure
"
18602 #include "confdefs.h
"
18603 /* System header to define __stub macros and hopefully few prototypes,
18604 which can conflict with char $ac_func(); below. */
18605 #include <assert.h>
18606 /* Override any gcc2 internal prototype to avoid an error. */
18607 /* We use char because int might match the return type of a gcc2
18608 builtin and then its argument prototype would still apply. */
18613 /* The GNU C library defines this for functions which it implements
18614 to always fail with ENOSYS. Some functions are actually named
18615 something starting with __ and the normal name is an alias. */
18616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18624 if { (eval echo configure:18625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18626 eval "ac_cv_func_
$ac_func=yes"
18628 echo "configure
: failed program was
:" >&5
18629 cat conftest.$ac_ext >&5
18631 eval "ac_cv_func_
$ac_func=no
"
18636 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18637 echo "$ac_t""yes" 1>&6
18638 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18639 cat >> confdefs.h <<EOF
18640 #define $ac_tr_func 1
18644 echo "$ac_t""no
" 1>&6
18653 echo $ac_n "checking
for logl declaration
""...
$ac_c" 1>&6
18654 echo "configure
:18655: checking
for logl declaration
" >&5
18655 if test x${glibcpp_cv_func_logl_use+set} != xset; then
18656 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
18657 echo $ac_n "(cached
) $ac_c" 1>&6
18662 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18663 ac_cpp='$CXXCPP $CPPFLAGS'
18664 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18665 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18666 cross_compiling=$ac_cv_prog_cxx_cross
18668 cat > conftest.$ac_ext <<EOF
18669 #line 18670 "configure
"
18670 #include "confdefs.h
"
18672 #ifdef HAVE_IEEEFP_H
18673 #include <ieeefp.h>
18680 if { (eval echo configure:18681: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18682 glibcpp_cv_func_logl_use=yes
18684 echo "configure
: failed program was
:" >&5
18685 cat conftest.$ac_ext >&5
18687 glibcpp_cv_func_logl_use=no
18691 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18692 ac_cpp='$CPP $CPPFLAGS'
18693 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18694 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18695 cross_compiling=$ac_cv_prog_cc_cross
18701 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
18703 if test x$glibcpp_cv_func_logl_use = x"yes"; then
18704 for ac_func in logl
18706 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18707 echo "configure
:18708: checking
for $ac_func" >&5
18708 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18709 echo $ac_n "(cached
) $ac_c" 1>&6
18711 cat > conftest.$ac_ext <<EOF
18712 #line 18713 "configure
"
18713 #include "confdefs.h
"
18714 /* System header to define __stub macros and hopefully few prototypes,
18715 which can conflict with char $ac_func(); below. */
18716 #include <assert.h>
18717 /* Override any gcc2 internal prototype to avoid an error. */
18718 /* We use char because int might match the return type of a gcc2
18719 builtin and then its argument prototype would still apply. */
18724 /* The GNU C library defines this for functions which it implements
18725 to always fail with ENOSYS. Some functions are actually named
18726 something starting with __ and the normal name is an alias. */
18727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18735 if { (eval echo configure:18736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18737 eval "ac_cv_func_
$ac_func=yes"
18739 echo "configure
: failed program was
:" >&5
18740 cat conftest.$ac_ext >&5
18742 eval "ac_cv_func_
$ac_func=no
"
18747 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18748 echo "$ac_t""yes" 1>&6
18749 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18750 cat >> confdefs.h <<EOF
18751 #define $ac_tr_func 1
18755 echo "$ac_t""no
" 1>&6
18761 echo $ac_n "checking
for _logl declaration
""...
$ac_c" 1>&6
18762 echo "configure
:18763: checking
for _logl declaration
" >&5
18763 if test x${glibcpp_cv_func__logl_use+set} != xset; then
18764 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
18765 echo $ac_n "(cached
) $ac_c" 1>&6
18770 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18771 ac_cpp='$CXXCPP $CPPFLAGS'
18772 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18773 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18774 cross_compiling=$ac_cv_prog_cxx_cross
18776 cat > conftest.$ac_ext <<EOF
18777 #line 18778 "configure
"
18778 #include "confdefs.h
"
18780 #ifdef HAVE_IEEEFP_H
18781 #include <ieeefp.h>
18788 if { (eval echo configure:18789: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18790 glibcpp_cv_func__logl_use=yes
18792 echo "configure
: failed program was
:" >&5
18793 cat conftest.$ac_ext >&5
18795 glibcpp_cv_func__logl_use=no
18799 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18800 ac_cpp='$CPP $CPPFLAGS'
18801 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18802 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18803 cross_compiling=$ac_cv_prog_cc_cross
18809 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
18811 if test x$glibcpp_cv_func__logl_use = x"yes"; then
18812 for ac_func in _logl
18814 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18815 echo "configure
:18816: checking
for $ac_func" >&5
18816 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18817 echo $ac_n "(cached
) $ac_c" 1>&6
18819 cat > conftest.$ac_ext <<EOF
18820 #line 18821 "configure
"
18821 #include "confdefs.h
"
18822 /* System header to define __stub macros and hopefully few prototypes,
18823 which can conflict with char $ac_func(); below. */
18824 #include <assert.h>
18825 /* Override any gcc2 internal prototype to avoid an error. */
18826 /* We use char because int might match the return type of a gcc2
18827 builtin and then its argument prototype would still apply. */
18832 /* The GNU C library defines this for functions which it implements
18833 to always fail with ENOSYS. Some functions are actually named
18834 something starting with __ and the normal name is an alias. */
18835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18843 if { (eval echo configure:18844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18845 eval "ac_cv_func_
$ac_func=yes"
18847 echo "configure
: failed program was
:" >&5
18848 cat conftest.$ac_ext >&5
18850 eval "ac_cv_func_
$ac_func=no
"
18855 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18856 echo "$ac_t""yes" 1>&6
18857 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18858 cat >> confdefs.h <<EOF
18859 #define $ac_tr_func 1
18863 echo "$ac_t""no
" 1>&6
18872 echo $ac_n "checking
for log10l declaration
""...
$ac_c" 1>&6
18873 echo "configure
:18874: checking
for log10l declaration
" >&5
18874 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
18875 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
18876 echo $ac_n "(cached
) $ac_c" 1>&6
18881 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18882 ac_cpp='$CXXCPP $CPPFLAGS'
18883 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18884 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18885 cross_compiling=$ac_cv_prog_cxx_cross
18887 cat > conftest.$ac_ext <<EOF
18888 #line 18889 "configure
"
18889 #include "confdefs.h
"
18891 #ifdef HAVE_IEEEFP_H
18892 #include <ieeefp.h>
18899 if { (eval echo configure:18900: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18901 glibcpp_cv_func_log10l_use=yes
18903 echo "configure
: failed program was
:" >&5
18904 cat conftest.$ac_ext >&5
18906 glibcpp_cv_func_log10l_use=no
18910 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18911 ac_cpp='$CPP $CPPFLAGS'
18912 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18913 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18914 cross_compiling=$ac_cv_prog_cc_cross
18920 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
18922 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
18923 for ac_func in log10l
18925 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18926 echo "configure
:18927: checking
for $ac_func" >&5
18927 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18928 echo $ac_n "(cached
) $ac_c" 1>&6
18930 cat > conftest.$ac_ext <<EOF
18931 #line 18932 "configure
"
18932 #include "confdefs.h
"
18933 /* System header to define __stub macros and hopefully few prototypes,
18934 which can conflict with char $ac_func(); below. */
18935 #include <assert.h>
18936 /* Override any gcc2 internal prototype to avoid an error. */
18937 /* We use char because int might match the return type of a gcc2
18938 builtin and then its argument prototype would still apply. */
18943 /* The GNU C library defines this for functions which it implements
18944 to always fail with ENOSYS. Some functions are actually named
18945 something starting with __ and the normal name is an alias. */
18946 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18954 if { (eval echo configure:18955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18956 eval "ac_cv_func_
$ac_func=yes"
18958 echo "configure
: failed program was
:" >&5
18959 cat conftest.$ac_ext >&5
18961 eval "ac_cv_func_
$ac_func=no
"
18966 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18967 echo "$ac_t""yes" 1>&6
18968 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18969 cat >> confdefs.h <<EOF
18970 #define $ac_tr_func 1
18974 echo "$ac_t""no
" 1>&6
18980 echo $ac_n "checking
for _log10l declaration
""...
$ac_c" 1>&6
18981 echo "configure
:18982: checking
for _log10l declaration
" >&5
18982 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
18983 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
18984 echo $ac_n "(cached
) $ac_c" 1>&6
18989 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18990 ac_cpp='$CXXCPP $CPPFLAGS'
18991 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18992 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18993 cross_compiling=$ac_cv_prog_cxx_cross
18995 cat > conftest.$ac_ext <<EOF
18996 #line 18997 "configure
"
18997 #include "confdefs.h
"
18999 #ifdef HAVE_IEEEFP_H
19000 #include <ieeefp.h>
19007 if { (eval echo configure:19008: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19009 glibcpp_cv_func__log10l_use=yes
19011 echo "configure
: failed program was
:" >&5
19012 cat conftest.$ac_ext >&5
19014 glibcpp_cv_func__log10l_use=no
19018 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19019 ac_cpp='$CPP $CPPFLAGS'
19020 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19021 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19022 cross_compiling=$ac_cv_prog_cc_cross
19028 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
19030 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
19031 for ac_func in _log10l
19033 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19034 echo "configure
:19035: checking
for $ac_func" >&5
19035 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19036 echo $ac_n "(cached
) $ac_c" 1>&6
19038 cat > conftest.$ac_ext <<EOF
19039 #line 19040 "configure
"
19040 #include "confdefs.h
"
19041 /* System header to define __stub macros and hopefully few prototypes,
19042 which can conflict with char $ac_func(); below. */
19043 #include <assert.h>
19044 /* Override any gcc2 internal prototype to avoid an error. */
19045 /* We use char because int might match the return type of a gcc2
19046 builtin and then its argument prototype would still apply. */
19051 /* The GNU C library defines this for functions which it implements
19052 to always fail with ENOSYS. Some functions are actually named
19053 something starting with __ and the normal name is an alias. */
19054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19062 if { (eval echo configure:19063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19064 eval "ac_cv_func_
$ac_func=yes"
19066 echo "configure
: failed program was
:" >&5
19067 cat conftest.$ac_ext >&5
19069 eval "ac_cv_func_
$ac_func=no
"
19074 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19075 echo "$ac_t""yes" 1>&6
19076 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19077 cat >> confdefs.h <<EOF
19078 #define $ac_tr_func 1
19082 echo "$ac_t""no
" 1>&6
19091 echo $ac_n "checking
for modfl declaration
""...
$ac_c" 1>&6
19092 echo "configure
:19093: checking
for modfl declaration
" >&5
19093 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
19094 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
19095 echo $ac_n "(cached
) $ac_c" 1>&6
19100 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19101 ac_cpp='$CXXCPP $CPPFLAGS'
19102 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19103 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19104 cross_compiling=$ac_cv_prog_cxx_cross
19106 cat > conftest.$ac_ext <<EOF
19107 #line 19108 "configure
"
19108 #include "confdefs.h
"
19114 if { (eval echo configure:19115: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19116 glibcpp_cv_func_modfl_use=yes
19118 echo "configure
: failed program was
:" >&5
19119 cat conftest.$ac_ext >&5
19121 glibcpp_cv_func_modfl_use=no
19125 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19126 ac_cpp='$CPP $CPPFLAGS'
19127 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19128 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19129 cross_compiling=$ac_cv_prog_cc_cross
19135 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
19137 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
19138 for ac_func in modfl
19140 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19141 echo "configure
:19142: checking
for $ac_func" >&5
19142 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19143 echo $ac_n "(cached
) $ac_c" 1>&6
19145 cat > conftest.$ac_ext <<EOF
19146 #line 19147 "configure
"
19147 #include "confdefs.h
"
19148 /* System header to define __stub macros and hopefully few prototypes,
19149 which can conflict with char $ac_func(); below. */
19150 #include <assert.h>
19151 /* Override any gcc2 internal prototype to avoid an error. */
19152 /* We use char because int might match the return type of a gcc2
19153 builtin and then its argument prototype would still apply. */
19158 /* The GNU C library defines this for functions which it implements
19159 to always fail with ENOSYS. Some functions are actually named
19160 something starting with __ and the normal name is an alias. */
19161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19169 if { (eval echo configure:19170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19171 eval "ac_cv_func_
$ac_func=yes"
19173 echo "configure
: failed program was
:" >&5
19174 cat conftest.$ac_ext >&5
19176 eval "ac_cv_func_
$ac_func=no
"
19181 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19182 echo "$ac_t""yes" 1>&6
19183 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19184 cat >> confdefs.h <<EOF
19185 #define $ac_tr_func 1
19189 echo "$ac_t""no
" 1>&6
19195 echo $ac_n "checking
for _modfl declaration
""...
$ac_c" 1>&6
19196 echo "configure
:19197: checking
for _modfl declaration
" >&5
19197 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
19198 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
19199 echo $ac_n "(cached
) $ac_c" 1>&6
19204 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19205 ac_cpp='$CXXCPP $CPPFLAGS'
19206 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19207 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19208 cross_compiling=$ac_cv_prog_cxx_cross
19210 cat > conftest.$ac_ext <<EOF
19211 #line 19212 "configure
"
19212 #include "confdefs.h
"
19218 if { (eval echo configure:19219: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19220 glibcpp_cv_func__modfl_use=yes
19222 echo "configure
: failed program was
:" >&5
19223 cat conftest.$ac_ext >&5
19225 glibcpp_cv_func__modfl_use=no
19229 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19230 ac_cpp='$CPP $CPPFLAGS'
19231 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19232 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19233 cross_compiling=$ac_cv_prog_cc_cross
19239 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
19241 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
19242 for ac_func in _modfl
19244 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19245 echo "configure
:19246: checking
for $ac_func" >&5
19246 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19247 echo $ac_n "(cached
) $ac_c" 1>&6
19249 cat > conftest.$ac_ext <<EOF
19250 #line 19251 "configure
"
19251 #include "confdefs.h
"
19252 /* System header to define __stub macros and hopefully few prototypes,
19253 which can conflict with char $ac_func(); below. */
19254 #include <assert.h>
19255 /* Override any gcc2 internal prototype to avoid an error. */
19256 /* We use char because int might match the return type of a gcc2
19257 builtin and then its argument prototype would still apply. */
19262 /* The GNU C library defines this for functions which it implements
19263 to always fail with ENOSYS. Some functions are actually named
19264 something starting with __ and the normal name is an alias. */
19265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19273 if { (eval echo configure:19274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19275 eval "ac_cv_func_
$ac_func=yes"
19277 echo "configure
: failed program was
:" >&5
19278 cat conftest.$ac_ext >&5
19280 eval "ac_cv_func_
$ac_func=no
"
19285 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19286 echo "$ac_t""yes" 1>&6
19287 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19288 cat >> confdefs.h <<EOF
19289 #define $ac_tr_func 1
19293 echo "$ac_t""no
" 1>&6
19302 echo $ac_n "checking
for powl declaration
""...
$ac_c" 1>&6
19303 echo "configure
:19304: checking
for powl declaration
" >&5
19304 if test x${glibcpp_cv_func_powl_use+set} != xset; then
19305 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
19306 echo $ac_n "(cached
) $ac_c" 1>&6
19311 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19312 ac_cpp='$CXXCPP $CPPFLAGS'
19313 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19314 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19315 cross_compiling=$ac_cv_prog_cxx_cross
19317 cat > conftest.$ac_ext <<EOF
19318 #line 19319 "configure
"
19319 #include "confdefs.h
"
19325 if { (eval echo configure:19326: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19327 glibcpp_cv_func_powl_use=yes
19329 echo "configure
: failed program was
:" >&5
19330 cat conftest.$ac_ext >&5
19332 glibcpp_cv_func_powl_use=no
19336 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19337 ac_cpp='$CPP $CPPFLAGS'
19338 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19339 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19340 cross_compiling=$ac_cv_prog_cc_cross
19346 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
19348 if test x$glibcpp_cv_func_powl_use = x"yes"; then
19349 for ac_func in powl
19351 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19352 echo "configure
:19353: checking
for $ac_func" >&5
19353 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19354 echo $ac_n "(cached
) $ac_c" 1>&6
19356 cat > conftest.$ac_ext <<EOF
19357 #line 19358 "configure
"
19358 #include "confdefs.h
"
19359 /* System header to define __stub macros and hopefully few prototypes,
19360 which can conflict with char $ac_func(); below. */
19361 #include <assert.h>
19362 /* Override any gcc2 internal prototype to avoid an error. */
19363 /* We use char because int might match the return type of a gcc2
19364 builtin and then its argument prototype would still apply. */
19369 /* The GNU C library defines this for functions which it implements
19370 to always fail with ENOSYS. Some functions are actually named
19371 something starting with __ and the normal name is an alias. */
19372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19380 if { (eval echo configure:19381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19382 eval "ac_cv_func_
$ac_func=yes"
19384 echo "configure
: failed program was
:" >&5
19385 cat conftest.$ac_ext >&5
19387 eval "ac_cv_func_
$ac_func=no
"
19392 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19393 echo "$ac_t""yes" 1>&6
19394 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19395 cat >> confdefs.h <<EOF
19396 #define $ac_tr_func 1
19400 echo "$ac_t""no
" 1>&6
19406 echo $ac_n "checking
for _powl declaration
""...
$ac_c" 1>&6
19407 echo "configure
:19408: checking
for _powl declaration
" >&5
19408 if test x${glibcpp_cv_func__powl_use+set} != xset; then
19409 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
19410 echo $ac_n "(cached
) $ac_c" 1>&6
19415 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19416 ac_cpp='$CXXCPP $CPPFLAGS'
19417 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19418 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19419 cross_compiling=$ac_cv_prog_cxx_cross
19421 cat > conftest.$ac_ext <<EOF
19422 #line 19423 "configure
"
19423 #include "confdefs.h
"
19429 if { (eval echo configure:19430: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19431 glibcpp_cv_func__powl_use=yes
19433 echo "configure
: failed program was
:" >&5
19434 cat conftest.$ac_ext >&5
19436 glibcpp_cv_func__powl_use=no
19440 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19441 ac_cpp='$CPP $CPPFLAGS'
19442 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19443 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19444 cross_compiling=$ac_cv_prog_cc_cross
19450 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
19452 if test x$glibcpp_cv_func__powl_use = x"yes"; then
19453 for ac_func in _powl
19455 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19456 echo "configure
:19457: checking
for $ac_func" >&5
19457 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19458 echo $ac_n "(cached
) $ac_c" 1>&6
19460 cat > conftest.$ac_ext <<EOF
19461 #line 19462 "configure
"
19462 #include "confdefs.h
"
19463 /* System header to define __stub macros and hopefully few prototypes,
19464 which can conflict with char $ac_func(); below. */
19465 #include <assert.h>
19466 /* Override any gcc2 internal prototype to avoid an error. */
19467 /* We use char because int might match the return type of a gcc2
19468 builtin and then its argument prototype would still apply. */
19473 /* The GNU C library defines this for functions which it implements
19474 to always fail with ENOSYS. Some functions are actually named
19475 something starting with __ and the normal name is an alias. */
19476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19484 if { (eval echo configure:19485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19486 eval "ac_cv_func_
$ac_func=yes"
19488 echo "configure
: failed program was
:" >&5
19489 cat conftest.$ac_ext >&5
19491 eval "ac_cv_func_
$ac_func=no
"
19496 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19497 echo "$ac_t""yes" 1>&6
19498 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19499 cat >> confdefs.h <<EOF
19500 #define $ac_tr_func 1
19504 echo "$ac_t""no
" 1>&6
19513 echo $ac_n "checking
for sqrtl declaration
""...
$ac_c" 1>&6
19514 echo "configure
:19515: checking
for sqrtl declaration
" >&5
19515 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
19516 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
19517 echo $ac_n "(cached
) $ac_c" 1>&6
19522 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19523 ac_cpp='$CXXCPP $CPPFLAGS'
19524 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19525 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19526 cross_compiling=$ac_cv_prog_cxx_cross
19528 cat > conftest.$ac_ext <<EOF
19529 #line 19530 "configure
"
19530 #include "confdefs.h
"
19532 #ifdef HAVE_IEEEFP_H
19533 #include <ieeefp.h>
19540 if { (eval echo configure:19541: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19542 glibcpp_cv_func_sqrtl_use=yes
19544 echo "configure
: failed program was
:" >&5
19545 cat conftest.$ac_ext >&5
19547 glibcpp_cv_func_sqrtl_use=no
19551 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19552 ac_cpp='$CPP $CPPFLAGS'
19553 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19554 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19555 cross_compiling=$ac_cv_prog_cc_cross
19561 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
19563 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
19564 for ac_func in sqrtl
19566 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19567 echo "configure
:19568: checking
for $ac_func" >&5
19568 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19569 echo $ac_n "(cached
) $ac_c" 1>&6
19571 cat > conftest.$ac_ext <<EOF
19572 #line 19573 "configure
"
19573 #include "confdefs.h
"
19574 /* System header to define __stub macros and hopefully few prototypes,
19575 which can conflict with char $ac_func(); below. */
19576 #include <assert.h>
19577 /* Override any gcc2 internal prototype to avoid an error. */
19578 /* We use char because int might match the return type of a gcc2
19579 builtin and then its argument prototype would still apply. */
19584 /* The GNU C library defines this for functions which it implements
19585 to always fail with ENOSYS. Some functions are actually named
19586 something starting with __ and the normal name is an alias. */
19587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19595 if { (eval echo configure:19596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19597 eval "ac_cv_func_
$ac_func=yes"
19599 echo "configure
: failed program was
:" >&5
19600 cat conftest.$ac_ext >&5
19602 eval "ac_cv_func_
$ac_func=no
"
19607 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19608 echo "$ac_t""yes" 1>&6
19609 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19610 cat >> confdefs.h <<EOF
19611 #define $ac_tr_func 1
19615 echo "$ac_t""no
" 1>&6
19621 echo $ac_n "checking
for _sqrtl declaration
""...
$ac_c" 1>&6
19622 echo "configure
:19623: checking
for _sqrtl declaration
" >&5
19623 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
19624 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
19625 echo $ac_n "(cached
) $ac_c" 1>&6
19630 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19631 ac_cpp='$CXXCPP $CPPFLAGS'
19632 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19633 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19634 cross_compiling=$ac_cv_prog_cxx_cross
19636 cat > conftest.$ac_ext <<EOF
19637 #line 19638 "configure
"
19638 #include "confdefs.h
"
19640 #ifdef HAVE_IEEEFP_H
19641 #include <ieeefp.h>
19648 if { (eval echo configure:19649: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19650 glibcpp_cv_func__sqrtl_use=yes
19652 echo "configure
: failed program was
:" >&5
19653 cat conftest.$ac_ext >&5
19655 glibcpp_cv_func__sqrtl_use=no
19659 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19660 ac_cpp='$CPP $CPPFLAGS'
19661 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19662 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19663 cross_compiling=$ac_cv_prog_cc_cross
19669 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
19671 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
19672 for ac_func in _sqrtl
19674 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19675 echo "configure
:19676: checking
for $ac_func" >&5
19676 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19677 echo $ac_n "(cached
) $ac_c" 1>&6
19679 cat > conftest.$ac_ext <<EOF
19680 #line 19681 "configure
"
19681 #include "confdefs.h
"
19682 /* System header to define __stub macros and hopefully few prototypes,
19683 which can conflict with char $ac_func(); below. */
19684 #include <assert.h>
19685 /* Override any gcc2 internal prototype to avoid an error. */
19686 /* We use char because int might match the return type of a gcc2
19687 builtin and then its argument prototype would still apply. */
19692 /* The GNU C library defines this for functions which it implements
19693 to always fail with ENOSYS. Some functions are actually named
19694 something starting with __ and the normal name is an alias. */
19695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19703 if { (eval echo configure:19704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19705 eval "ac_cv_func_
$ac_func=yes"
19707 echo "configure
: failed program was
:" >&5
19708 cat conftest.$ac_ext >&5
19710 eval "ac_cv_func_
$ac_func=no
"
19715 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19716 echo "$ac_t""yes" 1>&6
19717 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19718 cat >> confdefs.h <<EOF
19719 #define $ac_tr_func 1
19723 echo "$ac_t""no
" 1>&6
19732 echo $ac_n "checking
for sincosl declaration
""...
$ac_c" 1>&6
19733 echo "configure
:19734: checking
for sincosl declaration
" >&5
19734 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
19735 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
19736 echo $ac_n "(cached
) $ac_c" 1>&6
19741 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19742 ac_cpp='$CXXCPP $CPPFLAGS'
19743 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19744 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19745 cross_compiling=$ac_cv_prog_cxx_cross
19747 cat > conftest.$ac_ext <<EOF
19748 #line 19749 "configure
"
19749 #include "confdefs.h
"
19755 if { (eval echo configure:19756: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19757 glibcpp_cv_func_sincosl_use=yes
19759 echo "configure
: failed program was
:" >&5
19760 cat conftest.$ac_ext >&5
19762 glibcpp_cv_func_sincosl_use=no
19766 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19767 ac_cpp='$CPP $CPPFLAGS'
19768 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19769 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19770 cross_compiling=$ac_cv_prog_cc_cross
19776 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
19778 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
19779 for ac_func in sincosl
19781 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19782 echo "configure
:19783: checking
for $ac_func" >&5
19783 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19784 echo $ac_n "(cached
) $ac_c" 1>&6
19786 cat > conftest.$ac_ext <<EOF
19787 #line 19788 "configure
"
19788 #include "confdefs.h
"
19789 /* System header to define __stub macros and hopefully few prototypes,
19790 which can conflict with char $ac_func(); below. */
19791 #include <assert.h>
19792 /* Override any gcc2 internal prototype to avoid an error. */
19793 /* We use char because int might match the return type of a gcc2
19794 builtin and then its argument prototype would still apply. */
19799 /* The GNU C library defines this for functions which it implements
19800 to always fail with ENOSYS. Some functions are actually named
19801 something starting with __ and the normal name is an alias. */
19802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19810 if { (eval echo configure:19811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19812 eval "ac_cv_func_
$ac_func=yes"
19814 echo "configure
: failed program was
:" >&5
19815 cat conftest.$ac_ext >&5
19817 eval "ac_cv_func_
$ac_func=no
"
19822 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19823 echo "$ac_t""yes" 1>&6
19824 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19825 cat >> confdefs.h <<EOF
19826 #define $ac_tr_func 1
19830 echo "$ac_t""no
" 1>&6
19836 echo $ac_n "checking
for _sincosl declaration
""...
$ac_c" 1>&6
19837 echo "configure
:19838: checking
for _sincosl declaration
" >&5
19838 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
19839 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
19840 echo $ac_n "(cached
) $ac_c" 1>&6
19845 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19846 ac_cpp='$CXXCPP $CPPFLAGS'
19847 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19848 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19849 cross_compiling=$ac_cv_prog_cxx_cross
19851 cat > conftest.$ac_ext <<EOF
19852 #line 19853 "configure
"
19853 #include "confdefs.h
"
19859 if { (eval echo configure:19860: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19861 glibcpp_cv_func__sincosl_use=yes
19863 echo "configure
: failed program was
:" >&5
19864 cat conftest.$ac_ext >&5
19866 glibcpp_cv_func__sincosl_use=no
19870 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19871 ac_cpp='$CPP $CPPFLAGS'
19872 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19873 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19874 cross_compiling=$ac_cv_prog_cc_cross
19880 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
19882 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
19883 for ac_func in _sincosl
19885 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19886 echo "configure
:19887: checking
for $ac_func" >&5
19887 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19888 echo $ac_n "(cached
) $ac_c" 1>&6
19890 cat > conftest.$ac_ext <<EOF
19891 #line 19892 "configure
"
19892 #include "confdefs.h
"
19893 /* System header to define __stub macros and hopefully few prototypes,
19894 which can conflict with char $ac_func(); below. */
19895 #include <assert.h>
19896 /* Override any gcc2 internal prototype to avoid an error. */
19897 /* We use char because int might match the return type of a gcc2
19898 builtin and then its argument prototype would still apply. */
19903 /* The GNU C library defines this for functions which it implements
19904 to always fail with ENOSYS. Some functions are actually named
19905 something starting with __ and the normal name is an alias. */
19906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19914 if { (eval echo configure:19915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19916 eval "ac_cv_func_
$ac_func=yes"
19918 echo "configure
: failed program was
:" >&5
19919 cat conftest.$ac_ext >&5
19921 eval "ac_cv_func_
$ac_func=no
"
19926 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19927 echo "$ac_t""yes" 1>&6
19928 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19929 cat >> confdefs.h <<EOF
19930 #define $ac_tr_func 1
19934 echo "$ac_t""no
" 1>&6
19943 echo $ac_n "checking
for finitel declaration
""...
$ac_c" 1>&6
19944 echo "configure
:19945: checking
for finitel declaration
" >&5
19945 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
19946 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
19947 echo $ac_n "(cached
) $ac_c" 1>&6
19952 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19953 ac_cpp='$CXXCPP $CPPFLAGS'
19954 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19955 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19956 cross_compiling=$ac_cv_prog_cxx_cross
19958 cat > conftest.$ac_ext <<EOF
19959 #line 19960 "configure
"
19960 #include "confdefs.h
"
19962 #ifdef HAVE_IEEEFP_H
19963 #include <ieeefp.h>
19970 if { (eval echo configure:19971: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19972 glibcpp_cv_func_finitel_use=yes
19974 echo "configure
: failed program was
:" >&5
19975 cat conftest.$ac_ext >&5
19977 glibcpp_cv_func_finitel_use=no
19981 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19982 ac_cpp='$CPP $CPPFLAGS'
19983 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19984 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19985 cross_compiling=$ac_cv_prog_cc_cross
19991 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
19993 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
19994 for ac_func in finitel
19996 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19997 echo "configure
:19998: checking
for $ac_func" >&5
19998 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19999 echo $ac_n "(cached
) $ac_c" 1>&6
20001 cat > conftest.$ac_ext <<EOF
20002 #line 20003 "configure
"
20003 #include "confdefs.h
"
20004 /* System header to define __stub macros and hopefully few prototypes,
20005 which can conflict with char $ac_func(); below. */
20006 #include <assert.h>
20007 /* Override any gcc2 internal prototype to avoid an error. */
20008 /* We use char because int might match the return type of a gcc2
20009 builtin and then its argument prototype would still apply. */
20014 /* The GNU C library defines this for functions which it implements
20015 to always fail with ENOSYS. Some functions are actually named
20016 something starting with __ and the normal name is an alias. */
20017 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20025 if { (eval echo configure:20026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20027 eval "ac_cv_func_
$ac_func=yes"
20029 echo "configure
: failed program was
:" >&5
20030 cat conftest.$ac_ext >&5
20032 eval "ac_cv_func_
$ac_func=no
"
20037 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20038 echo "$ac_t""yes" 1>&6
20039 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20040 cat >> confdefs.h <<EOF
20041 #define $ac_tr_func 1
20045 echo "$ac_t""no
" 1>&6
20051 echo $ac_n "checking
for _finitel declaration
""...
$ac_c" 1>&6
20052 echo "configure
:20053: checking
for _finitel declaration
" >&5
20053 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
20054 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
20055 echo $ac_n "(cached
) $ac_c" 1>&6
20060 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20061 ac_cpp='$CXXCPP $CPPFLAGS'
20062 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20063 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20064 cross_compiling=$ac_cv_prog_cxx_cross
20066 cat > conftest.$ac_ext <<EOF
20067 #line 20068 "configure
"
20068 #include "confdefs.h
"
20070 #ifdef HAVE_IEEEFP_H
20071 #include <ieeefp.h>
20078 if { (eval echo configure:20079: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20080 glibcpp_cv_func__finitel_use=yes
20082 echo "configure
: failed program was
:" >&5
20083 cat conftest.$ac_ext >&5
20085 glibcpp_cv_func__finitel_use=no
20089 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20090 ac_cpp='$CPP $CPPFLAGS'
20091 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20092 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20093 cross_compiling=$ac_cv_prog_cc_cross
20099 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
20101 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
20102 for ac_func in _finitel
20104 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20105 echo "configure
:20106: checking
for $ac_func" >&5
20106 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20107 echo $ac_n "(cached
) $ac_c" 1>&6
20109 cat > conftest.$ac_ext <<EOF
20110 #line 20111 "configure
"
20111 #include "confdefs.h
"
20112 /* System header to define __stub macros and hopefully few prototypes,
20113 which can conflict with char $ac_func(); below. */
20114 #include <assert.h>
20115 /* Override any gcc2 internal prototype to avoid an error. */
20116 /* We use char because int might match the return type of a gcc2
20117 builtin and then its argument prototype would still apply. */
20122 /* The GNU C library defines this for functions which it implements
20123 to always fail with ENOSYS. Some functions are actually named
20124 something starting with __ and the normal name is an alias. */
20125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20133 if { (eval echo configure:20134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20135 eval "ac_cv_func_
$ac_func=yes"
20137 echo "configure
: failed program was
:" >&5
20138 cat conftest.$ac_ext >&5
20140 eval "ac_cv_func_
$ac_func=no
"
20145 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20146 echo "$ac_t""yes" 1>&6
20147 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20148 cat >> confdefs.h <<EOF
20149 #define $ac_tr_func 1
20153 echo "$ac_t""no
" 1>&6
20163 echo $ac_n "checking
for _float trig functions
""...
$ac_c" 1>&6
20164 echo "configure
:20165: checking
for _float trig functions
" >&5
20165 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
20166 echo $ac_n "(cached
) $ac_c" 1>&6
20171 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20172 ac_cpp='$CXXCPP $CPPFLAGS'
20173 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20174 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20175 cross_compiling=$ac_cv_prog_cxx_cross
20177 cat > conftest.$ac_ext <<EOF
20178 #line 20179 "configure
"
20179 #include "confdefs.h
"
20182 `for x in _acosf _asinf _atanf \
20183 _cosf _sinf _tanf \
20184 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
20187 if { (eval echo configure:20188: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20189 glibcpp_cv_func__float_trig_use=yes
20191 echo "configure
: failed program was
:" >&5
20192 cat conftest.$ac_ext >&5
20194 glibcpp_cv_func__float_trig_use=no
20198 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20199 ac_cpp='$CPP $CPPFLAGS'
20200 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20201 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20202 cross_compiling=$ac_cv_prog_cc_cross
20206 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
20207 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
20208 for ac_func in _acosf _asinf _atanf \
20209 _cosf _sinf _tanf \
20210 _coshf _sinhf _tanhf
20212 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20213 echo "configure
:20214: checking
for $ac_func" >&5
20214 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20215 echo $ac_n "(cached
) $ac_c" 1>&6
20217 cat > conftest.$ac_ext <<EOF
20218 #line 20219 "configure
"
20219 #include "confdefs.h
"
20220 /* System header to define __stub macros and hopefully few prototypes,
20221 which can conflict with char $ac_func(); below. */
20222 #include <assert.h>
20223 /* Override any gcc2 internal prototype to avoid an error. */
20224 /* We use char because int might match the return type of a gcc2
20225 builtin and then its argument prototype would still apply. */
20230 /* The GNU C library defines this for functions which it implements
20231 to always fail with ENOSYS. Some functions are actually named
20232 something starting with __ and the normal name is an alias. */
20233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20241 if { (eval echo configure:20242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20243 eval "ac_cv_func_
$ac_func=yes"
20245 echo "configure
: failed program was
:" >&5
20246 cat conftest.$ac_ext >&5
20248 eval "ac_cv_func_
$ac_func=no
"
20253 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20254 echo "$ac_t""yes" 1>&6
20255 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20256 cat >> confdefs.h <<EOF
20257 #define $ac_tr_func 1
20261 echo "$ac_t""no
" 1>&6
20268 echo $ac_n "checking
for _float round functions
""...
$ac_c" 1>&6
20269 echo "configure
:20270: checking
for _float round functions
" >&5
20270 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
20271 echo $ac_n "(cached
) $ac_c" 1>&6
20276 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20277 ac_cpp='$CXXCPP $CPPFLAGS'
20278 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20279 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20280 cross_compiling=$ac_cv_prog_cxx_cross
20282 cat > conftest.$ac_ext <<EOF
20283 #line 20284 "configure
"
20284 #include "confdefs.h
"
20287 `for x in _ceilf _floorf; do echo "$x (0);"; done`
20290 if { (eval echo configure:20291: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20292 glibcpp_cv_func__float_round_use=yes
20294 echo "configure
: failed program was
:" >&5
20295 cat conftest.$ac_ext >&5
20297 glibcpp_cv_func__float_round_use=no
20301 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20302 ac_cpp='$CPP $CPPFLAGS'
20303 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20304 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20305 cross_compiling=$ac_cv_prog_cc_cross
20309 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
20310 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
20311 for ac_func in _ceilf _floorf
20313 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20314 echo "configure
:20315: checking
for $ac_func" >&5
20315 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20316 echo $ac_n "(cached
) $ac_c" 1>&6
20318 cat > conftest.$ac_ext <<EOF
20319 #line 20320 "configure
"
20320 #include "confdefs.h
"
20321 /* System header to define __stub macros and hopefully few prototypes,
20322 which can conflict with char $ac_func(); below. */
20323 #include <assert.h>
20324 /* Override any gcc2 internal prototype to avoid an error. */
20325 /* We use char because int might match the return type of a gcc2
20326 builtin and then its argument prototype would still apply. */
20331 /* The GNU C library defines this for functions which it implements
20332 to always fail with ENOSYS. Some functions are actually named
20333 something starting with __ and the normal name is an alias. */
20334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20342 if { (eval echo configure:20343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20344 eval "ac_cv_func_
$ac_func=yes"
20346 echo "configure
: failed program was
:" >&5
20347 cat conftest.$ac_ext >&5
20349 eval "ac_cv_func_
$ac_func=no
"
20354 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20355 echo "$ac_t""yes" 1>&6
20356 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20357 cat >> confdefs.h <<EOF
20358 #define $ac_tr_func 1
20362 echo "$ac_t""no
" 1>&6
20370 echo $ac_n "checking
for _long double trig functions
""...
$ac_c" 1>&6
20371 echo "configure
:20372: checking
for _long double trig functions
" >&5
20372 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
20373 echo $ac_n "(cached
) $ac_c" 1>&6
20378 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20379 ac_cpp='$CXXCPP $CPPFLAGS'
20380 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20381 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20382 cross_compiling=$ac_cv_prog_cxx_cross
20384 cat > conftest.$ac_ext <<EOF
20385 #line 20386 "configure
"
20386 #include "confdefs.h
"
20389 `for x in _acosl _asinl _atanl \
20390 _cosl _sinl _tanl \
20391 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
20394 if { (eval echo configure:20395: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20396 glibcpp_cv_func__long_double_trig_use=yes
20398 echo "configure
: failed program was
:" >&5
20399 cat conftest.$ac_ext >&5
20401 glibcpp_cv_func__long_double_trig_use=no
20405 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20406 ac_cpp='$CPP $CPPFLAGS'
20407 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20408 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20409 cross_compiling=$ac_cv_prog_cc_cross
20413 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
20414 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
20415 for ac_func in _acosl _asinl _atanl \
20416 _cosl _sinl _tanl \
20417 _coshl _sinhl _tanhl
20419 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20420 echo "configure
:20421: checking
for $ac_func" >&5
20421 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20422 echo $ac_n "(cached
) $ac_c" 1>&6
20424 cat > conftest.$ac_ext <<EOF
20425 #line 20426 "configure
"
20426 #include "confdefs.h
"
20427 /* System header to define __stub macros and hopefully few prototypes,
20428 which can conflict with char $ac_func(); below. */
20429 #include <assert.h>
20430 /* Override any gcc2 internal prototype to avoid an error. */
20431 /* We use char because int might match the return type of a gcc2
20432 builtin and then its argument prototype would still apply. */
20437 /* The GNU C library defines this for functions which it implements
20438 to always fail with ENOSYS. Some functions are actually named
20439 something starting with __ and the normal name is an alias. */
20440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20448 if { (eval echo configure:20449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20450 eval "ac_cv_func_
$ac_func=yes"
20452 echo "configure
: failed program was
:" >&5
20453 cat conftest.$ac_ext >&5
20455 eval "ac_cv_func_
$ac_func=no
"
20460 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20461 echo "$ac_t""yes" 1>&6
20462 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20463 cat >> confdefs.h <<EOF
20464 #define $ac_tr_func 1
20468 echo "$ac_t""no
" 1>&6
20475 echo $ac_n "checking
for _long double round functions
""...
$ac_c" 1>&6
20476 echo "configure
:20477: checking
for _long double round functions
" >&5
20477 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
20478 echo $ac_n "(cached
) $ac_c" 1>&6
20483 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20484 ac_cpp='$CXXCPP $CPPFLAGS'
20485 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20486 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20487 cross_compiling=$ac_cv_prog_cxx_cross
20489 cat > conftest.$ac_ext <<EOF
20490 #line 20491 "configure
"
20491 #include "confdefs.h
"
20494 `for x in _ceill _floorl; do echo "$x (0);"; done`
20497 if { (eval echo configure:20498: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20499 glibcpp_cv_func__long_double_round_use=yes
20501 echo "configure
: failed program was
:" >&5
20502 cat conftest.$ac_ext >&5
20504 glibcpp_cv_func__long_double_round_use=no
20508 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20509 ac_cpp='$CPP $CPPFLAGS'
20510 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20511 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20512 cross_compiling=$ac_cv_prog_cc_cross
20516 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
20517 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
20518 for ac_func in _ceill _floorl
20520 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20521 echo "configure
:20522: checking
for $ac_func" >&5
20522 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20523 echo $ac_n "(cached
) $ac_c" 1>&6
20525 cat > conftest.$ac_ext <<EOF
20526 #line 20527 "configure
"
20527 #include "confdefs.h
"
20528 /* System header to define __stub macros and hopefully few prototypes,
20529 which can conflict with char $ac_func(); below. */
20530 #include <assert.h>
20531 /* Override any gcc2 internal prototype to avoid an error. */
20532 /* We use char because int might match the return type of a gcc2
20533 builtin and then its argument prototype would still apply. */
20538 /* The GNU C library defines this for functions which it implements
20539 to always fail with ENOSYS. Some functions are actually named
20540 something starting with __ and the normal name is an alias. */
20541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20549 if { (eval echo configure:20550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20551 eval "ac_cv_func_
$ac_func=yes"
20553 echo "configure
: failed program was
:" >&5
20554 cat conftest.$ac_ext >&5
20556 eval "ac_cv_func_
$ac_func=no
"
20561 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20562 echo "$ac_t""yes" 1>&6
20563 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20564 cat >> confdefs.h <<EOF
20565 #define $ac_tr_func 1
20569 echo "$ac_t""no
" 1>&6
20576 LIBS="$ac_save_LIBS"
20577 CXXFLAGS="$ac_save_CXXFLAGS"
20581 echo $ac_n "checking
for __builtin_abs declaration
""...
$ac_c" 1>&6
20582 echo "configure
:20583: checking
for __builtin_abs declaration
" >&5
20583 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
20584 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
20585 echo $ac_n "(cached
) $ac_c" 1>&6
20590 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20591 ac_cpp='$CXXCPP $CPPFLAGS'
20592 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20593 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20594 cross_compiling=$ac_cv_prog_cxx_cross
20596 cat > conftest.$ac_ext <<EOF
20597 #line 20598 "configure
"
20598 #include "confdefs.h
"
20604 if { (eval echo configure:20605: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20606 glibcpp_cv_func___builtin_abs_use=yes
20608 echo "configure
: failed program was
:" >&5
20609 cat conftest.$ac_ext >&5
20611 glibcpp_cv_func___builtin_abs_use=no
20615 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20616 ac_cpp='$CPP $CPPFLAGS'
20617 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20618 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20619 cross_compiling=$ac_cv_prog_cc_cross
20625 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
20626 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
20627 echo $ac_n "checking
for __builtin_abs linkage
""...
$ac_c" 1>&6
20628 echo "configure
:20629: checking
for __builtin_abs linkage
" >&5
20629 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
20630 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
20631 echo $ac_n "(cached
) $ac_c" 1>&6
20634 cat > conftest.$ac_ext <<EOF
20635 #line 20636 "configure
"
20636 #include "confdefs.h
"
20642 if { (eval echo configure:20643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20644 glibcpp_cv_func___builtin_abs_link=yes
20646 echo "configure
: failed program was
:" >&5
20647 cat conftest.$ac_ext >&5
20649 glibcpp_cv_func___builtin_abs_link=no
20656 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
20657 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
20658 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20659 cat >> confdefs.h <<EOF
20660 #define ${ac_tr_func} 1
20667 echo $ac_n "checking
for __builtin_fabsf declaration
""...
$ac_c" 1>&6
20668 echo "configure
:20669: checking
for __builtin_fabsf declaration
" >&5
20669 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
20670 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
20671 echo $ac_n "(cached
) $ac_c" 1>&6
20676 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20677 ac_cpp='$CXXCPP $CPPFLAGS'
20678 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20679 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20680 cross_compiling=$ac_cv_prog_cxx_cross
20682 cat > conftest.$ac_ext <<EOF
20683 #line 20684 "configure
"
20684 #include "confdefs.h
"
20687 __builtin_fabsf(0);
20690 if { (eval echo configure:20691: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20692 glibcpp_cv_func___builtin_fabsf_use=yes
20694 echo "configure
: failed program was
:" >&5
20695 cat conftest.$ac_ext >&5
20697 glibcpp_cv_func___builtin_fabsf_use=no
20701 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20702 ac_cpp='$CPP $CPPFLAGS'
20703 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20704 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20705 cross_compiling=$ac_cv_prog_cc_cross
20711 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
20712 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
20713 echo $ac_n "checking
for __builtin_fabsf linkage
""...
$ac_c" 1>&6
20714 echo "configure
:20715: checking
for __builtin_fabsf linkage
" >&5
20715 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
20716 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
20717 echo $ac_n "(cached
) $ac_c" 1>&6
20720 cat > conftest.$ac_ext <<EOF
20721 #line 20722 "configure
"
20722 #include "confdefs.h
"
20725 __builtin_fabsf(0);
20728 if { (eval echo configure:20729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20730 glibcpp_cv_func___builtin_fabsf_link=yes
20732 echo "configure
: failed program was
:" >&5
20733 cat conftest.$ac_ext >&5
20735 glibcpp_cv_func___builtin_fabsf_link=no
20742 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
20743 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
20744 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20745 cat >> confdefs.h <<EOF
20746 #define ${ac_tr_func} 1
20753 echo $ac_n "checking
for __builtin_fabs declaration
""...
$ac_c" 1>&6
20754 echo "configure
:20755: checking
for __builtin_fabs declaration
" >&5
20755 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
20756 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
20757 echo $ac_n "(cached
) $ac_c" 1>&6
20762 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20763 ac_cpp='$CXXCPP $CPPFLAGS'
20764 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20765 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20766 cross_compiling=$ac_cv_prog_cxx_cross
20768 cat > conftest.$ac_ext <<EOF
20769 #line 20770 "configure
"
20770 #include "confdefs.h
"
20776 if { (eval echo configure:20777: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20778 glibcpp_cv_func___builtin_fabs_use=yes
20780 echo "configure
: failed program was
:" >&5
20781 cat conftest.$ac_ext >&5
20783 glibcpp_cv_func___builtin_fabs_use=no
20787 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20788 ac_cpp='$CPP $CPPFLAGS'
20789 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20790 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20791 cross_compiling=$ac_cv_prog_cc_cross
20797 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
20798 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
20799 echo $ac_n "checking
for __builtin_fabs linkage
""...
$ac_c" 1>&6
20800 echo "configure
:20801: checking
for __builtin_fabs linkage
" >&5
20801 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
20802 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
20803 echo $ac_n "(cached
) $ac_c" 1>&6
20806 cat > conftest.$ac_ext <<EOF
20807 #line 20808 "configure
"
20808 #include "confdefs.h
"
20814 if { (eval echo configure:20815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20816 glibcpp_cv_func___builtin_fabs_link=yes
20818 echo "configure
: failed program was
:" >&5
20819 cat conftest.$ac_ext >&5
20821 glibcpp_cv_func___builtin_fabs_link=no
20828 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
20829 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
20830 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20831 cat >> confdefs.h <<EOF
20832 #define ${ac_tr_func} 1
20839 echo $ac_n "checking
for __builtin_fabsl declaration
""...
$ac_c" 1>&6
20840 echo "configure
:20841: checking
for __builtin_fabsl declaration
" >&5
20841 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
20842 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
20843 echo $ac_n "(cached
) $ac_c" 1>&6
20848 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20849 ac_cpp='$CXXCPP $CPPFLAGS'
20850 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20851 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20852 cross_compiling=$ac_cv_prog_cxx_cross
20854 cat > conftest.$ac_ext <<EOF
20855 #line 20856 "configure
"
20856 #include "confdefs.h
"
20859 __builtin_fabsl(0);
20862 if { (eval echo configure:20863: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20864 glibcpp_cv_func___builtin_fabsl_use=yes
20866 echo "configure
: failed program was
:" >&5
20867 cat conftest.$ac_ext >&5
20869 glibcpp_cv_func___builtin_fabsl_use=no
20873 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20874 ac_cpp='$CPP $CPPFLAGS'
20875 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20876 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20877 cross_compiling=$ac_cv_prog_cc_cross
20883 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
20884 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
20885 echo $ac_n "checking
for __builtin_fabsl linkage
""...
$ac_c" 1>&6
20886 echo "configure
:20887: checking
for __builtin_fabsl linkage
" >&5
20887 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
20888 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
20889 echo $ac_n "(cached
) $ac_c" 1>&6
20892 cat > conftest.$ac_ext <<EOF
20893 #line 20894 "configure
"
20894 #include "confdefs.h
"
20897 __builtin_fabsl(0);
20900 if { (eval echo configure:20901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20902 glibcpp_cv_func___builtin_fabsl_link=yes
20904 echo "configure
: failed program was
:" >&5
20905 cat conftest.$ac_ext >&5
20907 glibcpp_cv_func___builtin_fabsl_link=no
20914 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
20915 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
20916 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20917 cat >> confdefs.h <<EOF
20918 #define ${ac_tr_func} 1
20925 echo $ac_n "checking
for __builtin_labs declaration
""...
$ac_c" 1>&6
20926 echo "configure
:20927: checking
for __builtin_labs declaration
" >&5
20927 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
20928 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
20929 echo $ac_n "(cached
) $ac_c" 1>&6
20934 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20935 ac_cpp='$CXXCPP $CPPFLAGS'
20936 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20937 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20938 cross_compiling=$ac_cv_prog_cxx_cross
20940 cat > conftest.$ac_ext <<EOF
20941 #line 20942 "configure
"
20942 #include "confdefs.h
"
20948 if { (eval echo configure:20949: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20950 glibcpp_cv_func___builtin_labs_use=yes
20952 echo "configure
: failed program was
:" >&5
20953 cat conftest.$ac_ext >&5
20955 glibcpp_cv_func___builtin_labs_use=no
20959 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20960 ac_cpp='$CPP $CPPFLAGS'
20961 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20962 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20963 cross_compiling=$ac_cv_prog_cc_cross
20969 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
20970 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
20971 echo $ac_n "checking
for __builtin_labs linkage
""...
$ac_c" 1>&6
20972 echo "configure
:20973: checking
for __builtin_labs linkage
" >&5
20973 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
20974 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
20975 echo $ac_n "(cached
) $ac_c" 1>&6
20978 cat > conftest.$ac_ext <<EOF
20979 #line 20980 "configure
"
20980 #include "confdefs.h
"
20986 if { (eval echo configure:20987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20988 glibcpp_cv_func___builtin_labs_link=yes
20990 echo "configure
: failed program was
:" >&5
20991 cat conftest.$ac_ext >&5
20993 glibcpp_cv_func___builtin_labs_link=no
21000 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
21001 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
21002 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21003 cat >> confdefs.h <<EOF
21004 #define ${ac_tr_func} 1
21012 echo $ac_n "checking
for __builtin_sqrtf declaration
""...
$ac_c" 1>&6
21013 echo "configure
:21014: checking
for __builtin_sqrtf declaration
" >&5
21014 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
21015 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
21016 echo $ac_n "(cached
) $ac_c" 1>&6
21021 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21022 ac_cpp='$CXXCPP $CPPFLAGS'
21023 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21024 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21025 cross_compiling=$ac_cv_prog_cxx_cross
21027 cat > conftest.$ac_ext <<EOF
21028 #line 21029 "configure
"
21029 #include "confdefs.h
"
21032 __builtin_sqrtf(0);
21035 if { (eval echo configure:21036: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21037 glibcpp_cv_func___builtin_sqrtf_use=yes
21039 echo "configure
: failed program was
:" >&5
21040 cat conftest.$ac_ext >&5
21042 glibcpp_cv_func___builtin_sqrtf_use=no
21046 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21047 ac_cpp='$CPP $CPPFLAGS'
21048 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21049 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21050 cross_compiling=$ac_cv_prog_cc_cross
21056 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
21057 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
21058 echo $ac_n "checking
for __builtin_sqrtf linkage
""...
$ac_c" 1>&6
21059 echo "configure
:21060: checking
for __builtin_sqrtf linkage
" >&5
21060 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
21061 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
21062 echo $ac_n "(cached
) $ac_c" 1>&6
21065 cat > conftest.$ac_ext <<EOF
21066 #line 21067 "configure
"
21067 #include "confdefs.h
"
21070 __builtin_sqrtf(0);
21073 if { (eval echo configure:21074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21075 glibcpp_cv_func___builtin_sqrtf_link=yes
21077 echo "configure
: failed program was
:" >&5
21078 cat conftest.$ac_ext >&5
21080 glibcpp_cv_func___builtin_sqrtf_link=no
21087 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
21088 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
21089 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21090 cat >> confdefs.h <<EOF
21091 #define ${ac_tr_func} 1
21098 echo $ac_n "checking
for __builtin_sqrt declaration
""...
$ac_c" 1>&6
21099 echo "configure
:21100: checking
for __builtin_sqrt declaration
" >&5
21100 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
21101 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
21102 echo $ac_n "(cached
) $ac_c" 1>&6
21107 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21108 ac_cpp='$CXXCPP $CPPFLAGS'
21109 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21110 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21111 cross_compiling=$ac_cv_prog_cxx_cross
21113 cat > conftest.$ac_ext <<EOF
21114 #line 21115 "configure
"
21115 #include "confdefs.h
"
21121 if { (eval echo configure:21122: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21123 glibcpp_cv_func___builtin_sqrt_use=yes
21125 echo "configure
: failed program was
:" >&5
21126 cat conftest.$ac_ext >&5
21128 glibcpp_cv_func___builtin_sqrt_use=no
21132 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21133 ac_cpp='$CPP $CPPFLAGS'
21134 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21135 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21136 cross_compiling=$ac_cv_prog_cc_cross
21142 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
21143 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
21144 echo $ac_n "checking
for __builtin_sqrt linkage
""...
$ac_c" 1>&6
21145 echo "configure
:21146: checking
for __builtin_sqrt linkage
" >&5
21146 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
21147 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
21148 echo $ac_n "(cached
) $ac_c" 1>&6
21151 cat > conftest.$ac_ext <<EOF
21152 #line 21153 "configure
"
21153 #include "confdefs.h
"
21159 if { (eval echo configure:21160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21161 glibcpp_cv_func___builtin_sqrt_link=yes
21163 echo "configure
: failed program was
:" >&5
21164 cat conftest.$ac_ext >&5
21166 glibcpp_cv_func___builtin_sqrt_link=no
21173 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
21174 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
21175 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21176 cat >> confdefs.h <<EOF
21177 #define ${ac_tr_func} 1
21184 echo $ac_n "checking
for __builtin_sqrtl declaration
""...
$ac_c" 1>&6
21185 echo "configure
:21186: checking
for __builtin_sqrtl declaration
" >&5
21186 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
21187 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
21188 echo $ac_n "(cached
) $ac_c" 1>&6
21193 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21194 ac_cpp='$CXXCPP $CPPFLAGS'
21195 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21196 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21197 cross_compiling=$ac_cv_prog_cxx_cross
21199 cat > conftest.$ac_ext <<EOF
21200 #line 21201 "configure
"
21201 #include "confdefs.h
"
21204 __builtin_sqrtl(0);
21207 if { (eval echo configure:21208: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21209 glibcpp_cv_func___builtin_sqrtl_use=yes
21211 echo "configure
: failed program was
:" >&5
21212 cat conftest.$ac_ext >&5
21214 glibcpp_cv_func___builtin_sqrtl_use=no
21218 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21219 ac_cpp='$CPP $CPPFLAGS'
21220 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21221 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21222 cross_compiling=$ac_cv_prog_cc_cross
21228 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
21229 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
21230 echo $ac_n "checking
for __builtin_sqrtl linkage
""...
$ac_c" 1>&6
21231 echo "configure
:21232: checking
for __builtin_sqrtl linkage
" >&5
21232 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
21233 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
21234 echo $ac_n "(cached
) $ac_c" 1>&6
21237 cat > conftest.$ac_ext <<EOF
21238 #line 21239 "configure
"
21239 #include "confdefs.h
"
21242 __builtin_sqrtl(0);
21245 if { (eval echo configure:21246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21247 glibcpp_cv_func___builtin_sqrtl_link=yes
21249 echo "configure
: failed program was
:" >&5
21250 cat conftest.$ac_ext >&5
21252 glibcpp_cv_func___builtin_sqrtl_link=no
21259 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
21260 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
21261 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21262 cat >> confdefs.h <<EOF
21263 #define ${ac_tr_func} 1
21271 echo $ac_n "checking
for __builtin_sinf declaration
""...
$ac_c" 1>&6
21272 echo "configure
:21273: checking
for __builtin_sinf declaration
" >&5
21273 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
21274 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
21275 echo $ac_n "(cached
) $ac_c" 1>&6
21280 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21281 ac_cpp='$CXXCPP $CPPFLAGS'
21282 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21283 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21284 cross_compiling=$ac_cv_prog_cxx_cross
21286 cat > conftest.$ac_ext <<EOF
21287 #line 21288 "configure
"
21288 #include "confdefs.h
"
21294 if { (eval echo configure:21295: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21296 glibcpp_cv_func___builtin_sinf_use=yes
21298 echo "configure
: failed program was
:" >&5
21299 cat conftest.$ac_ext >&5
21301 glibcpp_cv_func___builtin_sinf_use=no
21305 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21306 ac_cpp='$CPP $CPPFLAGS'
21307 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21308 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21309 cross_compiling=$ac_cv_prog_cc_cross
21315 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
21316 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
21317 echo $ac_n "checking
for __builtin_sinf linkage
""...
$ac_c" 1>&6
21318 echo "configure
:21319: checking
for __builtin_sinf linkage
" >&5
21319 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
21320 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
21321 echo $ac_n "(cached
) $ac_c" 1>&6
21324 cat > conftest.$ac_ext <<EOF
21325 #line 21326 "configure
"
21326 #include "confdefs.h
"
21332 if { (eval echo configure:21333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21334 glibcpp_cv_func___builtin_sinf_link=yes
21336 echo "configure
: failed program was
:" >&5
21337 cat conftest.$ac_ext >&5
21339 glibcpp_cv_func___builtin_sinf_link=no
21346 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
21347 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
21348 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21349 cat >> confdefs.h <<EOF
21350 #define ${ac_tr_func} 1
21357 echo $ac_n "checking
for __builtin_sin declaration
""...
$ac_c" 1>&6
21358 echo "configure
:21359: checking
for __builtin_sin declaration
" >&5
21359 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
21360 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
21361 echo $ac_n "(cached
) $ac_c" 1>&6
21366 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21367 ac_cpp='$CXXCPP $CPPFLAGS'
21368 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21369 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21370 cross_compiling=$ac_cv_prog_cxx_cross
21372 cat > conftest.$ac_ext <<EOF
21373 #line 21374 "configure
"
21374 #include "confdefs.h
"
21380 if { (eval echo configure:21381: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21382 glibcpp_cv_func___builtin_sin_use=yes
21384 echo "configure
: failed program was
:" >&5
21385 cat conftest.$ac_ext >&5
21387 glibcpp_cv_func___builtin_sin_use=no
21391 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21392 ac_cpp='$CPP $CPPFLAGS'
21393 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21394 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21395 cross_compiling=$ac_cv_prog_cc_cross
21401 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
21402 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
21403 echo $ac_n "checking
for __builtin_sin linkage
""...
$ac_c" 1>&6
21404 echo "configure
:21405: checking
for __builtin_sin linkage
" >&5
21405 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
21406 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
21407 echo $ac_n "(cached
) $ac_c" 1>&6
21410 cat > conftest.$ac_ext <<EOF
21411 #line 21412 "configure
"
21412 #include "confdefs.h
"
21418 if { (eval echo configure:21419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21420 glibcpp_cv_func___builtin_sin_link=yes
21422 echo "configure
: failed program was
:" >&5
21423 cat conftest.$ac_ext >&5
21425 glibcpp_cv_func___builtin_sin_link=no
21432 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
21433 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
21434 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21435 cat >> confdefs.h <<EOF
21436 #define ${ac_tr_func} 1
21443 echo $ac_n "checking
for __builtin_sinl declaration
""...
$ac_c" 1>&6
21444 echo "configure
:21445: checking
for __builtin_sinl declaration
" >&5
21445 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
21446 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
21447 echo $ac_n "(cached
) $ac_c" 1>&6
21452 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21453 ac_cpp='$CXXCPP $CPPFLAGS'
21454 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21455 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21456 cross_compiling=$ac_cv_prog_cxx_cross
21458 cat > conftest.$ac_ext <<EOF
21459 #line 21460 "configure
"
21460 #include "confdefs.h
"
21466 if { (eval echo configure:21467: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21468 glibcpp_cv_func___builtin_sinl_use=yes
21470 echo "configure
: failed program was
:" >&5
21471 cat conftest.$ac_ext >&5
21473 glibcpp_cv_func___builtin_sinl_use=no
21477 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21478 ac_cpp='$CPP $CPPFLAGS'
21479 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21480 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21481 cross_compiling=$ac_cv_prog_cc_cross
21487 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
21488 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
21489 echo $ac_n "checking
for __builtin_sinl linkage
""...
$ac_c" 1>&6
21490 echo "configure
:21491: checking
for __builtin_sinl linkage
" >&5
21491 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
21492 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
21493 echo $ac_n "(cached
) $ac_c" 1>&6
21496 cat > conftest.$ac_ext <<EOF
21497 #line 21498 "configure
"
21498 #include "confdefs.h
"
21504 if { (eval echo configure:21505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21506 glibcpp_cv_func___builtin_sinl_link=yes
21508 echo "configure
: failed program was
:" >&5
21509 cat conftest.$ac_ext >&5
21511 glibcpp_cv_func___builtin_sinl_link=no
21518 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
21519 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
21520 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21521 cat >> confdefs.h <<EOF
21522 #define ${ac_tr_func} 1
21530 echo $ac_n "checking
for __builtin_cosf declaration
""...
$ac_c" 1>&6
21531 echo "configure
:21532: checking
for __builtin_cosf declaration
" >&5
21532 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
21533 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
21534 echo $ac_n "(cached
) $ac_c" 1>&6
21539 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21540 ac_cpp='$CXXCPP $CPPFLAGS'
21541 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21542 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21543 cross_compiling=$ac_cv_prog_cxx_cross
21545 cat > conftest.$ac_ext <<EOF
21546 #line 21547 "configure
"
21547 #include "confdefs.h
"
21553 if { (eval echo configure:21554: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21555 glibcpp_cv_func___builtin_cosf_use=yes
21557 echo "configure
: failed program was
:" >&5
21558 cat conftest.$ac_ext >&5
21560 glibcpp_cv_func___builtin_cosf_use=no
21564 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21565 ac_cpp='$CPP $CPPFLAGS'
21566 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21567 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21568 cross_compiling=$ac_cv_prog_cc_cross
21574 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
21575 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
21576 echo $ac_n "checking
for __builtin_cosf linkage
""...
$ac_c" 1>&6
21577 echo "configure
:21578: checking
for __builtin_cosf linkage
" >&5
21578 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
21579 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
21580 echo $ac_n "(cached
) $ac_c" 1>&6
21583 cat > conftest.$ac_ext <<EOF
21584 #line 21585 "configure
"
21585 #include "confdefs.h
"
21591 if { (eval echo configure:21592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21593 glibcpp_cv_func___builtin_cosf_link=yes
21595 echo "configure
: failed program was
:" >&5
21596 cat conftest.$ac_ext >&5
21598 glibcpp_cv_func___builtin_cosf_link=no
21605 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
21606 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
21607 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21608 cat >> confdefs.h <<EOF
21609 #define ${ac_tr_func} 1
21616 echo $ac_n "checking
for __builtin_cos declaration
""...
$ac_c" 1>&6
21617 echo "configure
:21618: checking
for __builtin_cos declaration
" >&5
21618 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
21619 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
21620 echo $ac_n "(cached
) $ac_c" 1>&6
21625 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21626 ac_cpp='$CXXCPP $CPPFLAGS'
21627 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21628 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21629 cross_compiling=$ac_cv_prog_cxx_cross
21631 cat > conftest.$ac_ext <<EOF
21632 #line 21633 "configure
"
21633 #include "confdefs.h
"
21639 if { (eval echo configure:21640: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21641 glibcpp_cv_func___builtin_cos_use=yes
21643 echo "configure
: failed program was
:" >&5
21644 cat conftest.$ac_ext >&5
21646 glibcpp_cv_func___builtin_cos_use=no
21650 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21651 ac_cpp='$CPP $CPPFLAGS'
21652 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21653 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21654 cross_compiling=$ac_cv_prog_cc_cross
21660 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
21661 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
21662 echo $ac_n "checking
for __builtin_cos linkage
""...
$ac_c" 1>&6
21663 echo "configure
:21664: checking
for __builtin_cos linkage
" >&5
21664 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
21665 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
21666 echo $ac_n "(cached
) $ac_c" 1>&6
21669 cat > conftest.$ac_ext <<EOF
21670 #line 21671 "configure
"
21671 #include "confdefs.h
"
21677 if { (eval echo configure:21678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21679 glibcpp_cv_func___builtin_cos_link=yes
21681 echo "configure
: failed program was
:" >&5
21682 cat conftest.$ac_ext >&5
21684 glibcpp_cv_func___builtin_cos_link=no
21691 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
21692 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
21693 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21694 cat >> confdefs.h <<EOF
21695 #define ${ac_tr_func} 1
21702 echo $ac_n "checking
for __builtin_cosl declaration
""...
$ac_c" 1>&6
21703 echo "configure
:21704: checking
for __builtin_cosl declaration
" >&5
21704 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
21705 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
21706 echo $ac_n "(cached
) $ac_c" 1>&6
21711 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21712 ac_cpp='$CXXCPP $CPPFLAGS'
21713 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21714 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21715 cross_compiling=$ac_cv_prog_cxx_cross
21717 cat > conftest.$ac_ext <<EOF
21718 #line 21719 "configure
"
21719 #include "confdefs.h
"
21725 if { (eval echo configure:21726: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21727 glibcpp_cv_func___builtin_cosl_use=yes
21729 echo "configure
: failed program was
:" >&5
21730 cat conftest.$ac_ext >&5
21732 glibcpp_cv_func___builtin_cosl_use=no
21736 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21737 ac_cpp='$CPP $CPPFLAGS'
21738 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21739 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21740 cross_compiling=$ac_cv_prog_cc_cross
21746 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
21747 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
21748 echo $ac_n "checking
for __builtin_cosl linkage
""...
$ac_c" 1>&6
21749 echo "configure
:21750: checking
for __builtin_cosl linkage
" >&5
21750 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
21751 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
21752 echo $ac_n "(cached
) $ac_c" 1>&6
21755 cat > conftest.$ac_ext <<EOF
21756 #line 21757 "configure
"
21757 #include "confdefs.h
"
21763 if { (eval echo configure:21764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21765 glibcpp_cv_func___builtin_cosl_link=yes
21767 echo "configure
: failed program was
:" >&5
21768 cat conftest.$ac_ext >&5
21770 glibcpp_cv_func___builtin_cosl_link=no
21777 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
21778 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
21779 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21780 cat >> confdefs.h <<EOF
21781 #define ${ac_tr_func} 1
21789 if test x$dummyvar = x"yes"; then
21790 cat >> confdefs.h <<\EOF
21791 #define HAVE___BUILTIN_ABS 1
21794 cat >> confdefs.h <<\EOF
21795 #define HAVE___BUILTIN_LABS 1
21798 cat >> confdefs.h <<\EOF
21799 #define HAVE___BUILTIN_COS 1
21802 cat >> confdefs.h <<\EOF
21803 #define HAVE___BUILTIN_COSF 1
21806 cat >> confdefs.h <<\EOF
21807 #define HAVE___BUILTIN_COSL 1
21810 cat >> confdefs.h <<\EOF
21811 #define HAVE___BUILTIN_FABS 1
21814 cat >> confdefs.h <<\EOF
21815 #define HAVE___BUILTIN_FABSF 1
21818 cat >> confdefs.h <<\EOF
21819 #define HAVE___BUILTIN_FABSL 1
21822 cat >> confdefs.h <<\EOF
21823 #define HAVE___BUILTIN_SIN 1
21826 cat >> confdefs.h <<\EOF
21827 #define HAVE___BUILTIN_SINF 1
21830 cat >> confdefs.h <<\EOF
21831 #define HAVE___BUILTIN_SINL 1
21834 cat >> confdefs.h <<\EOF
21835 #define HAVE___BUILTIN_SQRT 1
21838 cat >> confdefs.h <<\EOF
21839 #define HAVE___BUILTIN_SQRTF 1
21842 cat >> confdefs.h <<\EOF
21843 #define HAVE___BUILTIN_SQRTL 1
21849 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
21850 echo "configure
:21851: checking
for main
in -lm" >&5
21851 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
21852 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
21853 echo $ac_n "(cached
) $ac_c" 1>&6
21855 ac_save_LIBS="$LIBS"
21857 cat > conftest.$ac_ext <<EOF
21858 #line 21859 "configure
"
21859 #include "confdefs.h
"
21865 if { (eval echo configure:21866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21867 eval "ac_cv_lib_
$ac_lib_var=yes"
21869 echo "configure
: failed program was
:" >&5
21870 cat conftest.$ac_ext >&5
21872 eval "ac_cv_lib_
$ac_lib_var=no
"
21875 LIBS="$ac_save_LIBS"
21878 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21879 echo "$ac_t""yes" 1>&6
21880 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
21881 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
21882 cat >> confdefs.h <<EOF
21883 #define $ac_tr_lib 1
21889 echo "$ac_t""no
" 1>&6
21892 for ac_func in nan copysignf
21894 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21895 echo "configure
:21896: checking
for $ac_func" >&5
21896 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21897 echo $ac_n "(cached
) $ac_c" 1>&6
21899 cat > conftest.$ac_ext <<EOF
21900 #line 21901 "configure
"
21901 #include "confdefs.h
"
21902 /* System header to define __stub macros and hopefully few prototypes,
21903 which can conflict with char $ac_func(); below. */
21904 #include <assert.h>
21905 /* Override any gcc2 internal prototype to avoid an error. */
21906 /* We use char because int might match the return type of a gcc2
21907 builtin and then its argument prototype would still apply. */
21912 /* The GNU C library defines this for functions which it implements
21913 to always fail with ENOSYS. Some functions are actually named
21914 something starting with __ and the normal name is an alias. */
21915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21923 if { (eval echo configure:21924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21925 eval "ac_cv_func_
$ac_func=yes"
21927 echo "configure
: failed program was
:" >&5
21928 cat conftest.$ac_ext >&5
21930 eval "ac_cv_func_
$ac_func=no
"
21935 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21936 echo "$ac_t""yes" 1>&6
21937 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21938 cat >> confdefs.h <<EOF
21939 #define $ac_tr_func 1
21943 echo "$ac_t""no
" 1>&6
21944 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
21949 for ac_func in __signbit
21951 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21952 echo "configure
:21953: checking
for $ac_func" >&5
21953 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21954 echo $ac_n "(cached
) $ac_c" 1>&6
21956 cat > conftest.$ac_ext <<EOF
21957 #line 21958 "configure
"
21958 #include "confdefs.h
"
21959 /* System header to define __stub macros and hopefully few prototypes,
21960 which can conflict with char $ac_func(); below. */
21961 #include <assert.h>
21962 /* Override any gcc2 internal prototype to avoid an error. */
21963 /* We use char because int might match the return type of a gcc2
21964 builtin and then its argument prototype would still apply. */
21969 /* The GNU C library defines this for functions which it implements
21970 to always fail with ENOSYS. Some functions are actually named
21971 something starting with __ and the normal name is an alias. */
21972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21980 if { (eval echo configure:21981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21982 eval "ac_cv_func_
$ac_func=yes"
21984 echo "configure
: failed program was
:" >&5
21985 cat conftest.$ac_ext >&5
21987 eval "ac_cv_func_
$ac_func=no
"
21992 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21993 echo "$ac_t""yes" 1>&6
21994 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21995 cat >> confdefs.h <<EOF
21996 #define $ac_tr_func 1
22000 echo "$ac_t""no
" 1>&6
22001 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
22005 for ac_func in __signbitf
22007 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22008 echo "configure
:22009: checking
for $ac_func" >&5
22009 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22010 echo $ac_n "(cached
) $ac_c" 1>&6
22012 cat > conftest.$ac_ext <<EOF
22013 #line 22014 "configure
"
22014 #include "confdefs.h
"
22015 /* System header to define __stub macros and hopefully few prototypes,
22016 which can conflict with char $ac_func(); below. */
22017 #include <assert.h>
22018 /* Override any gcc2 internal prototype to avoid an error. */
22019 /* We use char because int might match the return type of a gcc2
22020 builtin and then its argument prototype would still apply. */
22025 /* The GNU C library defines this for functions which it implements
22026 to always fail with ENOSYS. Some functions are actually named
22027 something starting with __ and the normal name is an alias. */
22028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22036 if { (eval echo configure:22037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22038 eval "ac_cv_func_
$ac_func=yes"
22040 echo "configure
: failed program was
:" >&5
22041 cat conftest.$ac_ext >&5
22043 eval "ac_cv_func_
$ac_func=no
"
22048 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22049 echo "$ac_t""yes" 1>&6
22050 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22051 cat >> confdefs.h <<EOF
22052 #define $ac_tr_func 1
22056 echo "$ac_t""no
" 1>&6
22057 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
22062 if test x$ac_cv_func_copysignl = x"yes"; then
22063 for ac_func in __signbitl
22065 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22066 echo "configure
:22067: checking
for $ac_func" >&5
22067 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22068 echo $ac_n "(cached
) $ac_c" 1>&6
22070 cat > conftest.$ac_ext <<EOF
22071 #line 22072 "configure
"
22072 #include "confdefs.h
"
22073 /* System header to define __stub macros and hopefully few prototypes,
22074 which can conflict with char $ac_func(); below. */
22075 #include <assert.h>
22076 /* Override any gcc2 internal prototype to avoid an error. */
22077 /* We use char because int might match the return type of a gcc2
22078 builtin and then its argument prototype would still apply. */
22083 /* The GNU C library defines this for functions which it implements
22084 to always fail with ENOSYS. Some functions are actually named
22085 something starting with __ and the normal name is an alias. */
22086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22094 if { (eval echo configure:22095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22096 eval "ac_cv_func_
$ac_func=yes"
22098 echo "configure
: failed program was
:" >&5
22099 cat conftest.$ac_ext >&5
22101 eval "ac_cv_func_
$ac_func=no
"
22106 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22107 echo "$ac_t""yes" 1>&6
22108 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22109 cat >> confdefs.h <<EOF
22110 #define $ac_tr_func 1
22114 echo "$ac_t""no
" 1>&6
22115 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
22121 if test -n "$LIBMATHOBJS"; then
22127 if test "$need_libmath" = yes; then
22128 GLIBCPP_BUILD_LIBMATH_TRUE=
22129 GLIBCPP_BUILD_LIBMATH_FALSE='#'
22131 GLIBCPP_BUILD_LIBMATH_TRUE='#'
22132 GLIBCPP_BUILD_LIBMATH_FALSE=
22138 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
22139 echo "configure
:22140: checking
for mbstate_t
" >&5
22140 cat > conftest.$ac_ext <<EOF
22141 #line 22142 "configure
"
22142 #include "confdefs.h
"
22145 mbstate_t teststate;
22148 if { (eval echo configure:22149: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22152 echo "configure
: failed program was
:" >&5
22153 cat conftest.$ac_ext >&5
22158 echo "$ac_t""$have_mbstate_t" 1>&6
22159 if test x"$have_mbstate_t" = xyes; then
22160 cat >> confdefs.h <<\EOF
22161 #define HAVE_MBSTATE_T 1
22166 for ac_hdr in wchar.h
22168 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22169 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
22170 echo "configure
:22171: checking
for $ac_hdr" >&5
22171 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22172 echo $ac_n "(cached
) $ac_c" 1>&6
22174 cat > conftest.$ac_ext <<EOF
22175 #line 22176 "configure
"
22176 #include "confdefs.h
"
22179 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22180 { (eval echo configure:22181: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22181 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22182 if test -z "$ac_err"; then
22184 eval "ac_cv_header_
$ac_safe=yes"
22187 echo "configure
: failed program was
:" >&5
22188 cat conftest.$ac_ext >&5
22190 eval "ac_cv_header_
$ac_safe=no
"
22194 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22195 echo "$ac_t""yes" 1>&6
22196 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22197 cat >> confdefs.h <<EOF
22198 #define $ac_tr_hdr 1
22202 echo "$ac_t""no
" 1>&6
22207 for ac_hdr in wctype.h
22209 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22210 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
22211 echo "configure
:22212: checking
for $ac_hdr" >&5
22212 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22213 echo $ac_n "(cached
) $ac_c" 1>&6
22215 cat > conftest.$ac_ext <<EOF
22216 #line 22217 "configure
"
22217 #include "confdefs.h
"
22220 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22221 { (eval echo configure:22222: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22222 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22223 if test -z "$ac_err"; then
22225 eval "ac_cv_header_
$ac_safe=yes"
22228 echo "configure
: failed program was
:" >&5
22229 cat conftest.$ac_ext >&5
22231 eval "ac_cv_header_
$ac_safe=no
"
22235 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22236 echo "$ac_t""yes" 1>&6
22237 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22238 cat >> confdefs.h <<EOF
22239 #define $ac_tr_hdr 1
22241 ac_has_wctype_h=yes
22243 echo "$ac_t""no
" 1>&6
22249 if test x"$ac_has_wchar_h" = xyes &&
22250 test x"$ac_has_wctype_h" = xyes &&
22251 test x"$enable_c_mbchar" != xno; then
22253 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
22254 echo "configure
:22255: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
22255 cat > conftest.$ac_ext <<EOF
22256 #line 22257 "configure
"
22257 #include "confdefs.h
"
22260 int i = WCHAR_MIN; int j = WCHAR_MAX;
22263 if { (eval echo configure:22264: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22265 has_wchar_minmax=yes
22267 echo "configure
: failed program was
:" >&5
22268 cat conftest.$ac_ext >&5
22270 has_wchar_minmax=no
22273 echo "$ac_t""$has_wchar_minmax" 1>&6
22275 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
22276 echo "configure
:22277: checking
for WEOF
" >&5
22277 cat > conftest.$ac_ext <<EOF
22278 #line 22279 "configure
"
22279 #include "confdefs.h
"
22282 #include <stddef.h>
22287 if { (eval echo configure:22288: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22291 echo "configure
: failed program was
:" >&5
22292 cat conftest.$ac_ext >&5
22297 echo "$ac_t""$has_weof" 1>&6
22300 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
22302 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22303 echo "configure
:22304: checking
for $ac_func" >&5
22304 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22305 echo $ac_n "(cached
) $ac_c" 1>&6
22307 cat > conftest.$ac_ext <<EOF
22308 #line 22309 "configure
"
22309 #include "confdefs.h
"
22310 /* System header to define __stub macros and hopefully few prototypes,
22311 which can conflict with char $ac_func(); below. */
22312 #include <assert.h>
22313 /* Override any gcc2 internal prototype to avoid an error. */
22314 /* We use char because int might match the return type of a gcc2
22315 builtin and then its argument prototype would still apply. */
22320 /* The GNU C library defines this for functions which it implements
22321 to always fail with ENOSYS. Some functions are actually named
22322 something starting with __ and the normal name is an alias. */
22323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22331 if { (eval echo configure:22332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22333 eval "ac_cv_func_
$ac_func=yes"
22335 echo "configure
: failed program was
:" >&5
22336 cat conftest.$ac_ext >&5
22338 eval "ac_cv_func_
$ac_func=no
"
22343 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22344 echo "$ac_t""yes" 1>&6
22345 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22346 cat >> confdefs.h <<EOF
22347 #define $ac_tr_func 1
22351 echo "$ac_t""no
" 1>&6
22358 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
22359 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
22360 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
22361 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
22362 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
22363 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
22365 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22366 echo "configure
:22367: checking
for $ac_func" >&5
22367 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22368 echo $ac_n "(cached
) $ac_c" 1>&6
22370 cat > conftest.$ac_ext <<EOF
22371 #line 22372 "configure
"
22372 #include "confdefs.h
"
22373 /* System header to define __stub macros and hopefully few prototypes,
22374 which can conflict with char $ac_func(); below. */
22375 #include <assert.h>
22376 /* Override any gcc2 internal prototype to avoid an error. */
22377 /* We use char because int might match the return type of a gcc2
22378 builtin and then its argument prototype would still apply. */
22383 /* The GNU C library defines this for functions which it implements
22384 to always fail with ENOSYS. Some functions are actually named
22385 something starting with __ and the normal name is an alias. */
22386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22394 if { (eval echo configure:22395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22396 eval "ac_cv_func_
$ac_func=yes"
22398 echo "configure
: failed program was
:" >&5
22399 cat conftest.$ac_ext >&5
22401 eval "ac_cv_func_
$ac_func=no
"
22406 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22407 echo "$ac_t""yes" 1>&6
22408 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22409 cat >> confdefs.h <<EOF
22410 #define $ac_tr_func 1
22414 echo "$ac_t""no
" 1>&6
22421 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
22422 echo "configure
:22423: checking
for ISO C99 wchar_t support
" >&5
22423 if test x"$has_weof" = xyes &&
22424 test x"$has_wchar_minmax" = xyes &&
22425 test x"$ac_wfuncs" = xyes; then
22426 ac_isoC99_wchar_t=yes
22428 ac_isoC99_wchar_t=no
22430 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
22432 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
22433 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
22434 echo "configure
:22435: checking
for iconv.h
" >&5
22435 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22436 echo $ac_n "(cached
) $ac_c" 1>&6
22438 cat > conftest.$ac_ext <<EOF
22439 #line 22440 "configure
"
22440 #include "confdefs.h
"
22443 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22444 { (eval echo configure:22445: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22445 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22446 if test -z "$ac_err"; then
22448 eval "ac_cv_header_
$ac_safe=yes"
22451 echo "configure
: failed program was
:" >&5
22452 cat conftest.$ac_ext >&5
22454 eval "ac_cv_header_
$ac_safe=no
"
22458 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22459 echo "$ac_t""yes" 1>&6
22462 echo "$ac_t""no
" 1>&6
22466 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
22467 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
22468 echo "configure
:22469: checking
for langinfo.h
" >&5
22469 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22470 echo $ac_n "(cached
) $ac_c" 1>&6
22472 cat > conftest.$ac_ext <<EOF
22473 #line 22474 "configure
"
22474 #include "confdefs.h
"
22475 #include <langinfo.h>
22477 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22478 { (eval echo configure:22479: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22479 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22480 if test -z "$ac_err"; then
22482 eval "ac_cv_header_
$ac_safe=yes"
22485 echo "configure
: failed program was
:" >&5
22486 cat conftest.$ac_ext >&5
22488 eval "ac_cv_header_
$ac_safe=no
"
22492 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22493 echo "$ac_t""yes" 1>&6
22494 ac_has_langinfo_h=yes
22496 echo "$ac_t""no
" 1>&6
22497 ac_has_langinfo_h=no
22501 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
22502 echo "configure
:22503: checking
for iconv in -liconv" >&5
22503 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
22504 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
22505 echo $ac_n "(cached
) $ac_c" 1>&6
22507 ac_save_LIBS="$LIBS"
22508 LIBS="-liconv $LIBS"
22509 cat > conftest.$ac_ext <<EOF
22510 #line 22511 "configure
"
22511 #include "confdefs.h
"
22512 /* Override any gcc2 internal prototype to avoid an error. */
22513 /* We use char because int might match the return type of a gcc2
22514 builtin and then its argument prototype would still apply. */
22521 if { (eval echo configure:22522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22523 eval "ac_cv_lib_
$ac_lib_var=yes"
22525 echo "configure
: failed program was
:" >&5
22526 cat conftest.$ac_ext >&5
22528 eval "ac_cv_lib_
$ac_lib_var=no
"
22531 LIBS="$ac_save_LIBS"
22534 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
22535 echo "$ac_t""yes" 1>&6
22538 echo "$ac_t""no
" 1>&6
22541 ac_save_LIBS="$LIBS"
22542 LIBS="$LIBS $libiconv"
22544 for ac_func in iconv_open iconv_close iconv nl_langinfo
22546 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22547 echo "configure
:22548: checking
for $ac_func" >&5
22548 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22549 echo $ac_n "(cached
) $ac_c" 1>&6
22551 cat > conftest.$ac_ext <<EOF
22552 #line 22553 "configure
"
22553 #include "confdefs.h
"
22554 /* System header to define __stub macros and hopefully few prototypes,
22555 which can conflict with char $ac_func(); below. */
22556 #include <assert.h>
22557 /* Override any gcc2 internal prototype to avoid an error. */
22558 /* We use char because int might match the return type of a gcc2
22559 builtin and then its argument prototype would still apply. */
22564 /* The GNU C library defines this for functions which it implements
22565 to always fail with ENOSYS. Some functions are actually named
22566 something starting with __ and the normal name is an alias. */
22567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22575 if { (eval echo configure:22576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22577 eval "ac_cv_func_
$ac_func=yes"
22579 echo "configure
: failed program was
:" >&5
22580 cat conftest.$ac_ext >&5
22582 eval "ac_cv_func_
$ac_func=no
"
22587 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22588 echo "$ac_t""yes" 1>&6
22589 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22590 cat >> confdefs.h <<EOF
22591 #define $ac_tr_func 1
22596 echo "$ac_t""no
" 1>&6
22602 LIBS="$ac_save_LIBS"
22604 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
22605 echo "configure
:22606: checking
for XPG2 wchar_t support
" >&5
22606 if test x"$ac_has_iconv_h" = xyes &&
22607 test x"$ac_has_langinfo_h" = xyes &&
22608 test x"$ac_XPG2funcs" = xyes; then
22609 ac_XPG2_wchar_t=yes
22613 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
22615 if test x"$ac_isoC99_wchar_t" = xyes &&
22616 test x"$ac_XPG2_wchar_t" = xyes; then
22617 cat >> confdefs.h <<\EOF
22618 #define _GLIBCPP_USE_WCHAR_T 1
22624 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
22625 echo "configure
:22626: checking
for enabled wchar_t specializations
" >&5
22626 echo "$ac_t""$enable_wchar_t" 1>&6
22629 if test "$enable_wchar_t" = yes; then
22630 GLIBCPP_TEST_WCHAR_T_TRUE=
22631 GLIBCPP_TEST_WCHAR_T_FALSE='#'
22633 GLIBCPP_TEST_WCHAR_T_TRUE='#'
22634 GLIBCPP_TEST_WCHAR_T_FALSE=
22638 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22639 ac_save_CXXFLAGS="$CXXFLAGS"
22640 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
22643 echo $ac_n "checking
for strtold declaration
""...
$ac_c" 1>&6
22644 echo "configure
:22645: checking
for strtold declaration
" >&5
22645 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
22646 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
22647 echo $ac_n "(cached
) $ac_c" 1>&6
22652 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22653 ac_cpp='$CXXCPP $CPPFLAGS'
22654 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22655 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22656 cross_compiling=$ac_cv_prog_cxx_cross
22658 cat > conftest.$ac_ext <<EOF
22659 #line 22660 "configure
"
22660 #include "confdefs.h
"
22661 #include <stdlib.h>
22666 if { (eval echo configure:22667: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22668 glibcpp_cv_func_strtold_use=yes
22670 echo "configure
: failed program was
:" >&5
22671 cat conftest.$ac_ext >&5
22673 glibcpp_cv_func_strtold_use=no
22677 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22678 ac_cpp='$CPP $CPPFLAGS'
22679 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22680 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22681 cross_compiling=$ac_cv_prog_cc_cross
22687 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
22688 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
22689 for ac_func in strtold
22691 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22692 echo "configure
:22693: checking
for $ac_func" >&5
22693 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22694 echo $ac_n "(cached
) $ac_c" 1>&6
22696 cat > conftest.$ac_ext <<EOF
22697 #line 22698 "configure
"
22698 #include "confdefs.h
"
22699 /* System header to define __stub macros and hopefully few prototypes,
22700 which can conflict with char $ac_func(); below. */
22701 #include <assert.h>
22702 /* Override any gcc2 internal prototype to avoid an error. */
22703 /* We use char because int might match the return type of a gcc2
22704 builtin and then its argument prototype would still apply. */
22709 /* The GNU C library defines this for functions which it implements
22710 to always fail with ENOSYS. Some functions are actually named
22711 something starting with __ and the normal name is an alias. */
22712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22720 if { (eval echo configure:22721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22722 eval "ac_cv_func_
$ac_func=yes"
22724 echo "configure
: failed program was
:" >&5
22725 cat conftest.$ac_ext >&5
22727 eval "ac_cv_func_
$ac_func=no
"
22732 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22733 echo "$ac_t""yes" 1>&6
22734 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22735 cat >> confdefs.h <<EOF
22736 #define $ac_tr_func 1
22740 echo "$ac_t""no
" 1>&6
22747 echo $ac_n "checking
for strtof declaration
""...
$ac_c" 1>&6
22748 echo "configure
:22749: checking
for strtof declaration
" >&5
22749 if test x${glibcpp_cv_func_strtof_use+set} != xset; then
22750 if eval "test \"`echo '$''{'glibcpp_cv_func_strtof_use'+set}'`\" = set"; then
22751 echo $ac_n "(cached
) $ac_c" 1>&6
22756 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22757 ac_cpp='$CXXCPP $CPPFLAGS'
22758 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22759 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22760 cross_compiling=$ac_cv_prog_cxx_cross
22762 cat > conftest.$ac_ext <<EOF
22763 #line 22764 "configure
"
22764 #include "confdefs.h
"
22765 #include <stdlib.h>
22770 if { (eval echo configure:22771: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22772 glibcpp_cv_func_strtof_use=yes
22774 echo "configure
: failed program was
:" >&5
22775 cat conftest.$ac_ext >&5
22777 glibcpp_cv_func_strtof_use=no
22781 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22782 ac_cpp='$CPP $CPPFLAGS'
22783 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22784 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22785 cross_compiling=$ac_cv_prog_cc_cross
22791 echo "$ac_t""$glibcpp_cv_func_strtof_use" 1>&6
22792 if test x$glibcpp_cv_func_strtof_use = x"yes"; then
22793 for ac_func in strtof
22795 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22796 echo "configure
:22797: checking
for $ac_func" >&5
22797 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22798 echo $ac_n "(cached
) $ac_c" 1>&6
22800 cat > conftest.$ac_ext <<EOF
22801 #line 22802 "configure
"
22802 #include "confdefs.h
"
22803 /* System header to define __stub macros and hopefully few prototypes,
22804 which can conflict with char $ac_func(); below. */
22805 #include <assert.h>
22806 /* Override any gcc2 internal prototype to avoid an error. */
22807 /* We use char because int might match the return type of a gcc2
22808 builtin and then its argument prototype would still apply. */
22813 /* The GNU C library defines this for functions which it implements
22814 to always fail with ENOSYS. Some functions are actually named
22815 something starting with __ and the normal name is an alias. */
22816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22824 if { (eval echo configure:22825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22826 eval "ac_cv_func_
$ac_func=yes"
22828 echo "configure
: failed program was
:" >&5
22829 cat conftest.$ac_ext >&5
22831 eval "ac_cv_func_
$ac_func=no
"
22836 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22837 echo "$ac_t""yes" 1>&6
22838 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22839 cat >> confdefs.h <<EOF
22840 #define $ac_tr_func 1
22844 echo "$ac_t""no
" 1>&6
22850 for ac_func in drand48
22852 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22853 echo "configure
:22854: checking
for $ac_func" >&5
22854 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22855 echo $ac_n "(cached
) $ac_c" 1>&6
22857 cat > conftest.$ac_ext <<EOF
22858 #line 22859 "configure
"
22859 #include "confdefs.h
"
22860 /* System header to define __stub macros and hopefully few prototypes,
22861 which can conflict with char $ac_func(); below. */
22862 #include <assert.h>
22863 /* Override any gcc2 internal prototype to avoid an error. */
22864 /* We use char because int might match the return type of a gcc2
22865 builtin and then its argument prototype would still apply. */
22870 /* The GNU C library defines this for functions which it implements
22871 to always fail with ENOSYS. Some functions are actually named
22872 something starting with __ and the normal name is an alias. */
22873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22881 if { (eval echo configure:22882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22883 eval "ac_cv_func_
$ac_func=yes"
22885 echo "configure
: failed program was
:" >&5
22886 cat conftest.$ac_ext >&5
22888 eval "ac_cv_func_
$ac_func=no
"
22893 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22894 echo "$ac_t""yes" 1>&6
22895 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22896 cat >> confdefs.h <<EOF
22897 #define $ac_tr_func 1
22901 echo "$ac_t""no
" 1>&6
22906 CXXFLAGS="$ac_save_CXXFLAGS"
22909 # For showmanyc_helper().
22910 for ac_hdr in sys/ioctl.h sys/filio.h
22912 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22913 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
22914 echo "configure
:22915: checking
for $ac_hdr" >&5
22915 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22916 echo $ac_n "(cached
) $ac_c" 1>&6
22918 cat > conftest.$ac_ext <<EOF
22919 #line 22920 "configure
"
22920 #include "confdefs.h
"
22923 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22924 { (eval echo configure:22925: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22925 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22926 if test -z "$ac_err"; then
22928 eval "ac_cv_header_
$ac_safe=yes"
22931 echo "configure
: failed program was
:" >&5
22932 cat conftest.$ac_ext >&5
22934 eval "ac_cv_header_
$ac_safe=no
"
22938 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22939 echo "$ac_t""yes" 1>&6
22940 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22941 cat >> confdefs.h <<EOF
22942 #define $ac_tr_hdr 1
22946 echo "$ac_t""no
" 1>&6
22951 if eval "test \"`echo '$''{'glibcpp_cv_POLL'+set}'`\" = set"; then
22952 echo $ac_n "(cached
) $ac_c" 1>&6
22955 cat > conftest.$ac_ext <<EOF
22956 #line 22957 "configure
"
22957 #include "confdefs.h
"
22960 struct pollfd pfd[1]; pfd[0].events = POLLIN; poll(pfd, 1, 0);
22963 if { (eval echo configure:22964: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22965 glibcpp_cv_POLL=yes
22967 echo "configure
: failed program was
:" >&5
22968 cat conftest.$ac_ext >&5
22976 if test x$glibcpp_cv_POLL = xyes; then
22977 cat >> confdefs.h <<\EOF
22978 #define HAVE_POLL 1
22984 if eval "test \"`echo '$''{'glibcpp_cv_S_ISREG'+set}'`\" = set"; then
22985 echo $ac_n "(cached
) $ac_c" 1>&6
22988 cat > conftest.$ac_ext <<EOF
22989 #line 22990 "configure
"
22990 #include "confdefs.h
"
22991 #include <sys/stat.h>
22993 struct stat buffer; fstat(0, &buffer); S_ISREG(buffer.st_mode);
22996 if { (eval echo configure:22997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22998 glibcpp_cv_S_ISREG=yes
23000 echo "configure
: failed program was
:" >&5
23001 cat conftest.$ac_ext >&5
23003 glibcpp_cv_S_ISREG=no
23009 if eval "test \"`echo '$''{'glibcpp_cv_S_IFREG'+set}'`\" = set"; then
23010 echo $ac_n "(cached
) $ac_c" 1>&6
23013 cat > conftest.$ac_ext <<EOF
23014 #line 23015 "configure
"
23015 #include "confdefs.h
"
23016 #include <sys/stat.h>
23018 struct stat buffer; fstat(0, &buffer); S_IFREG & buffer.st_mode;
23021 if { (eval echo configure:23022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23023 glibcpp_cv_S_IFREG=yes
23025 echo "configure
: failed program was
:" >&5
23026 cat conftest.$ac_ext >&5
23028 glibcpp_cv_S_IFREG=no
23034 if test x$glibcpp_cv_S_ISREG = xyes; then
23035 cat >> confdefs.h <<\EOF
23036 #define HAVE_S_ISREG 1
23039 elif test x$glibcpp_cv_S_IFREG = xyes; then
23040 cat >> confdefs.h <<\EOF
23041 #define HAVE_S_IFREG 1
23048 ac_safe=`echo "locale.h
" | sed 'y%./+-%__p_%'`
23049 echo $ac_n "checking
for locale.h
""...
$ac_c" 1>&6
23050 echo "configure
:23051: checking
for locale.h
" >&5
23051 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
23052 echo $ac_n "(cached
) $ac_c" 1>&6
23054 cat > conftest.$ac_ext <<EOF
23055 #line 23056 "configure
"
23056 #include "confdefs.h
"
23057 #include <locale.h>
23059 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
23060 { (eval echo configure:23061: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
23061 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
23062 if test -z "$ac_err"; then
23064 eval "ac_cv_header_
$ac_safe=yes"
23067 echo "configure
: failed program was
:" >&5
23068 cat conftest.$ac_ext >&5
23070 eval "ac_cv_header_
$ac_safe=no
"
23074 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
23075 echo "$ac_t""yes" 1>&6
23077 echo $ac_n "checking
for LC_MESSAGES
""...
$ac_c" 1>&6
23078 echo "configure
:23079: checking
for LC_MESSAGES
" >&5
23079 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
23080 echo $ac_n "(cached
) $ac_c" 1>&6
23082 cat > conftest.$ac_ext <<EOF
23083 #line 23084 "configure
"
23084 #include "confdefs.h
"
23085 #include <locale.h>
23090 if { (eval echo configure:23091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23092 ac_cv_val_LC_MESSAGES=yes
23094 echo "configure
: failed program was
:" >&5
23095 cat conftest.$ac_ext >&5
23097 ac_cv_val_LC_MESSAGES=no
23102 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
23103 if test $ac_cv_val_LC_MESSAGES = yes; then
23104 cat >> confdefs.h <<\EOF
23105 #define HAVE_LC_MESSAGES 1
23111 echo "$ac_t""no
" 1>&6
23116 cat > conftest.$ac_ext <<EOF
23117 #line 23118 "configure
"
23118 #include "confdefs.h
"
23120 #include <setjmp.h>
23123 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
23126 if { (eval echo configure:23127: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23128 cat >> confdefs.h <<\EOF
23129 #define HAVE_SIGSETJMP 1
23134 echo "configure
: failed program was
:" >&5
23135 cat conftest.$ac_ext >&5
23139 for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h
23141 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
23142 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
23143 echo "configure
:23144: checking
for $ac_hdr" >&5
23144 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
23145 echo $ac_n "(cached
) $ac_c" 1>&6
23147 cat > conftest.$ac_ext <<EOF
23148 #line 23149 "configure
"
23149 #include "confdefs.h
"
23152 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
23153 { (eval echo configure:23154: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
23154 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
23155 if test -z "$ac_err"; then
23157 eval "ac_cv_header_
$ac_safe=yes"
23160 echo "configure
: failed program was
:" >&5
23161 cat conftest.$ac_ext >&5
23163 eval "ac_cv_header_
$ac_safe=no
"
23167 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
23168 echo "$ac_t""yes" 1>&6
23169 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
23170 cat >> confdefs.h <<EOF
23171 #define $ac_tr_hdr 1
23175 echo "$ac_t""no
" 1>&6
23179 for ac_func in getpagesize
23181 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
23182 echo "configure
:23183: checking
for $ac_func" >&5
23183 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
23184 echo $ac_n "(cached
) $ac_c" 1>&6
23186 cat > conftest.$ac_ext <<EOF
23187 #line 23188 "configure
"
23188 #include "confdefs.h
"
23189 /* System header to define __stub macros and hopefully few prototypes,
23190 which can conflict with char $ac_func(); below. */
23191 #include <assert.h>
23192 /* Override any gcc2 internal prototype to avoid an error. */
23193 /* We use char because int might match the return type of a gcc2
23194 builtin and then its argument prototype would still apply. */
23199 /* The GNU C library defines this for functions which it implements
23200 to always fail with ENOSYS. Some functions are actually named
23201 something starting with __ and the normal name is an alias. */
23202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23210 if { (eval echo configure:23211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23212 eval "ac_cv_func_
$ac_func=yes"
23214 echo "configure
: failed program was
:" >&5
23215 cat conftest.$ac_ext >&5
23217 eval "ac_cv_func_
$ac_func=no
"
23222 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
23223 echo "$ac_t""yes" 1>&6
23224 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23225 cat >> confdefs.h <<EOF
23226 #define $ac_tr_func 1
23230 echo "$ac_t""no
" 1>&6
23234 echo $ac_n "checking
for working mmap
""...
$ac_c" 1>&6
23235 echo "configure
:23236: checking
for working mmap
" >&5
23236 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
23237 echo $ac_n "(cached
) $ac_c" 1>&6
23239 if test "$cross_compiling" = yes; then
23240 ac_cv_func_mmap_fixed_mapped=no
23242 cat > conftest.$ac_ext <<EOF
23243 #line 23244 "configure
"
23244 #include "confdefs.h
"
23246 /* Thanks to Mike Haertel and Jim Avera for this test.
23247 Here is a matrix of mmap possibilities:
23248 mmap private not fixed
23249 mmap private fixed at somewhere currently unmapped
23250 mmap private fixed at somewhere already mapped
23251 mmap shared not fixed
23252 mmap shared fixed at somewhere currently unmapped
23253 mmap shared fixed at somewhere already mapped
23254 For private mappings, we should verify that changes cannot be read()
23255 back from the file, nor mmap's back from the file at a different
23256 address. (There have been systems where private was not correctly
23257 implemented like the infamous i386 svr4.0, and systems where the
23258 VM page cache was not coherent with the filesystem buffer cache
23259 like early versions of FreeBSD and possibly contemporary NetBSD.)
23260 For shared mappings, we should conversely verify that changes get
23261 propogated back to all the places they're supposed to be.
23263 Grep wants private fixed already mapped.
23264 The main things grep needs to know about mmap are:
23265 * does it exist and is it safe to write into the mmap'd area
23266 * how to use it (BSD variants) */
23267 #include <sys/types.h>
23269 #include <sys/mman.h>
23271 #if HAVE_SYS_TYPES_H
23272 # include <sys/types.h>
23276 # include <stdlib.h>
23279 #if HAVE_SYS_STAT_H
23280 # include <sys/stat.h>
23284 # include <unistd.h>
23287 /* This mess was copied from the GNU getpagesize.h. */
23288 #ifndef HAVE_GETPAGESIZE
23290 /* Assume that all systems that can run configure have sys/param.h. */
23291 # ifndef HAVE_SYS_PARAM_H
23292 # define HAVE_SYS_PARAM_H 1
23295 # ifdef _SC_PAGESIZE
23296 # define getpagesize() sysconf(_SC_PAGESIZE)
23297 # else /* no _SC_PAGESIZE */
23298 # ifdef HAVE_SYS_PARAM_H
23299 # include <sys/param.h>
23300 # ifdef EXEC_PAGESIZE
23301 # define getpagesize() EXEC_PAGESIZE
23302 # else /* no EXEC_PAGESIZE */
23304 # define getpagesize() NBPG * CLSIZE
23307 # endif /* no CLSIZE */
23308 # else /* no NBPG */
23310 # define getpagesize() NBPC
23311 # else /* no NBPC */
23313 # define getpagesize() PAGESIZE
23314 # endif /* PAGESIZE */
23315 # endif /* no NBPC */
23316 # endif /* no NBPG */
23317 # endif /* no EXEC_PAGESIZE */
23318 # else /* no HAVE_SYS_PARAM_H */
23319 # define getpagesize() 8192 /* punt totally */
23320 # endif /* no HAVE_SYS_PARAM_H */
23321 # endif /* no _SC_PAGESIZE */
23323 #endif /* no HAVE_GETPAGESIZE */
23326 extern "C
" { void *malloc(unsigned); }
23334 char *data, *data2, *data3;
23338 pagesize = getpagesize();
23341 * First, make a file with some known garbage in it.
23343 data = malloc(pagesize);
23346 for (i = 0; i < pagesize; ++i)
23347 *(data + i) = rand();
23349 fd = creat("conftestmmap
", 0600);
23352 if (write(fd, data, pagesize) != pagesize)
23357 * Next, try to mmap the file at a fixed address which
23358 * already has something else allocated at it. If we can,
23359 * also make sure that we see the same garbage.
23361 fd = open("conftestmmap
", O_RDWR);
23364 data2 = malloc(2 * pagesize);
23367 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
23368 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
23369 MAP_PRIVATE | MAP_FIXED, fd, 0L))
23371 for (i = 0; i < pagesize; ++i)
23372 if (*(data + i) != *(data2 + i))
23376 * Finally, make sure that changes to the mapped area
23377 * do not percolate back to the file as seen by read().
23378 * (This is a bug on some variants of i386 svr4.0.)
23380 for (i = 0; i < pagesize; ++i)
23381 *(data2 + i) = *(data2 + i) + 1;
23382 data3 = malloc(pagesize);
23385 if (read(fd, data3, pagesize) != pagesize)
23387 for (i = 0; i < pagesize; ++i)
23388 if (*(data + i) != *(data3 + i))
23391 unlink("conftestmmap
");
23396 if { (eval echo configure:23397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
23398 ac_cv_func_mmap_fixed_mapped=yes
23400 echo "configure
: failed program was
:" >&5
23401 cat conftest.$ac_ext >&5
23403 ac_cv_func_mmap_fixed_mapped=no
23410 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
23411 if test $ac_cv_func_mmap_fixed_mapped = yes; then
23412 cat >> confdefs.h <<\EOF
23413 #define HAVE_MMAP 1
23419 # Establish limits on memory usage during 'make check'
23422 setrlimit_have_headers=yes
23423 for ac_hdr in unistd.h sys/time.h sys/resource.h
23425 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
23426 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
23427 echo "configure
:23428: checking
for $ac_hdr" >&5
23428 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
23429 echo $ac_n "(cached
) $ac_c" 1>&6
23431 cat > conftest.$ac_ext <<EOF
23432 #line 23433 "configure
"
23433 #include "confdefs.h
"
23436 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
23437 { (eval echo configure:23438: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
23438 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
23439 if test -z "$ac_err"; then
23441 eval "ac_cv_header_
$ac_safe=yes"
23444 echo "configure
: failed program was
:" >&5
23445 cat conftest.$ac_ext >&5
23447 eval "ac_cv_header_
$ac_safe=no
"
23451 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
23452 echo "$ac_t""yes" 1>&6
23453 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
23454 cat >> confdefs.h <<EOF
23455 #define $ac_tr_hdr 1
23459 echo "$ac_t""no
" 1>&6
23460 setrlimit_have_headers=no
23464 # If don't have the headers, then we can't run the tests now, and we
23465 # won't be seeing any of these during testsuite compilation.
23466 if test $setrlimit_have_headers = yes; then
23467 # Can't do these in a loop, else the resulting syntax is wrong.
23469 cat > conftest.$ac_ext <<EOF
23470 #line 23471 "configure
"
23471 #include "confdefs.h
"
23472 #include <unistd.h>
23473 #include <sys/time.h>
23474 #include <sys/resource.h>
23477 int f = RLIMIT_DATA ;
23480 if { (eval echo configure:23481: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23484 echo "configure
: failed program was
:" >&5
23485 cat conftest.$ac_ext >&5
23490 cat >> confdefs.h <<EOF
23491 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
23496 cat > conftest.$ac_ext <<EOF
23497 #line 23498 "configure
"
23498 #include "confdefs.h
"
23499 #include <unistd.h>
23500 #include <sys/time.h>
23501 #include <sys/resource.h>
23504 int f = RLIMIT_RSS ;
23507 if { (eval echo configure:23508: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23511 echo "configure
: failed program was
:" >&5
23512 cat conftest.$ac_ext >&5
23517 cat >> confdefs.h <<EOF
23518 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
23523 cat > conftest.$ac_ext <<EOF
23524 #line 23525 "configure
"
23525 #include "confdefs.h
"
23526 #include <unistd.h>
23527 #include <sys/time.h>
23528 #include <sys/resource.h>
23531 int f = RLIMIT_VMEM ;
23534 if { (eval echo configure:23535: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23538 echo "configure
: failed program was
:" >&5
23539 cat conftest.$ac_ext >&5
23544 cat >> confdefs.h <<EOF
23545 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
23550 cat > conftest.$ac_ext <<EOF
23551 #line 23552 "configure
"
23552 #include "confdefs.h
"
23553 #include <unistd.h>
23554 #include <sys/time.h>
23555 #include <sys/resource.h>
23558 int f = RLIMIT_AS ;
23561 if { (eval echo configure:23562: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23565 echo "configure
: failed program was
:" >&5
23566 cat conftest.$ac_ext >&5
23571 cat >> confdefs.h <<EOF
23572 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
23577 # Check for rlimit, setrlimit.
23578 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
23579 echo $ac_n "(cached
) $ac_c" 1>&6
23582 cat > conftest.$ac_ext <<EOF
23583 #line 23584 "configure
"
23584 #include "confdefs.h
"
23585 #include <unistd.h>
23586 #include <sys/time.h>
23587 #include <sys/resource.h>
23590 struct rlimit r; setrlimit(0, &r);
23593 if { (eval echo configure:23594: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23597 echo "configure
: failed program was
:" >&5
23598 cat conftest.$ac_ext >&5
23608 echo $ac_n "checking
for testsuite memory limit support
""...
$ac_c" 1>&6
23609 echo "configure
:23610: checking
for testsuite memory limit support
" >&5
23610 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
23612 cat >> confdefs.h <<\EOF
23613 #define _GLIBCPP_MEM_LIMITS 1
23619 echo "$ac_t""$ac_mem_limits" 1>&6
23622 # Look for setenv, so that extended locale tests can be performed.
23624 echo $ac_n "checking
for setenv declaration
""...
$ac_c" 1>&6
23625 echo "configure
:23626: checking
for setenv declaration
" >&5
23626 if test x${glibcpp_cv_func_setenv_use+set} != xset; then
23627 if eval "test \"`echo '$''{'glibcpp_cv_func_setenv_use'+set}'`\" = set"; then
23628 echo $ac_n "(cached
) $ac_c" 1>&6
23633 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
23634 ac_cpp='$CXXCPP $CPPFLAGS'
23635 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
23636 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23637 cross_compiling=$ac_cv_prog_cxx_cross
23639 cat > conftest.$ac_ext <<EOF
23640 #line 23641 "configure
"
23641 #include "confdefs.h
"
23642 #include <stdlib.h>
23647 if { (eval echo configure:23648: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23649 glibcpp_cv_func_setenv_use=yes
23651 echo "configure
: failed program was
:" >&5
23652 cat conftest.$ac_ext >&5
23654 glibcpp_cv_func_setenv_use=no
23658 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
23659 ac_cpp='$CPP $CPPFLAGS'
23660 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
23661 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23662 cross_compiling=$ac_cv_prog_cc_cross
23668 echo "$ac_t""$glibcpp_cv_func_setenv_use" 1>&6
23669 if test x$glibcpp_cv_func_setenv_use = x"yes"; then
23670 for ac_func in setenv
23672 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
23673 echo "configure
:23674: checking
for $ac_func" >&5
23674 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
23675 echo $ac_n "(cached
) $ac_c" 1>&6
23677 cat > conftest.$ac_ext <<EOF
23678 #line 23679 "configure
"
23679 #include "confdefs.h
"
23680 /* System header to define __stub macros and hopefully few prototypes,
23681 which can conflict with char $ac_func(); below. */
23682 #include <assert.h>
23683 /* Override any gcc2 internal prototype to avoid an error. */
23684 /* We use char because int might match the return type of a gcc2
23685 builtin and then its argument prototype would still apply. */
23690 /* The GNU C library defines this for functions which it implements
23691 to always fail with ENOSYS. Some functions are actually named
23692 something starting with __ and the normal name is an alias. */
23693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23701 if { (eval echo configure:23702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23703 eval "ac_cv_func_
$ac_func=yes"
23705 echo "configure
: failed program was
:" >&5
23706 cat conftest.$ac_ext >&5
23708 eval "ac_cv_func_
$ac_func=no
"
23713 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
23714 echo "$ac_t""yes" 1>&6
23715 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23716 cat >> confdefs.h <<EOF
23717 #define $ac_tr_func 1
23721 echo "$ac_t""no
" 1>&6
23728 # Export file names for ABI checking.
23729 baseline_file="${glibcpp_srcdir}/config
/abi
/${abi_baseline_triplet}/baseline_symbols.txt
"
23733 *-*-cygwin* ) enable_abi_check=no ;;
23734 * ) enable_abi_check=yes ;;
23737 # Don't do ABI checking unless native.
23740 if test x"$build" = x"$host" && test -z "$with_cross_host" \
23741 && test "$enable_abi_check" = yes ; then
23742 GLIBCPP_BUILD_ABI_CHECK_TRUE=
23743 GLIBCPP_BUILD_ABI_CHECK_FALSE='#'
23745 GLIBCPP_BUILD_ABI_CHECK_TRUE='#'
23746 GLIBCPP_BUILD_ABI_CHECK_FALSE=
23751 # This depends on the possibly-skipped linker test above.
23752 # Check whether --enable-symvers or --disable-symvers was given.
23753 if test "${enable_symvers+set}" = set; then
23754 enableval="$enable_symvers"
23755 case "$enableval" in
23756 yes) enable_symvers=yes ;;
23757 no) enable_symvers=no ;;
23758 # other names here, just as sanity checks
23759 #gnu|sun|etcetera) enable_symvers=$enableval ;;
23760 gnu) enable_symvers=$enableval ;;
23761 *) { echo "configure
: error
: Unknown argument to enable
/disable symvers
" 1>&2; exit 1; } ;;
23767 # If we never went through the GLIBCPP_CHECK_LINKER_FEATURES macro, then we
23768 # don't know enough about $LD to do tricks...
23769 if test x$enable_shared = xno ||
23771 test x$glibcpp_gnu_ld_version = x; then
23775 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
23776 if test $enable_symvers != no; then
23777 echo $ac_n "checking
for shared libgcc
""...
$ac_c" 1>&6
23778 echo "configure
:23779: checking
for shared libgcc
" >&5
23779 ac_save_CFLAGS="$CFLAGS"
23781 cat > conftest.$ac_ext <<EOF
23782 #line 23783 "configure
"
23783 #include "confdefs.h
"
23789 if { (eval echo configure:23790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23791 glibcpp_shared_libgcc=yes
23793 echo "configure
: failed program was
:" >&5
23794 cat conftest.$ac_ext >&5
23796 glibcpp_shared_libgcc=no
23799 CFLAGS="$ac_save_CFLAGS"
23800 echo "$ac_t""$glibcpp_shared_libgcc" 1>&6
23803 # For GNU ld, we need at least this version. It's 2.12 in the same format
23804 # as the tested-for version. See GLIBCPP_CHECK_LINKER_FEATURES for more.
23805 glibcpp_min_gnu_ld_version=21200
23807 # Check to see if unspecified "yes" value can win, given results
23809 if test $enable_symvers = yes ; then
23810 if test $with_gnu_ld = yes &&
23811 test $glibcpp_shared_libgcc = yes ;
23813 if test $glibcpp_gnu_ld_version -ge $glibcpp_min_gnu_ld_version ; then
23816 ac_test_CFLAGS="${CFLAGS+set}"
23817 ac_save_CFLAGS="$CFLAGS"
23818 CFLAGS='-shared -Wl,--version-script,conftest.map'
23821 echo 'FOO { global: f[a-z]o; local: *; };' > conftest.map
23823 cat > conftest.$ac_ext <<EOF
23824 #line 23825 "configure
"
23825 #include "confdefs.h
"
23831 if { (eval echo configure:23832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23835 echo "configure
: failed program was
:" >&5
23836 cat conftest.$ac_ext >&5
23839 if test "$ac_test_CFLAGS" = set; then
23840 CFLAGS="$ac_save_CFLAGS"
23842 # this is the suspicious part
23848 # just fail for now
23853 case $enable_symvers in
23855 SYMVER_MAP=config/linker-map.dummy
23858 SYMVER_MAP=config/linker-map.gnu
23859 cat >> confdefs.h <<\EOF
23860 #define _GLIBCPP_SYMVER 1
23869 if test $enable_symvers != no; then
23870 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE=
23871 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE='#'
23873 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE='#'
23874 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE=
23876 echo $ac_n "checking versioning on shared library symbols
""...
$ac_c" 1>&6
23877 echo "configure
:23878: checking versioning on shared library symbols
" >&5
23878 echo "$ac_t""$enable_symvers" 1>&6
23881 # Propagate the target-specific source directories through the build chain.
23882 # (Nothing currently uses cpu_include_dir directly; only ATOMICITYH
23883 # uses it, and it only gets used in this file.)
23884 OS_INC_SRCDIR=config/${os_include_dir}
23885 ATOMICITY_INC_SRCDIR=config/${ATOMICITYH}
23889 # Set up cross-compile flags
23892 if test "$CANADIAN" = yes; then
23900 cat > confcache <<\EOF
23901 # This file is a shell script that caches the results of configure
23902 # tests run on this system so they can be shared between configure
23903 # scripts and configure runs. It is not useful on other systems.
23904 # If it contains results you don't want to keep, you may remove or edit it.
23906 # By default, configure uses ./config.cache as the cache file,
23907 # creating it if it does not exist already. You can give configure
23908 # the --cache-file=FILE option to use a different cache file; that is
23909 # what configure does when it calls configure scripts in
23910 # subdirectories, so they share the cache.
23911 # Giving --cache-file=/dev/null disables caching, for debugging configure.
23912 # config.status only pays attention to the cache file if you give it the
23913 # --recheck option to rerun configure.
23916 # The following way of writing the cache mishandles newlines in values,
23917 # but we know of no workaround that is simple, portable, and efficient.
23918 # So, don't put newlines in cache variables' values.
23919 # Ultrix sh set writes to stderr and can't be redirected directly,
23920 # and sets the high bit in the cache file unless we assign to the vars.
23922 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23924 # `set' does not quote correctly, so add quotes (double-quote substitution
23925 # turns \\\\ into \\, and sed turns \\ into \).
23927 -e "s
/'/'\\\\''/g
" \
23928 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
23931 # `set' quotes correctly as required by POSIX, so do not add quotes.
23932 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
23935 if cmp -s $cache_file confcache; then
23938 if test -w $cache_file; then
23939 echo "updating cache
$cache_file"
23940 cat confcache > $cache_file
23942 echo "not updating unwritable cache
$cache_file"
23948 if test "${multilib}" = "yes"; then
23949 multilib_arg="--enable-multilib"
23954 # Export all the install information
23956 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
23957 # exported correctly in GLIBCPP_CONFIGURE.
23958 glibcpp_toolexecdir=no
23959 glibcpp_toolexeclibdir=no
23960 glibcpp_prefixdir=${prefix}
23962 # Process the option --with-gxx-include-dir=<path to include-files directory>
23963 echo $ac_n "checking
for --with-gxx-include-dir""...
$ac_c" 1>&6
23964 echo "configure
:23965: checking
for --with-gxx-include-dir" >&5
23965 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
23966 if test "${with_gxx_include_dir+set}" = set; then
23967 withval="$with_gxx_include_dir"
23968 case "${withval}" in
23970 { echo "configure
: error
: Missing directory
for --with-gxx-include-dir" 1>&2; exit 1; }
23977 gxx_include_dir=${withval}
23984 echo "$ac_t""$gxx_include_dir" 1>&6
23986 # Process the option "--enable-version-specific-runtime-libs"
23987 echo $ac_n "checking
for --enable-version-specific-runtime-libs""...
$ac_c" 1>&6
23988 echo "configure
:23989: checking
for --enable-version-specific-runtime-libs" >&5
23989 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
23990 if test "${enable_version_specific_runtime_libs+set}" = set; then
23991 enableval="$enable_version_specific_runtime_libs"
23992 case "$enableval" in
23993 yes) version_specific_libs=yes ;;
23994 no) version_specific_libs=no ;;
23995 *) { echo "configure
: error
: Unknown argument to enable
/disable version-specific libs
" 1>&2; exit 1; };;
23998 version_specific_libs=no
24000 # Option set, now we can test it.
24001 echo "$ac_t""$version_specific_libs" 1>&6
24003 # Default case for install directory for include files.
24004 if test $version_specific_libs = no && test $gxx_include_dir = no; then
24005 gxx_include_dir='$(prefix)'/include/c++/${gcc_version}
24008 # Version-specific runtime libs processing.
24009 if test $version_specific_libs = yes; then
24010 # Need the gcc compiler version to know where to install libraries
24011 # and header files if --enable-version-specific-runtime-libs option
24013 if test x"$gxx_include_dir" = x"no
"; then
24014 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/c++
24016 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
24017 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
24020 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
24021 # Install a library built with a cross compiler in tooldir, not libdir.
24022 if test x"$glibcpp_toolexecdir" = x"no
"; then
24023 if test -n "$with_cross_host" &&
24024 test x"$with_cross_host" != x"no
"; then
24025 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
24026 glibcpp_toolexeclibdir='$(toolexecdir)/lib'
24028 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
24029 glibcpp_toolexeclibdir='$(libdir)'
24031 multi_os_directory=`$CC -print-multi-os-directory`
24032 case $multi_os_directory in
24033 .) ;; # Avoid trailing /.
24034 *) glibcpp_toolexeclibdir=$glibcpp_toolexeclibdir/$multi_os_directory ;;
24038 echo $ac_n "checking
for install location
""...
$ac_c" 1>&6
24039 echo "configure
:24040: checking
for install location
" >&5
24040 echo "$ac_t""$gxx_include_dir" 1>&6
24048 # Export all the include and flag information to Makefiles.
24050 # Root level of the build directory include sources.
24051 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include
"
24053 # Passed down for canadian crosses.
24054 if test x"$CANADIAN" = xyes; then
24055 TOPLEVEL_INCLUDES='-I$(includedir)'
24058 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
24060 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
24062 if test x"$need_libio" = xyes; then
24063 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
24067 # Now, export this to all the little Makefiles....
24074 # Optimization flags that are probably a good idea for thrill-seekers. Just
24075 # uncomment the lines below and make, everything else is ready to go...
24076 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
24080 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings'
24084 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
24085 grep "enable shared
" > /dev/null; then
24086 LIBSUPCXX_PICFLAGS=-prefer-pic
24088 LIBSUPCXX_PICFLAGS=
24092 # Generate the various Makefiles, include files, and scripts.
24093 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
24094 # and libsupc++/Makefile.am so that multilib installs will end up
24095 # installed in the correct place. To work around this not being passed
24096 # down from config-ml.in -> top_srcdir/Makefile.am ->
24097 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
24099 cat > confcache <<\EOF
24100 # This file is a shell script that caches the results of configure
24101 # tests run on this system so they can be shared between configure
24102 # scripts and configure runs. It is not useful on other systems.
24103 # If it contains results you don't want to keep, you may remove or edit it.
24105 # By default, configure uses ./config.cache as the cache file,
24106 # creating it if it does not exist already. You can give configure
24107 # the --cache-file=FILE option to use a different cache file; that is
24108 # what configure does when it calls configure scripts in
24109 # subdirectories, so they share the cache.
24110 # Giving --cache-file=/dev/null disables caching, for debugging configure.
24111 # config.status only pays attention to the cache file if you give it the
24112 # --recheck option to rerun configure.
24115 # The following way of writing the cache mishandles newlines in values,
24116 # but we know of no workaround that is simple, portable, and efficient.
24117 # So, don't put newlines in cache variables' values.
24118 # Ultrix sh set writes to stderr and can't be redirected directly,
24119 # and sets the high bit in the cache file unless we assign to the vars.
24121 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24123 # `set' does not quote correctly, so add quotes (double-quote substitution
24124 # turns \\\\ into \\, and sed turns \\ into \).
24126 -e "s
/'/'\\\\''/g
" \
24127 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
24130 # `set' quotes correctly as required by POSIX, so do not add quotes.
24131 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
24134 if cmp -s $cache_file confcache; then
24137 if test -w $cache_file; then
24138 echo "updating cache
$cache_file"
24139 cat confcache > $cache_file
24141 echo "not updating unwritable cache
$cache_file"
24146 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
24148 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
24149 # Let make expand exec_prefix.
24150 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
24152 # Any assignment to VPATH causes Sun make to only execute
24153 # the first set of double-colon rules, so remove it if not needed.
24154 # If there is a colon in the path, we need to keep it.
24155 if test "x
$srcdir" = x.; then
24156 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
24159 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
24161 DEFS=-DHAVE_CONFIG_H
24163 # Without the ".
/", some shells look in PATH for config.status.
24164 : ${CONFIG_STATUS=./config.status}
24166 echo creating $CONFIG_STATUS
24167 rm -f $CONFIG_STATUS
24168 cat > $CONFIG_STATUS <<EOF
24170 # Generated automatically by configure.
24171 # Run this file to recreate the current configuration.
24172 # This directory was configured as follows,
24173 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
24175 # $0 $ac_configure_args
24177 # Compiler output produced by configure, useful for debugging
24178 # configure, is in ./config.log if it exists.
24180 ac_cs_usage="Usage
: $CONFIG_STATUS [--recheck] [--version] [--help]"
24183 case "\
$ac_option" in
24184 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24185 echo "running \
${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
24186 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
24187 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
24188 echo "$CONFIG_STATUS generated by autoconf version
2.13"
24190 -help | --help | --hel | --he | --h)
24191 echo "\
$ac_cs_usage"; exit 0 ;;
24192 *) echo "\
$ac_cs_usage"; exit 1 ;;
24196 ac_given_srcdir=$srcdir
24197 ac_given_INSTALL="$INSTALL"
24199 trap 'rm -fr `echo "Makefile \
24200 include
/Makefile src
/Makefile \
24201 libmath
/Makefile libio
/Makefile libsupc
++/Makefile \
24202 po
/Makefile testsuite
/Makefile mkcheck testsuite_flags config.h
" | sed "s
/:[^
]*//g
"` conftest*; exit 1' 1 2 15
24204 cat >> $CONFIG_STATUS <<EOF
24206 # Protect against being on the right side of a sed subst in config.status.
24207 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
24208 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
24212 s%@CFLAGS@%$CFLAGS%g
24213 s%@CPPFLAGS@%$CPPFLAGS%g
24214 s%@CXXFLAGS@%$CXXFLAGS%g
24215 s%@FFLAGS@%$FFLAGS%g
24217 s%@LDFLAGS@%$LDFLAGS%g
24219 s%@exec_prefix@%$exec_prefix%g
24220 s%@prefix@%$prefix%g
24221 s%@program_transform_name@%$program_transform_name%g
24222 s%@bindir@%$bindir%g
24223 s%@sbindir@%$sbindir%g
24224 s%@libexecdir@%$libexecdir%g
24225 s%@datadir@%$datadir%g
24226 s%@sysconfdir@%$sysconfdir%g
24227 s%@sharedstatedir@%$sharedstatedir%g
24228 s%@localstatedir@%$localstatedir%g
24229 s%@libdir@%$libdir%g
24230 s%@includedir@%$includedir%g
24231 s%@oldincludedir@%$oldincludedir%g
24232 s%@infodir@%$infodir%g
24233 s%@mandir@%$mandir%g
24234 s%@PACKAGE@%$PACKAGE%g
24235 s%@libtool_VERSION@%$libtool_VERSION%g
24236 s%@toplevel_srcdir@%$toplevel_srcdir%g
24238 s%@host_alias@%$host_alias%g
24239 s%@host_cpu@%$host_cpu%g
24240 s%@host_vendor@%$host_vendor%g
24241 s%@host_os@%$host_os%g
24242 s%@target@%$target%g
24243 s%@target_alias@%$target_alias%g
24244 s%@target_cpu@%$target_cpu%g
24245 s%@target_vendor@%$target_vendor%g
24246 s%@target_os@%$target_os%g
24248 s%@build_alias@%$build_alias%g
24249 s%@build_cpu@%$build_cpu%g
24250 s%@build_vendor@%$build_vendor%g
24251 s%@build_os@%$build_os%g
24252 s%@glibcpp_builddir@%$glibcpp_builddir%g
24253 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
24256 s%@glibcpp_basedir@%$glibcpp_basedir%g
24258 s%@glibcpp_CXX@%$glibcpp_CXX%g
24261 s%@RANLIB@%$RANLIB%g
24262 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
24263 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
24264 s%@INSTALL_DATA@%$INSTALL_DATA%g
24265 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
24266 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
24268 s%@EXEEXT@%$EXEEXT%g
24269 s%@VERSION@%$VERSION%g
24270 s%@ACLOCAL@%$ACLOCAL%g
24271 s%@AUTOCONF@%$AUTOCONF%g
24272 s%@AUTOMAKE@%$AUTOMAKE%g
24273 s%@AUTOHEADER@%$AUTOHEADER%g
24274 s%@MAKEINFO@%$MAKEINFO%g
24275 s%@SET_MAKE@%$SET_MAKE%g
24276 s%@OBJEXT@%$OBJEXT%g
24278 s%@LIBTOOL@%$LIBTOOL%g
24279 s%@CXXCPP@%$CXXCPP%g
24280 s%@enable_shared@%$enable_shared%g
24281 s%@enable_static@%$enable_static%g
24282 s%@ifGNUmake@%$ifGNUmake%g
24283 s%@GLIBCPP_BUILD_PCH_TRUE@%$GLIBCPP_BUILD_PCH_TRUE%g
24284 s%@GLIBCPP_BUILD_PCH_FALSE@%$GLIBCPP_BUILD_PCH_FALSE%g
24286 s%@CSTDIO_H@%$CSTDIO_H%g
24287 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
24288 s%@BASIC_FILE_CC@%$BASIC_FILE_CC%g
24289 s%@CCODECVT_C@%$CCODECVT_C%g
24290 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
24291 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
24292 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
24293 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
24294 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
24295 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
24296 s%@libio_la@%$libio_la%g
24297 s%@check_msgfmt@%$check_msgfmt%g
24298 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
24299 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
24300 s%@glibcpp_localedir@%$glibcpp_localedir%g
24301 s%@USE_NLS@%$USE_NLS%g
24302 s%@CLOCALE_H@%$CLOCALE_H%g
24303 s%@CCODECVT_H@%$CCODECVT_H%g
24304 s%@CMESSAGES_H@%$CMESSAGES_H%g
24305 s%@CCODECVT_CC@%$CCODECVT_CC%g
24306 s%@CCOLLATE_CC@%$CCOLLATE_CC%g
24307 s%@CCTYPE_CC@%$CCTYPE_CC%g
24308 s%@CMESSAGES_CC@%$CMESSAGES_CC%g
24309 s%@CMONEY_CC@%$CMONEY_CC%g
24310 s%@CNUMERIC_CC@%$CNUMERIC_CC%g
24311 s%@CTIME_H@%$CTIME_H%g
24312 s%@CTIME_CC@%$CTIME_CC%g
24313 s%@CLOCALE_CC@%$CLOCALE_CC%g
24314 s%@CLOCALE_INTERNAL_H@%$CLOCALE_INTERNAL_H%g
24315 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
24316 s%@GLIBCPP_C_HEADERS_C_TRUE@%$GLIBCPP_C_HEADERS_C_TRUE%g
24317 s%@GLIBCPP_C_HEADERS_C_FALSE@%$GLIBCPP_C_HEADERS_C_FALSE%g
24318 s%@GLIBCPP_C_HEADERS_C_STD_TRUE@%$GLIBCPP_C_HEADERS_C_STD_TRUE%g
24319 s%@GLIBCPP_C_HEADERS_C_STD_FALSE@%$GLIBCPP_C_HEADERS_C_STD_FALSE%g
24320 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE%g
24321 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE%g
24322 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
24323 s%@LIBUNWIND_FLAG@%$LIBUNWIND_FLAG%g
24324 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
24325 s%@GLIBCPP_BUILD_DEBUG_TRUE@%$GLIBCPP_BUILD_DEBUG_TRUE%g
24326 s%@GLIBCPP_BUILD_DEBUG_FALSE@%$GLIBCPP_BUILD_DEBUG_FALSE%g
24327 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
24328 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
24329 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
24330 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
24331 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
24332 s%@GLIBCPP_BUILD_LIBMATH_TRUE@%$GLIBCPP_BUILD_LIBMATH_TRUE%g
24333 s%@GLIBCPP_BUILD_LIBMATH_FALSE@%$GLIBCPP_BUILD_LIBMATH_FALSE%g
24334 s%@GLIBCPP_TEST_WCHAR_T_TRUE@%$GLIBCPP_TEST_WCHAR_T_TRUE%g
24335 s%@GLIBCPP_TEST_WCHAR_T_FALSE@%$GLIBCPP_TEST_WCHAR_T_FALSE%g
24336 s%@WERROR@%$WERROR%g
24337 s%@baseline_file@%$baseline_file%g
24338 s%@GLIBCPP_BUILD_ABI_CHECK_TRUE@%$GLIBCPP_BUILD_ABI_CHECK_TRUE%g
24339 s%@GLIBCPP_BUILD_ABI_CHECK_FALSE@%$GLIBCPP_BUILD_ABI_CHECK_FALSE%g
24340 s%@SYMVER_MAP@%$SYMVER_MAP%g
24341 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g
24342 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g
24343 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
24344 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
24345 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
24346 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
24347 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
24348 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
24349 s%@gxx_include_dir@%$gxx_include_dir%g
24350 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
24351 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
24352 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
24353 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
24354 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
24355 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
24356 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
24357 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
24358 s%@WARN_FLAGS@%$WARN_FLAGS%g
24359 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
24364 cat >> $CONFIG_STATUS <<\EOF
24366 # Split the substitutions into bite-sized pieces for seds with
24367 # small command number limits, like on Digital OSF/1 and HP-UX.
24368 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
24369 ac_file=1 # Number of current file.
24370 ac_beg=1 # First line for current file.
24371 ac_end=$ac_max_sed_cmds # Line after last line for current file.
24374 while $ac_more_lines; do
24375 if test $ac_beg -gt 1; then
24376 sed "1,${ac_beg}d
; ${ac_end}q
" conftest.subs > conftest.s$ac_file
24378 sed "${ac_end}q
" conftest.subs > conftest.s$ac_file
24380 if test ! -s conftest.s$ac_file; then
24381 ac_more_lines=false
24382 rm -f conftest.s$ac_file
24384 if test -z "$ac_sed_cmds"; then
24385 ac_sed_cmds="sed -f conftest.s
$ac_file"
24387 ac_sed_cmds="$ac_sed_cmds |
sed -f conftest.s
$ac_file"
24389 ac_file=`expr $ac_file + 1`
24391 ac_end=`expr $ac_end + $ac_max_sed_cmds`
24394 if test -z "$ac_sed_cmds"; then
24399 cat >> $CONFIG_STATUS <<EOF
24401 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
24402 include
/Makefile src
/Makefile \
24403 libmath
/Makefile libio
/Makefile libsupc
++/Makefile \
24404 po
/Makefile testsuite
/Makefile mkcheck testsuite_flags
"}
24406 cat >> $CONFIG_STATUS <<\EOF
24407 for ac_file in .. $CONFIG_FILES; do if test "x
$ac_file" != x..; then
24408 # Support "outfile
[:infile
[:infile...
]]", defaulting infile="outfile.
in".
24410 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
24411 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
24412 *) ac_file_in="${ac_file}.
in" ;;
24415 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
24417 # Remove last slash and all that follows it. Not all systems have dirname.
24418 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
24419 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
24420 # The file is in a subdirectory.
24421 test ! -d "$ac_dir" && mkdir "$ac_dir"
24422 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
24423 # A "..
/" for each directory in $ac_dir_suffix.
24424 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
24426 ac_dir_suffix= ac_dots=
24429 case "$ac_given_srcdir" in
24431 if test -z "$ac_dots"; then top_srcdir=.
24432 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
24433 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
24434 *) # Relative path.
24435 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
24436 top_srcdir="$ac_dots$ac_given_srcdir" ;;
24439 case "$ac_given_INSTALL" in
24440 [/$]*) INSTALL="$ac_given_INSTALL" ;;
24441 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
24444 echo creating "$ac_file"
24446 configure_input="Generated automatically from
`echo $ac_file_in|sed 's%.*/%%'` by configure.
"
24448 *Makefile*) ac_comsub="1i
\\
24449 # $configure_input" ;;
24453 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
24455 s%@configure_input@%$configure_input%g
24456 s%@srcdir@%$srcdir%g
24457 s%@top_srcdir@%$top_srcdir%g
24458 s%@INSTALL@%$INSTALL%g
24459 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
24463 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24464 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24466 # ac_d sets the value in "#define NAME VALUE" lines.
24467 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24468 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
24471 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
24472 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24473 ac_uB
='\([ ]\)%\1#\2define\3'
24476 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24477 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24478 ac_eB
='$%\1#\2define\3'
24482 if test "${CONFIG_HEADERS+set}" != set; then
24484 cat >> $CONFIG_STATUS <<EOF
24485 CONFIG_HEADERS="config.h"
24487 cat >> $CONFIG_STATUS <<\EOF
24489 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
24490 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24492 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
24493 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
24494 *) ac_file_in
="${ac_file}.in" ;;
24497 echo creating
$ac_file
24499 rm -f conftest.frag conftest.
in conftest.out
24500 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
24501 cat $ac_file_inputs > conftest.
in
24505 # Transform confdefs.h into a sed script conftest.vals that substitutes
24506 # the proper values into config.h.in to produce config.h. And first:
24507 # Protect against being on the right side of a sed subst in config.status.
24508 # Protect against being in an unquoted here document in config.status.
24509 rm -f conftest.vals
24510 cat > conftest.hdr
<<\EOF
24513 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
24517 sed -n -f conftest.hdr confdefs.h > conftest.vals
24520 # This sed command replaces #undef with comments. This is necessary, for
24521 # example, in the case of _POSIX_SOURCE, which is predefined and required
24522 # on some systems where configure will not decide to define it.
24523 cat >> conftest.vals <<\EOF
24524 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
24527 # Break up conftest.vals because some shells have a limit on
24528 # the size of here documents, and old seds have small limits too.
24530 rm -f conftest.tail
24533 ac_lines=`grep -c . conftest.vals
`
24534 # grep -c gives empty output for an empty file on some AIX systems.
24535 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
24536 # Write a limited-size here document to conftest.frag.
24537 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
24538 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
24540 sed -f conftest.frag conftest.in > conftest.out
24542 mv conftest.out conftest.in
24543 ' >> $CONFIG_STATUS
24544 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
24545 rm -f conftest.vals
24546 mv conftest.tail conftest.vals
24548 rm -f conftest.vals
24550 cat >> $CONFIG_STATUS <<\EOF
24551 rm -f conftest.frag conftest.h
24552 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
24553 cat conftest.in >> conftest.h
24555 if cmp -s $ac_file conftest.h 2>/dev/null; then
24556 echo "$ac_file is unchanged"
24559 # Remove last slash and all that follows it. Not all systems have dirname.
24560 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
24561 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
24562 # The file is in a subdirectory.
24563 test ! -d "$ac_dir" && mkdir "$ac_dir"
24566 mv conftest.h $ac_file
24571 cat >> $CONFIG_STATUS <<EOF
24576 with_target_subdir=${with_target_subdir}
24577 with_build_subdir=${with_build_subdir}
24578 with_multisubdir=${with_multisubdir}
24579 ac_configure_args="${multilib_arg} ${ac_configure_args}"
24580 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
24581 glibcpp_basedir=${glibcpp_basedir}
24584 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
24587 cat >> $CONFIG_STATUS <<\EOF
24588 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
24589 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
24590 if test -n "$CONFIG_FILES"; then
24591 if test -n "${with_build_subdir}" || test -n "${with_target_subdir}"; then
24592 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
24593 # Ony modify Makefiles that are just being created.
24594 case " $CONFIG_FILES" in
24596 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
24599 case $CONFIG_FILES in
24601 grep '^MULTISUBDIR =' Makefile >> src/Makefile
24604 case $CONFIG_FILES in
24605 *libsupc++/Makefile*)
24606 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
24612 chmod +x testsuite_flags
24615 chmod +x $CONFIG_STATUS
24616 rm -fr confdefs* $ac_clean_files
24617 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
24621 # Sanity checking & User-visible messages.
24622 # Checks down here, otherwise they get scrolled off before
24623 # the user will notice.
24625 # Trying to get more people to read documentation. Possibly remove
24626 # check and warn all the time. There is no "informational" AC_MSG_
24627 # macro, so these are going to be printed even when --quiet/--silent
24629 if test ! -f stamp-sanity-warned; then
24630 touch stamp-sanity-warned
24632 echo "Please make certain that you read the installation information here:"
24633 echo " faster => ${srcdir}/docs/html/install.html"
24634 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
24636 echo "and the configuration information here:"
24637 echo " faster => ${srcdir}/docs/html/configopts.html"
24638 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
24640 echo "before proceeding with ${_cv_gnu_make_command}."