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 mawk gawk 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 *.$ac_ext | *.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 # Check for available headers.
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 os_include_dir="os
/hpux
"
6284 cat >> confdefs.h <<\EOF
6285 #define HAVE_COPYSIGN 1
6288 cat >> confdefs.h <<\EOF
6289 #define HAVE_COPYSIGNF 1
6292 cat >> confdefs.h <<\EOF
6293 #define HAVE_FREXPF 1
6296 cat >> confdefs.h <<\EOF
6297 #define HAVE_HYPOT 1
6302 cat >> confdefs.h <<\EOF
6303 #define HAVE_FINITE 1
6306 cat >> confdefs.h <<\EOF
6307 #define HAVE_FINITEF 1
6310 cat >> confdefs.h <<\EOF
6311 #define HAVE_ISINF 1
6314 cat >> confdefs.h <<\EOF
6315 #define HAVE_ISINFF 1
6318 cat >> confdefs.h <<\EOF
6319 #define HAVE_ISNAN 1
6322 cat >> confdefs.h <<\EOF
6323 #define HAVE_ISNANF 1
6331 # Check for available headers.
6332 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
6333 machine/endian.h machine/param.h sys/machine.h sys/types.h \
6334 fp.h locale.h float.h inttypes.h
6336 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6337 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6338 echo "configure
:6339: checking
for $ac_hdr" >&5
6339 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6340 echo $ac_n "(cached
) $ac_c" 1>&6
6342 cat > conftest.$ac_ext <<EOF
6343 #line 6344 "configure
"
6344 #include "confdefs.h
"
6347 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6348 { (eval echo configure:6349: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6349 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6350 if test -z "$ac_err"; then
6352 eval "ac_cv_header_
$ac_safe=yes"
6355 echo "configure
: failed program was
:" >&5
6356 cat conftest.$ac_ext >&5
6358 eval "ac_cv_header_
$ac_safe=no
"
6362 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6363 echo "$ac_t""yes" 1>&6
6364 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6365 cat >> confdefs.h <<EOF
6366 #define $ac_tr_hdr 1
6370 echo "$ac_t""no
" 1>&6
6374 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6377 # If we're not using GNU ld, then there's no point in even trying these
6378 # tests. Check for that first. We should have already tested for gld
6379 # by now (in libtool), but require it now just to be safe...
6380 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6381 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6384 # The name set by libtool depends on the version of libtool. Shame on us
6385 # for depending on an impl detail, but c'est la vie. Older versions used
6386 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6387 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6388 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6389 # set (hence we're using an older libtool), then set it.
6390 if test x${with_gnu_ld+set} != xset; then
6391 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6392 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
6395 with_gnu_ld=$ac_cv_prog_gnu_ld
6399 # Start by getting the version number. I think the libtool test already
6400 # does some of this, but throws away the result.
6402 ldver=`$LD --version 2>/dev/null | head -1 | \
6403 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6405 glibcpp_gnu_ld_version=`echo $ldver | \
6406 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6408 # Set --gc-sections.
6409 if test "$with_gnu_ld" = "notbroken
"; then
6410 # GNU ld it is! Joy and bunny rabbits!
6412 # All these tests are for C++; save the language and the compiler flags.
6413 # Need to do this so that g++ won't try to link in libstdc++
6414 ac_test_CFLAGS="${CFLAGS+set}"
6415 ac_save_CFLAGS="$CFLAGS"
6416 CFLAGS='-x c++ -Wl,--gc-sections'
6418 # Check for -Wl,--gc-sections
6419 # XXX This test is broken at the moment, as symbols required for
6420 # linking are now in libsupc++ (not built yet.....). In addition,
6421 # this test has cored on solaris in the past. In addition,
6422 # --gc-sections doesn't really work at the moment (keeps on discarding
6423 # used sections, first .eh_frame and now some of the glibc sections for
6424 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6425 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
6426 echo "configure
:6427: checking
for ld that supports
-Wl,--gc-sections" >&5
6427 if test "$cross_compiling" = yes; then
6428 ac_sectionLDflags=yes
6430 cat > conftest.$ac_ext <<EOF
6431 #line 6432 "configure
"
6432 #include "confdefs.h
"
6442 if { (eval echo configure:6443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6444 ac_sectionLDflags=yes
6446 echo "configure
: failed program was
:" >&5
6447 cat conftest.$ac_ext >&5
6449 ac_sectionLDflags=no
6454 if test "$ac_test_CFLAGS" = set; then
6455 CFLAGS="$ac_save_CFLAGS"
6457 # this is the suspicious part
6460 if test "$ac_sectionLDflags" = "yes"; then
6461 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6463 echo "$ac_t""$ac_sectionLDflags" 1>&6
6466 # Set linker optimization flags.
6467 if test x"$with_gnu_ld" = x"yes"; then
6468 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6475 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
6476 echo "configure
:6477: checking
for main
in -lm" >&5
6477 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
6478 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6479 echo $ac_n "(cached
) $ac_c" 1>&6
6481 ac_save_LIBS="$LIBS"
6483 cat > conftest.$ac_ext <<EOF
6484 #line 6485 "configure
"
6485 #include "confdefs.h
"
6491 if { (eval echo configure:6492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6493 eval "ac_cv_lib_
$ac_lib_var=yes"
6495 echo "configure
: failed program was
:" >&5
6496 cat conftest.$ac_ext >&5
6498 eval "ac_cv_lib_
$ac_lib_var=no
"
6501 LIBS="$ac_save_LIBS"
6504 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6505 echo "$ac_t""yes" 1>&6
6506 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6507 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6508 cat >> confdefs.h <<EOF
6509 #define $ac_tr_lib 1
6515 echo "$ac_t""no
" 1>&6
6518 for ac_func in nan copysignf
6520 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6521 echo "configure
:6522: checking
for $ac_func" >&5
6522 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6523 echo $ac_n "(cached
) $ac_c" 1>&6
6525 cat > conftest.$ac_ext <<EOF
6526 #line 6527 "configure
"
6527 #include "confdefs.h
"
6528 /* System header to define __stub macros and hopefully few prototypes,
6529 which can conflict with char $ac_func(); below. */
6531 /* Override any gcc2 internal prototype to avoid an error. */
6532 /* We use char because int might match the return type of a gcc2
6533 builtin and then its argument prototype would still apply. */
6538 /* The GNU C library defines this for functions which it implements
6539 to always fail with ENOSYS. Some functions are actually named
6540 something starting with __ and the normal name is an alias. */
6541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6549 if { (eval echo configure:6550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6551 eval "ac_cv_func_
$ac_func=yes"
6553 echo "configure
: failed program was
:" >&5
6554 cat conftest.$ac_ext >&5
6556 eval "ac_cv_func_
$ac_func=no
"
6561 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6562 echo "$ac_t""yes" 1>&6
6563 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6564 cat >> confdefs.h <<EOF
6565 #define $ac_tr_func 1
6569 echo "$ac_t""no
" 1>&6
6570 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
6575 for ac_func in __signbit
6577 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6578 echo "configure
:6579: checking
for $ac_func" >&5
6579 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6580 echo $ac_n "(cached
) $ac_c" 1>&6
6582 cat > conftest.$ac_ext <<EOF
6583 #line 6584 "configure
"
6584 #include "confdefs.h
"
6585 /* System header to define __stub macros and hopefully few prototypes,
6586 which can conflict with char $ac_func(); below. */
6588 /* Override any gcc2 internal prototype to avoid an error. */
6589 /* We use char because int might match the return type of a gcc2
6590 builtin and then its argument prototype would still apply. */
6595 /* The GNU C library defines this for functions which it implements
6596 to always fail with ENOSYS. Some functions are actually named
6597 something starting with __ and the normal name is an alias. */
6598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6606 if { (eval echo configure:6607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6608 eval "ac_cv_func_
$ac_func=yes"
6610 echo "configure
: failed program was
:" >&5
6611 cat conftest.$ac_ext >&5
6613 eval "ac_cv_func_
$ac_func=no
"
6618 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6619 echo "$ac_t""yes" 1>&6
6620 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6621 cat >> confdefs.h <<EOF
6622 #define $ac_tr_func 1
6626 echo "$ac_t""no
" 1>&6
6627 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
6631 for ac_func in __signbitf
6633 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6634 echo "configure
:6635: checking
for $ac_func" >&5
6635 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6636 echo $ac_n "(cached
) $ac_c" 1>&6
6638 cat > conftest.$ac_ext <<EOF
6639 #line 6640 "configure
"
6640 #include "confdefs.h
"
6641 /* System header to define __stub macros and hopefully few prototypes,
6642 which can conflict with char $ac_func(); below. */
6644 /* Override any gcc2 internal prototype to avoid an error. */
6645 /* We use char because int might match the return type of a gcc2
6646 builtin and then its argument prototype would still apply. */
6651 /* The GNU C library defines this for functions which it implements
6652 to always fail with ENOSYS. Some functions are actually named
6653 something starting with __ and the normal name is an alias. */
6654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6662 if { (eval echo configure:6663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6664 eval "ac_cv_func_
$ac_func=yes"
6666 echo "configure
: failed program was
:" >&5
6667 cat conftest.$ac_ext >&5
6669 eval "ac_cv_func_
$ac_func=no
"
6674 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6675 echo "$ac_t""yes" 1>&6
6676 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6677 cat >> confdefs.h <<EOF
6678 #define $ac_tr_func 1
6682 echo "$ac_t""no
" 1>&6
6683 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
6688 if test x$ac_cv_func_copysignl = x"yes"; then
6689 for ac_func in __signbitl
6691 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6692 echo "configure
:6693: checking
for $ac_func" >&5
6693 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6694 echo $ac_n "(cached
) $ac_c" 1>&6
6696 cat > conftest.$ac_ext <<EOF
6697 #line 6698 "configure
"
6698 #include "confdefs.h
"
6699 /* System header to define __stub macros and hopefully few prototypes,
6700 which can conflict with char $ac_func(); below. */
6702 /* Override any gcc2 internal prototype to avoid an error. */
6703 /* We use char because int might match the return type of a gcc2
6704 builtin and then its argument prototype would still apply. */
6709 /* The GNU C library defines this for functions which it implements
6710 to always fail with ENOSYS. Some functions are actually named
6711 something starting with __ and the normal name is an alias. */
6712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6720 if { (eval echo configure:6721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6722 eval "ac_cv_func_
$ac_func=yes"
6724 echo "configure
: failed program was
:" >&5
6725 cat conftest.$ac_ext >&5
6727 eval "ac_cv_func_
$ac_func=no
"
6732 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6733 echo "$ac_t""yes" 1>&6
6734 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6735 cat >> confdefs.h <<EOF
6736 #define $ac_tr_func 1
6740 echo "$ac_t""no
" 1>&6
6741 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
6747 if test -n "$LIBMATHOBJS"; then
6753 if test "$need_libmath" = yes; then
6754 GLIBCPP_BUILD_LIBMATH_TRUE=
6755 GLIBCPP_BUILD_LIBMATH_FALSE='#'
6757 GLIBCPP_BUILD_LIBMATH_TRUE='#'
6758 GLIBCPP_BUILD_LIBMATH_FALSE=
6764 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
6765 echo "configure
:6766: checking
for mbstate_t
" >&5
6766 cat > conftest.$ac_ext <<EOF
6767 #line 6768 "configure
"
6768 #include "confdefs.h
"
6771 mbstate_t teststate;
6774 if { (eval echo configure:6775: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6778 echo "configure
: failed program was
:" >&5
6779 cat conftest.$ac_ext >&5
6784 echo "$ac_t""$have_mbstate_t" 1>&6
6785 if test x"$have_mbstate_t" = xyes; then
6786 cat >> confdefs.h <<\EOF
6787 #define HAVE_MBSTATE_T 1
6792 for ac_hdr in wchar.h
6794 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6795 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6796 echo "configure
:6797: checking
for $ac_hdr" >&5
6797 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6798 echo $ac_n "(cached
) $ac_c" 1>&6
6800 cat > conftest.$ac_ext <<EOF
6801 #line 6802 "configure
"
6802 #include "confdefs.h
"
6805 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6806 { (eval echo configure:6807: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6807 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6808 if test -z "$ac_err"; then
6810 eval "ac_cv_header_
$ac_safe=yes"
6813 echo "configure
: failed program was
:" >&5
6814 cat conftest.$ac_ext >&5
6816 eval "ac_cv_header_
$ac_safe=no
"
6820 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6821 echo "$ac_t""yes" 1>&6
6822 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6823 cat >> confdefs.h <<EOF
6824 #define $ac_tr_hdr 1
6828 echo "$ac_t""no
" 1>&6
6833 for ac_hdr in wctype.h
6835 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6836 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6837 echo "configure
:6838: checking
for $ac_hdr" >&5
6838 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6839 echo $ac_n "(cached
) $ac_c" 1>&6
6841 cat > conftest.$ac_ext <<EOF
6842 #line 6843 "configure
"
6843 #include "confdefs.h
"
6846 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6847 { (eval echo configure:6848: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6848 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6849 if test -z "$ac_err"; then
6851 eval "ac_cv_header_
$ac_safe=yes"
6854 echo "configure
: failed program was
:" >&5
6855 cat conftest.$ac_ext >&5
6857 eval "ac_cv_header_
$ac_safe=no
"
6861 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6862 echo "$ac_t""yes" 1>&6
6863 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6864 cat >> confdefs.h <<EOF
6865 #define $ac_tr_hdr 1
6869 echo "$ac_t""no
" 1>&6
6875 if test x"$ac_has_wchar_h" = xyes &&
6876 test x"$ac_has_wctype_h" = xyes &&
6877 test x"$enable_c_mbchar" != xno; then
6879 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
6880 echo "configure
:6881: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
6881 cat > conftest.$ac_ext <<EOF
6882 #line 6883 "configure
"
6883 #include "confdefs.h
"
6886 int i = WCHAR_MIN; int j = WCHAR_MAX;
6889 if { (eval echo configure:6890: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6891 has_wchar_minmax=yes
6893 echo "configure
: failed program was
:" >&5
6894 cat conftest.$ac_ext >&5
6899 echo "$ac_t""$has_wchar_minmax" 1>&6
6901 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
6902 echo "configure
:6903: checking
for WEOF
" >&5
6903 cat > conftest.$ac_ext <<EOF
6904 #line 6905 "configure
"
6905 #include "confdefs.h
"
6913 if { (eval echo configure:6914: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6917 echo "configure
: failed program was
:" >&5
6918 cat conftest.$ac_ext >&5
6923 echo "$ac_t""$has_weof" 1>&6
6926 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6928 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6929 echo "configure
:6930: checking
for $ac_func" >&5
6930 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6931 echo $ac_n "(cached
) $ac_c" 1>&6
6933 cat > conftest.$ac_ext <<EOF
6934 #line 6935 "configure
"
6935 #include "confdefs.h
"
6936 /* System header to define __stub macros and hopefully few prototypes,
6937 which can conflict with char $ac_func(); below. */
6939 /* Override any gcc2 internal prototype to avoid an error. */
6940 /* We use char because int might match the return type of a gcc2
6941 builtin and then its argument prototype would still apply. */
6946 /* The GNU C library defines this for functions which it implements
6947 to always fail with ENOSYS. Some functions are actually named
6948 something starting with __ and the normal name is an alias. */
6949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6957 if { (eval echo configure:6958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6959 eval "ac_cv_func_
$ac_func=yes"
6961 echo "configure
: failed program was
:" >&5
6962 cat conftest.$ac_ext >&5
6964 eval "ac_cv_func_
$ac_func=no
"
6969 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6970 echo "$ac_t""yes" 1>&6
6971 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6972 cat >> confdefs.h <<EOF
6973 #define $ac_tr_func 1
6977 echo "$ac_t""no
" 1>&6
6984 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
6985 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6986 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6987 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6988 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6989 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6991 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6992 echo "configure
:6993: checking
for $ac_func" >&5
6993 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6994 echo $ac_n "(cached
) $ac_c" 1>&6
6996 cat > conftest.$ac_ext <<EOF
6997 #line 6998 "configure
"
6998 #include "confdefs.h
"
6999 /* System header to define __stub macros and hopefully few prototypes,
7000 which can conflict with char $ac_func(); below. */
7002 /* Override any gcc2 internal prototype to avoid an error. */
7003 /* We use char because int might match the return type of a gcc2
7004 builtin and then its argument prototype would still apply. */
7009 /* The GNU C library defines this for functions which it implements
7010 to always fail with ENOSYS. Some functions are actually named
7011 something starting with __ and the normal name is an alias. */
7012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7020 if { (eval echo configure:7021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7022 eval "ac_cv_func_
$ac_func=yes"
7024 echo "configure
: failed program was
:" >&5
7025 cat conftest.$ac_ext >&5
7027 eval "ac_cv_func_
$ac_func=no
"
7032 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7033 echo "$ac_t""yes" 1>&6
7034 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7035 cat >> confdefs.h <<EOF
7036 #define $ac_tr_func 1
7040 echo "$ac_t""no
" 1>&6
7047 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
7048 echo "configure
:7049: checking
for ISO C99 wchar_t support
" >&5
7049 if test x"$has_weof" = xyes &&
7050 test x"$has_wchar_minmax" = xyes &&
7051 test x"$ac_wfuncs" = xyes; then
7052 ac_isoC99_wchar_t=yes
7054 ac_isoC99_wchar_t=no
7056 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7058 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
7059 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
7060 echo "configure
:7061: checking
for iconv.h
" >&5
7061 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7062 echo $ac_n "(cached
) $ac_c" 1>&6
7064 cat > conftest.$ac_ext <<EOF
7065 #line 7066 "configure
"
7066 #include "confdefs.h
"
7069 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7070 { (eval echo configure:7071: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7071 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7072 if test -z "$ac_err"; then
7074 eval "ac_cv_header_
$ac_safe=yes"
7077 echo "configure
: failed program was
:" >&5
7078 cat conftest.$ac_ext >&5
7080 eval "ac_cv_header_
$ac_safe=no
"
7084 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7085 echo "$ac_t""yes" 1>&6
7088 echo "$ac_t""no
" 1>&6
7092 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
7093 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
7094 echo "configure
:7095: checking
for langinfo.h
" >&5
7095 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7096 echo $ac_n "(cached
) $ac_c" 1>&6
7098 cat > conftest.$ac_ext <<EOF
7099 #line 7100 "configure
"
7100 #include "confdefs.h
"
7101 #include <langinfo.h>
7103 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7104 { (eval echo configure:7105: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7105 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7106 if test -z "$ac_err"; then
7108 eval "ac_cv_header_
$ac_safe=yes"
7111 echo "configure
: failed program was
:" >&5
7112 cat conftest.$ac_ext >&5
7114 eval "ac_cv_header_
$ac_safe=no
"
7118 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7119 echo "$ac_t""yes" 1>&6
7120 ac_has_langinfo_h=yes
7122 echo "$ac_t""no
" 1>&6
7123 ac_has_langinfo_h=no
7127 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
7128 echo "configure
:7129: checking
for iconv in -liconv" >&5
7129 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
7130 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7131 echo $ac_n "(cached
) $ac_c" 1>&6
7133 ac_save_LIBS="$LIBS"
7134 LIBS="-liconv $LIBS"
7135 cat > conftest.$ac_ext <<EOF
7136 #line 7137 "configure
"
7137 #include "confdefs.h
"
7138 /* Override any gcc2 internal prototype to avoid an error. */
7139 /* We use char because int might match the return type of a gcc2
7140 builtin and then its argument prototype would still apply. */
7147 if { (eval echo configure:7148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7149 eval "ac_cv_lib_
$ac_lib_var=yes"
7151 echo "configure
: failed program was
:" >&5
7152 cat conftest.$ac_ext >&5
7154 eval "ac_cv_lib_
$ac_lib_var=no
"
7157 LIBS="$ac_save_LIBS"
7160 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7161 echo "$ac_t""yes" 1>&6
7164 echo "$ac_t""no
" 1>&6
7167 ac_save_LIBS="$LIBS"
7168 LIBS="$LIBS $libiconv"
7170 for ac_func in iconv_open iconv_close iconv nl_langinfo
7172 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7173 echo "configure
:7174: checking
for $ac_func" >&5
7174 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7175 echo $ac_n "(cached
) $ac_c" 1>&6
7177 cat > conftest.$ac_ext <<EOF
7178 #line 7179 "configure
"
7179 #include "confdefs.h
"
7180 /* System header to define __stub macros and hopefully few prototypes,
7181 which can conflict with char $ac_func(); below. */
7183 /* Override any gcc2 internal prototype to avoid an error. */
7184 /* We use char because int might match the return type of a gcc2
7185 builtin and then its argument prototype would still apply. */
7190 /* The GNU C library defines this for functions which it implements
7191 to always fail with ENOSYS. Some functions are actually named
7192 something starting with __ and the normal name is an alias. */
7193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7201 if { (eval echo configure:7202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7203 eval "ac_cv_func_
$ac_func=yes"
7205 echo "configure
: failed program was
:" >&5
7206 cat conftest.$ac_ext >&5
7208 eval "ac_cv_func_
$ac_func=no
"
7213 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7214 echo "$ac_t""yes" 1>&6
7215 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7216 cat >> confdefs.h <<EOF
7217 #define $ac_tr_func 1
7222 echo "$ac_t""no
" 1>&6
7228 LIBS="$ac_save_LIBS"
7230 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
7231 echo "configure
:7232: checking
for XPG2 wchar_t support
" >&5
7232 if test x"$ac_has_iconv_h" = xyes &&
7233 test x"$ac_has_langinfo_h" = xyes &&
7234 test x"$ac_XPG2funcs" = xyes; then
7239 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
7241 if test x"$ac_isoC99_wchar_t" = xyes &&
7242 test x"$ac_XPG2_wchar_t" = xyes; then
7243 cat >> confdefs.h <<\EOF
7244 #define _GLIBCPP_USE_WCHAR_T 1
7250 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
7251 echo "configure
:7252: checking
for enabled wchar_t specializations
" >&5
7252 echo "$ac_t""$enable_wchar_t" 1>&6
7255 if test "$enable_wchar_t" = yes; then
7256 GLIBCPP_TEST_WCHAR_T_TRUE=
7257 GLIBCPP_TEST_WCHAR_T_FALSE='#'
7259 GLIBCPP_TEST_WCHAR_T_TRUE='#'
7260 GLIBCPP_TEST_WCHAR_T_FALSE=
7263 os_include_dir="os
/bsd
/netbsd
"
7264 cat >> confdefs.h <<\EOF
7265 #define HAVE_COPYSIGN 1
7268 cat >> confdefs.h <<\EOF
7269 #define HAVE_COPYSIGNF 1
7272 cat >> confdefs.h <<\EOF
7273 #define HAVE_FINITEF 1
7276 cat >> confdefs.h <<\EOF
7277 #define HAVE_FINITE 1
7280 cat >> confdefs.h <<\EOF
7281 #define HAVE_FREXPF 1
7284 cat >> confdefs.h <<\EOF
7285 #define HAVE_HYPOTF 1
7288 cat >> confdefs.h <<\EOF
7289 #define HAVE_ISINF 1
7292 cat >> confdefs.h <<\EOF
7293 #define HAVE_ISINFF 1
7296 cat >> confdefs.h <<\EOF
7297 #define HAVE_ISNAN 1
7300 cat >> confdefs.h <<\EOF
7301 #define HAVE_ISNANF 1
7304 if test x"long_double_math_on_this_cpu
" = x"yes"; then
7305 cat >> confdefs.h <<\EOF
7306 #define HAVE_FINITEL 1
7309 cat >> confdefs.h <<\EOF
7310 #define HAVE_ISINFL 1
7313 cat >> confdefs.h <<\EOF
7314 #define HAVE_ISNANL 1
7320 # Check for available headers.
7321 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
7322 machine/endian.h machine/param.h sys/machine.h sys/types.h \
7323 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
7326 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7327 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
7328 echo "configure
:7329: checking
for $ac_hdr" >&5
7329 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7330 echo $ac_n "(cached
) $ac_c" 1>&6
7332 cat > conftest.$ac_ext <<EOF
7333 #line 7334 "configure
"
7334 #include "confdefs.h
"
7337 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7338 { (eval echo configure:7339: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7339 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7340 if test -z "$ac_err"; then
7342 eval "ac_cv_header_
$ac_safe=yes"
7345 echo "configure
: failed program was
:" >&5
7346 cat conftest.$ac_ext >&5
7348 eval "ac_cv_header_
$ac_safe=no
"
7352 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7353 echo "$ac_t""yes" 1>&6
7354 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7355 cat >> confdefs.h <<EOF
7356 #define $ac_tr_hdr 1
7360 echo "$ac_t""no
" 1>&6
7364 SECTION_FLAGS='-ffunction-sections -fdata-sections'
7367 # If we're not using GNU ld, then there's no point in even trying these
7368 # tests. Check for that first. We should have already tested for gld
7369 # by now (in libtool), but require it now just to be safe...
7370 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7371 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7374 # The name set by libtool depends on the version of libtool. Shame on us
7375 # for depending on an impl detail, but c'est la vie. Older versions used
7376 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7377 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7378 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7379 # set (hence we're using an older libtool), then set it.
7380 if test x${with_gnu_ld+set} != xset; then
7381 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7382 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
7385 with_gnu_ld=$ac_cv_prog_gnu_ld
7389 # Start by getting the version number. I think the libtool test already
7390 # does some of this, but throws away the result.
7392 ldver=`$LD --version 2>/dev/null | head -1 | \
7393 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7395 glibcpp_gnu_ld_version=`echo $ldver | \
7396 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7398 # Set --gc-sections.
7399 if test "$with_gnu_ld" = "notbroken
"; then
7400 # GNU ld it is! Joy and bunny rabbits!
7402 # All these tests are for C++; save the language and the compiler flags.
7403 # Need to do this so that g++ won't try to link in libstdc++
7404 ac_test_CFLAGS="${CFLAGS+set}"
7405 ac_save_CFLAGS="$CFLAGS"
7406 CFLAGS='-x c++ -Wl,--gc-sections'
7408 # Check for -Wl,--gc-sections
7409 # XXX This test is broken at the moment, as symbols required for
7410 # linking are now in libsupc++ (not built yet.....). In addition,
7411 # this test has cored on solaris in the past. In addition,
7412 # --gc-sections doesn't really work at the moment (keeps on discarding
7413 # used sections, first .eh_frame and now some of the glibc sections for
7414 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7415 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
7416 echo "configure
:7417: checking
for ld that supports
-Wl,--gc-sections" >&5
7417 if test "$cross_compiling" = yes; then
7418 ac_sectionLDflags=yes
7420 cat > conftest.$ac_ext <<EOF
7421 #line 7422 "configure
"
7422 #include "confdefs.h
"
7432 if { (eval echo configure:7433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7434 ac_sectionLDflags=yes
7436 echo "configure
: failed program was
:" >&5
7437 cat conftest.$ac_ext >&5
7439 ac_sectionLDflags=no
7444 if test "$ac_test_CFLAGS" = set; then
7445 CFLAGS="$ac_save_CFLAGS"
7447 # this is the suspicious part
7450 if test "$ac_sectionLDflags" = "yes"; then
7451 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7453 echo "$ac_t""$ac_sectionLDflags" 1>&6
7456 # Set linker optimization flags.
7457 if test x"$with_gnu_ld" = x"yes"; then
7458 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7465 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
7466 echo "configure
:7467: checking
for main
in -lm" >&5
7467 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
7468 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7469 echo $ac_n "(cached
) $ac_c" 1>&6
7471 ac_save_LIBS="$LIBS"
7473 cat > conftest.$ac_ext <<EOF
7474 #line 7475 "configure
"
7475 #include "confdefs.h
"
7481 if { (eval echo configure:7482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7483 eval "ac_cv_lib_
$ac_lib_var=yes"
7485 echo "configure
: failed program was
:" >&5
7486 cat conftest.$ac_ext >&5
7488 eval "ac_cv_lib_
$ac_lib_var=no
"
7491 LIBS="$ac_save_LIBS"
7494 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7495 echo "$ac_t""yes" 1>&6
7496 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7497 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7498 cat >> confdefs.h <<EOF
7499 #define $ac_tr_lib 1
7505 echo "$ac_t""no
" 1>&6
7508 for ac_func in nan copysignf
7510 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7511 echo "configure
:7512: checking
for $ac_func" >&5
7512 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7513 echo $ac_n "(cached
) $ac_c" 1>&6
7515 cat > conftest.$ac_ext <<EOF
7516 #line 7517 "configure
"
7517 #include "confdefs.h
"
7518 /* System header to define __stub macros and hopefully few prototypes,
7519 which can conflict with char $ac_func(); below. */
7521 /* Override any gcc2 internal prototype to avoid an error. */
7522 /* We use char because int might match the return type of a gcc2
7523 builtin and then its argument prototype would still apply. */
7528 /* The GNU C library defines this for functions which it implements
7529 to always fail with ENOSYS. Some functions are actually named
7530 something starting with __ and the normal name is an alias. */
7531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7539 if { (eval echo configure:7540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7541 eval "ac_cv_func_
$ac_func=yes"
7543 echo "configure
: failed program was
:" >&5
7544 cat conftest.$ac_ext >&5
7546 eval "ac_cv_func_
$ac_func=no
"
7551 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7552 echo "$ac_t""yes" 1>&6
7553 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7554 cat >> confdefs.h <<EOF
7555 #define $ac_tr_func 1
7559 echo "$ac_t""no
" 1>&6
7560 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
7565 for ac_func in __signbit
7567 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7568 echo "configure
:7569: checking
for $ac_func" >&5
7569 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7570 echo $ac_n "(cached
) $ac_c" 1>&6
7572 cat > conftest.$ac_ext <<EOF
7573 #line 7574 "configure
"
7574 #include "confdefs.h
"
7575 /* System header to define __stub macros and hopefully few prototypes,
7576 which can conflict with char $ac_func(); below. */
7578 /* Override any gcc2 internal prototype to avoid an error. */
7579 /* We use char because int might match the return type of a gcc2
7580 builtin and then its argument prototype would still apply. */
7585 /* The GNU C library defines this for functions which it implements
7586 to always fail with ENOSYS. Some functions are actually named
7587 something starting with __ and the normal name is an alias. */
7588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7596 if { (eval echo configure:7597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7598 eval "ac_cv_func_
$ac_func=yes"
7600 echo "configure
: failed program was
:" >&5
7601 cat conftest.$ac_ext >&5
7603 eval "ac_cv_func_
$ac_func=no
"
7608 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7609 echo "$ac_t""yes" 1>&6
7610 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7611 cat >> confdefs.h <<EOF
7612 #define $ac_tr_func 1
7616 echo "$ac_t""no
" 1>&6
7617 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
7621 for ac_func in __signbitf
7623 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7624 echo "configure
:7625: checking
for $ac_func" >&5
7625 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7626 echo $ac_n "(cached
) $ac_c" 1>&6
7628 cat > conftest.$ac_ext <<EOF
7629 #line 7630 "configure
"
7630 #include "confdefs.h
"
7631 /* System header to define __stub macros and hopefully few prototypes,
7632 which can conflict with char $ac_func(); below. */
7634 /* Override any gcc2 internal prototype to avoid an error. */
7635 /* We use char because int might match the return type of a gcc2
7636 builtin and then its argument prototype would still apply. */
7641 /* The GNU C library defines this for functions which it implements
7642 to always fail with ENOSYS. Some functions are actually named
7643 something starting with __ and the normal name is an alias. */
7644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7652 if { (eval echo configure:7653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7654 eval "ac_cv_func_
$ac_func=yes"
7656 echo "configure
: failed program was
:" >&5
7657 cat conftest.$ac_ext >&5
7659 eval "ac_cv_func_
$ac_func=no
"
7664 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7665 echo "$ac_t""yes" 1>&6
7666 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7667 cat >> confdefs.h <<EOF
7668 #define $ac_tr_func 1
7672 echo "$ac_t""no
" 1>&6
7673 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
7678 if test x$ac_cv_func_copysignl = x"yes"; then
7679 for ac_func in __signbitl
7681 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7682 echo "configure
:7683: checking
for $ac_func" >&5
7683 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7684 echo $ac_n "(cached
) $ac_c" 1>&6
7686 cat > conftest.$ac_ext <<EOF
7687 #line 7688 "configure
"
7688 #include "confdefs.h
"
7689 /* System header to define __stub macros and hopefully few prototypes,
7690 which can conflict with char $ac_func(); below. */
7692 /* Override any gcc2 internal prototype to avoid an error. */
7693 /* We use char because int might match the return type of a gcc2
7694 builtin and then its argument prototype would still apply. */
7699 /* The GNU C library defines this for functions which it implements
7700 to always fail with ENOSYS. Some functions are actually named
7701 something starting with __ and the normal name is an alias. */
7702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7710 if { (eval echo configure:7711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7712 eval "ac_cv_func_
$ac_func=yes"
7714 echo "configure
: failed program was
:" >&5
7715 cat conftest.$ac_ext >&5
7717 eval "ac_cv_func_
$ac_func=no
"
7722 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7723 echo "$ac_t""yes" 1>&6
7724 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7725 cat >> confdefs.h <<EOF
7726 #define $ac_tr_func 1
7730 echo "$ac_t""no
" 1>&6
7731 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
7737 if test -n "$LIBMATHOBJS"; then
7743 if test "$need_libmath" = yes; then
7744 GLIBCPP_BUILD_LIBMATH_TRUE=
7745 GLIBCPP_BUILD_LIBMATH_FALSE='#'
7747 GLIBCPP_BUILD_LIBMATH_TRUE='#'
7748 GLIBCPP_BUILD_LIBMATH_FALSE=
7754 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
7755 echo "configure
:7756: checking
for mbstate_t
" >&5
7756 cat > conftest.$ac_ext <<EOF
7757 #line 7758 "configure
"
7758 #include "confdefs.h
"
7761 mbstate_t teststate;
7764 if { (eval echo configure:7765: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7768 echo "configure
: failed program was
:" >&5
7769 cat conftest.$ac_ext >&5
7774 echo "$ac_t""$have_mbstate_t" 1>&6
7775 if test x"$have_mbstate_t" = xyes; then
7776 cat >> confdefs.h <<\EOF
7777 #define HAVE_MBSTATE_T 1
7782 for ac_hdr in wchar.h
7784 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7785 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
7786 echo "configure
:7787: checking
for $ac_hdr" >&5
7787 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7788 echo $ac_n "(cached
) $ac_c" 1>&6
7790 cat > conftest.$ac_ext <<EOF
7791 #line 7792 "configure
"
7792 #include "confdefs.h
"
7795 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7796 { (eval echo configure:7797: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7797 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7798 if test -z "$ac_err"; then
7800 eval "ac_cv_header_
$ac_safe=yes"
7803 echo "configure
: failed program was
:" >&5
7804 cat conftest.$ac_ext >&5
7806 eval "ac_cv_header_
$ac_safe=no
"
7810 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7811 echo "$ac_t""yes" 1>&6
7812 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7813 cat >> confdefs.h <<EOF
7814 #define $ac_tr_hdr 1
7818 echo "$ac_t""no
" 1>&6
7823 for ac_hdr in wctype.h
7825 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7826 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
7827 echo "configure
:7828: checking
for $ac_hdr" >&5
7828 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7829 echo $ac_n "(cached
) $ac_c" 1>&6
7831 cat > conftest.$ac_ext <<EOF
7832 #line 7833 "configure
"
7833 #include "confdefs.h
"
7836 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7837 { (eval echo configure:7838: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7838 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7839 if test -z "$ac_err"; then
7841 eval "ac_cv_header_
$ac_safe=yes"
7844 echo "configure
: failed program was
:" >&5
7845 cat conftest.$ac_ext >&5
7847 eval "ac_cv_header_
$ac_safe=no
"
7851 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7852 echo "$ac_t""yes" 1>&6
7853 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7854 cat >> confdefs.h <<EOF
7855 #define $ac_tr_hdr 1
7859 echo "$ac_t""no
" 1>&6
7865 if test x"$ac_has_wchar_h" = xyes &&
7866 test x"$ac_has_wctype_h" = xyes &&
7867 test x"$enable_c_mbchar" != xno; then
7869 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
7870 echo "configure
:7871: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
7871 cat > conftest.$ac_ext <<EOF
7872 #line 7873 "configure
"
7873 #include "confdefs.h
"
7876 int i = WCHAR_MIN; int j = WCHAR_MAX;
7879 if { (eval echo configure:7880: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7881 has_wchar_minmax=yes
7883 echo "configure
: failed program was
:" >&5
7884 cat conftest.$ac_ext >&5
7889 echo "$ac_t""$has_wchar_minmax" 1>&6
7891 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
7892 echo "configure
:7893: checking
for WEOF
" >&5
7893 cat > conftest.$ac_ext <<EOF
7894 #line 7895 "configure
"
7895 #include "confdefs.h
"
7903 if { (eval echo configure:7904: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7907 echo "configure
: failed program was
:" >&5
7908 cat conftest.$ac_ext >&5
7913 echo "$ac_t""$has_weof" 1>&6
7916 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
7918 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7919 echo "configure
:7920: checking
for $ac_func" >&5
7920 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7921 echo $ac_n "(cached
) $ac_c" 1>&6
7923 cat > conftest.$ac_ext <<EOF
7924 #line 7925 "configure
"
7925 #include "confdefs.h
"
7926 /* System header to define __stub macros and hopefully few prototypes,
7927 which can conflict with char $ac_func(); below. */
7929 /* Override any gcc2 internal prototype to avoid an error. */
7930 /* We use char because int might match the return type of a gcc2
7931 builtin and then its argument prototype would still apply. */
7936 /* The GNU C library defines this for functions which it implements
7937 to always fail with ENOSYS. Some functions are actually named
7938 something starting with __ and the normal name is an alias. */
7939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7947 if { (eval echo configure:7948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7949 eval "ac_cv_func_
$ac_func=yes"
7951 echo "configure
: failed program was
:" >&5
7952 cat conftest.$ac_ext >&5
7954 eval "ac_cv_func_
$ac_func=no
"
7959 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7960 echo "$ac_t""yes" 1>&6
7961 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7962 cat >> confdefs.h <<EOF
7963 #define $ac_tr_func 1
7967 echo "$ac_t""no
" 1>&6
7974 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
7975 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
7976 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
7977 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
7978 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
7979 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
7981 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7982 echo "configure
:7983: checking
for $ac_func" >&5
7983 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7984 echo $ac_n "(cached
) $ac_c" 1>&6
7986 cat > conftest.$ac_ext <<EOF
7987 #line 7988 "configure
"
7988 #include "confdefs.h
"
7989 /* System header to define __stub macros and hopefully few prototypes,
7990 which can conflict with char $ac_func(); below. */
7992 /* Override any gcc2 internal prototype to avoid an error. */
7993 /* We use char because int might match the return type of a gcc2
7994 builtin and then its argument prototype would still apply. */
7999 /* The GNU C library defines this for functions which it implements
8000 to always fail with ENOSYS. Some functions are actually named
8001 something starting with __ and the normal name is an alias. */
8002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8010 if { (eval echo configure:8011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8012 eval "ac_cv_func_
$ac_func=yes"
8014 echo "configure
: failed program was
:" >&5
8015 cat conftest.$ac_ext >&5
8017 eval "ac_cv_func_
$ac_func=no
"
8022 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8023 echo "$ac_t""yes" 1>&6
8024 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8025 cat >> confdefs.h <<EOF
8026 #define $ac_tr_func 1
8030 echo "$ac_t""no
" 1>&6
8037 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
8038 echo "configure
:8039: checking
for ISO C99 wchar_t support
" >&5
8039 if test x"$has_weof" = xyes &&
8040 test x"$has_wchar_minmax" = xyes &&
8041 test x"$ac_wfuncs" = xyes; then
8042 ac_isoC99_wchar_t=yes
8044 ac_isoC99_wchar_t=no
8046 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
8048 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
8049 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
8050 echo "configure
:8051: checking
for iconv.h
" >&5
8051 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8052 echo $ac_n "(cached
) $ac_c" 1>&6
8054 cat > conftest.$ac_ext <<EOF
8055 #line 8056 "configure
"
8056 #include "confdefs.h
"
8059 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8060 { (eval echo configure:8061: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8061 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8062 if test -z "$ac_err"; then
8064 eval "ac_cv_header_
$ac_safe=yes"
8067 echo "configure
: failed program was
:" >&5
8068 cat conftest.$ac_ext >&5
8070 eval "ac_cv_header_
$ac_safe=no
"
8074 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8075 echo "$ac_t""yes" 1>&6
8078 echo "$ac_t""no
" 1>&6
8082 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
8083 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
8084 echo "configure
:8085: checking
for langinfo.h
" >&5
8085 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8086 echo $ac_n "(cached
) $ac_c" 1>&6
8088 cat > conftest.$ac_ext <<EOF
8089 #line 8090 "configure
"
8090 #include "confdefs.h
"
8091 #include <langinfo.h>
8093 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8094 { (eval echo configure:8095: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8095 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8096 if test -z "$ac_err"; then
8098 eval "ac_cv_header_
$ac_safe=yes"
8101 echo "configure
: failed program was
:" >&5
8102 cat conftest.$ac_ext >&5
8104 eval "ac_cv_header_
$ac_safe=no
"
8108 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8109 echo "$ac_t""yes" 1>&6
8110 ac_has_langinfo_h=yes
8112 echo "$ac_t""no
" 1>&6
8113 ac_has_langinfo_h=no
8117 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
8118 echo "configure
:8119: checking
for iconv in -liconv" >&5
8119 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
8120 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8121 echo $ac_n "(cached
) $ac_c" 1>&6
8123 ac_save_LIBS="$LIBS"
8124 LIBS="-liconv $LIBS"
8125 cat > conftest.$ac_ext <<EOF
8126 #line 8127 "configure
"
8127 #include "confdefs.h
"
8128 /* Override any gcc2 internal prototype to avoid an error. */
8129 /* We use char because int might match the return type of a gcc2
8130 builtin and then its argument prototype would still apply. */
8137 if { (eval echo configure:8138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8139 eval "ac_cv_lib_
$ac_lib_var=yes"
8141 echo "configure
: failed program was
:" >&5
8142 cat conftest.$ac_ext >&5
8144 eval "ac_cv_lib_
$ac_lib_var=no
"
8147 LIBS="$ac_save_LIBS"
8150 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8151 echo "$ac_t""yes" 1>&6
8154 echo "$ac_t""no
" 1>&6
8157 ac_save_LIBS="$LIBS"
8158 LIBS="$LIBS $libiconv"
8160 for ac_func in iconv_open iconv_close iconv nl_langinfo
8162 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8163 echo "configure
:8164: checking
for $ac_func" >&5
8164 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8165 echo $ac_n "(cached
) $ac_c" 1>&6
8167 cat > conftest.$ac_ext <<EOF
8168 #line 8169 "configure
"
8169 #include "confdefs.h
"
8170 /* System header to define __stub macros and hopefully few prototypes,
8171 which can conflict with char $ac_func(); below. */
8173 /* Override any gcc2 internal prototype to avoid an error. */
8174 /* We use char because int might match the return type of a gcc2
8175 builtin and then its argument prototype would still apply. */
8180 /* The GNU C library defines this for functions which it implements
8181 to always fail with ENOSYS. Some functions are actually named
8182 something starting with __ and the normal name is an alias. */
8183 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8191 if { (eval echo configure:8192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8193 eval "ac_cv_func_
$ac_func=yes"
8195 echo "configure
: failed program was
:" >&5
8196 cat conftest.$ac_ext >&5
8198 eval "ac_cv_func_
$ac_func=no
"
8203 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8204 echo "$ac_t""yes" 1>&6
8205 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8206 cat >> confdefs.h <<EOF
8207 #define $ac_tr_func 1
8212 echo "$ac_t""no
" 1>&6
8218 LIBS="$ac_save_LIBS"
8220 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
8221 echo "configure
:8222: checking
for XPG2 wchar_t support
" >&5
8222 if test x"$ac_has_iconv_h" = xyes &&
8223 test x"$ac_has_langinfo_h" = xyes &&
8224 test x"$ac_XPG2funcs" = xyes; then
8229 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
8231 if test x"$ac_isoC99_wchar_t" = xyes &&
8232 test x"$ac_XPG2_wchar_t" = xyes; then
8233 cat >> confdefs.h <<\EOF
8234 #define _GLIBCPP_USE_WCHAR_T 1
8240 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
8241 echo "configure
:8242: checking
for enabled wchar_t specializations
" >&5
8242 echo "$ac_t""$enable_wchar_t" 1>&6
8245 if test "$enable_wchar_t" = yes; then
8246 GLIBCPP_TEST_WCHAR_T_TRUE=
8247 GLIBCPP_TEST_WCHAR_T_FALSE='#'
8249 GLIBCPP_TEST_WCHAR_T_TRUE='#'
8250 GLIBCPP_TEST_WCHAR_T_FALSE=
8253 os_include_dir="os
/bsd
/freebsd
"
8254 cat >> confdefs.h <<\EOF
8255 #define HAVE_LC_MESSAGES 1
8258 cat >> confdefs.h <<\EOF
8259 #define HAVE_DRAND48 1
8262 cat >> confdefs.h <<\EOF
8263 #define HAVE_GETPAGESIZE 1
8266 cat >> confdefs.h <<\EOF
8267 #define HAVE_SETENV 1
8270 cat >> confdefs.h <<\EOF
8271 #define HAVE_SIGSETJMP 1
8274 cat >> confdefs.h <<\EOF
8275 #define HAVE_COPYSIGN 1
8278 cat >> confdefs.h <<\EOF
8279 #define HAVE_COPYSIGNF 1
8282 cat >> confdefs.h <<\EOF
8283 #define HAVE_FINITEF 1
8286 cat >> confdefs.h <<\EOF
8287 #define HAVE_FINITE 1
8290 cat >> confdefs.h <<\EOF
8291 #define HAVE_FREXPF 1
8294 cat >> confdefs.h <<\EOF
8295 #define HAVE_HYPOT 1
8298 cat >> confdefs.h <<\EOF
8299 #define HAVE_HYPOTF 1
8302 cat >> confdefs.h <<\EOF
8303 #define HAVE_ISINF 1
8306 cat >> confdefs.h <<\EOF
8307 #define HAVE_ISNAN 1
8310 cat >> confdefs.h <<\EOF
8311 #define HAVE_ISNANF 1
8314 if test x"long_double_math_on_this_cpu
" = x"yes"; then
8315 cat >> confdefs.h <<\EOF
8316 #define HAVE_FINITEL 1
8319 cat >> confdefs.h <<\EOF
8320 #define HAVE_ISINFL 1
8323 cat >> confdefs.h <<\EOF
8324 #define HAVE_ISNANL 1
8330 for ac_hdr in sys/types.h locale.h float.h
8332 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8333 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
8334 echo "configure
:8335: checking
for $ac_hdr" >&5
8335 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8336 echo $ac_n "(cached
) $ac_c" 1>&6
8338 cat > conftest.$ac_ext <<EOF
8339 #line 8340 "configure
"
8340 #include "confdefs.h
"
8343 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8344 { (eval echo configure:8345: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8345 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8346 if test -z "$ac_err"; then
8348 eval "ac_cv_header_
$ac_safe=yes"
8351 echo "configure
: failed program was
:" >&5
8352 cat conftest.$ac_ext >&5
8354 eval "ac_cv_header_
$ac_safe=no
"
8358 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8359 echo "$ac_t""yes" 1>&6
8360 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8361 cat >> confdefs.h <<EOF
8362 #define $ac_tr_hdr 1
8366 echo "$ac_t""no
" 1>&6
8371 # If we're not using GNU ld, then there's no point in even trying these
8372 # tests. Check for that first. We should have already tested for gld
8373 # by now (in libtool), but require it now just to be safe...
8374 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8375 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8378 # The name set by libtool depends on the version of libtool. Shame on us
8379 # for depending on an impl detail, but c'est la vie. Older versions used
8380 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8381 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8382 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8383 # set (hence we're using an older libtool), then set it.
8384 if test x${with_gnu_ld+set} != xset; then
8385 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8386 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
8389 with_gnu_ld=$ac_cv_prog_gnu_ld
8393 # Start by getting the version number. I think the libtool test already
8394 # does some of this, but throws away the result.
8396 ldver=`$LD --version 2>/dev/null | head -1 | \
8397 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8399 glibcpp_gnu_ld_version=`echo $ldver | \
8400 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8402 # Set --gc-sections.
8403 if test "$with_gnu_ld" = "notbroken
"; then
8404 # GNU ld it is! Joy and bunny rabbits!
8406 # All these tests are for C++; save the language and the compiler flags.
8407 # Need to do this so that g++ won't try to link in libstdc++
8408 ac_test_CFLAGS="${CFLAGS+set}"
8409 ac_save_CFLAGS="$CFLAGS"
8410 CFLAGS='-x c++ -Wl,--gc-sections'
8412 # Check for -Wl,--gc-sections
8413 # XXX This test is broken at the moment, as symbols required for
8414 # linking are now in libsupc++ (not built yet.....). In addition,
8415 # this test has cored on solaris in the past. In addition,
8416 # --gc-sections doesn't really work at the moment (keeps on discarding
8417 # used sections, first .eh_frame and now some of the glibc sections for
8418 # iconv). Bzzzzt. Thanks for playing, maybe next time.
8419 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
8420 echo "configure
:8421: checking
for ld that supports
-Wl,--gc-sections" >&5
8421 if test "$cross_compiling" = yes; then
8422 ac_sectionLDflags=yes
8424 cat > conftest.$ac_ext <<EOF
8425 #line 8426 "configure
"
8426 #include "confdefs.h
"
8436 if { (eval echo configure:8437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8438 ac_sectionLDflags=yes
8440 echo "configure
: failed program was
:" >&5
8441 cat conftest.$ac_ext >&5
8443 ac_sectionLDflags=no
8448 if test "$ac_test_CFLAGS" = set; then
8449 CFLAGS="$ac_save_CFLAGS"
8451 # this is the suspicious part
8454 if test "$ac_sectionLDflags" = "yes"; then
8455 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8457 echo "$ac_t""$ac_sectionLDflags" 1>&6
8460 # Set linker optimization flags.
8461 if test x"$with_gnu_ld" = x"yes"; then
8462 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8469 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
8470 echo "configure
:8471: checking
for main
in -lm" >&5
8471 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
8472 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8473 echo $ac_n "(cached
) $ac_c" 1>&6
8475 ac_save_LIBS="$LIBS"
8477 cat > conftest.$ac_ext <<EOF
8478 #line 8479 "configure
"
8479 #include "confdefs.h
"
8485 if { (eval echo configure:8486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8487 eval "ac_cv_lib_
$ac_lib_var=yes"
8489 echo "configure
: failed program was
:" >&5
8490 cat conftest.$ac_ext >&5
8492 eval "ac_cv_lib_
$ac_lib_var=no
"
8495 LIBS="$ac_save_LIBS"
8498 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8499 echo "$ac_t""yes" 1>&6
8500 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
8501 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
8502 cat >> confdefs.h <<EOF
8503 #define $ac_tr_lib 1
8509 echo "$ac_t""no
" 1>&6
8512 for ac_func in nan copysignf
8514 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8515 echo "configure
:8516: checking
for $ac_func" >&5
8516 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8517 echo $ac_n "(cached
) $ac_c" 1>&6
8519 cat > conftest.$ac_ext <<EOF
8520 #line 8521 "configure
"
8521 #include "confdefs.h
"
8522 /* System header to define __stub macros and hopefully few prototypes,
8523 which can conflict with char $ac_func(); below. */
8525 /* Override any gcc2 internal prototype to avoid an error. */
8526 /* We use char because int might match the return type of a gcc2
8527 builtin and then its argument prototype would still apply. */
8532 /* The GNU C library defines this for functions which it implements
8533 to always fail with ENOSYS. Some functions are actually named
8534 something starting with __ and the normal name is an alias. */
8535 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8543 if { (eval echo configure:8544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8545 eval "ac_cv_func_
$ac_func=yes"
8547 echo "configure
: failed program was
:" >&5
8548 cat conftest.$ac_ext >&5
8550 eval "ac_cv_func_
$ac_func=no
"
8555 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8556 echo "$ac_t""yes" 1>&6
8557 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8558 cat >> confdefs.h <<EOF
8559 #define $ac_tr_func 1
8563 echo "$ac_t""no
" 1>&6
8564 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
8569 for ac_func in __signbit
8571 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8572 echo "configure
:8573: checking
for $ac_func" >&5
8573 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8574 echo $ac_n "(cached
) $ac_c" 1>&6
8576 cat > conftest.$ac_ext <<EOF
8577 #line 8578 "configure
"
8578 #include "confdefs.h
"
8579 /* System header to define __stub macros and hopefully few prototypes,
8580 which can conflict with char $ac_func(); below. */
8582 /* Override any gcc2 internal prototype to avoid an error. */
8583 /* We use char because int might match the return type of a gcc2
8584 builtin and then its argument prototype would still apply. */
8589 /* The GNU C library defines this for functions which it implements
8590 to always fail with ENOSYS. Some functions are actually named
8591 something starting with __ and the normal name is an alias. */
8592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8600 if { (eval echo configure:8601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8602 eval "ac_cv_func_
$ac_func=yes"
8604 echo "configure
: failed program was
:" >&5
8605 cat conftest.$ac_ext >&5
8607 eval "ac_cv_func_
$ac_func=no
"
8612 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8613 echo "$ac_t""yes" 1>&6
8614 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8615 cat >> confdefs.h <<EOF
8616 #define $ac_tr_func 1
8620 echo "$ac_t""no
" 1>&6
8621 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
8625 for ac_func in __signbitf
8627 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8628 echo "configure
:8629: checking
for $ac_func" >&5
8629 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8630 echo $ac_n "(cached
) $ac_c" 1>&6
8632 cat > conftest.$ac_ext <<EOF
8633 #line 8634 "configure
"
8634 #include "confdefs.h
"
8635 /* System header to define __stub macros and hopefully few prototypes,
8636 which can conflict with char $ac_func(); below. */
8638 /* Override any gcc2 internal prototype to avoid an error. */
8639 /* We use char because int might match the return type of a gcc2
8640 builtin and then its argument prototype would still apply. */
8645 /* The GNU C library defines this for functions which it implements
8646 to always fail with ENOSYS. Some functions are actually named
8647 something starting with __ and the normal name is an alias. */
8648 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8656 if { (eval echo configure:8657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8658 eval "ac_cv_func_
$ac_func=yes"
8660 echo "configure
: failed program was
:" >&5
8661 cat conftest.$ac_ext >&5
8663 eval "ac_cv_func_
$ac_func=no
"
8668 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8669 echo "$ac_t""yes" 1>&6
8670 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8671 cat >> confdefs.h <<EOF
8672 #define $ac_tr_func 1
8676 echo "$ac_t""no
" 1>&6
8677 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
8682 if test x$ac_cv_func_copysignl = x"yes"; then
8683 for ac_func in __signbitl
8685 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8686 echo "configure
:8687: checking
for $ac_func" >&5
8687 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8688 echo $ac_n "(cached
) $ac_c" 1>&6
8690 cat > conftest.$ac_ext <<EOF
8691 #line 8692 "configure
"
8692 #include "confdefs.h
"
8693 /* System header to define __stub macros and hopefully few prototypes,
8694 which can conflict with char $ac_func(); below. */
8696 /* Override any gcc2 internal prototype to avoid an error. */
8697 /* We use char because int might match the return type of a gcc2
8698 builtin and then its argument prototype would still apply. */
8703 /* The GNU C library defines this for functions which it implements
8704 to always fail with ENOSYS. Some functions are actually named
8705 something starting with __ and the normal name is an alias. */
8706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8714 if { (eval echo configure:8715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8716 eval "ac_cv_func_
$ac_func=yes"
8718 echo "configure
: failed program was
:" >&5
8719 cat conftest.$ac_ext >&5
8721 eval "ac_cv_func_
$ac_func=no
"
8726 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8727 echo "$ac_t""yes" 1>&6
8728 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8729 cat >> confdefs.h <<EOF
8730 #define $ac_tr_func 1
8734 echo "$ac_t""no
" 1>&6
8735 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
8741 if test -n "$LIBMATHOBJS"; then
8747 if test "$need_libmath" = yes; then
8748 GLIBCPP_BUILD_LIBMATH_TRUE=
8749 GLIBCPP_BUILD_LIBMATH_FALSE='#'
8751 GLIBCPP_BUILD_LIBMATH_TRUE='#'
8752 GLIBCPP_BUILD_LIBMATH_FALSE=
8758 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
8759 echo "configure
:8760: checking
for mbstate_t
" >&5
8760 cat > conftest.$ac_ext <<EOF
8761 #line 8762 "configure
"
8762 #include "confdefs.h
"
8765 mbstate_t teststate;
8768 if { (eval echo configure:8769: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8772 echo "configure
: failed program was
:" >&5
8773 cat conftest.$ac_ext >&5
8778 echo "$ac_t""$have_mbstate_t" 1>&6
8779 if test x"$have_mbstate_t" = xyes; then
8780 cat >> confdefs.h <<\EOF
8781 #define HAVE_MBSTATE_T 1
8786 for ac_hdr in wchar.h
8788 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8789 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
8790 echo "configure
:8791: checking
for $ac_hdr" >&5
8791 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8792 echo $ac_n "(cached
) $ac_c" 1>&6
8794 cat > conftest.$ac_ext <<EOF
8795 #line 8796 "configure
"
8796 #include "confdefs.h
"
8799 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8800 { (eval echo configure:8801: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8801 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8802 if test -z "$ac_err"; then
8804 eval "ac_cv_header_
$ac_safe=yes"
8807 echo "configure
: failed program was
:" >&5
8808 cat conftest.$ac_ext >&5
8810 eval "ac_cv_header_
$ac_safe=no
"
8814 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8815 echo "$ac_t""yes" 1>&6
8816 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8817 cat >> confdefs.h <<EOF
8818 #define $ac_tr_hdr 1
8822 echo "$ac_t""no
" 1>&6
8827 for ac_hdr in wctype.h
8829 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8830 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
8831 echo "configure
:8832: checking
for $ac_hdr" >&5
8832 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8833 echo $ac_n "(cached
) $ac_c" 1>&6
8835 cat > conftest.$ac_ext <<EOF
8836 #line 8837 "configure
"
8837 #include "confdefs.h
"
8840 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8841 { (eval echo configure:8842: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8842 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8843 if test -z "$ac_err"; then
8845 eval "ac_cv_header_
$ac_safe=yes"
8848 echo "configure
: failed program was
:" >&5
8849 cat conftest.$ac_ext >&5
8851 eval "ac_cv_header_
$ac_safe=no
"
8855 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8856 echo "$ac_t""yes" 1>&6
8857 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8858 cat >> confdefs.h <<EOF
8859 #define $ac_tr_hdr 1
8863 echo "$ac_t""no
" 1>&6
8869 if test x"$ac_has_wchar_h" = xyes &&
8870 test x"$ac_has_wctype_h" = xyes &&
8871 test x"$enable_c_mbchar" != xno; then
8873 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
8874 echo "configure
:8875: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
8875 cat > conftest.$ac_ext <<EOF
8876 #line 8877 "configure
"
8877 #include "confdefs.h
"
8880 int i = WCHAR_MIN; int j = WCHAR_MAX;
8883 if { (eval echo configure:8884: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8885 has_wchar_minmax=yes
8887 echo "configure
: failed program was
:" >&5
8888 cat conftest.$ac_ext >&5
8893 echo "$ac_t""$has_wchar_minmax" 1>&6
8895 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
8896 echo "configure
:8897: checking
for WEOF
" >&5
8897 cat > conftest.$ac_ext <<EOF
8898 #line 8899 "configure
"
8899 #include "confdefs.h
"
8907 if { (eval echo configure:8908: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8911 echo "configure
: failed program was
:" >&5
8912 cat conftest.$ac_ext >&5
8917 echo "$ac_t""$has_weof" 1>&6
8920 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
8922 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8923 echo "configure
:8924: checking
for $ac_func" >&5
8924 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8925 echo $ac_n "(cached
) $ac_c" 1>&6
8927 cat > conftest.$ac_ext <<EOF
8928 #line 8929 "configure
"
8929 #include "confdefs.h
"
8930 /* System header to define __stub macros and hopefully few prototypes,
8931 which can conflict with char $ac_func(); below. */
8933 /* Override any gcc2 internal prototype to avoid an error. */
8934 /* We use char because int might match the return type of a gcc2
8935 builtin and then its argument prototype would still apply. */
8940 /* The GNU C library defines this for functions which it implements
8941 to always fail with ENOSYS. Some functions are actually named
8942 something starting with __ and the normal name is an alias. */
8943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8951 if { (eval echo configure:8952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8953 eval "ac_cv_func_
$ac_func=yes"
8955 echo "configure
: failed program was
:" >&5
8956 cat conftest.$ac_ext >&5
8958 eval "ac_cv_func_
$ac_func=no
"
8963 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8964 echo "$ac_t""yes" 1>&6
8965 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8966 cat >> confdefs.h <<EOF
8967 #define $ac_tr_func 1
8971 echo "$ac_t""no
" 1>&6
8978 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
8979 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
8980 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
8981 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
8982 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
8983 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
8985 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8986 echo "configure
:8987: checking
for $ac_func" >&5
8987 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8988 echo $ac_n "(cached
) $ac_c" 1>&6
8990 cat > conftest.$ac_ext <<EOF
8991 #line 8992 "configure
"
8992 #include "confdefs.h
"
8993 /* System header to define __stub macros and hopefully few prototypes,
8994 which can conflict with char $ac_func(); below. */
8996 /* Override any gcc2 internal prototype to avoid an error. */
8997 /* We use char because int might match the return type of a gcc2
8998 builtin and then its argument prototype would still apply. */
9003 /* The GNU C library defines this for functions which it implements
9004 to always fail with ENOSYS. Some functions are actually named
9005 something starting with __ and the normal name is an alias. */
9006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9014 if { (eval echo configure:9015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9016 eval "ac_cv_func_
$ac_func=yes"
9018 echo "configure
: failed program was
:" >&5
9019 cat conftest.$ac_ext >&5
9021 eval "ac_cv_func_
$ac_func=no
"
9026 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9027 echo "$ac_t""yes" 1>&6
9028 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9029 cat >> confdefs.h <<EOF
9030 #define $ac_tr_func 1
9034 echo "$ac_t""no
" 1>&6
9041 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
9042 echo "configure
:9043: checking
for ISO C99 wchar_t support
" >&5
9043 if test x"$has_weof" = xyes &&
9044 test x"$has_wchar_minmax" = xyes &&
9045 test x"$ac_wfuncs" = xyes; then
9046 ac_isoC99_wchar_t=yes
9048 ac_isoC99_wchar_t=no
9050 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
9052 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
9053 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
9054 echo "configure
:9055: checking
for iconv.h
" >&5
9055 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9056 echo $ac_n "(cached
) $ac_c" 1>&6
9058 cat > conftest.$ac_ext <<EOF
9059 #line 9060 "configure
"
9060 #include "confdefs.h
"
9063 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
9064 { (eval echo configure:9065: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9065 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
9066 if test -z "$ac_err"; then
9068 eval "ac_cv_header_
$ac_safe=yes"
9071 echo "configure
: failed program was
:" >&5
9072 cat conftest.$ac_ext >&5
9074 eval "ac_cv_header_
$ac_safe=no
"
9078 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9079 echo "$ac_t""yes" 1>&6
9082 echo "$ac_t""no
" 1>&6
9086 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
9087 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
9088 echo "configure
:9089: checking
for langinfo.h
" >&5
9089 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9090 echo $ac_n "(cached
) $ac_c" 1>&6
9092 cat > conftest.$ac_ext <<EOF
9093 #line 9094 "configure
"
9094 #include "confdefs.h
"
9095 #include <langinfo.h>
9097 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
9098 { (eval echo configure:9099: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9099 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
9100 if test -z "$ac_err"; then
9102 eval "ac_cv_header_
$ac_safe=yes"
9105 echo "configure
: failed program was
:" >&5
9106 cat conftest.$ac_ext >&5
9108 eval "ac_cv_header_
$ac_safe=no
"
9112 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9113 echo "$ac_t""yes" 1>&6
9114 ac_has_langinfo_h=yes
9116 echo "$ac_t""no
" 1>&6
9117 ac_has_langinfo_h=no
9121 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
9122 echo "configure
:9123: checking
for iconv in -liconv" >&5
9123 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
9124 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9125 echo $ac_n "(cached
) $ac_c" 1>&6
9127 ac_save_LIBS="$LIBS"
9128 LIBS="-liconv $LIBS"
9129 cat > conftest.$ac_ext <<EOF
9130 #line 9131 "configure
"
9131 #include "confdefs.h
"
9132 /* Override any gcc2 internal prototype to avoid an error. */
9133 /* We use char because int might match the return type of a gcc2
9134 builtin and then its argument prototype would still apply. */
9141 if { (eval echo configure:9142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9143 eval "ac_cv_lib_
$ac_lib_var=yes"
9145 echo "configure
: failed program was
:" >&5
9146 cat conftest.$ac_ext >&5
9148 eval "ac_cv_lib_
$ac_lib_var=no
"
9151 LIBS="$ac_save_LIBS"
9154 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9155 echo "$ac_t""yes" 1>&6
9158 echo "$ac_t""no
" 1>&6
9161 ac_save_LIBS="$LIBS"
9162 LIBS="$LIBS $libiconv"
9164 for ac_func in iconv_open iconv_close iconv nl_langinfo
9166 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9167 echo "configure
:9168: checking
for $ac_func" >&5
9168 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9169 echo $ac_n "(cached
) $ac_c" 1>&6
9171 cat > conftest.$ac_ext <<EOF
9172 #line 9173 "configure
"
9173 #include "confdefs.h
"
9174 /* System header to define __stub macros and hopefully few prototypes,
9175 which can conflict with char $ac_func(); below. */
9177 /* Override any gcc2 internal prototype to avoid an error. */
9178 /* We use char because int might match the return type of a gcc2
9179 builtin and then its argument prototype would still apply. */
9184 /* The GNU C library defines this for functions which it implements
9185 to always fail with ENOSYS. Some functions are actually named
9186 something starting with __ and the normal name is an alias. */
9187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9195 if { (eval echo configure:9196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9197 eval "ac_cv_func_
$ac_func=yes"
9199 echo "configure
: failed program was
:" >&5
9200 cat conftest.$ac_ext >&5
9202 eval "ac_cv_func_
$ac_func=no
"
9207 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9208 echo "$ac_t""yes" 1>&6
9209 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9210 cat >> confdefs.h <<EOF
9211 #define $ac_tr_func 1
9216 echo "$ac_t""no
" 1>&6
9222 LIBS="$ac_save_LIBS"
9224 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
9225 echo "configure
:9226: checking
for XPG2 wchar_t support
" >&5
9226 if test x"$ac_has_iconv_h" = xyes &&
9227 test x"$ac_has_langinfo_h" = xyes &&
9228 test x"$ac_XPG2funcs" = xyes; then
9233 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
9235 if test x"$ac_isoC99_wchar_t" = xyes &&
9236 test x"$ac_XPG2_wchar_t" = xyes; then
9237 cat >> confdefs.h <<\EOF
9238 #define _GLIBCPP_USE_WCHAR_T 1
9244 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
9245 echo "configure
:9246: checking
for enabled wchar_t specializations
" >&5
9246 echo "$ac_t""$enable_wchar_t" 1>&6
9249 if test "$enable_wchar_t" = yes; then
9250 GLIBCPP_TEST_WCHAR_T_TRUE=
9251 GLIBCPP_TEST_WCHAR_T_FALSE='#'
9253 GLIBCPP_TEST_WCHAR_T_TRUE='#'
9254 GLIBCPP_TEST_WCHAR_T_FALSE=
9257 os_include_dir="os
/mingw32
"
9260 os_include_dir="os
/windiss
"
9263 SECTION_FLAGS='-ffunction-sections -fdata-sections'
9266 # If we're not using GNU ld, then there's no point in even trying these
9267 # tests. Check for that first. We should have already tested for gld
9268 # by now (in libtool), but require it now just to be safe...
9269 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
9270 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
9273 # The name set by libtool depends on the version of libtool. Shame on us
9274 # for depending on an impl detail, but c'est la vie. Older versions used
9275 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
9276 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
9277 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
9278 # set (hence we're using an older libtool), then set it.
9279 if test x${with_gnu_ld+set} != xset; then
9280 if test x${ac_cv_prog_gnu_ld+set} != xset; then
9281 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
9284 with_gnu_ld=$ac_cv_prog_gnu_ld
9288 # Start by getting the version number. I think the libtool test already
9289 # does some of this, but throws away the result.
9291 ldver=`$LD --version 2>/dev/null | head -1 | \
9292 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
9294 glibcpp_gnu_ld_version=`echo $ldver | \
9295 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
9297 # Set --gc-sections.
9298 if test "$with_gnu_ld" = "notbroken
"; then
9299 # GNU ld it is! Joy and bunny rabbits!
9301 # All these tests are for C++; save the language and the compiler flags.
9302 # Need to do this so that g++ won't try to link in libstdc++
9303 ac_test_CFLAGS="${CFLAGS+set}"
9304 ac_save_CFLAGS="$CFLAGS"
9305 CFLAGS='-x c++ -Wl,--gc-sections'
9307 # Check for -Wl,--gc-sections
9308 # XXX This test is broken at the moment, as symbols required for
9309 # linking are now in libsupc++ (not built yet.....). In addition,
9310 # this test has cored on solaris in the past. In addition,
9311 # --gc-sections doesn't really work at the moment (keeps on discarding
9312 # used sections, first .eh_frame and now some of the glibc sections for
9313 # iconv). Bzzzzt. Thanks for playing, maybe next time.
9314 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
9315 echo "configure
:9316: checking
for ld that supports
-Wl,--gc-sections" >&5
9316 if test "$cross_compiling" = yes; then
9317 ac_sectionLDflags=yes
9319 cat > conftest.$ac_ext <<EOF
9320 #line 9321 "configure
"
9321 #include "confdefs.h
"
9331 if { (eval echo configure:9332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9333 ac_sectionLDflags=yes
9335 echo "configure
: failed program was
:" >&5
9336 cat conftest.$ac_ext >&5
9338 ac_sectionLDflags=no
9343 if test "$ac_test_CFLAGS" = set; then
9344 CFLAGS="$ac_save_CFLAGS"
9346 # this is the suspicious part
9349 if test "$ac_sectionLDflags" = "yes"; then
9350 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
9352 echo "$ac_t""$ac_sectionLDflags" 1>&6
9355 # Set linker optimization flags.
9356 if test x"$with_gnu_ld" = x"yes"; then
9357 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
9364 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
9365 echo "configure
:9366: checking
for main
in -lm" >&5
9366 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
9367 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9368 echo $ac_n "(cached
) $ac_c" 1>&6
9370 ac_save_LIBS="$LIBS"
9372 cat > conftest.$ac_ext <<EOF
9373 #line 9374 "configure
"
9374 #include "confdefs.h
"
9380 if { (eval echo configure:9381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9382 eval "ac_cv_lib_
$ac_lib_var=yes"
9384 echo "configure
: failed program was
:" >&5
9385 cat conftest.$ac_ext >&5
9387 eval "ac_cv_lib_
$ac_lib_var=no
"
9390 LIBS="$ac_save_LIBS"
9393 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9394 echo "$ac_t""yes" 1>&6
9395 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
9396 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
9397 cat >> confdefs.h <<EOF
9398 #define $ac_tr_lib 1
9404 echo "$ac_t""no
" 1>&6
9407 for ac_func in nan copysignf
9409 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9410 echo "configure
:9411: checking
for $ac_func" >&5
9411 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9412 echo $ac_n "(cached
) $ac_c" 1>&6
9414 cat > conftest.$ac_ext <<EOF
9415 #line 9416 "configure
"
9416 #include "confdefs.h
"
9417 /* System header to define __stub macros and hopefully few prototypes,
9418 which can conflict with char $ac_func(); below. */
9420 /* Override any gcc2 internal prototype to avoid an error. */
9421 /* We use char because int might match the return type of a gcc2
9422 builtin and then its argument prototype would still apply. */
9427 /* The GNU C library defines this for functions which it implements
9428 to always fail with ENOSYS. Some functions are actually named
9429 something starting with __ and the normal name is an alias. */
9430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9438 if { (eval echo configure:9439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9440 eval "ac_cv_func_
$ac_func=yes"
9442 echo "configure
: failed program was
:" >&5
9443 cat conftest.$ac_ext >&5
9445 eval "ac_cv_func_
$ac_func=no
"
9450 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9451 echo "$ac_t""yes" 1>&6
9452 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9453 cat >> confdefs.h <<EOF
9454 #define $ac_tr_func 1
9458 echo "$ac_t""no
" 1>&6
9459 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
9464 for ac_func in __signbit
9466 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9467 echo "configure
:9468: checking
for $ac_func" >&5
9468 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9469 echo $ac_n "(cached
) $ac_c" 1>&6
9471 cat > conftest.$ac_ext <<EOF
9472 #line 9473 "configure
"
9473 #include "confdefs.h
"
9474 /* System header to define __stub macros and hopefully few prototypes,
9475 which can conflict with char $ac_func(); below. */
9477 /* Override any gcc2 internal prototype to avoid an error. */
9478 /* We use char because int might match the return type of a gcc2
9479 builtin and then its argument prototype would still apply. */
9484 /* The GNU C library defines this for functions which it implements
9485 to always fail with ENOSYS. Some functions are actually named
9486 something starting with __ and the normal name is an alias. */
9487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9495 if { (eval echo configure:9496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9497 eval "ac_cv_func_
$ac_func=yes"
9499 echo "configure
: failed program was
:" >&5
9500 cat conftest.$ac_ext >&5
9502 eval "ac_cv_func_
$ac_func=no
"
9507 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9508 echo "$ac_t""yes" 1>&6
9509 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9510 cat >> confdefs.h <<EOF
9511 #define $ac_tr_func 1
9515 echo "$ac_t""no
" 1>&6
9516 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
9520 for ac_func in __signbitf
9522 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9523 echo "configure
:9524: checking
for $ac_func" >&5
9524 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9525 echo $ac_n "(cached
) $ac_c" 1>&6
9527 cat > conftest.$ac_ext <<EOF
9528 #line 9529 "configure
"
9529 #include "confdefs.h
"
9530 /* System header to define __stub macros and hopefully few prototypes,
9531 which can conflict with char $ac_func(); below. */
9533 /* Override any gcc2 internal prototype to avoid an error. */
9534 /* We use char because int might match the return type of a gcc2
9535 builtin and then its argument prototype would still apply. */
9540 /* The GNU C library defines this for functions which it implements
9541 to always fail with ENOSYS. Some functions are actually named
9542 something starting with __ and the normal name is an alias. */
9543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9551 if { (eval echo configure:9552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9553 eval "ac_cv_func_
$ac_func=yes"
9555 echo "configure
: failed program was
:" >&5
9556 cat conftest.$ac_ext >&5
9558 eval "ac_cv_func_
$ac_func=no
"
9563 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9564 echo "$ac_t""yes" 1>&6
9565 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9566 cat >> confdefs.h <<EOF
9567 #define $ac_tr_func 1
9571 echo "$ac_t""no
" 1>&6
9572 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
9577 if test x$ac_cv_func_copysignl = x"yes"; then
9578 for ac_func in __signbitl
9580 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9581 echo "configure
:9582: checking
for $ac_func" >&5
9582 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9583 echo $ac_n "(cached
) $ac_c" 1>&6
9585 cat > conftest.$ac_ext <<EOF
9586 #line 9587 "configure
"
9587 #include "confdefs.h
"
9588 /* System header to define __stub macros and hopefully few prototypes,
9589 which can conflict with char $ac_func(); below. */
9591 /* Override any gcc2 internal prototype to avoid an error. */
9592 /* We use char because int might match the return type of a gcc2
9593 builtin and then its argument prototype would still apply. */
9598 /* The GNU C library defines this for functions which it implements
9599 to always fail with ENOSYS. Some functions are actually named
9600 something starting with __ and the normal name is an alias. */
9601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9609 if { (eval echo configure:9610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9611 eval "ac_cv_func_
$ac_func=yes"
9613 echo "configure
: failed program was
:" >&5
9614 cat conftest.$ac_ext >&5
9616 eval "ac_cv_func_
$ac_func=no
"
9621 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9622 echo "$ac_t""yes" 1>&6
9623 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9624 cat >> confdefs.h <<EOF
9625 #define $ac_tr_func 1
9629 echo "$ac_t""no
" 1>&6
9630 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
9636 if test -n "$LIBMATHOBJS"; then
9642 if test "$need_libmath" = yes; then
9643 GLIBCPP_BUILD_LIBMATH_TRUE=
9644 GLIBCPP_BUILD_LIBMATH_FALSE='#'
9646 GLIBCPP_BUILD_LIBMATH_TRUE='#'
9647 GLIBCPP_BUILD_LIBMATH_FALSE=
9653 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
9654 echo "configure
:9655: checking
for mbstate_t
" >&5
9655 cat > conftest.$ac_ext <<EOF
9656 #line 9657 "configure
"
9657 #include "confdefs.h
"
9660 mbstate_t teststate;
9663 if { (eval echo configure:9664: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9667 echo "configure
: failed program was
:" >&5
9668 cat conftest.$ac_ext >&5
9673 echo "$ac_t""$have_mbstate_t" 1>&6
9674 if test x"$have_mbstate_t" = xyes; then
9675 cat >> confdefs.h <<\EOF
9676 #define HAVE_MBSTATE_T 1
9681 for ac_hdr in wchar.h
9683 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9684 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
9685 echo "configure
:9686: checking
for $ac_hdr" >&5
9686 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9687 echo $ac_n "(cached
) $ac_c" 1>&6
9689 cat > conftest.$ac_ext <<EOF
9690 #line 9691 "configure
"
9691 #include "confdefs.h
"
9694 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
9695 { (eval echo configure:9696: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9696 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
9697 if test -z "$ac_err"; then
9699 eval "ac_cv_header_
$ac_safe=yes"
9702 echo "configure
: failed program was
:" >&5
9703 cat conftest.$ac_ext >&5
9705 eval "ac_cv_header_
$ac_safe=no
"
9709 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9710 echo "$ac_t""yes" 1>&6
9711 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9712 cat >> confdefs.h <<EOF
9713 #define $ac_tr_hdr 1
9717 echo "$ac_t""no
" 1>&6
9722 for ac_hdr in wctype.h
9724 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9725 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
9726 echo "configure
:9727: checking
for $ac_hdr" >&5
9727 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9728 echo $ac_n "(cached
) $ac_c" 1>&6
9730 cat > conftest.$ac_ext <<EOF
9731 #line 9732 "configure
"
9732 #include "confdefs.h
"
9735 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
9736 { (eval echo configure:9737: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9737 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
9738 if test -z "$ac_err"; then
9740 eval "ac_cv_header_
$ac_safe=yes"
9743 echo "configure
: failed program was
:" >&5
9744 cat conftest.$ac_ext >&5
9746 eval "ac_cv_header_
$ac_safe=no
"
9750 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9751 echo "$ac_t""yes" 1>&6
9752 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9753 cat >> confdefs.h <<EOF
9754 #define $ac_tr_hdr 1
9758 echo "$ac_t""no
" 1>&6
9764 if test x"$ac_has_wchar_h" = xyes &&
9765 test x"$ac_has_wctype_h" = xyes &&
9766 test x"$enable_c_mbchar" != xno; then
9768 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
9769 echo "configure
:9770: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
9770 cat > conftest.$ac_ext <<EOF
9771 #line 9772 "configure
"
9772 #include "confdefs.h
"
9775 int i = WCHAR_MIN; int j = WCHAR_MAX;
9778 if { (eval echo configure:9779: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9780 has_wchar_minmax=yes
9782 echo "configure
: failed program was
:" >&5
9783 cat conftest.$ac_ext >&5
9788 echo "$ac_t""$has_wchar_minmax" 1>&6
9790 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
9791 echo "configure
:9792: checking
for WEOF
" >&5
9792 cat > conftest.$ac_ext <<EOF
9793 #line 9794 "configure
"
9794 #include "confdefs.h
"
9802 if { (eval echo configure:9803: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9806 echo "configure
: failed program was
:" >&5
9807 cat conftest.$ac_ext >&5
9812 echo "$ac_t""$has_weof" 1>&6
9815 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
9817 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9818 echo "configure
:9819: checking
for $ac_func" >&5
9819 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9820 echo $ac_n "(cached
) $ac_c" 1>&6
9822 cat > conftest.$ac_ext <<EOF
9823 #line 9824 "configure
"
9824 #include "confdefs.h
"
9825 /* System header to define __stub macros and hopefully few prototypes,
9826 which can conflict with char $ac_func(); below. */
9828 /* Override any gcc2 internal prototype to avoid an error. */
9829 /* We use char because int might match the return type of a gcc2
9830 builtin and then its argument prototype would still apply. */
9835 /* The GNU C library defines this for functions which it implements
9836 to always fail with ENOSYS. Some functions are actually named
9837 something starting with __ and the normal name is an alias. */
9838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9846 if { (eval echo configure:9847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9848 eval "ac_cv_func_
$ac_func=yes"
9850 echo "configure
: failed program was
:" >&5
9851 cat conftest.$ac_ext >&5
9853 eval "ac_cv_func_
$ac_func=no
"
9858 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9859 echo "$ac_t""yes" 1>&6
9860 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9861 cat >> confdefs.h <<EOF
9862 #define $ac_tr_func 1
9866 echo "$ac_t""no
" 1>&6
9873 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
9874 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
9875 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
9876 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
9877 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
9878 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
9880 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9881 echo "configure
:9882: checking
for $ac_func" >&5
9882 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9883 echo $ac_n "(cached
) $ac_c" 1>&6
9885 cat > conftest.$ac_ext <<EOF
9886 #line 9887 "configure
"
9887 #include "confdefs.h
"
9888 /* System header to define __stub macros and hopefully few prototypes,
9889 which can conflict with char $ac_func(); below. */
9891 /* Override any gcc2 internal prototype to avoid an error. */
9892 /* We use char because int might match the return type of a gcc2
9893 builtin and then its argument prototype would still apply. */
9898 /* The GNU C library defines this for functions which it implements
9899 to always fail with ENOSYS. Some functions are actually named
9900 something starting with __ and the normal name is an alias. */
9901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9909 if { (eval echo configure:9910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9911 eval "ac_cv_func_
$ac_func=yes"
9913 echo "configure
: failed program was
:" >&5
9914 cat conftest.$ac_ext >&5
9916 eval "ac_cv_func_
$ac_func=no
"
9921 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9922 echo "$ac_t""yes" 1>&6
9923 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9924 cat >> confdefs.h <<EOF
9925 #define $ac_tr_func 1
9929 echo "$ac_t""no
" 1>&6
9936 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
9937 echo "configure
:9938: checking
for ISO C99 wchar_t support
" >&5
9938 if test x"$has_weof" = xyes &&
9939 test x"$has_wchar_minmax" = xyes &&
9940 test x"$ac_wfuncs" = xyes; then
9941 ac_isoC99_wchar_t=yes
9943 ac_isoC99_wchar_t=no
9945 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
9947 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
9948 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
9949 echo "configure
:9950: checking
for iconv.h
" >&5
9950 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9951 echo $ac_n "(cached
) $ac_c" 1>&6
9953 cat > conftest.$ac_ext <<EOF
9954 #line 9955 "configure
"
9955 #include "confdefs.h
"
9958 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
9959 { (eval echo configure:9960: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9960 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
9961 if test -z "$ac_err"; then
9963 eval "ac_cv_header_
$ac_safe=yes"
9966 echo "configure
: failed program was
:" >&5
9967 cat conftest.$ac_ext >&5
9969 eval "ac_cv_header_
$ac_safe=no
"
9973 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9974 echo "$ac_t""yes" 1>&6
9977 echo "$ac_t""no
" 1>&6
9981 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
9982 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
9983 echo "configure
:9984: checking
for langinfo.h
" >&5
9984 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9985 echo $ac_n "(cached
) $ac_c" 1>&6
9987 cat > conftest.$ac_ext <<EOF
9988 #line 9989 "configure
"
9989 #include "confdefs.h
"
9990 #include <langinfo.h>
9992 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
9993 { (eval echo configure:9994: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9994 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
9995 if test -z "$ac_err"; then
9997 eval "ac_cv_header_
$ac_safe=yes"
10000 echo "configure
: failed program was
:" >&5
10001 cat conftest.$ac_ext >&5
10003 eval "ac_cv_header_
$ac_safe=no
"
10007 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10008 echo "$ac_t""yes" 1>&6
10009 ac_has_langinfo_h=yes
10011 echo "$ac_t""no
" 1>&6
10012 ac_has_langinfo_h=no
10016 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
10017 echo "configure
:10018: checking
for iconv in -liconv" >&5
10018 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
10019 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10020 echo $ac_n "(cached
) $ac_c" 1>&6
10022 ac_save_LIBS="$LIBS"
10023 LIBS="-liconv $LIBS"
10024 cat > conftest.$ac_ext <<EOF
10025 #line 10026 "configure
"
10026 #include "confdefs.h
"
10027 /* Override any gcc2 internal prototype to avoid an error. */
10028 /* We use char because int might match the return type of a gcc2
10029 builtin and then its argument prototype would still apply. */
10036 if { (eval echo configure:10037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10038 eval "ac_cv_lib_
$ac_lib_var=yes"
10040 echo "configure
: failed program was
:" >&5
10041 cat conftest.$ac_ext >&5
10043 eval "ac_cv_lib_
$ac_lib_var=no
"
10046 LIBS="$ac_save_LIBS"
10049 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10050 echo "$ac_t""yes" 1>&6
10053 echo "$ac_t""no
" 1>&6
10056 ac_save_LIBS="$LIBS"
10057 LIBS="$LIBS $libiconv"
10059 for ac_func in iconv_open iconv_close iconv nl_langinfo
10061 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10062 echo "configure
:10063: checking
for $ac_func" >&5
10063 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10064 echo $ac_n "(cached
) $ac_c" 1>&6
10066 cat > conftest.$ac_ext <<EOF
10067 #line 10068 "configure
"
10068 #include "confdefs.h
"
10069 /* System header to define __stub macros and hopefully few prototypes,
10070 which can conflict with char $ac_func(); below. */
10071 #include <assert.h>
10072 /* Override any gcc2 internal prototype to avoid an error. */
10073 /* We use char because int might match the return type of a gcc2
10074 builtin and then its argument prototype would still apply. */
10079 /* The GNU C library defines this for functions which it implements
10080 to always fail with ENOSYS. Some functions are actually named
10081 something starting with __ and the normal name is an alias. */
10082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10090 if { (eval echo configure:10091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10092 eval "ac_cv_func_
$ac_func=yes"
10094 echo "configure
: failed program was
:" >&5
10095 cat conftest.$ac_ext >&5
10097 eval "ac_cv_func_
$ac_func=no
"
10102 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10103 echo "$ac_t""yes" 1>&6
10104 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10105 cat >> confdefs.h <<EOF
10106 #define $ac_tr_func 1
10111 echo "$ac_t""no
" 1>&6
10117 LIBS="$ac_save_LIBS"
10119 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
10120 echo "configure
:10121: checking
for XPG2 wchar_t support
" >&5
10121 if test x"$ac_has_iconv_h" = xyes &&
10122 test x"$ac_has_langinfo_h" = xyes &&
10123 test x"$ac_XPG2funcs" = xyes; then
10124 ac_XPG2_wchar_t=yes
10128 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
10130 if test x"$ac_isoC99_wchar_t" = xyes &&
10131 test x"$ac_XPG2_wchar_t" = xyes; then
10132 cat >> confdefs.h <<\EOF
10133 #define _GLIBCPP_USE_WCHAR_T 1
10139 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
10140 echo "configure
:10141: checking
for enabled wchar_t specializations
" >&5
10141 echo "$ac_t""$enable_wchar_t" 1>&6
10144 if test "$enable_wchar_t" = yes; then
10145 GLIBCPP_TEST_WCHAR_T_TRUE=
10146 GLIBCPP_TEST_WCHAR_T_FALSE='#'
10148 GLIBCPP_TEST_WCHAR_T_TRUE='#'
10149 GLIBCPP_TEST_WCHAR_T_FALSE=
10152 os_include_dir="os
/qnx
/qnx6.1
"
10153 cat >> confdefs.h <<\EOF
10154 #define HAVE_COSF 1
10157 cat >> confdefs.h <<\EOF
10158 #define HAVE_COSL 1
10161 cat >> confdefs.h <<\EOF
10162 #define HAVE_COSHF 1
10165 cat >> confdefs.h <<\EOF
10166 #define HAVE_COSHL 1
10169 cat >> confdefs.h <<\EOF
10170 #define HAVE_LOGF 1
10173 cat >> confdefs.h <<\EOF
10174 #define HAVE_LOGL 1
10177 cat >> confdefs.h <<\EOF
10178 #define HAVE_LOG10F 1
10181 cat >> confdefs.h <<\EOF
10182 #define HAVE_LOG10L 1
10185 cat >> confdefs.h <<\EOF
10186 #define HAVE_SINF 1
10189 cat >> confdefs.h <<\EOF
10190 #define HAVE_SINL 1
10193 cat >> confdefs.h <<\EOF
10194 #define HAVE_SINHF 1
10197 cat >> confdefs.h <<\EOF
10198 #define HAVE_SINHL 1
10203 os_include_dir="os
/newlib
"
10204 cat >> confdefs.h <<\EOF
10205 #define HAVE_HYPOT 1
10215 cat >> confdefs.h <<\EOF
10216 #define HAVE_ACOSF 1
10219 cat >> confdefs.h <<\EOF
10220 #define HAVE_ASINF 1
10223 cat >> confdefs.h <<\EOF
10224 #define HAVE_ATAN2F 1
10227 cat >> confdefs.h <<\EOF
10228 #define HAVE_ATANF 1
10231 cat >> confdefs.h <<\EOF
10232 #define HAVE_CEILF 1
10235 cat >> confdefs.h <<\EOF
10236 #define HAVE_COPYSIGN 1
10239 cat >> confdefs.h <<\EOF
10240 #define HAVE_COPYSIGNF 1
10243 cat >> confdefs.h <<\EOF
10244 #define HAVE_COSF 1
10247 cat >> confdefs.h <<\EOF
10248 #define HAVE_COSHF 1
10251 cat >> confdefs.h <<\EOF
10252 #define HAVE_EXPF 1
10255 cat >> confdefs.h <<\EOF
10256 #define HAVE_FABSF 1
10259 cat >> confdefs.h <<\EOF
10260 #define HAVE_FLOORF 1
10263 cat >> confdefs.h <<\EOF
10264 #define HAVE_FMODF 1
10267 cat >> confdefs.h <<\EOF
10268 #define HAVE_FREXPF 1
10271 cat >> confdefs.h <<\EOF
10272 #define HAVE_LDEXPF 1
10275 cat >> confdefs.h <<\EOF
10276 #define HAVE_LOG10F 1
10279 cat >> confdefs.h <<\EOF
10280 #define HAVE_LOGF 1
10283 cat >> confdefs.h <<\EOF
10284 #define HAVE_MODFF 1
10287 cat >> confdefs.h <<\EOF
10288 #define HAVE_POWF 1
10291 cat >> confdefs.h <<\EOF
10292 #define HAVE_SINF 1
10295 cat >> confdefs.h <<\EOF
10296 #define HAVE_SINHF 1
10299 cat >> confdefs.h <<\EOF
10300 #define HAVE_SQRTF 1
10303 cat >> confdefs.h <<\EOF
10304 #define HAVE_TANF 1
10307 cat >> confdefs.h <<\EOF
10308 #define HAVE_TANHF 1
10313 # Must replicate generic section since we don't have strtof or strtold.
10314 cat >> confdefs.h <<\EOF
10315 #define HAVE_MMAP 1
10318 cat >> confdefs.h <<\EOF
10319 #define HAVE_ACOSF 1
10322 cat >> confdefs.h <<\EOF
10323 #define HAVE_ASINF 1
10326 cat >> confdefs.h <<\EOF
10327 #define HAVE_ATAN2F 1
10330 cat >> confdefs.h <<\EOF
10331 #define HAVE_ATANF 1
10334 cat >> confdefs.h <<\EOF
10335 #define HAVE_CEILF 1
10338 cat >> confdefs.h <<\EOF
10339 #define HAVE_COPYSIGN 1
10342 cat >> confdefs.h <<\EOF
10343 #define HAVE_COPYSIGNF 1
10346 cat >> confdefs.h <<\EOF
10347 #define HAVE_COSF 1
10350 cat >> confdefs.h <<\EOF
10351 #define HAVE_COSHF 1
10354 cat >> confdefs.h <<\EOF
10355 #define HAVE_EXPF 1
10358 cat >> confdefs.h <<\EOF
10359 #define HAVE_FABSF 1
10362 cat >> confdefs.h <<\EOF
10363 #define HAVE_FLOORF 1
10366 cat >> confdefs.h <<\EOF
10367 #define HAVE_FMODF 1
10370 cat >> confdefs.h <<\EOF
10371 #define HAVE_FREXPF 1
10374 cat >> confdefs.h <<\EOF
10375 #define HAVE_LDEXPF 1
10378 cat >> confdefs.h <<\EOF
10379 #define HAVE_LOG10F 1
10382 cat >> confdefs.h <<\EOF
10383 #define HAVE_LOGF 1
10386 cat >> confdefs.h <<\EOF
10387 #define HAVE_MODFF 1
10390 cat >> confdefs.h <<\EOF
10391 #define HAVE_POWF 1
10394 cat >> confdefs.h <<\EOF
10395 #define HAVE_SINF 1
10398 cat >> confdefs.h <<\EOF
10399 #define HAVE_SINHF 1
10402 cat >> confdefs.h <<\EOF
10403 #define HAVE_SQRTF 1
10406 cat >> confdefs.h <<\EOF
10407 #define HAVE_TANF 1
10410 cat >> confdefs.h <<\EOF
10411 #define HAVE_TANHF 1
10416 # GLIBCPP_CHECK_STDLIB_SUPPORT
10417 cat >> confdefs.h <<\EOF
10418 #define HAVE_STRTOF 1
10421 cat >> confdefs.h <<\EOF
10422 #define HAVE_STRTOLD 1
10426 cat >> confdefs.h <<\EOF
10427 #define HAVE_MMAP 1
10431 cat >> confdefs.h <<\EOF
10432 #define HAVE_ACOSF 1
10435 cat >> confdefs.h <<\EOF
10436 #define HAVE_ASINF 1
10439 cat >> confdefs.h <<\EOF
10440 #define HAVE_ATAN2F 1
10443 cat >> confdefs.h <<\EOF
10444 #define HAVE_ATANF 1
10447 cat >> confdefs.h <<\EOF
10448 #define HAVE_CEILF 1
10451 cat >> confdefs.h <<\EOF
10452 #define HAVE_COPYSIGN 1
10455 cat >> confdefs.h <<\EOF
10456 #define HAVE_COPYSIGNF 1
10459 cat >> confdefs.h <<\EOF
10460 #define HAVE_COSF 1
10463 cat >> confdefs.h <<\EOF
10464 #define HAVE_COSHF 1
10467 cat >> confdefs.h <<\EOF
10468 #define HAVE_EXPF 1
10471 cat >> confdefs.h <<\EOF
10472 #define HAVE_FABSF 1
10475 cat >> confdefs.h <<\EOF
10476 #define HAVE_FLOORF 1
10479 cat >> confdefs.h <<\EOF
10480 #define HAVE_FMODF 1
10483 cat >> confdefs.h <<\EOF
10484 #define HAVE_FREXPF 1
10487 cat >> confdefs.h <<\EOF
10488 #define HAVE_LDEXPF 1
10491 cat >> confdefs.h <<\EOF
10492 #define HAVE_LOG10F 1
10495 cat >> confdefs.h <<\EOF
10496 #define HAVE_LOGF 1
10499 cat >> confdefs.h <<\EOF
10500 #define HAVE_MODFF 1
10503 cat >> confdefs.h <<\EOF
10504 #define HAVE_POWF 1
10507 cat >> confdefs.h <<\EOF
10508 #define HAVE_SINF 1
10511 cat >> confdefs.h <<\EOF
10512 #define HAVE_SINHF 1
10515 cat >> confdefs.h <<\EOF
10516 #define HAVE_SQRTF 1
10519 cat >> confdefs.h <<\EOF
10520 #define HAVE_TANF 1
10523 cat >> confdefs.h <<\EOF
10524 #define HAVE_TANHF 1
10530 # At some point, we should differentiate between architectures
10531 # like x86, which have long double versions, and alpha/powerpc/etc.,
10532 # which don't. For the time being, punt.
10533 if test x"long_double_math_on_this_cpu
" = x"yes"; then
10534 cat >> confdefs.h <<\EOF
10535 #define HAVE_ACOSL 1
10538 cat >> confdefs.h <<\EOF
10539 #define HAVE_ASINL 1
10542 cat >> confdefs.h <<\EOF
10543 #define HAVE_ATAN2L 1
10546 cat >> confdefs.h <<\EOF
10547 #define HAVE_ATANL 1
10550 cat >> confdefs.h <<\EOF
10551 #define HAVE_CEILL 1
10554 cat >> confdefs.h <<\EOF
10555 #define HAVE_COPYSIGNL 1
10558 cat >> confdefs.h <<\EOF
10559 #define HAVE_COSL 1
10562 cat >> confdefs.h <<\EOF
10563 #define HAVE_COSHL 1
10566 cat >> confdefs.h <<\EOF
10567 #define HAVE_EXPL 1
10570 cat >> confdefs.h <<\EOF
10571 #define HAVE_FABSL 1
10574 cat >> confdefs.h <<\EOF
10575 #define HAVE_FLOORL 1
10578 cat >> confdefs.h <<\EOF
10579 #define HAVE_FMODL 1
10582 cat >> confdefs.h <<\EOF
10583 #define HAVE_FREXPL 1
10586 cat >> confdefs.h <<\EOF
10587 #define HAVE_LDEXPL 1
10590 cat >> confdefs.h <<\EOF
10591 #define HAVE_LOG10L 1
10594 cat >> confdefs.h <<\EOF
10595 #define HAVE_LOGL 1
10598 cat >> confdefs.h <<\EOF
10599 #define HAVE_MODFL 1
10602 cat >> confdefs.h <<\EOF
10603 #define HAVE_POWL 1
10606 cat >> confdefs.h <<\EOF
10607 #define HAVE_SINCOSL 1
10610 cat >> confdefs.h <<\EOF
10611 #define HAVE_SINL 1
10614 cat >> confdefs.h <<\EOF
10615 #define HAVE_SINHL 1
10618 cat >> confdefs.h <<\EOF
10619 #define HAVE_SQRTL 1
10622 cat >> confdefs.h <<\EOF
10623 #define HAVE_TANL 1
10626 cat >> confdefs.h <<\EOF
10627 #define HAVE_TANHL 1
10634 # We are being configured natively. We can do more elaborate tests
10635 # that include AC_TRY_COMPILE now, as the linker is assumed to be
10637 GLIBCPP_IS_CROSS_COMPILING=0
10640 # Check for available headers.
10641 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
10642 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
10645 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10646 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
10647 echo "configure
:10648: checking
for $ac_hdr" >&5
10648 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10649 echo $ac_n "(cached
) $ac_c" 1>&6
10651 cat > conftest.$ac_ext <<EOF
10652 #line 10653 "configure
"
10653 #include "confdefs.h
"
10656 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
10657 { (eval echo configure:10658: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10658 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
10659 if test -z "$ac_err"; then
10661 eval "ac_cv_header_
$ac_safe=yes"
10664 echo "configure
: failed program was
:" >&5
10665 cat conftest.$ac_ext >&5
10667 eval "ac_cv_header_
$ac_safe=no
"
10671 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10672 echo "$ac_t""yes" 1>&6
10673 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10674 cat >> confdefs.h <<EOF
10675 #define $ac_tr_hdr 1
10679 echo "$ac_t""no
" 1>&6
10685 # All these tests are for C++; save the language and the compiler flags.
10686 # The CXXFLAGS thing is suspicious, but based on similar bits previously
10687 # found in GLIBCPP_CONFIGURE.
10690 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10691 ac_cpp='$CXXCPP $CPPFLAGS'
10692 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10693 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10694 cross_compiling=$ac_cv_prog_cxx_cross
10696 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10697 ac_save_CXXFLAGS="$CXXFLAGS"
10699 # Check for maintainer-mode bits.
10700 if test x"$USE_MAINTAINER_MODE" = xno; then
10706 # Check for -ffunction-sections -fdata-sections
10707 echo $ac_n "checking
for g
++ that supports
-ffunction-sections -fdata-sections""...
$ac_c" 1>&6
10708 echo "configure
:10709: checking
for g
++ that supports
-ffunction-sections -fdata-sections" >&5
10709 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
10710 cat > conftest.$ac_ext <<EOF
10711 #line 10712 "configure
"
10712 #include "confdefs.h
"
10719 if { (eval echo configure:10720: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10723 echo "configure
: failed program was
:" >&5
10724 cat conftest.$ac_ext >&5
10729 if test "$ac_test_CXXFLAGS" = set; then
10730 CXXFLAGS="$ac_save_CXXFLAGS"
10732 # this is the suspicious part
10735 if test x"$ac_fdsections" = x"yes"; then
10736 SECTION_FLAGS='-ffunction-sections -fdata-sections'
10738 echo "$ac_t""$ac_fdsections" 1>&6
10741 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10742 ac_cpp='$CPP $CPPFLAGS'
10743 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10744 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10745 cross_compiling=$ac_cv_prog_cc_cross
10751 # If we're not using GNU ld, then there's no point in even trying these
10752 # tests. Check for that first. We should have already tested for gld
10753 # by now (in libtool), but require it now just to be safe...
10754 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
10755 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
10758 # The name set by libtool depends on the version of libtool. Shame on us
10759 # for depending on an impl detail, but c'est la vie. Older versions used
10760 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
10761 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
10762 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
10763 # set (hence we're using an older libtool), then set it.
10764 if test x${with_gnu_ld+set} != xset; then
10765 if test x${ac_cv_prog_gnu_ld+set} != xset; then
10766 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
10769 with_gnu_ld=$ac_cv_prog_gnu_ld
10773 # Start by getting the version number. I think the libtool test already
10774 # does some of this, but throws away the result.
10776 ldver=`$LD --version 2>/dev/null | head -1 | \
10777 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
10779 glibcpp_gnu_ld_version=`echo $ldver | \
10780 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
10782 # Set --gc-sections.
10783 if test "$with_gnu_ld" = "notbroken
"; then
10784 # GNU ld it is! Joy and bunny rabbits!
10786 # All these tests are for C++; save the language and the compiler flags.
10787 # Need to do this so that g++ won't try to link in libstdc++
10788 ac_test_CFLAGS="${CFLAGS+set}"
10789 ac_save_CFLAGS="$CFLAGS"
10790 CFLAGS='-x c++ -Wl,--gc-sections'
10792 # Check for -Wl,--gc-sections
10793 # XXX This test is broken at the moment, as symbols required for
10794 # linking are now in libsupc++ (not built yet.....). In addition,
10795 # this test has cored on solaris in the past. In addition,
10796 # --gc-sections doesn't really work at the moment (keeps on discarding
10797 # used sections, first .eh_frame and now some of the glibc sections for
10798 # iconv). Bzzzzt. Thanks for playing, maybe next time.
10799 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
10800 echo "configure
:10801: checking
for ld that supports
-Wl,--gc-sections" >&5
10801 if test "$cross_compiling" = yes; then
10802 ac_sectionLDflags=yes
10804 cat > conftest.$ac_ext <<EOF
10805 #line 10806 "configure
"
10806 #include "confdefs.h
"
10816 if { (eval echo configure:10817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10818 ac_sectionLDflags=yes
10820 echo "configure
: failed program was
:" >&5
10821 cat conftest.$ac_ext >&5
10823 ac_sectionLDflags=no
10828 if test "$ac_test_CFLAGS" = set; then
10829 CFLAGS="$ac_save_CFLAGS"
10831 # this is the suspicious part
10834 if test "$ac_sectionLDflags" = "yes"; then
10835 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
10837 echo "$ac_t""$ac_sectionLDflags" 1>&6
10840 # Set linker optimization flags.
10841 if test x"$with_gnu_ld" = x"yes"; then
10842 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
10849 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10850 ac_save_CXXFLAGS="$CXXFLAGS"
10851 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
10853 echo $ac_n "checking
for sin
in -lm""...
$ac_c" 1>&6
10854 echo "configure
:10855: checking
for sin
in -lm" >&5
10855 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
10856 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10857 echo $ac_n "(cached
) $ac_c" 1>&6
10859 ac_save_LIBS="$LIBS"
10861 cat > conftest.$ac_ext <<EOF
10862 #line 10863 "configure
"
10863 #include "confdefs.h
"
10864 /* Override any gcc2 internal prototype to avoid an error. */
10865 /* We use char because int might match the return type of a gcc2
10866 builtin and then its argument prototype would still apply. */
10873 if { (eval echo configure:10874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10875 eval "ac_cv_lib_
$ac_lib_var=yes"
10877 echo "configure
: failed program was
:" >&5
10878 cat conftest.$ac_ext >&5
10880 eval "ac_cv_lib_
$ac_lib_var=no
"
10883 LIBS="$ac_save_LIBS"
10886 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10887 echo "$ac_t""yes" 1>&6
10890 echo "$ac_t""no
" 1>&6
10893 ac_save_LIBS="$LIBS"
10898 echo $ac_n "checking
for isinf declaration
""...
$ac_c" 1>&6
10899 echo "configure
:10900: checking
for isinf declaration
" >&5
10900 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
10901 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
10902 echo $ac_n "(cached
) $ac_c" 1>&6
10907 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10908 ac_cpp='$CXXCPP $CPPFLAGS'
10909 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10910 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10911 cross_compiling=$ac_cv_prog_cxx_cross
10913 cat > conftest.$ac_ext <<EOF
10914 #line 10915 "configure
"
10915 #include "confdefs.h
"
10917 #ifdef HAVE_IEEEFP_H
10918 #include <ieeefp.h>
10925 if { (eval echo configure:10926: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10927 glibcpp_cv_func_isinf_use=yes
10929 echo "configure
: failed program was
:" >&5
10930 cat conftest.$ac_ext >&5
10932 glibcpp_cv_func_isinf_use=no
10936 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10937 ac_cpp='$CPP $CPPFLAGS'
10938 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10939 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10940 cross_compiling=$ac_cv_prog_cc_cross
10946 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
10948 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
10949 for ac_func in isinf
10951 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10952 echo "configure
:10953: checking
for $ac_func" >&5
10953 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10954 echo $ac_n "(cached
) $ac_c" 1>&6
10956 cat > conftest.$ac_ext <<EOF
10957 #line 10958 "configure
"
10958 #include "confdefs.h
"
10959 /* System header to define __stub macros and hopefully few prototypes,
10960 which can conflict with char $ac_func(); below. */
10961 #include <assert.h>
10962 /* Override any gcc2 internal prototype to avoid an error. */
10963 /* We use char because int might match the return type of a gcc2
10964 builtin and then its argument prototype would still apply. */
10969 /* The GNU C library defines this for functions which it implements
10970 to always fail with ENOSYS. Some functions are actually named
10971 something starting with __ and the normal name is an alias. */
10972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10980 if { (eval echo configure:10981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10982 eval "ac_cv_func_
$ac_func=yes"
10984 echo "configure
: failed program was
:" >&5
10985 cat conftest.$ac_ext >&5
10987 eval "ac_cv_func_
$ac_func=no
"
10992 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10993 echo "$ac_t""yes" 1>&6
10994 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10995 cat >> confdefs.h <<EOF
10996 #define $ac_tr_func 1
11000 echo "$ac_t""no
" 1>&6
11006 echo $ac_n "checking
for _isinf declaration
""...
$ac_c" 1>&6
11007 echo "configure
:11008: checking
for _isinf declaration
" >&5
11008 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
11009 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
11010 echo $ac_n "(cached
) $ac_c" 1>&6
11015 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11016 ac_cpp='$CXXCPP $CPPFLAGS'
11017 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11018 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11019 cross_compiling=$ac_cv_prog_cxx_cross
11021 cat > conftest.$ac_ext <<EOF
11022 #line 11023 "configure
"
11023 #include "confdefs.h
"
11025 #ifdef HAVE_IEEEFP_H
11026 #include <ieeefp.h>
11033 if { (eval echo configure:11034: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11035 glibcpp_cv_func__isinf_use=yes
11037 echo "configure
: failed program was
:" >&5
11038 cat conftest.$ac_ext >&5
11040 glibcpp_cv_func__isinf_use=no
11044 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11045 ac_cpp='$CPP $CPPFLAGS'
11046 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11047 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11048 cross_compiling=$ac_cv_prog_cc_cross
11054 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
11056 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
11057 for ac_func in _isinf
11059 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11060 echo "configure
:11061: checking
for $ac_func" >&5
11061 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11062 echo $ac_n "(cached
) $ac_c" 1>&6
11064 cat > conftest.$ac_ext <<EOF
11065 #line 11066 "configure
"
11066 #include "confdefs.h
"
11067 /* System header to define __stub macros and hopefully few prototypes,
11068 which can conflict with char $ac_func(); below. */
11069 #include <assert.h>
11070 /* Override any gcc2 internal prototype to avoid an error. */
11071 /* We use char because int might match the return type of a gcc2
11072 builtin and then its argument prototype would still apply. */
11077 /* The GNU C library defines this for functions which it implements
11078 to always fail with ENOSYS. Some functions are actually named
11079 something starting with __ and the normal name is an alias. */
11080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11088 if { (eval echo configure:11089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11090 eval "ac_cv_func_
$ac_func=yes"
11092 echo "configure
: failed program was
:" >&5
11093 cat conftest.$ac_ext >&5
11095 eval "ac_cv_func_
$ac_func=no
"
11100 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11101 echo "$ac_t""yes" 1>&6
11102 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11103 cat >> confdefs.h <<EOF
11104 #define $ac_tr_func 1
11108 echo "$ac_t""no
" 1>&6
11117 echo $ac_n "checking
for isnan declaration
""...
$ac_c" 1>&6
11118 echo "configure
:11119: checking
for isnan declaration
" >&5
11119 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
11120 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
11121 echo $ac_n "(cached
) $ac_c" 1>&6
11126 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11127 ac_cpp='$CXXCPP $CPPFLAGS'
11128 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11129 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11130 cross_compiling=$ac_cv_prog_cxx_cross
11132 cat > conftest.$ac_ext <<EOF
11133 #line 11134 "configure
"
11134 #include "confdefs.h
"
11136 #ifdef HAVE_IEEEFP_H
11137 #include <ieeefp.h>
11144 if { (eval echo configure:11145: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11146 glibcpp_cv_func_isnan_use=yes
11148 echo "configure
: failed program was
:" >&5
11149 cat conftest.$ac_ext >&5
11151 glibcpp_cv_func_isnan_use=no
11155 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11156 ac_cpp='$CPP $CPPFLAGS'
11157 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11158 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11159 cross_compiling=$ac_cv_prog_cc_cross
11165 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
11167 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
11168 for ac_func in isnan
11170 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11171 echo "configure
:11172: checking
for $ac_func" >&5
11172 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11173 echo $ac_n "(cached
) $ac_c" 1>&6
11175 cat > conftest.$ac_ext <<EOF
11176 #line 11177 "configure
"
11177 #include "confdefs.h
"
11178 /* System header to define __stub macros and hopefully few prototypes,
11179 which can conflict with char $ac_func(); below. */
11180 #include <assert.h>
11181 /* Override any gcc2 internal prototype to avoid an error. */
11182 /* We use char because int might match the return type of a gcc2
11183 builtin and then its argument prototype would still apply. */
11188 /* The GNU C library defines this for functions which it implements
11189 to always fail with ENOSYS. Some functions are actually named
11190 something starting with __ and the normal name is an alias. */
11191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11199 if { (eval echo configure:11200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11201 eval "ac_cv_func_
$ac_func=yes"
11203 echo "configure
: failed program was
:" >&5
11204 cat conftest.$ac_ext >&5
11206 eval "ac_cv_func_
$ac_func=no
"
11211 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11212 echo "$ac_t""yes" 1>&6
11213 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11214 cat >> confdefs.h <<EOF
11215 #define $ac_tr_func 1
11219 echo "$ac_t""no
" 1>&6
11225 echo $ac_n "checking
for _isnan declaration
""...
$ac_c" 1>&6
11226 echo "configure
:11227: checking
for _isnan declaration
" >&5
11227 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
11228 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
11229 echo $ac_n "(cached
) $ac_c" 1>&6
11234 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11235 ac_cpp='$CXXCPP $CPPFLAGS'
11236 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11237 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11238 cross_compiling=$ac_cv_prog_cxx_cross
11240 cat > conftest.$ac_ext <<EOF
11241 #line 11242 "configure
"
11242 #include "confdefs.h
"
11244 #ifdef HAVE_IEEEFP_H
11245 #include <ieeefp.h>
11252 if { (eval echo configure:11253: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11254 glibcpp_cv_func__isnan_use=yes
11256 echo "configure
: failed program was
:" >&5
11257 cat conftest.$ac_ext >&5
11259 glibcpp_cv_func__isnan_use=no
11263 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11264 ac_cpp='$CPP $CPPFLAGS'
11265 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11266 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11267 cross_compiling=$ac_cv_prog_cc_cross
11273 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
11275 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
11276 for ac_func in _isnan
11278 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11279 echo "configure
:11280: checking
for $ac_func" >&5
11280 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11281 echo $ac_n "(cached
) $ac_c" 1>&6
11283 cat > conftest.$ac_ext <<EOF
11284 #line 11285 "configure
"
11285 #include "confdefs.h
"
11286 /* System header to define __stub macros and hopefully few prototypes,
11287 which can conflict with char $ac_func(); below. */
11288 #include <assert.h>
11289 /* Override any gcc2 internal prototype to avoid an error. */
11290 /* We use char because int might match the return type of a gcc2
11291 builtin and then its argument prototype would still apply. */
11296 /* The GNU C library defines this for functions which it implements
11297 to always fail with ENOSYS. Some functions are actually named
11298 something starting with __ and the normal name is an alias. */
11299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11307 if { (eval echo configure:11308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11309 eval "ac_cv_func_
$ac_func=yes"
11311 echo "configure
: failed program was
:" >&5
11312 cat conftest.$ac_ext >&5
11314 eval "ac_cv_func_
$ac_func=no
"
11319 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11320 echo "$ac_t""yes" 1>&6
11321 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11322 cat >> confdefs.h <<EOF
11323 #define $ac_tr_func 1
11327 echo "$ac_t""no
" 1>&6
11336 echo $ac_n "checking
for finite declaration
""...
$ac_c" 1>&6
11337 echo "configure
:11338: checking
for finite declaration
" >&5
11338 if test x${glibcpp_cv_func_finite_use+set} != xset; then
11339 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
11340 echo $ac_n "(cached
) $ac_c" 1>&6
11345 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11346 ac_cpp='$CXXCPP $CPPFLAGS'
11347 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11348 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11349 cross_compiling=$ac_cv_prog_cxx_cross
11351 cat > conftest.$ac_ext <<EOF
11352 #line 11353 "configure
"
11353 #include "confdefs.h
"
11355 #ifdef HAVE_IEEEFP_H
11356 #include <ieeefp.h>
11363 if { (eval echo configure:11364: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11365 glibcpp_cv_func_finite_use=yes
11367 echo "configure
: failed program was
:" >&5
11368 cat conftest.$ac_ext >&5
11370 glibcpp_cv_func_finite_use=no
11374 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11375 ac_cpp='$CPP $CPPFLAGS'
11376 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11377 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11378 cross_compiling=$ac_cv_prog_cc_cross
11384 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
11386 if test x$glibcpp_cv_func_finite_use = x"yes"; then
11387 for ac_func in finite
11389 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11390 echo "configure
:11391: checking
for $ac_func" >&5
11391 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11392 echo $ac_n "(cached
) $ac_c" 1>&6
11394 cat > conftest.$ac_ext <<EOF
11395 #line 11396 "configure
"
11396 #include "confdefs.h
"
11397 /* System header to define __stub macros and hopefully few prototypes,
11398 which can conflict with char $ac_func(); below. */
11399 #include <assert.h>
11400 /* Override any gcc2 internal prototype to avoid an error. */
11401 /* We use char because int might match the return type of a gcc2
11402 builtin and then its argument prototype would still apply. */
11407 /* The GNU C library defines this for functions which it implements
11408 to always fail with ENOSYS. Some functions are actually named
11409 something starting with __ and the normal name is an alias. */
11410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11418 if { (eval echo configure:11419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11420 eval "ac_cv_func_
$ac_func=yes"
11422 echo "configure
: failed program was
:" >&5
11423 cat conftest.$ac_ext >&5
11425 eval "ac_cv_func_
$ac_func=no
"
11430 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11431 echo "$ac_t""yes" 1>&6
11432 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11433 cat >> confdefs.h <<EOF
11434 #define $ac_tr_func 1
11438 echo "$ac_t""no
" 1>&6
11444 echo $ac_n "checking
for _finite declaration
""...
$ac_c" 1>&6
11445 echo "configure
:11446: checking
for _finite declaration
" >&5
11446 if test x${glibcpp_cv_func__finite_use+set} != xset; then
11447 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
11448 echo $ac_n "(cached
) $ac_c" 1>&6
11453 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11454 ac_cpp='$CXXCPP $CPPFLAGS'
11455 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11456 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11457 cross_compiling=$ac_cv_prog_cxx_cross
11459 cat > conftest.$ac_ext <<EOF
11460 #line 11461 "configure
"
11461 #include "confdefs.h
"
11463 #ifdef HAVE_IEEEFP_H
11464 #include <ieeefp.h>
11471 if { (eval echo configure:11472: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11473 glibcpp_cv_func__finite_use=yes
11475 echo "configure
: failed program was
:" >&5
11476 cat conftest.$ac_ext >&5
11478 glibcpp_cv_func__finite_use=no
11482 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11483 ac_cpp='$CPP $CPPFLAGS'
11484 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11485 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11486 cross_compiling=$ac_cv_prog_cc_cross
11492 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
11494 if test x$glibcpp_cv_func__finite_use = x"yes"; then
11495 for ac_func in _finite
11497 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11498 echo "configure
:11499: checking
for $ac_func" >&5
11499 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11500 echo $ac_n "(cached
) $ac_c" 1>&6
11502 cat > conftest.$ac_ext <<EOF
11503 #line 11504 "configure
"
11504 #include "confdefs.h
"
11505 /* System header to define __stub macros and hopefully few prototypes,
11506 which can conflict with char $ac_func(); below. */
11507 #include <assert.h>
11508 /* Override any gcc2 internal prototype to avoid an error. */
11509 /* We use char because int might match the return type of a gcc2
11510 builtin and then its argument prototype would still apply. */
11515 /* The GNU C library defines this for functions which it implements
11516 to always fail with ENOSYS. Some functions are actually named
11517 something starting with __ and the normal name is an alias. */
11518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11526 if { (eval echo configure:11527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11528 eval "ac_cv_func_
$ac_func=yes"
11530 echo "configure
: failed program was
:" >&5
11531 cat conftest.$ac_ext >&5
11533 eval "ac_cv_func_
$ac_func=no
"
11538 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11539 echo "$ac_t""yes" 1>&6
11540 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11541 cat >> confdefs.h <<EOF
11542 #define $ac_tr_func 1
11546 echo "$ac_t""no
" 1>&6
11555 echo $ac_n "checking
for copysign declaration
""...
$ac_c" 1>&6
11556 echo "configure
:11557: checking
for copysign declaration
" >&5
11557 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
11558 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
11559 echo $ac_n "(cached
) $ac_c" 1>&6
11564 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11565 ac_cpp='$CXXCPP $CPPFLAGS'
11566 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11567 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11568 cross_compiling=$ac_cv_prog_cxx_cross
11570 cat > conftest.$ac_ext <<EOF
11571 #line 11572 "configure
"
11572 #include "confdefs.h
"
11578 if { (eval echo configure:11579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11580 glibcpp_cv_func_copysign_use=yes
11582 echo "configure
: failed program was
:" >&5
11583 cat conftest.$ac_ext >&5
11585 glibcpp_cv_func_copysign_use=no
11589 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11590 ac_cpp='$CPP $CPPFLAGS'
11591 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11592 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11593 cross_compiling=$ac_cv_prog_cc_cross
11599 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
11601 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
11602 for ac_func in copysign
11604 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11605 echo "configure
:11606: checking
for $ac_func" >&5
11606 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11607 echo $ac_n "(cached
) $ac_c" 1>&6
11609 cat > conftest.$ac_ext <<EOF
11610 #line 11611 "configure
"
11611 #include "confdefs.h
"
11612 /* System header to define __stub macros and hopefully few prototypes,
11613 which can conflict with char $ac_func(); below. */
11614 #include <assert.h>
11615 /* Override any gcc2 internal prototype to avoid an error. */
11616 /* We use char because int might match the return type of a gcc2
11617 builtin and then its argument prototype would still apply. */
11622 /* The GNU C library defines this for functions which it implements
11623 to always fail with ENOSYS. Some functions are actually named
11624 something starting with __ and the normal name is an alias. */
11625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11633 if { (eval echo configure:11634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11635 eval "ac_cv_func_
$ac_func=yes"
11637 echo "configure
: failed program was
:" >&5
11638 cat conftest.$ac_ext >&5
11640 eval "ac_cv_func_
$ac_func=no
"
11645 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11646 echo "$ac_t""yes" 1>&6
11647 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11648 cat >> confdefs.h <<EOF
11649 #define $ac_tr_func 1
11653 echo "$ac_t""no
" 1>&6
11659 echo $ac_n "checking
for _copysign declaration
""...
$ac_c" 1>&6
11660 echo "configure
:11661: checking
for _copysign declaration
" >&5
11661 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
11662 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
11663 echo $ac_n "(cached
) $ac_c" 1>&6
11668 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11669 ac_cpp='$CXXCPP $CPPFLAGS'
11670 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11671 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11672 cross_compiling=$ac_cv_prog_cxx_cross
11674 cat > conftest.$ac_ext <<EOF
11675 #line 11676 "configure
"
11676 #include "confdefs.h
"
11682 if { (eval echo configure:11683: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11684 glibcpp_cv_func__copysign_use=yes
11686 echo "configure
: failed program was
:" >&5
11687 cat conftest.$ac_ext >&5
11689 glibcpp_cv_func__copysign_use=no
11693 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11694 ac_cpp='$CPP $CPPFLAGS'
11695 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11696 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11697 cross_compiling=$ac_cv_prog_cc_cross
11703 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
11705 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
11706 for ac_func in _copysign
11708 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11709 echo "configure
:11710: checking
for $ac_func" >&5
11710 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11711 echo $ac_n "(cached
) $ac_c" 1>&6
11713 cat > conftest.$ac_ext <<EOF
11714 #line 11715 "configure
"
11715 #include "confdefs.h
"
11716 /* System header to define __stub macros and hopefully few prototypes,
11717 which can conflict with char $ac_func(); below. */
11718 #include <assert.h>
11719 /* Override any gcc2 internal prototype to avoid an error. */
11720 /* We use char because int might match the return type of a gcc2
11721 builtin and then its argument prototype would still apply. */
11726 /* The GNU C library defines this for functions which it implements
11727 to always fail with ENOSYS. Some functions are actually named
11728 something starting with __ and the normal name is an alias. */
11729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11737 if { (eval echo configure:11738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11739 eval "ac_cv_func_
$ac_func=yes"
11741 echo "configure
: failed program was
:" >&5
11742 cat conftest.$ac_ext >&5
11744 eval "ac_cv_func_
$ac_func=no
"
11749 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11750 echo "$ac_t""yes" 1>&6
11751 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11752 cat >> confdefs.h <<EOF
11753 #define $ac_tr_func 1
11757 echo "$ac_t""no
" 1>&6
11766 echo $ac_n "checking
for sincos declaration
""...
$ac_c" 1>&6
11767 echo "configure
:11768: checking
for sincos declaration
" >&5
11768 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
11769 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
11770 echo $ac_n "(cached
) $ac_c" 1>&6
11775 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11776 ac_cpp='$CXXCPP $CPPFLAGS'
11777 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11778 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11779 cross_compiling=$ac_cv_prog_cxx_cross
11781 cat > conftest.$ac_ext <<EOF
11782 #line 11783 "configure
"
11783 #include "confdefs.h
"
11789 if { (eval echo configure:11790: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11791 glibcpp_cv_func_sincos_use=yes
11793 echo "configure
: failed program was
:" >&5
11794 cat conftest.$ac_ext >&5
11796 glibcpp_cv_func_sincos_use=no
11800 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11801 ac_cpp='$CPP $CPPFLAGS'
11802 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11803 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11804 cross_compiling=$ac_cv_prog_cc_cross
11810 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
11812 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
11813 for ac_func in sincos
11815 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11816 echo "configure
:11817: checking
for $ac_func" >&5
11817 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11818 echo $ac_n "(cached
) $ac_c" 1>&6
11820 cat > conftest.$ac_ext <<EOF
11821 #line 11822 "configure
"
11822 #include "confdefs.h
"
11823 /* System header to define __stub macros and hopefully few prototypes,
11824 which can conflict with char $ac_func(); below. */
11825 #include <assert.h>
11826 /* Override any gcc2 internal prototype to avoid an error. */
11827 /* We use char because int might match the return type of a gcc2
11828 builtin and then its argument prototype would still apply. */
11833 /* The GNU C library defines this for functions which it implements
11834 to always fail with ENOSYS. Some functions are actually named
11835 something starting with __ and the normal name is an alias. */
11836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11844 if { (eval echo configure:11845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11846 eval "ac_cv_func_
$ac_func=yes"
11848 echo "configure
: failed program was
:" >&5
11849 cat conftest.$ac_ext >&5
11851 eval "ac_cv_func_
$ac_func=no
"
11856 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11857 echo "$ac_t""yes" 1>&6
11858 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11859 cat >> confdefs.h <<EOF
11860 #define $ac_tr_func 1
11864 echo "$ac_t""no
" 1>&6
11870 echo $ac_n "checking
for _sincos declaration
""...
$ac_c" 1>&6
11871 echo "configure
:11872: checking
for _sincos declaration
" >&5
11872 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
11873 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
11874 echo $ac_n "(cached
) $ac_c" 1>&6
11879 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11880 ac_cpp='$CXXCPP $CPPFLAGS'
11881 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11882 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11883 cross_compiling=$ac_cv_prog_cxx_cross
11885 cat > conftest.$ac_ext <<EOF
11886 #line 11887 "configure
"
11887 #include "confdefs.h
"
11893 if { (eval echo configure:11894: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11895 glibcpp_cv_func__sincos_use=yes
11897 echo "configure
: failed program was
:" >&5
11898 cat conftest.$ac_ext >&5
11900 glibcpp_cv_func__sincos_use=no
11904 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11905 ac_cpp='$CPP $CPPFLAGS'
11906 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11907 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11908 cross_compiling=$ac_cv_prog_cc_cross
11914 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
11916 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
11917 for ac_func in _sincos
11919 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11920 echo "configure
:11921: checking
for $ac_func" >&5
11921 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11922 echo $ac_n "(cached
) $ac_c" 1>&6
11924 cat > conftest.$ac_ext <<EOF
11925 #line 11926 "configure
"
11926 #include "confdefs.h
"
11927 /* System header to define __stub macros and hopefully few prototypes,
11928 which can conflict with char $ac_func(); below. */
11929 #include <assert.h>
11930 /* Override any gcc2 internal prototype to avoid an error. */
11931 /* We use char because int might match the return type of a gcc2
11932 builtin and then its argument prototype would still apply. */
11937 /* The GNU C library defines this for functions which it implements
11938 to always fail with ENOSYS. Some functions are actually named
11939 something starting with __ and the normal name is an alias. */
11940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11948 if { (eval echo configure:11949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11950 eval "ac_cv_func_
$ac_func=yes"
11952 echo "configure
: failed program was
:" >&5
11953 cat conftest.$ac_ext >&5
11955 eval "ac_cv_func_
$ac_func=no
"
11960 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11961 echo "$ac_t""yes" 1>&6
11962 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11963 cat >> confdefs.h <<EOF
11964 #define $ac_tr_func 1
11968 echo "$ac_t""no
" 1>&6
11977 echo $ac_n "checking
for fpclass declaration
""...
$ac_c" 1>&6
11978 echo "configure
:11979: checking
for fpclass declaration
" >&5
11979 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
11980 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
11981 echo $ac_n "(cached
) $ac_c" 1>&6
11986 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11987 ac_cpp='$CXXCPP $CPPFLAGS'
11988 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11989 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11990 cross_compiling=$ac_cv_prog_cxx_cross
11992 cat > conftest.$ac_ext <<EOF
11993 #line 11994 "configure
"
11994 #include "confdefs.h
"
11996 #ifdef HAVE_IEEEFP_H
11997 #include <ieeefp.h>
12004 if { (eval echo configure:12005: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12006 glibcpp_cv_func_fpclass_use=yes
12008 echo "configure
: failed program was
:" >&5
12009 cat conftest.$ac_ext >&5
12011 glibcpp_cv_func_fpclass_use=no
12015 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12016 ac_cpp='$CPP $CPPFLAGS'
12017 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12018 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12019 cross_compiling=$ac_cv_prog_cc_cross
12025 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
12027 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
12028 for ac_func in fpclass
12030 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12031 echo "configure
:12032: checking
for $ac_func" >&5
12032 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12033 echo $ac_n "(cached
) $ac_c" 1>&6
12035 cat > conftest.$ac_ext <<EOF
12036 #line 12037 "configure
"
12037 #include "confdefs.h
"
12038 /* System header to define __stub macros and hopefully few prototypes,
12039 which can conflict with char $ac_func(); below. */
12040 #include <assert.h>
12041 /* Override any gcc2 internal prototype to avoid an error. */
12042 /* We use char because int might match the return type of a gcc2
12043 builtin and then its argument prototype would still apply. */
12048 /* The GNU C library defines this for functions which it implements
12049 to always fail with ENOSYS. Some functions are actually named
12050 something starting with __ and the normal name is an alias. */
12051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12059 if { (eval echo configure:12060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12061 eval "ac_cv_func_
$ac_func=yes"
12063 echo "configure
: failed program was
:" >&5
12064 cat conftest.$ac_ext >&5
12066 eval "ac_cv_func_
$ac_func=no
"
12071 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12072 echo "$ac_t""yes" 1>&6
12073 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12074 cat >> confdefs.h <<EOF
12075 #define $ac_tr_func 1
12079 echo "$ac_t""no
" 1>&6
12085 echo $ac_n "checking
for _fpclass declaration
""...
$ac_c" 1>&6
12086 echo "configure
:12087: checking
for _fpclass declaration
" >&5
12087 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
12088 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
12089 echo $ac_n "(cached
) $ac_c" 1>&6
12094 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12095 ac_cpp='$CXXCPP $CPPFLAGS'
12096 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12097 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12098 cross_compiling=$ac_cv_prog_cxx_cross
12100 cat > conftest.$ac_ext <<EOF
12101 #line 12102 "configure
"
12102 #include "confdefs.h
"
12104 #ifdef HAVE_IEEEFP_H
12105 #include <ieeefp.h>
12112 if { (eval echo configure:12113: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12114 glibcpp_cv_func__fpclass_use=yes
12116 echo "configure
: failed program was
:" >&5
12117 cat conftest.$ac_ext >&5
12119 glibcpp_cv_func__fpclass_use=no
12123 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12124 ac_cpp='$CPP $CPPFLAGS'
12125 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12126 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12127 cross_compiling=$ac_cv_prog_cc_cross
12133 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
12135 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
12136 for ac_func in _fpclass
12138 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12139 echo "configure
:12140: checking
for $ac_func" >&5
12140 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12141 echo $ac_n "(cached
) $ac_c" 1>&6
12143 cat > conftest.$ac_ext <<EOF
12144 #line 12145 "configure
"
12145 #include "confdefs.h
"
12146 /* System header to define __stub macros and hopefully few prototypes,
12147 which can conflict with char $ac_func(); below. */
12148 #include <assert.h>
12149 /* Override any gcc2 internal prototype to avoid an error. */
12150 /* We use char because int might match the return type of a gcc2
12151 builtin and then its argument prototype would still apply. */
12156 /* The GNU C library defines this for functions which it implements
12157 to always fail with ENOSYS. Some functions are actually named
12158 something starting with __ and the normal name is an alias. */
12159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12167 if { (eval echo configure:12168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12169 eval "ac_cv_func_
$ac_func=yes"
12171 echo "configure
: failed program was
:" >&5
12172 cat conftest.$ac_ext >&5
12174 eval "ac_cv_func_
$ac_func=no
"
12179 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12180 echo "$ac_t""yes" 1>&6
12181 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12182 cat >> confdefs.h <<EOF
12183 #define $ac_tr_func 1
12187 echo "$ac_t""no
" 1>&6
12196 echo $ac_n "checking
for qfpclass declaration
""...
$ac_c" 1>&6
12197 echo "configure
:12198: checking
for qfpclass declaration
" >&5
12198 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
12199 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
12200 echo $ac_n "(cached
) $ac_c" 1>&6
12205 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12206 ac_cpp='$CXXCPP $CPPFLAGS'
12207 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12208 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12209 cross_compiling=$ac_cv_prog_cxx_cross
12211 cat > conftest.$ac_ext <<EOF
12212 #line 12213 "configure
"
12213 #include "confdefs.h
"
12215 #ifdef HAVE_IEEEFP_H
12216 #include <ieeefp.h>
12223 if { (eval echo configure:12224: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12225 glibcpp_cv_func_qfpclass_use=yes
12227 echo "configure
: failed program was
:" >&5
12228 cat conftest.$ac_ext >&5
12230 glibcpp_cv_func_qfpclass_use=no
12234 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12235 ac_cpp='$CPP $CPPFLAGS'
12236 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12237 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12238 cross_compiling=$ac_cv_prog_cc_cross
12244 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
12246 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
12247 for ac_func in qfpclass
12249 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12250 echo "configure
:12251: checking
for $ac_func" >&5
12251 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12252 echo $ac_n "(cached
) $ac_c" 1>&6
12254 cat > conftest.$ac_ext <<EOF
12255 #line 12256 "configure
"
12256 #include "confdefs.h
"
12257 /* System header to define __stub macros and hopefully few prototypes,
12258 which can conflict with char $ac_func(); below. */
12259 #include <assert.h>
12260 /* Override any gcc2 internal prototype to avoid an error. */
12261 /* We use char because int might match the return type of a gcc2
12262 builtin and then its argument prototype would still apply. */
12267 /* The GNU C library defines this for functions which it implements
12268 to always fail with ENOSYS. Some functions are actually named
12269 something starting with __ and the normal name is an alias. */
12270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12278 if { (eval echo configure:12279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12280 eval "ac_cv_func_
$ac_func=yes"
12282 echo "configure
: failed program was
:" >&5
12283 cat conftest.$ac_ext >&5
12285 eval "ac_cv_func_
$ac_func=no
"
12290 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12291 echo "$ac_t""yes" 1>&6
12292 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12293 cat >> confdefs.h <<EOF
12294 #define $ac_tr_func 1
12298 echo "$ac_t""no
" 1>&6
12304 echo $ac_n "checking
for _qfpclass declaration
""...
$ac_c" 1>&6
12305 echo "configure
:12306: checking
for _qfpclass declaration
" >&5
12306 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
12307 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
12308 echo $ac_n "(cached
) $ac_c" 1>&6
12313 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12314 ac_cpp='$CXXCPP $CPPFLAGS'
12315 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12316 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12317 cross_compiling=$ac_cv_prog_cxx_cross
12319 cat > conftest.$ac_ext <<EOF
12320 #line 12321 "configure
"
12321 #include "confdefs.h
"
12323 #ifdef HAVE_IEEEFP_H
12324 #include <ieeefp.h>
12331 if { (eval echo configure:12332: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12333 glibcpp_cv_func__qfpclass_use=yes
12335 echo "configure
: failed program was
:" >&5
12336 cat conftest.$ac_ext >&5
12338 glibcpp_cv_func__qfpclass_use=no
12342 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12343 ac_cpp='$CPP $CPPFLAGS'
12344 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12345 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12346 cross_compiling=$ac_cv_prog_cc_cross
12352 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
12354 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
12355 for ac_func in _qfpclass
12357 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12358 echo "configure
:12359: checking
for $ac_func" >&5
12359 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12360 echo $ac_n "(cached
) $ac_c" 1>&6
12362 cat > conftest.$ac_ext <<EOF
12363 #line 12364 "configure
"
12364 #include "confdefs.h
"
12365 /* System header to define __stub macros and hopefully few prototypes,
12366 which can conflict with char $ac_func(); below. */
12367 #include <assert.h>
12368 /* Override any gcc2 internal prototype to avoid an error. */
12369 /* We use char because int might match the return type of a gcc2
12370 builtin and then its argument prototype would still apply. */
12375 /* The GNU C library defines this for functions which it implements
12376 to always fail with ENOSYS. Some functions are actually named
12377 something starting with __ and the normal name is an alias. */
12378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12386 if { (eval echo configure:12387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12388 eval "ac_cv_func_
$ac_func=yes"
12390 echo "configure
: failed program was
:" >&5
12391 cat conftest.$ac_ext >&5
12393 eval "ac_cv_func_
$ac_func=no
"
12398 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12399 echo "$ac_t""yes" 1>&6
12400 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12401 cat >> confdefs.h <<EOF
12402 #define $ac_tr_func 1
12406 echo "$ac_t""no
" 1>&6
12415 echo $ac_n "checking
for hypot declaration
""...
$ac_c" 1>&6
12416 echo "configure
:12417: checking
for hypot declaration
" >&5
12417 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
12418 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
12419 echo $ac_n "(cached
) $ac_c" 1>&6
12424 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12425 ac_cpp='$CXXCPP $CPPFLAGS'
12426 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12427 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12428 cross_compiling=$ac_cv_prog_cxx_cross
12430 cat > conftest.$ac_ext <<EOF
12431 #line 12432 "configure
"
12432 #include "confdefs.h
"
12438 if { (eval echo configure:12439: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12440 glibcpp_cv_func_hypot_use=yes
12442 echo "configure
: failed program was
:" >&5
12443 cat conftest.$ac_ext >&5
12445 glibcpp_cv_func_hypot_use=no
12449 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12450 ac_cpp='$CPP $CPPFLAGS'
12451 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12452 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12453 cross_compiling=$ac_cv_prog_cc_cross
12459 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
12461 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
12462 for ac_func in hypot
12464 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12465 echo "configure
:12466: checking
for $ac_func" >&5
12466 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12467 echo $ac_n "(cached
) $ac_c" 1>&6
12469 cat > conftest.$ac_ext <<EOF
12470 #line 12471 "configure
"
12471 #include "confdefs.h
"
12472 /* System header to define __stub macros and hopefully few prototypes,
12473 which can conflict with char $ac_func(); below. */
12474 #include <assert.h>
12475 /* Override any gcc2 internal prototype to avoid an error. */
12476 /* We use char because int might match the return type of a gcc2
12477 builtin and then its argument prototype would still apply. */
12482 /* The GNU C library defines this for functions which it implements
12483 to always fail with ENOSYS. Some functions are actually named
12484 something starting with __ and the normal name is an alias. */
12485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12493 if { (eval echo configure:12494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12495 eval "ac_cv_func_
$ac_func=yes"
12497 echo "configure
: failed program was
:" >&5
12498 cat conftest.$ac_ext >&5
12500 eval "ac_cv_func_
$ac_func=no
"
12505 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12506 echo "$ac_t""yes" 1>&6
12507 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12508 cat >> confdefs.h <<EOF
12509 #define $ac_tr_func 1
12513 echo "$ac_t""no
" 1>&6
12519 echo $ac_n "checking
for _hypot declaration
""...
$ac_c" 1>&6
12520 echo "configure
:12521: checking
for _hypot declaration
" >&5
12521 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
12522 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
12523 echo $ac_n "(cached
) $ac_c" 1>&6
12528 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12529 ac_cpp='$CXXCPP $CPPFLAGS'
12530 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12531 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12532 cross_compiling=$ac_cv_prog_cxx_cross
12534 cat > conftest.$ac_ext <<EOF
12535 #line 12536 "configure
"
12536 #include "confdefs.h
"
12542 if { (eval echo configure:12543: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12544 glibcpp_cv_func__hypot_use=yes
12546 echo "configure
: failed program was
:" >&5
12547 cat conftest.$ac_ext >&5
12549 glibcpp_cv_func__hypot_use=no
12553 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12554 ac_cpp='$CPP $CPPFLAGS'
12555 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12556 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12557 cross_compiling=$ac_cv_prog_cc_cross
12563 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
12565 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
12566 for ac_func in _hypot
12568 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12569 echo "configure
:12570: checking
for $ac_func" >&5
12570 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12571 echo $ac_n "(cached
) $ac_c" 1>&6
12573 cat > conftest.$ac_ext <<EOF
12574 #line 12575 "configure
"
12575 #include "confdefs.h
"
12576 /* System header to define __stub macros and hopefully few prototypes,
12577 which can conflict with char $ac_func(); below. */
12578 #include <assert.h>
12579 /* Override any gcc2 internal prototype to avoid an error. */
12580 /* We use char because int might match the return type of a gcc2
12581 builtin and then its argument prototype would still apply. */
12586 /* The GNU C library defines this for functions which it implements
12587 to always fail with ENOSYS. Some functions are actually named
12588 something starting with __ and the normal name is an alias. */
12589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12597 if { (eval echo configure:12598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12599 eval "ac_cv_func_
$ac_func=yes"
12601 echo "configure
: failed program was
:" >&5
12602 cat conftest.$ac_ext >&5
12604 eval "ac_cv_func_
$ac_func=no
"
12609 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12610 echo "$ac_t""yes" 1>&6
12611 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12612 cat >> confdefs.h <<EOF
12613 #define $ac_tr_func 1
12617 echo "$ac_t""no
" 1>&6
12626 echo $ac_n "checking
for float trig functions
""...
$ac_c" 1>&6
12627 echo "configure
:12628: checking
for float trig functions
" >&5
12628 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
12629 echo $ac_n "(cached
) $ac_c" 1>&6
12634 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12635 ac_cpp='$CXXCPP $CPPFLAGS'
12636 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12637 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12638 cross_compiling=$ac_cv_prog_cxx_cross
12640 cat > conftest.$ac_ext <<EOF
12641 #line 12642 "configure
"
12642 #include "confdefs.h
"
12645 `for x in acosf asinf atanf \
12647 coshf sinhf tanhf; do echo "$x (0);"; done`
12650 if { (eval echo configure:12651: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12652 glibcpp_cv_func_float_trig_use=yes
12654 echo "configure
: failed program was
:" >&5
12655 cat conftest.$ac_ext >&5
12657 glibcpp_cv_func_float_trig_use=no
12661 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12662 ac_cpp='$CPP $CPPFLAGS'
12663 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12664 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12665 cross_compiling=$ac_cv_prog_cc_cross
12669 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
12670 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
12671 for ac_func in acosf asinf atanf \
12675 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12676 echo "configure
:12677: checking
for $ac_func" >&5
12677 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12678 echo $ac_n "(cached
) $ac_c" 1>&6
12680 cat > conftest.$ac_ext <<EOF
12681 #line 12682 "configure
"
12682 #include "confdefs.h
"
12683 /* System header to define __stub macros and hopefully few prototypes,
12684 which can conflict with char $ac_func(); below. */
12685 #include <assert.h>
12686 /* Override any gcc2 internal prototype to avoid an error. */
12687 /* We use char because int might match the return type of a gcc2
12688 builtin and then its argument prototype would still apply. */
12693 /* The GNU C library defines this for functions which it implements
12694 to always fail with ENOSYS. Some functions are actually named
12695 something starting with __ and the normal name is an alias. */
12696 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12704 if { (eval echo configure:12705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12706 eval "ac_cv_func_
$ac_func=yes"
12708 echo "configure
: failed program was
:" >&5
12709 cat conftest.$ac_ext >&5
12711 eval "ac_cv_func_
$ac_func=no
"
12716 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12717 echo "$ac_t""yes" 1>&6
12718 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12719 cat >> confdefs.h <<EOF
12720 #define $ac_tr_func 1
12724 echo "$ac_t""no
" 1>&6
12731 echo $ac_n "checking
for float round functions
""...
$ac_c" 1>&6
12732 echo "configure
:12733: checking
for float round functions
" >&5
12733 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
12734 echo $ac_n "(cached
) $ac_c" 1>&6
12739 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12740 ac_cpp='$CXXCPP $CPPFLAGS'
12741 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12742 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12743 cross_compiling=$ac_cv_prog_cxx_cross
12745 cat > conftest.$ac_ext <<EOF
12746 #line 12747 "configure
"
12747 #include "confdefs.h
"
12750 `for x in ceilf floorf; do echo "$x (0);"; done`
12753 if { (eval echo configure:12754: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12755 glibcpp_cv_func_float_round_use=yes
12757 echo "configure
: failed program was
:" >&5
12758 cat conftest.$ac_ext >&5
12760 glibcpp_cv_func_float_round_use=no
12764 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12765 ac_cpp='$CPP $CPPFLAGS'
12766 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12767 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12768 cross_compiling=$ac_cv_prog_cc_cross
12772 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
12773 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
12774 for ac_func in ceilf floorf
12776 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12777 echo "configure
:12778: checking
for $ac_func" >&5
12778 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12779 echo $ac_n "(cached
) $ac_c" 1>&6
12781 cat > conftest.$ac_ext <<EOF
12782 #line 12783 "configure
"
12783 #include "confdefs.h
"
12784 /* System header to define __stub macros and hopefully few prototypes,
12785 which can conflict with char $ac_func(); below. */
12786 #include <assert.h>
12787 /* Override any gcc2 internal prototype to avoid an error. */
12788 /* We use char because int might match the return type of a gcc2
12789 builtin and then its argument prototype would still apply. */
12794 /* The GNU C library defines this for functions which it implements
12795 to always fail with ENOSYS. Some functions are actually named
12796 something starting with __ and the normal name is an alias. */
12797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12805 if { (eval echo configure:12806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12807 eval "ac_cv_func_
$ac_func=yes"
12809 echo "configure
: failed program was
:" >&5
12810 cat conftest.$ac_ext >&5
12812 eval "ac_cv_func_
$ac_func=no
"
12817 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12818 echo "$ac_t""yes" 1>&6
12819 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12820 cat >> confdefs.h <<EOF
12821 #define $ac_tr_func 1
12825 echo "$ac_t""no
" 1>&6
12833 echo $ac_n "checking
for expf declaration
""...
$ac_c" 1>&6
12834 echo "configure
:12835: checking
for expf declaration
" >&5
12835 if test x${glibcpp_cv_func_expf_use+set} != xset; then
12836 if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
12837 echo $ac_n "(cached
) $ac_c" 1>&6
12842 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12843 ac_cpp='$CXXCPP $CPPFLAGS'
12844 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12845 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12846 cross_compiling=$ac_cv_prog_cxx_cross
12848 cat > conftest.$ac_ext <<EOF
12849 #line 12850 "configure
"
12850 #include "confdefs.h
"
12852 #ifdef HAVE_IEEEFP_H
12853 #include <ieeefp.h>
12860 if { (eval echo configure:12861: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12862 glibcpp_cv_func_expf_use=yes
12864 echo "configure
: failed program was
:" >&5
12865 cat conftest.$ac_ext >&5
12867 glibcpp_cv_func_expf_use=no
12871 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12872 ac_cpp='$CPP $CPPFLAGS'
12873 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12874 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12875 cross_compiling=$ac_cv_prog_cc_cross
12881 echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
12883 if test x$glibcpp_cv_func_expf_use = x"yes"; then
12884 for ac_func in expf
12886 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12887 echo "configure
:12888: checking
for $ac_func" >&5
12888 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12889 echo $ac_n "(cached
) $ac_c" 1>&6
12891 cat > conftest.$ac_ext <<EOF
12892 #line 12893 "configure
"
12893 #include "confdefs.h
"
12894 /* System header to define __stub macros and hopefully few prototypes,
12895 which can conflict with char $ac_func(); below. */
12896 #include <assert.h>
12897 /* Override any gcc2 internal prototype to avoid an error. */
12898 /* We use char because int might match the return type of a gcc2
12899 builtin and then its argument prototype would still apply. */
12904 /* The GNU C library defines this for functions which it implements
12905 to always fail with ENOSYS. Some functions are actually named
12906 something starting with __ and the normal name is an alias. */
12907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12915 if { (eval echo configure:12916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12917 eval "ac_cv_func_
$ac_func=yes"
12919 echo "configure
: failed program was
:" >&5
12920 cat conftest.$ac_ext >&5
12922 eval "ac_cv_func_
$ac_func=no
"
12927 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12928 echo "$ac_t""yes" 1>&6
12929 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12930 cat >> confdefs.h <<EOF
12931 #define $ac_tr_func 1
12935 echo "$ac_t""no
" 1>&6
12941 echo $ac_n "checking
for _expf declaration
""...
$ac_c" 1>&6
12942 echo "configure
:12943: checking
for _expf declaration
" >&5
12943 if test x${glibcpp_cv_func__expf_use+set} != xset; then
12944 if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
12945 echo $ac_n "(cached
) $ac_c" 1>&6
12950 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12951 ac_cpp='$CXXCPP $CPPFLAGS'
12952 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12953 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12954 cross_compiling=$ac_cv_prog_cxx_cross
12956 cat > conftest.$ac_ext <<EOF
12957 #line 12958 "configure
"
12958 #include "confdefs.h
"
12960 #ifdef HAVE_IEEEFP_H
12961 #include <ieeefp.h>
12968 if { (eval echo configure:12969: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12970 glibcpp_cv_func__expf_use=yes
12972 echo "configure
: failed program was
:" >&5
12973 cat conftest.$ac_ext >&5
12975 glibcpp_cv_func__expf_use=no
12979 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12980 ac_cpp='$CPP $CPPFLAGS'
12981 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12982 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12983 cross_compiling=$ac_cv_prog_cc_cross
12989 echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
12991 if test x$glibcpp_cv_func__expf_use = x"yes"; then
12992 for ac_func in _expf
12994 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12995 echo "configure
:12996: checking
for $ac_func" >&5
12996 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12997 echo $ac_n "(cached
) $ac_c" 1>&6
12999 cat > conftest.$ac_ext <<EOF
13000 #line 13001 "configure
"
13001 #include "confdefs.h
"
13002 /* System header to define __stub macros and hopefully few prototypes,
13003 which can conflict with char $ac_func(); below. */
13004 #include <assert.h>
13005 /* Override any gcc2 internal prototype to avoid an error. */
13006 /* We use char because int might match the return type of a gcc2
13007 builtin and then its argument prototype would still apply. */
13012 /* The GNU C library defines this for functions which it implements
13013 to always fail with ENOSYS. Some functions are actually named
13014 something starting with __ and the normal name is an alias. */
13015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13023 if { (eval echo configure:13024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13025 eval "ac_cv_func_
$ac_func=yes"
13027 echo "configure
: failed program was
:" >&5
13028 cat conftest.$ac_ext >&5
13030 eval "ac_cv_func_
$ac_func=no
"
13035 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13036 echo "$ac_t""yes" 1>&6
13037 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13038 cat >> confdefs.h <<EOF
13039 #define $ac_tr_func 1
13043 echo "$ac_t""no
" 1>&6
13052 echo $ac_n "checking
for isnanf declaration
""...
$ac_c" 1>&6
13053 echo "configure
:13054: checking
for isnanf declaration
" >&5
13054 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
13055 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
13056 echo $ac_n "(cached
) $ac_c" 1>&6
13061 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13062 ac_cpp='$CXXCPP $CPPFLAGS'
13063 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13064 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13065 cross_compiling=$ac_cv_prog_cxx_cross
13067 cat > conftest.$ac_ext <<EOF
13068 #line 13069 "configure
"
13069 #include "confdefs.h
"
13071 #ifdef HAVE_IEEEFP_H
13072 #include <ieeefp.h>
13079 if { (eval echo configure:13080: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13081 glibcpp_cv_func_isnanf_use=yes
13083 echo "configure
: failed program was
:" >&5
13084 cat conftest.$ac_ext >&5
13086 glibcpp_cv_func_isnanf_use=no
13090 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13091 ac_cpp='$CPP $CPPFLAGS'
13092 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13093 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13094 cross_compiling=$ac_cv_prog_cc_cross
13100 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
13102 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
13103 for ac_func in isnanf
13105 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13106 echo "configure
:13107: checking
for $ac_func" >&5
13107 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13108 echo $ac_n "(cached
) $ac_c" 1>&6
13110 cat > conftest.$ac_ext <<EOF
13111 #line 13112 "configure
"
13112 #include "confdefs.h
"
13113 /* System header to define __stub macros and hopefully few prototypes,
13114 which can conflict with char $ac_func(); below. */
13115 #include <assert.h>
13116 /* Override any gcc2 internal prototype to avoid an error. */
13117 /* We use char because int might match the return type of a gcc2
13118 builtin and then its argument prototype would still apply. */
13123 /* The GNU C library defines this for functions which it implements
13124 to always fail with ENOSYS. Some functions are actually named
13125 something starting with __ and the normal name is an alias. */
13126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13134 if { (eval echo configure:13135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13136 eval "ac_cv_func_
$ac_func=yes"
13138 echo "configure
: failed program was
:" >&5
13139 cat conftest.$ac_ext >&5
13141 eval "ac_cv_func_
$ac_func=no
"
13146 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13147 echo "$ac_t""yes" 1>&6
13148 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13149 cat >> confdefs.h <<EOF
13150 #define $ac_tr_func 1
13154 echo "$ac_t""no
" 1>&6
13160 echo $ac_n "checking
for _isnanf declaration
""...
$ac_c" 1>&6
13161 echo "configure
:13162: checking
for _isnanf declaration
" >&5
13162 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
13163 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
13164 echo $ac_n "(cached
) $ac_c" 1>&6
13169 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13170 ac_cpp='$CXXCPP $CPPFLAGS'
13171 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13172 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13173 cross_compiling=$ac_cv_prog_cxx_cross
13175 cat > conftest.$ac_ext <<EOF
13176 #line 13177 "configure
"
13177 #include "confdefs.h
"
13179 #ifdef HAVE_IEEEFP_H
13180 #include <ieeefp.h>
13187 if { (eval echo configure:13188: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13189 glibcpp_cv_func__isnanf_use=yes
13191 echo "configure
: failed program was
:" >&5
13192 cat conftest.$ac_ext >&5
13194 glibcpp_cv_func__isnanf_use=no
13198 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13199 ac_cpp='$CPP $CPPFLAGS'
13200 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13201 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13202 cross_compiling=$ac_cv_prog_cc_cross
13208 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
13210 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
13211 for ac_func in _isnanf
13213 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13214 echo "configure
:13215: checking
for $ac_func" >&5
13215 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13216 echo $ac_n "(cached
) $ac_c" 1>&6
13218 cat > conftest.$ac_ext <<EOF
13219 #line 13220 "configure
"
13220 #include "confdefs.h
"
13221 /* System header to define __stub macros and hopefully few prototypes,
13222 which can conflict with char $ac_func(); below. */
13223 #include <assert.h>
13224 /* Override any gcc2 internal prototype to avoid an error. */
13225 /* We use char because int might match the return type of a gcc2
13226 builtin and then its argument prototype would still apply. */
13231 /* The GNU C library defines this for functions which it implements
13232 to always fail with ENOSYS. Some functions are actually named
13233 something starting with __ and the normal name is an alias. */
13234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13242 if { (eval echo configure:13243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13244 eval "ac_cv_func_
$ac_func=yes"
13246 echo "configure
: failed program was
:" >&5
13247 cat conftest.$ac_ext >&5
13249 eval "ac_cv_func_
$ac_func=no
"
13254 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13255 echo "$ac_t""yes" 1>&6
13256 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13257 cat >> confdefs.h <<EOF
13258 #define $ac_tr_func 1
13262 echo "$ac_t""no
" 1>&6
13271 echo $ac_n "checking
for isinff declaration
""...
$ac_c" 1>&6
13272 echo "configure
:13273: checking
for isinff declaration
" >&5
13273 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
13274 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
13275 echo $ac_n "(cached
) $ac_c" 1>&6
13280 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13281 ac_cpp='$CXXCPP $CPPFLAGS'
13282 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13283 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13284 cross_compiling=$ac_cv_prog_cxx_cross
13286 cat > conftest.$ac_ext <<EOF
13287 #line 13288 "configure
"
13288 #include "confdefs.h
"
13290 #ifdef HAVE_IEEEFP_H
13291 #include <ieeefp.h>
13298 if { (eval echo configure:13299: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13300 glibcpp_cv_func_isinff_use=yes
13302 echo "configure
: failed program was
:" >&5
13303 cat conftest.$ac_ext >&5
13305 glibcpp_cv_func_isinff_use=no
13309 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13310 ac_cpp='$CPP $CPPFLAGS'
13311 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13312 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13313 cross_compiling=$ac_cv_prog_cc_cross
13319 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
13321 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
13322 for ac_func in isinff
13324 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13325 echo "configure
:13326: checking
for $ac_func" >&5
13326 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13327 echo $ac_n "(cached
) $ac_c" 1>&6
13329 cat > conftest.$ac_ext <<EOF
13330 #line 13331 "configure
"
13331 #include "confdefs.h
"
13332 /* System header to define __stub macros and hopefully few prototypes,
13333 which can conflict with char $ac_func(); below. */
13334 #include <assert.h>
13335 /* Override any gcc2 internal prototype to avoid an error. */
13336 /* We use char because int might match the return type of a gcc2
13337 builtin and then its argument prototype would still apply. */
13342 /* The GNU C library defines this for functions which it implements
13343 to always fail with ENOSYS. Some functions are actually named
13344 something starting with __ and the normal name is an alias. */
13345 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13353 if { (eval echo configure:13354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13355 eval "ac_cv_func_
$ac_func=yes"
13357 echo "configure
: failed program was
:" >&5
13358 cat conftest.$ac_ext >&5
13360 eval "ac_cv_func_
$ac_func=no
"
13365 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13366 echo "$ac_t""yes" 1>&6
13367 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13368 cat >> confdefs.h <<EOF
13369 #define $ac_tr_func 1
13373 echo "$ac_t""no
" 1>&6
13379 echo $ac_n "checking
for _isinff declaration
""...
$ac_c" 1>&6
13380 echo "configure
:13381: checking
for _isinff declaration
" >&5
13381 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
13382 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
13383 echo $ac_n "(cached
) $ac_c" 1>&6
13388 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13389 ac_cpp='$CXXCPP $CPPFLAGS'
13390 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13391 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13392 cross_compiling=$ac_cv_prog_cxx_cross
13394 cat > conftest.$ac_ext <<EOF
13395 #line 13396 "configure
"
13396 #include "confdefs.h
"
13398 #ifdef HAVE_IEEEFP_H
13399 #include <ieeefp.h>
13406 if { (eval echo configure:13407: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13408 glibcpp_cv_func__isinff_use=yes
13410 echo "configure
: failed program was
:" >&5
13411 cat conftest.$ac_ext >&5
13413 glibcpp_cv_func__isinff_use=no
13417 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13418 ac_cpp='$CPP $CPPFLAGS'
13419 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13420 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13421 cross_compiling=$ac_cv_prog_cc_cross
13427 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
13429 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
13430 for ac_func in _isinff
13432 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13433 echo "configure
:13434: checking
for $ac_func" >&5
13434 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13435 echo $ac_n "(cached
) $ac_c" 1>&6
13437 cat > conftest.$ac_ext <<EOF
13438 #line 13439 "configure
"
13439 #include "confdefs.h
"
13440 /* System header to define __stub macros and hopefully few prototypes,
13441 which can conflict with char $ac_func(); below. */
13442 #include <assert.h>
13443 /* Override any gcc2 internal prototype to avoid an error. */
13444 /* We use char because int might match the return type of a gcc2
13445 builtin and then its argument prototype would still apply. */
13450 /* The GNU C library defines this for functions which it implements
13451 to always fail with ENOSYS. Some functions are actually named
13452 something starting with __ and the normal name is an alias. */
13453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13461 if { (eval echo configure:13462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13463 eval "ac_cv_func_
$ac_func=yes"
13465 echo "configure
: failed program was
:" >&5
13466 cat conftest.$ac_ext >&5
13468 eval "ac_cv_func_
$ac_func=no
"
13473 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13474 echo "$ac_t""yes" 1>&6
13475 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13476 cat >> confdefs.h <<EOF
13477 #define $ac_tr_func 1
13481 echo "$ac_t""no
" 1>&6
13490 echo $ac_n "checking
for atan2f declaration
""...
$ac_c" 1>&6
13491 echo "configure
:13492: checking
for atan2f declaration
" >&5
13492 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
13493 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
13494 echo $ac_n "(cached
) $ac_c" 1>&6
13499 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13500 ac_cpp='$CXXCPP $CPPFLAGS'
13501 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13502 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13503 cross_compiling=$ac_cv_prog_cxx_cross
13505 cat > conftest.$ac_ext <<EOF
13506 #line 13507 "configure
"
13507 #include "confdefs.h
"
13513 if { (eval echo configure:13514: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13515 glibcpp_cv_func_atan2f_use=yes
13517 echo "configure
: failed program was
:" >&5
13518 cat conftest.$ac_ext >&5
13520 glibcpp_cv_func_atan2f_use=no
13524 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13525 ac_cpp='$CPP $CPPFLAGS'
13526 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13527 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13528 cross_compiling=$ac_cv_prog_cc_cross
13534 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
13536 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
13537 for ac_func in atan2f
13539 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13540 echo "configure
:13541: checking
for $ac_func" >&5
13541 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13542 echo $ac_n "(cached
) $ac_c" 1>&6
13544 cat > conftest.$ac_ext <<EOF
13545 #line 13546 "configure
"
13546 #include "confdefs.h
"
13547 /* System header to define __stub macros and hopefully few prototypes,
13548 which can conflict with char $ac_func(); below. */
13549 #include <assert.h>
13550 /* Override any gcc2 internal prototype to avoid an error. */
13551 /* We use char because int might match the return type of a gcc2
13552 builtin and then its argument prototype would still apply. */
13557 /* The GNU C library defines this for functions which it implements
13558 to always fail with ENOSYS. Some functions are actually named
13559 something starting with __ and the normal name is an alias. */
13560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13568 if { (eval echo configure:13569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13570 eval "ac_cv_func_
$ac_func=yes"
13572 echo "configure
: failed program was
:" >&5
13573 cat conftest.$ac_ext >&5
13575 eval "ac_cv_func_
$ac_func=no
"
13580 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13581 echo "$ac_t""yes" 1>&6
13582 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13583 cat >> confdefs.h <<EOF
13584 #define $ac_tr_func 1
13588 echo "$ac_t""no
" 1>&6
13594 echo $ac_n "checking
for _atan2f declaration
""...
$ac_c" 1>&6
13595 echo "configure
:13596: checking
for _atan2f declaration
" >&5
13596 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
13597 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
13598 echo $ac_n "(cached
) $ac_c" 1>&6
13603 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13604 ac_cpp='$CXXCPP $CPPFLAGS'
13605 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13606 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13607 cross_compiling=$ac_cv_prog_cxx_cross
13609 cat > conftest.$ac_ext <<EOF
13610 #line 13611 "configure
"
13611 #include "confdefs.h
"
13617 if { (eval echo configure:13618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13619 glibcpp_cv_func__atan2f_use=yes
13621 echo "configure
: failed program was
:" >&5
13622 cat conftest.$ac_ext >&5
13624 glibcpp_cv_func__atan2f_use=no
13628 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13629 ac_cpp='$CPP $CPPFLAGS'
13630 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13631 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13632 cross_compiling=$ac_cv_prog_cc_cross
13638 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
13640 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
13641 for ac_func in _atan2f
13643 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13644 echo "configure
:13645: checking
for $ac_func" >&5
13645 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13646 echo $ac_n "(cached
) $ac_c" 1>&6
13648 cat > conftest.$ac_ext <<EOF
13649 #line 13650 "configure
"
13650 #include "confdefs.h
"
13651 /* System header to define __stub macros and hopefully few prototypes,
13652 which can conflict with char $ac_func(); below. */
13653 #include <assert.h>
13654 /* Override any gcc2 internal prototype to avoid an error. */
13655 /* We use char because int might match the return type of a gcc2
13656 builtin and then its argument prototype would still apply. */
13661 /* The GNU C library defines this for functions which it implements
13662 to always fail with ENOSYS. Some functions are actually named
13663 something starting with __ and the normal name is an alias. */
13664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13672 if { (eval echo configure:13673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13674 eval "ac_cv_func_
$ac_func=yes"
13676 echo "configure
: failed program was
:" >&5
13677 cat conftest.$ac_ext >&5
13679 eval "ac_cv_func_
$ac_func=no
"
13684 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13685 echo "$ac_t""yes" 1>&6
13686 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13687 cat >> confdefs.h <<EOF
13688 #define $ac_tr_func 1
13692 echo "$ac_t""no
" 1>&6
13701 echo $ac_n "checking
for fabsf declaration
""...
$ac_c" 1>&6
13702 echo "configure
:13703: checking
for fabsf declaration
" >&5
13703 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
13704 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
13705 echo $ac_n "(cached
) $ac_c" 1>&6
13710 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13711 ac_cpp='$CXXCPP $CPPFLAGS'
13712 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13713 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13714 cross_compiling=$ac_cv_prog_cxx_cross
13716 cat > conftest.$ac_ext <<EOF
13717 #line 13718 "configure
"
13718 #include "confdefs.h
"
13720 #ifdef HAVE_IEEEFP_H
13721 #include <ieeefp.h>
13728 if { (eval echo configure:13729: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13730 glibcpp_cv_func_fabsf_use=yes
13732 echo "configure
: failed program was
:" >&5
13733 cat conftest.$ac_ext >&5
13735 glibcpp_cv_func_fabsf_use=no
13739 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13740 ac_cpp='$CPP $CPPFLAGS'
13741 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13742 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13743 cross_compiling=$ac_cv_prog_cc_cross
13749 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
13751 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
13752 for ac_func in fabsf
13754 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13755 echo "configure
:13756: checking
for $ac_func" >&5
13756 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13757 echo $ac_n "(cached
) $ac_c" 1>&6
13759 cat > conftest.$ac_ext <<EOF
13760 #line 13761 "configure
"
13761 #include "confdefs.h
"
13762 /* System header to define __stub macros and hopefully few prototypes,
13763 which can conflict with char $ac_func(); below. */
13764 #include <assert.h>
13765 /* Override any gcc2 internal prototype to avoid an error. */
13766 /* We use char because int might match the return type of a gcc2
13767 builtin and then its argument prototype would still apply. */
13772 /* The GNU C library defines this for functions which it implements
13773 to always fail with ENOSYS. Some functions are actually named
13774 something starting with __ and the normal name is an alias. */
13775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13783 if { (eval echo configure:13784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13785 eval "ac_cv_func_
$ac_func=yes"
13787 echo "configure
: failed program was
:" >&5
13788 cat conftest.$ac_ext >&5
13790 eval "ac_cv_func_
$ac_func=no
"
13795 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13796 echo "$ac_t""yes" 1>&6
13797 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13798 cat >> confdefs.h <<EOF
13799 #define $ac_tr_func 1
13803 echo "$ac_t""no
" 1>&6
13809 echo $ac_n "checking
for _fabsf declaration
""...
$ac_c" 1>&6
13810 echo "configure
:13811: checking
for _fabsf declaration
" >&5
13811 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
13812 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
13813 echo $ac_n "(cached
) $ac_c" 1>&6
13818 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13819 ac_cpp='$CXXCPP $CPPFLAGS'
13820 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13821 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13822 cross_compiling=$ac_cv_prog_cxx_cross
13824 cat > conftest.$ac_ext <<EOF
13825 #line 13826 "configure
"
13826 #include "confdefs.h
"
13828 #ifdef HAVE_IEEEFP_H
13829 #include <ieeefp.h>
13836 if { (eval echo configure:13837: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13838 glibcpp_cv_func__fabsf_use=yes
13840 echo "configure
: failed program was
:" >&5
13841 cat conftest.$ac_ext >&5
13843 glibcpp_cv_func__fabsf_use=no
13847 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13848 ac_cpp='$CPP $CPPFLAGS'
13849 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13850 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13851 cross_compiling=$ac_cv_prog_cc_cross
13857 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
13859 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
13860 for ac_func in _fabsf
13862 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13863 echo "configure
:13864: checking
for $ac_func" >&5
13864 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13865 echo $ac_n "(cached
) $ac_c" 1>&6
13867 cat > conftest.$ac_ext <<EOF
13868 #line 13869 "configure
"
13869 #include "confdefs.h
"
13870 /* System header to define __stub macros and hopefully few prototypes,
13871 which can conflict with char $ac_func(); below. */
13872 #include <assert.h>
13873 /* Override any gcc2 internal prototype to avoid an error. */
13874 /* We use char because int might match the return type of a gcc2
13875 builtin and then its argument prototype would still apply. */
13880 /* The GNU C library defines this for functions which it implements
13881 to always fail with ENOSYS. Some functions are actually named
13882 something starting with __ and the normal name is an alias. */
13883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13891 if { (eval echo configure:13892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13893 eval "ac_cv_func_
$ac_func=yes"
13895 echo "configure
: failed program was
:" >&5
13896 cat conftest.$ac_ext >&5
13898 eval "ac_cv_func_
$ac_func=no
"
13903 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13904 echo "$ac_t""yes" 1>&6
13905 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13906 cat >> confdefs.h <<EOF
13907 #define $ac_tr_func 1
13911 echo "$ac_t""no
" 1>&6
13920 echo $ac_n "checking
for fmodf declaration
""...
$ac_c" 1>&6
13921 echo "configure
:13922: checking
for fmodf declaration
" >&5
13922 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
13923 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
13924 echo $ac_n "(cached
) $ac_c" 1>&6
13929 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13930 ac_cpp='$CXXCPP $CPPFLAGS'
13931 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13932 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13933 cross_compiling=$ac_cv_prog_cxx_cross
13935 cat > conftest.$ac_ext <<EOF
13936 #line 13937 "configure
"
13937 #include "confdefs.h
"
13943 if { (eval echo configure:13944: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13945 glibcpp_cv_func_fmodf_use=yes
13947 echo "configure
: failed program was
:" >&5
13948 cat conftest.$ac_ext >&5
13950 glibcpp_cv_func_fmodf_use=no
13954 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13955 ac_cpp='$CPP $CPPFLAGS'
13956 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13957 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13958 cross_compiling=$ac_cv_prog_cc_cross
13964 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
13966 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
13967 for ac_func in fmodf
13969 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13970 echo "configure
:13971: checking
for $ac_func" >&5
13971 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13972 echo $ac_n "(cached
) $ac_c" 1>&6
13974 cat > conftest.$ac_ext <<EOF
13975 #line 13976 "configure
"
13976 #include "confdefs.h
"
13977 /* System header to define __stub macros and hopefully few prototypes,
13978 which can conflict with char $ac_func(); below. */
13979 #include <assert.h>
13980 /* Override any gcc2 internal prototype to avoid an error. */
13981 /* We use char because int might match the return type of a gcc2
13982 builtin and then its argument prototype would still apply. */
13987 /* The GNU C library defines this for functions which it implements
13988 to always fail with ENOSYS. Some functions are actually named
13989 something starting with __ and the normal name is an alias. */
13990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13998 if { (eval echo configure:13999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14000 eval "ac_cv_func_
$ac_func=yes"
14002 echo "configure
: failed program was
:" >&5
14003 cat conftest.$ac_ext >&5
14005 eval "ac_cv_func_
$ac_func=no
"
14010 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14011 echo "$ac_t""yes" 1>&6
14012 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14013 cat >> confdefs.h <<EOF
14014 #define $ac_tr_func 1
14018 echo "$ac_t""no
" 1>&6
14024 echo $ac_n "checking
for _fmodf declaration
""...
$ac_c" 1>&6
14025 echo "configure
:14026: checking
for _fmodf declaration
" >&5
14026 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
14027 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
14028 echo $ac_n "(cached
) $ac_c" 1>&6
14033 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14034 ac_cpp='$CXXCPP $CPPFLAGS'
14035 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14036 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14037 cross_compiling=$ac_cv_prog_cxx_cross
14039 cat > conftest.$ac_ext <<EOF
14040 #line 14041 "configure
"
14041 #include "confdefs.h
"
14047 if { (eval echo configure:14048: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14049 glibcpp_cv_func__fmodf_use=yes
14051 echo "configure
: failed program was
:" >&5
14052 cat conftest.$ac_ext >&5
14054 glibcpp_cv_func__fmodf_use=no
14058 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14059 ac_cpp='$CPP $CPPFLAGS'
14060 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14061 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14062 cross_compiling=$ac_cv_prog_cc_cross
14068 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
14070 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
14071 for ac_func in _fmodf
14073 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14074 echo "configure
:14075: checking
for $ac_func" >&5
14075 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14076 echo $ac_n "(cached
) $ac_c" 1>&6
14078 cat > conftest.$ac_ext <<EOF
14079 #line 14080 "configure
"
14080 #include "confdefs.h
"
14081 /* System header to define __stub macros and hopefully few prototypes,
14082 which can conflict with char $ac_func(); below. */
14083 #include <assert.h>
14084 /* Override any gcc2 internal prototype to avoid an error. */
14085 /* We use char because int might match the return type of a gcc2
14086 builtin and then its argument prototype would still apply. */
14091 /* The GNU C library defines this for functions which it implements
14092 to always fail with ENOSYS. Some functions are actually named
14093 something starting with __ and the normal name is an alias. */
14094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14102 if { (eval echo configure:14103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14104 eval "ac_cv_func_
$ac_func=yes"
14106 echo "configure
: failed program was
:" >&5
14107 cat conftest.$ac_ext >&5
14109 eval "ac_cv_func_
$ac_func=no
"
14114 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14115 echo "$ac_t""yes" 1>&6
14116 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14117 cat >> confdefs.h <<EOF
14118 #define $ac_tr_func 1
14122 echo "$ac_t""no
" 1>&6
14131 echo $ac_n "checking
for frexpf declaration
""...
$ac_c" 1>&6
14132 echo "configure
:14133: checking
for frexpf declaration
" >&5
14133 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
14134 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
14135 echo $ac_n "(cached
) $ac_c" 1>&6
14140 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14141 ac_cpp='$CXXCPP $CPPFLAGS'
14142 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14143 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14144 cross_compiling=$ac_cv_prog_cxx_cross
14146 cat > conftest.$ac_ext <<EOF
14147 #line 14148 "configure
"
14148 #include "confdefs.h
"
14154 if { (eval echo configure:14155: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14156 glibcpp_cv_func_frexpf_use=yes
14158 echo "configure
: failed program was
:" >&5
14159 cat conftest.$ac_ext >&5
14161 glibcpp_cv_func_frexpf_use=no
14165 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14166 ac_cpp='$CPP $CPPFLAGS'
14167 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14168 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14169 cross_compiling=$ac_cv_prog_cc_cross
14175 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
14177 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
14178 for ac_func in frexpf
14180 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14181 echo "configure
:14182: checking
for $ac_func" >&5
14182 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14183 echo $ac_n "(cached
) $ac_c" 1>&6
14185 cat > conftest.$ac_ext <<EOF
14186 #line 14187 "configure
"
14187 #include "confdefs.h
"
14188 /* System header to define __stub macros and hopefully few prototypes,
14189 which can conflict with char $ac_func(); below. */
14190 #include <assert.h>
14191 /* Override any gcc2 internal prototype to avoid an error. */
14192 /* We use char because int might match the return type of a gcc2
14193 builtin and then its argument prototype would still apply. */
14198 /* The GNU C library defines this for functions which it implements
14199 to always fail with ENOSYS. Some functions are actually named
14200 something starting with __ and the normal name is an alias. */
14201 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14209 if { (eval echo configure:14210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14211 eval "ac_cv_func_
$ac_func=yes"
14213 echo "configure
: failed program was
:" >&5
14214 cat conftest.$ac_ext >&5
14216 eval "ac_cv_func_
$ac_func=no
"
14221 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14222 echo "$ac_t""yes" 1>&6
14223 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14224 cat >> confdefs.h <<EOF
14225 #define $ac_tr_func 1
14229 echo "$ac_t""no
" 1>&6
14235 echo $ac_n "checking
for _frexpf declaration
""...
$ac_c" 1>&6
14236 echo "configure
:14237: checking
for _frexpf declaration
" >&5
14237 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
14238 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
14239 echo $ac_n "(cached
) $ac_c" 1>&6
14244 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14245 ac_cpp='$CXXCPP $CPPFLAGS'
14246 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14247 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14248 cross_compiling=$ac_cv_prog_cxx_cross
14250 cat > conftest.$ac_ext <<EOF
14251 #line 14252 "configure
"
14252 #include "confdefs.h
"
14258 if { (eval echo configure:14259: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14260 glibcpp_cv_func__frexpf_use=yes
14262 echo "configure
: failed program was
:" >&5
14263 cat conftest.$ac_ext >&5
14265 glibcpp_cv_func__frexpf_use=no
14269 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14270 ac_cpp='$CPP $CPPFLAGS'
14271 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14272 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14273 cross_compiling=$ac_cv_prog_cc_cross
14279 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
14281 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
14282 for ac_func in _frexpf
14284 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14285 echo "configure
:14286: checking
for $ac_func" >&5
14286 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14287 echo $ac_n "(cached
) $ac_c" 1>&6
14289 cat > conftest.$ac_ext <<EOF
14290 #line 14291 "configure
"
14291 #include "confdefs.h
"
14292 /* System header to define __stub macros and hopefully few prototypes,
14293 which can conflict with char $ac_func(); below. */
14294 #include <assert.h>
14295 /* Override any gcc2 internal prototype to avoid an error. */
14296 /* We use char because int might match the return type of a gcc2
14297 builtin and then its argument prototype would still apply. */
14302 /* The GNU C library defines this for functions which it implements
14303 to always fail with ENOSYS. Some functions are actually named
14304 something starting with __ and the normal name is an alias. */
14305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14313 if { (eval echo configure:14314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14315 eval "ac_cv_func_
$ac_func=yes"
14317 echo "configure
: failed program was
:" >&5
14318 cat conftest.$ac_ext >&5
14320 eval "ac_cv_func_
$ac_func=no
"
14325 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14326 echo "$ac_t""yes" 1>&6
14327 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14328 cat >> confdefs.h <<EOF
14329 #define $ac_tr_func 1
14333 echo "$ac_t""no
" 1>&6
14342 echo $ac_n "checking
for hypotf declaration
""...
$ac_c" 1>&6
14343 echo "configure
:14344: checking
for hypotf declaration
" >&5
14344 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
14345 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
14346 echo $ac_n "(cached
) $ac_c" 1>&6
14351 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14352 ac_cpp='$CXXCPP $CPPFLAGS'
14353 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14354 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14355 cross_compiling=$ac_cv_prog_cxx_cross
14357 cat > conftest.$ac_ext <<EOF
14358 #line 14359 "configure
"
14359 #include "confdefs.h
"
14365 if { (eval echo configure:14366: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14367 glibcpp_cv_func_hypotf_use=yes
14369 echo "configure
: failed program was
:" >&5
14370 cat conftest.$ac_ext >&5
14372 glibcpp_cv_func_hypotf_use=no
14376 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14377 ac_cpp='$CPP $CPPFLAGS'
14378 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14379 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14380 cross_compiling=$ac_cv_prog_cc_cross
14386 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
14388 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
14389 for ac_func in hypotf
14391 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14392 echo "configure
:14393: checking
for $ac_func" >&5
14393 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14394 echo $ac_n "(cached
) $ac_c" 1>&6
14396 cat > conftest.$ac_ext <<EOF
14397 #line 14398 "configure
"
14398 #include "confdefs.h
"
14399 /* System header to define __stub macros and hopefully few prototypes,
14400 which can conflict with char $ac_func(); below. */
14401 #include <assert.h>
14402 /* Override any gcc2 internal prototype to avoid an error. */
14403 /* We use char because int might match the return type of a gcc2
14404 builtin and then its argument prototype would still apply. */
14409 /* The GNU C library defines this for functions which it implements
14410 to always fail with ENOSYS. Some functions are actually named
14411 something starting with __ and the normal name is an alias. */
14412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14420 if { (eval echo configure:14421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14422 eval "ac_cv_func_
$ac_func=yes"
14424 echo "configure
: failed program was
:" >&5
14425 cat conftest.$ac_ext >&5
14427 eval "ac_cv_func_
$ac_func=no
"
14432 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14433 echo "$ac_t""yes" 1>&6
14434 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14435 cat >> confdefs.h <<EOF
14436 #define $ac_tr_func 1
14440 echo "$ac_t""no
" 1>&6
14446 echo $ac_n "checking
for _hypotf declaration
""...
$ac_c" 1>&6
14447 echo "configure
:14448: checking
for _hypotf declaration
" >&5
14448 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
14449 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
14450 echo $ac_n "(cached
) $ac_c" 1>&6
14455 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14456 ac_cpp='$CXXCPP $CPPFLAGS'
14457 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14458 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14459 cross_compiling=$ac_cv_prog_cxx_cross
14461 cat > conftest.$ac_ext <<EOF
14462 #line 14463 "configure
"
14463 #include "confdefs.h
"
14469 if { (eval echo configure:14470: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14471 glibcpp_cv_func__hypotf_use=yes
14473 echo "configure
: failed program was
:" >&5
14474 cat conftest.$ac_ext >&5
14476 glibcpp_cv_func__hypotf_use=no
14480 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14481 ac_cpp='$CPP $CPPFLAGS'
14482 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14483 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14484 cross_compiling=$ac_cv_prog_cc_cross
14490 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
14492 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
14493 for ac_func in _hypotf
14495 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14496 echo "configure
:14497: checking
for $ac_func" >&5
14497 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14498 echo $ac_n "(cached
) $ac_c" 1>&6
14500 cat > conftest.$ac_ext <<EOF
14501 #line 14502 "configure
"
14502 #include "confdefs.h
"
14503 /* System header to define __stub macros and hopefully few prototypes,
14504 which can conflict with char $ac_func(); below. */
14505 #include <assert.h>
14506 /* Override any gcc2 internal prototype to avoid an error. */
14507 /* We use char because int might match the return type of a gcc2
14508 builtin and then its argument prototype would still apply. */
14513 /* The GNU C library defines this for functions which it implements
14514 to always fail with ENOSYS. Some functions are actually named
14515 something starting with __ and the normal name is an alias. */
14516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14524 if { (eval echo configure:14525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14526 eval "ac_cv_func_
$ac_func=yes"
14528 echo "configure
: failed program was
:" >&5
14529 cat conftest.$ac_ext >&5
14531 eval "ac_cv_func_
$ac_func=no
"
14536 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14537 echo "$ac_t""yes" 1>&6
14538 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14539 cat >> confdefs.h <<EOF
14540 #define $ac_tr_func 1
14544 echo "$ac_t""no
" 1>&6
14553 echo $ac_n "checking
for ldexpf declaration
""...
$ac_c" 1>&6
14554 echo "configure
:14555: checking
for ldexpf declaration
" >&5
14555 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
14556 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
14557 echo $ac_n "(cached
) $ac_c" 1>&6
14562 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14563 ac_cpp='$CXXCPP $CPPFLAGS'
14564 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14565 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14566 cross_compiling=$ac_cv_prog_cxx_cross
14568 cat > conftest.$ac_ext <<EOF
14569 #line 14570 "configure
"
14570 #include "confdefs.h
"
14576 if { (eval echo configure:14577: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14578 glibcpp_cv_func_ldexpf_use=yes
14580 echo "configure
: failed program was
:" >&5
14581 cat conftest.$ac_ext >&5
14583 glibcpp_cv_func_ldexpf_use=no
14587 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14588 ac_cpp='$CPP $CPPFLAGS'
14589 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14590 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14591 cross_compiling=$ac_cv_prog_cc_cross
14597 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
14599 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
14600 for ac_func in ldexpf
14602 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14603 echo "configure
:14604: checking
for $ac_func" >&5
14604 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14605 echo $ac_n "(cached
) $ac_c" 1>&6
14607 cat > conftest.$ac_ext <<EOF
14608 #line 14609 "configure
"
14609 #include "confdefs.h
"
14610 /* System header to define __stub macros and hopefully few prototypes,
14611 which can conflict with char $ac_func(); below. */
14612 #include <assert.h>
14613 /* Override any gcc2 internal prototype to avoid an error. */
14614 /* We use char because int might match the return type of a gcc2
14615 builtin and then its argument prototype would still apply. */
14620 /* The GNU C library defines this for functions which it implements
14621 to always fail with ENOSYS. Some functions are actually named
14622 something starting with __ and the normal name is an alias. */
14623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14631 if { (eval echo configure:14632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14633 eval "ac_cv_func_
$ac_func=yes"
14635 echo "configure
: failed program was
:" >&5
14636 cat conftest.$ac_ext >&5
14638 eval "ac_cv_func_
$ac_func=no
"
14643 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14644 echo "$ac_t""yes" 1>&6
14645 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14646 cat >> confdefs.h <<EOF
14647 #define $ac_tr_func 1
14651 echo "$ac_t""no
" 1>&6
14657 echo $ac_n "checking
for _ldexpf declaration
""...
$ac_c" 1>&6
14658 echo "configure
:14659: checking
for _ldexpf declaration
" >&5
14659 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
14660 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
14661 echo $ac_n "(cached
) $ac_c" 1>&6
14666 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14667 ac_cpp='$CXXCPP $CPPFLAGS'
14668 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14669 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14670 cross_compiling=$ac_cv_prog_cxx_cross
14672 cat > conftest.$ac_ext <<EOF
14673 #line 14674 "configure
"
14674 #include "confdefs.h
"
14680 if { (eval echo configure:14681: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14682 glibcpp_cv_func__ldexpf_use=yes
14684 echo "configure
: failed program was
:" >&5
14685 cat conftest.$ac_ext >&5
14687 glibcpp_cv_func__ldexpf_use=no
14691 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14692 ac_cpp='$CPP $CPPFLAGS'
14693 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14694 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14695 cross_compiling=$ac_cv_prog_cc_cross
14701 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
14703 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
14704 for ac_func in _ldexpf
14706 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14707 echo "configure
:14708: checking
for $ac_func" >&5
14708 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14709 echo $ac_n "(cached
) $ac_c" 1>&6
14711 cat > conftest.$ac_ext <<EOF
14712 #line 14713 "configure
"
14713 #include "confdefs.h
"
14714 /* System header to define __stub macros and hopefully few prototypes,
14715 which can conflict with char $ac_func(); below. */
14716 #include <assert.h>
14717 /* Override any gcc2 internal prototype to avoid an error. */
14718 /* We use char because int might match the return type of a gcc2
14719 builtin and then its argument prototype would still apply. */
14724 /* The GNU C library defines this for functions which it implements
14725 to always fail with ENOSYS. Some functions are actually named
14726 something starting with __ and the normal name is an alias. */
14727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14735 if { (eval echo configure:14736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14737 eval "ac_cv_func_
$ac_func=yes"
14739 echo "configure
: failed program was
:" >&5
14740 cat conftest.$ac_ext >&5
14742 eval "ac_cv_func_
$ac_func=no
"
14747 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14748 echo "$ac_t""yes" 1>&6
14749 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14750 cat >> confdefs.h <<EOF
14751 #define $ac_tr_func 1
14755 echo "$ac_t""no
" 1>&6
14764 echo $ac_n "checking
for logf declaration
""...
$ac_c" 1>&6
14765 echo "configure
:14766: checking
for logf declaration
" >&5
14766 if test x${glibcpp_cv_func_logf_use+set} != xset; then
14767 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
14768 echo $ac_n "(cached
) $ac_c" 1>&6
14773 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14774 ac_cpp='$CXXCPP $CPPFLAGS'
14775 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14776 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14777 cross_compiling=$ac_cv_prog_cxx_cross
14779 cat > conftest.$ac_ext <<EOF
14780 #line 14781 "configure
"
14781 #include "confdefs.h
"
14783 #ifdef HAVE_IEEEFP_H
14784 #include <ieeefp.h>
14791 if { (eval echo configure:14792: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14793 glibcpp_cv_func_logf_use=yes
14795 echo "configure
: failed program was
:" >&5
14796 cat conftest.$ac_ext >&5
14798 glibcpp_cv_func_logf_use=no
14802 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14803 ac_cpp='$CPP $CPPFLAGS'
14804 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14805 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14806 cross_compiling=$ac_cv_prog_cc_cross
14812 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
14814 if test x$glibcpp_cv_func_logf_use = x"yes"; then
14815 for ac_func in logf
14817 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14818 echo "configure
:14819: checking
for $ac_func" >&5
14819 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14820 echo $ac_n "(cached
) $ac_c" 1>&6
14822 cat > conftest.$ac_ext <<EOF
14823 #line 14824 "configure
"
14824 #include "confdefs.h
"
14825 /* System header to define __stub macros and hopefully few prototypes,
14826 which can conflict with char $ac_func(); below. */
14827 #include <assert.h>
14828 /* Override any gcc2 internal prototype to avoid an error. */
14829 /* We use char because int might match the return type of a gcc2
14830 builtin and then its argument prototype would still apply. */
14835 /* The GNU C library defines this for functions which it implements
14836 to always fail with ENOSYS. Some functions are actually named
14837 something starting with __ and the normal name is an alias. */
14838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14846 if { (eval echo configure:14847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14848 eval "ac_cv_func_
$ac_func=yes"
14850 echo "configure
: failed program was
:" >&5
14851 cat conftest.$ac_ext >&5
14853 eval "ac_cv_func_
$ac_func=no
"
14858 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14859 echo "$ac_t""yes" 1>&6
14860 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14861 cat >> confdefs.h <<EOF
14862 #define $ac_tr_func 1
14866 echo "$ac_t""no
" 1>&6
14872 echo $ac_n "checking
for _logf declaration
""...
$ac_c" 1>&6
14873 echo "configure
:14874: checking
for _logf declaration
" >&5
14874 if test x${glibcpp_cv_func__logf_use+set} != xset; then
14875 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
14876 echo $ac_n "(cached
) $ac_c" 1>&6
14881 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14882 ac_cpp='$CXXCPP $CPPFLAGS'
14883 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14884 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14885 cross_compiling=$ac_cv_prog_cxx_cross
14887 cat > conftest.$ac_ext <<EOF
14888 #line 14889 "configure
"
14889 #include "confdefs.h
"
14891 #ifdef HAVE_IEEEFP_H
14892 #include <ieeefp.h>
14899 if { (eval echo configure:14900: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14901 glibcpp_cv_func__logf_use=yes
14903 echo "configure
: failed program was
:" >&5
14904 cat conftest.$ac_ext >&5
14906 glibcpp_cv_func__logf_use=no
14910 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14911 ac_cpp='$CPP $CPPFLAGS'
14912 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14913 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14914 cross_compiling=$ac_cv_prog_cc_cross
14920 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
14922 if test x$glibcpp_cv_func__logf_use = x"yes"; then
14923 for ac_func in _logf
14925 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14926 echo "configure
:14927: checking
for $ac_func" >&5
14927 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14928 echo $ac_n "(cached
) $ac_c" 1>&6
14930 cat > conftest.$ac_ext <<EOF
14931 #line 14932 "configure
"
14932 #include "confdefs.h
"
14933 /* System header to define __stub macros and hopefully few prototypes,
14934 which can conflict with char $ac_func(); below. */
14935 #include <assert.h>
14936 /* Override any gcc2 internal prototype to avoid an error. */
14937 /* We use char because int might match the return type of a gcc2
14938 builtin and then its argument prototype would still apply. */
14943 /* The GNU C library defines this for functions which it implements
14944 to always fail with ENOSYS. Some functions are actually named
14945 something starting with __ and the normal name is an alias. */
14946 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14954 if { (eval echo configure:14955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14956 eval "ac_cv_func_
$ac_func=yes"
14958 echo "configure
: failed program was
:" >&5
14959 cat conftest.$ac_ext >&5
14961 eval "ac_cv_func_
$ac_func=no
"
14966 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14967 echo "$ac_t""yes" 1>&6
14968 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14969 cat >> confdefs.h <<EOF
14970 #define $ac_tr_func 1
14974 echo "$ac_t""no
" 1>&6
14983 echo $ac_n "checking
for log10f declaration
""...
$ac_c" 1>&6
14984 echo "configure
:14985: checking
for log10f declaration
" >&5
14985 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
14986 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
14987 echo $ac_n "(cached
) $ac_c" 1>&6
14992 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14993 ac_cpp='$CXXCPP $CPPFLAGS'
14994 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14995 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14996 cross_compiling=$ac_cv_prog_cxx_cross
14998 cat > conftest.$ac_ext <<EOF
14999 #line 15000 "configure
"
15000 #include "confdefs.h
"
15002 #ifdef HAVE_IEEEFP_H
15003 #include <ieeefp.h>
15010 if { (eval echo configure:15011: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15012 glibcpp_cv_func_log10f_use=yes
15014 echo "configure
: failed program was
:" >&5
15015 cat conftest.$ac_ext >&5
15017 glibcpp_cv_func_log10f_use=no
15021 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15022 ac_cpp='$CPP $CPPFLAGS'
15023 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15024 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15025 cross_compiling=$ac_cv_prog_cc_cross
15031 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
15033 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
15034 for ac_func in log10f
15036 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15037 echo "configure
:15038: checking
for $ac_func" >&5
15038 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15039 echo $ac_n "(cached
) $ac_c" 1>&6
15041 cat > conftest.$ac_ext <<EOF
15042 #line 15043 "configure
"
15043 #include "confdefs.h
"
15044 /* System header to define __stub macros and hopefully few prototypes,
15045 which can conflict with char $ac_func(); below. */
15046 #include <assert.h>
15047 /* Override any gcc2 internal prototype to avoid an error. */
15048 /* We use char because int might match the return type of a gcc2
15049 builtin and then its argument prototype would still apply. */
15054 /* The GNU C library defines this for functions which it implements
15055 to always fail with ENOSYS. Some functions are actually named
15056 something starting with __ and the normal name is an alias. */
15057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15065 if { (eval echo configure:15066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15067 eval "ac_cv_func_
$ac_func=yes"
15069 echo "configure
: failed program was
:" >&5
15070 cat conftest.$ac_ext >&5
15072 eval "ac_cv_func_
$ac_func=no
"
15077 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15078 echo "$ac_t""yes" 1>&6
15079 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15080 cat >> confdefs.h <<EOF
15081 #define $ac_tr_func 1
15085 echo "$ac_t""no
" 1>&6
15091 echo $ac_n "checking
for _log10f declaration
""...
$ac_c" 1>&6
15092 echo "configure
:15093: checking
for _log10f declaration
" >&5
15093 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
15094 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
15095 echo $ac_n "(cached
) $ac_c" 1>&6
15100 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15101 ac_cpp='$CXXCPP $CPPFLAGS'
15102 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15103 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15104 cross_compiling=$ac_cv_prog_cxx_cross
15106 cat > conftest.$ac_ext <<EOF
15107 #line 15108 "configure
"
15108 #include "confdefs.h
"
15110 #ifdef HAVE_IEEEFP_H
15111 #include <ieeefp.h>
15118 if { (eval echo configure:15119: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15120 glibcpp_cv_func__log10f_use=yes
15122 echo "configure
: failed program was
:" >&5
15123 cat conftest.$ac_ext >&5
15125 glibcpp_cv_func__log10f_use=no
15129 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15130 ac_cpp='$CPP $CPPFLAGS'
15131 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15132 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15133 cross_compiling=$ac_cv_prog_cc_cross
15139 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
15141 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
15142 for ac_func in _log10f
15144 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15145 echo "configure
:15146: checking
for $ac_func" >&5
15146 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15147 echo $ac_n "(cached
) $ac_c" 1>&6
15149 cat > conftest.$ac_ext <<EOF
15150 #line 15151 "configure
"
15151 #include "confdefs.h
"
15152 /* System header to define __stub macros and hopefully few prototypes,
15153 which can conflict with char $ac_func(); below. */
15154 #include <assert.h>
15155 /* Override any gcc2 internal prototype to avoid an error. */
15156 /* We use char because int might match the return type of a gcc2
15157 builtin and then its argument prototype would still apply. */
15162 /* The GNU C library defines this for functions which it implements
15163 to always fail with ENOSYS. Some functions are actually named
15164 something starting with __ and the normal name is an alias. */
15165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15173 if { (eval echo configure:15174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15175 eval "ac_cv_func_
$ac_func=yes"
15177 echo "configure
: failed program was
:" >&5
15178 cat conftest.$ac_ext >&5
15180 eval "ac_cv_func_
$ac_func=no
"
15185 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15186 echo "$ac_t""yes" 1>&6
15187 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15188 cat >> confdefs.h <<EOF
15189 #define $ac_tr_func 1
15193 echo "$ac_t""no
" 1>&6
15202 echo $ac_n "checking
for modff declaration
""...
$ac_c" 1>&6
15203 echo "configure
:15204: checking
for modff declaration
" >&5
15204 if test x${glibcpp_cv_func_modff_use+set} != xset; then
15205 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
15206 echo $ac_n "(cached
) $ac_c" 1>&6
15211 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15212 ac_cpp='$CXXCPP $CPPFLAGS'
15213 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15214 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15215 cross_compiling=$ac_cv_prog_cxx_cross
15217 cat > conftest.$ac_ext <<EOF
15218 #line 15219 "configure
"
15219 #include "confdefs.h
"
15225 if { (eval echo configure:15226: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15227 glibcpp_cv_func_modff_use=yes
15229 echo "configure
: failed program was
:" >&5
15230 cat conftest.$ac_ext >&5
15232 glibcpp_cv_func_modff_use=no
15236 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15237 ac_cpp='$CPP $CPPFLAGS'
15238 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15239 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15240 cross_compiling=$ac_cv_prog_cc_cross
15246 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
15248 if test x$glibcpp_cv_func_modff_use = x"yes"; then
15249 for ac_func in modff
15251 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15252 echo "configure
:15253: checking
for $ac_func" >&5
15253 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15254 echo $ac_n "(cached
) $ac_c" 1>&6
15256 cat > conftest.$ac_ext <<EOF
15257 #line 15258 "configure
"
15258 #include "confdefs.h
"
15259 /* System header to define __stub macros and hopefully few prototypes,
15260 which can conflict with char $ac_func(); below. */
15261 #include <assert.h>
15262 /* Override any gcc2 internal prototype to avoid an error. */
15263 /* We use char because int might match the return type of a gcc2
15264 builtin and then its argument prototype would still apply. */
15269 /* The GNU C library defines this for functions which it implements
15270 to always fail with ENOSYS. Some functions are actually named
15271 something starting with __ and the normal name is an alias. */
15272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15280 if { (eval echo configure:15281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15282 eval "ac_cv_func_
$ac_func=yes"
15284 echo "configure
: failed program was
:" >&5
15285 cat conftest.$ac_ext >&5
15287 eval "ac_cv_func_
$ac_func=no
"
15292 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15293 echo "$ac_t""yes" 1>&6
15294 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15295 cat >> confdefs.h <<EOF
15296 #define $ac_tr_func 1
15300 echo "$ac_t""no
" 1>&6
15306 echo $ac_n "checking
for _modff declaration
""...
$ac_c" 1>&6
15307 echo "configure
:15308: checking
for _modff declaration
" >&5
15308 if test x${glibcpp_cv_func__modff_use+set} != xset; then
15309 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
15310 echo $ac_n "(cached
) $ac_c" 1>&6
15315 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15316 ac_cpp='$CXXCPP $CPPFLAGS'
15317 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15318 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15319 cross_compiling=$ac_cv_prog_cxx_cross
15321 cat > conftest.$ac_ext <<EOF
15322 #line 15323 "configure
"
15323 #include "confdefs.h
"
15329 if { (eval echo configure:15330: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15331 glibcpp_cv_func__modff_use=yes
15333 echo "configure
: failed program was
:" >&5
15334 cat conftest.$ac_ext >&5
15336 glibcpp_cv_func__modff_use=no
15340 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15341 ac_cpp='$CPP $CPPFLAGS'
15342 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15343 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15344 cross_compiling=$ac_cv_prog_cc_cross
15350 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
15352 if test x$glibcpp_cv_func__modff_use = x"yes"; then
15353 for ac_func in _modff
15355 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15356 echo "configure
:15357: checking
for $ac_func" >&5
15357 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15358 echo $ac_n "(cached
) $ac_c" 1>&6
15360 cat > conftest.$ac_ext <<EOF
15361 #line 15362 "configure
"
15362 #include "confdefs.h
"
15363 /* System header to define __stub macros and hopefully few prototypes,
15364 which can conflict with char $ac_func(); below. */
15365 #include <assert.h>
15366 /* Override any gcc2 internal prototype to avoid an error. */
15367 /* We use char because int might match the return type of a gcc2
15368 builtin and then its argument prototype would still apply. */
15373 /* The GNU C library defines this for functions which it implements
15374 to always fail with ENOSYS. Some functions are actually named
15375 something starting with __ and the normal name is an alias. */
15376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15384 if { (eval echo configure:15385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15386 eval "ac_cv_func_
$ac_func=yes"
15388 echo "configure
: failed program was
:" >&5
15389 cat conftest.$ac_ext >&5
15391 eval "ac_cv_func_
$ac_func=no
"
15396 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15397 echo "$ac_t""yes" 1>&6
15398 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15399 cat >> confdefs.h <<EOF
15400 #define $ac_tr_func 1
15404 echo "$ac_t""no
" 1>&6
15413 echo $ac_n "checking
for powf declaration
""...
$ac_c" 1>&6
15414 echo "configure
:15415: checking
for powf declaration
" >&5
15415 if test x${glibcpp_cv_func_powf_use+set} != xset; then
15416 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
15417 echo $ac_n "(cached
) $ac_c" 1>&6
15422 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15423 ac_cpp='$CXXCPP $CPPFLAGS'
15424 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15425 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15426 cross_compiling=$ac_cv_prog_cxx_cross
15428 cat > conftest.$ac_ext <<EOF
15429 #line 15430 "configure
"
15430 #include "confdefs.h
"
15436 if { (eval echo configure:15437: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15438 glibcpp_cv_func_powf_use=yes
15440 echo "configure
: failed program was
:" >&5
15441 cat conftest.$ac_ext >&5
15443 glibcpp_cv_func_powf_use=no
15447 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15448 ac_cpp='$CPP $CPPFLAGS'
15449 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15450 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15451 cross_compiling=$ac_cv_prog_cc_cross
15457 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
15459 if test x$glibcpp_cv_func_powf_use = x"yes"; then
15460 for ac_func in powf
15462 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15463 echo "configure
:15464: checking
for $ac_func" >&5
15464 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15465 echo $ac_n "(cached
) $ac_c" 1>&6
15467 cat > conftest.$ac_ext <<EOF
15468 #line 15469 "configure
"
15469 #include "confdefs.h
"
15470 /* System header to define __stub macros and hopefully few prototypes,
15471 which can conflict with char $ac_func(); below. */
15472 #include <assert.h>
15473 /* Override any gcc2 internal prototype to avoid an error. */
15474 /* We use char because int might match the return type of a gcc2
15475 builtin and then its argument prototype would still apply. */
15480 /* The GNU C library defines this for functions which it implements
15481 to always fail with ENOSYS. Some functions are actually named
15482 something starting with __ and the normal name is an alias. */
15483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15491 if { (eval echo configure:15492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15493 eval "ac_cv_func_
$ac_func=yes"
15495 echo "configure
: failed program was
:" >&5
15496 cat conftest.$ac_ext >&5
15498 eval "ac_cv_func_
$ac_func=no
"
15503 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15504 echo "$ac_t""yes" 1>&6
15505 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15506 cat >> confdefs.h <<EOF
15507 #define $ac_tr_func 1
15511 echo "$ac_t""no
" 1>&6
15517 echo $ac_n "checking
for _powf declaration
""...
$ac_c" 1>&6
15518 echo "configure
:15519: checking
for _powf declaration
" >&5
15519 if test x${glibcpp_cv_func__powf_use+set} != xset; then
15520 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
15521 echo $ac_n "(cached
) $ac_c" 1>&6
15526 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15527 ac_cpp='$CXXCPP $CPPFLAGS'
15528 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15529 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15530 cross_compiling=$ac_cv_prog_cxx_cross
15532 cat > conftest.$ac_ext <<EOF
15533 #line 15534 "configure
"
15534 #include "confdefs.h
"
15540 if { (eval echo configure:15541: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15542 glibcpp_cv_func__powf_use=yes
15544 echo "configure
: failed program was
:" >&5
15545 cat conftest.$ac_ext >&5
15547 glibcpp_cv_func__powf_use=no
15551 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15552 ac_cpp='$CPP $CPPFLAGS'
15553 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15554 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15555 cross_compiling=$ac_cv_prog_cc_cross
15561 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
15563 if test x$glibcpp_cv_func__powf_use = x"yes"; then
15564 for ac_func in _powf
15566 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15567 echo "configure
:15568: checking
for $ac_func" >&5
15568 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15569 echo $ac_n "(cached
) $ac_c" 1>&6
15571 cat > conftest.$ac_ext <<EOF
15572 #line 15573 "configure
"
15573 #include "confdefs.h
"
15574 /* System header to define __stub macros and hopefully few prototypes,
15575 which can conflict with char $ac_func(); below. */
15576 #include <assert.h>
15577 /* Override any gcc2 internal prototype to avoid an error. */
15578 /* We use char because int might match the return type of a gcc2
15579 builtin and then its argument prototype would still apply. */
15584 /* The GNU C library defines this for functions which it implements
15585 to always fail with ENOSYS. Some functions are actually named
15586 something starting with __ and the normal name is an alias. */
15587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15595 if { (eval echo configure:15596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15597 eval "ac_cv_func_
$ac_func=yes"
15599 echo "configure
: failed program was
:" >&5
15600 cat conftest.$ac_ext >&5
15602 eval "ac_cv_func_
$ac_func=no
"
15607 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15608 echo "$ac_t""yes" 1>&6
15609 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15610 cat >> confdefs.h <<EOF
15611 #define $ac_tr_func 1
15615 echo "$ac_t""no
" 1>&6
15624 echo $ac_n "checking
for sqrtf declaration
""...
$ac_c" 1>&6
15625 echo "configure
:15626: checking
for sqrtf declaration
" >&5
15626 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
15627 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
15628 echo $ac_n "(cached
) $ac_c" 1>&6
15633 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15634 ac_cpp='$CXXCPP $CPPFLAGS'
15635 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15636 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15637 cross_compiling=$ac_cv_prog_cxx_cross
15639 cat > conftest.$ac_ext <<EOF
15640 #line 15641 "configure
"
15641 #include "confdefs.h
"
15643 #ifdef HAVE_IEEEFP_H
15644 #include <ieeefp.h>
15651 if { (eval echo configure:15652: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15653 glibcpp_cv_func_sqrtf_use=yes
15655 echo "configure
: failed program was
:" >&5
15656 cat conftest.$ac_ext >&5
15658 glibcpp_cv_func_sqrtf_use=no
15662 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15663 ac_cpp='$CPP $CPPFLAGS'
15664 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15665 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15666 cross_compiling=$ac_cv_prog_cc_cross
15672 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
15674 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
15675 for ac_func in sqrtf
15677 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15678 echo "configure
:15679: checking
for $ac_func" >&5
15679 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15680 echo $ac_n "(cached
) $ac_c" 1>&6
15682 cat > conftest.$ac_ext <<EOF
15683 #line 15684 "configure
"
15684 #include "confdefs.h
"
15685 /* System header to define __stub macros and hopefully few prototypes,
15686 which can conflict with char $ac_func(); below. */
15687 #include <assert.h>
15688 /* Override any gcc2 internal prototype to avoid an error. */
15689 /* We use char because int might match the return type of a gcc2
15690 builtin and then its argument prototype would still apply. */
15695 /* The GNU C library defines this for functions which it implements
15696 to always fail with ENOSYS. Some functions are actually named
15697 something starting with __ and the normal name is an alias. */
15698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15706 if { (eval echo configure:15707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15708 eval "ac_cv_func_
$ac_func=yes"
15710 echo "configure
: failed program was
:" >&5
15711 cat conftest.$ac_ext >&5
15713 eval "ac_cv_func_
$ac_func=no
"
15718 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15719 echo "$ac_t""yes" 1>&6
15720 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15721 cat >> confdefs.h <<EOF
15722 #define $ac_tr_func 1
15726 echo "$ac_t""no
" 1>&6
15732 echo $ac_n "checking
for _sqrtf declaration
""...
$ac_c" 1>&6
15733 echo "configure
:15734: checking
for _sqrtf declaration
" >&5
15734 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
15735 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
15736 echo $ac_n "(cached
) $ac_c" 1>&6
15741 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15742 ac_cpp='$CXXCPP $CPPFLAGS'
15743 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15744 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15745 cross_compiling=$ac_cv_prog_cxx_cross
15747 cat > conftest.$ac_ext <<EOF
15748 #line 15749 "configure
"
15749 #include "confdefs.h
"
15751 #ifdef HAVE_IEEEFP_H
15752 #include <ieeefp.h>
15759 if { (eval echo configure:15760: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15761 glibcpp_cv_func__sqrtf_use=yes
15763 echo "configure
: failed program was
:" >&5
15764 cat conftest.$ac_ext >&5
15766 glibcpp_cv_func__sqrtf_use=no
15770 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15771 ac_cpp='$CPP $CPPFLAGS'
15772 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15773 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15774 cross_compiling=$ac_cv_prog_cc_cross
15780 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
15782 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
15783 for ac_func in _sqrtf
15785 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15786 echo "configure
:15787: checking
for $ac_func" >&5
15787 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15788 echo $ac_n "(cached
) $ac_c" 1>&6
15790 cat > conftest.$ac_ext <<EOF
15791 #line 15792 "configure
"
15792 #include "confdefs.h
"
15793 /* System header to define __stub macros and hopefully few prototypes,
15794 which can conflict with char $ac_func(); below. */
15795 #include <assert.h>
15796 /* Override any gcc2 internal prototype to avoid an error. */
15797 /* We use char because int might match the return type of a gcc2
15798 builtin and then its argument prototype would still apply. */
15803 /* The GNU C library defines this for functions which it implements
15804 to always fail with ENOSYS. Some functions are actually named
15805 something starting with __ and the normal name is an alias. */
15806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15814 if { (eval echo configure:15815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15816 eval "ac_cv_func_
$ac_func=yes"
15818 echo "configure
: failed program was
:" >&5
15819 cat conftest.$ac_ext >&5
15821 eval "ac_cv_func_
$ac_func=no
"
15826 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15827 echo "$ac_t""yes" 1>&6
15828 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15829 cat >> confdefs.h <<EOF
15830 #define $ac_tr_func 1
15834 echo "$ac_t""no
" 1>&6
15843 echo $ac_n "checking
for sincosf declaration
""...
$ac_c" 1>&6
15844 echo "configure
:15845: checking
for sincosf declaration
" >&5
15845 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
15846 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
15847 echo $ac_n "(cached
) $ac_c" 1>&6
15852 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15853 ac_cpp='$CXXCPP $CPPFLAGS'
15854 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15855 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15856 cross_compiling=$ac_cv_prog_cxx_cross
15858 cat > conftest.$ac_ext <<EOF
15859 #line 15860 "configure
"
15860 #include "confdefs.h
"
15866 if { (eval echo configure:15867: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15868 glibcpp_cv_func_sincosf_use=yes
15870 echo "configure
: failed program was
:" >&5
15871 cat conftest.$ac_ext >&5
15873 glibcpp_cv_func_sincosf_use=no
15877 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15878 ac_cpp='$CPP $CPPFLAGS'
15879 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15880 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15881 cross_compiling=$ac_cv_prog_cc_cross
15887 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
15889 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
15890 for ac_func in sincosf
15892 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15893 echo "configure
:15894: checking
for $ac_func" >&5
15894 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15895 echo $ac_n "(cached
) $ac_c" 1>&6
15897 cat > conftest.$ac_ext <<EOF
15898 #line 15899 "configure
"
15899 #include "confdefs.h
"
15900 /* System header to define __stub macros and hopefully few prototypes,
15901 which can conflict with char $ac_func(); below. */
15902 #include <assert.h>
15903 /* Override any gcc2 internal prototype to avoid an error. */
15904 /* We use char because int might match the return type of a gcc2
15905 builtin and then its argument prototype would still apply. */
15910 /* The GNU C library defines this for functions which it implements
15911 to always fail with ENOSYS. Some functions are actually named
15912 something starting with __ and the normal name is an alias. */
15913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15921 if { (eval echo configure:15922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15923 eval "ac_cv_func_
$ac_func=yes"
15925 echo "configure
: failed program was
:" >&5
15926 cat conftest.$ac_ext >&5
15928 eval "ac_cv_func_
$ac_func=no
"
15933 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15934 echo "$ac_t""yes" 1>&6
15935 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15936 cat >> confdefs.h <<EOF
15937 #define $ac_tr_func 1
15941 echo "$ac_t""no
" 1>&6
15947 echo $ac_n "checking
for _sincosf declaration
""...
$ac_c" 1>&6
15948 echo "configure
:15949: checking
for _sincosf declaration
" >&5
15949 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
15950 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
15951 echo $ac_n "(cached
) $ac_c" 1>&6
15956 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15957 ac_cpp='$CXXCPP $CPPFLAGS'
15958 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15959 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15960 cross_compiling=$ac_cv_prog_cxx_cross
15962 cat > conftest.$ac_ext <<EOF
15963 #line 15964 "configure
"
15964 #include "confdefs.h
"
15970 if { (eval echo configure:15971: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15972 glibcpp_cv_func__sincosf_use=yes
15974 echo "configure
: failed program was
:" >&5
15975 cat conftest.$ac_ext >&5
15977 glibcpp_cv_func__sincosf_use=no
15981 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15982 ac_cpp='$CPP $CPPFLAGS'
15983 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15984 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15985 cross_compiling=$ac_cv_prog_cc_cross
15991 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
15993 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
15994 for ac_func in _sincosf
15996 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15997 echo "configure
:15998: checking
for $ac_func" >&5
15998 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15999 echo $ac_n "(cached
) $ac_c" 1>&6
16001 cat > conftest.$ac_ext <<EOF
16002 #line 16003 "configure
"
16003 #include "confdefs.h
"
16004 /* System header to define __stub macros and hopefully few prototypes,
16005 which can conflict with char $ac_func(); below. */
16006 #include <assert.h>
16007 /* Override any gcc2 internal prototype to avoid an error. */
16008 /* We use char because int might match the return type of a gcc2
16009 builtin and then its argument prototype would still apply. */
16014 /* The GNU C library defines this for functions which it implements
16015 to always fail with ENOSYS. Some functions are actually named
16016 something starting with __ and the normal name is an alias. */
16017 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16025 if { (eval echo configure:16026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16027 eval "ac_cv_func_
$ac_func=yes"
16029 echo "configure
: failed program was
:" >&5
16030 cat conftest.$ac_ext >&5
16032 eval "ac_cv_func_
$ac_func=no
"
16037 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16038 echo "$ac_t""yes" 1>&6
16039 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16040 cat >> confdefs.h <<EOF
16041 #define $ac_tr_func 1
16045 echo "$ac_t""no
" 1>&6
16054 echo $ac_n "checking
for finitef declaration
""...
$ac_c" 1>&6
16055 echo "configure
:16056: checking
for finitef declaration
" >&5
16056 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
16057 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
16058 echo $ac_n "(cached
) $ac_c" 1>&6
16063 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16064 ac_cpp='$CXXCPP $CPPFLAGS'
16065 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16066 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16067 cross_compiling=$ac_cv_prog_cxx_cross
16069 cat > conftest.$ac_ext <<EOF
16070 #line 16071 "configure
"
16071 #include "confdefs.h
"
16073 #ifdef HAVE_IEEEFP_H
16074 #include <ieeefp.h>
16081 if { (eval echo configure:16082: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16083 glibcpp_cv_func_finitef_use=yes
16085 echo "configure
: failed program was
:" >&5
16086 cat conftest.$ac_ext >&5
16088 glibcpp_cv_func_finitef_use=no
16092 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16093 ac_cpp='$CPP $CPPFLAGS'
16094 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16095 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16096 cross_compiling=$ac_cv_prog_cc_cross
16102 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
16104 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
16105 for ac_func in finitef
16107 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16108 echo "configure
:16109: checking
for $ac_func" >&5
16109 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16110 echo $ac_n "(cached
) $ac_c" 1>&6
16112 cat > conftest.$ac_ext <<EOF
16113 #line 16114 "configure
"
16114 #include "confdefs.h
"
16115 /* System header to define __stub macros and hopefully few prototypes,
16116 which can conflict with char $ac_func(); below. */
16117 #include <assert.h>
16118 /* Override any gcc2 internal prototype to avoid an error. */
16119 /* We use char because int might match the return type of a gcc2
16120 builtin and then its argument prototype would still apply. */
16125 /* The GNU C library defines this for functions which it implements
16126 to always fail with ENOSYS. Some functions are actually named
16127 something starting with __ and the normal name is an alias. */
16128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16136 if { (eval echo configure:16137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16138 eval "ac_cv_func_
$ac_func=yes"
16140 echo "configure
: failed program was
:" >&5
16141 cat conftest.$ac_ext >&5
16143 eval "ac_cv_func_
$ac_func=no
"
16148 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16149 echo "$ac_t""yes" 1>&6
16150 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16151 cat >> confdefs.h <<EOF
16152 #define $ac_tr_func 1
16156 echo "$ac_t""no
" 1>&6
16162 echo $ac_n "checking
for _finitef declaration
""...
$ac_c" 1>&6
16163 echo "configure
:16164: checking
for _finitef declaration
" >&5
16164 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
16165 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
16166 echo $ac_n "(cached
) $ac_c" 1>&6
16171 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16172 ac_cpp='$CXXCPP $CPPFLAGS'
16173 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16174 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16175 cross_compiling=$ac_cv_prog_cxx_cross
16177 cat > conftest.$ac_ext <<EOF
16178 #line 16179 "configure
"
16179 #include "confdefs.h
"
16181 #ifdef HAVE_IEEEFP_H
16182 #include <ieeefp.h>
16189 if { (eval echo configure:16190: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16191 glibcpp_cv_func__finitef_use=yes
16193 echo "configure
: failed program was
:" >&5
16194 cat conftest.$ac_ext >&5
16196 glibcpp_cv_func__finitef_use=no
16200 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16201 ac_cpp='$CPP $CPPFLAGS'
16202 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16203 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16204 cross_compiling=$ac_cv_prog_cc_cross
16210 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
16212 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
16213 for ac_func in _finitef
16215 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16216 echo "configure
:16217: checking
for $ac_func" >&5
16217 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16218 echo $ac_n "(cached
) $ac_c" 1>&6
16220 cat > conftest.$ac_ext <<EOF
16221 #line 16222 "configure
"
16222 #include "confdefs.h
"
16223 /* System header to define __stub macros and hopefully few prototypes,
16224 which can conflict with char $ac_func(); below. */
16225 #include <assert.h>
16226 /* Override any gcc2 internal prototype to avoid an error. */
16227 /* We use char because int might match the return type of a gcc2
16228 builtin and then its argument prototype would still apply. */
16233 /* The GNU C library defines this for functions which it implements
16234 to always fail with ENOSYS. Some functions are actually named
16235 something starting with __ and the normal name is an alias. */
16236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16244 if { (eval echo configure:16245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16246 eval "ac_cv_func_
$ac_func=yes"
16248 echo "configure
: failed program was
:" >&5
16249 cat conftest.$ac_ext >&5
16251 eval "ac_cv_func_
$ac_func=no
"
16256 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16257 echo "$ac_t""yes" 1>&6
16258 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16259 cat >> confdefs.h <<EOF
16260 #define $ac_tr_func 1
16264 echo "$ac_t""no
" 1>&6
16273 echo $ac_n "checking
for long double trig functions
""...
$ac_c" 1>&6
16274 echo "configure
:16275: checking
for long double trig functions
" >&5
16275 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
16276 echo $ac_n "(cached
) $ac_c" 1>&6
16281 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16282 ac_cpp='$CXXCPP $CPPFLAGS'
16283 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16284 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16285 cross_compiling=$ac_cv_prog_cxx_cross
16287 cat > conftest.$ac_ext <<EOF
16288 #line 16289 "configure
"
16289 #include "confdefs.h
"
16292 `for x in acosl asinl atanl \
16294 coshl sinhl tanhl; do echo "$x (0);"; done`
16297 if { (eval echo configure:16298: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16299 glibcpp_cv_func_long_double_trig_use=yes
16301 echo "configure
: failed program was
:" >&5
16302 cat conftest.$ac_ext >&5
16304 glibcpp_cv_func_long_double_trig_use=no
16308 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16309 ac_cpp='$CPP $CPPFLAGS'
16310 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16311 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16312 cross_compiling=$ac_cv_prog_cc_cross
16316 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
16317 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
16318 for ac_func in acosl asinl atanl \
16322 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16323 echo "configure
:16324: checking
for $ac_func" >&5
16324 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16325 echo $ac_n "(cached
) $ac_c" 1>&6
16327 cat > conftest.$ac_ext <<EOF
16328 #line 16329 "configure
"
16329 #include "confdefs.h
"
16330 /* System header to define __stub macros and hopefully few prototypes,
16331 which can conflict with char $ac_func(); below. */
16332 #include <assert.h>
16333 /* Override any gcc2 internal prototype to avoid an error. */
16334 /* We use char because int might match the return type of a gcc2
16335 builtin and then its argument prototype would still apply. */
16340 /* The GNU C library defines this for functions which it implements
16341 to always fail with ENOSYS. Some functions are actually named
16342 something starting with __ and the normal name is an alias. */
16343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16351 if { (eval echo configure:16352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16353 eval "ac_cv_func_
$ac_func=yes"
16355 echo "configure
: failed program was
:" >&5
16356 cat conftest.$ac_ext >&5
16358 eval "ac_cv_func_
$ac_func=no
"
16363 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16364 echo "$ac_t""yes" 1>&6
16365 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16366 cat >> confdefs.h <<EOF
16367 #define $ac_tr_func 1
16371 echo "$ac_t""no
" 1>&6
16378 echo $ac_n "checking
for long double round functions
""...
$ac_c" 1>&6
16379 echo "configure
:16380: checking
for long double round functions
" >&5
16380 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
16381 echo $ac_n "(cached
) $ac_c" 1>&6
16386 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16387 ac_cpp='$CXXCPP $CPPFLAGS'
16388 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16389 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16390 cross_compiling=$ac_cv_prog_cxx_cross
16392 cat > conftest.$ac_ext <<EOF
16393 #line 16394 "configure
"
16394 #include "confdefs.h
"
16397 `for x in ceill floorl; do echo "$x (0);"; done`
16400 if { (eval echo configure:16401: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16402 glibcpp_cv_func_long_double_round_use=yes
16404 echo "configure
: failed program was
:" >&5
16405 cat conftest.$ac_ext >&5
16407 glibcpp_cv_func_long_double_round_use=no
16411 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16412 ac_cpp='$CPP $CPPFLAGS'
16413 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16414 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16415 cross_compiling=$ac_cv_prog_cc_cross
16419 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
16420 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
16421 for ac_func in ceill floorl
16423 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16424 echo "configure
:16425: checking
for $ac_func" >&5
16425 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16426 echo $ac_n "(cached
) $ac_c" 1>&6
16428 cat > conftest.$ac_ext <<EOF
16429 #line 16430 "configure
"
16430 #include "confdefs.h
"
16431 /* System header to define __stub macros and hopefully few prototypes,
16432 which can conflict with char $ac_func(); below. */
16433 #include <assert.h>
16434 /* Override any gcc2 internal prototype to avoid an error. */
16435 /* We use char because int might match the return type of a gcc2
16436 builtin and then its argument prototype would still apply. */
16441 /* The GNU C library defines this for functions which it implements
16442 to always fail with ENOSYS. Some functions are actually named
16443 something starting with __ and the normal name is an alias. */
16444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16452 if { (eval echo configure:16453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16454 eval "ac_cv_func_
$ac_func=yes"
16456 echo "configure
: failed program was
:" >&5
16457 cat conftest.$ac_ext >&5
16459 eval "ac_cv_func_
$ac_func=no
"
16464 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16465 echo "$ac_t""yes" 1>&6
16466 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16467 cat >> confdefs.h <<EOF
16468 #define $ac_tr_func 1
16472 echo "$ac_t""no
" 1>&6
16480 echo $ac_n "checking
for isnanl declaration
""...
$ac_c" 1>&6
16481 echo "configure
:16482: checking
for isnanl declaration
" >&5
16482 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
16483 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
16484 echo $ac_n "(cached
) $ac_c" 1>&6
16489 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16490 ac_cpp='$CXXCPP $CPPFLAGS'
16491 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16492 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16493 cross_compiling=$ac_cv_prog_cxx_cross
16495 cat > conftest.$ac_ext <<EOF
16496 #line 16497 "configure
"
16497 #include "confdefs.h
"
16499 #ifdef HAVE_IEEEFP_H
16500 #include <ieeefp.h>
16507 if { (eval echo configure:16508: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16509 glibcpp_cv_func_isnanl_use=yes
16511 echo "configure
: failed program was
:" >&5
16512 cat conftest.$ac_ext >&5
16514 glibcpp_cv_func_isnanl_use=no
16518 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16519 ac_cpp='$CPP $CPPFLAGS'
16520 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16521 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16522 cross_compiling=$ac_cv_prog_cc_cross
16528 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
16530 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
16531 for ac_func in isnanl
16533 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16534 echo "configure
:16535: checking
for $ac_func" >&5
16535 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16536 echo $ac_n "(cached
) $ac_c" 1>&6
16538 cat > conftest.$ac_ext <<EOF
16539 #line 16540 "configure
"
16540 #include "confdefs.h
"
16541 /* System header to define __stub macros and hopefully few prototypes,
16542 which can conflict with char $ac_func(); below. */
16543 #include <assert.h>
16544 /* Override any gcc2 internal prototype to avoid an error. */
16545 /* We use char because int might match the return type of a gcc2
16546 builtin and then its argument prototype would still apply. */
16551 /* The GNU C library defines this for functions which it implements
16552 to always fail with ENOSYS. Some functions are actually named
16553 something starting with __ and the normal name is an alias. */
16554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16562 if { (eval echo configure:16563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16564 eval "ac_cv_func_
$ac_func=yes"
16566 echo "configure
: failed program was
:" >&5
16567 cat conftest.$ac_ext >&5
16569 eval "ac_cv_func_
$ac_func=no
"
16574 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16575 echo "$ac_t""yes" 1>&6
16576 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16577 cat >> confdefs.h <<EOF
16578 #define $ac_tr_func 1
16582 echo "$ac_t""no
" 1>&6
16588 echo $ac_n "checking
for _isnanl declaration
""...
$ac_c" 1>&6
16589 echo "configure
:16590: checking
for _isnanl declaration
" >&5
16590 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
16591 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
16592 echo $ac_n "(cached
) $ac_c" 1>&6
16597 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16598 ac_cpp='$CXXCPP $CPPFLAGS'
16599 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16600 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16601 cross_compiling=$ac_cv_prog_cxx_cross
16603 cat > conftest.$ac_ext <<EOF
16604 #line 16605 "configure
"
16605 #include "confdefs.h
"
16607 #ifdef HAVE_IEEEFP_H
16608 #include <ieeefp.h>
16615 if { (eval echo configure:16616: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16617 glibcpp_cv_func__isnanl_use=yes
16619 echo "configure
: failed program was
:" >&5
16620 cat conftest.$ac_ext >&5
16622 glibcpp_cv_func__isnanl_use=no
16626 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16627 ac_cpp='$CPP $CPPFLAGS'
16628 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16629 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16630 cross_compiling=$ac_cv_prog_cc_cross
16636 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
16638 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
16639 for ac_func in _isnanl
16641 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16642 echo "configure
:16643: checking
for $ac_func" >&5
16643 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16644 echo $ac_n "(cached
) $ac_c" 1>&6
16646 cat > conftest.$ac_ext <<EOF
16647 #line 16648 "configure
"
16648 #include "confdefs.h
"
16649 /* System header to define __stub macros and hopefully few prototypes,
16650 which can conflict with char $ac_func(); below. */
16651 #include <assert.h>
16652 /* Override any gcc2 internal prototype to avoid an error. */
16653 /* We use char because int might match the return type of a gcc2
16654 builtin and then its argument prototype would still apply. */
16659 /* The GNU C library defines this for functions which it implements
16660 to always fail with ENOSYS. Some functions are actually named
16661 something starting with __ and the normal name is an alias. */
16662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16670 if { (eval echo configure:16671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16672 eval "ac_cv_func_
$ac_func=yes"
16674 echo "configure
: failed program was
:" >&5
16675 cat conftest.$ac_ext >&5
16677 eval "ac_cv_func_
$ac_func=no
"
16682 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16683 echo "$ac_t""yes" 1>&6
16684 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16685 cat >> confdefs.h <<EOF
16686 #define $ac_tr_func 1
16690 echo "$ac_t""no
" 1>&6
16699 echo $ac_n "checking
for isinfl declaration
""...
$ac_c" 1>&6
16700 echo "configure
:16701: checking
for isinfl declaration
" >&5
16701 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
16702 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
16703 echo $ac_n "(cached
) $ac_c" 1>&6
16708 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16709 ac_cpp='$CXXCPP $CPPFLAGS'
16710 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16711 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16712 cross_compiling=$ac_cv_prog_cxx_cross
16714 cat > conftest.$ac_ext <<EOF
16715 #line 16716 "configure
"
16716 #include "confdefs.h
"
16718 #ifdef HAVE_IEEEFP_H
16719 #include <ieeefp.h>
16726 if { (eval echo configure:16727: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16728 glibcpp_cv_func_isinfl_use=yes
16730 echo "configure
: failed program was
:" >&5
16731 cat conftest.$ac_ext >&5
16733 glibcpp_cv_func_isinfl_use=no
16737 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16738 ac_cpp='$CPP $CPPFLAGS'
16739 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16740 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16741 cross_compiling=$ac_cv_prog_cc_cross
16747 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
16749 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
16750 for ac_func in isinfl
16752 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16753 echo "configure
:16754: checking
for $ac_func" >&5
16754 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16755 echo $ac_n "(cached
) $ac_c" 1>&6
16757 cat > conftest.$ac_ext <<EOF
16758 #line 16759 "configure
"
16759 #include "confdefs.h
"
16760 /* System header to define __stub macros and hopefully few prototypes,
16761 which can conflict with char $ac_func(); below. */
16762 #include <assert.h>
16763 /* Override any gcc2 internal prototype to avoid an error. */
16764 /* We use char because int might match the return type of a gcc2
16765 builtin and then its argument prototype would still apply. */
16770 /* The GNU C library defines this for functions which it implements
16771 to always fail with ENOSYS. Some functions are actually named
16772 something starting with __ and the normal name is an alias. */
16773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16781 if { (eval echo configure:16782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16783 eval "ac_cv_func_
$ac_func=yes"
16785 echo "configure
: failed program was
:" >&5
16786 cat conftest.$ac_ext >&5
16788 eval "ac_cv_func_
$ac_func=no
"
16793 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16794 echo "$ac_t""yes" 1>&6
16795 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16796 cat >> confdefs.h <<EOF
16797 #define $ac_tr_func 1
16801 echo "$ac_t""no
" 1>&6
16807 echo $ac_n "checking
for _isinfl declaration
""...
$ac_c" 1>&6
16808 echo "configure
:16809: checking
for _isinfl declaration
" >&5
16809 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
16810 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
16811 echo $ac_n "(cached
) $ac_c" 1>&6
16816 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16817 ac_cpp='$CXXCPP $CPPFLAGS'
16818 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16819 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16820 cross_compiling=$ac_cv_prog_cxx_cross
16822 cat > conftest.$ac_ext <<EOF
16823 #line 16824 "configure
"
16824 #include "confdefs.h
"
16826 #ifdef HAVE_IEEEFP_H
16827 #include <ieeefp.h>
16834 if { (eval echo configure:16835: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16836 glibcpp_cv_func__isinfl_use=yes
16838 echo "configure
: failed program was
:" >&5
16839 cat conftest.$ac_ext >&5
16841 glibcpp_cv_func__isinfl_use=no
16845 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16846 ac_cpp='$CPP $CPPFLAGS'
16847 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16848 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16849 cross_compiling=$ac_cv_prog_cc_cross
16855 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
16857 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
16858 for ac_func in _isinfl
16860 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16861 echo "configure
:16862: checking
for $ac_func" >&5
16862 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16863 echo $ac_n "(cached
) $ac_c" 1>&6
16865 cat > conftest.$ac_ext <<EOF
16866 #line 16867 "configure
"
16867 #include "confdefs.h
"
16868 /* System header to define __stub macros and hopefully few prototypes,
16869 which can conflict with char $ac_func(); below. */
16870 #include <assert.h>
16871 /* Override any gcc2 internal prototype to avoid an error. */
16872 /* We use char because int might match the return type of a gcc2
16873 builtin and then its argument prototype would still apply. */
16878 /* The GNU C library defines this for functions which it implements
16879 to always fail with ENOSYS. Some functions are actually named
16880 something starting with __ and the normal name is an alias. */
16881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16889 if { (eval echo configure:16890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16891 eval "ac_cv_func_
$ac_func=yes"
16893 echo "configure
: failed program was
:" >&5
16894 cat conftest.$ac_ext >&5
16896 eval "ac_cv_func_
$ac_func=no
"
16901 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16902 echo "$ac_t""yes" 1>&6
16903 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16904 cat >> confdefs.h <<EOF
16905 #define $ac_tr_func 1
16909 echo "$ac_t""no
" 1>&6
16918 echo $ac_n "checking
for copysignl declaration
""...
$ac_c" 1>&6
16919 echo "configure
:16920: checking
for copysignl declaration
" >&5
16920 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
16921 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
16922 echo $ac_n "(cached
) $ac_c" 1>&6
16927 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16928 ac_cpp='$CXXCPP $CPPFLAGS'
16929 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16930 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16931 cross_compiling=$ac_cv_prog_cxx_cross
16933 cat > conftest.$ac_ext <<EOF
16934 #line 16935 "configure
"
16935 #include "confdefs.h
"
16941 if { (eval echo configure:16942: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16943 glibcpp_cv_func_copysignl_use=yes
16945 echo "configure
: failed program was
:" >&5
16946 cat conftest.$ac_ext >&5
16948 glibcpp_cv_func_copysignl_use=no
16952 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16953 ac_cpp='$CPP $CPPFLAGS'
16954 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16955 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16956 cross_compiling=$ac_cv_prog_cc_cross
16962 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
16964 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
16965 for ac_func in copysignl
16967 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16968 echo "configure
:16969: checking
for $ac_func" >&5
16969 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16970 echo $ac_n "(cached
) $ac_c" 1>&6
16972 cat > conftest.$ac_ext <<EOF
16973 #line 16974 "configure
"
16974 #include "confdefs.h
"
16975 /* System header to define __stub macros and hopefully few prototypes,
16976 which can conflict with char $ac_func(); below. */
16977 #include <assert.h>
16978 /* Override any gcc2 internal prototype to avoid an error. */
16979 /* We use char because int might match the return type of a gcc2
16980 builtin and then its argument prototype would still apply. */
16985 /* The GNU C library defines this for functions which it implements
16986 to always fail with ENOSYS. Some functions are actually named
16987 something starting with __ and the normal name is an alias. */
16988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16996 if { (eval echo configure:16997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16998 eval "ac_cv_func_
$ac_func=yes"
17000 echo "configure
: failed program was
:" >&5
17001 cat conftest.$ac_ext >&5
17003 eval "ac_cv_func_
$ac_func=no
"
17008 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17009 echo "$ac_t""yes" 1>&6
17010 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17011 cat >> confdefs.h <<EOF
17012 #define $ac_tr_func 1
17016 echo "$ac_t""no
" 1>&6
17022 echo $ac_n "checking
for _copysignl declaration
""...
$ac_c" 1>&6
17023 echo "configure
:17024: checking
for _copysignl declaration
" >&5
17024 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
17025 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
17026 echo $ac_n "(cached
) $ac_c" 1>&6
17031 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17032 ac_cpp='$CXXCPP $CPPFLAGS'
17033 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17034 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17035 cross_compiling=$ac_cv_prog_cxx_cross
17037 cat > conftest.$ac_ext <<EOF
17038 #line 17039 "configure
"
17039 #include "confdefs.h
"
17045 if { (eval echo configure:17046: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17047 glibcpp_cv_func__copysignl_use=yes
17049 echo "configure
: failed program was
:" >&5
17050 cat conftest.$ac_ext >&5
17052 glibcpp_cv_func__copysignl_use=no
17056 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17057 ac_cpp='$CPP $CPPFLAGS'
17058 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17059 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17060 cross_compiling=$ac_cv_prog_cc_cross
17066 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
17068 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
17069 for ac_func in _copysignl
17071 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17072 echo "configure
:17073: checking
for $ac_func" >&5
17073 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17074 echo $ac_n "(cached
) $ac_c" 1>&6
17076 cat > conftest.$ac_ext <<EOF
17077 #line 17078 "configure
"
17078 #include "confdefs.h
"
17079 /* System header to define __stub macros and hopefully few prototypes,
17080 which can conflict with char $ac_func(); below. */
17081 #include <assert.h>
17082 /* Override any gcc2 internal prototype to avoid an error. */
17083 /* We use char because int might match the return type of a gcc2
17084 builtin and then its argument prototype would still apply. */
17089 /* The GNU C library defines this for functions which it implements
17090 to always fail with ENOSYS. Some functions are actually named
17091 something starting with __ and the normal name is an alias. */
17092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17100 if { (eval echo configure:17101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17102 eval "ac_cv_func_
$ac_func=yes"
17104 echo "configure
: failed program was
:" >&5
17105 cat conftest.$ac_ext >&5
17107 eval "ac_cv_func_
$ac_func=no
"
17112 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17113 echo "$ac_t""yes" 1>&6
17114 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17115 cat >> confdefs.h <<EOF
17116 #define $ac_tr_func 1
17120 echo "$ac_t""no
" 1>&6
17129 echo $ac_n "checking
for atan2l declaration
""...
$ac_c" 1>&6
17130 echo "configure
:17131: checking
for atan2l declaration
" >&5
17131 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
17132 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
17133 echo $ac_n "(cached
) $ac_c" 1>&6
17138 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17139 ac_cpp='$CXXCPP $CPPFLAGS'
17140 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17141 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17142 cross_compiling=$ac_cv_prog_cxx_cross
17144 cat > conftest.$ac_ext <<EOF
17145 #line 17146 "configure
"
17146 #include "confdefs.h
"
17152 if { (eval echo configure:17153: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17154 glibcpp_cv_func_atan2l_use=yes
17156 echo "configure
: failed program was
:" >&5
17157 cat conftest.$ac_ext >&5
17159 glibcpp_cv_func_atan2l_use=no
17163 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17164 ac_cpp='$CPP $CPPFLAGS'
17165 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17166 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17167 cross_compiling=$ac_cv_prog_cc_cross
17173 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
17175 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
17176 for ac_func in atan2l
17178 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17179 echo "configure
:17180: checking
for $ac_func" >&5
17180 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17181 echo $ac_n "(cached
) $ac_c" 1>&6
17183 cat > conftest.$ac_ext <<EOF
17184 #line 17185 "configure
"
17185 #include "confdefs.h
"
17186 /* System header to define __stub macros and hopefully few prototypes,
17187 which can conflict with char $ac_func(); below. */
17188 #include <assert.h>
17189 /* Override any gcc2 internal prototype to avoid an error. */
17190 /* We use char because int might match the return type of a gcc2
17191 builtin and then its argument prototype would still apply. */
17196 /* The GNU C library defines this for functions which it implements
17197 to always fail with ENOSYS. Some functions are actually named
17198 something starting with __ and the normal name is an alias. */
17199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17207 if { (eval echo configure:17208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17209 eval "ac_cv_func_
$ac_func=yes"
17211 echo "configure
: failed program was
:" >&5
17212 cat conftest.$ac_ext >&5
17214 eval "ac_cv_func_
$ac_func=no
"
17219 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17220 echo "$ac_t""yes" 1>&6
17221 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17222 cat >> confdefs.h <<EOF
17223 #define $ac_tr_func 1
17227 echo "$ac_t""no
" 1>&6
17233 echo $ac_n "checking
for _atan2l declaration
""...
$ac_c" 1>&6
17234 echo "configure
:17235: checking
for _atan2l declaration
" >&5
17235 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
17236 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
17237 echo $ac_n "(cached
) $ac_c" 1>&6
17242 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17243 ac_cpp='$CXXCPP $CPPFLAGS'
17244 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17245 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17246 cross_compiling=$ac_cv_prog_cxx_cross
17248 cat > conftest.$ac_ext <<EOF
17249 #line 17250 "configure
"
17250 #include "confdefs.h
"
17256 if { (eval echo configure:17257: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17258 glibcpp_cv_func__atan2l_use=yes
17260 echo "configure
: failed program was
:" >&5
17261 cat conftest.$ac_ext >&5
17263 glibcpp_cv_func__atan2l_use=no
17267 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17268 ac_cpp='$CPP $CPPFLAGS'
17269 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17270 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17271 cross_compiling=$ac_cv_prog_cc_cross
17277 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
17279 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
17280 for ac_func in _atan2l
17282 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17283 echo "configure
:17284: checking
for $ac_func" >&5
17284 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17285 echo $ac_n "(cached
) $ac_c" 1>&6
17287 cat > conftest.$ac_ext <<EOF
17288 #line 17289 "configure
"
17289 #include "confdefs.h
"
17290 /* System header to define __stub macros and hopefully few prototypes,
17291 which can conflict with char $ac_func(); below. */
17292 #include <assert.h>
17293 /* Override any gcc2 internal prototype to avoid an error. */
17294 /* We use char because int might match the return type of a gcc2
17295 builtin and then its argument prototype would still apply. */
17300 /* The GNU C library defines this for functions which it implements
17301 to always fail with ENOSYS. Some functions are actually named
17302 something starting with __ and the normal name is an alias. */
17303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17311 if { (eval echo configure:17312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17313 eval "ac_cv_func_
$ac_func=yes"
17315 echo "configure
: failed program was
:" >&5
17316 cat conftest.$ac_ext >&5
17318 eval "ac_cv_func_
$ac_func=no
"
17323 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17324 echo "$ac_t""yes" 1>&6
17325 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17326 cat >> confdefs.h <<EOF
17327 #define $ac_tr_func 1
17331 echo "$ac_t""no
" 1>&6
17340 echo $ac_n "checking
for expl declaration
""...
$ac_c" 1>&6
17341 echo "configure
:17342: checking
for expl declaration
" >&5
17342 if test x${glibcpp_cv_func_expl_use+set} != xset; then
17343 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
17344 echo $ac_n "(cached
) $ac_c" 1>&6
17349 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17350 ac_cpp='$CXXCPP $CPPFLAGS'
17351 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17352 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17353 cross_compiling=$ac_cv_prog_cxx_cross
17355 cat > conftest.$ac_ext <<EOF
17356 #line 17357 "configure
"
17357 #include "confdefs.h
"
17359 #ifdef HAVE_IEEEFP_H
17360 #include <ieeefp.h>
17367 if { (eval echo configure:17368: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17369 glibcpp_cv_func_expl_use=yes
17371 echo "configure
: failed program was
:" >&5
17372 cat conftest.$ac_ext >&5
17374 glibcpp_cv_func_expl_use=no
17378 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17379 ac_cpp='$CPP $CPPFLAGS'
17380 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17381 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17382 cross_compiling=$ac_cv_prog_cc_cross
17388 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
17390 if test x$glibcpp_cv_func_expl_use = x"yes"; then
17391 for ac_func in expl
17393 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17394 echo "configure
:17395: checking
for $ac_func" >&5
17395 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17396 echo $ac_n "(cached
) $ac_c" 1>&6
17398 cat > conftest.$ac_ext <<EOF
17399 #line 17400 "configure
"
17400 #include "confdefs.h
"
17401 /* System header to define __stub macros and hopefully few prototypes,
17402 which can conflict with char $ac_func(); below. */
17403 #include <assert.h>
17404 /* Override any gcc2 internal prototype to avoid an error. */
17405 /* We use char because int might match the return type of a gcc2
17406 builtin and then its argument prototype would still apply. */
17411 /* The GNU C library defines this for functions which it implements
17412 to always fail with ENOSYS. Some functions are actually named
17413 something starting with __ and the normal name is an alias. */
17414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17422 if { (eval echo configure:17423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17424 eval "ac_cv_func_
$ac_func=yes"
17426 echo "configure
: failed program was
:" >&5
17427 cat conftest.$ac_ext >&5
17429 eval "ac_cv_func_
$ac_func=no
"
17434 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17435 echo "$ac_t""yes" 1>&6
17436 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17437 cat >> confdefs.h <<EOF
17438 #define $ac_tr_func 1
17442 echo "$ac_t""no
" 1>&6
17448 echo $ac_n "checking
for _expl declaration
""...
$ac_c" 1>&6
17449 echo "configure
:17450: checking
for _expl declaration
" >&5
17450 if test x${glibcpp_cv_func__expl_use+set} != xset; then
17451 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
17452 echo $ac_n "(cached
) $ac_c" 1>&6
17457 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17458 ac_cpp='$CXXCPP $CPPFLAGS'
17459 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17460 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17461 cross_compiling=$ac_cv_prog_cxx_cross
17463 cat > conftest.$ac_ext <<EOF
17464 #line 17465 "configure
"
17465 #include "confdefs.h
"
17467 #ifdef HAVE_IEEEFP_H
17468 #include <ieeefp.h>
17475 if { (eval echo configure:17476: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17477 glibcpp_cv_func__expl_use=yes
17479 echo "configure
: failed program was
:" >&5
17480 cat conftest.$ac_ext >&5
17482 glibcpp_cv_func__expl_use=no
17486 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17487 ac_cpp='$CPP $CPPFLAGS'
17488 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17489 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17490 cross_compiling=$ac_cv_prog_cc_cross
17496 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
17498 if test x$glibcpp_cv_func__expl_use = x"yes"; then
17499 for ac_func in _expl
17501 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17502 echo "configure
:17503: checking
for $ac_func" >&5
17503 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17504 echo $ac_n "(cached
) $ac_c" 1>&6
17506 cat > conftest.$ac_ext <<EOF
17507 #line 17508 "configure
"
17508 #include "confdefs.h
"
17509 /* System header to define __stub macros and hopefully few prototypes,
17510 which can conflict with char $ac_func(); below. */
17511 #include <assert.h>
17512 /* Override any gcc2 internal prototype to avoid an error. */
17513 /* We use char because int might match the return type of a gcc2
17514 builtin and then its argument prototype would still apply. */
17519 /* The GNU C library defines this for functions which it implements
17520 to always fail with ENOSYS. Some functions are actually named
17521 something starting with __ and the normal name is an alias. */
17522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17530 if { (eval echo configure:17531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17532 eval "ac_cv_func_
$ac_func=yes"
17534 echo "configure
: failed program was
:" >&5
17535 cat conftest.$ac_ext >&5
17537 eval "ac_cv_func_
$ac_func=no
"
17542 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17543 echo "$ac_t""yes" 1>&6
17544 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17545 cat >> confdefs.h <<EOF
17546 #define $ac_tr_func 1
17550 echo "$ac_t""no
" 1>&6
17559 echo $ac_n "checking
for fabsl declaration
""...
$ac_c" 1>&6
17560 echo "configure
:17561: checking
for fabsl declaration
" >&5
17561 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
17562 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
17563 echo $ac_n "(cached
) $ac_c" 1>&6
17568 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17569 ac_cpp='$CXXCPP $CPPFLAGS'
17570 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17571 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17572 cross_compiling=$ac_cv_prog_cxx_cross
17574 cat > conftest.$ac_ext <<EOF
17575 #line 17576 "configure
"
17576 #include "confdefs.h
"
17578 #ifdef HAVE_IEEEFP_H
17579 #include <ieeefp.h>
17586 if { (eval echo configure:17587: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17588 glibcpp_cv_func_fabsl_use=yes
17590 echo "configure
: failed program was
:" >&5
17591 cat conftest.$ac_ext >&5
17593 glibcpp_cv_func_fabsl_use=no
17597 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17598 ac_cpp='$CPP $CPPFLAGS'
17599 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17600 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17601 cross_compiling=$ac_cv_prog_cc_cross
17607 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
17609 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
17610 for ac_func in fabsl
17612 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17613 echo "configure
:17614: checking
for $ac_func" >&5
17614 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17615 echo $ac_n "(cached
) $ac_c" 1>&6
17617 cat > conftest.$ac_ext <<EOF
17618 #line 17619 "configure
"
17619 #include "confdefs.h
"
17620 /* System header to define __stub macros and hopefully few prototypes,
17621 which can conflict with char $ac_func(); below. */
17622 #include <assert.h>
17623 /* Override any gcc2 internal prototype to avoid an error. */
17624 /* We use char because int might match the return type of a gcc2
17625 builtin and then its argument prototype would still apply. */
17630 /* The GNU C library defines this for functions which it implements
17631 to always fail with ENOSYS. Some functions are actually named
17632 something starting with __ and the normal name is an alias. */
17633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17641 if { (eval echo configure:17642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17643 eval "ac_cv_func_
$ac_func=yes"
17645 echo "configure
: failed program was
:" >&5
17646 cat conftest.$ac_ext >&5
17648 eval "ac_cv_func_
$ac_func=no
"
17653 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17654 echo "$ac_t""yes" 1>&6
17655 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17656 cat >> confdefs.h <<EOF
17657 #define $ac_tr_func 1
17661 echo "$ac_t""no
" 1>&6
17667 echo $ac_n "checking
for _fabsl declaration
""...
$ac_c" 1>&6
17668 echo "configure
:17669: checking
for _fabsl declaration
" >&5
17669 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
17670 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
17671 echo $ac_n "(cached
) $ac_c" 1>&6
17676 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17677 ac_cpp='$CXXCPP $CPPFLAGS'
17678 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17679 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17680 cross_compiling=$ac_cv_prog_cxx_cross
17682 cat > conftest.$ac_ext <<EOF
17683 #line 17684 "configure
"
17684 #include "confdefs.h
"
17686 #ifdef HAVE_IEEEFP_H
17687 #include <ieeefp.h>
17694 if { (eval echo configure:17695: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17696 glibcpp_cv_func__fabsl_use=yes
17698 echo "configure
: failed program was
:" >&5
17699 cat conftest.$ac_ext >&5
17701 glibcpp_cv_func__fabsl_use=no
17705 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17706 ac_cpp='$CPP $CPPFLAGS'
17707 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17708 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17709 cross_compiling=$ac_cv_prog_cc_cross
17715 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
17717 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
17718 for ac_func in _fabsl
17720 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17721 echo "configure
:17722: checking
for $ac_func" >&5
17722 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17723 echo $ac_n "(cached
) $ac_c" 1>&6
17725 cat > conftest.$ac_ext <<EOF
17726 #line 17727 "configure
"
17727 #include "confdefs.h
"
17728 /* System header to define __stub macros and hopefully few prototypes,
17729 which can conflict with char $ac_func(); below. */
17730 #include <assert.h>
17731 /* Override any gcc2 internal prototype to avoid an error. */
17732 /* We use char because int might match the return type of a gcc2
17733 builtin and then its argument prototype would still apply. */
17738 /* The GNU C library defines this for functions which it implements
17739 to always fail with ENOSYS. Some functions are actually named
17740 something starting with __ and the normal name is an alias. */
17741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17749 if { (eval echo configure:17750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17751 eval "ac_cv_func_
$ac_func=yes"
17753 echo "configure
: failed program was
:" >&5
17754 cat conftest.$ac_ext >&5
17756 eval "ac_cv_func_
$ac_func=no
"
17761 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17762 echo "$ac_t""yes" 1>&6
17763 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17764 cat >> confdefs.h <<EOF
17765 #define $ac_tr_func 1
17769 echo "$ac_t""no
" 1>&6
17778 echo $ac_n "checking
for fmodl declaration
""...
$ac_c" 1>&6
17779 echo "configure
:17780: checking
for fmodl declaration
" >&5
17780 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
17781 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
17782 echo $ac_n "(cached
) $ac_c" 1>&6
17787 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17788 ac_cpp='$CXXCPP $CPPFLAGS'
17789 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17790 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17791 cross_compiling=$ac_cv_prog_cxx_cross
17793 cat > conftest.$ac_ext <<EOF
17794 #line 17795 "configure
"
17795 #include "confdefs.h
"
17801 if { (eval echo configure:17802: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17803 glibcpp_cv_func_fmodl_use=yes
17805 echo "configure
: failed program was
:" >&5
17806 cat conftest.$ac_ext >&5
17808 glibcpp_cv_func_fmodl_use=no
17812 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17813 ac_cpp='$CPP $CPPFLAGS'
17814 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17815 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17816 cross_compiling=$ac_cv_prog_cc_cross
17822 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
17824 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
17825 for ac_func in fmodl
17827 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17828 echo "configure
:17829: checking
for $ac_func" >&5
17829 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17830 echo $ac_n "(cached
) $ac_c" 1>&6
17832 cat > conftest.$ac_ext <<EOF
17833 #line 17834 "configure
"
17834 #include "confdefs.h
"
17835 /* System header to define __stub macros and hopefully few prototypes,
17836 which can conflict with char $ac_func(); below. */
17837 #include <assert.h>
17838 /* Override any gcc2 internal prototype to avoid an error. */
17839 /* We use char because int might match the return type of a gcc2
17840 builtin and then its argument prototype would still apply. */
17845 /* The GNU C library defines this for functions which it implements
17846 to always fail with ENOSYS. Some functions are actually named
17847 something starting with __ and the normal name is an alias. */
17848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17856 if { (eval echo configure:17857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17858 eval "ac_cv_func_
$ac_func=yes"
17860 echo "configure
: failed program was
:" >&5
17861 cat conftest.$ac_ext >&5
17863 eval "ac_cv_func_
$ac_func=no
"
17868 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17869 echo "$ac_t""yes" 1>&6
17870 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17871 cat >> confdefs.h <<EOF
17872 #define $ac_tr_func 1
17876 echo "$ac_t""no
" 1>&6
17882 echo $ac_n "checking
for _fmodl declaration
""...
$ac_c" 1>&6
17883 echo "configure
:17884: checking
for _fmodl declaration
" >&5
17884 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
17885 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
17886 echo $ac_n "(cached
) $ac_c" 1>&6
17891 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17892 ac_cpp='$CXXCPP $CPPFLAGS'
17893 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17894 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17895 cross_compiling=$ac_cv_prog_cxx_cross
17897 cat > conftest.$ac_ext <<EOF
17898 #line 17899 "configure
"
17899 #include "confdefs.h
"
17905 if { (eval echo configure:17906: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17907 glibcpp_cv_func__fmodl_use=yes
17909 echo "configure
: failed program was
:" >&5
17910 cat conftest.$ac_ext >&5
17912 glibcpp_cv_func__fmodl_use=no
17916 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17917 ac_cpp='$CPP $CPPFLAGS'
17918 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17919 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17920 cross_compiling=$ac_cv_prog_cc_cross
17926 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
17928 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
17929 for ac_func in _fmodl
17931 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17932 echo "configure
:17933: checking
for $ac_func" >&5
17933 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17934 echo $ac_n "(cached
) $ac_c" 1>&6
17936 cat > conftest.$ac_ext <<EOF
17937 #line 17938 "configure
"
17938 #include "confdefs.h
"
17939 /* System header to define __stub macros and hopefully few prototypes,
17940 which can conflict with char $ac_func(); below. */
17941 #include <assert.h>
17942 /* Override any gcc2 internal prototype to avoid an error. */
17943 /* We use char because int might match the return type of a gcc2
17944 builtin and then its argument prototype would still apply. */
17949 /* The GNU C library defines this for functions which it implements
17950 to always fail with ENOSYS. Some functions are actually named
17951 something starting with __ and the normal name is an alias. */
17952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17960 if { (eval echo configure:17961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17962 eval "ac_cv_func_
$ac_func=yes"
17964 echo "configure
: failed program was
:" >&5
17965 cat conftest.$ac_ext >&5
17967 eval "ac_cv_func_
$ac_func=no
"
17972 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17973 echo "$ac_t""yes" 1>&6
17974 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17975 cat >> confdefs.h <<EOF
17976 #define $ac_tr_func 1
17980 echo "$ac_t""no
" 1>&6
17989 echo $ac_n "checking
for frexpl declaration
""...
$ac_c" 1>&6
17990 echo "configure
:17991: checking
for frexpl declaration
" >&5
17991 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
17992 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
17993 echo $ac_n "(cached
) $ac_c" 1>&6
17998 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17999 ac_cpp='$CXXCPP $CPPFLAGS'
18000 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18001 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18002 cross_compiling=$ac_cv_prog_cxx_cross
18004 cat > conftest.$ac_ext <<EOF
18005 #line 18006 "configure
"
18006 #include "confdefs.h
"
18012 if { (eval echo configure:18013: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18014 glibcpp_cv_func_frexpl_use=yes
18016 echo "configure
: failed program was
:" >&5
18017 cat conftest.$ac_ext >&5
18019 glibcpp_cv_func_frexpl_use=no
18023 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18024 ac_cpp='$CPP $CPPFLAGS'
18025 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18026 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18027 cross_compiling=$ac_cv_prog_cc_cross
18033 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
18035 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
18036 for ac_func in frexpl
18038 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18039 echo "configure
:18040: checking
for $ac_func" >&5
18040 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18041 echo $ac_n "(cached
) $ac_c" 1>&6
18043 cat > conftest.$ac_ext <<EOF
18044 #line 18045 "configure
"
18045 #include "confdefs.h
"
18046 /* System header to define __stub macros and hopefully few prototypes,
18047 which can conflict with char $ac_func(); below. */
18048 #include <assert.h>
18049 /* Override any gcc2 internal prototype to avoid an error. */
18050 /* We use char because int might match the return type of a gcc2
18051 builtin and then its argument prototype would still apply. */
18056 /* The GNU C library defines this for functions which it implements
18057 to always fail with ENOSYS. Some functions are actually named
18058 something starting with __ and the normal name is an alias. */
18059 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18067 if { (eval echo configure:18068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18069 eval "ac_cv_func_
$ac_func=yes"
18071 echo "configure
: failed program was
:" >&5
18072 cat conftest.$ac_ext >&5
18074 eval "ac_cv_func_
$ac_func=no
"
18079 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18080 echo "$ac_t""yes" 1>&6
18081 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18082 cat >> confdefs.h <<EOF
18083 #define $ac_tr_func 1
18087 echo "$ac_t""no
" 1>&6
18093 echo $ac_n "checking
for _frexpl declaration
""...
$ac_c" 1>&6
18094 echo "configure
:18095: checking
for _frexpl declaration
" >&5
18095 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
18096 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
18097 echo $ac_n "(cached
) $ac_c" 1>&6
18102 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18103 ac_cpp='$CXXCPP $CPPFLAGS'
18104 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18105 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18106 cross_compiling=$ac_cv_prog_cxx_cross
18108 cat > conftest.$ac_ext <<EOF
18109 #line 18110 "configure
"
18110 #include "confdefs.h
"
18116 if { (eval echo configure:18117: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18118 glibcpp_cv_func__frexpl_use=yes
18120 echo "configure
: failed program was
:" >&5
18121 cat conftest.$ac_ext >&5
18123 glibcpp_cv_func__frexpl_use=no
18127 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18128 ac_cpp='$CPP $CPPFLAGS'
18129 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18130 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18131 cross_compiling=$ac_cv_prog_cc_cross
18137 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
18139 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
18140 for ac_func in _frexpl
18142 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18143 echo "configure
:18144: checking
for $ac_func" >&5
18144 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18145 echo $ac_n "(cached
) $ac_c" 1>&6
18147 cat > conftest.$ac_ext <<EOF
18148 #line 18149 "configure
"
18149 #include "confdefs.h
"
18150 /* System header to define __stub macros and hopefully few prototypes,
18151 which can conflict with char $ac_func(); below. */
18152 #include <assert.h>
18153 /* Override any gcc2 internal prototype to avoid an error. */
18154 /* We use char because int might match the return type of a gcc2
18155 builtin and then its argument prototype would still apply. */
18160 /* The GNU C library defines this for functions which it implements
18161 to always fail with ENOSYS. Some functions are actually named
18162 something starting with __ and the normal name is an alias. */
18163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18171 if { (eval echo configure:18172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18173 eval "ac_cv_func_
$ac_func=yes"
18175 echo "configure
: failed program was
:" >&5
18176 cat conftest.$ac_ext >&5
18178 eval "ac_cv_func_
$ac_func=no
"
18183 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18184 echo "$ac_t""yes" 1>&6
18185 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18186 cat >> confdefs.h <<EOF
18187 #define $ac_tr_func 1
18191 echo "$ac_t""no
" 1>&6
18200 echo $ac_n "checking
for hypotl declaration
""...
$ac_c" 1>&6
18201 echo "configure
:18202: checking
for hypotl declaration
" >&5
18202 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
18203 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
18204 echo $ac_n "(cached
) $ac_c" 1>&6
18209 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18210 ac_cpp='$CXXCPP $CPPFLAGS'
18211 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18212 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18213 cross_compiling=$ac_cv_prog_cxx_cross
18215 cat > conftest.$ac_ext <<EOF
18216 #line 18217 "configure
"
18217 #include "confdefs.h
"
18223 if { (eval echo configure:18224: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18225 glibcpp_cv_func_hypotl_use=yes
18227 echo "configure
: failed program was
:" >&5
18228 cat conftest.$ac_ext >&5
18230 glibcpp_cv_func_hypotl_use=no
18234 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18235 ac_cpp='$CPP $CPPFLAGS'
18236 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18237 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18238 cross_compiling=$ac_cv_prog_cc_cross
18244 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
18246 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
18247 for ac_func in hypotl
18249 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18250 echo "configure
:18251: checking
for $ac_func" >&5
18251 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18252 echo $ac_n "(cached
) $ac_c" 1>&6
18254 cat > conftest.$ac_ext <<EOF
18255 #line 18256 "configure
"
18256 #include "confdefs.h
"
18257 /* System header to define __stub macros and hopefully few prototypes,
18258 which can conflict with char $ac_func(); below. */
18259 #include <assert.h>
18260 /* Override any gcc2 internal prototype to avoid an error. */
18261 /* We use char because int might match the return type of a gcc2
18262 builtin and then its argument prototype would still apply. */
18267 /* The GNU C library defines this for functions which it implements
18268 to always fail with ENOSYS. Some functions are actually named
18269 something starting with __ and the normal name is an alias. */
18270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18278 if { (eval echo configure:18279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18280 eval "ac_cv_func_
$ac_func=yes"
18282 echo "configure
: failed program was
:" >&5
18283 cat conftest.$ac_ext >&5
18285 eval "ac_cv_func_
$ac_func=no
"
18290 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18291 echo "$ac_t""yes" 1>&6
18292 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18293 cat >> confdefs.h <<EOF
18294 #define $ac_tr_func 1
18298 echo "$ac_t""no
" 1>&6
18304 echo $ac_n "checking
for _hypotl declaration
""...
$ac_c" 1>&6
18305 echo "configure
:18306: checking
for _hypotl declaration
" >&5
18306 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
18307 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
18308 echo $ac_n "(cached
) $ac_c" 1>&6
18313 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18314 ac_cpp='$CXXCPP $CPPFLAGS'
18315 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18316 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18317 cross_compiling=$ac_cv_prog_cxx_cross
18319 cat > conftest.$ac_ext <<EOF
18320 #line 18321 "configure
"
18321 #include "confdefs.h
"
18327 if { (eval echo configure:18328: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18329 glibcpp_cv_func__hypotl_use=yes
18331 echo "configure
: failed program was
:" >&5
18332 cat conftest.$ac_ext >&5
18334 glibcpp_cv_func__hypotl_use=no
18338 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18339 ac_cpp='$CPP $CPPFLAGS'
18340 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18341 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18342 cross_compiling=$ac_cv_prog_cc_cross
18348 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
18350 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
18351 for ac_func in _hypotl
18353 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18354 echo "configure
:18355: checking
for $ac_func" >&5
18355 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18356 echo $ac_n "(cached
) $ac_c" 1>&6
18358 cat > conftest.$ac_ext <<EOF
18359 #line 18360 "configure
"
18360 #include "confdefs.h
"
18361 /* System header to define __stub macros and hopefully few prototypes,
18362 which can conflict with char $ac_func(); below. */
18363 #include <assert.h>
18364 /* Override any gcc2 internal prototype to avoid an error. */
18365 /* We use char because int might match the return type of a gcc2
18366 builtin and then its argument prototype would still apply. */
18371 /* The GNU C library defines this for functions which it implements
18372 to always fail with ENOSYS. Some functions are actually named
18373 something starting with __ and the normal name is an alias. */
18374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18382 if { (eval echo configure:18383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18384 eval "ac_cv_func_
$ac_func=yes"
18386 echo "configure
: failed program was
:" >&5
18387 cat conftest.$ac_ext >&5
18389 eval "ac_cv_func_
$ac_func=no
"
18394 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18395 echo "$ac_t""yes" 1>&6
18396 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18397 cat >> confdefs.h <<EOF
18398 #define $ac_tr_func 1
18402 echo "$ac_t""no
" 1>&6
18411 echo $ac_n "checking
for ldexpl declaration
""...
$ac_c" 1>&6
18412 echo "configure
:18413: checking
for ldexpl declaration
" >&5
18413 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
18414 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
18415 echo $ac_n "(cached
) $ac_c" 1>&6
18420 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18421 ac_cpp='$CXXCPP $CPPFLAGS'
18422 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18423 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18424 cross_compiling=$ac_cv_prog_cxx_cross
18426 cat > conftest.$ac_ext <<EOF
18427 #line 18428 "configure
"
18428 #include "confdefs.h
"
18434 if { (eval echo configure:18435: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18436 glibcpp_cv_func_ldexpl_use=yes
18438 echo "configure
: failed program was
:" >&5
18439 cat conftest.$ac_ext >&5
18441 glibcpp_cv_func_ldexpl_use=no
18445 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18446 ac_cpp='$CPP $CPPFLAGS'
18447 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18448 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18449 cross_compiling=$ac_cv_prog_cc_cross
18455 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
18457 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
18458 for ac_func in ldexpl
18460 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18461 echo "configure
:18462: checking
for $ac_func" >&5
18462 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18463 echo $ac_n "(cached
) $ac_c" 1>&6
18465 cat > conftest.$ac_ext <<EOF
18466 #line 18467 "configure
"
18467 #include "confdefs.h
"
18468 /* System header to define __stub macros and hopefully few prototypes,
18469 which can conflict with char $ac_func(); below. */
18470 #include <assert.h>
18471 /* Override any gcc2 internal prototype to avoid an error. */
18472 /* We use char because int might match the return type of a gcc2
18473 builtin and then its argument prototype would still apply. */
18478 /* The GNU C library defines this for functions which it implements
18479 to always fail with ENOSYS. Some functions are actually named
18480 something starting with __ and the normal name is an alias. */
18481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18489 if { (eval echo configure:18490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18491 eval "ac_cv_func_
$ac_func=yes"
18493 echo "configure
: failed program was
:" >&5
18494 cat conftest.$ac_ext >&5
18496 eval "ac_cv_func_
$ac_func=no
"
18501 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18502 echo "$ac_t""yes" 1>&6
18503 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18504 cat >> confdefs.h <<EOF
18505 #define $ac_tr_func 1
18509 echo "$ac_t""no
" 1>&6
18515 echo $ac_n "checking
for _ldexpl declaration
""...
$ac_c" 1>&6
18516 echo "configure
:18517: checking
for _ldexpl declaration
" >&5
18517 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
18518 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
18519 echo $ac_n "(cached
) $ac_c" 1>&6
18524 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18525 ac_cpp='$CXXCPP $CPPFLAGS'
18526 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18527 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18528 cross_compiling=$ac_cv_prog_cxx_cross
18530 cat > conftest.$ac_ext <<EOF
18531 #line 18532 "configure
"
18532 #include "confdefs.h
"
18538 if { (eval echo configure:18539: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18540 glibcpp_cv_func__ldexpl_use=yes
18542 echo "configure
: failed program was
:" >&5
18543 cat conftest.$ac_ext >&5
18545 glibcpp_cv_func__ldexpl_use=no
18549 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18550 ac_cpp='$CPP $CPPFLAGS'
18551 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18552 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18553 cross_compiling=$ac_cv_prog_cc_cross
18559 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
18561 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
18562 for ac_func in _ldexpl
18564 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18565 echo "configure
:18566: checking
for $ac_func" >&5
18566 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18567 echo $ac_n "(cached
) $ac_c" 1>&6
18569 cat > conftest.$ac_ext <<EOF
18570 #line 18571 "configure
"
18571 #include "confdefs.h
"
18572 /* System header to define __stub macros and hopefully few prototypes,
18573 which can conflict with char $ac_func(); below. */
18574 #include <assert.h>
18575 /* Override any gcc2 internal prototype to avoid an error. */
18576 /* We use char because int might match the return type of a gcc2
18577 builtin and then its argument prototype would still apply. */
18582 /* The GNU C library defines this for functions which it implements
18583 to always fail with ENOSYS. Some functions are actually named
18584 something starting with __ and the normal name is an alias. */
18585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18593 if { (eval echo configure:18594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18595 eval "ac_cv_func_
$ac_func=yes"
18597 echo "configure
: failed program was
:" >&5
18598 cat conftest.$ac_ext >&5
18600 eval "ac_cv_func_
$ac_func=no
"
18605 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18606 echo "$ac_t""yes" 1>&6
18607 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18608 cat >> confdefs.h <<EOF
18609 #define $ac_tr_func 1
18613 echo "$ac_t""no
" 1>&6
18622 echo $ac_n "checking
for logl declaration
""...
$ac_c" 1>&6
18623 echo "configure
:18624: checking
for logl declaration
" >&5
18624 if test x${glibcpp_cv_func_logl_use+set} != xset; then
18625 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
18626 echo $ac_n "(cached
) $ac_c" 1>&6
18631 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18632 ac_cpp='$CXXCPP $CPPFLAGS'
18633 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18634 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18635 cross_compiling=$ac_cv_prog_cxx_cross
18637 cat > conftest.$ac_ext <<EOF
18638 #line 18639 "configure
"
18639 #include "confdefs.h
"
18641 #ifdef HAVE_IEEEFP_H
18642 #include <ieeefp.h>
18649 if { (eval echo configure:18650: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18651 glibcpp_cv_func_logl_use=yes
18653 echo "configure
: failed program was
:" >&5
18654 cat conftest.$ac_ext >&5
18656 glibcpp_cv_func_logl_use=no
18660 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18661 ac_cpp='$CPP $CPPFLAGS'
18662 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18663 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18664 cross_compiling=$ac_cv_prog_cc_cross
18670 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
18672 if test x$glibcpp_cv_func_logl_use = x"yes"; then
18673 for ac_func in logl
18675 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18676 echo "configure
:18677: checking
for $ac_func" >&5
18677 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18678 echo $ac_n "(cached
) $ac_c" 1>&6
18680 cat > conftest.$ac_ext <<EOF
18681 #line 18682 "configure
"
18682 #include "confdefs.h
"
18683 /* System header to define __stub macros and hopefully few prototypes,
18684 which can conflict with char $ac_func(); below. */
18685 #include <assert.h>
18686 /* Override any gcc2 internal prototype to avoid an error. */
18687 /* We use char because int might match the return type of a gcc2
18688 builtin and then its argument prototype would still apply. */
18693 /* The GNU C library defines this for functions which it implements
18694 to always fail with ENOSYS. Some functions are actually named
18695 something starting with __ and the normal name is an alias. */
18696 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18704 if { (eval echo configure:18705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18706 eval "ac_cv_func_
$ac_func=yes"
18708 echo "configure
: failed program was
:" >&5
18709 cat conftest.$ac_ext >&5
18711 eval "ac_cv_func_
$ac_func=no
"
18716 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18717 echo "$ac_t""yes" 1>&6
18718 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18719 cat >> confdefs.h <<EOF
18720 #define $ac_tr_func 1
18724 echo "$ac_t""no
" 1>&6
18730 echo $ac_n "checking
for _logl declaration
""...
$ac_c" 1>&6
18731 echo "configure
:18732: checking
for _logl declaration
" >&5
18732 if test x${glibcpp_cv_func__logl_use+set} != xset; then
18733 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
18734 echo $ac_n "(cached
) $ac_c" 1>&6
18739 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18740 ac_cpp='$CXXCPP $CPPFLAGS'
18741 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18742 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18743 cross_compiling=$ac_cv_prog_cxx_cross
18745 cat > conftest.$ac_ext <<EOF
18746 #line 18747 "configure
"
18747 #include "confdefs.h
"
18749 #ifdef HAVE_IEEEFP_H
18750 #include <ieeefp.h>
18757 if { (eval echo configure:18758: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18759 glibcpp_cv_func__logl_use=yes
18761 echo "configure
: failed program was
:" >&5
18762 cat conftest.$ac_ext >&5
18764 glibcpp_cv_func__logl_use=no
18768 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18769 ac_cpp='$CPP $CPPFLAGS'
18770 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18771 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18772 cross_compiling=$ac_cv_prog_cc_cross
18778 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
18780 if test x$glibcpp_cv_func__logl_use = x"yes"; then
18781 for ac_func in _logl
18783 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18784 echo "configure
:18785: checking
for $ac_func" >&5
18785 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18786 echo $ac_n "(cached
) $ac_c" 1>&6
18788 cat > conftest.$ac_ext <<EOF
18789 #line 18790 "configure
"
18790 #include "confdefs.h
"
18791 /* System header to define __stub macros and hopefully few prototypes,
18792 which can conflict with char $ac_func(); below. */
18793 #include <assert.h>
18794 /* Override any gcc2 internal prototype to avoid an error. */
18795 /* We use char because int might match the return type of a gcc2
18796 builtin and then its argument prototype would still apply. */
18801 /* The GNU C library defines this for functions which it implements
18802 to always fail with ENOSYS. Some functions are actually named
18803 something starting with __ and the normal name is an alias. */
18804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18812 if { (eval echo configure:18813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18814 eval "ac_cv_func_
$ac_func=yes"
18816 echo "configure
: failed program was
:" >&5
18817 cat conftest.$ac_ext >&5
18819 eval "ac_cv_func_
$ac_func=no
"
18824 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18825 echo "$ac_t""yes" 1>&6
18826 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18827 cat >> confdefs.h <<EOF
18828 #define $ac_tr_func 1
18832 echo "$ac_t""no
" 1>&6
18841 echo $ac_n "checking
for log10l declaration
""...
$ac_c" 1>&6
18842 echo "configure
:18843: checking
for log10l declaration
" >&5
18843 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
18844 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
18845 echo $ac_n "(cached
) $ac_c" 1>&6
18850 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18851 ac_cpp='$CXXCPP $CPPFLAGS'
18852 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18853 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18854 cross_compiling=$ac_cv_prog_cxx_cross
18856 cat > conftest.$ac_ext <<EOF
18857 #line 18858 "configure
"
18858 #include "confdefs.h
"
18860 #ifdef HAVE_IEEEFP_H
18861 #include <ieeefp.h>
18868 if { (eval echo configure:18869: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18870 glibcpp_cv_func_log10l_use=yes
18872 echo "configure
: failed program was
:" >&5
18873 cat conftest.$ac_ext >&5
18875 glibcpp_cv_func_log10l_use=no
18879 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18880 ac_cpp='$CPP $CPPFLAGS'
18881 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18882 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18883 cross_compiling=$ac_cv_prog_cc_cross
18889 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
18891 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
18892 for ac_func in log10l
18894 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18895 echo "configure
:18896: checking
for $ac_func" >&5
18896 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18897 echo $ac_n "(cached
) $ac_c" 1>&6
18899 cat > conftest.$ac_ext <<EOF
18900 #line 18901 "configure
"
18901 #include "confdefs.h
"
18902 /* System header to define __stub macros and hopefully few prototypes,
18903 which can conflict with char $ac_func(); below. */
18904 #include <assert.h>
18905 /* Override any gcc2 internal prototype to avoid an error. */
18906 /* We use char because int might match the return type of a gcc2
18907 builtin and then its argument prototype would still apply. */
18912 /* The GNU C library defines this for functions which it implements
18913 to always fail with ENOSYS. Some functions are actually named
18914 something starting with __ and the normal name is an alias. */
18915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18923 if { (eval echo configure:18924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18925 eval "ac_cv_func_
$ac_func=yes"
18927 echo "configure
: failed program was
:" >&5
18928 cat conftest.$ac_ext >&5
18930 eval "ac_cv_func_
$ac_func=no
"
18935 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18936 echo "$ac_t""yes" 1>&6
18937 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18938 cat >> confdefs.h <<EOF
18939 #define $ac_tr_func 1
18943 echo "$ac_t""no
" 1>&6
18949 echo $ac_n "checking
for _log10l declaration
""...
$ac_c" 1>&6
18950 echo "configure
:18951: checking
for _log10l declaration
" >&5
18951 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
18952 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
18953 echo $ac_n "(cached
) $ac_c" 1>&6
18958 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18959 ac_cpp='$CXXCPP $CPPFLAGS'
18960 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18961 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18962 cross_compiling=$ac_cv_prog_cxx_cross
18964 cat > conftest.$ac_ext <<EOF
18965 #line 18966 "configure
"
18966 #include "confdefs.h
"
18968 #ifdef HAVE_IEEEFP_H
18969 #include <ieeefp.h>
18976 if { (eval echo configure:18977: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18978 glibcpp_cv_func__log10l_use=yes
18980 echo "configure
: failed program was
:" >&5
18981 cat conftest.$ac_ext >&5
18983 glibcpp_cv_func__log10l_use=no
18987 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18988 ac_cpp='$CPP $CPPFLAGS'
18989 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18990 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18991 cross_compiling=$ac_cv_prog_cc_cross
18997 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
18999 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
19000 for ac_func in _log10l
19002 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19003 echo "configure
:19004: checking
for $ac_func" >&5
19004 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19005 echo $ac_n "(cached
) $ac_c" 1>&6
19007 cat > conftest.$ac_ext <<EOF
19008 #line 19009 "configure
"
19009 #include "confdefs.h
"
19010 /* System header to define __stub macros and hopefully few prototypes,
19011 which can conflict with char $ac_func(); below. */
19012 #include <assert.h>
19013 /* Override any gcc2 internal prototype to avoid an error. */
19014 /* We use char because int might match the return type of a gcc2
19015 builtin and then its argument prototype would still apply. */
19020 /* The GNU C library defines this for functions which it implements
19021 to always fail with ENOSYS. Some functions are actually named
19022 something starting with __ and the normal name is an alias. */
19023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19031 if { (eval echo configure:19032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19033 eval "ac_cv_func_
$ac_func=yes"
19035 echo "configure
: failed program was
:" >&5
19036 cat conftest.$ac_ext >&5
19038 eval "ac_cv_func_
$ac_func=no
"
19043 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19044 echo "$ac_t""yes" 1>&6
19045 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19046 cat >> confdefs.h <<EOF
19047 #define $ac_tr_func 1
19051 echo "$ac_t""no
" 1>&6
19060 echo $ac_n "checking
for modfl declaration
""...
$ac_c" 1>&6
19061 echo "configure
:19062: checking
for modfl declaration
" >&5
19062 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
19063 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
19064 echo $ac_n "(cached
) $ac_c" 1>&6
19069 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19070 ac_cpp='$CXXCPP $CPPFLAGS'
19071 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19072 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19073 cross_compiling=$ac_cv_prog_cxx_cross
19075 cat > conftest.$ac_ext <<EOF
19076 #line 19077 "configure
"
19077 #include "confdefs.h
"
19083 if { (eval echo configure:19084: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19085 glibcpp_cv_func_modfl_use=yes
19087 echo "configure
: failed program was
:" >&5
19088 cat conftest.$ac_ext >&5
19090 glibcpp_cv_func_modfl_use=no
19094 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19095 ac_cpp='$CPP $CPPFLAGS'
19096 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19097 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19098 cross_compiling=$ac_cv_prog_cc_cross
19104 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
19106 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
19107 for ac_func in modfl
19109 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19110 echo "configure
:19111: checking
for $ac_func" >&5
19111 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19112 echo $ac_n "(cached
) $ac_c" 1>&6
19114 cat > conftest.$ac_ext <<EOF
19115 #line 19116 "configure
"
19116 #include "confdefs.h
"
19117 /* System header to define __stub macros and hopefully few prototypes,
19118 which can conflict with char $ac_func(); below. */
19119 #include <assert.h>
19120 /* Override any gcc2 internal prototype to avoid an error. */
19121 /* We use char because int might match the return type of a gcc2
19122 builtin and then its argument prototype would still apply. */
19127 /* The GNU C library defines this for functions which it implements
19128 to always fail with ENOSYS. Some functions are actually named
19129 something starting with __ and the normal name is an alias. */
19130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19138 if { (eval echo configure:19139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19140 eval "ac_cv_func_
$ac_func=yes"
19142 echo "configure
: failed program was
:" >&5
19143 cat conftest.$ac_ext >&5
19145 eval "ac_cv_func_
$ac_func=no
"
19150 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19151 echo "$ac_t""yes" 1>&6
19152 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19153 cat >> confdefs.h <<EOF
19154 #define $ac_tr_func 1
19158 echo "$ac_t""no
" 1>&6
19164 echo $ac_n "checking
for _modfl declaration
""...
$ac_c" 1>&6
19165 echo "configure
:19166: checking
for _modfl declaration
" >&5
19166 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
19167 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
19168 echo $ac_n "(cached
) $ac_c" 1>&6
19173 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19174 ac_cpp='$CXXCPP $CPPFLAGS'
19175 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19176 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19177 cross_compiling=$ac_cv_prog_cxx_cross
19179 cat > conftest.$ac_ext <<EOF
19180 #line 19181 "configure
"
19181 #include "confdefs.h
"
19187 if { (eval echo configure:19188: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19189 glibcpp_cv_func__modfl_use=yes
19191 echo "configure
: failed program was
:" >&5
19192 cat conftest.$ac_ext >&5
19194 glibcpp_cv_func__modfl_use=no
19198 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19199 ac_cpp='$CPP $CPPFLAGS'
19200 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19201 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19202 cross_compiling=$ac_cv_prog_cc_cross
19208 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
19210 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
19211 for ac_func in _modfl
19213 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19214 echo "configure
:19215: checking
for $ac_func" >&5
19215 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19216 echo $ac_n "(cached
) $ac_c" 1>&6
19218 cat > conftest.$ac_ext <<EOF
19219 #line 19220 "configure
"
19220 #include "confdefs.h
"
19221 /* System header to define __stub macros and hopefully few prototypes,
19222 which can conflict with char $ac_func(); below. */
19223 #include <assert.h>
19224 /* Override any gcc2 internal prototype to avoid an error. */
19225 /* We use char because int might match the return type of a gcc2
19226 builtin and then its argument prototype would still apply. */
19231 /* The GNU C library defines this for functions which it implements
19232 to always fail with ENOSYS. Some functions are actually named
19233 something starting with __ and the normal name is an alias. */
19234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19242 if { (eval echo configure:19243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19244 eval "ac_cv_func_
$ac_func=yes"
19246 echo "configure
: failed program was
:" >&5
19247 cat conftest.$ac_ext >&5
19249 eval "ac_cv_func_
$ac_func=no
"
19254 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19255 echo "$ac_t""yes" 1>&6
19256 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19257 cat >> confdefs.h <<EOF
19258 #define $ac_tr_func 1
19262 echo "$ac_t""no
" 1>&6
19271 echo $ac_n "checking
for powl declaration
""...
$ac_c" 1>&6
19272 echo "configure
:19273: checking
for powl declaration
" >&5
19273 if test x${glibcpp_cv_func_powl_use+set} != xset; then
19274 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
19275 echo $ac_n "(cached
) $ac_c" 1>&6
19280 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19281 ac_cpp='$CXXCPP $CPPFLAGS'
19282 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19283 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19284 cross_compiling=$ac_cv_prog_cxx_cross
19286 cat > conftest.$ac_ext <<EOF
19287 #line 19288 "configure
"
19288 #include "confdefs.h
"
19294 if { (eval echo configure:19295: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19296 glibcpp_cv_func_powl_use=yes
19298 echo "configure
: failed program was
:" >&5
19299 cat conftest.$ac_ext >&5
19301 glibcpp_cv_func_powl_use=no
19305 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19306 ac_cpp='$CPP $CPPFLAGS'
19307 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19308 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19309 cross_compiling=$ac_cv_prog_cc_cross
19315 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
19317 if test x$glibcpp_cv_func_powl_use = x"yes"; then
19318 for ac_func in powl
19320 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19321 echo "configure
:19322: checking
for $ac_func" >&5
19322 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19323 echo $ac_n "(cached
) $ac_c" 1>&6
19325 cat > conftest.$ac_ext <<EOF
19326 #line 19327 "configure
"
19327 #include "confdefs.h
"
19328 /* System header to define __stub macros and hopefully few prototypes,
19329 which can conflict with char $ac_func(); below. */
19330 #include <assert.h>
19331 /* Override any gcc2 internal prototype to avoid an error. */
19332 /* We use char because int might match the return type of a gcc2
19333 builtin and then its argument prototype would still apply. */
19338 /* The GNU C library defines this for functions which it implements
19339 to always fail with ENOSYS. Some functions are actually named
19340 something starting with __ and the normal name is an alias. */
19341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19349 if { (eval echo configure:19350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19351 eval "ac_cv_func_
$ac_func=yes"
19353 echo "configure
: failed program was
:" >&5
19354 cat conftest.$ac_ext >&5
19356 eval "ac_cv_func_
$ac_func=no
"
19361 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19362 echo "$ac_t""yes" 1>&6
19363 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19364 cat >> confdefs.h <<EOF
19365 #define $ac_tr_func 1
19369 echo "$ac_t""no
" 1>&6
19375 echo $ac_n "checking
for _powl declaration
""...
$ac_c" 1>&6
19376 echo "configure
:19377: checking
for _powl declaration
" >&5
19377 if test x${glibcpp_cv_func__powl_use+set} != xset; then
19378 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
19379 echo $ac_n "(cached
) $ac_c" 1>&6
19384 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19385 ac_cpp='$CXXCPP $CPPFLAGS'
19386 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19387 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19388 cross_compiling=$ac_cv_prog_cxx_cross
19390 cat > conftest.$ac_ext <<EOF
19391 #line 19392 "configure
"
19392 #include "confdefs.h
"
19398 if { (eval echo configure:19399: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19400 glibcpp_cv_func__powl_use=yes
19402 echo "configure
: failed program was
:" >&5
19403 cat conftest.$ac_ext >&5
19405 glibcpp_cv_func__powl_use=no
19409 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19410 ac_cpp='$CPP $CPPFLAGS'
19411 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19412 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19413 cross_compiling=$ac_cv_prog_cc_cross
19419 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
19421 if test x$glibcpp_cv_func__powl_use = x"yes"; then
19422 for ac_func in _powl
19424 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19425 echo "configure
:19426: checking
for $ac_func" >&5
19426 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19427 echo $ac_n "(cached
) $ac_c" 1>&6
19429 cat > conftest.$ac_ext <<EOF
19430 #line 19431 "configure
"
19431 #include "confdefs.h
"
19432 /* System header to define __stub macros and hopefully few prototypes,
19433 which can conflict with char $ac_func(); below. */
19434 #include <assert.h>
19435 /* Override any gcc2 internal prototype to avoid an error. */
19436 /* We use char because int might match the return type of a gcc2
19437 builtin and then its argument prototype would still apply. */
19442 /* The GNU C library defines this for functions which it implements
19443 to always fail with ENOSYS. Some functions are actually named
19444 something starting with __ and the normal name is an alias. */
19445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19453 if { (eval echo configure:19454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19455 eval "ac_cv_func_
$ac_func=yes"
19457 echo "configure
: failed program was
:" >&5
19458 cat conftest.$ac_ext >&5
19460 eval "ac_cv_func_
$ac_func=no
"
19465 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19466 echo "$ac_t""yes" 1>&6
19467 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19468 cat >> confdefs.h <<EOF
19469 #define $ac_tr_func 1
19473 echo "$ac_t""no
" 1>&6
19482 echo $ac_n "checking
for sqrtl declaration
""...
$ac_c" 1>&6
19483 echo "configure
:19484: checking
for sqrtl declaration
" >&5
19484 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
19485 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
19486 echo $ac_n "(cached
) $ac_c" 1>&6
19491 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19492 ac_cpp='$CXXCPP $CPPFLAGS'
19493 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19494 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19495 cross_compiling=$ac_cv_prog_cxx_cross
19497 cat > conftest.$ac_ext <<EOF
19498 #line 19499 "configure
"
19499 #include "confdefs.h
"
19501 #ifdef HAVE_IEEEFP_H
19502 #include <ieeefp.h>
19509 if { (eval echo configure:19510: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19511 glibcpp_cv_func_sqrtl_use=yes
19513 echo "configure
: failed program was
:" >&5
19514 cat conftest.$ac_ext >&5
19516 glibcpp_cv_func_sqrtl_use=no
19520 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19521 ac_cpp='$CPP $CPPFLAGS'
19522 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19523 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19524 cross_compiling=$ac_cv_prog_cc_cross
19530 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
19532 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
19533 for ac_func in sqrtl
19535 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19536 echo "configure
:19537: checking
for $ac_func" >&5
19537 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19538 echo $ac_n "(cached
) $ac_c" 1>&6
19540 cat > conftest.$ac_ext <<EOF
19541 #line 19542 "configure
"
19542 #include "confdefs.h
"
19543 /* System header to define __stub macros and hopefully few prototypes,
19544 which can conflict with char $ac_func(); below. */
19545 #include <assert.h>
19546 /* Override any gcc2 internal prototype to avoid an error. */
19547 /* We use char because int might match the return type of a gcc2
19548 builtin and then its argument prototype would still apply. */
19553 /* The GNU C library defines this for functions which it implements
19554 to always fail with ENOSYS. Some functions are actually named
19555 something starting with __ and the normal name is an alias. */
19556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19564 if { (eval echo configure:19565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19566 eval "ac_cv_func_
$ac_func=yes"
19568 echo "configure
: failed program was
:" >&5
19569 cat conftest.$ac_ext >&5
19571 eval "ac_cv_func_
$ac_func=no
"
19576 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19577 echo "$ac_t""yes" 1>&6
19578 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19579 cat >> confdefs.h <<EOF
19580 #define $ac_tr_func 1
19584 echo "$ac_t""no
" 1>&6
19590 echo $ac_n "checking
for _sqrtl declaration
""...
$ac_c" 1>&6
19591 echo "configure
:19592: checking
for _sqrtl declaration
" >&5
19592 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
19593 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
19594 echo $ac_n "(cached
) $ac_c" 1>&6
19599 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19600 ac_cpp='$CXXCPP $CPPFLAGS'
19601 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19602 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19603 cross_compiling=$ac_cv_prog_cxx_cross
19605 cat > conftest.$ac_ext <<EOF
19606 #line 19607 "configure
"
19607 #include "confdefs.h
"
19609 #ifdef HAVE_IEEEFP_H
19610 #include <ieeefp.h>
19617 if { (eval echo configure:19618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19619 glibcpp_cv_func__sqrtl_use=yes
19621 echo "configure
: failed program was
:" >&5
19622 cat conftest.$ac_ext >&5
19624 glibcpp_cv_func__sqrtl_use=no
19628 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19629 ac_cpp='$CPP $CPPFLAGS'
19630 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19631 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19632 cross_compiling=$ac_cv_prog_cc_cross
19638 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
19640 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
19641 for ac_func in _sqrtl
19643 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19644 echo "configure
:19645: checking
for $ac_func" >&5
19645 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19646 echo $ac_n "(cached
) $ac_c" 1>&6
19648 cat > conftest.$ac_ext <<EOF
19649 #line 19650 "configure
"
19650 #include "confdefs.h
"
19651 /* System header to define __stub macros and hopefully few prototypes,
19652 which can conflict with char $ac_func(); below. */
19653 #include <assert.h>
19654 /* Override any gcc2 internal prototype to avoid an error. */
19655 /* We use char because int might match the return type of a gcc2
19656 builtin and then its argument prototype would still apply. */
19661 /* The GNU C library defines this for functions which it implements
19662 to always fail with ENOSYS. Some functions are actually named
19663 something starting with __ and the normal name is an alias. */
19664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19672 if { (eval echo configure:19673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19674 eval "ac_cv_func_
$ac_func=yes"
19676 echo "configure
: failed program was
:" >&5
19677 cat conftest.$ac_ext >&5
19679 eval "ac_cv_func_
$ac_func=no
"
19684 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19685 echo "$ac_t""yes" 1>&6
19686 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19687 cat >> confdefs.h <<EOF
19688 #define $ac_tr_func 1
19692 echo "$ac_t""no
" 1>&6
19701 echo $ac_n "checking
for sincosl declaration
""...
$ac_c" 1>&6
19702 echo "configure
:19703: checking
for sincosl declaration
" >&5
19703 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
19704 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
19705 echo $ac_n "(cached
) $ac_c" 1>&6
19710 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19711 ac_cpp='$CXXCPP $CPPFLAGS'
19712 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19713 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19714 cross_compiling=$ac_cv_prog_cxx_cross
19716 cat > conftest.$ac_ext <<EOF
19717 #line 19718 "configure
"
19718 #include "confdefs.h
"
19724 if { (eval echo configure:19725: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19726 glibcpp_cv_func_sincosl_use=yes
19728 echo "configure
: failed program was
:" >&5
19729 cat conftest.$ac_ext >&5
19731 glibcpp_cv_func_sincosl_use=no
19735 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19736 ac_cpp='$CPP $CPPFLAGS'
19737 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19738 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19739 cross_compiling=$ac_cv_prog_cc_cross
19745 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
19747 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
19748 for ac_func in sincosl
19750 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19751 echo "configure
:19752: checking
for $ac_func" >&5
19752 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19753 echo $ac_n "(cached
) $ac_c" 1>&6
19755 cat > conftest.$ac_ext <<EOF
19756 #line 19757 "configure
"
19757 #include "confdefs.h
"
19758 /* System header to define __stub macros and hopefully few prototypes,
19759 which can conflict with char $ac_func(); below. */
19760 #include <assert.h>
19761 /* Override any gcc2 internal prototype to avoid an error. */
19762 /* We use char because int might match the return type of a gcc2
19763 builtin and then its argument prototype would still apply. */
19768 /* The GNU C library defines this for functions which it implements
19769 to always fail with ENOSYS. Some functions are actually named
19770 something starting with __ and the normal name is an alias. */
19771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19779 if { (eval echo configure:19780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19781 eval "ac_cv_func_
$ac_func=yes"
19783 echo "configure
: failed program was
:" >&5
19784 cat conftest.$ac_ext >&5
19786 eval "ac_cv_func_
$ac_func=no
"
19791 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19792 echo "$ac_t""yes" 1>&6
19793 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19794 cat >> confdefs.h <<EOF
19795 #define $ac_tr_func 1
19799 echo "$ac_t""no
" 1>&6
19805 echo $ac_n "checking
for _sincosl declaration
""...
$ac_c" 1>&6
19806 echo "configure
:19807: checking
for _sincosl declaration
" >&5
19807 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
19808 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
19809 echo $ac_n "(cached
) $ac_c" 1>&6
19814 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19815 ac_cpp='$CXXCPP $CPPFLAGS'
19816 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19817 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19818 cross_compiling=$ac_cv_prog_cxx_cross
19820 cat > conftest.$ac_ext <<EOF
19821 #line 19822 "configure
"
19822 #include "confdefs.h
"
19828 if { (eval echo configure:19829: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19830 glibcpp_cv_func__sincosl_use=yes
19832 echo "configure
: failed program was
:" >&5
19833 cat conftest.$ac_ext >&5
19835 glibcpp_cv_func__sincosl_use=no
19839 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19840 ac_cpp='$CPP $CPPFLAGS'
19841 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19842 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19843 cross_compiling=$ac_cv_prog_cc_cross
19849 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
19851 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
19852 for ac_func in _sincosl
19854 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19855 echo "configure
:19856: checking
for $ac_func" >&5
19856 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19857 echo $ac_n "(cached
) $ac_c" 1>&6
19859 cat > conftest.$ac_ext <<EOF
19860 #line 19861 "configure
"
19861 #include "confdefs.h
"
19862 /* System header to define __stub macros and hopefully few prototypes,
19863 which can conflict with char $ac_func(); below. */
19864 #include <assert.h>
19865 /* Override any gcc2 internal prototype to avoid an error. */
19866 /* We use char because int might match the return type of a gcc2
19867 builtin and then its argument prototype would still apply. */
19872 /* The GNU C library defines this for functions which it implements
19873 to always fail with ENOSYS. Some functions are actually named
19874 something starting with __ and the normal name is an alias. */
19875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19883 if { (eval echo configure:19884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19885 eval "ac_cv_func_
$ac_func=yes"
19887 echo "configure
: failed program was
:" >&5
19888 cat conftest.$ac_ext >&5
19890 eval "ac_cv_func_
$ac_func=no
"
19895 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19896 echo "$ac_t""yes" 1>&6
19897 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19898 cat >> confdefs.h <<EOF
19899 #define $ac_tr_func 1
19903 echo "$ac_t""no
" 1>&6
19912 echo $ac_n "checking
for finitel declaration
""...
$ac_c" 1>&6
19913 echo "configure
:19914: checking
for finitel declaration
" >&5
19914 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
19915 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
19916 echo $ac_n "(cached
) $ac_c" 1>&6
19921 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19922 ac_cpp='$CXXCPP $CPPFLAGS'
19923 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19924 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19925 cross_compiling=$ac_cv_prog_cxx_cross
19927 cat > conftest.$ac_ext <<EOF
19928 #line 19929 "configure
"
19929 #include "confdefs.h
"
19931 #ifdef HAVE_IEEEFP_H
19932 #include <ieeefp.h>
19939 if { (eval echo configure:19940: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19941 glibcpp_cv_func_finitel_use=yes
19943 echo "configure
: failed program was
:" >&5
19944 cat conftest.$ac_ext >&5
19946 glibcpp_cv_func_finitel_use=no
19950 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19951 ac_cpp='$CPP $CPPFLAGS'
19952 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19953 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19954 cross_compiling=$ac_cv_prog_cc_cross
19960 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
19962 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
19963 for ac_func in finitel
19965 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19966 echo "configure
:19967: checking
for $ac_func" >&5
19967 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19968 echo $ac_n "(cached
) $ac_c" 1>&6
19970 cat > conftest.$ac_ext <<EOF
19971 #line 19972 "configure
"
19972 #include "confdefs.h
"
19973 /* System header to define __stub macros and hopefully few prototypes,
19974 which can conflict with char $ac_func(); below. */
19975 #include <assert.h>
19976 /* Override any gcc2 internal prototype to avoid an error. */
19977 /* We use char because int might match the return type of a gcc2
19978 builtin and then its argument prototype would still apply. */
19983 /* The GNU C library defines this for functions which it implements
19984 to always fail with ENOSYS. Some functions are actually named
19985 something starting with __ and the normal name is an alias. */
19986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19994 if { (eval echo configure:19995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19996 eval "ac_cv_func_
$ac_func=yes"
19998 echo "configure
: failed program was
:" >&5
19999 cat conftest.$ac_ext >&5
20001 eval "ac_cv_func_
$ac_func=no
"
20006 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20007 echo "$ac_t""yes" 1>&6
20008 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20009 cat >> confdefs.h <<EOF
20010 #define $ac_tr_func 1
20014 echo "$ac_t""no
" 1>&6
20020 echo $ac_n "checking
for _finitel declaration
""...
$ac_c" 1>&6
20021 echo "configure
:20022: checking
for _finitel declaration
" >&5
20022 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
20023 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
20024 echo $ac_n "(cached
) $ac_c" 1>&6
20029 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20030 ac_cpp='$CXXCPP $CPPFLAGS'
20031 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20032 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20033 cross_compiling=$ac_cv_prog_cxx_cross
20035 cat > conftest.$ac_ext <<EOF
20036 #line 20037 "configure
"
20037 #include "confdefs.h
"
20039 #ifdef HAVE_IEEEFP_H
20040 #include <ieeefp.h>
20047 if { (eval echo configure:20048: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20049 glibcpp_cv_func__finitel_use=yes
20051 echo "configure
: failed program was
:" >&5
20052 cat conftest.$ac_ext >&5
20054 glibcpp_cv_func__finitel_use=no
20058 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20059 ac_cpp='$CPP $CPPFLAGS'
20060 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20061 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20062 cross_compiling=$ac_cv_prog_cc_cross
20068 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
20070 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
20071 for ac_func in _finitel
20073 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20074 echo "configure
:20075: checking
for $ac_func" >&5
20075 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20076 echo $ac_n "(cached
) $ac_c" 1>&6
20078 cat > conftest.$ac_ext <<EOF
20079 #line 20080 "configure
"
20080 #include "confdefs.h
"
20081 /* System header to define __stub macros and hopefully few prototypes,
20082 which can conflict with char $ac_func(); below. */
20083 #include <assert.h>
20084 /* Override any gcc2 internal prototype to avoid an error. */
20085 /* We use char because int might match the return type of a gcc2
20086 builtin and then its argument prototype would still apply. */
20091 /* The GNU C library defines this for functions which it implements
20092 to always fail with ENOSYS. Some functions are actually named
20093 something starting with __ and the normal name is an alias. */
20094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20102 if { (eval echo configure:20103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20104 eval "ac_cv_func_
$ac_func=yes"
20106 echo "configure
: failed program was
:" >&5
20107 cat conftest.$ac_ext >&5
20109 eval "ac_cv_func_
$ac_func=no
"
20114 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20115 echo "$ac_t""yes" 1>&6
20116 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20117 cat >> confdefs.h <<EOF
20118 #define $ac_tr_func 1
20122 echo "$ac_t""no
" 1>&6
20132 echo $ac_n "checking
for _float trig functions
""...
$ac_c" 1>&6
20133 echo "configure
:20134: checking
for _float trig functions
" >&5
20134 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
20135 echo $ac_n "(cached
) $ac_c" 1>&6
20140 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20141 ac_cpp='$CXXCPP $CPPFLAGS'
20142 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20143 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20144 cross_compiling=$ac_cv_prog_cxx_cross
20146 cat > conftest.$ac_ext <<EOF
20147 #line 20148 "configure
"
20148 #include "confdefs.h
"
20151 `for x in _acosf _asinf _atanf \
20152 _cosf _sinf _tanf \
20153 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
20156 if { (eval echo configure:20157: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20158 glibcpp_cv_func__float_trig_use=yes
20160 echo "configure
: failed program was
:" >&5
20161 cat conftest.$ac_ext >&5
20163 glibcpp_cv_func__float_trig_use=no
20167 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20168 ac_cpp='$CPP $CPPFLAGS'
20169 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20170 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20171 cross_compiling=$ac_cv_prog_cc_cross
20175 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
20176 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
20177 for ac_func in _acosf _asinf _atanf \
20178 _cosf _sinf _tanf \
20179 _coshf _sinhf _tanhf
20181 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20182 echo "configure
:20183: checking
for $ac_func" >&5
20183 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20184 echo $ac_n "(cached
) $ac_c" 1>&6
20186 cat > conftest.$ac_ext <<EOF
20187 #line 20188 "configure
"
20188 #include "confdefs.h
"
20189 /* System header to define __stub macros and hopefully few prototypes,
20190 which can conflict with char $ac_func(); below. */
20191 #include <assert.h>
20192 /* Override any gcc2 internal prototype to avoid an error. */
20193 /* We use char because int might match the return type of a gcc2
20194 builtin and then its argument prototype would still apply. */
20199 /* The GNU C library defines this for functions which it implements
20200 to always fail with ENOSYS. Some functions are actually named
20201 something starting with __ and the normal name is an alias. */
20202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20210 if { (eval echo configure:20211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20212 eval "ac_cv_func_
$ac_func=yes"
20214 echo "configure
: failed program was
:" >&5
20215 cat conftest.$ac_ext >&5
20217 eval "ac_cv_func_
$ac_func=no
"
20222 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20223 echo "$ac_t""yes" 1>&6
20224 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20225 cat >> confdefs.h <<EOF
20226 #define $ac_tr_func 1
20230 echo "$ac_t""no
" 1>&6
20237 echo $ac_n "checking
for _float round functions
""...
$ac_c" 1>&6
20238 echo "configure
:20239: checking
for _float round functions
" >&5
20239 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
20240 echo $ac_n "(cached
) $ac_c" 1>&6
20245 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20246 ac_cpp='$CXXCPP $CPPFLAGS'
20247 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20248 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20249 cross_compiling=$ac_cv_prog_cxx_cross
20251 cat > conftest.$ac_ext <<EOF
20252 #line 20253 "configure
"
20253 #include "confdefs.h
"
20256 `for x in _ceilf _floorf; do echo "$x (0);"; done`
20259 if { (eval echo configure:20260: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20261 glibcpp_cv_func__float_round_use=yes
20263 echo "configure
: failed program was
:" >&5
20264 cat conftest.$ac_ext >&5
20266 glibcpp_cv_func__float_round_use=no
20270 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20271 ac_cpp='$CPP $CPPFLAGS'
20272 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20273 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20274 cross_compiling=$ac_cv_prog_cc_cross
20278 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
20279 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
20280 for ac_func in _ceilf _floorf
20282 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20283 echo "configure
:20284: checking
for $ac_func" >&5
20284 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20285 echo $ac_n "(cached
) $ac_c" 1>&6
20287 cat > conftest.$ac_ext <<EOF
20288 #line 20289 "configure
"
20289 #include "confdefs.h
"
20290 /* System header to define __stub macros and hopefully few prototypes,
20291 which can conflict with char $ac_func(); below. */
20292 #include <assert.h>
20293 /* Override any gcc2 internal prototype to avoid an error. */
20294 /* We use char because int might match the return type of a gcc2
20295 builtin and then its argument prototype would still apply. */
20300 /* The GNU C library defines this for functions which it implements
20301 to always fail with ENOSYS. Some functions are actually named
20302 something starting with __ and the normal name is an alias. */
20303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20311 if { (eval echo configure:20312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20313 eval "ac_cv_func_
$ac_func=yes"
20315 echo "configure
: failed program was
:" >&5
20316 cat conftest.$ac_ext >&5
20318 eval "ac_cv_func_
$ac_func=no
"
20323 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20324 echo "$ac_t""yes" 1>&6
20325 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20326 cat >> confdefs.h <<EOF
20327 #define $ac_tr_func 1
20331 echo "$ac_t""no
" 1>&6
20339 echo $ac_n "checking
for _long double trig functions
""...
$ac_c" 1>&6
20340 echo "configure
:20341: checking
for _long double trig functions
" >&5
20341 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
20342 echo $ac_n "(cached
) $ac_c" 1>&6
20347 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20348 ac_cpp='$CXXCPP $CPPFLAGS'
20349 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20350 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20351 cross_compiling=$ac_cv_prog_cxx_cross
20353 cat > conftest.$ac_ext <<EOF
20354 #line 20355 "configure
"
20355 #include "confdefs.h
"
20358 `for x in _acosl _asinl _atanl \
20359 _cosl _sinl _tanl \
20360 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
20363 if { (eval echo configure:20364: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20365 glibcpp_cv_func__long_double_trig_use=yes
20367 echo "configure
: failed program was
:" >&5
20368 cat conftest.$ac_ext >&5
20370 glibcpp_cv_func__long_double_trig_use=no
20374 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20375 ac_cpp='$CPP $CPPFLAGS'
20376 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20377 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20378 cross_compiling=$ac_cv_prog_cc_cross
20382 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
20383 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
20384 for ac_func in _acosl _asinl _atanl \
20385 _cosl _sinl _tanl \
20386 _coshl _sinhl _tanhl
20388 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20389 echo "configure
:20390: checking
for $ac_func" >&5
20390 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20391 echo $ac_n "(cached
) $ac_c" 1>&6
20393 cat > conftest.$ac_ext <<EOF
20394 #line 20395 "configure
"
20395 #include "confdefs.h
"
20396 /* System header to define __stub macros and hopefully few prototypes,
20397 which can conflict with char $ac_func(); below. */
20398 #include <assert.h>
20399 /* Override any gcc2 internal prototype to avoid an error. */
20400 /* We use char because int might match the return type of a gcc2
20401 builtin and then its argument prototype would still apply. */
20406 /* The GNU C library defines this for functions which it implements
20407 to always fail with ENOSYS. Some functions are actually named
20408 something starting with __ and the normal name is an alias. */
20409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20417 if { (eval echo configure:20418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20419 eval "ac_cv_func_
$ac_func=yes"
20421 echo "configure
: failed program was
:" >&5
20422 cat conftest.$ac_ext >&5
20424 eval "ac_cv_func_
$ac_func=no
"
20429 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20430 echo "$ac_t""yes" 1>&6
20431 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20432 cat >> confdefs.h <<EOF
20433 #define $ac_tr_func 1
20437 echo "$ac_t""no
" 1>&6
20444 echo $ac_n "checking
for _long double round functions
""...
$ac_c" 1>&6
20445 echo "configure
:20446: checking
for _long double round functions
" >&5
20446 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
20447 echo $ac_n "(cached
) $ac_c" 1>&6
20452 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20453 ac_cpp='$CXXCPP $CPPFLAGS'
20454 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20455 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20456 cross_compiling=$ac_cv_prog_cxx_cross
20458 cat > conftest.$ac_ext <<EOF
20459 #line 20460 "configure
"
20460 #include "confdefs.h
"
20463 `for x in _ceill _floorl; do echo "$x (0);"; done`
20466 if { (eval echo configure:20467: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20468 glibcpp_cv_func__long_double_round_use=yes
20470 echo "configure
: failed program was
:" >&5
20471 cat conftest.$ac_ext >&5
20473 glibcpp_cv_func__long_double_round_use=no
20477 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20478 ac_cpp='$CPP $CPPFLAGS'
20479 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20480 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20481 cross_compiling=$ac_cv_prog_cc_cross
20485 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
20486 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
20487 for ac_func in _ceill _floorl
20489 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20490 echo "configure
:20491: checking
for $ac_func" >&5
20491 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20492 echo $ac_n "(cached
) $ac_c" 1>&6
20494 cat > conftest.$ac_ext <<EOF
20495 #line 20496 "configure
"
20496 #include "confdefs.h
"
20497 /* System header to define __stub macros and hopefully few prototypes,
20498 which can conflict with char $ac_func(); below. */
20499 #include <assert.h>
20500 /* Override any gcc2 internal prototype to avoid an error. */
20501 /* We use char because int might match the return type of a gcc2
20502 builtin and then its argument prototype would still apply. */
20507 /* The GNU C library defines this for functions which it implements
20508 to always fail with ENOSYS. Some functions are actually named
20509 something starting with __ and the normal name is an alias. */
20510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20518 if { (eval echo configure:20519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20520 eval "ac_cv_func_
$ac_func=yes"
20522 echo "configure
: failed program was
:" >&5
20523 cat conftest.$ac_ext >&5
20525 eval "ac_cv_func_
$ac_func=no
"
20530 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20531 echo "$ac_t""yes" 1>&6
20532 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20533 cat >> confdefs.h <<EOF
20534 #define $ac_tr_func 1
20538 echo "$ac_t""no
" 1>&6
20545 LIBS="$ac_save_LIBS"
20546 CXXFLAGS="$ac_save_CXXFLAGS"
20550 echo $ac_n "checking
for __builtin_abs declaration
""...
$ac_c" 1>&6
20551 echo "configure
:20552: checking
for __builtin_abs declaration
" >&5
20552 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
20553 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
20554 echo $ac_n "(cached
) $ac_c" 1>&6
20559 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20560 ac_cpp='$CXXCPP $CPPFLAGS'
20561 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20562 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20563 cross_compiling=$ac_cv_prog_cxx_cross
20565 cat > conftest.$ac_ext <<EOF
20566 #line 20567 "configure
"
20567 #include "confdefs.h
"
20573 if { (eval echo configure:20574: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20575 glibcpp_cv_func___builtin_abs_use=yes
20577 echo "configure
: failed program was
:" >&5
20578 cat conftest.$ac_ext >&5
20580 glibcpp_cv_func___builtin_abs_use=no
20584 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20585 ac_cpp='$CPP $CPPFLAGS'
20586 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20587 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20588 cross_compiling=$ac_cv_prog_cc_cross
20594 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
20595 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
20596 echo $ac_n "checking
for __builtin_abs linkage
""...
$ac_c" 1>&6
20597 echo "configure
:20598: checking
for __builtin_abs linkage
" >&5
20598 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
20599 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
20600 echo $ac_n "(cached
) $ac_c" 1>&6
20603 cat > conftest.$ac_ext <<EOF
20604 #line 20605 "configure
"
20605 #include "confdefs.h
"
20611 if { (eval echo configure:20612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20613 glibcpp_cv_func___builtin_abs_link=yes
20615 echo "configure
: failed program was
:" >&5
20616 cat conftest.$ac_ext >&5
20618 glibcpp_cv_func___builtin_abs_link=no
20625 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
20626 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
20627 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20628 cat >> confdefs.h <<EOF
20629 #define ${ac_tr_func} 1
20636 echo $ac_n "checking
for __builtin_fabsf declaration
""...
$ac_c" 1>&6
20637 echo "configure
:20638: checking
for __builtin_fabsf declaration
" >&5
20638 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
20639 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
20640 echo $ac_n "(cached
) $ac_c" 1>&6
20645 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20646 ac_cpp='$CXXCPP $CPPFLAGS'
20647 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20648 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20649 cross_compiling=$ac_cv_prog_cxx_cross
20651 cat > conftest.$ac_ext <<EOF
20652 #line 20653 "configure
"
20653 #include "confdefs.h
"
20656 __builtin_fabsf(0);
20659 if { (eval echo configure:20660: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20661 glibcpp_cv_func___builtin_fabsf_use=yes
20663 echo "configure
: failed program was
:" >&5
20664 cat conftest.$ac_ext >&5
20666 glibcpp_cv_func___builtin_fabsf_use=no
20670 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20671 ac_cpp='$CPP $CPPFLAGS'
20672 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20673 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20674 cross_compiling=$ac_cv_prog_cc_cross
20680 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
20681 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
20682 echo $ac_n "checking
for __builtin_fabsf linkage
""...
$ac_c" 1>&6
20683 echo "configure
:20684: checking
for __builtin_fabsf linkage
" >&5
20684 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
20685 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
20686 echo $ac_n "(cached
) $ac_c" 1>&6
20689 cat > conftest.$ac_ext <<EOF
20690 #line 20691 "configure
"
20691 #include "confdefs.h
"
20694 __builtin_fabsf(0);
20697 if { (eval echo configure:20698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20699 glibcpp_cv_func___builtin_fabsf_link=yes
20701 echo "configure
: failed program was
:" >&5
20702 cat conftest.$ac_ext >&5
20704 glibcpp_cv_func___builtin_fabsf_link=no
20711 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
20712 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
20713 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20714 cat >> confdefs.h <<EOF
20715 #define ${ac_tr_func} 1
20722 echo $ac_n "checking
for __builtin_fabs declaration
""...
$ac_c" 1>&6
20723 echo "configure
:20724: checking
for __builtin_fabs declaration
" >&5
20724 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
20725 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
20726 echo $ac_n "(cached
) $ac_c" 1>&6
20731 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20732 ac_cpp='$CXXCPP $CPPFLAGS'
20733 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20734 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20735 cross_compiling=$ac_cv_prog_cxx_cross
20737 cat > conftest.$ac_ext <<EOF
20738 #line 20739 "configure
"
20739 #include "confdefs.h
"
20745 if { (eval echo configure:20746: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20747 glibcpp_cv_func___builtin_fabs_use=yes
20749 echo "configure
: failed program was
:" >&5
20750 cat conftest.$ac_ext >&5
20752 glibcpp_cv_func___builtin_fabs_use=no
20756 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20757 ac_cpp='$CPP $CPPFLAGS'
20758 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20759 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20760 cross_compiling=$ac_cv_prog_cc_cross
20766 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
20767 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
20768 echo $ac_n "checking
for __builtin_fabs linkage
""...
$ac_c" 1>&6
20769 echo "configure
:20770: checking
for __builtin_fabs linkage
" >&5
20770 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
20771 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
20772 echo $ac_n "(cached
) $ac_c" 1>&6
20775 cat > conftest.$ac_ext <<EOF
20776 #line 20777 "configure
"
20777 #include "confdefs.h
"
20783 if { (eval echo configure:20784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20785 glibcpp_cv_func___builtin_fabs_link=yes
20787 echo "configure
: failed program was
:" >&5
20788 cat conftest.$ac_ext >&5
20790 glibcpp_cv_func___builtin_fabs_link=no
20797 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
20798 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
20799 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20800 cat >> confdefs.h <<EOF
20801 #define ${ac_tr_func} 1
20808 echo $ac_n "checking
for __builtin_fabsl declaration
""...
$ac_c" 1>&6
20809 echo "configure
:20810: checking
for __builtin_fabsl declaration
" >&5
20810 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
20811 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
20812 echo $ac_n "(cached
) $ac_c" 1>&6
20817 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20818 ac_cpp='$CXXCPP $CPPFLAGS'
20819 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20820 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20821 cross_compiling=$ac_cv_prog_cxx_cross
20823 cat > conftest.$ac_ext <<EOF
20824 #line 20825 "configure
"
20825 #include "confdefs.h
"
20828 __builtin_fabsl(0);
20831 if { (eval echo configure:20832: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20833 glibcpp_cv_func___builtin_fabsl_use=yes
20835 echo "configure
: failed program was
:" >&5
20836 cat conftest.$ac_ext >&5
20838 glibcpp_cv_func___builtin_fabsl_use=no
20842 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20843 ac_cpp='$CPP $CPPFLAGS'
20844 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20845 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20846 cross_compiling=$ac_cv_prog_cc_cross
20852 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
20853 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
20854 echo $ac_n "checking
for __builtin_fabsl linkage
""...
$ac_c" 1>&6
20855 echo "configure
:20856: checking
for __builtin_fabsl linkage
" >&5
20856 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
20857 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
20858 echo $ac_n "(cached
) $ac_c" 1>&6
20861 cat > conftest.$ac_ext <<EOF
20862 #line 20863 "configure
"
20863 #include "confdefs.h
"
20866 __builtin_fabsl(0);
20869 if { (eval echo configure:20870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20871 glibcpp_cv_func___builtin_fabsl_link=yes
20873 echo "configure
: failed program was
:" >&5
20874 cat conftest.$ac_ext >&5
20876 glibcpp_cv_func___builtin_fabsl_link=no
20883 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
20884 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
20885 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20886 cat >> confdefs.h <<EOF
20887 #define ${ac_tr_func} 1
20894 echo $ac_n "checking
for __builtin_labs declaration
""...
$ac_c" 1>&6
20895 echo "configure
:20896: checking
for __builtin_labs declaration
" >&5
20896 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
20897 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
20898 echo $ac_n "(cached
) $ac_c" 1>&6
20903 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20904 ac_cpp='$CXXCPP $CPPFLAGS'
20905 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20906 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20907 cross_compiling=$ac_cv_prog_cxx_cross
20909 cat > conftest.$ac_ext <<EOF
20910 #line 20911 "configure
"
20911 #include "confdefs.h
"
20917 if { (eval echo configure:20918: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20919 glibcpp_cv_func___builtin_labs_use=yes
20921 echo "configure
: failed program was
:" >&5
20922 cat conftest.$ac_ext >&5
20924 glibcpp_cv_func___builtin_labs_use=no
20928 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20929 ac_cpp='$CPP $CPPFLAGS'
20930 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20931 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20932 cross_compiling=$ac_cv_prog_cc_cross
20938 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
20939 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
20940 echo $ac_n "checking
for __builtin_labs linkage
""...
$ac_c" 1>&6
20941 echo "configure
:20942: checking
for __builtin_labs linkage
" >&5
20942 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
20943 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
20944 echo $ac_n "(cached
) $ac_c" 1>&6
20947 cat > conftest.$ac_ext <<EOF
20948 #line 20949 "configure
"
20949 #include "confdefs.h
"
20955 if { (eval echo configure:20956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20957 glibcpp_cv_func___builtin_labs_link=yes
20959 echo "configure
: failed program was
:" >&5
20960 cat conftest.$ac_ext >&5
20962 glibcpp_cv_func___builtin_labs_link=no
20969 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
20970 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
20971 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20972 cat >> confdefs.h <<EOF
20973 #define ${ac_tr_func} 1
20981 echo $ac_n "checking
for __builtin_sqrtf declaration
""...
$ac_c" 1>&6
20982 echo "configure
:20983: checking
for __builtin_sqrtf declaration
" >&5
20983 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
20984 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
20985 echo $ac_n "(cached
) $ac_c" 1>&6
20990 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20991 ac_cpp='$CXXCPP $CPPFLAGS'
20992 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20993 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20994 cross_compiling=$ac_cv_prog_cxx_cross
20996 cat > conftest.$ac_ext <<EOF
20997 #line 20998 "configure
"
20998 #include "confdefs.h
"
21001 __builtin_sqrtf(0);
21004 if { (eval echo configure:21005: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21006 glibcpp_cv_func___builtin_sqrtf_use=yes
21008 echo "configure
: failed program was
:" >&5
21009 cat conftest.$ac_ext >&5
21011 glibcpp_cv_func___builtin_sqrtf_use=no
21015 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21016 ac_cpp='$CPP $CPPFLAGS'
21017 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21018 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21019 cross_compiling=$ac_cv_prog_cc_cross
21025 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
21026 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
21027 echo $ac_n "checking
for __builtin_sqrtf linkage
""...
$ac_c" 1>&6
21028 echo "configure
:21029: checking
for __builtin_sqrtf linkage
" >&5
21029 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
21030 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
21031 echo $ac_n "(cached
) $ac_c" 1>&6
21034 cat > conftest.$ac_ext <<EOF
21035 #line 21036 "configure
"
21036 #include "confdefs.h
"
21039 __builtin_sqrtf(0);
21042 if { (eval echo configure:21043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21044 glibcpp_cv_func___builtin_sqrtf_link=yes
21046 echo "configure
: failed program was
:" >&5
21047 cat conftest.$ac_ext >&5
21049 glibcpp_cv_func___builtin_sqrtf_link=no
21056 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
21057 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
21058 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21059 cat >> confdefs.h <<EOF
21060 #define ${ac_tr_func} 1
21067 echo $ac_n "checking
for __builtin_sqrt declaration
""...
$ac_c" 1>&6
21068 echo "configure
:21069: checking
for __builtin_sqrt declaration
" >&5
21069 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
21070 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
21071 echo $ac_n "(cached
) $ac_c" 1>&6
21076 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21077 ac_cpp='$CXXCPP $CPPFLAGS'
21078 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21079 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21080 cross_compiling=$ac_cv_prog_cxx_cross
21082 cat > conftest.$ac_ext <<EOF
21083 #line 21084 "configure
"
21084 #include "confdefs.h
"
21090 if { (eval echo configure:21091: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21092 glibcpp_cv_func___builtin_sqrt_use=yes
21094 echo "configure
: failed program was
:" >&5
21095 cat conftest.$ac_ext >&5
21097 glibcpp_cv_func___builtin_sqrt_use=no
21101 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21102 ac_cpp='$CPP $CPPFLAGS'
21103 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21104 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21105 cross_compiling=$ac_cv_prog_cc_cross
21111 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
21112 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
21113 echo $ac_n "checking
for __builtin_sqrt linkage
""...
$ac_c" 1>&6
21114 echo "configure
:21115: checking
for __builtin_sqrt linkage
" >&5
21115 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
21116 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
21117 echo $ac_n "(cached
) $ac_c" 1>&6
21120 cat > conftest.$ac_ext <<EOF
21121 #line 21122 "configure
"
21122 #include "confdefs.h
"
21128 if { (eval echo configure:21129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21130 glibcpp_cv_func___builtin_sqrt_link=yes
21132 echo "configure
: failed program was
:" >&5
21133 cat conftest.$ac_ext >&5
21135 glibcpp_cv_func___builtin_sqrt_link=no
21142 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
21143 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
21144 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21145 cat >> confdefs.h <<EOF
21146 #define ${ac_tr_func} 1
21153 echo $ac_n "checking
for __builtin_sqrtl declaration
""...
$ac_c" 1>&6
21154 echo "configure
:21155: checking
for __builtin_sqrtl declaration
" >&5
21155 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
21156 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
21157 echo $ac_n "(cached
) $ac_c" 1>&6
21162 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21163 ac_cpp='$CXXCPP $CPPFLAGS'
21164 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21165 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21166 cross_compiling=$ac_cv_prog_cxx_cross
21168 cat > conftest.$ac_ext <<EOF
21169 #line 21170 "configure
"
21170 #include "confdefs.h
"
21173 __builtin_sqrtl(0);
21176 if { (eval echo configure:21177: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21178 glibcpp_cv_func___builtin_sqrtl_use=yes
21180 echo "configure
: failed program was
:" >&5
21181 cat conftest.$ac_ext >&5
21183 glibcpp_cv_func___builtin_sqrtl_use=no
21187 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21188 ac_cpp='$CPP $CPPFLAGS'
21189 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21190 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21191 cross_compiling=$ac_cv_prog_cc_cross
21197 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
21198 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
21199 echo $ac_n "checking
for __builtin_sqrtl linkage
""...
$ac_c" 1>&6
21200 echo "configure
:21201: checking
for __builtin_sqrtl linkage
" >&5
21201 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
21202 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
21203 echo $ac_n "(cached
) $ac_c" 1>&6
21206 cat > conftest.$ac_ext <<EOF
21207 #line 21208 "configure
"
21208 #include "confdefs.h
"
21211 __builtin_sqrtl(0);
21214 if { (eval echo configure:21215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21216 glibcpp_cv_func___builtin_sqrtl_link=yes
21218 echo "configure
: failed program was
:" >&5
21219 cat conftest.$ac_ext >&5
21221 glibcpp_cv_func___builtin_sqrtl_link=no
21228 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
21229 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
21230 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21231 cat >> confdefs.h <<EOF
21232 #define ${ac_tr_func} 1
21240 echo $ac_n "checking
for __builtin_sinf declaration
""...
$ac_c" 1>&6
21241 echo "configure
:21242: checking
for __builtin_sinf declaration
" >&5
21242 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
21243 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
21244 echo $ac_n "(cached
) $ac_c" 1>&6
21249 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21250 ac_cpp='$CXXCPP $CPPFLAGS'
21251 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21252 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21253 cross_compiling=$ac_cv_prog_cxx_cross
21255 cat > conftest.$ac_ext <<EOF
21256 #line 21257 "configure
"
21257 #include "confdefs.h
"
21263 if { (eval echo configure:21264: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21265 glibcpp_cv_func___builtin_sinf_use=yes
21267 echo "configure
: failed program was
:" >&5
21268 cat conftest.$ac_ext >&5
21270 glibcpp_cv_func___builtin_sinf_use=no
21274 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21275 ac_cpp='$CPP $CPPFLAGS'
21276 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21277 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21278 cross_compiling=$ac_cv_prog_cc_cross
21284 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
21285 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
21286 echo $ac_n "checking
for __builtin_sinf linkage
""...
$ac_c" 1>&6
21287 echo "configure
:21288: checking
for __builtin_sinf linkage
" >&5
21288 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
21289 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
21290 echo $ac_n "(cached
) $ac_c" 1>&6
21293 cat > conftest.$ac_ext <<EOF
21294 #line 21295 "configure
"
21295 #include "confdefs.h
"
21301 if { (eval echo configure:21302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21303 glibcpp_cv_func___builtin_sinf_link=yes
21305 echo "configure
: failed program was
:" >&5
21306 cat conftest.$ac_ext >&5
21308 glibcpp_cv_func___builtin_sinf_link=no
21315 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
21316 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
21317 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21318 cat >> confdefs.h <<EOF
21319 #define ${ac_tr_func} 1
21326 echo $ac_n "checking
for __builtin_sin declaration
""...
$ac_c" 1>&6
21327 echo "configure
:21328: checking
for __builtin_sin declaration
" >&5
21328 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
21329 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
21330 echo $ac_n "(cached
) $ac_c" 1>&6
21335 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21336 ac_cpp='$CXXCPP $CPPFLAGS'
21337 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21338 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21339 cross_compiling=$ac_cv_prog_cxx_cross
21341 cat > conftest.$ac_ext <<EOF
21342 #line 21343 "configure
"
21343 #include "confdefs.h
"
21349 if { (eval echo configure:21350: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21351 glibcpp_cv_func___builtin_sin_use=yes
21353 echo "configure
: failed program was
:" >&5
21354 cat conftest.$ac_ext >&5
21356 glibcpp_cv_func___builtin_sin_use=no
21360 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21361 ac_cpp='$CPP $CPPFLAGS'
21362 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21363 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21364 cross_compiling=$ac_cv_prog_cc_cross
21370 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
21371 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
21372 echo $ac_n "checking
for __builtin_sin linkage
""...
$ac_c" 1>&6
21373 echo "configure
:21374: checking
for __builtin_sin linkage
" >&5
21374 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
21375 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
21376 echo $ac_n "(cached
) $ac_c" 1>&6
21379 cat > conftest.$ac_ext <<EOF
21380 #line 21381 "configure
"
21381 #include "confdefs.h
"
21387 if { (eval echo configure:21388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21389 glibcpp_cv_func___builtin_sin_link=yes
21391 echo "configure
: failed program was
:" >&5
21392 cat conftest.$ac_ext >&5
21394 glibcpp_cv_func___builtin_sin_link=no
21401 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
21402 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
21403 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21404 cat >> confdefs.h <<EOF
21405 #define ${ac_tr_func} 1
21412 echo $ac_n "checking
for __builtin_sinl declaration
""...
$ac_c" 1>&6
21413 echo "configure
:21414: checking
for __builtin_sinl declaration
" >&5
21414 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
21415 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
21416 echo $ac_n "(cached
) $ac_c" 1>&6
21421 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21422 ac_cpp='$CXXCPP $CPPFLAGS'
21423 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21424 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21425 cross_compiling=$ac_cv_prog_cxx_cross
21427 cat > conftest.$ac_ext <<EOF
21428 #line 21429 "configure
"
21429 #include "confdefs.h
"
21435 if { (eval echo configure:21436: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21437 glibcpp_cv_func___builtin_sinl_use=yes
21439 echo "configure
: failed program was
:" >&5
21440 cat conftest.$ac_ext >&5
21442 glibcpp_cv_func___builtin_sinl_use=no
21446 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21447 ac_cpp='$CPP $CPPFLAGS'
21448 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21449 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21450 cross_compiling=$ac_cv_prog_cc_cross
21456 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
21457 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
21458 echo $ac_n "checking
for __builtin_sinl linkage
""...
$ac_c" 1>&6
21459 echo "configure
:21460: checking
for __builtin_sinl linkage
" >&5
21460 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
21461 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
21462 echo $ac_n "(cached
) $ac_c" 1>&6
21465 cat > conftest.$ac_ext <<EOF
21466 #line 21467 "configure
"
21467 #include "confdefs.h
"
21473 if { (eval echo configure:21474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21475 glibcpp_cv_func___builtin_sinl_link=yes
21477 echo "configure
: failed program was
:" >&5
21478 cat conftest.$ac_ext >&5
21480 glibcpp_cv_func___builtin_sinl_link=no
21487 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
21488 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
21489 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21490 cat >> confdefs.h <<EOF
21491 #define ${ac_tr_func} 1
21499 echo $ac_n "checking
for __builtin_cosf declaration
""...
$ac_c" 1>&6
21500 echo "configure
:21501: checking
for __builtin_cosf declaration
" >&5
21501 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
21502 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
21503 echo $ac_n "(cached
) $ac_c" 1>&6
21508 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21509 ac_cpp='$CXXCPP $CPPFLAGS'
21510 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21511 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21512 cross_compiling=$ac_cv_prog_cxx_cross
21514 cat > conftest.$ac_ext <<EOF
21515 #line 21516 "configure
"
21516 #include "confdefs.h
"
21522 if { (eval echo configure:21523: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21524 glibcpp_cv_func___builtin_cosf_use=yes
21526 echo "configure
: failed program was
:" >&5
21527 cat conftest.$ac_ext >&5
21529 glibcpp_cv_func___builtin_cosf_use=no
21533 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21534 ac_cpp='$CPP $CPPFLAGS'
21535 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21536 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21537 cross_compiling=$ac_cv_prog_cc_cross
21543 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
21544 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
21545 echo $ac_n "checking
for __builtin_cosf linkage
""...
$ac_c" 1>&6
21546 echo "configure
:21547: checking
for __builtin_cosf linkage
" >&5
21547 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
21548 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
21549 echo $ac_n "(cached
) $ac_c" 1>&6
21552 cat > conftest.$ac_ext <<EOF
21553 #line 21554 "configure
"
21554 #include "confdefs.h
"
21560 if { (eval echo configure:21561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21562 glibcpp_cv_func___builtin_cosf_link=yes
21564 echo "configure
: failed program was
:" >&5
21565 cat conftest.$ac_ext >&5
21567 glibcpp_cv_func___builtin_cosf_link=no
21574 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
21575 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
21576 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21577 cat >> confdefs.h <<EOF
21578 #define ${ac_tr_func} 1
21585 echo $ac_n "checking
for __builtin_cos declaration
""...
$ac_c" 1>&6
21586 echo "configure
:21587: checking
for __builtin_cos declaration
" >&5
21587 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
21588 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
21589 echo $ac_n "(cached
) $ac_c" 1>&6
21594 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21595 ac_cpp='$CXXCPP $CPPFLAGS'
21596 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21597 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21598 cross_compiling=$ac_cv_prog_cxx_cross
21600 cat > conftest.$ac_ext <<EOF
21601 #line 21602 "configure
"
21602 #include "confdefs.h
"
21608 if { (eval echo configure:21609: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21610 glibcpp_cv_func___builtin_cos_use=yes
21612 echo "configure
: failed program was
:" >&5
21613 cat conftest.$ac_ext >&5
21615 glibcpp_cv_func___builtin_cos_use=no
21619 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21620 ac_cpp='$CPP $CPPFLAGS'
21621 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21622 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21623 cross_compiling=$ac_cv_prog_cc_cross
21629 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
21630 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
21631 echo $ac_n "checking
for __builtin_cos linkage
""...
$ac_c" 1>&6
21632 echo "configure
:21633: checking
for __builtin_cos linkage
" >&5
21633 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
21634 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
21635 echo $ac_n "(cached
) $ac_c" 1>&6
21638 cat > conftest.$ac_ext <<EOF
21639 #line 21640 "configure
"
21640 #include "confdefs.h
"
21646 if { (eval echo configure:21647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21648 glibcpp_cv_func___builtin_cos_link=yes
21650 echo "configure
: failed program was
:" >&5
21651 cat conftest.$ac_ext >&5
21653 glibcpp_cv_func___builtin_cos_link=no
21660 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
21661 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
21662 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21663 cat >> confdefs.h <<EOF
21664 #define ${ac_tr_func} 1
21671 echo $ac_n "checking
for __builtin_cosl declaration
""...
$ac_c" 1>&6
21672 echo "configure
:21673: checking
for __builtin_cosl declaration
" >&5
21673 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
21674 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
21675 echo $ac_n "(cached
) $ac_c" 1>&6
21680 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21681 ac_cpp='$CXXCPP $CPPFLAGS'
21682 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21683 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21684 cross_compiling=$ac_cv_prog_cxx_cross
21686 cat > conftest.$ac_ext <<EOF
21687 #line 21688 "configure
"
21688 #include "confdefs.h
"
21694 if { (eval echo configure:21695: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21696 glibcpp_cv_func___builtin_cosl_use=yes
21698 echo "configure
: failed program was
:" >&5
21699 cat conftest.$ac_ext >&5
21701 glibcpp_cv_func___builtin_cosl_use=no
21705 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21706 ac_cpp='$CPP $CPPFLAGS'
21707 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21708 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21709 cross_compiling=$ac_cv_prog_cc_cross
21715 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
21716 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
21717 echo $ac_n "checking
for __builtin_cosl linkage
""...
$ac_c" 1>&6
21718 echo "configure
:21719: checking
for __builtin_cosl linkage
" >&5
21719 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
21720 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
21721 echo $ac_n "(cached
) $ac_c" 1>&6
21724 cat > conftest.$ac_ext <<EOF
21725 #line 21726 "configure
"
21726 #include "confdefs.h
"
21732 if { (eval echo configure:21733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21734 glibcpp_cv_func___builtin_cosl_link=yes
21736 echo "configure
: failed program was
:" >&5
21737 cat conftest.$ac_ext >&5
21739 glibcpp_cv_func___builtin_cosl_link=no
21746 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
21747 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
21748 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21749 cat >> confdefs.h <<EOF
21750 #define ${ac_tr_func} 1
21758 if test x$dummyvar = x"yes"; then
21759 cat >> confdefs.h <<\EOF
21760 #define HAVE___BUILTIN_ABS 1
21763 cat >> confdefs.h <<\EOF
21764 #define HAVE___BUILTIN_LABS 1
21767 cat >> confdefs.h <<\EOF
21768 #define HAVE___BUILTIN_COS 1
21771 cat >> confdefs.h <<\EOF
21772 #define HAVE___BUILTIN_COSF 1
21775 cat >> confdefs.h <<\EOF
21776 #define HAVE___BUILTIN_COSL 1
21779 cat >> confdefs.h <<\EOF
21780 #define HAVE___BUILTIN_FABS 1
21783 cat >> confdefs.h <<\EOF
21784 #define HAVE___BUILTIN_FABSF 1
21787 cat >> confdefs.h <<\EOF
21788 #define HAVE___BUILTIN_FABSL 1
21791 cat >> confdefs.h <<\EOF
21792 #define HAVE___BUILTIN_SIN 1
21795 cat >> confdefs.h <<\EOF
21796 #define HAVE___BUILTIN_SINF 1
21799 cat >> confdefs.h <<\EOF
21800 #define HAVE___BUILTIN_SINL 1
21803 cat >> confdefs.h <<\EOF
21804 #define HAVE___BUILTIN_SQRT 1
21807 cat >> confdefs.h <<\EOF
21808 #define HAVE___BUILTIN_SQRTF 1
21811 cat >> confdefs.h <<\EOF
21812 #define HAVE___BUILTIN_SQRTL 1
21818 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
21819 echo "configure
:21820: checking
for main
in -lm" >&5
21820 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
21821 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
21822 echo $ac_n "(cached
) $ac_c" 1>&6
21824 ac_save_LIBS="$LIBS"
21826 cat > conftest.$ac_ext <<EOF
21827 #line 21828 "configure
"
21828 #include "confdefs.h
"
21834 if { (eval echo configure:21835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21836 eval "ac_cv_lib_
$ac_lib_var=yes"
21838 echo "configure
: failed program was
:" >&5
21839 cat conftest.$ac_ext >&5
21841 eval "ac_cv_lib_
$ac_lib_var=no
"
21844 LIBS="$ac_save_LIBS"
21847 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21848 echo "$ac_t""yes" 1>&6
21849 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
21850 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
21851 cat >> confdefs.h <<EOF
21852 #define $ac_tr_lib 1
21858 echo "$ac_t""no
" 1>&6
21861 for ac_func in nan copysignf
21863 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21864 echo "configure
:21865: checking
for $ac_func" >&5
21865 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21866 echo $ac_n "(cached
) $ac_c" 1>&6
21868 cat > conftest.$ac_ext <<EOF
21869 #line 21870 "configure
"
21870 #include "confdefs.h
"
21871 /* System header to define __stub macros and hopefully few prototypes,
21872 which can conflict with char $ac_func(); below. */
21873 #include <assert.h>
21874 /* Override any gcc2 internal prototype to avoid an error. */
21875 /* We use char because int might match the return type of a gcc2
21876 builtin and then its argument prototype would still apply. */
21881 /* The GNU C library defines this for functions which it implements
21882 to always fail with ENOSYS. Some functions are actually named
21883 something starting with __ and the normal name is an alias. */
21884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21892 if { (eval echo configure:21893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21894 eval "ac_cv_func_
$ac_func=yes"
21896 echo "configure
: failed program was
:" >&5
21897 cat conftest.$ac_ext >&5
21899 eval "ac_cv_func_
$ac_func=no
"
21904 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21905 echo "$ac_t""yes" 1>&6
21906 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21907 cat >> confdefs.h <<EOF
21908 #define $ac_tr_func 1
21912 echo "$ac_t""no
" 1>&6
21913 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
21918 for ac_func in __signbit
21920 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21921 echo "configure
:21922: checking
for $ac_func" >&5
21922 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21923 echo $ac_n "(cached
) $ac_c" 1>&6
21925 cat > conftest.$ac_ext <<EOF
21926 #line 21927 "configure
"
21927 #include "confdefs.h
"
21928 /* System header to define __stub macros and hopefully few prototypes,
21929 which can conflict with char $ac_func(); below. */
21930 #include <assert.h>
21931 /* Override any gcc2 internal prototype to avoid an error. */
21932 /* We use char because int might match the return type of a gcc2
21933 builtin and then its argument prototype would still apply. */
21938 /* The GNU C library defines this for functions which it implements
21939 to always fail with ENOSYS. Some functions are actually named
21940 something starting with __ and the normal name is an alias. */
21941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21949 if { (eval echo configure:21950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21951 eval "ac_cv_func_
$ac_func=yes"
21953 echo "configure
: failed program was
:" >&5
21954 cat conftest.$ac_ext >&5
21956 eval "ac_cv_func_
$ac_func=no
"
21961 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21962 echo "$ac_t""yes" 1>&6
21963 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21964 cat >> confdefs.h <<EOF
21965 #define $ac_tr_func 1
21969 echo "$ac_t""no
" 1>&6
21970 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
21974 for ac_func in __signbitf
21976 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21977 echo "configure
:21978: checking
for $ac_func" >&5
21978 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21979 echo $ac_n "(cached
) $ac_c" 1>&6
21981 cat > conftest.$ac_ext <<EOF
21982 #line 21983 "configure
"
21983 #include "confdefs.h
"
21984 /* System header to define __stub macros and hopefully few prototypes,
21985 which can conflict with char $ac_func(); below. */
21986 #include <assert.h>
21987 /* Override any gcc2 internal prototype to avoid an error. */
21988 /* We use char because int might match the return type of a gcc2
21989 builtin and then its argument prototype would still apply. */
21994 /* The GNU C library defines this for functions which it implements
21995 to always fail with ENOSYS. Some functions are actually named
21996 something starting with __ and the normal name is an alias. */
21997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22005 if { (eval echo configure:22006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22007 eval "ac_cv_func_
$ac_func=yes"
22009 echo "configure
: failed program was
:" >&5
22010 cat conftest.$ac_ext >&5
22012 eval "ac_cv_func_
$ac_func=no
"
22017 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22018 echo "$ac_t""yes" 1>&6
22019 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22020 cat >> confdefs.h <<EOF
22021 #define $ac_tr_func 1
22025 echo "$ac_t""no
" 1>&6
22026 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
22031 if test x$ac_cv_func_copysignl = x"yes"; then
22032 for ac_func in __signbitl
22034 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22035 echo "configure
:22036: checking
for $ac_func" >&5
22036 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22037 echo $ac_n "(cached
) $ac_c" 1>&6
22039 cat > conftest.$ac_ext <<EOF
22040 #line 22041 "configure
"
22041 #include "confdefs.h
"
22042 /* System header to define __stub macros and hopefully few prototypes,
22043 which can conflict with char $ac_func(); below. */
22044 #include <assert.h>
22045 /* Override any gcc2 internal prototype to avoid an error. */
22046 /* We use char because int might match the return type of a gcc2
22047 builtin and then its argument prototype would still apply. */
22052 /* The GNU C library defines this for functions which it implements
22053 to always fail with ENOSYS. Some functions are actually named
22054 something starting with __ and the normal name is an alias. */
22055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22063 if { (eval echo configure:22064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22065 eval "ac_cv_func_
$ac_func=yes"
22067 echo "configure
: failed program was
:" >&5
22068 cat conftest.$ac_ext >&5
22070 eval "ac_cv_func_
$ac_func=no
"
22075 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22076 echo "$ac_t""yes" 1>&6
22077 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22078 cat >> confdefs.h <<EOF
22079 #define $ac_tr_func 1
22083 echo "$ac_t""no
" 1>&6
22084 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
22090 if test -n "$LIBMATHOBJS"; then
22096 if test "$need_libmath" = yes; then
22097 GLIBCPP_BUILD_LIBMATH_TRUE=
22098 GLIBCPP_BUILD_LIBMATH_FALSE='#'
22100 GLIBCPP_BUILD_LIBMATH_TRUE='#'
22101 GLIBCPP_BUILD_LIBMATH_FALSE=
22107 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
22108 echo "configure
:22109: checking
for mbstate_t
" >&5
22109 cat > conftest.$ac_ext <<EOF
22110 #line 22111 "configure
"
22111 #include "confdefs.h
"
22114 mbstate_t teststate;
22117 if { (eval echo configure:22118: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22121 echo "configure
: failed program was
:" >&5
22122 cat conftest.$ac_ext >&5
22127 echo "$ac_t""$have_mbstate_t" 1>&6
22128 if test x"$have_mbstate_t" = xyes; then
22129 cat >> confdefs.h <<\EOF
22130 #define HAVE_MBSTATE_T 1
22135 for ac_hdr in wchar.h
22137 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22138 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
22139 echo "configure
:22140: checking
for $ac_hdr" >&5
22140 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22141 echo $ac_n "(cached
) $ac_c" 1>&6
22143 cat > conftest.$ac_ext <<EOF
22144 #line 22145 "configure
"
22145 #include "confdefs.h
"
22148 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22149 { (eval echo configure:22150: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22150 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22151 if test -z "$ac_err"; then
22153 eval "ac_cv_header_
$ac_safe=yes"
22156 echo "configure
: failed program was
:" >&5
22157 cat conftest.$ac_ext >&5
22159 eval "ac_cv_header_
$ac_safe=no
"
22163 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22164 echo "$ac_t""yes" 1>&6
22165 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22166 cat >> confdefs.h <<EOF
22167 #define $ac_tr_hdr 1
22171 echo "$ac_t""no
" 1>&6
22176 for ac_hdr in wctype.h
22178 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22179 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
22180 echo "configure
:22181: checking
for $ac_hdr" >&5
22181 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22182 echo $ac_n "(cached
) $ac_c" 1>&6
22184 cat > conftest.$ac_ext <<EOF
22185 #line 22186 "configure
"
22186 #include "confdefs.h
"
22189 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22190 { (eval echo configure:22191: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22191 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22192 if test -z "$ac_err"; then
22194 eval "ac_cv_header_
$ac_safe=yes"
22197 echo "configure
: failed program was
:" >&5
22198 cat conftest.$ac_ext >&5
22200 eval "ac_cv_header_
$ac_safe=no
"
22204 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22205 echo "$ac_t""yes" 1>&6
22206 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22207 cat >> confdefs.h <<EOF
22208 #define $ac_tr_hdr 1
22210 ac_has_wctype_h=yes
22212 echo "$ac_t""no
" 1>&6
22218 if test x"$ac_has_wchar_h" = xyes &&
22219 test x"$ac_has_wctype_h" = xyes &&
22220 test x"$enable_c_mbchar" != xno; then
22222 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
22223 echo "configure
:22224: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
22224 cat > conftest.$ac_ext <<EOF
22225 #line 22226 "configure
"
22226 #include "confdefs.h
"
22229 int i = WCHAR_MIN; int j = WCHAR_MAX;
22232 if { (eval echo configure:22233: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22234 has_wchar_minmax=yes
22236 echo "configure
: failed program was
:" >&5
22237 cat conftest.$ac_ext >&5
22239 has_wchar_minmax=no
22242 echo "$ac_t""$has_wchar_minmax" 1>&6
22244 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
22245 echo "configure
:22246: checking
for WEOF
" >&5
22246 cat > conftest.$ac_ext <<EOF
22247 #line 22248 "configure
"
22248 #include "confdefs.h
"
22251 #include <stddef.h>
22256 if { (eval echo configure:22257: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22260 echo "configure
: failed program was
:" >&5
22261 cat conftest.$ac_ext >&5
22266 echo "$ac_t""$has_weof" 1>&6
22269 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
22271 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22272 echo "configure
:22273: checking
for $ac_func" >&5
22273 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22274 echo $ac_n "(cached
) $ac_c" 1>&6
22276 cat > conftest.$ac_ext <<EOF
22277 #line 22278 "configure
"
22278 #include "confdefs.h
"
22279 /* System header to define __stub macros and hopefully few prototypes,
22280 which can conflict with char $ac_func(); below. */
22281 #include <assert.h>
22282 /* Override any gcc2 internal prototype to avoid an error. */
22283 /* We use char because int might match the return type of a gcc2
22284 builtin and then its argument prototype would still apply. */
22289 /* The GNU C library defines this for functions which it implements
22290 to always fail with ENOSYS. Some functions are actually named
22291 something starting with __ and the normal name is an alias. */
22292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22300 if { (eval echo configure:22301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22302 eval "ac_cv_func_
$ac_func=yes"
22304 echo "configure
: failed program was
:" >&5
22305 cat conftest.$ac_ext >&5
22307 eval "ac_cv_func_
$ac_func=no
"
22312 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22313 echo "$ac_t""yes" 1>&6
22314 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22315 cat >> confdefs.h <<EOF
22316 #define $ac_tr_func 1
22320 echo "$ac_t""no
" 1>&6
22327 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
22328 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
22329 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
22330 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
22331 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
22332 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
22334 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22335 echo "configure
:22336: checking
for $ac_func" >&5
22336 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22337 echo $ac_n "(cached
) $ac_c" 1>&6
22339 cat > conftest.$ac_ext <<EOF
22340 #line 22341 "configure
"
22341 #include "confdefs.h
"
22342 /* System header to define __stub macros and hopefully few prototypes,
22343 which can conflict with char $ac_func(); below. */
22344 #include <assert.h>
22345 /* Override any gcc2 internal prototype to avoid an error. */
22346 /* We use char because int might match the return type of a gcc2
22347 builtin and then its argument prototype would still apply. */
22352 /* The GNU C library defines this for functions which it implements
22353 to always fail with ENOSYS. Some functions are actually named
22354 something starting with __ and the normal name is an alias. */
22355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22363 if { (eval echo configure:22364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22365 eval "ac_cv_func_
$ac_func=yes"
22367 echo "configure
: failed program was
:" >&5
22368 cat conftest.$ac_ext >&5
22370 eval "ac_cv_func_
$ac_func=no
"
22375 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22376 echo "$ac_t""yes" 1>&6
22377 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22378 cat >> confdefs.h <<EOF
22379 #define $ac_tr_func 1
22383 echo "$ac_t""no
" 1>&6
22390 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
22391 echo "configure
:22392: checking
for ISO C99 wchar_t support
" >&5
22392 if test x"$has_weof" = xyes &&
22393 test x"$has_wchar_minmax" = xyes &&
22394 test x"$ac_wfuncs" = xyes; then
22395 ac_isoC99_wchar_t=yes
22397 ac_isoC99_wchar_t=no
22399 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
22401 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
22402 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
22403 echo "configure
:22404: checking
for iconv.h
" >&5
22404 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22405 echo $ac_n "(cached
) $ac_c" 1>&6
22407 cat > conftest.$ac_ext <<EOF
22408 #line 22409 "configure
"
22409 #include "confdefs.h
"
22412 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22413 { (eval echo configure:22414: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22414 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22415 if test -z "$ac_err"; then
22417 eval "ac_cv_header_
$ac_safe=yes"
22420 echo "configure
: failed program was
:" >&5
22421 cat conftest.$ac_ext >&5
22423 eval "ac_cv_header_
$ac_safe=no
"
22427 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22428 echo "$ac_t""yes" 1>&6
22431 echo "$ac_t""no
" 1>&6
22435 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
22436 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
22437 echo "configure
:22438: checking
for langinfo.h
" >&5
22438 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22439 echo $ac_n "(cached
) $ac_c" 1>&6
22441 cat > conftest.$ac_ext <<EOF
22442 #line 22443 "configure
"
22443 #include "confdefs.h
"
22444 #include <langinfo.h>
22446 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22447 { (eval echo configure:22448: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22448 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22449 if test -z "$ac_err"; then
22451 eval "ac_cv_header_
$ac_safe=yes"
22454 echo "configure
: failed program was
:" >&5
22455 cat conftest.$ac_ext >&5
22457 eval "ac_cv_header_
$ac_safe=no
"
22461 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22462 echo "$ac_t""yes" 1>&6
22463 ac_has_langinfo_h=yes
22465 echo "$ac_t""no
" 1>&6
22466 ac_has_langinfo_h=no
22470 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
22471 echo "configure
:22472: checking
for iconv in -liconv" >&5
22472 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
22473 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
22474 echo $ac_n "(cached
) $ac_c" 1>&6
22476 ac_save_LIBS="$LIBS"
22477 LIBS="-liconv $LIBS"
22478 cat > conftest.$ac_ext <<EOF
22479 #line 22480 "configure
"
22480 #include "confdefs.h
"
22481 /* Override any gcc2 internal prototype to avoid an error. */
22482 /* We use char because int might match the return type of a gcc2
22483 builtin and then its argument prototype would still apply. */
22490 if { (eval echo configure:22491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22492 eval "ac_cv_lib_
$ac_lib_var=yes"
22494 echo "configure
: failed program was
:" >&5
22495 cat conftest.$ac_ext >&5
22497 eval "ac_cv_lib_
$ac_lib_var=no
"
22500 LIBS="$ac_save_LIBS"
22503 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
22504 echo "$ac_t""yes" 1>&6
22507 echo "$ac_t""no
" 1>&6
22510 ac_save_LIBS="$LIBS"
22511 LIBS="$LIBS $libiconv"
22513 for ac_func in iconv_open iconv_close iconv nl_langinfo
22515 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22516 echo "configure
:22517: checking
for $ac_func" >&5
22517 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22518 echo $ac_n "(cached
) $ac_c" 1>&6
22520 cat > conftest.$ac_ext <<EOF
22521 #line 22522 "configure
"
22522 #include "confdefs.h
"
22523 /* System header to define __stub macros and hopefully few prototypes,
22524 which can conflict with char $ac_func(); below. */
22525 #include <assert.h>
22526 /* Override any gcc2 internal prototype to avoid an error. */
22527 /* We use char because int might match the return type of a gcc2
22528 builtin and then its argument prototype would still apply. */
22533 /* The GNU C library defines this for functions which it implements
22534 to always fail with ENOSYS. Some functions are actually named
22535 something starting with __ and the normal name is an alias. */
22536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22544 if { (eval echo configure:22545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22546 eval "ac_cv_func_
$ac_func=yes"
22548 echo "configure
: failed program was
:" >&5
22549 cat conftest.$ac_ext >&5
22551 eval "ac_cv_func_
$ac_func=no
"
22556 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22557 echo "$ac_t""yes" 1>&6
22558 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22559 cat >> confdefs.h <<EOF
22560 #define $ac_tr_func 1
22565 echo "$ac_t""no
" 1>&6
22571 LIBS="$ac_save_LIBS"
22573 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
22574 echo "configure
:22575: checking
for XPG2 wchar_t support
" >&5
22575 if test x"$ac_has_iconv_h" = xyes &&
22576 test x"$ac_has_langinfo_h" = xyes &&
22577 test x"$ac_XPG2funcs" = xyes; then
22578 ac_XPG2_wchar_t=yes
22582 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
22584 if test x"$ac_isoC99_wchar_t" = xyes &&
22585 test x"$ac_XPG2_wchar_t" = xyes; then
22586 cat >> confdefs.h <<\EOF
22587 #define _GLIBCPP_USE_WCHAR_T 1
22593 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
22594 echo "configure
:22595: checking
for enabled wchar_t specializations
" >&5
22595 echo "$ac_t""$enable_wchar_t" 1>&6
22598 if test "$enable_wchar_t" = yes; then
22599 GLIBCPP_TEST_WCHAR_T_TRUE=
22600 GLIBCPP_TEST_WCHAR_T_FALSE='#'
22602 GLIBCPP_TEST_WCHAR_T_TRUE='#'
22603 GLIBCPP_TEST_WCHAR_T_FALSE=
22607 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22608 ac_save_CXXFLAGS="$CXXFLAGS"
22609 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
22612 echo $ac_n "checking
for strtold declaration
""...
$ac_c" 1>&6
22613 echo "configure
:22614: checking
for strtold declaration
" >&5
22614 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
22615 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
22616 echo $ac_n "(cached
) $ac_c" 1>&6
22621 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22622 ac_cpp='$CXXCPP $CPPFLAGS'
22623 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22624 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22625 cross_compiling=$ac_cv_prog_cxx_cross
22627 cat > conftest.$ac_ext <<EOF
22628 #line 22629 "configure
"
22629 #include "confdefs.h
"
22630 #include <stdlib.h>
22635 if { (eval echo configure:22636: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22637 glibcpp_cv_func_strtold_use=yes
22639 echo "configure
: failed program was
:" >&5
22640 cat conftest.$ac_ext >&5
22642 glibcpp_cv_func_strtold_use=no
22646 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22647 ac_cpp='$CPP $CPPFLAGS'
22648 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22649 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22650 cross_compiling=$ac_cv_prog_cc_cross
22656 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
22657 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
22658 for ac_func in strtold
22660 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22661 echo "configure
:22662: checking
for $ac_func" >&5
22662 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22663 echo $ac_n "(cached
) $ac_c" 1>&6
22665 cat > conftest.$ac_ext <<EOF
22666 #line 22667 "configure
"
22667 #include "confdefs.h
"
22668 /* System header to define __stub macros and hopefully few prototypes,
22669 which can conflict with char $ac_func(); below. */
22670 #include <assert.h>
22671 /* Override any gcc2 internal prototype to avoid an error. */
22672 /* We use char because int might match the return type of a gcc2
22673 builtin and then its argument prototype would still apply. */
22678 /* The GNU C library defines this for functions which it implements
22679 to always fail with ENOSYS. Some functions are actually named
22680 something starting with __ and the normal name is an alias. */
22681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22689 if { (eval echo configure:22690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22691 eval "ac_cv_func_
$ac_func=yes"
22693 echo "configure
: failed program was
:" >&5
22694 cat conftest.$ac_ext >&5
22696 eval "ac_cv_func_
$ac_func=no
"
22701 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22702 echo "$ac_t""yes" 1>&6
22703 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22704 cat >> confdefs.h <<EOF
22705 #define $ac_tr_func 1
22709 echo "$ac_t""no
" 1>&6
22716 echo $ac_n "checking
for strtof declaration
""...
$ac_c" 1>&6
22717 echo "configure
:22718: checking
for strtof declaration
" >&5
22718 if test x${glibcpp_cv_func_strtof_use+set} != xset; then
22719 if eval "test \"`echo '$''{'glibcpp_cv_func_strtof_use'+set}'`\" = set"; then
22720 echo $ac_n "(cached
) $ac_c" 1>&6
22725 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22726 ac_cpp='$CXXCPP $CPPFLAGS'
22727 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22728 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22729 cross_compiling=$ac_cv_prog_cxx_cross
22731 cat > conftest.$ac_ext <<EOF
22732 #line 22733 "configure
"
22733 #include "confdefs.h
"
22734 #include <stdlib.h>
22739 if { (eval echo configure:22740: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22741 glibcpp_cv_func_strtof_use=yes
22743 echo "configure
: failed program was
:" >&5
22744 cat conftest.$ac_ext >&5
22746 glibcpp_cv_func_strtof_use=no
22750 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22751 ac_cpp='$CPP $CPPFLAGS'
22752 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22753 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22754 cross_compiling=$ac_cv_prog_cc_cross
22760 echo "$ac_t""$glibcpp_cv_func_strtof_use" 1>&6
22761 if test x$glibcpp_cv_func_strtof_use = x"yes"; then
22762 for ac_func in strtof
22764 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22765 echo "configure
:22766: checking
for $ac_func" >&5
22766 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22767 echo $ac_n "(cached
) $ac_c" 1>&6
22769 cat > conftest.$ac_ext <<EOF
22770 #line 22771 "configure
"
22771 #include "confdefs.h
"
22772 /* System header to define __stub macros and hopefully few prototypes,
22773 which can conflict with char $ac_func(); below. */
22774 #include <assert.h>
22775 /* Override any gcc2 internal prototype to avoid an error. */
22776 /* We use char because int might match the return type of a gcc2
22777 builtin and then its argument prototype would still apply. */
22782 /* The GNU C library defines this for functions which it implements
22783 to always fail with ENOSYS. Some functions are actually named
22784 something starting with __ and the normal name is an alias. */
22785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22793 if { (eval echo configure:22794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22795 eval "ac_cv_func_
$ac_func=yes"
22797 echo "configure
: failed program was
:" >&5
22798 cat conftest.$ac_ext >&5
22800 eval "ac_cv_func_
$ac_func=no
"
22805 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22806 echo "$ac_t""yes" 1>&6
22807 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22808 cat >> confdefs.h <<EOF
22809 #define $ac_tr_func 1
22813 echo "$ac_t""no
" 1>&6
22819 for ac_func in drand48
22821 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22822 echo "configure
:22823: checking
for $ac_func" >&5
22823 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22824 echo $ac_n "(cached
) $ac_c" 1>&6
22826 cat > conftest.$ac_ext <<EOF
22827 #line 22828 "configure
"
22828 #include "confdefs.h
"
22829 /* System header to define __stub macros and hopefully few prototypes,
22830 which can conflict with char $ac_func(); below. */
22831 #include <assert.h>
22832 /* Override any gcc2 internal prototype to avoid an error. */
22833 /* We use char because int might match the return type of a gcc2
22834 builtin and then its argument prototype would still apply. */
22839 /* The GNU C library defines this for functions which it implements
22840 to always fail with ENOSYS. Some functions are actually named
22841 something starting with __ and the normal name is an alias. */
22842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22850 if { (eval echo configure:22851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22852 eval "ac_cv_func_
$ac_func=yes"
22854 echo "configure
: failed program was
:" >&5
22855 cat conftest.$ac_ext >&5
22857 eval "ac_cv_func_
$ac_func=no
"
22862 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22863 echo "$ac_t""yes" 1>&6
22864 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22865 cat >> confdefs.h <<EOF
22866 #define $ac_tr_func 1
22870 echo "$ac_t""no
" 1>&6
22875 CXXFLAGS="$ac_save_CXXFLAGS"
22878 # For showmanyc_helper().
22879 for ac_hdr in sys/ioctl.h sys/filio.h
22881 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22882 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
22883 echo "configure
:22884: checking
for $ac_hdr" >&5
22884 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22885 echo $ac_n "(cached
) $ac_c" 1>&6
22887 cat > conftest.$ac_ext <<EOF
22888 #line 22889 "configure
"
22889 #include "confdefs.h
"
22892 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22893 { (eval echo configure:22894: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22894 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22895 if test -z "$ac_err"; then
22897 eval "ac_cv_header_
$ac_safe=yes"
22900 echo "configure
: failed program was
:" >&5
22901 cat conftest.$ac_ext >&5
22903 eval "ac_cv_header_
$ac_safe=no
"
22907 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22908 echo "$ac_t""yes" 1>&6
22909 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22910 cat >> confdefs.h <<EOF
22911 #define $ac_tr_hdr 1
22915 echo "$ac_t""no
" 1>&6
22920 if eval "test \"`echo '$''{'glibcpp_cv_POLL'+set}'`\" = set"; then
22921 echo $ac_n "(cached
) $ac_c" 1>&6
22924 cat > conftest.$ac_ext <<EOF
22925 #line 22926 "configure
"
22926 #include "confdefs.h
"
22929 struct pollfd pfd[1]; pfd[0].events = POLLIN; poll(pfd, 1, 0);
22932 if { (eval echo configure:22933: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22934 glibcpp_cv_POLL=yes
22936 echo "configure
: failed program was
:" >&5
22937 cat conftest.$ac_ext >&5
22945 if test x$glibcpp_cv_POLL = xyes; then
22946 cat >> confdefs.h <<\EOF
22947 #define HAVE_POLL 1
22953 if eval "test \"`echo '$''{'glibcpp_cv_S_ISREG'+set}'`\" = set"; then
22954 echo $ac_n "(cached
) $ac_c" 1>&6
22957 cat > conftest.$ac_ext <<EOF
22958 #line 22959 "configure
"
22959 #include "confdefs.h
"
22960 #include <sys/stat.h>
22962 struct stat buffer; fstat(0, &buffer); S_ISREG(buffer.st_mode);
22965 if { (eval echo configure:22966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22967 glibcpp_cv_S_ISREG=yes
22969 echo "configure
: failed program was
:" >&5
22970 cat conftest.$ac_ext >&5
22972 glibcpp_cv_S_ISREG=no
22978 if eval "test \"`echo '$''{'glibcpp_cv_S_IFREG'+set}'`\" = set"; then
22979 echo $ac_n "(cached
) $ac_c" 1>&6
22982 cat > conftest.$ac_ext <<EOF
22983 #line 22984 "configure
"
22984 #include "confdefs.h
"
22985 #include <sys/stat.h>
22987 struct stat buffer; fstat(0, &buffer); S_IFREG & buffer.st_mode;
22990 if { (eval echo configure:22991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22992 glibcpp_cv_S_IFREG=yes
22994 echo "configure
: failed program was
:" >&5
22995 cat conftest.$ac_ext >&5
22997 glibcpp_cv_S_IFREG=no
23003 if test x$glibcpp_cv_S_ISREG = xyes; then
23004 cat >> confdefs.h <<\EOF
23005 #define HAVE_S_ISREG 1
23008 elif test x$glibcpp_cv_S_IFREG = xyes; then
23009 cat >> confdefs.h <<\EOF
23010 #define HAVE_S_IFREG 1
23017 ac_safe=`echo "locale.h
" | sed 'y%./+-%__p_%'`
23018 echo $ac_n "checking
for locale.h
""...
$ac_c" 1>&6
23019 echo "configure
:23020: checking
for locale.h
" >&5
23020 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
23021 echo $ac_n "(cached
) $ac_c" 1>&6
23023 cat > conftest.$ac_ext <<EOF
23024 #line 23025 "configure
"
23025 #include "confdefs.h
"
23026 #include <locale.h>
23028 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
23029 { (eval echo configure:23030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
23030 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
23031 if test -z "$ac_err"; then
23033 eval "ac_cv_header_
$ac_safe=yes"
23036 echo "configure
: failed program was
:" >&5
23037 cat conftest.$ac_ext >&5
23039 eval "ac_cv_header_
$ac_safe=no
"
23043 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
23044 echo "$ac_t""yes" 1>&6
23046 echo $ac_n "checking
for LC_MESSAGES
""...
$ac_c" 1>&6
23047 echo "configure
:23048: checking
for LC_MESSAGES
" >&5
23048 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
23049 echo $ac_n "(cached
) $ac_c" 1>&6
23051 cat > conftest.$ac_ext <<EOF
23052 #line 23053 "configure
"
23053 #include "confdefs.h
"
23054 #include <locale.h>
23059 if { (eval echo configure:23060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23061 ac_cv_val_LC_MESSAGES=yes
23063 echo "configure
: failed program was
:" >&5
23064 cat conftest.$ac_ext >&5
23066 ac_cv_val_LC_MESSAGES=no
23071 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
23072 if test $ac_cv_val_LC_MESSAGES = yes; then
23073 cat >> confdefs.h <<\EOF
23074 #define HAVE_LC_MESSAGES 1
23080 echo "$ac_t""no
" 1>&6
23085 cat > conftest.$ac_ext <<EOF
23086 #line 23087 "configure
"
23087 #include "confdefs.h
"
23089 #include <setjmp.h>
23092 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
23095 if { (eval echo configure:23096: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23097 cat >> confdefs.h <<\EOF
23098 #define HAVE_SIGSETJMP 1
23103 echo "configure
: failed program was
:" >&5
23104 cat conftest.$ac_ext >&5
23108 for ac_hdr in unistd.h
23110 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
23111 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
23112 echo "configure
:23113: checking
for $ac_hdr" >&5
23113 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
23114 echo $ac_n "(cached
) $ac_c" 1>&6
23116 cat > conftest.$ac_ext <<EOF
23117 #line 23118 "configure
"
23118 #include "confdefs.h
"
23121 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
23122 { (eval echo configure:23123: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
23123 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
23124 if test -z "$ac_err"; then
23126 eval "ac_cv_header_
$ac_safe=yes"
23129 echo "configure
: failed program was
:" >&5
23130 cat conftest.$ac_ext >&5
23132 eval "ac_cv_header_
$ac_safe=no
"
23136 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
23137 echo "$ac_t""yes" 1>&6
23138 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
23139 cat >> confdefs.h <<EOF
23140 #define $ac_tr_hdr 1
23144 echo "$ac_t""no
" 1>&6
23148 for ac_func in getpagesize
23150 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
23151 echo "configure
:23152: checking
for $ac_func" >&5
23152 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
23153 echo $ac_n "(cached
) $ac_c" 1>&6
23155 cat > conftest.$ac_ext <<EOF
23156 #line 23157 "configure
"
23157 #include "confdefs.h
"
23158 /* System header to define __stub macros and hopefully few prototypes,
23159 which can conflict with char $ac_func(); below. */
23160 #include <assert.h>
23161 /* Override any gcc2 internal prototype to avoid an error. */
23162 /* We use char because int might match the return type of a gcc2
23163 builtin and then its argument prototype would still apply. */
23168 /* The GNU C library defines this for functions which it implements
23169 to always fail with ENOSYS. Some functions are actually named
23170 something starting with __ and the normal name is an alias. */
23171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23179 if { (eval echo configure:23180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23181 eval "ac_cv_func_
$ac_func=yes"
23183 echo "configure
: failed program was
:" >&5
23184 cat conftest.$ac_ext >&5
23186 eval "ac_cv_func_
$ac_func=no
"
23191 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
23192 echo "$ac_t""yes" 1>&6
23193 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23194 cat >> confdefs.h <<EOF
23195 #define $ac_tr_func 1
23199 echo "$ac_t""no
" 1>&6
23203 echo $ac_n "checking
for working mmap
""...
$ac_c" 1>&6
23204 echo "configure
:23205: checking
for working mmap
" >&5
23205 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
23206 echo $ac_n "(cached
) $ac_c" 1>&6
23208 if test "$cross_compiling" = yes; then
23209 ac_cv_func_mmap_fixed_mapped=no
23211 cat > conftest.$ac_ext <<EOF
23212 #line 23213 "configure
"
23213 #include "confdefs.h
"
23215 /* Thanks to Mike Haertel and Jim Avera for this test.
23216 Here is a matrix of mmap possibilities:
23217 mmap private not fixed
23218 mmap private fixed at somewhere currently unmapped
23219 mmap private fixed at somewhere already mapped
23220 mmap shared not fixed
23221 mmap shared fixed at somewhere currently unmapped
23222 mmap shared fixed at somewhere already mapped
23223 For private mappings, we should verify that changes cannot be read()
23224 back from the file, nor mmap's back from the file at a different
23225 address. (There have been systems where private was not correctly
23226 implemented like the infamous i386 svr4.0, and systems where the
23227 VM page cache was not coherent with the filesystem buffer cache
23228 like early versions of FreeBSD and possibly contemporary NetBSD.)
23229 For shared mappings, we should conversely verify that changes get
23230 propogated back to all the places they're supposed to be.
23232 Grep wants private fixed already mapped.
23233 The main things grep needs to know about mmap are:
23234 * does it exist and is it safe to write into the mmap'd area
23235 * how to use it (BSD variants) */
23236 #include <sys/types.h>
23238 #include <sys/mman.h>
23240 /* This mess was copied from the GNU getpagesize.h. */
23241 #ifndef HAVE_GETPAGESIZE
23242 # ifdef HAVE_UNISTD_H
23243 # include <unistd.h>
23246 /* Assume that all systems that can run configure have sys/param.h. */
23247 # ifndef HAVE_SYS_PARAM_H
23248 # define HAVE_SYS_PARAM_H 1
23251 # ifdef _SC_PAGESIZE
23252 # define getpagesize() sysconf(_SC_PAGESIZE)
23253 # else /* no _SC_PAGESIZE */
23254 # ifdef HAVE_SYS_PARAM_H
23255 # include <sys/param.h>
23256 # ifdef EXEC_PAGESIZE
23257 # define getpagesize() EXEC_PAGESIZE
23258 # else /* no EXEC_PAGESIZE */
23260 # define getpagesize() NBPG * CLSIZE
23263 # endif /* no CLSIZE */
23264 # else /* no NBPG */
23266 # define getpagesize() NBPC
23267 # else /* no NBPC */
23269 # define getpagesize() PAGESIZE
23270 # endif /* PAGESIZE */
23271 # endif /* no NBPC */
23272 # endif /* no NBPG */
23273 # endif /* no EXEC_PAGESIZE */
23274 # else /* no HAVE_SYS_PARAM_H */
23275 # define getpagesize() 8192 /* punt totally */
23276 # endif /* no HAVE_SYS_PARAM_H */
23277 # endif /* no _SC_PAGESIZE */
23279 #endif /* no HAVE_GETPAGESIZE */
23282 extern "C
" { void *malloc(unsigned); }
23290 char *data, *data2, *data3;
23294 pagesize = getpagesize();
23297 * First, make a file with some known garbage in it.
23299 data = malloc(pagesize);
23302 for (i = 0; i < pagesize; ++i)
23303 *(data + i) = rand();
23305 fd = creat("conftestmmap
", 0600);
23308 if (write(fd, data, pagesize) != pagesize)
23313 * Next, try to mmap the file at a fixed address which
23314 * already has something else allocated at it. If we can,
23315 * also make sure that we see the same garbage.
23317 fd = open("conftestmmap
", O_RDWR);
23320 data2 = malloc(2 * pagesize);
23323 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
23324 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
23325 MAP_PRIVATE | MAP_FIXED, fd, 0L))
23327 for (i = 0; i < pagesize; ++i)
23328 if (*(data + i) != *(data2 + i))
23332 * Finally, make sure that changes to the mapped area
23333 * do not percolate back to the file as seen by read().
23334 * (This is a bug on some variants of i386 svr4.0.)
23336 for (i = 0; i < pagesize; ++i)
23337 *(data2 + i) = *(data2 + i) + 1;
23338 data3 = malloc(pagesize);
23341 if (read(fd, data3, pagesize) != pagesize)
23343 for (i = 0; i < pagesize; ++i)
23344 if (*(data + i) != *(data3 + i))
23347 unlink("conftestmmap
");
23352 if { (eval echo configure:23353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
23354 ac_cv_func_mmap_fixed_mapped=yes
23356 echo "configure
: failed program was
:" >&5
23357 cat conftest.$ac_ext >&5
23359 ac_cv_func_mmap_fixed_mapped=no
23366 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
23367 if test $ac_cv_func_mmap_fixed_mapped = yes; then
23368 cat >> confdefs.h <<\EOF
23369 #define HAVE_MMAP 1
23375 # Establish limits on memory usage during 'make check'
23378 setrlimit_have_headers=yes
23379 for ac_hdr in unistd.h sys/time.h sys/resource.h
23381 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
23382 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
23383 echo "configure
:23384: checking
for $ac_hdr" >&5
23384 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
23385 echo $ac_n "(cached
) $ac_c" 1>&6
23387 cat > conftest.$ac_ext <<EOF
23388 #line 23389 "configure
"
23389 #include "confdefs.h
"
23392 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
23393 { (eval echo configure:23394: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
23394 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
23395 if test -z "$ac_err"; then
23397 eval "ac_cv_header_
$ac_safe=yes"
23400 echo "configure
: failed program was
:" >&5
23401 cat conftest.$ac_ext >&5
23403 eval "ac_cv_header_
$ac_safe=no
"
23407 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
23408 echo "$ac_t""yes" 1>&6
23409 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
23410 cat >> confdefs.h <<EOF
23411 #define $ac_tr_hdr 1
23415 echo "$ac_t""no
" 1>&6
23416 setrlimit_have_headers=no
23420 # If don't have the headers, then we can't run the tests now, and we
23421 # won't be seeing any of these during testsuite compilation.
23422 if test $setrlimit_have_headers = yes; then
23423 # Can't do these in a loop, else the resulting syntax is wrong.
23425 cat > conftest.$ac_ext <<EOF
23426 #line 23427 "configure
"
23427 #include "confdefs.h
"
23428 #include <unistd.h>
23429 #include <sys/time.h>
23430 #include <sys/resource.h>
23433 int f = RLIMIT_DATA ;
23436 if { (eval echo configure:23437: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23440 echo "configure
: failed program was
:" >&5
23441 cat conftest.$ac_ext >&5
23446 cat >> confdefs.h <<EOF
23447 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
23452 cat > conftest.$ac_ext <<EOF
23453 #line 23454 "configure
"
23454 #include "confdefs.h
"
23455 #include <unistd.h>
23456 #include <sys/time.h>
23457 #include <sys/resource.h>
23460 int f = RLIMIT_RSS ;
23463 if { (eval echo configure:23464: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23467 echo "configure
: failed program was
:" >&5
23468 cat conftest.$ac_ext >&5
23473 cat >> confdefs.h <<EOF
23474 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
23479 cat > conftest.$ac_ext <<EOF
23480 #line 23481 "configure
"
23481 #include "confdefs.h
"
23482 #include <unistd.h>
23483 #include <sys/time.h>
23484 #include <sys/resource.h>
23487 int f = RLIMIT_VMEM ;
23490 if { (eval echo configure:23491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23494 echo "configure
: failed program was
:" >&5
23495 cat conftest.$ac_ext >&5
23500 cat >> confdefs.h <<EOF
23501 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
23506 cat > conftest.$ac_ext <<EOF
23507 #line 23508 "configure
"
23508 #include "confdefs.h
"
23509 #include <unistd.h>
23510 #include <sys/time.h>
23511 #include <sys/resource.h>
23514 int f = RLIMIT_AS ;
23517 if { (eval echo configure:23518: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23521 echo "configure
: failed program was
:" >&5
23522 cat conftest.$ac_ext >&5
23527 cat >> confdefs.h <<EOF
23528 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
23533 # Check for rlimit, setrlimit.
23534 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
23535 echo $ac_n "(cached
) $ac_c" 1>&6
23538 cat > conftest.$ac_ext <<EOF
23539 #line 23540 "configure
"
23540 #include "confdefs.h
"
23541 #include <unistd.h>
23542 #include <sys/time.h>
23543 #include <sys/resource.h>
23546 struct rlimit r; setrlimit(0, &r);
23549 if { (eval echo configure:23550: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23553 echo "configure
: failed program was
:" >&5
23554 cat conftest.$ac_ext >&5
23564 echo $ac_n "checking
for testsuite memory limit support
""...
$ac_c" 1>&6
23565 echo "configure
:23566: checking
for testsuite memory limit support
" >&5
23566 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
23568 cat >> confdefs.h <<\EOF
23569 #define _GLIBCPP_MEM_LIMITS 1
23575 echo "$ac_t""$ac_mem_limits" 1>&6
23578 # Look for setenv, so that extended locale tests can be performed.
23580 echo $ac_n "checking
for setenv declaration
""...
$ac_c" 1>&6
23581 echo "configure
:23582: checking
for setenv declaration
" >&5
23582 if test x${glibcpp_cv_func_setenv_use+set} != xset; then
23583 if eval "test \"`echo '$''{'glibcpp_cv_func_setenv_use'+set}'`\" = set"; then
23584 echo $ac_n "(cached
) $ac_c" 1>&6
23589 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
23590 ac_cpp='$CXXCPP $CPPFLAGS'
23591 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
23592 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23593 cross_compiling=$ac_cv_prog_cxx_cross
23595 cat > conftest.$ac_ext <<EOF
23596 #line 23597 "configure
"
23597 #include "confdefs.h
"
23598 #include <stdlib.h>
23603 if { (eval echo configure:23604: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23605 glibcpp_cv_func_setenv_use=yes
23607 echo "configure
: failed program was
:" >&5
23608 cat conftest.$ac_ext >&5
23610 glibcpp_cv_func_setenv_use=no
23614 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
23615 ac_cpp='$CPP $CPPFLAGS'
23616 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
23617 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23618 cross_compiling=$ac_cv_prog_cc_cross
23624 echo "$ac_t""$glibcpp_cv_func_setenv_use" 1>&6
23625 if test x$glibcpp_cv_func_setenv_use = x"yes"; then
23626 for ac_func in setenv
23628 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
23629 echo "configure
:23630: checking
for $ac_func" >&5
23630 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
23631 echo $ac_n "(cached
) $ac_c" 1>&6
23633 cat > conftest.$ac_ext <<EOF
23634 #line 23635 "configure
"
23635 #include "confdefs.h
"
23636 /* System header to define __stub macros and hopefully few prototypes,
23637 which can conflict with char $ac_func(); below. */
23638 #include <assert.h>
23639 /* Override any gcc2 internal prototype to avoid an error. */
23640 /* We use char because int might match the return type of a gcc2
23641 builtin and then its argument prototype would still apply. */
23646 /* The GNU C library defines this for functions which it implements
23647 to always fail with ENOSYS. Some functions are actually named
23648 something starting with __ and the normal name is an alias. */
23649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23657 if { (eval echo configure:23658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23659 eval "ac_cv_func_
$ac_func=yes"
23661 echo "configure
: failed program was
:" >&5
23662 cat conftest.$ac_ext >&5
23664 eval "ac_cv_func_
$ac_func=no
"
23669 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
23670 echo "$ac_t""yes" 1>&6
23671 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23672 cat >> confdefs.h <<EOF
23673 #define $ac_tr_func 1
23677 echo "$ac_t""no
" 1>&6
23684 # Export file names for ABI checking.
23685 baseline_file="${glibcpp_srcdir}/config
/abi
/${abi_baseline_triplet}/baseline_symbols.txt
"
23689 *-*-cygwin* ) enable_abi_check=no ;;
23690 * ) enable_abi_check=yes ;;
23693 # Don't do ABI checking unless native.
23696 if test x"$build" = x"$host" && test -z "$with_cross_host" \
23697 && test "$enable_abi_check" = yes ; then
23698 GLIBCPP_BUILD_ABI_CHECK_TRUE=
23699 GLIBCPP_BUILD_ABI_CHECK_FALSE='#'
23701 GLIBCPP_BUILD_ABI_CHECK_TRUE='#'
23702 GLIBCPP_BUILD_ABI_CHECK_FALSE=
23707 # This depends on the possibly-skipped linker test above.
23708 # Check whether --enable-symvers or --disable-symvers was given.
23709 if test "${enable_symvers+set}" = set; then
23710 enableval="$enable_symvers"
23711 case "$enableval" in
23712 yes) enable_symvers=yes ;;
23713 no) enable_symvers=no ;;
23714 # other names here, just as sanity checks
23715 #gnu|sun|etcetera) enable_symvers=$enableval ;;
23716 gnu) enable_symvers=$enableval ;;
23717 *) { echo "configure
: error
: Unknown argument to enable
/disable symvers
" 1>&2; exit 1; } ;;
23723 # If we never went through the GLIBCPP_CHECK_LINKER_FEATURES macro, then we
23724 # don't know enough about $LD to do tricks...
23725 if test x$enable_shared = xno ||
23727 test x$glibcpp_gnu_ld_version = x; then
23731 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
23732 if test $enable_symvers != no; then
23733 echo $ac_n "checking
for shared libgcc
""...
$ac_c" 1>&6
23734 echo "configure
:23735: checking
for shared libgcc
" >&5
23735 ac_save_CFLAGS="$CFLAGS"
23737 cat > conftest.$ac_ext <<EOF
23738 #line 23739 "configure
"
23739 #include "confdefs.h
"
23745 if { (eval echo configure:23746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23747 glibcpp_shared_libgcc=yes
23749 echo "configure
: failed program was
:" >&5
23750 cat conftest.$ac_ext >&5
23752 glibcpp_shared_libgcc=no
23755 CFLAGS="$ac_save_CFLAGS"
23756 echo "$ac_t""$glibcpp_shared_libgcc" 1>&6
23759 # For GNU ld, we need at least this version. It's 2.12 in the same format
23760 # as the tested-for version. See GLIBCPP_CHECK_LINKER_FEATURES for more.
23761 glibcpp_min_gnu_ld_version=21200
23763 # Check to see if unspecified "yes" value can win, given results
23765 if test $enable_symvers = yes ; then
23766 if test $with_gnu_ld = yes &&
23767 test $glibcpp_shared_libgcc = yes ;
23769 if test $glibcpp_gnu_ld_version -ge $glibcpp_min_gnu_ld_version ; then
23772 ac_test_CFLAGS="${CFLAGS+set}"
23773 ac_save_CFLAGS="$CFLAGS"
23774 CFLAGS='-shared -Wl,--version-script,conftest.map'
23777 echo 'FOO { global: f[a-z]o; local: *; };' > conftest.map
23779 cat > conftest.$ac_ext <<EOF
23780 #line 23781 "configure
"
23781 #include "confdefs.h
"
23787 if { (eval echo configure:23788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23791 echo "configure
: failed program was
:" >&5
23792 cat conftest.$ac_ext >&5
23795 if test "$ac_test_CFLAGS" = set; then
23796 CFLAGS="$ac_save_CFLAGS"
23798 # this is the suspicious part
23804 # just fail for now
23809 case $enable_symvers in
23811 SYMVER_MAP=config/linker-map.dummy
23814 SYMVER_MAP=config/linker-map.gnu
23815 cat >> confdefs.h <<\EOF
23816 #define _GLIBCPP_SYMVER 1
23825 if test $enable_symvers != no; then
23826 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE=
23827 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE='#'
23829 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE='#'
23830 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE=
23832 echo $ac_n "checking versioning on shared library symbols
""...
$ac_c" 1>&6
23833 echo "configure
:23834: checking versioning on shared library symbols
" >&5
23834 echo "$ac_t""$enable_symvers" 1>&6
23837 # Propagate the target-specific source directories through the build chain.
23838 # (Nothing currently uses cpu_include_dir directly; only ATOMICITYH
23839 # uses it, and it only gets used in this file.)
23840 OS_INC_SRCDIR=config/${os_include_dir}
23841 ATOMICITY_INC_SRCDIR=config/${ATOMICITYH}
23845 # Set up cross-compile flags
23848 if test "$CANADIAN" = yes; then
23856 cat > confcache <<\EOF
23857 # This file is a shell script that caches the results of configure
23858 # tests run on this system so they can be shared between configure
23859 # scripts and configure runs. It is not useful on other systems.
23860 # If it contains results you don't want to keep, you may remove or edit it.
23862 # By default, configure uses ./config.cache as the cache file,
23863 # creating it if it does not exist already. You can give configure
23864 # the --cache-file=FILE option to use a different cache file; that is
23865 # what configure does when it calls configure scripts in
23866 # subdirectories, so they share the cache.
23867 # Giving --cache-file=/dev/null disables caching, for debugging configure.
23868 # config.status only pays attention to the cache file if you give it the
23869 # --recheck option to rerun configure.
23872 # The following way of writing the cache mishandles newlines in values,
23873 # but we know of no workaround that is simple, portable, and efficient.
23874 # So, don't put newlines in cache variables' values.
23875 # Ultrix sh set writes to stderr and can't be redirected directly,
23876 # and sets the high bit in the cache file unless we assign to the vars.
23878 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23880 # `set' does not quote correctly, so add quotes (double-quote substitution
23881 # turns \\\\ into \\, and sed turns \\ into \).
23883 -e "s
/'/'\\\\''/g
" \
23884 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
23887 # `set' quotes correctly as required by POSIX, so do not add quotes.
23888 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
23891 if cmp -s $cache_file confcache; then
23894 if test -w $cache_file; then
23895 echo "updating cache
$cache_file"
23896 cat confcache > $cache_file
23898 echo "not updating unwritable cache
$cache_file"
23904 if test "${multilib}" = "yes"; then
23905 multilib_arg="--enable-multilib"
23910 # Export all the install information
23912 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
23913 # exported correctly in GLIBCPP_CONFIGURE.
23914 glibcpp_toolexecdir=no
23915 glibcpp_toolexeclibdir=no
23916 glibcpp_prefixdir=${prefix}
23918 # Process the option --with-gxx-include-dir=<path to include-files directory>
23919 echo $ac_n "checking
for --with-gxx-include-dir""...
$ac_c" 1>&6
23920 echo "configure
:23921: checking
for --with-gxx-include-dir" >&5
23921 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
23922 if test "${with_gxx_include_dir+set}" = set; then
23923 withval="$with_gxx_include_dir"
23924 case "${withval}" in
23926 { echo "configure
: error
: Missing directory
for --with-gxx-include-dir" 1>&2; exit 1; }
23933 gxx_include_dir=${withval}
23940 echo "$ac_t""$gxx_include_dir" 1>&6
23942 # Process the option "--enable-version-specific-runtime-libs"
23943 echo $ac_n "checking
for --enable-version-specific-runtime-libs""...
$ac_c" 1>&6
23944 echo "configure
:23945: checking
for --enable-version-specific-runtime-libs" >&5
23945 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
23946 if test "${enable_version_specific_runtime_libs+set}" = set; then
23947 enableval="$enable_version_specific_runtime_libs"
23948 case "$enableval" in
23949 yes) version_specific_libs=yes ;;
23950 no) version_specific_libs=no ;;
23951 *) { echo "configure
: error
: Unknown argument to enable
/disable version-specific libs
" 1>&2; exit 1; };;
23954 version_specific_libs=no
23956 # Option set, now we can test it.
23957 echo "$ac_t""$version_specific_libs" 1>&6
23959 # Default case for install directory for include files.
23960 if test $version_specific_libs = no && test $gxx_include_dir = no; then
23961 gxx_include_dir='$(prefix)'/include/c++/${gcc_version}
23964 # Version-specific runtime libs processing.
23965 if test $version_specific_libs = yes; then
23966 # Need the gcc compiler version to know where to install libraries
23967 # and header files if --enable-version-specific-runtime-libs option
23969 if test x"$gxx_include_dir" = x"no
"; then
23970 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/c++
23972 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
23973 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
23976 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
23977 # Install a library built with a cross compiler in tooldir, not libdir.
23978 if test x"$glibcpp_toolexecdir" = x"no
"; then
23979 if test -n "$with_cross_host" &&
23980 test x"$with_cross_host" != x"no
"; then
23981 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
23982 glibcpp_toolexeclibdir='$(toolexecdir)/lib'
23984 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
23985 glibcpp_toolexeclibdir='$(libdir)'
23987 multi_os_directory=`$CC -print-multi-os-directory`
23988 case $multi_os_directory in
23989 .) ;; # Avoid trailing /.
23990 *) glibcpp_toolexeclibdir=$glibcpp_toolexeclibdir/$multi_os_directory ;;
23994 echo $ac_n "checking
for install location
""...
$ac_c" 1>&6
23995 echo "configure
:23996: checking
for install location
" >&5
23996 echo "$ac_t""$gxx_include_dir" 1>&6
24004 # Export all the include and flag information to Makefiles.
24006 # Root level of the build directory include sources.
24007 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include
"
24009 # Passed down for canadian crosses.
24010 if test x"$CANADIAN" = xyes; then
24011 TOPLEVEL_INCLUDES='-I$(includedir)'
24014 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
24016 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
24018 if test x"$need_libio" = xyes; then
24019 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
24023 # Now, export this to all the little Makefiles....
24030 # Optimization flags that are probably a good idea for thrill-seekers. Just
24031 # uncomment the lines below and make, everything else is ready to go...
24032 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
24036 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings'
24040 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
24041 grep "enable shared
" > /dev/null; then
24042 LIBSUPCXX_PICFLAGS=-prefer-pic
24044 LIBSUPCXX_PICFLAGS=
24048 # Generate the various Makefiles, include files, and scripts.
24049 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
24050 # and libsupc++/Makefile.am so that multilib installs will end up
24051 # installed in the correct place. To work around this not being passed
24052 # down from config-ml.in -> top_srcdir/Makefile.am ->
24053 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
24055 cat > confcache <<\EOF
24056 # This file is a shell script that caches the results of configure
24057 # tests run on this system so they can be shared between configure
24058 # scripts and configure runs. It is not useful on other systems.
24059 # If it contains results you don't want to keep, you may remove or edit it.
24061 # By default, configure uses ./config.cache as the cache file,
24062 # creating it if it does not exist already. You can give configure
24063 # the --cache-file=FILE option to use a different cache file; that is
24064 # what configure does when it calls configure scripts in
24065 # subdirectories, so they share the cache.
24066 # Giving --cache-file=/dev/null disables caching, for debugging configure.
24067 # config.status only pays attention to the cache file if you give it the
24068 # --recheck option to rerun configure.
24071 # The following way of writing the cache mishandles newlines in values,
24072 # but we know of no workaround that is simple, portable, and efficient.
24073 # So, don't put newlines in cache variables' values.
24074 # Ultrix sh set writes to stderr and can't be redirected directly,
24075 # and sets the high bit in the cache file unless we assign to the vars.
24077 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24079 # `set' does not quote correctly, so add quotes (double-quote substitution
24080 # turns \\\\ into \\, and sed turns \\ into \).
24082 -e "s
/'/'\\\\''/g
" \
24083 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
24086 # `set' quotes correctly as required by POSIX, so do not add quotes.
24087 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
24090 if cmp -s $cache_file confcache; then
24093 if test -w $cache_file; then
24094 echo "updating cache
$cache_file"
24095 cat confcache > $cache_file
24097 echo "not updating unwritable cache
$cache_file"
24102 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
24104 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
24105 # Let make expand exec_prefix.
24106 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
24108 # Any assignment to VPATH causes Sun make to only execute
24109 # the first set of double-colon rules, so remove it if not needed.
24110 # If there is a colon in the path, we need to keep it.
24111 if test "x
$srcdir" = x.; then
24112 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
24115 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
24117 DEFS=-DHAVE_CONFIG_H
24119 # Without the ".
/", some shells look in PATH for config.status.
24120 : ${CONFIG_STATUS=./config.status}
24122 echo creating $CONFIG_STATUS
24123 rm -f $CONFIG_STATUS
24124 cat > $CONFIG_STATUS <<EOF
24126 # Generated automatically by configure.
24127 # Run this file to recreate the current configuration.
24128 # This directory was configured as follows,
24129 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
24131 # $0 $ac_configure_args
24133 # Compiler output produced by configure, useful for debugging
24134 # configure, is in ./config.log if it exists.
24136 ac_cs_usage="Usage
: $CONFIG_STATUS [--recheck] [--version] [--help]"
24139 case "\
$ac_option" in
24140 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24141 echo "running \
${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
24142 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
24143 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
24144 echo "$CONFIG_STATUS generated by autoconf version
2.13"
24146 -help | --help | --hel | --he | --h)
24147 echo "\
$ac_cs_usage"; exit 0 ;;
24148 *) echo "\
$ac_cs_usage"; exit 1 ;;
24152 ac_given_srcdir=$srcdir
24153 ac_given_INSTALL="$INSTALL"
24155 trap 'rm -fr `echo "Makefile \
24156 include
/Makefile src
/Makefile \
24157 libmath
/Makefile libio
/Makefile libsupc
++/Makefile \
24158 po
/Makefile testsuite
/Makefile mkcheck testsuite_flags config.h
" | sed "s
/:[^
]*//g
"` conftest*; exit 1' 1 2 15
24160 cat >> $CONFIG_STATUS <<EOF
24162 # Protect against being on the right side of a sed subst in config.status.
24163 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
24164 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
24168 s%@CFLAGS@%$CFLAGS%g
24169 s%@CPPFLAGS@%$CPPFLAGS%g
24170 s%@CXXFLAGS@%$CXXFLAGS%g
24171 s%@FFLAGS@%$FFLAGS%g
24173 s%@LDFLAGS@%$LDFLAGS%g
24175 s%@exec_prefix@%$exec_prefix%g
24176 s%@prefix@%$prefix%g
24177 s%@program_transform_name@%$program_transform_name%g
24178 s%@bindir@%$bindir%g
24179 s%@sbindir@%$sbindir%g
24180 s%@libexecdir@%$libexecdir%g
24181 s%@datadir@%$datadir%g
24182 s%@sysconfdir@%$sysconfdir%g
24183 s%@sharedstatedir@%$sharedstatedir%g
24184 s%@localstatedir@%$localstatedir%g
24185 s%@libdir@%$libdir%g
24186 s%@includedir@%$includedir%g
24187 s%@oldincludedir@%$oldincludedir%g
24188 s%@infodir@%$infodir%g
24189 s%@mandir@%$mandir%g
24190 s%@PACKAGE@%$PACKAGE%g
24191 s%@libtool_VERSION@%$libtool_VERSION%g
24192 s%@toplevel_srcdir@%$toplevel_srcdir%g
24194 s%@host_alias@%$host_alias%g
24195 s%@host_cpu@%$host_cpu%g
24196 s%@host_vendor@%$host_vendor%g
24197 s%@host_os@%$host_os%g
24198 s%@target@%$target%g
24199 s%@target_alias@%$target_alias%g
24200 s%@target_cpu@%$target_cpu%g
24201 s%@target_vendor@%$target_vendor%g
24202 s%@target_os@%$target_os%g
24204 s%@build_alias@%$build_alias%g
24205 s%@build_cpu@%$build_cpu%g
24206 s%@build_vendor@%$build_vendor%g
24207 s%@build_os@%$build_os%g
24208 s%@glibcpp_builddir@%$glibcpp_builddir%g
24209 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
24212 s%@glibcpp_basedir@%$glibcpp_basedir%g
24214 s%@glibcpp_CXX@%$glibcpp_CXX%g
24217 s%@RANLIB@%$RANLIB%g
24218 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
24219 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
24220 s%@INSTALL_DATA@%$INSTALL_DATA%g
24221 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
24222 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
24224 s%@EXEEXT@%$EXEEXT%g
24225 s%@VERSION@%$VERSION%g
24226 s%@ACLOCAL@%$ACLOCAL%g
24227 s%@AUTOCONF@%$AUTOCONF%g
24228 s%@AUTOMAKE@%$AUTOMAKE%g
24229 s%@AUTOHEADER@%$AUTOHEADER%g
24230 s%@MAKEINFO@%$MAKEINFO%g
24231 s%@SET_MAKE@%$SET_MAKE%g
24232 s%@OBJEXT@%$OBJEXT%g
24234 s%@LIBTOOL@%$LIBTOOL%g
24235 s%@CXXCPP@%$CXXCPP%g
24236 s%@enable_shared@%$enable_shared%g
24237 s%@enable_static@%$enable_static%g
24238 s%@ifGNUmake@%$ifGNUmake%g
24239 s%@GLIBCPP_BUILD_PCH_TRUE@%$GLIBCPP_BUILD_PCH_TRUE%g
24240 s%@GLIBCPP_BUILD_PCH_FALSE@%$GLIBCPP_BUILD_PCH_FALSE%g
24242 s%@CSTDIO_H@%$CSTDIO_H%g
24243 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
24244 s%@BASIC_FILE_CC@%$BASIC_FILE_CC%g
24245 s%@CCODECVT_C@%$CCODECVT_C%g
24246 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
24247 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
24248 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
24249 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
24250 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
24251 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
24252 s%@libio_la@%$libio_la%g
24253 s%@check_msgfmt@%$check_msgfmt%g
24254 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
24255 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
24256 s%@glibcpp_localedir@%$glibcpp_localedir%g
24257 s%@USE_NLS@%$USE_NLS%g
24258 s%@CLOCALE_H@%$CLOCALE_H%g
24259 s%@CCODECVT_H@%$CCODECVT_H%g
24260 s%@CMESSAGES_H@%$CMESSAGES_H%g
24261 s%@CCODECVT_CC@%$CCODECVT_CC%g
24262 s%@CCOLLATE_CC@%$CCOLLATE_CC%g
24263 s%@CCTYPE_CC@%$CCTYPE_CC%g
24264 s%@CMESSAGES_CC@%$CMESSAGES_CC%g
24265 s%@CMONEY_CC@%$CMONEY_CC%g
24266 s%@CNUMERIC_CC@%$CNUMERIC_CC%g
24267 s%@CTIME_H@%$CTIME_H%g
24268 s%@CTIME_CC@%$CTIME_CC%g
24269 s%@CLOCALE_CC@%$CLOCALE_CC%g
24270 s%@CLOCALE_INTERNAL_H@%$CLOCALE_INTERNAL_H%g
24271 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
24272 s%@GLIBCPP_C_HEADERS_C_TRUE@%$GLIBCPP_C_HEADERS_C_TRUE%g
24273 s%@GLIBCPP_C_HEADERS_C_FALSE@%$GLIBCPP_C_HEADERS_C_FALSE%g
24274 s%@GLIBCPP_C_HEADERS_C_STD_TRUE@%$GLIBCPP_C_HEADERS_C_STD_TRUE%g
24275 s%@GLIBCPP_C_HEADERS_C_STD_FALSE@%$GLIBCPP_C_HEADERS_C_STD_FALSE%g
24276 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE%g
24277 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE%g
24278 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
24279 s%@LIBUNWIND_FLAG@%$LIBUNWIND_FLAG%g
24280 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
24281 s%@GLIBCPP_BUILD_DEBUG_TRUE@%$GLIBCPP_BUILD_DEBUG_TRUE%g
24282 s%@GLIBCPP_BUILD_DEBUG_FALSE@%$GLIBCPP_BUILD_DEBUG_FALSE%g
24283 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
24284 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
24285 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
24286 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
24287 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
24288 s%@GLIBCPP_BUILD_LIBMATH_TRUE@%$GLIBCPP_BUILD_LIBMATH_TRUE%g
24289 s%@GLIBCPP_BUILD_LIBMATH_FALSE@%$GLIBCPP_BUILD_LIBMATH_FALSE%g
24290 s%@GLIBCPP_TEST_WCHAR_T_TRUE@%$GLIBCPP_TEST_WCHAR_T_TRUE%g
24291 s%@GLIBCPP_TEST_WCHAR_T_FALSE@%$GLIBCPP_TEST_WCHAR_T_FALSE%g
24292 s%@WERROR@%$WERROR%g
24293 s%@baseline_file@%$baseline_file%g
24294 s%@GLIBCPP_BUILD_ABI_CHECK_TRUE@%$GLIBCPP_BUILD_ABI_CHECK_TRUE%g
24295 s%@GLIBCPP_BUILD_ABI_CHECK_FALSE@%$GLIBCPP_BUILD_ABI_CHECK_FALSE%g
24296 s%@SYMVER_MAP@%$SYMVER_MAP%g
24297 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g
24298 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g
24299 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
24300 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
24301 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
24302 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
24303 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
24304 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
24305 s%@gxx_include_dir@%$gxx_include_dir%g
24306 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
24307 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
24308 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
24309 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
24310 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
24311 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
24312 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
24313 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
24314 s%@WARN_FLAGS@%$WARN_FLAGS%g
24315 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
24320 cat >> $CONFIG_STATUS <<\EOF
24322 # Split the substitutions into bite-sized pieces for seds with
24323 # small command number limits, like on Digital OSF/1 and HP-UX.
24324 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
24325 ac_file=1 # Number of current file.
24326 ac_beg=1 # First line for current file.
24327 ac_end=$ac_max_sed_cmds # Line after last line for current file.
24330 while $ac_more_lines; do
24331 if test $ac_beg -gt 1; then
24332 sed "1,${ac_beg}d
; ${ac_end}q
" conftest.subs > conftest.s$ac_file
24334 sed "${ac_end}q
" conftest.subs > conftest.s$ac_file
24336 if test ! -s conftest.s$ac_file; then
24337 ac_more_lines=false
24338 rm -f conftest.s$ac_file
24340 if test -z "$ac_sed_cmds"; then
24341 ac_sed_cmds="sed -f conftest.s
$ac_file"
24343 ac_sed_cmds="$ac_sed_cmds |
sed -f conftest.s
$ac_file"
24345 ac_file=`expr $ac_file + 1`
24347 ac_end=`expr $ac_end + $ac_max_sed_cmds`
24350 if test -z "$ac_sed_cmds"; then
24355 cat >> $CONFIG_STATUS <<EOF
24357 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
24358 include
/Makefile src
/Makefile \
24359 libmath
/Makefile libio
/Makefile libsupc
++/Makefile \
24360 po
/Makefile testsuite
/Makefile mkcheck testsuite_flags
"}
24362 cat >> $CONFIG_STATUS <<\EOF
24363 for ac_file in .. $CONFIG_FILES; do if test "x
$ac_file" != x..; then
24364 # Support "outfile
[:infile
[:infile...
]]", defaulting infile="outfile.
in".
24366 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
24367 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
24368 *) ac_file_in="${ac_file}.
in" ;;
24371 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
24373 # Remove last slash and all that follows it. Not all systems have dirname.
24374 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
24375 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
24376 # The file is in a subdirectory.
24377 test ! -d "$ac_dir" && mkdir "$ac_dir"
24378 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
24379 # A "..
/" for each directory in $ac_dir_suffix.
24380 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
24382 ac_dir_suffix= ac_dots=
24385 case "$ac_given_srcdir" in
24387 if test -z "$ac_dots"; then top_srcdir=.
24388 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
24389 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
24390 *) # Relative path.
24391 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
24392 top_srcdir="$ac_dots$ac_given_srcdir" ;;
24395 case "$ac_given_INSTALL" in
24396 [/$]*) INSTALL="$ac_given_INSTALL" ;;
24397 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
24400 echo creating "$ac_file"
24402 configure_input="Generated automatically from
`echo $ac_file_in|sed 's%.*/%%'` by configure.
"
24404 *Makefile*) ac_comsub="1i
\\
24405 # $configure_input" ;;
24409 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
24411 s%@configure_input@%$configure_input%g
24412 s%@srcdir@%$srcdir%g
24413 s%@top_srcdir@%$top_srcdir%g
24414 s%@INSTALL@%$INSTALL%g
24415 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
24419 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24420 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24422 # ac_d sets the value in "#define NAME VALUE" lines.
24423 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24424 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
24427 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
24428 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24429 ac_uB
='\([ ]\)%\1#\2define\3'
24432 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24433 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24434 ac_eB
='$%\1#\2define\3'
24438 if test "${CONFIG_HEADERS+set}" != set; then
24440 cat >> $CONFIG_STATUS <<EOF
24441 CONFIG_HEADERS="config.h"
24443 cat >> $CONFIG_STATUS <<\EOF
24445 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
24446 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24448 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
24449 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
24450 *) ac_file_in
="${ac_file}.in" ;;
24453 echo creating
$ac_file
24455 rm -f conftest.frag conftest.
in conftest.out
24456 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
24457 cat $ac_file_inputs > conftest.
in
24461 # Transform confdefs.h into a sed script conftest.vals that substitutes
24462 # the proper values into config.h.in to produce config.h. And first:
24463 # Protect against being on the right side of a sed subst in config.status.
24464 # Protect against being in an unquoted here document in config.status.
24465 rm -f conftest.vals
24466 cat > conftest.hdr
<<\EOF
24469 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
24473 sed -n -f conftest.hdr confdefs.h > conftest.vals
24476 # This sed command replaces #undef with comments. This is necessary, for
24477 # example, in the case of _POSIX_SOURCE, which is predefined and required
24478 # on some systems where configure will not decide to define it.
24479 cat >> conftest.vals <<\EOF
24480 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
24483 # Break up conftest.vals because some shells have a limit on
24484 # the size of here documents, and old seds have small limits too.
24486 rm -f conftest.tail
24489 ac_lines=`grep -c . conftest.vals
`
24490 # grep -c gives empty output for an empty file on some AIX systems.
24491 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
24492 # Write a limited-size here document to conftest.frag.
24493 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
24494 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
24496 sed -f conftest.frag conftest.in > conftest.out
24498 mv conftest.out conftest.in
24499 ' >> $CONFIG_STATUS
24500 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
24501 rm -f conftest.vals
24502 mv conftest.tail conftest.vals
24504 rm -f conftest.vals
24506 cat >> $CONFIG_STATUS <<\EOF
24507 rm -f conftest.frag conftest.h
24508 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
24509 cat conftest.in >> conftest.h
24511 if cmp -s $ac_file conftest.h 2>/dev/null; then
24512 echo "$ac_file is unchanged"
24515 # Remove last slash and all that follows it. Not all systems have dirname.
24516 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
24517 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
24518 # The file is in a subdirectory.
24519 test ! -d "$ac_dir" && mkdir "$ac_dir"
24522 mv conftest.h $ac_file
24527 cat >> $CONFIG_STATUS <<EOF
24532 with_target_subdir=${with_target_subdir}
24533 with_build_subdir=${with_build_subdir}
24534 with_multisubdir=${with_multisubdir}
24535 ac_configure_args="${multilib_arg} ${ac_configure_args}"
24536 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
24537 glibcpp_basedir=${glibcpp_basedir}
24540 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
24543 cat >> $CONFIG_STATUS <<\EOF
24544 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
24545 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
24546 if test -n "$CONFIG_FILES"; then
24547 if test -n "${with_build_subdir}" || test -n "${with_target_subdir}"; then
24548 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
24549 # Ony modify Makefiles that are just being created.
24550 case " $CONFIG_FILES" in
24552 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
24555 case $CONFIG_FILES in
24557 grep '^MULTISUBDIR =' Makefile >> src/Makefile
24560 case $CONFIG_FILES in
24561 *libsupc++/Makefile*)
24562 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
24568 chmod +x testsuite_flags
24571 chmod +x $CONFIG_STATUS
24572 rm -fr confdefs* $ac_clean_files
24573 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
24577 # Sanity checking & User-visible messages.
24578 # Checks down here, otherwise they get scrolled off before
24579 # the user will notice.
24581 # Trying to get more people to read documentation. Possibly remove
24582 # check and warn all the time. There is no "informational" AC_MSG_
24583 # macro, so these are going to be printed even when --quiet/--silent
24585 if test ! -f stamp-sanity-warned; then
24586 touch stamp-sanity-warned
24588 echo "Please make certain that you read the installation information here:"
24589 echo " faster => ${srcdir}/docs/html/install.html"
24590 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
24592 echo "and the configuration information here:"
24593 echo " faster => ${srcdir}/docs/html/configopts.html"
24594 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
24596 echo "before proceeding with ${_cv_gnu_make_command}."