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 --with-newlib Configuring with newlib"
24 --enable-maintainer-mode enable make rules and dependencies not useful
25 (and sometimes confusing) to the casual installer"
27 --enable-shared[=PKGS] build shared libraries [default=yes]"
29 --enable-static[=PKGS] build static libraries [default=yes]"
31 --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
33 --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
35 --disable-libtool-lock avoid locking (might break parallel builds)"
37 --with-pic try to use only PIC/non-PIC objects [default=use both]"
39 --enable-sjlj-exceptions force use of builtin_setjmp for exceptions"
41 --enable-libunwind-exceptions force use of libunwind for exceptions"
43 --enable-pch build pre-compiled libstdc++ includes [default=yes]"
45 --enable-cstdio enable stdio for target io package.
46 --enable-cstdio=LIB use LIB target-speific io package. [default=stdio]
49 --enable-clocale enable model for target locale package.
50 --enable-clocale=MODEL use MODEL target-speific locale package. [default=generic]
53 --enable-nls use Native Language Support (default)"
55 --enable-cheaders=MODEL construct "C
" header files for g++ [default=c_std]"
57 --enable-c-mbchar enable multibyte (wide) characters [default=yes]"
59 --enable-c99 turns on 'ISO/IEC 9899:1999 support' [default=yes]"
61 --enable-long-long turns on 'long long' [default=yes]"
63 --enable-concept-checks use Boost-derived template checks [default=no]"
65 --enable-cxx-flags=FLAGS pass compiler FLAGS when building library;
68 --enable-debug build extra debug library [default=no]"
70 --enable-debug-flags=FLAGS pass compiler FLAGS when building debug
71 library;[default=none]"
73 --enable-symvers=style enables symbol versioning of the shared library [default=yes]"
75 --with-gxx-include-dir the installation directory for include files"
77 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory "
79 # Initialize some variables set by options.
80 # The variables have the same names as the options, with
81 # dashes changed to underlines.
83 cache_file
=.
/config.cache
92 program_transform_name
=s
,x
,x
,
100 bindir
='${exec_prefix}/bin'
101 sbindir
='${exec_prefix}/sbin'
102 libexecdir
='${exec_prefix}/libexec'
103 datadir
='${prefix}/share'
104 sysconfdir
='${prefix}/etc'
105 sharedstatedir
='${prefix}/com'
106 localstatedir
='${prefix}/var'
107 libdir
='${exec_prefix}/lib'
108 includedir
='${prefix}/include'
109 oldincludedir
='/usr/include'
110 infodir
='${prefix}/info'
111 mandir
='${prefix}/man'
113 # Initialize some other variables.
116 SHELL
=${CONFIG_SHELL-/bin/sh}
117 # Maximum number of lines to put in a shell here document.
124 # If the previous option needs an argument, assign it.
125 if test -n "$ac_prev"; then
126 eval "$ac_prev=\$ac_option"
132 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
136 # Accept the important Cygnus configure options, so we can diagnose typos.
140 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
142 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
143 bindir
="$ac_optarg" ;;
145 -build |
--build |
--buil |
--bui |
--bu)
147 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
148 build
="$ac_optarg" ;;
150 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
151 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
152 ac_prev
=cache_file
;;
153 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
154 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
155 cache_file
="$ac_optarg" ;;
157 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
159 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
161 datadir
="$ac_optarg" ;;
163 -disable-* |
--disable-*)
164 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
165 # Reject names that are not valid shell variable names.
166 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
167 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
169 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
170 eval "enable_${ac_feature}=no" ;;
172 -enable-* |
--enable-*)
173 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
174 # Reject names that are not valid shell variable names.
175 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
176 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
178 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
183 eval "enable_${ac_feature}='$ac_optarg'" ;;
185 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
186 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
187 |
--exec |
--exe |
--ex)
188 ac_prev
=exec_prefix
;;
189 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
190 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
191 |
--exec=* |
--exe=* |
--ex=*)
192 exec_prefix
="$ac_optarg" ;;
194 -gas |
--gas |
--ga |
--g)
195 # Obsolete; use --with-gas.
198 -help |
--help |
--hel |
--he)
199 # Omit some internal or obsolete options to make the list less imposing.
200 # This message is too long to be a string in the A/UX 3.1 sh.
202 Usage: configure [options] [host]
203 Options: [defaults in brackets after descriptions]
205 --cache-file=FILE cache test results in FILE
206 --help print this message
207 --no-create do not create output files
208 --quiet, --silent do not print \`checking...' messages
209 --version print the version of autoconf that created configure
210 Directory and file names:
211 --prefix=PREFIX install architecture-independent files in PREFIX
213 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
215 --bindir=DIR user executables in DIR [EPREFIX/bin]
216 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
217 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
218 --datadir=DIR read-only architecture-independent data in DIR
220 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
221 --sharedstatedir=DIR modifiable architecture-independent data in DIR
223 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
224 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
225 --includedir=DIR C header files in DIR [PREFIX/include]
226 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
227 --infodir=DIR info documentation in DIR [PREFIX/info]
228 --mandir=DIR man documentation in DIR [PREFIX/man]
229 --srcdir=DIR find the sources in DIR [configure dir or ..]
230 --program-prefix=PREFIX prepend PREFIX to installed program names
231 --program-suffix=SUFFIX append SUFFIX to installed program names
232 --program-transform-name=PROGRAM
233 run sed PROGRAM on installed program names
237 --build=BUILD configure for building on BUILD [BUILD=HOST]
238 --host=HOST configure for HOST [guessed]
239 --target=TARGET configure for TARGET [TARGET=HOST]
240 Features and packages:
241 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
242 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
243 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
244 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
245 --x-includes=DIR X include files are in DIR
246 --x-libraries=DIR X library files are in DIR
248 if test -n "$ac_help"; then
249 echo "--enable and --with options recognized:$ac_help"
253 -host |
--host |
--hos |
--ho)
255 -host=* |
--host=* |
--hos=* |
--ho=*)
258 -includedir |
--includedir |
--includedi |
--included |
--include \
259 |
--includ |
--inclu |
--incl |
--inc)
260 ac_prev
=includedir
;;
261 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
262 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
263 includedir
="$ac_optarg" ;;
265 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
267 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
268 infodir
="$ac_optarg" ;;
270 -libdir |
--libdir |
--libdi |
--libd)
272 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
273 libdir
="$ac_optarg" ;;
275 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
276 |
--libexe |
--libex |
--libe)
277 ac_prev
=libexecdir
;;
278 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
279 |
--libexe=* |
--libex=* |
--libe=*)
280 libexecdir
="$ac_optarg" ;;
282 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
283 |
--localstate |
--localstat |
--localsta |
--localst \
284 |
--locals |
--local |
--loca |
--loc |
--lo)
285 ac_prev
=localstatedir
;;
286 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
287 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
288 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
289 localstatedir
="$ac_optarg" ;;
291 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
293 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
294 mandir
="$ac_optarg" ;;
297 # Obsolete; use --without-fp.
300 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
304 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
305 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
308 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
309 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
310 |
--oldin |
--oldi |
--old |
--ol |
--o)
311 ac_prev
=oldincludedir
;;
312 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
313 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
314 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
315 oldincludedir
="$ac_optarg" ;;
317 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
319 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
320 prefix
="$ac_optarg" ;;
322 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
323 |
--program-pre |
--program-pr |
--program-p)
324 ac_prev
=program_prefix
;;
325 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
326 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
327 program_prefix
="$ac_optarg" ;;
329 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
330 |
--program-suf |
--program-su |
--program-s)
331 ac_prev
=program_suffix
;;
332 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
333 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
334 program_suffix
="$ac_optarg" ;;
336 -program-transform-name |
--program-transform-name \
337 |
--program-transform-nam |
--program-transform-na \
338 |
--program-transform-n |
--program-transform- \
339 |
--program-transform |
--program-transfor \
340 |
--program-transfo |
--program-transf \
341 |
--program-trans |
--program-tran \
342 |
--progr-tra |
--program-tr |
--program-t)
343 ac_prev
=program_transform_name
;;
344 -program-transform-name=* |
--program-transform-name=* \
345 |
--program-transform-nam=* |
--program-transform-na=* \
346 |
--program-transform-n=* |
--program-transform-=* \
347 |
--program-transform=* |
--program-transfor=* \
348 |
--program-transfo=* |
--program-transf=* \
349 |
--program-trans=* |
--program-tran=* \
350 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
351 program_transform_name
="$ac_optarg" ;;
353 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
354 |
-silent |
--silent |
--silen |
--sile |
--sil)
357 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
359 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
361 sbindir
="$ac_optarg" ;;
363 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
364 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
365 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
367 ac_prev
=sharedstatedir
;;
368 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
369 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
370 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
372 sharedstatedir
="$ac_optarg" ;;
374 -site |
--site |
--sit)
376 -site=* |
--site=* |
--sit=*)
379 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
381 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
382 srcdir
="$ac_optarg" ;;
384 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
385 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
386 ac_prev
=sysconfdir
;;
387 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
388 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
389 sysconfdir
="$ac_optarg" ;;
391 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
393 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
394 target
="$ac_optarg" ;;
396 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
399 -version |
--version |
--versio |
--versi |
--vers)
400 echo "configure generated by autoconf version 2.13"
404 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
405 # Reject names that are not valid shell variable names.
406 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
407 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
409 ac_package
=`echo $ac_package| sed 's/-/_/g'`
414 eval "with_${ac_package}='$ac_optarg'" ;;
416 -without-* |
--without-*)
417 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
418 # Reject names that are not valid shell variable names.
419 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
420 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
422 ac_package
=`echo $ac_package| sed 's/-/_/g'`
423 eval "with_${ac_package}=no" ;;
426 # Obsolete; use --with-x.
429 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
430 |
--x-incl |
--x-inc |
--x-in |
--x-i)
431 ac_prev
=x_includes
;;
432 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
433 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
434 x_includes
="$ac_optarg" ;;
436 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
437 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
438 ac_prev
=x_libraries
;;
439 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
440 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
441 x_libraries
="$ac_optarg" ;;
443 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
447 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
448 echo "configure: warning: $ac_option: invalid host type" 1>&2
450 if test "x$nonopt" != xNONE
; then
451 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
459 if test -n "$ac_prev"; then
460 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
463 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
465 # File descriptor usage:
468 # 2 errors and warnings
469 # 3 some systems may open it to /dev/tty
470 # 4 used on the Kubota Titan
471 # 6 checking for... messages and results
472 # 5 compiler messages saved in config.log
473 if test "$silent" = yes; then
481 This file contains any messages produced by compilers while
482 running configure, to aid debugging if configure makes a mistake.
485 # Strip out --no-create and --no-recursion so they do not pile up.
486 # Also quote any args containing shell metacharacters.
491 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
492 |
--no-cr |
--no-c) ;;
493 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
494 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
495 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
496 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
497 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
502 # Only set these to C if already set. These must not be set unconditionally
503 # because not all systems understand e.g. LANG=C (notably SCO).
504 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
505 # Non-C LC_CTYPE values break the ctype check.
506 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
507 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
508 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
509 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
511 # confdefs.h avoids OS command line length limits that DEFS can exceed.
512 rm -rf conftest
* confdefs.h
513 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
516 # A filename unique to this package, relative to the directory that
517 # configure is in, which we can look for to find out if srcdir is correct.
518 ac_unique_file
=src
/ios.cc
520 # Find the source files, if location was not specified.
521 if test -z "$srcdir"; then
522 ac_srcdir_defaulted
=yes
523 # Try the directory containing this script, then its parent.
525 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
526 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
528 if test ! -r $srcdir/$ac_unique_file; then
532 ac_srcdir_defaulted
=no
534 if test ! -r $srcdir/$ac_unique_file; then
535 if test "$ac_srcdir_defaulted" = yes; then
536 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
538 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
541 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
543 # Prefer explicitly selected file to automatically selected ones.
544 if test -z "$CONFIG_SITE"; then
545 if test "x$prefix" != xNONE
; then
546 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
548 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
551 for ac_site_file
in $CONFIG_SITE; do
552 if test -r "$ac_site_file"; then
553 echo "loading site script $ac_site_file"
558 if test -r "$cache_file"; then
559 echo "loading cache $cache_file"
562 echo "creating cache $cache_file"
567 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
568 ac_cpp
='$CPP $CPPFLAGS'
569 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
570 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
571 cross_compiling
=$ac_cv_prog_cc_cross
575 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
576 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
577 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
584 ac_n
= ac_c
='\c' ac_t
=
589 # This works around the fact that libtool configuration may change LD
590 # for this particular configuration, but some shells, instead of
591 # keeping the changes in LD private, export them just because LD is
592 # exported. Only used at the end of this file.
593 ORIGINAL_LD_FOR_MULTILIBS
=$LD
597 # For libtool versioning info, format is CURRENT:REVISION:AGE
598 libtool_VERSION
=6:0:0
602 # Check whether --enable-multilib or --disable-multilib was given.
603 if test "${enable_multilib+set}" = set; then
604 enableval
="$enable_multilib"
605 case "${enableval}" in
608 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
614 # When building with srcdir == objdir, links to the source files will
615 # be created in directories within the target_subdir. We have to
616 # adjust toplevel_srcdir accordingly, so that configure finds
617 # install-sh and other auxiliary files that live in the top-level
619 if test "${srcdir}" = "."; then
620 if test -z "${with_target_subdir}"; then
623 if test "${with_target_subdir}" != "."; then
624 toprel
="${with_multisrctop}../.."
626 toprel
="${with_multisrctop}.."
633 for ac_dir
in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do
634 if test -f $ac_dir/install-sh
; then
636 ac_install_sh
="$ac_aux_dir/install-sh -c"
638 elif test -f $ac_dir/install.sh
; then
640 ac_install_sh
="$ac_aux_dir/install.sh -c"
644 if test -z "$ac_aux_dir"; then
645 { echo "configure: error: can not find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" 1>&2; exit 1; }
647 ac_config_guess=$ac_aux_dir/config.guess
648 ac_config_sub=$ac_aux_dir/config.sub
649 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
651 toplevel_srcdir=\${top_srcdir}/$toprel
655 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
657 # You will slowly go insane if you do not grok the following fact: when
658 # building v3 as part of the compiler, the top-level /target/ becomes the
659 # library's /host/. `configure' then causes --target to default to --host,
660 # exactly like any other package using autoconf. Therefore, 'target' and
661 # 'host' will always be the same. This makes sense both for native and
662 # cross compilers, just think about it for a little while. :-)
664 # Also, if v3 is being configured as part of a cross compiler, the top-level
665 # configure script will pass the "real
" host as $with_cross_host.
667 # In AC 2.13 AC_CANONICAL_TARGET was known as AC_CANONICAL_SYSTEM.
669 # Do some error checking and defaulting for the host and target type.
671 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
674 # 1. You are not allowed to specify --host, --target, and nonopt at the
676 # 2. Host defaults to nonopt.
677 # 3. If nonopt is not specified, then host defaults to the current host,
678 # as determined by config.guess.
679 # 4. Target and build default to nonopt.
680 # 5. If nonopt is not specified, then target and build default to host.
682 # The aliases save the names the user supplied, while $host etc.
683 # will get canonicalized.
684 case $host---$target---$nonopt in
685 NONE---*---* | *---NONE---* | *---*---NONE) ;;
686 *) { echo "configure
: error
: can only configure
for one
host and one target
at a
time" 1>&2; exit 1; } ;;
690 # Make sure we can run config.sub.
691 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
692 else { echo "configure
: error
: can not run
$ac_config_sub" 1>&2; exit 1; }
695 echo $ac_n "checking
host system
type""...
$ac_c" 1>&6
696 echo "configure
:697: checking
host system
type" >&5
699 case "$host_alias" in
703 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
704 else { echo "configure
: error
: can not guess
host type; you must specify one
" 1>&2; exit 1; }
706 *) host_alias=$nonopt ;;
710 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
711 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
712 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
713 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
714 echo "$ac_t""$host" 1>&6
716 echo $ac_n "checking target system
type""...
$ac_c" 1>&6
717 echo "configure
:718: checking target system
type" >&5
720 case "$target_alias" in
723 NONE) target_alias=$host_alias ;;
724 *) target_alias=$nonopt ;;
728 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
729 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
730 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
731 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
732 echo "$ac_t""$target" 1>&6
734 echo $ac_n "checking build system
type""...
$ac_c" 1>&6
735 echo "configure
:736: checking build system
type" >&5
738 case "$build_alias" in
741 NONE) build_alias=$host_alias ;;
742 *) build_alias=$nonopt ;;
746 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
747 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
748 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
749 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
750 echo "$ac_t""$build" 1>&6
752 test "$host_alias" != "$target_alias" &&
753 test "$program_prefix$program_suffix$program_transform_name" = \
755 program_prefix=${target_alias}-
758 # Runs configure.host, finds CC, CXX and assorted other critical bits.
759 # Must run this before the GLIBCPP_ENABLE_* macros below.
760 if test $host != $build; then
761 ac_tool_prefix=${host_alias}-
766 echo $ac_n "checking
for Cygwin environment
""...
$ac_c" 1>&6
767 echo "configure
:768: checking
for Cygwin environment
" >&5
768 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
769 echo $ac_n "(cached
) $ac_c" 1>&6
771 cat > conftest.$ac_ext <<EOF
772 #line 773 "configure
"
773 #include "confdefs.h
"
778 #define __CYGWIN__ __CYGWIN32__
783 if { (eval echo configure:784: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
787 echo "configure
: failed program was
:" >&5
788 cat conftest.$ac_ext >&5
796 echo "$ac_t""$ac_cv_cygwin" 1>&6
798 test "$ac_cv_cygwin" = yes && CYGWIN=yes
799 echo $ac_n "checking
for mingw32 environment
""...
$ac_c" 1>&6
800 echo "configure
:801: checking
for mingw32 environment
" >&5
801 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
802 echo $ac_n "(cached
) $ac_c" 1>&6
804 cat > conftest.$ac_ext <<EOF
805 #line 806 "configure
"
806 #include "confdefs.h
"
812 if { (eval echo configure:813: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
816 echo "configure
: failed program was
:" >&5
817 cat conftest.$ac_ext >&5
825 echo "$ac_t""$ac_cv_mingw32" 1>&6
827 test "$ac_cv_mingw32" = yes && MINGW32=yes
829 # Export build and source directories.
830 # These need to be absolute paths, yet at the same time need to
831 # canonicalize only relative paths, because then amd will not unmount
832 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
833 glibcpp_builddir=`${PWDCMD-pwd}`
835 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
836 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
843 for ac_prog in gawk mawk nawk awk
845 # Extract the first word of "$ac_prog", so it can be a program name with args.
846 set dummy $ac_prog; ac_word=$2
847 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
848 echo "configure
:849: checking
for $ac_word" >&5
849 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
850 echo $ac_n "(cached
) $ac_c" 1>&6
852 if test -n "$AWK"; then
853 ac_cv_prog_AWK="$AWK" # Let the user override the test.
855 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
857 for ac_dir in $ac_dummy; do
858 test -z "$ac_dir" && ac_dir=.
859 if test -f $ac_dir/$ac_word; then
860 ac_cv_prog_AWK="$ac_prog"
867 AWK="$ac_cv_prog_AWK"
868 if test -n "$AWK"; then
869 echo "$ac_t""$AWK" 1>&6
871 echo "$ac_t""no
" 1>&6
874 test -n "$AWK" && break
877 # Will set LN_S to either 'ln -s' or 'ln'. With autoconf 2.5x, can also
878 # be 'cp -p' if linking isn't available. Uncomment the next line to
879 # force a particular method.
880 #ac_cv_prog_LN_S='cp -p'
881 echo $ac_n "checking whether
ln -s works
""...
$ac_c" 1>&6
882 echo "configure
:883: checking whether
ln -s works
" >&5
883 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
884 echo $ac_n "(cached
) $ac_c" 1>&6
887 if ln -s X conftestdata 2>/dev/null
890 ac_cv_prog_LN_S="ln -s"
895 LN_S="$ac_cv_prog_LN_S"
896 if test "$ac_cv_prog_LN_S" = "ln -s"; then
897 echo "$ac_t""yes" 1>&6
899 echo "$ac_t""no
" 1>&6
903 # We use these options to decide which functions to include.
904 # Check whether --with-target-subdir or --without-target-subdir was given.
905 if test "${with_target_subdir+set}" = set; then
906 withval="$with_target_subdir"
910 # Check whether --with-cross-host or --without-cross-host was given.
911 if test "${with_cross_host+set}" = set; then
912 withval="$with_cross_host"
917 # Check whether --with-newlib or --without-newlib was given.
918 if test "${with_newlib+set}" = set; then
919 withval="$with_newlib"
924 glibcpp_basedir=$srcdir/$toprel/./libstdc++-v3
927 # Never versions of autoconf add an underscore to these functions.
928 # Prevent future problems ...
935 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
936 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
937 # are probably using a cross compiler, which will not be able to fully
938 # link an executable. This is addressed in later versions of autoconf.
943 # Extract the first word of "gcc
", so it can be a program name with args.
944 set dummy gcc; ac_word=$2
945 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
946 echo "configure
:947: checking
for $ac_word" >&5
947 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
948 echo $ac_n "(cached
) $ac_c" 1>&6
950 if test -n "$CC"; then
951 ac_cv_prog_CC="$CC" # Let the user override the test.
953 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
955 for ac_dir in $ac_dummy; do
956 test -z "$ac_dir" && ac_dir=.
957 if test -f $ac_dir/$ac_word; then
966 if test -n "$CC"; then
967 echo "$ac_t""$CC" 1>&6
969 echo "$ac_t""no
" 1>&6
972 if test -z "$CC"; then
973 # Extract the first word of "cc
", so it can be a program name with args.
974 set dummy cc; ac_word=$2
975 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
976 echo "configure
:977: checking
for $ac_word" >&5
977 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
978 echo $ac_n "(cached
) $ac_c" 1>&6
980 if test -n "$CC"; then
981 ac_cv_prog_CC="$CC" # Let the user override the test.
983 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
986 for ac_dir in $ac_dummy; do
987 test -z "$ac_dir" && ac_dir=.
988 if test -f $ac_dir/$ac_word; then
989 if test "$ac_dir/$ac_word" = "/usr
/ucb
/cc
"; then
998 if test $ac_prog_rejected = yes; then
999 # We found a bogon in the path, so make sure we never use it.
1000 set dummy $ac_cv_prog_CC
1002 if test $# -gt 0; then
1003 # We chose a different compiler from the bogus one.
1004 # However, it has the same basename, so the bogon will be chosen
1005 # first if we set CC to just the basename; use the full file name.
1007 set dummy "$ac_dir/$ac_word" "$@
"
1015 if test -n "$CC"; then
1016 echo "$ac_t""$CC" 1>&6
1018 echo "$ac_t""no
" 1>&6
1021 test -z "$CC" && { echo "configure
: error
: no acceptable cc found
in \
$PATH" 1>&2; exit 1; }
1024 echo $ac_n "checking whether we are using GNU C
""...
$ac_c" 1>&6
1025 echo "configure
:1026: checking whether we are using GNU C
" >&5
1026 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1027 echo $ac_n "(cached
) $ac_c" 1>&6
1029 cat > conftest.c <<EOF
1034 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1035: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1041 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1043 if test $ac_cv_prog_gcc = yes; then
1045 ac_test_CFLAGS="${CFLAGS+set}"
1046 ac_save_CFLAGS="$CFLAGS"
1048 echo $ac_n "checking whether
${CC-cc} accepts
-g""...
$ac_c" 1>&6
1049 echo "configure
:1050: checking whether
${CC-cc} accepts
-g" >&5
1050 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1051 echo $ac_n "(cached
) $ac_c" 1>&6
1053 echo 'void f(){}' > conftest.c
1054 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1063 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1064 if test "$ac_test_CFLAGS" = set; then
1065 CFLAGS="$ac_save_CFLAGS"
1066 elif test $ac_cv_prog_cc_g = yes; then
1073 test "${CFLAGS+set}" = set || CFLAGS="-g"
1077 # Likewise for AC_PROG_CXX. We can't just call it directly because g++
1078 # will try to link in libstdc++.
1082 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1083 # flags that come in CXX while configuring libstdc++. They're different
1084 # from those used for all other target libraries. If CXX is set in
1085 # the environment, respect that here.
1087 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1089 # Extract the first word of "$ac_prog", so it can be a program name with args.
1090 set dummy $ac_prog; ac_word=$2
1091 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1092 echo "configure
:1093: checking
for $ac_word" >&5
1093 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1094 echo $ac_n "(cached
) $ac_c" 1>&6
1096 if test -n "$glibcpp_CXX"; then
1097 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
1099 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1101 for ac_dir in $ac_dummy; do
1102 test -z "$ac_dir" && ac_dir=.
1103 if test -f $ac_dir/$ac_word; then
1104 ac_cv_prog_glibcpp_CXX="$ac_prog"
1111 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1112 if test -n "$glibcpp_CXX"; then
1113 echo "$ac_t""$glibcpp_CXX" 1>&6
1115 echo "$ac_t""no
" 1>&6
1118 test -n "$glibcpp_CXX" && break
1120 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc
"
1124 test -z "$glibcpp_CXX" && { echo "configure
: error
: no acceptable c
++ found
in \
$PATH" 1>&2; exit 1; }
1126 echo $ac_n "checking whether we are using GNU C
++""...
$ac_c" 1>&6
1127 echo "configure
:1128: checking whether we are using GNU C
++" >&5
1128 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1129 echo $ac_n "(cached
) $ac_c" 1>&6
1131 cat > conftest.C <<EOF
1136 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1143 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1145 if test $ac_cv_prog_gxx = yes; then
1147 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1148 ac_save_CXXFLAGS="$CXXFLAGS"
1150 echo $ac_n "checking whether
${CXX-g++} accepts
-g""...
$ac_c" 1>&6
1151 echo "configure
:1152: checking whether
${CXX-g++} accepts
-g" >&5
1152 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1153 echo $ac_n "(cached
) $ac_c" 1>&6
1155 echo 'void f(){}' > conftest.cc
1156 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1157 ac_cv_prog_cxx_g=yes
1165 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1166 if test "$ac_test_CXXFLAGS" = set; then
1167 CXXFLAGS="$ac_save_CXXFLAGS"
1168 elif test $ac_cv_prog_cxx_g = yes; then
1175 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1179 # For directory versioning (e.g., headers) and other variables.
1180 echo $ac_n "checking
for GCC version number
""...
$ac_c" 1>&6
1181 echo "configure
:1182: checking
for GCC version number
" >&5
1182 gcc_version=`$glibcpp_CXX -dumpversion`
1183 echo "$ac_t""$gcc_version" 1>&6
1185 # For some reason, gettext needs this.
1187 echo $ac_n "checking
for strerror
in -lcposix""...
$ac_c" 1>&6
1188 echo "configure
:1189: checking
for strerror
in -lcposix" >&5
1189 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
1190 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1191 echo $ac_n "(cached
) $ac_c" 1>&6
1193 ac_save_LIBS="$LIBS"
1194 LIBS="-lcposix $LIBS"
1195 cat > conftest.$ac_ext <<EOF
1196 #line 1197 "configure
"
1197 #include "confdefs.h
"
1198 /* Override any gcc2 internal prototype to avoid an error. */
1199 /* We use char because int might match the return type of a gcc2
1200 builtin and then its argument prototype would still apply. */
1207 if { (eval echo configure:1208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1209 eval "ac_cv_lib_
$ac_lib_var=yes"
1211 echo "configure
: failed program was
:" >&5
1212 cat conftest.$ac_ext >&5
1214 eval "ac_cv_lib_
$ac_lib_var=no
"
1217 LIBS="$ac_save_LIBS"
1220 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1221 echo "$ac_t""yes" 1>&6
1222 LIBS="$LIBS -lcposix"
1224 echo "$ac_t""no
" 1>&6
1230 # Extract the first word of "${ac_tool_prefix}as
", so it can be a program name with args.
1231 set dummy ${ac_tool_prefix}as; ac_word=$2
1232 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1233 echo "configure
:1234: checking
for $ac_word" >&5
1234 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1235 echo $ac_n "(cached
) $ac_c" 1>&6
1237 if test -n "$AS"; then
1238 ac_cv_prog_AS="$AS" # Let the user override the test.
1240 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1242 for ac_dir in $ac_dummy; do
1243 test -z "$ac_dir" && ac_dir=.
1244 if test -f $ac_dir/$ac_word; then
1245 ac_cv_prog_AS="${ac_tool_prefix}as
"
1250 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as
"
1254 if test -n "$AS"; then
1255 echo "$ac_t""$AS" 1>&6
1257 echo "$ac_t""no
" 1>&6
1262 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1263 set dummy ${ac_tool_prefix}ar; ac_word=$2
1264 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1265 echo "configure
:1266: checking
for $ac_word" >&5
1266 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1267 echo $ac_n "(cached
) $ac_c" 1>&6
1269 if test -n "$AR"; then
1270 ac_cv_prog_AR="$AR" # Let the user override the test.
1272 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1274 for ac_dir in $ac_dummy; do
1275 test -z "$ac_dir" && ac_dir=.
1276 if test -f $ac_dir/$ac_word; then
1277 ac_cv_prog_AR="${ac_tool_prefix}ar"
1282 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1286 if test -n "$AR"; then
1287 echo "$ac_t""$AR" 1>&6
1289 echo "$ac_t""no
" 1>&6
1294 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
1295 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1296 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1297 echo "configure
:1298: checking
for $ac_word" >&5
1298 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1299 echo $ac_n "(cached
) $ac_c" 1>&6
1301 if test -n "$RANLIB"; then
1302 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1304 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1306 for ac_dir in $ac_dummy; do
1307 test -z "$ac_dir" && ac_dir=.
1308 if test -f $ac_dir/$ac_word; then
1309 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
1316 RANLIB="$ac_cv_prog_RANLIB"
1317 if test -n "$RANLIB"; then
1318 echo "$ac_t""$RANLIB" 1>&6
1320 echo "$ac_t""no
" 1>&6
1324 if test -z "$ac_cv_prog_RANLIB"; then
1325 if test -n "$ac_tool_prefix"; then
1326 # Extract the first word of "ranlib
", so it can be a program name with args.
1327 set dummy ranlib; ac_word=$2
1328 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1329 echo "configure
:1330: checking
for $ac_word" >&5
1330 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1331 echo $ac_n "(cached
) $ac_c" 1>&6
1333 if test -n "$RANLIB"; then
1334 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1336 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1338 for ac_dir in $ac_dummy; do
1339 test -z "$ac_dir" && ac_dir=.
1340 if test -f $ac_dir/$ac_word; then
1341 ac_cv_prog_RANLIB="ranlib
"
1346 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error
"
1349 RANLIB="$ac_cv_prog_RANLIB"
1350 if test -n "$RANLIB"; then
1351 echo "$ac_t""$RANLIB" 1>&6
1353 echo "$ac_t""no
" 1>&6
1357 RANLIB="ranlib-not-found-in-path-error
"
1361 # Find a good install program. We prefer a C program (faster),
1362 # so one script is as good as another. But avoid the broken or
1363 # incompatible versions:
1364 # SysV /etc/install, /usr/sbin/install
1365 # SunOS /usr/etc/install
1366 # IRIX /sbin/install
1368 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1369 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1370 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
1371 # ./install, which can be erroneously created by make from ./install.sh.
1372 echo $ac_n "checking
for a BSD compatible
install""...
$ac_c" 1>&6
1373 echo "configure
:1374: checking
for a BSD compatible
install" >&5
1374 if test -z "$INSTALL"; then
1375 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1376 echo $ac_n "(cached
) $ac_c" 1>&6
1378 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1379 for ac_dir in $PATH; do
1380 # Account for people who put trailing slashes in PATH elements.
1382 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1384 # OSF1 and SCO ODT 3.0 have their own names for install.
1385 # Don't use installbsd from OSF since it installs stuff as root
1387 for ac_prog in ginstall scoinst install; do
1388 if test -f $ac_dir/$ac_prog; then
1389 if test $ac_prog = install &&
1390 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1391 # AIX install. It has an incompatible calling convention.
1394 ac_cv_path_install="$ac_dir/$ac_prog -c"
1405 if test "${ac_cv_path_install+set}" = set; then
1406 INSTALL="$ac_cv_path_install"
1408 # As a last resort, use the slow shell script. We don't cache a
1409 # path for INSTALL within a source directory, because that will
1410 # break other packages using the cache if that directory is
1411 # removed, or if the path is relative.
1412 INSTALL="$ac_install_sh"
1415 echo "$ac_t""$INSTALL" 1>&6
1417 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1418 # It thinks the first close brace ends the variable substitution.
1419 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1421 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1423 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1426 echo $ac_n "checking whether to
enable maintainer-specific portions of Makefiles
""...
$ac_c" 1>&6
1427 echo "configure
:1428: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
1428 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1429 if test "${enable_maintainer_mode+set}" = set; then
1430 enableval="$enable_maintainer_mode"
1431 USE_MAINTAINER_MODE=$enableval
1433 USE_MAINTAINER_MODE=no
1436 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1439 if test $USE_MAINTAINER_MODE = yes; then
1440 MAINTAINER_MODE_TRUE=
1441 MAINTAINER_MODE_FALSE='#'
1443 MAINTAINER_MODE_TRUE='#'
1444 MAINTAINER_MODE_FALSE=
1446 MAINT=$MAINTAINER_MODE_TRUE
1450 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1451 # at least currently, we never actually build a program, so we never
1452 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1453 # fails, because we are probably configuring with a cross compiler
1454 # which can't create executables. So we include AC_EXEEXT to keep
1455 # automake happy, but we don't execute it, since we don't care about
1458 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1459 # to nothing, so nothing would remain between `then' and `fi' if it
1460 # were not for the `:' below.
1464 echo $ac_n "checking
for executable suffix
""...
$ac_c" 1>&6
1465 echo "configure
:1466: checking
for executable suffix
" >&5
1466 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1467 echo $ac_n "(cached
) $ac_c" 1>&6
1469 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1473 echo 'int main () { return 0; }' > conftest.$ac_ext
1475 if { (eval echo configure:1476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1476 for file in conftest.*; do
1478 *.c | *.o | *.obj) ;;
1479 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1483 { echo "configure
: error
: installation or configuration problem
: compiler cannot create executables.
" 1>&2; exit 1; }
1486 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1491 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1492 echo "$ac_t""${ac_cv_exeext}" 1>&6
1497 case ${glibcpp_basedir} in
1498 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1499 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1502 # Set up safe default values for all subsequent AM_CONDITIONAL tests.
1506 #glibcpp_pch_comp=no
1509 #enable_abi_check=no
1512 # Find platform-specific directories containing configuration info. In
1513 # addition to possibly modifying the same flags, it also sets up symlinks.
1515 . ${glibcpp_basedir}/configure.host
1516 echo "$ac_t""CPU config directory is
$cpu_include_dir" 1>&6
1517 echo "$ac_t""OS config directory is
$os_include_dir" 1>&6
1521 am__api_version="1.4"
1522 echo $ac_n "checking whether build environment is sane
""...
$ac_c" 1>&6
1523 echo "configure
:1524: checking whether build environment is sane
" >&5
1526 echo timestamp > conftestfile
1527 # Do `set' in a subshell so we don't clobber the current shell's
1528 # arguments. Must try -L first in case configure is actually a
1529 # symlink; some systems play weird games with the mod time of symlinks
1530 # (eg FreeBSD returns the mod time of the symlink's containing
1533 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1534 if test "$
*" = "X
"; then
1536 set X `ls -t $srcdir/configure conftestfile`
1538 if test "$
*" != "X
$srcdir/configure conftestfile
" \
1539 && test "$
*" != "X conftestfile
$srcdir/configure
"; then
1541 # If neither matched, then we have a broken ls. This can happen
1542 # if, for instance, CONFIG_SHELL is bash and it inherits a
1543 # broken ls alias from the environment. This has actually
1544 # happened. Such a system could not be considered "sane
".
1545 { echo "configure
: error
: ls -t appears to fail. Make sure there is not a broken
1546 alias in your environment
" 1>&2; exit 1; }
1549 test "$2" = conftestfile
1555 { echo "configure
: error
: newly created
file is older than distributed files
!
1556 Check your system
clock" 1>&2; exit 1; }
1559 echo "$ac_t""yes" 1>&6
1560 if test "$program_transform_name" = s,x,x,; then
1561 program_transform_name=
1563 # Double any \ or $. echo might interpret backslashes.
1564 cat <<\EOF_SED > conftestsed
1565 s,\\,\\\\,g; s,\$,$$,g
1567 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
1570 test "$program_prefix" != NONE &&
1571 program_transform_name="s
,^
,${program_prefix},; $program_transform_name"
1572 # Use a double $ so make ignores it.
1573 test "$program_suffix" != NONE &&
1574 program_transform_name="s
,\$\$
,${program_suffix},; $program_transform_name"
1576 # sed with no file args requires a program.
1577 test "$program_transform_name" = "" && program_transform_name="s
,x
,x
,"
1579 echo $ac_n "checking whether
${MAKE-make} sets \
${MAKE}""...
$ac_c" 1>&6
1580 echo "configure
:1581: checking whether
${MAKE-make} sets \
${MAKE}" >&5
1581 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
1582 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
1583 echo $ac_n "(cached
) $ac_c" 1>&6
1585 cat > conftestmake <<\EOF
1587 @echo 'ac_maketemp="${MAKE}"'
1589 # GNU make sometimes prints "make[1]: Entering...
", which would confuse us.
1590 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
1591 if test -n "$ac_maketemp"; then
1592 eval ac_cv_prog_make_${ac_make}_set=yes
1594 eval ac_cv_prog_make_${ac_make}_set=no
1598 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1599 echo "$ac_t""yes" 1>&6
1602 echo "$ac_t""no
" 1>&6
1603 SET_MAKE="MAKE
=${MAKE-make}"
1609 VERSION=$gcc_version
1611 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1612 { echo "configure
: error
: source directory already configured
; run
"make distclean" there first
" 1>&2; exit 1; }
1614 cat >> confdefs.h <<EOF
1615 #define PACKAGE "$PACKAGE"
1618 cat >> confdefs.h <<EOF
1619 #define VERSION "$VERSION"
1624 missing_dir=`cd $ac_aux_dir && pwd`
1625 echo $ac_n "checking
for working aclocal-
${am__api_version}""...
$ac_c" 1>&6
1626 echo "configure
:1627: checking
for working aclocal-
${am__api_version}" >&5
1627 # Run test in a subshell; some versions of sh will print an error if
1628 # an executable is not found, even if stderr is redirected.
1629 # Redirect stdin to placate older versions of autoconf. Sigh.
1630 if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1631 ACLOCAL=aclocal-${am__api_version}
1632 echo "$ac_t""found
" 1>&6
1634 ACLOCAL="$missing_dir/missing aclocal-
${am__api_version}"
1635 echo "$ac_t""missing
" 1>&6
1638 echo $ac_n "checking
for working autoconf
""...
$ac_c" 1>&6
1639 echo "configure
:1640: checking
for working autoconf
" >&5
1640 # Run test in a subshell; some versions of sh will print an error if
1641 # an executable is not found, even if stderr is redirected.
1642 # Redirect stdin to placate older versions of autoconf. Sigh.
1643 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1645 echo "$ac_t""found
" 1>&6
1647 AUTOCONF="$missing_dir/missing autoconf
"
1648 echo "$ac_t""missing
" 1>&6
1651 echo $ac_n "checking
for working automake-
${am__api_version}""...
$ac_c" 1>&6
1652 echo "configure
:1653: checking
for working automake-
${am__api_version}" >&5
1653 # Run test in a subshell; some versions of sh will print an error if
1654 # an executable is not found, even if stderr is redirected.
1655 # Redirect stdin to placate older versions of autoconf. Sigh.
1656 if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1657 AUTOMAKE=automake-${am__api_version}
1658 echo "$ac_t""found
" 1>&6
1660 AUTOMAKE="$missing_dir/missing automake-
${am__api_version}"
1661 echo "$ac_t""missing
" 1>&6
1664 echo $ac_n "checking
for working autoheader
""...
$ac_c" 1>&6
1665 echo "configure
:1666: checking
for working autoheader
" >&5
1666 # Run test in a subshell; some versions of sh will print an error if
1667 # an executable is not found, even if stderr is redirected.
1668 # Redirect stdin to placate older versions of autoconf. Sigh.
1669 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1670 AUTOHEADER=autoheader
1671 echo "$ac_t""found
" 1>&6
1673 AUTOHEADER="$missing_dir/missing autoheader
"
1674 echo "$ac_t""missing
" 1>&6
1677 echo $ac_n "checking
for working makeinfo
""...
$ac_c" 1>&6
1678 echo "configure
:1679: checking
for working makeinfo
" >&5
1679 # Run test in a subshell; some versions of sh will print an error if
1680 # an executable is not found, even if stderr is redirected.
1681 # Redirect stdin to placate older versions of autoconf. Sigh.
1682 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1684 echo "$ac_t""found
" 1>&6
1686 MAKEINFO="$missing_dir/missing makeinfo
"
1687 echo "$ac_t""missing
" 1>&6
1696 # Check whether --enable-shared or --disable-shared was given.
1697 if test "${enable_shared+set}" = set; then
1698 enableval="$enable_shared"
1699 p=${PACKAGE-default}
1701 yes) enable_shared=yes ;;
1702 no) enable_shared=no ;;
1705 # Look at the argument we got. We use all the common list separators.
1706 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1707 for pkg in $enableval; do
1708 if test "X
$pkg" = "X
$p"; then
1719 # Check whether --enable-static or --disable-static was given.
1720 if test "${enable_static+set}" = set; then
1721 enableval="$enable_static"
1722 p=${PACKAGE-default}
1724 yes) enable_static=yes ;;
1725 no) enable_static=no ;;
1728 # Look at the argument we got. We use all the common list separators.
1729 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1730 for pkg in $enableval; do
1731 if test "X
$pkg" = "X
$p"; then
1742 # Check whether --enable-fast-install or --disable-fast-install was given.
1743 if test "${enable_fast_install+set}" = set; then
1744 enableval="$enable_fast_install"
1745 p=${PACKAGE-default}
1747 yes) enable_fast_install=yes ;;
1748 no) enable_fast_install=no ;;
1750 enable_fast_install=no
1751 # Look at the argument we got. We use all the common list separators.
1752 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1753 for pkg in $enableval; do
1754 if test "X
$pkg" = "X
$p"; then
1755 enable_fast_install=yes
1762 enable_fast_install=yes
1765 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1766 if test "${with_gnu_ld+set}" = set; then
1767 withval="$with_gnu_ld"
1768 test "$withval" = no || with_gnu_ld=yes
1774 if test "$GCC" = yes; then
1775 # Check if gcc -print-prog-name=ld gives a path.
1776 echo $ac_n "checking
for ld used by GCC
""...
$ac_c" 1>&6
1777 echo "configure
:1778: checking
for ld used by GCC
" >&5
1780 # gcc leaves a trailing carriage return which upsets mingw
1781 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1783 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1786 # Accept absolute paths.
1787 [\\/]* | [A-Za-z]:[\\/]*)
1788 re_direlt='/[^/][^/]*/\.\./'
1789 # Canonicalize the path of ld
1790 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1791 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1792 ac_prog=`echo $ac_prog| sed "s
%$re_direlt%/%"`
1794 test -z "$LD" && LD="$ac_prog"
1797 # If it fails, then pretend we aren't using GCC.
1801 # If it is relative, then search for the first ld in PATH.
1805 elif test "$with_gnu_ld" = yes; then
1806 echo $ac_n "checking
for GNU ld
""...
$ac_c" 1>&6
1807 echo "configure
:1808: checking
for GNU ld
" >&5
1809 echo $ac_n "checking
for non-GNU ld
""...
$ac_c" 1>&6
1810 echo "configure
:1811: checking
for non-GNU ld
" >&5
1812 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1813 echo $ac_n "(cached
) $ac_c" 1>&6
1815 if test -z "$LD"; then
1816 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1817 for ac_dir in $PATH; do
1818 test -z "$ac_dir" && ac_dir=.
1819 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1820 lt_cv_path_LD="$ac_dir/$ac_prog"
1821 # Check to see if the program is GNU ld. I'd rather use --version,
1822 # but apparently some GNU ld's only accept -v.
1823 # Break only if it was the GNU/non-GNU ld that we prefer.
1824 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1825 test "$with_gnu_ld" != no && break
1827 test "$with_gnu_ld" != yes && break
1833 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1838 if test -n "$LD"; then
1839 echo "$ac_t""$LD" 1>&6
1841 echo "$ac_t""no
" 1>&6
1843 test -z "$LD" && { echo "configure
: error
: no acceptable ld found
in \
$PATH" 1>&2; exit 1; }
1844 echo $ac_n "checking
if the linker
($LD) is GNU ld
""...
$ac_c" 1>&6
1845 echo "configure
:1846: checking
if the linker
($LD) is GNU ld
" >&5
1846 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1847 echo $ac_n "(cached
) $ac_c" 1>&6
1849 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1850 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1851 lt_cv_prog_gnu_ld=yes
1853 lt_cv_prog_gnu_ld=no
1857 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1858 with_gnu_ld=$lt_cv_prog_gnu_ld
1861 echo $ac_n "checking
for $LD option to reload object files
""...
$ac_c" 1>&6
1862 echo "configure
:1863: checking
for $LD option to reload object files
" >&5
1863 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1864 echo $ac_n "(cached
) $ac_c" 1>&6
1866 lt_cv_ld_reload_flag='-r'
1869 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1870 reload_flag=$lt_cv_ld_reload_flag
1871 test -n "$reload_flag" && reload_flag=" $reload_flag"
1873 echo $ac_n "checking
for BSD-compatible nm
""...
$ac_c" 1>&6
1874 echo "configure
:1875: checking
for BSD-compatible nm
" >&5
1875 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1876 echo $ac_n "(cached
) $ac_c" 1>&6
1878 if test -n "$NM"; then
1879 # Let the user override the test.
1882 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1883 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1884 test -z "$ac_dir" && ac_dir=.
1885 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1886 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1887 # Check to see if the nm accepts a BSD-compat flag.
1888 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1889 # nm: unknown option "B
" ignored
1890 # Tru64's nm complains that /dev/null is an invalid object file
1891 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1892 lt_cv_path_NM="$tmp_nm -B"
1894 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1895 lt_cv_path_NM="$tmp_nm -p"
1898 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1899 continue # so that we can try to find one that supports BSD flags
1904 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1909 echo "$ac_t""$NM" 1>&6
1911 echo $ac_n "checking how to recognise dependant libraries
""...
$ac_c" 1>&6
1912 echo "configure
:1913: checking how to recognise dependant libraries
" >&5
1913 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1914 echo $ac_n "(cached
) $ac_c" 1>&6
1916 lt_cv_file_magic_cmd='$MAGIC_CMD'
1917 lt_cv_file_magic_test_file=
1918 lt_cv_deplibs_check_method='unknown'
1919 # Need to set the preceding variable on all platforms that support
1920 # interlibrary dependencies.
1921 # 'none' -- dependencies not supported.
1922 # `unknown' -- same as none, but documents that we really don't know.
1923 # 'pass_all' -- all dependencies passed with no checks.
1924 # 'test_compile' -- check by making test program.
1925 # 'file_magic [regex]' -- check by looking for files in library path
1926 # which responds to the $file_magic_cmd with a given egrep regex.
1927 # If you have `file' or equivalent on your system and you're not sure
1928 # whether `pass_all' will *always* work, you probably want this one.
1932 lt_cv_deplibs_check_method=pass_all
1936 lt_cv_deplibs_check_method=pass_all
1940 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1941 lt_cv_file_magic_cmd='/usr/bin/file -L'
1942 lt_cv_file_magic_test_file=/shlib/libc.so
1945 cygwin* | mingw* |pw32*)
1946 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1947 lt_cv_file_magic_cmd='$OBJDUMP -f'
1950 darwin* | rhapsody*)
1951 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1952 lt_cv_file_magic_cmd='/usr/bin/file -L'
1954 rhapsody* | darwin1.012)
1955 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
1958 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
1964 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1967 # Not sure whether the presence of OpenBSD here was a mistake.
1968 # Let's accept both of them until this is cleared up.
1969 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1970 lt_cv_file_magic_cmd=/usr/bin/file
1971 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1975 lt_cv_deplibs_check_method=pass_all
1980 lt_cv_deplibs_check_method=pass_all
1986 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1987 lt_cv_file_magic_cmd=/usr/bin/file
1988 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1991 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
1992 lt_cv_file_magic_cmd=/usr/bin/file
1993 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
2001 # this will be overridden with pass_all, but let us keep it just in case
2002 lt_cv_deplibs_check_method="file_magic ELF
32-bit MSB dynamic lib MIPS
- version
1"
2006 *-32|*"-32 ") libmagic=32-bit;;
2007 *-n32|*"-n32 ") libmagic=N32;;
2008 *-64|*"-64 ") libmagic=64-bit;;
2009 *) libmagic=never-match;;
2011 # this will be overridden with pass_all, but let us keep it just in case
2012 lt_cv_deplibs_check_method="file_magic ELF
${libmagic} MSB mips-
[1234] dynamic lib MIPS
- version
1"
2015 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
2016 lt_cv_deplibs_check_method=pass_all
2019 # This must be Linux ELF.
2022 alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* )
2023 lt_cv_deplibs_check_method=pass_all ;;
2025 # glibc up to 2.1.1 does not perform some relocations on ARM
2026 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2028 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2032 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2033 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2035 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2040 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2041 lt_cv_file_magic_cmd=/usr/bin/file
2042 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2045 osf3* | osf4* | osf5*)
2046 # this will be overridden with pass_all, but let us keep it just in case
2047 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2048 lt_cv_file_magic_test_file=/shlib/libc.so
2049 lt_cv_deplibs_check_method=pass_all
2053 lt_cv_deplibs_check_method=pass_all
2057 lt_cv_deplibs_check_method=pass_all
2058 lt_cv_file_magic_test_file=/lib/libc.so
2061 sysv5uw[78]* | sysv4*uw2*)
2062 lt_cv_deplibs_check_method=pass_all
2065 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2066 case $host_vendor in
2068 lt_cv_deplibs_check_method=pass_all
2071 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]'
2072 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2080 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2081 file_magic_cmd=$lt_cv_file_magic_cmd
2082 deplibs_check_method=$lt_cv_deplibs_check_method
2084 echo $ac_n "checking
for object suffix
""...
$ac_c" 1>&6
2085 echo "configure
:2086: checking
for object suffix
" >&5
2086 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2087 echo $ac_n "(cached
) $ac_c" 1>&6
2090 echo 'int i = 1;' > conftest.$ac_ext
2091 if { (eval echo configure:2092: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2092 for ac_file in conftest.*; do
2095 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2099 { echo "configure
: error
: installation or configuration problem
; compiler does not work
" 1>&2; exit 1; }
2104 echo "$ac_t""$ac_cv_objext" 1>&6
2105 OBJEXT=$ac_cv_objext
2106 ac_objext=$ac_cv_objext
2108 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2110 # Only perform the check for file, if the check method requires it
2111 case $deplibs_check_method in
2113 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2114 echo $ac_n "checking
for ${ac_tool_prefix}file""...
$ac_c" 1>&6
2115 echo "configure
:2116: checking
for ${ac_tool_prefix}file" >&5
2116 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2117 echo $ac_n "(cached
) $ac_c" 1>&6
2121 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2124 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2127 ac_save_MAGIC_CMD="$MAGIC_CMD"
2128 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2129 ac_dummy="/usr
/bin
:$PATH"
2130 for ac_dir in $ac_dummy; do
2131 test -z "$ac_dir" && ac_dir=.
2132 if test -f $ac_dir/${ac_tool_prefix}file; then
2133 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2134 if test -n "$file_magic_test_file"; then
2135 case $deplibs_check_method in
2137 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2138 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2139 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2140 egrep "$file_magic_regex" > /dev/null; then
2145 *** Warning: the command libtool uses to detect shared libraries,
2146 *** $file_magic_cmd, produces output that libtool cannot recognize.
2147 *** The result is that libtool may fail to recognize shared libraries
2148 *** as such. This will affect the creation of libtool libraries that
2149 *** depend on shared libraries, but programs linked with such libtool
2150 *** libraries will work regardless of this problem. Nevertheless, you
2151 *** may want to report the problem to your system manager and/or to
2152 *** bug-libtool@gnu.org
2162 MAGIC_CMD="$ac_save_MAGIC_CMD"
2167 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2168 if test -n "$MAGIC_CMD"; then
2169 echo "$ac_t""$MAGIC_CMD" 1>&6
2171 echo "$ac_t""no
" 1>&6
2174 if test -z "$lt_cv_path_MAGIC_CMD"; then
2175 if test -n "$ac_tool_prefix"; then
2176 echo $ac_n "checking
for file""...
$ac_c" 1>&6
2177 echo "configure
:2178: checking
for file" >&5
2178 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2179 echo $ac_n "(cached
) $ac_c" 1>&6
2183 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2186 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2189 ac_save_MAGIC_CMD="$MAGIC_CMD"
2190 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2191 ac_dummy="/usr
/bin
:$PATH"
2192 for ac_dir in $ac_dummy; do
2193 test -z "$ac_dir" && ac_dir=.
2194 if test -f $ac_dir/file; then
2195 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2196 if test -n "$file_magic_test_file"; then
2197 case $deplibs_check_method in
2199 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2200 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2201 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2202 egrep "$file_magic_regex" > /dev/null; then
2207 *** Warning: the command libtool uses to detect shared libraries,
2208 *** $file_magic_cmd, produces output that libtool cannot recognize.
2209 *** The result is that libtool may fail to recognize shared libraries
2210 *** as such. This will affect the creation of libtool libraries that
2211 *** depend on shared libraries, but programs linked with such libtool
2212 *** libraries will work regardless of this problem. Nevertheless, you
2213 *** may want to report the problem to your system manager and/or to
2214 *** bug-libtool@gnu.org
2224 MAGIC_CMD="$ac_save_MAGIC_CMD"
2229 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2230 if test -n "$MAGIC_CMD"; then
2231 echo "$ac_t""$MAGIC_CMD" 1>&6
2233 echo "$ac_t""no
" 1>&6
2245 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
2246 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2247 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2248 echo "configure
:2249: checking
for $ac_word" >&5
2249 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2250 echo $ac_n "(cached
) $ac_c" 1>&6
2252 if test -n "$RANLIB"; then
2253 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2255 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2257 for ac_dir in $ac_dummy; do
2258 test -z "$ac_dir" && ac_dir=.
2259 if test -f $ac_dir/$ac_word; then
2260 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
2267 RANLIB="$ac_cv_prog_RANLIB"
2268 if test -n "$RANLIB"; then
2269 echo "$ac_t""$RANLIB" 1>&6
2271 echo "$ac_t""no
" 1>&6
2275 if test -z "$ac_cv_prog_RANLIB"; then
2276 if test -n "$ac_tool_prefix"; then
2277 # Extract the first word of "ranlib
", so it can be a program name with args.
2278 set dummy ranlib; ac_word=$2
2279 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2280 echo "configure
:2281: checking
for $ac_word" >&5
2281 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2282 echo $ac_n "(cached
) $ac_c" 1>&6
2284 if test -n "$RANLIB"; then
2285 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2287 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2289 for ac_dir in $ac_dummy; do
2290 test -z "$ac_dir" && ac_dir=.
2291 if test -f $ac_dir/$ac_word; then
2292 ac_cv_prog_RANLIB="ranlib
"
2297 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2300 RANLIB="$ac_cv_prog_RANLIB"
2301 if test -n "$RANLIB"; then
2302 echo "$ac_t""$RANLIB" 1>&6
2304 echo "$ac_t""no
" 1>&6
2312 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
2313 set dummy ${ac_tool_prefix}strip; ac_word=$2
2314 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2315 echo "configure
:2316: checking
for $ac_word" >&5
2316 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2317 echo $ac_n "(cached
) $ac_c" 1>&6
2319 if test -n "$STRIP"; then
2320 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2322 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2324 for ac_dir in $ac_dummy; do
2325 test -z "$ac_dir" && ac_dir=.
2326 if test -f $ac_dir/$ac_word; then
2327 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
2334 STRIP="$ac_cv_prog_STRIP"
2335 if test -n "$STRIP"; then
2336 echo "$ac_t""$STRIP" 1>&6
2338 echo "$ac_t""no
" 1>&6
2342 if test -z "$ac_cv_prog_STRIP"; then
2343 if test -n "$ac_tool_prefix"; then
2344 # Extract the first word of "strip
", so it can be a program name with args.
2345 set dummy strip; ac_word=$2
2346 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2347 echo "configure
:2348: checking
for $ac_word" >&5
2348 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2349 echo $ac_n "(cached
) $ac_c" 1>&6
2351 if test -n "$STRIP"; then
2352 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2354 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2356 for ac_dir in $ac_dummy; do
2357 test -z "$ac_dir" && ac_dir=.
2358 if test -f $ac_dir/$ac_word; then
2359 ac_cv_prog_STRIP="strip
"
2364 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2367 STRIP="$ac_cv_prog_STRIP"
2368 if test -n "$STRIP"; then
2369 echo "$ac_t""$STRIP" 1>&6
2371 echo "$ac_t""no
" 1>&6
2380 # Check for any special flags to pass to ltconfig.
2381 libtool_flags="--cache-file=$cache_file"
2382 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2383 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2384 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2385 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2386 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2387 libtool_flags="$libtool_flags --enable-dlopen"
2389 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2390 if test "${enable_libtool_lock+set}" = set; then
2391 enableval="$enable_libtool_lock"
2395 test "x
$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2396 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2398 # Check whether --with-pic or --without-pic was given.
2399 if test "${with_pic+set}" = set; then
2406 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2407 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2409 # Some flags need to be propagated to the compiler or linker for good
2413 # Find out which ABI we are using.
2414 echo '#line 2415 "configure
"' > conftest.$ac_ext
2415 if { (eval echo configure:2416: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2416 if test "$lt_cv_prog_gnu_ld" = yes; then
2417 case `/usr/bin/file conftest.$ac_objext` in
2419 LD="${LD-ld} -melf32bsmip"
2422 LD="${LD-ld} -melf32bmipn32"
2425 LD="${LD-ld} -melf64bmip"
2429 case `/usr/bin/file conftest.$ac_objext` in
2446 # Find out which ABI we are using.
2447 echo 'int i;' > conftest.$ac_ext
2448 if { (eval echo configure:2449: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2449 case "`/usr/bin/file conftest.o`" in
2461 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
2462 # Find out which ABI we are using.
2463 echo 'int i;' > conftest.$ac_ext
2464 if { (eval echo configure:2465: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2465 case "`/usr/bin/file conftest.o`" in
2469 LD="${LD-ld} -m elf_i386
"
2472 LD="${LD-ld} -m elf32ppclinux
"
2475 LD="${LD-ld} -m elf_s390
"
2478 LD="${LD-ld} -m elf32_sparc
"
2485 LD="${LD-ld} -m elf_x86_64
"
2487 ppc*-*linux*|powerpc*-*linux*)
2488 LD="${LD-ld} -m elf64ppc
"
2491 LD="${LD-ld} -m elf64_s390
"
2494 LD="${LD-ld} -m elf64_sparc
"
2504 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2505 SAVE_CFLAGS="$CFLAGS"
2506 CFLAGS="$CFLAGS -belf"
2507 echo $ac_n "checking whether the C compiler needs
-belf""...
$ac_c" 1>&6
2508 echo "configure
:2509: checking whether the C compiler needs
-belf" >&5
2509 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2510 echo $ac_n "(cached
) $ac_c" 1>&6
2514 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2515 ac_cpp='$CPP $CPPFLAGS'
2516 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2517 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2518 cross_compiling=$ac_cv_prog_cc_cross
2520 cat > conftest.$ac_ext <<EOF
2521 #line 2522 "configure
"
2522 #include "confdefs.h
"
2528 if { (eval echo configure:2529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2530 lt_cv_cc_needs_belf=yes
2532 echo "configure
: failed program was
:" >&5
2533 cat conftest.$ac_ext >&5
2535 lt_cv_cc_needs_belf=no
2539 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2540 ac_cpp='$CPP $CPPFLAGS'
2541 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2542 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2543 cross_compiling=$ac_cv_prog_cc_cross
2547 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2548 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2549 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2550 CFLAGS="$SAVE_CFLAGS"
2557 echo $ac_n "checking how to run the C
++ preprocessor
""...
$ac_c" 1>&6
2558 echo "configure
:2559: checking how to run the C
++ preprocessor
" >&5
2559 if test -z "$CXXCPP"; then
2560 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2561 echo $ac_n "(cached
) $ac_c" 1>&6
2564 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2565 ac_cpp='$CXXCPP $CPPFLAGS'
2566 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2567 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2568 cross_compiling=$ac_cv_prog_cxx_cross
2569 CXXCPP="${CXX-g++} -E"
2570 cat > conftest.$ac_ext <<EOF
2571 #line 2572 "configure
"
2572 #include "confdefs.h
"
2575 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2576 { (eval echo configure:2577: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2577 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2578 if test -z "$ac_err"; then
2582 echo "configure
: failed program was
:" >&5
2583 cat conftest.$ac_ext >&5
2588 ac_cv_prog_CXXCPP="$CXXCPP"
2590 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2591 ac_cpp='$CPP $CPPFLAGS'
2592 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2593 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2594 cross_compiling=$ac_cv_prog_cc_cross
2597 CXXCPP="$ac_cv_prog_CXXCPP"
2598 echo "$ac_t""$CXXCPP" 1>&6
2601 # Save cache, so that ltconfig can load it
2602 cat > confcache <<\EOF
2603 # This file is a shell script that caches the results of configure
2604 # tests run on this system so they can be shared between configure
2605 # scripts and configure runs. It is not useful on other systems.
2606 # If it contains results you don't want to keep, you may remove or edit it.
2608 # By default, configure uses ./config.cache as the cache file,
2609 # creating it if it does not exist already. You can give configure
2610 # the --cache-file=FILE option to use a different cache file; that is
2611 # what configure does when it calls configure scripts in
2612 # subdirectories, so they share the cache.
2613 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2614 # config.status only pays attention to the cache file if you give it the
2615 # --recheck option to rerun configure.
2618 # The following way of writing the cache mishandles newlines in values,
2619 # but we know of no workaround that is simple, portable, and efficient.
2620 # So, don't put newlines in cache variables' values.
2621 # Ultrix sh set writes to stderr and can't be redirected directly,
2622 # and sets the high bit in the cache file unless we assign to the vars.
2624 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2626 # `set' does not quote correctly, so add quotes (double-quote substitution
2627 # turns \\\\ into \\, and sed turns \\ into \).
2629 -e "s
/'/'\\\\''/g
" \
2630 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
2633 # `set' quotes correctly as required by POSIX, so do not add quotes.
2634 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2637 if cmp -s $cache_file confcache; then
2640 if test -w $cache_file; then
2641 echo "updating cache
$cache_file"
2642 cat confcache > $cache_file
2644 echo "not updating unwritable cache
$cache_file"
2650 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2651 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2652 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2653 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2654 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2655 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2656 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2657 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2658 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2659 || { echo "configure
: error
: libtool configure failed
" 1>&2; exit 1; }
2661 # Reload cache, that may have been modified by ltconfig
2662 if test -r "$cache_file"; then
2663 echo "loading cache
$cache_file"
2666 echo "creating cache
$cache_file"
2671 # This can be used to rebuild libtool when needed
2672 LIBTOOL_DEPS="$ac_aux_dir/ltconfig
$ac_aux_dir/ltmain.sh
$ac_aux_dir/ltcf-c.sh
"
2674 # Always use our own libtool.
2675 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2677 # Redirect the config.log output again, so that the ltconfig log is not
2678 # clobbered by the next message.
2679 exec 5>>./config.log
2683 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh
"
2685 lt_save_CFLAGS="$CFLAGS"
2686 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2687 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2688 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2689 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2690 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2691 deplibs_check_method="$deplibs_check_method" \
2692 file_magic_cmd="$file_magic_cmd" \
2693 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2694 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2695 || { echo "configure
: error
: libtool tag configuration failed
" 1>&2; exit 1; }
2697 CFLAGS="$lt_save_CFLAGS"
2699 # Redirect the config.log output again, so that the ltconfig log is not
2700 # clobbered by the next message.
2701 exec 5>>./config.log
2711 # Check for support bits and g++ features that don't require linking.
2712 echo $ac_n "checking
for GNU
make""...
$ac_c" 1>&6
2713 echo "configure
:2714: checking
for GNU
make" >&5
2714 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2715 echo $ac_n "(cached
) $ac_c" 1>&6
2717 _cv_gnu_make_command='' ;
2718 for a in "${MAKE-make}" make gmake gnumake ; do
2719 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2721 _cv_gnu_make_command=$a ;
2728 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2729 if test "x
$_cv_gnu_make_command" != "x
" ; then
2736 #GLIBCPP_CHECK_COMPILER_VERSION
2738 echo $ac_n "checking
for exception model to use
""...
$ac_c" 1>&6
2739 echo "configure
:2740: checking
for exception model to use
" >&5
2742 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2743 ac_cpp='$CXXCPP $CPPFLAGS'
2744 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2745 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2746 cross_compiling=$ac_cv_prog_cxx_cross
2748 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
2749 if test "${enable_sjlj_exceptions+set}" = set; then
2750 enableval="$enable_sjlj_exceptions"
2753 cat > conftest.$ac_ext << EOF
2754 #line 2755 "configure
"
2763 old_CXXFLAGS="$CXXFLAGS"
2765 if { (eval echo configure:2766: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2766 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
2767 enable_sjlj_exceptions=yes
2768 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
2769 enable_sjlj_exceptions=no
2772 CXXFLAGS="$old_CXXFLAGS"
2776 if test x$enable_sjlj_exceptions = xyes; then
2777 cat >> confdefs.h <<\EOF
2778 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
2781 ac_exception_model_name=sjlj
2782 elif test x$enable_sjlj_exceptions = xno; then
2783 ac_exception_model_name="call frame
"
2785 { echo "configure
: error
: unable to detect exception model
" 1>&2; exit 1; }
2788 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2789 ac_cpp='$CPP $CPPFLAGS'
2790 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2791 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2792 cross_compiling=$ac_cv_prog_cc_cross
2794 echo "$ac_t""$ac_exception_model_name" 1>&6
2797 echo $ac_n "checking
for use of libunwind
""...
$ac_c" 1>&6
2798 echo "configure
:2799: checking
for use of libunwind
" >&5
2799 # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
2800 if test "${enable_libunwind_exceptions+set}" = set; then
2801 enableval="$enable_libunwind_exceptions"
2802 use_libunwind_exceptions=$enableval
2804 use_libunwind_exceptions=no
2807 echo "$ac_t""$use_libunwind_exceptions" 1>&6
2808 if test x"$use_libunwind_exceptions" = xyes; then
2809 LIBUNWIND_FLAG="-lunwind"
2815 # Check whether --enable-pch or --disable-pch was given.
2816 if test "${enable_pch+set}" = set; then
2817 enableval="$enable_pch"
2818 case "${enableval}" in
2819 yes) enable_pch=yes ;;
2820 no) enable_pch=no ;;
2821 *) { echo "configure
: error
: Unknown argument to enable
/disable PCH
" 1>&2; exit 1; } ;;
2827 if test x$enable_pch = xyes; then
2828 ac_test_CXXFLAGS="${CXXFLAGS+set}"
2829 ac_save_CXXFLAGS="$CXXFLAGS"
2830 CXXFLAGS='-Werror -Winvalid-pch -Wno-deprecated -x c++-header'
2832 echo $ac_n "checking
for compiler that seems to compile .gch files
""...
$ac_c" 1>&6
2833 echo "configure
:2834: checking
for compiler that seems to compile .gch files
" >&5
2834 if test x${glibcpp_pch_comp+set} != xset; then
2835 if eval "test \"`echo '$''{'glibcpp_pch_comp'+set}'`\" = set"; then
2836 echo $ac_n "(cached
) $ac_c" 1>&6
2841 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2842 ac_cpp='$CXXCPP $CPPFLAGS'
2843 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2844 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2845 cross_compiling=$ac_cv_prog_cxx_cross
2847 cat > conftest.$ac_ext <<EOF
2848 #line 2849 "configure
"
2849 #include "confdefs.h
"
2856 if { (eval echo configure:2857: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2858 glibcpp_pch_comp=yes
2860 echo "configure
: failed program was
:" >&5
2861 cat conftest.$ac_ext >&5
2867 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2868 ac_cpp='$CPP $CPPFLAGS'
2869 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2870 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2871 cross_compiling=$ac_cv_prog_cc_cross
2877 echo "$ac_t""$glibcpp_pch_comp" 1>&6
2879 CXXFLAGS="$ac_save_CXXFLAGS"
2882 if test x"$enable_pch" = xyes && test x"$glibcpp_pch_comp" = xno; then
2886 echo $ac_n "checking
for enabled PCH
""...
$ac_c" 1>&6
2887 echo "configure
:2888: checking
for enabled PCH
" >&5
2888 echo "$ac_t""$enable_pch" 1>&6
2892 if test "$enable_pch" = yes; then
2893 GLIBCPP_BUILD_PCH_TRUE=
2894 GLIBCPP_BUILD_PCH_FALSE='#'
2896 GLIBCPP_BUILD_PCH_TRUE='#'
2897 GLIBCPP_BUILD_PCH_FALSE=
2899 if test "$enable_pch" = yes; then
2900 glibcpp_PCHFLAGS="-include bits
/stdc
++.h
"
2907 # Enable all the variable C++ runtime options.
2908 # NB: C_MBCHAR must come early.
2910 echo $ac_n "checking
for cstdio to use
""...
$ac_c" 1>&6
2911 echo "configure
:2912: checking
for cstdio to use
" >&5
2912 # Check whether --enable-cstdio or --disable-cstdio was given.
2913 if test "${enable_cstdio+set}" = set; then
2914 enableval="$enable_cstdio"
2915 if test x$enable_cstdio = xno; then
2923 enable_cstdio_flag=$enable_cstdio
2925 case x${enable_cstdio_flag} in
2926 xstdio | x | xno | xnone | xyes)
2928 CSTDIO_H=config/io/c_io_stdio.h
2929 BASIC_FILE_H=config/io/basic_file_stdio.h
2930 BASIC_FILE_CC=config/io/basic_file_stdio.cc
2931 echo "$ac_t""stdio
" 1>&6
2934 echo "$enable_cstdio is an unknown io package
" 1>&2
2942 echo $ac_n "checking how to run the C preprocessor
""...
$ac_c" 1>&6
2943 echo "configure
:2944: checking how to run the C preprocessor
" >&5
2944 # On Suns, sometimes $CPP names a directory.
2945 if test -n "$CPP" && test -d "$CPP"; then
2948 if test -z "$CPP"; then
2949 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2950 echo $ac_n "(cached
) $ac_c" 1>&6
2952 # This must be in double quotes, not single quotes, because CPP may get
2953 # substituted into the Makefile and "${CC-cc}" will confuse make.
2955 # On the NeXT, cc -E runs the code through the compiler's parser,
2956 # not just through cpp.
2957 cat > conftest.$ac_ext <<EOF
2958 #line 2959 "configure
"
2959 #include "confdefs.h
"
2963 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2964 { (eval echo configure:2965: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2965 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2966 if test -z "$ac_err"; then
2970 echo "configure
: failed program was
:" >&5
2971 cat conftest.$ac_ext >&5
2973 CPP="${CC-cc} -E -traditional-cpp"
2974 cat > conftest.$ac_ext <<EOF
2975 #line 2976 "configure
"
2976 #include "confdefs.h
"
2980 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2981 { (eval echo configure:2982: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2982 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2983 if test -z "$ac_err"; then
2987 echo "configure
: failed program was
:" >&5
2988 cat conftest.$ac_ext >&5
2990 CPP="${CC-cc} -nologo -E"
2991 cat > conftest.$ac_ext <<EOF
2992 #line 2993 "configure
"
2993 #include "confdefs.h
"
2997 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2998 { (eval echo configure:2999: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2999 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
3000 if test -z "$ac_err"; then
3004 echo "configure
: failed program was
:" >&5
3005 cat conftest.$ac_ext >&5
3014 ac_cv_prog_CPP="$CPP"
3016 CPP="$ac_cv_prog_CPP"
3018 ac_cv_prog_CPP="$CPP"
3020 echo "$ac_t""$CPP" 1>&6
3023 echo $ac_n "checking
for clocale to use
""...
$ac_c" 1>&6
3024 echo "configure
:3025: checking
for clocale to use
" >&5
3025 # Check whether --enable-clocale or --disable-clocale was given.
3026 if test "${enable_clocale+set}" = set; then
3027 enableval="$enable_clocale"
3028 if test x$enable_clocale = xno; then
3036 enable_clocale_flag=$enable_clocale
3038 if test x$enable_clocale_flag = xno; then
3039 case x${target_os} in
3041 cat > conftest.$ac_ext <<EOF
3042 #line 3043 "configure
"
3043 #include "confdefs.h
"
3045 #include <features.h>
3046 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
3051 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
3052 egrep "_GLIBCPP_ok
" >/dev/null 2>&1; then
3054 enable_clocale_flag=gnu
3057 enable_clocale_flag=generic
3062 # Test for bugs early in glibc-2.2.x series
3063 if test x$enable_clocale_flag = xgnu; then
3064 if test "$cross_compiling" = yes; then
3065 enable_clocale_flag=generic
3067 cat > conftest.$ac_ext <<EOF
3068 #line 3069 "configure
"
3069 #include "confdefs.h
"
3071 #define _GNU_SOURCE 1
3074 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
3075 extern __typeof(newlocale) __newlocale;
3076 extern __typeof(duplocale) __duplocale;
3077 extern __typeof(strcoll_l) __strcoll_l;
3081 const char __one[] = "Äuglein Augmen
";
3082 const char __two[] = "Äuglein
";
3087 loc = __newlocale(1 << LC_ALL, "de_DE
", 0);
3088 loc_dup = __duplocale(loc);
3089 i = __strcoll_l(__one, __two, loc);
3090 j = __strcoll_l(__one, __two, loc_dup);
3095 if { (eval echo configure:3096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3097 enable_clocale_flag=gnu
3099 echo "configure
: failed program was
:" >&5
3100 cat conftest.$ac_ext >&5
3102 enable_clocale_flag=generic
3109 # ... at some point put __strxfrm_l tests in as well.
3112 enable_clocale_flag=generic
3117 # Check whether --enable-nls or --disable-nls was given.
3118 if test "${enable_nls+set}" = set; then
3119 enableval="$enable_nls"
3127 case x${enable_clocale_flag} in
3129 echo "$ac_t""generic
" 1>&6
3131 CLOCALE_H=config/locale/generic/c_locale.h
3132 CLOCALE_CC=config/locale/generic/c_locale.cc
3133 CCODECVT_H=config/locale/generic/codecvt_specializations.h
3134 CCODECVT_CC=config/locale/generic/codecvt_members.cc
3135 CCOLLATE_CC=config/locale/generic/collate_members.cc
3136 CCTYPE_CC=config/locale/generic/ctype_members.cc
3137 CMESSAGES_H=config/locale/generic/messages_members.h
3138 CMESSAGES_CC=config/locale/generic/messages_members.cc
3139 CMONEY_CC=config/locale/generic/monetary_members.cc
3140 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3141 CTIME_H=config/locale/generic/time_members.h
3142 CTIME_CC=config/locale/generic/time_members.cc
3143 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
3146 echo "$ac_t""gnu
" 1>&6
3148 # Declare intention to use gettext, and add support for specific
3150 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
3153 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
3154 # Extract the first word of "msgfmt
", so it can be a program name with args.
3155 set dummy msgfmt; ac_word=$2
3156 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
3157 echo "configure
:3158: checking
for $ac_word" >&5
3158 if eval "test \"`echo '$''{'ac_cv_prog_check_msgfmt'+set}'`\" = set"; then
3159 echo $ac_n "(cached
) $ac_c" 1>&6
3161 if test -n "$check_msgfmt"; then
3162 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
3164 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3166 for ac_dir in $ac_dummy; do
3167 test -z "$ac_dir" && ac_dir=.
3168 if test -f $ac_dir/$ac_word; then
3169 ac_cv_prog_check_msgfmt="yes"
3174 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no
"
3177 check_msgfmt="$ac_cv_prog_check_msgfmt"
3178 if test -n "$check_msgfmt"; then
3179 echo "$ac_t""$check_msgfmt" 1>&6
3181 echo "$ac_t""no
" 1>&6
3184 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
3187 # Export the build objects.
3188 for ling in $ALL_LINGUAS; do \
3189 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo
"; \
3190 glibcpp_POFILES="$glibcpp_POFILES $ling.po
"; \
3195 CLOCALE_H=config/locale/gnu/c_locale.h
3196 CLOCALE_CC=config/locale/gnu/c_locale.cc
3197 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3198 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
3199 CCOLLATE_CC=config/locale/gnu/collate_members.cc
3200 CCTYPE_CC=config/locale/gnu/ctype_members.cc
3201 CMESSAGES_H=config/locale/gnu/messages_members.h
3202 CMESSAGES_CC=config/locale/gnu/messages_members.cc
3203 CMONEY_CC=config/locale/gnu/monetary_members.cc
3204 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
3205 CTIME_H=config/locale/gnu/time_members.h
3206 CTIME_CC=config/locale/gnu/time_members.cc
3207 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
3210 echo "$ac_t""IEEE
1003.1" 1>&6
3212 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
3213 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
3214 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3215 CCODECVT_CC=config/locale/generic/codecvt_members.cc
3216 CCOLLATE_CC=config/locale/generic/collate_members.cc
3217 CCTYPE_CC=config/locale/generic/ctype_members.cc
3218 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
3219 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
3220 CMONEY_CC=config/locale/generic/monetary_members.cc
3221 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3222 CTIME_H=config/locale/generic/time_members.h
3223 CTIME_CC=config/locale/generic/time_members.cc
3224 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
3227 echo "$enable_clocale is an unknown locale package
" 1>&2
3232 # This is where the testsuite looks for locale catalogs, using the
3233 # -DLOCALEDIR define during testsuite compilation.
3234 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3237 # A standalone libintl (e.g., GNU libintl) may be in use.
3238 if test $USE_NLS = yes; then
3239 for ac_hdr in libintl.h
3241 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3242 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
3243 echo "configure
:3244: checking
for $ac_hdr" >&5
3244 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3245 echo $ac_n "(cached
) $ac_c" 1>&6
3247 cat > conftest.$ac_ext <<EOF
3248 #line 3249 "configure
"
3249 #include "confdefs.h
"
3252 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
3253 { (eval echo configure:3254: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3254 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
3255 if test -z "$ac_err"; then
3257 eval "ac_cv_header_
$ac_safe=yes"
3260 echo "configure
: failed program was
:" >&5
3261 cat conftest.$ac_ext >&5
3263 eval "ac_cv_header_
$ac_safe=no
"
3267 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3268 echo "$ac_t""yes" 1>&6
3269 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3270 cat >> confdefs.h <<EOF
3271 #define $ac_tr_hdr 1
3275 echo "$ac_t""no
" 1>&6
3281 echo $ac_n "checking
for library containing
gettext""...
$ac_c" 1>&6
3282 echo "configure
:3283: checking
for library containing
gettext" >&5
3283 if eval "test \"`echo '$''{'ac_cv_search_gettext'+set}'`\" = set"; then
3284 echo $ac_n "(cached
) $ac_c" 1>&6
3286 ac_func_search_save_LIBS="$LIBS"
3287 ac_cv_search_gettext="no
"
3288 cat > conftest.$ac_ext <<EOF
3289 #line 3290 "configure
"
3290 #include "confdefs.h
"
3291 /* Override any gcc2 internal prototype to avoid an error. */
3292 /* We use char because int might match the return type of a gcc2
3293 builtin and then its argument prototype would still apply. */
3300 if { (eval echo configure:3301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3302 ac_cv_search_gettext="none required
"
3304 echo "configure
: failed program was
:" >&5
3305 cat conftest.$ac_ext >&5
3308 test "$ac_cv_search_gettext" = "no
" && for i in intl; do
3309 LIBS="-l$i $ac_func_search_save_LIBS"
3310 cat > conftest.$ac_ext <<EOF
3311 #line 3312 "configure
"
3312 #include "confdefs.h
"
3313 /* Override any gcc2 internal prototype to avoid an error. */
3314 /* We use char because int might match the return type of a gcc2
3315 builtin and then its argument prototype would still apply. */
3322 if { (eval echo configure:3323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3324 ac_cv_search_gettext="-l$i"
3327 echo "configure
: failed program was
:" >&5
3328 cat conftest.$ac_ext >&5
3332 LIBS="$ac_func_search_save_LIBS"
3335 echo "$ac_t""$ac_cv_search_gettext" 1>&6
3336 if test "$ac_cv_search_gettext" != "no
"; then
3337 test "$ac_cv_search_gettext" = "none required
" || LIBS="$ac_cv_search_gettext $LIBS"
3343 if test $USE_NLS = yes; then
3344 cat >> confdefs.h <<\EOF
3345 #define _GLIBCPP_USE_NLS 1
3365 echo $ac_n "checking
for c header strategy to use
""...
$ac_c" 1>&6
3366 echo "configure
:3367: checking
for c header strategy to use
" >&5
3367 # Check whether --enable-cheaders or --disable-cheaders was given.
3368 if test "${enable_cheaders+set}" = set; then
3369 enableval="$enable_cheaders"
3371 case "$enableval" in
3376 enable_cheaders=c_std
3378 *) { echo "configure
: error
: Unknown argument to enable
/disable
"C" headers
" 1>&2; exit 1; }
3382 enable_cheaders=c_std
3385 echo "$ac_t""$enable_cheaders" 1>&6
3387 case "$enable_cheaders" in
3389 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3392 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3399 if test "$enable_cheaders" = c; then
3400 GLIBCPP_C_HEADERS_C_TRUE=
3401 GLIBCPP_C_HEADERS_C_FALSE='#'
3403 GLIBCPP_C_HEADERS_C_TRUE='#'
3404 GLIBCPP_C_HEADERS_C_FALSE=
3408 if test "$enable_cheaders" = c_std; then
3409 GLIBCPP_C_HEADERS_C_STD_TRUE=
3410 GLIBCPP_C_HEADERS_C_STD_FALSE='#'
3412 GLIBCPP_C_HEADERS_C_STD_TRUE='#'
3413 GLIBCPP_C_HEADERS_C_STD_FALSE=
3417 if test "$c_compatibility" = yes; then
3418 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE=
3419 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE='#'
3421 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE='#'
3422 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE=
3425 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3426 if test "${enable_c_mbchar+set}" = set; then
3427 enableval="$enable_c_mbchar"
3428 case "$enableval" in
3429 yes) enable_c_mbchar=yes ;;
3430 no) enable_c_mbchar=no ;;
3431 *) { echo "configure
: error
: Unknown argument to enable
/disable c-mbchar
" 1>&2; exit 1; } ;;
3438 # Check whether --enable-c99 or --disable-c99 was given.
3439 if test "${enable_c99+set}" = set; then
3440 enableval="$enable_c99"
3441 case "$enableval" in
3442 yes) enable_c99=yes ;;
3443 no) enable_c99=no ;;
3444 *) { echo "configure
: error
: Unknown argument to enable
/disable C99
" 1>&2; exit 1; } ;;
3452 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3453 ac_cpp='$CXXCPP $CPPFLAGS'
3454 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3455 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3456 cross_compiling=$ac_cv_prog_cxx_cross
3459 # Check for the existence of <math.h> functions used if C99 is enabled.
3461 echo $ac_n "checking
for ISO C99 support
in <math.h
>""...
$ac_c" 1>&6
3462 echo "configure
:3463: checking
for ISO C99 support
in <math.h
>" >&5
3463 cat > conftest.$ac_ext <<EOF
3464 #line 3465 "configure
"
3465 #include "confdefs.h
"
3471 if { (eval echo configure:3472: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3474 echo "configure
: failed program was
:" >&5
3475 cat conftest.$ac_ext >&5
3480 cat > conftest.$ac_ext <<EOF
3481 #line 3482 "configure
"
3482 #include "confdefs.h
"
3488 if { (eval echo configure:3489: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3491 echo "configure
: failed program was
:" >&5
3492 cat conftest.$ac_ext >&5
3497 cat > conftest.$ac_ext <<EOF
3498 #line 3499 "configure
"
3499 #include "confdefs.h
"
3505 if { (eval echo configure:3506: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3508 echo "configure
: failed program was
:" >&5
3509 cat conftest.$ac_ext >&5
3514 cat > conftest.$ac_ext <<EOF
3515 #line 3516 "configure
"
3516 #include "confdefs.h
"
3522 if { (eval echo configure:3523: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3525 echo "configure
: failed program was
:" >&5
3526 cat conftest.$ac_ext >&5
3531 cat > conftest.$ac_ext <<EOF
3532 #line 3533 "configure
"
3533 #include "confdefs.h
"
3539 if { (eval echo configure:3540: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3542 echo "configure
: failed program was
:" >&5
3543 cat conftest.$ac_ext >&5
3548 cat > conftest.$ac_ext <<EOF
3549 #line 3550 "configure
"
3550 #include "confdefs.h
"
3556 if { (eval echo configure:3557: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3559 echo "configure
: failed program was
:" >&5
3560 cat conftest.$ac_ext >&5
3565 cat > conftest.$ac_ext <<EOF
3566 #line 3567 "configure
"
3567 #include "confdefs.h
"
3573 if { (eval echo configure:3574: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3576 echo "configure
: failed program was
:" >&5
3577 cat conftest.$ac_ext >&5
3582 cat > conftest.$ac_ext <<EOF
3583 #line 3584 "configure
"
3584 #include "confdefs.h
"
3587 isgreaterequal(0.0,0.0);
3590 if { (eval echo configure:3591: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3593 echo "configure
: failed program was
:" >&5
3594 cat conftest.$ac_ext >&5
3599 cat > conftest.$ac_ext <<EOF
3600 #line 3601 "configure
"
3601 #include "confdefs.h
"
3607 if { (eval echo configure:3608: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3610 echo "configure
: failed program was
:" >&5
3611 cat conftest.$ac_ext >&5
3616 cat > conftest.$ac_ext <<EOF
3617 #line 3618 "configure
"
3618 #include "confdefs.h
"
3621 islessequal(0.0,0.0);
3624 if { (eval echo configure:3625: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3627 echo "configure
: failed program was
:" >&5
3628 cat conftest.$ac_ext >&5
3633 cat > conftest.$ac_ext <<EOF
3634 #line 3635 "configure
"
3635 #include "confdefs.h
"
3638 islessgreater(0.0,0.0);
3641 if { (eval echo configure:3642: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3644 echo "configure
: failed program was
:" >&5
3645 cat conftest.$ac_ext >&5
3650 cat > conftest.$ac_ext <<EOF
3651 #line 3652 "configure
"
3652 #include "confdefs.h
"
3655 isunordered(0.0,0.0);
3658 if { (eval echo configure:3659: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3661 echo "configure
: failed program was
:" >&5
3662 cat conftest.$ac_ext >&5
3667 echo "$ac_t""$ac_c99_math" 1>&6
3669 # Check for the existence in <stdio.h> of vscanf, et. al.
3671 echo $ac_n "checking
for ISO C99 support
in <stdio.h
>""...
$ac_c" 1>&6
3672 echo "configure
:3673: checking
for ISO C99 support
in <stdio.h
>" >&5
3673 cat > conftest.$ac_ext <<EOF
3674 #line 3675 "configure
"
3675 #include "confdefs.h
"
3678 snprintf("12", 0, "%i
");
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 cat > conftest.$ac_ext <<EOF
3691 #line 3692 "configure
"
3692 #include "confdefs.h
"
3695 void foo(char* fmt, ...)
3696 {va_list args; va_start(args, fmt);
3697 vfscanf(stderr, "%i
", args);}
3702 if { (eval echo configure:3703: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3705 echo "configure
: failed program was
:" >&5
3706 cat conftest.$ac_ext >&5
3711 cat > conftest.$ac_ext <<EOF
3712 #line 3713 "configure
"
3713 #include "confdefs.h
"
3716 void foo(char* fmt, ...)
3717 {va_list args; va_start(args, fmt);
3718 vscanf("%i
", args);}
3723 if { (eval echo configure:3724: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3726 echo "configure
: failed program was
:" >&5
3727 cat conftest.$ac_ext >&5
3732 cat > conftest.$ac_ext <<EOF
3733 #line 3734 "configure
"
3734 #include "confdefs.h
"
3737 void foo(char* fmt, ...)
3738 {va_list args; va_start(args, fmt);
3739 vsnprintf(fmt, 0, "%i
", args);}
3744 if { (eval echo configure:3745: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3747 echo "configure
: failed program was
:" >&5
3748 cat conftest.$ac_ext >&5
3753 cat > conftest.$ac_ext <<EOF
3754 #line 3755 "configure
"
3755 #include "confdefs.h
"
3758 void foo(char* fmt, ...)
3759 {va_list args; va_start(args, fmt);
3760 vsscanf(fmt, "%i
", args);}
3765 if { (eval echo configure:3766: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3768 echo "configure
: failed program was
:" >&5
3769 cat conftest.$ac_ext >&5
3774 echo "$ac_t""$ac_c99_stdio" 1>&6
3776 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3778 echo $ac_n "checking
for lldiv_t declaration
""...
$ac_c" 1>&6
3779 echo "configure
:3780: checking
for lldiv_t declaration
" >&5
3780 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3781 echo $ac_n "(cached
) $ac_c" 1>&6
3784 cat > conftest.$ac_ext <<EOF
3785 #line 3786 "configure
"
3786 #include "confdefs.h
"
3792 if { (eval echo configure:3793: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3796 echo "configure
: failed program was
:" >&5
3797 cat conftest.$ac_ext >&5
3805 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3807 echo $ac_n "checking
for ISO C99 support
in <stdlib.h
>""...
$ac_c" 1>&6
3808 echo "configure
:3809: checking
for ISO C99 support
in <stdlib.h
>" >&5
3809 cat > conftest.$ac_ext <<EOF
3810 #line 3811 "configure
"
3811 #include "confdefs.h
"
3814 char* tmp; strtof("gnu
", &tmp);
3817 if { (eval echo configure:3818: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3820 echo "configure
: failed program was
:" >&5
3821 cat conftest.$ac_ext >&5
3826 cat > conftest.$ac_ext <<EOF
3827 #line 3828 "configure
"
3828 #include "confdefs.h
"
3831 char* tmp; strtold("gnu
", &tmp);
3834 if { (eval echo configure:3835: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3837 echo "configure
: failed program was
:" >&5
3838 cat conftest.$ac_ext >&5
3843 cat > conftest.$ac_ext <<EOF
3844 #line 3845 "configure
"
3845 #include "confdefs.h
"
3851 if { (eval echo configure:3852: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3854 echo "configure
: failed program was
:" >&5
3855 cat conftest.$ac_ext >&5
3860 cat > conftest.$ac_ext <<EOF
3861 #line 3862 "configure
"
3862 #include "confdefs.h
"
3868 if { (eval echo configure:3869: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3871 echo "configure
: failed program was
:" >&5
3872 cat conftest.$ac_ext >&5
3877 cat > conftest.$ac_ext <<EOF
3878 #line 3879 "configure
"
3879 #include "confdefs.h
"
3885 if { (eval echo configure:3886: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3888 echo "configure
: failed program was
:" >&5
3889 cat conftest.$ac_ext >&5
3894 cat > conftest.$ac_ext <<EOF
3895 #line 3896 "configure
"
3896 #include "confdefs.h
"
3902 if { (eval echo configure:3903: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3905 echo "configure
: failed program was
:" >&5
3906 cat conftest.$ac_ext >&5
3911 if test x"$ac_c99_lldiv_t" = x"no
"; then
3914 echo "$ac_t""$ac_c99_stdlib" 1>&6
3916 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3917 # XXX the wchar.h checks should be rolled into the general C99 bits.
3919 echo $ac_n "checking
for additional ISO C99 support
in <wchar.h
>""...
$ac_c" 1>&6
3920 echo "configure
:3921: checking
for additional ISO C99 support
in <wchar.h
>" >&5
3921 cat > conftest.$ac_ext <<EOF
3922 #line 3923 "configure
"
3923 #include "confdefs.h
"
3926 wcstold(L"10.0", NULL);
3929 if { (eval echo configure:3930: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3932 echo "configure
: failed program was
:" >&5
3933 cat conftest.$ac_ext >&5
3938 cat > conftest.$ac_ext <<EOF
3939 #line 3940 "configure
"
3940 #include "confdefs.h
"
3943 wcstoll(L"10", NULL, 10);
3946 if { (eval echo configure:3947: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3949 echo "configure
: failed program was
:" >&5
3950 cat conftest.$ac_ext >&5
3955 cat > conftest.$ac_ext <<EOF
3956 #line 3957 "configure
"
3957 #include "confdefs.h
"
3960 wcstoull(L"10", NULL, 10);
3963 if { (eval echo configure:3964: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3966 echo "configure
: failed program was
:" >&5
3967 cat conftest.$ac_ext >&5
3972 echo "$ac_t""$ac_c99_wchar" 1>&6
3974 echo $ac_n "checking
for enabled ISO C99 support
""...
$ac_c" 1>&6
3975 echo "configure
:3976: checking
for enabled ISO C99 support
" >&5
3976 if test x"$ac_c99_math" = x"no
" ||
3977 test x"$ac_c99_stdio" = x"no
" ||
3978 test x"$ac_c99_stdlib" = x"no
" ||
3979 test x"$ac_c99_wchar" = x"no
"; then
3982 echo "$ac_t""$enable_c99" 1>&6
3984 # Option parsed, now set things appropriately
3985 if test x"$enable_c99" = x"yes"; then
3986 cat >> confdefs.h <<\EOF
3987 #define _GLIBCPP_USE_C99 1
3993 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3994 ac_cpp='$CPP $CPPFLAGS'
3995 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3996 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3997 cross_compiling=$ac_cv_prog_cc_cross
4001 # Check whether --enable-long-long or --disable-long-long was given.
4002 if test "${enable_long_long+set}" = set; then
4003 enableval="$enable_long_long"
4004 case "$enableval" in
4005 yes) enable_long_long=yes ;;
4006 no) enable_long_long=no ;;
4007 *) { echo "configure
: error
: Unknown argument to enable
/disable long long
" 1>&2; exit 1; } ;;
4010 enable_long_long=yes
4015 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4016 ac_cpp='$CXXCPP $CPPFLAGS'
4017 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4018 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4019 cross_compiling=$ac_cv_prog_cxx_cross
4022 echo $ac_n "checking
for enabled long long I
/O support
""...
$ac_c" 1>&6
4023 echo "configure
:4024: checking
for enabled long long I
/O support
" >&5
4024 # iostreams require strtoll, strtoull to compile
4025 cat > conftest.$ac_ext <<EOF
4026 #line 4027 "configure
"
4027 #include "confdefs.h
"
4030 char* tmp; strtoll("gnu
", &tmp, 10);
4033 if { (eval echo configure:4034: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4036 echo "configure
: failed program was
:" >&5
4037 cat conftest.$ac_ext >&5
4042 cat > conftest.$ac_ext <<EOF
4043 #line 4044 "configure
"
4044 #include "confdefs.h
"
4047 char* tmp; strtoull("gnu
", &tmp, 10);
4050 if { (eval echo configure:4051: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4053 echo "configure
: failed program was
:" >&5
4054 cat conftest.$ac_ext >&5
4060 # Option parsed, now set things appropriately
4061 if test x"$enable_long_long" = xyes; then
4062 cat >> confdefs.h <<\EOF
4063 #define _GLIBCPP_USE_LONG_LONG 1
4067 echo "$ac_t""$enable_long_long" 1>&6
4070 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4071 ac_cpp='$CPP $CPPFLAGS'
4072 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4073 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4074 cross_compiling=$ac_cv_prog_cc_cross
4078 echo $ac_n "checking
for thread model used by GCC
""...
$ac_c" 1>&6
4079 echo "configure
:4080: checking
for thread model used by GCC
" >&5
4080 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
4081 echo "$ac_t""$target_thread_file" 1>&6
4083 if test $target_thread_file != single; then
4084 cat >> confdefs.h <<\EOF
4085 #define HAVE_GTHR_DEFAULT 1
4088 cat >> confdefs.h <<\EOF
4089 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
4094 glibcpp_thread_h=gthr-$target_thread_file.h
4097 # Check whether --enable-concept-checks or --disable-concept-checks was given.
4098 if test "${enable_concept_checks+set}" = set; then
4099 enableval="$enable_concept_checks"
4100 case "$enableval" in
4101 yes) enable_concept_checks=yes ;;
4102 no) enable_concept_checks=no ;;
4103 *) { echo "configure
: error
: Unknown argument to enable
/disable concept checks
" 1>&2; exit 1; } ;;
4106 enable_concept_checks=no
4108 if test x"$enable_concept_checks" = xyes; then
4109 cat >> confdefs.h <<\EOF
4110 #define _GLIBCPP_CONCEPT_CHECKS 1
4115 echo $ac_n "checking
for extra compiler flags
for building
""...
$ac_c" 1>&6
4116 echo "configure
:4117: checking
for extra compiler flags
for building
" >&5
4117 # Check whether --enable-cxx_flags or --disable-cxx_flags was given.
4118 if test "${enable_cxx_flags+set}" = set; then
4119 enableval="$enable_cxx_flags"
4120 case "x
$enable_cxx_flags" in
4122 { echo "configure
: error
: --enable-cxx-flags needs compiler flags as arguments
" 1>&2; exit 1; } ;;
4124 enable_cxx_flags='' ;;
4126 enable_cxx_flags="$enableval" ;;
4133 if test -n "$enable_cxx_flags"; then
4134 for f in $enable_cxx_flags; do
4138 *) # and we're trying to pass /what/ exactly?
4139 { echo "configure
: error
: compiler flags start with a
-" 1>&2; exit 1; } ;;
4143 EXTRA_CXX_FLAGS="$enable_cxx_flags"
4144 echo "$ac_t""$EXTRA_CXX_FLAGS" 1>&6
4147 # Check whether --enable-debug or --disable-debug was given.
4148 if test "${enable_debug+set}" = set; then
4149 enableval="$enable_debug"
4150 case "${enableval}" in
4151 yes) enable_debug=yes ;;
4152 no) enable_debug=no ;;
4153 *) { echo "configure
: error
: Unknown argument to enable
/disable extra debugging
" 1>&2; exit 1; } ;;
4158 echo $ac_n "checking
for additional debug build
""...
$ac_c" 1>&6
4159 echo "configure
:4160: checking
for additional debug build
" >&5
4160 echo "$ac_t""$enable_debug" 1>&6
4163 if test "$enable_debug" = yes; then
4164 GLIBCPP_BUILD_DEBUG_TRUE=
4165 GLIBCPP_BUILD_DEBUG_FALSE='#'
4167 GLIBCPP_BUILD_DEBUG_TRUE='#'
4168 GLIBCPP_BUILD_DEBUG_FALSE=
4171 # Check whether --enable-debug_flags or --disable-debug_flags was given.
4172 if test "${enable_debug_flags+set}" = set; then
4173 enableval="$enable_debug_flags"
4174 case "${enableval}" in
4176 -*) enable_debug_flags="${enableval}" ;;
4177 *) { echo "configure
: error
: Unknown argument to extra debugging flags
" 1>&2; exit 1; } ;;
4180 enable_debug_flags=none
4183 case x"$enable_debug" in
4185 case "$enable_debug_flags" in
4187 DEBUG_FLAGS="-g3 -O0";;
4189 DEBUG_FLAGS="${enableval}"
4198 echo $ac_n "checking
for debug build flags
""...
$ac_c" 1>&6
4199 echo "configure
:4200: checking
for debug build flags
" >&5
4200 echo "$ac_t""$DEBUG_FLAGS" 1>&6
4203 # No surprises, no surprises...
4204 if test $ATOMICITYH = cpu/generic ; then
4205 echo "configure
: warning
: No native atomic operations are provided
for this platform.
" 1>&2
4206 if test $target_thread_file = single; then
4207 echo "configure
: warning
: They cannot be faked when thread support is disabled.
" 1>&2
4208 echo "configure
: warning
: Thread-safety of certain classes is not guaranteed.
" 1>&2
4210 echo "configure
: warning
: They will be faked using a mutex.
" 1>&2
4211 echo "configure
: warning
: Performance of certain classes will degrade as a result.
" 1>&2
4216 if test x"$build" != x"$host"; then
4218 # We are being configured with some form of cross compiler.
4219 GLIBCPP_IS_CROSS_COMPILING=true
4221 # This lets us hard-code the functionality we know we'll have in the cross
4222 # target environment. "Let
" is a sugar-coated word placed on an especially
4223 # dull and tedious hack, actually.
4225 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
4226 # that involve linking, can't be used:
4227 # "cannot open sim-crt0.o
"
4228 # "cannot open crt0.o
"
4229 # etc. All this is because there currently exists no unified, consistent
4230 # way for top level CC information to be passed down to target directories:
4231 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
4232 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
4233 # crosses can be removed.
4235 # If Canadian cross, then don't pick up tools from the build directory.
4236 # Used in GLIBCPP_EXPORT_INCLUDES (and nowhere else?).
4237 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host" \
4238 && test x"$build" != x"$target"; then
4244 # Construct crosses by hand, eliminating bits that need ld...
4245 # GLIBCPP_CHECK_COMPILER_FEATURES
4246 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4247 # GLIBCPP_CHECK_MATH_SUPPORT
4251 os_include_dir="os
/bsd
/freebsd
"
4252 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4253 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4254 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
4257 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4258 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4259 echo "configure
:4260: checking
for $ac_hdr" >&5
4260 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4261 echo $ac_n "(cached
) $ac_c" 1>&6
4263 cat > conftest.$ac_ext <<EOF
4264 #line 4265 "configure
"
4265 #include "confdefs.h
"
4268 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4269 { (eval echo configure:4270: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4270 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4271 if test -z "$ac_err"; then
4273 eval "ac_cv_header_
$ac_safe=yes"
4276 echo "configure
: failed program was
:" >&5
4277 cat conftest.$ac_ext >&5
4279 eval "ac_cv_header_
$ac_safe=no
"
4283 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4284 echo "$ac_t""yes" 1>&6
4285 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4286 cat >> confdefs.h <<EOF
4287 #define $ac_tr_hdr 1
4291 echo "$ac_t""no
" 1>&6
4295 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4298 # If we're not using GNU ld, then there's no point in even trying these
4299 # tests. Check for that first. We should have already tested for gld
4300 # by now (in libtool), but require it now just to be safe...
4301 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4302 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4305 # The name set by libtool depends on the version of libtool. Shame on us
4306 # for depending on an impl detail, but c'est la vie. Older versions used
4307 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4308 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4309 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4310 # set (hence we're using an older libtool), then set it.
4311 if test x${with_gnu_ld+set} != xset; then
4312 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4313 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
4316 with_gnu_ld=$ac_cv_prog_gnu_ld
4320 # Start by getting the version number. I think the libtool test already
4321 # does some of this, but throws away the result.
4323 ldver=`$LD --version 2>/dev/null | head -1 | \
4324 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4326 glibcpp_gnu_ld_version=`echo $ldver | \
4327 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4329 # Set --gc-sections.
4330 if test "$with_gnu_ld" = "notbroken
"; then
4331 # GNU ld it is! Joy and bunny rabbits!
4333 # All these tests are for C++; save the language and the compiler flags.
4334 # Need to do this so that g++ won't try to link in libstdc++
4335 ac_test_CFLAGS="${CFLAGS+set}"
4336 ac_save_CFLAGS="$CFLAGS"
4337 CFLAGS='-x c++ -Wl,--gc-sections'
4339 # Check for -Wl,--gc-sections
4340 # XXX This test is broken at the moment, as symbols required for
4341 # linking are now in libsupc++ (not built yet.....). In addition,
4342 # this test has cored on solaris in the past. In addition,
4343 # --gc-sections doesn't really work at the moment (keeps on discarding
4344 # used sections, first .eh_frame and now some of the glibc sections for
4345 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4346 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
4347 echo "configure
:4348: checking
for ld that supports
-Wl,--gc-sections" >&5
4348 if test "$cross_compiling" = yes; then
4349 ac_sectionLDflags=yes
4351 cat > conftest.$ac_ext <<EOF
4352 #line 4353 "configure
"
4353 #include "confdefs.h
"
4363 if { (eval echo configure:4364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4365 ac_sectionLDflags=yes
4367 echo "configure
: failed program was
:" >&5
4368 cat conftest.$ac_ext >&5
4370 ac_sectionLDflags=no
4375 if test "$ac_test_CFLAGS" = set; then
4376 CFLAGS="$ac_save_CFLAGS"
4378 # this is the suspicious part
4381 if test "$ac_sectionLDflags" = "yes"; then
4382 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4384 echo "$ac_t""$ac_sectionLDflags" 1>&6
4387 # Set linker optimization flags.
4388 if test x"$with_gnu_ld" = x"yes"; then
4389 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4396 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
4397 echo "configure
:4398: checking
for main
in -lm" >&5
4398 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4399 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4400 echo $ac_n "(cached
) $ac_c" 1>&6
4402 ac_save_LIBS="$LIBS"
4404 cat > conftest.$ac_ext <<EOF
4405 #line 4406 "configure
"
4406 #include "confdefs.h
"
4412 if { (eval echo configure:4413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4414 eval "ac_cv_lib_
$ac_lib_var=yes"
4416 echo "configure
: failed program was
:" >&5
4417 cat conftest.$ac_ext >&5
4419 eval "ac_cv_lib_
$ac_lib_var=no
"
4422 LIBS="$ac_save_LIBS"
4425 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4426 echo "$ac_t""yes" 1>&6
4427 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4428 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4429 cat >> confdefs.h <<EOF
4430 #define $ac_tr_lib 1
4436 echo "$ac_t""no
" 1>&6
4439 for ac_func in nan copysignf
4441 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4442 echo "configure
:4443: checking
for $ac_func" >&5
4443 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4444 echo $ac_n "(cached
) $ac_c" 1>&6
4446 cat > conftest.$ac_ext <<EOF
4447 #line 4448 "configure
"
4448 #include "confdefs.h
"
4449 /* System header to define __stub macros and hopefully few prototypes,
4450 which can conflict with char $ac_func(); below. */
4452 /* Override any gcc2 internal prototype to avoid an error. */
4453 /* We use char because int might match the return type of a gcc2
4454 builtin and then its argument prototype would still apply. */
4459 /* The GNU C library defines this for functions which it implements
4460 to always fail with ENOSYS. Some functions are actually named
4461 something starting with __ and the normal name is an alias. */
4462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4470 if { (eval echo configure:4471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4472 eval "ac_cv_func_
$ac_func=yes"
4474 echo "configure
: failed program was
:" >&5
4475 cat conftest.$ac_ext >&5
4477 eval "ac_cv_func_
$ac_func=no
"
4482 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4483 echo "$ac_t""yes" 1>&6
4484 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4485 cat >> confdefs.h <<EOF
4486 #define $ac_tr_func 1
4490 echo "$ac_t""no
" 1>&6
4491 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
4496 for ac_func in __signbit
4498 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4499 echo "configure
:4500: checking
for $ac_func" >&5
4500 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4501 echo $ac_n "(cached
) $ac_c" 1>&6
4503 cat > conftest.$ac_ext <<EOF
4504 #line 4505 "configure
"
4505 #include "confdefs.h
"
4506 /* System header to define __stub macros and hopefully few prototypes,
4507 which can conflict with char $ac_func(); below. */
4509 /* Override any gcc2 internal prototype to avoid an error. */
4510 /* We use char because int might match the return type of a gcc2
4511 builtin and then its argument prototype would still apply. */
4516 /* The GNU C library defines this for functions which it implements
4517 to always fail with ENOSYS. Some functions are actually named
4518 something starting with __ and the normal name is an alias. */
4519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4527 if { (eval echo configure:4528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4529 eval "ac_cv_func_
$ac_func=yes"
4531 echo "configure
: failed program was
:" >&5
4532 cat conftest.$ac_ext >&5
4534 eval "ac_cv_func_
$ac_func=no
"
4539 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4540 echo "$ac_t""yes" 1>&6
4541 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4542 cat >> confdefs.h <<EOF
4543 #define $ac_tr_func 1
4547 echo "$ac_t""no
" 1>&6
4548 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
4552 for ac_func in __signbitf
4554 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4555 echo "configure
:4556: checking
for $ac_func" >&5
4556 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4557 echo $ac_n "(cached
) $ac_c" 1>&6
4559 cat > conftest.$ac_ext <<EOF
4560 #line 4561 "configure
"
4561 #include "confdefs.h
"
4562 /* System header to define __stub macros and hopefully few prototypes,
4563 which can conflict with char $ac_func(); below. */
4565 /* Override any gcc2 internal prototype to avoid an error. */
4566 /* We use char because int might match the return type of a gcc2
4567 builtin and then its argument prototype would still apply. */
4572 /* The GNU C library defines this for functions which it implements
4573 to always fail with ENOSYS. Some functions are actually named
4574 something starting with __ and the normal name is an alias. */
4575 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4583 if { (eval echo configure:4584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4585 eval "ac_cv_func_
$ac_func=yes"
4587 echo "configure
: failed program was
:" >&5
4588 cat conftest.$ac_ext >&5
4590 eval "ac_cv_func_
$ac_func=no
"
4595 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4596 echo "$ac_t""yes" 1>&6
4597 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4598 cat >> confdefs.h <<EOF
4599 #define $ac_tr_func 1
4603 echo "$ac_t""no
" 1>&6
4604 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
4609 if test x$ac_cv_func_copysignl = x"yes"; then
4610 for ac_func in __signbitl
4612 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4613 echo "configure
:4614: checking
for $ac_func" >&5
4614 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4615 echo $ac_n "(cached
) $ac_c" 1>&6
4617 cat > conftest.$ac_ext <<EOF
4618 #line 4619 "configure
"
4619 #include "confdefs.h
"
4620 /* System header to define __stub macros and hopefully few prototypes,
4621 which can conflict with char $ac_func(); below. */
4623 /* Override any gcc2 internal prototype to avoid an error. */
4624 /* We use char because int might match the return type of a gcc2
4625 builtin and then its argument prototype would still apply. */
4630 /* The GNU C library defines this for functions which it implements
4631 to always fail with ENOSYS. Some functions are actually named
4632 something starting with __ and the normal name is an alias. */
4633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4641 if { (eval echo configure:4642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4643 eval "ac_cv_func_
$ac_func=yes"
4645 echo "configure
: failed program was
:" >&5
4646 cat conftest.$ac_ext >&5
4648 eval "ac_cv_func_
$ac_func=no
"
4653 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4654 echo "$ac_t""yes" 1>&6
4655 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4656 cat >> confdefs.h <<EOF
4657 #define $ac_tr_func 1
4661 echo "$ac_t""no
" 1>&6
4662 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
4668 if test -n "$LIBMATHOBJS"; then
4675 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
4676 echo "configure
:4677: checking
for mbstate_t
" >&5
4677 cat > conftest.$ac_ext <<EOF
4678 #line 4679 "configure
"
4679 #include "confdefs.h
"
4682 mbstate_t teststate;
4685 if { (eval echo configure:4686: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4689 echo "configure
: failed program was
:" >&5
4690 cat conftest.$ac_ext >&5
4695 echo "$ac_t""$have_mbstate_t" 1>&6
4696 if test x"$have_mbstate_t" = xyes; then
4697 cat >> confdefs.h <<\EOF
4698 #define HAVE_MBSTATE_T 1
4703 for ac_hdr in wchar.h
4705 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4706 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4707 echo "configure
:4708: checking
for $ac_hdr" >&5
4708 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4709 echo $ac_n "(cached
) $ac_c" 1>&6
4711 cat > conftest.$ac_ext <<EOF
4712 #line 4713 "configure
"
4713 #include "confdefs.h
"
4716 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4717 { (eval echo configure:4718: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4718 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4719 if test -z "$ac_err"; then
4721 eval "ac_cv_header_
$ac_safe=yes"
4724 echo "configure
: failed program was
:" >&5
4725 cat conftest.$ac_ext >&5
4727 eval "ac_cv_header_
$ac_safe=no
"
4731 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4732 echo "$ac_t""yes" 1>&6
4733 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4734 cat >> confdefs.h <<EOF
4735 #define $ac_tr_hdr 1
4739 echo "$ac_t""no
" 1>&6
4744 for ac_hdr in wctype.h
4746 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4747 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4748 echo "configure
:4749: checking
for $ac_hdr" >&5
4749 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4750 echo $ac_n "(cached
) $ac_c" 1>&6
4752 cat > conftest.$ac_ext <<EOF
4753 #line 4754 "configure
"
4754 #include "confdefs.h
"
4757 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4758 { (eval echo configure:4759: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4759 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4760 if test -z "$ac_err"; then
4762 eval "ac_cv_header_
$ac_safe=yes"
4765 echo "configure
: failed program was
:" >&5
4766 cat conftest.$ac_ext >&5
4768 eval "ac_cv_header_
$ac_safe=no
"
4772 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4773 echo "$ac_t""yes" 1>&6
4774 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4775 cat >> confdefs.h <<EOF
4776 #define $ac_tr_hdr 1
4780 echo "$ac_t""no
" 1>&6
4786 if test x"$ac_has_wchar_h" = xyes &&
4787 test x"$ac_has_wctype_h" = xyes &&
4788 test x"$enable_c_mbchar" != xno; then
4790 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
4791 echo "configure
:4792: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
4792 cat > conftest.$ac_ext <<EOF
4793 #line 4794 "configure
"
4794 #include "confdefs.h
"
4797 int i = WCHAR_MIN; int j = WCHAR_MAX;
4800 if { (eval echo configure:4801: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4802 has_wchar_minmax=yes
4804 echo "configure
: failed program was
:" >&5
4805 cat conftest.$ac_ext >&5
4810 echo "$ac_t""$has_wchar_minmax" 1>&6
4812 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
4813 echo "configure
:4814: checking
for WEOF
" >&5
4814 cat > conftest.$ac_ext <<EOF
4815 #line 4816 "configure
"
4816 #include "confdefs.h
"
4824 if { (eval echo configure:4825: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4828 echo "configure
: failed program was
:" >&5
4829 cat conftest.$ac_ext >&5
4834 echo "$ac_t""$has_weof" 1>&6
4837 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4839 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4840 echo "configure
:4841: checking
for $ac_func" >&5
4841 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4842 echo $ac_n "(cached
) $ac_c" 1>&6
4844 cat > conftest.$ac_ext <<EOF
4845 #line 4846 "configure
"
4846 #include "confdefs.h
"
4847 /* System header to define __stub macros and hopefully few prototypes,
4848 which can conflict with char $ac_func(); below. */
4850 /* Override any gcc2 internal prototype to avoid an error. */
4851 /* We use char because int might match the return type of a gcc2
4852 builtin and then its argument prototype would still apply. */
4857 /* The GNU C library defines this for functions which it implements
4858 to always fail with ENOSYS. Some functions are actually named
4859 something starting with __ and the normal name is an alias. */
4860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4868 if { (eval echo configure:4869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4870 eval "ac_cv_func_
$ac_func=yes"
4872 echo "configure
: failed program was
:" >&5
4873 cat conftest.$ac_ext >&5
4875 eval "ac_cv_func_
$ac_func=no
"
4880 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4881 echo "$ac_t""yes" 1>&6
4882 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4883 cat >> confdefs.h <<EOF
4884 #define $ac_tr_func 1
4888 echo "$ac_t""no
" 1>&6
4895 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
4896 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4897 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4898 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4899 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4900 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4902 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4903 echo "configure
:4904: checking
for $ac_func" >&5
4904 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4905 echo $ac_n "(cached
) $ac_c" 1>&6
4907 cat > conftest.$ac_ext <<EOF
4908 #line 4909 "configure
"
4909 #include "confdefs.h
"
4910 /* System header to define __stub macros and hopefully few prototypes,
4911 which can conflict with char $ac_func(); below. */
4913 /* Override any gcc2 internal prototype to avoid an error. */
4914 /* We use char because int might match the return type of a gcc2
4915 builtin and then its argument prototype would still apply. */
4920 /* The GNU C library defines this for functions which it implements
4921 to always fail with ENOSYS. Some functions are actually named
4922 something starting with __ and the normal name is an alias. */
4923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4931 if { (eval echo configure:4932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4933 eval "ac_cv_func_
$ac_func=yes"
4935 echo "configure
: failed program was
:" >&5
4936 cat conftest.$ac_ext >&5
4938 eval "ac_cv_func_
$ac_func=no
"
4943 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4944 echo "$ac_t""yes" 1>&6
4945 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4946 cat >> confdefs.h <<EOF
4947 #define $ac_tr_func 1
4951 echo "$ac_t""no
" 1>&6
4958 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
4959 echo "configure
:4960: checking
for ISO C99 wchar_t support
" >&5
4960 if test x"$has_weof" = xyes &&
4961 test x"$has_wchar_minmax" = xyes &&
4962 test x"$ac_wfuncs" = xyes; then
4963 ac_isoC99_wchar_t=yes
4965 ac_isoC99_wchar_t=no
4967 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4969 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
4970 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
4971 echo "configure
:4972: checking
for iconv.h
" >&5
4972 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4973 echo $ac_n "(cached
) $ac_c" 1>&6
4975 cat > conftest.$ac_ext <<EOF
4976 #line 4977 "configure
"
4977 #include "confdefs.h
"
4980 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4981 { (eval echo configure:4982: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4982 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4983 if test -z "$ac_err"; then
4985 eval "ac_cv_header_
$ac_safe=yes"
4988 echo "configure
: failed program was
:" >&5
4989 cat conftest.$ac_ext >&5
4991 eval "ac_cv_header_
$ac_safe=no
"
4995 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4996 echo "$ac_t""yes" 1>&6
4999 echo "$ac_t""no
" 1>&6
5003 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
5004 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
5005 echo "configure
:5006: checking
for langinfo.h
" >&5
5006 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5007 echo $ac_n "(cached
) $ac_c" 1>&6
5009 cat > conftest.$ac_ext <<EOF
5010 #line 5011 "configure
"
5011 #include "confdefs.h
"
5012 #include <langinfo.h>
5014 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5015 { (eval echo configure:5016: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5016 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5017 if test -z "$ac_err"; then
5019 eval "ac_cv_header_
$ac_safe=yes"
5022 echo "configure
: failed program was
:" >&5
5023 cat conftest.$ac_ext >&5
5025 eval "ac_cv_header_
$ac_safe=no
"
5029 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5030 echo "$ac_t""yes" 1>&6
5031 ac_has_langinfo_h=yes
5033 echo "$ac_t""no
" 1>&6
5034 ac_has_langinfo_h=no
5038 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
5039 echo "configure
:5040: checking
for iconv in -liconv" >&5
5040 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5041 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5042 echo $ac_n "(cached
) $ac_c" 1>&6
5044 ac_save_LIBS="$LIBS"
5045 LIBS="-liconv $LIBS"
5046 cat > conftest.$ac_ext <<EOF
5047 #line 5048 "configure
"
5048 #include "confdefs.h
"
5049 /* Override any gcc2 internal prototype to avoid an error. */
5050 /* We use char because int might match the return type of a gcc2
5051 builtin and then its argument prototype would still apply. */
5058 if { (eval echo configure:5059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5060 eval "ac_cv_lib_
$ac_lib_var=yes"
5062 echo "configure
: failed program was
:" >&5
5063 cat conftest.$ac_ext >&5
5065 eval "ac_cv_lib_
$ac_lib_var=no
"
5068 LIBS="$ac_save_LIBS"
5071 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5072 echo "$ac_t""yes" 1>&6
5075 echo "$ac_t""no
" 1>&6
5078 ac_save_LIBS="$LIBS"
5079 LIBS="$LIBS $libiconv"
5081 for ac_func in iconv_open iconv_close iconv nl_langinfo
5083 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5084 echo "configure
:5085: checking
for $ac_func" >&5
5085 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5086 echo $ac_n "(cached
) $ac_c" 1>&6
5088 cat > conftest.$ac_ext <<EOF
5089 #line 5090 "configure
"
5090 #include "confdefs.h
"
5091 /* System header to define __stub macros and hopefully few prototypes,
5092 which can conflict with char $ac_func(); below. */
5094 /* Override any gcc2 internal prototype to avoid an error. */
5095 /* We use char because int might match the return type of a gcc2
5096 builtin and then its argument prototype would still apply. */
5101 /* The GNU C library defines this for functions which it implements
5102 to always fail with ENOSYS. Some functions are actually named
5103 something starting with __ and the normal name is an alias. */
5104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5112 if { (eval echo configure:5113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5114 eval "ac_cv_func_
$ac_func=yes"
5116 echo "configure
: failed program was
:" >&5
5117 cat conftest.$ac_ext >&5
5119 eval "ac_cv_func_
$ac_func=no
"
5124 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5125 echo "$ac_t""yes" 1>&6
5126 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5127 cat >> confdefs.h <<EOF
5128 #define $ac_tr_func 1
5133 echo "$ac_t""no
" 1>&6
5139 LIBS="$ac_save_LIBS"
5141 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
5142 echo "configure
:5143: checking
for XPG2 wchar_t support
" >&5
5143 if test x"$ac_has_iconv_h" = xyes &&
5144 test x"$ac_has_langinfo_h" = xyes &&
5145 test x"$ac_XPG2funcs" = xyes; then
5150 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5152 if test x"$ac_isoC99_wchar_t" = xyes &&
5153 test x"$ac_XPG2_wchar_t" = xyes; then
5154 cat >> confdefs.h <<\EOF
5155 #define _GLIBCPP_USE_WCHAR_T 1
5161 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
5162 echo "configure
:5163: checking
for enabled wchar_t specializations
" >&5
5163 echo "$ac_t""$enable_wchar_t" 1>&6
5165 cat >> confdefs.h <<\EOF
5166 #define HAVE_LC_MESSAGES 1
5169 cat >> confdefs.h <<\EOF
5170 #define HAVE_DRAND48 1
5173 cat >> confdefs.h <<\EOF
5174 #define HAVE_GETPAGESIZE 1
5177 cat >> confdefs.h <<\EOF
5178 #define HAVE_SETENV 1
5181 cat >> confdefs.h <<\EOF
5182 #define HAVE_SIGSETJMP 1
5185 cat >> confdefs.h <<\EOF
5186 #define HAVE_COPYSIGN 1
5189 cat >> confdefs.h <<\EOF
5190 #define HAVE_COPYSIGNF 1
5193 cat >> confdefs.h <<\EOF
5194 #define HAVE_FINITEF 1
5197 cat >> confdefs.h <<\EOF
5198 #define HAVE_FINITE 1
5201 cat >> confdefs.h <<\EOF
5202 #define HAVE_FREXPF 1
5205 cat >> confdefs.h <<\EOF
5206 #define HAVE_HYPOT 1
5209 cat >> confdefs.h <<\EOF
5210 #define HAVE_HYPOTF 1
5213 cat >> confdefs.h <<\EOF
5214 #define HAVE_ISINF 1
5217 cat >> confdefs.h <<\EOF
5218 #define HAVE_ISNAN 1
5221 cat >> confdefs.h <<\EOF
5222 #define HAVE_ISNANF 1
5226 cat >> confdefs.h <<\EOF
5230 cat >> confdefs.h <<\EOF
5231 #define HAVE_ACOSF 1
5234 cat >> confdefs.h <<\EOF
5235 #define HAVE_ASINF 1
5238 cat >> confdefs.h <<\EOF
5239 #define HAVE_ATAN2F 1
5242 cat >> confdefs.h <<\EOF
5243 #define HAVE_ATANF 1
5246 cat >> confdefs.h <<\EOF
5247 #define HAVE_CEILF 1
5250 cat >> confdefs.h <<\EOF
5251 #define HAVE_COPYSIGN 1
5254 cat >> confdefs.h <<\EOF
5255 #define HAVE_COPYSIGNF 1
5258 cat >> confdefs.h <<\EOF
5262 cat >> confdefs.h <<\EOF
5263 #define HAVE_COSHF 1
5266 cat >> confdefs.h <<\EOF
5270 cat >> confdefs.h <<\EOF
5271 #define HAVE_FABSF 1
5274 cat >> confdefs.h <<\EOF
5275 #define HAVE_FLOORF 1
5278 cat >> confdefs.h <<\EOF
5279 #define HAVE_FMODF 1
5282 cat >> confdefs.h <<\EOF
5283 #define HAVE_FREXPF 1
5286 cat >> confdefs.h <<\EOF
5287 #define HAVE_LDEXPF 1
5290 cat >> confdefs.h <<\EOF
5291 #define HAVE_LOG10F 1
5294 cat >> confdefs.h <<\EOF
5298 cat >> confdefs.h <<\EOF
5299 #define HAVE_MODFF 1
5302 cat >> confdefs.h <<\EOF
5306 cat >> confdefs.h <<\EOF
5310 cat >> confdefs.h <<\EOF
5311 #define HAVE_SINHF 1
5314 cat >> confdefs.h <<\EOF
5315 #define HAVE_SQRTF 1
5318 cat >> confdefs.h <<\EOF
5322 cat >> confdefs.h <<\EOF
5323 #define HAVE_TANHF 1
5326 if test x"long_double_math_on_this_cpu
" = x"yes"; then
5327 cat >> confdefs.h <<\EOF
5328 #define HAVE_FINITEL 1
5331 cat >> confdefs.h <<\EOF
5332 #define HAVE_ISINFL 1
5335 cat >> confdefs.h <<\EOF
5336 #define HAVE_ISNANL 1
5342 os_include_dir="os
/hpux
"
5343 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5344 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5345 fp.h locale.h float.h inttypes.h
5347 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5348 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5349 echo "configure
:5350: checking
for $ac_hdr" >&5
5350 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5351 echo $ac_n "(cached
) $ac_c" 1>&6
5353 cat > conftest.$ac_ext <<EOF
5354 #line 5355 "configure
"
5355 #include "confdefs.h
"
5358 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5359 { (eval echo configure:5360: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5360 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5361 if test -z "$ac_err"; then
5363 eval "ac_cv_header_
$ac_safe=yes"
5366 echo "configure
: failed program was
:" >&5
5367 cat conftest.$ac_ext >&5
5369 eval "ac_cv_header_
$ac_safe=no
"
5373 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5374 echo "$ac_t""yes" 1>&6
5375 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5376 cat >> confdefs.h <<EOF
5377 #define $ac_tr_hdr 1
5381 echo "$ac_t""no
" 1>&6
5385 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5388 # If we're not using GNU ld, then there's no point in even trying these
5389 # tests. Check for that first. We should have already tested for gld
5390 # by now (in libtool), but require it now just to be safe...
5391 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5392 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5395 # The name set by libtool depends on the version of libtool. Shame on us
5396 # for depending on an impl detail, but c'est la vie. Older versions used
5397 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
5398 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
5399 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
5400 # set (hence we're using an older libtool), then set it.
5401 if test x${with_gnu_ld+set} != xset; then
5402 if test x${ac_cv_prog_gnu_ld+set} != xset; then
5403 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
5406 with_gnu_ld=$ac_cv_prog_gnu_ld
5410 # Start by getting the version number. I think the libtool test already
5411 # does some of this, but throws away the result.
5413 ldver=`$LD --version 2>/dev/null | head -1 | \
5414 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
5416 glibcpp_gnu_ld_version=`echo $ldver | \
5417 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
5419 # Set --gc-sections.
5420 if test "$with_gnu_ld" = "notbroken
"; then
5421 # GNU ld it is! Joy and bunny rabbits!
5423 # All these tests are for C++; save the language and the compiler flags.
5424 # Need to do this so that g++ won't try to link in libstdc++
5425 ac_test_CFLAGS="${CFLAGS+set}"
5426 ac_save_CFLAGS="$CFLAGS"
5427 CFLAGS='-x c++ -Wl,--gc-sections'
5429 # Check for -Wl,--gc-sections
5430 # XXX This test is broken at the moment, as symbols required for
5431 # linking are now in libsupc++ (not built yet.....). In addition,
5432 # this test has cored on solaris in the past. In addition,
5433 # --gc-sections doesn't really work at the moment (keeps on discarding
5434 # used sections, first .eh_frame and now some of the glibc sections for
5435 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5436 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
5437 echo "configure
:5438: checking
for ld that supports
-Wl,--gc-sections" >&5
5438 if test "$cross_compiling" = yes; then
5439 ac_sectionLDflags=yes
5441 cat > conftest.$ac_ext <<EOF
5442 #line 5443 "configure
"
5443 #include "confdefs.h
"
5453 if { (eval echo configure:5454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5455 ac_sectionLDflags=yes
5457 echo "configure
: failed program was
:" >&5
5458 cat conftest.$ac_ext >&5
5460 ac_sectionLDflags=no
5465 if test "$ac_test_CFLAGS" = set; then
5466 CFLAGS="$ac_save_CFLAGS"
5468 # this is the suspicious part
5471 if test "$ac_sectionLDflags" = "yes"; then
5472 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5474 echo "$ac_t""$ac_sectionLDflags" 1>&6
5477 # Set linker optimization flags.
5478 if test x"$with_gnu_ld" = x"yes"; then
5479 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5486 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
5487 echo "configure
:5488: checking
for main
in -lm" >&5
5488 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5489 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5490 echo $ac_n "(cached
) $ac_c" 1>&6
5492 ac_save_LIBS="$LIBS"
5494 cat > conftest.$ac_ext <<EOF
5495 #line 5496 "configure
"
5496 #include "confdefs.h
"
5502 if { (eval echo configure:5503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5504 eval "ac_cv_lib_
$ac_lib_var=yes"
5506 echo "configure
: failed program was
:" >&5
5507 cat conftest.$ac_ext >&5
5509 eval "ac_cv_lib_
$ac_lib_var=no
"
5512 LIBS="$ac_save_LIBS"
5515 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5516 echo "$ac_t""yes" 1>&6
5517 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5518 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5519 cat >> confdefs.h <<EOF
5520 #define $ac_tr_lib 1
5526 echo "$ac_t""no
" 1>&6
5529 for ac_func in nan copysignf
5531 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5532 echo "configure
:5533: checking
for $ac_func" >&5
5533 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5534 echo $ac_n "(cached
) $ac_c" 1>&6
5536 cat > conftest.$ac_ext <<EOF
5537 #line 5538 "configure
"
5538 #include "confdefs.h
"
5539 /* System header to define __stub macros and hopefully few prototypes,
5540 which can conflict with char $ac_func(); below. */
5542 /* Override any gcc2 internal prototype to avoid an error. */
5543 /* We use char because int might match the return type of a gcc2
5544 builtin and then its argument prototype would still apply. */
5549 /* The GNU C library defines this for functions which it implements
5550 to always fail with ENOSYS. Some functions are actually named
5551 something starting with __ and the normal name is an alias. */
5552 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5560 if { (eval echo configure:5561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5562 eval "ac_cv_func_
$ac_func=yes"
5564 echo "configure
: failed program was
:" >&5
5565 cat conftest.$ac_ext >&5
5567 eval "ac_cv_func_
$ac_func=no
"
5572 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5573 echo "$ac_t""yes" 1>&6
5574 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5575 cat >> confdefs.h <<EOF
5576 #define $ac_tr_func 1
5580 echo "$ac_t""no
" 1>&6
5581 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
5586 for ac_func in __signbit
5588 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5589 echo "configure
:5590: checking
for $ac_func" >&5
5590 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5591 echo $ac_n "(cached
) $ac_c" 1>&6
5593 cat > conftest.$ac_ext <<EOF
5594 #line 5595 "configure
"
5595 #include "confdefs.h
"
5596 /* System header to define __stub macros and hopefully few prototypes,
5597 which can conflict with char $ac_func(); below. */
5599 /* Override any gcc2 internal prototype to avoid an error. */
5600 /* We use char because int might match the return type of a gcc2
5601 builtin and then its argument prototype would still apply. */
5606 /* The GNU C library defines this for functions which it implements
5607 to always fail with ENOSYS. Some functions are actually named
5608 something starting with __ and the normal name is an alias. */
5609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5617 if { (eval echo configure:5618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5619 eval "ac_cv_func_
$ac_func=yes"
5621 echo "configure
: failed program was
:" >&5
5622 cat conftest.$ac_ext >&5
5624 eval "ac_cv_func_
$ac_func=no
"
5629 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5630 echo "$ac_t""yes" 1>&6
5631 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5632 cat >> confdefs.h <<EOF
5633 #define $ac_tr_func 1
5637 echo "$ac_t""no
" 1>&6
5638 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
5642 for ac_func in __signbitf
5644 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5645 echo "configure
:5646: checking
for $ac_func" >&5
5646 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5647 echo $ac_n "(cached
) $ac_c" 1>&6
5649 cat > conftest.$ac_ext <<EOF
5650 #line 5651 "configure
"
5651 #include "confdefs.h
"
5652 /* System header to define __stub macros and hopefully few prototypes,
5653 which can conflict with char $ac_func(); below. */
5655 /* Override any gcc2 internal prototype to avoid an error. */
5656 /* We use char because int might match the return type of a gcc2
5657 builtin and then its argument prototype would still apply. */
5662 /* The GNU C library defines this for functions which it implements
5663 to always fail with ENOSYS. Some functions are actually named
5664 something starting with __ and the normal name is an alias. */
5665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5673 if { (eval echo configure:5674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5675 eval "ac_cv_func_
$ac_func=yes"
5677 echo "configure
: failed program was
:" >&5
5678 cat conftest.$ac_ext >&5
5680 eval "ac_cv_func_
$ac_func=no
"
5685 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5686 echo "$ac_t""yes" 1>&6
5687 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5688 cat >> confdefs.h <<EOF
5689 #define $ac_tr_func 1
5693 echo "$ac_t""no
" 1>&6
5694 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
5699 if test x$ac_cv_func_copysignl = x"yes"; then
5700 for ac_func in __signbitl
5702 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5703 echo "configure
:5704: checking
for $ac_func" >&5
5704 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5705 echo $ac_n "(cached
) $ac_c" 1>&6
5707 cat > conftest.$ac_ext <<EOF
5708 #line 5709 "configure
"
5709 #include "confdefs.h
"
5710 /* System header to define __stub macros and hopefully few prototypes,
5711 which can conflict with char $ac_func(); below. */
5713 /* Override any gcc2 internal prototype to avoid an error. */
5714 /* We use char because int might match the return type of a gcc2
5715 builtin and then its argument prototype would still apply. */
5720 /* The GNU C library defines this for functions which it implements
5721 to always fail with ENOSYS. Some functions are actually named
5722 something starting with __ and the normal name is an alias. */
5723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5731 if { (eval echo configure:5732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5733 eval "ac_cv_func_
$ac_func=yes"
5735 echo "configure
: failed program was
:" >&5
5736 cat conftest.$ac_ext >&5
5738 eval "ac_cv_func_
$ac_func=no
"
5743 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5744 echo "$ac_t""yes" 1>&6
5745 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5746 cat >> confdefs.h <<EOF
5747 #define $ac_tr_func 1
5751 echo "$ac_t""no
" 1>&6
5752 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
5758 if test -n "$LIBMATHOBJS"; then
5765 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
5766 echo "configure
:5767: checking
for mbstate_t
" >&5
5767 cat > conftest.$ac_ext <<EOF
5768 #line 5769 "configure
"
5769 #include "confdefs.h
"
5772 mbstate_t teststate;
5775 if { (eval echo configure:5776: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5779 echo "configure
: failed program was
:" >&5
5780 cat conftest.$ac_ext >&5
5785 echo "$ac_t""$have_mbstate_t" 1>&6
5786 if test x"$have_mbstate_t" = xyes; then
5787 cat >> confdefs.h <<\EOF
5788 #define HAVE_MBSTATE_T 1
5793 for ac_hdr in wchar.h
5795 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5796 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5797 echo "configure
:5798: checking
for $ac_hdr" >&5
5798 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5799 echo $ac_n "(cached
) $ac_c" 1>&6
5801 cat > conftest.$ac_ext <<EOF
5802 #line 5803 "configure
"
5803 #include "confdefs.h
"
5806 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5807 { (eval echo configure:5808: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5808 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5809 if test -z "$ac_err"; then
5811 eval "ac_cv_header_
$ac_safe=yes"
5814 echo "configure
: failed program was
:" >&5
5815 cat conftest.$ac_ext >&5
5817 eval "ac_cv_header_
$ac_safe=no
"
5821 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5822 echo "$ac_t""yes" 1>&6
5823 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5824 cat >> confdefs.h <<EOF
5825 #define $ac_tr_hdr 1
5829 echo "$ac_t""no
" 1>&6
5834 for ac_hdr in wctype.h
5836 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5837 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5838 echo "configure
:5839: checking
for $ac_hdr" >&5
5839 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5840 echo $ac_n "(cached
) $ac_c" 1>&6
5842 cat > conftest.$ac_ext <<EOF
5843 #line 5844 "configure
"
5844 #include "confdefs.h
"
5847 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5848 { (eval echo configure:5849: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5849 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5850 if test -z "$ac_err"; then
5852 eval "ac_cv_header_
$ac_safe=yes"
5855 echo "configure
: failed program was
:" >&5
5856 cat conftest.$ac_ext >&5
5858 eval "ac_cv_header_
$ac_safe=no
"
5862 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5863 echo "$ac_t""yes" 1>&6
5864 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5865 cat >> confdefs.h <<EOF
5866 #define $ac_tr_hdr 1
5870 echo "$ac_t""no
" 1>&6
5876 if test x"$ac_has_wchar_h" = xyes &&
5877 test x"$ac_has_wctype_h" = xyes &&
5878 test x"$enable_c_mbchar" != xno; then
5880 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
5881 echo "configure
:5882: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
5882 cat > conftest.$ac_ext <<EOF
5883 #line 5884 "configure
"
5884 #include "confdefs.h
"
5887 int i = WCHAR_MIN; int j = WCHAR_MAX;
5890 if { (eval echo configure:5891: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5892 has_wchar_minmax=yes
5894 echo "configure
: failed program was
:" >&5
5895 cat conftest.$ac_ext >&5
5900 echo "$ac_t""$has_wchar_minmax" 1>&6
5902 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
5903 echo "configure
:5904: checking
for WEOF
" >&5
5904 cat > conftest.$ac_ext <<EOF
5905 #line 5906 "configure
"
5906 #include "confdefs.h
"
5914 if { (eval echo configure:5915: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5918 echo "configure
: failed program was
:" >&5
5919 cat conftest.$ac_ext >&5
5924 echo "$ac_t""$has_weof" 1>&6
5927 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5929 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5930 echo "configure
:5931: checking
for $ac_func" >&5
5931 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5932 echo $ac_n "(cached
) $ac_c" 1>&6
5934 cat > conftest.$ac_ext <<EOF
5935 #line 5936 "configure
"
5936 #include "confdefs.h
"
5937 /* System header to define __stub macros and hopefully few prototypes,
5938 which can conflict with char $ac_func(); below. */
5940 /* Override any gcc2 internal prototype to avoid an error. */
5941 /* We use char because int might match the return type of a gcc2
5942 builtin and then its argument prototype would still apply. */
5947 /* The GNU C library defines this for functions which it implements
5948 to always fail with ENOSYS. Some functions are actually named
5949 something starting with __ and the normal name is an alias. */
5950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5958 if { (eval echo configure:5959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5960 eval "ac_cv_func_
$ac_func=yes"
5962 echo "configure
: failed program was
:" >&5
5963 cat conftest.$ac_ext >&5
5965 eval "ac_cv_func_
$ac_func=no
"
5970 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5971 echo "$ac_t""yes" 1>&6
5972 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5973 cat >> confdefs.h <<EOF
5974 #define $ac_tr_func 1
5978 echo "$ac_t""no
" 1>&6
5985 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
5986 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5987 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5988 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5989 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5990 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5992 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5993 echo "configure
:5994: checking
for $ac_func" >&5
5994 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5995 echo $ac_n "(cached
) $ac_c" 1>&6
5997 cat > conftest.$ac_ext <<EOF
5998 #line 5999 "configure
"
5999 #include "confdefs.h
"
6000 /* System header to define __stub macros and hopefully few prototypes,
6001 which can conflict with char $ac_func(); below. */
6003 /* Override any gcc2 internal prototype to avoid an error. */
6004 /* We use char because int might match the return type of a gcc2
6005 builtin and then its argument prototype would still apply. */
6010 /* The GNU C library defines this for functions which it implements
6011 to always fail with ENOSYS. Some functions are actually named
6012 something starting with __ and the normal name is an alias. */
6013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6021 if { (eval echo configure:6022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6023 eval "ac_cv_func_
$ac_func=yes"
6025 echo "configure
: failed program was
:" >&5
6026 cat conftest.$ac_ext >&5
6028 eval "ac_cv_func_
$ac_func=no
"
6033 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6034 echo "$ac_t""yes" 1>&6
6035 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6036 cat >> confdefs.h <<EOF
6037 #define $ac_tr_func 1
6041 echo "$ac_t""no
" 1>&6
6048 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
6049 echo "configure
:6050: checking
for ISO C99 wchar_t support
" >&5
6050 if test x"$has_weof" = xyes &&
6051 test x"$has_wchar_minmax" = xyes &&
6052 test x"$ac_wfuncs" = xyes; then
6053 ac_isoC99_wchar_t=yes
6055 ac_isoC99_wchar_t=no
6057 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6059 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
6060 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
6061 echo "configure
:6062: checking
for iconv.h
" >&5
6062 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6063 echo $ac_n "(cached
) $ac_c" 1>&6
6065 cat > conftest.$ac_ext <<EOF
6066 #line 6067 "configure
"
6067 #include "confdefs.h
"
6070 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6071 { (eval echo configure:6072: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6072 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6073 if test -z "$ac_err"; then
6075 eval "ac_cv_header_
$ac_safe=yes"
6078 echo "configure
: failed program was
:" >&5
6079 cat conftest.$ac_ext >&5
6081 eval "ac_cv_header_
$ac_safe=no
"
6085 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6086 echo "$ac_t""yes" 1>&6
6089 echo "$ac_t""no
" 1>&6
6093 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
6094 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
6095 echo "configure
:6096: checking
for langinfo.h
" >&5
6096 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6097 echo $ac_n "(cached
) $ac_c" 1>&6
6099 cat > conftest.$ac_ext <<EOF
6100 #line 6101 "configure
"
6101 #include "confdefs.h
"
6102 #include <langinfo.h>
6104 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6105 { (eval echo configure:6106: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6106 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6107 if test -z "$ac_err"; then
6109 eval "ac_cv_header_
$ac_safe=yes"
6112 echo "configure
: failed program was
:" >&5
6113 cat conftest.$ac_ext >&5
6115 eval "ac_cv_header_
$ac_safe=no
"
6119 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6120 echo "$ac_t""yes" 1>&6
6121 ac_has_langinfo_h=yes
6123 echo "$ac_t""no
" 1>&6
6124 ac_has_langinfo_h=no
6128 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
6129 echo "configure
:6130: checking
for iconv in -liconv" >&5
6130 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6131 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6132 echo $ac_n "(cached
) $ac_c" 1>&6
6134 ac_save_LIBS="$LIBS"
6135 LIBS="-liconv $LIBS"
6136 cat > conftest.$ac_ext <<EOF
6137 #line 6138 "configure
"
6138 #include "confdefs.h
"
6139 /* Override any gcc2 internal prototype to avoid an error. */
6140 /* We use char because int might match the return type of a gcc2
6141 builtin and then its argument prototype would still apply. */
6148 if { (eval echo configure:6149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6150 eval "ac_cv_lib_
$ac_lib_var=yes"
6152 echo "configure
: failed program was
:" >&5
6153 cat conftest.$ac_ext >&5
6155 eval "ac_cv_lib_
$ac_lib_var=no
"
6158 LIBS="$ac_save_LIBS"
6161 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6162 echo "$ac_t""yes" 1>&6
6165 echo "$ac_t""no
" 1>&6
6168 ac_save_LIBS="$LIBS"
6169 LIBS="$LIBS $libiconv"
6171 for ac_func in iconv_open iconv_close iconv nl_langinfo
6173 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6174 echo "configure
:6175: checking
for $ac_func" >&5
6175 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6176 echo $ac_n "(cached
) $ac_c" 1>&6
6178 cat > conftest.$ac_ext <<EOF
6179 #line 6180 "configure
"
6180 #include "confdefs.h
"
6181 /* System header to define __stub macros and hopefully few prototypes,
6182 which can conflict with char $ac_func(); below. */
6184 /* Override any gcc2 internal prototype to avoid an error. */
6185 /* We use char because int might match the return type of a gcc2
6186 builtin and then its argument prototype would still apply. */
6191 /* The GNU C library defines this for functions which it implements
6192 to always fail with ENOSYS. Some functions are actually named
6193 something starting with __ and the normal name is an alias. */
6194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6202 if { (eval echo configure:6203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6204 eval "ac_cv_func_
$ac_func=yes"
6206 echo "configure
: failed program was
:" >&5
6207 cat conftest.$ac_ext >&5
6209 eval "ac_cv_func_
$ac_func=no
"
6214 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6215 echo "$ac_t""yes" 1>&6
6216 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6217 cat >> confdefs.h <<EOF
6218 #define $ac_tr_func 1
6223 echo "$ac_t""no
" 1>&6
6229 LIBS="$ac_save_LIBS"
6231 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
6232 echo "configure
:6233: checking
for XPG2 wchar_t support
" >&5
6233 if test x"$ac_has_iconv_h" = xyes &&
6234 test x"$ac_has_langinfo_h" = xyes &&
6235 test x"$ac_XPG2funcs" = xyes; then
6240 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6242 if test x"$ac_isoC99_wchar_t" = xyes &&
6243 test x"$ac_XPG2_wchar_t" = xyes; then
6244 cat >> confdefs.h <<\EOF
6245 #define _GLIBCPP_USE_WCHAR_T 1
6251 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
6252 echo "configure
:6253: checking
for enabled wchar_t specializations
" >&5
6253 echo "$ac_t""$enable_wchar_t" 1>&6
6255 cat >> confdefs.h <<\EOF
6256 #define HAVE_COPYSIGN 1
6259 cat >> confdefs.h <<\EOF
6260 #define HAVE_COPYSIGNF 1
6263 cat >> confdefs.h <<\EOF
6264 #define HAVE_FREXPF 1
6267 cat >> confdefs.h <<\EOF
6268 #define HAVE_HYPOT 1
6273 cat >> confdefs.h <<\EOF
6274 #define HAVE_FINITE 1
6277 cat >> confdefs.h <<\EOF
6278 #define HAVE_FINITEF 1
6281 cat >> confdefs.h <<\EOF
6282 #define HAVE_ISINF 1
6285 cat >> confdefs.h <<\EOF
6286 #define HAVE_ISINFF 1
6289 cat >> confdefs.h <<\EOF
6290 #define HAVE_ISNAN 1
6293 cat >> confdefs.h <<\EOF
6294 #define HAVE_ISNANF 1
6301 os_include_dir="os
/gnu-linux
"
6302 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
6303 machine/endian.h machine/param.h sys/machine.h sys/types.h \
6304 fp.h locale.h float.h inttypes.h
6306 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6307 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6308 echo "configure
:6309: checking
for $ac_hdr" >&5
6309 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6310 echo $ac_n "(cached
) $ac_c" 1>&6
6312 cat > conftest.$ac_ext <<EOF
6313 #line 6314 "configure
"
6314 #include "confdefs.h
"
6317 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6318 { (eval echo configure:6319: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6319 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6320 if test -z "$ac_err"; then
6322 eval "ac_cv_header_
$ac_safe=yes"
6325 echo "configure
: failed program was
:" >&5
6326 cat conftest.$ac_ext >&5
6328 eval "ac_cv_header_
$ac_safe=no
"
6332 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6333 echo "$ac_t""yes" 1>&6
6334 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6335 cat >> confdefs.h <<EOF
6336 #define $ac_tr_hdr 1
6340 echo "$ac_t""no
" 1>&6
6344 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6347 # If we're not using GNU ld, then there's no point in even trying these
6348 # tests. Check for that first. We should have already tested for gld
6349 # by now (in libtool), but require it now just to be safe...
6350 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6351 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6354 # The name set by libtool depends on the version of libtool. Shame on us
6355 # for depending on an impl detail, but c'est la vie. Older versions used
6356 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6357 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6358 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6359 # set (hence we're using an older libtool), then set it.
6360 if test x${with_gnu_ld+set} != xset; then
6361 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6362 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
6365 with_gnu_ld=$ac_cv_prog_gnu_ld
6369 # Start by getting the version number. I think the libtool test already
6370 # does some of this, but throws away the result.
6372 ldver=`$LD --version 2>/dev/null | head -1 | \
6373 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6375 glibcpp_gnu_ld_version=`echo $ldver | \
6376 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6378 # Set --gc-sections.
6379 if test "$with_gnu_ld" = "notbroken
"; then
6380 # GNU ld it is! Joy and bunny rabbits!
6382 # All these tests are for C++; save the language and the compiler flags.
6383 # Need to do this so that g++ won't try to link in libstdc++
6384 ac_test_CFLAGS="${CFLAGS+set}"
6385 ac_save_CFLAGS="$CFLAGS"
6386 CFLAGS='-x c++ -Wl,--gc-sections'
6388 # Check for -Wl,--gc-sections
6389 # XXX This test is broken at the moment, as symbols required for
6390 # linking are now in libsupc++ (not built yet.....). In addition,
6391 # this test has cored on solaris in the past. In addition,
6392 # --gc-sections doesn't really work at the moment (keeps on discarding
6393 # used sections, first .eh_frame and now some of the glibc sections for
6394 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6395 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
6396 echo "configure
:6397: checking
for ld that supports
-Wl,--gc-sections" >&5
6397 if test "$cross_compiling" = yes; then
6398 ac_sectionLDflags=yes
6400 cat > conftest.$ac_ext <<EOF
6401 #line 6402 "configure
"
6402 #include "confdefs.h
"
6412 if { (eval echo configure:6413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6414 ac_sectionLDflags=yes
6416 echo "configure
: failed program was
:" >&5
6417 cat conftest.$ac_ext >&5
6419 ac_sectionLDflags=no
6424 if test "$ac_test_CFLAGS" = set; then
6425 CFLAGS="$ac_save_CFLAGS"
6427 # this is the suspicious part
6430 if test "$ac_sectionLDflags" = "yes"; then
6431 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6433 echo "$ac_t""$ac_sectionLDflags" 1>&6
6436 # Set linker optimization flags.
6437 if test x"$with_gnu_ld" = x"yes"; then
6438 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6445 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
6446 echo "configure
:6447: checking
for main
in -lm" >&5
6447 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
6448 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6449 echo $ac_n "(cached
) $ac_c" 1>&6
6451 ac_save_LIBS="$LIBS"
6453 cat > conftest.$ac_ext <<EOF
6454 #line 6455 "configure
"
6455 #include "confdefs.h
"
6461 if { (eval echo configure:6462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6463 eval "ac_cv_lib_
$ac_lib_var=yes"
6465 echo "configure
: failed program was
:" >&5
6466 cat conftest.$ac_ext >&5
6468 eval "ac_cv_lib_
$ac_lib_var=no
"
6471 LIBS="$ac_save_LIBS"
6474 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6475 echo "$ac_t""yes" 1>&6
6476 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6477 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6478 cat >> confdefs.h <<EOF
6479 #define $ac_tr_lib 1
6485 echo "$ac_t""no
" 1>&6
6488 for ac_func in nan copysignf
6490 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6491 echo "configure
:6492: checking
for $ac_func" >&5
6492 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6493 echo $ac_n "(cached
) $ac_c" 1>&6
6495 cat > conftest.$ac_ext <<EOF
6496 #line 6497 "configure
"
6497 #include "confdefs.h
"
6498 /* System header to define __stub macros and hopefully few prototypes,
6499 which can conflict with char $ac_func(); below. */
6501 /* Override any gcc2 internal prototype to avoid an error. */
6502 /* We use char because int might match the return type of a gcc2
6503 builtin and then its argument prototype would still apply. */
6508 /* The GNU C library defines this for functions which it implements
6509 to always fail with ENOSYS. Some functions are actually named
6510 something starting with __ and the normal name is an alias. */
6511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6519 if { (eval echo configure:6520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6521 eval "ac_cv_func_
$ac_func=yes"
6523 echo "configure
: failed program was
:" >&5
6524 cat conftest.$ac_ext >&5
6526 eval "ac_cv_func_
$ac_func=no
"
6531 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6532 echo "$ac_t""yes" 1>&6
6533 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6534 cat >> confdefs.h <<EOF
6535 #define $ac_tr_func 1
6539 echo "$ac_t""no
" 1>&6
6540 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
6545 for ac_func in __signbit
6547 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6548 echo "configure
:6549: checking
for $ac_func" >&5
6549 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6550 echo $ac_n "(cached
) $ac_c" 1>&6
6552 cat > conftest.$ac_ext <<EOF
6553 #line 6554 "configure
"
6554 #include "confdefs.h
"
6555 /* System header to define __stub macros and hopefully few prototypes,
6556 which can conflict with char $ac_func(); below. */
6558 /* Override any gcc2 internal prototype to avoid an error. */
6559 /* We use char because int might match the return type of a gcc2
6560 builtin and then its argument prototype would still apply. */
6565 /* The GNU C library defines this for functions which it implements
6566 to always fail with ENOSYS. Some functions are actually named
6567 something starting with __ and the normal name is an alias. */
6568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6576 if { (eval echo configure:6577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6578 eval "ac_cv_func_
$ac_func=yes"
6580 echo "configure
: failed program was
:" >&5
6581 cat conftest.$ac_ext >&5
6583 eval "ac_cv_func_
$ac_func=no
"
6588 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6589 echo "$ac_t""yes" 1>&6
6590 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6591 cat >> confdefs.h <<EOF
6592 #define $ac_tr_func 1
6596 echo "$ac_t""no
" 1>&6
6597 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
6601 for ac_func in __signbitf
6603 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6604 echo "configure
:6605: checking
for $ac_func" >&5
6605 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6606 echo $ac_n "(cached
) $ac_c" 1>&6
6608 cat > conftest.$ac_ext <<EOF
6609 #line 6610 "configure
"
6610 #include "confdefs.h
"
6611 /* System header to define __stub macros and hopefully few prototypes,
6612 which can conflict with char $ac_func(); below. */
6614 /* Override any gcc2 internal prototype to avoid an error. */
6615 /* We use char because int might match the return type of a gcc2
6616 builtin and then its argument prototype would still apply. */
6621 /* The GNU C library defines this for functions which it implements
6622 to always fail with ENOSYS. Some functions are actually named
6623 something starting with __ and the normal name is an alias. */
6624 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6632 if { (eval echo configure:6633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6634 eval "ac_cv_func_
$ac_func=yes"
6636 echo "configure
: failed program was
:" >&5
6637 cat conftest.$ac_ext >&5
6639 eval "ac_cv_func_
$ac_func=no
"
6644 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6645 echo "$ac_t""yes" 1>&6
6646 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6647 cat >> confdefs.h <<EOF
6648 #define $ac_tr_func 1
6652 echo "$ac_t""no
" 1>&6
6653 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
6658 if test x$ac_cv_func_copysignl = x"yes"; then
6659 for ac_func in __signbitl
6661 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6662 echo "configure
:6663: checking
for $ac_func" >&5
6663 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6664 echo $ac_n "(cached
) $ac_c" 1>&6
6666 cat > conftest.$ac_ext <<EOF
6667 #line 6668 "configure
"
6668 #include "confdefs.h
"
6669 /* System header to define __stub macros and hopefully few prototypes,
6670 which can conflict with char $ac_func(); below. */
6672 /* Override any gcc2 internal prototype to avoid an error. */
6673 /* We use char because int might match the return type of a gcc2
6674 builtin and then its argument prototype would still apply. */
6679 /* The GNU C library defines this for functions which it implements
6680 to always fail with ENOSYS. Some functions are actually named
6681 something starting with __ and the normal name is an alias. */
6682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6690 if { (eval echo configure:6691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6692 eval "ac_cv_func_
$ac_func=yes"
6694 echo "configure
: failed program was
:" >&5
6695 cat conftest.$ac_ext >&5
6697 eval "ac_cv_func_
$ac_func=no
"
6702 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6703 echo "$ac_t""yes" 1>&6
6704 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6705 cat >> confdefs.h <<EOF
6706 #define $ac_tr_func 1
6710 echo "$ac_t""no
" 1>&6
6711 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
6717 if test -n "$LIBMATHOBJS"; then
6724 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
6725 echo "configure
:6726: checking
for mbstate_t
" >&5
6726 cat > conftest.$ac_ext <<EOF
6727 #line 6728 "configure
"
6728 #include "confdefs.h
"
6731 mbstate_t teststate;
6734 if { (eval echo configure:6735: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6738 echo "configure
: failed program was
:" >&5
6739 cat conftest.$ac_ext >&5
6744 echo "$ac_t""$have_mbstate_t" 1>&6
6745 if test x"$have_mbstate_t" = xyes; then
6746 cat >> confdefs.h <<\EOF
6747 #define HAVE_MBSTATE_T 1
6752 for ac_hdr in wchar.h
6754 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6755 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6756 echo "configure
:6757: checking
for $ac_hdr" >&5
6757 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6758 echo $ac_n "(cached
) $ac_c" 1>&6
6760 cat > conftest.$ac_ext <<EOF
6761 #line 6762 "configure
"
6762 #include "confdefs.h
"
6765 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6766 { (eval echo configure:6767: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6767 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6768 if test -z "$ac_err"; then
6770 eval "ac_cv_header_
$ac_safe=yes"
6773 echo "configure
: failed program was
:" >&5
6774 cat conftest.$ac_ext >&5
6776 eval "ac_cv_header_
$ac_safe=no
"
6780 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6781 echo "$ac_t""yes" 1>&6
6782 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6783 cat >> confdefs.h <<EOF
6784 #define $ac_tr_hdr 1
6788 echo "$ac_t""no
" 1>&6
6793 for ac_hdr in wctype.h
6795 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6796 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6797 echo "configure
:6798: checking
for $ac_hdr" >&5
6798 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6799 echo $ac_n "(cached
) $ac_c" 1>&6
6801 cat > conftest.$ac_ext <<EOF
6802 #line 6803 "configure
"
6803 #include "confdefs.h
"
6806 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6807 { (eval echo configure:6808: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6808 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6809 if test -z "$ac_err"; then
6811 eval "ac_cv_header_
$ac_safe=yes"
6814 echo "configure
: failed program was
:" >&5
6815 cat conftest.$ac_ext >&5
6817 eval "ac_cv_header_
$ac_safe=no
"
6821 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6822 echo "$ac_t""yes" 1>&6
6823 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6824 cat >> confdefs.h <<EOF
6825 #define $ac_tr_hdr 1
6829 echo "$ac_t""no
" 1>&6
6835 if test x"$ac_has_wchar_h" = xyes &&
6836 test x"$ac_has_wctype_h" = xyes &&
6837 test x"$enable_c_mbchar" != xno; then
6839 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
6840 echo "configure
:6841: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
6841 cat > conftest.$ac_ext <<EOF
6842 #line 6843 "configure
"
6843 #include "confdefs.h
"
6846 int i = WCHAR_MIN; int j = WCHAR_MAX;
6849 if { (eval echo configure:6850: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6851 has_wchar_minmax=yes
6853 echo "configure
: failed program was
:" >&5
6854 cat conftest.$ac_ext >&5
6859 echo "$ac_t""$has_wchar_minmax" 1>&6
6861 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
6862 echo "configure
:6863: checking
for WEOF
" >&5
6863 cat > conftest.$ac_ext <<EOF
6864 #line 6865 "configure
"
6865 #include "confdefs.h
"
6873 if { (eval echo configure:6874: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6877 echo "configure
: failed program was
:" >&5
6878 cat conftest.$ac_ext >&5
6883 echo "$ac_t""$has_weof" 1>&6
6886 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6888 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6889 echo "configure
:6890: checking
for $ac_func" >&5
6890 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6891 echo $ac_n "(cached
) $ac_c" 1>&6
6893 cat > conftest.$ac_ext <<EOF
6894 #line 6895 "configure
"
6895 #include "confdefs.h
"
6896 /* System header to define __stub macros and hopefully few prototypes,
6897 which can conflict with char $ac_func(); below. */
6899 /* Override any gcc2 internal prototype to avoid an error. */
6900 /* We use char because int might match the return type of a gcc2
6901 builtin and then its argument prototype would still apply. */
6906 /* The GNU C library defines this for functions which it implements
6907 to always fail with ENOSYS. Some functions are actually named
6908 something starting with __ and the normal name is an alias. */
6909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6917 if { (eval echo configure:6918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6919 eval "ac_cv_func_
$ac_func=yes"
6921 echo "configure
: failed program was
:" >&5
6922 cat conftest.$ac_ext >&5
6924 eval "ac_cv_func_
$ac_func=no
"
6929 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6930 echo "$ac_t""yes" 1>&6
6931 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6932 cat >> confdefs.h <<EOF
6933 #define $ac_tr_func 1
6937 echo "$ac_t""no
" 1>&6
6944 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
6945 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6946 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6947 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6948 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6949 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6951 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6952 echo "configure
:6953: checking
for $ac_func" >&5
6953 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6954 echo $ac_n "(cached
) $ac_c" 1>&6
6956 cat > conftest.$ac_ext <<EOF
6957 #line 6958 "configure
"
6958 #include "confdefs.h
"
6959 /* System header to define __stub macros and hopefully few prototypes,
6960 which can conflict with char $ac_func(); below. */
6962 /* Override any gcc2 internal prototype to avoid an error. */
6963 /* We use char because int might match the return type of a gcc2
6964 builtin and then its argument prototype would still apply. */
6969 /* The GNU C library defines this for functions which it implements
6970 to always fail with ENOSYS. Some functions are actually named
6971 something starting with __ and the normal name is an alias. */
6972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6980 if { (eval echo configure:6981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6982 eval "ac_cv_func_
$ac_func=yes"
6984 echo "configure
: failed program was
:" >&5
6985 cat conftest.$ac_ext >&5
6987 eval "ac_cv_func_
$ac_func=no
"
6992 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6993 echo "$ac_t""yes" 1>&6
6994 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6995 cat >> confdefs.h <<EOF
6996 #define $ac_tr_func 1
7000 echo "$ac_t""no
" 1>&6
7007 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
7008 echo "configure
:7009: checking
for ISO C99 wchar_t support
" >&5
7009 if test x"$has_weof" = xyes &&
7010 test x"$has_wchar_minmax" = xyes &&
7011 test x"$ac_wfuncs" = xyes; then
7012 ac_isoC99_wchar_t=yes
7014 ac_isoC99_wchar_t=no
7016 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7018 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
7019 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
7020 echo "configure
:7021: checking
for iconv.h
" >&5
7021 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7022 echo $ac_n "(cached
) $ac_c" 1>&6
7024 cat > conftest.$ac_ext <<EOF
7025 #line 7026 "configure
"
7026 #include "confdefs.h
"
7029 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7030 { (eval echo configure:7031: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7031 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7032 if test -z "$ac_err"; then
7034 eval "ac_cv_header_
$ac_safe=yes"
7037 echo "configure
: failed program was
:" >&5
7038 cat conftest.$ac_ext >&5
7040 eval "ac_cv_header_
$ac_safe=no
"
7044 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7045 echo "$ac_t""yes" 1>&6
7048 echo "$ac_t""no
" 1>&6
7052 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
7053 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
7054 echo "configure
:7055: checking
for langinfo.h
" >&5
7055 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7056 echo $ac_n "(cached
) $ac_c" 1>&6
7058 cat > conftest.$ac_ext <<EOF
7059 #line 7060 "configure
"
7060 #include "confdefs.h
"
7061 #include <langinfo.h>
7063 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7064 { (eval echo configure:7065: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7065 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7066 if test -z "$ac_err"; then
7068 eval "ac_cv_header_
$ac_safe=yes"
7071 echo "configure
: failed program was
:" >&5
7072 cat conftest.$ac_ext >&5
7074 eval "ac_cv_header_
$ac_safe=no
"
7078 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7079 echo "$ac_t""yes" 1>&6
7080 ac_has_langinfo_h=yes
7082 echo "$ac_t""no
" 1>&6
7083 ac_has_langinfo_h=no
7087 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
7088 echo "configure
:7089: checking
for iconv in -liconv" >&5
7089 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
7090 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7091 echo $ac_n "(cached
) $ac_c" 1>&6
7093 ac_save_LIBS="$LIBS"
7094 LIBS="-liconv $LIBS"
7095 cat > conftest.$ac_ext <<EOF
7096 #line 7097 "configure
"
7097 #include "confdefs.h
"
7098 /* Override any gcc2 internal prototype to avoid an error. */
7099 /* We use char because int might match the return type of a gcc2
7100 builtin and then its argument prototype would still apply. */
7107 if { (eval echo configure:7108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7109 eval "ac_cv_lib_
$ac_lib_var=yes"
7111 echo "configure
: failed program was
:" >&5
7112 cat conftest.$ac_ext >&5
7114 eval "ac_cv_lib_
$ac_lib_var=no
"
7117 LIBS="$ac_save_LIBS"
7120 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7121 echo "$ac_t""yes" 1>&6
7124 echo "$ac_t""no
" 1>&6
7127 ac_save_LIBS="$LIBS"
7128 LIBS="$LIBS $libiconv"
7130 for ac_func in iconv_open iconv_close iconv nl_langinfo
7132 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7133 echo "configure
:7134: checking
for $ac_func" >&5
7134 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7135 echo $ac_n "(cached
) $ac_c" 1>&6
7137 cat > conftest.$ac_ext <<EOF
7138 #line 7139 "configure
"
7139 #include "confdefs.h
"
7140 /* System header to define __stub macros and hopefully few prototypes,
7141 which can conflict with char $ac_func(); below. */
7143 /* Override any gcc2 internal prototype to avoid an error. */
7144 /* We use char because int might match the return type of a gcc2
7145 builtin and then its argument prototype would still apply. */
7150 /* The GNU C library defines this for functions which it implements
7151 to always fail with ENOSYS. Some functions are actually named
7152 something starting with __ and the normal name is an alias. */
7153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7161 if { (eval echo configure:7162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7163 eval "ac_cv_func_
$ac_func=yes"
7165 echo "configure
: failed program was
:" >&5
7166 cat conftest.$ac_ext >&5
7168 eval "ac_cv_func_
$ac_func=no
"
7173 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7174 echo "$ac_t""yes" 1>&6
7175 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7176 cat >> confdefs.h <<EOF
7177 #define $ac_tr_func 1
7182 echo "$ac_t""no
" 1>&6
7188 LIBS="$ac_save_LIBS"
7190 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
7191 echo "configure
:7192: checking
for XPG2 wchar_t support
" >&5
7192 if test x"$ac_has_iconv_h" = xyes &&
7193 test x"$ac_has_langinfo_h" = xyes &&
7194 test x"$ac_XPG2funcs" = xyes; then
7199 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
7201 if test x"$ac_isoC99_wchar_t" = xyes &&
7202 test x"$ac_XPG2_wchar_t" = xyes; then
7203 cat >> confdefs.h <<\EOF
7204 #define _GLIBCPP_USE_WCHAR_T 1
7210 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
7211 echo "configure
:7212: checking
for enabled wchar_t specializations
" >&5
7212 echo "$ac_t""$enable_wchar_t" 1>&6
7214 cat >> confdefs.h <<\EOF
7215 #define HAVE_COPYSIGN 1
7218 cat >> confdefs.h <<\EOF
7219 #define HAVE_COPYSIGNF 1
7222 cat >> confdefs.h <<\EOF
7223 #define HAVE_FINITE 1
7226 cat >> confdefs.h <<\EOF
7227 #define HAVE_FINITEF 1
7230 cat >> confdefs.h <<\EOF
7231 #define HAVE_FREXPF 1
7234 cat >> confdefs.h <<\EOF
7235 #define HAVE_HYPOTF 1
7238 cat >> confdefs.h <<\EOF
7239 #define HAVE_ISINF 1
7242 cat >> confdefs.h <<\EOF
7243 #define HAVE_ISINFF 1
7246 cat >> confdefs.h <<\EOF
7247 #define HAVE_ISNAN 1
7250 cat >> confdefs.h <<\EOF
7251 #define HAVE_ISNANF 1
7254 cat >> confdefs.h <<\EOF
7255 #define HAVE_SINCOS 1
7258 cat >> confdefs.h <<\EOF
7259 #define HAVE_SINCOSF 1
7262 if test x"long_double_math_on_this_cpu
" = x"yes"; then
7263 cat >> confdefs.h <<\EOF
7264 #define HAVE_FINITEL 1
7267 cat >> confdefs.h <<\EOF
7268 #define HAVE_HYPOTL 1
7271 cat >> confdefs.h <<\EOF
7272 #define HAVE_ISINFL 1
7275 cat >> confdefs.h <<\EOF
7276 #define HAVE_ISNANL 1
7282 os_include_dir="os
/mingw32
"
7283 for ac_hdr in sys/types.h locale.h float.h
7285 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7286 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
7287 echo "configure
:7288: checking
for $ac_hdr" >&5
7288 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7289 echo $ac_n "(cached
) $ac_c" 1>&6
7291 cat > conftest.$ac_ext <<EOF
7292 #line 7293 "configure
"
7293 #include "confdefs.h
"
7296 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7297 { (eval echo configure:7298: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7298 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7299 if test -z "$ac_err"; then
7301 eval "ac_cv_header_
$ac_safe=yes"
7304 echo "configure
: failed program was
:" >&5
7305 cat conftest.$ac_ext >&5
7307 eval "ac_cv_header_
$ac_safe=no
"
7311 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7312 echo "$ac_t""yes" 1>&6
7313 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7314 cat >> confdefs.h <<EOF
7315 #define $ac_tr_hdr 1
7319 echo "$ac_t""no
" 1>&6
7324 # If we're not using GNU ld, then there's no point in even trying these
7325 # tests. Check for that first. We should have already tested for gld
7326 # by now (in libtool), but require it now just to be safe...
7327 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7328 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7331 # The name set by libtool depends on the version of libtool. Shame on us
7332 # for depending on an impl detail, but c'est la vie. Older versions used
7333 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7334 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7335 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7336 # set (hence we're using an older libtool), then set it.
7337 if test x${with_gnu_ld+set} != xset; then
7338 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7339 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
7342 with_gnu_ld=$ac_cv_prog_gnu_ld
7346 # Start by getting the version number. I think the libtool test already
7347 # does some of this, but throws away the result.
7349 ldver=`$LD --version 2>/dev/null | head -1 | \
7350 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7352 glibcpp_gnu_ld_version=`echo $ldver | \
7353 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7355 # Set --gc-sections.
7356 if test "$with_gnu_ld" = "notbroken
"; then
7357 # GNU ld it is! Joy and bunny rabbits!
7359 # All these tests are for C++; save the language and the compiler flags.
7360 # Need to do this so that g++ won't try to link in libstdc++
7361 ac_test_CFLAGS="${CFLAGS+set}"
7362 ac_save_CFLAGS="$CFLAGS"
7363 CFLAGS='-x c++ -Wl,--gc-sections'
7365 # Check for -Wl,--gc-sections
7366 # XXX This test is broken at the moment, as symbols required for
7367 # linking are now in libsupc++ (not built yet.....). In addition,
7368 # this test has cored on solaris in the past. In addition,
7369 # --gc-sections doesn't really work at the moment (keeps on discarding
7370 # used sections, first .eh_frame and now some of the glibc sections for
7371 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7372 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
7373 echo "configure
:7374: checking
for ld that supports
-Wl,--gc-sections" >&5
7374 if test "$cross_compiling" = yes; then
7375 ac_sectionLDflags=yes
7377 cat > conftest.$ac_ext <<EOF
7378 #line 7379 "configure
"
7379 #include "confdefs.h
"
7389 if { (eval echo configure:7390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7391 ac_sectionLDflags=yes
7393 echo "configure
: failed program was
:" >&5
7394 cat conftest.$ac_ext >&5
7396 ac_sectionLDflags=no
7401 if test "$ac_test_CFLAGS" = set; then
7402 CFLAGS="$ac_save_CFLAGS"
7404 # this is the suspicious part
7407 if test "$ac_sectionLDflags" = "yes"; then
7408 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7410 echo "$ac_t""$ac_sectionLDflags" 1>&6
7413 # Set linker optimization flags.
7414 if test x"$with_gnu_ld" = x"yes"; then
7415 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7422 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
7423 echo "configure
:7424: checking
for main
in -lm" >&5
7424 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
7425 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7426 echo $ac_n "(cached
) $ac_c" 1>&6
7428 ac_save_LIBS="$LIBS"
7430 cat > conftest.$ac_ext <<EOF
7431 #line 7432 "configure
"
7432 #include "confdefs.h
"
7438 if { (eval echo configure:7439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7440 eval "ac_cv_lib_
$ac_lib_var=yes"
7442 echo "configure
: failed program was
:" >&5
7443 cat conftest.$ac_ext >&5
7445 eval "ac_cv_lib_
$ac_lib_var=no
"
7448 LIBS="$ac_save_LIBS"
7451 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7452 echo "$ac_t""yes" 1>&6
7453 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7454 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7455 cat >> confdefs.h <<EOF
7456 #define $ac_tr_lib 1
7462 echo "$ac_t""no
" 1>&6
7465 for ac_func in nan copysignf
7467 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7468 echo "configure
:7469: checking
for $ac_func" >&5
7469 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7470 echo $ac_n "(cached
) $ac_c" 1>&6
7472 cat > conftest.$ac_ext <<EOF
7473 #line 7474 "configure
"
7474 #include "confdefs.h
"
7475 /* System header to define __stub macros and hopefully few prototypes,
7476 which can conflict with char $ac_func(); below. */
7478 /* Override any gcc2 internal prototype to avoid an error. */
7479 /* We use char because int might match the return type of a gcc2
7480 builtin and then its argument prototype would still apply. */
7485 /* The GNU C library defines this for functions which it implements
7486 to always fail with ENOSYS. Some functions are actually named
7487 something starting with __ and the normal name is an alias. */
7488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7496 if { (eval echo configure:7497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7498 eval "ac_cv_func_
$ac_func=yes"
7500 echo "configure
: failed program was
:" >&5
7501 cat conftest.$ac_ext >&5
7503 eval "ac_cv_func_
$ac_func=no
"
7508 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7509 echo "$ac_t""yes" 1>&6
7510 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7511 cat >> confdefs.h <<EOF
7512 #define $ac_tr_func 1
7516 echo "$ac_t""no
" 1>&6
7517 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
7522 for ac_func in __signbit
7524 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7525 echo "configure
:7526: checking
for $ac_func" >&5
7526 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7527 echo $ac_n "(cached
) $ac_c" 1>&6
7529 cat > conftest.$ac_ext <<EOF
7530 #line 7531 "configure
"
7531 #include "confdefs.h
"
7532 /* System header to define __stub macros and hopefully few prototypes,
7533 which can conflict with char $ac_func(); below. */
7535 /* Override any gcc2 internal prototype to avoid an error. */
7536 /* We use char because int might match the return type of a gcc2
7537 builtin and then its argument prototype would still apply. */
7542 /* The GNU C library defines this for functions which it implements
7543 to always fail with ENOSYS. Some functions are actually named
7544 something starting with __ and the normal name is an alias. */
7545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7553 if { (eval echo configure:7554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7555 eval "ac_cv_func_
$ac_func=yes"
7557 echo "configure
: failed program was
:" >&5
7558 cat conftest.$ac_ext >&5
7560 eval "ac_cv_func_
$ac_func=no
"
7565 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7566 echo "$ac_t""yes" 1>&6
7567 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7568 cat >> confdefs.h <<EOF
7569 #define $ac_tr_func 1
7573 echo "$ac_t""no
" 1>&6
7574 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
7578 for ac_func in __signbitf
7580 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7581 echo "configure
:7582: checking
for $ac_func" >&5
7582 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7583 echo $ac_n "(cached
) $ac_c" 1>&6
7585 cat > conftest.$ac_ext <<EOF
7586 #line 7587 "configure
"
7587 #include "confdefs.h
"
7588 /* System header to define __stub macros and hopefully few prototypes,
7589 which can conflict with char $ac_func(); below. */
7591 /* Override any gcc2 internal prototype to avoid an error. */
7592 /* We use char because int might match the return type of a gcc2
7593 builtin and then its argument prototype would still apply. */
7598 /* The GNU C library defines this for functions which it implements
7599 to always fail with ENOSYS. Some functions are actually named
7600 something starting with __ and the normal name is an alias. */
7601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7609 if { (eval echo configure:7610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7611 eval "ac_cv_func_
$ac_func=yes"
7613 echo "configure
: failed program was
:" >&5
7614 cat conftest.$ac_ext >&5
7616 eval "ac_cv_func_
$ac_func=no
"
7621 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7622 echo "$ac_t""yes" 1>&6
7623 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7624 cat >> confdefs.h <<EOF
7625 #define $ac_tr_func 1
7629 echo "$ac_t""no
" 1>&6
7630 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
7635 if test x$ac_cv_func_copysignl = x"yes"; then
7636 for ac_func in __signbitl
7638 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7639 echo "configure
:7640: checking
for $ac_func" >&5
7640 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7641 echo $ac_n "(cached
) $ac_c" 1>&6
7643 cat > conftest.$ac_ext <<EOF
7644 #line 7645 "configure
"
7645 #include "confdefs.h
"
7646 /* System header to define __stub macros and hopefully few prototypes,
7647 which can conflict with char $ac_func(); below. */
7649 /* Override any gcc2 internal prototype to avoid an error. */
7650 /* We use char because int might match the return type of a gcc2
7651 builtin and then its argument prototype would still apply. */
7656 /* The GNU C library defines this for functions which it implements
7657 to always fail with ENOSYS. Some functions are actually named
7658 something starting with __ and the normal name is an alias. */
7659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7667 if { (eval echo configure:7668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7669 eval "ac_cv_func_
$ac_func=yes"
7671 echo "configure
: failed program was
:" >&5
7672 cat conftest.$ac_ext >&5
7674 eval "ac_cv_func_
$ac_func=no
"
7679 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7680 echo "$ac_t""yes" 1>&6
7681 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7682 cat >> confdefs.h <<EOF
7683 #define $ac_tr_func 1
7687 echo "$ac_t""no
" 1>&6
7688 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
7694 if test -n "$LIBMATHOBJS"; then
7701 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
7702 echo "configure
:7703: checking
for mbstate_t
" >&5
7703 cat > conftest.$ac_ext <<EOF
7704 #line 7705 "configure
"
7705 #include "confdefs.h
"
7708 mbstate_t teststate;
7711 if { (eval echo configure:7712: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7715 echo "configure
: failed program was
:" >&5
7716 cat conftest.$ac_ext >&5
7721 echo "$ac_t""$have_mbstate_t" 1>&6
7722 if test x"$have_mbstate_t" = xyes; then
7723 cat >> confdefs.h <<\EOF
7724 #define HAVE_MBSTATE_T 1
7729 for ac_hdr in wchar.h
7731 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7732 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
7733 echo "configure
:7734: checking
for $ac_hdr" >&5
7734 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7735 echo $ac_n "(cached
) $ac_c" 1>&6
7737 cat > conftest.$ac_ext <<EOF
7738 #line 7739 "configure
"
7739 #include "confdefs.h
"
7742 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7743 { (eval echo configure:7744: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7744 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7745 if test -z "$ac_err"; then
7747 eval "ac_cv_header_
$ac_safe=yes"
7750 echo "configure
: failed program was
:" >&5
7751 cat conftest.$ac_ext >&5
7753 eval "ac_cv_header_
$ac_safe=no
"
7757 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7758 echo "$ac_t""yes" 1>&6
7759 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7760 cat >> confdefs.h <<EOF
7761 #define $ac_tr_hdr 1
7765 echo "$ac_t""no
" 1>&6
7770 for ac_hdr in wctype.h
7772 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7773 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
7774 echo "configure
:7775: checking
for $ac_hdr" >&5
7775 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7776 echo $ac_n "(cached
) $ac_c" 1>&6
7778 cat > conftest.$ac_ext <<EOF
7779 #line 7780 "configure
"
7780 #include "confdefs.h
"
7783 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7784 { (eval echo configure:7785: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7785 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7786 if test -z "$ac_err"; then
7788 eval "ac_cv_header_
$ac_safe=yes"
7791 echo "configure
: failed program was
:" >&5
7792 cat conftest.$ac_ext >&5
7794 eval "ac_cv_header_
$ac_safe=no
"
7798 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7799 echo "$ac_t""yes" 1>&6
7800 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7801 cat >> confdefs.h <<EOF
7802 #define $ac_tr_hdr 1
7806 echo "$ac_t""no
" 1>&6
7812 if test x"$ac_has_wchar_h" = xyes &&
7813 test x"$ac_has_wctype_h" = xyes &&
7814 test x"$enable_c_mbchar" != xno; then
7816 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
7817 echo "configure
:7818: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
7818 cat > conftest.$ac_ext <<EOF
7819 #line 7820 "configure
"
7820 #include "confdefs.h
"
7823 int i = WCHAR_MIN; int j = WCHAR_MAX;
7826 if { (eval echo configure:7827: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7828 has_wchar_minmax=yes
7830 echo "configure
: failed program was
:" >&5
7831 cat conftest.$ac_ext >&5
7836 echo "$ac_t""$has_wchar_minmax" 1>&6
7838 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
7839 echo "configure
:7840: checking
for WEOF
" >&5
7840 cat > conftest.$ac_ext <<EOF
7841 #line 7842 "configure
"
7842 #include "confdefs.h
"
7850 if { (eval echo configure:7851: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7854 echo "configure
: failed program was
:" >&5
7855 cat conftest.$ac_ext >&5
7860 echo "$ac_t""$has_weof" 1>&6
7863 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
7865 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7866 echo "configure
:7867: checking
for $ac_func" >&5
7867 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7868 echo $ac_n "(cached
) $ac_c" 1>&6
7870 cat > conftest.$ac_ext <<EOF
7871 #line 7872 "configure
"
7872 #include "confdefs.h
"
7873 /* System header to define __stub macros and hopefully few prototypes,
7874 which can conflict with char $ac_func(); below. */
7876 /* Override any gcc2 internal prototype to avoid an error. */
7877 /* We use char because int might match the return type of a gcc2
7878 builtin and then its argument prototype would still apply. */
7883 /* The GNU C library defines this for functions which it implements
7884 to always fail with ENOSYS. Some functions are actually named
7885 something starting with __ and the normal name is an alias. */
7886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7894 if { (eval echo configure:7895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7896 eval "ac_cv_func_
$ac_func=yes"
7898 echo "configure
: failed program was
:" >&5
7899 cat conftest.$ac_ext >&5
7901 eval "ac_cv_func_
$ac_func=no
"
7906 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7907 echo "$ac_t""yes" 1>&6
7908 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7909 cat >> confdefs.h <<EOF
7910 #define $ac_tr_func 1
7914 echo "$ac_t""no
" 1>&6
7921 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
7922 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
7923 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
7924 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
7925 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
7926 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
7928 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7929 echo "configure
:7930: checking
for $ac_func" >&5
7930 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7931 echo $ac_n "(cached
) $ac_c" 1>&6
7933 cat > conftest.$ac_ext <<EOF
7934 #line 7935 "configure
"
7935 #include "confdefs.h
"
7936 /* System header to define __stub macros and hopefully few prototypes,
7937 which can conflict with char $ac_func(); below. */
7939 /* Override any gcc2 internal prototype to avoid an error. */
7940 /* We use char because int might match the return type of a gcc2
7941 builtin and then its argument prototype would still apply. */
7946 /* The GNU C library defines this for functions which it implements
7947 to always fail with ENOSYS. Some functions are actually named
7948 something starting with __ and the normal name is an alias. */
7949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7957 if { (eval echo configure:7958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7959 eval "ac_cv_func_
$ac_func=yes"
7961 echo "configure
: failed program was
:" >&5
7962 cat conftest.$ac_ext >&5
7964 eval "ac_cv_func_
$ac_func=no
"
7969 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7970 echo "$ac_t""yes" 1>&6
7971 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7972 cat >> confdefs.h <<EOF
7973 #define $ac_tr_func 1
7977 echo "$ac_t""no
" 1>&6
7984 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
7985 echo "configure
:7986: checking
for ISO C99 wchar_t support
" >&5
7986 if test x"$has_weof" = xyes &&
7987 test x"$has_wchar_minmax" = xyes &&
7988 test x"$ac_wfuncs" = xyes; then
7989 ac_isoC99_wchar_t=yes
7991 ac_isoC99_wchar_t=no
7993 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7995 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
7996 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
7997 echo "configure
:7998: checking
for iconv.h
" >&5
7998 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7999 echo $ac_n "(cached
) $ac_c" 1>&6
8001 cat > conftest.$ac_ext <<EOF
8002 #line 8003 "configure
"
8003 #include "confdefs.h
"
8006 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8007 { (eval echo configure:8008: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8008 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8009 if test -z "$ac_err"; then
8011 eval "ac_cv_header_
$ac_safe=yes"
8014 echo "configure
: failed program was
:" >&5
8015 cat conftest.$ac_ext >&5
8017 eval "ac_cv_header_
$ac_safe=no
"
8021 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8022 echo "$ac_t""yes" 1>&6
8025 echo "$ac_t""no
" 1>&6
8029 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
8030 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
8031 echo "configure
:8032: checking
for langinfo.h
" >&5
8032 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8033 echo $ac_n "(cached
) $ac_c" 1>&6
8035 cat > conftest.$ac_ext <<EOF
8036 #line 8037 "configure
"
8037 #include "confdefs.h
"
8038 #include <langinfo.h>
8040 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8041 { (eval echo configure:8042: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8042 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8043 if test -z "$ac_err"; then
8045 eval "ac_cv_header_
$ac_safe=yes"
8048 echo "configure
: failed program was
:" >&5
8049 cat conftest.$ac_ext >&5
8051 eval "ac_cv_header_
$ac_safe=no
"
8055 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8056 echo "$ac_t""yes" 1>&6
8057 ac_has_langinfo_h=yes
8059 echo "$ac_t""no
" 1>&6
8060 ac_has_langinfo_h=no
8064 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
8065 echo "configure
:8066: checking
for iconv in -liconv" >&5
8066 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
8067 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8068 echo $ac_n "(cached
) $ac_c" 1>&6
8070 ac_save_LIBS="$LIBS"
8071 LIBS="-liconv $LIBS"
8072 cat > conftest.$ac_ext <<EOF
8073 #line 8074 "configure
"
8074 #include "confdefs.h
"
8075 /* Override any gcc2 internal prototype to avoid an error. */
8076 /* We use char because int might match the return type of a gcc2
8077 builtin and then its argument prototype would still apply. */
8084 if { (eval echo configure:8085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8086 eval "ac_cv_lib_
$ac_lib_var=yes"
8088 echo "configure
: failed program was
:" >&5
8089 cat conftest.$ac_ext >&5
8091 eval "ac_cv_lib_
$ac_lib_var=no
"
8094 LIBS="$ac_save_LIBS"
8097 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8098 echo "$ac_t""yes" 1>&6
8101 echo "$ac_t""no
" 1>&6
8104 ac_save_LIBS="$LIBS"
8105 LIBS="$LIBS $libiconv"
8107 for ac_func in iconv_open iconv_close iconv nl_langinfo
8109 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8110 echo "configure
:8111: checking
for $ac_func" >&5
8111 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8112 echo $ac_n "(cached
) $ac_c" 1>&6
8114 cat > conftest.$ac_ext <<EOF
8115 #line 8116 "configure
"
8116 #include "confdefs.h
"
8117 /* System header to define __stub macros and hopefully few prototypes,
8118 which can conflict with char $ac_func(); below. */
8120 /* Override any gcc2 internal prototype to avoid an error. */
8121 /* We use char because int might match the return type of a gcc2
8122 builtin and then its argument prototype would still apply. */
8127 /* The GNU C library defines this for functions which it implements
8128 to always fail with ENOSYS. Some functions are actually named
8129 something starting with __ and the normal name is an alias. */
8130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8138 if { (eval echo configure:8139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8140 eval "ac_cv_func_
$ac_func=yes"
8142 echo "configure
: failed program was
:" >&5
8143 cat conftest.$ac_ext >&5
8145 eval "ac_cv_func_
$ac_func=no
"
8150 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8151 echo "$ac_t""yes" 1>&6
8152 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8153 cat >> confdefs.h <<EOF
8154 #define $ac_tr_func 1
8159 echo "$ac_t""no
" 1>&6
8165 LIBS="$ac_save_LIBS"
8167 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
8168 echo "configure
:8169: checking
for XPG2 wchar_t support
" >&5
8169 if test x"$ac_has_iconv_h" = xyes &&
8170 test x"$ac_has_langinfo_h" = xyes &&
8171 test x"$ac_XPG2funcs" = xyes; then
8176 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
8178 if test x"$ac_isoC99_wchar_t" = xyes &&
8179 test x"$ac_XPG2_wchar_t" = xyes; then
8180 cat >> confdefs.h <<\EOF
8181 #define _GLIBCPP_USE_WCHAR_T 1
8187 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
8188 echo "configure
:8189: checking
for enabled wchar_t specializations
" >&5
8189 echo "$ac_t""$enable_wchar_t" 1>&6
8193 os_include_dir="os
/bsd
/netbsd
"
8194 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
8195 machine/endian.h machine/param.h sys/machine.h sys/types.h \
8196 fp.h locale.h float.h inttypes.h
8198 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8199 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
8200 echo "configure
:8201: checking
for $ac_hdr" >&5
8201 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8202 echo $ac_n "(cached
) $ac_c" 1>&6
8204 cat > conftest.$ac_ext <<EOF
8205 #line 8206 "configure
"
8206 #include "confdefs.h
"
8209 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8210 { (eval echo configure:8211: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8211 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8212 if test -z "$ac_err"; then
8214 eval "ac_cv_header_
$ac_safe=yes"
8217 echo "configure
: failed program was
:" >&5
8218 cat conftest.$ac_ext >&5
8220 eval "ac_cv_header_
$ac_safe=no
"
8224 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8225 echo "$ac_t""yes" 1>&6
8226 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8227 cat >> confdefs.h <<EOF
8228 #define $ac_tr_hdr 1
8232 echo "$ac_t""no
" 1>&6
8236 SECTION_FLAGS='-ffunction-sections -fdata-sections'
8239 # If we're not using GNU ld, then there's no point in even trying these
8240 # tests. Check for that first. We should have already tested for gld
8241 # by now (in libtool), but require it now just to be safe...
8242 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8243 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8246 # The name set by libtool depends on the version of libtool. Shame on us
8247 # for depending on an impl detail, but c'est la vie. Older versions used
8248 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8249 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8250 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8251 # set (hence we're using an older libtool), then set it.
8252 if test x${with_gnu_ld+set} != xset; then
8253 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8254 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
8257 with_gnu_ld=$ac_cv_prog_gnu_ld
8261 # Start by getting the version number. I think the libtool test already
8262 # does some of this, but throws away the result.
8264 ldver=`$LD --version 2>/dev/null | head -1 | \
8265 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8267 glibcpp_gnu_ld_version=`echo $ldver | \
8268 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8270 # Set --gc-sections.
8271 if test "$with_gnu_ld" = "notbroken
"; then
8272 # GNU ld it is! Joy and bunny rabbits!
8274 # All these tests are for C++; save the language and the compiler flags.
8275 # Need to do this so that g++ won't try to link in libstdc++
8276 ac_test_CFLAGS="${CFLAGS+set}"
8277 ac_save_CFLAGS="$CFLAGS"
8278 CFLAGS='-x c++ -Wl,--gc-sections'
8280 # Check for -Wl,--gc-sections
8281 # XXX This test is broken at the moment, as symbols required for
8282 # linking are now in libsupc++ (not built yet.....). In addition,
8283 # this test has cored on solaris in the past. In addition,
8284 # --gc-sections doesn't really work at the moment (keeps on discarding
8285 # used sections, first .eh_frame and now some of the glibc sections for
8286 # iconv). Bzzzzt. Thanks for playing, maybe next time.
8287 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
8288 echo "configure
:8289: checking
for ld that supports
-Wl,--gc-sections" >&5
8289 if test "$cross_compiling" = yes; then
8290 ac_sectionLDflags=yes
8292 cat > conftest.$ac_ext <<EOF
8293 #line 8294 "configure
"
8294 #include "confdefs.h
"
8304 if { (eval echo configure:8305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8306 ac_sectionLDflags=yes
8308 echo "configure
: failed program was
:" >&5
8309 cat conftest.$ac_ext >&5
8311 ac_sectionLDflags=no
8316 if test "$ac_test_CFLAGS" = set; then
8317 CFLAGS="$ac_save_CFLAGS"
8319 # this is the suspicious part
8322 if test "$ac_sectionLDflags" = "yes"; then
8323 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8325 echo "$ac_t""$ac_sectionLDflags" 1>&6
8328 # Set linker optimization flags.
8329 if test x"$with_gnu_ld" = x"yes"; then
8330 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8337 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
8338 echo "configure
:8339: checking
for main
in -lm" >&5
8339 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
8340 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8341 echo $ac_n "(cached
) $ac_c" 1>&6
8343 ac_save_LIBS="$LIBS"
8345 cat > conftest.$ac_ext <<EOF
8346 #line 8347 "configure
"
8347 #include "confdefs.h
"
8353 if { (eval echo configure:8354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8355 eval "ac_cv_lib_
$ac_lib_var=yes"
8357 echo "configure
: failed program was
:" >&5
8358 cat conftest.$ac_ext >&5
8360 eval "ac_cv_lib_
$ac_lib_var=no
"
8363 LIBS="$ac_save_LIBS"
8366 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8367 echo "$ac_t""yes" 1>&6
8368 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
8369 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
8370 cat >> confdefs.h <<EOF
8371 #define $ac_tr_lib 1
8377 echo "$ac_t""no
" 1>&6
8380 for ac_func in nan copysignf
8382 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8383 echo "configure
:8384: checking
for $ac_func" >&5
8384 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8385 echo $ac_n "(cached
) $ac_c" 1>&6
8387 cat > conftest.$ac_ext <<EOF
8388 #line 8389 "configure
"
8389 #include "confdefs.h
"
8390 /* System header to define __stub macros and hopefully few prototypes,
8391 which can conflict with char $ac_func(); below. */
8393 /* Override any gcc2 internal prototype to avoid an error. */
8394 /* We use char because int might match the return type of a gcc2
8395 builtin and then its argument prototype would still apply. */
8400 /* The GNU C library defines this for functions which it implements
8401 to always fail with ENOSYS. Some functions are actually named
8402 something starting with __ and the normal name is an alias. */
8403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8411 if { (eval echo configure:8412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8413 eval "ac_cv_func_
$ac_func=yes"
8415 echo "configure
: failed program was
:" >&5
8416 cat conftest.$ac_ext >&5
8418 eval "ac_cv_func_
$ac_func=no
"
8423 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8424 echo "$ac_t""yes" 1>&6
8425 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8426 cat >> confdefs.h <<EOF
8427 #define $ac_tr_func 1
8431 echo "$ac_t""no
" 1>&6
8432 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
8437 for ac_func in __signbit
8439 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8440 echo "configure
:8441: checking
for $ac_func" >&5
8441 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8442 echo $ac_n "(cached
) $ac_c" 1>&6
8444 cat > conftest.$ac_ext <<EOF
8445 #line 8446 "configure
"
8446 #include "confdefs.h
"
8447 /* System header to define __stub macros and hopefully few prototypes,
8448 which can conflict with char $ac_func(); below. */
8450 /* Override any gcc2 internal prototype to avoid an error. */
8451 /* We use char because int might match the return type of a gcc2
8452 builtin and then its argument prototype would still apply. */
8457 /* The GNU C library defines this for functions which it implements
8458 to always fail with ENOSYS. Some functions are actually named
8459 something starting with __ and the normal name is an alias. */
8460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8468 if { (eval echo configure:8469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8470 eval "ac_cv_func_
$ac_func=yes"
8472 echo "configure
: failed program was
:" >&5
8473 cat conftest.$ac_ext >&5
8475 eval "ac_cv_func_
$ac_func=no
"
8480 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8481 echo "$ac_t""yes" 1>&6
8482 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8483 cat >> confdefs.h <<EOF
8484 #define $ac_tr_func 1
8488 echo "$ac_t""no
" 1>&6
8489 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
8493 for ac_func in __signbitf
8495 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8496 echo "configure
:8497: checking
for $ac_func" >&5
8497 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8498 echo $ac_n "(cached
) $ac_c" 1>&6
8500 cat > conftest.$ac_ext <<EOF
8501 #line 8502 "configure
"
8502 #include "confdefs.h
"
8503 /* System header to define __stub macros and hopefully few prototypes,
8504 which can conflict with char $ac_func(); below. */
8506 /* Override any gcc2 internal prototype to avoid an error. */
8507 /* We use char because int might match the return type of a gcc2
8508 builtin and then its argument prototype would still apply. */
8513 /* The GNU C library defines this for functions which it implements
8514 to always fail with ENOSYS. Some functions are actually named
8515 something starting with __ and the normal name is an alias. */
8516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8524 if { (eval echo configure:8525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8526 eval "ac_cv_func_
$ac_func=yes"
8528 echo "configure
: failed program was
:" >&5
8529 cat conftest.$ac_ext >&5
8531 eval "ac_cv_func_
$ac_func=no
"
8536 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8537 echo "$ac_t""yes" 1>&6
8538 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8539 cat >> confdefs.h <<EOF
8540 #define $ac_tr_func 1
8544 echo "$ac_t""no
" 1>&6
8545 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
8550 if test x$ac_cv_func_copysignl = x"yes"; then
8551 for ac_func in __signbitl
8553 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8554 echo "configure
:8555: checking
for $ac_func" >&5
8555 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8556 echo $ac_n "(cached
) $ac_c" 1>&6
8558 cat > conftest.$ac_ext <<EOF
8559 #line 8560 "configure
"
8560 #include "confdefs.h
"
8561 /* System header to define __stub macros and hopefully few prototypes,
8562 which can conflict with char $ac_func(); below. */
8564 /* Override any gcc2 internal prototype to avoid an error. */
8565 /* We use char because int might match the return type of a gcc2
8566 builtin and then its argument prototype would still apply. */
8571 /* The GNU C library defines this for functions which it implements
8572 to always fail with ENOSYS. Some functions are actually named
8573 something starting with __ and the normal name is an alias. */
8574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8582 if { (eval echo configure:8583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8584 eval "ac_cv_func_
$ac_func=yes"
8586 echo "configure
: failed program was
:" >&5
8587 cat conftest.$ac_ext >&5
8589 eval "ac_cv_func_
$ac_func=no
"
8594 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8595 echo "$ac_t""yes" 1>&6
8596 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8597 cat >> confdefs.h <<EOF
8598 #define $ac_tr_func 1
8602 echo "$ac_t""no
" 1>&6
8603 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
8609 if test -n "$LIBMATHOBJS"; then
8616 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
8617 echo "configure
:8618: checking
for mbstate_t
" >&5
8618 cat > conftest.$ac_ext <<EOF
8619 #line 8620 "configure
"
8620 #include "confdefs.h
"
8623 mbstate_t teststate;
8626 if { (eval echo configure:8627: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8630 echo "configure
: failed program was
:" >&5
8631 cat conftest.$ac_ext >&5
8636 echo "$ac_t""$have_mbstate_t" 1>&6
8637 if test x"$have_mbstate_t" = xyes; then
8638 cat >> confdefs.h <<\EOF
8639 #define HAVE_MBSTATE_T 1
8644 for ac_hdr in wchar.h
8646 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8647 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
8648 echo "configure
:8649: checking
for $ac_hdr" >&5
8649 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8650 echo $ac_n "(cached
) $ac_c" 1>&6
8652 cat > conftest.$ac_ext <<EOF
8653 #line 8654 "configure
"
8654 #include "confdefs.h
"
8657 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8658 { (eval echo configure:8659: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8659 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8660 if test -z "$ac_err"; then
8662 eval "ac_cv_header_
$ac_safe=yes"
8665 echo "configure
: failed program was
:" >&5
8666 cat conftest.$ac_ext >&5
8668 eval "ac_cv_header_
$ac_safe=no
"
8672 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8673 echo "$ac_t""yes" 1>&6
8674 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8675 cat >> confdefs.h <<EOF
8676 #define $ac_tr_hdr 1
8680 echo "$ac_t""no
" 1>&6
8685 for ac_hdr in wctype.h
8687 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8688 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
8689 echo "configure
:8690: checking
for $ac_hdr" >&5
8690 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8691 echo $ac_n "(cached
) $ac_c" 1>&6
8693 cat > conftest.$ac_ext <<EOF
8694 #line 8695 "configure
"
8695 #include "confdefs.h
"
8698 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8699 { (eval echo configure:8700: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8700 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8701 if test -z "$ac_err"; then
8703 eval "ac_cv_header_
$ac_safe=yes"
8706 echo "configure
: failed program was
:" >&5
8707 cat conftest.$ac_ext >&5
8709 eval "ac_cv_header_
$ac_safe=no
"
8713 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8714 echo "$ac_t""yes" 1>&6
8715 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8716 cat >> confdefs.h <<EOF
8717 #define $ac_tr_hdr 1
8721 echo "$ac_t""no
" 1>&6
8727 if test x"$ac_has_wchar_h" = xyes &&
8728 test x"$ac_has_wctype_h" = xyes &&
8729 test x"$enable_c_mbchar" != xno; then
8731 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
8732 echo "configure
:8733: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
8733 cat > conftest.$ac_ext <<EOF
8734 #line 8735 "configure
"
8735 #include "confdefs.h
"
8738 int i = WCHAR_MIN; int j = WCHAR_MAX;
8741 if { (eval echo configure:8742: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8743 has_wchar_minmax=yes
8745 echo "configure
: failed program was
:" >&5
8746 cat conftest.$ac_ext >&5
8751 echo "$ac_t""$has_wchar_minmax" 1>&6
8753 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
8754 echo "configure
:8755: checking
for WEOF
" >&5
8755 cat > conftest.$ac_ext <<EOF
8756 #line 8757 "configure
"
8757 #include "confdefs.h
"
8765 if { (eval echo configure:8766: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8769 echo "configure
: failed program was
:" >&5
8770 cat conftest.$ac_ext >&5
8775 echo "$ac_t""$has_weof" 1>&6
8778 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
8780 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8781 echo "configure
:8782: checking
for $ac_func" >&5
8782 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8783 echo $ac_n "(cached
) $ac_c" 1>&6
8785 cat > conftest.$ac_ext <<EOF
8786 #line 8787 "configure
"
8787 #include "confdefs.h
"
8788 /* System header to define __stub macros and hopefully few prototypes,
8789 which can conflict with char $ac_func(); below. */
8791 /* Override any gcc2 internal prototype to avoid an error. */
8792 /* We use char because int might match the return type of a gcc2
8793 builtin and then its argument prototype would still apply. */
8798 /* The GNU C library defines this for functions which it implements
8799 to always fail with ENOSYS. Some functions are actually named
8800 something starting with __ and the normal name is an alias. */
8801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8809 if { (eval echo configure:8810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8811 eval "ac_cv_func_
$ac_func=yes"
8813 echo "configure
: failed program was
:" >&5
8814 cat conftest.$ac_ext >&5
8816 eval "ac_cv_func_
$ac_func=no
"
8821 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8822 echo "$ac_t""yes" 1>&6
8823 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8824 cat >> confdefs.h <<EOF
8825 #define $ac_tr_func 1
8829 echo "$ac_t""no
" 1>&6
8836 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
8837 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
8838 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
8839 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
8840 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
8841 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
8843 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8844 echo "configure
:8845: checking
for $ac_func" >&5
8845 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8846 echo $ac_n "(cached
) $ac_c" 1>&6
8848 cat > conftest.$ac_ext <<EOF
8849 #line 8850 "configure
"
8850 #include "confdefs.h
"
8851 /* System header to define __stub macros and hopefully few prototypes,
8852 which can conflict with char $ac_func(); below. */
8854 /* Override any gcc2 internal prototype to avoid an error. */
8855 /* We use char because int might match the return type of a gcc2
8856 builtin and then its argument prototype would still apply. */
8861 /* The GNU C library defines this for functions which it implements
8862 to always fail with ENOSYS. Some functions are actually named
8863 something starting with __ and the normal name is an alias. */
8864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8872 if { (eval echo configure:8873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8874 eval "ac_cv_func_
$ac_func=yes"
8876 echo "configure
: failed program was
:" >&5
8877 cat conftest.$ac_ext >&5
8879 eval "ac_cv_func_
$ac_func=no
"
8884 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8885 echo "$ac_t""yes" 1>&6
8886 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8887 cat >> confdefs.h <<EOF
8888 #define $ac_tr_func 1
8892 echo "$ac_t""no
" 1>&6
8899 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
8900 echo "configure
:8901: checking
for ISO C99 wchar_t support
" >&5
8901 if test x"$has_weof" = xyes &&
8902 test x"$has_wchar_minmax" = xyes &&
8903 test x"$ac_wfuncs" = xyes; then
8904 ac_isoC99_wchar_t=yes
8906 ac_isoC99_wchar_t=no
8908 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
8910 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
8911 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
8912 echo "configure
:8913: checking
for iconv.h
" >&5
8913 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8914 echo $ac_n "(cached
) $ac_c" 1>&6
8916 cat > conftest.$ac_ext <<EOF
8917 #line 8918 "configure
"
8918 #include "confdefs.h
"
8921 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8922 { (eval echo configure:8923: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8923 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8924 if test -z "$ac_err"; then
8926 eval "ac_cv_header_
$ac_safe=yes"
8929 echo "configure
: failed program was
:" >&5
8930 cat conftest.$ac_ext >&5
8932 eval "ac_cv_header_
$ac_safe=no
"
8936 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8937 echo "$ac_t""yes" 1>&6
8940 echo "$ac_t""no
" 1>&6
8944 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
8945 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
8946 echo "configure
:8947: checking
for langinfo.h
" >&5
8947 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8948 echo $ac_n "(cached
) $ac_c" 1>&6
8950 cat > conftest.$ac_ext <<EOF
8951 #line 8952 "configure
"
8952 #include "confdefs.h
"
8953 #include <langinfo.h>
8955 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8956 { (eval echo configure:8957: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8957 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8958 if test -z "$ac_err"; then
8960 eval "ac_cv_header_
$ac_safe=yes"
8963 echo "configure
: failed program was
:" >&5
8964 cat conftest.$ac_ext >&5
8966 eval "ac_cv_header_
$ac_safe=no
"
8970 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8971 echo "$ac_t""yes" 1>&6
8972 ac_has_langinfo_h=yes
8974 echo "$ac_t""no
" 1>&6
8975 ac_has_langinfo_h=no
8979 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
8980 echo "configure
:8981: checking
for iconv in -liconv" >&5
8981 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
8982 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8983 echo $ac_n "(cached
) $ac_c" 1>&6
8985 ac_save_LIBS="$LIBS"
8986 LIBS="-liconv $LIBS"
8987 cat > conftest.$ac_ext <<EOF
8988 #line 8989 "configure
"
8989 #include "confdefs.h
"
8990 /* Override any gcc2 internal prototype to avoid an error. */
8991 /* We use char because int might match the return type of a gcc2
8992 builtin and then its argument prototype would still apply. */
8999 if { (eval echo configure:9000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9001 eval "ac_cv_lib_
$ac_lib_var=yes"
9003 echo "configure
: failed program was
:" >&5
9004 cat conftest.$ac_ext >&5
9006 eval "ac_cv_lib_
$ac_lib_var=no
"
9009 LIBS="$ac_save_LIBS"
9012 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9013 echo "$ac_t""yes" 1>&6
9016 echo "$ac_t""no
" 1>&6
9019 ac_save_LIBS="$LIBS"
9020 LIBS="$LIBS $libiconv"
9022 for ac_func in iconv_open iconv_close iconv nl_langinfo
9024 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9025 echo "configure
:9026: checking
for $ac_func" >&5
9026 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9027 echo $ac_n "(cached
) $ac_c" 1>&6
9029 cat > conftest.$ac_ext <<EOF
9030 #line 9031 "configure
"
9031 #include "confdefs.h
"
9032 /* System header to define __stub macros and hopefully few prototypes,
9033 which can conflict with char $ac_func(); below. */
9035 /* Override any gcc2 internal prototype to avoid an error. */
9036 /* We use char because int might match the return type of a gcc2
9037 builtin and then its argument prototype would still apply. */
9042 /* The GNU C library defines this for functions which it implements
9043 to always fail with ENOSYS. Some functions are actually named
9044 something starting with __ and the normal name is an alias. */
9045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9053 if { (eval echo configure:9054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9055 eval "ac_cv_func_
$ac_func=yes"
9057 echo "configure
: failed program was
:" >&5
9058 cat conftest.$ac_ext >&5
9060 eval "ac_cv_func_
$ac_func=no
"
9065 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9066 echo "$ac_t""yes" 1>&6
9067 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9068 cat >> confdefs.h <<EOF
9069 #define $ac_tr_func 1
9074 echo "$ac_t""no
" 1>&6
9080 LIBS="$ac_save_LIBS"
9082 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
9083 echo "configure
:9084: checking
for XPG2 wchar_t support
" >&5
9084 if test x"$ac_has_iconv_h" = xyes &&
9085 test x"$ac_has_langinfo_h" = xyes &&
9086 test x"$ac_XPG2funcs" = xyes; then
9091 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
9093 if test x"$ac_isoC99_wchar_t" = xyes &&
9094 test x"$ac_XPG2_wchar_t" = xyes; then
9095 cat >> confdefs.h <<\EOF
9096 #define _GLIBCPP_USE_WCHAR_T 1
9102 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
9103 echo "configure
:9104: checking
for enabled wchar_t specializations
" >&5
9104 echo "$ac_t""$enable_wchar_t" 1>&6
9106 cat >> confdefs.h <<\EOF
9107 #define HAVE_COPYSIGN 1
9110 cat >> confdefs.h <<\EOF
9111 #define HAVE_COPYSIGNF 1
9114 cat >> confdefs.h <<\EOF
9115 #define HAVE_FINITEF 1
9118 cat >> confdefs.h <<\EOF
9119 #define HAVE_FINITE 1
9122 cat >> confdefs.h <<\EOF
9123 #define HAVE_FREXPF 1
9126 cat >> confdefs.h <<\EOF
9127 #define HAVE_HYPOTF 1
9130 cat >> confdefs.h <<\EOF
9131 #define HAVE_ISINF 1
9134 cat >> confdefs.h <<\EOF
9135 #define HAVE_ISINFF 1
9138 cat >> confdefs.h <<\EOF
9139 #define HAVE_ISNAN 1
9142 cat >> confdefs.h <<\EOF
9143 #define HAVE_ISNANF 1
9146 if test x"long_double_math_on_this_cpu
" = x"yes"; then
9147 cat >> confdefs.h <<\EOF
9148 #define HAVE_FINITEL 1
9151 cat >> confdefs.h <<\EOF
9152 #define HAVE_ISINFL 1
9155 cat >> confdefs.h <<\EOF
9156 #define HAVE_ISNANL 1
9161 *-qnx6.1* | *-qnx6.2*)
9162 os_include_dir="os
/qnx
/qnx6.1
"
9163 SECTION_FLAGS='-ffunction-sections -fdata-sections'
9166 # If we're not using GNU ld, then there's no point in even trying these
9167 # tests. Check for that first. We should have already tested for gld
9168 # by now (in libtool), but require it now just to be safe...
9169 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
9170 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
9173 # The name set by libtool depends on the version of libtool. Shame on us
9174 # for depending on an impl detail, but c'est la vie. Older versions used
9175 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
9176 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
9177 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
9178 # set (hence we're using an older libtool), then set it.
9179 if test x${with_gnu_ld+set} != xset; then
9180 if test x${ac_cv_prog_gnu_ld+set} != xset; then
9181 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
9184 with_gnu_ld=$ac_cv_prog_gnu_ld
9188 # Start by getting the version number. I think the libtool test already
9189 # does some of this, but throws away the result.
9191 ldver=`$LD --version 2>/dev/null | head -1 | \
9192 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
9194 glibcpp_gnu_ld_version=`echo $ldver | \
9195 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
9197 # Set --gc-sections.
9198 if test "$with_gnu_ld" = "notbroken
"; then
9199 # GNU ld it is! Joy and bunny rabbits!
9201 # All these tests are for C++; save the language and the compiler flags.
9202 # Need to do this so that g++ won't try to link in libstdc++
9203 ac_test_CFLAGS="${CFLAGS+set}"
9204 ac_save_CFLAGS="$CFLAGS"
9205 CFLAGS='-x c++ -Wl,--gc-sections'
9207 # Check for -Wl,--gc-sections
9208 # XXX This test is broken at the moment, as symbols required for
9209 # linking are now in libsupc++ (not built yet.....). In addition,
9210 # this test has cored on solaris in the past. In addition,
9211 # --gc-sections doesn't really work at the moment (keeps on discarding
9212 # used sections, first .eh_frame and now some of the glibc sections for
9213 # iconv). Bzzzzt. Thanks for playing, maybe next time.
9214 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
9215 echo "configure
:9216: checking
for ld that supports
-Wl,--gc-sections" >&5
9216 if test "$cross_compiling" = yes; then
9217 ac_sectionLDflags=yes
9219 cat > conftest.$ac_ext <<EOF
9220 #line 9221 "configure
"
9221 #include "confdefs.h
"
9231 if { (eval echo configure:9232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9233 ac_sectionLDflags=yes
9235 echo "configure
: failed program was
:" >&5
9236 cat conftest.$ac_ext >&5
9238 ac_sectionLDflags=no
9243 if test "$ac_test_CFLAGS" = set; then
9244 CFLAGS="$ac_save_CFLAGS"
9246 # this is the suspicious part
9249 if test "$ac_sectionLDflags" = "yes"; then
9250 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
9252 echo "$ac_t""$ac_sectionLDflags" 1>&6
9255 # Set linker optimization flags.
9256 if test x"$with_gnu_ld" = x"yes"; then
9257 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
9264 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
9265 echo "configure
:9266: checking
for main
in -lm" >&5
9266 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
9267 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9268 echo $ac_n "(cached
) $ac_c" 1>&6
9270 ac_save_LIBS="$LIBS"
9272 cat > conftest.$ac_ext <<EOF
9273 #line 9274 "configure
"
9274 #include "confdefs.h
"
9280 if { (eval echo configure:9281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9282 eval "ac_cv_lib_
$ac_lib_var=yes"
9284 echo "configure
: failed program was
:" >&5
9285 cat conftest.$ac_ext >&5
9287 eval "ac_cv_lib_
$ac_lib_var=no
"
9290 LIBS="$ac_save_LIBS"
9293 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9294 echo "$ac_t""yes" 1>&6
9295 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
9296 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
9297 cat >> confdefs.h <<EOF
9298 #define $ac_tr_lib 1
9304 echo "$ac_t""no
" 1>&6
9307 for ac_func in nan copysignf
9309 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9310 echo "configure
:9311: checking
for $ac_func" >&5
9311 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9312 echo $ac_n "(cached
) $ac_c" 1>&6
9314 cat > conftest.$ac_ext <<EOF
9315 #line 9316 "configure
"
9316 #include "confdefs.h
"
9317 /* System header to define __stub macros and hopefully few prototypes,
9318 which can conflict with char $ac_func(); below. */
9320 /* Override any gcc2 internal prototype to avoid an error. */
9321 /* We use char because int might match the return type of a gcc2
9322 builtin and then its argument prototype would still apply. */
9327 /* The GNU C library defines this for functions which it implements
9328 to always fail with ENOSYS. Some functions are actually named
9329 something starting with __ and the normal name is an alias. */
9330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9338 if { (eval echo configure:9339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9340 eval "ac_cv_func_
$ac_func=yes"
9342 echo "configure
: failed program was
:" >&5
9343 cat conftest.$ac_ext >&5
9345 eval "ac_cv_func_
$ac_func=no
"
9350 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9351 echo "$ac_t""yes" 1>&6
9352 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9353 cat >> confdefs.h <<EOF
9354 #define $ac_tr_func 1
9358 echo "$ac_t""no
" 1>&6
9359 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
9364 for ac_func in __signbit
9366 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9367 echo "configure
:9368: checking
for $ac_func" >&5
9368 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9369 echo $ac_n "(cached
) $ac_c" 1>&6
9371 cat > conftest.$ac_ext <<EOF
9372 #line 9373 "configure
"
9373 #include "confdefs.h
"
9374 /* System header to define __stub macros and hopefully few prototypes,
9375 which can conflict with char $ac_func(); below. */
9377 /* Override any gcc2 internal prototype to avoid an error. */
9378 /* We use char because int might match the return type of a gcc2
9379 builtin and then its argument prototype would still apply. */
9384 /* The GNU C library defines this for functions which it implements
9385 to always fail with ENOSYS. Some functions are actually named
9386 something starting with __ and the normal name is an alias. */
9387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9395 if { (eval echo configure:9396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9397 eval "ac_cv_func_
$ac_func=yes"
9399 echo "configure
: failed program was
:" >&5
9400 cat conftest.$ac_ext >&5
9402 eval "ac_cv_func_
$ac_func=no
"
9407 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9408 echo "$ac_t""yes" 1>&6
9409 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9410 cat >> confdefs.h <<EOF
9411 #define $ac_tr_func 1
9415 echo "$ac_t""no
" 1>&6
9416 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
9420 for ac_func in __signbitf
9422 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9423 echo "configure
:9424: checking
for $ac_func" >&5
9424 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9425 echo $ac_n "(cached
) $ac_c" 1>&6
9427 cat > conftest.$ac_ext <<EOF
9428 #line 9429 "configure
"
9429 #include "confdefs.h
"
9430 /* System header to define __stub macros and hopefully few prototypes,
9431 which can conflict with char $ac_func(); below. */
9433 /* Override any gcc2 internal prototype to avoid an error. */
9434 /* We use char because int might match the return type of a gcc2
9435 builtin and then its argument prototype would still apply. */
9440 /* The GNU C library defines this for functions which it implements
9441 to always fail with ENOSYS. Some functions are actually named
9442 something starting with __ and the normal name is an alias. */
9443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9451 if { (eval echo configure:9452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9453 eval "ac_cv_func_
$ac_func=yes"
9455 echo "configure
: failed program was
:" >&5
9456 cat conftest.$ac_ext >&5
9458 eval "ac_cv_func_
$ac_func=no
"
9463 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9464 echo "$ac_t""yes" 1>&6
9465 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9466 cat >> confdefs.h <<EOF
9467 #define $ac_tr_func 1
9471 echo "$ac_t""no
" 1>&6
9472 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
9477 if test x$ac_cv_func_copysignl = x"yes"; then
9478 for ac_func in __signbitl
9480 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9481 echo "configure
:9482: checking
for $ac_func" >&5
9482 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9483 echo $ac_n "(cached
) $ac_c" 1>&6
9485 cat > conftest.$ac_ext <<EOF
9486 #line 9487 "configure
"
9487 #include "confdefs.h
"
9488 /* System header to define __stub macros and hopefully few prototypes,
9489 which can conflict with char $ac_func(); below. */
9491 /* Override any gcc2 internal prototype to avoid an error. */
9492 /* We use char because int might match the return type of a gcc2
9493 builtin and then its argument prototype would still apply. */
9498 /* The GNU C library defines this for functions which it implements
9499 to always fail with ENOSYS. Some functions are actually named
9500 something starting with __ and the normal name is an alias. */
9501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9509 if { (eval echo configure:9510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9511 eval "ac_cv_func_
$ac_func=yes"
9513 echo "configure
: failed program was
:" >&5
9514 cat conftest.$ac_ext >&5
9516 eval "ac_cv_func_
$ac_func=no
"
9521 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9522 echo "$ac_t""yes" 1>&6
9523 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9524 cat >> confdefs.h <<EOF
9525 #define $ac_tr_func 1
9529 echo "$ac_t""no
" 1>&6
9530 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
9536 if test -n "$LIBMATHOBJS"; then
9543 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
9544 echo "configure
:9545: checking
for mbstate_t
" >&5
9545 cat > conftest.$ac_ext <<EOF
9546 #line 9547 "configure
"
9547 #include "confdefs.h
"
9550 mbstate_t teststate;
9553 if { (eval echo configure:9554: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9557 echo "configure
: failed program was
:" >&5
9558 cat conftest.$ac_ext >&5
9563 echo "$ac_t""$have_mbstate_t" 1>&6
9564 if test x"$have_mbstate_t" = xyes; then
9565 cat >> confdefs.h <<\EOF
9566 #define HAVE_MBSTATE_T 1
9571 for ac_hdr in wchar.h
9573 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9574 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
9575 echo "configure
:9576: checking
for $ac_hdr" >&5
9576 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9577 echo $ac_n "(cached
) $ac_c" 1>&6
9579 cat > conftest.$ac_ext <<EOF
9580 #line 9581 "configure
"
9581 #include "confdefs.h
"
9584 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
9585 { (eval echo configure:9586: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9586 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
9587 if test -z "$ac_err"; then
9589 eval "ac_cv_header_
$ac_safe=yes"
9592 echo "configure
: failed program was
:" >&5
9593 cat conftest.$ac_ext >&5
9595 eval "ac_cv_header_
$ac_safe=no
"
9599 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9600 echo "$ac_t""yes" 1>&6
9601 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9602 cat >> confdefs.h <<EOF
9603 #define $ac_tr_hdr 1
9607 echo "$ac_t""no
" 1>&6
9612 for ac_hdr in wctype.h
9614 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9615 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
9616 echo "configure
:9617: checking
for $ac_hdr" >&5
9617 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9618 echo $ac_n "(cached
) $ac_c" 1>&6
9620 cat > conftest.$ac_ext <<EOF
9621 #line 9622 "configure
"
9622 #include "confdefs.h
"
9625 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
9626 { (eval echo configure:9627: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9627 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
9628 if test -z "$ac_err"; then
9630 eval "ac_cv_header_
$ac_safe=yes"
9633 echo "configure
: failed program was
:" >&5
9634 cat conftest.$ac_ext >&5
9636 eval "ac_cv_header_
$ac_safe=no
"
9640 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9641 echo "$ac_t""yes" 1>&6
9642 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9643 cat >> confdefs.h <<EOF
9644 #define $ac_tr_hdr 1
9648 echo "$ac_t""no
" 1>&6
9654 if test x"$ac_has_wchar_h" = xyes &&
9655 test x"$ac_has_wctype_h" = xyes &&
9656 test x"$enable_c_mbchar" != xno; then
9658 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
9659 echo "configure
:9660: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
9660 cat > conftest.$ac_ext <<EOF
9661 #line 9662 "configure
"
9662 #include "confdefs.h
"
9665 int i = WCHAR_MIN; int j = WCHAR_MAX;
9668 if { (eval echo configure:9669: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9670 has_wchar_minmax=yes
9672 echo "configure
: failed program was
:" >&5
9673 cat conftest.$ac_ext >&5
9678 echo "$ac_t""$has_wchar_minmax" 1>&6
9680 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
9681 echo "configure
:9682: checking
for WEOF
" >&5
9682 cat > conftest.$ac_ext <<EOF
9683 #line 9684 "configure
"
9684 #include "confdefs.h
"
9692 if { (eval echo configure:9693: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9696 echo "configure
: failed program was
:" >&5
9697 cat conftest.$ac_ext >&5
9702 echo "$ac_t""$has_weof" 1>&6
9705 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
9707 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9708 echo "configure
:9709: checking
for $ac_func" >&5
9709 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9710 echo $ac_n "(cached
) $ac_c" 1>&6
9712 cat > conftest.$ac_ext <<EOF
9713 #line 9714 "configure
"
9714 #include "confdefs.h
"
9715 /* System header to define __stub macros and hopefully few prototypes,
9716 which can conflict with char $ac_func(); below. */
9718 /* Override any gcc2 internal prototype to avoid an error. */
9719 /* We use char because int might match the return type of a gcc2
9720 builtin and then its argument prototype would still apply. */
9725 /* The GNU C library defines this for functions which it implements
9726 to always fail with ENOSYS. Some functions are actually named
9727 something starting with __ and the normal name is an alias. */
9728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9736 if { (eval echo configure:9737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9738 eval "ac_cv_func_
$ac_func=yes"
9740 echo "configure
: failed program was
:" >&5
9741 cat conftest.$ac_ext >&5
9743 eval "ac_cv_func_
$ac_func=no
"
9748 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9749 echo "$ac_t""yes" 1>&6
9750 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9751 cat >> confdefs.h <<EOF
9752 #define $ac_tr_func 1
9756 echo "$ac_t""no
" 1>&6
9763 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
9764 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
9765 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
9766 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
9767 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
9768 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
9770 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9771 echo "configure
:9772: checking
for $ac_func" >&5
9772 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9773 echo $ac_n "(cached
) $ac_c" 1>&6
9775 cat > conftest.$ac_ext <<EOF
9776 #line 9777 "configure
"
9777 #include "confdefs.h
"
9778 /* System header to define __stub macros and hopefully few prototypes,
9779 which can conflict with char $ac_func(); below. */
9781 /* Override any gcc2 internal prototype to avoid an error. */
9782 /* We use char because int might match the return type of a gcc2
9783 builtin and then its argument prototype would still apply. */
9788 /* The GNU C library defines this for functions which it implements
9789 to always fail with ENOSYS. Some functions are actually named
9790 something starting with __ and the normal name is an alias. */
9791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9799 if { (eval echo configure:9800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9801 eval "ac_cv_func_
$ac_func=yes"
9803 echo "configure
: failed program was
:" >&5
9804 cat conftest.$ac_ext >&5
9806 eval "ac_cv_func_
$ac_func=no
"
9811 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9812 echo "$ac_t""yes" 1>&6
9813 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9814 cat >> confdefs.h <<EOF
9815 #define $ac_tr_func 1
9819 echo "$ac_t""no
" 1>&6
9826 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
9827 echo "configure
:9828: checking
for ISO C99 wchar_t support
" >&5
9828 if test x"$has_weof" = xyes &&
9829 test x"$has_wchar_minmax" = xyes &&
9830 test x"$ac_wfuncs" = xyes; then
9831 ac_isoC99_wchar_t=yes
9833 ac_isoC99_wchar_t=no
9835 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
9837 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
9838 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
9839 echo "configure
:9840: checking
for iconv.h
" >&5
9840 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9841 echo $ac_n "(cached
) $ac_c" 1>&6
9843 cat > conftest.$ac_ext <<EOF
9844 #line 9845 "configure
"
9845 #include "confdefs.h
"
9848 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
9849 { (eval echo configure:9850: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9850 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
9851 if test -z "$ac_err"; then
9853 eval "ac_cv_header_
$ac_safe=yes"
9856 echo "configure
: failed program was
:" >&5
9857 cat conftest.$ac_ext >&5
9859 eval "ac_cv_header_
$ac_safe=no
"
9863 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9864 echo "$ac_t""yes" 1>&6
9867 echo "$ac_t""no
" 1>&6
9871 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
9872 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
9873 echo "configure
:9874: checking
for langinfo.h
" >&5
9874 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9875 echo $ac_n "(cached
) $ac_c" 1>&6
9877 cat > conftest.$ac_ext <<EOF
9878 #line 9879 "configure
"
9879 #include "confdefs.h
"
9880 #include <langinfo.h>
9882 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
9883 { (eval echo configure:9884: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9884 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
9885 if test -z "$ac_err"; then
9887 eval "ac_cv_header_
$ac_safe=yes"
9890 echo "configure
: failed program was
:" >&5
9891 cat conftest.$ac_ext >&5
9893 eval "ac_cv_header_
$ac_safe=no
"
9897 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9898 echo "$ac_t""yes" 1>&6
9899 ac_has_langinfo_h=yes
9901 echo "$ac_t""no
" 1>&6
9902 ac_has_langinfo_h=no
9906 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
9907 echo "configure
:9908: checking
for iconv in -liconv" >&5
9908 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
9909 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9910 echo $ac_n "(cached
) $ac_c" 1>&6
9912 ac_save_LIBS="$LIBS"
9913 LIBS="-liconv $LIBS"
9914 cat > conftest.$ac_ext <<EOF
9915 #line 9916 "configure
"
9916 #include "confdefs.h
"
9917 /* Override any gcc2 internal prototype to avoid an error. */
9918 /* We use char because int might match the return type of a gcc2
9919 builtin and then its argument prototype would still apply. */
9926 if { (eval echo configure:9927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9928 eval "ac_cv_lib_
$ac_lib_var=yes"
9930 echo "configure
: failed program was
:" >&5
9931 cat conftest.$ac_ext >&5
9933 eval "ac_cv_lib_
$ac_lib_var=no
"
9936 LIBS="$ac_save_LIBS"
9939 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9940 echo "$ac_t""yes" 1>&6
9943 echo "$ac_t""no
" 1>&6
9946 ac_save_LIBS="$LIBS"
9947 LIBS="$LIBS $libiconv"
9949 for ac_func in iconv_open iconv_close iconv nl_langinfo
9951 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9952 echo "configure
:9953: checking
for $ac_func" >&5
9953 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9954 echo $ac_n "(cached
) $ac_c" 1>&6
9956 cat > conftest.$ac_ext <<EOF
9957 #line 9958 "configure
"
9958 #include "confdefs.h
"
9959 /* System header to define __stub macros and hopefully few prototypes,
9960 which can conflict with char $ac_func(); below. */
9962 /* Override any gcc2 internal prototype to avoid an error. */
9963 /* We use char because int might match the return type of a gcc2
9964 builtin and then its argument prototype would still apply. */
9969 /* The GNU C library defines this for functions which it implements
9970 to always fail with ENOSYS. Some functions are actually named
9971 something starting with __ and the normal name is an alias. */
9972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9980 if { (eval echo configure:9981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9982 eval "ac_cv_func_
$ac_func=yes"
9984 echo "configure
: failed program was
:" >&5
9985 cat conftest.$ac_ext >&5
9987 eval "ac_cv_func_
$ac_func=no
"
9992 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9993 echo "$ac_t""yes" 1>&6
9994 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9995 cat >> confdefs.h <<EOF
9996 #define $ac_tr_func 1
10001 echo "$ac_t""no
" 1>&6
10007 LIBS="$ac_save_LIBS"
10009 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
10010 echo "configure
:10011: checking
for XPG2 wchar_t support
" >&5
10011 if test x"$ac_has_iconv_h" = xyes &&
10012 test x"$ac_has_langinfo_h" = xyes &&
10013 test x"$ac_XPG2funcs" = xyes; then
10014 ac_XPG2_wchar_t=yes
10018 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
10020 if test x"$ac_isoC99_wchar_t" = xyes &&
10021 test x"$ac_XPG2_wchar_t" = xyes; then
10022 cat >> confdefs.h <<\EOF
10023 #define _GLIBCPP_USE_WCHAR_T 1
10029 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
10030 echo "configure
:10031: checking
for enabled wchar_t specializations
" >&5
10031 echo "$ac_t""$enable_wchar_t" 1>&6
10033 cat >> confdefs.h <<\EOF
10034 #define HAVE_COSF 1
10037 cat >> confdefs.h <<\EOF
10038 #define HAVE_COSL 1
10041 cat >> confdefs.h <<\EOF
10042 #define HAVE_COSHF 1
10045 cat >> confdefs.h <<\EOF
10046 #define HAVE_COSHL 1
10049 cat >> confdefs.h <<\EOF
10050 #define HAVE_LOGF 1
10053 cat >> confdefs.h <<\EOF
10054 #define HAVE_LOGL 1
10057 cat >> confdefs.h <<\EOF
10058 #define HAVE_LOG10F 1
10061 cat >> confdefs.h <<\EOF
10062 #define HAVE_LOG10L 1
10065 cat >> confdefs.h <<\EOF
10066 #define HAVE_SINF 1
10069 cat >> confdefs.h <<\EOF
10070 #define HAVE_SINL 1
10073 cat >> confdefs.h <<\EOF
10074 #define HAVE_SINHF 1
10077 cat >> confdefs.h <<\EOF
10078 #define HAVE_SINHL 1
10085 os_include_dir="os
/solaris
/solaris2.5
"
10088 os_include_dir="os
/solaris
/solaris2.6
"
10090 *-solaris2.7 | *-solaris2.8 | *-solaris2.9)
10091 os_include_dir="os
/solaris
/solaris2.7
"
10094 cat >> confdefs.h <<\EOF
10095 #define HAVE_STRTOF 1
10098 cat >> confdefs.h <<\EOF
10099 #define HAVE_STRTOLD 1
10102 cat >> confdefs.h <<\EOF
10103 #define HAVE_MMAP 1
10106 cat >> confdefs.h <<\EOF
10107 #define HAVE_COPYSIGN 1
10110 cat >> confdefs.h <<\EOF
10111 #define HAVE_ISNAN 1
10114 cat >> confdefs.h <<\EOF
10115 #define HAVE_ISNANF 1
10118 cat >> confdefs.h <<\EOF
10119 #define HAVE_MODFF 1
10122 cat >> confdefs.h <<\EOF
10123 #define HAVE_HYPOT 1
10128 os_include_dir="os
/windiss
"
10129 cat >> confdefs.h <<\EOF
10130 #define HAVE_ACOSF 1
10133 cat >> confdefs.h <<\EOF
10134 #define HAVE_ASINF 1
10137 cat >> confdefs.h <<\EOF
10138 #define HAVE_ATAN2F 1
10141 cat >> confdefs.h <<\EOF
10142 #define HAVE_ATANF 1
10145 cat >> confdefs.h <<\EOF
10146 #define HAVE_CEILF 1
10149 cat >> confdefs.h <<\EOF
10150 #define HAVE_COPYSIGN 1
10153 cat >> confdefs.h <<\EOF
10154 #define HAVE_COPYSIGNF 1
10157 cat >> confdefs.h <<\EOF
10158 #define HAVE_COSF 1
10161 cat >> confdefs.h <<\EOF
10162 #define HAVE_COSHF 1
10165 cat >> confdefs.h <<\EOF
10166 #define HAVE_EXPF 1
10169 cat >> confdefs.h <<\EOF
10170 #define HAVE_FABSF 1
10173 cat >> confdefs.h <<\EOF
10174 #define HAVE_FLOORF 1
10177 cat >> confdefs.h <<\EOF
10178 #define HAVE_FMODF 1
10181 cat >> confdefs.h <<\EOF
10182 #define HAVE_FREXPF 1
10185 cat >> confdefs.h <<\EOF
10186 #define HAVE_LDEXPF 1
10189 cat >> confdefs.h <<\EOF
10190 #define HAVE_LOG10F 1
10193 cat >> confdefs.h <<\EOF
10194 #define HAVE_LOGF 1
10197 cat >> confdefs.h <<\EOF
10198 #define HAVE_MODFF 1
10201 cat >> confdefs.h <<\EOF
10202 #define HAVE_POWF 1
10205 cat >> confdefs.h <<\EOF
10206 #define HAVE_SINF 1
10209 cat >> confdefs.h <<\EOF
10210 #define HAVE_SINHF 1
10213 cat >> confdefs.h <<\EOF
10214 #define HAVE_SQRTF 1
10217 cat >> confdefs.h <<\EOF
10218 #define HAVE_TANF 1
10221 cat >> confdefs.h <<\EOF
10222 #define HAVE_TANHF 1
10227 if test "x
${with_newlib}" = "xyes
"; then
10228 os_include_dir="os
/newlib
"
10229 cat >> confdefs.h <<\EOF
10230 #define HAVE_HYPOT 1
10234 # GLIBCPP_CHECK_STDLIB_SUPPORT
10235 cat >> confdefs.h <<\EOF
10236 #define HAVE_STRTOF 1
10239 cat >> confdefs.h <<\EOF
10240 #define HAVE_STRTOLD 1
10244 cat >> confdefs.h <<\EOF
10245 #define HAVE_MMAP 1
10249 cat >> confdefs.h <<\EOF
10250 #define HAVE_ACOSF 1
10253 cat >> confdefs.h <<\EOF
10254 #define HAVE_ASINF 1
10257 cat >> confdefs.h <<\EOF
10258 #define HAVE_ATAN2F 1
10261 cat >> confdefs.h <<\EOF
10262 #define HAVE_ATANF 1
10265 cat >> confdefs.h <<\EOF
10266 #define HAVE_CEILF 1
10269 cat >> confdefs.h <<\EOF
10270 #define HAVE_COPYSIGN 1
10273 cat >> confdefs.h <<\EOF
10274 #define HAVE_COPYSIGNF 1
10277 cat >> confdefs.h <<\EOF
10278 #define HAVE_COSF 1
10281 cat >> confdefs.h <<\EOF
10282 #define HAVE_COSHF 1
10285 cat >> confdefs.h <<\EOF
10286 #define HAVE_EXPF 1
10289 cat >> confdefs.h <<\EOF
10290 #define HAVE_FABSF 1
10293 cat >> confdefs.h <<\EOF
10294 #define HAVE_FLOORF 1
10297 cat >> confdefs.h <<\EOF
10298 #define HAVE_FMODF 1
10301 cat >> confdefs.h <<\EOF
10302 #define HAVE_FREXPF 1
10305 cat >> confdefs.h <<\EOF
10306 #define HAVE_LDEXPF 1
10309 cat >> confdefs.h <<\EOF
10310 #define HAVE_LOG10F 1
10313 cat >> confdefs.h <<\EOF
10314 #define HAVE_LOGF 1
10317 cat >> confdefs.h <<\EOF
10318 #define HAVE_MODFF 1
10321 cat >> confdefs.h <<\EOF
10322 #define HAVE_POWF 1
10325 cat >> confdefs.h <<\EOF
10326 #define HAVE_SINF 1
10329 cat >> confdefs.h <<\EOF
10330 #define HAVE_SINHF 1
10333 cat >> confdefs.h <<\EOF
10334 #define HAVE_SQRTF 1
10337 cat >> confdefs.h <<\EOF
10338 #define HAVE_TANF 1
10341 cat >> confdefs.h <<\EOF
10342 #define HAVE_TANHF 1
10346 { echo "configure
: error
: No support
for this host
/target combination.
" 1>&2; exit 1; }
10351 # At some point, we should differentiate between architectures
10352 # like x86, which have long double versions, and alpha/powerpc/etc.,
10353 # which don't. For the time being, punt.
10354 if test x"long_double_math_on_this_cpu
" = x"yes"; then
10355 cat >> confdefs.h <<\EOF
10356 #define HAVE_ACOSL 1
10359 cat >> confdefs.h <<\EOF
10360 #define HAVE_ASINL 1
10363 cat >> confdefs.h <<\EOF
10364 #define HAVE_ATAN2L 1
10367 cat >> confdefs.h <<\EOF
10368 #define HAVE_ATANL 1
10371 cat >> confdefs.h <<\EOF
10372 #define HAVE_CEILL 1
10375 cat >> confdefs.h <<\EOF
10376 #define HAVE_COPYSIGNL 1
10379 cat >> confdefs.h <<\EOF
10380 #define HAVE_COSL 1
10383 cat >> confdefs.h <<\EOF
10384 #define HAVE_COSHL 1
10387 cat >> confdefs.h <<\EOF
10388 #define HAVE_EXPL 1
10391 cat >> confdefs.h <<\EOF
10392 #define HAVE_FABSL 1
10395 cat >> confdefs.h <<\EOF
10396 #define HAVE_FLOORL 1
10399 cat >> confdefs.h <<\EOF
10400 #define HAVE_FMODL 1
10403 cat >> confdefs.h <<\EOF
10404 #define HAVE_FREXPL 1
10407 cat >> confdefs.h <<\EOF
10408 #define HAVE_LDEXPL 1
10411 cat >> confdefs.h <<\EOF
10412 #define HAVE_LOG10L 1
10415 cat >> confdefs.h <<\EOF
10416 #define HAVE_LOGL 1
10419 cat >> confdefs.h <<\EOF
10420 #define HAVE_MODFL 1
10423 cat >> confdefs.h <<\EOF
10424 #define HAVE_POWL 1
10427 cat >> confdefs.h <<\EOF
10428 #define HAVE_SINCOSL 1
10431 cat >> confdefs.h <<\EOF
10432 #define HAVE_SINL 1
10435 cat >> confdefs.h <<\EOF
10436 #define HAVE_SINHL 1
10439 cat >> confdefs.h <<\EOF
10440 #define HAVE_SQRTL 1
10443 cat >> confdefs.h <<\EOF
10444 #define HAVE_TANL 1
10447 cat >> confdefs.h <<\EOF
10448 #define HAVE_TANHL 1
10455 # We are being configured natively. We can do more elaborate tests
10456 # that include AC_TRY_COMPILE now, as the linker is assumed to be
10458 GLIBCPP_IS_CROSS_COMPILING=false
10461 # Check for available headers.
10462 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
10463 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
10466 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10467 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
10468 echo "configure
:10469: checking
for $ac_hdr" >&5
10469 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10470 echo $ac_n "(cached
) $ac_c" 1>&6
10472 cat > conftest.$ac_ext <<EOF
10473 #line 10474 "configure
"
10474 #include "confdefs.h
"
10477 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
10478 { (eval echo configure:10479: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10479 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
10480 if test -z "$ac_err"; then
10482 eval "ac_cv_header_
$ac_safe=yes"
10485 echo "configure
: failed program was
:" >&5
10486 cat conftest.$ac_ext >&5
10488 eval "ac_cv_header_
$ac_safe=no
"
10492 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10493 echo "$ac_t""yes" 1>&6
10494 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10495 cat >> confdefs.h <<EOF
10496 #define $ac_tr_hdr 1
10500 echo "$ac_t""no
" 1>&6
10506 # All these tests are for C++; save the language and the compiler flags.
10507 # The CXXFLAGS thing is suspicious, but based on similar bits previously
10508 # found in GLIBCPP_CONFIGURE.
10511 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10512 ac_cpp='$CXXCPP $CPPFLAGS'
10513 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10514 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10515 cross_compiling=$ac_cv_prog_cxx_cross
10517 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10518 ac_save_CXXFLAGS="$CXXFLAGS"
10520 # Check for maintainer-mode bits.
10521 if test x"$USE_MAINTAINER_MODE" = xno; then
10527 # Check for -ffunction-sections -fdata-sections
10528 echo $ac_n "checking
for g
++ that supports
-ffunction-sections -fdata-sections""...
$ac_c" 1>&6
10529 echo "configure
:10530: checking
for g
++ that supports
-ffunction-sections -fdata-sections" >&5
10530 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
10531 cat > conftest.$ac_ext <<EOF
10532 #line 10533 "configure
"
10533 #include "confdefs.h
"
10540 if { (eval echo configure:10541: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10544 echo "configure
: failed program was
:" >&5
10545 cat conftest.$ac_ext >&5
10550 if test "$ac_test_CXXFLAGS" = set; then
10551 CXXFLAGS="$ac_save_CXXFLAGS"
10553 # this is the suspicious part
10556 if test x"$ac_fdsections" = x"yes"; then
10557 SECTION_FLAGS='-ffunction-sections -fdata-sections'
10559 echo "$ac_t""$ac_fdsections" 1>&6
10562 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10563 ac_cpp='$CPP $CPPFLAGS'
10564 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10565 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10566 cross_compiling=$ac_cv_prog_cc_cross
10572 # If we're not using GNU ld, then there's no point in even trying these
10573 # tests. Check for that first. We should have already tested for gld
10574 # by now (in libtool), but require it now just to be safe...
10575 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
10576 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
10579 # The name set by libtool depends on the version of libtool. Shame on us
10580 # for depending on an impl detail, but c'est la vie. Older versions used
10581 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
10582 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
10583 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
10584 # set (hence we're using an older libtool), then set it.
10585 if test x${with_gnu_ld+set} != xset; then
10586 if test x${ac_cv_prog_gnu_ld+set} != xset; then
10587 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
10590 with_gnu_ld=$ac_cv_prog_gnu_ld
10594 # Start by getting the version number. I think the libtool test already
10595 # does some of this, but throws away the result.
10597 ldver=`$LD --version 2>/dev/null | head -1 | \
10598 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
10600 glibcpp_gnu_ld_version=`echo $ldver | \
10601 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
10603 # Set --gc-sections.
10604 if test "$with_gnu_ld" = "notbroken
"; then
10605 # GNU ld it is! Joy and bunny rabbits!
10607 # All these tests are for C++; save the language and the compiler flags.
10608 # Need to do this so that g++ won't try to link in libstdc++
10609 ac_test_CFLAGS="${CFLAGS+set}"
10610 ac_save_CFLAGS="$CFLAGS"
10611 CFLAGS='-x c++ -Wl,--gc-sections'
10613 # Check for -Wl,--gc-sections
10614 # XXX This test is broken at the moment, as symbols required for
10615 # linking are now in libsupc++ (not built yet.....). In addition,
10616 # this test has cored on solaris in the past. In addition,
10617 # --gc-sections doesn't really work at the moment (keeps on discarding
10618 # used sections, first .eh_frame and now some of the glibc sections for
10619 # iconv). Bzzzzt. Thanks for playing, maybe next time.
10620 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
10621 echo "configure
:10622: checking
for ld that supports
-Wl,--gc-sections" >&5
10622 if test "$cross_compiling" = yes; then
10623 ac_sectionLDflags=yes
10625 cat > conftest.$ac_ext <<EOF
10626 #line 10627 "configure
"
10627 #include "confdefs.h
"
10637 if { (eval echo configure:10638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10639 ac_sectionLDflags=yes
10641 echo "configure
: failed program was
:" >&5
10642 cat conftest.$ac_ext >&5
10644 ac_sectionLDflags=no
10649 if test "$ac_test_CFLAGS" = set; then
10650 CFLAGS="$ac_save_CFLAGS"
10652 # this is the suspicious part
10655 if test "$ac_sectionLDflags" = "yes"; then
10656 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
10658 echo "$ac_t""$ac_sectionLDflags" 1>&6
10661 # Set linker optimization flags.
10662 if test x"$with_gnu_ld" = x"yes"; then
10663 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
10670 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10671 ac_save_CXXFLAGS="$CXXFLAGS"
10672 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
10674 echo $ac_n "checking
for sin
in -lm""...
$ac_c" 1>&6
10675 echo "configure
:10676: checking
for sin
in -lm" >&5
10676 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
10677 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10678 echo $ac_n "(cached
) $ac_c" 1>&6
10680 ac_save_LIBS="$LIBS"
10682 cat > conftest.$ac_ext <<EOF
10683 #line 10684 "configure
"
10684 #include "confdefs.h
"
10685 /* Override any gcc2 internal prototype to avoid an error. */
10686 /* We use char because int might match the return type of a gcc2
10687 builtin and then its argument prototype would still apply. */
10694 if { (eval echo configure:10695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10696 eval "ac_cv_lib_
$ac_lib_var=yes"
10698 echo "configure
: failed program was
:" >&5
10699 cat conftest.$ac_ext >&5
10701 eval "ac_cv_lib_
$ac_lib_var=no
"
10704 LIBS="$ac_save_LIBS"
10707 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10708 echo "$ac_t""yes" 1>&6
10711 echo "$ac_t""no
" 1>&6
10714 ac_save_LIBS="$LIBS"
10719 echo $ac_n "checking
for isinf declaration
""...
$ac_c" 1>&6
10720 echo "configure
:10721: checking
for isinf declaration
" >&5
10721 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
10722 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
10723 echo $ac_n "(cached
) $ac_c" 1>&6
10728 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10729 ac_cpp='$CXXCPP $CPPFLAGS'
10730 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10731 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10732 cross_compiling=$ac_cv_prog_cxx_cross
10734 cat > conftest.$ac_ext <<EOF
10735 #line 10736 "configure
"
10736 #include "confdefs.h
"
10738 #ifdef HAVE_IEEEFP_H
10739 #include <ieeefp.h>
10746 if { (eval echo configure:10747: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10748 glibcpp_cv_func_isinf_use=yes
10750 echo "configure
: failed program was
:" >&5
10751 cat conftest.$ac_ext >&5
10753 glibcpp_cv_func_isinf_use=no
10757 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10758 ac_cpp='$CPP $CPPFLAGS'
10759 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10760 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10761 cross_compiling=$ac_cv_prog_cc_cross
10767 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
10769 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
10770 for ac_func in isinf
10772 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10773 echo "configure
:10774: checking
for $ac_func" >&5
10774 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10775 echo $ac_n "(cached
) $ac_c" 1>&6
10777 cat > conftest.$ac_ext <<EOF
10778 #line 10779 "configure
"
10779 #include "confdefs.h
"
10780 /* System header to define __stub macros and hopefully few prototypes,
10781 which can conflict with char $ac_func(); below. */
10782 #include <assert.h>
10783 /* Override any gcc2 internal prototype to avoid an error. */
10784 /* We use char because int might match the return type of a gcc2
10785 builtin and then its argument prototype would still apply. */
10790 /* The GNU C library defines this for functions which it implements
10791 to always fail with ENOSYS. Some functions are actually named
10792 something starting with __ and the normal name is an alias. */
10793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10801 if { (eval echo configure:10802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10803 eval "ac_cv_func_
$ac_func=yes"
10805 echo "configure
: failed program was
:" >&5
10806 cat conftest.$ac_ext >&5
10808 eval "ac_cv_func_
$ac_func=no
"
10813 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10814 echo "$ac_t""yes" 1>&6
10815 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10816 cat >> confdefs.h <<EOF
10817 #define $ac_tr_func 1
10821 echo "$ac_t""no
" 1>&6
10827 echo $ac_n "checking
for _isinf declaration
""...
$ac_c" 1>&6
10828 echo "configure
:10829: checking
for _isinf declaration
" >&5
10829 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
10830 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
10831 echo $ac_n "(cached
) $ac_c" 1>&6
10836 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10837 ac_cpp='$CXXCPP $CPPFLAGS'
10838 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10839 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10840 cross_compiling=$ac_cv_prog_cxx_cross
10842 cat > conftest.$ac_ext <<EOF
10843 #line 10844 "configure
"
10844 #include "confdefs.h
"
10846 #ifdef HAVE_IEEEFP_H
10847 #include <ieeefp.h>
10854 if { (eval echo configure:10855: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10856 glibcpp_cv_func__isinf_use=yes
10858 echo "configure
: failed program was
:" >&5
10859 cat conftest.$ac_ext >&5
10861 glibcpp_cv_func__isinf_use=no
10865 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10866 ac_cpp='$CPP $CPPFLAGS'
10867 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10868 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10869 cross_compiling=$ac_cv_prog_cc_cross
10875 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
10877 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
10878 for ac_func in _isinf
10880 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10881 echo "configure
:10882: checking
for $ac_func" >&5
10882 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10883 echo $ac_n "(cached
) $ac_c" 1>&6
10885 cat > conftest.$ac_ext <<EOF
10886 #line 10887 "configure
"
10887 #include "confdefs.h
"
10888 /* System header to define __stub macros and hopefully few prototypes,
10889 which can conflict with char $ac_func(); below. */
10890 #include <assert.h>
10891 /* Override any gcc2 internal prototype to avoid an error. */
10892 /* We use char because int might match the return type of a gcc2
10893 builtin and then its argument prototype would still apply. */
10898 /* The GNU C library defines this for functions which it implements
10899 to always fail with ENOSYS. Some functions are actually named
10900 something starting with __ and the normal name is an alias. */
10901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10909 if { (eval echo configure:10910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10911 eval "ac_cv_func_
$ac_func=yes"
10913 echo "configure
: failed program was
:" >&5
10914 cat conftest.$ac_ext >&5
10916 eval "ac_cv_func_
$ac_func=no
"
10921 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10922 echo "$ac_t""yes" 1>&6
10923 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10924 cat >> confdefs.h <<EOF
10925 #define $ac_tr_func 1
10929 echo "$ac_t""no
" 1>&6
10938 echo $ac_n "checking
for isnan declaration
""...
$ac_c" 1>&6
10939 echo "configure
:10940: checking
for isnan declaration
" >&5
10940 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
10941 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
10942 echo $ac_n "(cached
) $ac_c" 1>&6
10947 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10948 ac_cpp='$CXXCPP $CPPFLAGS'
10949 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10950 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10951 cross_compiling=$ac_cv_prog_cxx_cross
10953 cat > conftest.$ac_ext <<EOF
10954 #line 10955 "configure
"
10955 #include "confdefs.h
"
10957 #ifdef HAVE_IEEEFP_H
10958 #include <ieeefp.h>
10965 if { (eval echo configure:10966: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10967 glibcpp_cv_func_isnan_use=yes
10969 echo "configure
: failed program was
:" >&5
10970 cat conftest.$ac_ext >&5
10972 glibcpp_cv_func_isnan_use=no
10976 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10977 ac_cpp='$CPP $CPPFLAGS'
10978 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10979 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10980 cross_compiling=$ac_cv_prog_cc_cross
10986 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
10988 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
10989 for ac_func in isnan
10991 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10992 echo "configure
:10993: checking
for $ac_func" >&5
10993 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10994 echo $ac_n "(cached
) $ac_c" 1>&6
10996 cat > conftest.$ac_ext <<EOF
10997 #line 10998 "configure
"
10998 #include "confdefs.h
"
10999 /* System header to define __stub macros and hopefully few prototypes,
11000 which can conflict with char $ac_func(); below. */
11001 #include <assert.h>
11002 /* Override any gcc2 internal prototype to avoid an error. */
11003 /* We use char because int might match the return type of a gcc2
11004 builtin and then its argument prototype would still apply. */
11009 /* The GNU C library defines this for functions which it implements
11010 to always fail with ENOSYS. Some functions are actually named
11011 something starting with __ and the normal name is an alias. */
11012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11020 if { (eval echo configure:11021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11022 eval "ac_cv_func_
$ac_func=yes"
11024 echo "configure
: failed program was
:" >&5
11025 cat conftest.$ac_ext >&5
11027 eval "ac_cv_func_
$ac_func=no
"
11032 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11033 echo "$ac_t""yes" 1>&6
11034 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11035 cat >> confdefs.h <<EOF
11036 #define $ac_tr_func 1
11040 echo "$ac_t""no
" 1>&6
11046 echo $ac_n "checking
for _isnan declaration
""...
$ac_c" 1>&6
11047 echo "configure
:11048: checking
for _isnan declaration
" >&5
11048 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
11049 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
11050 echo $ac_n "(cached
) $ac_c" 1>&6
11055 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11056 ac_cpp='$CXXCPP $CPPFLAGS'
11057 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11058 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11059 cross_compiling=$ac_cv_prog_cxx_cross
11061 cat > conftest.$ac_ext <<EOF
11062 #line 11063 "configure
"
11063 #include "confdefs.h
"
11065 #ifdef HAVE_IEEEFP_H
11066 #include <ieeefp.h>
11073 if { (eval echo configure:11074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11075 glibcpp_cv_func__isnan_use=yes
11077 echo "configure
: failed program was
:" >&5
11078 cat conftest.$ac_ext >&5
11080 glibcpp_cv_func__isnan_use=no
11084 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11085 ac_cpp='$CPP $CPPFLAGS'
11086 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11087 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11088 cross_compiling=$ac_cv_prog_cc_cross
11094 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
11096 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
11097 for ac_func in _isnan
11099 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11100 echo "configure
:11101: checking
for $ac_func" >&5
11101 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11102 echo $ac_n "(cached
) $ac_c" 1>&6
11104 cat > conftest.$ac_ext <<EOF
11105 #line 11106 "configure
"
11106 #include "confdefs.h
"
11107 /* System header to define __stub macros and hopefully few prototypes,
11108 which can conflict with char $ac_func(); below. */
11109 #include <assert.h>
11110 /* Override any gcc2 internal prototype to avoid an error. */
11111 /* We use char because int might match the return type of a gcc2
11112 builtin and then its argument prototype would still apply. */
11117 /* The GNU C library defines this for functions which it implements
11118 to always fail with ENOSYS. Some functions are actually named
11119 something starting with __ and the normal name is an alias. */
11120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11128 if { (eval echo configure:11129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11130 eval "ac_cv_func_
$ac_func=yes"
11132 echo "configure
: failed program was
:" >&5
11133 cat conftest.$ac_ext >&5
11135 eval "ac_cv_func_
$ac_func=no
"
11140 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11141 echo "$ac_t""yes" 1>&6
11142 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11143 cat >> confdefs.h <<EOF
11144 #define $ac_tr_func 1
11148 echo "$ac_t""no
" 1>&6
11157 echo $ac_n "checking
for finite declaration
""...
$ac_c" 1>&6
11158 echo "configure
:11159: checking
for finite declaration
" >&5
11159 if test x${glibcpp_cv_func_finite_use+set} != xset; then
11160 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
11161 echo $ac_n "(cached
) $ac_c" 1>&6
11166 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11167 ac_cpp='$CXXCPP $CPPFLAGS'
11168 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11169 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11170 cross_compiling=$ac_cv_prog_cxx_cross
11172 cat > conftest.$ac_ext <<EOF
11173 #line 11174 "configure
"
11174 #include "confdefs.h
"
11176 #ifdef HAVE_IEEEFP_H
11177 #include <ieeefp.h>
11184 if { (eval echo configure:11185: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11186 glibcpp_cv_func_finite_use=yes
11188 echo "configure
: failed program was
:" >&5
11189 cat conftest.$ac_ext >&5
11191 glibcpp_cv_func_finite_use=no
11195 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11196 ac_cpp='$CPP $CPPFLAGS'
11197 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11198 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11199 cross_compiling=$ac_cv_prog_cc_cross
11205 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
11207 if test x$glibcpp_cv_func_finite_use = x"yes"; then
11208 for ac_func in finite
11210 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11211 echo "configure
:11212: checking
for $ac_func" >&5
11212 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11213 echo $ac_n "(cached
) $ac_c" 1>&6
11215 cat > conftest.$ac_ext <<EOF
11216 #line 11217 "configure
"
11217 #include "confdefs.h
"
11218 /* System header to define __stub macros and hopefully few prototypes,
11219 which can conflict with char $ac_func(); below. */
11220 #include <assert.h>
11221 /* Override any gcc2 internal prototype to avoid an error. */
11222 /* We use char because int might match the return type of a gcc2
11223 builtin and then its argument prototype would still apply. */
11228 /* The GNU C library defines this for functions which it implements
11229 to always fail with ENOSYS. Some functions are actually named
11230 something starting with __ and the normal name is an alias. */
11231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11239 if { (eval echo configure:11240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11241 eval "ac_cv_func_
$ac_func=yes"
11243 echo "configure
: failed program was
:" >&5
11244 cat conftest.$ac_ext >&5
11246 eval "ac_cv_func_
$ac_func=no
"
11251 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11252 echo "$ac_t""yes" 1>&6
11253 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11254 cat >> confdefs.h <<EOF
11255 #define $ac_tr_func 1
11259 echo "$ac_t""no
" 1>&6
11265 echo $ac_n "checking
for _finite declaration
""...
$ac_c" 1>&6
11266 echo "configure
:11267: checking
for _finite declaration
" >&5
11267 if test x${glibcpp_cv_func__finite_use+set} != xset; then
11268 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
11269 echo $ac_n "(cached
) $ac_c" 1>&6
11274 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11275 ac_cpp='$CXXCPP $CPPFLAGS'
11276 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11277 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11278 cross_compiling=$ac_cv_prog_cxx_cross
11280 cat > conftest.$ac_ext <<EOF
11281 #line 11282 "configure
"
11282 #include "confdefs.h
"
11284 #ifdef HAVE_IEEEFP_H
11285 #include <ieeefp.h>
11292 if { (eval echo configure:11293: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11294 glibcpp_cv_func__finite_use=yes
11296 echo "configure
: failed program was
:" >&5
11297 cat conftest.$ac_ext >&5
11299 glibcpp_cv_func__finite_use=no
11303 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11304 ac_cpp='$CPP $CPPFLAGS'
11305 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11306 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11307 cross_compiling=$ac_cv_prog_cc_cross
11313 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
11315 if test x$glibcpp_cv_func__finite_use = x"yes"; then
11316 for ac_func in _finite
11318 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11319 echo "configure
:11320: checking
for $ac_func" >&5
11320 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11321 echo $ac_n "(cached
) $ac_c" 1>&6
11323 cat > conftest.$ac_ext <<EOF
11324 #line 11325 "configure
"
11325 #include "confdefs.h
"
11326 /* System header to define __stub macros and hopefully few prototypes,
11327 which can conflict with char $ac_func(); below. */
11328 #include <assert.h>
11329 /* Override any gcc2 internal prototype to avoid an error. */
11330 /* We use char because int might match the return type of a gcc2
11331 builtin and then its argument prototype would still apply. */
11336 /* The GNU C library defines this for functions which it implements
11337 to always fail with ENOSYS. Some functions are actually named
11338 something starting with __ and the normal name is an alias. */
11339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11347 if { (eval echo configure:11348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11349 eval "ac_cv_func_
$ac_func=yes"
11351 echo "configure
: failed program was
:" >&5
11352 cat conftest.$ac_ext >&5
11354 eval "ac_cv_func_
$ac_func=no
"
11359 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11360 echo "$ac_t""yes" 1>&6
11361 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11362 cat >> confdefs.h <<EOF
11363 #define $ac_tr_func 1
11367 echo "$ac_t""no
" 1>&6
11376 echo $ac_n "checking
for copysign declaration
""...
$ac_c" 1>&6
11377 echo "configure
:11378: checking
for copysign declaration
" >&5
11378 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
11379 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
11380 echo $ac_n "(cached
) $ac_c" 1>&6
11385 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11386 ac_cpp='$CXXCPP $CPPFLAGS'
11387 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11388 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11389 cross_compiling=$ac_cv_prog_cxx_cross
11391 cat > conftest.$ac_ext <<EOF
11392 #line 11393 "configure
"
11393 #include "confdefs.h
"
11399 if { (eval echo configure:11400: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11401 glibcpp_cv_func_copysign_use=yes
11403 echo "configure
: failed program was
:" >&5
11404 cat conftest.$ac_ext >&5
11406 glibcpp_cv_func_copysign_use=no
11410 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11411 ac_cpp='$CPP $CPPFLAGS'
11412 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11413 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11414 cross_compiling=$ac_cv_prog_cc_cross
11420 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
11422 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
11423 for ac_func in copysign
11425 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11426 echo "configure
:11427: checking
for $ac_func" >&5
11427 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11428 echo $ac_n "(cached
) $ac_c" 1>&6
11430 cat > conftest.$ac_ext <<EOF
11431 #line 11432 "configure
"
11432 #include "confdefs.h
"
11433 /* System header to define __stub macros and hopefully few prototypes,
11434 which can conflict with char $ac_func(); below. */
11435 #include <assert.h>
11436 /* Override any gcc2 internal prototype to avoid an error. */
11437 /* We use char because int might match the return type of a gcc2
11438 builtin and then its argument prototype would still apply. */
11443 /* The GNU C library defines this for functions which it implements
11444 to always fail with ENOSYS. Some functions are actually named
11445 something starting with __ and the normal name is an alias. */
11446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11454 if { (eval echo configure:11455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11456 eval "ac_cv_func_
$ac_func=yes"
11458 echo "configure
: failed program was
:" >&5
11459 cat conftest.$ac_ext >&5
11461 eval "ac_cv_func_
$ac_func=no
"
11466 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11467 echo "$ac_t""yes" 1>&6
11468 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11469 cat >> confdefs.h <<EOF
11470 #define $ac_tr_func 1
11474 echo "$ac_t""no
" 1>&6
11480 echo $ac_n "checking
for _copysign declaration
""...
$ac_c" 1>&6
11481 echo "configure
:11482: checking
for _copysign declaration
" >&5
11482 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
11483 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
11484 echo $ac_n "(cached
) $ac_c" 1>&6
11489 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11490 ac_cpp='$CXXCPP $CPPFLAGS'
11491 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11492 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11493 cross_compiling=$ac_cv_prog_cxx_cross
11495 cat > conftest.$ac_ext <<EOF
11496 #line 11497 "configure
"
11497 #include "confdefs.h
"
11503 if { (eval echo configure:11504: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11505 glibcpp_cv_func__copysign_use=yes
11507 echo "configure
: failed program was
:" >&5
11508 cat conftest.$ac_ext >&5
11510 glibcpp_cv_func__copysign_use=no
11514 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11515 ac_cpp='$CPP $CPPFLAGS'
11516 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11517 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11518 cross_compiling=$ac_cv_prog_cc_cross
11524 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
11526 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
11527 for ac_func in _copysign
11529 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11530 echo "configure
:11531: checking
for $ac_func" >&5
11531 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11532 echo $ac_n "(cached
) $ac_c" 1>&6
11534 cat > conftest.$ac_ext <<EOF
11535 #line 11536 "configure
"
11536 #include "confdefs.h
"
11537 /* System header to define __stub macros and hopefully few prototypes,
11538 which can conflict with char $ac_func(); below. */
11539 #include <assert.h>
11540 /* Override any gcc2 internal prototype to avoid an error. */
11541 /* We use char because int might match the return type of a gcc2
11542 builtin and then its argument prototype would still apply. */
11547 /* The GNU C library defines this for functions which it implements
11548 to always fail with ENOSYS. Some functions are actually named
11549 something starting with __ and the normal name is an alias. */
11550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11558 if { (eval echo configure:11559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11560 eval "ac_cv_func_
$ac_func=yes"
11562 echo "configure
: failed program was
:" >&5
11563 cat conftest.$ac_ext >&5
11565 eval "ac_cv_func_
$ac_func=no
"
11570 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11571 echo "$ac_t""yes" 1>&6
11572 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11573 cat >> confdefs.h <<EOF
11574 #define $ac_tr_func 1
11578 echo "$ac_t""no
" 1>&6
11587 echo $ac_n "checking
for sincos declaration
""...
$ac_c" 1>&6
11588 echo "configure
:11589: checking
for sincos declaration
" >&5
11589 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
11590 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
11591 echo $ac_n "(cached
) $ac_c" 1>&6
11596 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11597 ac_cpp='$CXXCPP $CPPFLAGS'
11598 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11599 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11600 cross_compiling=$ac_cv_prog_cxx_cross
11602 cat > conftest.$ac_ext <<EOF
11603 #line 11604 "configure
"
11604 #include "confdefs.h
"
11610 if { (eval echo configure:11611: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11612 glibcpp_cv_func_sincos_use=yes
11614 echo "configure
: failed program was
:" >&5
11615 cat conftest.$ac_ext >&5
11617 glibcpp_cv_func_sincos_use=no
11621 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11622 ac_cpp='$CPP $CPPFLAGS'
11623 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11624 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11625 cross_compiling=$ac_cv_prog_cc_cross
11631 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
11633 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
11634 for ac_func in sincos
11636 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11637 echo "configure
:11638: checking
for $ac_func" >&5
11638 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11639 echo $ac_n "(cached
) $ac_c" 1>&6
11641 cat > conftest.$ac_ext <<EOF
11642 #line 11643 "configure
"
11643 #include "confdefs.h
"
11644 /* System header to define __stub macros and hopefully few prototypes,
11645 which can conflict with char $ac_func(); below. */
11646 #include <assert.h>
11647 /* Override any gcc2 internal prototype to avoid an error. */
11648 /* We use char because int might match the return type of a gcc2
11649 builtin and then its argument prototype would still apply. */
11654 /* The GNU C library defines this for functions which it implements
11655 to always fail with ENOSYS. Some functions are actually named
11656 something starting with __ and the normal name is an alias. */
11657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11665 if { (eval echo configure:11666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11667 eval "ac_cv_func_
$ac_func=yes"
11669 echo "configure
: failed program was
:" >&5
11670 cat conftest.$ac_ext >&5
11672 eval "ac_cv_func_
$ac_func=no
"
11677 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11678 echo "$ac_t""yes" 1>&6
11679 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11680 cat >> confdefs.h <<EOF
11681 #define $ac_tr_func 1
11685 echo "$ac_t""no
" 1>&6
11691 echo $ac_n "checking
for _sincos declaration
""...
$ac_c" 1>&6
11692 echo "configure
:11693: checking
for _sincos declaration
" >&5
11693 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
11694 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
11695 echo $ac_n "(cached
) $ac_c" 1>&6
11700 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11701 ac_cpp='$CXXCPP $CPPFLAGS'
11702 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11703 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11704 cross_compiling=$ac_cv_prog_cxx_cross
11706 cat > conftest.$ac_ext <<EOF
11707 #line 11708 "configure
"
11708 #include "confdefs.h
"
11714 if { (eval echo configure:11715: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11716 glibcpp_cv_func__sincos_use=yes
11718 echo "configure
: failed program was
:" >&5
11719 cat conftest.$ac_ext >&5
11721 glibcpp_cv_func__sincos_use=no
11725 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11726 ac_cpp='$CPP $CPPFLAGS'
11727 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11728 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11729 cross_compiling=$ac_cv_prog_cc_cross
11735 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
11737 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
11738 for ac_func in _sincos
11740 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11741 echo "configure
:11742: checking
for $ac_func" >&5
11742 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11743 echo $ac_n "(cached
) $ac_c" 1>&6
11745 cat > conftest.$ac_ext <<EOF
11746 #line 11747 "configure
"
11747 #include "confdefs.h
"
11748 /* System header to define __stub macros and hopefully few prototypes,
11749 which can conflict with char $ac_func(); below. */
11750 #include <assert.h>
11751 /* Override any gcc2 internal prototype to avoid an error. */
11752 /* We use char because int might match the return type of a gcc2
11753 builtin and then its argument prototype would still apply. */
11758 /* The GNU C library defines this for functions which it implements
11759 to always fail with ENOSYS. Some functions are actually named
11760 something starting with __ and the normal name is an alias. */
11761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11769 if { (eval echo configure:11770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11771 eval "ac_cv_func_
$ac_func=yes"
11773 echo "configure
: failed program was
:" >&5
11774 cat conftest.$ac_ext >&5
11776 eval "ac_cv_func_
$ac_func=no
"
11781 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11782 echo "$ac_t""yes" 1>&6
11783 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11784 cat >> confdefs.h <<EOF
11785 #define $ac_tr_func 1
11789 echo "$ac_t""no
" 1>&6
11798 echo $ac_n "checking
for fpclass declaration
""...
$ac_c" 1>&6
11799 echo "configure
:11800: checking
for fpclass declaration
" >&5
11800 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
11801 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
11802 echo $ac_n "(cached
) $ac_c" 1>&6
11807 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11808 ac_cpp='$CXXCPP $CPPFLAGS'
11809 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11810 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11811 cross_compiling=$ac_cv_prog_cxx_cross
11813 cat > conftest.$ac_ext <<EOF
11814 #line 11815 "configure
"
11815 #include "confdefs.h
"
11817 #ifdef HAVE_IEEEFP_H
11818 #include <ieeefp.h>
11825 if { (eval echo configure:11826: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11827 glibcpp_cv_func_fpclass_use=yes
11829 echo "configure
: failed program was
:" >&5
11830 cat conftest.$ac_ext >&5
11832 glibcpp_cv_func_fpclass_use=no
11836 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11837 ac_cpp='$CPP $CPPFLAGS'
11838 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11839 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11840 cross_compiling=$ac_cv_prog_cc_cross
11846 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
11848 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
11849 for ac_func in fpclass
11851 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11852 echo "configure
:11853: checking
for $ac_func" >&5
11853 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11854 echo $ac_n "(cached
) $ac_c" 1>&6
11856 cat > conftest.$ac_ext <<EOF
11857 #line 11858 "configure
"
11858 #include "confdefs.h
"
11859 /* System header to define __stub macros and hopefully few prototypes,
11860 which can conflict with char $ac_func(); below. */
11861 #include <assert.h>
11862 /* Override any gcc2 internal prototype to avoid an error. */
11863 /* We use char because int might match the return type of a gcc2
11864 builtin and then its argument prototype would still apply. */
11869 /* The GNU C library defines this for functions which it implements
11870 to always fail with ENOSYS. Some functions are actually named
11871 something starting with __ and the normal name is an alias. */
11872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11880 if { (eval echo configure:11881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11882 eval "ac_cv_func_
$ac_func=yes"
11884 echo "configure
: failed program was
:" >&5
11885 cat conftest.$ac_ext >&5
11887 eval "ac_cv_func_
$ac_func=no
"
11892 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11893 echo "$ac_t""yes" 1>&6
11894 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11895 cat >> confdefs.h <<EOF
11896 #define $ac_tr_func 1
11900 echo "$ac_t""no
" 1>&6
11906 echo $ac_n "checking
for _fpclass declaration
""...
$ac_c" 1>&6
11907 echo "configure
:11908: checking
for _fpclass declaration
" >&5
11908 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
11909 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
11910 echo $ac_n "(cached
) $ac_c" 1>&6
11915 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11916 ac_cpp='$CXXCPP $CPPFLAGS'
11917 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11918 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11919 cross_compiling=$ac_cv_prog_cxx_cross
11921 cat > conftest.$ac_ext <<EOF
11922 #line 11923 "configure
"
11923 #include "confdefs.h
"
11925 #ifdef HAVE_IEEEFP_H
11926 #include <ieeefp.h>
11933 if { (eval echo configure:11934: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11935 glibcpp_cv_func__fpclass_use=yes
11937 echo "configure
: failed program was
:" >&5
11938 cat conftest.$ac_ext >&5
11940 glibcpp_cv_func__fpclass_use=no
11944 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11945 ac_cpp='$CPP $CPPFLAGS'
11946 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11947 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11948 cross_compiling=$ac_cv_prog_cc_cross
11954 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
11956 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
11957 for ac_func in _fpclass
11959 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11960 echo "configure
:11961: checking
for $ac_func" >&5
11961 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11962 echo $ac_n "(cached
) $ac_c" 1>&6
11964 cat > conftest.$ac_ext <<EOF
11965 #line 11966 "configure
"
11966 #include "confdefs.h
"
11967 /* System header to define __stub macros and hopefully few prototypes,
11968 which can conflict with char $ac_func(); below. */
11969 #include <assert.h>
11970 /* Override any gcc2 internal prototype to avoid an error. */
11971 /* We use char because int might match the return type of a gcc2
11972 builtin and then its argument prototype would still apply. */
11977 /* The GNU C library defines this for functions which it implements
11978 to always fail with ENOSYS. Some functions are actually named
11979 something starting with __ and the normal name is an alias. */
11980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11988 if { (eval echo configure:11989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11990 eval "ac_cv_func_
$ac_func=yes"
11992 echo "configure
: failed program was
:" >&5
11993 cat conftest.$ac_ext >&5
11995 eval "ac_cv_func_
$ac_func=no
"
12000 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12001 echo "$ac_t""yes" 1>&6
12002 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12003 cat >> confdefs.h <<EOF
12004 #define $ac_tr_func 1
12008 echo "$ac_t""no
" 1>&6
12017 echo $ac_n "checking
for qfpclass declaration
""...
$ac_c" 1>&6
12018 echo "configure
:12019: checking
for qfpclass declaration
" >&5
12019 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
12020 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
12021 echo $ac_n "(cached
) $ac_c" 1>&6
12026 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12027 ac_cpp='$CXXCPP $CPPFLAGS'
12028 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12029 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12030 cross_compiling=$ac_cv_prog_cxx_cross
12032 cat > conftest.$ac_ext <<EOF
12033 #line 12034 "configure
"
12034 #include "confdefs.h
"
12036 #ifdef HAVE_IEEEFP_H
12037 #include <ieeefp.h>
12044 if { (eval echo configure:12045: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12046 glibcpp_cv_func_qfpclass_use=yes
12048 echo "configure
: failed program was
:" >&5
12049 cat conftest.$ac_ext >&5
12051 glibcpp_cv_func_qfpclass_use=no
12055 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12056 ac_cpp='$CPP $CPPFLAGS'
12057 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12058 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12059 cross_compiling=$ac_cv_prog_cc_cross
12065 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
12067 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
12068 for ac_func in qfpclass
12070 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12071 echo "configure
:12072: checking
for $ac_func" >&5
12072 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12073 echo $ac_n "(cached
) $ac_c" 1>&6
12075 cat > conftest.$ac_ext <<EOF
12076 #line 12077 "configure
"
12077 #include "confdefs.h
"
12078 /* System header to define __stub macros and hopefully few prototypes,
12079 which can conflict with char $ac_func(); below. */
12080 #include <assert.h>
12081 /* Override any gcc2 internal prototype to avoid an error. */
12082 /* We use char because int might match the return type of a gcc2
12083 builtin and then its argument prototype would still apply. */
12088 /* The GNU C library defines this for functions which it implements
12089 to always fail with ENOSYS. Some functions are actually named
12090 something starting with __ and the normal name is an alias. */
12091 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12099 if { (eval echo configure:12100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12101 eval "ac_cv_func_
$ac_func=yes"
12103 echo "configure
: failed program was
:" >&5
12104 cat conftest.$ac_ext >&5
12106 eval "ac_cv_func_
$ac_func=no
"
12111 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12112 echo "$ac_t""yes" 1>&6
12113 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12114 cat >> confdefs.h <<EOF
12115 #define $ac_tr_func 1
12119 echo "$ac_t""no
" 1>&6
12125 echo $ac_n "checking
for _qfpclass declaration
""...
$ac_c" 1>&6
12126 echo "configure
:12127: checking
for _qfpclass declaration
" >&5
12127 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
12128 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
12129 echo $ac_n "(cached
) $ac_c" 1>&6
12134 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12135 ac_cpp='$CXXCPP $CPPFLAGS'
12136 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12137 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12138 cross_compiling=$ac_cv_prog_cxx_cross
12140 cat > conftest.$ac_ext <<EOF
12141 #line 12142 "configure
"
12142 #include "confdefs.h
"
12144 #ifdef HAVE_IEEEFP_H
12145 #include <ieeefp.h>
12152 if { (eval echo configure:12153: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12154 glibcpp_cv_func__qfpclass_use=yes
12156 echo "configure
: failed program was
:" >&5
12157 cat conftest.$ac_ext >&5
12159 glibcpp_cv_func__qfpclass_use=no
12163 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12164 ac_cpp='$CPP $CPPFLAGS'
12165 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12166 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12167 cross_compiling=$ac_cv_prog_cc_cross
12173 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
12175 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
12176 for ac_func in _qfpclass
12178 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12179 echo "configure
:12180: checking
for $ac_func" >&5
12180 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12181 echo $ac_n "(cached
) $ac_c" 1>&6
12183 cat > conftest.$ac_ext <<EOF
12184 #line 12185 "configure
"
12185 #include "confdefs.h
"
12186 /* System header to define __stub macros and hopefully few prototypes,
12187 which can conflict with char $ac_func(); below. */
12188 #include <assert.h>
12189 /* Override any gcc2 internal prototype to avoid an error. */
12190 /* We use char because int might match the return type of a gcc2
12191 builtin and then its argument prototype would still apply. */
12196 /* The GNU C library defines this for functions which it implements
12197 to always fail with ENOSYS. Some functions are actually named
12198 something starting with __ and the normal name is an alias. */
12199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12207 if { (eval echo configure:12208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12209 eval "ac_cv_func_
$ac_func=yes"
12211 echo "configure
: failed program was
:" >&5
12212 cat conftest.$ac_ext >&5
12214 eval "ac_cv_func_
$ac_func=no
"
12219 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12220 echo "$ac_t""yes" 1>&6
12221 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12222 cat >> confdefs.h <<EOF
12223 #define $ac_tr_func 1
12227 echo "$ac_t""no
" 1>&6
12236 echo $ac_n "checking
for hypot declaration
""...
$ac_c" 1>&6
12237 echo "configure
:12238: checking
for hypot declaration
" >&5
12238 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
12239 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
12240 echo $ac_n "(cached
) $ac_c" 1>&6
12245 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12246 ac_cpp='$CXXCPP $CPPFLAGS'
12247 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12248 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12249 cross_compiling=$ac_cv_prog_cxx_cross
12251 cat > conftest.$ac_ext <<EOF
12252 #line 12253 "configure
"
12253 #include "confdefs.h
"
12259 if { (eval echo configure:12260: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12261 glibcpp_cv_func_hypot_use=yes
12263 echo "configure
: failed program was
:" >&5
12264 cat conftest.$ac_ext >&5
12266 glibcpp_cv_func_hypot_use=no
12270 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12271 ac_cpp='$CPP $CPPFLAGS'
12272 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12273 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12274 cross_compiling=$ac_cv_prog_cc_cross
12280 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
12282 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
12283 for ac_func in hypot
12285 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12286 echo "configure
:12287: checking
for $ac_func" >&5
12287 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12288 echo $ac_n "(cached
) $ac_c" 1>&6
12290 cat > conftest.$ac_ext <<EOF
12291 #line 12292 "configure
"
12292 #include "confdefs.h
"
12293 /* System header to define __stub macros and hopefully few prototypes,
12294 which can conflict with char $ac_func(); below. */
12295 #include <assert.h>
12296 /* Override any gcc2 internal prototype to avoid an error. */
12297 /* We use char because int might match the return type of a gcc2
12298 builtin and then its argument prototype would still apply. */
12303 /* The GNU C library defines this for functions which it implements
12304 to always fail with ENOSYS. Some functions are actually named
12305 something starting with __ and the normal name is an alias. */
12306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12314 if { (eval echo configure:12315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12316 eval "ac_cv_func_
$ac_func=yes"
12318 echo "configure
: failed program was
:" >&5
12319 cat conftest.$ac_ext >&5
12321 eval "ac_cv_func_
$ac_func=no
"
12326 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12327 echo "$ac_t""yes" 1>&6
12328 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12329 cat >> confdefs.h <<EOF
12330 #define $ac_tr_func 1
12334 echo "$ac_t""no
" 1>&6
12340 echo $ac_n "checking
for _hypot declaration
""...
$ac_c" 1>&6
12341 echo "configure
:12342: checking
for _hypot declaration
" >&5
12342 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
12343 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
12344 echo $ac_n "(cached
) $ac_c" 1>&6
12349 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12350 ac_cpp='$CXXCPP $CPPFLAGS'
12351 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12352 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12353 cross_compiling=$ac_cv_prog_cxx_cross
12355 cat > conftest.$ac_ext <<EOF
12356 #line 12357 "configure
"
12357 #include "confdefs.h
"
12363 if { (eval echo configure:12364: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12365 glibcpp_cv_func__hypot_use=yes
12367 echo "configure
: failed program was
:" >&5
12368 cat conftest.$ac_ext >&5
12370 glibcpp_cv_func__hypot_use=no
12374 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12375 ac_cpp='$CPP $CPPFLAGS'
12376 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12377 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12378 cross_compiling=$ac_cv_prog_cc_cross
12384 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
12386 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
12387 for ac_func in _hypot
12389 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12390 echo "configure
:12391: checking
for $ac_func" >&5
12391 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12392 echo $ac_n "(cached
) $ac_c" 1>&6
12394 cat > conftest.$ac_ext <<EOF
12395 #line 12396 "configure
"
12396 #include "confdefs.h
"
12397 /* System header to define __stub macros and hopefully few prototypes,
12398 which can conflict with char $ac_func(); below. */
12399 #include <assert.h>
12400 /* Override any gcc2 internal prototype to avoid an error. */
12401 /* We use char because int might match the return type of a gcc2
12402 builtin and then its argument prototype would still apply. */
12407 /* The GNU C library defines this for functions which it implements
12408 to always fail with ENOSYS. Some functions are actually named
12409 something starting with __ and the normal name is an alias. */
12410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12418 if { (eval echo configure:12419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12420 eval "ac_cv_func_
$ac_func=yes"
12422 echo "configure
: failed program was
:" >&5
12423 cat conftest.$ac_ext >&5
12425 eval "ac_cv_func_
$ac_func=no
"
12430 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12431 echo "$ac_t""yes" 1>&6
12432 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12433 cat >> confdefs.h <<EOF
12434 #define $ac_tr_func 1
12438 echo "$ac_t""no
" 1>&6
12447 echo $ac_n "checking
for float trig functions
""...
$ac_c" 1>&6
12448 echo "configure
:12449: checking
for float trig functions
" >&5
12449 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
12450 echo $ac_n "(cached
) $ac_c" 1>&6
12455 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12456 ac_cpp='$CXXCPP $CPPFLAGS'
12457 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12458 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12459 cross_compiling=$ac_cv_prog_cxx_cross
12461 cat > conftest.$ac_ext <<EOF
12462 #line 12463 "configure
"
12463 #include "confdefs.h
"
12466 `for x in acosf asinf atanf \
12468 coshf sinhf tanhf; do echo "$x (0);"; done`
12471 if { (eval echo configure:12472: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12473 glibcpp_cv_func_float_trig_use=yes
12475 echo "configure
: failed program was
:" >&5
12476 cat conftest.$ac_ext >&5
12478 glibcpp_cv_func_float_trig_use=no
12482 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12483 ac_cpp='$CPP $CPPFLAGS'
12484 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12485 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12486 cross_compiling=$ac_cv_prog_cc_cross
12490 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
12491 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
12492 for ac_func in acosf asinf atanf \
12496 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12497 echo "configure
:12498: checking
for $ac_func" >&5
12498 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12499 echo $ac_n "(cached
) $ac_c" 1>&6
12501 cat > conftest.$ac_ext <<EOF
12502 #line 12503 "configure
"
12503 #include "confdefs.h
"
12504 /* System header to define __stub macros and hopefully few prototypes,
12505 which can conflict with char $ac_func(); below. */
12506 #include <assert.h>
12507 /* Override any gcc2 internal prototype to avoid an error. */
12508 /* We use char because int might match the return type of a gcc2
12509 builtin and then its argument prototype would still apply. */
12514 /* The GNU C library defines this for functions which it implements
12515 to always fail with ENOSYS. Some functions are actually named
12516 something starting with __ and the normal name is an alias. */
12517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12525 if { (eval echo configure:12526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12527 eval "ac_cv_func_
$ac_func=yes"
12529 echo "configure
: failed program was
:" >&5
12530 cat conftest.$ac_ext >&5
12532 eval "ac_cv_func_
$ac_func=no
"
12537 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12538 echo "$ac_t""yes" 1>&6
12539 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12540 cat >> confdefs.h <<EOF
12541 #define $ac_tr_func 1
12545 echo "$ac_t""no
" 1>&6
12552 echo $ac_n "checking
for float round functions
""...
$ac_c" 1>&6
12553 echo "configure
:12554: checking
for float round functions
" >&5
12554 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
12555 echo $ac_n "(cached
) $ac_c" 1>&6
12560 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12561 ac_cpp='$CXXCPP $CPPFLAGS'
12562 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12563 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12564 cross_compiling=$ac_cv_prog_cxx_cross
12566 cat > conftest.$ac_ext <<EOF
12567 #line 12568 "configure
"
12568 #include "confdefs.h
"
12571 `for x in ceilf floorf; do echo "$x (0);"; done`
12574 if { (eval echo configure:12575: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12576 glibcpp_cv_func_float_round_use=yes
12578 echo "configure
: failed program was
:" >&5
12579 cat conftest.$ac_ext >&5
12581 glibcpp_cv_func_float_round_use=no
12585 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12586 ac_cpp='$CPP $CPPFLAGS'
12587 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12588 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12589 cross_compiling=$ac_cv_prog_cc_cross
12593 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
12594 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
12595 for ac_func in ceilf floorf
12597 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12598 echo "configure
:12599: checking
for $ac_func" >&5
12599 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12600 echo $ac_n "(cached
) $ac_c" 1>&6
12602 cat > conftest.$ac_ext <<EOF
12603 #line 12604 "configure
"
12604 #include "confdefs.h
"
12605 /* System header to define __stub macros and hopefully few prototypes,
12606 which can conflict with char $ac_func(); below. */
12607 #include <assert.h>
12608 /* Override any gcc2 internal prototype to avoid an error. */
12609 /* We use char because int might match the return type of a gcc2
12610 builtin and then its argument prototype would still apply. */
12615 /* The GNU C library defines this for functions which it implements
12616 to always fail with ENOSYS. Some functions are actually named
12617 something starting with __ and the normal name is an alias. */
12618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12626 if { (eval echo configure:12627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12628 eval "ac_cv_func_
$ac_func=yes"
12630 echo "configure
: failed program was
:" >&5
12631 cat conftest.$ac_ext >&5
12633 eval "ac_cv_func_
$ac_func=no
"
12638 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12639 echo "$ac_t""yes" 1>&6
12640 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12641 cat >> confdefs.h <<EOF
12642 #define $ac_tr_func 1
12646 echo "$ac_t""no
" 1>&6
12654 echo $ac_n "checking
for expf declaration
""...
$ac_c" 1>&6
12655 echo "configure
:12656: checking
for expf declaration
" >&5
12656 if test x${glibcpp_cv_func_expf_use+set} != xset; then
12657 if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
12658 echo $ac_n "(cached
) $ac_c" 1>&6
12663 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12664 ac_cpp='$CXXCPP $CPPFLAGS'
12665 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12666 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12667 cross_compiling=$ac_cv_prog_cxx_cross
12669 cat > conftest.$ac_ext <<EOF
12670 #line 12671 "configure
"
12671 #include "confdefs.h
"
12673 #ifdef HAVE_IEEEFP_H
12674 #include <ieeefp.h>
12681 if { (eval echo configure:12682: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12683 glibcpp_cv_func_expf_use=yes
12685 echo "configure
: failed program was
:" >&5
12686 cat conftest.$ac_ext >&5
12688 glibcpp_cv_func_expf_use=no
12692 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12693 ac_cpp='$CPP $CPPFLAGS'
12694 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12695 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12696 cross_compiling=$ac_cv_prog_cc_cross
12702 echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
12704 if test x$glibcpp_cv_func_expf_use = x"yes"; then
12705 for ac_func in expf
12707 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12708 echo "configure
:12709: checking
for $ac_func" >&5
12709 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12710 echo $ac_n "(cached
) $ac_c" 1>&6
12712 cat > conftest.$ac_ext <<EOF
12713 #line 12714 "configure
"
12714 #include "confdefs.h
"
12715 /* System header to define __stub macros and hopefully few prototypes,
12716 which can conflict with char $ac_func(); below. */
12717 #include <assert.h>
12718 /* Override any gcc2 internal prototype to avoid an error. */
12719 /* We use char because int might match the return type of a gcc2
12720 builtin and then its argument prototype would still apply. */
12725 /* The GNU C library defines this for functions which it implements
12726 to always fail with ENOSYS. Some functions are actually named
12727 something starting with __ and the normal name is an alias. */
12728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12736 if { (eval echo configure:12737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12738 eval "ac_cv_func_
$ac_func=yes"
12740 echo "configure
: failed program was
:" >&5
12741 cat conftest.$ac_ext >&5
12743 eval "ac_cv_func_
$ac_func=no
"
12748 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12749 echo "$ac_t""yes" 1>&6
12750 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12751 cat >> confdefs.h <<EOF
12752 #define $ac_tr_func 1
12756 echo "$ac_t""no
" 1>&6
12762 echo $ac_n "checking
for _expf declaration
""...
$ac_c" 1>&6
12763 echo "configure
:12764: checking
for _expf declaration
" >&5
12764 if test x${glibcpp_cv_func__expf_use+set} != xset; then
12765 if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
12766 echo $ac_n "(cached
) $ac_c" 1>&6
12771 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12772 ac_cpp='$CXXCPP $CPPFLAGS'
12773 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12774 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12775 cross_compiling=$ac_cv_prog_cxx_cross
12777 cat > conftest.$ac_ext <<EOF
12778 #line 12779 "configure
"
12779 #include "confdefs.h
"
12781 #ifdef HAVE_IEEEFP_H
12782 #include <ieeefp.h>
12789 if { (eval echo configure:12790: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12791 glibcpp_cv_func__expf_use=yes
12793 echo "configure
: failed program was
:" >&5
12794 cat conftest.$ac_ext >&5
12796 glibcpp_cv_func__expf_use=no
12800 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12801 ac_cpp='$CPP $CPPFLAGS'
12802 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12803 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12804 cross_compiling=$ac_cv_prog_cc_cross
12810 echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
12812 if test x$glibcpp_cv_func__expf_use = x"yes"; then
12813 for ac_func in _expf
12815 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12816 echo "configure
:12817: checking
for $ac_func" >&5
12817 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12818 echo $ac_n "(cached
) $ac_c" 1>&6
12820 cat > conftest.$ac_ext <<EOF
12821 #line 12822 "configure
"
12822 #include "confdefs.h
"
12823 /* System header to define __stub macros and hopefully few prototypes,
12824 which can conflict with char $ac_func(); below. */
12825 #include <assert.h>
12826 /* Override any gcc2 internal prototype to avoid an error. */
12827 /* We use char because int might match the return type of a gcc2
12828 builtin and then its argument prototype would still apply. */
12833 /* The GNU C library defines this for functions which it implements
12834 to always fail with ENOSYS. Some functions are actually named
12835 something starting with __ and the normal name is an alias. */
12836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12844 if { (eval echo configure:12845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12846 eval "ac_cv_func_
$ac_func=yes"
12848 echo "configure
: failed program was
:" >&5
12849 cat conftest.$ac_ext >&5
12851 eval "ac_cv_func_
$ac_func=no
"
12856 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12857 echo "$ac_t""yes" 1>&6
12858 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12859 cat >> confdefs.h <<EOF
12860 #define $ac_tr_func 1
12864 echo "$ac_t""no
" 1>&6
12873 echo $ac_n "checking
for isnanf declaration
""...
$ac_c" 1>&6
12874 echo "configure
:12875: checking
for isnanf declaration
" >&5
12875 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
12876 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
12877 echo $ac_n "(cached
) $ac_c" 1>&6
12882 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12883 ac_cpp='$CXXCPP $CPPFLAGS'
12884 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12885 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12886 cross_compiling=$ac_cv_prog_cxx_cross
12888 cat > conftest.$ac_ext <<EOF
12889 #line 12890 "configure
"
12890 #include "confdefs.h
"
12892 #ifdef HAVE_IEEEFP_H
12893 #include <ieeefp.h>
12900 if { (eval echo configure:12901: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12902 glibcpp_cv_func_isnanf_use=yes
12904 echo "configure
: failed program was
:" >&5
12905 cat conftest.$ac_ext >&5
12907 glibcpp_cv_func_isnanf_use=no
12911 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12912 ac_cpp='$CPP $CPPFLAGS'
12913 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12914 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12915 cross_compiling=$ac_cv_prog_cc_cross
12921 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
12923 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
12924 for ac_func in isnanf
12926 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12927 echo "configure
:12928: checking
for $ac_func" >&5
12928 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12929 echo $ac_n "(cached
) $ac_c" 1>&6
12931 cat > conftest.$ac_ext <<EOF
12932 #line 12933 "configure
"
12933 #include "confdefs.h
"
12934 /* System header to define __stub macros and hopefully few prototypes,
12935 which can conflict with char $ac_func(); below. */
12936 #include <assert.h>
12937 /* Override any gcc2 internal prototype to avoid an error. */
12938 /* We use char because int might match the return type of a gcc2
12939 builtin and then its argument prototype would still apply. */
12944 /* The GNU C library defines this for functions which it implements
12945 to always fail with ENOSYS. Some functions are actually named
12946 something starting with __ and the normal name is an alias. */
12947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12955 if { (eval echo configure:12956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12957 eval "ac_cv_func_
$ac_func=yes"
12959 echo "configure
: failed program was
:" >&5
12960 cat conftest.$ac_ext >&5
12962 eval "ac_cv_func_
$ac_func=no
"
12967 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12968 echo "$ac_t""yes" 1>&6
12969 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12970 cat >> confdefs.h <<EOF
12971 #define $ac_tr_func 1
12975 echo "$ac_t""no
" 1>&6
12981 echo $ac_n "checking
for _isnanf declaration
""...
$ac_c" 1>&6
12982 echo "configure
:12983: checking
for _isnanf declaration
" >&5
12983 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
12984 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
12985 echo $ac_n "(cached
) $ac_c" 1>&6
12990 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12991 ac_cpp='$CXXCPP $CPPFLAGS'
12992 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12993 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12994 cross_compiling=$ac_cv_prog_cxx_cross
12996 cat > conftest.$ac_ext <<EOF
12997 #line 12998 "configure
"
12998 #include "confdefs.h
"
13000 #ifdef HAVE_IEEEFP_H
13001 #include <ieeefp.h>
13008 if { (eval echo configure:13009: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13010 glibcpp_cv_func__isnanf_use=yes
13012 echo "configure
: failed program was
:" >&5
13013 cat conftest.$ac_ext >&5
13015 glibcpp_cv_func__isnanf_use=no
13019 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13020 ac_cpp='$CPP $CPPFLAGS'
13021 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13022 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13023 cross_compiling=$ac_cv_prog_cc_cross
13029 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
13031 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
13032 for ac_func in _isnanf
13034 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13035 echo "configure
:13036: checking
for $ac_func" >&5
13036 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13037 echo $ac_n "(cached
) $ac_c" 1>&6
13039 cat > conftest.$ac_ext <<EOF
13040 #line 13041 "configure
"
13041 #include "confdefs.h
"
13042 /* System header to define __stub macros and hopefully few prototypes,
13043 which can conflict with char $ac_func(); below. */
13044 #include <assert.h>
13045 /* Override any gcc2 internal prototype to avoid an error. */
13046 /* We use char because int might match the return type of a gcc2
13047 builtin and then its argument prototype would still apply. */
13052 /* The GNU C library defines this for functions which it implements
13053 to always fail with ENOSYS. Some functions are actually named
13054 something starting with __ and the normal name is an alias. */
13055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13063 if { (eval echo configure:13064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13065 eval "ac_cv_func_
$ac_func=yes"
13067 echo "configure
: failed program was
:" >&5
13068 cat conftest.$ac_ext >&5
13070 eval "ac_cv_func_
$ac_func=no
"
13075 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13076 echo "$ac_t""yes" 1>&6
13077 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13078 cat >> confdefs.h <<EOF
13079 #define $ac_tr_func 1
13083 echo "$ac_t""no
" 1>&6
13092 echo $ac_n "checking
for isinff declaration
""...
$ac_c" 1>&6
13093 echo "configure
:13094: checking
for isinff declaration
" >&5
13094 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
13095 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
13096 echo $ac_n "(cached
) $ac_c" 1>&6
13101 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13102 ac_cpp='$CXXCPP $CPPFLAGS'
13103 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13104 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13105 cross_compiling=$ac_cv_prog_cxx_cross
13107 cat > conftest.$ac_ext <<EOF
13108 #line 13109 "configure
"
13109 #include "confdefs.h
"
13111 #ifdef HAVE_IEEEFP_H
13112 #include <ieeefp.h>
13119 if { (eval echo configure:13120: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13121 glibcpp_cv_func_isinff_use=yes
13123 echo "configure
: failed program was
:" >&5
13124 cat conftest.$ac_ext >&5
13126 glibcpp_cv_func_isinff_use=no
13130 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13131 ac_cpp='$CPP $CPPFLAGS'
13132 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13133 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13134 cross_compiling=$ac_cv_prog_cc_cross
13140 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
13142 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
13143 for ac_func in isinff
13145 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13146 echo "configure
:13147: checking
for $ac_func" >&5
13147 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13148 echo $ac_n "(cached
) $ac_c" 1>&6
13150 cat > conftest.$ac_ext <<EOF
13151 #line 13152 "configure
"
13152 #include "confdefs.h
"
13153 /* System header to define __stub macros and hopefully few prototypes,
13154 which can conflict with char $ac_func(); below. */
13155 #include <assert.h>
13156 /* Override any gcc2 internal prototype to avoid an error. */
13157 /* We use char because int might match the return type of a gcc2
13158 builtin and then its argument prototype would still apply. */
13163 /* The GNU C library defines this for functions which it implements
13164 to always fail with ENOSYS. Some functions are actually named
13165 something starting with __ and the normal name is an alias. */
13166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13174 if { (eval echo configure:13175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13176 eval "ac_cv_func_
$ac_func=yes"
13178 echo "configure
: failed program was
:" >&5
13179 cat conftest.$ac_ext >&5
13181 eval "ac_cv_func_
$ac_func=no
"
13186 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13187 echo "$ac_t""yes" 1>&6
13188 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13189 cat >> confdefs.h <<EOF
13190 #define $ac_tr_func 1
13194 echo "$ac_t""no
" 1>&6
13200 echo $ac_n "checking
for _isinff declaration
""...
$ac_c" 1>&6
13201 echo "configure
:13202: checking
for _isinff declaration
" >&5
13202 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
13203 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
13204 echo $ac_n "(cached
) $ac_c" 1>&6
13209 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13210 ac_cpp='$CXXCPP $CPPFLAGS'
13211 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13212 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13213 cross_compiling=$ac_cv_prog_cxx_cross
13215 cat > conftest.$ac_ext <<EOF
13216 #line 13217 "configure
"
13217 #include "confdefs.h
"
13219 #ifdef HAVE_IEEEFP_H
13220 #include <ieeefp.h>
13227 if { (eval echo configure:13228: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13229 glibcpp_cv_func__isinff_use=yes
13231 echo "configure
: failed program was
:" >&5
13232 cat conftest.$ac_ext >&5
13234 glibcpp_cv_func__isinff_use=no
13238 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13239 ac_cpp='$CPP $CPPFLAGS'
13240 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13241 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13242 cross_compiling=$ac_cv_prog_cc_cross
13248 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
13250 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
13251 for ac_func in _isinff
13253 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13254 echo "configure
:13255: checking
for $ac_func" >&5
13255 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13256 echo $ac_n "(cached
) $ac_c" 1>&6
13258 cat > conftest.$ac_ext <<EOF
13259 #line 13260 "configure
"
13260 #include "confdefs.h
"
13261 /* System header to define __stub macros and hopefully few prototypes,
13262 which can conflict with char $ac_func(); below. */
13263 #include <assert.h>
13264 /* Override any gcc2 internal prototype to avoid an error. */
13265 /* We use char because int might match the return type of a gcc2
13266 builtin and then its argument prototype would still apply. */
13271 /* The GNU C library defines this for functions which it implements
13272 to always fail with ENOSYS. Some functions are actually named
13273 something starting with __ and the normal name is an alias. */
13274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13282 if { (eval echo configure:13283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13284 eval "ac_cv_func_
$ac_func=yes"
13286 echo "configure
: failed program was
:" >&5
13287 cat conftest.$ac_ext >&5
13289 eval "ac_cv_func_
$ac_func=no
"
13294 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13295 echo "$ac_t""yes" 1>&6
13296 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13297 cat >> confdefs.h <<EOF
13298 #define $ac_tr_func 1
13302 echo "$ac_t""no
" 1>&6
13311 echo $ac_n "checking
for atan2f declaration
""...
$ac_c" 1>&6
13312 echo "configure
:13313: checking
for atan2f declaration
" >&5
13313 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
13314 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
13315 echo $ac_n "(cached
) $ac_c" 1>&6
13320 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13321 ac_cpp='$CXXCPP $CPPFLAGS'
13322 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13323 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13324 cross_compiling=$ac_cv_prog_cxx_cross
13326 cat > conftest.$ac_ext <<EOF
13327 #line 13328 "configure
"
13328 #include "confdefs.h
"
13334 if { (eval echo configure:13335: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13336 glibcpp_cv_func_atan2f_use=yes
13338 echo "configure
: failed program was
:" >&5
13339 cat conftest.$ac_ext >&5
13341 glibcpp_cv_func_atan2f_use=no
13345 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13346 ac_cpp='$CPP $CPPFLAGS'
13347 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13348 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13349 cross_compiling=$ac_cv_prog_cc_cross
13355 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
13357 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
13358 for ac_func in atan2f
13360 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13361 echo "configure
:13362: checking
for $ac_func" >&5
13362 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13363 echo $ac_n "(cached
) $ac_c" 1>&6
13365 cat > conftest.$ac_ext <<EOF
13366 #line 13367 "configure
"
13367 #include "confdefs.h
"
13368 /* System header to define __stub macros and hopefully few prototypes,
13369 which can conflict with char $ac_func(); below. */
13370 #include <assert.h>
13371 /* Override any gcc2 internal prototype to avoid an error. */
13372 /* We use char because int might match the return type of a gcc2
13373 builtin and then its argument prototype would still apply. */
13378 /* The GNU C library defines this for functions which it implements
13379 to always fail with ENOSYS. Some functions are actually named
13380 something starting with __ and the normal name is an alias. */
13381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13389 if { (eval echo configure:13390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13391 eval "ac_cv_func_
$ac_func=yes"
13393 echo "configure
: failed program was
:" >&5
13394 cat conftest.$ac_ext >&5
13396 eval "ac_cv_func_
$ac_func=no
"
13401 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13402 echo "$ac_t""yes" 1>&6
13403 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13404 cat >> confdefs.h <<EOF
13405 #define $ac_tr_func 1
13409 echo "$ac_t""no
" 1>&6
13415 echo $ac_n "checking
for _atan2f declaration
""...
$ac_c" 1>&6
13416 echo "configure
:13417: checking
for _atan2f declaration
" >&5
13417 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
13418 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
13419 echo $ac_n "(cached
) $ac_c" 1>&6
13424 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13425 ac_cpp='$CXXCPP $CPPFLAGS'
13426 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13427 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13428 cross_compiling=$ac_cv_prog_cxx_cross
13430 cat > conftest.$ac_ext <<EOF
13431 #line 13432 "configure
"
13432 #include "confdefs.h
"
13438 if { (eval echo configure:13439: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13440 glibcpp_cv_func__atan2f_use=yes
13442 echo "configure
: failed program was
:" >&5
13443 cat conftest.$ac_ext >&5
13445 glibcpp_cv_func__atan2f_use=no
13449 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13450 ac_cpp='$CPP $CPPFLAGS'
13451 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13452 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13453 cross_compiling=$ac_cv_prog_cc_cross
13459 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
13461 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
13462 for ac_func in _atan2f
13464 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13465 echo "configure
:13466: checking
for $ac_func" >&5
13466 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13467 echo $ac_n "(cached
) $ac_c" 1>&6
13469 cat > conftest.$ac_ext <<EOF
13470 #line 13471 "configure
"
13471 #include "confdefs.h
"
13472 /* System header to define __stub macros and hopefully few prototypes,
13473 which can conflict with char $ac_func(); below. */
13474 #include <assert.h>
13475 /* Override any gcc2 internal prototype to avoid an error. */
13476 /* We use char because int might match the return type of a gcc2
13477 builtin and then its argument prototype would still apply. */
13482 /* The GNU C library defines this for functions which it implements
13483 to always fail with ENOSYS. Some functions are actually named
13484 something starting with __ and the normal name is an alias. */
13485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13493 if { (eval echo configure:13494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13495 eval "ac_cv_func_
$ac_func=yes"
13497 echo "configure
: failed program was
:" >&5
13498 cat conftest.$ac_ext >&5
13500 eval "ac_cv_func_
$ac_func=no
"
13505 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13506 echo "$ac_t""yes" 1>&6
13507 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13508 cat >> confdefs.h <<EOF
13509 #define $ac_tr_func 1
13513 echo "$ac_t""no
" 1>&6
13522 echo $ac_n "checking
for fabsf declaration
""...
$ac_c" 1>&6
13523 echo "configure
:13524: checking
for fabsf declaration
" >&5
13524 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
13525 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
13526 echo $ac_n "(cached
) $ac_c" 1>&6
13531 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13532 ac_cpp='$CXXCPP $CPPFLAGS'
13533 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13534 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13535 cross_compiling=$ac_cv_prog_cxx_cross
13537 cat > conftest.$ac_ext <<EOF
13538 #line 13539 "configure
"
13539 #include "confdefs.h
"
13541 #ifdef HAVE_IEEEFP_H
13542 #include <ieeefp.h>
13549 if { (eval echo configure:13550: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13551 glibcpp_cv_func_fabsf_use=yes
13553 echo "configure
: failed program was
:" >&5
13554 cat conftest.$ac_ext >&5
13556 glibcpp_cv_func_fabsf_use=no
13560 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13561 ac_cpp='$CPP $CPPFLAGS'
13562 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13563 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13564 cross_compiling=$ac_cv_prog_cc_cross
13570 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
13572 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
13573 for ac_func in fabsf
13575 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13576 echo "configure
:13577: checking
for $ac_func" >&5
13577 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13578 echo $ac_n "(cached
) $ac_c" 1>&6
13580 cat > conftest.$ac_ext <<EOF
13581 #line 13582 "configure
"
13582 #include "confdefs.h
"
13583 /* System header to define __stub macros and hopefully few prototypes,
13584 which can conflict with char $ac_func(); below. */
13585 #include <assert.h>
13586 /* Override any gcc2 internal prototype to avoid an error. */
13587 /* We use char because int might match the return type of a gcc2
13588 builtin and then its argument prototype would still apply. */
13593 /* The GNU C library defines this for functions which it implements
13594 to always fail with ENOSYS. Some functions are actually named
13595 something starting with __ and the normal name is an alias. */
13596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13604 if { (eval echo configure:13605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13606 eval "ac_cv_func_
$ac_func=yes"
13608 echo "configure
: failed program was
:" >&5
13609 cat conftest.$ac_ext >&5
13611 eval "ac_cv_func_
$ac_func=no
"
13616 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13617 echo "$ac_t""yes" 1>&6
13618 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13619 cat >> confdefs.h <<EOF
13620 #define $ac_tr_func 1
13624 echo "$ac_t""no
" 1>&6
13630 echo $ac_n "checking
for _fabsf declaration
""...
$ac_c" 1>&6
13631 echo "configure
:13632: checking
for _fabsf declaration
" >&5
13632 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
13633 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
13634 echo $ac_n "(cached
) $ac_c" 1>&6
13639 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13640 ac_cpp='$CXXCPP $CPPFLAGS'
13641 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13642 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13643 cross_compiling=$ac_cv_prog_cxx_cross
13645 cat > conftest.$ac_ext <<EOF
13646 #line 13647 "configure
"
13647 #include "confdefs.h
"
13649 #ifdef HAVE_IEEEFP_H
13650 #include <ieeefp.h>
13657 if { (eval echo configure:13658: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13659 glibcpp_cv_func__fabsf_use=yes
13661 echo "configure
: failed program was
:" >&5
13662 cat conftest.$ac_ext >&5
13664 glibcpp_cv_func__fabsf_use=no
13668 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13669 ac_cpp='$CPP $CPPFLAGS'
13670 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13671 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13672 cross_compiling=$ac_cv_prog_cc_cross
13678 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
13680 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
13681 for ac_func in _fabsf
13683 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13684 echo "configure
:13685: checking
for $ac_func" >&5
13685 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13686 echo $ac_n "(cached
) $ac_c" 1>&6
13688 cat > conftest.$ac_ext <<EOF
13689 #line 13690 "configure
"
13690 #include "confdefs.h
"
13691 /* System header to define __stub macros and hopefully few prototypes,
13692 which can conflict with char $ac_func(); below. */
13693 #include <assert.h>
13694 /* Override any gcc2 internal prototype to avoid an error. */
13695 /* We use char because int might match the return type of a gcc2
13696 builtin and then its argument prototype would still apply. */
13701 /* The GNU C library defines this for functions which it implements
13702 to always fail with ENOSYS. Some functions are actually named
13703 something starting with __ and the normal name is an alias. */
13704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13712 if { (eval echo configure:13713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13714 eval "ac_cv_func_
$ac_func=yes"
13716 echo "configure
: failed program was
:" >&5
13717 cat conftest.$ac_ext >&5
13719 eval "ac_cv_func_
$ac_func=no
"
13724 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13725 echo "$ac_t""yes" 1>&6
13726 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13727 cat >> confdefs.h <<EOF
13728 #define $ac_tr_func 1
13732 echo "$ac_t""no
" 1>&6
13741 echo $ac_n "checking
for fmodf declaration
""...
$ac_c" 1>&6
13742 echo "configure
:13743: checking
for fmodf declaration
" >&5
13743 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
13744 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
13745 echo $ac_n "(cached
) $ac_c" 1>&6
13750 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13751 ac_cpp='$CXXCPP $CPPFLAGS'
13752 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13753 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13754 cross_compiling=$ac_cv_prog_cxx_cross
13756 cat > conftest.$ac_ext <<EOF
13757 #line 13758 "configure
"
13758 #include "confdefs.h
"
13764 if { (eval echo configure:13765: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13766 glibcpp_cv_func_fmodf_use=yes
13768 echo "configure
: failed program was
:" >&5
13769 cat conftest.$ac_ext >&5
13771 glibcpp_cv_func_fmodf_use=no
13775 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13776 ac_cpp='$CPP $CPPFLAGS'
13777 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13778 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13779 cross_compiling=$ac_cv_prog_cc_cross
13785 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
13787 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
13788 for ac_func in fmodf
13790 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13791 echo "configure
:13792: checking
for $ac_func" >&5
13792 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13793 echo $ac_n "(cached
) $ac_c" 1>&6
13795 cat > conftest.$ac_ext <<EOF
13796 #line 13797 "configure
"
13797 #include "confdefs.h
"
13798 /* System header to define __stub macros and hopefully few prototypes,
13799 which can conflict with char $ac_func(); below. */
13800 #include <assert.h>
13801 /* Override any gcc2 internal prototype to avoid an error. */
13802 /* We use char because int might match the return type of a gcc2
13803 builtin and then its argument prototype would still apply. */
13808 /* The GNU C library defines this for functions which it implements
13809 to always fail with ENOSYS. Some functions are actually named
13810 something starting with __ and the normal name is an alias. */
13811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13819 if { (eval echo configure:13820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13821 eval "ac_cv_func_
$ac_func=yes"
13823 echo "configure
: failed program was
:" >&5
13824 cat conftest.$ac_ext >&5
13826 eval "ac_cv_func_
$ac_func=no
"
13831 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13832 echo "$ac_t""yes" 1>&6
13833 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13834 cat >> confdefs.h <<EOF
13835 #define $ac_tr_func 1
13839 echo "$ac_t""no
" 1>&6
13845 echo $ac_n "checking
for _fmodf declaration
""...
$ac_c" 1>&6
13846 echo "configure
:13847: checking
for _fmodf declaration
" >&5
13847 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
13848 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
13849 echo $ac_n "(cached
) $ac_c" 1>&6
13854 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13855 ac_cpp='$CXXCPP $CPPFLAGS'
13856 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13857 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13858 cross_compiling=$ac_cv_prog_cxx_cross
13860 cat > conftest.$ac_ext <<EOF
13861 #line 13862 "configure
"
13862 #include "confdefs.h
"
13868 if { (eval echo configure:13869: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13870 glibcpp_cv_func__fmodf_use=yes
13872 echo "configure
: failed program was
:" >&5
13873 cat conftest.$ac_ext >&5
13875 glibcpp_cv_func__fmodf_use=no
13879 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13880 ac_cpp='$CPP $CPPFLAGS'
13881 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13882 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13883 cross_compiling=$ac_cv_prog_cc_cross
13889 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
13891 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
13892 for ac_func in _fmodf
13894 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13895 echo "configure
:13896: checking
for $ac_func" >&5
13896 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13897 echo $ac_n "(cached
) $ac_c" 1>&6
13899 cat > conftest.$ac_ext <<EOF
13900 #line 13901 "configure
"
13901 #include "confdefs.h
"
13902 /* System header to define __stub macros and hopefully few prototypes,
13903 which can conflict with char $ac_func(); below. */
13904 #include <assert.h>
13905 /* Override any gcc2 internal prototype to avoid an error. */
13906 /* We use char because int might match the return type of a gcc2
13907 builtin and then its argument prototype would still apply. */
13912 /* The GNU C library defines this for functions which it implements
13913 to always fail with ENOSYS. Some functions are actually named
13914 something starting with __ and the normal name is an alias. */
13915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13923 if { (eval echo configure:13924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13925 eval "ac_cv_func_
$ac_func=yes"
13927 echo "configure
: failed program was
:" >&5
13928 cat conftest.$ac_ext >&5
13930 eval "ac_cv_func_
$ac_func=no
"
13935 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13936 echo "$ac_t""yes" 1>&6
13937 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13938 cat >> confdefs.h <<EOF
13939 #define $ac_tr_func 1
13943 echo "$ac_t""no
" 1>&6
13952 echo $ac_n "checking
for frexpf declaration
""...
$ac_c" 1>&6
13953 echo "configure
:13954: checking
for frexpf declaration
" >&5
13954 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
13955 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
13956 echo $ac_n "(cached
) $ac_c" 1>&6
13961 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13962 ac_cpp='$CXXCPP $CPPFLAGS'
13963 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13964 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13965 cross_compiling=$ac_cv_prog_cxx_cross
13967 cat > conftest.$ac_ext <<EOF
13968 #line 13969 "configure
"
13969 #include "confdefs.h
"
13975 if { (eval echo configure:13976: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13977 glibcpp_cv_func_frexpf_use=yes
13979 echo "configure
: failed program was
:" >&5
13980 cat conftest.$ac_ext >&5
13982 glibcpp_cv_func_frexpf_use=no
13986 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13987 ac_cpp='$CPP $CPPFLAGS'
13988 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13989 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13990 cross_compiling=$ac_cv_prog_cc_cross
13996 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
13998 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
13999 for ac_func in frexpf
14001 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14002 echo "configure
:14003: checking
for $ac_func" >&5
14003 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14004 echo $ac_n "(cached
) $ac_c" 1>&6
14006 cat > conftest.$ac_ext <<EOF
14007 #line 14008 "configure
"
14008 #include "confdefs.h
"
14009 /* System header to define __stub macros and hopefully few prototypes,
14010 which can conflict with char $ac_func(); below. */
14011 #include <assert.h>
14012 /* Override any gcc2 internal prototype to avoid an error. */
14013 /* We use char because int might match the return type of a gcc2
14014 builtin and then its argument prototype would still apply. */
14019 /* The GNU C library defines this for functions which it implements
14020 to always fail with ENOSYS. Some functions are actually named
14021 something starting with __ and the normal name is an alias. */
14022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14030 if { (eval echo configure:14031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14032 eval "ac_cv_func_
$ac_func=yes"
14034 echo "configure
: failed program was
:" >&5
14035 cat conftest.$ac_ext >&5
14037 eval "ac_cv_func_
$ac_func=no
"
14042 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14043 echo "$ac_t""yes" 1>&6
14044 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14045 cat >> confdefs.h <<EOF
14046 #define $ac_tr_func 1
14050 echo "$ac_t""no
" 1>&6
14056 echo $ac_n "checking
for _frexpf declaration
""...
$ac_c" 1>&6
14057 echo "configure
:14058: checking
for _frexpf declaration
" >&5
14058 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
14059 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
14060 echo $ac_n "(cached
) $ac_c" 1>&6
14065 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14066 ac_cpp='$CXXCPP $CPPFLAGS'
14067 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14068 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14069 cross_compiling=$ac_cv_prog_cxx_cross
14071 cat > conftest.$ac_ext <<EOF
14072 #line 14073 "configure
"
14073 #include "confdefs.h
"
14079 if { (eval echo configure:14080: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14081 glibcpp_cv_func__frexpf_use=yes
14083 echo "configure
: failed program was
:" >&5
14084 cat conftest.$ac_ext >&5
14086 glibcpp_cv_func__frexpf_use=no
14090 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14091 ac_cpp='$CPP $CPPFLAGS'
14092 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14093 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14094 cross_compiling=$ac_cv_prog_cc_cross
14100 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
14102 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
14103 for ac_func in _frexpf
14105 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14106 echo "configure
:14107: checking
for $ac_func" >&5
14107 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14108 echo $ac_n "(cached
) $ac_c" 1>&6
14110 cat > conftest.$ac_ext <<EOF
14111 #line 14112 "configure
"
14112 #include "confdefs.h
"
14113 /* System header to define __stub macros and hopefully few prototypes,
14114 which can conflict with char $ac_func(); below. */
14115 #include <assert.h>
14116 /* Override any gcc2 internal prototype to avoid an error. */
14117 /* We use char because int might match the return type of a gcc2
14118 builtin and then its argument prototype would still apply. */
14123 /* The GNU C library defines this for functions which it implements
14124 to always fail with ENOSYS. Some functions are actually named
14125 something starting with __ and the normal name is an alias. */
14126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14134 if { (eval echo configure:14135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14136 eval "ac_cv_func_
$ac_func=yes"
14138 echo "configure
: failed program was
:" >&5
14139 cat conftest.$ac_ext >&5
14141 eval "ac_cv_func_
$ac_func=no
"
14146 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14147 echo "$ac_t""yes" 1>&6
14148 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14149 cat >> confdefs.h <<EOF
14150 #define $ac_tr_func 1
14154 echo "$ac_t""no
" 1>&6
14163 echo $ac_n "checking
for hypotf declaration
""...
$ac_c" 1>&6
14164 echo "configure
:14165: checking
for hypotf declaration
" >&5
14165 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
14166 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
14167 echo $ac_n "(cached
) $ac_c" 1>&6
14172 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14173 ac_cpp='$CXXCPP $CPPFLAGS'
14174 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14175 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14176 cross_compiling=$ac_cv_prog_cxx_cross
14178 cat > conftest.$ac_ext <<EOF
14179 #line 14180 "configure
"
14180 #include "confdefs.h
"
14186 if { (eval echo configure:14187: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14188 glibcpp_cv_func_hypotf_use=yes
14190 echo "configure
: failed program was
:" >&5
14191 cat conftest.$ac_ext >&5
14193 glibcpp_cv_func_hypotf_use=no
14197 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14198 ac_cpp='$CPP $CPPFLAGS'
14199 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14200 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14201 cross_compiling=$ac_cv_prog_cc_cross
14207 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
14209 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
14210 for ac_func in hypotf
14212 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14213 echo "configure
:14214: checking
for $ac_func" >&5
14214 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14215 echo $ac_n "(cached
) $ac_c" 1>&6
14217 cat > conftest.$ac_ext <<EOF
14218 #line 14219 "configure
"
14219 #include "confdefs.h
"
14220 /* System header to define __stub macros and hopefully few prototypes,
14221 which can conflict with char $ac_func(); below. */
14222 #include <assert.h>
14223 /* Override any gcc2 internal prototype to avoid an error. */
14224 /* We use char because int might match the return type of a gcc2
14225 builtin and then its argument prototype would still apply. */
14230 /* The GNU C library defines this for functions which it implements
14231 to always fail with ENOSYS. Some functions are actually named
14232 something starting with __ and the normal name is an alias. */
14233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14241 if { (eval echo configure:14242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14243 eval "ac_cv_func_
$ac_func=yes"
14245 echo "configure
: failed program was
:" >&5
14246 cat conftest.$ac_ext >&5
14248 eval "ac_cv_func_
$ac_func=no
"
14253 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14254 echo "$ac_t""yes" 1>&6
14255 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14256 cat >> confdefs.h <<EOF
14257 #define $ac_tr_func 1
14261 echo "$ac_t""no
" 1>&6
14267 echo $ac_n "checking
for _hypotf declaration
""...
$ac_c" 1>&6
14268 echo "configure
:14269: checking
for _hypotf declaration
" >&5
14269 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
14270 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
14271 echo $ac_n "(cached
) $ac_c" 1>&6
14276 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14277 ac_cpp='$CXXCPP $CPPFLAGS'
14278 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14279 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14280 cross_compiling=$ac_cv_prog_cxx_cross
14282 cat > conftest.$ac_ext <<EOF
14283 #line 14284 "configure
"
14284 #include "confdefs.h
"
14290 if { (eval echo configure:14291: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14292 glibcpp_cv_func__hypotf_use=yes
14294 echo "configure
: failed program was
:" >&5
14295 cat conftest.$ac_ext >&5
14297 glibcpp_cv_func__hypotf_use=no
14301 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14302 ac_cpp='$CPP $CPPFLAGS'
14303 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14304 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14305 cross_compiling=$ac_cv_prog_cc_cross
14311 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
14313 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
14314 for ac_func in _hypotf
14316 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14317 echo "configure
:14318: checking
for $ac_func" >&5
14318 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14319 echo $ac_n "(cached
) $ac_c" 1>&6
14321 cat > conftest.$ac_ext <<EOF
14322 #line 14323 "configure
"
14323 #include "confdefs.h
"
14324 /* System header to define __stub macros and hopefully few prototypes,
14325 which can conflict with char $ac_func(); below. */
14326 #include <assert.h>
14327 /* Override any gcc2 internal prototype to avoid an error. */
14328 /* We use char because int might match the return type of a gcc2
14329 builtin and then its argument prototype would still apply. */
14334 /* The GNU C library defines this for functions which it implements
14335 to always fail with ENOSYS. Some functions are actually named
14336 something starting with __ and the normal name is an alias. */
14337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14345 if { (eval echo configure:14346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14347 eval "ac_cv_func_
$ac_func=yes"
14349 echo "configure
: failed program was
:" >&5
14350 cat conftest.$ac_ext >&5
14352 eval "ac_cv_func_
$ac_func=no
"
14357 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14358 echo "$ac_t""yes" 1>&6
14359 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14360 cat >> confdefs.h <<EOF
14361 #define $ac_tr_func 1
14365 echo "$ac_t""no
" 1>&6
14374 echo $ac_n "checking
for ldexpf declaration
""...
$ac_c" 1>&6
14375 echo "configure
:14376: checking
for ldexpf declaration
" >&5
14376 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
14377 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
14378 echo $ac_n "(cached
) $ac_c" 1>&6
14383 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14384 ac_cpp='$CXXCPP $CPPFLAGS'
14385 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14386 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14387 cross_compiling=$ac_cv_prog_cxx_cross
14389 cat > conftest.$ac_ext <<EOF
14390 #line 14391 "configure
"
14391 #include "confdefs.h
"
14397 if { (eval echo configure:14398: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14399 glibcpp_cv_func_ldexpf_use=yes
14401 echo "configure
: failed program was
:" >&5
14402 cat conftest.$ac_ext >&5
14404 glibcpp_cv_func_ldexpf_use=no
14408 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14409 ac_cpp='$CPP $CPPFLAGS'
14410 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14411 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14412 cross_compiling=$ac_cv_prog_cc_cross
14418 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
14420 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
14421 for ac_func in ldexpf
14423 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14424 echo "configure
:14425: checking
for $ac_func" >&5
14425 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14426 echo $ac_n "(cached
) $ac_c" 1>&6
14428 cat > conftest.$ac_ext <<EOF
14429 #line 14430 "configure
"
14430 #include "confdefs.h
"
14431 /* System header to define __stub macros and hopefully few prototypes,
14432 which can conflict with char $ac_func(); below. */
14433 #include <assert.h>
14434 /* Override any gcc2 internal prototype to avoid an error. */
14435 /* We use char because int might match the return type of a gcc2
14436 builtin and then its argument prototype would still apply. */
14441 /* The GNU C library defines this for functions which it implements
14442 to always fail with ENOSYS. Some functions are actually named
14443 something starting with __ and the normal name is an alias. */
14444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14452 if { (eval echo configure:14453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14454 eval "ac_cv_func_
$ac_func=yes"
14456 echo "configure
: failed program was
:" >&5
14457 cat conftest.$ac_ext >&5
14459 eval "ac_cv_func_
$ac_func=no
"
14464 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14465 echo "$ac_t""yes" 1>&6
14466 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14467 cat >> confdefs.h <<EOF
14468 #define $ac_tr_func 1
14472 echo "$ac_t""no
" 1>&6
14478 echo $ac_n "checking
for _ldexpf declaration
""...
$ac_c" 1>&6
14479 echo "configure
:14480: checking
for _ldexpf declaration
" >&5
14480 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
14481 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
14482 echo $ac_n "(cached
) $ac_c" 1>&6
14487 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14488 ac_cpp='$CXXCPP $CPPFLAGS'
14489 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14490 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14491 cross_compiling=$ac_cv_prog_cxx_cross
14493 cat > conftest.$ac_ext <<EOF
14494 #line 14495 "configure
"
14495 #include "confdefs.h
"
14501 if { (eval echo configure:14502: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14503 glibcpp_cv_func__ldexpf_use=yes
14505 echo "configure
: failed program was
:" >&5
14506 cat conftest.$ac_ext >&5
14508 glibcpp_cv_func__ldexpf_use=no
14512 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14513 ac_cpp='$CPP $CPPFLAGS'
14514 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14515 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14516 cross_compiling=$ac_cv_prog_cc_cross
14522 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
14524 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
14525 for ac_func in _ldexpf
14527 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14528 echo "configure
:14529: checking
for $ac_func" >&5
14529 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14530 echo $ac_n "(cached
) $ac_c" 1>&6
14532 cat > conftest.$ac_ext <<EOF
14533 #line 14534 "configure
"
14534 #include "confdefs.h
"
14535 /* System header to define __stub macros and hopefully few prototypes,
14536 which can conflict with char $ac_func(); below. */
14537 #include <assert.h>
14538 /* Override any gcc2 internal prototype to avoid an error. */
14539 /* We use char because int might match the return type of a gcc2
14540 builtin and then its argument prototype would still apply. */
14545 /* The GNU C library defines this for functions which it implements
14546 to always fail with ENOSYS. Some functions are actually named
14547 something starting with __ and the normal name is an alias. */
14548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14556 if { (eval echo configure:14557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14558 eval "ac_cv_func_
$ac_func=yes"
14560 echo "configure
: failed program was
:" >&5
14561 cat conftest.$ac_ext >&5
14563 eval "ac_cv_func_
$ac_func=no
"
14568 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14569 echo "$ac_t""yes" 1>&6
14570 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14571 cat >> confdefs.h <<EOF
14572 #define $ac_tr_func 1
14576 echo "$ac_t""no
" 1>&6
14585 echo $ac_n "checking
for logf declaration
""...
$ac_c" 1>&6
14586 echo "configure
:14587: checking
for logf declaration
" >&5
14587 if test x${glibcpp_cv_func_logf_use+set} != xset; then
14588 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
14589 echo $ac_n "(cached
) $ac_c" 1>&6
14594 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14595 ac_cpp='$CXXCPP $CPPFLAGS'
14596 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14597 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14598 cross_compiling=$ac_cv_prog_cxx_cross
14600 cat > conftest.$ac_ext <<EOF
14601 #line 14602 "configure
"
14602 #include "confdefs.h
"
14604 #ifdef HAVE_IEEEFP_H
14605 #include <ieeefp.h>
14612 if { (eval echo configure:14613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14614 glibcpp_cv_func_logf_use=yes
14616 echo "configure
: failed program was
:" >&5
14617 cat conftest.$ac_ext >&5
14619 glibcpp_cv_func_logf_use=no
14623 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14624 ac_cpp='$CPP $CPPFLAGS'
14625 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14626 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14627 cross_compiling=$ac_cv_prog_cc_cross
14633 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
14635 if test x$glibcpp_cv_func_logf_use = x"yes"; then
14636 for ac_func in logf
14638 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14639 echo "configure
:14640: checking
for $ac_func" >&5
14640 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14641 echo $ac_n "(cached
) $ac_c" 1>&6
14643 cat > conftest.$ac_ext <<EOF
14644 #line 14645 "configure
"
14645 #include "confdefs.h
"
14646 /* System header to define __stub macros and hopefully few prototypes,
14647 which can conflict with char $ac_func(); below. */
14648 #include <assert.h>
14649 /* Override any gcc2 internal prototype to avoid an error. */
14650 /* We use char because int might match the return type of a gcc2
14651 builtin and then its argument prototype would still apply. */
14656 /* The GNU C library defines this for functions which it implements
14657 to always fail with ENOSYS. Some functions are actually named
14658 something starting with __ and the normal name is an alias. */
14659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14667 if { (eval echo configure:14668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14669 eval "ac_cv_func_
$ac_func=yes"
14671 echo "configure
: failed program was
:" >&5
14672 cat conftest.$ac_ext >&5
14674 eval "ac_cv_func_
$ac_func=no
"
14679 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14680 echo "$ac_t""yes" 1>&6
14681 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14682 cat >> confdefs.h <<EOF
14683 #define $ac_tr_func 1
14687 echo "$ac_t""no
" 1>&6
14693 echo $ac_n "checking
for _logf declaration
""...
$ac_c" 1>&6
14694 echo "configure
:14695: checking
for _logf declaration
" >&5
14695 if test x${glibcpp_cv_func__logf_use+set} != xset; then
14696 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
14697 echo $ac_n "(cached
) $ac_c" 1>&6
14702 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14703 ac_cpp='$CXXCPP $CPPFLAGS'
14704 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14705 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14706 cross_compiling=$ac_cv_prog_cxx_cross
14708 cat > conftest.$ac_ext <<EOF
14709 #line 14710 "configure
"
14710 #include "confdefs.h
"
14712 #ifdef HAVE_IEEEFP_H
14713 #include <ieeefp.h>
14720 if { (eval echo configure:14721: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14722 glibcpp_cv_func__logf_use=yes
14724 echo "configure
: failed program was
:" >&5
14725 cat conftest.$ac_ext >&5
14727 glibcpp_cv_func__logf_use=no
14731 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14732 ac_cpp='$CPP $CPPFLAGS'
14733 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14734 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14735 cross_compiling=$ac_cv_prog_cc_cross
14741 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
14743 if test x$glibcpp_cv_func__logf_use = x"yes"; then
14744 for ac_func in _logf
14746 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14747 echo "configure
:14748: checking
for $ac_func" >&5
14748 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14749 echo $ac_n "(cached
) $ac_c" 1>&6
14751 cat > conftest.$ac_ext <<EOF
14752 #line 14753 "configure
"
14753 #include "confdefs.h
"
14754 /* System header to define __stub macros and hopefully few prototypes,
14755 which can conflict with char $ac_func(); below. */
14756 #include <assert.h>
14757 /* Override any gcc2 internal prototype to avoid an error. */
14758 /* We use char because int might match the return type of a gcc2
14759 builtin and then its argument prototype would still apply. */
14764 /* The GNU C library defines this for functions which it implements
14765 to always fail with ENOSYS. Some functions are actually named
14766 something starting with __ and the normal name is an alias. */
14767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14775 if { (eval echo configure:14776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14777 eval "ac_cv_func_
$ac_func=yes"
14779 echo "configure
: failed program was
:" >&5
14780 cat conftest.$ac_ext >&5
14782 eval "ac_cv_func_
$ac_func=no
"
14787 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14788 echo "$ac_t""yes" 1>&6
14789 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14790 cat >> confdefs.h <<EOF
14791 #define $ac_tr_func 1
14795 echo "$ac_t""no
" 1>&6
14804 echo $ac_n "checking
for log10f declaration
""...
$ac_c" 1>&6
14805 echo "configure
:14806: checking
for log10f declaration
" >&5
14806 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
14807 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
14808 echo $ac_n "(cached
) $ac_c" 1>&6
14813 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14814 ac_cpp='$CXXCPP $CPPFLAGS'
14815 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14816 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14817 cross_compiling=$ac_cv_prog_cxx_cross
14819 cat > conftest.$ac_ext <<EOF
14820 #line 14821 "configure
"
14821 #include "confdefs.h
"
14823 #ifdef HAVE_IEEEFP_H
14824 #include <ieeefp.h>
14831 if { (eval echo configure:14832: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14833 glibcpp_cv_func_log10f_use=yes
14835 echo "configure
: failed program was
:" >&5
14836 cat conftest.$ac_ext >&5
14838 glibcpp_cv_func_log10f_use=no
14842 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14843 ac_cpp='$CPP $CPPFLAGS'
14844 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14845 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14846 cross_compiling=$ac_cv_prog_cc_cross
14852 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
14854 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
14855 for ac_func in log10f
14857 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14858 echo "configure
:14859: checking
for $ac_func" >&5
14859 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14860 echo $ac_n "(cached
) $ac_c" 1>&6
14862 cat > conftest.$ac_ext <<EOF
14863 #line 14864 "configure
"
14864 #include "confdefs.h
"
14865 /* System header to define __stub macros and hopefully few prototypes,
14866 which can conflict with char $ac_func(); below. */
14867 #include <assert.h>
14868 /* Override any gcc2 internal prototype to avoid an error. */
14869 /* We use char because int might match the return type of a gcc2
14870 builtin and then its argument prototype would still apply. */
14875 /* The GNU C library defines this for functions which it implements
14876 to always fail with ENOSYS. Some functions are actually named
14877 something starting with __ and the normal name is an alias. */
14878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14886 if { (eval echo configure:14887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14888 eval "ac_cv_func_
$ac_func=yes"
14890 echo "configure
: failed program was
:" >&5
14891 cat conftest.$ac_ext >&5
14893 eval "ac_cv_func_
$ac_func=no
"
14898 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14899 echo "$ac_t""yes" 1>&6
14900 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14901 cat >> confdefs.h <<EOF
14902 #define $ac_tr_func 1
14906 echo "$ac_t""no
" 1>&6
14912 echo $ac_n "checking
for _log10f declaration
""...
$ac_c" 1>&6
14913 echo "configure
:14914: checking
for _log10f declaration
" >&5
14914 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
14915 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
14916 echo $ac_n "(cached
) $ac_c" 1>&6
14921 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14922 ac_cpp='$CXXCPP $CPPFLAGS'
14923 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14924 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14925 cross_compiling=$ac_cv_prog_cxx_cross
14927 cat > conftest.$ac_ext <<EOF
14928 #line 14929 "configure
"
14929 #include "confdefs.h
"
14931 #ifdef HAVE_IEEEFP_H
14932 #include <ieeefp.h>
14939 if { (eval echo configure:14940: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14941 glibcpp_cv_func__log10f_use=yes
14943 echo "configure
: failed program was
:" >&5
14944 cat conftest.$ac_ext >&5
14946 glibcpp_cv_func__log10f_use=no
14950 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14951 ac_cpp='$CPP $CPPFLAGS'
14952 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14953 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14954 cross_compiling=$ac_cv_prog_cc_cross
14960 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
14962 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
14963 for ac_func in _log10f
14965 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14966 echo "configure
:14967: checking
for $ac_func" >&5
14967 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14968 echo $ac_n "(cached
) $ac_c" 1>&6
14970 cat > conftest.$ac_ext <<EOF
14971 #line 14972 "configure
"
14972 #include "confdefs.h
"
14973 /* System header to define __stub macros and hopefully few prototypes,
14974 which can conflict with char $ac_func(); below. */
14975 #include <assert.h>
14976 /* Override any gcc2 internal prototype to avoid an error. */
14977 /* We use char because int might match the return type of a gcc2
14978 builtin and then its argument prototype would still apply. */
14983 /* The GNU C library defines this for functions which it implements
14984 to always fail with ENOSYS. Some functions are actually named
14985 something starting with __ and the normal name is an alias. */
14986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14994 if { (eval echo configure:14995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14996 eval "ac_cv_func_
$ac_func=yes"
14998 echo "configure
: failed program was
:" >&5
14999 cat conftest.$ac_ext >&5
15001 eval "ac_cv_func_
$ac_func=no
"
15006 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15007 echo "$ac_t""yes" 1>&6
15008 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15009 cat >> confdefs.h <<EOF
15010 #define $ac_tr_func 1
15014 echo "$ac_t""no
" 1>&6
15023 echo $ac_n "checking
for modff declaration
""...
$ac_c" 1>&6
15024 echo "configure
:15025: checking
for modff declaration
" >&5
15025 if test x${glibcpp_cv_func_modff_use+set} != xset; then
15026 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
15027 echo $ac_n "(cached
) $ac_c" 1>&6
15032 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15033 ac_cpp='$CXXCPP $CPPFLAGS'
15034 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15035 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15036 cross_compiling=$ac_cv_prog_cxx_cross
15038 cat > conftest.$ac_ext <<EOF
15039 #line 15040 "configure
"
15040 #include "confdefs.h
"
15046 if { (eval echo configure:15047: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15048 glibcpp_cv_func_modff_use=yes
15050 echo "configure
: failed program was
:" >&5
15051 cat conftest.$ac_ext >&5
15053 glibcpp_cv_func_modff_use=no
15057 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15058 ac_cpp='$CPP $CPPFLAGS'
15059 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15060 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15061 cross_compiling=$ac_cv_prog_cc_cross
15067 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
15069 if test x$glibcpp_cv_func_modff_use = x"yes"; then
15070 for ac_func in modff
15072 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15073 echo "configure
:15074: checking
for $ac_func" >&5
15074 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15075 echo $ac_n "(cached
) $ac_c" 1>&6
15077 cat > conftest.$ac_ext <<EOF
15078 #line 15079 "configure
"
15079 #include "confdefs.h
"
15080 /* System header to define __stub macros and hopefully few prototypes,
15081 which can conflict with char $ac_func(); below. */
15082 #include <assert.h>
15083 /* Override any gcc2 internal prototype to avoid an error. */
15084 /* We use char because int might match the return type of a gcc2
15085 builtin and then its argument prototype would still apply. */
15090 /* The GNU C library defines this for functions which it implements
15091 to always fail with ENOSYS. Some functions are actually named
15092 something starting with __ and the normal name is an alias. */
15093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15101 if { (eval echo configure:15102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15103 eval "ac_cv_func_
$ac_func=yes"
15105 echo "configure
: failed program was
:" >&5
15106 cat conftest.$ac_ext >&5
15108 eval "ac_cv_func_
$ac_func=no
"
15113 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15114 echo "$ac_t""yes" 1>&6
15115 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15116 cat >> confdefs.h <<EOF
15117 #define $ac_tr_func 1
15121 echo "$ac_t""no
" 1>&6
15127 echo $ac_n "checking
for _modff declaration
""...
$ac_c" 1>&6
15128 echo "configure
:15129: checking
for _modff declaration
" >&5
15129 if test x${glibcpp_cv_func__modff_use+set} != xset; then
15130 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
15131 echo $ac_n "(cached
) $ac_c" 1>&6
15136 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15137 ac_cpp='$CXXCPP $CPPFLAGS'
15138 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15139 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15140 cross_compiling=$ac_cv_prog_cxx_cross
15142 cat > conftest.$ac_ext <<EOF
15143 #line 15144 "configure
"
15144 #include "confdefs.h
"
15150 if { (eval echo configure:15151: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15152 glibcpp_cv_func__modff_use=yes
15154 echo "configure
: failed program was
:" >&5
15155 cat conftest.$ac_ext >&5
15157 glibcpp_cv_func__modff_use=no
15161 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15162 ac_cpp='$CPP $CPPFLAGS'
15163 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15164 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15165 cross_compiling=$ac_cv_prog_cc_cross
15171 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
15173 if test x$glibcpp_cv_func__modff_use = x"yes"; then
15174 for ac_func in _modff
15176 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15177 echo "configure
:15178: checking
for $ac_func" >&5
15178 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15179 echo $ac_n "(cached
) $ac_c" 1>&6
15181 cat > conftest.$ac_ext <<EOF
15182 #line 15183 "configure
"
15183 #include "confdefs.h
"
15184 /* System header to define __stub macros and hopefully few prototypes,
15185 which can conflict with char $ac_func(); below. */
15186 #include <assert.h>
15187 /* Override any gcc2 internal prototype to avoid an error. */
15188 /* We use char because int might match the return type of a gcc2
15189 builtin and then its argument prototype would still apply. */
15194 /* The GNU C library defines this for functions which it implements
15195 to always fail with ENOSYS. Some functions are actually named
15196 something starting with __ and the normal name is an alias. */
15197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15205 if { (eval echo configure:15206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15207 eval "ac_cv_func_
$ac_func=yes"
15209 echo "configure
: failed program was
:" >&5
15210 cat conftest.$ac_ext >&5
15212 eval "ac_cv_func_
$ac_func=no
"
15217 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15218 echo "$ac_t""yes" 1>&6
15219 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15220 cat >> confdefs.h <<EOF
15221 #define $ac_tr_func 1
15225 echo "$ac_t""no
" 1>&6
15234 echo $ac_n "checking
for powf declaration
""...
$ac_c" 1>&6
15235 echo "configure
:15236: checking
for powf declaration
" >&5
15236 if test x${glibcpp_cv_func_powf_use+set} != xset; then
15237 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
15238 echo $ac_n "(cached
) $ac_c" 1>&6
15243 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15244 ac_cpp='$CXXCPP $CPPFLAGS'
15245 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15246 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15247 cross_compiling=$ac_cv_prog_cxx_cross
15249 cat > conftest.$ac_ext <<EOF
15250 #line 15251 "configure
"
15251 #include "confdefs.h
"
15257 if { (eval echo configure:15258: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15259 glibcpp_cv_func_powf_use=yes
15261 echo "configure
: failed program was
:" >&5
15262 cat conftest.$ac_ext >&5
15264 glibcpp_cv_func_powf_use=no
15268 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15269 ac_cpp='$CPP $CPPFLAGS'
15270 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15271 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15272 cross_compiling=$ac_cv_prog_cc_cross
15278 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
15280 if test x$glibcpp_cv_func_powf_use = x"yes"; then
15281 for ac_func in powf
15283 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15284 echo "configure
:15285: checking
for $ac_func" >&5
15285 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15286 echo $ac_n "(cached
) $ac_c" 1>&6
15288 cat > conftest.$ac_ext <<EOF
15289 #line 15290 "configure
"
15290 #include "confdefs.h
"
15291 /* System header to define __stub macros and hopefully few prototypes,
15292 which can conflict with char $ac_func(); below. */
15293 #include <assert.h>
15294 /* Override any gcc2 internal prototype to avoid an error. */
15295 /* We use char because int might match the return type of a gcc2
15296 builtin and then its argument prototype would still apply. */
15301 /* The GNU C library defines this for functions which it implements
15302 to always fail with ENOSYS. Some functions are actually named
15303 something starting with __ and the normal name is an alias. */
15304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15312 if { (eval echo configure:15313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15314 eval "ac_cv_func_
$ac_func=yes"
15316 echo "configure
: failed program was
:" >&5
15317 cat conftest.$ac_ext >&5
15319 eval "ac_cv_func_
$ac_func=no
"
15324 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15325 echo "$ac_t""yes" 1>&6
15326 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15327 cat >> confdefs.h <<EOF
15328 #define $ac_tr_func 1
15332 echo "$ac_t""no
" 1>&6
15338 echo $ac_n "checking
for _powf declaration
""...
$ac_c" 1>&6
15339 echo "configure
:15340: checking
for _powf declaration
" >&5
15340 if test x${glibcpp_cv_func__powf_use+set} != xset; then
15341 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
15342 echo $ac_n "(cached
) $ac_c" 1>&6
15347 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15348 ac_cpp='$CXXCPP $CPPFLAGS'
15349 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15350 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15351 cross_compiling=$ac_cv_prog_cxx_cross
15353 cat > conftest.$ac_ext <<EOF
15354 #line 15355 "configure
"
15355 #include "confdefs.h
"
15361 if { (eval echo configure:15362: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15363 glibcpp_cv_func__powf_use=yes
15365 echo "configure
: failed program was
:" >&5
15366 cat conftest.$ac_ext >&5
15368 glibcpp_cv_func__powf_use=no
15372 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15373 ac_cpp='$CPP $CPPFLAGS'
15374 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15375 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15376 cross_compiling=$ac_cv_prog_cc_cross
15382 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
15384 if test x$glibcpp_cv_func__powf_use = x"yes"; then
15385 for ac_func in _powf
15387 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15388 echo "configure
:15389: checking
for $ac_func" >&5
15389 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15390 echo $ac_n "(cached
) $ac_c" 1>&6
15392 cat > conftest.$ac_ext <<EOF
15393 #line 15394 "configure
"
15394 #include "confdefs.h
"
15395 /* System header to define __stub macros and hopefully few prototypes,
15396 which can conflict with char $ac_func(); below. */
15397 #include <assert.h>
15398 /* Override any gcc2 internal prototype to avoid an error. */
15399 /* We use char because int might match the return type of a gcc2
15400 builtin and then its argument prototype would still apply. */
15405 /* The GNU C library defines this for functions which it implements
15406 to always fail with ENOSYS. Some functions are actually named
15407 something starting with __ and the normal name is an alias. */
15408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15416 if { (eval echo configure:15417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15418 eval "ac_cv_func_
$ac_func=yes"
15420 echo "configure
: failed program was
:" >&5
15421 cat conftest.$ac_ext >&5
15423 eval "ac_cv_func_
$ac_func=no
"
15428 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15429 echo "$ac_t""yes" 1>&6
15430 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15431 cat >> confdefs.h <<EOF
15432 #define $ac_tr_func 1
15436 echo "$ac_t""no
" 1>&6
15445 echo $ac_n "checking
for sqrtf declaration
""...
$ac_c" 1>&6
15446 echo "configure
:15447: checking
for sqrtf declaration
" >&5
15447 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
15448 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
15449 echo $ac_n "(cached
) $ac_c" 1>&6
15454 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15455 ac_cpp='$CXXCPP $CPPFLAGS'
15456 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15457 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15458 cross_compiling=$ac_cv_prog_cxx_cross
15460 cat > conftest.$ac_ext <<EOF
15461 #line 15462 "configure
"
15462 #include "confdefs.h
"
15464 #ifdef HAVE_IEEEFP_H
15465 #include <ieeefp.h>
15472 if { (eval echo configure:15473: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15474 glibcpp_cv_func_sqrtf_use=yes
15476 echo "configure
: failed program was
:" >&5
15477 cat conftest.$ac_ext >&5
15479 glibcpp_cv_func_sqrtf_use=no
15483 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15484 ac_cpp='$CPP $CPPFLAGS'
15485 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15486 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15487 cross_compiling=$ac_cv_prog_cc_cross
15493 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
15495 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
15496 for ac_func in sqrtf
15498 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15499 echo "configure
:15500: checking
for $ac_func" >&5
15500 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15501 echo $ac_n "(cached
) $ac_c" 1>&6
15503 cat > conftest.$ac_ext <<EOF
15504 #line 15505 "configure
"
15505 #include "confdefs.h
"
15506 /* System header to define __stub macros and hopefully few prototypes,
15507 which can conflict with char $ac_func(); below. */
15508 #include <assert.h>
15509 /* Override any gcc2 internal prototype to avoid an error. */
15510 /* We use char because int might match the return type of a gcc2
15511 builtin and then its argument prototype would still apply. */
15516 /* The GNU C library defines this for functions which it implements
15517 to always fail with ENOSYS. Some functions are actually named
15518 something starting with __ and the normal name is an alias. */
15519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15527 if { (eval echo configure:15528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15529 eval "ac_cv_func_
$ac_func=yes"
15531 echo "configure
: failed program was
:" >&5
15532 cat conftest.$ac_ext >&5
15534 eval "ac_cv_func_
$ac_func=no
"
15539 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15540 echo "$ac_t""yes" 1>&6
15541 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15542 cat >> confdefs.h <<EOF
15543 #define $ac_tr_func 1
15547 echo "$ac_t""no
" 1>&6
15553 echo $ac_n "checking
for _sqrtf declaration
""...
$ac_c" 1>&6
15554 echo "configure
:15555: checking
for _sqrtf declaration
" >&5
15555 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
15556 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
15557 echo $ac_n "(cached
) $ac_c" 1>&6
15562 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15563 ac_cpp='$CXXCPP $CPPFLAGS'
15564 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15565 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15566 cross_compiling=$ac_cv_prog_cxx_cross
15568 cat > conftest.$ac_ext <<EOF
15569 #line 15570 "configure
"
15570 #include "confdefs.h
"
15572 #ifdef HAVE_IEEEFP_H
15573 #include <ieeefp.h>
15580 if { (eval echo configure:15581: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15582 glibcpp_cv_func__sqrtf_use=yes
15584 echo "configure
: failed program was
:" >&5
15585 cat conftest.$ac_ext >&5
15587 glibcpp_cv_func__sqrtf_use=no
15591 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15592 ac_cpp='$CPP $CPPFLAGS'
15593 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15594 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15595 cross_compiling=$ac_cv_prog_cc_cross
15601 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
15603 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
15604 for ac_func in _sqrtf
15606 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15607 echo "configure
:15608: checking
for $ac_func" >&5
15608 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15609 echo $ac_n "(cached
) $ac_c" 1>&6
15611 cat > conftest.$ac_ext <<EOF
15612 #line 15613 "configure
"
15613 #include "confdefs.h
"
15614 /* System header to define __stub macros and hopefully few prototypes,
15615 which can conflict with char $ac_func(); below. */
15616 #include <assert.h>
15617 /* Override any gcc2 internal prototype to avoid an error. */
15618 /* We use char because int might match the return type of a gcc2
15619 builtin and then its argument prototype would still apply. */
15624 /* The GNU C library defines this for functions which it implements
15625 to always fail with ENOSYS. Some functions are actually named
15626 something starting with __ and the normal name is an alias. */
15627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15635 if { (eval echo configure:15636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15637 eval "ac_cv_func_
$ac_func=yes"
15639 echo "configure
: failed program was
:" >&5
15640 cat conftest.$ac_ext >&5
15642 eval "ac_cv_func_
$ac_func=no
"
15647 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15648 echo "$ac_t""yes" 1>&6
15649 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15650 cat >> confdefs.h <<EOF
15651 #define $ac_tr_func 1
15655 echo "$ac_t""no
" 1>&6
15664 echo $ac_n "checking
for sincosf declaration
""...
$ac_c" 1>&6
15665 echo "configure
:15666: checking
for sincosf declaration
" >&5
15666 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
15667 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
15668 echo $ac_n "(cached
) $ac_c" 1>&6
15673 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15674 ac_cpp='$CXXCPP $CPPFLAGS'
15675 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15676 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15677 cross_compiling=$ac_cv_prog_cxx_cross
15679 cat > conftest.$ac_ext <<EOF
15680 #line 15681 "configure
"
15681 #include "confdefs.h
"
15687 if { (eval echo configure:15688: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15689 glibcpp_cv_func_sincosf_use=yes
15691 echo "configure
: failed program was
:" >&5
15692 cat conftest.$ac_ext >&5
15694 glibcpp_cv_func_sincosf_use=no
15698 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15699 ac_cpp='$CPP $CPPFLAGS'
15700 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15701 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15702 cross_compiling=$ac_cv_prog_cc_cross
15708 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
15710 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
15711 for ac_func in sincosf
15713 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15714 echo "configure
:15715: checking
for $ac_func" >&5
15715 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15716 echo $ac_n "(cached
) $ac_c" 1>&6
15718 cat > conftest.$ac_ext <<EOF
15719 #line 15720 "configure
"
15720 #include "confdefs.h
"
15721 /* System header to define __stub macros and hopefully few prototypes,
15722 which can conflict with char $ac_func(); below. */
15723 #include <assert.h>
15724 /* Override any gcc2 internal prototype to avoid an error. */
15725 /* We use char because int might match the return type of a gcc2
15726 builtin and then its argument prototype would still apply. */
15731 /* The GNU C library defines this for functions which it implements
15732 to always fail with ENOSYS. Some functions are actually named
15733 something starting with __ and the normal name is an alias. */
15734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15742 if { (eval echo configure:15743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15744 eval "ac_cv_func_
$ac_func=yes"
15746 echo "configure
: failed program was
:" >&5
15747 cat conftest.$ac_ext >&5
15749 eval "ac_cv_func_
$ac_func=no
"
15754 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15755 echo "$ac_t""yes" 1>&6
15756 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15757 cat >> confdefs.h <<EOF
15758 #define $ac_tr_func 1
15762 echo "$ac_t""no
" 1>&6
15768 echo $ac_n "checking
for _sincosf declaration
""...
$ac_c" 1>&6
15769 echo "configure
:15770: checking
for _sincosf declaration
" >&5
15770 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
15771 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
15772 echo $ac_n "(cached
) $ac_c" 1>&6
15777 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15778 ac_cpp='$CXXCPP $CPPFLAGS'
15779 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15780 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15781 cross_compiling=$ac_cv_prog_cxx_cross
15783 cat > conftest.$ac_ext <<EOF
15784 #line 15785 "configure
"
15785 #include "confdefs.h
"
15791 if { (eval echo configure:15792: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15793 glibcpp_cv_func__sincosf_use=yes
15795 echo "configure
: failed program was
:" >&5
15796 cat conftest.$ac_ext >&5
15798 glibcpp_cv_func__sincosf_use=no
15802 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15803 ac_cpp='$CPP $CPPFLAGS'
15804 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15805 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15806 cross_compiling=$ac_cv_prog_cc_cross
15812 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
15814 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
15815 for ac_func in _sincosf
15817 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15818 echo "configure
:15819: checking
for $ac_func" >&5
15819 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15820 echo $ac_n "(cached
) $ac_c" 1>&6
15822 cat > conftest.$ac_ext <<EOF
15823 #line 15824 "configure
"
15824 #include "confdefs.h
"
15825 /* System header to define __stub macros and hopefully few prototypes,
15826 which can conflict with char $ac_func(); below. */
15827 #include <assert.h>
15828 /* Override any gcc2 internal prototype to avoid an error. */
15829 /* We use char because int might match the return type of a gcc2
15830 builtin and then its argument prototype would still apply. */
15835 /* The GNU C library defines this for functions which it implements
15836 to always fail with ENOSYS. Some functions are actually named
15837 something starting with __ and the normal name is an alias. */
15838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15846 if { (eval echo configure:15847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15848 eval "ac_cv_func_
$ac_func=yes"
15850 echo "configure
: failed program was
:" >&5
15851 cat conftest.$ac_ext >&5
15853 eval "ac_cv_func_
$ac_func=no
"
15858 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15859 echo "$ac_t""yes" 1>&6
15860 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15861 cat >> confdefs.h <<EOF
15862 #define $ac_tr_func 1
15866 echo "$ac_t""no
" 1>&6
15875 echo $ac_n "checking
for finitef declaration
""...
$ac_c" 1>&6
15876 echo "configure
:15877: checking
for finitef declaration
" >&5
15877 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
15878 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
15879 echo $ac_n "(cached
) $ac_c" 1>&6
15884 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15885 ac_cpp='$CXXCPP $CPPFLAGS'
15886 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15887 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15888 cross_compiling=$ac_cv_prog_cxx_cross
15890 cat > conftest.$ac_ext <<EOF
15891 #line 15892 "configure
"
15892 #include "confdefs.h
"
15894 #ifdef HAVE_IEEEFP_H
15895 #include <ieeefp.h>
15902 if { (eval echo configure:15903: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15904 glibcpp_cv_func_finitef_use=yes
15906 echo "configure
: failed program was
:" >&5
15907 cat conftest.$ac_ext >&5
15909 glibcpp_cv_func_finitef_use=no
15913 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15914 ac_cpp='$CPP $CPPFLAGS'
15915 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15916 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15917 cross_compiling=$ac_cv_prog_cc_cross
15923 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
15925 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
15926 for ac_func in finitef
15928 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15929 echo "configure
:15930: checking
for $ac_func" >&5
15930 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15931 echo $ac_n "(cached
) $ac_c" 1>&6
15933 cat > conftest.$ac_ext <<EOF
15934 #line 15935 "configure
"
15935 #include "confdefs.h
"
15936 /* System header to define __stub macros and hopefully few prototypes,
15937 which can conflict with char $ac_func(); below. */
15938 #include <assert.h>
15939 /* Override any gcc2 internal prototype to avoid an error. */
15940 /* We use char because int might match the return type of a gcc2
15941 builtin and then its argument prototype would still apply. */
15946 /* The GNU C library defines this for functions which it implements
15947 to always fail with ENOSYS. Some functions are actually named
15948 something starting with __ and the normal name is an alias. */
15949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15957 if { (eval echo configure:15958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15959 eval "ac_cv_func_
$ac_func=yes"
15961 echo "configure
: failed program was
:" >&5
15962 cat conftest.$ac_ext >&5
15964 eval "ac_cv_func_
$ac_func=no
"
15969 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15970 echo "$ac_t""yes" 1>&6
15971 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15972 cat >> confdefs.h <<EOF
15973 #define $ac_tr_func 1
15977 echo "$ac_t""no
" 1>&6
15983 echo $ac_n "checking
for _finitef declaration
""...
$ac_c" 1>&6
15984 echo "configure
:15985: checking
for _finitef declaration
" >&5
15985 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
15986 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
15987 echo $ac_n "(cached
) $ac_c" 1>&6
15992 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15993 ac_cpp='$CXXCPP $CPPFLAGS'
15994 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15995 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15996 cross_compiling=$ac_cv_prog_cxx_cross
15998 cat > conftest.$ac_ext <<EOF
15999 #line 16000 "configure
"
16000 #include "confdefs.h
"
16002 #ifdef HAVE_IEEEFP_H
16003 #include <ieeefp.h>
16010 if { (eval echo configure:16011: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16012 glibcpp_cv_func__finitef_use=yes
16014 echo "configure
: failed program was
:" >&5
16015 cat conftest.$ac_ext >&5
16017 glibcpp_cv_func__finitef_use=no
16021 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16022 ac_cpp='$CPP $CPPFLAGS'
16023 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16024 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16025 cross_compiling=$ac_cv_prog_cc_cross
16031 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
16033 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
16034 for ac_func in _finitef
16036 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16037 echo "configure
:16038: checking
for $ac_func" >&5
16038 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16039 echo $ac_n "(cached
) $ac_c" 1>&6
16041 cat > conftest.$ac_ext <<EOF
16042 #line 16043 "configure
"
16043 #include "confdefs.h
"
16044 /* System header to define __stub macros and hopefully few prototypes,
16045 which can conflict with char $ac_func(); below. */
16046 #include <assert.h>
16047 /* Override any gcc2 internal prototype to avoid an error. */
16048 /* We use char because int might match the return type of a gcc2
16049 builtin and then its argument prototype would still apply. */
16054 /* The GNU C library defines this for functions which it implements
16055 to always fail with ENOSYS. Some functions are actually named
16056 something starting with __ and the normal name is an alias. */
16057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16065 if { (eval echo configure:16066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16067 eval "ac_cv_func_
$ac_func=yes"
16069 echo "configure
: failed program was
:" >&5
16070 cat conftest.$ac_ext >&5
16072 eval "ac_cv_func_
$ac_func=no
"
16077 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16078 echo "$ac_t""yes" 1>&6
16079 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16080 cat >> confdefs.h <<EOF
16081 #define $ac_tr_func 1
16085 echo "$ac_t""no
" 1>&6
16094 echo $ac_n "checking
for long double trig functions
""...
$ac_c" 1>&6
16095 echo "configure
:16096: checking
for long double trig functions
" >&5
16096 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
16097 echo $ac_n "(cached
) $ac_c" 1>&6
16102 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16103 ac_cpp='$CXXCPP $CPPFLAGS'
16104 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16105 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16106 cross_compiling=$ac_cv_prog_cxx_cross
16108 cat > conftest.$ac_ext <<EOF
16109 #line 16110 "configure
"
16110 #include "confdefs.h
"
16113 `for x in acosl asinl atanl \
16115 coshl sinhl tanhl; do echo "$x (0);"; done`
16118 if { (eval echo configure:16119: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16120 glibcpp_cv_func_long_double_trig_use=yes
16122 echo "configure
: failed program was
:" >&5
16123 cat conftest.$ac_ext >&5
16125 glibcpp_cv_func_long_double_trig_use=no
16129 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16130 ac_cpp='$CPP $CPPFLAGS'
16131 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16132 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16133 cross_compiling=$ac_cv_prog_cc_cross
16137 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
16138 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
16139 for ac_func in acosl asinl atanl \
16143 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16144 echo "configure
:16145: checking
for $ac_func" >&5
16145 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16146 echo $ac_n "(cached
) $ac_c" 1>&6
16148 cat > conftest.$ac_ext <<EOF
16149 #line 16150 "configure
"
16150 #include "confdefs.h
"
16151 /* System header to define __stub macros and hopefully few prototypes,
16152 which can conflict with char $ac_func(); below. */
16153 #include <assert.h>
16154 /* Override any gcc2 internal prototype to avoid an error. */
16155 /* We use char because int might match the return type of a gcc2
16156 builtin and then its argument prototype would still apply. */
16161 /* The GNU C library defines this for functions which it implements
16162 to always fail with ENOSYS. Some functions are actually named
16163 something starting with __ and the normal name is an alias. */
16164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16172 if { (eval echo configure:16173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16174 eval "ac_cv_func_
$ac_func=yes"
16176 echo "configure
: failed program was
:" >&5
16177 cat conftest.$ac_ext >&5
16179 eval "ac_cv_func_
$ac_func=no
"
16184 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16185 echo "$ac_t""yes" 1>&6
16186 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16187 cat >> confdefs.h <<EOF
16188 #define $ac_tr_func 1
16192 echo "$ac_t""no
" 1>&6
16199 echo $ac_n "checking
for long double round functions
""...
$ac_c" 1>&6
16200 echo "configure
:16201: checking
for long double round functions
" >&5
16201 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
16202 echo $ac_n "(cached
) $ac_c" 1>&6
16207 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16208 ac_cpp='$CXXCPP $CPPFLAGS'
16209 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16210 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16211 cross_compiling=$ac_cv_prog_cxx_cross
16213 cat > conftest.$ac_ext <<EOF
16214 #line 16215 "configure
"
16215 #include "confdefs.h
"
16218 `for x in ceill floorl; do echo "$x (0);"; done`
16221 if { (eval echo configure:16222: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16223 glibcpp_cv_func_long_double_round_use=yes
16225 echo "configure
: failed program was
:" >&5
16226 cat conftest.$ac_ext >&5
16228 glibcpp_cv_func_long_double_round_use=no
16232 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16233 ac_cpp='$CPP $CPPFLAGS'
16234 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16235 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16236 cross_compiling=$ac_cv_prog_cc_cross
16240 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
16241 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
16242 for ac_func in ceill floorl
16244 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16245 echo "configure
:16246: checking
for $ac_func" >&5
16246 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16247 echo $ac_n "(cached
) $ac_c" 1>&6
16249 cat > conftest.$ac_ext <<EOF
16250 #line 16251 "configure
"
16251 #include "confdefs.h
"
16252 /* System header to define __stub macros and hopefully few prototypes,
16253 which can conflict with char $ac_func(); below. */
16254 #include <assert.h>
16255 /* Override any gcc2 internal prototype to avoid an error. */
16256 /* We use char because int might match the return type of a gcc2
16257 builtin and then its argument prototype would still apply. */
16262 /* The GNU C library defines this for functions which it implements
16263 to always fail with ENOSYS. Some functions are actually named
16264 something starting with __ and the normal name is an alias. */
16265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16273 if { (eval echo configure:16274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16275 eval "ac_cv_func_
$ac_func=yes"
16277 echo "configure
: failed program was
:" >&5
16278 cat conftest.$ac_ext >&5
16280 eval "ac_cv_func_
$ac_func=no
"
16285 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16286 echo "$ac_t""yes" 1>&6
16287 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16288 cat >> confdefs.h <<EOF
16289 #define $ac_tr_func 1
16293 echo "$ac_t""no
" 1>&6
16301 echo $ac_n "checking
for isnanl declaration
""...
$ac_c" 1>&6
16302 echo "configure
:16303: checking
for isnanl declaration
" >&5
16303 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
16304 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
16305 echo $ac_n "(cached
) $ac_c" 1>&6
16310 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16311 ac_cpp='$CXXCPP $CPPFLAGS'
16312 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16313 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16314 cross_compiling=$ac_cv_prog_cxx_cross
16316 cat > conftest.$ac_ext <<EOF
16317 #line 16318 "configure
"
16318 #include "confdefs.h
"
16320 #ifdef HAVE_IEEEFP_H
16321 #include <ieeefp.h>
16328 if { (eval echo configure:16329: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16330 glibcpp_cv_func_isnanl_use=yes
16332 echo "configure
: failed program was
:" >&5
16333 cat conftest.$ac_ext >&5
16335 glibcpp_cv_func_isnanl_use=no
16339 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16340 ac_cpp='$CPP $CPPFLAGS'
16341 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16342 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16343 cross_compiling=$ac_cv_prog_cc_cross
16349 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
16351 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
16352 for ac_func in isnanl
16354 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16355 echo "configure
:16356: checking
for $ac_func" >&5
16356 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16357 echo $ac_n "(cached
) $ac_c" 1>&6
16359 cat > conftest.$ac_ext <<EOF
16360 #line 16361 "configure
"
16361 #include "confdefs.h
"
16362 /* System header to define __stub macros and hopefully few prototypes,
16363 which can conflict with char $ac_func(); below. */
16364 #include <assert.h>
16365 /* Override any gcc2 internal prototype to avoid an error. */
16366 /* We use char because int might match the return type of a gcc2
16367 builtin and then its argument prototype would still apply. */
16372 /* The GNU C library defines this for functions which it implements
16373 to always fail with ENOSYS. Some functions are actually named
16374 something starting with __ and the normal name is an alias. */
16375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16383 if { (eval echo configure:16384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16385 eval "ac_cv_func_
$ac_func=yes"
16387 echo "configure
: failed program was
:" >&5
16388 cat conftest.$ac_ext >&5
16390 eval "ac_cv_func_
$ac_func=no
"
16395 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16396 echo "$ac_t""yes" 1>&6
16397 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16398 cat >> confdefs.h <<EOF
16399 #define $ac_tr_func 1
16403 echo "$ac_t""no
" 1>&6
16409 echo $ac_n "checking
for _isnanl declaration
""...
$ac_c" 1>&6
16410 echo "configure
:16411: checking
for _isnanl declaration
" >&5
16411 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
16412 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
16413 echo $ac_n "(cached
) $ac_c" 1>&6
16418 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16419 ac_cpp='$CXXCPP $CPPFLAGS'
16420 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16421 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16422 cross_compiling=$ac_cv_prog_cxx_cross
16424 cat > conftest.$ac_ext <<EOF
16425 #line 16426 "configure
"
16426 #include "confdefs.h
"
16428 #ifdef HAVE_IEEEFP_H
16429 #include <ieeefp.h>
16436 if { (eval echo configure:16437: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16438 glibcpp_cv_func__isnanl_use=yes
16440 echo "configure
: failed program was
:" >&5
16441 cat conftest.$ac_ext >&5
16443 glibcpp_cv_func__isnanl_use=no
16447 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16448 ac_cpp='$CPP $CPPFLAGS'
16449 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16450 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16451 cross_compiling=$ac_cv_prog_cc_cross
16457 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
16459 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
16460 for ac_func in _isnanl
16462 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16463 echo "configure
:16464: checking
for $ac_func" >&5
16464 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16465 echo $ac_n "(cached
) $ac_c" 1>&6
16467 cat > conftest.$ac_ext <<EOF
16468 #line 16469 "configure
"
16469 #include "confdefs.h
"
16470 /* System header to define __stub macros and hopefully few prototypes,
16471 which can conflict with char $ac_func(); below. */
16472 #include <assert.h>
16473 /* Override any gcc2 internal prototype to avoid an error. */
16474 /* We use char because int might match the return type of a gcc2
16475 builtin and then its argument prototype would still apply. */
16480 /* The GNU C library defines this for functions which it implements
16481 to always fail with ENOSYS. Some functions are actually named
16482 something starting with __ and the normal name is an alias. */
16483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16491 if { (eval echo configure:16492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16493 eval "ac_cv_func_
$ac_func=yes"
16495 echo "configure
: failed program was
:" >&5
16496 cat conftest.$ac_ext >&5
16498 eval "ac_cv_func_
$ac_func=no
"
16503 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16504 echo "$ac_t""yes" 1>&6
16505 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16506 cat >> confdefs.h <<EOF
16507 #define $ac_tr_func 1
16511 echo "$ac_t""no
" 1>&6
16520 echo $ac_n "checking
for isinfl declaration
""...
$ac_c" 1>&6
16521 echo "configure
:16522: checking
for isinfl declaration
" >&5
16522 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
16523 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
16524 echo $ac_n "(cached
) $ac_c" 1>&6
16529 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16530 ac_cpp='$CXXCPP $CPPFLAGS'
16531 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16532 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16533 cross_compiling=$ac_cv_prog_cxx_cross
16535 cat > conftest.$ac_ext <<EOF
16536 #line 16537 "configure
"
16537 #include "confdefs.h
"
16539 #ifdef HAVE_IEEEFP_H
16540 #include <ieeefp.h>
16547 if { (eval echo configure:16548: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16549 glibcpp_cv_func_isinfl_use=yes
16551 echo "configure
: failed program was
:" >&5
16552 cat conftest.$ac_ext >&5
16554 glibcpp_cv_func_isinfl_use=no
16558 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16559 ac_cpp='$CPP $CPPFLAGS'
16560 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16561 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16562 cross_compiling=$ac_cv_prog_cc_cross
16568 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
16570 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
16571 for ac_func in isinfl
16573 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16574 echo "configure
:16575: checking
for $ac_func" >&5
16575 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16576 echo $ac_n "(cached
) $ac_c" 1>&6
16578 cat > conftest.$ac_ext <<EOF
16579 #line 16580 "configure
"
16580 #include "confdefs.h
"
16581 /* System header to define __stub macros and hopefully few prototypes,
16582 which can conflict with char $ac_func(); below. */
16583 #include <assert.h>
16584 /* Override any gcc2 internal prototype to avoid an error. */
16585 /* We use char because int might match the return type of a gcc2
16586 builtin and then its argument prototype would still apply. */
16591 /* The GNU C library defines this for functions which it implements
16592 to always fail with ENOSYS. Some functions are actually named
16593 something starting with __ and the normal name is an alias. */
16594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16602 if { (eval echo configure:16603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16604 eval "ac_cv_func_
$ac_func=yes"
16606 echo "configure
: failed program was
:" >&5
16607 cat conftest.$ac_ext >&5
16609 eval "ac_cv_func_
$ac_func=no
"
16614 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16615 echo "$ac_t""yes" 1>&6
16616 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16617 cat >> confdefs.h <<EOF
16618 #define $ac_tr_func 1
16622 echo "$ac_t""no
" 1>&6
16628 echo $ac_n "checking
for _isinfl declaration
""...
$ac_c" 1>&6
16629 echo "configure
:16630: checking
for _isinfl declaration
" >&5
16630 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
16631 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
16632 echo $ac_n "(cached
) $ac_c" 1>&6
16637 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16638 ac_cpp='$CXXCPP $CPPFLAGS'
16639 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16640 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16641 cross_compiling=$ac_cv_prog_cxx_cross
16643 cat > conftest.$ac_ext <<EOF
16644 #line 16645 "configure
"
16645 #include "confdefs.h
"
16647 #ifdef HAVE_IEEEFP_H
16648 #include <ieeefp.h>
16655 if { (eval echo configure:16656: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16657 glibcpp_cv_func__isinfl_use=yes
16659 echo "configure
: failed program was
:" >&5
16660 cat conftest.$ac_ext >&5
16662 glibcpp_cv_func__isinfl_use=no
16666 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16667 ac_cpp='$CPP $CPPFLAGS'
16668 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16669 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16670 cross_compiling=$ac_cv_prog_cc_cross
16676 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
16678 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
16679 for ac_func in _isinfl
16681 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16682 echo "configure
:16683: checking
for $ac_func" >&5
16683 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16684 echo $ac_n "(cached
) $ac_c" 1>&6
16686 cat > conftest.$ac_ext <<EOF
16687 #line 16688 "configure
"
16688 #include "confdefs.h
"
16689 /* System header to define __stub macros and hopefully few prototypes,
16690 which can conflict with char $ac_func(); below. */
16691 #include <assert.h>
16692 /* Override any gcc2 internal prototype to avoid an error. */
16693 /* We use char because int might match the return type of a gcc2
16694 builtin and then its argument prototype would still apply. */
16699 /* The GNU C library defines this for functions which it implements
16700 to always fail with ENOSYS. Some functions are actually named
16701 something starting with __ and the normal name is an alias. */
16702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16710 if { (eval echo configure:16711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16712 eval "ac_cv_func_
$ac_func=yes"
16714 echo "configure
: failed program was
:" >&5
16715 cat conftest.$ac_ext >&5
16717 eval "ac_cv_func_
$ac_func=no
"
16722 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16723 echo "$ac_t""yes" 1>&6
16724 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16725 cat >> confdefs.h <<EOF
16726 #define $ac_tr_func 1
16730 echo "$ac_t""no
" 1>&6
16739 echo $ac_n "checking
for copysignl declaration
""...
$ac_c" 1>&6
16740 echo "configure
:16741: checking
for copysignl declaration
" >&5
16741 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
16742 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
16743 echo $ac_n "(cached
) $ac_c" 1>&6
16748 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16749 ac_cpp='$CXXCPP $CPPFLAGS'
16750 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16751 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16752 cross_compiling=$ac_cv_prog_cxx_cross
16754 cat > conftest.$ac_ext <<EOF
16755 #line 16756 "configure
"
16756 #include "confdefs.h
"
16762 if { (eval echo configure:16763: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16764 glibcpp_cv_func_copysignl_use=yes
16766 echo "configure
: failed program was
:" >&5
16767 cat conftest.$ac_ext >&5
16769 glibcpp_cv_func_copysignl_use=no
16773 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16774 ac_cpp='$CPP $CPPFLAGS'
16775 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16776 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16777 cross_compiling=$ac_cv_prog_cc_cross
16783 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
16785 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
16786 for ac_func in copysignl
16788 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16789 echo "configure
:16790: checking
for $ac_func" >&5
16790 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16791 echo $ac_n "(cached
) $ac_c" 1>&6
16793 cat > conftest.$ac_ext <<EOF
16794 #line 16795 "configure
"
16795 #include "confdefs.h
"
16796 /* System header to define __stub macros and hopefully few prototypes,
16797 which can conflict with char $ac_func(); below. */
16798 #include <assert.h>
16799 /* Override any gcc2 internal prototype to avoid an error. */
16800 /* We use char because int might match the return type of a gcc2
16801 builtin and then its argument prototype would still apply. */
16806 /* The GNU C library defines this for functions which it implements
16807 to always fail with ENOSYS. Some functions are actually named
16808 something starting with __ and the normal name is an alias. */
16809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16817 if { (eval echo configure:16818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16819 eval "ac_cv_func_
$ac_func=yes"
16821 echo "configure
: failed program was
:" >&5
16822 cat conftest.$ac_ext >&5
16824 eval "ac_cv_func_
$ac_func=no
"
16829 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16830 echo "$ac_t""yes" 1>&6
16831 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16832 cat >> confdefs.h <<EOF
16833 #define $ac_tr_func 1
16837 echo "$ac_t""no
" 1>&6
16843 echo $ac_n "checking
for _copysignl declaration
""...
$ac_c" 1>&6
16844 echo "configure
:16845: checking
for _copysignl declaration
" >&5
16845 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
16846 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
16847 echo $ac_n "(cached
) $ac_c" 1>&6
16852 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16853 ac_cpp='$CXXCPP $CPPFLAGS'
16854 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16855 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16856 cross_compiling=$ac_cv_prog_cxx_cross
16858 cat > conftest.$ac_ext <<EOF
16859 #line 16860 "configure
"
16860 #include "confdefs.h
"
16866 if { (eval echo configure:16867: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16868 glibcpp_cv_func__copysignl_use=yes
16870 echo "configure
: failed program was
:" >&5
16871 cat conftest.$ac_ext >&5
16873 glibcpp_cv_func__copysignl_use=no
16877 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16878 ac_cpp='$CPP $CPPFLAGS'
16879 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16880 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16881 cross_compiling=$ac_cv_prog_cc_cross
16887 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
16889 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
16890 for ac_func in _copysignl
16892 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16893 echo "configure
:16894: checking
for $ac_func" >&5
16894 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16895 echo $ac_n "(cached
) $ac_c" 1>&6
16897 cat > conftest.$ac_ext <<EOF
16898 #line 16899 "configure
"
16899 #include "confdefs.h
"
16900 /* System header to define __stub macros and hopefully few prototypes,
16901 which can conflict with char $ac_func(); below. */
16902 #include <assert.h>
16903 /* Override any gcc2 internal prototype to avoid an error. */
16904 /* We use char because int might match the return type of a gcc2
16905 builtin and then its argument prototype would still apply. */
16910 /* The GNU C library defines this for functions which it implements
16911 to always fail with ENOSYS. Some functions are actually named
16912 something starting with __ and the normal name is an alias. */
16913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16921 if { (eval echo configure:16922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16923 eval "ac_cv_func_
$ac_func=yes"
16925 echo "configure
: failed program was
:" >&5
16926 cat conftest.$ac_ext >&5
16928 eval "ac_cv_func_
$ac_func=no
"
16933 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16934 echo "$ac_t""yes" 1>&6
16935 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16936 cat >> confdefs.h <<EOF
16937 #define $ac_tr_func 1
16941 echo "$ac_t""no
" 1>&6
16950 echo $ac_n "checking
for atan2l declaration
""...
$ac_c" 1>&6
16951 echo "configure
:16952: checking
for atan2l declaration
" >&5
16952 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
16953 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
16954 echo $ac_n "(cached
) $ac_c" 1>&6
16959 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16960 ac_cpp='$CXXCPP $CPPFLAGS'
16961 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16962 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16963 cross_compiling=$ac_cv_prog_cxx_cross
16965 cat > conftest.$ac_ext <<EOF
16966 #line 16967 "configure
"
16967 #include "confdefs.h
"
16973 if { (eval echo configure:16974: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16975 glibcpp_cv_func_atan2l_use=yes
16977 echo "configure
: failed program was
:" >&5
16978 cat conftest.$ac_ext >&5
16980 glibcpp_cv_func_atan2l_use=no
16984 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16985 ac_cpp='$CPP $CPPFLAGS'
16986 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16987 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16988 cross_compiling=$ac_cv_prog_cc_cross
16994 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
16996 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
16997 for ac_func in atan2l
16999 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17000 echo "configure
:17001: checking
for $ac_func" >&5
17001 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17002 echo $ac_n "(cached
) $ac_c" 1>&6
17004 cat > conftest.$ac_ext <<EOF
17005 #line 17006 "configure
"
17006 #include "confdefs.h
"
17007 /* System header to define __stub macros and hopefully few prototypes,
17008 which can conflict with char $ac_func(); below. */
17009 #include <assert.h>
17010 /* Override any gcc2 internal prototype to avoid an error. */
17011 /* We use char because int might match the return type of a gcc2
17012 builtin and then its argument prototype would still apply. */
17017 /* The GNU C library defines this for functions which it implements
17018 to always fail with ENOSYS. Some functions are actually named
17019 something starting with __ and the normal name is an alias. */
17020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17028 if { (eval echo configure:17029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17030 eval "ac_cv_func_
$ac_func=yes"
17032 echo "configure
: failed program was
:" >&5
17033 cat conftest.$ac_ext >&5
17035 eval "ac_cv_func_
$ac_func=no
"
17040 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17041 echo "$ac_t""yes" 1>&6
17042 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17043 cat >> confdefs.h <<EOF
17044 #define $ac_tr_func 1
17048 echo "$ac_t""no
" 1>&6
17054 echo $ac_n "checking
for _atan2l declaration
""...
$ac_c" 1>&6
17055 echo "configure
:17056: checking
for _atan2l declaration
" >&5
17056 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
17057 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
17058 echo $ac_n "(cached
) $ac_c" 1>&6
17063 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17064 ac_cpp='$CXXCPP $CPPFLAGS'
17065 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17066 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17067 cross_compiling=$ac_cv_prog_cxx_cross
17069 cat > conftest.$ac_ext <<EOF
17070 #line 17071 "configure
"
17071 #include "confdefs.h
"
17077 if { (eval echo configure:17078: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17079 glibcpp_cv_func__atan2l_use=yes
17081 echo "configure
: failed program was
:" >&5
17082 cat conftest.$ac_ext >&5
17084 glibcpp_cv_func__atan2l_use=no
17088 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17089 ac_cpp='$CPP $CPPFLAGS'
17090 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17091 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17092 cross_compiling=$ac_cv_prog_cc_cross
17098 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
17100 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
17101 for ac_func in _atan2l
17103 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17104 echo "configure
:17105: checking
for $ac_func" >&5
17105 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17106 echo $ac_n "(cached
) $ac_c" 1>&6
17108 cat > conftest.$ac_ext <<EOF
17109 #line 17110 "configure
"
17110 #include "confdefs.h
"
17111 /* System header to define __stub macros and hopefully few prototypes,
17112 which can conflict with char $ac_func(); below. */
17113 #include <assert.h>
17114 /* Override any gcc2 internal prototype to avoid an error. */
17115 /* We use char because int might match the return type of a gcc2
17116 builtin and then its argument prototype would still apply. */
17121 /* The GNU C library defines this for functions which it implements
17122 to always fail with ENOSYS. Some functions are actually named
17123 something starting with __ and the normal name is an alias. */
17124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17132 if { (eval echo configure:17133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17134 eval "ac_cv_func_
$ac_func=yes"
17136 echo "configure
: failed program was
:" >&5
17137 cat conftest.$ac_ext >&5
17139 eval "ac_cv_func_
$ac_func=no
"
17144 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17145 echo "$ac_t""yes" 1>&6
17146 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17147 cat >> confdefs.h <<EOF
17148 #define $ac_tr_func 1
17152 echo "$ac_t""no
" 1>&6
17161 echo $ac_n "checking
for expl declaration
""...
$ac_c" 1>&6
17162 echo "configure
:17163: checking
for expl declaration
" >&5
17163 if test x${glibcpp_cv_func_expl_use+set} != xset; then
17164 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
17165 echo $ac_n "(cached
) $ac_c" 1>&6
17170 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17171 ac_cpp='$CXXCPP $CPPFLAGS'
17172 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17173 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17174 cross_compiling=$ac_cv_prog_cxx_cross
17176 cat > conftest.$ac_ext <<EOF
17177 #line 17178 "configure
"
17178 #include "confdefs.h
"
17180 #ifdef HAVE_IEEEFP_H
17181 #include <ieeefp.h>
17188 if { (eval echo configure:17189: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17190 glibcpp_cv_func_expl_use=yes
17192 echo "configure
: failed program was
:" >&5
17193 cat conftest.$ac_ext >&5
17195 glibcpp_cv_func_expl_use=no
17199 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17200 ac_cpp='$CPP $CPPFLAGS'
17201 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17202 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17203 cross_compiling=$ac_cv_prog_cc_cross
17209 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
17211 if test x$glibcpp_cv_func_expl_use = x"yes"; then
17212 for ac_func in expl
17214 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17215 echo "configure
:17216: checking
for $ac_func" >&5
17216 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17217 echo $ac_n "(cached
) $ac_c" 1>&6
17219 cat > conftest.$ac_ext <<EOF
17220 #line 17221 "configure
"
17221 #include "confdefs.h
"
17222 /* System header to define __stub macros and hopefully few prototypes,
17223 which can conflict with char $ac_func(); below. */
17224 #include <assert.h>
17225 /* Override any gcc2 internal prototype to avoid an error. */
17226 /* We use char because int might match the return type of a gcc2
17227 builtin and then its argument prototype would still apply. */
17232 /* The GNU C library defines this for functions which it implements
17233 to always fail with ENOSYS. Some functions are actually named
17234 something starting with __ and the normal name is an alias. */
17235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17243 if { (eval echo configure:17244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17245 eval "ac_cv_func_
$ac_func=yes"
17247 echo "configure
: failed program was
:" >&5
17248 cat conftest.$ac_ext >&5
17250 eval "ac_cv_func_
$ac_func=no
"
17255 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17256 echo "$ac_t""yes" 1>&6
17257 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17258 cat >> confdefs.h <<EOF
17259 #define $ac_tr_func 1
17263 echo "$ac_t""no
" 1>&6
17269 echo $ac_n "checking
for _expl declaration
""...
$ac_c" 1>&6
17270 echo "configure
:17271: checking
for _expl declaration
" >&5
17271 if test x${glibcpp_cv_func__expl_use+set} != xset; then
17272 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
17273 echo $ac_n "(cached
) $ac_c" 1>&6
17278 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17279 ac_cpp='$CXXCPP $CPPFLAGS'
17280 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17281 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17282 cross_compiling=$ac_cv_prog_cxx_cross
17284 cat > conftest.$ac_ext <<EOF
17285 #line 17286 "configure
"
17286 #include "confdefs.h
"
17288 #ifdef HAVE_IEEEFP_H
17289 #include <ieeefp.h>
17296 if { (eval echo configure:17297: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17298 glibcpp_cv_func__expl_use=yes
17300 echo "configure
: failed program was
:" >&5
17301 cat conftest.$ac_ext >&5
17303 glibcpp_cv_func__expl_use=no
17307 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17308 ac_cpp='$CPP $CPPFLAGS'
17309 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17310 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17311 cross_compiling=$ac_cv_prog_cc_cross
17317 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
17319 if test x$glibcpp_cv_func__expl_use = x"yes"; then
17320 for ac_func in _expl
17322 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17323 echo "configure
:17324: checking
for $ac_func" >&5
17324 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17325 echo $ac_n "(cached
) $ac_c" 1>&6
17327 cat > conftest.$ac_ext <<EOF
17328 #line 17329 "configure
"
17329 #include "confdefs.h
"
17330 /* System header to define __stub macros and hopefully few prototypes,
17331 which can conflict with char $ac_func(); below. */
17332 #include <assert.h>
17333 /* Override any gcc2 internal prototype to avoid an error. */
17334 /* We use char because int might match the return type of a gcc2
17335 builtin and then its argument prototype would still apply. */
17340 /* The GNU C library defines this for functions which it implements
17341 to always fail with ENOSYS. Some functions are actually named
17342 something starting with __ and the normal name is an alias. */
17343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17351 if { (eval echo configure:17352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17353 eval "ac_cv_func_
$ac_func=yes"
17355 echo "configure
: failed program was
:" >&5
17356 cat conftest.$ac_ext >&5
17358 eval "ac_cv_func_
$ac_func=no
"
17363 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17364 echo "$ac_t""yes" 1>&6
17365 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17366 cat >> confdefs.h <<EOF
17367 #define $ac_tr_func 1
17371 echo "$ac_t""no
" 1>&6
17380 echo $ac_n "checking
for fabsl declaration
""...
$ac_c" 1>&6
17381 echo "configure
:17382: checking
for fabsl declaration
" >&5
17382 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
17383 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
17384 echo $ac_n "(cached
) $ac_c" 1>&6
17389 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17390 ac_cpp='$CXXCPP $CPPFLAGS'
17391 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17392 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17393 cross_compiling=$ac_cv_prog_cxx_cross
17395 cat > conftest.$ac_ext <<EOF
17396 #line 17397 "configure
"
17397 #include "confdefs.h
"
17399 #ifdef HAVE_IEEEFP_H
17400 #include <ieeefp.h>
17407 if { (eval echo configure:17408: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17409 glibcpp_cv_func_fabsl_use=yes
17411 echo "configure
: failed program was
:" >&5
17412 cat conftest.$ac_ext >&5
17414 glibcpp_cv_func_fabsl_use=no
17418 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17419 ac_cpp='$CPP $CPPFLAGS'
17420 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17421 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17422 cross_compiling=$ac_cv_prog_cc_cross
17428 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
17430 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
17431 for ac_func in fabsl
17433 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17434 echo "configure
:17435: checking
for $ac_func" >&5
17435 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17436 echo $ac_n "(cached
) $ac_c" 1>&6
17438 cat > conftest.$ac_ext <<EOF
17439 #line 17440 "configure
"
17440 #include "confdefs.h
"
17441 /* System header to define __stub macros and hopefully few prototypes,
17442 which can conflict with char $ac_func(); below. */
17443 #include <assert.h>
17444 /* Override any gcc2 internal prototype to avoid an error. */
17445 /* We use char because int might match the return type of a gcc2
17446 builtin and then its argument prototype would still apply. */
17451 /* The GNU C library defines this for functions which it implements
17452 to always fail with ENOSYS. Some functions are actually named
17453 something starting with __ and the normal name is an alias. */
17454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17462 if { (eval echo configure:17463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17464 eval "ac_cv_func_
$ac_func=yes"
17466 echo "configure
: failed program was
:" >&5
17467 cat conftest.$ac_ext >&5
17469 eval "ac_cv_func_
$ac_func=no
"
17474 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17475 echo "$ac_t""yes" 1>&6
17476 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17477 cat >> confdefs.h <<EOF
17478 #define $ac_tr_func 1
17482 echo "$ac_t""no
" 1>&6
17488 echo $ac_n "checking
for _fabsl declaration
""...
$ac_c" 1>&6
17489 echo "configure
:17490: checking
for _fabsl declaration
" >&5
17490 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
17491 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
17492 echo $ac_n "(cached
) $ac_c" 1>&6
17497 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17498 ac_cpp='$CXXCPP $CPPFLAGS'
17499 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17500 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17501 cross_compiling=$ac_cv_prog_cxx_cross
17503 cat > conftest.$ac_ext <<EOF
17504 #line 17505 "configure
"
17505 #include "confdefs.h
"
17507 #ifdef HAVE_IEEEFP_H
17508 #include <ieeefp.h>
17515 if { (eval echo configure:17516: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17517 glibcpp_cv_func__fabsl_use=yes
17519 echo "configure
: failed program was
:" >&5
17520 cat conftest.$ac_ext >&5
17522 glibcpp_cv_func__fabsl_use=no
17526 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17527 ac_cpp='$CPP $CPPFLAGS'
17528 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17529 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17530 cross_compiling=$ac_cv_prog_cc_cross
17536 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
17538 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
17539 for ac_func in _fabsl
17541 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17542 echo "configure
:17543: checking
for $ac_func" >&5
17543 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17544 echo $ac_n "(cached
) $ac_c" 1>&6
17546 cat > conftest.$ac_ext <<EOF
17547 #line 17548 "configure
"
17548 #include "confdefs.h
"
17549 /* System header to define __stub macros and hopefully few prototypes,
17550 which can conflict with char $ac_func(); below. */
17551 #include <assert.h>
17552 /* Override any gcc2 internal prototype to avoid an error. */
17553 /* We use char because int might match the return type of a gcc2
17554 builtin and then its argument prototype would still apply. */
17559 /* The GNU C library defines this for functions which it implements
17560 to always fail with ENOSYS. Some functions are actually named
17561 something starting with __ and the normal name is an alias. */
17562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17570 if { (eval echo configure:17571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17572 eval "ac_cv_func_
$ac_func=yes"
17574 echo "configure
: failed program was
:" >&5
17575 cat conftest.$ac_ext >&5
17577 eval "ac_cv_func_
$ac_func=no
"
17582 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17583 echo "$ac_t""yes" 1>&6
17584 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17585 cat >> confdefs.h <<EOF
17586 #define $ac_tr_func 1
17590 echo "$ac_t""no
" 1>&6
17599 echo $ac_n "checking
for fmodl declaration
""...
$ac_c" 1>&6
17600 echo "configure
:17601: checking
for fmodl declaration
" >&5
17601 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
17602 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
17603 echo $ac_n "(cached
) $ac_c" 1>&6
17608 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17609 ac_cpp='$CXXCPP $CPPFLAGS'
17610 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17611 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17612 cross_compiling=$ac_cv_prog_cxx_cross
17614 cat > conftest.$ac_ext <<EOF
17615 #line 17616 "configure
"
17616 #include "confdefs.h
"
17622 if { (eval echo configure:17623: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17624 glibcpp_cv_func_fmodl_use=yes
17626 echo "configure
: failed program was
:" >&5
17627 cat conftest.$ac_ext >&5
17629 glibcpp_cv_func_fmodl_use=no
17633 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17634 ac_cpp='$CPP $CPPFLAGS'
17635 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17636 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17637 cross_compiling=$ac_cv_prog_cc_cross
17643 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
17645 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
17646 for ac_func in fmodl
17648 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17649 echo "configure
:17650: checking
for $ac_func" >&5
17650 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17651 echo $ac_n "(cached
) $ac_c" 1>&6
17653 cat > conftest.$ac_ext <<EOF
17654 #line 17655 "configure
"
17655 #include "confdefs.h
"
17656 /* System header to define __stub macros and hopefully few prototypes,
17657 which can conflict with char $ac_func(); below. */
17658 #include <assert.h>
17659 /* Override any gcc2 internal prototype to avoid an error. */
17660 /* We use char because int might match the return type of a gcc2
17661 builtin and then its argument prototype would still apply. */
17666 /* The GNU C library defines this for functions which it implements
17667 to always fail with ENOSYS. Some functions are actually named
17668 something starting with __ and the normal name is an alias. */
17669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17677 if { (eval echo configure:17678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17679 eval "ac_cv_func_
$ac_func=yes"
17681 echo "configure
: failed program was
:" >&5
17682 cat conftest.$ac_ext >&5
17684 eval "ac_cv_func_
$ac_func=no
"
17689 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17690 echo "$ac_t""yes" 1>&6
17691 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17692 cat >> confdefs.h <<EOF
17693 #define $ac_tr_func 1
17697 echo "$ac_t""no
" 1>&6
17703 echo $ac_n "checking
for _fmodl declaration
""...
$ac_c" 1>&6
17704 echo "configure
:17705: checking
for _fmodl declaration
" >&5
17705 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
17706 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
17707 echo $ac_n "(cached
) $ac_c" 1>&6
17712 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17713 ac_cpp='$CXXCPP $CPPFLAGS'
17714 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17715 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17716 cross_compiling=$ac_cv_prog_cxx_cross
17718 cat > conftest.$ac_ext <<EOF
17719 #line 17720 "configure
"
17720 #include "confdefs.h
"
17726 if { (eval echo configure:17727: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17728 glibcpp_cv_func__fmodl_use=yes
17730 echo "configure
: failed program was
:" >&5
17731 cat conftest.$ac_ext >&5
17733 glibcpp_cv_func__fmodl_use=no
17737 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17738 ac_cpp='$CPP $CPPFLAGS'
17739 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17740 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17741 cross_compiling=$ac_cv_prog_cc_cross
17747 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
17749 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
17750 for ac_func in _fmodl
17752 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17753 echo "configure
:17754: checking
for $ac_func" >&5
17754 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17755 echo $ac_n "(cached
) $ac_c" 1>&6
17757 cat > conftest.$ac_ext <<EOF
17758 #line 17759 "configure
"
17759 #include "confdefs.h
"
17760 /* System header to define __stub macros and hopefully few prototypes,
17761 which can conflict with char $ac_func(); below. */
17762 #include <assert.h>
17763 /* Override any gcc2 internal prototype to avoid an error. */
17764 /* We use char because int might match the return type of a gcc2
17765 builtin and then its argument prototype would still apply. */
17770 /* The GNU C library defines this for functions which it implements
17771 to always fail with ENOSYS. Some functions are actually named
17772 something starting with __ and the normal name is an alias. */
17773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17781 if { (eval echo configure:17782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17783 eval "ac_cv_func_
$ac_func=yes"
17785 echo "configure
: failed program was
:" >&5
17786 cat conftest.$ac_ext >&5
17788 eval "ac_cv_func_
$ac_func=no
"
17793 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17794 echo "$ac_t""yes" 1>&6
17795 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17796 cat >> confdefs.h <<EOF
17797 #define $ac_tr_func 1
17801 echo "$ac_t""no
" 1>&6
17810 echo $ac_n "checking
for frexpl declaration
""...
$ac_c" 1>&6
17811 echo "configure
:17812: checking
for frexpl declaration
" >&5
17812 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
17813 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
17814 echo $ac_n "(cached
) $ac_c" 1>&6
17819 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17820 ac_cpp='$CXXCPP $CPPFLAGS'
17821 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17822 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17823 cross_compiling=$ac_cv_prog_cxx_cross
17825 cat > conftest.$ac_ext <<EOF
17826 #line 17827 "configure
"
17827 #include "confdefs.h
"
17833 if { (eval echo configure:17834: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17835 glibcpp_cv_func_frexpl_use=yes
17837 echo "configure
: failed program was
:" >&5
17838 cat conftest.$ac_ext >&5
17840 glibcpp_cv_func_frexpl_use=no
17844 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17845 ac_cpp='$CPP $CPPFLAGS'
17846 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17847 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17848 cross_compiling=$ac_cv_prog_cc_cross
17854 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
17856 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
17857 for ac_func in frexpl
17859 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17860 echo "configure
:17861: checking
for $ac_func" >&5
17861 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17862 echo $ac_n "(cached
) $ac_c" 1>&6
17864 cat > conftest.$ac_ext <<EOF
17865 #line 17866 "configure
"
17866 #include "confdefs.h
"
17867 /* System header to define __stub macros and hopefully few prototypes,
17868 which can conflict with char $ac_func(); below. */
17869 #include <assert.h>
17870 /* Override any gcc2 internal prototype to avoid an error. */
17871 /* We use char because int might match the return type of a gcc2
17872 builtin and then its argument prototype would still apply. */
17877 /* The GNU C library defines this for functions which it implements
17878 to always fail with ENOSYS. Some functions are actually named
17879 something starting with __ and the normal name is an alias. */
17880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17888 if { (eval echo configure:17889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17890 eval "ac_cv_func_
$ac_func=yes"
17892 echo "configure
: failed program was
:" >&5
17893 cat conftest.$ac_ext >&5
17895 eval "ac_cv_func_
$ac_func=no
"
17900 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17901 echo "$ac_t""yes" 1>&6
17902 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17903 cat >> confdefs.h <<EOF
17904 #define $ac_tr_func 1
17908 echo "$ac_t""no
" 1>&6
17914 echo $ac_n "checking
for _frexpl declaration
""...
$ac_c" 1>&6
17915 echo "configure
:17916: checking
for _frexpl declaration
" >&5
17916 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
17917 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
17918 echo $ac_n "(cached
) $ac_c" 1>&6
17923 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17924 ac_cpp='$CXXCPP $CPPFLAGS'
17925 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17926 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17927 cross_compiling=$ac_cv_prog_cxx_cross
17929 cat > conftest.$ac_ext <<EOF
17930 #line 17931 "configure
"
17931 #include "confdefs.h
"
17937 if { (eval echo configure:17938: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17939 glibcpp_cv_func__frexpl_use=yes
17941 echo "configure
: failed program was
:" >&5
17942 cat conftest.$ac_ext >&5
17944 glibcpp_cv_func__frexpl_use=no
17948 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17949 ac_cpp='$CPP $CPPFLAGS'
17950 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17951 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17952 cross_compiling=$ac_cv_prog_cc_cross
17958 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
17960 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
17961 for ac_func in _frexpl
17963 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17964 echo "configure
:17965: checking
for $ac_func" >&5
17965 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17966 echo $ac_n "(cached
) $ac_c" 1>&6
17968 cat > conftest.$ac_ext <<EOF
17969 #line 17970 "configure
"
17970 #include "confdefs.h
"
17971 /* System header to define __stub macros and hopefully few prototypes,
17972 which can conflict with char $ac_func(); below. */
17973 #include <assert.h>
17974 /* Override any gcc2 internal prototype to avoid an error. */
17975 /* We use char because int might match the return type of a gcc2
17976 builtin and then its argument prototype would still apply. */
17981 /* The GNU C library defines this for functions which it implements
17982 to always fail with ENOSYS. Some functions are actually named
17983 something starting with __ and the normal name is an alias. */
17984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17992 if { (eval echo configure:17993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17994 eval "ac_cv_func_
$ac_func=yes"
17996 echo "configure
: failed program was
:" >&5
17997 cat conftest.$ac_ext >&5
17999 eval "ac_cv_func_
$ac_func=no
"
18004 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18005 echo "$ac_t""yes" 1>&6
18006 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18007 cat >> confdefs.h <<EOF
18008 #define $ac_tr_func 1
18012 echo "$ac_t""no
" 1>&6
18021 echo $ac_n "checking
for hypotl declaration
""...
$ac_c" 1>&6
18022 echo "configure
:18023: checking
for hypotl declaration
" >&5
18023 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
18024 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
18025 echo $ac_n "(cached
) $ac_c" 1>&6
18030 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18031 ac_cpp='$CXXCPP $CPPFLAGS'
18032 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18033 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18034 cross_compiling=$ac_cv_prog_cxx_cross
18036 cat > conftest.$ac_ext <<EOF
18037 #line 18038 "configure
"
18038 #include "confdefs.h
"
18044 if { (eval echo configure:18045: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18046 glibcpp_cv_func_hypotl_use=yes
18048 echo "configure
: failed program was
:" >&5
18049 cat conftest.$ac_ext >&5
18051 glibcpp_cv_func_hypotl_use=no
18055 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18056 ac_cpp='$CPP $CPPFLAGS'
18057 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18058 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18059 cross_compiling=$ac_cv_prog_cc_cross
18065 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
18067 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
18068 for ac_func in hypotl
18070 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18071 echo "configure
:18072: checking
for $ac_func" >&5
18072 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18073 echo $ac_n "(cached
) $ac_c" 1>&6
18075 cat > conftest.$ac_ext <<EOF
18076 #line 18077 "configure
"
18077 #include "confdefs.h
"
18078 /* System header to define __stub macros and hopefully few prototypes,
18079 which can conflict with char $ac_func(); below. */
18080 #include <assert.h>
18081 /* Override any gcc2 internal prototype to avoid an error. */
18082 /* We use char because int might match the return type of a gcc2
18083 builtin and then its argument prototype would still apply. */
18088 /* The GNU C library defines this for functions which it implements
18089 to always fail with ENOSYS. Some functions are actually named
18090 something starting with __ and the normal name is an alias. */
18091 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18099 if { (eval echo configure:18100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18101 eval "ac_cv_func_
$ac_func=yes"
18103 echo "configure
: failed program was
:" >&5
18104 cat conftest.$ac_ext >&5
18106 eval "ac_cv_func_
$ac_func=no
"
18111 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18112 echo "$ac_t""yes" 1>&6
18113 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18114 cat >> confdefs.h <<EOF
18115 #define $ac_tr_func 1
18119 echo "$ac_t""no
" 1>&6
18125 echo $ac_n "checking
for _hypotl declaration
""...
$ac_c" 1>&6
18126 echo "configure
:18127: checking
for _hypotl declaration
" >&5
18127 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
18128 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
18129 echo $ac_n "(cached
) $ac_c" 1>&6
18134 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18135 ac_cpp='$CXXCPP $CPPFLAGS'
18136 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18137 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18138 cross_compiling=$ac_cv_prog_cxx_cross
18140 cat > conftest.$ac_ext <<EOF
18141 #line 18142 "configure
"
18142 #include "confdefs.h
"
18148 if { (eval echo configure:18149: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18150 glibcpp_cv_func__hypotl_use=yes
18152 echo "configure
: failed program was
:" >&5
18153 cat conftest.$ac_ext >&5
18155 glibcpp_cv_func__hypotl_use=no
18159 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18160 ac_cpp='$CPP $CPPFLAGS'
18161 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18162 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18163 cross_compiling=$ac_cv_prog_cc_cross
18169 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
18171 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
18172 for ac_func in _hypotl
18174 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18175 echo "configure
:18176: checking
for $ac_func" >&5
18176 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18177 echo $ac_n "(cached
) $ac_c" 1>&6
18179 cat > conftest.$ac_ext <<EOF
18180 #line 18181 "configure
"
18181 #include "confdefs.h
"
18182 /* System header to define __stub macros and hopefully few prototypes,
18183 which can conflict with char $ac_func(); below. */
18184 #include <assert.h>
18185 /* Override any gcc2 internal prototype to avoid an error. */
18186 /* We use char because int might match the return type of a gcc2
18187 builtin and then its argument prototype would still apply. */
18192 /* The GNU C library defines this for functions which it implements
18193 to always fail with ENOSYS. Some functions are actually named
18194 something starting with __ and the normal name is an alias. */
18195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18203 if { (eval echo configure:18204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18205 eval "ac_cv_func_
$ac_func=yes"
18207 echo "configure
: failed program was
:" >&5
18208 cat conftest.$ac_ext >&5
18210 eval "ac_cv_func_
$ac_func=no
"
18215 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18216 echo "$ac_t""yes" 1>&6
18217 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18218 cat >> confdefs.h <<EOF
18219 #define $ac_tr_func 1
18223 echo "$ac_t""no
" 1>&6
18232 echo $ac_n "checking
for ldexpl declaration
""...
$ac_c" 1>&6
18233 echo "configure
:18234: checking
for ldexpl declaration
" >&5
18234 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
18235 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
18236 echo $ac_n "(cached
) $ac_c" 1>&6
18241 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18242 ac_cpp='$CXXCPP $CPPFLAGS'
18243 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18244 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18245 cross_compiling=$ac_cv_prog_cxx_cross
18247 cat > conftest.$ac_ext <<EOF
18248 #line 18249 "configure
"
18249 #include "confdefs.h
"
18255 if { (eval echo configure:18256: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18257 glibcpp_cv_func_ldexpl_use=yes
18259 echo "configure
: failed program was
:" >&5
18260 cat conftest.$ac_ext >&5
18262 glibcpp_cv_func_ldexpl_use=no
18266 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18267 ac_cpp='$CPP $CPPFLAGS'
18268 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18269 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18270 cross_compiling=$ac_cv_prog_cc_cross
18276 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
18278 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
18279 for ac_func in ldexpl
18281 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18282 echo "configure
:18283: checking
for $ac_func" >&5
18283 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18284 echo $ac_n "(cached
) $ac_c" 1>&6
18286 cat > conftest.$ac_ext <<EOF
18287 #line 18288 "configure
"
18288 #include "confdefs.h
"
18289 /* System header to define __stub macros and hopefully few prototypes,
18290 which can conflict with char $ac_func(); below. */
18291 #include <assert.h>
18292 /* Override any gcc2 internal prototype to avoid an error. */
18293 /* We use char because int might match the return type of a gcc2
18294 builtin and then its argument prototype would still apply. */
18299 /* The GNU C library defines this for functions which it implements
18300 to always fail with ENOSYS. Some functions are actually named
18301 something starting with __ and the normal name is an alias. */
18302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18310 if { (eval echo configure:18311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18312 eval "ac_cv_func_
$ac_func=yes"
18314 echo "configure
: failed program was
:" >&5
18315 cat conftest.$ac_ext >&5
18317 eval "ac_cv_func_
$ac_func=no
"
18322 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18323 echo "$ac_t""yes" 1>&6
18324 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18325 cat >> confdefs.h <<EOF
18326 #define $ac_tr_func 1
18330 echo "$ac_t""no
" 1>&6
18336 echo $ac_n "checking
for _ldexpl declaration
""...
$ac_c" 1>&6
18337 echo "configure
:18338: checking
for _ldexpl declaration
" >&5
18338 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
18339 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
18340 echo $ac_n "(cached
) $ac_c" 1>&6
18345 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18346 ac_cpp='$CXXCPP $CPPFLAGS'
18347 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18348 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18349 cross_compiling=$ac_cv_prog_cxx_cross
18351 cat > conftest.$ac_ext <<EOF
18352 #line 18353 "configure
"
18353 #include "confdefs.h
"
18359 if { (eval echo configure:18360: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18361 glibcpp_cv_func__ldexpl_use=yes
18363 echo "configure
: failed program was
:" >&5
18364 cat conftest.$ac_ext >&5
18366 glibcpp_cv_func__ldexpl_use=no
18370 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18371 ac_cpp='$CPP $CPPFLAGS'
18372 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18373 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18374 cross_compiling=$ac_cv_prog_cc_cross
18380 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
18382 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
18383 for ac_func in _ldexpl
18385 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18386 echo "configure
:18387: checking
for $ac_func" >&5
18387 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18388 echo $ac_n "(cached
) $ac_c" 1>&6
18390 cat > conftest.$ac_ext <<EOF
18391 #line 18392 "configure
"
18392 #include "confdefs.h
"
18393 /* System header to define __stub macros and hopefully few prototypes,
18394 which can conflict with char $ac_func(); below. */
18395 #include <assert.h>
18396 /* Override any gcc2 internal prototype to avoid an error. */
18397 /* We use char because int might match the return type of a gcc2
18398 builtin and then its argument prototype would still apply. */
18403 /* The GNU C library defines this for functions which it implements
18404 to always fail with ENOSYS. Some functions are actually named
18405 something starting with __ and the normal name is an alias. */
18406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18414 if { (eval echo configure:18415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18416 eval "ac_cv_func_
$ac_func=yes"
18418 echo "configure
: failed program was
:" >&5
18419 cat conftest.$ac_ext >&5
18421 eval "ac_cv_func_
$ac_func=no
"
18426 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18427 echo "$ac_t""yes" 1>&6
18428 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18429 cat >> confdefs.h <<EOF
18430 #define $ac_tr_func 1
18434 echo "$ac_t""no
" 1>&6
18443 echo $ac_n "checking
for logl declaration
""...
$ac_c" 1>&6
18444 echo "configure
:18445: checking
for logl declaration
" >&5
18445 if test x${glibcpp_cv_func_logl_use+set} != xset; then
18446 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
18447 echo $ac_n "(cached
) $ac_c" 1>&6
18452 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18453 ac_cpp='$CXXCPP $CPPFLAGS'
18454 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18455 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18456 cross_compiling=$ac_cv_prog_cxx_cross
18458 cat > conftest.$ac_ext <<EOF
18459 #line 18460 "configure
"
18460 #include "confdefs.h
"
18462 #ifdef HAVE_IEEEFP_H
18463 #include <ieeefp.h>
18470 if { (eval echo configure:18471: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18472 glibcpp_cv_func_logl_use=yes
18474 echo "configure
: failed program was
:" >&5
18475 cat conftest.$ac_ext >&5
18477 glibcpp_cv_func_logl_use=no
18481 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18482 ac_cpp='$CPP $CPPFLAGS'
18483 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18484 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18485 cross_compiling=$ac_cv_prog_cc_cross
18491 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
18493 if test x$glibcpp_cv_func_logl_use = x"yes"; then
18494 for ac_func in logl
18496 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18497 echo "configure
:18498: checking
for $ac_func" >&5
18498 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18499 echo $ac_n "(cached
) $ac_c" 1>&6
18501 cat > conftest.$ac_ext <<EOF
18502 #line 18503 "configure
"
18503 #include "confdefs.h
"
18504 /* System header to define __stub macros and hopefully few prototypes,
18505 which can conflict with char $ac_func(); below. */
18506 #include <assert.h>
18507 /* Override any gcc2 internal prototype to avoid an error. */
18508 /* We use char because int might match the return type of a gcc2
18509 builtin and then its argument prototype would still apply. */
18514 /* The GNU C library defines this for functions which it implements
18515 to always fail with ENOSYS. Some functions are actually named
18516 something starting with __ and the normal name is an alias. */
18517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18525 if { (eval echo configure:18526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18527 eval "ac_cv_func_
$ac_func=yes"
18529 echo "configure
: failed program was
:" >&5
18530 cat conftest.$ac_ext >&5
18532 eval "ac_cv_func_
$ac_func=no
"
18537 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18538 echo "$ac_t""yes" 1>&6
18539 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18540 cat >> confdefs.h <<EOF
18541 #define $ac_tr_func 1
18545 echo "$ac_t""no
" 1>&6
18551 echo $ac_n "checking
for _logl declaration
""...
$ac_c" 1>&6
18552 echo "configure
:18553: checking
for _logl declaration
" >&5
18553 if test x${glibcpp_cv_func__logl_use+set} != xset; then
18554 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
18555 echo $ac_n "(cached
) $ac_c" 1>&6
18560 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18561 ac_cpp='$CXXCPP $CPPFLAGS'
18562 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18563 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18564 cross_compiling=$ac_cv_prog_cxx_cross
18566 cat > conftest.$ac_ext <<EOF
18567 #line 18568 "configure
"
18568 #include "confdefs.h
"
18570 #ifdef HAVE_IEEEFP_H
18571 #include <ieeefp.h>
18578 if { (eval echo configure:18579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18580 glibcpp_cv_func__logl_use=yes
18582 echo "configure
: failed program was
:" >&5
18583 cat conftest.$ac_ext >&5
18585 glibcpp_cv_func__logl_use=no
18589 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18590 ac_cpp='$CPP $CPPFLAGS'
18591 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18592 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18593 cross_compiling=$ac_cv_prog_cc_cross
18599 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
18601 if test x$glibcpp_cv_func__logl_use = x"yes"; then
18602 for ac_func in _logl
18604 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18605 echo "configure
:18606: checking
for $ac_func" >&5
18606 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18607 echo $ac_n "(cached
) $ac_c" 1>&6
18609 cat > conftest.$ac_ext <<EOF
18610 #line 18611 "configure
"
18611 #include "confdefs.h
"
18612 /* System header to define __stub macros and hopefully few prototypes,
18613 which can conflict with char $ac_func(); below. */
18614 #include <assert.h>
18615 /* Override any gcc2 internal prototype to avoid an error. */
18616 /* We use char because int might match the return type of a gcc2
18617 builtin and then its argument prototype would still apply. */
18622 /* The GNU C library defines this for functions which it implements
18623 to always fail with ENOSYS. Some functions are actually named
18624 something starting with __ and the normal name is an alias. */
18625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18633 if { (eval echo configure:18634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18635 eval "ac_cv_func_
$ac_func=yes"
18637 echo "configure
: failed program was
:" >&5
18638 cat conftest.$ac_ext >&5
18640 eval "ac_cv_func_
$ac_func=no
"
18645 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18646 echo "$ac_t""yes" 1>&6
18647 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18648 cat >> confdefs.h <<EOF
18649 #define $ac_tr_func 1
18653 echo "$ac_t""no
" 1>&6
18662 echo $ac_n "checking
for log10l declaration
""...
$ac_c" 1>&6
18663 echo "configure
:18664: checking
for log10l declaration
" >&5
18664 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
18665 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
18666 echo $ac_n "(cached
) $ac_c" 1>&6
18671 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18672 ac_cpp='$CXXCPP $CPPFLAGS'
18673 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18674 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18675 cross_compiling=$ac_cv_prog_cxx_cross
18677 cat > conftest.$ac_ext <<EOF
18678 #line 18679 "configure
"
18679 #include "confdefs.h
"
18681 #ifdef HAVE_IEEEFP_H
18682 #include <ieeefp.h>
18689 if { (eval echo configure:18690: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18691 glibcpp_cv_func_log10l_use=yes
18693 echo "configure
: failed program was
:" >&5
18694 cat conftest.$ac_ext >&5
18696 glibcpp_cv_func_log10l_use=no
18700 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18701 ac_cpp='$CPP $CPPFLAGS'
18702 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18703 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18704 cross_compiling=$ac_cv_prog_cc_cross
18710 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
18712 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
18713 for ac_func in log10l
18715 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18716 echo "configure
:18717: checking
for $ac_func" >&5
18717 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18718 echo $ac_n "(cached
) $ac_c" 1>&6
18720 cat > conftest.$ac_ext <<EOF
18721 #line 18722 "configure
"
18722 #include "confdefs.h
"
18723 /* System header to define __stub macros and hopefully few prototypes,
18724 which can conflict with char $ac_func(); below. */
18725 #include <assert.h>
18726 /* Override any gcc2 internal prototype to avoid an error. */
18727 /* We use char because int might match the return type of a gcc2
18728 builtin and then its argument prototype would still apply. */
18733 /* The GNU C library defines this for functions which it implements
18734 to always fail with ENOSYS. Some functions are actually named
18735 something starting with __ and the normal name is an alias. */
18736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18744 if { (eval echo configure:18745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18746 eval "ac_cv_func_
$ac_func=yes"
18748 echo "configure
: failed program was
:" >&5
18749 cat conftest.$ac_ext >&5
18751 eval "ac_cv_func_
$ac_func=no
"
18756 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18757 echo "$ac_t""yes" 1>&6
18758 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18759 cat >> confdefs.h <<EOF
18760 #define $ac_tr_func 1
18764 echo "$ac_t""no
" 1>&6
18770 echo $ac_n "checking
for _log10l declaration
""...
$ac_c" 1>&6
18771 echo "configure
:18772: checking
for _log10l declaration
" >&5
18772 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
18773 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
18774 echo $ac_n "(cached
) $ac_c" 1>&6
18779 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18780 ac_cpp='$CXXCPP $CPPFLAGS'
18781 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18782 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18783 cross_compiling=$ac_cv_prog_cxx_cross
18785 cat > conftest.$ac_ext <<EOF
18786 #line 18787 "configure
"
18787 #include "confdefs.h
"
18789 #ifdef HAVE_IEEEFP_H
18790 #include <ieeefp.h>
18797 if { (eval echo configure:18798: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18799 glibcpp_cv_func__log10l_use=yes
18801 echo "configure
: failed program was
:" >&5
18802 cat conftest.$ac_ext >&5
18804 glibcpp_cv_func__log10l_use=no
18808 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18809 ac_cpp='$CPP $CPPFLAGS'
18810 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18811 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18812 cross_compiling=$ac_cv_prog_cc_cross
18818 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
18820 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
18821 for ac_func in _log10l
18823 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18824 echo "configure
:18825: checking
for $ac_func" >&5
18825 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18826 echo $ac_n "(cached
) $ac_c" 1>&6
18828 cat > conftest.$ac_ext <<EOF
18829 #line 18830 "configure
"
18830 #include "confdefs.h
"
18831 /* System header to define __stub macros and hopefully few prototypes,
18832 which can conflict with char $ac_func(); below. */
18833 #include <assert.h>
18834 /* Override any gcc2 internal prototype to avoid an error. */
18835 /* We use char because int might match the return type of a gcc2
18836 builtin and then its argument prototype would still apply. */
18841 /* The GNU C library defines this for functions which it implements
18842 to always fail with ENOSYS. Some functions are actually named
18843 something starting with __ and the normal name is an alias. */
18844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18852 if { (eval echo configure:18853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18854 eval "ac_cv_func_
$ac_func=yes"
18856 echo "configure
: failed program was
:" >&5
18857 cat conftest.$ac_ext >&5
18859 eval "ac_cv_func_
$ac_func=no
"
18864 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18865 echo "$ac_t""yes" 1>&6
18866 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18867 cat >> confdefs.h <<EOF
18868 #define $ac_tr_func 1
18872 echo "$ac_t""no
" 1>&6
18881 echo $ac_n "checking
for modfl declaration
""...
$ac_c" 1>&6
18882 echo "configure
:18883: checking
for modfl declaration
" >&5
18883 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
18884 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
18885 echo $ac_n "(cached
) $ac_c" 1>&6
18890 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18891 ac_cpp='$CXXCPP $CPPFLAGS'
18892 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18893 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18894 cross_compiling=$ac_cv_prog_cxx_cross
18896 cat > conftest.$ac_ext <<EOF
18897 #line 18898 "configure
"
18898 #include "confdefs.h
"
18904 if { (eval echo configure:18905: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18906 glibcpp_cv_func_modfl_use=yes
18908 echo "configure
: failed program was
:" >&5
18909 cat conftest.$ac_ext >&5
18911 glibcpp_cv_func_modfl_use=no
18915 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18916 ac_cpp='$CPP $CPPFLAGS'
18917 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18918 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18919 cross_compiling=$ac_cv_prog_cc_cross
18925 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
18927 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
18928 for ac_func in modfl
18930 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18931 echo "configure
:18932: checking
for $ac_func" >&5
18932 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18933 echo $ac_n "(cached
) $ac_c" 1>&6
18935 cat > conftest.$ac_ext <<EOF
18936 #line 18937 "configure
"
18937 #include "confdefs.h
"
18938 /* System header to define __stub macros and hopefully few prototypes,
18939 which can conflict with char $ac_func(); below. */
18940 #include <assert.h>
18941 /* Override any gcc2 internal prototype to avoid an error. */
18942 /* We use char because int might match the return type of a gcc2
18943 builtin and then its argument prototype would still apply. */
18948 /* The GNU C library defines this for functions which it implements
18949 to always fail with ENOSYS. Some functions are actually named
18950 something starting with __ and the normal name is an alias. */
18951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18959 if { (eval echo configure:18960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18961 eval "ac_cv_func_
$ac_func=yes"
18963 echo "configure
: failed program was
:" >&5
18964 cat conftest.$ac_ext >&5
18966 eval "ac_cv_func_
$ac_func=no
"
18971 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18972 echo "$ac_t""yes" 1>&6
18973 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18974 cat >> confdefs.h <<EOF
18975 #define $ac_tr_func 1
18979 echo "$ac_t""no
" 1>&6
18985 echo $ac_n "checking
for _modfl declaration
""...
$ac_c" 1>&6
18986 echo "configure
:18987: checking
for _modfl declaration
" >&5
18987 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
18988 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
18989 echo $ac_n "(cached
) $ac_c" 1>&6
18994 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18995 ac_cpp='$CXXCPP $CPPFLAGS'
18996 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18997 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18998 cross_compiling=$ac_cv_prog_cxx_cross
19000 cat > conftest.$ac_ext <<EOF
19001 #line 19002 "configure
"
19002 #include "confdefs.h
"
19008 if { (eval echo configure:19009: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19010 glibcpp_cv_func__modfl_use=yes
19012 echo "configure
: failed program was
:" >&5
19013 cat conftest.$ac_ext >&5
19015 glibcpp_cv_func__modfl_use=no
19019 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19020 ac_cpp='$CPP $CPPFLAGS'
19021 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19022 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19023 cross_compiling=$ac_cv_prog_cc_cross
19029 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
19031 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
19032 for ac_func in _modfl
19034 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19035 echo "configure
:19036: checking
for $ac_func" >&5
19036 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19037 echo $ac_n "(cached
) $ac_c" 1>&6
19039 cat > conftest.$ac_ext <<EOF
19040 #line 19041 "configure
"
19041 #include "confdefs.h
"
19042 /* System header to define __stub macros and hopefully few prototypes,
19043 which can conflict with char $ac_func(); below. */
19044 #include <assert.h>
19045 /* Override any gcc2 internal prototype to avoid an error. */
19046 /* We use char because int might match the return type of a gcc2
19047 builtin and then its argument prototype would still apply. */
19052 /* The GNU C library defines this for functions which it implements
19053 to always fail with ENOSYS. Some functions are actually named
19054 something starting with __ and the normal name is an alias. */
19055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19063 if { (eval echo configure:19064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19065 eval "ac_cv_func_
$ac_func=yes"
19067 echo "configure
: failed program was
:" >&5
19068 cat conftest.$ac_ext >&5
19070 eval "ac_cv_func_
$ac_func=no
"
19075 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19076 echo "$ac_t""yes" 1>&6
19077 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19078 cat >> confdefs.h <<EOF
19079 #define $ac_tr_func 1
19083 echo "$ac_t""no
" 1>&6
19092 echo $ac_n "checking
for powl declaration
""...
$ac_c" 1>&6
19093 echo "configure
:19094: checking
for powl declaration
" >&5
19094 if test x${glibcpp_cv_func_powl_use+set} != xset; then
19095 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
19096 echo $ac_n "(cached
) $ac_c" 1>&6
19101 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19102 ac_cpp='$CXXCPP $CPPFLAGS'
19103 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19104 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19105 cross_compiling=$ac_cv_prog_cxx_cross
19107 cat > conftest.$ac_ext <<EOF
19108 #line 19109 "configure
"
19109 #include "confdefs.h
"
19115 if { (eval echo configure:19116: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19117 glibcpp_cv_func_powl_use=yes
19119 echo "configure
: failed program was
:" >&5
19120 cat conftest.$ac_ext >&5
19122 glibcpp_cv_func_powl_use=no
19126 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19127 ac_cpp='$CPP $CPPFLAGS'
19128 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19129 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19130 cross_compiling=$ac_cv_prog_cc_cross
19136 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
19138 if test x$glibcpp_cv_func_powl_use = x"yes"; then
19139 for ac_func in powl
19141 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19142 echo "configure
:19143: checking
for $ac_func" >&5
19143 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19144 echo $ac_n "(cached
) $ac_c" 1>&6
19146 cat > conftest.$ac_ext <<EOF
19147 #line 19148 "configure
"
19148 #include "confdefs.h
"
19149 /* System header to define __stub macros and hopefully few prototypes,
19150 which can conflict with char $ac_func(); below. */
19151 #include <assert.h>
19152 /* Override any gcc2 internal prototype to avoid an error. */
19153 /* We use char because int might match the return type of a gcc2
19154 builtin and then its argument prototype would still apply. */
19159 /* The GNU C library defines this for functions which it implements
19160 to always fail with ENOSYS. Some functions are actually named
19161 something starting with __ and the normal name is an alias. */
19162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19170 if { (eval echo configure:19171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19172 eval "ac_cv_func_
$ac_func=yes"
19174 echo "configure
: failed program was
:" >&5
19175 cat conftest.$ac_ext >&5
19177 eval "ac_cv_func_
$ac_func=no
"
19182 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19183 echo "$ac_t""yes" 1>&6
19184 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19185 cat >> confdefs.h <<EOF
19186 #define $ac_tr_func 1
19190 echo "$ac_t""no
" 1>&6
19196 echo $ac_n "checking
for _powl declaration
""...
$ac_c" 1>&6
19197 echo "configure
:19198: checking
for _powl declaration
" >&5
19198 if test x${glibcpp_cv_func__powl_use+set} != xset; then
19199 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
19200 echo $ac_n "(cached
) $ac_c" 1>&6
19205 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19206 ac_cpp='$CXXCPP $CPPFLAGS'
19207 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19208 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19209 cross_compiling=$ac_cv_prog_cxx_cross
19211 cat > conftest.$ac_ext <<EOF
19212 #line 19213 "configure
"
19213 #include "confdefs.h
"
19219 if { (eval echo configure:19220: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19221 glibcpp_cv_func__powl_use=yes
19223 echo "configure
: failed program was
:" >&5
19224 cat conftest.$ac_ext >&5
19226 glibcpp_cv_func__powl_use=no
19230 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19231 ac_cpp='$CPP $CPPFLAGS'
19232 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19233 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19234 cross_compiling=$ac_cv_prog_cc_cross
19240 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
19242 if test x$glibcpp_cv_func__powl_use = x"yes"; then
19243 for ac_func in _powl
19245 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19246 echo "configure
:19247: checking
for $ac_func" >&5
19247 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19248 echo $ac_n "(cached
) $ac_c" 1>&6
19250 cat > conftest.$ac_ext <<EOF
19251 #line 19252 "configure
"
19252 #include "confdefs.h
"
19253 /* System header to define __stub macros and hopefully few prototypes,
19254 which can conflict with char $ac_func(); below. */
19255 #include <assert.h>
19256 /* Override any gcc2 internal prototype to avoid an error. */
19257 /* We use char because int might match the return type of a gcc2
19258 builtin and then its argument prototype would still apply. */
19263 /* The GNU C library defines this for functions which it implements
19264 to always fail with ENOSYS. Some functions are actually named
19265 something starting with __ and the normal name is an alias. */
19266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19274 if { (eval echo configure:19275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19276 eval "ac_cv_func_
$ac_func=yes"
19278 echo "configure
: failed program was
:" >&5
19279 cat conftest.$ac_ext >&5
19281 eval "ac_cv_func_
$ac_func=no
"
19286 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19287 echo "$ac_t""yes" 1>&6
19288 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19289 cat >> confdefs.h <<EOF
19290 #define $ac_tr_func 1
19294 echo "$ac_t""no
" 1>&6
19303 echo $ac_n "checking
for sqrtl declaration
""...
$ac_c" 1>&6
19304 echo "configure
:19305: checking
for sqrtl declaration
" >&5
19305 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
19306 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
19307 echo $ac_n "(cached
) $ac_c" 1>&6
19312 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19313 ac_cpp='$CXXCPP $CPPFLAGS'
19314 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19315 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19316 cross_compiling=$ac_cv_prog_cxx_cross
19318 cat > conftest.$ac_ext <<EOF
19319 #line 19320 "configure
"
19320 #include "confdefs.h
"
19322 #ifdef HAVE_IEEEFP_H
19323 #include <ieeefp.h>
19330 if { (eval echo configure:19331: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19332 glibcpp_cv_func_sqrtl_use=yes
19334 echo "configure
: failed program was
:" >&5
19335 cat conftest.$ac_ext >&5
19337 glibcpp_cv_func_sqrtl_use=no
19341 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19342 ac_cpp='$CPP $CPPFLAGS'
19343 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19344 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19345 cross_compiling=$ac_cv_prog_cc_cross
19351 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
19353 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
19354 for ac_func in sqrtl
19356 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19357 echo "configure
:19358: checking
for $ac_func" >&5
19358 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19359 echo $ac_n "(cached
) $ac_c" 1>&6
19361 cat > conftest.$ac_ext <<EOF
19362 #line 19363 "configure
"
19363 #include "confdefs.h
"
19364 /* System header to define __stub macros and hopefully few prototypes,
19365 which can conflict with char $ac_func(); below. */
19366 #include <assert.h>
19367 /* Override any gcc2 internal prototype to avoid an error. */
19368 /* We use char because int might match the return type of a gcc2
19369 builtin and then its argument prototype would still apply. */
19374 /* The GNU C library defines this for functions which it implements
19375 to always fail with ENOSYS. Some functions are actually named
19376 something starting with __ and the normal name is an alias. */
19377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19385 if { (eval echo configure:19386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19387 eval "ac_cv_func_
$ac_func=yes"
19389 echo "configure
: failed program was
:" >&5
19390 cat conftest.$ac_ext >&5
19392 eval "ac_cv_func_
$ac_func=no
"
19397 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19398 echo "$ac_t""yes" 1>&6
19399 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19400 cat >> confdefs.h <<EOF
19401 #define $ac_tr_func 1
19405 echo "$ac_t""no
" 1>&6
19411 echo $ac_n "checking
for _sqrtl declaration
""...
$ac_c" 1>&6
19412 echo "configure
:19413: checking
for _sqrtl declaration
" >&5
19413 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
19414 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
19415 echo $ac_n "(cached
) $ac_c" 1>&6
19420 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19421 ac_cpp='$CXXCPP $CPPFLAGS'
19422 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19423 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19424 cross_compiling=$ac_cv_prog_cxx_cross
19426 cat > conftest.$ac_ext <<EOF
19427 #line 19428 "configure
"
19428 #include "confdefs.h
"
19430 #ifdef HAVE_IEEEFP_H
19431 #include <ieeefp.h>
19438 if { (eval echo configure:19439: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19440 glibcpp_cv_func__sqrtl_use=yes
19442 echo "configure
: failed program was
:" >&5
19443 cat conftest.$ac_ext >&5
19445 glibcpp_cv_func__sqrtl_use=no
19449 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19450 ac_cpp='$CPP $CPPFLAGS'
19451 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19452 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19453 cross_compiling=$ac_cv_prog_cc_cross
19459 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
19461 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
19462 for ac_func in _sqrtl
19464 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19465 echo "configure
:19466: checking
for $ac_func" >&5
19466 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19467 echo $ac_n "(cached
) $ac_c" 1>&6
19469 cat > conftest.$ac_ext <<EOF
19470 #line 19471 "configure
"
19471 #include "confdefs.h
"
19472 /* System header to define __stub macros and hopefully few prototypes,
19473 which can conflict with char $ac_func(); below. */
19474 #include <assert.h>
19475 /* Override any gcc2 internal prototype to avoid an error. */
19476 /* We use char because int might match the return type of a gcc2
19477 builtin and then its argument prototype would still apply. */
19482 /* The GNU C library defines this for functions which it implements
19483 to always fail with ENOSYS. Some functions are actually named
19484 something starting with __ and the normal name is an alias. */
19485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19493 if { (eval echo configure:19494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19495 eval "ac_cv_func_
$ac_func=yes"
19497 echo "configure
: failed program was
:" >&5
19498 cat conftest.$ac_ext >&5
19500 eval "ac_cv_func_
$ac_func=no
"
19505 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19506 echo "$ac_t""yes" 1>&6
19507 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19508 cat >> confdefs.h <<EOF
19509 #define $ac_tr_func 1
19513 echo "$ac_t""no
" 1>&6
19522 echo $ac_n "checking
for sincosl declaration
""...
$ac_c" 1>&6
19523 echo "configure
:19524: checking
for sincosl declaration
" >&5
19524 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
19525 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
19526 echo $ac_n "(cached
) $ac_c" 1>&6
19531 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19532 ac_cpp='$CXXCPP $CPPFLAGS'
19533 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19534 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19535 cross_compiling=$ac_cv_prog_cxx_cross
19537 cat > conftest.$ac_ext <<EOF
19538 #line 19539 "configure
"
19539 #include "confdefs.h
"
19545 if { (eval echo configure:19546: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19547 glibcpp_cv_func_sincosl_use=yes
19549 echo "configure
: failed program was
:" >&5
19550 cat conftest.$ac_ext >&5
19552 glibcpp_cv_func_sincosl_use=no
19556 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19557 ac_cpp='$CPP $CPPFLAGS'
19558 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19559 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19560 cross_compiling=$ac_cv_prog_cc_cross
19566 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
19568 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
19569 for ac_func in sincosl
19571 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19572 echo "configure
:19573: checking
for $ac_func" >&5
19573 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19574 echo $ac_n "(cached
) $ac_c" 1>&6
19576 cat > conftest.$ac_ext <<EOF
19577 #line 19578 "configure
"
19578 #include "confdefs.h
"
19579 /* System header to define __stub macros and hopefully few prototypes,
19580 which can conflict with char $ac_func(); below. */
19581 #include <assert.h>
19582 /* Override any gcc2 internal prototype to avoid an error. */
19583 /* We use char because int might match the return type of a gcc2
19584 builtin and then its argument prototype would still apply. */
19589 /* The GNU C library defines this for functions which it implements
19590 to always fail with ENOSYS. Some functions are actually named
19591 something starting with __ and the normal name is an alias. */
19592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19600 if { (eval echo configure:19601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19602 eval "ac_cv_func_
$ac_func=yes"
19604 echo "configure
: failed program was
:" >&5
19605 cat conftest.$ac_ext >&5
19607 eval "ac_cv_func_
$ac_func=no
"
19612 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19613 echo "$ac_t""yes" 1>&6
19614 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19615 cat >> confdefs.h <<EOF
19616 #define $ac_tr_func 1
19620 echo "$ac_t""no
" 1>&6
19626 echo $ac_n "checking
for _sincosl declaration
""...
$ac_c" 1>&6
19627 echo "configure
:19628: checking
for _sincosl declaration
" >&5
19628 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
19629 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
19630 echo $ac_n "(cached
) $ac_c" 1>&6
19635 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19636 ac_cpp='$CXXCPP $CPPFLAGS'
19637 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19638 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19639 cross_compiling=$ac_cv_prog_cxx_cross
19641 cat > conftest.$ac_ext <<EOF
19642 #line 19643 "configure
"
19643 #include "confdefs.h
"
19649 if { (eval echo configure:19650: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19651 glibcpp_cv_func__sincosl_use=yes
19653 echo "configure
: failed program was
:" >&5
19654 cat conftest.$ac_ext >&5
19656 glibcpp_cv_func__sincosl_use=no
19660 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19661 ac_cpp='$CPP $CPPFLAGS'
19662 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19663 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19664 cross_compiling=$ac_cv_prog_cc_cross
19670 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
19672 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
19673 for ac_func in _sincosl
19675 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19676 echo "configure
:19677: checking
for $ac_func" >&5
19677 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19678 echo $ac_n "(cached
) $ac_c" 1>&6
19680 cat > conftest.$ac_ext <<EOF
19681 #line 19682 "configure
"
19682 #include "confdefs.h
"
19683 /* System header to define __stub macros and hopefully few prototypes,
19684 which can conflict with char $ac_func(); below. */
19685 #include <assert.h>
19686 /* Override any gcc2 internal prototype to avoid an error. */
19687 /* We use char because int might match the return type of a gcc2
19688 builtin and then its argument prototype would still apply. */
19693 /* The GNU C library defines this for functions which it implements
19694 to always fail with ENOSYS. Some functions are actually named
19695 something starting with __ and the normal name is an alias. */
19696 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19704 if { (eval echo configure:19705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19706 eval "ac_cv_func_
$ac_func=yes"
19708 echo "configure
: failed program was
:" >&5
19709 cat conftest.$ac_ext >&5
19711 eval "ac_cv_func_
$ac_func=no
"
19716 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19717 echo "$ac_t""yes" 1>&6
19718 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19719 cat >> confdefs.h <<EOF
19720 #define $ac_tr_func 1
19724 echo "$ac_t""no
" 1>&6
19733 echo $ac_n "checking
for finitel declaration
""...
$ac_c" 1>&6
19734 echo "configure
:19735: checking
for finitel declaration
" >&5
19735 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
19736 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
19737 echo $ac_n "(cached
) $ac_c" 1>&6
19742 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19743 ac_cpp='$CXXCPP $CPPFLAGS'
19744 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19745 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19746 cross_compiling=$ac_cv_prog_cxx_cross
19748 cat > conftest.$ac_ext <<EOF
19749 #line 19750 "configure
"
19750 #include "confdefs.h
"
19752 #ifdef HAVE_IEEEFP_H
19753 #include <ieeefp.h>
19760 if { (eval echo configure:19761: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19762 glibcpp_cv_func_finitel_use=yes
19764 echo "configure
: failed program was
:" >&5
19765 cat conftest.$ac_ext >&5
19767 glibcpp_cv_func_finitel_use=no
19771 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19772 ac_cpp='$CPP $CPPFLAGS'
19773 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19774 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19775 cross_compiling=$ac_cv_prog_cc_cross
19781 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
19783 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
19784 for ac_func in finitel
19786 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19787 echo "configure
:19788: checking
for $ac_func" >&5
19788 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19789 echo $ac_n "(cached
) $ac_c" 1>&6
19791 cat > conftest.$ac_ext <<EOF
19792 #line 19793 "configure
"
19793 #include "confdefs.h
"
19794 /* System header to define __stub macros and hopefully few prototypes,
19795 which can conflict with char $ac_func(); below. */
19796 #include <assert.h>
19797 /* Override any gcc2 internal prototype to avoid an error. */
19798 /* We use char because int might match the return type of a gcc2
19799 builtin and then its argument prototype would still apply. */
19804 /* The GNU C library defines this for functions which it implements
19805 to always fail with ENOSYS. Some functions are actually named
19806 something starting with __ and the normal name is an alias. */
19807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19815 if { (eval echo configure:19816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19817 eval "ac_cv_func_
$ac_func=yes"
19819 echo "configure
: failed program was
:" >&5
19820 cat conftest.$ac_ext >&5
19822 eval "ac_cv_func_
$ac_func=no
"
19827 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19828 echo "$ac_t""yes" 1>&6
19829 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19830 cat >> confdefs.h <<EOF
19831 #define $ac_tr_func 1
19835 echo "$ac_t""no
" 1>&6
19841 echo $ac_n "checking
for _finitel declaration
""...
$ac_c" 1>&6
19842 echo "configure
:19843: checking
for _finitel declaration
" >&5
19843 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
19844 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
19845 echo $ac_n "(cached
) $ac_c" 1>&6
19850 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19851 ac_cpp='$CXXCPP $CPPFLAGS'
19852 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19853 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19854 cross_compiling=$ac_cv_prog_cxx_cross
19856 cat > conftest.$ac_ext <<EOF
19857 #line 19858 "configure
"
19858 #include "confdefs.h
"
19860 #ifdef HAVE_IEEEFP_H
19861 #include <ieeefp.h>
19868 if { (eval echo configure:19869: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19870 glibcpp_cv_func__finitel_use=yes
19872 echo "configure
: failed program was
:" >&5
19873 cat conftest.$ac_ext >&5
19875 glibcpp_cv_func__finitel_use=no
19879 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19880 ac_cpp='$CPP $CPPFLAGS'
19881 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19882 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19883 cross_compiling=$ac_cv_prog_cc_cross
19889 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
19891 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
19892 for ac_func in _finitel
19894 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19895 echo "configure
:19896: checking
for $ac_func" >&5
19896 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19897 echo $ac_n "(cached
) $ac_c" 1>&6
19899 cat > conftest.$ac_ext <<EOF
19900 #line 19901 "configure
"
19901 #include "confdefs.h
"
19902 /* System header to define __stub macros and hopefully few prototypes,
19903 which can conflict with char $ac_func(); below. */
19904 #include <assert.h>
19905 /* Override any gcc2 internal prototype to avoid an error. */
19906 /* We use char because int might match the return type of a gcc2
19907 builtin and then its argument prototype would still apply. */
19912 /* The GNU C library defines this for functions which it implements
19913 to always fail with ENOSYS. Some functions are actually named
19914 something starting with __ and the normal name is an alias. */
19915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19923 if { (eval echo configure:19924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19925 eval "ac_cv_func_
$ac_func=yes"
19927 echo "configure
: failed program was
:" >&5
19928 cat conftest.$ac_ext >&5
19930 eval "ac_cv_func_
$ac_func=no
"
19935 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19936 echo "$ac_t""yes" 1>&6
19937 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19938 cat >> confdefs.h <<EOF
19939 #define $ac_tr_func 1
19943 echo "$ac_t""no
" 1>&6
19953 echo $ac_n "checking
for _float trig functions
""...
$ac_c" 1>&6
19954 echo "configure
:19955: checking
for _float trig functions
" >&5
19955 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
19956 echo $ac_n "(cached
) $ac_c" 1>&6
19961 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19962 ac_cpp='$CXXCPP $CPPFLAGS'
19963 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19964 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19965 cross_compiling=$ac_cv_prog_cxx_cross
19967 cat > conftest.$ac_ext <<EOF
19968 #line 19969 "configure
"
19969 #include "confdefs.h
"
19972 `for x in _acosf _asinf _atanf \
19973 _cosf _sinf _tanf \
19974 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
19977 if { (eval echo configure:19978: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19979 glibcpp_cv_func__float_trig_use=yes
19981 echo "configure
: failed program was
:" >&5
19982 cat conftest.$ac_ext >&5
19984 glibcpp_cv_func__float_trig_use=no
19988 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19989 ac_cpp='$CPP $CPPFLAGS'
19990 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19991 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19992 cross_compiling=$ac_cv_prog_cc_cross
19996 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
19997 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
19998 for ac_func in _acosf _asinf _atanf \
19999 _cosf _sinf _tanf \
20000 _coshf _sinhf _tanhf
20002 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20003 echo "configure
:20004: checking
for $ac_func" >&5
20004 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20005 echo $ac_n "(cached
) $ac_c" 1>&6
20007 cat > conftest.$ac_ext <<EOF
20008 #line 20009 "configure
"
20009 #include "confdefs.h
"
20010 /* System header to define __stub macros and hopefully few prototypes,
20011 which can conflict with char $ac_func(); below. */
20012 #include <assert.h>
20013 /* Override any gcc2 internal prototype to avoid an error. */
20014 /* We use char because int might match the return type of a gcc2
20015 builtin and then its argument prototype would still apply. */
20020 /* The GNU C library defines this for functions which it implements
20021 to always fail with ENOSYS. Some functions are actually named
20022 something starting with __ and the normal name is an alias. */
20023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20031 if { (eval echo configure:20032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20033 eval "ac_cv_func_
$ac_func=yes"
20035 echo "configure
: failed program was
:" >&5
20036 cat conftest.$ac_ext >&5
20038 eval "ac_cv_func_
$ac_func=no
"
20043 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20044 echo "$ac_t""yes" 1>&6
20045 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20046 cat >> confdefs.h <<EOF
20047 #define $ac_tr_func 1
20051 echo "$ac_t""no
" 1>&6
20058 echo $ac_n "checking
for _float round functions
""...
$ac_c" 1>&6
20059 echo "configure
:20060: checking
for _float round functions
" >&5
20060 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
20061 echo $ac_n "(cached
) $ac_c" 1>&6
20066 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20067 ac_cpp='$CXXCPP $CPPFLAGS'
20068 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20069 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20070 cross_compiling=$ac_cv_prog_cxx_cross
20072 cat > conftest.$ac_ext <<EOF
20073 #line 20074 "configure
"
20074 #include "confdefs.h
"
20077 `for x in _ceilf _floorf; do echo "$x (0);"; done`
20080 if { (eval echo configure:20081: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20082 glibcpp_cv_func__float_round_use=yes
20084 echo "configure
: failed program was
:" >&5
20085 cat conftest.$ac_ext >&5
20087 glibcpp_cv_func__float_round_use=no
20091 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20092 ac_cpp='$CPP $CPPFLAGS'
20093 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20094 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20095 cross_compiling=$ac_cv_prog_cc_cross
20099 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
20100 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
20101 for ac_func in _ceilf _floorf
20103 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20104 echo "configure
:20105: checking
for $ac_func" >&5
20105 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20106 echo $ac_n "(cached
) $ac_c" 1>&6
20108 cat > conftest.$ac_ext <<EOF
20109 #line 20110 "configure
"
20110 #include "confdefs.h
"
20111 /* System header to define __stub macros and hopefully few prototypes,
20112 which can conflict with char $ac_func(); below. */
20113 #include <assert.h>
20114 /* Override any gcc2 internal prototype to avoid an error. */
20115 /* We use char because int might match the return type of a gcc2
20116 builtin and then its argument prototype would still apply. */
20121 /* The GNU C library defines this for functions which it implements
20122 to always fail with ENOSYS. Some functions are actually named
20123 something starting with __ and the normal name is an alias. */
20124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20132 if { (eval echo configure:20133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20134 eval "ac_cv_func_
$ac_func=yes"
20136 echo "configure
: failed program was
:" >&5
20137 cat conftest.$ac_ext >&5
20139 eval "ac_cv_func_
$ac_func=no
"
20144 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20145 echo "$ac_t""yes" 1>&6
20146 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20147 cat >> confdefs.h <<EOF
20148 #define $ac_tr_func 1
20152 echo "$ac_t""no
" 1>&6
20160 echo $ac_n "checking
for _long double trig functions
""...
$ac_c" 1>&6
20161 echo "configure
:20162: checking
for _long double trig functions
" >&5
20162 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
20163 echo $ac_n "(cached
) $ac_c" 1>&6
20168 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20169 ac_cpp='$CXXCPP $CPPFLAGS'
20170 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20171 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20172 cross_compiling=$ac_cv_prog_cxx_cross
20174 cat > conftest.$ac_ext <<EOF
20175 #line 20176 "configure
"
20176 #include "confdefs.h
"
20179 `for x in _acosl _asinl _atanl \
20180 _cosl _sinl _tanl \
20181 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
20184 if { (eval echo configure:20185: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20186 glibcpp_cv_func__long_double_trig_use=yes
20188 echo "configure
: failed program was
:" >&5
20189 cat conftest.$ac_ext >&5
20191 glibcpp_cv_func__long_double_trig_use=no
20195 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20196 ac_cpp='$CPP $CPPFLAGS'
20197 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20198 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20199 cross_compiling=$ac_cv_prog_cc_cross
20203 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
20204 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
20205 for ac_func in _acosl _asinl _atanl \
20206 _cosl _sinl _tanl \
20207 _coshl _sinhl _tanhl
20209 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20210 echo "configure
:20211: checking
for $ac_func" >&5
20211 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20212 echo $ac_n "(cached
) $ac_c" 1>&6
20214 cat > conftest.$ac_ext <<EOF
20215 #line 20216 "configure
"
20216 #include "confdefs.h
"
20217 /* System header to define __stub macros and hopefully few prototypes,
20218 which can conflict with char $ac_func(); below. */
20219 #include <assert.h>
20220 /* Override any gcc2 internal prototype to avoid an error. */
20221 /* We use char because int might match the return type of a gcc2
20222 builtin and then its argument prototype would still apply. */
20227 /* The GNU C library defines this for functions which it implements
20228 to always fail with ENOSYS. Some functions are actually named
20229 something starting with __ and the normal name is an alias. */
20230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20238 if { (eval echo configure:20239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20240 eval "ac_cv_func_
$ac_func=yes"
20242 echo "configure
: failed program was
:" >&5
20243 cat conftest.$ac_ext >&5
20245 eval "ac_cv_func_
$ac_func=no
"
20250 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20251 echo "$ac_t""yes" 1>&6
20252 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20253 cat >> confdefs.h <<EOF
20254 #define $ac_tr_func 1
20258 echo "$ac_t""no
" 1>&6
20265 echo $ac_n "checking
for _long double round functions
""...
$ac_c" 1>&6
20266 echo "configure
:20267: checking
for _long double round functions
" >&5
20267 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
20268 echo $ac_n "(cached
) $ac_c" 1>&6
20273 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20274 ac_cpp='$CXXCPP $CPPFLAGS'
20275 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20276 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20277 cross_compiling=$ac_cv_prog_cxx_cross
20279 cat > conftest.$ac_ext <<EOF
20280 #line 20281 "configure
"
20281 #include "confdefs.h
"
20284 `for x in _ceill _floorl; do echo "$x (0);"; done`
20287 if { (eval echo configure:20288: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20289 glibcpp_cv_func__long_double_round_use=yes
20291 echo "configure
: failed program was
:" >&5
20292 cat conftest.$ac_ext >&5
20294 glibcpp_cv_func__long_double_round_use=no
20298 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20299 ac_cpp='$CPP $CPPFLAGS'
20300 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20301 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20302 cross_compiling=$ac_cv_prog_cc_cross
20306 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
20307 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
20308 for ac_func in _ceill _floorl
20310 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20311 echo "configure
:20312: checking
for $ac_func" >&5
20312 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20313 echo $ac_n "(cached
) $ac_c" 1>&6
20315 cat > conftest.$ac_ext <<EOF
20316 #line 20317 "configure
"
20317 #include "confdefs.h
"
20318 /* System header to define __stub macros and hopefully few prototypes,
20319 which can conflict with char $ac_func(); below. */
20320 #include <assert.h>
20321 /* Override any gcc2 internal prototype to avoid an error. */
20322 /* We use char because int might match the return type of a gcc2
20323 builtin and then its argument prototype would still apply. */
20328 /* The GNU C library defines this for functions which it implements
20329 to always fail with ENOSYS. Some functions are actually named
20330 something starting with __ and the normal name is an alias. */
20331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20339 if { (eval echo configure:20340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20341 eval "ac_cv_func_
$ac_func=yes"
20343 echo "configure
: failed program was
:" >&5
20344 cat conftest.$ac_ext >&5
20346 eval "ac_cv_func_
$ac_func=no
"
20351 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20352 echo "$ac_t""yes" 1>&6
20353 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20354 cat >> confdefs.h <<EOF
20355 #define $ac_tr_func 1
20359 echo "$ac_t""no
" 1>&6
20366 LIBS="$ac_save_LIBS"
20367 CXXFLAGS="$ac_save_CXXFLAGS"
20371 echo $ac_n "checking
for __builtin_abs declaration
""...
$ac_c" 1>&6
20372 echo "configure
:20373: checking
for __builtin_abs declaration
" >&5
20373 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
20374 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
20375 echo $ac_n "(cached
) $ac_c" 1>&6
20380 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20381 ac_cpp='$CXXCPP $CPPFLAGS'
20382 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20383 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20384 cross_compiling=$ac_cv_prog_cxx_cross
20386 cat > conftest.$ac_ext <<EOF
20387 #line 20388 "configure
"
20388 #include "confdefs.h
"
20394 if { (eval echo configure:20395: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20396 glibcpp_cv_func___builtin_abs_use=yes
20398 echo "configure
: failed program was
:" >&5
20399 cat conftest.$ac_ext >&5
20401 glibcpp_cv_func___builtin_abs_use=no
20405 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20406 ac_cpp='$CPP $CPPFLAGS'
20407 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20408 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20409 cross_compiling=$ac_cv_prog_cc_cross
20415 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
20416 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
20417 echo $ac_n "checking
for __builtin_abs linkage
""...
$ac_c" 1>&6
20418 echo "configure
:20419: checking
for __builtin_abs linkage
" >&5
20419 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
20420 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
20421 echo $ac_n "(cached
) $ac_c" 1>&6
20424 cat > conftest.$ac_ext <<EOF
20425 #line 20426 "configure
"
20426 #include "confdefs.h
"
20432 if { (eval echo configure:20433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20434 glibcpp_cv_func___builtin_abs_link=yes
20436 echo "configure
: failed program was
:" >&5
20437 cat conftest.$ac_ext >&5
20439 glibcpp_cv_func___builtin_abs_link=no
20446 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
20447 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
20448 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20449 cat >> confdefs.h <<EOF
20450 #define ${ac_tr_func} 1
20457 echo $ac_n "checking
for __builtin_fabsf declaration
""...
$ac_c" 1>&6
20458 echo "configure
:20459: checking
for __builtin_fabsf declaration
" >&5
20459 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
20460 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
20461 echo $ac_n "(cached
) $ac_c" 1>&6
20466 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20467 ac_cpp='$CXXCPP $CPPFLAGS'
20468 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20469 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20470 cross_compiling=$ac_cv_prog_cxx_cross
20472 cat > conftest.$ac_ext <<EOF
20473 #line 20474 "configure
"
20474 #include "confdefs.h
"
20477 __builtin_fabsf(0);
20480 if { (eval echo configure:20481: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20482 glibcpp_cv_func___builtin_fabsf_use=yes
20484 echo "configure
: failed program was
:" >&5
20485 cat conftest.$ac_ext >&5
20487 glibcpp_cv_func___builtin_fabsf_use=no
20491 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20492 ac_cpp='$CPP $CPPFLAGS'
20493 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20494 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20495 cross_compiling=$ac_cv_prog_cc_cross
20501 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
20502 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
20503 echo $ac_n "checking
for __builtin_fabsf linkage
""...
$ac_c" 1>&6
20504 echo "configure
:20505: checking
for __builtin_fabsf linkage
" >&5
20505 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
20506 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
20507 echo $ac_n "(cached
) $ac_c" 1>&6
20510 cat > conftest.$ac_ext <<EOF
20511 #line 20512 "configure
"
20512 #include "confdefs.h
"
20515 __builtin_fabsf(0);
20518 if { (eval echo configure:20519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20520 glibcpp_cv_func___builtin_fabsf_link=yes
20522 echo "configure
: failed program was
:" >&5
20523 cat conftest.$ac_ext >&5
20525 glibcpp_cv_func___builtin_fabsf_link=no
20532 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
20533 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
20534 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20535 cat >> confdefs.h <<EOF
20536 #define ${ac_tr_func} 1
20543 echo $ac_n "checking
for __builtin_fabs declaration
""...
$ac_c" 1>&6
20544 echo "configure
:20545: checking
for __builtin_fabs declaration
" >&5
20545 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
20546 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
20547 echo $ac_n "(cached
) $ac_c" 1>&6
20552 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20553 ac_cpp='$CXXCPP $CPPFLAGS'
20554 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20555 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20556 cross_compiling=$ac_cv_prog_cxx_cross
20558 cat > conftest.$ac_ext <<EOF
20559 #line 20560 "configure
"
20560 #include "confdefs.h
"
20566 if { (eval echo configure:20567: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20568 glibcpp_cv_func___builtin_fabs_use=yes
20570 echo "configure
: failed program was
:" >&5
20571 cat conftest.$ac_ext >&5
20573 glibcpp_cv_func___builtin_fabs_use=no
20577 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20578 ac_cpp='$CPP $CPPFLAGS'
20579 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20580 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20581 cross_compiling=$ac_cv_prog_cc_cross
20587 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
20588 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
20589 echo $ac_n "checking
for __builtin_fabs linkage
""...
$ac_c" 1>&6
20590 echo "configure
:20591: checking
for __builtin_fabs linkage
" >&5
20591 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
20592 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
20593 echo $ac_n "(cached
) $ac_c" 1>&6
20596 cat > conftest.$ac_ext <<EOF
20597 #line 20598 "configure
"
20598 #include "confdefs.h
"
20604 if { (eval echo configure:20605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20606 glibcpp_cv_func___builtin_fabs_link=yes
20608 echo "configure
: failed program was
:" >&5
20609 cat conftest.$ac_ext >&5
20611 glibcpp_cv_func___builtin_fabs_link=no
20618 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
20619 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
20620 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20621 cat >> confdefs.h <<EOF
20622 #define ${ac_tr_func} 1
20629 echo $ac_n "checking
for __builtin_fabsl declaration
""...
$ac_c" 1>&6
20630 echo "configure
:20631: checking
for __builtin_fabsl declaration
" >&5
20631 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
20632 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
20633 echo $ac_n "(cached
) $ac_c" 1>&6
20638 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20639 ac_cpp='$CXXCPP $CPPFLAGS'
20640 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20641 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20642 cross_compiling=$ac_cv_prog_cxx_cross
20644 cat > conftest.$ac_ext <<EOF
20645 #line 20646 "configure
"
20646 #include "confdefs.h
"
20649 __builtin_fabsl(0);
20652 if { (eval echo configure:20653: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20654 glibcpp_cv_func___builtin_fabsl_use=yes
20656 echo "configure
: failed program was
:" >&5
20657 cat conftest.$ac_ext >&5
20659 glibcpp_cv_func___builtin_fabsl_use=no
20663 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20664 ac_cpp='$CPP $CPPFLAGS'
20665 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20666 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20667 cross_compiling=$ac_cv_prog_cc_cross
20673 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
20674 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
20675 echo $ac_n "checking
for __builtin_fabsl linkage
""...
$ac_c" 1>&6
20676 echo "configure
:20677: checking
for __builtin_fabsl linkage
" >&5
20677 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
20678 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
20679 echo $ac_n "(cached
) $ac_c" 1>&6
20682 cat > conftest.$ac_ext <<EOF
20683 #line 20684 "configure
"
20684 #include "confdefs.h
"
20687 __builtin_fabsl(0);
20690 if { (eval echo configure:20691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20692 glibcpp_cv_func___builtin_fabsl_link=yes
20694 echo "configure
: failed program was
:" >&5
20695 cat conftest.$ac_ext >&5
20697 glibcpp_cv_func___builtin_fabsl_link=no
20704 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
20705 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
20706 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20707 cat >> confdefs.h <<EOF
20708 #define ${ac_tr_func} 1
20715 echo $ac_n "checking
for __builtin_labs declaration
""...
$ac_c" 1>&6
20716 echo "configure
:20717: checking
for __builtin_labs declaration
" >&5
20717 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
20718 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
20719 echo $ac_n "(cached
) $ac_c" 1>&6
20724 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20725 ac_cpp='$CXXCPP $CPPFLAGS'
20726 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20727 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20728 cross_compiling=$ac_cv_prog_cxx_cross
20730 cat > conftest.$ac_ext <<EOF
20731 #line 20732 "configure
"
20732 #include "confdefs.h
"
20738 if { (eval echo configure:20739: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20740 glibcpp_cv_func___builtin_labs_use=yes
20742 echo "configure
: failed program was
:" >&5
20743 cat conftest.$ac_ext >&5
20745 glibcpp_cv_func___builtin_labs_use=no
20749 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20750 ac_cpp='$CPP $CPPFLAGS'
20751 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20752 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20753 cross_compiling=$ac_cv_prog_cc_cross
20759 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
20760 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
20761 echo $ac_n "checking
for __builtin_labs linkage
""...
$ac_c" 1>&6
20762 echo "configure
:20763: checking
for __builtin_labs linkage
" >&5
20763 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
20764 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
20765 echo $ac_n "(cached
) $ac_c" 1>&6
20768 cat > conftest.$ac_ext <<EOF
20769 #line 20770 "configure
"
20770 #include "confdefs.h
"
20776 if { (eval echo configure:20777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20778 glibcpp_cv_func___builtin_labs_link=yes
20780 echo "configure
: failed program was
:" >&5
20781 cat conftest.$ac_ext >&5
20783 glibcpp_cv_func___builtin_labs_link=no
20790 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
20791 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
20792 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20793 cat >> confdefs.h <<EOF
20794 #define ${ac_tr_func} 1
20802 echo $ac_n "checking
for __builtin_sqrtf declaration
""...
$ac_c" 1>&6
20803 echo "configure
:20804: checking
for __builtin_sqrtf declaration
" >&5
20804 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
20805 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
20806 echo $ac_n "(cached
) $ac_c" 1>&6
20811 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20812 ac_cpp='$CXXCPP $CPPFLAGS'
20813 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20814 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20815 cross_compiling=$ac_cv_prog_cxx_cross
20817 cat > conftest.$ac_ext <<EOF
20818 #line 20819 "configure
"
20819 #include "confdefs.h
"
20822 __builtin_sqrtf(0);
20825 if { (eval echo configure:20826: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20827 glibcpp_cv_func___builtin_sqrtf_use=yes
20829 echo "configure
: failed program was
:" >&5
20830 cat conftest.$ac_ext >&5
20832 glibcpp_cv_func___builtin_sqrtf_use=no
20836 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20837 ac_cpp='$CPP $CPPFLAGS'
20838 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20839 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20840 cross_compiling=$ac_cv_prog_cc_cross
20846 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
20847 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
20848 echo $ac_n "checking
for __builtin_sqrtf linkage
""...
$ac_c" 1>&6
20849 echo "configure
:20850: checking
for __builtin_sqrtf linkage
" >&5
20850 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
20851 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
20852 echo $ac_n "(cached
) $ac_c" 1>&6
20855 cat > conftest.$ac_ext <<EOF
20856 #line 20857 "configure
"
20857 #include "confdefs.h
"
20860 __builtin_sqrtf(0);
20863 if { (eval echo configure:20864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20865 glibcpp_cv_func___builtin_sqrtf_link=yes
20867 echo "configure
: failed program was
:" >&5
20868 cat conftest.$ac_ext >&5
20870 glibcpp_cv_func___builtin_sqrtf_link=no
20877 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
20878 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
20879 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20880 cat >> confdefs.h <<EOF
20881 #define ${ac_tr_func} 1
20888 echo $ac_n "checking
for __builtin_sqrt declaration
""...
$ac_c" 1>&6
20889 echo "configure
:20890: checking
for __builtin_sqrt declaration
" >&5
20890 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
20891 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
20892 echo $ac_n "(cached
) $ac_c" 1>&6
20897 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20898 ac_cpp='$CXXCPP $CPPFLAGS'
20899 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20900 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20901 cross_compiling=$ac_cv_prog_cxx_cross
20903 cat > conftest.$ac_ext <<EOF
20904 #line 20905 "configure
"
20905 #include "confdefs.h
"
20911 if { (eval echo configure:20912: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20913 glibcpp_cv_func___builtin_sqrt_use=yes
20915 echo "configure
: failed program was
:" >&5
20916 cat conftest.$ac_ext >&5
20918 glibcpp_cv_func___builtin_sqrt_use=no
20922 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20923 ac_cpp='$CPP $CPPFLAGS'
20924 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20925 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20926 cross_compiling=$ac_cv_prog_cc_cross
20932 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
20933 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
20934 echo $ac_n "checking
for __builtin_sqrt linkage
""...
$ac_c" 1>&6
20935 echo "configure
:20936: checking
for __builtin_sqrt linkage
" >&5
20936 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
20937 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
20938 echo $ac_n "(cached
) $ac_c" 1>&6
20941 cat > conftest.$ac_ext <<EOF
20942 #line 20943 "configure
"
20943 #include "confdefs.h
"
20949 if { (eval echo configure:20950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20951 glibcpp_cv_func___builtin_sqrt_link=yes
20953 echo "configure
: failed program was
:" >&5
20954 cat conftest.$ac_ext >&5
20956 glibcpp_cv_func___builtin_sqrt_link=no
20963 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
20964 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
20965 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20966 cat >> confdefs.h <<EOF
20967 #define ${ac_tr_func} 1
20974 echo $ac_n "checking
for __builtin_sqrtl declaration
""...
$ac_c" 1>&6
20975 echo "configure
:20976: checking
for __builtin_sqrtl declaration
" >&5
20976 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
20977 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
20978 echo $ac_n "(cached
) $ac_c" 1>&6
20983 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20984 ac_cpp='$CXXCPP $CPPFLAGS'
20985 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20986 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20987 cross_compiling=$ac_cv_prog_cxx_cross
20989 cat > conftest.$ac_ext <<EOF
20990 #line 20991 "configure
"
20991 #include "confdefs.h
"
20994 __builtin_sqrtl(0);
20997 if { (eval echo configure:20998: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20999 glibcpp_cv_func___builtin_sqrtl_use=yes
21001 echo "configure
: failed program was
:" >&5
21002 cat conftest.$ac_ext >&5
21004 glibcpp_cv_func___builtin_sqrtl_use=no
21008 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21009 ac_cpp='$CPP $CPPFLAGS'
21010 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21011 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21012 cross_compiling=$ac_cv_prog_cc_cross
21018 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
21019 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
21020 echo $ac_n "checking
for __builtin_sqrtl linkage
""...
$ac_c" 1>&6
21021 echo "configure
:21022: checking
for __builtin_sqrtl linkage
" >&5
21022 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
21023 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
21024 echo $ac_n "(cached
) $ac_c" 1>&6
21027 cat > conftest.$ac_ext <<EOF
21028 #line 21029 "configure
"
21029 #include "confdefs.h
"
21032 __builtin_sqrtl(0);
21035 if { (eval echo configure:21036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21037 glibcpp_cv_func___builtin_sqrtl_link=yes
21039 echo "configure
: failed program was
:" >&5
21040 cat conftest.$ac_ext >&5
21042 glibcpp_cv_func___builtin_sqrtl_link=no
21049 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
21050 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
21051 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21052 cat >> confdefs.h <<EOF
21053 #define ${ac_tr_func} 1
21061 echo $ac_n "checking
for __builtin_sinf declaration
""...
$ac_c" 1>&6
21062 echo "configure
:21063: checking
for __builtin_sinf declaration
" >&5
21063 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
21064 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
21065 echo $ac_n "(cached
) $ac_c" 1>&6
21070 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21071 ac_cpp='$CXXCPP $CPPFLAGS'
21072 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21073 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21074 cross_compiling=$ac_cv_prog_cxx_cross
21076 cat > conftest.$ac_ext <<EOF
21077 #line 21078 "configure
"
21078 #include "confdefs.h
"
21084 if { (eval echo configure:21085: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21086 glibcpp_cv_func___builtin_sinf_use=yes
21088 echo "configure
: failed program was
:" >&5
21089 cat conftest.$ac_ext >&5
21091 glibcpp_cv_func___builtin_sinf_use=no
21095 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21096 ac_cpp='$CPP $CPPFLAGS'
21097 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21098 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21099 cross_compiling=$ac_cv_prog_cc_cross
21105 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
21106 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
21107 echo $ac_n "checking
for __builtin_sinf linkage
""...
$ac_c" 1>&6
21108 echo "configure
:21109: checking
for __builtin_sinf linkage
" >&5
21109 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
21110 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
21111 echo $ac_n "(cached
) $ac_c" 1>&6
21114 cat > conftest.$ac_ext <<EOF
21115 #line 21116 "configure
"
21116 #include "confdefs.h
"
21122 if { (eval echo configure:21123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21124 glibcpp_cv_func___builtin_sinf_link=yes
21126 echo "configure
: failed program was
:" >&5
21127 cat conftest.$ac_ext >&5
21129 glibcpp_cv_func___builtin_sinf_link=no
21136 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
21137 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
21138 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21139 cat >> confdefs.h <<EOF
21140 #define ${ac_tr_func} 1
21147 echo $ac_n "checking
for __builtin_sin declaration
""...
$ac_c" 1>&6
21148 echo "configure
:21149: checking
for __builtin_sin declaration
" >&5
21149 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
21150 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
21151 echo $ac_n "(cached
) $ac_c" 1>&6
21156 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21157 ac_cpp='$CXXCPP $CPPFLAGS'
21158 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21159 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21160 cross_compiling=$ac_cv_prog_cxx_cross
21162 cat > conftest.$ac_ext <<EOF
21163 #line 21164 "configure
"
21164 #include "confdefs.h
"
21170 if { (eval echo configure:21171: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21172 glibcpp_cv_func___builtin_sin_use=yes
21174 echo "configure
: failed program was
:" >&5
21175 cat conftest.$ac_ext >&5
21177 glibcpp_cv_func___builtin_sin_use=no
21181 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21182 ac_cpp='$CPP $CPPFLAGS'
21183 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21184 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21185 cross_compiling=$ac_cv_prog_cc_cross
21191 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
21192 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
21193 echo $ac_n "checking
for __builtin_sin linkage
""...
$ac_c" 1>&6
21194 echo "configure
:21195: checking
for __builtin_sin linkage
" >&5
21195 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
21196 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
21197 echo $ac_n "(cached
) $ac_c" 1>&6
21200 cat > conftest.$ac_ext <<EOF
21201 #line 21202 "configure
"
21202 #include "confdefs.h
"
21208 if { (eval echo configure:21209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21210 glibcpp_cv_func___builtin_sin_link=yes
21212 echo "configure
: failed program was
:" >&5
21213 cat conftest.$ac_ext >&5
21215 glibcpp_cv_func___builtin_sin_link=no
21222 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
21223 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
21224 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21225 cat >> confdefs.h <<EOF
21226 #define ${ac_tr_func} 1
21233 echo $ac_n "checking
for __builtin_sinl declaration
""...
$ac_c" 1>&6
21234 echo "configure
:21235: checking
for __builtin_sinl declaration
" >&5
21235 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
21236 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
21237 echo $ac_n "(cached
) $ac_c" 1>&6
21242 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21243 ac_cpp='$CXXCPP $CPPFLAGS'
21244 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21245 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21246 cross_compiling=$ac_cv_prog_cxx_cross
21248 cat > conftest.$ac_ext <<EOF
21249 #line 21250 "configure
"
21250 #include "confdefs.h
"
21256 if { (eval echo configure:21257: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21258 glibcpp_cv_func___builtin_sinl_use=yes
21260 echo "configure
: failed program was
:" >&5
21261 cat conftest.$ac_ext >&5
21263 glibcpp_cv_func___builtin_sinl_use=no
21267 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21268 ac_cpp='$CPP $CPPFLAGS'
21269 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21270 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21271 cross_compiling=$ac_cv_prog_cc_cross
21277 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
21278 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
21279 echo $ac_n "checking
for __builtin_sinl linkage
""...
$ac_c" 1>&6
21280 echo "configure
:21281: checking
for __builtin_sinl linkage
" >&5
21281 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
21282 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
21283 echo $ac_n "(cached
) $ac_c" 1>&6
21286 cat > conftest.$ac_ext <<EOF
21287 #line 21288 "configure
"
21288 #include "confdefs.h
"
21294 if { (eval echo configure:21295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21296 glibcpp_cv_func___builtin_sinl_link=yes
21298 echo "configure
: failed program was
:" >&5
21299 cat conftest.$ac_ext >&5
21301 glibcpp_cv_func___builtin_sinl_link=no
21308 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
21309 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
21310 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21311 cat >> confdefs.h <<EOF
21312 #define ${ac_tr_func} 1
21320 echo $ac_n "checking
for __builtin_cosf declaration
""...
$ac_c" 1>&6
21321 echo "configure
:21322: checking
for __builtin_cosf declaration
" >&5
21322 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
21323 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
21324 echo $ac_n "(cached
) $ac_c" 1>&6
21329 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21330 ac_cpp='$CXXCPP $CPPFLAGS'
21331 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21332 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21333 cross_compiling=$ac_cv_prog_cxx_cross
21335 cat > conftest.$ac_ext <<EOF
21336 #line 21337 "configure
"
21337 #include "confdefs.h
"
21343 if { (eval echo configure:21344: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21345 glibcpp_cv_func___builtin_cosf_use=yes
21347 echo "configure
: failed program was
:" >&5
21348 cat conftest.$ac_ext >&5
21350 glibcpp_cv_func___builtin_cosf_use=no
21354 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21355 ac_cpp='$CPP $CPPFLAGS'
21356 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21357 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21358 cross_compiling=$ac_cv_prog_cc_cross
21364 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
21365 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
21366 echo $ac_n "checking
for __builtin_cosf linkage
""...
$ac_c" 1>&6
21367 echo "configure
:21368: checking
for __builtin_cosf linkage
" >&5
21368 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
21369 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
21370 echo $ac_n "(cached
) $ac_c" 1>&6
21373 cat > conftest.$ac_ext <<EOF
21374 #line 21375 "configure
"
21375 #include "confdefs.h
"
21381 if { (eval echo configure:21382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21383 glibcpp_cv_func___builtin_cosf_link=yes
21385 echo "configure
: failed program was
:" >&5
21386 cat conftest.$ac_ext >&5
21388 glibcpp_cv_func___builtin_cosf_link=no
21395 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
21396 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
21397 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21398 cat >> confdefs.h <<EOF
21399 #define ${ac_tr_func} 1
21406 echo $ac_n "checking
for __builtin_cos declaration
""...
$ac_c" 1>&6
21407 echo "configure
:21408: checking
for __builtin_cos declaration
" >&5
21408 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
21409 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
21410 echo $ac_n "(cached
) $ac_c" 1>&6
21415 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21416 ac_cpp='$CXXCPP $CPPFLAGS'
21417 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21418 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21419 cross_compiling=$ac_cv_prog_cxx_cross
21421 cat > conftest.$ac_ext <<EOF
21422 #line 21423 "configure
"
21423 #include "confdefs.h
"
21429 if { (eval echo configure:21430: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21431 glibcpp_cv_func___builtin_cos_use=yes
21433 echo "configure
: failed program was
:" >&5
21434 cat conftest.$ac_ext >&5
21436 glibcpp_cv_func___builtin_cos_use=no
21440 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21441 ac_cpp='$CPP $CPPFLAGS'
21442 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21443 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21444 cross_compiling=$ac_cv_prog_cc_cross
21450 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
21451 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
21452 echo $ac_n "checking
for __builtin_cos linkage
""...
$ac_c" 1>&6
21453 echo "configure
:21454: checking
for __builtin_cos linkage
" >&5
21454 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
21455 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
21456 echo $ac_n "(cached
) $ac_c" 1>&6
21459 cat > conftest.$ac_ext <<EOF
21460 #line 21461 "configure
"
21461 #include "confdefs.h
"
21467 if { (eval echo configure:21468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21469 glibcpp_cv_func___builtin_cos_link=yes
21471 echo "configure
: failed program was
:" >&5
21472 cat conftest.$ac_ext >&5
21474 glibcpp_cv_func___builtin_cos_link=no
21481 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
21482 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
21483 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21484 cat >> confdefs.h <<EOF
21485 #define ${ac_tr_func} 1
21492 echo $ac_n "checking
for __builtin_cosl declaration
""...
$ac_c" 1>&6
21493 echo "configure
:21494: checking
for __builtin_cosl declaration
" >&5
21494 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
21495 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
21496 echo $ac_n "(cached
) $ac_c" 1>&6
21501 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21502 ac_cpp='$CXXCPP $CPPFLAGS'
21503 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21504 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21505 cross_compiling=$ac_cv_prog_cxx_cross
21507 cat > conftest.$ac_ext <<EOF
21508 #line 21509 "configure
"
21509 #include "confdefs.h
"
21515 if { (eval echo configure:21516: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21517 glibcpp_cv_func___builtin_cosl_use=yes
21519 echo "configure
: failed program was
:" >&5
21520 cat conftest.$ac_ext >&5
21522 glibcpp_cv_func___builtin_cosl_use=no
21526 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21527 ac_cpp='$CPP $CPPFLAGS'
21528 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21529 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21530 cross_compiling=$ac_cv_prog_cc_cross
21536 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
21537 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
21538 echo $ac_n "checking
for __builtin_cosl linkage
""...
$ac_c" 1>&6
21539 echo "configure
:21540: checking
for __builtin_cosl linkage
" >&5
21540 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
21541 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
21542 echo $ac_n "(cached
) $ac_c" 1>&6
21545 cat > conftest.$ac_ext <<EOF
21546 #line 21547 "configure
"
21547 #include "confdefs.h
"
21553 if { (eval echo configure:21554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21555 glibcpp_cv_func___builtin_cosl_link=yes
21557 echo "configure
: failed program was
:" >&5
21558 cat conftest.$ac_ext >&5
21560 glibcpp_cv_func___builtin_cosl_link=no
21567 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
21568 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
21569 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21570 cat >> confdefs.h <<EOF
21571 #define ${ac_tr_func} 1
21579 if test x$dummyvar = x"yes"; then
21580 cat >> confdefs.h <<\EOF
21581 #define HAVE___BUILTIN_ABS 1
21584 cat >> confdefs.h <<\EOF
21585 #define HAVE___BUILTIN_LABS 1
21588 cat >> confdefs.h <<\EOF
21589 #define HAVE___BUILTIN_COS 1
21592 cat >> confdefs.h <<\EOF
21593 #define HAVE___BUILTIN_COSF 1
21596 cat >> confdefs.h <<\EOF
21597 #define HAVE___BUILTIN_COSL 1
21600 cat >> confdefs.h <<\EOF
21601 #define HAVE___BUILTIN_FABS 1
21604 cat >> confdefs.h <<\EOF
21605 #define HAVE___BUILTIN_FABSF 1
21608 cat >> confdefs.h <<\EOF
21609 #define HAVE___BUILTIN_FABSL 1
21612 cat >> confdefs.h <<\EOF
21613 #define HAVE___BUILTIN_SIN 1
21616 cat >> confdefs.h <<\EOF
21617 #define HAVE___BUILTIN_SINF 1
21620 cat >> confdefs.h <<\EOF
21621 #define HAVE___BUILTIN_SINL 1
21624 cat >> confdefs.h <<\EOF
21625 #define HAVE___BUILTIN_SQRT 1
21628 cat >> confdefs.h <<\EOF
21629 #define HAVE___BUILTIN_SQRTF 1
21632 cat >> confdefs.h <<\EOF
21633 #define HAVE___BUILTIN_SQRTL 1
21639 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
21640 echo "configure
:21641: checking
for main
in -lm" >&5
21641 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
21642 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
21643 echo $ac_n "(cached
) $ac_c" 1>&6
21645 ac_save_LIBS="$LIBS"
21647 cat > conftest.$ac_ext <<EOF
21648 #line 21649 "configure
"
21649 #include "confdefs.h
"
21655 if { (eval echo configure:21656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21657 eval "ac_cv_lib_
$ac_lib_var=yes"
21659 echo "configure
: failed program was
:" >&5
21660 cat conftest.$ac_ext >&5
21662 eval "ac_cv_lib_
$ac_lib_var=no
"
21665 LIBS="$ac_save_LIBS"
21668 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21669 echo "$ac_t""yes" 1>&6
21670 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
21671 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
21672 cat >> confdefs.h <<EOF
21673 #define $ac_tr_lib 1
21679 echo "$ac_t""no
" 1>&6
21682 for ac_func in nan copysignf
21684 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21685 echo "configure
:21686: checking
for $ac_func" >&5
21686 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21687 echo $ac_n "(cached
) $ac_c" 1>&6
21689 cat > conftest.$ac_ext <<EOF
21690 #line 21691 "configure
"
21691 #include "confdefs.h
"
21692 /* System header to define __stub macros and hopefully few prototypes,
21693 which can conflict with char $ac_func(); below. */
21694 #include <assert.h>
21695 /* Override any gcc2 internal prototype to avoid an error. */
21696 /* We use char because int might match the return type of a gcc2
21697 builtin and then its argument prototype would still apply. */
21702 /* The GNU C library defines this for functions which it implements
21703 to always fail with ENOSYS. Some functions are actually named
21704 something starting with __ and the normal name is an alias. */
21705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21713 if { (eval echo configure:21714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21715 eval "ac_cv_func_
$ac_func=yes"
21717 echo "configure
: failed program was
:" >&5
21718 cat conftest.$ac_ext >&5
21720 eval "ac_cv_func_
$ac_func=no
"
21725 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21726 echo "$ac_t""yes" 1>&6
21727 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21728 cat >> confdefs.h <<EOF
21729 #define $ac_tr_func 1
21733 echo "$ac_t""no
" 1>&6
21734 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
21739 for ac_func in __signbit
21741 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21742 echo "configure
:21743: checking
for $ac_func" >&5
21743 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21744 echo $ac_n "(cached
) $ac_c" 1>&6
21746 cat > conftest.$ac_ext <<EOF
21747 #line 21748 "configure
"
21748 #include "confdefs.h
"
21749 /* System header to define __stub macros and hopefully few prototypes,
21750 which can conflict with char $ac_func(); below. */
21751 #include <assert.h>
21752 /* Override any gcc2 internal prototype to avoid an error. */
21753 /* We use char because int might match the return type of a gcc2
21754 builtin and then its argument prototype would still apply. */
21759 /* The GNU C library defines this for functions which it implements
21760 to always fail with ENOSYS. Some functions are actually named
21761 something starting with __ and the normal name is an alias. */
21762 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21770 if { (eval echo configure:21771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21772 eval "ac_cv_func_
$ac_func=yes"
21774 echo "configure
: failed program was
:" >&5
21775 cat conftest.$ac_ext >&5
21777 eval "ac_cv_func_
$ac_func=no
"
21782 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21783 echo "$ac_t""yes" 1>&6
21784 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21785 cat >> confdefs.h <<EOF
21786 #define $ac_tr_func 1
21790 echo "$ac_t""no
" 1>&6
21791 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
21795 for ac_func in __signbitf
21797 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21798 echo "configure
:21799: checking
for $ac_func" >&5
21799 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21800 echo $ac_n "(cached
) $ac_c" 1>&6
21802 cat > conftest.$ac_ext <<EOF
21803 #line 21804 "configure
"
21804 #include "confdefs.h
"
21805 /* System header to define __stub macros and hopefully few prototypes,
21806 which can conflict with char $ac_func(); below. */
21807 #include <assert.h>
21808 /* Override any gcc2 internal prototype to avoid an error. */
21809 /* We use char because int might match the return type of a gcc2
21810 builtin and then its argument prototype would still apply. */
21815 /* The GNU C library defines this for functions which it implements
21816 to always fail with ENOSYS. Some functions are actually named
21817 something starting with __ and the normal name is an alias. */
21818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21826 if { (eval echo configure:21827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21828 eval "ac_cv_func_
$ac_func=yes"
21830 echo "configure
: failed program was
:" >&5
21831 cat conftest.$ac_ext >&5
21833 eval "ac_cv_func_
$ac_func=no
"
21838 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21839 echo "$ac_t""yes" 1>&6
21840 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21841 cat >> confdefs.h <<EOF
21842 #define $ac_tr_func 1
21846 echo "$ac_t""no
" 1>&6
21847 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
21852 if test x$ac_cv_func_copysignl = x"yes"; then
21853 for ac_func in __signbitl
21855 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21856 echo "configure
:21857: checking
for $ac_func" >&5
21857 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21858 echo $ac_n "(cached
) $ac_c" 1>&6
21860 cat > conftest.$ac_ext <<EOF
21861 #line 21862 "configure
"
21862 #include "confdefs.h
"
21863 /* System header to define __stub macros and hopefully few prototypes,
21864 which can conflict with char $ac_func(); below. */
21865 #include <assert.h>
21866 /* Override any gcc2 internal prototype to avoid an error. */
21867 /* We use char because int might match the return type of a gcc2
21868 builtin and then its argument prototype would still apply. */
21873 /* The GNU C library defines this for functions which it implements
21874 to always fail with ENOSYS. Some functions are actually named
21875 something starting with __ and the normal name is an alias. */
21876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21884 if { (eval echo configure:21885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21886 eval "ac_cv_func_
$ac_func=yes"
21888 echo "configure
: failed program was
:" >&5
21889 cat conftest.$ac_ext >&5
21891 eval "ac_cv_func_
$ac_func=no
"
21896 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21897 echo "$ac_t""yes" 1>&6
21898 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21899 cat >> confdefs.h <<EOF
21900 #define $ac_tr_func 1
21904 echo "$ac_t""no
" 1>&6
21905 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
21911 if test -n "$LIBMATHOBJS"; then
21918 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
21919 echo "configure
:21920: checking
for mbstate_t
" >&5
21920 cat > conftest.$ac_ext <<EOF
21921 #line 21922 "configure
"
21922 #include "confdefs.h
"
21925 mbstate_t teststate;
21928 if { (eval echo configure:21929: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21932 echo "configure
: failed program was
:" >&5
21933 cat conftest.$ac_ext >&5
21938 echo "$ac_t""$have_mbstate_t" 1>&6
21939 if test x"$have_mbstate_t" = xyes; then
21940 cat >> confdefs.h <<\EOF
21941 #define HAVE_MBSTATE_T 1
21946 for ac_hdr in wchar.h
21948 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21949 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
21950 echo "configure
:21951: checking
for $ac_hdr" >&5
21951 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21952 echo $ac_n "(cached
) $ac_c" 1>&6
21954 cat > conftest.$ac_ext <<EOF
21955 #line 21956 "configure
"
21956 #include "confdefs.h
"
21959 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
21960 { (eval echo configure:21961: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21961 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
21962 if test -z "$ac_err"; then
21964 eval "ac_cv_header_
$ac_safe=yes"
21967 echo "configure
: failed program was
:" >&5
21968 cat conftest.$ac_ext >&5
21970 eval "ac_cv_header_
$ac_safe=no
"
21974 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21975 echo "$ac_t""yes" 1>&6
21976 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21977 cat >> confdefs.h <<EOF
21978 #define $ac_tr_hdr 1
21982 echo "$ac_t""no
" 1>&6
21987 for ac_hdr in wctype.h
21989 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21990 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
21991 echo "configure
:21992: checking
for $ac_hdr" >&5
21992 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21993 echo $ac_n "(cached
) $ac_c" 1>&6
21995 cat > conftest.$ac_ext <<EOF
21996 #line 21997 "configure
"
21997 #include "confdefs.h
"
22000 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22001 { (eval echo configure:22002: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22002 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22003 if test -z "$ac_err"; then
22005 eval "ac_cv_header_
$ac_safe=yes"
22008 echo "configure
: failed program was
:" >&5
22009 cat conftest.$ac_ext >&5
22011 eval "ac_cv_header_
$ac_safe=no
"
22015 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22016 echo "$ac_t""yes" 1>&6
22017 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22018 cat >> confdefs.h <<EOF
22019 #define $ac_tr_hdr 1
22021 ac_has_wctype_h=yes
22023 echo "$ac_t""no
" 1>&6
22029 if test x"$ac_has_wchar_h" = xyes &&
22030 test x"$ac_has_wctype_h" = xyes &&
22031 test x"$enable_c_mbchar" != xno; then
22033 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
22034 echo "configure
:22035: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
22035 cat > conftest.$ac_ext <<EOF
22036 #line 22037 "configure
"
22037 #include "confdefs.h
"
22040 int i = WCHAR_MIN; int j = WCHAR_MAX;
22043 if { (eval echo configure:22044: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22045 has_wchar_minmax=yes
22047 echo "configure
: failed program was
:" >&5
22048 cat conftest.$ac_ext >&5
22050 has_wchar_minmax=no
22053 echo "$ac_t""$has_wchar_minmax" 1>&6
22055 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
22056 echo "configure
:22057: checking
for WEOF
" >&5
22057 cat > conftest.$ac_ext <<EOF
22058 #line 22059 "configure
"
22059 #include "confdefs.h
"
22062 #include <stddef.h>
22067 if { (eval echo configure:22068: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22071 echo "configure
: failed program was
:" >&5
22072 cat conftest.$ac_ext >&5
22077 echo "$ac_t""$has_weof" 1>&6
22080 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
22082 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22083 echo "configure
:22084: checking
for $ac_func" >&5
22084 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22085 echo $ac_n "(cached
) $ac_c" 1>&6
22087 cat > conftest.$ac_ext <<EOF
22088 #line 22089 "configure
"
22089 #include "confdefs.h
"
22090 /* System header to define __stub macros and hopefully few prototypes,
22091 which can conflict with char $ac_func(); below. */
22092 #include <assert.h>
22093 /* Override any gcc2 internal prototype to avoid an error. */
22094 /* We use char because int might match the return type of a gcc2
22095 builtin and then its argument prototype would still apply. */
22100 /* The GNU C library defines this for functions which it implements
22101 to always fail with ENOSYS. Some functions are actually named
22102 something starting with __ and the normal name is an alias. */
22103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22111 if { (eval echo configure:22112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22113 eval "ac_cv_func_
$ac_func=yes"
22115 echo "configure
: failed program was
:" >&5
22116 cat conftest.$ac_ext >&5
22118 eval "ac_cv_func_
$ac_func=no
"
22123 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22124 echo "$ac_t""yes" 1>&6
22125 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22126 cat >> confdefs.h <<EOF
22127 #define $ac_tr_func 1
22131 echo "$ac_t""no
" 1>&6
22138 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
22139 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
22140 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
22141 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
22142 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
22143 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
22145 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22146 echo "configure
:22147: checking
for $ac_func" >&5
22147 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22148 echo $ac_n "(cached
) $ac_c" 1>&6
22150 cat > conftest.$ac_ext <<EOF
22151 #line 22152 "configure
"
22152 #include "confdefs.h
"
22153 /* System header to define __stub macros and hopefully few prototypes,
22154 which can conflict with char $ac_func(); below. */
22155 #include <assert.h>
22156 /* Override any gcc2 internal prototype to avoid an error. */
22157 /* We use char because int might match the return type of a gcc2
22158 builtin and then its argument prototype would still apply. */
22163 /* The GNU C library defines this for functions which it implements
22164 to always fail with ENOSYS. Some functions are actually named
22165 something starting with __ and the normal name is an alias. */
22166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22174 if { (eval echo configure:22175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22176 eval "ac_cv_func_
$ac_func=yes"
22178 echo "configure
: failed program was
:" >&5
22179 cat conftest.$ac_ext >&5
22181 eval "ac_cv_func_
$ac_func=no
"
22186 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22187 echo "$ac_t""yes" 1>&6
22188 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22189 cat >> confdefs.h <<EOF
22190 #define $ac_tr_func 1
22194 echo "$ac_t""no
" 1>&6
22201 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
22202 echo "configure
:22203: checking
for ISO C99 wchar_t support
" >&5
22203 if test x"$has_weof" = xyes &&
22204 test x"$has_wchar_minmax" = xyes &&
22205 test x"$ac_wfuncs" = xyes; then
22206 ac_isoC99_wchar_t=yes
22208 ac_isoC99_wchar_t=no
22210 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
22212 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
22213 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
22214 echo "configure
:22215: checking
for iconv.h
" >&5
22215 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22216 echo $ac_n "(cached
) $ac_c" 1>&6
22218 cat > conftest.$ac_ext <<EOF
22219 #line 22220 "configure
"
22220 #include "confdefs.h
"
22223 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22224 { (eval echo configure:22225: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22225 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22226 if test -z "$ac_err"; then
22228 eval "ac_cv_header_
$ac_safe=yes"
22231 echo "configure
: failed program was
:" >&5
22232 cat conftest.$ac_ext >&5
22234 eval "ac_cv_header_
$ac_safe=no
"
22238 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22239 echo "$ac_t""yes" 1>&6
22242 echo "$ac_t""no
" 1>&6
22246 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
22247 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
22248 echo "configure
:22249: checking
for langinfo.h
" >&5
22249 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22250 echo $ac_n "(cached
) $ac_c" 1>&6
22252 cat > conftest.$ac_ext <<EOF
22253 #line 22254 "configure
"
22254 #include "confdefs.h
"
22255 #include <langinfo.h>
22257 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22258 { (eval echo configure:22259: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22259 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22260 if test -z "$ac_err"; then
22262 eval "ac_cv_header_
$ac_safe=yes"
22265 echo "configure
: failed program was
:" >&5
22266 cat conftest.$ac_ext >&5
22268 eval "ac_cv_header_
$ac_safe=no
"
22272 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22273 echo "$ac_t""yes" 1>&6
22274 ac_has_langinfo_h=yes
22276 echo "$ac_t""no
" 1>&6
22277 ac_has_langinfo_h=no
22281 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
22282 echo "configure
:22283: checking
for iconv in -liconv" >&5
22283 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
22284 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
22285 echo $ac_n "(cached
) $ac_c" 1>&6
22287 ac_save_LIBS="$LIBS"
22288 LIBS="-liconv $LIBS"
22289 cat > conftest.$ac_ext <<EOF
22290 #line 22291 "configure
"
22291 #include "confdefs.h
"
22292 /* Override any gcc2 internal prototype to avoid an error. */
22293 /* We use char because int might match the return type of a gcc2
22294 builtin and then its argument prototype would still apply. */
22301 if { (eval echo configure:22302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22303 eval "ac_cv_lib_
$ac_lib_var=yes"
22305 echo "configure
: failed program was
:" >&5
22306 cat conftest.$ac_ext >&5
22308 eval "ac_cv_lib_
$ac_lib_var=no
"
22311 LIBS="$ac_save_LIBS"
22314 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
22315 echo "$ac_t""yes" 1>&6
22318 echo "$ac_t""no
" 1>&6
22321 ac_save_LIBS="$LIBS"
22322 LIBS="$LIBS $libiconv"
22324 for ac_func in iconv_open iconv_close iconv nl_langinfo
22326 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22327 echo "configure
:22328: checking
for $ac_func" >&5
22328 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22329 echo $ac_n "(cached
) $ac_c" 1>&6
22331 cat > conftest.$ac_ext <<EOF
22332 #line 22333 "configure
"
22333 #include "confdefs.h
"
22334 /* System header to define __stub macros and hopefully few prototypes,
22335 which can conflict with char $ac_func(); below. */
22336 #include <assert.h>
22337 /* Override any gcc2 internal prototype to avoid an error. */
22338 /* We use char because int might match the return type of a gcc2
22339 builtin and then its argument prototype would still apply. */
22344 /* The GNU C library defines this for functions which it implements
22345 to always fail with ENOSYS. Some functions are actually named
22346 something starting with __ and the normal name is an alias. */
22347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22355 if { (eval echo configure:22356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22357 eval "ac_cv_func_
$ac_func=yes"
22359 echo "configure
: failed program was
:" >&5
22360 cat conftest.$ac_ext >&5
22362 eval "ac_cv_func_
$ac_func=no
"
22367 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22368 echo "$ac_t""yes" 1>&6
22369 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22370 cat >> confdefs.h <<EOF
22371 #define $ac_tr_func 1
22376 echo "$ac_t""no
" 1>&6
22382 LIBS="$ac_save_LIBS"
22384 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
22385 echo "configure
:22386: checking
for XPG2 wchar_t support
" >&5
22386 if test x"$ac_has_iconv_h" = xyes &&
22387 test x"$ac_has_langinfo_h" = xyes &&
22388 test x"$ac_XPG2funcs" = xyes; then
22389 ac_XPG2_wchar_t=yes
22393 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
22395 if test x"$ac_isoC99_wchar_t" = xyes &&
22396 test x"$ac_XPG2_wchar_t" = xyes; then
22397 cat >> confdefs.h <<\EOF
22398 #define _GLIBCPP_USE_WCHAR_T 1
22404 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
22405 echo "configure
:22406: checking
for enabled wchar_t specializations
" >&5
22406 echo "$ac_t""$enable_wchar_t" 1>&6
22409 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22410 ac_save_CXXFLAGS="$CXXFLAGS"
22411 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
22414 echo $ac_n "checking
for strtold declaration
""...
$ac_c" 1>&6
22415 echo "configure
:22416: checking
for strtold declaration
" >&5
22416 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
22417 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
22418 echo $ac_n "(cached
) $ac_c" 1>&6
22423 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22424 ac_cpp='$CXXCPP $CPPFLAGS'
22425 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22426 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22427 cross_compiling=$ac_cv_prog_cxx_cross
22429 cat > conftest.$ac_ext <<EOF
22430 #line 22431 "configure
"
22431 #include "confdefs.h
"
22432 #include <stdlib.h>
22437 if { (eval echo configure:22438: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22439 glibcpp_cv_func_strtold_use=yes
22441 echo "configure
: failed program was
:" >&5
22442 cat conftest.$ac_ext >&5
22444 glibcpp_cv_func_strtold_use=no
22448 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22449 ac_cpp='$CPP $CPPFLAGS'
22450 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22451 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22452 cross_compiling=$ac_cv_prog_cc_cross
22458 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
22459 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
22460 for ac_func in strtold
22462 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22463 echo "configure
:22464: checking
for $ac_func" >&5
22464 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22465 echo $ac_n "(cached
) $ac_c" 1>&6
22467 cat > conftest.$ac_ext <<EOF
22468 #line 22469 "configure
"
22469 #include "confdefs.h
"
22470 /* System header to define __stub macros and hopefully few prototypes,
22471 which can conflict with char $ac_func(); below. */
22472 #include <assert.h>
22473 /* Override any gcc2 internal prototype to avoid an error. */
22474 /* We use char because int might match the return type of a gcc2
22475 builtin and then its argument prototype would still apply. */
22480 /* The GNU C library defines this for functions which it implements
22481 to always fail with ENOSYS. Some functions are actually named
22482 something starting with __ and the normal name is an alias. */
22483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22491 if { (eval echo configure:22492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22493 eval "ac_cv_func_
$ac_func=yes"
22495 echo "configure
: failed program was
:" >&5
22496 cat conftest.$ac_ext >&5
22498 eval "ac_cv_func_
$ac_func=no
"
22503 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22504 echo "$ac_t""yes" 1>&6
22505 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22506 cat >> confdefs.h <<EOF
22507 #define $ac_tr_func 1
22511 echo "$ac_t""no
" 1>&6
22518 echo $ac_n "checking
for strtof declaration
""...
$ac_c" 1>&6
22519 echo "configure
:22520: checking
for strtof declaration
" >&5
22520 if test x${glibcpp_cv_func_strtof_use+set} != xset; then
22521 if eval "test \"`echo '$''{'glibcpp_cv_func_strtof_use'+set}'`\" = set"; then
22522 echo $ac_n "(cached
) $ac_c" 1>&6
22527 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22528 ac_cpp='$CXXCPP $CPPFLAGS'
22529 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22530 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22531 cross_compiling=$ac_cv_prog_cxx_cross
22533 cat > conftest.$ac_ext <<EOF
22534 #line 22535 "configure
"
22535 #include "confdefs.h
"
22536 #include <stdlib.h>
22541 if { (eval echo configure:22542: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22543 glibcpp_cv_func_strtof_use=yes
22545 echo "configure
: failed program was
:" >&5
22546 cat conftest.$ac_ext >&5
22548 glibcpp_cv_func_strtof_use=no
22552 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22553 ac_cpp='$CPP $CPPFLAGS'
22554 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22555 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22556 cross_compiling=$ac_cv_prog_cc_cross
22562 echo "$ac_t""$glibcpp_cv_func_strtof_use" 1>&6
22563 if test x$glibcpp_cv_func_strtof_use = x"yes"; then
22564 for ac_func in strtof
22566 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22567 echo "configure
:22568: checking
for $ac_func" >&5
22568 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22569 echo $ac_n "(cached
) $ac_c" 1>&6
22571 cat > conftest.$ac_ext <<EOF
22572 #line 22573 "configure
"
22573 #include "confdefs.h
"
22574 /* System header to define __stub macros and hopefully few prototypes,
22575 which can conflict with char $ac_func(); below. */
22576 #include <assert.h>
22577 /* Override any gcc2 internal prototype to avoid an error. */
22578 /* We use char because int might match the return type of a gcc2
22579 builtin and then its argument prototype would still apply. */
22584 /* The GNU C library defines this for functions which it implements
22585 to always fail with ENOSYS. Some functions are actually named
22586 something starting with __ and the normal name is an alias. */
22587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22595 if { (eval echo configure:22596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22597 eval "ac_cv_func_
$ac_func=yes"
22599 echo "configure
: failed program was
:" >&5
22600 cat conftest.$ac_ext >&5
22602 eval "ac_cv_func_
$ac_func=no
"
22607 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22608 echo "$ac_t""yes" 1>&6
22609 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22610 cat >> confdefs.h <<EOF
22611 #define $ac_tr_func 1
22615 echo "$ac_t""no
" 1>&6
22621 for ac_func in drand48
22623 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22624 echo "configure
:22625: checking
for $ac_func" >&5
22625 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22626 echo $ac_n "(cached
) $ac_c" 1>&6
22628 cat > conftest.$ac_ext <<EOF
22629 #line 22630 "configure
"
22630 #include "confdefs.h
"
22631 /* System header to define __stub macros and hopefully few prototypes,
22632 which can conflict with char $ac_func(); below. */
22633 #include <assert.h>
22634 /* Override any gcc2 internal prototype to avoid an error. */
22635 /* We use char because int might match the return type of a gcc2
22636 builtin and then its argument prototype would still apply. */
22641 /* The GNU C library defines this for functions which it implements
22642 to always fail with ENOSYS. Some functions are actually named
22643 something starting with __ and the normal name is an alias. */
22644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22652 if { (eval echo configure:22653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22654 eval "ac_cv_func_
$ac_func=yes"
22656 echo "configure
: failed program was
:" >&5
22657 cat conftest.$ac_ext >&5
22659 eval "ac_cv_func_
$ac_func=no
"
22664 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22665 echo "$ac_t""yes" 1>&6
22666 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22667 cat >> confdefs.h <<EOF
22668 #define $ac_tr_func 1
22672 echo "$ac_t""no
" 1>&6
22677 CXXFLAGS="$ac_save_CXXFLAGS"
22680 # For showmanyc_helper().
22681 for ac_hdr in sys/ioctl.h sys/filio.h
22683 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22684 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
22685 echo "configure
:22686: checking
for $ac_hdr" >&5
22686 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22687 echo $ac_n "(cached
) $ac_c" 1>&6
22689 cat > conftest.$ac_ext <<EOF
22690 #line 22691 "configure
"
22691 #include "confdefs.h
"
22694 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22695 { (eval echo configure:22696: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22696 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22697 if test -z "$ac_err"; then
22699 eval "ac_cv_header_
$ac_safe=yes"
22702 echo "configure
: failed program was
:" >&5
22703 cat conftest.$ac_ext >&5
22705 eval "ac_cv_header_
$ac_safe=no
"
22709 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22710 echo "$ac_t""yes" 1>&6
22711 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22712 cat >> confdefs.h <<EOF
22713 #define $ac_tr_hdr 1
22717 echo "$ac_t""no
" 1>&6
22722 if eval "test \"`echo '$''{'glibcpp_cv_POLL'+set}'`\" = set"; then
22723 echo $ac_n "(cached
) $ac_c" 1>&6
22726 cat > conftest.$ac_ext <<EOF
22727 #line 22728 "configure
"
22728 #include "confdefs.h
"
22731 struct pollfd pfd[1]; pfd[0].events = POLLIN; poll(pfd, 1, 0);
22734 if { (eval echo configure:22735: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22736 glibcpp_cv_POLL=yes
22738 echo "configure
: failed program was
:" >&5
22739 cat conftest.$ac_ext >&5
22747 if test x$glibcpp_cv_POLL = xyes; then
22748 cat >> confdefs.h <<\EOF
22749 #define HAVE_POLL 1
22755 if eval "test \"`echo '$''{'glibcpp_cv_S_ISREG'+set}'`\" = set"; then
22756 echo $ac_n "(cached
) $ac_c" 1>&6
22759 cat > conftest.$ac_ext <<EOF
22760 #line 22761 "configure
"
22761 #include "confdefs.h
"
22762 #include <sys/stat.h>
22764 struct stat buffer; fstat(0, &buffer); S_ISREG(buffer.st_mode);
22767 if { (eval echo configure:22768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22769 glibcpp_cv_S_ISREG=yes
22771 echo "configure
: failed program was
:" >&5
22772 cat conftest.$ac_ext >&5
22774 glibcpp_cv_S_ISREG=no
22780 if eval "test \"`echo '$''{'glibcpp_cv_S_IFREG'+set}'`\" = set"; then
22781 echo $ac_n "(cached
) $ac_c" 1>&6
22784 cat > conftest.$ac_ext <<EOF
22785 #line 22786 "configure
"
22786 #include "confdefs.h
"
22787 #include <sys/stat.h>
22789 struct stat buffer; fstat(0, &buffer); S_IFREG & buffer.st_mode;
22792 if { (eval echo configure:22793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22794 glibcpp_cv_S_IFREG=yes
22796 echo "configure
: failed program was
:" >&5
22797 cat conftest.$ac_ext >&5
22799 glibcpp_cv_S_IFREG=no
22805 if test x$glibcpp_cv_S_ISREG = xyes; then
22806 cat >> confdefs.h <<\EOF
22807 #define HAVE_S_ISREG 1
22810 elif test x$glibcpp_cv_S_IFREG = xyes; then
22811 cat >> confdefs.h <<\EOF
22812 #define HAVE_S_IFREG 1
22819 ac_safe=`echo "locale.h
" | sed 'y%./+-%__p_%'`
22820 echo $ac_n "checking
for locale.h
""...
$ac_c" 1>&6
22821 echo "configure
:22822: checking
for locale.h
" >&5
22822 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22823 echo $ac_n "(cached
) $ac_c" 1>&6
22825 cat > conftest.$ac_ext <<EOF
22826 #line 22827 "configure
"
22827 #include "confdefs.h
"
22828 #include <locale.h>
22830 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22831 { (eval echo configure:22832: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22832 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22833 if test -z "$ac_err"; then
22835 eval "ac_cv_header_
$ac_safe=yes"
22838 echo "configure
: failed program was
:" >&5
22839 cat conftest.$ac_ext >&5
22841 eval "ac_cv_header_
$ac_safe=no
"
22845 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22846 echo "$ac_t""yes" 1>&6
22848 echo $ac_n "checking
for LC_MESSAGES
""...
$ac_c" 1>&6
22849 echo "configure
:22850: checking
for LC_MESSAGES
" >&5
22850 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
22851 echo $ac_n "(cached
) $ac_c" 1>&6
22853 cat > conftest.$ac_ext <<EOF
22854 #line 22855 "configure
"
22855 #include "confdefs.h
"
22856 #include <locale.h>
22861 if { (eval echo configure:22862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22863 ac_cv_val_LC_MESSAGES=yes
22865 echo "configure
: failed program was
:" >&5
22866 cat conftest.$ac_ext >&5
22868 ac_cv_val_LC_MESSAGES=no
22873 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
22874 if test $ac_cv_val_LC_MESSAGES = yes; then
22875 cat >> confdefs.h <<\EOF
22876 #define HAVE_LC_MESSAGES 1
22882 echo "$ac_t""no
" 1>&6
22887 cat > conftest.$ac_ext <<EOF
22888 #line 22889 "configure
"
22889 #include "confdefs.h
"
22891 #include <setjmp.h>
22894 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
22897 if { (eval echo configure:22898: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22899 cat >> confdefs.h <<\EOF
22900 #define HAVE_SIGSETJMP 1
22905 echo "configure
: failed program was
:" >&5
22906 cat conftest.$ac_ext >&5
22910 for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h
22912 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22913 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
22914 echo "configure
:22915: checking
for $ac_hdr" >&5
22915 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22916 echo $ac_n "(cached
) $ac_c" 1>&6
22918 cat > conftest.$ac_ext <<EOF
22919 #line 22920 "configure
"
22920 #include "confdefs.h
"
22923 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22924 { (eval echo configure:22925: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22925 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22926 if test -z "$ac_err"; then
22928 eval "ac_cv_header_
$ac_safe=yes"
22931 echo "configure
: failed program was
:" >&5
22932 cat conftest.$ac_ext >&5
22934 eval "ac_cv_header_
$ac_safe=no
"
22938 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22939 echo "$ac_t""yes" 1>&6
22940 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22941 cat >> confdefs.h <<EOF
22942 #define $ac_tr_hdr 1
22946 echo "$ac_t""no
" 1>&6
22950 for ac_func in getpagesize
22952 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22953 echo "configure
:22954: checking
for $ac_func" >&5
22954 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22955 echo $ac_n "(cached
) $ac_c" 1>&6
22957 cat > conftest.$ac_ext <<EOF
22958 #line 22959 "configure
"
22959 #include "confdefs.h
"
22960 /* System header to define __stub macros and hopefully few prototypes,
22961 which can conflict with char $ac_func(); below. */
22962 #include <assert.h>
22963 /* Override any gcc2 internal prototype to avoid an error. */
22964 /* We use char because int might match the return type of a gcc2
22965 builtin and then its argument prototype would still apply. */
22970 /* The GNU C library defines this for functions which it implements
22971 to always fail with ENOSYS. Some functions are actually named
22972 something starting with __ and the normal name is an alias. */
22973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22981 if { (eval echo configure:22982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22983 eval "ac_cv_func_
$ac_func=yes"
22985 echo "configure
: failed program was
:" >&5
22986 cat conftest.$ac_ext >&5
22988 eval "ac_cv_func_
$ac_func=no
"
22993 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22994 echo "$ac_t""yes" 1>&6
22995 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22996 cat >> confdefs.h <<EOF
22997 #define $ac_tr_func 1
23001 echo "$ac_t""no
" 1>&6
23005 echo $ac_n "checking
for working mmap
""...
$ac_c" 1>&6
23006 echo "configure
:23007: checking
for working mmap
" >&5
23007 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
23008 echo $ac_n "(cached
) $ac_c" 1>&6
23010 if test "$cross_compiling" = yes; then
23011 ac_cv_func_mmap_fixed_mapped=no
23013 cat > conftest.$ac_ext <<EOF
23014 #line 23015 "configure
"
23015 #include "confdefs.h
"
23017 /* Thanks to Mike Haertel and Jim Avera for this test.
23018 Here is a matrix of mmap possibilities:
23019 mmap private not fixed
23020 mmap private fixed at somewhere currently unmapped
23021 mmap private fixed at somewhere already mapped
23022 mmap shared not fixed
23023 mmap shared fixed at somewhere currently unmapped
23024 mmap shared fixed at somewhere already mapped
23025 For private mappings, we should verify that changes cannot be read()
23026 back from the file, nor mmap's back from the file at a different
23027 address. (There have been systems where private was not correctly
23028 implemented like the infamous i386 svr4.0, and systems where the
23029 VM page cache was not coherent with the filesystem buffer cache
23030 like early versions of FreeBSD and possibly contemporary NetBSD.)
23031 For shared mappings, we should conversely verify that changes get
23032 propogated back to all the places they're supposed to be.
23034 Grep wants private fixed already mapped.
23035 The main things grep needs to know about mmap are:
23036 * does it exist and is it safe to write into the mmap'd area
23037 * how to use it (BSD variants) */
23038 #include <sys/types.h>
23040 #include <sys/mman.h>
23042 #if HAVE_SYS_TYPES_H
23043 # include <sys/types.h>
23047 # include <stdlib.h>
23050 #if HAVE_SYS_STAT_H
23051 # include <sys/stat.h>
23055 # include <unistd.h>
23058 /* This mess was copied from the GNU getpagesize.h. */
23059 #ifndef HAVE_GETPAGESIZE
23061 /* Assume that all systems that can run configure have sys/param.h. */
23062 # ifndef HAVE_SYS_PARAM_H
23063 # define HAVE_SYS_PARAM_H 1
23066 # ifdef _SC_PAGESIZE
23067 # define getpagesize() sysconf(_SC_PAGESIZE)
23068 # else /* no _SC_PAGESIZE */
23069 # ifdef HAVE_SYS_PARAM_H
23070 # include <sys/param.h>
23071 # ifdef EXEC_PAGESIZE
23072 # define getpagesize() EXEC_PAGESIZE
23073 # else /* no EXEC_PAGESIZE */
23075 # define getpagesize() NBPG * CLSIZE
23078 # endif /* no CLSIZE */
23079 # else /* no NBPG */
23081 # define getpagesize() NBPC
23082 # else /* no NBPC */
23084 # define getpagesize() PAGESIZE
23085 # endif /* PAGESIZE */
23086 # endif /* no NBPC */
23087 # endif /* no NBPG */
23088 # endif /* no EXEC_PAGESIZE */
23089 # else /* no HAVE_SYS_PARAM_H */
23090 # define getpagesize() 8192 /* punt totally */
23091 # endif /* no HAVE_SYS_PARAM_H */
23092 # endif /* no _SC_PAGESIZE */
23094 #endif /* no HAVE_GETPAGESIZE */
23097 extern "C
" { void *malloc(unsigned); }
23105 char *data, *data2, *data3;
23109 pagesize = getpagesize();
23112 * First, make a file with some known garbage in it.
23114 data = malloc(pagesize);
23117 for (i = 0; i < pagesize; ++i)
23118 *(data + i) = rand();
23120 fd = creat("conftestmmap
", 0600);
23123 if (write(fd, data, pagesize) != pagesize)
23128 * Next, try to mmap the file at a fixed address which
23129 * already has something else allocated at it. If we can,
23130 * also make sure that we see the same garbage.
23132 fd = open("conftestmmap
", O_RDWR);
23135 data2 = malloc(2 * pagesize);
23138 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
23139 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
23140 MAP_PRIVATE | MAP_FIXED, fd, 0L))
23142 for (i = 0; i < pagesize; ++i)
23143 if (*(data + i) != *(data2 + i))
23147 * Finally, make sure that changes to the mapped area
23148 * do not percolate back to the file as seen by read().
23149 * (This is a bug on some variants of i386 svr4.0.)
23151 for (i = 0; i < pagesize; ++i)
23152 *(data2 + i) = *(data2 + i) + 1;
23153 data3 = malloc(pagesize);
23156 if (read(fd, data3, pagesize) != pagesize)
23158 for (i = 0; i < pagesize; ++i)
23159 if (*(data + i) != *(data3 + i))
23162 unlink("conftestmmap
");
23167 if { (eval echo configure:23168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
23169 ac_cv_func_mmap_fixed_mapped=yes
23171 echo "configure
: failed program was
:" >&5
23172 cat conftest.$ac_ext >&5
23174 ac_cv_func_mmap_fixed_mapped=no
23181 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
23182 if test $ac_cv_func_mmap_fixed_mapped = yes; then
23183 cat >> confdefs.h <<\EOF
23184 #define HAVE_MMAP 1
23191 # This depends on GLIBCPP_CHECK_LINKER_FEATURES, but without it assumes no.
23192 # Check whether --enable-symvers or --disable-symvers was given.
23193 if test "${enable_symvers+set}" = set; then
23194 enableval="$enable_symvers"
23195 case "$enableval" in
23196 yes) enable_symvers=yes ;;
23197 no) enable_symvers=no ;;
23198 # other names here, just as sanity checks
23199 #gnu|sun|etcetera) enable_symvers=$enableval ;;
23200 gnu) enable_symvers=$enableval ;;
23201 *) { echo "configure
: error
: Unknown argument to enable
/disable symvers
" 1>&2; exit 1; } ;;
23207 # If we never went through the GLIBCPP_CHECK_LINKER_FEATURES macro, then we
23208 # don't know enough about $LD to do tricks...
23209 if test x$enable_shared = xno ||
23211 test x$glibcpp_gnu_ld_version = x; then
23215 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
23216 if test $enable_symvers != no; then
23217 echo $ac_n "checking
for shared libgcc
""...
$ac_c" 1>&6
23218 echo "configure
:23219: checking
for shared libgcc
" >&5
23219 ac_save_CFLAGS="$CFLAGS"
23221 cat > conftest.$ac_ext <<EOF
23222 #line 23223 "configure
"
23223 #include "confdefs.h
"
23229 if { (eval echo configure:23230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23231 glibcpp_shared_libgcc=yes
23233 echo "configure
: failed program was
:" >&5
23234 cat conftest.$ac_ext >&5
23236 glibcpp_shared_libgcc=no
23239 CFLAGS="$ac_save_CFLAGS"
23240 echo "$ac_t""$glibcpp_shared_libgcc" 1>&6
23243 # For GNU ld, we need at least this version. It's 2.12 in the same format
23244 # as the tested-for version. See GLIBCPP_CHECK_LINKER_FEATURES for more.
23245 glibcpp_min_gnu_ld_version=21200
23247 # Check to see if unspecified "yes" value can win, given results
23249 if test $enable_symvers = yes ; then
23250 if test $with_gnu_ld = yes &&
23251 test $glibcpp_shared_libgcc = yes ;
23253 if test $glibcpp_gnu_ld_version -ge $glibcpp_min_gnu_ld_version ; then
23256 ac_test_CFLAGS="${CFLAGS+set}"
23257 ac_save_CFLAGS="$CFLAGS"
23258 CFLAGS='-shared -Wl,--version-script,conftest.map'
23261 echo 'FOO { global: f[a-z]o; local: *; };' > conftest.map
23263 cat > conftest.$ac_ext <<EOF
23264 #line 23265 "configure
"
23265 #include "confdefs.h
"
23271 if { (eval echo configure:23272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23275 echo "configure
: failed program was
:" >&5
23276 cat conftest.$ac_ext >&5
23279 if test "$ac_test_CFLAGS" = set; then
23280 CFLAGS="$ac_save_CFLAGS"
23282 # this is the suspicious part
23288 # just fail for now
23293 case $enable_symvers in
23295 SYMVER_MAP=config/linker-map.dummy
23298 SYMVER_MAP=config/linker-map.gnu
23299 cat >> confdefs.h <<\EOF
23300 #define _GLIBCPP_SYMVER 1
23309 if test $enable_symvers != no; then
23310 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE=
23311 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE='#'
23313 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE='#'
23314 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE=
23316 echo $ac_n "checking versioning on shared library symbols
""...
$ac_c" 1>&6
23317 echo "configure
:23318: checking versioning on shared library symbols
" >&5
23318 echo "$ac_t""$enable_symvers" 1>&6
23321 # This depends on GLIBCPP_ENABLE_SYMVERS and GLIBCPP_IS_CROSS_COMPILING.
23324 if test x"$GLIBCPP_IS_CROSS_COMPILING" = xfalse; then
23325 # Do checks for memory limit functions.
23327 setrlimit_have_headers=yes
23328 for ac_hdr in unistd.h sys/time.h sys/resource.h
23330 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
23331 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
23332 echo "configure
:23333: checking
for $ac_hdr" >&5
23333 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
23334 echo $ac_n "(cached
) $ac_c" 1>&6
23336 cat > conftest.$ac_ext <<EOF
23337 #line 23338 "configure
"
23338 #include "confdefs.h
"
23341 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
23342 { (eval echo configure:23343: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
23343 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
23344 if test -z "$ac_err"; then
23346 eval "ac_cv_header_
$ac_safe=yes"
23349 echo "configure
: failed program was
:" >&5
23350 cat conftest.$ac_ext >&5
23352 eval "ac_cv_header_
$ac_safe=no
"
23356 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
23357 echo "$ac_t""yes" 1>&6
23358 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
23359 cat >> confdefs.h <<EOF
23360 #define $ac_tr_hdr 1
23364 echo "$ac_t""no
" 1>&6
23365 setrlimit_have_headers=no
23369 # If don't have the headers, then we can't run the tests now, and we
23370 # won't be seeing any of these during testsuite compilation.
23371 if test $setrlimit_have_headers = yes; then
23372 # Can't do these in a loop, else the resulting syntax is wrong.
23374 cat > conftest.$ac_ext <<EOF
23375 #line 23376 "configure
"
23376 #include "confdefs.h
"
23377 #include <unistd.h>
23378 #include <sys/time.h>
23379 #include <sys/resource.h>
23382 int f = RLIMIT_DATA ;
23385 if { (eval echo configure:23386: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23389 echo "configure
: failed program was
:" >&5
23390 cat conftest.$ac_ext >&5
23395 cat >> confdefs.h <<EOF
23396 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
23401 cat > conftest.$ac_ext <<EOF
23402 #line 23403 "configure
"
23403 #include "confdefs.h
"
23404 #include <unistd.h>
23405 #include <sys/time.h>
23406 #include <sys/resource.h>
23409 int f = RLIMIT_RSS ;
23412 if { (eval echo configure:23413: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23416 echo "configure
: failed program was
:" >&5
23417 cat conftest.$ac_ext >&5
23422 cat >> confdefs.h <<EOF
23423 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
23428 cat > conftest.$ac_ext <<EOF
23429 #line 23430 "configure
"
23430 #include "confdefs.h
"
23431 #include <unistd.h>
23432 #include <sys/time.h>
23433 #include <sys/resource.h>
23436 int f = RLIMIT_VMEM ;
23439 if { (eval echo configure:23440: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23443 echo "configure
: failed program was
:" >&5
23444 cat conftest.$ac_ext >&5
23449 cat >> confdefs.h <<EOF
23450 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
23455 cat > conftest.$ac_ext <<EOF
23456 #line 23457 "configure
"
23457 #include "confdefs.h
"
23458 #include <unistd.h>
23459 #include <sys/time.h>
23460 #include <sys/resource.h>
23463 int f = RLIMIT_AS ;
23466 if { (eval echo configure:23467: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23470 echo "configure
: failed program was
:" >&5
23471 cat conftest.$ac_ext >&5
23476 cat >> confdefs.h <<EOF
23477 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
23482 # Check for rlimit, setrlimit.
23483 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
23484 echo $ac_n "(cached
) $ac_c" 1>&6
23487 cat > conftest.$ac_ext <<EOF
23488 #line 23489 "configure
"
23489 #include "confdefs.h
"
23490 #include <unistd.h>
23491 #include <sys/time.h>
23492 #include <sys/resource.h>
23495 struct rlimit r; setrlimit(0, &r);
23498 if { (eval echo configure:23499: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23502 echo "configure
: failed program was
:" >&5
23503 cat conftest.$ac_ext >&5
23513 echo $ac_n "checking
for testsuite memory limit support
""...
$ac_c" 1>&6
23514 echo "configure
:23515: checking
for testsuite memory limit support
" >&5
23515 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
23517 cat >> confdefs.h <<\EOF
23518 #define _GLIBCPP_MEM_LIMITS 1
23524 echo "$ac_t""$ac_mem_limits" 1>&6
23527 # Look for setenv, so that extended locale tests can be performed.
23529 echo $ac_n "checking
for setenv declaration
""...
$ac_c" 1>&6
23530 echo "configure
:23531: checking
for setenv declaration
" >&5
23531 if test x${glibcpp_cv_func_setenv_use+set} != xset; then
23532 if eval "test \"`echo '$''{'glibcpp_cv_func_setenv_use'+set}'`\" = set"; then
23533 echo $ac_n "(cached
) $ac_c" 1>&6
23538 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
23539 ac_cpp='$CXXCPP $CPPFLAGS'
23540 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
23541 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23542 cross_compiling=$ac_cv_prog_cxx_cross
23544 cat > conftest.$ac_ext <<EOF
23545 #line 23546 "configure
"
23546 #include "confdefs.h
"
23547 #include <stdlib.h>
23552 if { (eval echo configure:23553: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23554 glibcpp_cv_func_setenv_use=yes
23556 echo "configure
: failed program was
:" >&5
23557 cat conftest.$ac_ext >&5
23559 glibcpp_cv_func_setenv_use=no
23563 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
23564 ac_cpp='$CPP $CPPFLAGS'
23565 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
23566 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23567 cross_compiling=$ac_cv_prog_cc_cross
23573 echo "$ac_t""$glibcpp_cv_func_setenv_use" 1>&6
23574 if test x$glibcpp_cv_func_setenv_use = x"yes"; then
23575 for ac_func in setenv
23577 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
23578 echo "configure
:23579: checking
for $ac_func" >&5
23579 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
23580 echo $ac_n "(cached
) $ac_c" 1>&6
23582 cat > conftest.$ac_ext <<EOF
23583 #line 23584 "configure
"
23584 #include "confdefs.h
"
23585 /* System header to define __stub macros and hopefully few prototypes,
23586 which can conflict with char $ac_func(); below. */
23587 #include <assert.h>
23588 /* Override any gcc2 internal prototype to avoid an error. */
23589 /* We use char because int might match the return type of a gcc2
23590 builtin and then its argument prototype would still apply. */
23595 /* The GNU C library defines this for functions which it implements
23596 to always fail with ENOSYS. Some functions are actually named
23597 something starting with __ and the normal name is an alias. */
23598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23606 if { (eval echo configure:23607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23608 eval "ac_cv_func_
$ac_func=yes"
23610 echo "configure
: failed program was
:" >&5
23611 cat conftest.$ac_ext >&5
23613 eval "ac_cv_func_
$ac_func=no
"
23618 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
23619 echo "$ac_t""yes" 1>&6
23620 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23621 cat >> confdefs.h <<EOF
23622 #define $ac_tr_func 1
23626 echo "$ac_t""no
" 1>&6
23634 # Export file names for ABI checking.
23635 baseline_dir="${glibcpp_srcdir}/config
/abi
/${abi_baseline_pair}\$
(MULTISUBDIR
)"
23638 # Determine if checking the ABI is desirable.
23639 if test x$enable_symvers = xno; then
23640 enable_abi_check=no
23644 enable_abi_check=no ;;
23646 enable_abi_check=yes ;;
23652 if test "$enable_wchar_t" = yes; then
23653 GLIBCPP_TEST_WCHAR_T_TRUE=
23654 GLIBCPP_TEST_WCHAR_T_FALSE='#'
23656 GLIBCPP_TEST_WCHAR_T_TRUE='#'
23657 GLIBCPP_TEST_WCHAR_T_FALSE=
23661 if test "$enable_abi_check" = yes; then
23662 GLIBCPP_TEST_ABI_TRUE=
23663 GLIBCPP_TEST_ABI_FALSE='#'
23665 GLIBCPP_TEST_ABI_TRUE='#'
23666 GLIBCPP_TEST_ABI_FALSE=
23670 # Propagate the target-specific source directories through the build chain.
23671 # (Nothing currently uses cpu_include_dir directly; only ATOMICITYH
23672 # uses it, and it only gets used in this file.)
23673 OS_INC_SRCDIR=config/${os_include_dir}
23674 ATOMICITY_INC_SRCDIR=config/${ATOMICITYH}
23678 # Determine cross-compile flags and all AM_CONDITIONALs.
23682 if test "$CANADIAN" = yes; then
23691 if test "$need_libmath" = yes; then
23692 GLIBCPP_BUILD_LIBMATH_TRUE=
23693 GLIBCPP_BUILD_LIBMATH_FALSE='#'
23695 GLIBCPP_BUILD_LIBMATH_TRUE='#'
23696 GLIBCPP_BUILD_LIBMATH_FALSE=
23699 cat > confcache <<\EOF
23700 # This file is a shell script that caches the results of configure
23701 # tests run on this system so they can be shared between configure
23702 # scripts and configure runs. It is not useful on other systems.
23703 # If it contains results you don't want to keep, you may remove or edit it.
23705 # By default, configure uses ./config.cache as the cache file,
23706 # creating it if it does not exist already. You can give configure
23707 # the --cache-file=FILE option to use a different cache file; that is
23708 # what configure does when it calls configure scripts in
23709 # subdirectories, so they share the cache.
23710 # Giving --cache-file=/dev/null disables caching, for debugging configure.
23711 # config.status only pays attention to the cache file if you give it the
23712 # --recheck option to rerun configure.
23715 # The following way of writing the cache mishandles newlines in values,
23716 # but we know of no workaround that is simple, portable, and efficient.
23717 # So, don't put newlines in cache variables' values.
23718 # Ultrix sh set writes to stderr and can't be redirected directly,
23719 # and sets the high bit in the cache file unless we assign to the vars.
23721 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23723 # `set' does not quote correctly, so add quotes (double-quote substitution
23724 # turns \\\\ into \\, and sed turns \\ into \).
23726 -e "s
/'/'\\\\''/g
" \
23727 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
23730 # `set' quotes correctly as required by POSIX, so do not add quotes.
23731 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
23734 if cmp -s $cache_file confcache; then
23737 if test -w $cache_file; then
23738 echo "updating cache
$cache_file"
23739 cat confcache > $cache_file
23741 echo "not updating unwritable cache
$cache_file"
23747 if test "${multilib}" = "yes"; then
23748 multilib_arg="--enable-multilib"
23753 # Export all the install information
23755 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
23756 # exported correctly in GLIBCPP_CONFIGURE.
23757 glibcpp_toolexecdir=no
23758 glibcpp_toolexeclibdir=no
23759 glibcpp_prefixdir=${prefix}
23761 # Process the option --with-gxx-include-dir=<path to include-files directory>
23762 echo $ac_n "checking
for --with-gxx-include-dir""...
$ac_c" 1>&6
23763 echo "configure
:23764: checking
for --with-gxx-include-dir" >&5
23764 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
23765 if test "${with_gxx_include_dir+set}" = set; then
23766 withval="$with_gxx_include_dir"
23767 case "${withval}" in
23769 { echo "configure
: error
: Missing directory
for --with-gxx-include-dir" 1>&2; exit 1; }
23776 gxx_include_dir=${withval}
23783 echo "$ac_t""$gxx_include_dir" 1>&6
23785 # Process the option "--enable-version-specific-runtime-libs"
23786 echo $ac_n "checking
for --enable-version-specific-runtime-libs""...
$ac_c" 1>&6
23787 echo "configure
:23788: checking
for --enable-version-specific-runtime-libs" >&5
23788 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
23789 if test "${enable_version_specific_runtime_libs+set}" = set; then
23790 enableval="$enable_version_specific_runtime_libs"
23791 case "$enableval" in
23792 yes) version_specific_libs=yes ;;
23793 no) version_specific_libs=no ;;
23794 *) { echo "configure
: error
: Unknown argument to enable
/disable version-specific libs
" 1>&2; exit 1; };;
23797 version_specific_libs=no
23799 # Option set, now we can test it.
23800 echo "$ac_t""$version_specific_libs" 1>&6
23802 # Default case for install directory for include files.
23803 if test $version_specific_libs = no && test $gxx_include_dir = no; then
23804 gxx_include_dir='$(prefix)'/include/c++/${gcc_version}
23807 # Version-specific runtime libs processing.
23808 if test $version_specific_libs = yes; then
23809 # Need the gcc compiler version to know where to install libraries
23810 # and header files if --enable-version-specific-runtime-libs option
23812 if test x"$gxx_include_dir" = x"no
"; then
23813 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/c++
23815 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
23816 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
23819 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
23820 # Install a library built with a cross compiler in tooldir, not libdir.
23821 if test x"$glibcpp_toolexecdir" = x"no
"; then
23822 if test -n "$with_cross_host" &&
23823 test x"$with_cross_host" != x"no
"; then
23824 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
23825 glibcpp_toolexeclibdir='$(toolexecdir)/lib'
23827 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
23828 glibcpp_toolexeclibdir='$(libdir)'
23830 multi_os_directory=`$CC -print-multi-os-directory`
23831 case $multi_os_directory in
23832 .) ;; # Avoid trailing /.
23833 *) glibcpp_toolexeclibdir=$glibcpp_toolexeclibdir/$multi_os_directory ;;
23837 echo $ac_n "checking
for install location
""...
$ac_c" 1>&6
23838 echo "configure
:23839: checking
for install location
" >&5
23839 echo "$ac_t""$gxx_include_dir" 1>&6
23847 # Export all the include and flag information to Makefiles.
23849 # Root level of the build directory include sources.
23850 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include
"
23852 # Passed down for canadian crosses.
23853 if test x"$CANADIAN" = xyes; then
23854 TOPLEVEL_INCLUDES='-I$(includedir)'
23857 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
23859 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
23861 # Now, export this to all the little Makefiles....
23868 # Optimization flags that are probably a good idea for thrill-seekers. Just
23869 # uncomment the lines below and make, everything else is ready to go...
23870 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
23874 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings'
23878 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
23879 grep "enable shared
" > /dev/null; then
23880 LIBSUPCXX_PICFLAGS=-prefer-pic
23882 LIBSUPCXX_PICFLAGS=
23886 # Generate the various Makefiles, include files, and scripts.
23887 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am,
23888 # libsupc++/Makefile.am and testsuite/Makefile.am so that multilib installs
23889 # will end up installed in the correct place. To work around this not being
23890 # passed # down from config-ml.in -> top_srcdir/Makefile.am ->
23891 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
23893 cat > confcache <<\EOF
23894 # This file is a shell script that caches the results of configure
23895 # tests run on this system so they can be shared between configure
23896 # scripts and configure runs. It is not useful on other systems.
23897 # If it contains results you don't want to keep, you may remove or edit it.
23899 # By default, configure uses ./config.cache as the cache file,
23900 # creating it if it does not exist already. You can give configure
23901 # the --cache-file=FILE option to use a different cache file; that is
23902 # what configure does when it calls configure scripts in
23903 # subdirectories, so they share the cache.
23904 # Giving --cache-file=/dev/null disables caching, for debugging configure.
23905 # config.status only pays attention to the cache file if you give it the
23906 # --recheck option to rerun configure.
23909 # The following way of writing the cache mishandles newlines in values,
23910 # but we know of no workaround that is simple, portable, and efficient.
23911 # So, don't put newlines in cache variables' values.
23912 # Ultrix sh set writes to stderr and can't be redirected directly,
23913 # and sets the high bit in the cache file unless we assign to the vars.
23915 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23917 # `set' does not quote correctly, so add quotes (double-quote substitution
23918 # turns \\\\ into \\, and sed turns \\ into \).
23920 -e "s
/'/'\\\\''/g
" \
23921 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
23924 # `set' quotes correctly as required by POSIX, so do not add quotes.
23925 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
23928 if cmp -s $cache_file confcache; then
23931 if test -w $cache_file; then
23932 echo "updating cache
$cache_file"
23933 cat confcache > $cache_file
23935 echo "not updating unwritable cache
$cache_file"
23940 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
23942 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
23943 # Let make expand exec_prefix.
23944 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
23946 # Any assignment to VPATH causes Sun make to only execute
23947 # the first set of double-colon rules, so remove it if not needed.
23948 # If there is a colon in the path, we need to keep it.
23949 if test "x
$srcdir" = x.; then
23950 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
23953 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
23955 DEFS=-DHAVE_CONFIG_H
23957 # Without the ".
/", some shells look in PATH for config.status.
23958 : ${CONFIG_STATUS=./config.status}
23960 echo creating $CONFIG_STATUS
23961 rm -f $CONFIG_STATUS
23962 cat > $CONFIG_STATUS <<EOF
23964 # Generated automatically by configure.
23965 # Run this file to recreate the current configuration.
23966 # This directory was configured as follows,
23967 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23969 # $0 $ac_configure_args
23971 # Compiler output produced by configure, useful for debugging
23972 # configure, is in ./config.log if it exists.
23974 ac_cs_usage="Usage
: $CONFIG_STATUS [--recheck] [--version] [--help]"
23977 case "\
$ac_option" in
23978 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23979 echo "running \
${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
23980 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
23981 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
23982 echo "$CONFIG_STATUS generated by autoconf version
2.13"
23984 -help | --help | --hel | --he | --h)
23985 echo "\
$ac_cs_usage"; exit 0 ;;
23986 *) echo "\
$ac_cs_usage"; exit 1 ;;
23990 ac_given_srcdir=$srcdir
23991 ac_given_INSTALL="$INSTALL"
23993 trap 'rm -fr `echo "Makefile \
23994 include
/Makefile src
/Makefile \
23995 libmath
/Makefile libsupc
++/Makefile \
23996 po
/Makefile testsuite
/Makefile
scripts
/check_survey
scripts
/testsuite_flags config.h
" | sed "s
/:[^
]*//g
"` conftest*; exit 1' 1 2 15
23998 cat >> $CONFIG_STATUS <<EOF
24000 # Protect against being on the right side of a sed subst in config.status.
24001 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
24002 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
24006 s%@CFLAGS@%$CFLAGS%g
24007 s%@CPPFLAGS@%$CPPFLAGS%g
24008 s%@CXXFLAGS@%$CXXFLAGS%g
24009 s%@FFLAGS@%$FFLAGS%g
24011 s%@LDFLAGS@%$LDFLAGS%g
24013 s%@exec_prefix@%$exec_prefix%g
24014 s%@prefix@%$prefix%g
24015 s%@program_transform_name@%$program_transform_name%g
24016 s%@bindir@%$bindir%g
24017 s%@sbindir@%$sbindir%g
24018 s%@libexecdir@%$libexecdir%g
24019 s%@datadir@%$datadir%g
24020 s%@sysconfdir@%$sysconfdir%g
24021 s%@sharedstatedir@%$sharedstatedir%g
24022 s%@localstatedir@%$localstatedir%g
24023 s%@libdir@%$libdir%g
24024 s%@includedir@%$includedir%g
24025 s%@oldincludedir@%$oldincludedir%g
24026 s%@infodir@%$infodir%g
24027 s%@mandir@%$mandir%g
24028 s%@PACKAGE@%$PACKAGE%g
24029 s%@libtool_VERSION@%$libtool_VERSION%g
24030 s%@toplevel_srcdir@%$toplevel_srcdir%g
24032 s%@host_alias@%$host_alias%g
24033 s%@host_cpu@%$host_cpu%g
24034 s%@host_vendor@%$host_vendor%g
24035 s%@host_os@%$host_os%g
24036 s%@target@%$target%g
24037 s%@target_alias@%$target_alias%g
24038 s%@target_cpu@%$target_cpu%g
24039 s%@target_vendor@%$target_vendor%g
24040 s%@target_os@%$target_os%g
24042 s%@build_alias@%$build_alias%g
24043 s%@build_cpu@%$build_cpu%g
24044 s%@build_vendor@%$build_vendor%g
24045 s%@build_os@%$build_os%g
24046 s%@glibcpp_builddir@%$glibcpp_builddir%g
24047 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
24050 s%@glibcpp_basedir@%$glibcpp_basedir%g
24052 s%@glibcpp_CXX@%$glibcpp_CXX%g
24055 s%@RANLIB@%$RANLIB%g
24056 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
24057 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
24058 s%@INSTALL_DATA@%$INSTALL_DATA%g
24059 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
24060 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
24062 s%@EXEEXT@%$EXEEXT%g
24063 s%@VERSION@%$VERSION%g
24064 s%@ACLOCAL@%$ACLOCAL%g
24065 s%@AUTOCONF@%$AUTOCONF%g
24066 s%@AUTOMAKE@%$AUTOMAKE%g
24067 s%@AUTOHEADER@%$AUTOHEADER%g
24068 s%@MAKEINFO@%$MAKEINFO%g
24069 s%@SET_MAKE@%$SET_MAKE%g
24070 s%@OBJEXT@%$OBJEXT%g
24072 s%@LIBTOOL@%$LIBTOOL%g
24073 s%@CXXCPP@%$CXXCPP%g
24074 s%@enable_shared@%$enable_shared%g
24075 s%@enable_static@%$enable_static%g
24076 s%@ifGNUmake@%$ifGNUmake%g
24077 s%@LIBUNWIND_FLAG@%$LIBUNWIND_FLAG%g
24078 s%@GLIBCPP_BUILD_PCH_TRUE@%$GLIBCPP_BUILD_PCH_TRUE%g
24079 s%@GLIBCPP_BUILD_PCH_FALSE@%$GLIBCPP_BUILD_PCH_FALSE%g
24080 s%@glibcpp_PCHFLAGS@%$glibcpp_PCHFLAGS%g
24081 s%@CSTDIO_H@%$CSTDIO_H%g
24082 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
24083 s%@BASIC_FILE_CC@%$BASIC_FILE_CC%g
24085 s%@check_msgfmt@%$check_msgfmt%g
24086 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
24087 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
24088 s%@glibcpp_localedir@%$glibcpp_localedir%g
24089 s%@USE_NLS@%$USE_NLS%g
24090 s%@CLOCALE_H@%$CLOCALE_H%g
24091 s%@CCODECVT_H@%$CCODECVT_H%g
24092 s%@CMESSAGES_H@%$CMESSAGES_H%g
24093 s%@CCODECVT_CC@%$CCODECVT_CC%g
24094 s%@CCOLLATE_CC@%$CCOLLATE_CC%g
24095 s%@CCTYPE_CC@%$CCTYPE_CC%g
24096 s%@CMESSAGES_CC@%$CMESSAGES_CC%g
24097 s%@CMONEY_CC@%$CMONEY_CC%g
24098 s%@CNUMERIC_CC@%$CNUMERIC_CC%g
24099 s%@CTIME_H@%$CTIME_H%g
24100 s%@CTIME_CC@%$CTIME_CC%g
24101 s%@CLOCALE_CC@%$CLOCALE_CC%g
24102 s%@CLOCALE_INTERNAL_H@%$CLOCALE_INTERNAL_H%g
24103 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
24104 s%@GLIBCPP_C_HEADERS_C_TRUE@%$GLIBCPP_C_HEADERS_C_TRUE%g
24105 s%@GLIBCPP_C_HEADERS_C_FALSE@%$GLIBCPP_C_HEADERS_C_FALSE%g
24106 s%@GLIBCPP_C_HEADERS_C_STD_TRUE@%$GLIBCPP_C_HEADERS_C_STD_TRUE%g
24107 s%@GLIBCPP_C_HEADERS_C_STD_FALSE@%$GLIBCPP_C_HEADERS_C_STD_FALSE%g
24108 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE%g
24109 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE%g
24110 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
24111 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
24112 s%@GLIBCPP_BUILD_DEBUG_TRUE@%$GLIBCPP_BUILD_DEBUG_TRUE%g
24113 s%@GLIBCPP_BUILD_DEBUG_FALSE@%$GLIBCPP_BUILD_DEBUG_FALSE%g
24114 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
24115 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
24116 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
24117 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
24118 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
24119 s%@WERROR@%$WERROR%g
24120 s%@SYMVER_MAP@%$SYMVER_MAP%g
24121 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g
24122 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g
24123 s%@baseline_dir@%$baseline_dir%g
24124 s%@GLIBCPP_TEST_WCHAR_T_TRUE@%$GLIBCPP_TEST_WCHAR_T_TRUE%g
24125 s%@GLIBCPP_TEST_WCHAR_T_FALSE@%$GLIBCPP_TEST_WCHAR_T_FALSE%g
24126 s%@GLIBCPP_TEST_ABI_TRUE@%$GLIBCPP_TEST_ABI_TRUE%g
24127 s%@GLIBCPP_TEST_ABI_FALSE@%$GLIBCPP_TEST_ABI_FALSE%g
24128 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
24129 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
24130 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
24131 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
24132 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
24133 s%@GLIBCPP_BUILD_LIBMATH_TRUE@%$GLIBCPP_BUILD_LIBMATH_TRUE%g
24134 s%@GLIBCPP_BUILD_LIBMATH_FALSE@%$GLIBCPP_BUILD_LIBMATH_FALSE%g
24135 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
24136 s%@gxx_include_dir@%$gxx_include_dir%g
24137 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
24138 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
24139 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
24140 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
24141 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
24142 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
24143 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
24144 s%@WARN_FLAGS@%$WARN_FLAGS%g
24145 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
24150 cat >> $CONFIG_STATUS <<\EOF
24152 # Split the substitutions into bite-sized pieces for seds with
24153 # small command number limits, like on Digital OSF/1 and HP-UX.
24154 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
24155 ac_file=1 # Number of current file.
24156 ac_beg=1 # First line for current file.
24157 ac_end=$ac_max_sed_cmds # Line after last line for current file.
24160 while $ac_more_lines; do
24161 if test $ac_beg -gt 1; then
24162 sed "1,${ac_beg}d
; ${ac_end}q
" conftest.subs > conftest.s$ac_file
24164 sed "${ac_end}q
" conftest.subs > conftest.s$ac_file
24166 if test ! -s conftest.s$ac_file; then
24167 ac_more_lines=false
24168 rm -f conftest.s$ac_file
24170 if test -z "$ac_sed_cmds"; then
24171 ac_sed_cmds="sed -f conftest.s
$ac_file"
24173 ac_sed_cmds="$ac_sed_cmds |
sed -f conftest.s
$ac_file"
24175 ac_file=`expr $ac_file + 1`
24177 ac_end=`expr $ac_end + $ac_max_sed_cmds`
24180 if test -z "$ac_sed_cmds"; then
24185 cat >> $CONFIG_STATUS <<EOF
24187 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
24188 include
/Makefile src
/Makefile \
24189 libmath
/Makefile libsupc
++/Makefile \
24190 po
/Makefile testsuite
/Makefile
scripts
/check_survey
scripts
/testsuite_flags
"}
24192 cat >> $CONFIG_STATUS <<\EOF
24193 for ac_file in .. $CONFIG_FILES; do if test "x
$ac_file" != x..; then
24194 # Support "outfile
[:infile
[:infile...
]]", defaulting infile="outfile.
in".
24196 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
24197 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
24198 *) ac_file_in="${ac_file}.
in" ;;
24201 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
24203 # Remove last slash and all that follows it. Not all systems have dirname.
24204 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
24205 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
24206 # The file is in a subdirectory.
24207 test ! -d "$ac_dir" && mkdir "$ac_dir"
24208 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
24209 # A "..
/" for each directory in $ac_dir_suffix.
24210 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
24212 ac_dir_suffix= ac_dots=
24215 case "$ac_given_srcdir" in
24217 if test -z "$ac_dots"; then top_srcdir=.
24218 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
24219 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
24220 *) # Relative path.
24221 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
24222 top_srcdir="$ac_dots$ac_given_srcdir" ;;
24225 case "$ac_given_INSTALL" in
24226 [/$]*) INSTALL="$ac_given_INSTALL" ;;
24227 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
24230 echo creating "$ac_file"
24232 configure_input="Generated automatically from
`echo $ac_file_in|sed 's%.*/%%'` by configure.
"
24234 *Makefile*) ac_comsub="1i
\\
24235 # $configure_input" ;;
24239 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
24241 s%@configure_input@%$configure_input%g
24242 s%@srcdir@%$srcdir%g
24243 s%@top_srcdir@%$top_srcdir%g
24244 s%@INSTALL@%$INSTALL%g
24245 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
24249 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24250 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24252 # ac_d sets the value in "#define NAME VALUE" lines.
24253 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24254 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
24257 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
24258 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24259 ac_uB
='\([ ]\)%\1#\2define\3'
24262 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24263 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24264 ac_eB
='$%\1#\2define\3'
24268 if test "${CONFIG_HEADERS+set}" != set; then
24270 cat >> $CONFIG_STATUS <<EOF
24271 CONFIG_HEADERS="config.h"
24273 cat >> $CONFIG_STATUS <<\EOF
24275 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
24276 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24278 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
24279 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
24280 *) ac_file_in
="${ac_file}.in" ;;
24283 echo creating
$ac_file
24285 rm -f conftest.frag conftest.
in conftest.out
24286 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
24287 cat $ac_file_inputs > conftest.
in
24291 # Transform confdefs.h into a sed script conftest.vals that substitutes
24292 # the proper values into config.h.in to produce config.h. And first:
24293 # Protect against being on the right side of a sed subst in config.status.
24294 # Protect against being in an unquoted here document in config.status.
24295 rm -f conftest.vals
24296 cat > conftest.hdr
<<\EOF
24299 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
24303 sed -n -f conftest.hdr confdefs.h > conftest.vals
24306 # This sed command replaces #undef with comments. This is necessary, for
24307 # example, in the case of _POSIX_SOURCE, which is predefined and required
24308 # on some systems where configure will not decide to define it.
24309 cat >> conftest.vals <<\EOF
24310 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
24313 # Break up conftest.vals because some shells have a limit on
24314 # the size of here documents, and old seds have small limits too.
24316 rm -f conftest.tail
24319 ac_lines=`grep -c . conftest.vals
`
24320 # grep -c gives empty output for an empty file on some AIX systems.
24321 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
24322 # Write a limited-size here document to conftest.frag.
24323 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
24324 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
24326 sed -f conftest.frag conftest.in > conftest.out
24328 mv conftest.out conftest.in
24329 ' >> $CONFIG_STATUS
24330 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
24331 rm -f conftest.vals
24332 mv conftest.tail conftest.vals
24334 rm -f conftest.vals
24336 cat >> $CONFIG_STATUS <<\EOF
24337 rm -f conftest.frag conftest.h
24338 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
24339 cat conftest.in >> conftest.h
24341 if cmp -s $ac_file conftest.h 2>/dev/null; then
24342 echo "$ac_file is unchanged"
24345 # Remove last slash and all that follows it. Not all systems have dirname.
24346 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
24347 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
24348 # The file is in a subdirectory.
24349 test ! -d "$ac_dir" && mkdir "$ac_dir"
24352 mv conftest.h $ac_file
24357 cat >> $CONFIG_STATUS <<EOF
24362 with_target_subdir=${with_target_subdir}
24363 with_build_subdir=${with_build_subdir}
24364 with_multisubdir=${with_multisubdir}
24365 ac_configure_args="${multilib_arg} ${ac_configure_args}"
24366 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
24367 glibcpp_basedir=${glibcpp_basedir}
24370 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
24373 cat >> $CONFIG_STATUS <<\EOF
24374 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
24375 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
24376 if test -n "$CONFIG_FILES"; then
24377 if test -n "${with_build_subdir}" || test -n "${with_target_subdir}"; then
24378 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
24379 # Ony modify Makefiles that are just being created.
24380 case " $CONFIG_FILES" in
24382 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
24385 case $CONFIG_FILES in
24387 grep '^MULTISUBDIR =' Makefile >> src/Makefile
24390 case $CONFIG_FILES in
24391 *libsupc++/Makefile*)
24392 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
24395 case $CONFIG_FILES in
24396 *testsuite/Makefile*)
24397 grep '^MULTISUBDIR =' Makefile >> testsuite/Makefile
24402 chmod +x scripts/check_survey
24403 chmod +x scripts/testsuite_flags
24406 chmod +x $CONFIG_STATUS
24407 rm -fr confdefs* $ac_clean_files
24408 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
24412 # Sanity checking & User-visible messages.
24413 # Checks down here, otherwise they get scrolled off before
24414 # the user will notice.
24416 # Trying to get more people to read documentation. Possibly remove
24417 # check and warn all the time. There is no "informational" AC_MSG_
24418 # macro, so these are going to be printed even when --quiet/--silent
24420 if test ! -f stamp-sanity-warned; then
24421 touch stamp-sanity-warned
24423 echo "Please make certain that you read the installation information here:"
24424 echo " faster => ${srcdir}/docs/html/install.html"
24425 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
24427 echo "and the configuration information here:"
24428 echo " faster => ${srcdir}/docs/html/configopts.html"
24429 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
24431 echo "before proceeding with ${_cv_gnu_make_command}."