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-libstdcxx-pch build pre-compiled libstdc++ includes [default=yes]"
45 --enable-cstdio enable stdio for target io package.
46 --enable-cstdio=LIB use LIB target-specific 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-libstdcxx-debug build extra debug library [default=no]"
70 --enable-libstdcxx-debug-flags=FLAGS pass compiler FLAGS when building
74 --enable-symvers=style enables symbol versioning of the shared library [default=yes]"
76 --with-gxx-include-dir the installation directory for include files"
78 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory "
80 # Initialize some variables set by options.
81 # The variables have the same names as the options, with
82 # dashes changed to underlines.
84 cache_file
=.
/config.cache
93 program_transform_name
=s
,x
,x
,
101 bindir
='${exec_prefix}/bin'
102 sbindir
='${exec_prefix}/sbin'
103 libexecdir
='${exec_prefix}/libexec'
104 datadir
='${prefix}/share'
105 sysconfdir
='${prefix}/etc'
106 sharedstatedir
='${prefix}/com'
107 localstatedir
='${prefix}/var'
108 libdir
='${exec_prefix}/lib'
109 includedir
='${prefix}/include'
110 oldincludedir
='/usr/include'
111 infodir
='${prefix}/info'
112 mandir
='${prefix}/man'
114 # Initialize some other variables.
117 SHELL
=${CONFIG_SHELL-/bin/sh}
118 # Maximum number of lines to put in a shell here document.
125 # If the previous option needs an argument, assign it.
126 if test -n "$ac_prev"; then
127 eval "$ac_prev=\$ac_option"
133 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
137 # Accept the important Cygnus configure options, so we can diagnose typos.
141 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
143 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
144 bindir
="$ac_optarg" ;;
146 -build |
--build |
--buil |
--bui |
--bu)
148 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
149 build
="$ac_optarg" ;;
151 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
152 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
153 ac_prev
=cache_file
;;
154 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
155 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
156 cache_file
="$ac_optarg" ;;
158 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
160 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
162 datadir
="$ac_optarg" ;;
164 -disable-* |
--disable-*)
165 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
166 # Reject names that are not valid shell variable names.
167 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
168 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
170 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
171 eval "enable_${ac_feature}=no" ;;
173 -enable-* |
--enable-*)
174 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
175 # Reject names that are not valid shell variable names.
176 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
177 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
179 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
184 eval "enable_${ac_feature}='$ac_optarg'" ;;
186 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
187 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
188 |
--exec |
--exe |
--ex)
189 ac_prev
=exec_prefix
;;
190 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
191 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
192 |
--exec=* |
--exe=* |
--ex=*)
193 exec_prefix
="$ac_optarg" ;;
195 -gas |
--gas |
--ga |
--g)
196 # Obsolete; use --with-gas.
199 -help |
--help |
--hel |
--he)
200 # Omit some internal or obsolete options to make the list less imposing.
201 # This message is too long to be a string in the A/UX 3.1 sh.
203 Usage: configure [options] [host]
204 Options: [defaults in brackets after descriptions]
206 --cache-file=FILE cache test results in FILE
207 --help print this message
208 --no-create do not create output files
209 --quiet, --silent do not print \`checking...' messages
210 --version print the version of autoconf that created configure
211 Directory and file names:
212 --prefix=PREFIX install architecture-independent files in PREFIX
214 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
216 --bindir=DIR user executables in DIR [EPREFIX/bin]
217 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
218 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
219 --datadir=DIR read-only architecture-independent data in DIR
221 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
222 --sharedstatedir=DIR modifiable architecture-independent data in DIR
224 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
225 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
226 --includedir=DIR C header files in DIR [PREFIX/include]
227 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
228 --infodir=DIR info documentation in DIR [PREFIX/info]
229 --mandir=DIR man documentation in DIR [PREFIX/man]
230 --srcdir=DIR find the sources in DIR [configure dir or ..]
231 --program-prefix=PREFIX prepend PREFIX to installed program names
232 --program-suffix=SUFFIX append SUFFIX to installed program names
233 --program-transform-name=PROGRAM
234 run sed PROGRAM on installed program names
238 --build=BUILD configure for building on BUILD [BUILD=HOST]
239 --host=HOST configure for HOST [guessed]
240 --target=TARGET configure for TARGET [TARGET=HOST]
241 Features and packages:
242 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
243 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
244 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
245 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
246 --x-includes=DIR X include files are in DIR
247 --x-libraries=DIR X library files are in DIR
249 if test -n "$ac_help"; then
250 echo "--enable and --with options recognized:$ac_help"
254 -host |
--host |
--hos |
--ho)
256 -host=* |
--host=* |
--hos=* |
--ho=*)
259 -includedir |
--includedir |
--includedi |
--included |
--include \
260 |
--includ |
--inclu |
--incl |
--inc)
261 ac_prev
=includedir
;;
262 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
263 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
264 includedir
="$ac_optarg" ;;
266 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
268 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
269 infodir
="$ac_optarg" ;;
271 -libdir |
--libdir |
--libdi |
--libd)
273 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
274 libdir
="$ac_optarg" ;;
276 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
277 |
--libexe |
--libex |
--libe)
278 ac_prev
=libexecdir
;;
279 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
280 |
--libexe=* |
--libex=* |
--libe=*)
281 libexecdir
="$ac_optarg" ;;
283 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
284 |
--localstate |
--localstat |
--localsta |
--localst \
285 |
--locals |
--local |
--loca |
--loc |
--lo)
286 ac_prev
=localstatedir
;;
287 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
288 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
289 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
290 localstatedir
="$ac_optarg" ;;
292 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
294 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
295 mandir
="$ac_optarg" ;;
298 # Obsolete; use --without-fp.
301 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
305 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
306 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
309 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
310 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
311 |
--oldin |
--oldi |
--old |
--ol |
--o)
312 ac_prev
=oldincludedir
;;
313 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
314 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
315 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
316 oldincludedir
="$ac_optarg" ;;
318 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
320 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
321 prefix
="$ac_optarg" ;;
323 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
324 |
--program-pre |
--program-pr |
--program-p)
325 ac_prev
=program_prefix
;;
326 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
327 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
328 program_prefix
="$ac_optarg" ;;
330 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
331 |
--program-suf |
--program-su |
--program-s)
332 ac_prev
=program_suffix
;;
333 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
334 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
335 program_suffix
="$ac_optarg" ;;
337 -program-transform-name |
--program-transform-name \
338 |
--program-transform-nam |
--program-transform-na \
339 |
--program-transform-n |
--program-transform- \
340 |
--program-transform |
--program-transfor \
341 |
--program-transfo |
--program-transf \
342 |
--program-trans |
--program-tran \
343 |
--progr-tra |
--program-tr |
--program-t)
344 ac_prev
=program_transform_name
;;
345 -program-transform-name=* |
--program-transform-name=* \
346 |
--program-transform-nam=* |
--program-transform-na=* \
347 |
--program-transform-n=* |
--program-transform-=* \
348 |
--program-transform=* |
--program-transfor=* \
349 |
--program-transfo=* |
--program-transf=* \
350 |
--program-trans=* |
--program-tran=* \
351 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
352 program_transform_name
="$ac_optarg" ;;
354 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
355 |
-silent |
--silent |
--silen |
--sile |
--sil)
358 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
360 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
362 sbindir
="$ac_optarg" ;;
364 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
365 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
366 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
368 ac_prev
=sharedstatedir
;;
369 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
370 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
371 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
373 sharedstatedir
="$ac_optarg" ;;
375 -site |
--site |
--sit)
377 -site=* |
--site=* |
--sit=*)
380 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
382 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
383 srcdir
="$ac_optarg" ;;
385 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
386 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
387 ac_prev
=sysconfdir
;;
388 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
389 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
390 sysconfdir
="$ac_optarg" ;;
392 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
394 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
395 target
="$ac_optarg" ;;
397 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
400 -version |
--version |
--versio |
--versi |
--vers)
401 echo "configure generated by autoconf version 2.13"
405 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
406 # Reject names that are not valid shell variable names.
407 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
408 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
410 ac_package
=`echo $ac_package| sed 's/-/_/g'`
415 eval "with_${ac_package}='$ac_optarg'" ;;
417 -without-* |
--without-*)
418 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
419 # Reject names that are not valid shell variable names.
420 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
421 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
423 ac_package
=`echo $ac_package| sed 's/-/_/g'`
424 eval "with_${ac_package}=no" ;;
427 # Obsolete; use --with-x.
430 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
431 |
--x-incl |
--x-inc |
--x-in |
--x-i)
432 ac_prev
=x_includes
;;
433 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
434 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
435 x_includes
="$ac_optarg" ;;
437 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
438 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
439 ac_prev
=x_libraries
;;
440 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
441 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
442 x_libraries
="$ac_optarg" ;;
444 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
448 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
449 echo "configure: warning: $ac_option: invalid host type" 1>&2
451 if test "x$nonopt" != xNONE
; then
452 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
460 if test -n "$ac_prev"; then
461 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
464 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
466 # File descriptor usage:
469 # 2 errors and warnings
470 # 3 some systems may open it to /dev/tty
471 # 4 used on the Kubota Titan
472 # 6 checking for... messages and results
473 # 5 compiler messages saved in config.log
474 if test "$silent" = yes; then
482 This file contains any messages produced by compilers while
483 running configure, to aid debugging if configure makes a mistake.
486 # Strip out --no-create and --no-recursion so they do not pile up.
487 # Also quote any args containing shell metacharacters.
492 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
493 |
--no-cr |
--no-c) ;;
494 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
495 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
496 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
497 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
498 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
503 # Only set these to C if already set. These must not be set unconditionally
504 # because not all systems understand e.g. LANG=C (notably SCO).
505 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
506 # Non-C LC_CTYPE values break the ctype check.
507 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
508 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
509 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
510 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
512 # confdefs.h avoids OS command line length limits that DEFS can exceed.
513 rm -rf conftest
* confdefs.h
514 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
517 # A filename unique to this package, relative to the directory that
518 # configure is in, which we can look for to find out if srcdir is correct.
519 ac_unique_file
=src
/ios.cc
521 # Find the source files, if location was not specified.
522 if test -z "$srcdir"; then
523 ac_srcdir_defaulted
=yes
524 # Try the directory containing this script, then its parent.
526 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
527 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
529 if test ! -r $srcdir/$ac_unique_file; then
533 ac_srcdir_defaulted
=no
535 if test ! -r $srcdir/$ac_unique_file; then
536 if test "$ac_srcdir_defaulted" = yes; then
537 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
539 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
542 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
544 # Prefer explicitly selected file to automatically selected ones.
545 if test -z "$CONFIG_SITE"; then
546 if test "x$prefix" != xNONE
; then
547 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
549 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
552 for ac_site_file
in $CONFIG_SITE; do
553 if test -r "$ac_site_file"; then
554 echo "loading site script $ac_site_file"
559 if test -r "$cache_file"; then
560 echo "loading cache $cache_file"
563 echo "creating cache $cache_file"
568 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
569 ac_cpp
='$CPP $CPPFLAGS'
570 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
571 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
572 cross_compiling
=$ac_cv_prog_cc_cross
576 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
577 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
578 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
585 ac_n
= ac_c
='\c' ac_t
=
590 # This works around the fact that libtool configuration may change LD
591 # for this particular configuration, but some shells, instead of
592 # keeping the changes in LD private, export them just because LD is
593 # exported. Only used at the end of this file.
594 ORIGINAL_LD_FOR_MULTILIBS
=$LD
598 # For libtool versioning info, format is CURRENT:REVISION:AGE
599 libtool_VERSION
=6:0:0
603 # Check whether --enable-multilib or --disable-multilib was given.
604 if test "${enable_multilib+set}" = set; then
605 enableval
="$enable_multilib"
606 case "${enableval}" in
609 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
615 # When building with srcdir == objdir, links to the source files will
616 # be created in directories within the target_subdir. We have to
617 # adjust toplevel_srcdir accordingly, so that configure finds
618 # install-sh and other auxiliary files that live in the top-level
620 if test "${srcdir}" = "."; then
621 if test -z "${with_target_subdir}"; then
624 if test "${with_target_subdir}" != "."; then
625 toprel
="${with_multisrctop}../.."
627 toprel
="${with_multisrctop}.."
634 for ac_dir
in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do
635 if test -f $ac_dir/install-sh
; then
637 ac_install_sh
="$ac_aux_dir/install-sh -c"
639 elif test -f $ac_dir/install.sh
; then
641 ac_install_sh
="$ac_aux_dir/install.sh -c"
645 if test -z "$ac_aux_dir"; then
646 { echo "configure: error: can not find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" 1>&2; exit 1; }
648 ac_config_guess=$ac_aux_dir/config.guess
649 ac_config_sub=$ac_aux_dir/config.sub
650 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
652 toplevel_srcdir=\${top_srcdir}/$toprel
656 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
658 # You will slowly go insane if you do not grok the following fact: when
659 # building v3 as part of the compiler, the top-level /target/ becomes the
660 # library's /host/. `configure' then causes --target to default to --host,
661 # exactly like any other package using autoconf. Therefore, 'target' and
662 # 'host' will always be the same. This makes sense both for native and
663 # cross compilers, just think about it for a little while. :-)
665 # Also, if v3 is being configured as part of a cross compiler, the top-level
666 # configure script will pass the "real
" host as $with_cross_host.
668 # In AC 2.13 AC_CANONICAL_TARGET was known as AC_CANONICAL_SYSTEM.
670 # Do some error checking and defaulting for the host and target type.
672 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
675 # 1. You are not allowed to specify --host, --target, and nonopt at the
677 # 2. Host defaults to nonopt.
678 # 3. If nonopt is not specified, then host defaults to the current host,
679 # as determined by config.guess.
680 # 4. Target and build default to nonopt.
681 # 5. If nonopt is not specified, then target and build default to host.
683 # The aliases save the names the user supplied, while $host etc.
684 # will get canonicalized.
685 case $host---$target---$nonopt in
686 NONE---*---* | *---NONE---* | *---*---NONE) ;;
687 *) { echo "configure
: error
: can only configure
for one
host and one target
at a
time" 1>&2; exit 1; } ;;
691 # Make sure we can run config.sub.
692 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
693 else { echo "configure
: error
: can not run
$ac_config_sub" 1>&2; exit 1; }
696 echo $ac_n "checking
host system
type""...
$ac_c" 1>&6
697 echo "configure
:698: checking
host system
type" >&5
700 case "$host_alias" in
704 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
705 else { echo "configure
: error
: can not guess
host type; you must specify one
" 1>&2; exit 1; }
707 *) host_alias=$nonopt ;;
711 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
712 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
713 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
714 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
715 echo "$ac_t""$host" 1>&6
717 echo $ac_n "checking target system
type""...
$ac_c" 1>&6
718 echo "configure
:719: checking target system
type" >&5
721 case "$target_alias" in
724 NONE) target_alias=$host_alias ;;
725 *) target_alias=$nonopt ;;
729 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
730 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
731 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
732 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
733 echo "$ac_t""$target" 1>&6
735 echo $ac_n "checking build system
type""...
$ac_c" 1>&6
736 echo "configure
:737: checking build system
type" >&5
739 case "$build_alias" in
742 NONE) build_alias=$host_alias ;;
743 *) build_alias=$nonopt ;;
747 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
748 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
749 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
750 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
751 echo "$ac_t""$build" 1>&6
753 test "$host_alias" != "$target_alias" &&
754 test "$program_prefix$program_suffix$program_transform_name" = \
756 program_prefix=${target_alias}-
759 # Runs configure.host, finds CC, CXX and assorted other critical bits.
760 # Must run this before the GLIBCXX_ENABLE_* macros below.
761 if test $host != $build; then
762 ac_tool_prefix=${host_alias}-
767 echo $ac_n "checking
for Cygwin environment
""...
$ac_c" 1>&6
768 echo "configure
:769: checking
for Cygwin environment
" >&5
769 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
770 echo $ac_n "(cached
) $ac_c" 1>&6
772 cat > conftest.$ac_ext <<EOF
773 #line 774 "configure
"
774 #include "confdefs.h
"
779 #define __CYGWIN__ __CYGWIN32__
784 if { (eval echo configure:785: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
788 echo "configure
: failed program was
:" >&5
789 cat conftest.$ac_ext >&5
797 echo "$ac_t""$ac_cv_cygwin" 1>&6
799 test "$ac_cv_cygwin" = yes && CYGWIN=yes
800 echo $ac_n "checking
for mingw32 environment
""...
$ac_c" 1>&6
801 echo "configure
:802: checking
for mingw32 environment
" >&5
802 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
803 echo $ac_n "(cached
) $ac_c" 1>&6
805 cat > conftest.$ac_ext <<EOF
806 #line 807 "configure
"
807 #include "confdefs.h
"
813 if { (eval echo configure:814: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
817 echo "configure
: failed program was
:" >&5
818 cat conftest.$ac_ext >&5
826 echo "$ac_t""$ac_cv_mingw32" 1>&6
828 test "$ac_cv_mingw32" = yes && MINGW32=yes
830 # Export build and source directories.
831 # These need to be absolute paths, yet at the same time need to
832 # canonicalize only relative paths, because then amd will not unmount
833 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
834 glibcxx_builddir=`${PWDCMD-pwd}`
836 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
837 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
844 for ac_prog in gawk mawk nawk awk
846 # Extract the first word of "$ac_prog", so it can be a program name with args.
847 set dummy $ac_prog; ac_word=$2
848 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
849 echo "configure
:850: checking
for $ac_word" >&5
850 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
851 echo $ac_n "(cached
) $ac_c" 1>&6
853 if test -n "$AWK"; then
854 ac_cv_prog_AWK="$AWK" # Let the user override the test.
856 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
858 for ac_dir in $ac_dummy; do
859 test -z "$ac_dir" && ac_dir=.
860 if test -f $ac_dir/$ac_word; then
861 ac_cv_prog_AWK="$ac_prog"
868 AWK="$ac_cv_prog_AWK"
869 if test -n "$AWK"; then
870 echo "$ac_t""$AWK" 1>&6
872 echo "$ac_t""no
" 1>&6
875 test -n "$AWK" && break
878 # Will set LN_S to either 'ln -s' or 'ln'. With autoconf 2.5x, can also
879 # be 'cp -p' if linking isn't available. Uncomment the next line to
880 # force a particular method.
881 #ac_cv_prog_LN_S='cp -p'
882 echo $ac_n "checking whether
ln -s works
""...
$ac_c" 1>&6
883 echo "configure
:884: checking whether
ln -s works
" >&5
884 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
885 echo $ac_n "(cached
) $ac_c" 1>&6
888 if ln -s X conftestdata 2>/dev/null
891 ac_cv_prog_LN_S="ln -s"
896 LN_S="$ac_cv_prog_LN_S"
897 if test "$ac_cv_prog_LN_S" = "ln -s"; then
898 echo "$ac_t""yes" 1>&6
900 echo "$ac_t""no
" 1>&6
904 # We use these options to decide which functions to include.
905 # Check whether --with-target-subdir or --without-target-subdir was given.
906 if test "${with_target_subdir+set}" = set; then
907 withval="$with_target_subdir"
911 # Check whether --with-cross-host or --without-cross-host was given.
912 if test "${with_cross_host+set}" = set; then
913 withval="$with_cross_host"
918 # Check whether --with-newlib or --without-newlib was given.
919 if test "${with_newlib+set}" = set; then
920 withval="$with_newlib"
925 glibcxx_basedir=$srcdir/$toprel/./libstdc++-v3
928 # Never versions of autoconf add an underscore to these functions.
929 # Prevent future problems ...
936 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
937 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
938 # are probably using a cross compiler, which will not be able to fully
939 # link an executable. This is addressed in later versions of autoconf.
944 # Extract the first word of "gcc
", so it can be a program name with args.
945 set dummy gcc; ac_word=$2
946 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
947 echo "configure
:948: checking
for $ac_word" >&5
948 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
949 echo $ac_n "(cached
) $ac_c" 1>&6
951 if test -n "$CC"; then
952 ac_cv_prog_CC="$CC" # Let the user override the test.
954 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
956 for ac_dir in $ac_dummy; do
957 test -z "$ac_dir" && ac_dir=.
958 if test -f $ac_dir/$ac_word; then
967 if test -n "$CC"; then
968 echo "$ac_t""$CC" 1>&6
970 echo "$ac_t""no
" 1>&6
973 if test -z "$CC"; then
974 # Extract the first word of "cc
", so it can be a program name with args.
975 set dummy cc; ac_word=$2
976 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
977 echo "configure
:978: checking
for $ac_word" >&5
978 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
979 echo $ac_n "(cached
) $ac_c" 1>&6
981 if test -n "$CC"; then
982 ac_cv_prog_CC="$CC" # Let the user override the test.
984 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
987 for ac_dir in $ac_dummy; do
988 test -z "$ac_dir" && ac_dir=.
989 if test -f $ac_dir/$ac_word; then
990 if test "$ac_dir/$ac_word" = "/usr
/ucb
/cc
"; then
999 if test $ac_prog_rejected = yes; then
1000 # We found a bogon in the path, so make sure we never use it.
1001 set dummy $ac_cv_prog_CC
1003 if test $# -gt 0; then
1004 # We chose a different compiler from the bogus one.
1005 # However, it has the same basename, so the bogon will be chosen
1006 # first if we set CC to just the basename; use the full file name.
1008 set dummy "$ac_dir/$ac_word" "$@
"
1016 if test -n "$CC"; then
1017 echo "$ac_t""$CC" 1>&6
1019 echo "$ac_t""no
" 1>&6
1022 test -z "$CC" && { echo "configure
: error
: no acceptable cc found
in \
$PATH" 1>&2; exit 1; }
1025 echo $ac_n "checking whether we are using GNU C
""...
$ac_c" 1>&6
1026 echo "configure
:1027: checking whether we are using GNU C
" >&5
1027 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1028 echo $ac_n "(cached
) $ac_c" 1>&6
1030 cat > conftest.c <<EOF
1035 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1036: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1042 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1044 if test $ac_cv_prog_gcc = yes; then
1046 ac_test_CFLAGS="${CFLAGS+set}"
1047 ac_save_CFLAGS="$CFLAGS"
1049 echo $ac_n "checking whether
${CC-cc} accepts
-g""...
$ac_c" 1>&6
1050 echo "configure
:1051: checking whether
${CC-cc} accepts
-g" >&5
1051 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1052 echo $ac_n "(cached
) $ac_c" 1>&6
1054 echo 'void f(){}' > conftest.c
1055 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1064 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1065 if test "$ac_test_CFLAGS" = set; then
1066 CFLAGS="$ac_save_CFLAGS"
1067 elif test $ac_cv_prog_cc_g = yes; then
1074 test "${CFLAGS+set}" = set || CFLAGS="-g"
1078 # Likewise for AC_PROG_CXX. We can't just call it directly because g++
1079 # will try to link in libstdc++.
1083 # Use glibcxx_CXX so that we do not cause CXX to be cached with the
1084 # flags that come in CXX while configuring libstdc++. They're different
1085 # from those used for all other target libraries. If CXX is set in
1086 # the environment, respect that here.
1088 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1090 # Extract the first word of "$ac_prog", so it can be a program name with args.
1091 set dummy $ac_prog; ac_word=$2
1092 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1093 echo "configure
:1094: checking
for $ac_word" >&5
1094 if eval "test \"`echo '$''{'ac_cv_prog_glibcxx_CXX'+set}'`\" = set"; then
1095 echo $ac_n "(cached
) $ac_c" 1>&6
1097 if test -n "$glibcxx_CXX"; then
1098 ac_cv_prog_glibcxx_CXX="$glibcxx_CXX" # Let the user override the test.
1100 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1102 for ac_dir in $ac_dummy; do
1103 test -z "$ac_dir" && ac_dir=.
1104 if test -f $ac_dir/$ac_word; then
1105 ac_cv_prog_glibcxx_CXX="$ac_prog"
1112 glibcxx_CXX="$ac_cv_prog_glibcxx_CXX"
1113 if test -n "$glibcxx_CXX"; then
1114 echo "$ac_t""$glibcxx_CXX" 1>&6
1116 echo "$ac_t""no
" 1>&6
1119 test -n "$glibcxx_CXX" && break
1121 test -n "$glibcxx_CXX" || glibcxx_CXX="gcc
"
1125 test -z "$glibcxx_CXX" && { echo "configure
: error
: no acceptable c
++ found
in \
$PATH" 1>&2; exit 1; }
1127 echo $ac_n "checking whether we are using GNU C
++""...
$ac_c" 1>&6
1128 echo "configure
:1129: checking whether we are using GNU C
++" >&5
1129 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1130 echo $ac_n "(cached
) $ac_c" 1>&6
1132 cat > conftest.C <<EOF
1137 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1138: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1144 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1146 if test $ac_cv_prog_gxx = yes; then
1148 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1149 ac_save_CXXFLAGS="$CXXFLAGS"
1151 echo $ac_n "checking whether
${CXX-g++} accepts
-g""...
$ac_c" 1>&6
1152 echo "configure
:1153: checking whether
${CXX-g++} accepts
-g" >&5
1153 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1154 echo $ac_n "(cached
) $ac_c" 1>&6
1156 echo 'void f(){}' > conftest.cc
1157 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1158 ac_cv_prog_cxx_g=yes
1166 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1167 if test "$ac_test_CXXFLAGS" = set; then
1168 CXXFLAGS="$ac_save_CXXFLAGS"
1169 elif test $ac_cv_prog_cxx_g = yes; then
1176 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1180 # For directory versioning (e.g., headers) and other variables.
1181 echo $ac_n "checking
for GCC version number
""...
$ac_c" 1>&6
1182 echo "configure
:1183: checking
for GCC version number
" >&5
1183 gcc_version=`$glibcxx_CXX -dumpversion`
1184 echo "$ac_t""$gcc_version" 1>&6
1186 # For some reason, gettext needs this.
1188 echo $ac_n "checking
for strerror
in -lcposix""...
$ac_c" 1>&6
1189 echo "configure
:1190: checking
for strerror
in -lcposix" >&5
1190 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
1191 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1192 echo $ac_n "(cached
) $ac_c" 1>&6
1194 ac_save_LIBS="$LIBS"
1195 LIBS="-lcposix $LIBS"
1196 cat > conftest.$ac_ext <<EOF
1197 #line 1198 "configure
"
1198 #include "confdefs.h
"
1199 /* Override any gcc2 internal prototype to avoid an error. */
1200 /* We use char because int might match the return type of a gcc2
1201 builtin and then its argument prototype would still apply. */
1208 if { (eval echo configure:1209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1210 eval "ac_cv_lib_
$ac_lib_var=yes"
1212 echo "configure
: failed program was
:" >&5
1213 cat conftest.$ac_ext >&5
1215 eval "ac_cv_lib_
$ac_lib_var=no
"
1218 LIBS="$ac_save_LIBS"
1221 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1222 echo "$ac_t""yes" 1>&6
1223 LIBS="$LIBS -lcposix"
1225 echo "$ac_t""no
" 1>&6
1231 # Extract the first word of "${ac_tool_prefix}as
", so it can be a program name with args.
1232 set dummy ${ac_tool_prefix}as; ac_word=$2
1233 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1234 echo "configure
:1235: checking
for $ac_word" >&5
1235 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1236 echo $ac_n "(cached
) $ac_c" 1>&6
1238 if test -n "$AS"; then
1239 ac_cv_prog_AS="$AS" # Let the user override the test.
1241 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1243 for ac_dir in $ac_dummy; do
1244 test -z "$ac_dir" && ac_dir=.
1245 if test -f $ac_dir/$ac_word; then
1246 ac_cv_prog_AS="${ac_tool_prefix}as
"
1251 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as
"
1255 if test -n "$AS"; then
1256 echo "$ac_t""$AS" 1>&6
1258 echo "$ac_t""no
" 1>&6
1263 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1264 set dummy ${ac_tool_prefix}ar; ac_word=$2
1265 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1266 echo "configure
:1267: checking
for $ac_word" >&5
1267 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1268 echo $ac_n "(cached
) $ac_c" 1>&6
1270 if test -n "$AR"; then
1271 ac_cv_prog_AR="$AR" # Let the user override the test.
1273 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1275 for ac_dir in $ac_dummy; do
1276 test -z "$ac_dir" && ac_dir=.
1277 if test -f $ac_dir/$ac_word; then
1278 ac_cv_prog_AR="${ac_tool_prefix}ar"
1283 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1287 if test -n "$AR"; then
1288 echo "$ac_t""$AR" 1>&6
1290 echo "$ac_t""no
" 1>&6
1295 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
1296 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1297 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1298 echo "configure
:1299: checking
for $ac_word" >&5
1299 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1300 echo $ac_n "(cached
) $ac_c" 1>&6
1302 if test -n "$RANLIB"; then
1303 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1305 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1307 for ac_dir in $ac_dummy; do
1308 test -z "$ac_dir" && ac_dir=.
1309 if test -f $ac_dir/$ac_word; then
1310 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
1317 RANLIB="$ac_cv_prog_RANLIB"
1318 if test -n "$RANLIB"; then
1319 echo "$ac_t""$RANLIB" 1>&6
1321 echo "$ac_t""no
" 1>&6
1325 if test -z "$ac_cv_prog_RANLIB"; then
1326 if test -n "$ac_tool_prefix"; then
1327 # Extract the first word of "ranlib
", so it can be a program name with args.
1328 set dummy ranlib; ac_word=$2
1329 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1330 echo "configure
:1331: checking
for $ac_word" >&5
1331 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1332 echo $ac_n "(cached
) $ac_c" 1>&6
1334 if test -n "$RANLIB"; then
1335 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1337 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1339 for ac_dir in $ac_dummy; do
1340 test -z "$ac_dir" && ac_dir=.
1341 if test -f $ac_dir/$ac_word; then
1342 ac_cv_prog_RANLIB="ranlib
"
1347 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error
"
1350 RANLIB="$ac_cv_prog_RANLIB"
1351 if test -n "$RANLIB"; then
1352 echo "$ac_t""$RANLIB" 1>&6
1354 echo "$ac_t""no
" 1>&6
1358 RANLIB="ranlib-not-found-in-path-error
"
1362 # Find a good install program. We prefer a C program (faster),
1363 # so one script is as good as another. But avoid the broken or
1364 # incompatible versions:
1365 # SysV /etc/install, /usr/sbin/install
1366 # SunOS /usr/etc/install
1367 # IRIX /sbin/install
1369 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1370 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1371 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
1372 # ./install, which can be erroneously created by make from ./install.sh.
1373 echo $ac_n "checking
for a BSD compatible
install""...
$ac_c" 1>&6
1374 echo "configure
:1375: checking
for a BSD compatible
install" >&5
1375 if test -z "$INSTALL"; then
1376 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1377 echo $ac_n "(cached
) $ac_c" 1>&6
1379 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1380 for ac_dir in $PATH; do
1381 # Account for people who put trailing slashes in PATH elements.
1383 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1385 # OSF1 and SCO ODT 3.0 have their own names for install.
1386 # Don't use installbsd from OSF since it installs stuff as root
1388 for ac_prog in ginstall scoinst install; do
1389 if test -f $ac_dir/$ac_prog; then
1390 if test $ac_prog = install &&
1391 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1392 # AIX install. It has an incompatible calling convention.
1395 ac_cv_path_install="$ac_dir/$ac_prog -c"
1406 if test "${ac_cv_path_install+set}" = set; then
1407 INSTALL="$ac_cv_path_install"
1409 # As a last resort, use the slow shell script. We don't cache a
1410 # path for INSTALL within a source directory, because that will
1411 # break other packages using the cache if that directory is
1412 # removed, or if the path is relative.
1413 INSTALL="$ac_install_sh"
1416 echo "$ac_t""$INSTALL" 1>&6
1418 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1419 # It thinks the first close brace ends the variable substitution.
1420 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1422 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1424 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1427 echo $ac_n "checking whether to
enable maintainer-specific portions of Makefiles
""...
$ac_c" 1>&6
1428 echo "configure
:1429: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
1429 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1430 if test "${enable_maintainer_mode+set}" = set; then
1431 enableval="$enable_maintainer_mode"
1432 USE_MAINTAINER_MODE=$enableval
1434 USE_MAINTAINER_MODE=no
1437 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1440 if test $USE_MAINTAINER_MODE = yes; then
1441 MAINTAINER_MODE_TRUE=
1442 MAINTAINER_MODE_FALSE='#'
1444 MAINTAINER_MODE_TRUE='#'
1445 MAINTAINER_MODE_FALSE=
1447 MAINT=$MAINTAINER_MODE_TRUE
1451 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1452 # at least currently, we never actually build a program, so we never
1453 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1454 # fails, because we are probably configuring with a cross compiler
1455 # which can't create executables. So we include AC_EXEEXT to keep
1456 # automake happy, but we don't execute it, since we don't care about
1459 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1460 # to nothing, so nothing would remain between `then' and `fi' if it
1461 # were not for the `:' below.
1465 echo $ac_n "checking
for executable suffix
""...
$ac_c" 1>&6
1466 echo "configure
:1467: checking
for executable suffix
" >&5
1467 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1468 echo $ac_n "(cached
) $ac_c" 1>&6
1470 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1474 echo 'int main () { return 0; }' > conftest.$ac_ext
1476 if { (eval echo configure:1477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1477 for file in conftest.*; do
1479 *.c | *.o | *.obj) ;;
1480 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1484 { echo "configure
: error
: installation or configuration problem
: compiler cannot create executables.
" 1>&2; exit 1; }
1487 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1492 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1493 echo "$ac_t""${ac_cv_exeext}" 1>&6
1498 case ${glibcxx_basedir} in
1499 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcxx_basedir} ;;
1500 *) glibcxx_flagbasedir='$(top_builddir)/'${glibcxx_basedir} ;;
1503 # Set up safe default values for all subsequent AM_CONDITIONAL tests.
1507 #glibcxx_pch_comp=no
1510 #enable_abi_check=no
1513 # Find platform-specific directories containing configuration info. In
1514 # addition to possibly modifying the same flags, it also sets up symlinks.
1516 . ${glibcxx_basedir}/configure.host
1517 echo "$ac_t""CPU config directory is
$cpu_include_dir" 1>&6
1518 echo "$ac_t""OS config directory is
$os_include_dir" 1>&6
1522 am__api_version="1.4"
1523 echo $ac_n "checking whether build environment is sane
""...
$ac_c" 1>&6
1524 echo "configure
:1525: checking whether build environment is sane
" >&5
1527 echo timestamp > conftestfile
1528 # Do `set' in a subshell so we don't clobber the current shell's
1529 # arguments. Must try -L first in case configure is actually a
1530 # symlink; some systems play weird games with the mod time of symlinks
1531 # (eg FreeBSD returns the mod time of the symlink's containing
1534 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1535 if test "$
*" = "X
"; then
1537 set X `ls -t $srcdir/configure conftestfile`
1539 if test "$
*" != "X
$srcdir/configure conftestfile
" \
1540 && test "$
*" != "X conftestfile
$srcdir/configure
"; then
1542 # If neither matched, then we have a broken ls. This can happen
1543 # if, for instance, CONFIG_SHELL is bash and it inherits a
1544 # broken ls alias from the environment. This has actually
1545 # happened. Such a system could not be considered "sane
".
1546 { echo "configure
: error
: ls -t appears to fail. Make sure there is not a broken
1547 alias in your environment
" 1>&2; exit 1; }
1550 test "$2" = conftestfile
1556 { echo "configure
: error
: newly created
file is older than distributed files
!
1557 Check your system
clock" 1>&2; exit 1; }
1560 echo "$ac_t""yes" 1>&6
1561 if test "$program_transform_name" = s,x,x,; then
1562 program_transform_name=
1564 # Double any \ or $. echo might interpret backslashes.
1565 cat <<\EOF_SED > conftestsed
1566 s,\\,\\\\,g; s,\$,$$,g
1568 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
1571 test "$program_prefix" != NONE &&
1572 program_transform_name="s
,^
,${program_prefix},; $program_transform_name"
1573 # Use a double $ so make ignores it.
1574 test "$program_suffix" != NONE &&
1575 program_transform_name="s
,\$\$
,${program_suffix},; $program_transform_name"
1577 # sed with no file args requires a program.
1578 test "$program_transform_name" = "" && program_transform_name="s
,x
,x
,"
1580 echo $ac_n "checking whether
${MAKE-make} sets \
${MAKE}""...
$ac_c" 1>&6
1581 echo "configure
:1582: checking whether
${MAKE-make} sets \
${MAKE}" >&5
1582 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
1583 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
1584 echo $ac_n "(cached
) $ac_c" 1>&6
1586 cat > conftestmake <<\EOF
1588 @echo 'ac_maketemp="${MAKE}"'
1590 # GNU make sometimes prints "make[1]: Entering...
", which would confuse us.
1591 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
1592 if test -n "$ac_maketemp"; then
1593 eval ac_cv_prog_make_${ac_make}_set=yes
1595 eval ac_cv_prog_make_${ac_make}_set=no
1599 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1600 echo "$ac_t""yes" 1>&6
1603 echo "$ac_t""no
" 1>&6
1604 SET_MAKE="MAKE
=${MAKE-make}"
1610 VERSION=$gcc_version
1612 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1613 { echo "configure
: error
: source directory already configured
; run
"make distclean" there first
" 1>&2; exit 1; }
1615 cat >> confdefs.h <<EOF
1616 #define PACKAGE "$PACKAGE"
1619 cat >> confdefs.h <<EOF
1620 #define VERSION "$VERSION"
1625 missing_dir=`cd $ac_aux_dir && pwd`
1626 echo $ac_n "checking
for working aclocal-
${am__api_version}""...
$ac_c" 1>&6
1627 echo "configure
:1628: checking
for working aclocal-
${am__api_version}" >&5
1628 # Run test in a subshell; some versions of sh will print an error if
1629 # an executable is not found, even if stderr is redirected.
1630 # Redirect stdin to placate older versions of autoconf. Sigh.
1631 if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1632 ACLOCAL=aclocal-${am__api_version}
1633 echo "$ac_t""found
" 1>&6
1635 ACLOCAL="$missing_dir/missing aclocal-
${am__api_version}"
1636 echo "$ac_t""missing
" 1>&6
1639 echo $ac_n "checking
for working autoconf
""...
$ac_c" 1>&6
1640 echo "configure
:1641: checking
for working autoconf
" >&5
1641 # Run test in a subshell; some versions of sh will print an error if
1642 # an executable is not found, even if stderr is redirected.
1643 # Redirect stdin to placate older versions of autoconf. Sigh.
1644 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1646 echo "$ac_t""found
" 1>&6
1648 AUTOCONF="$missing_dir/missing autoconf
"
1649 echo "$ac_t""missing
" 1>&6
1652 echo $ac_n "checking
for working automake-
${am__api_version}""...
$ac_c" 1>&6
1653 echo "configure
:1654: checking
for working automake-
${am__api_version}" >&5
1654 # Run test in a subshell; some versions of sh will print an error if
1655 # an executable is not found, even if stderr is redirected.
1656 # Redirect stdin to placate older versions of autoconf. Sigh.
1657 if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1658 AUTOMAKE=automake-${am__api_version}
1659 echo "$ac_t""found
" 1>&6
1661 AUTOMAKE="$missing_dir/missing automake-
${am__api_version}"
1662 echo "$ac_t""missing
" 1>&6
1665 echo $ac_n "checking
for working autoheader
""...
$ac_c" 1>&6
1666 echo "configure
:1667: checking
for working autoheader
" >&5
1667 # Run test in a subshell; some versions of sh will print an error if
1668 # an executable is not found, even if stderr is redirected.
1669 # Redirect stdin to placate older versions of autoconf. Sigh.
1670 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1671 AUTOHEADER=autoheader
1672 echo "$ac_t""found
" 1>&6
1674 AUTOHEADER="$missing_dir/missing autoheader
"
1675 echo "$ac_t""missing
" 1>&6
1678 echo $ac_n "checking
for working makeinfo
""...
$ac_c" 1>&6
1679 echo "configure
:1680: checking
for working makeinfo
" >&5
1680 # Run test in a subshell; some versions of sh will print an error if
1681 # an executable is not found, even if stderr is redirected.
1682 # Redirect stdin to placate older versions of autoconf. Sigh.
1683 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1685 echo "$ac_t""found
" 1>&6
1687 MAKEINFO="$missing_dir/missing makeinfo
"
1688 echo "$ac_t""missing
" 1>&6
1697 # Check whether --enable-shared or --disable-shared was given.
1698 if test "${enable_shared+set}" = set; then
1699 enableval="$enable_shared"
1700 p=${PACKAGE-default}
1702 yes) enable_shared=yes ;;
1703 no) enable_shared=no ;;
1706 # Look at the argument we got. We use all the common list separators.
1707 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1708 for pkg in $enableval; do
1709 if test "X
$pkg" = "X
$p"; then
1720 # Check whether --enable-static or --disable-static was given.
1721 if test "${enable_static+set}" = set; then
1722 enableval="$enable_static"
1723 p=${PACKAGE-default}
1725 yes) enable_static=yes ;;
1726 no) enable_static=no ;;
1729 # Look at the argument we got. We use all the common list separators.
1730 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1731 for pkg in $enableval; do
1732 if test "X
$pkg" = "X
$p"; then
1743 # Check whether --enable-fast-install or --disable-fast-install was given.
1744 if test "${enable_fast_install+set}" = set; then
1745 enableval="$enable_fast_install"
1746 p=${PACKAGE-default}
1748 yes) enable_fast_install=yes ;;
1749 no) enable_fast_install=no ;;
1751 enable_fast_install=no
1752 # Look at the argument we got. We use all the common list separators.
1753 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1754 for pkg in $enableval; do
1755 if test "X
$pkg" = "X
$p"; then
1756 enable_fast_install=yes
1763 enable_fast_install=yes
1766 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1767 if test "${with_gnu_ld+set}" = set; then
1768 withval="$with_gnu_ld"
1769 test "$withval" = no || with_gnu_ld=yes
1775 if test "$GCC" = yes; then
1776 # Check if gcc -print-prog-name=ld gives a path.
1777 echo $ac_n "checking
for ld used by GCC
""...
$ac_c" 1>&6
1778 echo "configure
:1779: checking
for ld used by GCC
" >&5
1781 # gcc leaves a trailing carriage return which upsets mingw
1782 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1784 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1787 # Accept absolute paths.
1788 [\\/]* | [A-Za-z]:[\\/]*)
1789 re_direlt='/[^/][^/]*/\.\./'
1790 # Canonicalize the path of ld
1791 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1792 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1793 ac_prog=`echo $ac_prog| sed "s
%$re_direlt%/%"`
1795 test -z "$LD" && LD="$ac_prog"
1798 # If it fails, then pretend we aren't using GCC.
1802 # If it is relative, then search for the first ld in PATH.
1806 elif test "$with_gnu_ld" = yes; then
1807 echo $ac_n "checking
for GNU ld
""...
$ac_c" 1>&6
1808 echo "configure
:1809: checking
for GNU ld
" >&5
1810 echo $ac_n "checking
for non-GNU ld
""...
$ac_c" 1>&6
1811 echo "configure
:1812: checking
for non-GNU ld
" >&5
1813 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1814 echo $ac_n "(cached
) $ac_c" 1>&6
1816 if test -z "$LD"; then
1817 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1818 for ac_dir in $PATH; do
1819 test -z "$ac_dir" && ac_dir=.
1820 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1821 lt_cv_path_LD="$ac_dir/$ac_prog"
1822 # Check to see if the program is GNU ld. I'd rather use --version,
1823 # but apparently some GNU ld's only accept -v.
1824 # Break only if it was the GNU/non-GNU ld that we prefer.
1825 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1826 test "$with_gnu_ld" != no && break
1828 test "$with_gnu_ld" != yes && break
1834 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1839 if test -n "$LD"; then
1840 echo "$ac_t""$LD" 1>&6
1842 echo "$ac_t""no
" 1>&6
1844 test -z "$LD" && { echo "configure
: error
: no acceptable ld found
in \
$PATH" 1>&2; exit 1; }
1845 echo $ac_n "checking
if the linker
($LD) is GNU ld
""...
$ac_c" 1>&6
1846 echo "configure
:1847: checking
if the linker
($LD) is GNU ld
" >&5
1847 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1848 echo $ac_n "(cached
) $ac_c" 1>&6
1850 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1851 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1852 lt_cv_prog_gnu_ld=yes
1854 lt_cv_prog_gnu_ld=no
1858 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1859 with_gnu_ld=$lt_cv_prog_gnu_ld
1862 echo $ac_n "checking
for $LD option to reload object files
""...
$ac_c" 1>&6
1863 echo "configure
:1864: checking
for $LD option to reload object files
" >&5
1864 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1865 echo $ac_n "(cached
) $ac_c" 1>&6
1867 lt_cv_ld_reload_flag='-r'
1870 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1871 reload_flag=$lt_cv_ld_reload_flag
1872 test -n "$reload_flag" && reload_flag=" $reload_flag"
1874 echo $ac_n "checking
for BSD-compatible nm
""...
$ac_c" 1>&6
1875 echo "configure
:1876: checking
for BSD-compatible nm
" >&5
1876 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1877 echo $ac_n "(cached
) $ac_c" 1>&6
1879 if test -n "$NM"; then
1880 # Let the user override the test.
1883 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1884 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1885 test -z "$ac_dir" && ac_dir=.
1886 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1887 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1888 # Check to see if the nm accepts a BSD-compat flag.
1889 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1890 # nm: unknown option "B
" ignored
1891 # Tru64's nm complains that /dev/null is an invalid object file
1892 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1893 lt_cv_path_NM="$tmp_nm -B"
1895 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1896 lt_cv_path_NM="$tmp_nm -p"
1899 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1900 continue # so that we can try to find one that supports BSD flags
1905 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1910 echo "$ac_t""$NM" 1>&6
1912 echo $ac_n "checking how to recognise dependant libraries
""...
$ac_c" 1>&6
1913 echo "configure
:1914: checking how to recognise dependant libraries
" >&5
1914 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1915 echo $ac_n "(cached
) $ac_c" 1>&6
1917 lt_cv_file_magic_cmd='$MAGIC_CMD'
1918 lt_cv_file_magic_test_file=
1919 lt_cv_deplibs_check_method='unknown'
1920 # Need to set the preceding variable on all platforms that support
1921 # interlibrary dependencies.
1922 # 'none' -- dependencies not supported.
1923 # `unknown' -- same as none, but documents that we really don't know.
1924 # 'pass_all' -- all dependencies passed with no checks.
1925 # 'test_compile' -- check by making test program.
1926 # 'file_magic [regex]' -- check by looking for files in library path
1927 # which responds to the $file_magic_cmd with a given egrep regex.
1928 # If you have `file' or equivalent on your system and you're not sure
1929 # whether `pass_all' will *always* work, you probably want this one.
1933 lt_cv_deplibs_check_method=pass_all
1937 lt_cv_deplibs_check_method=pass_all
1941 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1942 lt_cv_file_magic_cmd='/usr/bin/file -L'
1943 lt_cv_file_magic_test_file=/shlib/libc.so
1946 cygwin* | mingw* |pw32*)
1947 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1948 lt_cv_file_magic_cmd='$OBJDUMP -f'
1951 darwin* | rhapsody*)
1952 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1953 lt_cv_file_magic_cmd='/usr/bin/file -L'
1955 rhapsody* | darwin1.012)
1956 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
1959 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
1965 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1968 # Not sure whether the presence of OpenBSD here was a mistake.
1969 # Let's accept both of them until this is cleared up.
1970 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1971 lt_cv_file_magic_cmd=/usr/bin/file
1972 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1976 lt_cv_deplibs_check_method=pass_all
1981 lt_cv_deplibs_check_method=pass_all
1987 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1988 lt_cv_file_magic_cmd=/usr/bin/file
1989 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1992 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
1993 lt_cv_file_magic_cmd=/usr/bin/file
1994 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
2002 # this will be overridden with pass_all, but let us keep it just in case
2003 lt_cv_deplibs_check_method="file_magic ELF
32-bit MSB dynamic lib MIPS
- version
1"
2007 *-32|*"-32 ") libmagic=32-bit;;
2008 *-n32|*"-n32 ") libmagic=N32;;
2009 *-64|*"-64 ") libmagic=64-bit;;
2010 *) libmagic=never-match;;
2012 # this will be overridden with pass_all, but let us keep it just in case
2013 lt_cv_deplibs_check_method="file_magic ELF
${libmagic} MSB mips-
[1234] dynamic lib MIPS
- version
1"
2016 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
2017 lt_cv_deplibs_check_method=pass_all
2020 # This must be Linux ELF.
2023 alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* )
2024 lt_cv_deplibs_check_method=pass_all ;;
2026 # glibc up to 2.1.1 does not perform some relocations on ARM
2027 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2029 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2033 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2034 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2036 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2041 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2042 lt_cv_file_magic_cmd=/usr/bin/file
2043 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2046 osf3* | osf4* | osf5*)
2047 # this will be overridden with pass_all, but let us keep it just in case
2048 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2049 lt_cv_file_magic_test_file=/shlib/libc.so
2050 lt_cv_deplibs_check_method=pass_all
2054 lt_cv_deplibs_check_method=pass_all
2058 lt_cv_deplibs_check_method=pass_all
2059 lt_cv_file_magic_test_file=/lib/libc.so
2062 sysv5uw[78]* | sysv4*uw2*)
2063 lt_cv_deplibs_check_method=pass_all
2066 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2067 case $host_vendor in
2069 lt_cv_deplibs_check_method=pass_all
2072 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]'
2073 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2081 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2082 file_magic_cmd=$lt_cv_file_magic_cmd
2083 deplibs_check_method=$lt_cv_deplibs_check_method
2085 echo $ac_n "checking
for object suffix
""...
$ac_c" 1>&6
2086 echo "configure
:2087: checking
for object suffix
" >&5
2087 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2088 echo $ac_n "(cached
) $ac_c" 1>&6
2091 echo 'int i = 1;' > conftest.$ac_ext
2092 if { (eval echo configure:2093: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2093 for ac_file in conftest.*; do
2096 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2100 { echo "configure
: error
: installation or configuration problem
; compiler does not work
" 1>&2; exit 1; }
2105 echo "$ac_t""$ac_cv_objext" 1>&6
2106 OBJEXT=$ac_cv_objext
2107 ac_objext=$ac_cv_objext
2109 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2111 # Only perform the check for file, if the check method requires it
2112 case $deplibs_check_method in
2114 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2115 echo $ac_n "checking
for ${ac_tool_prefix}file""...
$ac_c" 1>&6
2116 echo "configure
:2117: checking
for ${ac_tool_prefix}file" >&5
2117 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2118 echo $ac_n "(cached
) $ac_c" 1>&6
2122 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2125 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2128 ac_save_MAGIC_CMD="$MAGIC_CMD"
2129 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2130 ac_dummy="/usr
/bin
:$PATH"
2131 for ac_dir in $ac_dummy; do
2132 test -z "$ac_dir" && ac_dir=.
2133 if test -f $ac_dir/${ac_tool_prefix}file; then
2134 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2135 if test -n "$file_magic_test_file"; then
2136 case $deplibs_check_method in
2138 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2139 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2140 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2141 egrep "$file_magic_regex" > /dev/null; then
2146 *** Warning: the command libtool uses to detect shared libraries,
2147 *** $file_magic_cmd, produces output that libtool cannot recognize.
2148 *** The result is that libtool may fail to recognize shared libraries
2149 *** as such. This will affect the creation of libtool libraries that
2150 *** depend on shared libraries, but programs linked with such libtool
2151 *** libraries will work regardless of this problem. Nevertheless, you
2152 *** may want to report the problem to your system manager and/or to
2153 *** bug-libtool@gnu.org
2163 MAGIC_CMD="$ac_save_MAGIC_CMD"
2168 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2169 if test -n "$MAGIC_CMD"; then
2170 echo "$ac_t""$MAGIC_CMD" 1>&6
2172 echo "$ac_t""no
" 1>&6
2175 if test -z "$lt_cv_path_MAGIC_CMD"; then
2176 if test -n "$ac_tool_prefix"; then
2177 echo $ac_n "checking
for file""...
$ac_c" 1>&6
2178 echo "configure
:2179: checking
for file" >&5
2179 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2180 echo $ac_n "(cached
) $ac_c" 1>&6
2184 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2187 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2190 ac_save_MAGIC_CMD="$MAGIC_CMD"
2191 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2192 ac_dummy="/usr
/bin
:$PATH"
2193 for ac_dir in $ac_dummy; do
2194 test -z "$ac_dir" && ac_dir=.
2195 if test -f $ac_dir/file; then
2196 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2197 if test -n "$file_magic_test_file"; then
2198 case $deplibs_check_method in
2200 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2201 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2202 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2203 egrep "$file_magic_regex" > /dev/null; then
2208 *** Warning: the command libtool uses to detect shared libraries,
2209 *** $file_magic_cmd, produces output that libtool cannot recognize.
2210 *** The result is that libtool may fail to recognize shared libraries
2211 *** as such. This will affect the creation of libtool libraries that
2212 *** depend on shared libraries, but programs linked with such libtool
2213 *** libraries will work regardless of this problem. Nevertheless, you
2214 *** may want to report the problem to your system manager and/or to
2215 *** bug-libtool@gnu.org
2225 MAGIC_CMD="$ac_save_MAGIC_CMD"
2230 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2231 if test -n "$MAGIC_CMD"; then
2232 echo "$ac_t""$MAGIC_CMD" 1>&6
2234 echo "$ac_t""no
" 1>&6
2246 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
2247 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2248 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2249 echo "configure
:2250: checking
for $ac_word" >&5
2250 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2251 echo $ac_n "(cached
) $ac_c" 1>&6
2253 if test -n "$RANLIB"; then
2254 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2256 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2258 for ac_dir in $ac_dummy; do
2259 test -z "$ac_dir" && ac_dir=.
2260 if test -f $ac_dir/$ac_word; then
2261 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
2268 RANLIB="$ac_cv_prog_RANLIB"
2269 if test -n "$RANLIB"; then
2270 echo "$ac_t""$RANLIB" 1>&6
2272 echo "$ac_t""no
" 1>&6
2276 if test -z "$ac_cv_prog_RANLIB"; then
2277 if test -n "$ac_tool_prefix"; then
2278 # Extract the first word of "ranlib
", so it can be a program name with args.
2279 set dummy ranlib; ac_word=$2
2280 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2281 echo "configure
:2282: checking
for $ac_word" >&5
2282 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2283 echo $ac_n "(cached
) $ac_c" 1>&6
2285 if test -n "$RANLIB"; then
2286 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2288 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2290 for ac_dir in $ac_dummy; do
2291 test -z "$ac_dir" && ac_dir=.
2292 if test -f $ac_dir/$ac_word; then
2293 ac_cv_prog_RANLIB="ranlib
"
2298 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2301 RANLIB="$ac_cv_prog_RANLIB"
2302 if test -n "$RANLIB"; then
2303 echo "$ac_t""$RANLIB" 1>&6
2305 echo "$ac_t""no
" 1>&6
2313 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
2314 set dummy ${ac_tool_prefix}strip; ac_word=$2
2315 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2316 echo "configure
:2317: checking
for $ac_word" >&5
2317 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2318 echo $ac_n "(cached
) $ac_c" 1>&6
2320 if test -n "$STRIP"; then
2321 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2323 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2325 for ac_dir in $ac_dummy; do
2326 test -z "$ac_dir" && ac_dir=.
2327 if test -f $ac_dir/$ac_word; then
2328 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
2335 STRIP="$ac_cv_prog_STRIP"
2336 if test -n "$STRIP"; then
2337 echo "$ac_t""$STRIP" 1>&6
2339 echo "$ac_t""no
" 1>&6
2343 if test -z "$ac_cv_prog_STRIP"; then
2344 if test -n "$ac_tool_prefix"; then
2345 # Extract the first word of "strip
", so it can be a program name with args.
2346 set dummy strip; ac_word=$2
2347 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2348 echo "configure
:2349: checking
for $ac_word" >&5
2349 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2350 echo $ac_n "(cached
) $ac_c" 1>&6
2352 if test -n "$STRIP"; then
2353 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2355 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2357 for ac_dir in $ac_dummy; do
2358 test -z "$ac_dir" && ac_dir=.
2359 if test -f $ac_dir/$ac_word; then
2360 ac_cv_prog_STRIP="strip
"
2365 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2368 STRIP="$ac_cv_prog_STRIP"
2369 if test -n "$STRIP"; then
2370 echo "$ac_t""$STRIP" 1>&6
2372 echo "$ac_t""no
" 1>&6
2381 # Check for any special flags to pass to ltconfig.
2382 libtool_flags="--cache-file=$cache_file"
2383 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2384 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2385 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2386 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2387 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2388 libtool_flags="$libtool_flags --enable-dlopen"
2390 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2391 if test "${enable_libtool_lock+set}" = set; then
2392 enableval="$enable_libtool_lock"
2396 test "x
$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2397 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2399 # Check whether --with-pic or --without-pic was given.
2400 if test "${with_pic+set}" = set; then
2407 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2408 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2410 # Some flags need to be propagated to the compiler or linker for good
2414 # Find out which ABI we are using.
2415 echo '#line 2416 "configure
"' > conftest.$ac_ext
2416 if { (eval echo configure:2417: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2417 if test "$lt_cv_prog_gnu_ld" = yes; then
2418 case `/usr/bin/file conftest.$ac_objext` in
2420 LD="${LD-ld} -melf32bsmip"
2423 LD="${LD-ld} -melf32bmipn32"
2426 LD="${LD-ld} -melf64bmip"
2430 case `/usr/bin/file conftest.$ac_objext` in
2447 # Find out which ABI we are using.
2448 echo 'int i;' > conftest.$ac_ext
2449 if { (eval echo configure:2450: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2450 case "`/usr/bin/file conftest.o`" in
2462 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
2463 # Find out which ABI we are using.
2464 echo 'int i;' > conftest.$ac_ext
2465 if { (eval echo configure:2466: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2466 case "`/usr/bin/file conftest.o`" in
2470 LD="${LD-ld} -m elf_i386
"
2473 LD="${LD-ld} -m elf32ppclinux
"
2476 LD="${LD-ld} -m elf_s390
"
2479 LD="${LD-ld} -m elf32_sparc
"
2486 LD="${LD-ld} -m elf_x86_64
"
2488 ppc*-*linux*|powerpc*-*linux*)
2489 LD="${LD-ld} -m elf64ppc
"
2492 LD="${LD-ld} -m elf64_s390
"
2495 LD="${LD-ld} -m elf64_sparc
"
2505 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2506 SAVE_CFLAGS="$CFLAGS"
2507 CFLAGS="$CFLAGS -belf"
2508 echo $ac_n "checking whether the C compiler needs
-belf""...
$ac_c" 1>&6
2509 echo "configure
:2510: checking whether the C compiler needs
-belf" >&5
2510 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2511 echo $ac_n "(cached
) $ac_c" 1>&6
2515 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2516 ac_cpp='$CPP $CPPFLAGS'
2517 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2518 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2519 cross_compiling=$ac_cv_prog_cc_cross
2521 cat > conftest.$ac_ext <<EOF
2522 #line 2523 "configure
"
2523 #include "confdefs.h
"
2529 if { (eval echo configure:2530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2531 lt_cv_cc_needs_belf=yes
2533 echo "configure
: failed program was
:" >&5
2534 cat conftest.$ac_ext >&5
2536 lt_cv_cc_needs_belf=no
2540 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2541 ac_cpp='$CPP $CPPFLAGS'
2542 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2543 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2544 cross_compiling=$ac_cv_prog_cc_cross
2548 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2549 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2550 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2551 CFLAGS="$SAVE_CFLAGS"
2558 echo $ac_n "checking how to run the C
++ preprocessor
""...
$ac_c" 1>&6
2559 echo "configure
:2560: checking how to run the C
++ preprocessor
" >&5
2560 if test -z "$CXXCPP"; then
2561 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2562 echo $ac_n "(cached
) $ac_c" 1>&6
2565 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2566 ac_cpp='$CXXCPP $CPPFLAGS'
2567 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2568 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2569 cross_compiling=$ac_cv_prog_cxx_cross
2570 CXXCPP="${CXX-g++} -E"
2571 cat > conftest.$ac_ext <<EOF
2572 #line 2573 "configure
"
2573 #include "confdefs.h
"
2576 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2577 { (eval echo configure:2578: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2578 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2579 if test -z "$ac_err"; then
2583 echo "configure
: failed program was
:" >&5
2584 cat conftest.$ac_ext >&5
2589 ac_cv_prog_CXXCPP="$CXXCPP"
2591 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2592 ac_cpp='$CPP $CPPFLAGS'
2593 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2594 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2595 cross_compiling=$ac_cv_prog_cc_cross
2598 CXXCPP="$ac_cv_prog_CXXCPP"
2599 echo "$ac_t""$CXXCPP" 1>&6
2602 # Save cache, so that ltconfig can load it
2603 cat > confcache <<\EOF
2604 # This file is a shell script that caches the results of configure
2605 # tests run on this system so they can be shared between configure
2606 # scripts and configure runs. It is not useful on other systems.
2607 # If it contains results you don't want to keep, you may remove or edit it.
2609 # By default, configure uses ./config.cache as the cache file,
2610 # creating it if it does not exist already. You can give configure
2611 # the --cache-file=FILE option to use a different cache file; that is
2612 # what configure does when it calls configure scripts in
2613 # subdirectories, so they share the cache.
2614 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2615 # config.status only pays attention to the cache file if you give it the
2616 # --recheck option to rerun configure.
2619 # The following way of writing the cache mishandles newlines in values,
2620 # but we know of no workaround that is simple, portable, and efficient.
2621 # So, don't put newlines in cache variables' values.
2622 # Ultrix sh set writes to stderr and can't be redirected directly,
2623 # and sets the high bit in the cache file unless we assign to the vars.
2625 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2627 # `set' does not quote correctly, so add quotes (double-quote substitution
2628 # turns \\\\ into \\, and sed turns \\ into \).
2630 -e "s
/'/'\\\\''/g
" \
2631 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
2634 # `set' quotes correctly as required by POSIX, so do not add quotes.
2635 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2638 if cmp -s $cache_file confcache; then
2641 if test -w $cache_file; then
2642 echo "updating cache
$cache_file"
2643 cat confcache > $cache_file
2645 echo "not updating unwritable cache
$cache_file"
2651 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2652 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2653 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2654 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2655 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2656 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2657 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2658 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2659 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2660 || { echo "configure
: error
: libtool configure failed
" 1>&2; exit 1; }
2662 # Reload cache, that may have been modified by ltconfig
2663 if test -r "$cache_file"; then
2664 echo "loading cache
$cache_file"
2667 echo "creating cache
$cache_file"
2672 # This can be used to rebuild libtool when needed
2673 LIBTOOL_DEPS="$ac_aux_dir/ltconfig
$ac_aux_dir/ltmain.sh
$ac_aux_dir/ltcf-c.sh
"
2675 # Always use our own libtool.
2676 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2678 # Redirect the config.log output again, so that the ltconfig log is not
2679 # clobbered by the next message.
2680 exec 5>>./config.log
2684 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh
"
2686 lt_save_CFLAGS="$CFLAGS"
2687 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2688 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2689 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2690 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2691 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2692 deplibs_check_method="$deplibs_check_method" \
2693 file_magic_cmd="$file_magic_cmd" \
2694 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2695 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2696 || { echo "configure
: error
: libtool tag configuration failed
" 1>&2; exit 1; }
2698 CFLAGS="$lt_save_CFLAGS"
2700 # Redirect the config.log output again, so that the ltconfig log is not
2701 # clobbered by the next message.
2702 exec 5>>./config.log
2712 # Check for support bits and g++ features that don't require linking.
2713 echo $ac_n "checking
for GNU
make""...
$ac_c" 1>&6
2714 echo "configure
:2715: checking
for GNU
make" >&5
2715 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2716 echo $ac_n "(cached
) $ac_c" 1>&6
2718 _cv_gnu_make_command='' ;
2719 for a in "${MAKE-make}" make gmake gnumake ; do
2720 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2722 _cv_gnu_make_command=$a ;
2729 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2730 if test "x
$_cv_gnu_make_command" != "x
" ; then
2737 #GLIBCXX_CHECK_COMPILER_VERSION
2739 echo $ac_n "checking
for exception model to use
""...
$ac_c" 1>&6
2740 echo "configure
:2741: checking
for exception model to use
" >&5
2743 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2744 ac_cpp='$CXXCPP $CPPFLAGS'
2745 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2746 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2747 cross_compiling=$ac_cv_prog_cxx_cross
2749 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
2750 if test "${enable_sjlj_exceptions+set}" = set; then
2751 enableval="$enable_sjlj_exceptions"
2754 cat > conftest.$ac_ext << EOF
2755 #line 2756 "configure
"
2764 old_CXXFLAGS="$CXXFLAGS"
2766 if { (eval echo configure:2767: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2767 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
2768 enable_sjlj_exceptions=yes
2769 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
2770 enable_sjlj_exceptions=no
2773 CXXFLAGS="$old_CXXFLAGS"
2777 if test x$enable_sjlj_exceptions = xyes; then
2778 cat >> confdefs.h <<\EOF
2779 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
2782 ac_exception_model_name=sjlj
2783 elif test x$enable_sjlj_exceptions = xno; then
2784 ac_exception_model_name="call frame
"
2786 { echo "configure
: error
: unable to detect exception model
" 1>&2; exit 1; }
2789 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2790 ac_cpp='$CPP $CPPFLAGS'
2791 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2792 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2793 cross_compiling=$ac_cv_prog_cc_cross
2795 echo "$ac_t""$ac_exception_model_name" 1>&6
2798 echo $ac_n "checking
for use of libunwind
""...
$ac_c" 1>&6
2799 echo "configure
:2800: checking
for use of libunwind
" >&5
2800 # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
2801 if test "${enable_libunwind_exceptions+set}" = set; then
2802 enableval="$enable_libunwind_exceptions"
2803 use_libunwind_exceptions=$enableval
2805 use_libunwind_exceptions=no
2808 echo "$ac_t""$use_libunwind_exceptions" 1>&6
2809 if test x"$use_libunwind_exceptions" = xyes; then
2810 LIBUNWIND_FLAG="-lunwind"
2816 # Check whether --enable-libstdcxx_pch or --disable-libstdcxx_pch was given.
2817 if test "${enable_libstdcxx_pch+set}" = set; then
2818 enableval="$enable_libstdcxx_pch"
2819 case ${enableval} in
2820 yes) enable_libstdcxx_pch=yes ;;
2821 no) enable_libstdcxx_pch=no ;;
2822 *) { echo "configure
: error
: Unknown argument to enable
/disable PCH
" 1>&2; exit 1; } ;;
2825 enable_libstdcxx_pch=yes
2828 if test x$enable_libstdcxx_pch = xyes; then
2829 echo $ac_n "checking
for pch support
""...
$ac_c" 1>&6
2830 echo "configure
:2831: checking
for pch support
" >&5
2831 if eval "test \"`echo '$''{'libstdcxx_cv_pch_comp'+set}'`\" = set"; then
2832 echo $ac_n "(cached
) $ac_c" 1>&6
2837 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2838 ac_cpp='$CXXCPP $CPPFLAGS'
2839 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2840 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2841 cross_compiling=$ac_cv_prog_cxx_cross
2843 ac_save_CXXFLAGS=$CXXFLAGS
2844 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
2845 echo '#include <math.h>' > conftest.h
2846 if ${CXX-g++} $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
2847 -o conftest.h.gch 1>&5 2>&1 &&
2848 echo '#error "pch failed
"' > conftest.h &&
2849 echo '#include "conftest.h
"' > conftest.C &&
2850 ${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.C 1>&5 2>&1 ; then
2851 libstdcxx_cv_pch_comp=yes
2853 libstdcxx_cv_pch_comp=no
2856 CXXFLAGS=$ac_save_CXXFLAGS
2858 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2859 ac_cpp='$CPP $CPPFLAGS'
2860 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2861 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2862 cross_compiling=$ac_cv_prog_cc_cross
2867 echo "$ac_t""$libstdcxx_cv_pch_comp" 1>&6
2870 if test x"$enable_libstdcxx_pch" = xyes &&
2871 test x"$libstdcxx_cv_pch_comp" = xno; then
2872 enable_libstdcxx_pch=no
2875 echo $ac_n "checking
for enabled PCH
""...
$ac_c" 1>&6
2876 echo "configure
:2877: checking
for enabled PCH
" >&5
2877 echo "$ac_t""$enable_libstdcxx_pch" 1>&6
2881 if test "$enable_libstdcxx_pch" = yes; then
2882 GLIBCXX_BUILD_PCH_TRUE=
2883 GLIBCXX_BUILD_PCH_FALSE='#'
2885 GLIBCXX_BUILD_PCH_TRUE='#'
2886 GLIBCXX_BUILD_PCH_FALSE=
2888 if test "$enable_libstdcxx_pch" = yes; then
2889 glibcxx_PCHFLAGS="-include bits
/stdc
++.h
"
2896 # Enable all the variable C++ runtime options.
2897 # NB: C_MBCHAR must come early.
2899 echo $ac_n "checking
for cstdio to use
""...
$ac_c" 1>&6
2900 echo "configure
:2901: checking
for cstdio to use
" >&5
2901 # Check whether --enable-cstdio or --disable-cstdio was given.
2902 if test "${enable_cstdio+set}" = set; then
2903 enableval="$enable_cstdio"
2904 if test x$enable_cstdio = xno; then
2912 enable_cstdio_flag=$enable_cstdio
2914 case x${enable_cstdio_flag} in
2915 xstdio | x | xno | xnone | xyes)
2917 CSTDIO_H=config/io/c_io_stdio.h
2918 BASIC_FILE_H=config/io/basic_file_stdio.h
2919 BASIC_FILE_CC=config/io/basic_file_stdio.cc
2920 echo "$ac_t""stdio
" 1>&6
2923 echo "$enable_cstdio is an unknown io package
" 1>&2
2928 FPOS_H=$fpos_include_dir
2935 echo $ac_n "checking how to run the C preprocessor
""...
$ac_c" 1>&6
2936 echo "configure
:2937: checking how to run the C preprocessor
" >&5
2937 # On Suns, sometimes $CPP names a directory.
2938 if test -n "$CPP" && test -d "$CPP"; then
2941 if test -z "$CPP"; then
2942 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2943 echo $ac_n "(cached
) $ac_c" 1>&6
2945 # This must be in double quotes, not single quotes, because CPP may get
2946 # substituted into the Makefile and "${CC-cc}" will confuse make.
2948 # On the NeXT, cc -E runs the code through the compiler's parser,
2949 # not just through cpp.
2950 cat > conftest.$ac_ext <<EOF
2951 #line 2952 "configure
"
2952 #include "confdefs.h
"
2956 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2957 { (eval echo configure:2958: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2958 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2959 if test -z "$ac_err"; then
2963 echo "configure
: failed program was
:" >&5
2964 cat conftest.$ac_ext >&5
2966 CPP="${CC-cc} -E -traditional-cpp"
2967 cat > conftest.$ac_ext <<EOF
2968 #line 2969 "configure
"
2969 #include "confdefs.h
"
2973 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2974 { (eval echo configure:2975: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2975 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2976 if test -z "$ac_err"; then
2980 echo "configure
: failed program was
:" >&5
2981 cat conftest.$ac_ext >&5
2983 CPP="${CC-cc} -nologo -E"
2984 cat > conftest.$ac_ext <<EOF
2985 #line 2986 "configure
"
2986 #include "confdefs.h
"
2990 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2991 { (eval echo configure:2992: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2992 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2993 if test -z "$ac_err"; then
2997 echo "configure
: failed program was
:" >&5
2998 cat conftest.$ac_ext >&5
3007 ac_cv_prog_CPP="$CPP"
3009 CPP="$ac_cv_prog_CPP"
3011 ac_cv_prog_CPP="$CPP"
3013 echo "$ac_t""$CPP" 1>&6
3016 echo $ac_n "checking
for clocale to use
""...
$ac_c" 1>&6
3017 echo "configure
:3018: checking
for clocale to use
" >&5
3018 # Check whether --enable-clocale or --disable-clocale was given.
3019 if test "${enable_clocale+set}" = set; then
3020 enableval="$enable_clocale"
3021 if test x$enable_clocale = xno; then
3029 enable_clocale_flag=$enable_clocale
3031 if test x$enable_clocale_flag = xno; then
3032 case x${target_os} in
3034 cat > conftest.$ac_ext <<EOF
3035 #line 3036 "configure
"
3036 #include "confdefs.h
"
3038 #include <features.h>
3039 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
3044 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
3045 egrep "_GLIBCXX_ok
" >/dev/null 2>&1; then
3047 enable_clocale_flag=gnu
3050 enable_clocale_flag=generic
3055 # Test for bugs early in glibc-2.2.x series
3056 if test x$enable_clocale_flag = xgnu; then
3057 if test "$cross_compiling" = yes; then
3058 enable_clocale_flag=generic
3060 cat > conftest.$ac_ext <<EOF
3061 #line 3062 "configure
"
3062 #include "confdefs.h
"
3064 #define _GNU_SOURCE 1
3067 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
3068 extern __typeof(newlocale) __newlocale;
3069 extern __typeof(duplocale) __duplocale;
3070 extern __typeof(strcoll_l) __strcoll_l;
3074 const char __one[] = "Äuglein Augmen
";
3075 const char __two[] = "Äuglein
";
3080 loc = __newlocale(1 << LC_ALL, "de_DE
", 0);
3081 loc_dup = __duplocale(loc);
3082 i = __strcoll_l(__one, __two, loc);
3083 j = __strcoll_l(__one, __two, loc_dup);
3088 if { (eval echo configure:3089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3090 enable_clocale_flag=gnu
3092 echo "configure
: failed program was
:" >&5
3093 cat conftest.$ac_ext >&5
3095 enable_clocale_flag=generic
3102 # ... at some point put __strxfrm_l tests in as well.
3105 enable_clocale_flag=generic
3110 # Check whether --enable-nls or --disable-nls was given.
3111 if test "${enable_nls+set}" = set; then
3112 enableval="$enable_nls"
3120 case x${enable_clocale_flag} in
3122 echo "$ac_t""generic
" 1>&6
3124 CLOCALE_H=config/locale/generic/c_locale.h
3125 CLOCALE_CC=config/locale/generic/c_locale.cc
3126 CCODECVT_H=config/locale/generic/codecvt_specializations.h
3127 CCODECVT_CC=config/locale/generic/codecvt_members.cc
3128 CCOLLATE_CC=config/locale/generic/collate_members.cc
3129 CCTYPE_CC=config/locale/generic/ctype_members.cc
3130 CMESSAGES_H=config/locale/generic/messages_members.h
3131 CMESSAGES_CC=config/locale/generic/messages_members.cc
3132 CMONEY_CC=config/locale/generic/monetary_members.cc
3133 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3134 CTIME_H=config/locale/generic/time_members.h
3135 CTIME_CC=config/locale/generic/time_members.cc
3136 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
3139 echo "$ac_t""gnu
" 1>&6
3141 # Declare intention to use gettext, and add support for specific
3143 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
3146 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
3147 # Extract the first word of "msgfmt
", so it can be a program name with args.
3148 set dummy msgfmt; ac_word=$2
3149 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
3150 echo "configure
:3151: checking
for $ac_word" >&5
3151 if eval "test \"`echo '$''{'ac_cv_prog_check_msgfmt'+set}'`\" = set"; then
3152 echo $ac_n "(cached
) $ac_c" 1>&6
3154 if test -n "$check_msgfmt"; then
3155 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
3157 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3159 for ac_dir in $ac_dummy; do
3160 test -z "$ac_dir" && ac_dir=.
3161 if test -f $ac_dir/$ac_word; then
3162 ac_cv_prog_check_msgfmt="yes"
3167 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no
"
3170 check_msgfmt="$ac_cv_prog_check_msgfmt"
3171 if test -n "$check_msgfmt"; then
3172 echo "$ac_t""$check_msgfmt" 1>&6
3174 echo "$ac_t""no
" 1>&6
3177 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
3180 # Export the build objects.
3181 for ling in $ALL_LINGUAS; do \
3182 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo
"; \
3183 glibcxx_POFILES="$glibcxx_POFILES $ling.po
"; \
3188 CLOCALE_H=config/locale/gnu/c_locale.h
3189 CLOCALE_CC=config/locale/gnu/c_locale.cc
3190 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3191 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
3192 CCOLLATE_CC=config/locale/gnu/collate_members.cc
3193 CCTYPE_CC=config/locale/gnu/ctype_members.cc
3194 CMESSAGES_H=config/locale/gnu/messages_members.h
3195 CMESSAGES_CC=config/locale/gnu/messages_members.cc
3196 CMONEY_CC=config/locale/gnu/monetary_members.cc
3197 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
3198 CTIME_H=config/locale/gnu/time_members.h
3199 CTIME_CC=config/locale/gnu/time_members.cc
3200 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
3203 echo "$ac_t""IEEE
1003.1" 1>&6
3205 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
3206 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
3207 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3208 CCODECVT_CC=config/locale/generic/codecvt_members.cc
3209 CCOLLATE_CC=config/locale/generic/collate_members.cc
3210 CCTYPE_CC=config/locale/generic/ctype_members.cc
3211 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
3212 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
3213 CMONEY_CC=config/locale/generic/monetary_members.cc
3214 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3215 CTIME_H=config/locale/generic/time_members.h
3216 CTIME_CC=config/locale/generic/time_members.cc
3217 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
3220 echo "$enable_clocale is an unknown locale package
" 1>&2
3225 # This is where the testsuite looks for locale catalogs, using the
3226 # -DLOCALEDIR define during testsuite compilation.
3227 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
3230 # A standalone libintl (e.g., GNU libintl) may be in use.
3231 if test $USE_NLS = yes; then
3232 for ac_hdr in libintl.h
3234 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3235 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
3236 echo "configure
:3237: checking
for $ac_hdr" >&5
3237 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3238 echo $ac_n "(cached
) $ac_c" 1>&6
3240 cat > conftest.$ac_ext <<EOF
3241 #line 3242 "configure
"
3242 #include "confdefs.h
"
3245 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
3246 { (eval echo configure:3247: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3247 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
3248 if test -z "$ac_err"; then
3250 eval "ac_cv_header_
$ac_safe=yes"
3253 echo "configure
: failed program was
:" >&5
3254 cat conftest.$ac_ext >&5
3256 eval "ac_cv_header_
$ac_safe=no
"
3260 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3261 echo "$ac_t""yes" 1>&6
3262 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3263 cat >> confdefs.h <<EOF
3264 #define $ac_tr_hdr 1
3268 echo "$ac_t""no
" 1>&6
3274 echo $ac_n "checking
for library containing
gettext""...
$ac_c" 1>&6
3275 echo "configure
:3276: checking
for library containing
gettext" >&5
3276 if eval "test \"`echo '$''{'ac_cv_search_gettext'+set}'`\" = set"; then
3277 echo $ac_n "(cached
) $ac_c" 1>&6
3279 ac_func_search_save_LIBS="$LIBS"
3280 ac_cv_search_gettext="no
"
3281 cat > conftest.$ac_ext <<EOF
3282 #line 3283 "configure
"
3283 #include "confdefs.h
"
3284 /* Override any gcc2 internal prototype to avoid an error. */
3285 /* We use char because int might match the return type of a gcc2
3286 builtin and then its argument prototype would still apply. */
3293 if { (eval echo configure:3294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3295 ac_cv_search_gettext="none required
"
3297 echo "configure
: failed program was
:" >&5
3298 cat conftest.$ac_ext >&5
3301 test "$ac_cv_search_gettext" = "no
" && for i in intl; do
3302 LIBS="-l$i $ac_func_search_save_LIBS"
3303 cat > conftest.$ac_ext <<EOF
3304 #line 3305 "configure
"
3305 #include "confdefs.h
"
3306 /* Override any gcc2 internal prototype to avoid an error. */
3307 /* We use char because int might match the return type of a gcc2
3308 builtin and then its argument prototype would still apply. */
3315 if { (eval echo configure:3316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3317 ac_cv_search_gettext="-l$i"
3320 echo "configure
: failed program was
:" >&5
3321 cat conftest.$ac_ext >&5
3325 LIBS="$ac_func_search_save_LIBS"
3328 echo "$ac_t""$ac_cv_search_gettext" 1>&6
3329 if test "$ac_cv_search_gettext" != "no
"; then
3330 test "$ac_cv_search_gettext" = "none required
" || LIBS="$ac_cv_search_gettext $LIBS"
3336 if test $USE_NLS = yes; then
3337 cat >> confdefs.h <<\EOF
3338 #define _GLIBCXX_USE_NLS 1
3358 echo $ac_n "checking
for c header strategy to use
""...
$ac_c" 1>&6
3359 echo "configure
:3360: checking
for c header strategy to use
" >&5
3360 # Check whether --enable-cheaders or --disable-cheaders was given.
3361 if test "${enable_cheaders+set}" = set; then
3362 enableval="$enable_cheaders"
3364 case "$enableval" in
3369 enable_cheaders=c_std
3371 *) { echo "configure
: error
: Unknown argument to enable
/disable
"C" headers
" 1>&2; exit 1; }
3375 enable_cheaders=c_std
3378 echo "$ac_t""$enable_cheaders" 1>&6
3380 case "$enable_cheaders" in
3382 C_INCLUDE_DIR='${glibcxx_srcdir}/include/c_std'
3385 C_INCLUDE_DIR='${glibcxx_srcdir}/include/c'
3392 if test "$enable_cheaders" = c; then
3393 GLIBCXX_C_HEADERS_C_TRUE=
3394 GLIBCXX_C_HEADERS_C_FALSE='#'
3396 GLIBCXX_C_HEADERS_C_TRUE='#'
3397 GLIBCXX_C_HEADERS_C_FALSE=
3401 if test "$enable_cheaders" = c_std; then
3402 GLIBCXX_C_HEADERS_C_STD_TRUE=
3403 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
3405 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
3406 GLIBCXX_C_HEADERS_C_STD_FALSE=
3410 if test "$c_compatibility" = yes; then
3411 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
3412 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
3414 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
3415 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
3418 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3419 if test "${enable_c_mbchar+set}" = set; then
3420 enableval="$enable_c_mbchar"
3421 case "$enableval" in
3422 yes) enable_c_mbchar=yes ;;
3423 no) enable_c_mbchar=no ;;
3424 *) { echo "configure
: error
: Unknown argument to enable
/disable c-mbchar
" 1>&2; exit 1; } ;;
3431 # Check whether --enable-c99 or --disable-c99 was given.
3432 if test "${enable_c99+set}" = set; then
3433 enableval="$enable_c99"
3434 case "$enableval" in
3435 yes) enable_c99=yes ;;
3436 no) enable_c99=no ;;
3437 *) { echo "configure
: error
: Unknown argument to enable
/disable C99
" 1>&2; exit 1; } ;;
3445 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3446 ac_cpp='$CXXCPP $CPPFLAGS'
3447 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3448 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3449 cross_compiling=$ac_cv_prog_cxx_cross
3452 # Check for the existence of <math.h> functions used if C99 is enabled.
3454 echo $ac_n "checking
for ISO C99 support
in <math.h
>""...
$ac_c" 1>&6
3455 echo "configure
:3456: checking
for ISO C99 support
in <math.h
>" >&5
3456 cat > conftest.$ac_ext <<EOF
3457 #line 3458 "configure
"
3458 #include "confdefs.h
"
3464 if { (eval echo configure:3465: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3467 echo "configure
: failed program was
:" >&5
3468 cat conftest.$ac_ext >&5
3473 cat > conftest.$ac_ext <<EOF
3474 #line 3475 "configure
"
3475 #include "confdefs.h
"
3481 if { (eval echo configure:3482: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3484 echo "configure
: failed program was
:" >&5
3485 cat conftest.$ac_ext >&5
3490 cat > conftest.$ac_ext <<EOF
3491 #line 3492 "configure
"
3492 #include "confdefs.h
"
3498 if { (eval echo configure:3499: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3501 echo "configure
: failed program was
:" >&5
3502 cat conftest.$ac_ext >&5
3507 cat > conftest.$ac_ext <<EOF
3508 #line 3509 "configure
"
3509 #include "confdefs.h
"
3515 if { (eval echo configure:3516: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3518 echo "configure
: failed program was
:" >&5
3519 cat conftest.$ac_ext >&5
3524 cat > conftest.$ac_ext <<EOF
3525 #line 3526 "configure
"
3526 #include "confdefs.h
"
3532 if { (eval echo configure:3533: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3535 echo "configure
: failed program was
:" >&5
3536 cat conftest.$ac_ext >&5
3541 cat > conftest.$ac_ext <<EOF
3542 #line 3543 "configure
"
3543 #include "confdefs.h
"
3549 if { (eval echo configure:3550: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3552 echo "configure
: failed program was
:" >&5
3553 cat conftest.$ac_ext >&5
3558 cat > conftest.$ac_ext <<EOF
3559 #line 3560 "configure
"
3560 #include "confdefs.h
"
3566 if { (eval echo configure:3567: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3569 echo "configure
: failed program was
:" >&5
3570 cat conftest.$ac_ext >&5
3575 cat > conftest.$ac_ext <<EOF
3576 #line 3577 "configure
"
3577 #include "confdefs.h
"
3580 isgreaterequal(0.0,0.0);
3583 if { (eval echo configure:3584: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3586 echo "configure
: failed program was
:" >&5
3587 cat conftest.$ac_ext >&5
3592 cat > conftest.$ac_ext <<EOF
3593 #line 3594 "configure
"
3594 #include "confdefs.h
"
3600 if { (eval echo configure:3601: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3603 echo "configure
: failed program was
:" >&5
3604 cat conftest.$ac_ext >&5
3609 cat > conftest.$ac_ext <<EOF
3610 #line 3611 "configure
"
3611 #include "confdefs.h
"
3614 islessequal(0.0,0.0);
3617 if { (eval echo configure:3618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3620 echo "configure
: failed program was
:" >&5
3621 cat conftest.$ac_ext >&5
3626 cat > conftest.$ac_ext <<EOF
3627 #line 3628 "configure
"
3628 #include "confdefs.h
"
3631 islessgreater(0.0,0.0);
3634 if { (eval echo configure:3635: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3637 echo "configure
: failed program was
:" >&5
3638 cat conftest.$ac_ext >&5
3643 cat > conftest.$ac_ext <<EOF
3644 #line 3645 "configure
"
3645 #include "confdefs.h
"
3648 isunordered(0.0,0.0);
3651 if { (eval echo configure:3652: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3654 echo "configure
: failed program was
:" >&5
3655 cat conftest.$ac_ext >&5
3660 echo "$ac_t""$ac_c99_math" 1>&6
3662 # Check for the existence in <stdio.h> of vscanf, et. al.
3664 echo $ac_n "checking
for ISO C99 support
in <stdio.h
>""...
$ac_c" 1>&6
3665 echo "configure
:3666: checking
for ISO C99 support
in <stdio.h
>" >&5
3666 cat > conftest.$ac_ext <<EOF
3667 #line 3668 "configure
"
3668 #include "confdefs.h
"
3671 snprintf("12", 0, "%i
");
3674 if { (eval echo configure:3675: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3677 echo "configure
: failed program was
:" >&5
3678 cat conftest.$ac_ext >&5
3683 cat > conftest.$ac_ext <<EOF
3684 #line 3685 "configure
"
3685 #include "confdefs.h
"
3688 void foo(char* fmt, ...)
3689 {va_list args; va_start(args, fmt);
3690 vfscanf(stderr, "%i
", args);}
3695 if { (eval echo configure:3696: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3698 echo "configure
: failed program was
:" >&5
3699 cat conftest.$ac_ext >&5
3704 cat > conftest.$ac_ext <<EOF
3705 #line 3706 "configure
"
3706 #include "confdefs.h
"
3709 void foo(char* fmt, ...)
3710 {va_list args; va_start(args, fmt);
3711 vscanf("%i
", args);}
3716 if { (eval echo configure:3717: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3719 echo "configure
: failed program was
:" >&5
3720 cat conftest.$ac_ext >&5
3725 cat > conftest.$ac_ext <<EOF
3726 #line 3727 "configure
"
3727 #include "confdefs.h
"
3730 void foo(char* fmt, ...)
3731 {va_list args; va_start(args, fmt);
3732 vsnprintf(fmt, 0, "%i
", args);}
3737 if { (eval echo configure:3738: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3740 echo "configure
: failed program was
:" >&5
3741 cat conftest.$ac_ext >&5
3746 cat > conftest.$ac_ext <<EOF
3747 #line 3748 "configure
"
3748 #include "confdefs.h
"
3751 void foo(char* fmt, ...)
3752 {va_list args; va_start(args, fmt);
3753 vsscanf(fmt, "%i
", args);}
3758 if { (eval echo configure:3759: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3761 echo "configure
: failed program was
:" >&5
3762 cat conftest.$ac_ext >&5
3767 echo "$ac_t""$ac_c99_stdio" 1>&6
3769 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3771 echo $ac_n "checking
for lldiv_t declaration
""...
$ac_c" 1>&6
3772 echo "configure
:3773: checking
for lldiv_t declaration
" >&5
3773 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3774 echo $ac_n "(cached
) $ac_c" 1>&6
3777 cat > conftest.$ac_ext <<EOF
3778 #line 3779 "configure
"
3779 #include "confdefs.h
"
3785 if { (eval echo configure:3786: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3789 echo "configure
: failed program was
:" >&5
3790 cat conftest.$ac_ext >&5
3798 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3800 echo $ac_n "checking
for ISO C99 support
in <stdlib.h
>""...
$ac_c" 1>&6
3801 echo "configure
:3802: checking
for ISO C99 support
in <stdlib.h
>" >&5
3802 cat > conftest.$ac_ext <<EOF
3803 #line 3804 "configure
"
3804 #include "confdefs.h
"
3807 char* tmp; strtof("gnu
", &tmp);
3810 if { (eval echo configure:3811: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3813 echo "configure
: failed program was
:" >&5
3814 cat conftest.$ac_ext >&5
3819 cat > conftest.$ac_ext <<EOF
3820 #line 3821 "configure
"
3821 #include "confdefs.h
"
3824 char* tmp; strtold("gnu
", &tmp);
3827 if { (eval echo configure:3828: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3830 echo "configure
: failed program was
:" >&5
3831 cat conftest.$ac_ext >&5
3836 cat > conftest.$ac_ext <<EOF
3837 #line 3838 "configure
"
3838 #include "confdefs.h
"
3844 if { (eval echo configure:3845: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3847 echo "configure
: failed program was
:" >&5
3848 cat conftest.$ac_ext >&5
3853 cat > conftest.$ac_ext <<EOF
3854 #line 3855 "configure
"
3855 #include "confdefs.h
"
3861 if { (eval echo configure:3862: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3864 echo "configure
: failed program was
:" >&5
3865 cat conftest.$ac_ext >&5
3870 cat > conftest.$ac_ext <<EOF
3871 #line 3872 "configure
"
3872 #include "confdefs.h
"
3878 if { (eval echo configure:3879: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3881 echo "configure
: failed program was
:" >&5
3882 cat conftest.$ac_ext >&5
3887 cat > conftest.$ac_ext <<EOF
3888 #line 3889 "configure
"
3889 #include "confdefs.h
"
3895 if { (eval echo configure:3896: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3898 echo "configure
: failed program was
:" >&5
3899 cat conftest.$ac_ext >&5
3904 if test x"$ac_c99_lldiv_t" = x"no
"; then
3907 echo "$ac_t""$ac_c99_stdlib" 1>&6
3909 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3910 # XXX the wchar.h checks should be rolled into the general C99 bits.
3912 echo $ac_n "checking
for additional ISO C99 support
in <wchar.h
>""...
$ac_c" 1>&6
3913 echo "configure
:3914: checking
for additional ISO C99 support
in <wchar.h
>" >&5
3914 cat > conftest.$ac_ext <<EOF
3915 #line 3916 "configure
"
3916 #include "confdefs.h
"
3919 wcstold(L"10.0", NULL);
3922 if { (eval echo configure:3923: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3925 echo "configure
: failed program was
:" >&5
3926 cat conftest.$ac_ext >&5
3931 cat > conftest.$ac_ext <<EOF
3932 #line 3933 "configure
"
3933 #include "confdefs.h
"
3936 wcstoll(L"10", NULL, 10);
3939 if { (eval echo configure:3940: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3942 echo "configure
: failed program was
:" >&5
3943 cat conftest.$ac_ext >&5
3948 cat > conftest.$ac_ext <<EOF
3949 #line 3950 "configure
"
3950 #include "confdefs.h
"
3953 wcstoull(L"10", NULL, 10);
3956 if { (eval echo configure:3957: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3959 echo "configure
: failed program was
:" >&5
3960 cat conftest.$ac_ext >&5
3965 echo "$ac_t""$ac_c99_wchar" 1>&6
3967 echo $ac_n "checking
for enabled ISO C99 support
""...
$ac_c" 1>&6
3968 echo "configure
:3969: checking
for enabled ISO C99 support
" >&5
3969 if test x"$ac_c99_math" = x"no
" ||
3970 test x"$ac_c99_stdio" = x"no
" ||
3971 test x"$ac_c99_stdlib" = x"no
" ||
3972 test x"$ac_c99_wchar" = x"no
"; then
3975 echo "$ac_t""$enable_c99" 1>&6
3977 # Option parsed, now set things appropriately
3978 if test x"$enable_c99" = x"yes"; then
3979 cat >> confdefs.h <<\EOF
3980 #define _GLIBCXX_USE_C99 1
3986 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3987 ac_cpp='$CPP $CPPFLAGS'
3988 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3989 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3990 cross_compiling=$ac_cv_prog_cc_cross
3994 # Check whether --enable-long-long or --disable-long-long was given.
3995 if test "${enable_long_long+set}" = set; then
3996 enableval="$enable_long_long"
3997 case "$enableval" in
3998 yes) enable_long_long=yes ;;
3999 no) enable_long_long=no ;;
4000 *) { echo "configure
: error
: Unknown argument to enable
/disable long long
" 1>&2; exit 1; } ;;
4003 enable_long_long=yes
4008 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4009 ac_cpp='$CXXCPP $CPPFLAGS'
4010 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4011 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4012 cross_compiling=$ac_cv_prog_cxx_cross
4015 echo $ac_n "checking
for enabled long long I
/O support
""...
$ac_c" 1>&6
4016 echo "configure
:4017: checking
for enabled long long I
/O support
" >&5
4017 # iostreams require strtoll, strtoull to compile
4018 cat > conftest.$ac_ext <<EOF
4019 #line 4020 "configure
"
4020 #include "confdefs.h
"
4023 char* tmp; strtoll("gnu
", &tmp, 10);
4026 if { (eval echo configure:4027: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4029 echo "configure
: failed program was
:" >&5
4030 cat conftest.$ac_ext >&5
4035 cat > conftest.$ac_ext <<EOF
4036 #line 4037 "configure
"
4037 #include "confdefs.h
"
4040 char* tmp; strtoull("gnu
", &tmp, 10);
4043 if { (eval echo configure:4044: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4046 echo "configure
: failed program was
:" >&5
4047 cat conftest.$ac_ext >&5
4053 # Option parsed, now set things appropriately
4054 if test x"$enable_long_long" = xyes; then
4055 cat >> confdefs.h <<\EOF
4056 #define _GLIBCXX_USE_LONG_LONG 1
4060 echo "$ac_t""$enable_long_long" 1>&6
4063 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4064 ac_cpp='$CPP $CPPFLAGS'
4065 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4066 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4067 cross_compiling=$ac_cv_prog_cc_cross
4071 echo $ac_n "checking
for thread model used by GCC
""...
$ac_c" 1>&6
4072 echo "configure
:4073: checking
for thread model used by GCC
" >&5
4073 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
4074 echo "$ac_t""$target_thread_file" 1>&6
4076 if test $target_thread_file != single; then
4077 cat >> confdefs.h <<\EOF
4078 #define HAVE_GTHR_DEFAULT 1
4081 cat >> confdefs.h <<\EOF
4082 #define _GLIBCXX_SUPPORTS_WEAK __GXX_WEAK__
4087 glibcxx_thread_h=gthr-$target_thread_file.h
4090 # Check whether --enable-concept-checks or --disable-concept-checks was given.
4091 if test "${enable_concept_checks+set}" = set; then
4092 enableval="$enable_concept_checks"
4093 case "$enableval" in
4094 yes) enable_concept_checks=yes ;;
4095 no) enable_concept_checks=no ;;
4096 *) { echo "configure
: error
: Unknown argument to enable
/disable concept checks
" 1>&2; exit 1; } ;;
4099 enable_concept_checks=no
4101 if test x"$enable_concept_checks" = xyes; then
4102 cat >> confdefs.h <<\EOF
4103 #define _GLIBCXX_CONCEPT_CHECKS 1
4108 echo $ac_n "checking
for extra compiler flags
for building
""...
$ac_c" 1>&6
4109 echo "configure
:4110: checking
for extra compiler flags
for building
" >&5
4110 # Check whether --enable-cxx_flags or --disable-cxx_flags was given.
4111 if test "${enable_cxx_flags+set}" = set; then
4112 enableval="$enable_cxx_flags"
4113 case "x
$enable_cxx_flags" in
4115 { echo "configure
: error
: --enable-cxx-flags needs compiler flags as arguments
" 1>&2; exit 1; } ;;
4117 enable_cxx_flags='' ;;
4119 enable_cxx_flags="$enableval" ;;
4126 if test -n "$enable_cxx_flags"; then
4127 for f in $enable_cxx_flags; do
4131 *) # and we're trying to pass /what/ exactly?
4132 { echo "configure
: error
: compiler flags start with a
-" 1>&2; exit 1; } ;;
4136 EXTRA_CXX_FLAGS="$enable_cxx_flags"
4137 echo "$ac_t""$EXTRA_CXX_FLAGS" 1>&6
4140 # Check whether --enable-libstdcxx_debug or --disable-libstdcxx_debug was given.
4141 if test "${enable_libstdcxx_debug+set}" = set; then
4142 enableval="$enable_libstdcxx_debug"
4143 case "${enableval}" in
4144 yes) enable_libstdcxx_debug=yes ;;
4145 no) enable_libstdcxx_debug=no ;;
4146 *) { echo "configure
: error
: Unknown argument to enable
/disable extra debugging
" 1>&2; exit 1; } ;;
4149 enable_libstdcxx_debug=no
4151 echo $ac_n "checking
for additional debug build
""...
$ac_c" 1>&6
4152 echo "configure
:4153: checking
for additional debug build
" >&5
4153 echo "$ac_t""$enable_libstdcxx_debug" 1>&6
4156 if test "$enable_libstdcxx_debug" = yes; then
4157 GLIBCXX_BUILD_DEBUG_TRUE=
4158 GLIBCXX_BUILD_DEBUG_FALSE='#'
4160 GLIBCXX_BUILD_DEBUG_TRUE='#'
4161 GLIBCXX_BUILD_DEBUG_FALSE=
4164 # Check whether --enable-libstdcxx_debug_flags or --disable-libstdcxx_debug_flags was given.
4165 if test "${enable_libstdcxx_debug_flags+set}" = set; then
4166 enableval="$enable_libstdcxx_debug_flags"
4167 case "${enableval}" in
4169 -*) enable_libstdcxx_debug_flags="${enableval}" ;;
4170 *) { echo "configure
: error
: Unknown argument to extra debugging flags
" 1>&2; exit 1; } ;;
4173 enable_libstdcxx_debug_flags=none
4176 case x"$enable_libstdcxx_debug" in
4178 case "$enable_libstdcxx_debug_flags" in
4180 DEBUG_FLAGS="-g3 -O0";;
4182 DEBUG_FLAGS="${enableval}"
4191 echo $ac_n "checking
for debug build flags
""...
$ac_c" 1>&6
4192 echo "configure
:4193: checking
for debug build flags
" >&5
4193 echo "$ac_t""$DEBUG_FLAGS" 1>&6
4196 # No surprises, no surprises...
4197 if test $ATOMICITYH = cpu/generic ; then
4198 echo "configure
: warning
: No native atomic operations are provided
for this platform.
" 1>&2
4199 if test $target_thread_file = single; then
4200 echo "configure
: warning
: They cannot be faked when thread support is disabled.
" 1>&2
4201 echo "configure
: warning
: Thread-safety of certain classes is not guaranteed.
" 1>&2
4203 echo "configure
: warning
: They will be faked using a mutex.
" 1>&2
4204 echo "configure
: warning
: Performance of certain classes will degrade as a result.
" 1>&2
4209 if test x"$build" != x"$host"; then
4211 # We are being configured with some form of cross compiler.
4212 GLIBCXX_IS_CROSS_COMPILING=true
4214 # This lets us hard-code the functionality we know we'll have in the cross
4215 # target environment. "Let
" is a sugar-coated word placed on an especially
4216 # dull and tedious hack, actually.
4218 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
4219 # that involve linking, can't be used:
4220 # "cannot open sim-crt0.o
"
4221 # "cannot open crt0.o
"
4222 # etc. All this is because there currently exists no unified, consistent
4223 # way for top level CC information to be passed down to target directories:
4224 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
4225 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
4226 # crosses can be removed.
4228 # If Canadian cross, then don't pick up tools from the build directory.
4229 # Used in GLIBCXX_EXPORT_INCLUDES (and nowhere else?).
4230 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host" \
4231 && test x"$build" != x"$target"; then
4237 # Construct crosses by hand, eliminating bits that need ld...
4238 # GLIBCXX_CHECK_COMPILER_FEATURES
4239 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
4240 # GLIBCXX_CHECK_MATH_SUPPORT
4244 os_include_dir="os
/bsd
/freebsd
"
4245 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4246 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4247 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
4250 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4251 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4252 echo "configure
:4253: checking
for $ac_hdr" >&5
4253 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4254 echo $ac_n "(cached
) $ac_c" 1>&6
4256 cat > conftest.$ac_ext <<EOF
4257 #line 4258 "configure
"
4258 #include "confdefs.h
"
4261 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4262 { (eval echo configure:4263: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4263 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4264 if test -z "$ac_err"; then
4266 eval "ac_cv_header_
$ac_safe=yes"
4269 echo "configure
: failed program was
:" >&5
4270 cat conftest.$ac_ext >&5
4272 eval "ac_cv_header_
$ac_safe=no
"
4276 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4277 echo "$ac_t""yes" 1>&6
4278 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4279 cat >> confdefs.h <<EOF
4280 #define $ac_tr_hdr 1
4284 echo "$ac_t""no
" 1>&6
4288 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4291 # If we're not using GNU ld, then there's no point in even trying these
4292 # tests. Check for that first. We should have already tested for gld
4293 # by now (in libtool), but require it now just to be safe...
4294 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4295 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4298 # The name set by libtool depends on the version of libtool. Shame on us
4299 # for depending on an impl detail, but c'est la vie. Older versions used
4300 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4301 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4302 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4303 # set (hence we're using an older libtool), then set it.
4304 if test x${with_gnu_ld+set} != xset; then
4305 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4306 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
4309 with_gnu_ld=$ac_cv_prog_gnu_ld
4313 # Start by getting the version number. I think the libtool test already
4314 # does some of this, but throws away the result.
4316 ldver=`$LD --version 2>/dev/null | head -1 | \
4317 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4319 glibcxx_gnu_ld_version=`echo $ldver | \
4320 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4322 # Set --gc-sections.
4323 if test "$with_gnu_ld" = "notbroken
"; then
4324 # GNU ld it is! Joy and bunny rabbits!
4326 # All these tests are for C++; save the language and the compiler flags.
4327 # Need to do this so that g++ won't try to link in libstdc++
4328 ac_test_CFLAGS="${CFLAGS+set}"
4329 ac_save_CFLAGS="$CFLAGS"
4330 CFLAGS='-x c++ -Wl,--gc-sections'
4332 # Check for -Wl,--gc-sections
4333 # XXX This test is broken at the moment, as symbols required for
4334 # linking are now in libsupc++ (not built yet.....). In addition,
4335 # this test has cored on solaris in the past. In addition,
4336 # --gc-sections doesn't really work at the moment (keeps on discarding
4337 # used sections, first .eh_frame and now some of the glibc sections for
4338 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4339 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
4340 echo "configure
:4341: checking
for ld that supports
-Wl,--gc-sections" >&5
4341 if test "$cross_compiling" = yes; then
4342 ac_sectionLDflags=yes
4344 cat > conftest.$ac_ext <<EOF
4345 #line 4346 "configure
"
4346 #include "confdefs.h
"
4356 if { (eval echo configure:4357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4358 ac_sectionLDflags=yes
4360 echo "configure
: failed program was
:" >&5
4361 cat conftest.$ac_ext >&5
4363 ac_sectionLDflags=no
4368 if test "$ac_test_CFLAGS" = set; then
4369 CFLAGS="$ac_save_CFLAGS"
4371 # this is the suspicious part
4374 if test "$ac_sectionLDflags" = "yes"; then
4375 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4377 echo "$ac_t""$ac_sectionLDflags" 1>&6
4380 # Set linker optimization flags.
4381 if test x"$with_gnu_ld" = x"yes"; then
4382 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4389 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
4390 echo "configure
:4391: checking
for main
in -lm" >&5
4391 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4392 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4393 echo $ac_n "(cached
) $ac_c" 1>&6
4395 ac_save_LIBS="$LIBS"
4397 cat > conftest.$ac_ext <<EOF
4398 #line 4399 "configure
"
4399 #include "confdefs.h
"
4405 if { (eval echo configure:4406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4407 eval "ac_cv_lib_
$ac_lib_var=yes"
4409 echo "configure
: failed program was
:" >&5
4410 cat conftest.$ac_ext >&5
4412 eval "ac_cv_lib_
$ac_lib_var=no
"
4415 LIBS="$ac_save_LIBS"
4418 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4419 echo "$ac_t""yes" 1>&6
4420 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4421 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4422 cat >> confdefs.h <<EOF
4423 #define $ac_tr_lib 1
4429 echo "$ac_t""no
" 1>&6
4432 for ac_func in nan copysignf
4434 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4435 echo "configure
:4436: checking
for $ac_func" >&5
4436 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4437 echo $ac_n "(cached
) $ac_c" 1>&6
4439 cat > conftest.$ac_ext <<EOF
4440 #line 4441 "configure
"
4441 #include "confdefs.h
"
4442 /* System header to define __stub macros and hopefully few prototypes,
4443 which can conflict with char $ac_func(); below. */
4445 /* Override any gcc2 internal prototype to avoid an error. */
4446 /* We use char because int might match the return type of a gcc2
4447 builtin and then its argument prototype would still apply. */
4452 /* The GNU C library defines this for functions which it implements
4453 to always fail with ENOSYS. Some functions are actually named
4454 something starting with __ and the normal name is an alias. */
4455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4463 if { (eval echo configure:4464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4465 eval "ac_cv_func_
$ac_func=yes"
4467 echo "configure
: failed program was
:" >&5
4468 cat conftest.$ac_ext >&5
4470 eval "ac_cv_func_
$ac_func=no
"
4475 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4476 echo "$ac_t""yes" 1>&6
4477 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4478 cat >> confdefs.h <<EOF
4479 #define $ac_tr_func 1
4483 echo "$ac_t""no
" 1>&6
4484 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
4489 for ac_func in __signbit
4491 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4492 echo "configure
:4493: checking
for $ac_func" >&5
4493 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4494 echo $ac_n "(cached
) $ac_c" 1>&6
4496 cat > conftest.$ac_ext <<EOF
4497 #line 4498 "configure
"
4498 #include "confdefs.h
"
4499 /* System header to define __stub macros and hopefully few prototypes,
4500 which can conflict with char $ac_func(); below. */
4502 /* Override any gcc2 internal prototype to avoid an error. */
4503 /* We use char because int might match the return type of a gcc2
4504 builtin and then its argument prototype would still apply. */
4509 /* The GNU C library defines this for functions which it implements
4510 to always fail with ENOSYS. Some functions are actually named
4511 something starting with __ and the normal name is an alias. */
4512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4520 if { (eval echo configure:4521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4522 eval "ac_cv_func_
$ac_func=yes"
4524 echo "configure
: failed program was
:" >&5
4525 cat conftest.$ac_ext >&5
4527 eval "ac_cv_func_
$ac_func=no
"
4532 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4533 echo "$ac_t""yes" 1>&6
4534 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4535 cat >> confdefs.h <<EOF
4536 #define $ac_tr_func 1
4540 echo "$ac_t""no
" 1>&6
4541 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
4545 for ac_func in __signbitf
4547 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4548 echo "configure
:4549: checking
for $ac_func" >&5
4549 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4550 echo $ac_n "(cached
) $ac_c" 1>&6
4552 cat > conftest.$ac_ext <<EOF
4553 #line 4554 "configure
"
4554 #include "confdefs.h
"
4555 /* System header to define __stub macros and hopefully few prototypes,
4556 which can conflict with char $ac_func(); below. */
4558 /* Override any gcc2 internal prototype to avoid an error. */
4559 /* We use char because int might match the return type of a gcc2
4560 builtin and then its argument prototype would still apply. */
4565 /* The GNU C library defines this for functions which it implements
4566 to always fail with ENOSYS. Some functions are actually named
4567 something starting with __ and the normal name is an alias. */
4568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4576 if { (eval echo configure:4577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4578 eval "ac_cv_func_
$ac_func=yes"
4580 echo "configure
: failed program was
:" >&5
4581 cat conftest.$ac_ext >&5
4583 eval "ac_cv_func_
$ac_func=no
"
4588 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4589 echo "$ac_t""yes" 1>&6
4590 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4591 cat >> confdefs.h <<EOF
4592 #define $ac_tr_func 1
4596 echo "$ac_t""no
" 1>&6
4597 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
4602 if test x$ac_cv_func_copysignl = x"yes"; then
4603 for ac_func in __signbitl
4605 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4606 echo "configure
:4607: checking
for $ac_func" >&5
4607 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4608 echo $ac_n "(cached
) $ac_c" 1>&6
4610 cat > conftest.$ac_ext <<EOF
4611 #line 4612 "configure
"
4612 #include "confdefs.h
"
4613 /* System header to define __stub macros and hopefully few prototypes,
4614 which can conflict with char $ac_func(); below. */
4616 /* Override any gcc2 internal prototype to avoid an error. */
4617 /* We use char because int might match the return type of a gcc2
4618 builtin and then its argument prototype would still apply. */
4623 /* The GNU C library defines this for functions which it implements
4624 to always fail with ENOSYS. Some functions are actually named
4625 something starting with __ and the normal name is an alias. */
4626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4634 if { (eval echo configure:4635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4636 eval "ac_cv_func_
$ac_func=yes"
4638 echo "configure
: failed program was
:" >&5
4639 cat conftest.$ac_ext >&5
4641 eval "ac_cv_func_
$ac_func=no
"
4646 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4647 echo "$ac_t""yes" 1>&6
4648 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4649 cat >> confdefs.h <<EOF
4650 #define $ac_tr_func 1
4654 echo "$ac_t""no
" 1>&6
4655 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
4661 if test -n "$LIBMATHOBJS"; then
4668 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
4669 echo "configure
:4670: checking
for mbstate_t
" >&5
4670 cat > conftest.$ac_ext <<EOF
4671 #line 4672 "configure
"
4672 #include "confdefs.h
"
4675 mbstate_t teststate;
4678 if { (eval echo configure:4679: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4682 echo "configure
: failed program was
:" >&5
4683 cat conftest.$ac_ext >&5
4688 echo "$ac_t""$have_mbstate_t" 1>&6
4689 if test x"$have_mbstate_t" = xyes; then
4690 cat >> confdefs.h <<\EOF
4691 #define HAVE_MBSTATE_T 1
4696 for ac_hdr in wchar.h
4698 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4699 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4700 echo "configure
:4701: checking
for $ac_hdr" >&5
4701 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4702 echo $ac_n "(cached
) $ac_c" 1>&6
4704 cat > conftest.$ac_ext <<EOF
4705 #line 4706 "configure
"
4706 #include "confdefs.h
"
4709 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4710 { (eval echo configure:4711: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4711 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4712 if test -z "$ac_err"; then
4714 eval "ac_cv_header_
$ac_safe=yes"
4717 echo "configure
: failed program was
:" >&5
4718 cat conftest.$ac_ext >&5
4720 eval "ac_cv_header_
$ac_safe=no
"
4724 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4725 echo "$ac_t""yes" 1>&6
4726 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4727 cat >> confdefs.h <<EOF
4728 #define $ac_tr_hdr 1
4732 echo "$ac_t""no
" 1>&6
4737 for ac_hdr in wctype.h
4739 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4740 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4741 echo "configure
:4742: checking
for $ac_hdr" >&5
4742 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4743 echo $ac_n "(cached
) $ac_c" 1>&6
4745 cat > conftest.$ac_ext <<EOF
4746 #line 4747 "configure
"
4747 #include "confdefs.h
"
4750 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4751 { (eval echo configure:4752: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4752 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4753 if test -z "$ac_err"; then
4755 eval "ac_cv_header_
$ac_safe=yes"
4758 echo "configure
: failed program was
:" >&5
4759 cat conftest.$ac_ext >&5
4761 eval "ac_cv_header_
$ac_safe=no
"
4765 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4766 echo "$ac_t""yes" 1>&6
4767 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4768 cat >> confdefs.h <<EOF
4769 #define $ac_tr_hdr 1
4773 echo "$ac_t""no
" 1>&6
4779 if test x"$ac_has_wchar_h" = xyes &&
4780 test x"$ac_has_wctype_h" = xyes &&
4781 test x"$enable_c_mbchar" != xno; then
4783 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
4784 echo "configure
:4785: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
4785 cat > conftest.$ac_ext <<EOF
4786 #line 4787 "configure
"
4787 #include "confdefs.h
"
4790 int i = WCHAR_MIN; int j = WCHAR_MAX;
4793 if { (eval echo configure:4794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4795 has_wchar_minmax=yes
4797 echo "configure
: failed program was
:" >&5
4798 cat conftest.$ac_ext >&5
4803 echo "$ac_t""$has_wchar_minmax" 1>&6
4805 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
4806 echo "configure
:4807: checking
for WEOF
" >&5
4807 cat > conftest.$ac_ext <<EOF
4808 #line 4809 "configure
"
4809 #include "confdefs.h
"
4817 if { (eval echo configure:4818: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4821 echo "configure
: failed program was
:" >&5
4822 cat conftest.$ac_ext >&5
4827 echo "$ac_t""$has_weof" 1>&6
4830 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4832 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4833 echo "configure
:4834: checking
for $ac_func" >&5
4834 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4835 echo $ac_n "(cached
) $ac_c" 1>&6
4837 cat > conftest.$ac_ext <<EOF
4838 #line 4839 "configure
"
4839 #include "confdefs.h
"
4840 /* System header to define __stub macros and hopefully few prototypes,
4841 which can conflict with char $ac_func(); below. */
4843 /* Override any gcc2 internal prototype to avoid an error. */
4844 /* We use char because int might match the return type of a gcc2
4845 builtin and then its argument prototype would still apply. */
4850 /* The GNU C library defines this for functions which it implements
4851 to always fail with ENOSYS. Some functions are actually named
4852 something starting with __ and the normal name is an alias. */
4853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4861 if { (eval echo configure:4862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4863 eval "ac_cv_func_
$ac_func=yes"
4865 echo "configure
: failed program was
:" >&5
4866 cat conftest.$ac_ext >&5
4868 eval "ac_cv_func_
$ac_func=no
"
4873 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4874 echo "$ac_t""yes" 1>&6
4875 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4876 cat >> confdefs.h <<EOF
4877 #define $ac_tr_func 1
4881 echo "$ac_t""no
" 1>&6
4888 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
4889 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4890 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4891 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4892 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4893 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4895 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4896 echo "configure
:4897: checking
for $ac_func" >&5
4897 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4898 echo $ac_n "(cached
) $ac_c" 1>&6
4900 cat > conftest.$ac_ext <<EOF
4901 #line 4902 "configure
"
4902 #include "confdefs.h
"
4903 /* System header to define __stub macros and hopefully few prototypes,
4904 which can conflict with char $ac_func(); below. */
4906 /* Override any gcc2 internal prototype to avoid an error. */
4907 /* We use char because int might match the return type of a gcc2
4908 builtin and then its argument prototype would still apply. */
4913 /* The GNU C library defines this for functions which it implements
4914 to always fail with ENOSYS. Some functions are actually named
4915 something starting with __ and the normal name is an alias. */
4916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4924 if { (eval echo configure:4925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4926 eval "ac_cv_func_
$ac_func=yes"
4928 echo "configure
: failed program was
:" >&5
4929 cat conftest.$ac_ext >&5
4931 eval "ac_cv_func_
$ac_func=no
"
4936 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4937 echo "$ac_t""yes" 1>&6
4938 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4939 cat >> confdefs.h <<EOF
4940 #define $ac_tr_func 1
4944 echo "$ac_t""no
" 1>&6
4951 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
4952 echo "configure
:4953: checking
for ISO C99 wchar_t support
" >&5
4953 if test x"$has_weof" = xyes &&
4954 test x"$has_wchar_minmax" = xyes &&
4955 test x"$ac_wfuncs" = xyes; then
4956 ac_isoC99_wchar_t=yes
4958 ac_isoC99_wchar_t=no
4960 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4962 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
4963 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
4964 echo "configure
:4965: checking
for iconv.h
" >&5
4965 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4966 echo $ac_n "(cached
) $ac_c" 1>&6
4968 cat > conftest.$ac_ext <<EOF
4969 #line 4970 "configure
"
4970 #include "confdefs.h
"
4973 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4974 { (eval echo configure:4975: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4975 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4976 if test -z "$ac_err"; then
4978 eval "ac_cv_header_
$ac_safe=yes"
4981 echo "configure
: failed program was
:" >&5
4982 cat conftest.$ac_ext >&5
4984 eval "ac_cv_header_
$ac_safe=no
"
4988 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4989 echo "$ac_t""yes" 1>&6
4992 echo "$ac_t""no
" 1>&6
4996 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
4997 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
4998 echo "configure
:4999: checking
for langinfo.h
" >&5
4999 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5000 echo $ac_n "(cached
) $ac_c" 1>&6
5002 cat > conftest.$ac_ext <<EOF
5003 #line 5004 "configure
"
5004 #include "confdefs.h
"
5005 #include <langinfo.h>
5007 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5008 { (eval echo configure:5009: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5009 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5010 if test -z "$ac_err"; then
5012 eval "ac_cv_header_
$ac_safe=yes"
5015 echo "configure
: failed program was
:" >&5
5016 cat conftest.$ac_ext >&5
5018 eval "ac_cv_header_
$ac_safe=no
"
5022 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5023 echo "$ac_t""yes" 1>&6
5024 ac_has_langinfo_h=yes
5026 echo "$ac_t""no
" 1>&6
5027 ac_has_langinfo_h=no
5031 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
5032 echo "configure
:5033: checking
for iconv in -liconv" >&5
5033 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5034 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5035 echo $ac_n "(cached
) $ac_c" 1>&6
5037 ac_save_LIBS="$LIBS"
5038 LIBS="-liconv $LIBS"
5039 cat > conftest.$ac_ext <<EOF
5040 #line 5041 "configure
"
5041 #include "confdefs.h
"
5042 /* Override any gcc2 internal prototype to avoid an error. */
5043 /* We use char because int might match the return type of a gcc2
5044 builtin and then its argument prototype would still apply. */
5051 if { (eval echo configure:5052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5053 eval "ac_cv_lib_
$ac_lib_var=yes"
5055 echo "configure
: failed program was
:" >&5
5056 cat conftest.$ac_ext >&5
5058 eval "ac_cv_lib_
$ac_lib_var=no
"
5061 LIBS="$ac_save_LIBS"
5064 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5065 echo "$ac_t""yes" 1>&6
5068 echo "$ac_t""no
" 1>&6
5071 ac_save_LIBS="$LIBS"
5072 LIBS="$LIBS $libiconv"
5074 for ac_func in iconv_open iconv_close iconv nl_langinfo
5076 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5077 echo "configure
:5078: checking
for $ac_func" >&5
5078 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5079 echo $ac_n "(cached
) $ac_c" 1>&6
5081 cat > conftest.$ac_ext <<EOF
5082 #line 5083 "configure
"
5083 #include "confdefs.h
"
5084 /* System header to define __stub macros and hopefully few prototypes,
5085 which can conflict with char $ac_func(); below. */
5087 /* Override any gcc2 internal prototype to avoid an error. */
5088 /* We use char because int might match the return type of a gcc2
5089 builtin and then its argument prototype would still apply. */
5094 /* The GNU C library defines this for functions which it implements
5095 to always fail with ENOSYS. Some functions are actually named
5096 something starting with __ and the normal name is an alias. */
5097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5105 if { (eval echo configure:5106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5107 eval "ac_cv_func_
$ac_func=yes"
5109 echo "configure
: failed program was
:" >&5
5110 cat conftest.$ac_ext >&5
5112 eval "ac_cv_func_
$ac_func=no
"
5117 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5118 echo "$ac_t""yes" 1>&6
5119 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5120 cat >> confdefs.h <<EOF
5121 #define $ac_tr_func 1
5126 echo "$ac_t""no
" 1>&6
5132 LIBS="$ac_save_LIBS"
5134 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
5135 echo "configure
:5136: checking
for XPG2 wchar_t support
" >&5
5136 if test x"$ac_has_iconv_h" = xyes &&
5137 test x"$ac_has_langinfo_h" = xyes &&
5138 test x"$ac_XPG2funcs" = xyes; then
5143 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5145 if test x"$ac_isoC99_wchar_t" = xyes &&
5146 test x"$ac_XPG2_wchar_t" = xyes; then
5147 cat >> confdefs.h <<\EOF
5148 #define _GLIBCXX_USE_WCHAR_T 1
5154 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
5155 echo "configure
:5156: checking
for enabled wchar_t specializations
" >&5
5156 echo "$ac_t""$enable_wchar_t" 1>&6
5158 cat >> confdefs.h <<\EOF
5159 #define HAVE_LC_MESSAGES 1
5162 cat >> confdefs.h <<\EOF
5163 #define HAVE_DRAND48 1
5166 cat >> confdefs.h <<\EOF
5167 #define HAVE_GETPAGESIZE 1
5170 cat >> confdefs.h <<\EOF
5171 #define HAVE_SETENV 1
5174 cat >> confdefs.h <<\EOF
5175 #define HAVE_SIGSETJMP 1
5178 cat >> confdefs.h <<\EOF
5179 #define HAVE_COPYSIGN 1
5182 cat >> confdefs.h <<\EOF
5183 #define HAVE_COPYSIGNF 1
5186 cat >> confdefs.h <<\EOF
5187 #define HAVE_FINITEF 1
5190 cat >> confdefs.h <<\EOF
5191 #define HAVE_FINITE 1
5194 cat >> confdefs.h <<\EOF
5195 #define HAVE_FREXPF 1
5198 cat >> confdefs.h <<\EOF
5199 #define HAVE_HYPOT 1
5202 cat >> confdefs.h <<\EOF
5203 #define HAVE_HYPOTF 1
5206 cat >> confdefs.h <<\EOF
5207 #define HAVE_ISINF 1
5210 cat >> confdefs.h <<\EOF
5211 #define HAVE_ISNAN 1
5214 cat >> confdefs.h <<\EOF
5215 #define HAVE_ISNANF 1
5219 cat >> confdefs.h <<\EOF
5223 cat >> confdefs.h <<\EOF
5224 #define HAVE_ACOSF 1
5227 cat >> confdefs.h <<\EOF
5228 #define HAVE_ASINF 1
5231 cat >> confdefs.h <<\EOF
5232 #define HAVE_ATAN2F 1
5235 cat >> confdefs.h <<\EOF
5236 #define HAVE_ATANF 1
5239 cat >> confdefs.h <<\EOF
5240 #define HAVE_CEILF 1
5243 cat >> confdefs.h <<\EOF
5244 #define HAVE_COPYSIGN 1
5247 cat >> confdefs.h <<\EOF
5248 #define HAVE_COPYSIGNF 1
5251 cat >> confdefs.h <<\EOF
5255 cat >> confdefs.h <<\EOF
5256 #define HAVE_COSHF 1
5259 cat >> confdefs.h <<\EOF
5263 cat >> confdefs.h <<\EOF
5264 #define HAVE_FABSF 1
5267 cat >> confdefs.h <<\EOF
5268 #define HAVE_FLOORF 1
5271 cat >> confdefs.h <<\EOF
5272 #define HAVE_FMODF 1
5275 cat >> confdefs.h <<\EOF
5276 #define HAVE_FREXPF 1
5279 cat >> confdefs.h <<\EOF
5280 #define HAVE_LDEXPF 1
5283 cat >> confdefs.h <<\EOF
5284 #define HAVE_LOG10F 1
5287 cat >> confdefs.h <<\EOF
5291 cat >> confdefs.h <<\EOF
5292 #define HAVE_MODFF 1
5295 cat >> confdefs.h <<\EOF
5299 cat >> confdefs.h <<\EOF
5303 cat >> confdefs.h <<\EOF
5304 #define HAVE_SINHF 1
5307 cat >> confdefs.h <<\EOF
5308 #define HAVE_SQRTF 1
5311 cat >> confdefs.h <<\EOF
5315 cat >> confdefs.h <<\EOF
5316 #define HAVE_TANHF 1
5319 if test x"long_double_math_on_this_cpu
" = x"yes"; then
5320 cat >> confdefs.h <<\EOF
5321 #define HAVE_FINITEL 1
5324 cat >> confdefs.h <<\EOF
5325 #define HAVE_ISINFL 1
5328 cat >> confdefs.h <<\EOF
5329 #define HAVE_ISNANL 1
5335 os_include_dir="os
/hpux
"
5336 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5337 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5338 fp.h locale.h float.h inttypes.h
5340 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5341 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5342 echo "configure
:5343: checking
for $ac_hdr" >&5
5343 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5344 echo $ac_n "(cached
) $ac_c" 1>&6
5346 cat > conftest.$ac_ext <<EOF
5347 #line 5348 "configure
"
5348 #include "confdefs.h
"
5351 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5352 { (eval echo configure:5353: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5353 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5354 if test -z "$ac_err"; then
5356 eval "ac_cv_header_
$ac_safe=yes"
5359 echo "configure
: failed program was
:" >&5
5360 cat conftest.$ac_ext >&5
5362 eval "ac_cv_header_
$ac_safe=no
"
5366 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5367 echo "$ac_t""yes" 1>&6
5368 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5369 cat >> confdefs.h <<EOF
5370 #define $ac_tr_hdr 1
5374 echo "$ac_t""no
" 1>&6
5378 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5381 # If we're not using GNU ld, then there's no point in even trying these
5382 # tests. Check for that first. We should have already tested for gld
5383 # by now (in libtool), but require it now just to be safe...
5384 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5385 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5388 # The name set by libtool depends on the version of libtool. Shame on us
5389 # for depending on an impl detail, but c'est la vie. Older versions used
5390 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
5391 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
5392 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
5393 # set (hence we're using an older libtool), then set it.
5394 if test x${with_gnu_ld+set} != xset; then
5395 if test x${ac_cv_prog_gnu_ld+set} != xset; then
5396 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
5399 with_gnu_ld=$ac_cv_prog_gnu_ld
5403 # Start by getting the version number. I think the libtool test already
5404 # does some of this, but throws away the result.
5406 ldver=`$LD --version 2>/dev/null | head -1 | \
5407 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
5409 glibcxx_gnu_ld_version=`echo $ldver | \
5410 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
5412 # Set --gc-sections.
5413 if test "$with_gnu_ld" = "notbroken
"; then
5414 # GNU ld it is! Joy and bunny rabbits!
5416 # All these tests are for C++; save the language and the compiler flags.
5417 # Need to do this so that g++ won't try to link in libstdc++
5418 ac_test_CFLAGS="${CFLAGS+set}"
5419 ac_save_CFLAGS="$CFLAGS"
5420 CFLAGS='-x c++ -Wl,--gc-sections'
5422 # Check for -Wl,--gc-sections
5423 # XXX This test is broken at the moment, as symbols required for
5424 # linking are now in libsupc++ (not built yet.....). In addition,
5425 # this test has cored on solaris in the past. In addition,
5426 # --gc-sections doesn't really work at the moment (keeps on discarding
5427 # used sections, first .eh_frame and now some of the glibc sections for
5428 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5429 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
5430 echo "configure
:5431: checking
for ld that supports
-Wl,--gc-sections" >&5
5431 if test "$cross_compiling" = yes; then
5432 ac_sectionLDflags=yes
5434 cat > conftest.$ac_ext <<EOF
5435 #line 5436 "configure
"
5436 #include "confdefs.h
"
5446 if { (eval echo configure:5447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5448 ac_sectionLDflags=yes
5450 echo "configure
: failed program was
:" >&5
5451 cat conftest.$ac_ext >&5
5453 ac_sectionLDflags=no
5458 if test "$ac_test_CFLAGS" = set; then
5459 CFLAGS="$ac_save_CFLAGS"
5461 # this is the suspicious part
5464 if test "$ac_sectionLDflags" = "yes"; then
5465 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5467 echo "$ac_t""$ac_sectionLDflags" 1>&6
5470 # Set linker optimization flags.
5471 if test x"$with_gnu_ld" = x"yes"; then
5472 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5479 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
5480 echo "configure
:5481: checking
for main
in -lm" >&5
5481 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5482 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5483 echo $ac_n "(cached
) $ac_c" 1>&6
5485 ac_save_LIBS="$LIBS"
5487 cat > conftest.$ac_ext <<EOF
5488 #line 5489 "configure
"
5489 #include "confdefs.h
"
5495 if { (eval echo configure:5496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5497 eval "ac_cv_lib_
$ac_lib_var=yes"
5499 echo "configure
: failed program was
:" >&5
5500 cat conftest.$ac_ext >&5
5502 eval "ac_cv_lib_
$ac_lib_var=no
"
5505 LIBS="$ac_save_LIBS"
5508 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5509 echo "$ac_t""yes" 1>&6
5510 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5511 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5512 cat >> confdefs.h <<EOF
5513 #define $ac_tr_lib 1
5519 echo "$ac_t""no
" 1>&6
5522 for ac_func in nan copysignf
5524 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5525 echo "configure
:5526: checking
for $ac_func" >&5
5526 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5527 echo $ac_n "(cached
) $ac_c" 1>&6
5529 cat > conftest.$ac_ext <<EOF
5530 #line 5531 "configure
"
5531 #include "confdefs.h
"
5532 /* System header to define __stub macros and hopefully few prototypes,
5533 which can conflict with char $ac_func(); below. */
5535 /* Override any gcc2 internal prototype to avoid an error. */
5536 /* We use char because int might match the return type of a gcc2
5537 builtin and then its argument prototype would still apply. */
5542 /* The GNU C library defines this for functions which it implements
5543 to always fail with ENOSYS. Some functions are actually named
5544 something starting with __ and the normal name is an alias. */
5545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5553 if { (eval echo configure:5554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5555 eval "ac_cv_func_
$ac_func=yes"
5557 echo "configure
: failed program was
:" >&5
5558 cat conftest.$ac_ext >&5
5560 eval "ac_cv_func_
$ac_func=no
"
5565 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5566 echo "$ac_t""yes" 1>&6
5567 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5568 cat >> confdefs.h <<EOF
5569 #define $ac_tr_func 1
5573 echo "$ac_t""no
" 1>&6
5574 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
5579 for ac_func in __signbit
5581 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5582 echo "configure
:5583: checking
for $ac_func" >&5
5583 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5584 echo $ac_n "(cached
) $ac_c" 1>&6
5586 cat > conftest.$ac_ext <<EOF
5587 #line 5588 "configure
"
5588 #include "confdefs.h
"
5589 /* System header to define __stub macros and hopefully few prototypes,
5590 which can conflict with char $ac_func(); below. */
5592 /* Override any gcc2 internal prototype to avoid an error. */
5593 /* We use char because int might match the return type of a gcc2
5594 builtin and then its argument prototype would still apply. */
5599 /* The GNU C library defines this for functions which it implements
5600 to always fail with ENOSYS. Some functions are actually named
5601 something starting with __ and the normal name is an alias. */
5602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5610 if { (eval echo configure:5611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5612 eval "ac_cv_func_
$ac_func=yes"
5614 echo "configure
: failed program was
:" >&5
5615 cat conftest.$ac_ext >&5
5617 eval "ac_cv_func_
$ac_func=no
"
5622 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5623 echo "$ac_t""yes" 1>&6
5624 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5625 cat >> confdefs.h <<EOF
5626 #define $ac_tr_func 1
5630 echo "$ac_t""no
" 1>&6
5631 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
5635 for ac_func in __signbitf
5637 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5638 echo "configure
:5639: checking
for $ac_func" >&5
5639 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5640 echo $ac_n "(cached
) $ac_c" 1>&6
5642 cat > conftest.$ac_ext <<EOF
5643 #line 5644 "configure
"
5644 #include "confdefs.h
"
5645 /* System header to define __stub macros and hopefully few prototypes,
5646 which can conflict with char $ac_func(); below. */
5648 /* Override any gcc2 internal prototype to avoid an error. */
5649 /* We use char because int might match the return type of a gcc2
5650 builtin and then its argument prototype would still apply. */
5655 /* The GNU C library defines this for functions which it implements
5656 to always fail with ENOSYS. Some functions are actually named
5657 something starting with __ and the normal name is an alias. */
5658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5666 if { (eval echo configure:5667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5668 eval "ac_cv_func_
$ac_func=yes"
5670 echo "configure
: failed program was
:" >&5
5671 cat conftest.$ac_ext >&5
5673 eval "ac_cv_func_
$ac_func=no
"
5678 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5679 echo "$ac_t""yes" 1>&6
5680 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5681 cat >> confdefs.h <<EOF
5682 #define $ac_tr_func 1
5686 echo "$ac_t""no
" 1>&6
5687 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
5692 if test x$ac_cv_func_copysignl = x"yes"; then
5693 for ac_func in __signbitl
5695 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5696 echo "configure
:5697: checking
for $ac_func" >&5
5697 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5698 echo $ac_n "(cached
) $ac_c" 1>&6
5700 cat > conftest.$ac_ext <<EOF
5701 #line 5702 "configure
"
5702 #include "confdefs.h
"
5703 /* System header to define __stub macros and hopefully few prototypes,
5704 which can conflict with char $ac_func(); below. */
5706 /* Override any gcc2 internal prototype to avoid an error. */
5707 /* We use char because int might match the return type of a gcc2
5708 builtin and then its argument prototype would still apply. */
5713 /* The GNU C library defines this for functions which it implements
5714 to always fail with ENOSYS. Some functions are actually named
5715 something starting with __ and the normal name is an alias. */
5716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5724 if { (eval echo configure:5725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5726 eval "ac_cv_func_
$ac_func=yes"
5728 echo "configure
: failed program was
:" >&5
5729 cat conftest.$ac_ext >&5
5731 eval "ac_cv_func_
$ac_func=no
"
5736 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5737 echo "$ac_t""yes" 1>&6
5738 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5739 cat >> confdefs.h <<EOF
5740 #define $ac_tr_func 1
5744 echo "$ac_t""no
" 1>&6
5745 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
5751 if test -n "$LIBMATHOBJS"; then
5758 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
5759 echo "configure
:5760: checking
for mbstate_t
" >&5
5760 cat > conftest.$ac_ext <<EOF
5761 #line 5762 "configure
"
5762 #include "confdefs.h
"
5765 mbstate_t teststate;
5768 if { (eval echo configure:5769: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5772 echo "configure
: failed program was
:" >&5
5773 cat conftest.$ac_ext >&5
5778 echo "$ac_t""$have_mbstate_t" 1>&6
5779 if test x"$have_mbstate_t" = xyes; then
5780 cat >> confdefs.h <<\EOF
5781 #define HAVE_MBSTATE_T 1
5786 for ac_hdr in wchar.h
5788 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5789 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5790 echo "configure
:5791: checking
for $ac_hdr" >&5
5791 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5792 echo $ac_n "(cached
) $ac_c" 1>&6
5794 cat > conftest.$ac_ext <<EOF
5795 #line 5796 "configure
"
5796 #include "confdefs.h
"
5799 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5800 { (eval echo configure:5801: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5801 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5802 if test -z "$ac_err"; then
5804 eval "ac_cv_header_
$ac_safe=yes"
5807 echo "configure
: failed program was
:" >&5
5808 cat conftest.$ac_ext >&5
5810 eval "ac_cv_header_
$ac_safe=no
"
5814 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5815 echo "$ac_t""yes" 1>&6
5816 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5817 cat >> confdefs.h <<EOF
5818 #define $ac_tr_hdr 1
5822 echo "$ac_t""no
" 1>&6
5827 for ac_hdr in wctype.h
5829 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5830 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5831 echo "configure
:5832: checking
for $ac_hdr" >&5
5832 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5833 echo $ac_n "(cached
) $ac_c" 1>&6
5835 cat > conftest.$ac_ext <<EOF
5836 #line 5837 "configure
"
5837 #include "confdefs.h
"
5840 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5841 { (eval echo configure:5842: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5842 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5843 if test -z "$ac_err"; then
5845 eval "ac_cv_header_
$ac_safe=yes"
5848 echo "configure
: failed program was
:" >&5
5849 cat conftest.$ac_ext >&5
5851 eval "ac_cv_header_
$ac_safe=no
"
5855 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5856 echo "$ac_t""yes" 1>&6
5857 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5858 cat >> confdefs.h <<EOF
5859 #define $ac_tr_hdr 1
5863 echo "$ac_t""no
" 1>&6
5869 if test x"$ac_has_wchar_h" = xyes &&
5870 test x"$ac_has_wctype_h" = xyes &&
5871 test x"$enable_c_mbchar" != xno; then
5873 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
5874 echo "configure
:5875: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
5875 cat > conftest.$ac_ext <<EOF
5876 #line 5877 "configure
"
5877 #include "confdefs.h
"
5880 int i = WCHAR_MIN; int j = WCHAR_MAX;
5883 if { (eval echo configure:5884: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5885 has_wchar_minmax=yes
5887 echo "configure
: failed program was
:" >&5
5888 cat conftest.$ac_ext >&5
5893 echo "$ac_t""$has_wchar_minmax" 1>&6
5895 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
5896 echo "configure
:5897: checking
for WEOF
" >&5
5897 cat > conftest.$ac_ext <<EOF
5898 #line 5899 "configure
"
5899 #include "confdefs.h
"
5907 if { (eval echo configure:5908: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5911 echo "configure
: failed program was
:" >&5
5912 cat conftest.$ac_ext >&5
5917 echo "$ac_t""$has_weof" 1>&6
5920 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5922 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5923 echo "configure
:5924: checking
for $ac_func" >&5
5924 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5925 echo $ac_n "(cached
) $ac_c" 1>&6
5927 cat > conftest.$ac_ext <<EOF
5928 #line 5929 "configure
"
5929 #include "confdefs.h
"
5930 /* System header to define __stub macros and hopefully few prototypes,
5931 which can conflict with char $ac_func(); below. */
5933 /* Override any gcc2 internal prototype to avoid an error. */
5934 /* We use char because int might match the return type of a gcc2
5935 builtin and then its argument prototype would still apply. */
5940 /* The GNU C library defines this for functions which it implements
5941 to always fail with ENOSYS. Some functions are actually named
5942 something starting with __ and the normal name is an alias. */
5943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5951 if { (eval echo configure:5952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5953 eval "ac_cv_func_
$ac_func=yes"
5955 echo "configure
: failed program was
:" >&5
5956 cat conftest.$ac_ext >&5
5958 eval "ac_cv_func_
$ac_func=no
"
5963 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5964 echo "$ac_t""yes" 1>&6
5965 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5966 cat >> confdefs.h <<EOF
5967 #define $ac_tr_func 1
5971 echo "$ac_t""no
" 1>&6
5978 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
5979 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5980 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5981 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5982 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5983 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5985 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5986 echo "configure
:5987: checking
for $ac_func" >&5
5987 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5988 echo $ac_n "(cached
) $ac_c" 1>&6
5990 cat > conftest.$ac_ext <<EOF
5991 #line 5992 "configure
"
5992 #include "confdefs.h
"
5993 /* System header to define __stub macros and hopefully few prototypes,
5994 which can conflict with char $ac_func(); below. */
5996 /* Override any gcc2 internal prototype to avoid an error. */
5997 /* We use char because int might match the return type of a gcc2
5998 builtin and then its argument prototype would still apply. */
6003 /* The GNU C library defines this for functions which it implements
6004 to always fail with ENOSYS. Some functions are actually named
6005 something starting with __ and the normal name is an alias. */
6006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6014 if { (eval echo configure:6015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6016 eval "ac_cv_func_
$ac_func=yes"
6018 echo "configure
: failed program was
:" >&5
6019 cat conftest.$ac_ext >&5
6021 eval "ac_cv_func_
$ac_func=no
"
6026 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6027 echo "$ac_t""yes" 1>&6
6028 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6029 cat >> confdefs.h <<EOF
6030 #define $ac_tr_func 1
6034 echo "$ac_t""no
" 1>&6
6041 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
6042 echo "configure
:6043: checking
for ISO C99 wchar_t support
" >&5
6043 if test x"$has_weof" = xyes &&
6044 test x"$has_wchar_minmax" = xyes &&
6045 test x"$ac_wfuncs" = xyes; then
6046 ac_isoC99_wchar_t=yes
6048 ac_isoC99_wchar_t=no
6050 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6052 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
6053 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
6054 echo "configure
:6055: checking
for iconv.h
" >&5
6055 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6056 echo $ac_n "(cached
) $ac_c" 1>&6
6058 cat > conftest.$ac_ext <<EOF
6059 #line 6060 "configure
"
6060 #include "confdefs.h
"
6063 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6064 { (eval echo configure:6065: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6065 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6066 if test -z "$ac_err"; then
6068 eval "ac_cv_header_
$ac_safe=yes"
6071 echo "configure
: failed program was
:" >&5
6072 cat conftest.$ac_ext >&5
6074 eval "ac_cv_header_
$ac_safe=no
"
6078 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6079 echo "$ac_t""yes" 1>&6
6082 echo "$ac_t""no
" 1>&6
6086 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
6087 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
6088 echo "configure
:6089: checking
for langinfo.h
" >&5
6089 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6090 echo $ac_n "(cached
) $ac_c" 1>&6
6092 cat > conftest.$ac_ext <<EOF
6093 #line 6094 "configure
"
6094 #include "confdefs.h
"
6095 #include <langinfo.h>
6097 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6098 { (eval echo configure:6099: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6099 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6100 if test -z "$ac_err"; then
6102 eval "ac_cv_header_
$ac_safe=yes"
6105 echo "configure
: failed program was
:" >&5
6106 cat conftest.$ac_ext >&5
6108 eval "ac_cv_header_
$ac_safe=no
"
6112 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6113 echo "$ac_t""yes" 1>&6
6114 ac_has_langinfo_h=yes
6116 echo "$ac_t""no
" 1>&6
6117 ac_has_langinfo_h=no
6121 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
6122 echo "configure
:6123: checking
for iconv in -liconv" >&5
6123 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6124 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6125 echo $ac_n "(cached
) $ac_c" 1>&6
6127 ac_save_LIBS="$LIBS"
6128 LIBS="-liconv $LIBS"
6129 cat > conftest.$ac_ext <<EOF
6130 #line 6131 "configure
"
6131 #include "confdefs.h
"
6132 /* Override any gcc2 internal prototype to avoid an error. */
6133 /* We use char because int might match the return type of a gcc2
6134 builtin and then its argument prototype would still apply. */
6141 if { (eval echo configure:6142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6143 eval "ac_cv_lib_
$ac_lib_var=yes"
6145 echo "configure
: failed program was
:" >&5
6146 cat conftest.$ac_ext >&5
6148 eval "ac_cv_lib_
$ac_lib_var=no
"
6151 LIBS="$ac_save_LIBS"
6154 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6155 echo "$ac_t""yes" 1>&6
6158 echo "$ac_t""no
" 1>&6
6161 ac_save_LIBS="$LIBS"
6162 LIBS="$LIBS $libiconv"
6164 for ac_func in iconv_open iconv_close iconv nl_langinfo
6166 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6167 echo "configure
:6168: checking
for $ac_func" >&5
6168 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6169 echo $ac_n "(cached
) $ac_c" 1>&6
6171 cat > conftest.$ac_ext <<EOF
6172 #line 6173 "configure
"
6173 #include "confdefs.h
"
6174 /* System header to define __stub macros and hopefully few prototypes,
6175 which can conflict with char $ac_func(); below. */
6177 /* Override any gcc2 internal prototype to avoid an error. */
6178 /* We use char because int might match the return type of a gcc2
6179 builtin and then its argument prototype would still apply. */
6184 /* The GNU C library defines this for functions which it implements
6185 to always fail with ENOSYS. Some functions are actually named
6186 something starting with __ and the normal name is an alias. */
6187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6195 if { (eval echo configure:6196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6197 eval "ac_cv_func_
$ac_func=yes"
6199 echo "configure
: failed program was
:" >&5
6200 cat conftest.$ac_ext >&5
6202 eval "ac_cv_func_
$ac_func=no
"
6207 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6208 echo "$ac_t""yes" 1>&6
6209 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6210 cat >> confdefs.h <<EOF
6211 #define $ac_tr_func 1
6216 echo "$ac_t""no
" 1>&6
6222 LIBS="$ac_save_LIBS"
6224 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
6225 echo "configure
:6226: checking
for XPG2 wchar_t support
" >&5
6226 if test x"$ac_has_iconv_h" = xyes &&
6227 test x"$ac_has_langinfo_h" = xyes &&
6228 test x"$ac_XPG2funcs" = xyes; then
6233 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6235 if test x"$ac_isoC99_wchar_t" = xyes &&
6236 test x"$ac_XPG2_wchar_t" = xyes; then
6237 cat >> confdefs.h <<\EOF
6238 #define _GLIBCXX_USE_WCHAR_T 1
6244 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
6245 echo "configure
:6246: checking
for enabled wchar_t specializations
" >&5
6246 echo "$ac_t""$enable_wchar_t" 1>&6
6248 cat >> confdefs.h <<\EOF
6249 #define HAVE_COPYSIGN 1
6252 cat >> confdefs.h <<\EOF
6253 #define HAVE_COPYSIGNF 1
6256 cat >> confdefs.h <<\EOF
6257 #define HAVE_FREXPF 1
6260 cat >> confdefs.h <<\EOF
6261 #define HAVE_HYPOT 1
6266 cat >> confdefs.h <<\EOF
6267 #define HAVE_FINITE 1
6270 cat >> confdefs.h <<\EOF
6271 #define HAVE_FINITEF 1
6274 cat >> confdefs.h <<\EOF
6275 #define HAVE_ISINF 1
6278 cat >> confdefs.h <<\EOF
6279 #define HAVE_ISINFF 1
6282 cat >> confdefs.h <<\EOF
6283 #define HAVE_ISNAN 1
6286 cat >> confdefs.h <<\EOF
6287 #define HAVE_ISNANF 1
6294 os_include_dir="os
/gnu-linux
"
6295 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
6296 machine/endian.h machine/param.h sys/machine.h sys/types.h \
6297 fp.h locale.h float.h inttypes.h
6299 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6300 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6301 echo "configure
:6302: checking
for $ac_hdr" >&5
6302 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6303 echo $ac_n "(cached
) $ac_c" 1>&6
6305 cat > conftest.$ac_ext <<EOF
6306 #line 6307 "configure
"
6307 #include "confdefs.h
"
6310 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6311 { (eval echo configure:6312: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6312 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6313 if test -z "$ac_err"; then
6315 eval "ac_cv_header_
$ac_safe=yes"
6318 echo "configure
: failed program was
:" >&5
6319 cat conftest.$ac_ext >&5
6321 eval "ac_cv_header_
$ac_safe=no
"
6325 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6326 echo "$ac_t""yes" 1>&6
6327 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6328 cat >> confdefs.h <<EOF
6329 #define $ac_tr_hdr 1
6333 echo "$ac_t""no
" 1>&6
6337 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6340 # If we're not using GNU ld, then there's no point in even trying these
6341 # tests. Check for that first. We should have already tested for gld
6342 # by now (in libtool), but require it now just to be safe...
6343 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6344 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6347 # The name set by libtool depends on the version of libtool. Shame on us
6348 # for depending on an impl detail, but c'est la vie. Older versions used
6349 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6350 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6351 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6352 # set (hence we're using an older libtool), then set it.
6353 if test x${with_gnu_ld+set} != xset; then
6354 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6355 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
6358 with_gnu_ld=$ac_cv_prog_gnu_ld
6362 # Start by getting the version number. I think the libtool test already
6363 # does some of this, but throws away the result.
6365 ldver=`$LD --version 2>/dev/null | head -1 | \
6366 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6368 glibcxx_gnu_ld_version=`echo $ldver | \
6369 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6371 # Set --gc-sections.
6372 if test "$with_gnu_ld" = "notbroken
"; then
6373 # GNU ld it is! Joy and bunny rabbits!
6375 # All these tests are for C++; save the language and the compiler flags.
6376 # Need to do this so that g++ won't try to link in libstdc++
6377 ac_test_CFLAGS="${CFLAGS+set}"
6378 ac_save_CFLAGS="$CFLAGS"
6379 CFLAGS='-x c++ -Wl,--gc-sections'
6381 # Check for -Wl,--gc-sections
6382 # XXX This test is broken at the moment, as symbols required for
6383 # linking are now in libsupc++ (not built yet.....). In addition,
6384 # this test has cored on solaris in the past. In addition,
6385 # --gc-sections doesn't really work at the moment (keeps on discarding
6386 # used sections, first .eh_frame and now some of the glibc sections for
6387 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6388 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
6389 echo "configure
:6390: checking
for ld that supports
-Wl,--gc-sections" >&5
6390 if test "$cross_compiling" = yes; then
6391 ac_sectionLDflags=yes
6393 cat > conftest.$ac_ext <<EOF
6394 #line 6395 "configure
"
6395 #include "confdefs.h
"
6405 if { (eval echo configure:6406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6407 ac_sectionLDflags=yes
6409 echo "configure
: failed program was
:" >&5
6410 cat conftest.$ac_ext >&5
6412 ac_sectionLDflags=no
6417 if test "$ac_test_CFLAGS" = set; then
6418 CFLAGS="$ac_save_CFLAGS"
6420 # this is the suspicious part
6423 if test "$ac_sectionLDflags" = "yes"; then
6424 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6426 echo "$ac_t""$ac_sectionLDflags" 1>&6
6429 # Set linker optimization flags.
6430 if test x"$with_gnu_ld" = x"yes"; then
6431 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6438 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
6439 echo "configure
:6440: checking
for main
in -lm" >&5
6440 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
6441 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6442 echo $ac_n "(cached
) $ac_c" 1>&6
6444 ac_save_LIBS="$LIBS"
6446 cat > conftest.$ac_ext <<EOF
6447 #line 6448 "configure
"
6448 #include "confdefs.h
"
6454 if { (eval echo configure:6455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6456 eval "ac_cv_lib_
$ac_lib_var=yes"
6458 echo "configure
: failed program was
:" >&5
6459 cat conftest.$ac_ext >&5
6461 eval "ac_cv_lib_
$ac_lib_var=no
"
6464 LIBS="$ac_save_LIBS"
6467 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6468 echo "$ac_t""yes" 1>&6
6469 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6470 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6471 cat >> confdefs.h <<EOF
6472 #define $ac_tr_lib 1
6478 echo "$ac_t""no
" 1>&6
6481 for ac_func in nan copysignf
6483 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6484 echo "configure
:6485: checking
for $ac_func" >&5
6485 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6486 echo $ac_n "(cached
) $ac_c" 1>&6
6488 cat > conftest.$ac_ext <<EOF
6489 #line 6490 "configure
"
6490 #include "confdefs.h
"
6491 /* System header to define __stub macros and hopefully few prototypes,
6492 which can conflict with char $ac_func(); below. */
6494 /* Override any gcc2 internal prototype to avoid an error. */
6495 /* We use char because int might match the return type of a gcc2
6496 builtin and then its argument prototype would still apply. */
6501 /* The GNU C library defines this for functions which it implements
6502 to always fail with ENOSYS. Some functions are actually named
6503 something starting with __ and the normal name is an alias. */
6504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6512 if { (eval echo configure:6513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6514 eval "ac_cv_func_
$ac_func=yes"
6516 echo "configure
: failed program was
:" >&5
6517 cat conftest.$ac_ext >&5
6519 eval "ac_cv_func_
$ac_func=no
"
6524 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6525 echo "$ac_t""yes" 1>&6
6526 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6527 cat >> confdefs.h <<EOF
6528 #define $ac_tr_func 1
6532 echo "$ac_t""no
" 1>&6
6533 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
6538 for ac_func in __signbit
6540 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6541 echo "configure
:6542: checking
for $ac_func" >&5
6542 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6543 echo $ac_n "(cached
) $ac_c" 1>&6
6545 cat > conftest.$ac_ext <<EOF
6546 #line 6547 "configure
"
6547 #include "confdefs.h
"
6548 /* System header to define __stub macros and hopefully few prototypes,
6549 which can conflict with char $ac_func(); below. */
6551 /* Override any gcc2 internal prototype to avoid an error. */
6552 /* We use char because int might match the return type of a gcc2
6553 builtin and then its argument prototype would still apply. */
6558 /* The GNU C library defines this for functions which it implements
6559 to always fail with ENOSYS. Some functions are actually named
6560 something starting with __ and the normal name is an alias. */
6561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6569 if { (eval echo configure:6570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6571 eval "ac_cv_func_
$ac_func=yes"
6573 echo "configure
: failed program was
:" >&5
6574 cat conftest.$ac_ext >&5
6576 eval "ac_cv_func_
$ac_func=no
"
6581 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6582 echo "$ac_t""yes" 1>&6
6583 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6584 cat >> confdefs.h <<EOF
6585 #define $ac_tr_func 1
6589 echo "$ac_t""no
" 1>&6
6590 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
6594 for ac_func in __signbitf
6596 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6597 echo "configure
:6598: checking
for $ac_func" >&5
6598 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6599 echo $ac_n "(cached
) $ac_c" 1>&6
6601 cat > conftest.$ac_ext <<EOF
6602 #line 6603 "configure
"
6603 #include "confdefs.h
"
6604 /* System header to define __stub macros and hopefully few prototypes,
6605 which can conflict with char $ac_func(); below. */
6607 /* Override any gcc2 internal prototype to avoid an error. */
6608 /* We use char because int might match the return type of a gcc2
6609 builtin and then its argument prototype would still apply. */
6614 /* The GNU C library defines this for functions which it implements
6615 to always fail with ENOSYS. Some functions are actually named
6616 something starting with __ and the normal name is an alias. */
6617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6625 if { (eval echo configure:6626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6627 eval "ac_cv_func_
$ac_func=yes"
6629 echo "configure
: failed program was
:" >&5
6630 cat conftest.$ac_ext >&5
6632 eval "ac_cv_func_
$ac_func=no
"
6637 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6638 echo "$ac_t""yes" 1>&6
6639 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6640 cat >> confdefs.h <<EOF
6641 #define $ac_tr_func 1
6645 echo "$ac_t""no
" 1>&6
6646 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
6651 if test x$ac_cv_func_copysignl = x"yes"; then
6652 for ac_func in __signbitl
6654 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6655 echo "configure
:6656: checking
for $ac_func" >&5
6656 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6657 echo $ac_n "(cached
) $ac_c" 1>&6
6659 cat > conftest.$ac_ext <<EOF
6660 #line 6661 "configure
"
6661 #include "confdefs.h
"
6662 /* System header to define __stub macros and hopefully few prototypes,
6663 which can conflict with char $ac_func(); below. */
6665 /* Override any gcc2 internal prototype to avoid an error. */
6666 /* We use char because int might match the return type of a gcc2
6667 builtin and then its argument prototype would still apply. */
6672 /* The GNU C library defines this for functions which it implements
6673 to always fail with ENOSYS. Some functions are actually named
6674 something starting with __ and the normal name is an alias. */
6675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6683 if { (eval echo configure:6684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6685 eval "ac_cv_func_
$ac_func=yes"
6687 echo "configure
: failed program was
:" >&5
6688 cat conftest.$ac_ext >&5
6690 eval "ac_cv_func_
$ac_func=no
"
6695 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6696 echo "$ac_t""yes" 1>&6
6697 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6698 cat >> confdefs.h <<EOF
6699 #define $ac_tr_func 1
6703 echo "$ac_t""no
" 1>&6
6704 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
6710 if test -n "$LIBMATHOBJS"; then
6717 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
6718 echo "configure
:6719: checking
for mbstate_t
" >&5
6719 cat > conftest.$ac_ext <<EOF
6720 #line 6721 "configure
"
6721 #include "confdefs.h
"
6724 mbstate_t teststate;
6727 if { (eval echo configure:6728: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6731 echo "configure
: failed program was
:" >&5
6732 cat conftest.$ac_ext >&5
6737 echo "$ac_t""$have_mbstate_t" 1>&6
6738 if test x"$have_mbstate_t" = xyes; then
6739 cat >> confdefs.h <<\EOF
6740 #define HAVE_MBSTATE_T 1
6745 for ac_hdr in wchar.h
6747 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6748 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6749 echo "configure
:6750: checking
for $ac_hdr" >&5
6750 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6751 echo $ac_n "(cached
) $ac_c" 1>&6
6753 cat > conftest.$ac_ext <<EOF
6754 #line 6755 "configure
"
6755 #include "confdefs.h
"
6758 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6759 { (eval echo configure:6760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6760 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6761 if test -z "$ac_err"; then
6763 eval "ac_cv_header_
$ac_safe=yes"
6766 echo "configure
: failed program was
:" >&5
6767 cat conftest.$ac_ext >&5
6769 eval "ac_cv_header_
$ac_safe=no
"
6773 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6774 echo "$ac_t""yes" 1>&6
6775 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6776 cat >> confdefs.h <<EOF
6777 #define $ac_tr_hdr 1
6781 echo "$ac_t""no
" 1>&6
6786 for ac_hdr in wctype.h
6788 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6789 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6790 echo "configure
:6791: checking
for $ac_hdr" >&5
6791 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6792 echo $ac_n "(cached
) $ac_c" 1>&6
6794 cat > conftest.$ac_ext <<EOF
6795 #line 6796 "configure
"
6796 #include "confdefs.h
"
6799 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6800 { (eval echo configure:6801: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6801 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6802 if test -z "$ac_err"; then
6804 eval "ac_cv_header_
$ac_safe=yes"
6807 echo "configure
: failed program was
:" >&5
6808 cat conftest.$ac_ext >&5
6810 eval "ac_cv_header_
$ac_safe=no
"
6814 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6815 echo "$ac_t""yes" 1>&6
6816 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6817 cat >> confdefs.h <<EOF
6818 #define $ac_tr_hdr 1
6822 echo "$ac_t""no
" 1>&6
6828 if test x"$ac_has_wchar_h" = xyes &&
6829 test x"$ac_has_wctype_h" = xyes &&
6830 test x"$enable_c_mbchar" != xno; then
6832 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
6833 echo "configure
:6834: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
6834 cat > conftest.$ac_ext <<EOF
6835 #line 6836 "configure
"
6836 #include "confdefs.h
"
6839 int i = WCHAR_MIN; int j = WCHAR_MAX;
6842 if { (eval echo configure:6843: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6844 has_wchar_minmax=yes
6846 echo "configure
: failed program was
:" >&5
6847 cat conftest.$ac_ext >&5
6852 echo "$ac_t""$has_wchar_minmax" 1>&6
6854 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
6855 echo "configure
:6856: checking
for WEOF
" >&5
6856 cat > conftest.$ac_ext <<EOF
6857 #line 6858 "configure
"
6858 #include "confdefs.h
"
6866 if { (eval echo configure:6867: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6870 echo "configure
: failed program was
:" >&5
6871 cat conftest.$ac_ext >&5
6876 echo "$ac_t""$has_weof" 1>&6
6879 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6881 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6882 echo "configure
:6883: checking
for $ac_func" >&5
6883 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6884 echo $ac_n "(cached
) $ac_c" 1>&6
6886 cat > conftest.$ac_ext <<EOF
6887 #line 6888 "configure
"
6888 #include "confdefs.h
"
6889 /* System header to define __stub macros and hopefully few prototypes,
6890 which can conflict with char $ac_func(); below. */
6892 /* Override any gcc2 internal prototype to avoid an error. */
6893 /* We use char because int might match the return type of a gcc2
6894 builtin and then its argument prototype would still apply. */
6899 /* The GNU C library defines this for functions which it implements
6900 to always fail with ENOSYS. Some functions are actually named
6901 something starting with __ and the normal name is an alias. */
6902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6910 if { (eval echo configure:6911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6912 eval "ac_cv_func_
$ac_func=yes"
6914 echo "configure
: failed program was
:" >&5
6915 cat conftest.$ac_ext >&5
6917 eval "ac_cv_func_
$ac_func=no
"
6922 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6923 echo "$ac_t""yes" 1>&6
6924 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6925 cat >> confdefs.h <<EOF
6926 #define $ac_tr_func 1
6930 echo "$ac_t""no
" 1>&6
6937 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
6938 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6939 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6940 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6941 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6942 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6944 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6945 echo "configure
:6946: checking
for $ac_func" >&5
6946 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6947 echo $ac_n "(cached
) $ac_c" 1>&6
6949 cat > conftest.$ac_ext <<EOF
6950 #line 6951 "configure
"
6951 #include "confdefs.h
"
6952 /* System header to define __stub macros and hopefully few prototypes,
6953 which can conflict with char $ac_func(); below. */
6955 /* Override any gcc2 internal prototype to avoid an error. */
6956 /* We use char because int might match the return type of a gcc2
6957 builtin and then its argument prototype would still apply. */
6962 /* The GNU C library defines this for functions which it implements
6963 to always fail with ENOSYS. Some functions are actually named
6964 something starting with __ and the normal name is an alias. */
6965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6973 if { (eval echo configure:6974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6975 eval "ac_cv_func_
$ac_func=yes"
6977 echo "configure
: failed program was
:" >&5
6978 cat conftest.$ac_ext >&5
6980 eval "ac_cv_func_
$ac_func=no
"
6985 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6986 echo "$ac_t""yes" 1>&6
6987 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6988 cat >> confdefs.h <<EOF
6989 #define $ac_tr_func 1
6993 echo "$ac_t""no
" 1>&6
7000 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
7001 echo "configure
:7002: checking
for ISO C99 wchar_t support
" >&5
7002 if test x"$has_weof" = xyes &&
7003 test x"$has_wchar_minmax" = xyes &&
7004 test x"$ac_wfuncs" = xyes; then
7005 ac_isoC99_wchar_t=yes
7007 ac_isoC99_wchar_t=no
7009 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7011 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
7012 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
7013 echo "configure
:7014: checking
for iconv.h
" >&5
7014 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7015 echo $ac_n "(cached
) $ac_c" 1>&6
7017 cat > conftest.$ac_ext <<EOF
7018 #line 7019 "configure
"
7019 #include "confdefs.h
"
7022 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7023 { (eval echo configure:7024: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7024 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7025 if test -z "$ac_err"; then
7027 eval "ac_cv_header_
$ac_safe=yes"
7030 echo "configure
: failed program was
:" >&5
7031 cat conftest.$ac_ext >&5
7033 eval "ac_cv_header_
$ac_safe=no
"
7037 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7038 echo "$ac_t""yes" 1>&6
7041 echo "$ac_t""no
" 1>&6
7045 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
7046 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
7047 echo "configure
:7048: checking
for langinfo.h
" >&5
7048 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7049 echo $ac_n "(cached
) $ac_c" 1>&6
7051 cat > conftest.$ac_ext <<EOF
7052 #line 7053 "configure
"
7053 #include "confdefs.h
"
7054 #include <langinfo.h>
7056 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7057 { (eval echo configure:7058: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7058 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7059 if test -z "$ac_err"; then
7061 eval "ac_cv_header_
$ac_safe=yes"
7064 echo "configure
: failed program was
:" >&5
7065 cat conftest.$ac_ext >&5
7067 eval "ac_cv_header_
$ac_safe=no
"
7071 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7072 echo "$ac_t""yes" 1>&6
7073 ac_has_langinfo_h=yes
7075 echo "$ac_t""no
" 1>&6
7076 ac_has_langinfo_h=no
7080 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
7081 echo "configure
:7082: checking
for iconv in -liconv" >&5
7082 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
7083 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7084 echo $ac_n "(cached
) $ac_c" 1>&6
7086 ac_save_LIBS="$LIBS"
7087 LIBS="-liconv $LIBS"
7088 cat > conftest.$ac_ext <<EOF
7089 #line 7090 "configure
"
7090 #include "confdefs.h
"
7091 /* Override any gcc2 internal prototype to avoid an error. */
7092 /* We use char because int might match the return type of a gcc2
7093 builtin and then its argument prototype would still apply. */
7100 if { (eval echo configure:7101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7102 eval "ac_cv_lib_
$ac_lib_var=yes"
7104 echo "configure
: failed program was
:" >&5
7105 cat conftest.$ac_ext >&5
7107 eval "ac_cv_lib_
$ac_lib_var=no
"
7110 LIBS="$ac_save_LIBS"
7113 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7114 echo "$ac_t""yes" 1>&6
7117 echo "$ac_t""no
" 1>&6
7120 ac_save_LIBS="$LIBS"
7121 LIBS="$LIBS $libiconv"
7123 for ac_func in iconv_open iconv_close iconv nl_langinfo
7125 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7126 echo "configure
:7127: checking
for $ac_func" >&5
7127 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7128 echo $ac_n "(cached
) $ac_c" 1>&6
7130 cat > conftest.$ac_ext <<EOF
7131 #line 7132 "configure
"
7132 #include "confdefs.h
"
7133 /* System header to define __stub macros and hopefully few prototypes,
7134 which can conflict with char $ac_func(); below. */
7136 /* Override any gcc2 internal prototype to avoid an error. */
7137 /* We use char because int might match the return type of a gcc2
7138 builtin and then its argument prototype would still apply. */
7143 /* The GNU C library defines this for functions which it implements
7144 to always fail with ENOSYS. Some functions are actually named
7145 something starting with __ and the normal name is an alias. */
7146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7154 if { (eval echo configure:7155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7156 eval "ac_cv_func_
$ac_func=yes"
7158 echo "configure
: failed program was
:" >&5
7159 cat conftest.$ac_ext >&5
7161 eval "ac_cv_func_
$ac_func=no
"
7166 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7167 echo "$ac_t""yes" 1>&6
7168 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7169 cat >> confdefs.h <<EOF
7170 #define $ac_tr_func 1
7175 echo "$ac_t""no
" 1>&6
7181 LIBS="$ac_save_LIBS"
7183 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
7184 echo "configure
:7185: checking
for XPG2 wchar_t support
" >&5
7185 if test x"$ac_has_iconv_h" = xyes &&
7186 test x"$ac_has_langinfo_h" = xyes &&
7187 test x"$ac_XPG2funcs" = xyes; then
7192 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
7194 if test x"$ac_isoC99_wchar_t" = xyes &&
7195 test x"$ac_XPG2_wchar_t" = xyes; then
7196 cat >> confdefs.h <<\EOF
7197 #define _GLIBCXX_USE_WCHAR_T 1
7203 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
7204 echo "configure
:7205: checking
for enabled wchar_t specializations
" >&5
7205 echo "$ac_t""$enable_wchar_t" 1>&6
7207 cat >> confdefs.h <<\EOF
7208 #define HAVE_COPYSIGN 1
7211 cat >> confdefs.h <<\EOF
7212 #define HAVE_COPYSIGNF 1
7215 cat >> confdefs.h <<\EOF
7216 #define HAVE_FINITE 1
7219 cat >> confdefs.h <<\EOF
7220 #define HAVE_FINITEF 1
7223 cat >> confdefs.h <<\EOF
7224 #define HAVE_FREXPF 1
7227 cat >> confdefs.h <<\EOF
7228 #define HAVE_HYPOTF 1
7231 cat >> confdefs.h <<\EOF
7232 #define HAVE_ISINF 1
7235 cat >> confdefs.h <<\EOF
7236 #define HAVE_ISINFF 1
7239 cat >> confdefs.h <<\EOF
7240 #define HAVE_ISNAN 1
7243 cat >> confdefs.h <<\EOF
7244 #define HAVE_ISNANF 1
7247 cat >> confdefs.h <<\EOF
7248 #define HAVE_SINCOS 1
7251 cat >> confdefs.h <<\EOF
7252 #define HAVE_SINCOSF 1
7255 if test x"long_double_math_on_this_cpu
" = x"yes"; then
7256 cat >> confdefs.h <<\EOF
7257 #define HAVE_FINITEL 1
7260 cat >> confdefs.h <<\EOF
7261 #define HAVE_HYPOTL 1
7264 cat >> confdefs.h <<\EOF
7265 #define HAVE_ISINFL 1
7268 cat >> confdefs.h <<\EOF
7269 #define HAVE_ISNANL 1
7275 os_include_dir="os
/mingw32
"
7276 for ac_hdr in sys/types.h locale.h float.h
7278 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7279 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
7280 echo "configure
:7281: checking
for $ac_hdr" >&5
7281 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7282 echo $ac_n "(cached
) $ac_c" 1>&6
7284 cat > conftest.$ac_ext <<EOF
7285 #line 7286 "configure
"
7286 #include "confdefs.h
"
7289 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7290 { (eval echo configure:7291: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7291 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7292 if test -z "$ac_err"; then
7294 eval "ac_cv_header_
$ac_safe=yes"
7297 echo "configure
: failed program was
:" >&5
7298 cat conftest.$ac_ext >&5
7300 eval "ac_cv_header_
$ac_safe=no
"
7304 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7305 echo "$ac_t""yes" 1>&6
7306 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7307 cat >> confdefs.h <<EOF
7308 #define $ac_tr_hdr 1
7312 echo "$ac_t""no
" 1>&6
7317 # If we're not using GNU ld, then there's no point in even trying these
7318 # tests. Check for that first. We should have already tested for gld
7319 # by now (in libtool), but require it now just to be safe...
7320 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7321 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7324 # The name set by libtool depends on the version of libtool. Shame on us
7325 # for depending on an impl detail, but c'est la vie. Older versions used
7326 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7327 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7328 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7329 # set (hence we're using an older libtool), then set it.
7330 if test x${with_gnu_ld+set} != xset; then
7331 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7332 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
7335 with_gnu_ld=$ac_cv_prog_gnu_ld
7339 # Start by getting the version number. I think the libtool test already
7340 # does some of this, but throws away the result.
7342 ldver=`$LD --version 2>/dev/null | head -1 | \
7343 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7345 glibcxx_gnu_ld_version=`echo $ldver | \
7346 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7348 # Set --gc-sections.
7349 if test "$with_gnu_ld" = "notbroken
"; then
7350 # GNU ld it is! Joy and bunny rabbits!
7352 # All these tests are for C++; save the language and the compiler flags.
7353 # Need to do this so that g++ won't try to link in libstdc++
7354 ac_test_CFLAGS="${CFLAGS+set}"
7355 ac_save_CFLAGS="$CFLAGS"
7356 CFLAGS='-x c++ -Wl,--gc-sections'
7358 # Check for -Wl,--gc-sections
7359 # XXX This test is broken at the moment, as symbols required for
7360 # linking are now in libsupc++ (not built yet.....). In addition,
7361 # this test has cored on solaris in the past. In addition,
7362 # --gc-sections doesn't really work at the moment (keeps on discarding
7363 # used sections, first .eh_frame and now some of the glibc sections for
7364 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7365 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
7366 echo "configure
:7367: checking
for ld that supports
-Wl,--gc-sections" >&5
7367 if test "$cross_compiling" = yes; then
7368 ac_sectionLDflags=yes
7370 cat > conftest.$ac_ext <<EOF
7371 #line 7372 "configure
"
7372 #include "confdefs.h
"
7382 if { (eval echo configure:7383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7384 ac_sectionLDflags=yes
7386 echo "configure
: failed program was
:" >&5
7387 cat conftest.$ac_ext >&5
7389 ac_sectionLDflags=no
7394 if test "$ac_test_CFLAGS" = set; then
7395 CFLAGS="$ac_save_CFLAGS"
7397 # this is the suspicious part
7400 if test "$ac_sectionLDflags" = "yes"; then
7401 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7403 echo "$ac_t""$ac_sectionLDflags" 1>&6
7406 # Set linker optimization flags.
7407 if test x"$with_gnu_ld" = x"yes"; then
7408 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7415 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
7416 echo "configure
:7417: checking
for main
in -lm" >&5
7417 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
7418 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7419 echo $ac_n "(cached
) $ac_c" 1>&6
7421 ac_save_LIBS="$LIBS"
7423 cat > conftest.$ac_ext <<EOF
7424 #line 7425 "configure
"
7425 #include "confdefs.h
"
7431 if { (eval echo configure:7432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7433 eval "ac_cv_lib_
$ac_lib_var=yes"
7435 echo "configure
: failed program was
:" >&5
7436 cat conftest.$ac_ext >&5
7438 eval "ac_cv_lib_
$ac_lib_var=no
"
7441 LIBS="$ac_save_LIBS"
7444 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7445 echo "$ac_t""yes" 1>&6
7446 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7447 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7448 cat >> confdefs.h <<EOF
7449 #define $ac_tr_lib 1
7455 echo "$ac_t""no
" 1>&6
7458 for ac_func in nan copysignf
7460 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7461 echo "configure
:7462: checking
for $ac_func" >&5
7462 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7463 echo $ac_n "(cached
) $ac_c" 1>&6
7465 cat > conftest.$ac_ext <<EOF
7466 #line 7467 "configure
"
7467 #include "confdefs.h
"
7468 /* System header to define __stub macros and hopefully few prototypes,
7469 which can conflict with char $ac_func(); below. */
7471 /* Override any gcc2 internal prototype to avoid an error. */
7472 /* We use char because int might match the return type of a gcc2
7473 builtin and then its argument prototype would still apply. */
7478 /* The GNU C library defines this for functions which it implements
7479 to always fail with ENOSYS. Some functions are actually named
7480 something starting with __ and the normal name is an alias. */
7481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7489 if { (eval echo configure:7490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7491 eval "ac_cv_func_
$ac_func=yes"
7493 echo "configure
: failed program was
:" >&5
7494 cat conftest.$ac_ext >&5
7496 eval "ac_cv_func_
$ac_func=no
"
7501 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7502 echo "$ac_t""yes" 1>&6
7503 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7504 cat >> confdefs.h <<EOF
7505 #define $ac_tr_func 1
7509 echo "$ac_t""no
" 1>&6
7510 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
7515 for ac_func in __signbit
7517 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7518 echo "configure
:7519: checking
for $ac_func" >&5
7519 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7520 echo $ac_n "(cached
) $ac_c" 1>&6
7522 cat > conftest.$ac_ext <<EOF
7523 #line 7524 "configure
"
7524 #include "confdefs.h
"
7525 /* System header to define __stub macros and hopefully few prototypes,
7526 which can conflict with char $ac_func(); below. */
7528 /* Override any gcc2 internal prototype to avoid an error. */
7529 /* We use char because int might match the return type of a gcc2
7530 builtin and then its argument prototype would still apply. */
7535 /* The GNU C library defines this for functions which it implements
7536 to always fail with ENOSYS. Some functions are actually named
7537 something starting with __ and the normal name is an alias. */
7538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7546 if { (eval echo configure:7547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7548 eval "ac_cv_func_
$ac_func=yes"
7550 echo "configure
: failed program was
:" >&5
7551 cat conftest.$ac_ext >&5
7553 eval "ac_cv_func_
$ac_func=no
"
7558 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7559 echo "$ac_t""yes" 1>&6
7560 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7561 cat >> confdefs.h <<EOF
7562 #define $ac_tr_func 1
7566 echo "$ac_t""no
" 1>&6
7567 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
7571 for ac_func in __signbitf
7573 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7574 echo "configure
:7575: checking
for $ac_func" >&5
7575 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7576 echo $ac_n "(cached
) $ac_c" 1>&6
7578 cat > conftest.$ac_ext <<EOF
7579 #line 7580 "configure
"
7580 #include "confdefs.h
"
7581 /* System header to define __stub macros and hopefully few prototypes,
7582 which can conflict with char $ac_func(); below. */
7584 /* Override any gcc2 internal prototype to avoid an error. */
7585 /* We use char because int might match the return type of a gcc2
7586 builtin and then its argument prototype would still apply. */
7591 /* The GNU C library defines this for functions which it implements
7592 to always fail with ENOSYS. Some functions are actually named
7593 something starting with __ and the normal name is an alias. */
7594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7602 if { (eval echo configure:7603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7604 eval "ac_cv_func_
$ac_func=yes"
7606 echo "configure
: failed program was
:" >&5
7607 cat conftest.$ac_ext >&5
7609 eval "ac_cv_func_
$ac_func=no
"
7614 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7615 echo "$ac_t""yes" 1>&6
7616 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7617 cat >> confdefs.h <<EOF
7618 #define $ac_tr_func 1
7622 echo "$ac_t""no
" 1>&6
7623 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
7628 if test x$ac_cv_func_copysignl = x"yes"; then
7629 for ac_func in __signbitl
7631 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7632 echo "configure
:7633: checking
for $ac_func" >&5
7633 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7634 echo $ac_n "(cached
) $ac_c" 1>&6
7636 cat > conftest.$ac_ext <<EOF
7637 #line 7638 "configure
"
7638 #include "confdefs.h
"
7639 /* System header to define __stub macros and hopefully few prototypes,
7640 which can conflict with char $ac_func(); below. */
7642 /* Override any gcc2 internal prototype to avoid an error. */
7643 /* We use char because int might match the return type of a gcc2
7644 builtin and then its argument prototype would still apply. */
7649 /* The GNU C library defines this for functions which it implements
7650 to always fail with ENOSYS. Some functions are actually named
7651 something starting with __ and the normal name is an alias. */
7652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7660 if { (eval echo configure:7661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7662 eval "ac_cv_func_
$ac_func=yes"
7664 echo "configure
: failed program was
:" >&5
7665 cat conftest.$ac_ext >&5
7667 eval "ac_cv_func_
$ac_func=no
"
7672 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7673 echo "$ac_t""yes" 1>&6
7674 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7675 cat >> confdefs.h <<EOF
7676 #define $ac_tr_func 1
7680 echo "$ac_t""no
" 1>&6
7681 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
7687 if test -n "$LIBMATHOBJS"; then
7694 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
7695 echo "configure
:7696: checking
for mbstate_t
" >&5
7696 cat > conftest.$ac_ext <<EOF
7697 #line 7698 "configure
"
7698 #include "confdefs.h
"
7701 mbstate_t teststate;
7704 if { (eval echo configure:7705: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7708 echo "configure
: failed program was
:" >&5
7709 cat conftest.$ac_ext >&5
7714 echo "$ac_t""$have_mbstate_t" 1>&6
7715 if test x"$have_mbstate_t" = xyes; then
7716 cat >> confdefs.h <<\EOF
7717 #define HAVE_MBSTATE_T 1
7722 for ac_hdr in wchar.h
7724 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7725 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
7726 echo "configure
:7727: checking
for $ac_hdr" >&5
7727 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7728 echo $ac_n "(cached
) $ac_c" 1>&6
7730 cat > conftest.$ac_ext <<EOF
7731 #line 7732 "configure
"
7732 #include "confdefs.h
"
7735 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7736 { (eval echo configure:7737: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7737 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7738 if test -z "$ac_err"; then
7740 eval "ac_cv_header_
$ac_safe=yes"
7743 echo "configure
: failed program was
:" >&5
7744 cat conftest.$ac_ext >&5
7746 eval "ac_cv_header_
$ac_safe=no
"
7750 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7751 echo "$ac_t""yes" 1>&6
7752 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7753 cat >> confdefs.h <<EOF
7754 #define $ac_tr_hdr 1
7758 echo "$ac_t""no
" 1>&6
7763 for ac_hdr in wctype.h
7765 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7766 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
7767 echo "configure
:7768: checking
for $ac_hdr" >&5
7768 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7769 echo $ac_n "(cached
) $ac_c" 1>&6
7771 cat > conftest.$ac_ext <<EOF
7772 #line 7773 "configure
"
7773 #include "confdefs.h
"
7776 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7777 { (eval echo configure:7778: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7778 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7779 if test -z "$ac_err"; then
7781 eval "ac_cv_header_
$ac_safe=yes"
7784 echo "configure
: failed program was
:" >&5
7785 cat conftest.$ac_ext >&5
7787 eval "ac_cv_header_
$ac_safe=no
"
7791 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7792 echo "$ac_t""yes" 1>&6
7793 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7794 cat >> confdefs.h <<EOF
7795 #define $ac_tr_hdr 1
7799 echo "$ac_t""no
" 1>&6
7805 if test x"$ac_has_wchar_h" = xyes &&
7806 test x"$ac_has_wctype_h" = xyes &&
7807 test x"$enable_c_mbchar" != xno; then
7809 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
7810 echo "configure
:7811: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
7811 cat > conftest.$ac_ext <<EOF
7812 #line 7813 "configure
"
7813 #include "confdefs.h
"
7816 int i = WCHAR_MIN; int j = WCHAR_MAX;
7819 if { (eval echo configure:7820: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7821 has_wchar_minmax=yes
7823 echo "configure
: failed program was
:" >&5
7824 cat conftest.$ac_ext >&5
7829 echo "$ac_t""$has_wchar_minmax" 1>&6
7831 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
7832 echo "configure
:7833: checking
for WEOF
" >&5
7833 cat > conftest.$ac_ext <<EOF
7834 #line 7835 "configure
"
7835 #include "confdefs.h
"
7843 if { (eval echo configure:7844: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7847 echo "configure
: failed program was
:" >&5
7848 cat conftest.$ac_ext >&5
7853 echo "$ac_t""$has_weof" 1>&6
7856 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
7858 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7859 echo "configure
:7860: checking
for $ac_func" >&5
7860 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7861 echo $ac_n "(cached
) $ac_c" 1>&6
7863 cat > conftest.$ac_ext <<EOF
7864 #line 7865 "configure
"
7865 #include "confdefs.h
"
7866 /* System header to define __stub macros and hopefully few prototypes,
7867 which can conflict with char $ac_func(); below. */
7869 /* Override any gcc2 internal prototype to avoid an error. */
7870 /* We use char because int might match the return type of a gcc2
7871 builtin and then its argument prototype would still apply. */
7876 /* The GNU C library defines this for functions which it implements
7877 to always fail with ENOSYS. Some functions are actually named
7878 something starting with __ and the normal name is an alias. */
7879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7887 if { (eval echo configure:7888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7889 eval "ac_cv_func_
$ac_func=yes"
7891 echo "configure
: failed program was
:" >&5
7892 cat conftest.$ac_ext >&5
7894 eval "ac_cv_func_
$ac_func=no
"
7899 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7900 echo "$ac_t""yes" 1>&6
7901 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7902 cat >> confdefs.h <<EOF
7903 #define $ac_tr_func 1
7907 echo "$ac_t""no
" 1>&6
7914 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
7915 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
7916 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
7917 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
7918 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
7919 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
7921 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7922 echo "configure
:7923: checking
for $ac_func" >&5
7923 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7924 echo $ac_n "(cached
) $ac_c" 1>&6
7926 cat > conftest.$ac_ext <<EOF
7927 #line 7928 "configure
"
7928 #include "confdefs.h
"
7929 /* System header to define __stub macros and hopefully few prototypes,
7930 which can conflict with char $ac_func(); below. */
7932 /* Override any gcc2 internal prototype to avoid an error. */
7933 /* We use char because int might match the return type of a gcc2
7934 builtin and then its argument prototype would still apply. */
7939 /* The GNU C library defines this for functions which it implements
7940 to always fail with ENOSYS. Some functions are actually named
7941 something starting with __ and the normal name is an alias. */
7942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7950 if { (eval echo configure:7951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7952 eval "ac_cv_func_
$ac_func=yes"
7954 echo "configure
: failed program was
:" >&5
7955 cat conftest.$ac_ext >&5
7957 eval "ac_cv_func_
$ac_func=no
"
7962 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7963 echo "$ac_t""yes" 1>&6
7964 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7965 cat >> confdefs.h <<EOF
7966 #define $ac_tr_func 1
7970 echo "$ac_t""no
" 1>&6
7977 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
7978 echo "configure
:7979: checking
for ISO C99 wchar_t support
" >&5
7979 if test x"$has_weof" = xyes &&
7980 test x"$has_wchar_minmax" = xyes &&
7981 test x"$ac_wfuncs" = xyes; then
7982 ac_isoC99_wchar_t=yes
7984 ac_isoC99_wchar_t=no
7986 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7988 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
7989 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
7990 echo "configure
:7991: checking
for iconv.h
" >&5
7991 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7992 echo $ac_n "(cached
) $ac_c" 1>&6
7994 cat > conftest.$ac_ext <<EOF
7995 #line 7996 "configure
"
7996 #include "confdefs.h
"
7999 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8000 { (eval echo configure:8001: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8001 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8002 if test -z "$ac_err"; then
8004 eval "ac_cv_header_
$ac_safe=yes"
8007 echo "configure
: failed program was
:" >&5
8008 cat conftest.$ac_ext >&5
8010 eval "ac_cv_header_
$ac_safe=no
"
8014 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8015 echo "$ac_t""yes" 1>&6
8018 echo "$ac_t""no
" 1>&6
8022 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
8023 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
8024 echo "configure
:8025: checking
for langinfo.h
" >&5
8025 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8026 echo $ac_n "(cached
) $ac_c" 1>&6
8028 cat > conftest.$ac_ext <<EOF
8029 #line 8030 "configure
"
8030 #include "confdefs.h
"
8031 #include <langinfo.h>
8033 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8034 { (eval echo configure:8035: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8035 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8036 if test -z "$ac_err"; then
8038 eval "ac_cv_header_
$ac_safe=yes"
8041 echo "configure
: failed program was
:" >&5
8042 cat conftest.$ac_ext >&5
8044 eval "ac_cv_header_
$ac_safe=no
"
8048 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8049 echo "$ac_t""yes" 1>&6
8050 ac_has_langinfo_h=yes
8052 echo "$ac_t""no
" 1>&6
8053 ac_has_langinfo_h=no
8057 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
8058 echo "configure
:8059: checking
for iconv in -liconv" >&5
8059 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
8060 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8061 echo $ac_n "(cached
) $ac_c" 1>&6
8063 ac_save_LIBS="$LIBS"
8064 LIBS="-liconv $LIBS"
8065 cat > conftest.$ac_ext <<EOF
8066 #line 8067 "configure
"
8067 #include "confdefs.h
"
8068 /* Override any gcc2 internal prototype to avoid an error. */
8069 /* We use char because int might match the return type of a gcc2
8070 builtin and then its argument prototype would still apply. */
8077 if { (eval echo configure:8078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8079 eval "ac_cv_lib_
$ac_lib_var=yes"
8081 echo "configure
: failed program was
:" >&5
8082 cat conftest.$ac_ext >&5
8084 eval "ac_cv_lib_
$ac_lib_var=no
"
8087 LIBS="$ac_save_LIBS"
8090 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8091 echo "$ac_t""yes" 1>&6
8094 echo "$ac_t""no
" 1>&6
8097 ac_save_LIBS="$LIBS"
8098 LIBS="$LIBS $libiconv"
8100 for ac_func in iconv_open iconv_close iconv nl_langinfo
8102 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8103 echo "configure
:8104: checking
for $ac_func" >&5
8104 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8105 echo $ac_n "(cached
) $ac_c" 1>&6
8107 cat > conftest.$ac_ext <<EOF
8108 #line 8109 "configure
"
8109 #include "confdefs.h
"
8110 /* System header to define __stub macros and hopefully few prototypes,
8111 which can conflict with char $ac_func(); below. */
8113 /* Override any gcc2 internal prototype to avoid an error. */
8114 /* We use char because int might match the return type of a gcc2
8115 builtin and then its argument prototype would still apply. */
8120 /* The GNU C library defines this for functions which it implements
8121 to always fail with ENOSYS. Some functions are actually named
8122 something starting with __ and the normal name is an alias. */
8123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8131 if { (eval echo configure:8132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8133 eval "ac_cv_func_
$ac_func=yes"
8135 echo "configure
: failed program was
:" >&5
8136 cat conftest.$ac_ext >&5
8138 eval "ac_cv_func_
$ac_func=no
"
8143 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8144 echo "$ac_t""yes" 1>&6
8145 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8146 cat >> confdefs.h <<EOF
8147 #define $ac_tr_func 1
8152 echo "$ac_t""no
" 1>&6
8158 LIBS="$ac_save_LIBS"
8160 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
8161 echo "configure
:8162: checking
for XPG2 wchar_t support
" >&5
8162 if test x"$ac_has_iconv_h" = xyes &&
8163 test x"$ac_has_langinfo_h" = xyes &&
8164 test x"$ac_XPG2funcs" = xyes; then
8169 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
8171 if test x"$ac_isoC99_wchar_t" = xyes &&
8172 test x"$ac_XPG2_wchar_t" = xyes; then
8173 cat >> confdefs.h <<\EOF
8174 #define _GLIBCXX_USE_WCHAR_T 1
8180 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
8181 echo "configure
:8182: checking
for enabled wchar_t specializations
" >&5
8182 echo "$ac_t""$enable_wchar_t" 1>&6
8186 os_include_dir="os
/bsd
/netbsd
"
8187 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
8188 machine/endian.h machine/param.h sys/machine.h sys/types.h \
8189 fp.h locale.h float.h inttypes.h
8191 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8192 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
8193 echo "configure
:8194: checking
for $ac_hdr" >&5
8194 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8195 echo $ac_n "(cached
) $ac_c" 1>&6
8197 cat > conftest.$ac_ext <<EOF
8198 #line 8199 "configure
"
8199 #include "confdefs.h
"
8202 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8203 { (eval echo configure:8204: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8204 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8205 if test -z "$ac_err"; then
8207 eval "ac_cv_header_
$ac_safe=yes"
8210 echo "configure
: failed program was
:" >&5
8211 cat conftest.$ac_ext >&5
8213 eval "ac_cv_header_
$ac_safe=no
"
8217 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8218 echo "$ac_t""yes" 1>&6
8219 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8220 cat >> confdefs.h <<EOF
8221 #define $ac_tr_hdr 1
8225 echo "$ac_t""no
" 1>&6
8229 SECTION_FLAGS='-ffunction-sections -fdata-sections'
8232 # If we're not using GNU ld, then there's no point in even trying these
8233 # tests. Check for that first. We should have already tested for gld
8234 # by now (in libtool), but require it now just to be safe...
8235 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8236 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8239 # The name set by libtool depends on the version of libtool. Shame on us
8240 # for depending on an impl detail, but c'est la vie. Older versions used
8241 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8242 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8243 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8244 # set (hence we're using an older libtool), then set it.
8245 if test x${with_gnu_ld+set} != xset; then
8246 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8247 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
8250 with_gnu_ld=$ac_cv_prog_gnu_ld
8254 # Start by getting the version number. I think the libtool test already
8255 # does some of this, but throws away the result.
8257 ldver=`$LD --version 2>/dev/null | head -1 | \
8258 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8260 glibcxx_gnu_ld_version=`echo $ldver | \
8261 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8263 # Set --gc-sections.
8264 if test "$with_gnu_ld" = "notbroken
"; then
8265 # GNU ld it is! Joy and bunny rabbits!
8267 # All these tests are for C++; save the language and the compiler flags.
8268 # Need to do this so that g++ won't try to link in libstdc++
8269 ac_test_CFLAGS="${CFLAGS+set}"
8270 ac_save_CFLAGS="$CFLAGS"
8271 CFLAGS='-x c++ -Wl,--gc-sections'
8273 # Check for -Wl,--gc-sections
8274 # XXX This test is broken at the moment, as symbols required for
8275 # linking are now in libsupc++ (not built yet.....). In addition,
8276 # this test has cored on solaris in the past. In addition,
8277 # --gc-sections doesn't really work at the moment (keeps on discarding
8278 # used sections, first .eh_frame and now some of the glibc sections for
8279 # iconv). Bzzzzt. Thanks for playing, maybe next time.
8280 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
8281 echo "configure
:8282: checking
for ld that supports
-Wl,--gc-sections" >&5
8282 if test "$cross_compiling" = yes; then
8283 ac_sectionLDflags=yes
8285 cat > conftest.$ac_ext <<EOF
8286 #line 8287 "configure
"
8287 #include "confdefs.h
"
8297 if { (eval echo configure:8298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8299 ac_sectionLDflags=yes
8301 echo "configure
: failed program was
:" >&5
8302 cat conftest.$ac_ext >&5
8304 ac_sectionLDflags=no
8309 if test "$ac_test_CFLAGS" = set; then
8310 CFLAGS="$ac_save_CFLAGS"
8312 # this is the suspicious part
8315 if test "$ac_sectionLDflags" = "yes"; then
8316 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8318 echo "$ac_t""$ac_sectionLDflags" 1>&6
8321 # Set linker optimization flags.
8322 if test x"$with_gnu_ld" = x"yes"; then
8323 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8330 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
8331 echo "configure
:8332: checking
for main
in -lm" >&5
8332 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
8333 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8334 echo $ac_n "(cached
) $ac_c" 1>&6
8336 ac_save_LIBS="$LIBS"
8338 cat > conftest.$ac_ext <<EOF
8339 #line 8340 "configure
"
8340 #include "confdefs.h
"
8346 if { (eval echo configure:8347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8348 eval "ac_cv_lib_
$ac_lib_var=yes"
8350 echo "configure
: failed program was
:" >&5
8351 cat conftest.$ac_ext >&5
8353 eval "ac_cv_lib_
$ac_lib_var=no
"
8356 LIBS="$ac_save_LIBS"
8359 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8360 echo "$ac_t""yes" 1>&6
8361 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
8362 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
8363 cat >> confdefs.h <<EOF
8364 #define $ac_tr_lib 1
8370 echo "$ac_t""no
" 1>&6
8373 for ac_func in nan copysignf
8375 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8376 echo "configure
:8377: checking
for $ac_func" >&5
8377 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8378 echo $ac_n "(cached
) $ac_c" 1>&6
8380 cat > conftest.$ac_ext <<EOF
8381 #line 8382 "configure
"
8382 #include "confdefs.h
"
8383 /* System header to define __stub macros and hopefully few prototypes,
8384 which can conflict with char $ac_func(); below. */
8386 /* Override any gcc2 internal prototype to avoid an error. */
8387 /* We use char because int might match the return type of a gcc2
8388 builtin and then its argument prototype would still apply. */
8393 /* The GNU C library defines this for functions which it implements
8394 to always fail with ENOSYS. Some functions are actually named
8395 something starting with __ and the normal name is an alias. */
8396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8404 if { (eval echo configure:8405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8406 eval "ac_cv_func_
$ac_func=yes"
8408 echo "configure
: failed program was
:" >&5
8409 cat conftest.$ac_ext >&5
8411 eval "ac_cv_func_
$ac_func=no
"
8416 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8417 echo "$ac_t""yes" 1>&6
8418 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8419 cat >> confdefs.h <<EOF
8420 #define $ac_tr_func 1
8424 echo "$ac_t""no
" 1>&6
8425 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
8430 for ac_func in __signbit
8432 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8433 echo "configure
:8434: checking
for $ac_func" >&5
8434 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8435 echo $ac_n "(cached
) $ac_c" 1>&6
8437 cat > conftest.$ac_ext <<EOF
8438 #line 8439 "configure
"
8439 #include "confdefs.h
"
8440 /* System header to define __stub macros and hopefully few prototypes,
8441 which can conflict with char $ac_func(); below. */
8443 /* Override any gcc2 internal prototype to avoid an error. */
8444 /* We use char because int might match the return type of a gcc2
8445 builtin and then its argument prototype would still apply. */
8450 /* The GNU C library defines this for functions which it implements
8451 to always fail with ENOSYS. Some functions are actually named
8452 something starting with __ and the normal name is an alias. */
8453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8461 if { (eval echo configure:8462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8463 eval "ac_cv_func_
$ac_func=yes"
8465 echo "configure
: failed program was
:" >&5
8466 cat conftest.$ac_ext >&5
8468 eval "ac_cv_func_
$ac_func=no
"
8473 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8474 echo "$ac_t""yes" 1>&6
8475 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8476 cat >> confdefs.h <<EOF
8477 #define $ac_tr_func 1
8481 echo "$ac_t""no
" 1>&6
8482 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
8486 for ac_func in __signbitf
8488 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8489 echo "configure
:8490: checking
for $ac_func" >&5
8490 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8491 echo $ac_n "(cached
) $ac_c" 1>&6
8493 cat > conftest.$ac_ext <<EOF
8494 #line 8495 "configure
"
8495 #include "confdefs.h
"
8496 /* System header to define __stub macros and hopefully few prototypes,
8497 which can conflict with char $ac_func(); below. */
8499 /* Override any gcc2 internal prototype to avoid an error. */
8500 /* We use char because int might match the return type of a gcc2
8501 builtin and then its argument prototype would still apply. */
8506 /* The GNU C library defines this for functions which it implements
8507 to always fail with ENOSYS. Some functions are actually named
8508 something starting with __ and the normal name is an alias. */
8509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8517 if { (eval echo configure:8518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8519 eval "ac_cv_func_
$ac_func=yes"
8521 echo "configure
: failed program was
:" >&5
8522 cat conftest.$ac_ext >&5
8524 eval "ac_cv_func_
$ac_func=no
"
8529 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8530 echo "$ac_t""yes" 1>&6
8531 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8532 cat >> confdefs.h <<EOF
8533 #define $ac_tr_func 1
8537 echo "$ac_t""no
" 1>&6
8538 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
8543 if test x$ac_cv_func_copysignl = x"yes"; then
8544 for ac_func in __signbitl
8546 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8547 echo "configure
:8548: checking
for $ac_func" >&5
8548 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8549 echo $ac_n "(cached
) $ac_c" 1>&6
8551 cat > conftest.$ac_ext <<EOF
8552 #line 8553 "configure
"
8553 #include "confdefs.h
"
8554 /* System header to define __stub macros and hopefully few prototypes,
8555 which can conflict with char $ac_func(); below. */
8557 /* Override any gcc2 internal prototype to avoid an error. */
8558 /* We use char because int might match the return type of a gcc2
8559 builtin and then its argument prototype would still apply. */
8564 /* The GNU C library defines this for functions which it implements
8565 to always fail with ENOSYS. Some functions are actually named
8566 something starting with __ and the normal name is an alias. */
8567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8575 if { (eval echo configure:8576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8577 eval "ac_cv_func_
$ac_func=yes"
8579 echo "configure
: failed program was
:" >&5
8580 cat conftest.$ac_ext >&5
8582 eval "ac_cv_func_
$ac_func=no
"
8587 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8588 echo "$ac_t""yes" 1>&6
8589 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8590 cat >> confdefs.h <<EOF
8591 #define $ac_tr_func 1
8595 echo "$ac_t""no
" 1>&6
8596 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
8602 if test -n "$LIBMATHOBJS"; then
8609 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
8610 echo "configure
:8611: checking
for mbstate_t
" >&5
8611 cat > conftest.$ac_ext <<EOF
8612 #line 8613 "configure
"
8613 #include "confdefs.h
"
8616 mbstate_t teststate;
8619 if { (eval echo configure:8620: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8623 echo "configure
: failed program was
:" >&5
8624 cat conftest.$ac_ext >&5
8629 echo "$ac_t""$have_mbstate_t" 1>&6
8630 if test x"$have_mbstate_t" = xyes; then
8631 cat >> confdefs.h <<\EOF
8632 #define HAVE_MBSTATE_T 1
8637 for ac_hdr in wchar.h
8639 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8640 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
8641 echo "configure
:8642: checking
for $ac_hdr" >&5
8642 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8643 echo $ac_n "(cached
) $ac_c" 1>&6
8645 cat > conftest.$ac_ext <<EOF
8646 #line 8647 "configure
"
8647 #include "confdefs.h
"
8650 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8651 { (eval echo configure:8652: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8652 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8653 if test -z "$ac_err"; then
8655 eval "ac_cv_header_
$ac_safe=yes"
8658 echo "configure
: failed program was
:" >&5
8659 cat conftest.$ac_ext >&5
8661 eval "ac_cv_header_
$ac_safe=no
"
8665 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8666 echo "$ac_t""yes" 1>&6
8667 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8668 cat >> confdefs.h <<EOF
8669 #define $ac_tr_hdr 1
8673 echo "$ac_t""no
" 1>&6
8678 for ac_hdr in wctype.h
8680 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8681 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
8682 echo "configure
:8683: checking
for $ac_hdr" >&5
8683 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8684 echo $ac_n "(cached
) $ac_c" 1>&6
8686 cat > conftest.$ac_ext <<EOF
8687 #line 8688 "configure
"
8688 #include "confdefs.h
"
8691 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8692 { (eval echo configure:8693: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8693 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8694 if test -z "$ac_err"; then
8696 eval "ac_cv_header_
$ac_safe=yes"
8699 echo "configure
: failed program was
:" >&5
8700 cat conftest.$ac_ext >&5
8702 eval "ac_cv_header_
$ac_safe=no
"
8706 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8707 echo "$ac_t""yes" 1>&6
8708 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8709 cat >> confdefs.h <<EOF
8710 #define $ac_tr_hdr 1
8714 echo "$ac_t""no
" 1>&6
8720 if test x"$ac_has_wchar_h" = xyes &&
8721 test x"$ac_has_wctype_h" = xyes &&
8722 test x"$enable_c_mbchar" != xno; then
8724 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
8725 echo "configure
:8726: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
8726 cat > conftest.$ac_ext <<EOF
8727 #line 8728 "configure
"
8728 #include "confdefs.h
"
8731 int i = WCHAR_MIN; int j = WCHAR_MAX;
8734 if { (eval echo configure:8735: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8736 has_wchar_minmax=yes
8738 echo "configure
: failed program was
:" >&5
8739 cat conftest.$ac_ext >&5
8744 echo "$ac_t""$has_wchar_minmax" 1>&6
8746 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
8747 echo "configure
:8748: checking
for WEOF
" >&5
8748 cat > conftest.$ac_ext <<EOF
8749 #line 8750 "configure
"
8750 #include "confdefs.h
"
8758 if { (eval echo configure:8759: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8762 echo "configure
: failed program was
:" >&5
8763 cat conftest.$ac_ext >&5
8768 echo "$ac_t""$has_weof" 1>&6
8771 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
8773 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8774 echo "configure
:8775: checking
for $ac_func" >&5
8775 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8776 echo $ac_n "(cached
) $ac_c" 1>&6
8778 cat > conftest.$ac_ext <<EOF
8779 #line 8780 "configure
"
8780 #include "confdefs.h
"
8781 /* System header to define __stub macros and hopefully few prototypes,
8782 which can conflict with char $ac_func(); below. */
8784 /* Override any gcc2 internal prototype to avoid an error. */
8785 /* We use char because int might match the return type of a gcc2
8786 builtin and then its argument prototype would still apply. */
8791 /* The GNU C library defines this for functions which it implements
8792 to always fail with ENOSYS. Some functions are actually named
8793 something starting with __ and the normal name is an alias. */
8794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8802 if { (eval echo configure:8803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8804 eval "ac_cv_func_
$ac_func=yes"
8806 echo "configure
: failed program was
:" >&5
8807 cat conftest.$ac_ext >&5
8809 eval "ac_cv_func_
$ac_func=no
"
8814 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8815 echo "$ac_t""yes" 1>&6
8816 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8817 cat >> confdefs.h <<EOF
8818 #define $ac_tr_func 1
8822 echo "$ac_t""no
" 1>&6
8829 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
8830 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
8831 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
8832 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
8833 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
8834 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
8836 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8837 echo "configure
:8838: checking
for $ac_func" >&5
8838 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8839 echo $ac_n "(cached
) $ac_c" 1>&6
8841 cat > conftest.$ac_ext <<EOF
8842 #line 8843 "configure
"
8843 #include "confdefs.h
"
8844 /* System header to define __stub macros and hopefully few prototypes,
8845 which can conflict with char $ac_func(); below. */
8847 /* Override any gcc2 internal prototype to avoid an error. */
8848 /* We use char because int might match the return type of a gcc2
8849 builtin and then its argument prototype would still apply. */
8854 /* The GNU C library defines this for functions which it implements
8855 to always fail with ENOSYS. Some functions are actually named
8856 something starting with __ and the normal name is an alias. */
8857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8865 if { (eval echo configure:8866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8867 eval "ac_cv_func_
$ac_func=yes"
8869 echo "configure
: failed program was
:" >&5
8870 cat conftest.$ac_ext >&5
8872 eval "ac_cv_func_
$ac_func=no
"
8877 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8878 echo "$ac_t""yes" 1>&6
8879 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8880 cat >> confdefs.h <<EOF
8881 #define $ac_tr_func 1
8885 echo "$ac_t""no
" 1>&6
8892 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
8893 echo "configure
:8894: checking
for ISO C99 wchar_t support
" >&5
8894 if test x"$has_weof" = xyes &&
8895 test x"$has_wchar_minmax" = xyes &&
8896 test x"$ac_wfuncs" = xyes; then
8897 ac_isoC99_wchar_t=yes
8899 ac_isoC99_wchar_t=no
8901 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
8903 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
8904 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
8905 echo "configure
:8906: checking
for iconv.h
" >&5
8906 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8907 echo $ac_n "(cached
) $ac_c" 1>&6
8909 cat > conftest.$ac_ext <<EOF
8910 #line 8911 "configure
"
8911 #include "confdefs.h
"
8914 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8915 { (eval echo configure:8916: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8916 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8917 if test -z "$ac_err"; then
8919 eval "ac_cv_header_
$ac_safe=yes"
8922 echo "configure
: failed program was
:" >&5
8923 cat conftest.$ac_ext >&5
8925 eval "ac_cv_header_
$ac_safe=no
"
8929 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8930 echo "$ac_t""yes" 1>&6
8933 echo "$ac_t""no
" 1>&6
8937 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
8938 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
8939 echo "configure
:8940: checking
for langinfo.h
" >&5
8940 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8941 echo $ac_n "(cached
) $ac_c" 1>&6
8943 cat > conftest.$ac_ext <<EOF
8944 #line 8945 "configure
"
8945 #include "confdefs.h
"
8946 #include <langinfo.h>
8948 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8949 { (eval echo configure:8950: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8950 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8951 if test -z "$ac_err"; then
8953 eval "ac_cv_header_
$ac_safe=yes"
8956 echo "configure
: failed program was
:" >&5
8957 cat conftest.$ac_ext >&5
8959 eval "ac_cv_header_
$ac_safe=no
"
8963 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8964 echo "$ac_t""yes" 1>&6
8965 ac_has_langinfo_h=yes
8967 echo "$ac_t""no
" 1>&6
8968 ac_has_langinfo_h=no
8972 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
8973 echo "configure
:8974: checking
for iconv in -liconv" >&5
8974 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
8975 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8976 echo $ac_n "(cached
) $ac_c" 1>&6
8978 ac_save_LIBS="$LIBS"
8979 LIBS="-liconv $LIBS"
8980 cat > conftest.$ac_ext <<EOF
8981 #line 8982 "configure
"
8982 #include "confdefs.h
"
8983 /* Override any gcc2 internal prototype to avoid an error. */
8984 /* We use char because int might match the return type of a gcc2
8985 builtin and then its argument prototype would still apply. */
8992 if { (eval echo configure:8993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8994 eval "ac_cv_lib_
$ac_lib_var=yes"
8996 echo "configure
: failed program was
:" >&5
8997 cat conftest.$ac_ext >&5
8999 eval "ac_cv_lib_
$ac_lib_var=no
"
9002 LIBS="$ac_save_LIBS"
9005 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9006 echo "$ac_t""yes" 1>&6
9009 echo "$ac_t""no
" 1>&6
9012 ac_save_LIBS="$LIBS"
9013 LIBS="$LIBS $libiconv"
9015 for ac_func in iconv_open iconv_close iconv nl_langinfo
9017 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9018 echo "configure
:9019: checking
for $ac_func" >&5
9019 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9020 echo $ac_n "(cached
) $ac_c" 1>&6
9022 cat > conftest.$ac_ext <<EOF
9023 #line 9024 "configure
"
9024 #include "confdefs.h
"
9025 /* System header to define __stub macros and hopefully few prototypes,
9026 which can conflict with char $ac_func(); below. */
9028 /* Override any gcc2 internal prototype to avoid an error. */
9029 /* We use char because int might match the return type of a gcc2
9030 builtin and then its argument prototype would still apply. */
9035 /* The GNU C library defines this for functions which it implements
9036 to always fail with ENOSYS. Some functions are actually named
9037 something starting with __ and the normal name is an alias. */
9038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9046 if { (eval echo configure:9047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9048 eval "ac_cv_func_
$ac_func=yes"
9050 echo "configure
: failed program was
:" >&5
9051 cat conftest.$ac_ext >&5
9053 eval "ac_cv_func_
$ac_func=no
"
9058 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9059 echo "$ac_t""yes" 1>&6
9060 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9061 cat >> confdefs.h <<EOF
9062 #define $ac_tr_func 1
9067 echo "$ac_t""no
" 1>&6
9073 LIBS="$ac_save_LIBS"
9075 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
9076 echo "configure
:9077: checking
for XPG2 wchar_t support
" >&5
9077 if test x"$ac_has_iconv_h" = xyes &&
9078 test x"$ac_has_langinfo_h" = xyes &&
9079 test x"$ac_XPG2funcs" = xyes; then
9084 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
9086 if test x"$ac_isoC99_wchar_t" = xyes &&
9087 test x"$ac_XPG2_wchar_t" = xyes; then
9088 cat >> confdefs.h <<\EOF
9089 #define _GLIBCXX_USE_WCHAR_T 1
9095 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
9096 echo "configure
:9097: checking
for enabled wchar_t specializations
" >&5
9097 echo "$ac_t""$enable_wchar_t" 1>&6
9099 cat >> confdefs.h <<\EOF
9100 #define HAVE_COPYSIGN 1
9103 cat >> confdefs.h <<\EOF
9104 #define HAVE_COPYSIGNF 1
9107 cat >> confdefs.h <<\EOF
9108 #define HAVE_FINITEF 1
9111 cat >> confdefs.h <<\EOF
9112 #define HAVE_FINITE 1
9115 cat >> confdefs.h <<\EOF
9116 #define HAVE_FREXPF 1
9119 cat >> confdefs.h <<\EOF
9120 #define HAVE_HYPOTF 1
9123 cat >> confdefs.h <<\EOF
9124 #define HAVE_ISINF 1
9127 cat >> confdefs.h <<\EOF
9128 #define HAVE_ISINFF 1
9131 cat >> confdefs.h <<\EOF
9132 #define HAVE_ISNAN 1
9135 cat >> confdefs.h <<\EOF
9136 #define HAVE_ISNANF 1
9139 if test x"long_double_math_on_this_cpu
" = x"yes"; then
9140 cat >> confdefs.h <<\EOF
9141 #define HAVE_FINITEL 1
9144 cat >> confdefs.h <<\EOF
9145 #define HAVE_ISINFL 1
9148 cat >> confdefs.h <<\EOF
9149 #define HAVE_ISNANL 1
9154 *-qnx6.1* | *-qnx6.2*)
9155 os_include_dir="os
/qnx
/qnx6.1
"
9156 SECTION_FLAGS='-ffunction-sections -fdata-sections'
9159 # If we're not using GNU ld, then there's no point in even trying these
9160 # tests. Check for that first. We should have already tested for gld
9161 # by now (in libtool), but require it now just to be safe...
9162 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
9163 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
9166 # The name set by libtool depends on the version of libtool. Shame on us
9167 # for depending on an impl detail, but c'est la vie. Older versions used
9168 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
9169 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
9170 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
9171 # set (hence we're using an older libtool), then set it.
9172 if test x${with_gnu_ld+set} != xset; then
9173 if test x${ac_cv_prog_gnu_ld+set} != xset; then
9174 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
9177 with_gnu_ld=$ac_cv_prog_gnu_ld
9181 # Start by getting the version number. I think the libtool test already
9182 # does some of this, but throws away the result.
9184 ldver=`$LD --version 2>/dev/null | head -1 | \
9185 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
9187 glibcxx_gnu_ld_version=`echo $ldver | \
9188 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
9190 # Set --gc-sections.
9191 if test "$with_gnu_ld" = "notbroken
"; then
9192 # GNU ld it is! Joy and bunny rabbits!
9194 # All these tests are for C++; save the language and the compiler flags.
9195 # Need to do this so that g++ won't try to link in libstdc++
9196 ac_test_CFLAGS="${CFLAGS+set}"
9197 ac_save_CFLAGS="$CFLAGS"
9198 CFLAGS='-x c++ -Wl,--gc-sections'
9200 # Check for -Wl,--gc-sections
9201 # XXX This test is broken at the moment, as symbols required for
9202 # linking are now in libsupc++ (not built yet.....). In addition,
9203 # this test has cored on solaris in the past. In addition,
9204 # --gc-sections doesn't really work at the moment (keeps on discarding
9205 # used sections, first .eh_frame and now some of the glibc sections for
9206 # iconv). Bzzzzt. Thanks for playing, maybe next time.
9207 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
9208 echo "configure
:9209: checking
for ld that supports
-Wl,--gc-sections" >&5
9209 if test "$cross_compiling" = yes; then
9210 ac_sectionLDflags=yes
9212 cat > conftest.$ac_ext <<EOF
9213 #line 9214 "configure
"
9214 #include "confdefs.h
"
9224 if { (eval echo configure:9225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9226 ac_sectionLDflags=yes
9228 echo "configure
: failed program was
:" >&5
9229 cat conftest.$ac_ext >&5
9231 ac_sectionLDflags=no
9236 if test "$ac_test_CFLAGS" = set; then
9237 CFLAGS="$ac_save_CFLAGS"
9239 # this is the suspicious part
9242 if test "$ac_sectionLDflags" = "yes"; then
9243 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
9245 echo "$ac_t""$ac_sectionLDflags" 1>&6
9248 # Set linker optimization flags.
9249 if test x"$with_gnu_ld" = x"yes"; then
9250 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
9257 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
9258 echo "configure
:9259: checking
for main
in -lm" >&5
9259 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
9260 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9261 echo $ac_n "(cached
) $ac_c" 1>&6
9263 ac_save_LIBS="$LIBS"
9265 cat > conftest.$ac_ext <<EOF
9266 #line 9267 "configure
"
9267 #include "confdefs.h
"
9273 if { (eval echo configure:9274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9275 eval "ac_cv_lib_
$ac_lib_var=yes"
9277 echo "configure
: failed program was
:" >&5
9278 cat conftest.$ac_ext >&5
9280 eval "ac_cv_lib_
$ac_lib_var=no
"
9283 LIBS="$ac_save_LIBS"
9286 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9287 echo "$ac_t""yes" 1>&6
9288 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
9289 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
9290 cat >> confdefs.h <<EOF
9291 #define $ac_tr_lib 1
9297 echo "$ac_t""no
" 1>&6
9300 for ac_func in nan copysignf
9302 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9303 echo "configure
:9304: checking
for $ac_func" >&5
9304 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9305 echo $ac_n "(cached
) $ac_c" 1>&6
9307 cat > conftest.$ac_ext <<EOF
9308 #line 9309 "configure
"
9309 #include "confdefs.h
"
9310 /* System header to define __stub macros and hopefully few prototypes,
9311 which can conflict with char $ac_func(); below. */
9313 /* Override any gcc2 internal prototype to avoid an error. */
9314 /* We use char because int might match the return type of a gcc2
9315 builtin and then its argument prototype would still apply. */
9320 /* The GNU C library defines this for functions which it implements
9321 to always fail with ENOSYS. Some functions are actually named
9322 something starting with __ and the normal name is an alias. */
9323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9331 if { (eval echo configure:9332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9333 eval "ac_cv_func_
$ac_func=yes"
9335 echo "configure
: failed program was
:" >&5
9336 cat conftest.$ac_ext >&5
9338 eval "ac_cv_func_
$ac_func=no
"
9343 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9344 echo "$ac_t""yes" 1>&6
9345 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9346 cat >> confdefs.h <<EOF
9347 #define $ac_tr_func 1
9351 echo "$ac_t""no
" 1>&6
9352 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
9357 for ac_func in __signbit
9359 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9360 echo "configure
:9361: checking
for $ac_func" >&5
9361 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9362 echo $ac_n "(cached
) $ac_c" 1>&6
9364 cat > conftest.$ac_ext <<EOF
9365 #line 9366 "configure
"
9366 #include "confdefs.h
"
9367 /* System header to define __stub macros and hopefully few prototypes,
9368 which can conflict with char $ac_func(); below. */
9370 /* Override any gcc2 internal prototype to avoid an error. */
9371 /* We use char because int might match the return type of a gcc2
9372 builtin and then its argument prototype would still apply. */
9377 /* The GNU C library defines this for functions which it implements
9378 to always fail with ENOSYS. Some functions are actually named
9379 something starting with __ and the normal name is an alias. */
9380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9388 if { (eval echo configure:9389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9390 eval "ac_cv_func_
$ac_func=yes"
9392 echo "configure
: failed program was
:" >&5
9393 cat conftest.$ac_ext >&5
9395 eval "ac_cv_func_
$ac_func=no
"
9400 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9401 echo "$ac_t""yes" 1>&6
9402 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9403 cat >> confdefs.h <<EOF
9404 #define $ac_tr_func 1
9408 echo "$ac_t""no
" 1>&6
9409 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
9413 for ac_func in __signbitf
9415 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9416 echo "configure
:9417: checking
for $ac_func" >&5
9417 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9418 echo $ac_n "(cached
) $ac_c" 1>&6
9420 cat > conftest.$ac_ext <<EOF
9421 #line 9422 "configure
"
9422 #include "confdefs.h
"
9423 /* System header to define __stub macros and hopefully few prototypes,
9424 which can conflict with char $ac_func(); below. */
9426 /* Override any gcc2 internal prototype to avoid an error. */
9427 /* We use char because int might match the return type of a gcc2
9428 builtin and then its argument prototype would still apply. */
9433 /* The GNU C library defines this for functions which it implements
9434 to always fail with ENOSYS. Some functions are actually named
9435 something starting with __ and the normal name is an alias. */
9436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9444 if { (eval echo configure:9445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9446 eval "ac_cv_func_
$ac_func=yes"
9448 echo "configure
: failed program was
:" >&5
9449 cat conftest.$ac_ext >&5
9451 eval "ac_cv_func_
$ac_func=no
"
9456 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9457 echo "$ac_t""yes" 1>&6
9458 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9459 cat >> confdefs.h <<EOF
9460 #define $ac_tr_func 1
9464 echo "$ac_t""no
" 1>&6
9465 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
9470 if test x$ac_cv_func_copysignl = x"yes"; then
9471 for ac_func in __signbitl
9473 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9474 echo "configure
:9475: checking
for $ac_func" >&5
9475 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9476 echo $ac_n "(cached
) $ac_c" 1>&6
9478 cat > conftest.$ac_ext <<EOF
9479 #line 9480 "configure
"
9480 #include "confdefs.h
"
9481 /* System header to define __stub macros and hopefully few prototypes,
9482 which can conflict with char $ac_func(); below. */
9484 /* Override any gcc2 internal prototype to avoid an error. */
9485 /* We use char because int might match the return type of a gcc2
9486 builtin and then its argument prototype would still apply. */
9491 /* The GNU C library defines this for functions which it implements
9492 to always fail with ENOSYS. Some functions are actually named
9493 something starting with __ and the normal name is an alias. */
9494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9502 if { (eval echo configure:9503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9504 eval "ac_cv_func_
$ac_func=yes"
9506 echo "configure
: failed program was
:" >&5
9507 cat conftest.$ac_ext >&5
9509 eval "ac_cv_func_
$ac_func=no
"
9514 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9515 echo "$ac_t""yes" 1>&6
9516 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9517 cat >> confdefs.h <<EOF
9518 #define $ac_tr_func 1
9522 echo "$ac_t""no
" 1>&6
9523 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
9529 if test -n "$LIBMATHOBJS"; then
9536 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
9537 echo "configure
:9538: checking
for mbstate_t
" >&5
9538 cat > conftest.$ac_ext <<EOF
9539 #line 9540 "configure
"
9540 #include "confdefs.h
"
9543 mbstate_t teststate;
9546 if { (eval echo configure:9547: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9550 echo "configure
: failed program was
:" >&5
9551 cat conftest.$ac_ext >&5
9556 echo "$ac_t""$have_mbstate_t" 1>&6
9557 if test x"$have_mbstate_t" = xyes; then
9558 cat >> confdefs.h <<\EOF
9559 #define HAVE_MBSTATE_T 1
9564 for ac_hdr in wchar.h
9566 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9567 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
9568 echo "configure
:9569: checking
for $ac_hdr" >&5
9569 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9570 echo $ac_n "(cached
) $ac_c" 1>&6
9572 cat > conftest.$ac_ext <<EOF
9573 #line 9574 "configure
"
9574 #include "confdefs.h
"
9577 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
9578 { (eval echo configure:9579: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9579 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
9580 if test -z "$ac_err"; then
9582 eval "ac_cv_header_
$ac_safe=yes"
9585 echo "configure
: failed program was
:" >&5
9586 cat conftest.$ac_ext >&5
9588 eval "ac_cv_header_
$ac_safe=no
"
9592 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9593 echo "$ac_t""yes" 1>&6
9594 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9595 cat >> confdefs.h <<EOF
9596 #define $ac_tr_hdr 1
9600 echo "$ac_t""no
" 1>&6
9605 for ac_hdr in wctype.h
9607 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9608 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
9609 echo "configure
:9610: checking
for $ac_hdr" >&5
9610 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9611 echo $ac_n "(cached
) $ac_c" 1>&6
9613 cat > conftest.$ac_ext <<EOF
9614 #line 9615 "configure
"
9615 #include "confdefs.h
"
9618 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
9619 { (eval echo configure:9620: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9620 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
9621 if test -z "$ac_err"; then
9623 eval "ac_cv_header_
$ac_safe=yes"
9626 echo "configure
: failed program was
:" >&5
9627 cat conftest.$ac_ext >&5
9629 eval "ac_cv_header_
$ac_safe=no
"
9633 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9634 echo "$ac_t""yes" 1>&6
9635 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9636 cat >> confdefs.h <<EOF
9637 #define $ac_tr_hdr 1
9641 echo "$ac_t""no
" 1>&6
9647 if test x"$ac_has_wchar_h" = xyes &&
9648 test x"$ac_has_wctype_h" = xyes &&
9649 test x"$enable_c_mbchar" != xno; then
9651 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
9652 echo "configure
:9653: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
9653 cat > conftest.$ac_ext <<EOF
9654 #line 9655 "configure
"
9655 #include "confdefs.h
"
9658 int i = WCHAR_MIN; int j = WCHAR_MAX;
9661 if { (eval echo configure:9662: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9663 has_wchar_minmax=yes
9665 echo "configure
: failed program was
:" >&5
9666 cat conftest.$ac_ext >&5
9671 echo "$ac_t""$has_wchar_minmax" 1>&6
9673 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
9674 echo "configure
:9675: checking
for WEOF
" >&5
9675 cat > conftest.$ac_ext <<EOF
9676 #line 9677 "configure
"
9677 #include "confdefs.h
"
9685 if { (eval echo configure:9686: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9689 echo "configure
: failed program was
:" >&5
9690 cat conftest.$ac_ext >&5
9695 echo "$ac_t""$has_weof" 1>&6
9698 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
9700 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9701 echo "configure
:9702: checking
for $ac_func" >&5
9702 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9703 echo $ac_n "(cached
) $ac_c" 1>&6
9705 cat > conftest.$ac_ext <<EOF
9706 #line 9707 "configure
"
9707 #include "confdefs.h
"
9708 /* System header to define __stub macros and hopefully few prototypes,
9709 which can conflict with char $ac_func(); below. */
9711 /* Override any gcc2 internal prototype to avoid an error. */
9712 /* We use char because int might match the return type of a gcc2
9713 builtin and then its argument prototype would still apply. */
9718 /* The GNU C library defines this for functions which it implements
9719 to always fail with ENOSYS. Some functions are actually named
9720 something starting with __ and the normal name is an alias. */
9721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9729 if { (eval echo configure:9730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9731 eval "ac_cv_func_
$ac_func=yes"
9733 echo "configure
: failed program was
:" >&5
9734 cat conftest.$ac_ext >&5
9736 eval "ac_cv_func_
$ac_func=no
"
9741 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9742 echo "$ac_t""yes" 1>&6
9743 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9744 cat >> confdefs.h <<EOF
9745 #define $ac_tr_func 1
9749 echo "$ac_t""no
" 1>&6
9756 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
9757 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
9758 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
9759 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
9760 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
9761 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
9763 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9764 echo "configure
:9765: checking
for $ac_func" >&5
9765 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9766 echo $ac_n "(cached
) $ac_c" 1>&6
9768 cat > conftest.$ac_ext <<EOF
9769 #line 9770 "configure
"
9770 #include "confdefs.h
"
9771 /* System header to define __stub macros and hopefully few prototypes,
9772 which can conflict with char $ac_func(); below. */
9774 /* Override any gcc2 internal prototype to avoid an error. */
9775 /* We use char because int might match the return type of a gcc2
9776 builtin and then its argument prototype would still apply. */
9781 /* The GNU C library defines this for functions which it implements
9782 to always fail with ENOSYS. Some functions are actually named
9783 something starting with __ and the normal name is an alias. */
9784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9792 if { (eval echo configure:9793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9794 eval "ac_cv_func_
$ac_func=yes"
9796 echo "configure
: failed program was
:" >&5
9797 cat conftest.$ac_ext >&5
9799 eval "ac_cv_func_
$ac_func=no
"
9804 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9805 echo "$ac_t""yes" 1>&6
9806 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9807 cat >> confdefs.h <<EOF
9808 #define $ac_tr_func 1
9812 echo "$ac_t""no
" 1>&6
9819 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
9820 echo "configure
:9821: checking
for ISO C99 wchar_t support
" >&5
9821 if test x"$has_weof" = xyes &&
9822 test x"$has_wchar_minmax" = xyes &&
9823 test x"$ac_wfuncs" = xyes; then
9824 ac_isoC99_wchar_t=yes
9826 ac_isoC99_wchar_t=no
9828 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
9830 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
9831 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
9832 echo "configure
:9833: checking
for iconv.h
" >&5
9833 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9834 echo $ac_n "(cached
) $ac_c" 1>&6
9836 cat > conftest.$ac_ext <<EOF
9837 #line 9838 "configure
"
9838 #include "confdefs.h
"
9841 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
9842 { (eval echo configure:9843: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9843 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
9844 if test -z "$ac_err"; then
9846 eval "ac_cv_header_
$ac_safe=yes"
9849 echo "configure
: failed program was
:" >&5
9850 cat conftest.$ac_ext >&5
9852 eval "ac_cv_header_
$ac_safe=no
"
9856 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9857 echo "$ac_t""yes" 1>&6
9860 echo "$ac_t""no
" 1>&6
9864 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
9865 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
9866 echo "configure
:9867: checking
for langinfo.h
" >&5
9867 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9868 echo $ac_n "(cached
) $ac_c" 1>&6
9870 cat > conftest.$ac_ext <<EOF
9871 #line 9872 "configure
"
9872 #include "confdefs.h
"
9873 #include <langinfo.h>
9875 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
9876 { (eval echo configure:9877: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9877 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
9878 if test -z "$ac_err"; then
9880 eval "ac_cv_header_
$ac_safe=yes"
9883 echo "configure
: failed program was
:" >&5
9884 cat conftest.$ac_ext >&5
9886 eval "ac_cv_header_
$ac_safe=no
"
9890 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9891 echo "$ac_t""yes" 1>&6
9892 ac_has_langinfo_h=yes
9894 echo "$ac_t""no
" 1>&6
9895 ac_has_langinfo_h=no
9899 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
9900 echo "configure
:9901: checking
for iconv in -liconv" >&5
9901 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
9902 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9903 echo $ac_n "(cached
) $ac_c" 1>&6
9905 ac_save_LIBS="$LIBS"
9906 LIBS="-liconv $LIBS"
9907 cat > conftest.$ac_ext <<EOF
9908 #line 9909 "configure
"
9909 #include "confdefs.h
"
9910 /* Override any gcc2 internal prototype to avoid an error. */
9911 /* We use char because int might match the return type of a gcc2
9912 builtin and then its argument prototype would still apply. */
9919 if { (eval echo configure:9920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9921 eval "ac_cv_lib_
$ac_lib_var=yes"
9923 echo "configure
: failed program was
:" >&5
9924 cat conftest.$ac_ext >&5
9926 eval "ac_cv_lib_
$ac_lib_var=no
"
9929 LIBS="$ac_save_LIBS"
9932 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9933 echo "$ac_t""yes" 1>&6
9936 echo "$ac_t""no
" 1>&6
9939 ac_save_LIBS="$LIBS"
9940 LIBS="$LIBS $libiconv"
9942 for ac_func in iconv_open iconv_close iconv nl_langinfo
9944 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9945 echo "configure
:9946: checking
for $ac_func" >&5
9946 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9947 echo $ac_n "(cached
) $ac_c" 1>&6
9949 cat > conftest.$ac_ext <<EOF
9950 #line 9951 "configure
"
9951 #include "confdefs.h
"
9952 /* System header to define __stub macros and hopefully few prototypes,
9953 which can conflict with char $ac_func(); below. */
9955 /* Override any gcc2 internal prototype to avoid an error. */
9956 /* We use char because int might match the return type of a gcc2
9957 builtin and then its argument prototype would still apply. */
9962 /* The GNU C library defines this for functions which it implements
9963 to always fail with ENOSYS. Some functions are actually named
9964 something starting with __ and the normal name is an alias. */
9965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9973 if { (eval echo configure:9974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9975 eval "ac_cv_func_
$ac_func=yes"
9977 echo "configure
: failed program was
:" >&5
9978 cat conftest.$ac_ext >&5
9980 eval "ac_cv_func_
$ac_func=no
"
9985 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9986 echo "$ac_t""yes" 1>&6
9987 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9988 cat >> confdefs.h <<EOF
9989 #define $ac_tr_func 1
9994 echo "$ac_t""no
" 1>&6
10000 LIBS="$ac_save_LIBS"
10002 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
10003 echo "configure
:10004: checking
for XPG2 wchar_t support
" >&5
10004 if test x"$ac_has_iconv_h" = xyes &&
10005 test x"$ac_has_langinfo_h" = xyes &&
10006 test x"$ac_XPG2funcs" = xyes; then
10007 ac_XPG2_wchar_t=yes
10011 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
10013 if test x"$ac_isoC99_wchar_t" = xyes &&
10014 test x"$ac_XPG2_wchar_t" = xyes; then
10015 cat >> confdefs.h <<\EOF
10016 #define _GLIBCXX_USE_WCHAR_T 1
10022 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
10023 echo "configure
:10024: checking
for enabled wchar_t specializations
" >&5
10024 echo "$ac_t""$enable_wchar_t" 1>&6
10026 cat >> confdefs.h <<\EOF
10027 #define HAVE_COSF 1
10030 cat >> confdefs.h <<\EOF
10031 #define HAVE_COSL 1
10034 cat >> confdefs.h <<\EOF
10035 #define HAVE_COSHF 1
10038 cat >> confdefs.h <<\EOF
10039 #define HAVE_COSHL 1
10042 cat >> confdefs.h <<\EOF
10043 #define HAVE_LOGF 1
10046 cat >> confdefs.h <<\EOF
10047 #define HAVE_LOGL 1
10050 cat >> confdefs.h <<\EOF
10051 #define HAVE_LOG10F 1
10054 cat >> confdefs.h <<\EOF
10055 #define HAVE_LOG10L 1
10058 cat >> confdefs.h <<\EOF
10059 #define HAVE_SINF 1
10062 cat >> confdefs.h <<\EOF
10063 #define HAVE_SINL 1
10066 cat >> confdefs.h <<\EOF
10067 #define HAVE_SINHF 1
10070 cat >> confdefs.h <<\EOF
10071 #define HAVE_SINHL 1
10078 os_include_dir="os
/solaris
/solaris2.5
"
10081 os_include_dir="os
/solaris
/solaris2.6
"
10083 *-solaris2.7 | *-solaris2.8 | *-solaris2.9)
10084 os_include_dir="os
/solaris
/solaris2.7
"
10087 cat >> confdefs.h <<\EOF
10088 #define HAVE_STRTOF 1
10091 cat >> confdefs.h <<\EOF
10092 #define HAVE_STRTOLD 1
10095 cat >> confdefs.h <<\EOF
10096 #define HAVE_MMAP 1
10099 cat >> confdefs.h <<\EOF
10100 #define HAVE_COPYSIGN 1
10103 cat >> confdefs.h <<\EOF
10104 #define HAVE_ISNAN 1
10107 cat >> confdefs.h <<\EOF
10108 #define HAVE_ISNANF 1
10111 cat >> confdefs.h <<\EOF
10112 #define HAVE_MODFF 1
10115 cat >> confdefs.h <<\EOF
10116 #define HAVE_HYPOT 1
10121 os_include_dir="os
/windiss
"
10122 cat >> confdefs.h <<\EOF
10123 #define HAVE_ACOSF 1
10126 cat >> confdefs.h <<\EOF
10127 #define HAVE_ASINF 1
10130 cat >> confdefs.h <<\EOF
10131 #define HAVE_ATAN2F 1
10134 cat >> confdefs.h <<\EOF
10135 #define HAVE_ATANF 1
10138 cat >> confdefs.h <<\EOF
10139 #define HAVE_CEILF 1
10142 cat >> confdefs.h <<\EOF
10143 #define HAVE_COPYSIGN 1
10146 cat >> confdefs.h <<\EOF
10147 #define HAVE_COPYSIGNF 1
10150 cat >> confdefs.h <<\EOF
10151 #define HAVE_COSF 1
10154 cat >> confdefs.h <<\EOF
10155 #define HAVE_COSHF 1
10158 cat >> confdefs.h <<\EOF
10159 #define HAVE_EXPF 1
10162 cat >> confdefs.h <<\EOF
10163 #define HAVE_FABSF 1
10166 cat >> confdefs.h <<\EOF
10167 #define HAVE_FLOORF 1
10170 cat >> confdefs.h <<\EOF
10171 #define HAVE_FMODF 1
10174 cat >> confdefs.h <<\EOF
10175 #define HAVE_FREXPF 1
10178 cat >> confdefs.h <<\EOF
10179 #define HAVE_LDEXPF 1
10182 cat >> confdefs.h <<\EOF
10183 #define HAVE_LOG10F 1
10186 cat >> confdefs.h <<\EOF
10187 #define HAVE_LOGF 1
10190 cat >> confdefs.h <<\EOF
10191 #define HAVE_MODFF 1
10194 cat >> confdefs.h <<\EOF
10195 #define HAVE_POWF 1
10198 cat >> confdefs.h <<\EOF
10199 #define HAVE_SINF 1
10202 cat >> confdefs.h <<\EOF
10203 #define HAVE_SINHF 1
10206 cat >> confdefs.h <<\EOF
10207 #define HAVE_SQRTF 1
10210 cat >> confdefs.h <<\EOF
10211 #define HAVE_TANF 1
10214 cat >> confdefs.h <<\EOF
10215 #define HAVE_TANHF 1
10220 if test "x
${with_newlib}" = "xyes
"; then
10221 os_include_dir="os
/newlib
"
10222 cat >> confdefs.h <<\EOF
10223 #define HAVE_HYPOT 1
10227 # GLIBCXX_CHECK_STDLIB_SUPPORT
10228 cat >> confdefs.h <<\EOF
10229 #define HAVE_STRTOF 1
10232 cat >> confdefs.h <<\EOF
10233 #define HAVE_STRTOLD 1
10237 cat >> confdefs.h <<\EOF
10238 #define HAVE_MMAP 1
10242 cat >> confdefs.h <<\EOF
10243 #define HAVE_ACOSF 1
10246 cat >> confdefs.h <<\EOF
10247 #define HAVE_ASINF 1
10250 cat >> confdefs.h <<\EOF
10251 #define HAVE_ATAN2F 1
10254 cat >> confdefs.h <<\EOF
10255 #define HAVE_ATANF 1
10258 cat >> confdefs.h <<\EOF
10259 #define HAVE_CEILF 1
10262 cat >> confdefs.h <<\EOF
10263 #define HAVE_COPYSIGN 1
10266 cat >> confdefs.h <<\EOF
10267 #define HAVE_COPYSIGNF 1
10270 cat >> confdefs.h <<\EOF
10271 #define HAVE_COSF 1
10274 cat >> confdefs.h <<\EOF
10275 #define HAVE_COSHF 1
10278 cat >> confdefs.h <<\EOF
10279 #define HAVE_EXPF 1
10282 cat >> confdefs.h <<\EOF
10283 #define HAVE_FABSF 1
10286 cat >> confdefs.h <<\EOF
10287 #define HAVE_FLOORF 1
10290 cat >> confdefs.h <<\EOF
10291 #define HAVE_FMODF 1
10294 cat >> confdefs.h <<\EOF
10295 #define HAVE_FREXPF 1
10298 cat >> confdefs.h <<\EOF
10299 #define HAVE_LDEXPF 1
10302 cat >> confdefs.h <<\EOF
10303 #define HAVE_LOG10F 1
10306 cat >> confdefs.h <<\EOF
10307 #define HAVE_LOGF 1
10310 cat >> confdefs.h <<\EOF
10311 #define HAVE_MODFF 1
10314 cat >> confdefs.h <<\EOF
10315 #define HAVE_POWF 1
10318 cat >> confdefs.h <<\EOF
10319 #define HAVE_SINF 1
10322 cat >> confdefs.h <<\EOF
10323 #define HAVE_SINHF 1
10326 cat >> confdefs.h <<\EOF
10327 #define HAVE_SQRTF 1
10330 cat >> confdefs.h <<\EOF
10331 #define HAVE_TANF 1
10334 cat >> confdefs.h <<\EOF
10335 #define HAVE_TANHF 1
10339 { echo "configure
: error
: No support
for this host
/target combination.
" 1>&2; exit 1; }
10344 # At some point, we should differentiate between architectures
10345 # like x86, which have long double versions, and alpha/powerpc/etc.,
10346 # which don't. For the time being, punt.
10347 if test x"long_double_math_on_this_cpu
" = x"yes"; then
10348 cat >> confdefs.h <<\EOF
10349 #define HAVE_ACOSL 1
10352 cat >> confdefs.h <<\EOF
10353 #define HAVE_ASINL 1
10356 cat >> confdefs.h <<\EOF
10357 #define HAVE_ATAN2L 1
10360 cat >> confdefs.h <<\EOF
10361 #define HAVE_ATANL 1
10364 cat >> confdefs.h <<\EOF
10365 #define HAVE_CEILL 1
10368 cat >> confdefs.h <<\EOF
10369 #define HAVE_COPYSIGNL 1
10372 cat >> confdefs.h <<\EOF
10373 #define HAVE_COSL 1
10376 cat >> confdefs.h <<\EOF
10377 #define HAVE_COSHL 1
10380 cat >> confdefs.h <<\EOF
10381 #define HAVE_EXPL 1
10384 cat >> confdefs.h <<\EOF
10385 #define HAVE_FABSL 1
10388 cat >> confdefs.h <<\EOF
10389 #define HAVE_FLOORL 1
10392 cat >> confdefs.h <<\EOF
10393 #define HAVE_FMODL 1
10396 cat >> confdefs.h <<\EOF
10397 #define HAVE_FREXPL 1
10400 cat >> confdefs.h <<\EOF
10401 #define HAVE_LDEXPL 1
10404 cat >> confdefs.h <<\EOF
10405 #define HAVE_LOG10L 1
10408 cat >> confdefs.h <<\EOF
10409 #define HAVE_LOGL 1
10412 cat >> confdefs.h <<\EOF
10413 #define HAVE_MODFL 1
10416 cat >> confdefs.h <<\EOF
10417 #define HAVE_POWL 1
10420 cat >> confdefs.h <<\EOF
10421 #define HAVE_SINCOSL 1
10424 cat >> confdefs.h <<\EOF
10425 #define HAVE_SINL 1
10428 cat >> confdefs.h <<\EOF
10429 #define HAVE_SINHL 1
10432 cat >> confdefs.h <<\EOF
10433 #define HAVE_SQRTL 1
10436 cat >> confdefs.h <<\EOF
10437 #define HAVE_TANL 1
10440 cat >> confdefs.h <<\EOF
10441 #define HAVE_TANHL 1
10448 # We are being configured natively. We can do more elaborate tests
10449 # that include AC_TRY_COMPILE now, as the linker is assumed to be
10451 GLIBCXX_IS_CROSS_COMPILING=false
10454 # Check for available headers.
10455 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
10456 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
10459 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10460 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
10461 echo "configure
:10462: checking
for $ac_hdr" >&5
10462 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10463 echo $ac_n "(cached
) $ac_c" 1>&6
10465 cat > conftest.$ac_ext <<EOF
10466 #line 10467 "configure
"
10467 #include "confdefs.h
"
10470 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
10471 { (eval echo configure:10472: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10472 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
10473 if test -z "$ac_err"; then
10475 eval "ac_cv_header_
$ac_safe=yes"
10478 echo "configure
: failed program was
:" >&5
10479 cat conftest.$ac_ext >&5
10481 eval "ac_cv_header_
$ac_safe=no
"
10485 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10486 echo "$ac_t""yes" 1>&6
10487 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10488 cat >> confdefs.h <<EOF
10489 #define $ac_tr_hdr 1
10493 echo "$ac_t""no
" 1>&6
10499 # All these tests are for C++; save the language and the compiler flags.
10500 # The CXXFLAGS thing is suspicious, but based on similar bits previously
10501 # found in GLIBCXX_CONFIGURE.
10504 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10505 ac_cpp='$CXXCPP $CPPFLAGS'
10506 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10507 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10508 cross_compiling=$ac_cv_prog_cxx_cross
10510 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10511 ac_save_CXXFLAGS="$CXXFLAGS"
10513 # Check for maintainer-mode bits.
10514 if test x"$USE_MAINTAINER_MODE" = xno; then
10520 # Check for -ffunction-sections -fdata-sections
10521 echo $ac_n "checking
for g
++ that supports
-ffunction-sections -fdata-sections""...
$ac_c" 1>&6
10522 echo "configure
:10523: checking
for g
++ that supports
-ffunction-sections -fdata-sections" >&5
10523 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
10524 cat > conftest.$ac_ext <<EOF
10525 #line 10526 "configure
"
10526 #include "confdefs.h
"
10533 if { (eval echo configure:10534: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10537 echo "configure
: failed program was
:" >&5
10538 cat conftest.$ac_ext >&5
10543 if test "$ac_test_CXXFLAGS" = set; then
10544 CXXFLAGS="$ac_save_CXXFLAGS"
10546 # this is the suspicious part
10549 if test x"$ac_fdsections" = x"yes"; then
10550 SECTION_FLAGS='-ffunction-sections -fdata-sections'
10552 echo "$ac_t""$ac_fdsections" 1>&6
10555 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10556 ac_cpp='$CPP $CPPFLAGS'
10557 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10558 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10559 cross_compiling=$ac_cv_prog_cc_cross
10565 # If we're not using GNU ld, then there's no point in even trying these
10566 # tests. Check for that first. We should have already tested for gld
10567 # by now (in libtool), but require it now just to be safe...
10568 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
10569 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
10572 # The name set by libtool depends on the version of libtool. Shame on us
10573 # for depending on an impl detail, but c'est la vie. Older versions used
10574 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
10575 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
10576 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
10577 # set (hence we're using an older libtool), then set it.
10578 if test x${with_gnu_ld+set} != xset; then
10579 if test x${ac_cv_prog_gnu_ld+set} != xset; then
10580 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
10583 with_gnu_ld=$ac_cv_prog_gnu_ld
10587 # Start by getting the version number. I think the libtool test already
10588 # does some of this, but throws away the result.
10590 ldver=`$LD --version 2>/dev/null | head -1 | \
10591 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
10593 glibcxx_gnu_ld_version=`echo $ldver | \
10594 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
10596 # Set --gc-sections.
10597 if test "$with_gnu_ld" = "notbroken
"; then
10598 # GNU ld it is! Joy and bunny rabbits!
10600 # All these tests are for C++; save the language and the compiler flags.
10601 # Need to do this so that g++ won't try to link in libstdc++
10602 ac_test_CFLAGS="${CFLAGS+set}"
10603 ac_save_CFLAGS="$CFLAGS"
10604 CFLAGS='-x c++ -Wl,--gc-sections'
10606 # Check for -Wl,--gc-sections
10607 # XXX This test is broken at the moment, as symbols required for
10608 # linking are now in libsupc++ (not built yet.....). In addition,
10609 # this test has cored on solaris in the past. In addition,
10610 # --gc-sections doesn't really work at the moment (keeps on discarding
10611 # used sections, first .eh_frame and now some of the glibc sections for
10612 # iconv). Bzzzzt. Thanks for playing, maybe next time.
10613 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
10614 echo "configure
:10615: checking
for ld that supports
-Wl,--gc-sections" >&5
10615 if test "$cross_compiling" = yes; then
10616 ac_sectionLDflags=yes
10618 cat > conftest.$ac_ext <<EOF
10619 #line 10620 "configure
"
10620 #include "confdefs.h
"
10630 if { (eval echo configure:10631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10632 ac_sectionLDflags=yes
10634 echo "configure
: failed program was
:" >&5
10635 cat conftest.$ac_ext >&5
10637 ac_sectionLDflags=no
10642 if test "$ac_test_CFLAGS" = set; then
10643 CFLAGS="$ac_save_CFLAGS"
10645 # this is the suspicious part
10648 if test "$ac_sectionLDflags" = "yes"; then
10649 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
10651 echo "$ac_t""$ac_sectionLDflags" 1>&6
10654 # Set linker optimization flags.
10655 if test x"$with_gnu_ld" = x"yes"; then
10656 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
10663 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10664 ac_save_CXXFLAGS="$CXXFLAGS"
10665 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
10667 echo $ac_n "checking
for sin
in -lm""...
$ac_c" 1>&6
10668 echo "configure
:10669: checking
for sin
in -lm" >&5
10669 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
10670 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10671 echo $ac_n "(cached
) $ac_c" 1>&6
10673 ac_save_LIBS="$LIBS"
10675 cat > conftest.$ac_ext <<EOF
10676 #line 10677 "configure
"
10677 #include "confdefs.h
"
10678 /* Override any gcc2 internal prototype to avoid an error. */
10679 /* We use char because int might match the return type of a gcc2
10680 builtin and then its argument prototype would still apply. */
10687 if { (eval echo configure:10688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10689 eval "ac_cv_lib_
$ac_lib_var=yes"
10691 echo "configure
: failed program was
:" >&5
10692 cat conftest.$ac_ext >&5
10694 eval "ac_cv_lib_
$ac_lib_var=no
"
10697 LIBS="$ac_save_LIBS"
10700 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10701 echo "$ac_t""yes" 1>&6
10704 echo "$ac_t""no
" 1>&6
10707 ac_save_LIBS="$LIBS"
10712 echo $ac_n "checking
for isinf declaration
""...
$ac_c" 1>&6
10713 echo "configure
:10714: checking
for isinf declaration
" >&5
10714 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
10715 if eval "test \"`echo '$''{'glibcxx_cv_func_isinf_use'+set}'`\" = set"; then
10716 echo $ac_n "(cached
) $ac_c" 1>&6
10721 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10722 ac_cpp='$CXXCPP $CPPFLAGS'
10723 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10724 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10725 cross_compiling=$ac_cv_prog_cxx_cross
10727 cat > conftest.$ac_ext <<EOF
10728 #line 10729 "configure
"
10729 #include "confdefs.h
"
10731 #ifdef HAVE_IEEEFP_H
10732 #include <ieeefp.h>
10739 if { (eval echo configure:10740: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10741 glibcxx_cv_func_isinf_use=yes
10743 echo "configure
: failed program was
:" >&5
10744 cat conftest.$ac_ext >&5
10746 glibcxx_cv_func_isinf_use=no
10750 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10751 ac_cpp='$CPP $CPPFLAGS'
10752 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10753 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10754 cross_compiling=$ac_cv_prog_cc_cross
10760 echo "$ac_t""$glibcxx_cv_func_isinf_use" 1>&6
10762 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
10763 for ac_func in isinf
10765 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10766 echo "configure
:10767: checking
for $ac_func" >&5
10767 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10768 echo $ac_n "(cached
) $ac_c" 1>&6
10770 cat > conftest.$ac_ext <<EOF
10771 #line 10772 "configure
"
10772 #include "confdefs.h
"
10773 /* System header to define __stub macros and hopefully few prototypes,
10774 which can conflict with char $ac_func(); below. */
10775 #include <assert.h>
10776 /* Override any gcc2 internal prototype to avoid an error. */
10777 /* We use char because int might match the return type of a gcc2
10778 builtin and then its argument prototype would still apply. */
10783 /* The GNU C library defines this for functions which it implements
10784 to always fail with ENOSYS. Some functions are actually named
10785 something starting with __ and the normal name is an alias. */
10786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10794 if { (eval echo configure:10795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10796 eval "ac_cv_func_
$ac_func=yes"
10798 echo "configure
: failed program was
:" >&5
10799 cat conftest.$ac_ext >&5
10801 eval "ac_cv_func_
$ac_func=no
"
10806 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10807 echo "$ac_t""yes" 1>&6
10808 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10809 cat >> confdefs.h <<EOF
10810 #define $ac_tr_func 1
10814 echo "$ac_t""no
" 1>&6
10820 echo $ac_n "checking
for _isinf declaration
""...
$ac_c" 1>&6
10821 echo "configure
:10822: checking
for _isinf declaration
" >&5
10822 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
10823 if eval "test \"`echo '$''{'glibcxx_cv_func__isinf_use'+set}'`\" = set"; then
10824 echo $ac_n "(cached
) $ac_c" 1>&6
10829 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10830 ac_cpp='$CXXCPP $CPPFLAGS'
10831 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10832 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10833 cross_compiling=$ac_cv_prog_cxx_cross
10835 cat > conftest.$ac_ext <<EOF
10836 #line 10837 "configure
"
10837 #include "confdefs.h
"
10839 #ifdef HAVE_IEEEFP_H
10840 #include <ieeefp.h>
10847 if { (eval echo configure:10848: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10849 glibcxx_cv_func__isinf_use=yes
10851 echo "configure
: failed program was
:" >&5
10852 cat conftest.$ac_ext >&5
10854 glibcxx_cv_func__isinf_use=no
10858 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10859 ac_cpp='$CPP $CPPFLAGS'
10860 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10861 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10862 cross_compiling=$ac_cv_prog_cc_cross
10868 echo "$ac_t""$glibcxx_cv_func__isinf_use" 1>&6
10870 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
10871 for ac_func in _isinf
10873 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10874 echo "configure
:10875: checking
for $ac_func" >&5
10875 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10876 echo $ac_n "(cached
) $ac_c" 1>&6
10878 cat > conftest.$ac_ext <<EOF
10879 #line 10880 "configure
"
10880 #include "confdefs.h
"
10881 /* System header to define __stub macros and hopefully few prototypes,
10882 which can conflict with char $ac_func(); below. */
10883 #include <assert.h>
10884 /* Override any gcc2 internal prototype to avoid an error. */
10885 /* We use char because int might match the return type of a gcc2
10886 builtin and then its argument prototype would still apply. */
10891 /* The GNU C library defines this for functions which it implements
10892 to always fail with ENOSYS. Some functions are actually named
10893 something starting with __ and the normal name is an alias. */
10894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10902 if { (eval echo configure:10903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10904 eval "ac_cv_func_
$ac_func=yes"
10906 echo "configure
: failed program was
:" >&5
10907 cat conftest.$ac_ext >&5
10909 eval "ac_cv_func_
$ac_func=no
"
10914 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10915 echo "$ac_t""yes" 1>&6
10916 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10917 cat >> confdefs.h <<EOF
10918 #define $ac_tr_func 1
10922 echo "$ac_t""no
" 1>&6
10931 echo $ac_n "checking
for isnan declaration
""...
$ac_c" 1>&6
10932 echo "configure
:10933: checking
for isnan declaration
" >&5
10933 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
10934 if eval "test \"`echo '$''{'glibcxx_cv_func_isnan_use'+set}'`\" = set"; then
10935 echo $ac_n "(cached
) $ac_c" 1>&6
10940 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10941 ac_cpp='$CXXCPP $CPPFLAGS'
10942 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10943 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10944 cross_compiling=$ac_cv_prog_cxx_cross
10946 cat > conftest.$ac_ext <<EOF
10947 #line 10948 "configure
"
10948 #include "confdefs.h
"
10950 #ifdef HAVE_IEEEFP_H
10951 #include <ieeefp.h>
10958 if { (eval echo configure:10959: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10960 glibcxx_cv_func_isnan_use=yes
10962 echo "configure
: failed program was
:" >&5
10963 cat conftest.$ac_ext >&5
10965 glibcxx_cv_func_isnan_use=no
10969 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10970 ac_cpp='$CPP $CPPFLAGS'
10971 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10972 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10973 cross_compiling=$ac_cv_prog_cc_cross
10979 echo "$ac_t""$glibcxx_cv_func_isnan_use" 1>&6
10981 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
10982 for ac_func in isnan
10984 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10985 echo "configure
:10986: checking
for $ac_func" >&5
10986 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10987 echo $ac_n "(cached
) $ac_c" 1>&6
10989 cat > conftest.$ac_ext <<EOF
10990 #line 10991 "configure
"
10991 #include "confdefs.h
"
10992 /* System header to define __stub macros and hopefully few prototypes,
10993 which can conflict with char $ac_func(); below. */
10994 #include <assert.h>
10995 /* Override any gcc2 internal prototype to avoid an error. */
10996 /* We use char because int might match the return type of a gcc2
10997 builtin and then its argument prototype would still apply. */
11002 /* The GNU C library defines this for functions which it implements
11003 to always fail with ENOSYS. Some functions are actually named
11004 something starting with __ and the normal name is an alias. */
11005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11013 if { (eval echo configure:11014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11015 eval "ac_cv_func_
$ac_func=yes"
11017 echo "configure
: failed program was
:" >&5
11018 cat conftest.$ac_ext >&5
11020 eval "ac_cv_func_
$ac_func=no
"
11025 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11026 echo "$ac_t""yes" 1>&6
11027 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11028 cat >> confdefs.h <<EOF
11029 #define $ac_tr_func 1
11033 echo "$ac_t""no
" 1>&6
11039 echo $ac_n "checking
for _isnan declaration
""...
$ac_c" 1>&6
11040 echo "configure
:11041: checking
for _isnan declaration
" >&5
11041 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
11042 if eval "test \"`echo '$''{'glibcxx_cv_func__isnan_use'+set}'`\" = set"; then
11043 echo $ac_n "(cached
) $ac_c" 1>&6
11048 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11049 ac_cpp='$CXXCPP $CPPFLAGS'
11050 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11051 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11052 cross_compiling=$ac_cv_prog_cxx_cross
11054 cat > conftest.$ac_ext <<EOF
11055 #line 11056 "configure
"
11056 #include "confdefs.h
"
11058 #ifdef HAVE_IEEEFP_H
11059 #include <ieeefp.h>
11066 if { (eval echo configure:11067: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11068 glibcxx_cv_func__isnan_use=yes
11070 echo "configure
: failed program was
:" >&5
11071 cat conftest.$ac_ext >&5
11073 glibcxx_cv_func__isnan_use=no
11077 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11078 ac_cpp='$CPP $CPPFLAGS'
11079 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11080 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11081 cross_compiling=$ac_cv_prog_cc_cross
11087 echo "$ac_t""$glibcxx_cv_func__isnan_use" 1>&6
11089 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
11090 for ac_func in _isnan
11092 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11093 echo "configure
:11094: checking
for $ac_func" >&5
11094 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11095 echo $ac_n "(cached
) $ac_c" 1>&6
11097 cat > conftest.$ac_ext <<EOF
11098 #line 11099 "configure
"
11099 #include "confdefs.h
"
11100 /* System header to define __stub macros and hopefully few prototypes,
11101 which can conflict with char $ac_func(); below. */
11102 #include <assert.h>
11103 /* Override any gcc2 internal prototype to avoid an error. */
11104 /* We use char because int might match the return type of a gcc2
11105 builtin and then its argument prototype would still apply. */
11110 /* The GNU C library defines this for functions which it implements
11111 to always fail with ENOSYS. Some functions are actually named
11112 something starting with __ and the normal name is an alias. */
11113 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11121 if { (eval echo configure:11122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11123 eval "ac_cv_func_
$ac_func=yes"
11125 echo "configure
: failed program was
:" >&5
11126 cat conftest.$ac_ext >&5
11128 eval "ac_cv_func_
$ac_func=no
"
11133 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11134 echo "$ac_t""yes" 1>&6
11135 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11136 cat >> confdefs.h <<EOF
11137 #define $ac_tr_func 1
11141 echo "$ac_t""no
" 1>&6
11150 echo $ac_n "checking
for finite declaration
""...
$ac_c" 1>&6
11151 echo "configure
:11152: checking
for finite declaration
" >&5
11152 if test x${glibcxx_cv_func_finite_use+set} != xset; then
11153 if eval "test \"`echo '$''{'glibcxx_cv_func_finite_use'+set}'`\" = set"; then
11154 echo $ac_n "(cached
) $ac_c" 1>&6
11159 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11160 ac_cpp='$CXXCPP $CPPFLAGS'
11161 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11162 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11163 cross_compiling=$ac_cv_prog_cxx_cross
11165 cat > conftest.$ac_ext <<EOF
11166 #line 11167 "configure
"
11167 #include "confdefs.h
"
11169 #ifdef HAVE_IEEEFP_H
11170 #include <ieeefp.h>
11177 if { (eval echo configure:11178: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11179 glibcxx_cv_func_finite_use=yes
11181 echo "configure
: failed program was
:" >&5
11182 cat conftest.$ac_ext >&5
11184 glibcxx_cv_func_finite_use=no
11188 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11189 ac_cpp='$CPP $CPPFLAGS'
11190 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11191 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11192 cross_compiling=$ac_cv_prog_cc_cross
11198 echo "$ac_t""$glibcxx_cv_func_finite_use" 1>&6
11200 if test x$glibcxx_cv_func_finite_use = x"yes"; then
11201 for ac_func in finite
11203 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11204 echo "configure
:11205: checking
for $ac_func" >&5
11205 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11206 echo $ac_n "(cached
) $ac_c" 1>&6
11208 cat > conftest.$ac_ext <<EOF
11209 #line 11210 "configure
"
11210 #include "confdefs.h
"
11211 /* System header to define __stub macros and hopefully few prototypes,
11212 which can conflict with char $ac_func(); below. */
11213 #include <assert.h>
11214 /* Override any gcc2 internal prototype to avoid an error. */
11215 /* We use char because int might match the return type of a gcc2
11216 builtin and then its argument prototype would still apply. */
11221 /* The GNU C library defines this for functions which it implements
11222 to always fail with ENOSYS. Some functions are actually named
11223 something starting with __ and the normal name is an alias. */
11224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11232 if { (eval echo configure:11233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11234 eval "ac_cv_func_
$ac_func=yes"
11236 echo "configure
: failed program was
:" >&5
11237 cat conftest.$ac_ext >&5
11239 eval "ac_cv_func_
$ac_func=no
"
11244 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11245 echo "$ac_t""yes" 1>&6
11246 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11247 cat >> confdefs.h <<EOF
11248 #define $ac_tr_func 1
11252 echo "$ac_t""no
" 1>&6
11258 echo $ac_n "checking
for _finite declaration
""...
$ac_c" 1>&6
11259 echo "configure
:11260: checking
for _finite declaration
" >&5
11260 if test x${glibcxx_cv_func__finite_use+set} != xset; then
11261 if eval "test \"`echo '$''{'glibcxx_cv_func__finite_use'+set}'`\" = set"; then
11262 echo $ac_n "(cached
) $ac_c" 1>&6
11267 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11268 ac_cpp='$CXXCPP $CPPFLAGS'
11269 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11270 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11271 cross_compiling=$ac_cv_prog_cxx_cross
11273 cat > conftest.$ac_ext <<EOF
11274 #line 11275 "configure
"
11275 #include "confdefs.h
"
11277 #ifdef HAVE_IEEEFP_H
11278 #include <ieeefp.h>
11285 if { (eval echo configure:11286: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11287 glibcxx_cv_func__finite_use=yes
11289 echo "configure
: failed program was
:" >&5
11290 cat conftest.$ac_ext >&5
11292 glibcxx_cv_func__finite_use=no
11296 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11297 ac_cpp='$CPP $CPPFLAGS'
11298 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11299 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11300 cross_compiling=$ac_cv_prog_cc_cross
11306 echo "$ac_t""$glibcxx_cv_func__finite_use" 1>&6
11308 if test x$glibcxx_cv_func__finite_use = x"yes"; then
11309 for ac_func in _finite
11311 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11312 echo "configure
:11313: checking
for $ac_func" >&5
11313 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11314 echo $ac_n "(cached
) $ac_c" 1>&6
11316 cat > conftest.$ac_ext <<EOF
11317 #line 11318 "configure
"
11318 #include "confdefs.h
"
11319 /* System header to define __stub macros and hopefully few prototypes,
11320 which can conflict with char $ac_func(); below. */
11321 #include <assert.h>
11322 /* Override any gcc2 internal prototype to avoid an error. */
11323 /* We use char because int might match the return type of a gcc2
11324 builtin and then its argument prototype would still apply. */
11329 /* The GNU C library defines this for functions which it implements
11330 to always fail with ENOSYS. Some functions are actually named
11331 something starting with __ and the normal name is an alias. */
11332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11340 if { (eval echo configure:11341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11342 eval "ac_cv_func_
$ac_func=yes"
11344 echo "configure
: failed program was
:" >&5
11345 cat conftest.$ac_ext >&5
11347 eval "ac_cv_func_
$ac_func=no
"
11352 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11353 echo "$ac_t""yes" 1>&6
11354 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11355 cat >> confdefs.h <<EOF
11356 #define $ac_tr_func 1
11360 echo "$ac_t""no
" 1>&6
11369 echo $ac_n "checking
for copysign declaration
""...
$ac_c" 1>&6
11370 echo "configure
:11371: checking
for copysign declaration
" >&5
11371 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
11372 if eval "test \"`echo '$''{'glibcxx_cv_func_copysign_use'+set}'`\" = set"; then
11373 echo $ac_n "(cached
) $ac_c" 1>&6
11378 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11379 ac_cpp='$CXXCPP $CPPFLAGS'
11380 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11381 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11382 cross_compiling=$ac_cv_prog_cxx_cross
11384 cat > conftest.$ac_ext <<EOF
11385 #line 11386 "configure
"
11386 #include "confdefs.h
"
11392 if { (eval echo configure:11393: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11394 glibcxx_cv_func_copysign_use=yes
11396 echo "configure
: failed program was
:" >&5
11397 cat conftest.$ac_ext >&5
11399 glibcxx_cv_func_copysign_use=no
11403 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11404 ac_cpp='$CPP $CPPFLAGS'
11405 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11406 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11407 cross_compiling=$ac_cv_prog_cc_cross
11413 echo "$ac_t""$glibcxx_cv_func_copysign_use" 1>&6
11415 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
11416 for ac_func in copysign
11418 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11419 echo "configure
:11420: checking
for $ac_func" >&5
11420 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11421 echo $ac_n "(cached
) $ac_c" 1>&6
11423 cat > conftest.$ac_ext <<EOF
11424 #line 11425 "configure
"
11425 #include "confdefs.h
"
11426 /* System header to define __stub macros and hopefully few prototypes,
11427 which can conflict with char $ac_func(); below. */
11428 #include <assert.h>
11429 /* Override any gcc2 internal prototype to avoid an error. */
11430 /* We use char because int might match the return type of a gcc2
11431 builtin and then its argument prototype would still apply. */
11436 /* The GNU C library defines this for functions which it implements
11437 to always fail with ENOSYS. Some functions are actually named
11438 something starting with __ and the normal name is an alias. */
11439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11447 if { (eval echo configure:11448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11449 eval "ac_cv_func_
$ac_func=yes"
11451 echo "configure
: failed program was
:" >&5
11452 cat conftest.$ac_ext >&5
11454 eval "ac_cv_func_
$ac_func=no
"
11459 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11460 echo "$ac_t""yes" 1>&6
11461 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11462 cat >> confdefs.h <<EOF
11463 #define $ac_tr_func 1
11467 echo "$ac_t""no
" 1>&6
11473 echo $ac_n "checking
for _copysign declaration
""...
$ac_c" 1>&6
11474 echo "configure
:11475: checking
for _copysign declaration
" >&5
11475 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
11476 if eval "test \"`echo '$''{'glibcxx_cv_func__copysign_use'+set}'`\" = set"; then
11477 echo $ac_n "(cached
) $ac_c" 1>&6
11482 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11483 ac_cpp='$CXXCPP $CPPFLAGS'
11484 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11485 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11486 cross_compiling=$ac_cv_prog_cxx_cross
11488 cat > conftest.$ac_ext <<EOF
11489 #line 11490 "configure
"
11490 #include "confdefs.h
"
11496 if { (eval echo configure:11497: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11498 glibcxx_cv_func__copysign_use=yes
11500 echo "configure
: failed program was
:" >&5
11501 cat conftest.$ac_ext >&5
11503 glibcxx_cv_func__copysign_use=no
11507 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11508 ac_cpp='$CPP $CPPFLAGS'
11509 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11510 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11511 cross_compiling=$ac_cv_prog_cc_cross
11517 echo "$ac_t""$glibcxx_cv_func__copysign_use" 1>&6
11519 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
11520 for ac_func in _copysign
11522 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11523 echo "configure
:11524: checking
for $ac_func" >&5
11524 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11525 echo $ac_n "(cached
) $ac_c" 1>&6
11527 cat > conftest.$ac_ext <<EOF
11528 #line 11529 "configure
"
11529 #include "confdefs.h
"
11530 /* System header to define __stub macros and hopefully few prototypes,
11531 which can conflict with char $ac_func(); below. */
11532 #include <assert.h>
11533 /* Override any gcc2 internal prototype to avoid an error. */
11534 /* We use char because int might match the return type of a gcc2
11535 builtin and then its argument prototype would still apply. */
11540 /* The GNU C library defines this for functions which it implements
11541 to always fail with ENOSYS. Some functions are actually named
11542 something starting with __ and the normal name is an alias. */
11543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11551 if { (eval echo configure:11552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11553 eval "ac_cv_func_
$ac_func=yes"
11555 echo "configure
: failed program was
:" >&5
11556 cat conftest.$ac_ext >&5
11558 eval "ac_cv_func_
$ac_func=no
"
11563 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11564 echo "$ac_t""yes" 1>&6
11565 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11566 cat >> confdefs.h <<EOF
11567 #define $ac_tr_func 1
11571 echo "$ac_t""no
" 1>&6
11580 echo $ac_n "checking
for sincos declaration
""...
$ac_c" 1>&6
11581 echo "configure
:11582: checking
for sincos declaration
" >&5
11582 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
11583 if eval "test \"`echo '$''{'glibcxx_cv_func_sincos_use'+set}'`\" = set"; then
11584 echo $ac_n "(cached
) $ac_c" 1>&6
11589 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11590 ac_cpp='$CXXCPP $CPPFLAGS'
11591 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11592 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11593 cross_compiling=$ac_cv_prog_cxx_cross
11595 cat > conftest.$ac_ext <<EOF
11596 #line 11597 "configure
"
11597 #include "confdefs.h
"
11603 if { (eval echo configure:11604: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11605 glibcxx_cv_func_sincos_use=yes
11607 echo "configure
: failed program was
:" >&5
11608 cat conftest.$ac_ext >&5
11610 glibcxx_cv_func_sincos_use=no
11614 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11615 ac_cpp='$CPP $CPPFLAGS'
11616 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11617 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11618 cross_compiling=$ac_cv_prog_cc_cross
11624 echo "$ac_t""$glibcxx_cv_func_sincos_use" 1>&6
11626 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
11627 for ac_func in sincos
11629 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11630 echo "configure
:11631: checking
for $ac_func" >&5
11631 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11632 echo $ac_n "(cached
) $ac_c" 1>&6
11634 cat > conftest.$ac_ext <<EOF
11635 #line 11636 "configure
"
11636 #include "confdefs.h
"
11637 /* System header to define __stub macros and hopefully few prototypes,
11638 which can conflict with char $ac_func(); below. */
11639 #include <assert.h>
11640 /* Override any gcc2 internal prototype to avoid an error. */
11641 /* We use char because int might match the return type of a gcc2
11642 builtin and then its argument prototype would still apply. */
11647 /* The GNU C library defines this for functions which it implements
11648 to always fail with ENOSYS. Some functions are actually named
11649 something starting with __ and the normal name is an alias. */
11650 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11658 if { (eval echo configure:11659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11660 eval "ac_cv_func_
$ac_func=yes"
11662 echo "configure
: failed program was
:" >&5
11663 cat conftest.$ac_ext >&5
11665 eval "ac_cv_func_
$ac_func=no
"
11670 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11671 echo "$ac_t""yes" 1>&6
11672 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11673 cat >> confdefs.h <<EOF
11674 #define $ac_tr_func 1
11678 echo "$ac_t""no
" 1>&6
11684 echo $ac_n "checking
for _sincos declaration
""...
$ac_c" 1>&6
11685 echo "configure
:11686: checking
for _sincos declaration
" >&5
11686 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
11687 if eval "test \"`echo '$''{'glibcxx_cv_func__sincos_use'+set}'`\" = set"; then
11688 echo $ac_n "(cached
) $ac_c" 1>&6
11693 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11694 ac_cpp='$CXXCPP $CPPFLAGS'
11695 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11696 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11697 cross_compiling=$ac_cv_prog_cxx_cross
11699 cat > conftest.$ac_ext <<EOF
11700 #line 11701 "configure
"
11701 #include "confdefs.h
"
11707 if { (eval echo configure:11708: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11709 glibcxx_cv_func__sincos_use=yes
11711 echo "configure
: failed program was
:" >&5
11712 cat conftest.$ac_ext >&5
11714 glibcxx_cv_func__sincos_use=no
11718 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11719 ac_cpp='$CPP $CPPFLAGS'
11720 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11721 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11722 cross_compiling=$ac_cv_prog_cc_cross
11728 echo "$ac_t""$glibcxx_cv_func__sincos_use" 1>&6
11730 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
11731 for ac_func in _sincos
11733 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11734 echo "configure
:11735: checking
for $ac_func" >&5
11735 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11736 echo $ac_n "(cached
) $ac_c" 1>&6
11738 cat > conftest.$ac_ext <<EOF
11739 #line 11740 "configure
"
11740 #include "confdefs.h
"
11741 /* System header to define __stub macros and hopefully few prototypes,
11742 which can conflict with char $ac_func(); below. */
11743 #include <assert.h>
11744 /* Override any gcc2 internal prototype to avoid an error. */
11745 /* We use char because int might match the return type of a gcc2
11746 builtin and then its argument prototype would still apply. */
11751 /* The GNU C library defines this for functions which it implements
11752 to always fail with ENOSYS. Some functions are actually named
11753 something starting with __ and the normal name is an alias. */
11754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11762 if { (eval echo configure:11763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11764 eval "ac_cv_func_
$ac_func=yes"
11766 echo "configure
: failed program was
:" >&5
11767 cat conftest.$ac_ext >&5
11769 eval "ac_cv_func_
$ac_func=no
"
11774 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11775 echo "$ac_t""yes" 1>&6
11776 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11777 cat >> confdefs.h <<EOF
11778 #define $ac_tr_func 1
11782 echo "$ac_t""no
" 1>&6
11791 echo $ac_n "checking
for fpclass declaration
""...
$ac_c" 1>&6
11792 echo "configure
:11793: checking
for fpclass declaration
" >&5
11793 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
11794 if eval "test \"`echo '$''{'glibcxx_cv_func_fpclass_use'+set}'`\" = set"; then
11795 echo $ac_n "(cached
) $ac_c" 1>&6
11800 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11801 ac_cpp='$CXXCPP $CPPFLAGS'
11802 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11803 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11804 cross_compiling=$ac_cv_prog_cxx_cross
11806 cat > conftest.$ac_ext <<EOF
11807 #line 11808 "configure
"
11808 #include "confdefs.h
"
11810 #ifdef HAVE_IEEEFP_H
11811 #include <ieeefp.h>
11818 if { (eval echo configure:11819: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11820 glibcxx_cv_func_fpclass_use=yes
11822 echo "configure
: failed program was
:" >&5
11823 cat conftest.$ac_ext >&5
11825 glibcxx_cv_func_fpclass_use=no
11829 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11830 ac_cpp='$CPP $CPPFLAGS'
11831 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11832 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11833 cross_compiling=$ac_cv_prog_cc_cross
11839 echo "$ac_t""$glibcxx_cv_func_fpclass_use" 1>&6
11841 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
11842 for ac_func in fpclass
11844 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11845 echo "configure
:11846: checking
for $ac_func" >&5
11846 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11847 echo $ac_n "(cached
) $ac_c" 1>&6
11849 cat > conftest.$ac_ext <<EOF
11850 #line 11851 "configure
"
11851 #include "confdefs.h
"
11852 /* System header to define __stub macros and hopefully few prototypes,
11853 which can conflict with char $ac_func(); below. */
11854 #include <assert.h>
11855 /* Override any gcc2 internal prototype to avoid an error. */
11856 /* We use char because int might match the return type of a gcc2
11857 builtin and then its argument prototype would still apply. */
11862 /* The GNU C library defines this for functions which it implements
11863 to always fail with ENOSYS. Some functions are actually named
11864 something starting with __ and the normal name is an alias. */
11865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11873 if { (eval echo configure:11874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11875 eval "ac_cv_func_
$ac_func=yes"
11877 echo "configure
: failed program was
:" >&5
11878 cat conftest.$ac_ext >&5
11880 eval "ac_cv_func_
$ac_func=no
"
11885 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11886 echo "$ac_t""yes" 1>&6
11887 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11888 cat >> confdefs.h <<EOF
11889 #define $ac_tr_func 1
11893 echo "$ac_t""no
" 1>&6
11899 echo $ac_n "checking
for _fpclass declaration
""...
$ac_c" 1>&6
11900 echo "configure
:11901: checking
for _fpclass declaration
" >&5
11901 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
11902 if eval "test \"`echo '$''{'glibcxx_cv_func__fpclass_use'+set}'`\" = set"; then
11903 echo $ac_n "(cached
) $ac_c" 1>&6
11908 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11909 ac_cpp='$CXXCPP $CPPFLAGS'
11910 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11911 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11912 cross_compiling=$ac_cv_prog_cxx_cross
11914 cat > conftest.$ac_ext <<EOF
11915 #line 11916 "configure
"
11916 #include "confdefs.h
"
11918 #ifdef HAVE_IEEEFP_H
11919 #include <ieeefp.h>
11926 if { (eval echo configure:11927: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11928 glibcxx_cv_func__fpclass_use=yes
11930 echo "configure
: failed program was
:" >&5
11931 cat conftest.$ac_ext >&5
11933 glibcxx_cv_func__fpclass_use=no
11937 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11938 ac_cpp='$CPP $CPPFLAGS'
11939 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11940 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11941 cross_compiling=$ac_cv_prog_cc_cross
11947 echo "$ac_t""$glibcxx_cv_func__fpclass_use" 1>&6
11949 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
11950 for ac_func in _fpclass
11952 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11953 echo "configure
:11954: checking
for $ac_func" >&5
11954 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11955 echo $ac_n "(cached
) $ac_c" 1>&6
11957 cat > conftest.$ac_ext <<EOF
11958 #line 11959 "configure
"
11959 #include "confdefs.h
"
11960 /* System header to define __stub macros and hopefully few prototypes,
11961 which can conflict with char $ac_func(); below. */
11962 #include <assert.h>
11963 /* Override any gcc2 internal prototype to avoid an error. */
11964 /* We use char because int might match the return type of a gcc2
11965 builtin and then its argument prototype would still apply. */
11970 /* The GNU C library defines this for functions which it implements
11971 to always fail with ENOSYS. Some functions are actually named
11972 something starting with __ and the normal name is an alias. */
11973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11981 if { (eval echo configure:11982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11983 eval "ac_cv_func_
$ac_func=yes"
11985 echo "configure
: failed program was
:" >&5
11986 cat conftest.$ac_ext >&5
11988 eval "ac_cv_func_
$ac_func=no
"
11993 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11994 echo "$ac_t""yes" 1>&6
11995 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11996 cat >> confdefs.h <<EOF
11997 #define $ac_tr_func 1
12001 echo "$ac_t""no
" 1>&6
12010 echo $ac_n "checking
for qfpclass declaration
""...
$ac_c" 1>&6
12011 echo "configure
:12012: checking
for qfpclass declaration
" >&5
12012 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
12013 if eval "test \"`echo '$''{'glibcxx_cv_func_qfpclass_use'+set}'`\" = set"; then
12014 echo $ac_n "(cached
) $ac_c" 1>&6
12019 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12020 ac_cpp='$CXXCPP $CPPFLAGS'
12021 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12022 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12023 cross_compiling=$ac_cv_prog_cxx_cross
12025 cat > conftest.$ac_ext <<EOF
12026 #line 12027 "configure
"
12027 #include "confdefs.h
"
12029 #ifdef HAVE_IEEEFP_H
12030 #include <ieeefp.h>
12037 if { (eval echo configure:12038: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12039 glibcxx_cv_func_qfpclass_use=yes
12041 echo "configure
: failed program was
:" >&5
12042 cat conftest.$ac_ext >&5
12044 glibcxx_cv_func_qfpclass_use=no
12048 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12049 ac_cpp='$CPP $CPPFLAGS'
12050 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12051 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12052 cross_compiling=$ac_cv_prog_cc_cross
12058 echo "$ac_t""$glibcxx_cv_func_qfpclass_use" 1>&6
12060 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
12061 for ac_func in qfpclass
12063 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12064 echo "configure
:12065: checking
for $ac_func" >&5
12065 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12066 echo $ac_n "(cached
) $ac_c" 1>&6
12068 cat > conftest.$ac_ext <<EOF
12069 #line 12070 "configure
"
12070 #include "confdefs.h
"
12071 /* System header to define __stub macros and hopefully few prototypes,
12072 which can conflict with char $ac_func(); below. */
12073 #include <assert.h>
12074 /* Override any gcc2 internal prototype to avoid an error. */
12075 /* We use char because int might match the return type of a gcc2
12076 builtin and then its argument prototype would still apply. */
12081 /* The GNU C library defines this for functions which it implements
12082 to always fail with ENOSYS. Some functions are actually named
12083 something starting with __ and the normal name is an alias. */
12084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12092 if { (eval echo configure:12093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12094 eval "ac_cv_func_
$ac_func=yes"
12096 echo "configure
: failed program was
:" >&5
12097 cat conftest.$ac_ext >&5
12099 eval "ac_cv_func_
$ac_func=no
"
12104 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12105 echo "$ac_t""yes" 1>&6
12106 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12107 cat >> confdefs.h <<EOF
12108 #define $ac_tr_func 1
12112 echo "$ac_t""no
" 1>&6
12118 echo $ac_n "checking
for _qfpclass declaration
""...
$ac_c" 1>&6
12119 echo "configure
:12120: checking
for _qfpclass declaration
" >&5
12120 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
12121 if eval "test \"`echo '$''{'glibcxx_cv_func__qfpclass_use'+set}'`\" = set"; then
12122 echo $ac_n "(cached
) $ac_c" 1>&6
12127 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12128 ac_cpp='$CXXCPP $CPPFLAGS'
12129 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12130 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12131 cross_compiling=$ac_cv_prog_cxx_cross
12133 cat > conftest.$ac_ext <<EOF
12134 #line 12135 "configure
"
12135 #include "confdefs.h
"
12137 #ifdef HAVE_IEEEFP_H
12138 #include <ieeefp.h>
12145 if { (eval echo configure:12146: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12147 glibcxx_cv_func__qfpclass_use=yes
12149 echo "configure
: failed program was
:" >&5
12150 cat conftest.$ac_ext >&5
12152 glibcxx_cv_func__qfpclass_use=no
12156 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12157 ac_cpp='$CPP $CPPFLAGS'
12158 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12159 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12160 cross_compiling=$ac_cv_prog_cc_cross
12166 echo "$ac_t""$glibcxx_cv_func__qfpclass_use" 1>&6
12168 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
12169 for ac_func in _qfpclass
12171 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12172 echo "configure
:12173: checking
for $ac_func" >&5
12173 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12174 echo $ac_n "(cached
) $ac_c" 1>&6
12176 cat > conftest.$ac_ext <<EOF
12177 #line 12178 "configure
"
12178 #include "confdefs.h
"
12179 /* System header to define __stub macros and hopefully few prototypes,
12180 which can conflict with char $ac_func(); below. */
12181 #include <assert.h>
12182 /* Override any gcc2 internal prototype to avoid an error. */
12183 /* We use char because int might match the return type of a gcc2
12184 builtin and then its argument prototype would still apply. */
12189 /* The GNU C library defines this for functions which it implements
12190 to always fail with ENOSYS. Some functions are actually named
12191 something starting with __ and the normal name is an alias. */
12192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12200 if { (eval echo configure:12201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12202 eval "ac_cv_func_
$ac_func=yes"
12204 echo "configure
: failed program was
:" >&5
12205 cat conftest.$ac_ext >&5
12207 eval "ac_cv_func_
$ac_func=no
"
12212 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12213 echo "$ac_t""yes" 1>&6
12214 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12215 cat >> confdefs.h <<EOF
12216 #define $ac_tr_func 1
12220 echo "$ac_t""no
" 1>&6
12229 echo $ac_n "checking
for hypot declaration
""...
$ac_c" 1>&6
12230 echo "configure
:12231: checking
for hypot declaration
" >&5
12231 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
12232 if eval "test \"`echo '$''{'glibcxx_cv_func_hypot_use'+set}'`\" = set"; then
12233 echo $ac_n "(cached
) $ac_c" 1>&6
12238 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12239 ac_cpp='$CXXCPP $CPPFLAGS'
12240 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12241 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12242 cross_compiling=$ac_cv_prog_cxx_cross
12244 cat > conftest.$ac_ext <<EOF
12245 #line 12246 "configure
"
12246 #include "confdefs.h
"
12252 if { (eval echo configure:12253: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12254 glibcxx_cv_func_hypot_use=yes
12256 echo "configure
: failed program was
:" >&5
12257 cat conftest.$ac_ext >&5
12259 glibcxx_cv_func_hypot_use=no
12263 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12264 ac_cpp='$CPP $CPPFLAGS'
12265 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12266 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12267 cross_compiling=$ac_cv_prog_cc_cross
12273 echo "$ac_t""$glibcxx_cv_func_hypot_use" 1>&6
12275 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
12276 for ac_func in hypot
12278 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12279 echo "configure
:12280: checking
for $ac_func" >&5
12280 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12281 echo $ac_n "(cached
) $ac_c" 1>&6
12283 cat > conftest.$ac_ext <<EOF
12284 #line 12285 "configure
"
12285 #include "confdefs.h
"
12286 /* System header to define __stub macros and hopefully few prototypes,
12287 which can conflict with char $ac_func(); below. */
12288 #include <assert.h>
12289 /* Override any gcc2 internal prototype to avoid an error. */
12290 /* We use char because int might match the return type of a gcc2
12291 builtin and then its argument prototype would still apply. */
12296 /* The GNU C library defines this for functions which it implements
12297 to always fail with ENOSYS. Some functions are actually named
12298 something starting with __ and the normal name is an alias. */
12299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12307 if { (eval echo configure:12308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12309 eval "ac_cv_func_
$ac_func=yes"
12311 echo "configure
: failed program was
:" >&5
12312 cat conftest.$ac_ext >&5
12314 eval "ac_cv_func_
$ac_func=no
"
12319 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12320 echo "$ac_t""yes" 1>&6
12321 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12322 cat >> confdefs.h <<EOF
12323 #define $ac_tr_func 1
12327 echo "$ac_t""no
" 1>&6
12333 echo $ac_n "checking
for _hypot declaration
""...
$ac_c" 1>&6
12334 echo "configure
:12335: checking
for _hypot declaration
" >&5
12335 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
12336 if eval "test \"`echo '$''{'glibcxx_cv_func__hypot_use'+set}'`\" = set"; then
12337 echo $ac_n "(cached
) $ac_c" 1>&6
12342 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12343 ac_cpp='$CXXCPP $CPPFLAGS'
12344 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12345 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12346 cross_compiling=$ac_cv_prog_cxx_cross
12348 cat > conftest.$ac_ext <<EOF
12349 #line 12350 "configure
"
12350 #include "confdefs.h
"
12356 if { (eval echo configure:12357: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12358 glibcxx_cv_func__hypot_use=yes
12360 echo "configure
: failed program was
:" >&5
12361 cat conftest.$ac_ext >&5
12363 glibcxx_cv_func__hypot_use=no
12367 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12368 ac_cpp='$CPP $CPPFLAGS'
12369 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12370 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12371 cross_compiling=$ac_cv_prog_cc_cross
12377 echo "$ac_t""$glibcxx_cv_func__hypot_use" 1>&6
12379 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
12380 for ac_func in _hypot
12382 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12383 echo "configure
:12384: checking
for $ac_func" >&5
12384 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12385 echo $ac_n "(cached
) $ac_c" 1>&6
12387 cat > conftest.$ac_ext <<EOF
12388 #line 12389 "configure
"
12389 #include "confdefs.h
"
12390 /* System header to define __stub macros and hopefully few prototypes,
12391 which can conflict with char $ac_func(); below. */
12392 #include <assert.h>
12393 /* Override any gcc2 internal prototype to avoid an error. */
12394 /* We use char because int might match the return type of a gcc2
12395 builtin and then its argument prototype would still apply. */
12400 /* The GNU C library defines this for functions which it implements
12401 to always fail with ENOSYS. Some functions are actually named
12402 something starting with __ and the normal name is an alias. */
12403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12411 if { (eval echo configure:12412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12413 eval "ac_cv_func_
$ac_func=yes"
12415 echo "configure
: failed program was
:" >&5
12416 cat conftest.$ac_ext >&5
12418 eval "ac_cv_func_
$ac_func=no
"
12423 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12424 echo "$ac_t""yes" 1>&6
12425 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12426 cat >> confdefs.h <<EOF
12427 #define $ac_tr_func 1
12431 echo "$ac_t""no
" 1>&6
12440 echo $ac_n "checking
for float trig functions
""...
$ac_c" 1>&6
12441 echo "configure
:12442: checking
for float trig functions
" >&5
12442 if eval "test \"`echo '$''{'glibcxx_cv_func_float_trig_use'+set}'`\" = set"; then
12443 echo $ac_n "(cached
) $ac_c" 1>&6
12448 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12449 ac_cpp='$CXXCPP $CPPFLAGS'
12450 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12451 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12452 cross_compiling=$ac_cv_prog_cxx_cross
12454 cat > conftest.$ac_ext <<EOF
12455 #line 12456 "configure
"
12456 #include "confdefs.h
"
12459 `for x in acosf asinf atanf \
12461 coshf sinhf tanhf; do echo "$x (0);"; done`
12464 if { (eval echo configure:12465: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12466 glibcxx_cv_func_float_trig_use=yes
12468 echo "configure
: failed program was
:" >&5
12469 cat conftest.$ac_ext >&5
12471 glibcxx_cv_func_float_trig_use=no
12475 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12476 ac_cpp='$CPP $CPPFLAGS'
12477 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12478 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12479 cross_compiling=$ac_cv_prog_cc_cross
12483 echo "$ac_t""$glibcxx_cv_func_float_trig_use" 1>&6
12484 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
12485 for ac_func in acosf asinf atanf \
12489 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12490 echo "configure
:12491: checking
for $ac_func" >&5
12491 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12492 echo $ac_n "(cached
) $ac_c" 1>&6
12494 cat > conftest.$ac_ext <<EOF
12495 #line 12496 "configure
"
12496 #include "confdefs.h
"
12497 /* System header to define __stub macros and hopefully few prototypes,
12498 which can conflict with char $ac_func(); below. */
12499 #include <assert.h>
12500 /* Override any gcc2 internal prototype to avoid an error. */
12501 /* We use char because int might match the return type of a gcc2
12502 builtin and then its argument prototype would still apply. */
12507 /* The GNU C library defines this for functions which it implements
12508 to always fail with ENOSYS. Some functions are actually named
12509 something starting with __ and the normal name is an alias. */
12510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12518 if { (eval echo configure:12519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12520 eval "ac_cv_func_
$ac_func=yes"
12522 echo "configure
: failed program was
:" >&5
12523 cat conftest.$ac_ext >&5
12525 eval "ac_cv_func_
$ac_func=no
"
12530 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12531 echo "$ac_t""yes" 1>&6
12532 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12533 cat >> confdefs.h <<EOF
12534 #define $ac_tr_func 1
12538 echo "$ac_t""no
" 1>&6
12545 echo $ac_n "checking
for float round functions
""...
$ac_c" 1>&6
12546 echo "configure
:12547: checking
for float round functions
" >&5
12547 if eval "test \"`echo '$''{'glibcxx_cv_func_float_round_use'+set}'`\" = set"; then
12548 echo $ac_n "(cached
) $ac_c" 1>&6
12553 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12554 ac_cpp='$CXXCPP $CPPFLAGS'
12555 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12556 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12557 cross_compiling=$ac_cv_prog_cxx_cross
12559 cat > conftest.$ac_ext <<EOF
12560 #line 12561 "configure
"
12561 #include "confdefs.h
"
12564 `for x in ceilf floorf; do echo "$x (0);"; done`
12567 if { (eval echo configure:12568: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12569 glibcxx_cv_func_float_round_use=yes
12571 echo "configure
: failed program was
:" >&5
12572 cat conftest.$ac_ext >&5
12574 glibcxx_cv_func_float_round_use=no
12578 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12579 ac_cpp='$CPP $CPPFLAGS'
12580 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12581 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12582 cross_compiling=$ac_cv_prog_cc_cross
12586 echo "$ac_t""$glibcxx_cv_func_float_round_use" 1>&6
12587 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
12588 for ac_func in ceilf floorf
12590 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12591 echo "configure
:12592: checking
for $ac_func" >&5
12592 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12593 echo $ac_n "(cached
) $ac_c" 1>&6
12595 cat > conftest.$ac_ext <<EOF
12596 #line 12597 "configure
"
12597 #include "confdefs.h
"
12598 /* System header to define __stub macros and hopefully few prototypes,
12599 which can conflict with char $ac_func(); below. */
12600 #include <assert.h>
12601 /* Override any gcc2 internal prototype to avoid an error. */
12602 /* We use char because int might match the return type of a gcc2
12603 builtin and then its argument prototype would still apply. */
12608 /* The GNU C library defines this for functions which it implements
12609 to always fail with ENOSYS. Some functions are actually named
12610 something starting with __ and the normal name is an alias. */
12611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12619 if { (eval echo configure:12620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12621 eval "ac_cv_func_
$ac_func=yes"
12623 echo "configure
: failed program was
:" >&5
12624 cat conftest.$ac_ext >&5
12626 eval "ac_cv_func_
$ac_func=no
"
12631 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12632 echo "$ac_t""yes" 1>&6
12633 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12634 cat >> confdefs.h <<EOF
12635 #define $ac_tr_func 1
12639 echo "$ac_t""no
" 1>&6
12647 echo $ac_n "checking
for expf declaration
""...
$ac_c" 1>&6
12648 echo "configure
:12649: checking
for expf declaration
" >&5
12649 if test x${glibcxx_cv_func_expf_use+set} != xset; then
12650 if eval "test \"`echo '$''{'glibcxx_cv_func_expf_use'+set}'`\" = set"; then
12651 echo $ac_n "(cached
) $ac_c" 1>&6
12656 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12657 ac_cpp='$CXXCPP $CPPFLAGS'
12658 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12659 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12660 cross_compiling=$ac_cv_prog_cxx_cross
12662 cat > conftest.$ac_ext <<EOF
12663 #line 12664 "configure
"
12664 #include "confdefs.h
"
12666 #ifdef HAVE_IEEEFP_H
12667 #include <ieeefp.h>
12674 if { (eval echo configure:12675: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12676 glibcxx_cv_func_expf_use=yes
12678 echo "configure
: failed program was
:" >&5
12679 cat conftest.$ac_ext >&5
12681 glibcxx_cv_func_expf_use=no
12685 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12686 ac_cpp='$CPP $CPPFLAGS'
12687 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12688 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12689 cross_compiling=$ac_cv_prog_cc_cross
12695 echo "$ac_t""$glibcxx_cv_func_expf_use" 1>&6
12697 if test x$glibcxx_cv_func_expf_use = x"yes"; then
12698 for ac_func in expf
12700 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12701 echo "configure
:12702: checking
for $ac_func" >&5
12702 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12703 echo $ac_n "(cached
) $ac_c" 1>&6
12705 cat > conftest.$ac_ext <<EOF
12706 #line 12707 "configure
"
12707 #include "confdefs.h
"
12708 /* System header to define __stub macros and hopefully few prototypes,
12709 which can conflict with char $ac_func(); below. */
12710 #include <assert.h>
12711 /* Override any gcc2 internal prototype to avoid an error. */
12712 /* We use char because int might match the return type of a gcc2
12713 builtin and then its argument prototype would still apply. */
12718 /* The GNU C library defines this for functions which it implements
12719 to always fail with ENOSYS. Some functions are actually named
12720 something starting with __ and the normal name is an alias. */
12721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12729 if { (eval echo configure:12730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12731 eval "ac_cv_func_
$ac_func=yes"
12733 echo "configure
: failed program was
:" >&5
12734 cat conftest.$ac_ext >&5
12736 eval "ac_cv_func_
$ac_func=no
"
12741 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12742 echo "$ac_t""yes" 1>&6
12743 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12744 cat >> confdefs.h <<EOF
12745 #define $ac_tr_func 1
12749 echo "$ac_t""no
" 1>&6
12755 echo $ac_n "checking
for _expf declaration
""...
$ac_c" 1>&6
12756 echo "configure
:12757: checking
for _expf declaration
" >&5
12757 if test x${glibcxx_cv_func__expf_use+set} != xset; then
12758 if eval "test \"`echo '$''{'glibcxx_cv_func__expf_use'+set}'`\" = set"; then
12759 echo $ac_n "(cached
) $ac_c" 1>&6
12764 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12765 ac_cpp='$CXXCPP $CPPFLAGS'
12766 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12767 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12768 cross_compiling=$ac_cv_prog_cxx_cross
12770 cat > conftest.$ac_ext <<EOF
12771 #line 12772 "configure
"
12772 #include "confdefs.h
"
12774 #ifdef HAVE_IEEEFP_H
12775 #include <ieeefp.h>
12782 if { (eval echo configure:12783: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12784 glibcxx_cv_func__expf_use=yes
12786 echo "configure
: failed program was
:" >&5
12787 cat conftest.$ac_ext >&5
12789 glibcxx_cv_func__expf_use=no
12793 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12794 ac_cpp='$CPP $CPPFLAGS'
12795 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12796 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12797 cross_compiling=$ac_cv_prog_cc_cross
12803 echo "$ac_t""$glibcxx_cv_func__expf_use" 1>&6
12805 if test x$glibcxx_cv_func__expf_use = x"yes"; then
12806 for ac_func in _expf
12808 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12809 echo "configure
:12810: checking
for $ac_func" >&5
12810 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12811 echo $ac_n "(cached
) $ac_c" 1>&6
12813 cat > conftest.$ac_ext <<EOF
12814 #line 12815 "configure
"
12815 #include "confdefs.h
"
12816 /* System header to define __stub macros and hopefully few prototypes,
12817 which can conflict with char $ac_func(); below. */
12818 #include <assert.h>
12819 /* Override any gcc2 internal prototype to avoid an error. */
12820 /* We use char because int might match the return type of a gcc2
12821 builtin and then its argument prototype would still apply. */
12826 /* The GNU C library defines this for functions which it implements
12827 to always fail with ENOSYS. Some functions are actually named
12828 something starting with __ and the normal name is an alias. */
12829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12837 if { (eval echo configure:12838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12839 eval "ac_cv_func_
$ac_func=yes"
12841 echo "configure
: failed program was
:" >&5
12842 cat conftest.$ac_ext >&5
12844 eval "ac_cv_func_
$ac_func=no
"
12849 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12850 echo "$ac_t""yes" 1>&6
12851 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12852 cat >> confdefs.h <<EOF
12853 #define $ac_tr_func 1
12857 echo "$ac_t""no
" 1>&6
12866 echo $ac_n "checking
for isnanf declaration
""...
$ac_c" 1>&6
12867 echo "configure
:12868: checking
for isnanf declaration
" >&5
12868 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
12869 if eval "test \"`echo '$''{'glibcxx_cv_func_isnanf_use'+set}'`\" = set"; then
12870 echo $ac_n "(cached
) $ac_c" 1>&6
12875 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12876 ac_cpp='$CXXCPP $CPPFLAGS'
12877 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12878 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12879 cross_compiling=$ac_cv_prog_cxx_cross
12881 cat > conftest.$ac_ext <<EOF
12882 #line 12883 "configure
"
12883 #include "confdefs.h
"
12885 #ifdef HAVE_IEEEFP_H
12886 #include <ieeefp.h>
12893 if { (eval echo configure:12894: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12895 glibcxx_cv_func_isnanf_use=yes
12897 echo "configure
: failed program was
:" >&5
12898 cat conftest.$ac_ext >&5
12900 glibcxx_cv_func_isnanf_use=no
12904 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12905 ac_cpp='$CPP $CPPFLAGS'
12906 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12907 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12908 cross_compiling=$ac_cv_prog_cc_cross
12914 echo "$ac_t""$glibcxx_cv_func_isnanf_use" 1>&6
12916 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12917 for ac_func in isnanf
12919 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12920 echo "configure
:12921: checking
for $ac_func" >&5
12921 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12922 echo $ac_n "(cached
) $ac_c" 1>&6
12924 cat > conftest.$ac_ext <<EOF
12925 #line 12926 "configure
"
12926 #include "confdefs.h
"
12927 /* System header to define __stub macros and hopefully few prototypes,
12928 which can conflict with char $ac_func(); below. */
12929 #include <assert.h>
12930 /* Override any gcc2 internal prototype to avoid an error. */
12931 /* We use char because int might match the return type of a gcc2
12932 builtin and then its argument prototype would still apply. */
12937 /* The GNU C library defines this for functions which it implements
12938 to always fail with ENOSYS. Some functions are actually named
12939 something starting with __ and the normal name is an alias. */
12940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12948 if { (eval echo configure:12949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12950 eval "ac_cv_func_
$ac_func=yes"
12952 echo "configure
: failed program was
:" >&5
12953 cat conftest.$ac_ext >&5
12955 eval "ac_cv_func_
$ac_func=no
"
12960 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12961 echo "$ac_t""yes" 1>&6
12962 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12963 cat >> confdefs.h <<EOF
12964 #define $ac_tr_func 1
12968 echo "$ac_t""no
" 1>&6
12974 echo $ac_n "checking
for _isnanf declaration
""...
$ac_c" 1>&6
12975 echo "configure
:12976: checking
for _isnanf declaration
" >&5
12976 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
12977 if eval "test \"`echo '$''{'glibcxx_cv_func__isnanf_use'+set}'`\" = set"; then
12978 echo $ac_n "(cached
) $ac_c" 1>&6
12983 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12984 ac_cpp='$CXXCPP $CPPFLAGS'
12985 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12986 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12987 cross_compiling=$ac_cv_prog_cxx_cross
12989 cat > conftest.$ac_ext <<EOF
12990 #line 12991 "configure
"
12991 #include "confdefs.h
"
12993 #ifdef HAVE_IEEEFP_H
12994 #include <ieeefp.h>
13001 if { (eval echo configure:13002: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13003 glibcxx_cv_func__isnanf_use=yes
13005 echo "configure
: failed program was
:" >&5
13006 cat conftest.$ac_ext >&5
13008 glibcxx_cv_func__isnanf_use=no
13012 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13013 ac_cpp='$CPP $CPPFLAGS'
13014 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13015 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13016 cross_compiling=$ac_cv_prog_cc_cross
13022 echo "$ac_t""$glibcxx_cv_func__isnanf_use" 1>&6
13024 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
13025 for ac_func in _isnanf
13027 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13028 echo "configure
:13029: checking
for $ac_func" >&5
13029 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13030 echo $ac_n "(cached
) $ac_c" 1>&6
13032 cat > conftest.$ac_ext <<EOF
13033 #line 13034 "configure
"
13034 #include "confdefs.h
"
13035 /* System header to define __stub macros and hopefully few prototypes,
13036 which can conflict with char $ac_func(); below. */
13037 #include <assert.h>
13038 /* Override any gcc2 internal prototype to avoid an error. */
13039 /* We use char because int might match the return type of a gcc2
13040 builtin and then its argument prototype would still apply. */
13045 /* The GNU C library defines this for functions which it implements
13046 to always fail with ENOSYS. Some functions are actually named
13047 something starting with __ and the normal name is an alias. */
13048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13056 if { (eval echo configure:13057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13058 eval "ac_cv_func_
$ac_func=yes"
13060 echo "configure
: failed program was
:" >&5
13061 cat conftest.$ac_ext >&5
13063 eval "ac_cv_func_
$ac_func=no
"
13068 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13069 echo "$ac_t""yes" 1>&6
13070 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13071 cat >> confdefs.h <<EOF
13072 #define $ac_tr_func 1
13076 echo "$ac_t""no
" 1>&6
13085 echo $ac_n "checking
for isinff declaration
""...
$ac_c" 1>&6
13086 echo "configure
:13087: checking
for isinff declaration
" >&5
13087 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
13088 if eval "test \"`echo '$''{'glibcxx_cv_func_isinff_use'+set}'`\" = set"; then
13089 echo $ac_n "(cached
) $ac_c" 1>&6
13094 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13095 ac_cpp='$CXXCPP $CPPFLAGS'
13096 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13097 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13098 cross_compiling=$ac_cv_prog_cxx_cross
13100 cat > conftest.$ac_ext <<EOF
13101 #line 13102 "configure
"
13102 #include "confdefs.h
"
13104 #ifdef HAVE_IEEEFP_H
13105 #include <ieeefp.h>
13112 if { (eval echo configure:13113: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13114 glibcxx_cv_func_isinff_use=yes
13116 echo "configure
: failed program was
:" >&5
13117 cat conftest.$ac_ext >&5
13119 glibcxx_cv_func_isinff_use=no
13123 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13124 ac_cpp='$CPP $CPPFLAGS'
13125 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13126 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13127 cross_compiling=$ac_cv_prog_cc_cross
13133 echo "$ac_t""$glibcxx_cv_func_isinff_use" 1>&6
13135 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
13136 for ac_func in isinff
13138 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13139 echo "configure
:13140: checking
for $ac_func" >&5
13140 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13141 echo $ac_n "(cached
) $ac_c" 1>&6
13143 cat > conftest.$ac_ext <<EOF
13144 #line 13145 "configure
"
13145 #include "confdefs.h
"
13146 /* System header to define __stub macros and hopefully few prototypes,
13147 which can conflict with char $ac_func(); below. */
13148 #include <assert.h>
13149 /* Override any gcc2 internal prototype to avoid an error. */
13150 /* We use char because int might match the return type of a gcc2
13151 builtin and then its argument prototype would still apply. */
13156 /* The GNU C library defines this for functions which it implements
13157 to always fail with ENOSYS. Some functions are actually named
13158 something starting with __ and the normal name is an alias. */
13159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13167 if { (eval echo configure:13168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13169 eval "ac_cv_func_
$ac_func=yes"
13171 echo "configure
: failed program was
:" >&5
13172 cat conftest.$ac_ext >&5
13174 eval "ac_cv_func_
$ac_func=no
"
13179 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13180 echo "$ac_t""yes" 1>&6
13181 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13182 cat >> confdefs.h <<EOF
13183 #define $ac_tr_func 1
13187 echo "$ac_t""no
" 1>&6
13193 echo $ac_n "checking
for _isinff declaration
""...
$ac_c" 1>&6
13194 echo "configure
:13195: checking
for _isinff declaration
" >&5
13195 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
13196 if eval "test \"`echo '$''{'glibcxx_cv_func__isinff_use'+set}'`\" = set"; then
13197 echo $ac_n "(cached
) $ac_c" 1>&6
13202 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13203 ac_cpp='$CXXCPP $CPPFLAGS'
13204 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13205 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13206 cross_compiling=$ac_cv_prog_cxx_cross
13208 cat > conftest.$ac_ext <<EOF
13209 #line 13210 "configure
"
13210 #include "confdefs.h
"
13212 #ifdef HAVE_IEEEFP_H
13213 #include <ieeefp.h>
13220 if { (eval echo configure:13221: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13222 glibcxx_cv_func__isinff_use=yes
13224 echo "configure
: failed program was
:" >&5
13225 cat conftest.$ac_ext >&5
13227 glibcxx_cv_func__isinff_use=no
13231 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13232 ac_cpp='$CPP $CPPFLAGS'
13233 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13234 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13235 cross_compiling=$ac_cv_prog_cc_cross
13241 echo "$ac_t""$glibcxx_cv_func__isinff_use" 1>&6
13243 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
13244 for ac_func in _isinff
13246 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13247 echo "configure
:13248: checking
for $ac_func" >&5
13248 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13249 echo $ac_n "(cached
) $ac_c" 1>&6
13251 cat > conftest.$ac_ext <<EOF
13252 #line 13253 "configure
"
13253 #include "confdefs.h
"
13254 /* System header to define __stub macros and hopefully few prototypes,
13255 which can conflict with char $ac_func(); below. */
13256 #include <assert.h>
13257 /* Override any gcc2 internal prototype to avoid an error. */
13258 /* We use char because int might match the return type of a gcc2
13259 builtin and then its argument prototype would still apply. */
13264 /* The GNU C library defines this for functions which it implements
13265 to always fail with ENOSYS. Some functions are actually named
13266 something starting with __ and the normal name is an alias. */
13267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13275 if { (eval echo configure:13276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13277 eval "ac_cv_func_
$ac_func=yes"
13279 echo "configure
: failed program was
:" >&5
13280 cat conftest.$ac_ext >&5
13282 eval "ac_cv_func_
$ac_func=no
"
13287 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13288 echo "$ac_t""yes" 1>&6
13289 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13290 cat >> confdefs.h <<EOF
13291 #define $ac_tr_func 1
13295 echo "$ac_t""no
" 1>&6
13304 echo $ac_n "checking
for atan2f declaration
""...
$ac_c" 1>&6
13305 echo "configure
:13306: checking
for atan2f declaration
" >&5
13306 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
13307 if eval "test \"`echo '$''{'glibcxx_cv_func_atan2f_use'+set}'`\" = set"; then
13308 echo $ac_n "(cached
) $ac_c" 1>&6
13313 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13314 ac_cpp='$CXXCPP $CPPFLAGS'
13315 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13316 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13317 cross_compiling=$ac_cv_prog_cxx_cross
13319 cat > conftest.$ac_ext <<EOF
13320 #line 13321 "configure
"
13321 #include "confdefs.h
"
13327 if { (eval echo configure:13328: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13329 glibcxx_cv_func_atan2f_use=yes
13331 echo "configure
: failed program was
:" >&5
13332 cat conftest.$ac_ext >&5
13334 glibcxx_cv_func_atan2f_use=no
13338 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13339 ac_cpp='$CPP $CPPFLAGS'
13340 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13341 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13342 cross_compiling=$ac_cv_prog_cc_cross
13348 echo "$ac_t""$glibcxx_cv_func_atan2f_use" 1>&6
13350 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
13351 for ac_func in atan2f
13353 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13354 echo "configure
:13355: checking
for $ac_func" >&5
13355 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13356 echo $ac_n "(cached
) $ac_c" 1>&6
13358 cat > conftest.$ac_ext <<EOF
13359 #line 13360 "configure
"
13360 #include "confdefs.h
"
13361 /* System header to define __stub macros and hopefully few prototypes,
13362 which can conflict with char $ac_func(); below. */
13363 #include <assert.h>
13364 /* Override any gcc2 internal prototype to avoid an error. */
13365 /* We use char because int might match the return type of a gcc2
13366 builtin and then its argument prototype would still apply. */
13371 /* The GNU C library defines this for functions which it implements
13372 to always fail with ENOSYS. Some functions are actually named
13373 something starting with __ and the normal name is an alias. */
13374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13382 if { (eval echo configure:13383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13384 eval "ac_cv_func_
$ac_func=yes"
13386 echo "configure
: failed program was
:" >&5
13387 cat conftest.$ac_ext >&5
13389 eval "ac_cv_func_
$ac_func=no
"
13394 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13395 echo "$ac_t""yes" 1>&6
13396 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13397 cat >> confdefs.h <<EOF
13398 #define $ac_tr_func 1
13402 echo "$ac_t""no
" 1>&6
13408 echo $ac_n "checking
for _atan2f declaration
""...
$ac_c" 1>&6
13409 echo "configure
:13410: checking
for _atan2f declaration
" >&5
13410 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
13411 if eval "test \"`echo '$''{'glibcxx_cv_func__atan2f_use'+set}'`\" = set"; then
13412 echo $ac_n "(cached
) $ac_c" 1>&6
13417 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13418 ac_cpp='$CXXCPP $CPPFLAGS'
13419 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13420 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13421 cross_compiling=$ac_cv_prog_cxx_cross
13423 cat > conftest.$ac_ext <<EOF
13424 #line 13425 "configure
"
13425 #include "confdefs.h
"
13431 if { (eval echo configure:13432: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13433 glibcxx_cv_func__atan2f_use=yes
13435 echo "configure
: failed program was
:" >&5
13436 cat conftest.$ac_ext >&5
13438 glibcxx_cv_func__atan2f_use=no
13442 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13443 ac_cpp='$CPP $CPPFLAGS'
13444 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13445 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13446 cross_compiling=$ac_cv_prog_cc_cross
13452 echo "$ac_t""$glibcxx_cv_func__atan2f_use" 1>&6
13454 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
13455 for ac_func in _atan2f
13457 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13458 echo "configure
:13459: checking
for $ac_func" >&5
13459 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13460 echo $ac_n "(cached
) $ac_c" 1>&6
13462 cat > conftest.$ac_ext <<EOF
13463 #line 13464 "configure
"
13464 #include "confdefs.h
"
13465 /* System header to define __stub macros and hopefully few prototypes,
13466 which can conflict with char $ac_func(); below. */
13467 #include <assert.h>
13468 /* Override any gcc2 internal prototype to avoid an error. */
13469 /* We use char because int might match the return type of a gcc2
13470 builtin and then its argument prototype would still apply. */
13475 /* The GNU C library defines this for functions which it implements
13476 to always fail with ENOSYS. Some functions are actually named
13477 something starting with __ and the normal name is an alias. */
13478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13486 if { (eval echo configure:13487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13488 eval "ac_cv_func_
$ac_func=yes"
13490 echo "configure
: failed program was
:" >&5
13491 cat conftest.$ac_ext >&5
13493 eval "ac_cv_func_
$ac_func=no
"
13498 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13499 echo "$ac_t""yes" 1>&6
13500 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13501 cat >> confdefs.h <<EOF
13502 #define $ac_tr_func 1
13506 echo "$ac_t""no
" 1>&6
13515 echo $ac_n "checking
for fabsf declaration
""...
$ac_c" 1>&6
13516 echo "configure
:13517: checking
for fabsf declaration
" >&5
13517 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
13518 if eval "test \"`echo '$''{'glibcxx_cv_func_fabsf_use'+set}'`\" = set"; then
13519 echo $ac_n "(cached
) $ac_c" 1>&6
13524 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13525 ac_cpp='$CXXCPP $CPPFLAGS'
13526 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13527 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13528 cross_compiling=$ac_cv_prog_cxx_cross
13530 cat > conftest.$ac_ext <<EOF
13531 #line 13532 "configure
"
13532 #include "confdefs.h
"
13534 #ifdef HAVE_IEEEFP_H
13535 #include <ieeefp.h>
13542 if { (eval echo configure:13543: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13544 glibcxx_cv_func_fabsf_use=yes
13546 echo "configure
: failed program was
:" >&5
13547 cat conftest.$ac_ext >&5
13549 glibcxx_cv_func_fabsf_use=no
13553 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13554 ac_cpp='$CPP $CPPFLAGS'
13555 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13556 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13557 cross_compiling=$ac_cv_prog_cc_cross
13563 echo "$ac_t""$glibcxx_cv_func_fabsf_use" 1>&6
13565 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
13566 for ac_func in fabsf
13568 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13569 echo "configure
:13570: checking
for $ac_func" >&5
13570 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13571 echo $ac_n "(cached
) $ac_c" 1>&6
13573 cat > conftest.$ac_ext <<EOF
13574 #line 13575 "configure
"
13575 #include "confdefs.h
"
13576 /* System header to define __stub macros and hopefully few prototypes,
13577 which can conflict with char $ac_func(); below. */
13578 #include <assert.h>
13579 /* Override any gcc2 internal prototype to avoid an error. */
13580 /* We use char because int might match the return type of a gcc2
13581 builtin and then its argument prototype would still apply. */
13586 /* The GNU C library defines this for functions which it implements
13587 to always fail with ENOSYS. Some functions are actually named
13588 something starting with __ and the normal name is an alias. */
13589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13597 if { (eval echo configure:13598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13599 eval "ac_cv_func_
$ac_func=yes"
13601 echo "configure
: failed program was
:" >&5
13602 cat conftest.$ac_ext >&5
13604 eval "ac_cv_func_
$ac_func=no
"
13609 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13610 echo "$ac_t""yes" 1>&6
13611 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13612 cat >> confdefs.h <<EOF
13613 #define $ac_tr_func 1
13617 echo "$ac_t""no
" 1>&6
13623 echo $ac_n "checking
for _fabsf declaration
""...
$ac_c" 1>&6
13624 echo "configure
:13625: checking
for _fabsf declaration
" >&5
13625 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
13626 if eval "test \"`echo '$''{'glibcxx_cv_func__fabsf_use'+set}'`\" = set"; then
13627 echo $ac_n "(cached
) $ac_c" 1>&6
13632 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13633 ac_cpp='$CXXCPP $CPPFLAGS'
13634 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13635 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13636 cross_compiling=$ac_cv_prog_cxx_cross
13638 cat > conftest.$ac_ext <<EOF
13639 #line 13640 "configure
"
13640 #include "confdefs.h
"
13642 #ifdef HAVE_IEEEFP_H
13643 #include <ieeefp.h>
13650 if { (eval echo configure:13651: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13652 glibcxx_cv_func__fabsf_use=yes
13654 echo "configure
: failed program was
:" >&5
13655 cat conftest.$ac_ext >&5
13657 glibcxx_cv_func__fabsf_use=no
13661 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13662 ac_cpp='$CPP $CPPFLAGS'
13663 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13664 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13665 cross_compiling=$ac_cv_prog_cc_cross
13671 echo "$ac_t""$glibcxx_cv_func__fabsf_use" 1>&6
13673 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
13674 for ac_func in _fabsf
13676 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13677 echo "configure
:13678: checking
for $ac_func" >&5
13678 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13679 echo $ac_n "(cached
) $ac_c" 1>&6
13681 cat > conftest.$ac_ext <<EOF
13682 #line 13683 "configure
"
13683 #include "confdefs.h
"
13684 /* System header to define __stub macros and hopefully few prototypes,
13685 which can conflict with char $ac_func(); below. */
13686 #include <assert.h>
13687 /* Override any gcc2 internal prototype to avoid an error. */
13688 /* We use char because int might match the return type of a gcc2
13689 builtin and then its argument prototype would still apply. */
13694 /* The GNU C library defines this for functions which it implements
13695 to always fail with ENOSYS. Some functions are actually named
13696 something starting with __ and the normal name is an alias. */
13697 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13705 if { (eval echo configure:13706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13707 eval "ac_cv_func_
$ac_func=yes"
13709 echo "configure
: failed program was
:" >&5
13710 cat conftest.$ac_ext >&5
13712 eval "ac_cv_func_
$ac_func=no
"
13717 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13718 echo "$ac_t""yes" 1>&6
13719 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13720 cat >> confdefs.h <<EOF
13721 #define $ac_tr_func 1
13725 echo "$ac_t""no
" 1>&6
13734 echo $ac_n "checking
for fmodf declaration
""...
$ac_c" 1>&6
13735 echo "configure
:13736: checking
for fmodf declaration
" >&5
13736 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
13737 if eval "test \"`echo '$''{'glibcxx_cv_func_fmodf_use'+set}'`\" = set"; then
13738 echo $ac_n "(cached
) $ac_c" 1>&6
13743 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13744 ac_cpp='$CXXCPP $CPPFLAGS'
13745 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13746 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13747 cross_compiling=$ac_cv_prog_cxx_cross
13749 cat > conftest.$ac_ext <<EOF
13750 #line 13751 "configure
"
13751 #include "confdefs.h
"
13757 if { (eval echo configure:13758: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13759 glibcxx_cv_func_fmodf_use=yes
13761 echo "configure
: failed program was
:" >&5
13762 cat conftest.$ac_ext >&5
13764 glibcxx_cv_func_fmodf_use=no
13768 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13769 ac_cpp='$CPP $CPPFLAGS'
13770 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13771 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13772 cross_compiling=$ac_cv_prog_cc_cross
13778 echo "$ac_t""$glibcxx_cv_func_fmodf_use" 1>&6
13780 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
13781 for ac_func in fmodf
13783 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13784 echo "configure
:13785: checking
for $ac_func" >&5
13785 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13786 echo $ac_n "(cached
) $ac_c" 1>&6
13788 cat > conftest.$ac_ext <<EOF
13789 #line 13790 "configure
"
13790 #include "confdefs.h
"
13791 /* System header to define __stub macros and hopefully few prototypes,
13792 which can conflict with char $ac_func(); below. */
13793 #include <assert.h>
13794 /* Override any gcc2 internal prototype to avoid an error. */
13795 /* We use char because int might match the return type of a gcc2
13796 builtin and then its argument prototype would still apply. */
13801 /* The GNU C library defines this for functions which it implements
13802 to always fail with ENOSYS. Some functions are actually named
13803 something starting with __ and the normal name is an alias. */
13804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13812 if { (eval echo configure:13813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13814 eval "ac_cv_func_
$ac_func=yes"
13816 echo "configure
: failed program was
:" >&5
13817 cat conftest.$ac_ext >&5
13819 eval "ac_cv_func_
$ac_func=no
"
13824 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13825 echo "$ac_t""yes" 1>&6
13826 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13827 cat >> confdefs.h <<EOF
13828 #define $ac_tr_func 1
13832 echo "$ac_t""no
" 1>&6
13838 echo $ac_n "checking
for _fmodf declaration
""...
$ac_c" 1>&6
13839 echo "configure
:13840: checking
for _fmodf declaration
" >&5
13840 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
13841 if eval "test \"`echo '$''{'glibcxx_cv_func__fmodf_use'+set}'`\" = set"; then
13842 echo $ac_n "(cached
) $ac_c" 1>&6
13847 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13848 ac_cpp='$CXXCPP $CPPFLAGS'
13849 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13850 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13851 cross_compiling=$ac_cv_prog_cxx_cross
13853 cat > conftest.$ac_ext <<EOF
13854 #line 13855 "configure
"
13855 #include "confdefs.h
"
13861 if { (eval echo configure:13862: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13863 glibcxx_cv_func__fmodf_use=yes
13865 echo "configure
: failed program was
:" >&5
13866 cat conftest.$ac_ext >&5
13868 glibcxx_cv_func__fmodf_use=no
13872 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13873 ac_cpp='$CPP $CPPFLAGS'
13874 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13875 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13876 cross_compiling=$ac_cv_prog_cc_cross
13882 echo "$ac_t""$glibcxx_cv_func__fmodf_use" 1>&6
13884 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
13885 for ac_func in _fmodf
13887 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13888 echo "configure
:13889: checking
for $ac_func" >&5
13889 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13890 echo $ac_n "(cached
) $ac_c" 1>&6
13892 cat > conftest.$ac_ext <<EOF
13893 #line 13894 "configure
"
13894 #include "confdefs.h
"
13895 /* System header to define __stub macros and hopefully few prototypes,
13896 which can conflict with char $ac_func(); below. */
13897 #include <assert.h>
13898 /* Override any gcc2 internal prototype to avoid an error. */
13899 /* We use char because int might match the return type of a gcc2
13900 builtin and then its argument prototype would still apply. */
13905 /* The GNU C library defines this for functions which it implements
13906 to always fail with ENOSYS. Some functions are actually named
13907 something starting with __ and the normal name is an alias. */
13908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13916 if { (eval echo configure:13917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13918 eval "ac_cv_func_
$ac_func=yes"
13920 echo "configure
: failed program was
:" >&5
13921 cat conftest.$ac_ext >&5
13923 eval "ac_cv_func_
$ac_func=no
"
13928 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13929 echo "$ac_t""yes" 1>&6
13930 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13931 cat >> confdefs.h <<EOF
13932 #define $ac_tr_func 1
13936 echo "$ac_t""no
" 1>&6
13945 echo $ac_n "checking
for frexpf declaration
""...
$ac_c" 1>&6
13946 echo "configure
:13947: checking
for frexpf declaration
" >&5
13947 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
13948 if eval "test \"`echo '$''{'glibcxx_cv_func_frexpf_use'+set}'`\" = set"; then
13949 echo $ac_n "(cached
) $ac_c" 1>&6
13954 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13955 ac_cpp='$CXXCPP $CPPFLAGS'
13956 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13957 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13958 cross_compiling=$ac_cv_prog_cxx_cross
13960 cat > conftest.$ac_ext <<EOF
13961 #line 13962 "configure
"
13962 #include "confdefs.h
"
13968 if { (eval echo configure:13969: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13970 glibcxx_cv_func_frexpf_use=yes
13972 echo "configure
: failed program was
:" >&5
13973 cat conftest.$ac_ext >&5
13975 glibcxx_cv_func_frexpf_use=no
13979 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13980 ac_cpp='$CPP $CPPFLAGS'
13981 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13982 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13983 cross_compiling=$ac_cv_prog_cc_cross
13989 echo "$ac_t""$glibcxx_cv_func_frexpf_use" 1>&6
13991 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
13992 for ac_func in frexpf
13994 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13995 echo "configure
:13996: checking
for $ac_func" >&5
13996 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13997 echo $ac_n "(cached
) $ac_c" 1>&6
13999 cat > conftest.$ac_ext <<EOF
14000 #line 14001 "configure
"
14001 #include "confdefs.h
"
14002 /* System header to define __stub macros and hopefully few prototypes,
14003 which can conflict with char $ac_func(); below. */
14004 #include <assert.h>
14005 /* Override any gcc2 internal prototype to avoid an error. */
14006 /* We use char because int might match the return type of a gcc2
14007 builtin and then its argument prototype would still apply. */
14012 /* The GNU C library defines this for functions which it implements
14013 to always fail with ENOSYS. Some functions are actually named
14014 something starting with __ and the normal name is an alias. */
14015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14023 if { (eval echo configure:14024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14025 eval "ac_cv_func_
$ac_func=yes"
14027 echo "configure
: failed program was
:" >&5
14028 cat conftest.$ac_ext >&5
14030 eval "ac_cv_func_
$ac_func=no
"
14035 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14036 echo "$ac_t""yes" 1>&6
14037 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14038 cat >> confdefs.h <<EOF
14039 #define $ac_tr_func 1
14043 echo "$ac_t""no
" 1>&6
14049 echo $ac_n "checking
for _frexpf declaration
""...
$ac_c" 1>&6
14050 echo "configure
:14051: checking
for _frexpf declaration
" >&5
14051 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
14052 if eval "test \"`echo '$''{'glibcxx_cv_func__frexpf_use'+set}'`\" = set"; then
14053 echo $ac_n "(cached
) $ac_c" 1>&6
14058 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14059 ac_cpp='$CXXCPP $CPPFLAGS'
14060 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14061 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14062 cross_compiling=$ac_cv_prog_cxx_cross
14064 cat > conftest.$ac_ext <<EOF
14065 #line 14066 "configure
"
14066 #include "confdefs.h
"
14072 if { (eval echo configure:14073: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14074 glibcxx_cv_func__frexpf_use=yes
14076 echo "configure
: failed program was
:" >&5
14077 cat conftest.$ac_ext >&5
14079 glibcxx_cv_func__frexpf_use=no
14083 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14084 ac_cpp='$CPP $CPPFLAGS'
14085 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14086 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14087 cross_compiling=$ac_cv_prog_cc_cross
14093 echo "$ac_t""$glibcxx_cv_func__frexpf_use" 1>&6
14095 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
14096 for ac_func in _frexpf
14098 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14099 echo "configure
:14100: checking
for $ac_func" >&5
14100 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14101 echo $ac_n "(cached
) $ac_c" 1>&6
14103 cat > conftest.$ac_ext <<EOF
14104 #line 14105 "configure
"
14105 #include "confdefs.h
"
14106 /* System header to define __stub macros and hopefully few prototypes,
14107 which can conflict with char $ac_func(); below. */
14108 #include <assert.h>
14109 /* Override any gcc2 internal prototype to avoid an error. */
14110 /* We use char because int might match the return type of a gcc2
14111 builtin and then its argument prototype would still apply. */
14116 /* The GNU C library defines this for functions which it implements
14117 to always fail with ENOSYS. Some functions are actually named
14118 something starting with __ and the normal name is an alias. */
14119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14127 if { (eval echo configure:14128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14129 eval "ac_cv_func_
$ac_func=yes"
14131 echo "configure
: failed program was
:" >&5
14132 cat conftest.$ac_ext >&5
14134 eval "ac_cv_func_
$ac_func=no
"
14139 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14140 echo "$ac_t""yes" 1>&6
14141 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14142 cat >> confdefs.h <<EOF
14143 #define $ac_tr_func 1
14147 echo "$ac_t""no
" 1>&6
14156 echo $ac_n "checking
for hypotf declaration
""...
$ac_c" 1>&6
14157 echo "configure
:14158: checking
for hypotf declaration
" >&5
14158 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
14159 if eval "test \"`echo '$''{'glibcxx_cv_func_hypotf_use'+set}'`\" = set"; then
14160 echo $ac_n "(cached
) $ac_c" 1>&6
14165 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14166 ac_cpp='$CXXCPP $CPPFLAGS'
14167 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14168 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14169 cross_compiling=$ac_cv_prog_cxx_cross
14171 cat > conftest.$ac_ext <<EOF
14172 #line 14173 "configure
"
14173 #include "confdefs.h
"
14179 if { (eval echo configure:14180: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14181 glibcxx_cv_func_hypotf_use=yes
14183 echo "configure
: failed program was
:" >&5
14184 cat conftest.$ac_ext >&5
14186 glibcxx_cv_func_hypotf_use=no
14190 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14191 ac_cpp='$CPP $CPPFLAGS'
14192 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14193 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14194 cross_compiling=$ac_cv_prog_cc_cross
14200 echo "$ac_t""$glibcxx_cv_func_hypotf_use" 1>&6
14202 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
14203 for ac_func in hypotf
14205 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14206 echo "configure
:14207: checking
for $ac_func" >&5
14207 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14208 echo $ac_n "(cached
) $ac_c" 1>&6
14210 cat > conftest.$ac_ext <<EOF
14211 #line 14212 "configure
"
14212 #include "confdefs.h
"
14213 /* System header to define __stub macros and hopefully few prototypes,
14214 which can conflict with char $ac_func(); below. */
14215 #include <assert.h>
14216 /* Override any gcc2 internal prototype to avoid an error. */
14217 /* We use char because int might match the return type of a gcc2
14218 builtin and then its argument prototype would still apply. */
14223 /* The GNU C library defines this for functions which it implements
14224 to always fail with ENOSYS. Some functions are actually named
14225 something starting with __ and the normal name is an alias. */
14226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14234 if { (eval echo configure:14235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14236 eval "ac_cv_func_
$ac_func=yes"
14238 echo "configure
: failed program was
:" >&5
14239 cat conftest.$ac_ext >&5
14241 eval "ac_cv_func_
$ac_func=no
"
14246 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14247 echo "$ac_t""yes" 1>&6
14248 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14249 cat >> confdefs.h <<EOF
14250 #define $ac_tr_func 1
14254 echo "$ac_t""no
" 1>&6
14260 echo $ac_n "checking
for _hypotf declaration
""...
$ac_c" 1>&6
14261 echo "configure
:14262: checking
for _hypotf declaration
" >&5
14262 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
14263 if eval "test \"`echo '$''{'glibcxx_cv_func__hypotf_use'+set}'`\" = set"; then
14264 echo $ac_n "(cached
) $ac_c" 1>&6
14269 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14270 ac_cpp='$CXXCPP $CPPFLAGS'
14271 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14272 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14273 cross_compiling=$ac_cv_prog_cxx_cross
14275 cat > conftest.$ac_ext <<EOF
14276 #line 14277 "configure
"
14277 #include "confdefs.h
"
14283 if { (eval echo configure:14284: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14285 glibcxx_cv_func__hypotf_use=yes
14287 echo "configure
: failed program was
:" >&5
14288 cat conftest.$ac_ext >&5
14290 glibcxx_cv_func__hypotf_use=no
14294 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14295 ac_cpp='$CPP $CPPFLAGS'
14296 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14297 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14298 cross_compiling=$ac_cv_prog_cc_cross
14304 echo "$ac_t""$glibcxx_cv_func__hypotf_use" 1>&6
14306 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
14307 for ac_func in _hypotf
14309 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14310 echo "configure
:14311: checking
for $ac_func" >&5
14311 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14312 echo $ac_n "(cached
) $ac_c" 1>&6
14314 cat > conftest.$ac_ext <<EOF
14315 #line 14316 "configure
"
14316 #include "confdefs.h
"
14317 /* System header to define __stub macros and hopefully few prototypes,
14318 which can conflict with char $ac_func(); below. */
14319 #include <assert.h>
14320 /* Override any gcc2 internal prototype to avoid an error. */
14321 /* We use char because int might match the return type of a gcc2
14322 builtin and then its argument prototype would still apply. */
14327 /* The GNU C library defines this for functions which it implements
14328 to always fail with ENOSYS. Some functions are actually named
14329 something starting with __ and the normal name is an alias. */
14330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14338 if { (eval echo configure:14339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14340 eval "ac_cv_func_
$ac_func=yes"
14342 echo "configure
: failed program was
:" >&5
14343 cat conftest.$ac_ext >&5
14345 eval "ac_cv_func_
$ac_func=no
"
14350 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14351 echo "$ac_t""yes" 1>&6
14352 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14353 cat >> confdefs.h <<EOF
14354 #define $ac_tr_func 1
14358 echo "$ac_t""no
" 1>&6
14367 echo $ac_n "checking
for ldexpf declaration
""...
$ac_c" 1>&6
14368 echo "configure
:14369: checking
for ldexpf declaration
" >&5
14369 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
14370 if eval "test \"`echo '$''{'glibcxx_cv_func_ldexpf_use'+set}'`\" = set"; then
14371 echo $ac_n "(cached
) $ac_c" 1>&6
14376 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14377 ac_cpp='$CXXCPP $CPPFLAGS'
14378 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14379 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14380 cross_compiling=$ac_cv_prog_cxx_cross
14382 cat > conftest.$ac_ext <<EOF
14383 #line 14384 "configure
"
14384 #include "confdefs.h
"
14390 if { (eval echo configure:14391: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14392 glibcxx_cv_func_ldexpf_use=yes
14394 echo "configure
: failed program was
:" >&5
14395 cat conftest.$ac_ext >&5
14397 glibcxx_cv_func_ldexpf_use=no
14401 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14402 ac_cpp='$CPP $CPPFLAGS'
14403 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14404 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14405 cross_compiling=$ac_cv_prog_cc_cross
14411 echo "$ac_t""$glibcxx_cv_func_ldexpf_use" 1>&6
14413 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
14414 for ac_func in ldexpf
14416 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14417 echo "configure
:14418: checking
for $ac_func" >&5
14418 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14419 echo $ac_n "(cached
) $ac_c" 1>&6
14421 cat > conftest.$ac_ext <<EOF
14422 #line 14423 "configure
"
14423 #include "confdefs.h
"
14424 /* System header to define __stub macros and hopefully few prototypes,
14425 which can conflict with char $ac_func(); below. */
14426 #include <assert.h>
14427 /* Override any gcc2 internal prototype to avoid an error. */
14428 /* We use char because int might match the return type of a gcc2
14429 builtin and then its argument prototype would still apply. */
14434 /* The GNU C library defines this for functions which it implements
14435 to always fail with ENOSYS. Some functions are actually named
14436 something starting with __ and the normal name is an alias. */
14437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14445 if { (eval echo configure:14446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14447 eval "ac_cv_func_
$ac_func=yes"
14449 echo "configure
: failed program was
:" >&5
14450 cat conftest.$ac_ext >&5
14452 eval "ac_cv_func_
$ac_func=no
"
14457 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14458 echo "$ac_t""yes" 1>&6
14459 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14460 cat >> confdefs.h <<EOF
14461 #define $ac_tr_func 1
14465 echo "$ac_t""no
" 1>&6
14471 echo $ac_n "checking
for _ldexpf declaration
""...
$ac_c" 1>&6
14472 echo "configure
:14473: checking
for _ldexpf declaration
" >&5
14473 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
14474 if eval "test \"`echo '$''{'glibcxx_cv_func__ldexpf_use'+set}'`\" = set"; then
14475 echo $ac_n "(cached
) $ac_c" 1>&6
14480 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14481 ac_cpp='$CXXCPP $CPPFLAGS'
14482 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14483 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14484 cross_compiling=$ac_cv_prog_cxx_cross
14486 cat > conftest.$ac_ext <<EOF
14487 #line 14488 "configure
"
14488 #include "confdefs.h
"
14494 if { (eval echo configure:14495: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14496 glibcxx_cv_func__ldexpf_use=yes
14498 echo "configure
: failed program was
:" >&5
14499 cat conftest.$ac_ext >&5
14501 glibcxx_cv_func__ldexpf_use=no
14505 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14506 ac_cpp='$CPP $CPPFLAGS'
14507 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14508 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14509 cross_compiling=$ac_cv_prog_cc_cross
14515 echo "$ac_t""$glibcxx_cv_func__ldexpf_use" 1>&6
14517 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
14518 for ac_func in _ldexpf
14520 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14521 echo "configure
:14522: checking
for $ac_func" >&5
14522 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14523 echo $ac_n "(cached
) $ac_c" 1>&6
14525 cat > conftest.$ac_ext <<EOF
14526 #line 14527 "configure
"
14527 #include "confdefs.h
"
14528 /* System header to define __stub macros and hopefully few prototypes,
14529 which can conflict with char $ac_func(); below. */
14530 #include <assert.h>
14531 /* Override any gcc2 internal prototype to avoid an error. */
14532 /* We use char because int might match the return type of a gcc2
14533 builtin and then its argument prototype would still apply. */
14538 /* The GNU C library defines this for functions which it implements
14539 to always fail with ENOSYS. Some functions are actually named
14540 something starting with __ and the normal name is an alias. */
14541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14549 if { (eval echo configure:14550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14551 eval "ac_cv_func_
$ac_func=yes"
14553 echo "configure
: failed program was
:" >&5
14554 cat conftest.$ac_ext >&5
14556 eval "ac_cv_func_
$ac_func=no
"
14561 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14562 echo "$ac_t""yes" 1>&6
14563 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14564 cat >> confdefs.h <<EOF
14565 #define $ac_tr_func 1
14569 echo "$ac_t""no
" 1>&6
14578 echo $ac_n "checking
for logf declaration
""...
$ac_c" 1>&6
14579 echo "configure
:14580: checking
for logf declaration
" >&5
14580 if test x${glibcxx_cv_func_logf_use+set} != xset; then
14581 if eval "test \"`echo '$''{'glibcxx_cv_func_logf_use'+set}'`\" = set"; then
14582 echo $ac_n "(cached
) $ac_c" 1>&6
14587 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14588 ac_cpp='$CXXCPP $CPPFLAGS'
14589 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14590 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14591 cross_compiling=$ac_cv_prog_cxx_cross
14593 cat > conftest.$ac_ext <<EOF
14594 #line 14595 "configure
"
14595 #include "confdefs.h
"
14597 #ifdef HAVE_IEEEFP_H
14598 #include <ieeefp.h>
14605 if { (eval echo configure:14606: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14607 glibcxx_cv_func_logf_use=yes
14609 echo "configure
: failed program was
:" >&5
14610 cat conftest.$ac_ext >&5
14612 glibcxx_cv_func_logf_use=no
14616 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14617 ac_cpp='$CPP $CPPFLAGS'
14618 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14619 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14620 cross_compiling=$ac_cv_prog_cc_cross
14626 echo "$ac_t""$glibcxx_cv_func_logf_use" 1>&6
14628 if test x$glibcxx_cv_func_logf_use = x"yes"; then
14629 for ac_func in logf
14631 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14632 echo "configure
:14633: checking
for $ac_func" >&5
14633 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14634 echo $ac_n "(cached
) $ac_c" 1>&6
14636 cat > conftest.$ac_ext <<EOF
14637 #line 14638 "configure
"
14638 #include "confdefs.h
"
14639 /* System header to define __stub macros and hopefully few prototypes,
14640 which can conflict with char $ac_func(); below. */
14641 #include <assert.h>
14642 /* Override any gcc2 internal prototype to avoid an error. */
14643 /* We use char because int might match the return type of a gcc2
14644 builtin and then its argument prototype would still apply. */
14649 /* The GNU C library defines this for functions which it implements
14650 to always fail with ENOSYS. Some functions are actually named
14651 something starting with __ and the normal name is an alias. */
14652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14660 if { (eval echo configure:14661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14662 eval "ac_cv_func_
$ac_func=yes"
14664 echo "configure
: failed program was
:" >&5
14665 cat conftest.$ac_ext >&5
14667 eval "ac_cv_func_
$ac_func=no
"
14672 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14673 echo "$ac_t""yes" 1>&6
14674 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14675 cat >> confdefs.h <<EOF
14676 #define $ac_tr_func 1
14680 echo "$ac_t""no
" 1>&6
14686 echo $ac_n "checking
for _logf declaration
""...
$ac_c" 1>&6
14687 echo "configure
:14688: checking
for _logf declaration
" >&5
14688 if test x${glibcxx_cv_func__logf_use+set} != xset; then
14689 if eval "test \"`echo '$''{'glibcxx_cv_func__logf_use'+set}'`\" = set"; then
14690 echo $ac_n "(cached
) $ac_c" 1>&6
14695 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14696 ac_cpp='$CXXCPP $CPPFLAGS'
14697 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14698 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14699 cross_compiling=$ac_cv_prog_cxx_cross
14701 cat > conftest.$ac_ext <<EOF
14702 #line 14703 "configure
"
14703 #include "confdefs.h
"
14705 #ifdef HAVE_IEEEFP_H
14706 #include <ieeefp.h>
14713 if { (eval echo configure:14714: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14715 glibcxx_cv_func__logf_use=yes
14717 echo "configure
: failed program was
:" >&5
14718 cat conftest.$ac_ext >&5
14720 glibcxx_cv_func__logf_use=no
14724 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14725 ac_cpp='$CPP $CPPFLAGS'
14726 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14727 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14728 cross_compiling=$ac_cv_prog_cc_cross
14734 echo "$ac_t""$glibcxx_cv_func__logf_use" 1>&6
14736 if test x$glibcxx_cv_func__logf_use = x"yes"; then
14737 for ac_func in _logf
14739 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14740 echo "configure
:14741: checking
for $ac_func" >&5
14741 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14742 echo $ac_n "(cached
) $ac_c" 1>&6
14744 cat > conftest.$ac_ext <<EOF
14745 #line 14746 "configure
"
14746 #include "confdefs.h
"
14747 /* System header to define __stub macros and hopefully few prototypes,
14748 which can conflict with char $ac_func(); below. */
14749 #include <assert.h>
14750 /* Override any gcc2 internal prototype to avoid an error. */
14751 /* We use char because int might match the return type of a gcc2
14752 builtin and then its argument prototype would still apply. */
14757 /* The GNU C library defines this for functions which it implements
14758 to always fail with ENOSYS. Some functions are actually named
14759 something starting with __ and the normal name is an alias. */
14760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14768 if { (eval echo configure:14769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14770 eval "ac_cv_func_
$ac_func=yes"
14772 echo "configure
: failed program was
:" >&5
14773 cat conftest.$ac_ext >&5
14775 eval "ac_cv_func_
$ac_func=no
"
14780 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14781 echo "$ac_t""yes" 1>&6
14782 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14783 cat >> confdefs.h <<EOF
14784 #define $ac_tr_func 1
14788 echo "$ac_t""no
" 1>&6
14797 echo $ac_n "checking
for log10f declaration
""...
$ac_c" 1>&6
14798 echo "configure
:14799: checking
for log10f declaration
" >&5
14799 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
14800 if eval "test \"`echo '$''{'glibcxx_cv_func_log10f_use'+set}'`\" = set"; then
14801 echo $ac_n "(cached
) $ac_c" 1>&6
14806 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14807 ac_cpp='$CXXCPP $CPPFLAGS'
14808 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14809 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14810 cross_compiling=$ac_cv_prog_cxx_cross
14812 cat > conftest.$ac_ext <<EOF
14813 #line 14814 "configure
"
14814 #include "confdefs.h
"
14816 #ifdef HAVE_IEEEFP_H
14817 #include <ieeefp.h>
14824 if { (eval echo configure:14825: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14826 glibcxx_cv_func_log10f_use=yes
14828 echo "configure
: failed program was
:" >&5
14829 cat conftest.$ac_ext >&5
14831 glibcxx_cv_func_log10f_use=no
14835 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14836 ac_cpp='$CPP $CPPFLAGS'
14837 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14838 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14839 cross_compiling=$ac_cv_prog_cc_cross
14845 echo "$ac_t""$glibcxx_cv_func_log10f_use" 1>&6
14847 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
14848 for ac_func in log10f
14850 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14851 echo "configure
:14852: checking
for $ac_func" >&5
14852 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14853 echo $ac_n "(cached
) $ac_c" 1>&6
14855 cat > conftest.$ac_ext <<EOF
14856 #line 14857 "configure
"
14857 #include "confdefs.h
"
14858 /* System header to define __stub macros and hopefully few prototypes,
14859 which can conflict with char $ac_func(); below. */
14860 #include <assert.h>
14861 /* Override any gcc2 internal prototype to avoid an error. */
14862 /* We use char because int might match the return type of a gcc2
14863 builtin and then its argument prototype would still apply. */
14868 /* The GNU C library defines this for functions which it implements
14869 to always fail with ENOSYS. Some functions are actually named
14870 something starting with __ and the normal name is an alias. */
14871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14879 if { (eval echo configure:14880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14881 eval "ac_cv_func_
$ac_func=yes"
14883 echo "configure
: failed program was
:" >&5
14884 cat conftest.$ac_ext >&5
14886 eval "ac_cv_func_
$ac_func=no
"
14891 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14892 echo "$ac_t""yes" 1>&6
14893 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14894 cat >> confdefs.h <<EOF
14895 #define $ac_tr_func 1
14899 echo "$ac_t""no
" 1>&6
14905 echo $ac_n "checking
for _log10f declaration
""...
$ac_c" 1>&6
14906 echo "configure
:14907: checking
for _log10f declaration
" >&5
14907 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
14908 if eval "test \"`echo '$''{'glibcxx_cv_func__log10f_use'+set}'`\" = set"; then
14909 echo $ac_n "(cached
) $ac_c" 1>&6
14914 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14915 ac_cpp='$CXXCPP $CPPFLAGS'
14916 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14917 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14918 cross_compiling=$ac_cv_prog_cxx_cross
14920 cat > conftest.$ac_ext <<EOF
14921 #line 14922 "configure
"
14922 #include "confdefs.h
"
14924 #ifdef HAVE_IEEEFP_H
14925 #include <ieeefp.h>
14932 if { (eval echo configure:14933: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14934 glibcxx_cv_func__log10f_use=yes
14936 echo "configure
: failed program was
:" >&5
14937 cat conftest.$ac_ext >&5
14939 glibcxx_cv_func__log10f_use=no
14943 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14944 ac_cpp='$CPP $CPPFLAGS'
14945 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14946 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14947 cross_compiling=$ac_cv_prog_cc_cross
14953 echo "$ac_t""$glibcxx_cv_func__log10f_use" 1>&6
14955 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
14956 for ac_func in _log10f
14958 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14959 echo "configure
:14960: checking
for $ac_func" >&5
14960 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14961 echo $ac_n "(cached
) $ac_c" 1>&6
14963 cat > conftest.$ac_ext <<EOF
14964 #line 14965 "configure
"
14965 #include "confdefs.h
"
14966 /* System header to define __stub macros and hopefully few prototypes,
14967 which can conflict with char $ac_func(); below. */
14968 #include <assert.h>
14969 /* Override any gcc2 internal prototype to avoid an error. */
14970 /* We use char because int might match the return type of a gcc2
14971 builtin and then its argument prototype would still apply. */
14976 /* The GNU C library defines this for functions which it implements
14977 to always fail with ENOSYS. Some functions are actually named
14978 something starting with __ and the normal name is an alias. */
14979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14987 if { (eval echo configure:14988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14989 eval "ac_cv_func_
$ac_func=yes"
14991 echo "configure
: failed program was
:" >&5
14992 cat conftest.$ac_ext >&5
14994 eval "ac_cv_func_
$ac_func=no
"
14999 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15000 echo "$ac_t""yes" 1>&6
15001 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15002 cat >> confdefs.h <<EOF
15003 #define $ac_tr_func 1
15007 echo "$ac_t""no
" 1>&6
15016 echo $ac_n "checking
for modff declaration
""...
$ac_c" 1>&6
15017 echo "configure
:15018: checking
for modff declaration
" >&5
15018 if test x${glibcxx_cv_func_modff_use+set} != xset; then
15019 if eval "test \"`echo '$''{'glibcxx_cv_func_modff_use'+set}'`\" = set"; then
15020 echo $ac_n "(cached
) $ac_c" 1>&6
15025 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15026 ac_cpp='$CXXCPP $CPPFLAGS'
15027 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15028 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15029 cross_compiling=$ac_cv_prog_cxx_cross
15031 cat > conftest.$ac_ext <<EOF
15032 #line 15033 "configure
"
15033 #include "confdefs.h
"
15039 if { (eval echo configure:15040: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15041 glibcxx_cv_func_modff_use=yes
15043 echo "configure
: failed program was
:" >&5
15044 cat conftest.$ac_ext >&5
15046 glibcxx_cv_func_modff_use=no
15050 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15051 ac_cpp='$CPP $CPPFLAGS'
15052 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15053 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15054 cross_compiling=$ac_cv_prog_cc_cross
15060 echo "$ac_t""$glibcxx_cv_func_modff_use" 1>&6
15062 if test x$glibcxx_cv_func_modff_use = x"yes"; then
15063 for ac_func in modff
15065 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15066 echo "configure
:15067: checking
for $ac_func" >&5
15067 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15068 echo $ac_n "(cached
) $ac_c" 1>&6
15070 cat > conftest.$ac_ext <<EOF
15071 #line 15072 "configure
"
15072 #include "confdefs.h
"
15073 /* System header to define __stub macros and hopefully few prototypes,
15074 which can conflict with char $ac_func(); below. */
15075 #include <assert.h>
15076 /* Override any gcc2 internal prototype to avoid an error. */
15077 /* We use char because int might match the return type of a gcc2
15078 builtin and then its argument prototype would still apply. */
15083 /* The GNU C library defines this for functions which it implements
15084 to always fail with ENOSYS. Some functions are actually named
15085 something starting with __ and the normal name is an alias. */
15086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15094 if { (eval echo configure:15095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15096 eval "ac_cv_func_
$ac_func=yes"
15098 echo "configure
: failed program was
:" >&5
15099 cat conftest.$ac_ext >&5
15101 eval "ac_cv_func_
$ac_func=no
"
15106 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15107 echo "$ac_t""yes" 1>&6
15108 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15109 cat >> confdefs.h <<EOF
15110 #define $ac_tr_func 1
15114 echo "$ac_t""no
" 1>&6
15120 echo $ac_n "checking
for _modff declaration
""...
$ac_c" 1>&6
15121 echo "configure
:15122: checking
for _modff declaration
" >&5
15122 if test x${glibcxx_cv_func__modff_use+set} != xset; then
15123 if eval "test \"`echo '$''{'glibcxx_cv_func__modff_use'+set}'`\" = set"; then
15124 echo $ac_n "(cached
) $ac_c" 1>&6
15129 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15130 ac_cpp='$CXXCPP $CPPFLAGS'
15131 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15132 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15133 cross_compiling=$ac_cv_prog_cxx_cross
15135 cat > conftest.$ac_ext <<EOF
15136 #line 15137 "configure
"
15137 #include "confdefs.h
"
15143 if { (eval echo configure:15144: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15145 glibcxx_cv_func__modff_use=yes
15147 echo "configure
: failed program was
:" >&5
15148 cat conftest.$ac_ext >&5
15150 glibcxx_cv_func__modff_use=no
15154 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15155 ac_cpp='$CPP $CPPFLAGS'
15156 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15157 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15158 cross_compiling=$ac_cv_prog_cc_cross
15164 echo "$ac_t""$glibcxx_cv_func__modff_use" 1>&6
15166 if test x$glibcxx_cv_func__modff_use = x"yes"; then
15167 for ac_func in _modff
15169 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15170 echo "configure
:15171: checking
for $ac_func" >&5
15171 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15172 echo $ac_n "(cached
) $ac_c" 1>&6
15174 cat > conftest.$ac_ext <<EOF
15175 #line 15176 "configure
"
15176 #include "confdefs.h
"
15177 /* System header to define __stub macros and hopefully few prototypes,
15178 which can conflict with char $ac_func(); below. */
15179 #include <assert.h>
15180 /* Override any gcc2 internal prototype to avoid an error. */
15181 /* We use char because int might match the return type of a gcc2
15182 builtin and then its argument prototype would still apply. */
15187 /* The GNU C library defines this for functions which it implements
15188 to always fail with ENOSYS. Some functions are actually named
15189 something starting with __ and the normal name is an alias. */
15190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15198 if { (eval echo configure:15199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15200 eval "ac_cv_func_
$ac_func=yes"
15202 echo "configure
: failed program was
:" >&5
15203 cat conftest.$ac_ext >&5
15205 eval "ac_cv_func_
$ac_func=no
"
15210 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15211 echo "$ac_t""yes" 1>&6
15212 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15213 cat >> confdefs.h <<EOF
15214 #define $ac_tr_func 1
15218 echo "$ac_t""no
" 1>&6
15227 echo $ac_n "checking
for powf declaration
""...
$ac_c" 1>&6
15228 echo "configure
:15229: checking
for powf declaration
" >&5
15229 if test x${glibcxx_cv_func_powf_use+set} != xset; then
15230 if eval "test \"`echo '$''{'glibcxx_cv_func_powf_use'+set}'`\" = set"; then
15231 echo $ac_n "(cached
) $ac_c" 1>&6
15236 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15237 ac_cpp='$CXXCPP $CPPFLAGS'
15238 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15239 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15240 cross_compiling=$ac_cv_prog_cxx_cross
15242 cat > conftest.$ac_ext <<EOF
15243 #line 15244 "configure
"
15244 #include "confdefs.h
"
15250 if { (eval echo configure:15251: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15252 glibcxx_cv_func_powf_use=yes
15254 echo "configure
: failed program was
:" >&5
15255 cat conftest.$ac_ext >&5
15257 glibcxx_cv_func_powf_use=no
15261 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15262 ac_cpp='$CPP $CPPFLAGS'
15263 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15264 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15265 cross_compiling=$ac_cv_prog_cc_cross
15271 echo "$ac_t""$glibcxx_cv_func_powf_use" 1>&6
15273 if test x$glibcxx_cv_func_powf_use = x"yes"; then
15274 for ac_func in powf
15276 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15277 echo "configure
:15278: checking
for $ac_func" >&5
15278 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15279 echo $ac_n "(cached
) $ac_c" 1>&6
15281 cat > conftest.$ac_ext <<EOF
15282 #line 15283 "configure
"
15283 #include "confdefs.h
"
15284 /* System header to define __stub macros and hopefully few prototypes,
15285 which can conflict with char $ac_func(); below. */
15286 #include <assert.h>
15287 /* Override any gcc2 internal prototype to avoid an error. */
15288 /* We use char because int might match the return type of a gcc2
15289 builtin and then its argument prototype would still apply. */
15294 /* The GNU C library defines this for functions which it implements
15295 to always fail with ENOSYS. Some functions are actually named
15296 something starting with __ and the normal name is an alias. */
15297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15305 if { (eval echo configure:15306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15307 eval "ac_cv_func_
$ac_func=yes"
15309 echo "configure
: failed program was
:" >&5
15310 cat conftest.$ac_ext >&5
15312 eval "ac_cv_func_
$ac_func=no
"
15317 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15318 echo "$ac_t""yes" 1>&6
15319 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15320 cat >> confdefs.h <<EOF
15321 #define $ac_tr_func 1
15325 echo "$ac_t""no
" 1>&6
15331 echo $ac_n "checking
for _powf declaration
""...
$ac_c" 1>&6
15332 echo "configure
:15333: checking
for _powf declaration
" >&5
15333 if test x${glibcxx_cv_func__powf_use+set} != xset; then
15334 if eval "test \"`echo '$''{'glibcxx_cv_func__powf_use'+set}'`\" = set"; then
15335 echo $ac_n "(cached
) $ac_c" 1>&6
15340 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15341 ac_cpp='$CXXCPP $CPPFLAGS'
15342 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15343 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15344 cross_compiling=$ac_cv_prog_cxx_cross
15346 cat > conftest.$ac_ext <<EOF
15347 #line 15348 "configure
"
15348 #include "confdefs.h
"
15354 if { (eval echo configure:15355: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15356 glibcxx_cv_func__powf_use=yes
15358 echo "configure
: failed program was
:" >&5
15359 cat conftest.$ac_ext >&5
15361 glibcxx_cv_func__powf_use=no
15365 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15366 ac_cpp='$CPP $CPPFLAGS'
15367 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15368 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15369 cross_compiling=$ac_cv_prog_cc_cross
15375 echo "$ac_t""$glibcxx_cv_func__powf_use" 1>&6
15377 if test x$glibcxx_cv_func__powf_use = x"yes"; then
15378 for ac_func in _powf
15380 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15381 echo "configure
:15382: checking
for $ac_func" >&5
15382 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15383 echo $ac_n "(cached
) $ac_c" 1>&6
15385 cat > conftest.$ac_ext <<EOF
15386 #line 15387 "configure
"
15387 #include "confdefs.h
"
15388 /* System header to define __stub macros and hopefully few prototypes,
15389 which can conflict with char $ac_func(); below. */
15390 #include <assert.h>
15391 /* Override any gcc2 internal prototype to avoid an error. */
15392 /* We use char because int might match the return type of a gcc2
15393 builtin and then its argument prototype would still apply. */
15398 /* The GNU C library defines this for functions which it implements
15399 to always fail with ENOSYS. Some functions are actually named
15400 something starting with __ and the normal name is an alias. */
15401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15409 if { (eval echo configure:15410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15411 eval "ac_cv_func_
$ac_func=yes"
15413 echo "configure
: failed program was
:" >&5
15414 cat conftest.$ac_ext >&5
15416 eval "ac_cv_func_
$ac_func=no
"
15421 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15422 echo "$ac_t""yes" 1>&6
15423 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15424 cat >> confdefs.h <<EOF
15425 #define $ac_tr_func 1
15429 echo "$ac_t""no
" 1>&6
15438 echo $ac_n "checking
for sqrtf declaration
""...
$ac_c" 1>&6
15439 echo "configure
:15440: checking
for sqrtf declaration
" >&5
15440 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
15441 if eval "test \"`echo '$''{'glibcxx_cv_func_sqrtf_use'+set}'`\" = set"; then
15442 echo $ac_n "(cached
) $ac_c" 1>&6
15447 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15448 ac_cpp='$CXXCPP $CPPFLAGS'
15449 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15450 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15451 cross_compiling=$ac_cv_prog_cxx_cross
15453 cat > conftest.$ac_ext <<EOF
15454 #line 15455 "configure
"
15455 #include "confdefs.h
"
15457 #ifdef HAVE_IEEEFP_H
15458 #include <ieeefp.h>
15465 if { (eval echo configure:15466: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15467 glibcxx_cv_func_sqrtf_use=yes
15469 echo "configure
: failed program was
:" >&5
15470 cat conftest.$ac_ext >&5
15472 glibcxx_cv_func_sqrtf_use=no
15476 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15477 ac_cpp='$CPP $CPPFLAGS'
15478 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15479 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15480 cross_compiling=$ac_cv_prog_cc_cross
15486 echo "$ac_t""$glibcxx_cv_func_sqrtf_use" 1>&6
15488 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
15489 for ac_func in sqrtf
15491 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15492 echo "configure
:15493: checking
for $ac_func" >&5
15493 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15494 echo $ac_n "(cached
) $ac_c" 1>&6
15496 cat > conftest.$ac_ext <<EOF
15497 #line 15498 "configure
"
15498 #include "confdefs.h
"
15499 /* System header to define __stub macros and hopefully few prototypes,
15500 which can conflict with char $ac_func(); below. */
15501 #include <assert.h>
15502 /* Override any gcc2 internal prototype to avoid an error. */
15503 /* We use char because int might match the return type of a gcc2
15504 builtin and then its argument prototype would still apply. */
15509 /* The GNU C library defines this for functions which it implements
15510 to always fail with ENOSYS. Some functions are actually named
15511 something starting with __ and the normal name is an alias. */
15512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15520 if { (eval echo configure:15521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15522 eval "ac_cv_func_
$ac_func=yes"
15524 echo "configure
: failed program was
:" >&5
15525 cat conftest.$ac_ext >&5
15527 eval "ac_cv_func_
$ac_func=no
"
15532 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15533 echo "$ac_t""yes" 1>&6
15534 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15535 cat >> confdefs.h <<EOF
15536 #define $ac_tr_func 1
15540 echo "$ac_t""no
" 1>&6
15546 echo $ac_n "checking
for _sqrtf declaration
""...
$ac_c" 1>&6
15547 echo "configure
:15548: checking
for _sqrtf declaration
" >&5
15548 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
15549 if eval "test \"`echo '$''{'glibcxx_cv_func__sqrtf_use'+set}'`\" = set"; then
15550 echo $ac_n "(cached
) $ac_c" 1>&6
15555 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15556 ac_cpp='$CXXCPP $CPPFLAGS'
15557 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15558 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15559 cross_compiling=$ac_cv_prog_cxx_cross
15561 cat > conftest.$ac_ext <<EOF
15562 #line 15563 "configure
"
15563 #include "confdefs.h
"
15565 #ifdef HAVE_IEEEFP_H
15566 #include <ieeefp.h>
15573 if { (eval echo configure:15574: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15575 glibcxx_cv_func__sqrtf_use=yes
15577 echo "configure
: failed program was
:" >&5
15578 cat conftest.$ac_ext >&5
15580 glibcxx_cv_func__sqrtf_use=no
15584 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15585 ac_cpp='$CPP $CPPFLAGS'
15586 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15587 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15588 cross_compiling=$ac_cv_prog_cc_cross
15594 echo "$ac_t""$glibcxx_cv_func__sqrtf_use" 1>&6
15596 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
15597 for ac_func in _sqrtf
15599 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15600 echo "configure
:15601: checking
for $ac_func" >&5
15601 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15602 echo $ac_n "(cached
) $ac_c" 1>&6
15604 cat > conftest.$ac_ext <<EOF
15605 #line 15606 "configure
"
15606 #include "confdefs.h
"
15607 /* System header to define __stub macros and hopefully few prototypes,
15608 which can conflict with char $ac_func(); below. */
15609 #include <assert.h>
15610 /* Override any gcc2 internal prototype to avoid an error. */
15611 /* We use char because int might match the return type of a gcc2
15612 builtin and then its argument prototype would still apply. */
15617 /* The GNU C library defines this for functions which it implements
15618 to always fail with ENOSYS. Some functions are actually named
15619 something starting with __ and the normal name is an alias. */
15620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15628 if { (eval echo configure:15629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15630 eval "ac_cv_func_
$ac_func=yes"
15632 echo "configure
: failed program was
:" >&5
15633 cat conftest.$ac_ext >&5
15635 eval "ac_cv_func_
$ac_func=no
"
15640 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15641 echo "$ac_t""yes" 1>&6
15642 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15643 cat >> confdefs.h <<EOF
15644 #define $ac_tr_func 1
15648 echo "$ac_t""no
" 1>&6
15657 echo $ac_n "checking
for sincosf declaration
""...
$ac_c" 1>&6
15658 echo "configure
:15659: checking
for sincosf declaration
" >&5
15659 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
15660 if eval "test \"`echo '$''{'glibcxx_cv_func_sincosf_use'+set}'`\" = set"; then
15661 echo $ac_n "(cached
) $ac_c" 1>&6
15666 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15667 ac_cpp='$CXXCPP $CPPFLAGS'
15668 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15669 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15670 cross_compiling=$ac_cv_prog_cxx_cross
15672 cat > conftest.$ac_ext <<EOF
15673 #line 15674 "configure
"
15674 #include "confdefs.h
"
15680 if { (eval echo configure:15681: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15682 glibcxx_cv_func_sincosf_use=yes
15684 echo "configure
: failed program was
:" >&5
15685 cat conftest.$ac_ext >&5
15687 glibcxx_cv_func_sincosf_use=no
15691 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15692 ac_cpp='$CPP $CPPFLAGS'
15693 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15694 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15695 cross_compiling=$ac_cv_prog_cc_cross
15701 echo "$ac_t""$glibcxx_cv_func_sincosf_use" 1>&6
15703 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
15704 for ac_func in sincosf
15706 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15707 echo "configure
:15708: checking
for $ac_func" >&5
15708 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15709 echo $ac_n "(cached
) $ac_c" 1>&6
15711 cat > conftest.$ac_ext <<EOF
15712 #line 15713 "configure
"
15713 #include "confdefs.h
"
15714 /* System header to define __stub macros and hopefully few prototypes,
15715 which can conflict with char $ac_func(); below. */
15716 #include <assert.h>
15717 /* Override any gcc2 internal prototype to avoid an error. */
15718 /* We use char because int might match the return type of a gcc2
15719 builtin and then its argument prototype would still apply. */
15724 /* The GNU C library defines this for functions which it implements
15725 to always fail with ENOSYS. Some functions are actually named
15726 something starting with __ and the normal name is an alias. */
15727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15735 if { (eval echo configure:15736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15737 eval "ac_cv_func_
$ac_func=yes"
15739 echo "configure
: failed program was
:" >&5
15740 cat conftest.$ac_ext >&5
15742 eval "ac_cv_func_
$ac_func=no
"
15747 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15748 echo "$ac_t""yes" 1>&6
15749 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15750 cat >> confdefs.h <<EOF
15751 #define $ac_tr_func 1
15755 echo "$ac_t""no
" 1>&6
15761 echo $ac_n "checking
for _sincosf declaration
""...
$ac_c" 1>&6
15762 echo "configure
:15763: checking
for _sincosf declaration
" >&5
15763 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
15764 if eval "test \"`echo '$''{'glibcxx_cv_func__sincosf_use'+set}'`\" = set"; then
15765 echo $ac_n "(cached
) $ac_c" 1>&6
15770 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15771 ac_cpp='$CXXCPP $CPPFLAGS'
15772 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15773 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15774 cross_compiling=$ac_cv_prog_cxx_cross
15776 cat > conftest.$ac_ext <<EOF
15777 #line 15778 "configure
"
15778 #include "confdefs.h
"
15784 if { (eval echo configure:15785: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15786 glibcxx_cv_func__sincosf_use=yes
15788 echo "configure
: failed program was
:" >&5
15789 cat conftest.$ac_ext >&5
15791 glibcxx_cv_func__sincosf_use=no
15795 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15796 ac_cpp='$CPP $CPPFLAGS'
15797 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15798 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15799 cross_compiling=$ac_cv_prog_cc_cross
15805 echo "$ac_t""$glibcxx_cv_func__sincosf_use" 1>&6
15807 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
15808 for ac_func in _sincosf
15810 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15811 echo "configure
:15812: checking
for $ac_func" >&5
15812 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15813 echo $ac_n "(cached
) $ac_c" 1>&6
15815 cat > conftest.$ac_ext <<EOF
15816 #line 15817 "configure
"
15817 #include "confdefs.h
"
15818 /* System header to define __stub macros and hopefully few prototypes,
15819 which can conflict with char $ac_func(); below. */
15820 #include <assert.h>
15821 /* Override any gcc2 internal prototype to avoid an error. */
15822 /* We use char because int might match the return type of a gcc2
15823 builtin and then its argument prototype would still apply. */
15828 /* The GNU C library defines this for functions which it implements
15829 to always fail with ENOSYS. Some functions are actually named
15830 something starting with __ and the normal name is an alias. */
15831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15839 if { (eval echo configure:15840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15841 eval "ac_cv_func_
$ac_func=yes"
15843 echo "configure
: failed program was
:" >&5
15844 cat conftest.$ac_ext >&5
15846 eval "ac_cv_func_
$ac_func=no
"
15851 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15852 echo "$ac_t""yes" 1>&6
15853 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15854 cat >> confdefs.h <<EOF
15855 #define $ac_tr_func 1
15859 echo "$ac_t""no
" 1>&6
15868 echo $ac_n "checking
for finitef declaration
""...
$ac_c" 1>&6
15869 echo "configure
:15870: checking
for finitef declaration
" >&5
15870 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
15871 if eval "test \"`echo '$''{'glibcxx_cv_func_finitef_use'+set}'`\" = set"; then
15872 echo $ac_n "(cached
) $ac_c" 1>&6
15877 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15878 ac_cpp='$CXXCPP $CPPFLAGS'
15879 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15880 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15881 cross_compiling=$ac_cv_prog_cxx_cross
15883 cat > conftest.$ac_ext <<EOF
15884 #line 15885 "configure
"
15885 #include "confdefs.h
"
15887 #ifdef HAVE_IEEEFP_H
15888 #include <ieeefp.h>
15895 if { (eval echo configure:15896: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15897 glibcxx_cv_func_finitef_use=yes
15899 echo "configure
: failed program was
:" >&5
15900 cat conftest.$ac_ext >&5
15902 glibcxx_cv_func_finitef_use=no
15906 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15907 ac_cpp='$CPP $CPPFLAGS'
15908 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15909 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15910 cross_compiling=$ac_cv_prog_cc_cross
15916 echo "$ac_t""$glibcxx_cv_func_finitef_use" 1>&6
15918 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
15919 for ac_func in finitef
15921 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15922 echo "configure
:15923: checking
for $ac_func" >&5
15923 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15924 echo $ac_n "(cached
) $ac_c" 1>&6
15926 cat > conftest.$ac_ext <<EOF
15927 #line 15928 "configure
"
15928 #include "confdefs.h
"
15929 /* System header to define __stub macros and hopefully few prototypes,
15930 which can conflict with char $ac_func(); below. */
15931 #include <assert.h>
15932 /* Override any gcc2 internal prototype to avoid an error. */
15933 /* We use char because int might match the return type of a gcc2
15934 builtin and then its argument prototype would still apply. */
15939 /* The GNU C library defines this for functions which it implements
15940 to always fail with ENOSYS. Some functions are actually named
15941 something starting with __ and the normal name is an alias. */
15942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15950 if { (eval echo configure:15951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15952 eval "ac_cv_func_
$ac_func=yes"
15954 echo "configure
: failed program was
:" >&5
15955 cat conftest.$ac_ext >&5
15957 eval "ac_cv_func_
$ac_func=no
"
15962 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15963 echo "$ac_t""yes" 1>&6
15964 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15965 cat >> confdefs.h <<EOF
15966 #define $ac_tr_func 1
15970 echo "$ac_t""no
" 1>&6
15976 echo $ac_n "checking
for _finitef declaration
""...
$ac_c" 1>&6
15977 echo "configure
:15978: checking
for _finitef declaration
" >&5
15978 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
15979 if eval "test \"`echo '$''{'glibcxx_cv_func__finitef_use'+set}'`\" = set"; then
15980 echo $ac_n "(cached
) $ac_c" 1>&6
15985 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15986 ac_cpp='$CXXCPP $CPPFLAGS'
15987 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15988 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15989 cross_compiling=$ac_cv_prog_cxx_cross
15991 cat > conftest.$ac_ext <<EOF
15992 #line 15993 "configure
"
15993 #include "confdefs.h
"
15995 #ifdef HAVE_IEEEFP_H
15996 #include <ieeefp.h>
16003 if { (eval echo configure:16004: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16005 glibcxx_cv_func__finitef_use=yes
16007 echo "configure
: failed program was
:" >&5
16008 cat conftest.$ac_ext >&5
16010 glibcxx_cv_func__finitef_use=no
16014 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16015 ac_cpp='$CPP $CPPFLAGS'
16016 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16017 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16018 cross_compiling=$ac_cv_prog_cc_cross
16024 echo "$ac_t""$glibcxx_cv_func__finitef_use" 1>&6
16026 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
16027 for ac_func in _finitef
16029 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16030 echo "configure
:16031: checking
for $ac_func" >&5
16031 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16032 echo $ac_n "(cached
) $ac_c" 1>&6
16034 cat > conftest.$ac_ext <<EOF
16035 #line 16036 "configure
"
16036 #include "confdefs.h
"
16037 /* System header to define __stub macros and hopefully few prototypes,
16038 which can conflict with char $ac_func(); below. */
16039 #include <assert.h>
16040 /* Override any gcc2 internal prototype to avoid an error. */
16041 /* We use char because int might match the return type of a gcc2
16042 builtin and then its argument prototype would still apply. */
16047 /* The GNU C library defines this for functions which it implements
16048 to always fail with ENOSYS. Some functions are actually named
16049 something starting with __ and the normal name is an alias. */
16050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16058 if { (eval echo configure:16059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16060 eval "ac_cv_func_
$ac_func=yes"
16062 echo "configure
: failed program was
:" >&5
16063 cat conftest.$ac_ext >&5
16065 eval "ac_cv_func_
$ac_func=no
"
16070 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16071 echo "$ac_t""yes" 1>&6
16072 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16073 cat >> confdefs.h <<EOF
16074 #define $ac_tr_func 1
16078 echo "$ac_t""no
" 1>&6
16087 echo $ac_n "checking
for long double trig functions
""...
$ac_c" 1>&6
16088 echo "configure
:16089: checking
for long double trig functions
" >&5
16089 if eval "test \"`echo '$''{'glibcxx_cv_func_long_double_trig_use'+set}'`\" = set"; then
16090 echo $ac_n "(cached
) $ac_c" 1>&6
16095 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16096 ac_cpp='$CXXCPP $CPPFLAGS'
16097 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16098 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16099 cross_compiling=$ac_cv_prog_cxx_cross
16101 cat > conftest.$ac_ext <<EOF
16102 #line 16103 "configure
"
16103 #include "confdefs.h
"
16106 `for x in acosl asinl atanl \
16108 coshl sinhl tanhl; do echo "$x (0);"; done`
16111 if { (eval echo configure:16112: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16113 glibcxx_cv_func_long_double_trig_use=yes
16115 echo "configure
: failed program was
:" >&5
16116 cat conftest.$ac_ext >&5
16118 glibcxx_cv_func_long_double_trig_use=no
16122 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16123 ac_cpp='$CPP $CPPFLAGS'
16124 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16125 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16126 cross_compiling=$ac_cv_prog_cc_cross
16130 echo "$ac_t""$glibcxx_cv_func_long_double_trig_use" 1>&6
16131 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
16132 for ac_func in acosl asinl atanl \
16136 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16137 echo "configure
:16138: checking
for $ac_func" >&5
16138 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16139 echo $ac_n "(cached
) $ac_c" 1>&6
16141 cat > conftest.$ac_ext <<EOF
16142 #line 16143 "configure
"
16143 #include "confdefs.h
"
16144 /* System header to define __stub macros and hopefully few prototypes,
16145 which can conflict with char $ac_func(); below. */
16146 #include <assert.h>
16147 /* Override any gcc2 internal prototype to avoid an error. */
16148 /* We use char because int might match the return type of a gcc2
16149 builtin and then its argument prototype would still apply. */
16154 /* The GNU C library defines this for functions which it implements
16155 to always fail with ENOSYS. Some functions are actually named
16156 something starting with __ and the normal name is an alias. */
16157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16165 if { (eval echo configure:16166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16167 eval "ac_cv_func_
$ac_func=yes"
16169 echo "configure
: failed program was
:" >&5
16170 cat conftest.$ac_ext >&5
16172 eval "ac_cv_func_
$ac_func=no
"
16177 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16178 echo "$ac_t""yes" 1>&6
16179 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16180 cat >> confdefs.h <<EOF
16181 #define $ac_tr_func 1
16185 echo "$ac_t""no
" 1>&6
16192 echo $ac_n "checking
for long double round functions
""...
$ac_c" 1>&6
16193 echo "configure
:16194: checking
for long double round functions
" >&5
16194 if eval "test \"`echo '$''{'glibcxx_cv_func_long_double_round_use'+set}'`\" = set"; then
16195 echo $ac_n "(cached
) $ac_c" 1>&6
16200 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16201 ac_cpp='$CXXCPP $CPPFLAGS'
16202 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16203 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16204 cross_compiling=$ac_cv_prog_cxx_cross
16206 cat > conftest.$ac_ext <<EOF
16207 #line 16208 "configure
"
16208 #include "confdefs.h
"
16211 `for x in ceill floorl; do echo "$x (0);"; done`
16214 if { (eval echo configure:16215: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16216 glibcxx_cv_func_long_double_round_use=yes
16218 echo "configure
: failed program was
:" >&5
16219 cat conftest.$ac_ext >&5
16221 glibcxx_cv_func_long_double_round_use=no
16225 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16226 ac_cpp='$CPP $CPPFLAGS'
16227 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16228 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16229 cross_compiling=$ac_cv_prog_cc_cross
16233 echo "$ac_t""$glibcxx_cv_func_long_double_round_use" 1>&6
16234 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
16235 for ac_func in ceill floorl
16237 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16238 echo "configure
:16239: checking
for $ac_func" >&5
16239 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16240 echo $ac_n "(cached
) $ac_c" 1>&6
16242 cat > conftest.$ac_ext <<EOF
16243 #line 16244 "configure
"
16244 #include "confdefs.h
"
16245 /* System header to define __stub macros and hopefully few prototypes,
16246 which can conflict with char $ac_func(); below. */
16247 #include <assert.h>
16248 /* Override any gcc2 internal prototype to avoid an error. */
16249 /* We use char because int might match the return type of a gcc2
16250 builtin and then its argument prototype would still apply. */
16255 /* The GNU C library defines this for functions which it implements
16256 to always fail with ENOSYS. Some functions are actually named
16257 something starting with __ and the normal name is an alias. */
16258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16266 if { (eval echo configure:16267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16268 eval "ac_cv_func_
$ac_func=yes"
16270 echo "configure
: failed program was
:" >&5
16271 cat conftest.$ac_ext >&5
16273 eval "ac_cv_func_
$ac_func=no
"
16278 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16279 echo "$ac_t""yes" 1>&6
16280 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16281 cat >> confdefs.h <<EOF
16282 #define $ac_tr_func 1
16286 echo "$ac_t""no
" 1>&6
16294 echo $ac_n "checking
for isnanl declaration
""...
$ac_c" 1>&6
16295 echo "configure
:16296: checking
for isnanl declaration
" >&5
16296 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
16297 if eval "test \"`echo '$''{'glibcxx_cv_func_isnanl_use'+set}'`\" = set"; then
16298 echo $ac_n "(cached
) $ac_c" 1>&6
16303 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16304 ac_cpp='$CXXCPP $CPPFLAGS'
16305 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16306 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16307 cross_compiling=$ac_cv_prog_cxx_cross
16309 cat > conftest.$ac_ext <<EOF
16310 #line 16311 "configure
"
16311 #include "confdefs.h
"
16313 #ifdef HAVE_IEEEFP_H
16314 #include <ieeefp.h>
16321 if { (eval echo configure:16322: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16323 glibcxx_cv_func_isnanl_use=yes
16325 echo "configure
: failed program was
:" >&5
16326 cat conftest.$ac_ext >&5
16328 glibcxx_cv_func_isnanl_use=no
16332 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16333 ac_cpp='$CPP $CPPFLAGS'
16334 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16335 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16336 cross_compiling=$ac_cv_prog_cc_cross
16342 echo "$ac_t""$glibcxx_cv_func_isnanl_use" 1>&6
16344 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
16345 for ac_func in isnanl
16347 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16348 echo "configure
:16349: checking
for $ac_func" >&5
16349 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16350 echo $ac_n "(cached
) $ac_c" 1>&6
16352 cat > conftest.$ac_ext <<EOF
16353 #line 16354 "configure
"
16354 #include "confdefs.h
"
16355 /* System header to define __stub macros and hopefully few prototypes,
16356 which can conflict with char $ac_func(); below. */
16357 #include <assert.h>
16358 /* Override any gcc2 internal prototype to avoid an error. */
16359 /* We use char because int might match the return type of a gcc2
16360 builtin and then its argument prototype would still apply. */
16365 /* The GNU C library defines this for functions which it implements
16366 to always fail with ENOSYS. Some functions are actually named
16367 something starting with __ and the normal name is an alias. */
16368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16376 if { (eval echo configure:16377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16378 eval "ac_cv_func_
$ac_func=yes"
16380 echo "configure
: failed program was
:" >&5
16381 cat conftest.$ac_ext >&5
16383 eval "ac_cv_func_
$ac_func=no
"
16388 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16389 echo "$ac_t""yes" 1>&6
16390 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16391 cat >> confdefs.h <<EOF
16392 #define $ac_tr_func 1
16396 echo "$ac_t""no
" 1>&6
16402 echo $ac_n "checking
for _isnanl declaration
""...
$ac_c" 1>&6
16403 echo "configure
:16404: checking
for _isnanl declaration
" >&5
16404 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
16405 if eval "test \"`echo '$''{'glibcxx_cv_func__isnanl_use'+set}'`\" = set"; then
16406 echo $ac_n "(cached
) $ac_c" 1>&6
16411 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16412 ac_cpp='$CXXCPP $CPPFLAGS'
16413 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16414 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16415 cross_compiling=$ac_cv_prog_cxx_cross
16417 cat > conftest.$ac_ext <<EOF
16418 #line 16419 "configure
"
16419 #include "confdefs.h
"
16421 #ifdef HAVE_IEEEFP_H
16422 #include <ieeefp.h>
16429 if { (eval echo configure:16430: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16431 glibcxx_cv_func__isnanl_use=yes
16433 echo "configure
: failed program was
:" >&5
16434 cat conftest.$ac_ext >&5
16436 glibcxx_cv_func__isnanl_use=no
16440 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16441 ac_cpp='$CPP $CPPFLAGS'
16442 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16443 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16444 cross_compiling=$ac_cv_prog_cc_cross
16450 echo "$ac_t""$glibcxx_cv_func__isnanl_use" 1>&6
16452 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
16453 for ac_func in _isnanl
16455 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16456 echo "configure
:16457: checking
for $ac_func" >&5
16457 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16458 echo $ac_n "(cached
) $ac_c" 1>&6
16460 cat > conftest.$ac_ext <<EOF
16461 #line 16462 "configure
"
16462 #include "confdefs.h
"
16463 /* System header to define __stub macros and hopefully few prototypes,
16464 which can conflict with char $ac_func(); below. */
16465 #include <assert.h>
16466 /* Override any gcc2 internal prototype to avoid an error. */
16467 /* We use char because int might match the return type of a gcc2
16468 builtin and then its argument prototype would still apply. */
16473 /* The GNU C library defines this for functions which it implements
16474 to always fail with ENOSYS. Some functions are actually named
16475 something starting with __ and the normal name is an alias. */
16476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16484 if { (eval echo configure:16485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16486 eval "ac_cv_func_
$ac_func=yes"
16488 echo "configure
: failed program was
:" >&5
16489 cat conftest.$ac_ext >&5
16491 eval "ac_cv_func_
$ac_func=no
"
16496 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16497 echo "$ac_t""yes" 1>&6
16498 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16499 cat >> confdefs.h <<EOF
16500 #define $ac_tr_func 1
16504 echo "$ac_t""no
" 1>&6
16513 echo $ac_n "checking
for isinfl declaration
""...
$ac_c" 1>&6
16514 echo "configure
:16515: checking
for isinfl declaration
" >&5
16515 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
16516 if eval "test \"`echo '$''{'glibcxx_cv_func_isinfl_use'+set}'`\" = set"; then
16517 echo $ac_n "(cached
) $ac_c" 1>&6
16522 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16523 ac_cpp='$CXXCPP $CPPFLAGS'
16524 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16525 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16526 cross_compiling=$ac_cv_prog_cxx_cross
16528 cat > conftest.$ac_ext <<EOF
16529 #line 16530 "configure
"
16530 #include "confdefs.h
"
16532 #ifdef HAVE_IEEEFP_H
16533 #include <ieeefp.h>
16540 if { (eval echo configure:16541: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16542 glibcxx_cv_func_isinfl_use=yes
16544 echo "configure
: failed program was
:" >&5
16545 cat conftest.$ac_ext >&5
16547 glibcxx_cv_func_isinfl_use=no
16551 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16552 ac_cpp='$CPP $CPPFLAGS'
16553 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16554 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16555 cross_compiling=$ac_cv_prog_cc_cross
16561 echo "$ac_t""$glibcxx_cv_func_isinfl_use" 1>&6
16563 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
16564 for ac_func in isinfl
16566 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16567 echo "configure
:16568: checking
for $ac_func" >&5
16568 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16569 echo $ac_n "(cached
) $ac_c" 1>&6
16571 cat > conftest.$ac_ext <<EOF
16572 #line 16573 "configure
"
16573 #include "confdefs.h
"
16574 /* System header to define __stub macros and hopefully few prototypes,
16575 which can conflict with char $ac_func(); below. */
16576 #include <assert.h>
16577 /* Override any gcc2 internal prototype to avoid an error. */
16578 /* We use char because int might match the return type of a gcc2
16579 builtin and then its argument prototype would still apply. */
16584 /* The GNU C library defines this for functions which it implements
16585 to always fail with ENOSYS. Some functions are actually named
16586 something starting with __ and the normal name is an alias. */
16587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16595 if { (eval echo configure:16596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16597 eval "ac_cv_func_
$ac_func=yes"
16599 echo "configure
: failed program was
:" >&5
16600 cat conftest.$ac_ext >&5
16602 eval "ac_cv_func_
$ac_func=no
"
16607 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16608 echo "$ac_t""yes" 1>&6
16609 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16610 cat >> confdefs.h <<EOF
16611 #define $ac_tr_func 1
16615 echo "$ac_t""no
" 1>&6
16621 echo $ac_n "checking
for _isinfl declaration
""...
$ac_c" 1>&6
16622 echo "configure
:16623: checking
for _isinfl declaration
" >&5
16623 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
16624 if eval "test \"`echo '$''{'glibcxx_cv_func__isinfl_use'+set}'`\" = set"; then
16625 echo $ac_n "(cached
) $ac_c" 1>&6
16630 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16631 ac_cpp='$CXXCPP $CPPFLAGS'
16632 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16633 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16634 cross_compiling=$ac_cv_prog_cxx_cross
16636 cat > conftest.$ac_ext <<EOF
16637 #line 16638 "configure
"
16638 #include "confdefs.h
"
16640 #ifdef HAVE_IEEEFP_H
16641 #include <ieeefp.h>
16648 if { (eval echo configure:16649: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16650 glibcxx_cv_func__isinfl_use=yes
16652 echo "configure
: failed program was
:" >&5
16653 cat conftest.$ac_ext >&5
16655 glibcxx_cv_func__isinfl_use=no
16659 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16660 ac_cpp='$CPP $CPPFLAGS'
16661 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16662 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16663 cross_compiling=$ac_cv_prog_cc_cross
16669 echo "$ac_t""$glibcxx_cv_func__isinfl_use" 1>&6
16671 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
16672 for ac_func in _isinfl
16674 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16675 echo "configure
:16676: checking
for $ac_func" >&5
16676 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16677 echo $ac_n "(cached
) $ac_c" 1>&6
16679 cat > conftest.$ac_ext <<EOF
16680 #line 16681 "configure
"
16681 #include "confdefs.h
"
16682 /* System header to define __stub macros and hopefully few prototypes,
16683 which can conflict with char $ac_func(); below. */
16684 #include <assert.h>
16685 /* Override any gcc2 internal prototype to avoid an error. */
16686 /* We use char because int might match the return type of a gcc2
16687 builtin and then its argument prototype would still apply. */
16692 /* The GNU C library defines this for functions which it implements
16693 to always fail with ENOSYS. Some functions are actually named
16694 something starting with __ and the normal name is an alias. */
16695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16703 if { (eval echo configure:16704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16705 eval "ac_cv_func_
$ac_func=yes"
16707 echo "configure
: failed program was
:" >&5
16708 cat conftest.$ac_ext >&5
16710 eval "ac_cv_func_
$ac_func=no
"
16715 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16716 echo "$ac_t""yes" 1>&6
16717 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16718 cat >> confdefs.h <<EOF
16719 #define $ac_tr_func 1
16723 echo "$ac_t""no
" 1>&6
16732 echo $ac_n "checking
for copysignl declaration
""...
$ac_c" 1>&6
16733 echo "configure
:16734: checking
for copysignl declaration
" >&5
16734 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
16735 if eval "test \"`echo '$''{'glibcxx_cv_func_copysignl_use'+set}'`\" = set"; then
16736 echo $ac_n "(cached
) $ac_c" 1>&6
16741 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16742 ac_cpp='$CXXCPP $CPPFLAGS'
16743 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16744 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16745 cross_compiling=$ac_cv_prog_cxx_cross
16747 cat > conftest.$ac_ext <<EOF
16748 #line 16749 "configure
"
16749 #include "confdefs.h
"
16755 if { (eval echo configure:16756: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16757 glibcxx_cv_func_copysignl_use=yes
16759 echo "configure
: failed program was
:" >&5
16760 cat conftest.$ac_ext >&5
16762 glibcxx_cv_func_copysignl_use=no
16766 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16767 ac_cpp='$CPP $CPPFLAGS'
16768 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16769 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16770 cross_compiling=$ac_cv_prog_cc_cross
16776 echo "$ac_t""$glibcxx_cv_func_copysignl_use" 1>&6
16778 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
16779 for ac_func in copysignl
16781 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16782 echo "configure
:16783: checking
for $ac_func" >&5
16783 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16784 echo $ac_n "(cached
) $ac_c" 1>&6
16786 cat > conftest.$ac_ext <<EOF
16787 #line 16788 "configure
"
16788 #include "confdefs.h
"
16789 /* System header to define __stub macros and hopefully few prototypes,
16790 which can conflict with char $ac_func(); below. */
16791 #include <assert.h>
16792 /* Override any gcc2 internal prototype to avoid an error. */
16793 /* We use char because int might match the return type of a gcc2
16794 builtin and then its argument prototype would still apply. */
16799 /* The GNU C library defines this for functions which it implements
16800 to always fail with ENOSYS. Some functions are actually named
16801 something starting with __ and the normal name is an alias. */
16802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16810 if { (eval echo configure:16811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16812 eval "ac_cv_func_
$ac_func=yes"
16814 echo "configure
: failed program was
:" >&5
16815 cat conftest.$ac_ext >&5
16817 eval "ac_cv_func_
$ac_func=no
"
16822 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16823 echo "$ac_t""yes" 1>&6
16824 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16825 cat >> confdefs.h <<EOF
16826 #define $ac_tr_func 1
16830 echo "$ac_t""no
" 1>&6
16836 echo $ac_n "checking
for _copysignl declaration
""...
$ac_c" 1>&6
16837 echo "configure
:16838: checking
for _copysignl declaration
" >&5
16838 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
16839 if eval "test \"`echo '$''{'glibcxx_cv_func__copysignl_use'+set}'`\" = set"; then
16840 echo $ac_n "(cached
) $ac_c" 1>&6
16845 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16846 ac_cpp='$CXXCPP $CPPFLAGS'
16847 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16848 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16849 cross_compiling=$ac_cv_prog_cxx_cross
16851 cat > conftest.$ac_ext <<EOF
16852 #line 16853 "configure
"
16853 #include "confdefs.h
"
16859 if { (eval echo configure:16860: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16861 glibcxx_cv_func__copysignl_use=yes
16863 echo "configure
: failed program was
:" >&5
16864 cat conftest.$ac_ext >&5
16866 glibcxx_cv_func__copysignl_use=no
16870 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16871 ac_cpp='$CPP $CPPFLAGS'
16872 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16873 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16874 cross_compiling=$ac_cv_prog_cc_cross
16880 echo "$ac_t""$glibcxx_cv_func__copysignl_use" 1>&6
16882 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
16883 for ac_func in _copysignl
16885 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16886 echo "configure
:16887: checking
for $ac_func" >&5
16887 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16888 echo $ac_n "(cached
) $ac_c" 1>&6
16890 cat > conftest.$ac_ext <<EOF
16891 #line 16892 "configure
"
16892 #include "confdefs.h
"
16893 /* System header to define __stub macros and hopefully few prototypes,
16894 which can conflict with char $ac_func(); below. */
16895 #include <assert.h>
16896 /* Override any gcc2 internal prototype to avoid an error. */
16897 /* We use char because int might match the return type of a gcc2
16898 builtin and then its argument prototype would still apply. */
16903 /* The GNU C library defines this for functions which it implements
16904 to always fail with ENOSYS. Some functions are actually named
16905 something starting with __ and the normal name is an alias. */
16906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16914 if { (eval echo configure:16915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16916 eval "ac_cv_func_
$ac_func=yes"
16918 echo "configure
: failed program was
:" >&5
16919 cat conftest.$ac_ext >&5
16921 eval "ac_cv_func_
$ac_func=no
"
16926 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16927 echo "$ac_t""yes" 1>&6
16928 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16929 cat >> confdefs.h <<EOF
16930 #define $ac_tr_func 1
16934 echo "$ac_t""no
" 1>&6
16943 echo $ac_n "checking
for atan2l declaration
""...
$ac_c" 1>&6
16944 echo "configure
:16945: checking
for atan2l declaration
" >&5
16945 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
16946 if eval "test \"`echo '$''{'glibcxx_cv_func_atan2l_use'+set}'`\" = set"; then
16947 echo $ac_n "(cached
) $ac_c" 1>&6
16952 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16953 ac_cpp='$CXXCPP $CPPFLAGS'
16954 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16955 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16956 cross_compiling=$ac_cv_prog_cxx_cross
16958 cat > conftest.$ac_ext <<EOF
16959 #line 16960 "configure
"
16960 #include "confdefs.h
"
16966 if { (eval echo configure:16967: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16968 glibcxx_cv_func_atan2l_use=yes
16970 echo "configure
: failed program was
:" >&5
16971 cat conftest.$ac_ext >&5
16973 glibcxx_cv_func_atan2l_use=no
16977 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16978 ac_cpp='$CPP $CPPFLAGS'
16979 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16980 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16981 cross_compiling=$ac_cv_prog_cc_cross
16987 echo "$ac_t""$glibcxx_cv_func_atan2l_use" 1>&6
16989 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
16990 for ac_func in atan2l
16992 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16993 echo "configure
:16994: checking
for $ac_func" >&5
16994 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16995 echo $ac_n "(cached
) $ac_c" 1>&6
16997 cat > conftest.$ac_ext <<EOF
16998 #line 16999 "configure
"
16999 #include "confdefs.h
"
17000 /* System header to define __stub macros and hopefully few prototypes,
17001 which can conflict with char $ac_func(); below. */
17002 #include <assert.h>
17003 /* Override any gcc2 internal prototype to avoid an error. */
17004 /* We use char because int might match the return type of a gcc2
17005 builtin and then its argument prototype would still apply. */
17010 /* The GNU C library defines this for functions which it implements
17011 to always fail with ENOSYS. Some functions are actually named
17012 something starting with __ and the normal name is an alias. */
17013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17021 if { (eval echo configure:17022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17023 eval "ac_cv_func_
$ac_func=yes"
17025 echo "configure
: failed program was
:" >&5
17026 cat conftest.$ac_ext >&5
17028 eval "ac_cv_func_
$ac_func=no
"
17033 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17034 echo "$ac_t""yes" 1>&6
17035 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17036 cat >> confdefs.h <<EOF
17037 #define $ac_tr_func 1
17041 echo "$ac_t""no
" 1>&6
17047 echo $ac_n "checking
for _atan2l declaration
""...
$ac_c" 1>&6
17048 echo "configure
:17049: checking
for _atan2l declaration
" >&5
17049 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
17050 if eval "test \"`echo '$''{'glibcxx_cv_func__atan2l_use'+set}'`\" = set"; then
17051 echo $ac_n "(cached
) $ac_c" 1>&6
17056 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17057 ac_cpp='$CXXCPP $CPPFLAGS'
17058 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17059 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17060 cross_compiling=$ac_cv_prog_cxx_cross
17062 cat > conftest.$ac_ext <<EOF
17063 #line 17064 "configure
"
17064 #include "confdefs.h
"
17070 if { (eval echo configure:17071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17072 glibcxx_cv_func__atan2l_use=yes
17074 echo "configure
: failed program was
:" >&5
17075 cat conftest.$ac_ext >&5
17077 glibcxx_cv_func__atan2l_use=no
17081 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17082 ac_cpp='$CPP $CPPFLAGS'
17083 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17084 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17085 cross_compiling=$ac_cv_prog_cc_cross
17091 echo "$ac_t""$glibcxx_cv_func__atan2l_use" 1>&6
17093 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
17094 for ac_func in _atan2l
17096 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17097 echo "configure
:17098: checking
for $ac_func" >&5
17098 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17099 echo $ac_n "(cached
) $ac_c" 1>&6
17101 cat > conftest.$ac_ext <<EOF
17102 #line 17103 "configure
"
17103 #include "confdefs.h
"
17104 /* System header to define __stub macros and hopefully few prototypes,
17105 which can conflict with char $ac_func(); below. */
17106 #include <assert.h>
17107 /* Override any gcc2 internal prototype to avoid an error. */
17108 /* We use char because int might match the return type of a gcc2
17109 builtin and then its argument prototype would still apply. */
17114 /* The GNU C library defines this for functions which it implements
17115 to always fail with ENOSYS. Some functions are actually named
17116 something starting with __ and the normal name is an alias. */
17117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17125 if { (eval echo configure:17126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17127 eval "ac_cv_func_
$ac_func=yes"
17129 echo "configure
: failed program was
:" >&5
17130 cat conftest.$ac_ext >&5
17132 eval "ac_cv_func_
$ac_func=no
"
17137 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17138 echo "$ac_t""yes" 1>&6
17139 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17140 cat >> confdefs.h <<EOF
17141 #define $ac_tr_func 1
17145 echo "$ac_t""no
" 1>&6
17154 echo $ac_n "checking
for expl declaration
""...
$ac_c" 1>&6
17155 echo "configure
:17156: checking
for expl declaration
" >&5
17156 if test x${glibcxx_cv_func_expl_use+set} != xset; then
17157 if eval "test \"`echo '$''{'glibcxx_cv_func_expl_use'+set}'`\" = set"; then
17158 echo $ac_n "(cached
) $ac_c" 1>&6
17163 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17164 ac_cpp='$CXXCPP $CPPFLAGS'
17165 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17166 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17167 cross_compiling=$ac_cv_prog_cxx_cross
17169 cat > conftest.$ac_ext <<EOF
17170 #line 17171 "configure
"
17171 #include "confdefs.h
"
17173 #ifdef HAVE_IEEEFP_H
17174 #include <ieeefp.h>
17181 if { (eval echo configure:17182: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17183 glibcxx_cv_func_expl_use=yes
17185 echo "configure
: failed program was
:" >&5
17186 cat conftest.$ac_ext >&5
17188 glibcxx_cv_func_expl_use=no
17192 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17193 ac_cpp='$CPP $CPPFLAGS'
17194 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17195 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17196 cross_compiling=$ac_cv_prog_cc_cross
17202 echo "$ac_t""$glibcxx_cv_func_expl_use" 1>&6
17204 if test x$glibcxx_cv_func_expl_use = x"yes"; then
17205 for ac_func in expl
17207 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17208 echo "configure
:17209: checking
for $ac_func" >&5
17209 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17210 echo $ac_n "(cached
) $ac_c" 1>&6
17212 cat > conftest.$ac_ext <<EOF
17213 #line 17214 "configure
"
17214 #include "confdefs.h
"
17215 /* System header to define __stub macros and hopefully few prototypes,
17216 which can conflict with char $ac_func(); below. */
17217 #include <assert.h>
17218 /* Override any gcc2 internal prototype to avoid an error. */
17219 /* We use char because int might match the return type of a gcc2
17220 builtin and then its argument prototype would still apply. */
17225 /* The GNU C library defines this for functions which it implements
17226 to always fail with ENOSYS. Some functions are actually named
17227 something starting with __ and the normal name is an alias. */
17228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17236 if { (eval echo configure:17237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17238 eval "ac_cv_func_
$ac_func=yes"
17240 echo "configure
: failed program was
:" >&5
17241 cat conftest.$ac_ext >&5
17243 eval "ac_cv_func_
$ac_func=no
"
17248 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17249 echo "$ac_t""yes" 1>&6
17250 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17251 cat >> confdefs.h <<EOF
17252 #define $ac_tr_func 1
17256 echo "$ac_t""no
" 1>&6
17262 echo $ac_n "checking
for _expl declaration
""...
$ac_c" 1>&6
17263 echo "configure
:17264: checking
for _expl declaration
" >&5
17264 if test x${glibcxx_cv_func__expl_use+set} != xset; then
17265 if eval "test \"`echo '$''{'glibcxx_cv_func__expl_use'+set}'`\" = set"; then
17266 echo $ac_n "(cached
) $ac_c" 1>&6
17271 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17272 ac_cpp='$CXXCPP $CPPFLAGS'
17273 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17274 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17275 cross_compiling=$ac_cv_prog_cxx_cross
17277 cat > conftest.$ac_ext <<EOF
17278 #line 17279 "configure
"
17279 #include "confdefs.h
"
17281 #ifdef HAVE_IEEEFP_H
17282 #include <ieeefp.h>
17289 if { (eval echo configure:17290: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17291 glibcxx_cv_func__expl_use=yes
17293 echo "configure
: failed program was
:" >&5
17294 cat conftest.$ac_ext >&5
17296 glibcxx_cv_func__expl_use=no
17300 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17301 ac_cpp='$CPP $CPPFLAGS'
17302 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17303 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17304 cross_compiling=$ac_cv_prog_cc_cross
17310 echo "$ac_t""$glibcxx_cv_func__expl_use" 1>&6
17312 if test x$glibcxx_cv_func__expl_use = x"yes"; then
17313 for ac_func in _expl
17315 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17316 echo "configure
:17317: checking
for $ac_func" >&5
17317 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17318 echo $ac_n "(cached
) $ac_c" 1>&6
17320 cat > conftest.$ac_ext <<EOF
17321 #line 17322 "configure
"
17322 #include "confdefs.h
"
17323 /* System header to define __stub macros and hopefully few prototypes,
17324 which can conflict with char $ac_func(); below. */
17325 #include <assert.h>
17326 /* Override any gcc2 internal prototype to avoid an error. */
17327 /* We use char because int might match the return type of a gcc2
17328 builtin and then its argument prototype would still apply. */
17333 /* The GNU C library defines this for functions which it implements
17334 to always fail with ENOSYS. Some functions are actually named
17335 something starting with __ and the normal name is an alias. */
17336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17344 if { (eval echo configure:17345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17346 eval "ac_cv_func_
$ac_func=yes"
17348 echo "configure
: failed program was
:" >&5
17349 cat conftest.$ac_ext >&5
17351 eval "ac_cv_func_
$ac_func=no
"
17356 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17357 echo "$ac_t""yes" 1>&6
17358 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17359 cat >> confdefs.h <<EOF
17360 #define $ac_tr_func 1
17364 echo "$ac_t""no
" 1>&6
17373 echo $ac_n "checking
for fabsl declaration
""...
$ac_c" 1>&6
17374 echo "configure
:17375: checking
for fabsl declaration
" >&5
17375 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
17376 if eval "test \"`echo '$''{'glibcxx_cv_func_fabsl_use'+set}'`\" = set"; then
17377 echo $ac_n "(cached
) $ac_c" 1>&6
17382 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17383 ac_cpp='$CXXCPP $CPPFLAGS'
17384 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17385 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17386 cross_compiling=$ac_cv_prog_cxx_cross
17388 cat > conftest.$ac_ext <<EOF
17389 #line 17390 "configure
"
17390 #include "confdefs.h
"
17392 #ifdef HAVE_IEEEFP_H
17393 #include <ieeefp.h>
17400 if { (eval echo configure:17401: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17402 glibcxx_cv_func_fabsl_use=yes
17404 echo "configure
: failed program was
:" >&5
17405 cat conftest.$ac_ext >&5
17407 glibcxx_cv_func_fabsl_use=no
17411 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17412 ac_cpp='$CPP $CPPFLAGS'
17413 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17414 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17415 cross_compiling=$ac_cv_prog_cc_cross
17421 echo "$ac_t""$glibcxx_cv_func_fabsl_use" 1>&6
17423 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
17424 for ac_func in fabsl
17426 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17427 echo "configure
:17428: checking
for $ac_func" >&5
17428 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17429 echo $ac_n "(cached
) $ac_c" 1>&6
17431 cat > conftest.$ac_ext <<EOF
17432 #line 17433 "configure
"
17433 #include "confdefs.h
"
17434 /* System header to define __stub macros and hopefully few prototypes,
17435 which can conflict with char $ac_func(); below. */
17436 #include <assert.h>
17437 /* Override any gcc2 internal prototype to avoid an error. */
17438 /* We use char because int might match the return type of a gcc2
17439 builtin and then its argument prototype would still apply. */
17444 /* The GNU C library defines this for functions which it implements
17445 to always fail with ENOSYS. Some functions are actually named
17446 something starting with __ and the normal name is an alias. */
17447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17455 if { (eval echo configure:17456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17457 eval "ac_cv_func_
$ac_func=yes"
17459 echo "configure
: failed program was
:" >&5
17460 cat conftest.$ac_ext >&5
17462 eval "ac_cv_func_
$ac_func=no
"
17467 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17468 echo "$ac_t""yes" 1>&6
17469 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17470 cat >> confdefs.h <<EOF
17471 #define $ac_tr_func 1
17475 echo "$ac_t""no
" 1>&6
17481 echo $ac_n "checking
for _fabsl declaration
""...
$ac_c" 1>&6
17482 echo "configure
:17483: checking
for _fabsl declaration
" >&5
17483 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
17484 if eval "test \"`echo '$''{'glibcxx_cv_func__fabsl_use'+set}'`\" = set"; then
17485 echo $ac_n "(cached
) $ac_c" 1>&6
17490 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17491 ac_cpp='$CXXCPP $CPPFLAGS'
17492 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17493 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17494 cross_compiling=$ac_cv_prog_cxx_cross
17496 cat > conftest.$ac_ext <<EOF
17497 #line 17498 "configure
"
17498 #include "confdefs.h
"
17500 #ifdef HAVE_IEEEFP_H
17501 #include <ieeefp.h>
17508 if { (eval echo configure:17509: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17510 glibcxx_cv_func__fabsl_use=yes
17512 echo "configure
: failed program was
:" >&5
17513 cat conftest.$ac_ext >&5
17515 glibcxx_cv_func__fabsl_use=no
17519 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17520 ac_cpp='$CPP $CPPFLAGS'
17521 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17522 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17523 cross_compiling=$ac_cv_prog_cc_cross
17529 echo "$ac_t""$glibcxx_cv_func__fabsl_use" 1>&6
17531 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
17532 for ac_func in _fabsl
17534 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17535 echo "configure
:17536: checking
for $ac_func" >&5
17536 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17537 echo $ac_n "(cached
) $ac_c" 1>&6
17539 cat > conftest.$ac_ext <<EOF
17540 #line 17541 "configure
"
17541 #include "confdefs.h
"
17542 /* System header to define __stub macros and hopefully few prototypes,
17543 which can conflict with char $ac_func(); below. */
17544 #include <assert.h>
17545 /* Override any gcc2 internal prototype to avoid an error. */
17546 /* We use char because int might match the return type of a gcc2
17547 builtin and then its argument prototype would still apply. */
17552 /* The GNU C library defines this for functions which it implements
17553 to always fail with ENOSYS. Some functions are actually named
17554 something starting with __ and the normal name is an alias. */
17555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17563 if { (eval echo configure:17564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17565 eval "ac_cv_func_
$ac_func=yes"
17567 echo "configure
: failed program was
:" >&5
17568 cat conftest.$ac_ext >&5
17570 eval "ac_cv_func_
$ac_func=no
"
17575 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17576 echo "$ac_t""yes" 1>&6
17577 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17578 cat >> confdefs.h <<EOF
17579 #define $ac_tr_func 1
17583 echo "$ac_t""no
" 1>&6
17592 echo $ac_n "checking
for fmodl declaration
""...
$ac_c" 1>&6
17593 echo "configure
:17594: checking
for fmodl declaration
" >&5
17594 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
17595 if eval "test \"`echo '$''{'glibcxx_cv_func_fmodl_use'+set}'`\" = set"; then
17596 echo $ac_n "(cached
) $ac_c" 1>&6
17601 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17602 ac_cpp='$CXXCPP $CPPFLAGS'
17603 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17604 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17605 cross_compiling=$ac_cv_prog_cxx_cross
17607 cat > conftest.$ac_ext <<EOF
17608 #line 17609 "configure
"
17609 #include "confdefs.h
"
17615 if { (eval echo configure:17616: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17617 glibcxx_cv_func_fmodl_use=yes
17619 echo "configure
: failed program was
:" >&5
17620 cat conftest.$ac_ext >&5
17622 glibcxx_cv_func_fmodl_use=no
17626 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17627 ac_cpp='$CPP $CPPFLAGS'
17628 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17629 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17630 cross_compiling=$ac_cv_prog_cc_cross
17636 echo "$ac_t""$glibcxx_cv_func_fmodl_use" 1>&6
17638 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
17639 for ac_func in fmodl
17641 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17642 echo "configure
:17643: checking
for $ac_func" >&5
17643 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17644 echo $ac_n "(cached
) $ac_c" 1>&6
17646 cat > conftest.$ac_ext <<EOF
17647 #line 17648 "configure
"
17648 #include "confdefs.h
"
17649 /* System header to define __stub macros and hopefully few prototypes,
17650 which can conflict with char $ac_func(); below. */
17651 #include <assert.h>
17652 /* Override any gcc2 internal prototype to avoid an error. */
17653 /* We use char because int might match the return type of a gcc2
17654 builtin and then its argument prototype would still apply. */
17659 /* The GNU C library defines this for functions which it implements
17660 to always fail with ENOSYS. Some functions are actually named
17661 something starting with __ and the normal name is an alias. */
17662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17670 if { (eval echo configure:17671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17672 eval "ac_cv_func_
$ac_func=yes"
17674 echo "configure
: failed program was
:" >&5
17675 cat conftest.$ac_ext >&5
17677 eval "ac_cv_func_
$ac_func=no
"
17682 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17683 echo "$ac_t""yes" 1>&6
17684 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17685 cat >> confdefs.h <<EOF
17686 #define $ac_tr_func 1
17690 echo "$ac_t""no
" 1>&6
17696 echo $ac_n "checking
for _fmodl declaration
""...
$ac_c" 1>&6
17697 echo "configure
:17698: checking
for _fmodl declaration
" >&5
17698 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
17699 if eval "test \"`echo '$''{'glibcxx_cv_func__fmodl_use'+set}'`\" = set"; then
17700 echo $ac_n "(cached
) $ac_c" 1>&6
17705 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17706 ac_cpp='$CXXCPP $CPPFLAGS'
17707 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17708 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17709 cross_compiling=$ac_cv_prog_cxx_cross
17711 cat > conftest.$ac_ext <<EOF
17712 #line 17713 "configure
"
17713 #include "confdefs.h
"
17719 if { (eval echo configure:17720: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17721 glibcxx_cv_func__fmodl_use=yes
17723 echo "configure
: failed program was
:" >&5
17724 cat conftest.$ac_ext >&5
17726 glibcxx_cv_func__fmodl_use=no
17730 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17731 ac_cpp='$CPP $CPPFLAGS'
17732 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17733 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17734 cross_compiling=$ac_cv_prog_cc_cross
17740 echo "$ac_t""$glibcxx_cv_func__fmodl_use" 1>&6
17742 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
17743 for ac_func in _fmodl
17745 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17746 echo "configure
:17747: checking
for $ac_func" >&5
17747 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17748 echo $ac_n "(cached
) $ac_c" 1>&6
17750 cat > conftest.$ac_ext <<EOF
17751 #line 17752 "configure
"
17752 #include "confdefs.h
"
17753 /* System header to define __stub macros and hopefully few prototypes,
17754 which can conflict with char $ac_func(); below. */
17755 #include <assert.h>
17756 /* Override any gcc2 internal prototype to avoid an error. */
17757 /* We use char because int might match the return type of a gcc2
17758 builtin and then its argument prototype would still apply. */
17763 /* The GNU C library defines this for functions which it implements
17764 to always fail with ENOSYS. Some functions are actually named
17765 something starting with __ and the normal name is an alias. */
17766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17774 if { (eval echo configure:17775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17776 eval "ac_cv_func_
$ac_func=yes"
17778 echo "configure
: failed program was
:" >&5
17779 cat conftest.$ac_ext >&5
17781 eval "ac_cv_func_
$ac_func=no
"
17786 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17787 echo "$ac_t""yes" 1>&6
17788 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17789 cat >> confdefs.h <<EOF
17790 #define $ac_tr_func 1
17794 echo "$ac_t""no
" 1>&6
17803 echo $ac_n "checking
for frexpl declaration
""...
$ac_c" 1>&6
17804 echo "configure
:17805: checking
for frexpl declaration
" >&5
17805 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
17806 if eval "test \"`echo '$''{'glibcxx_cv_func_frexpl_use'+set}'`\" = set"; then
17807 echo $ac_n "(cached
) $ac_c" 1>&6
17812 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17813 ac_cpp='$CXXCPP $CPPFLAGS'
17814 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17815 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17816 cross_compiling=$ac_cv_prog_cxx_cross
17818 cat > conftest.$ac_ext <<EOF
17819 #line 17820 "configure
"
17820 #include "confdefs.h
"
17826 if { (eval echo configure:17827: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17828 glibcxx_cv_func_frexpl_use=yes
17830 echo "configure
: failed program was
:" >&5
17831 cat conftest.$ac_ext >&5
17833 glibcxx_cv_func_frexpl_use=no
17837 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17838 ac_cpp='$CPP $CPPFLAGS'
17839 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17840 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17841 cross_compiling=$ac_cv_prog_cc_cross
17847 echo "$ac_t""$glibcxx_cv_func_frexpl_use" 1>&6
17849 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
17850 for ac_func in frexpl
17852 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17853 echo "configure
:17854: checking
for $ac_func" >&5
17854 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17855 echo $ac_n "(cached
) $ac_c" 1>&6
17857 cat > conftest.$ac_ext <<EOF
17858 #line 17859 "configure
"
17859 #include "confdefs.h
"
17860 /* System header to define __stub macros and hopefully few prototypes,
17861 which can conflict with char $ac_func(); below. */
17862 #include <assert.h>
17863 /* Override any gcc2 internal prototype to avoid an error. */
17864 /* We use char because int might match the return type of a gcc2
17865 builtin and then its argument prototype would still apply. */
17870 /* The GNU C library defines this for functions which it implements
17871 to always fail with ENOSYS. Some functions are actually named
17872 something starting with __ and the normal name is an alias. */
17873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17881 if { (eval echo configure:17882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17883 eval "ac_cv_func_
$ac_func=yes"
17885 echo "configure
: failed program was
:" >&5
17886 cat conftest.$ac_ext >&5
17888 eval "ac_cv_func_
$ac_func=no
"
17893 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17894 echo "$ac_t""yes" 1>&6
17895 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17896 cat >> confdefs.h <<EOF
17897 #define $ac_tr_func 1
17901 echo "$ac_t""no
" 1>&6
17907 echo $ac_n "checking
for _frexpl declaration
""...
$ac_c" 1>&6
17908 echo "configure
:17909: checking
for _frexpl declaration
" >&5
17909 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
17910 if eval "test \"`echo '$''{'glibcxx_cv_func__frexpl_use'+set}'`\" = set"; then
17911 echo $ac_n "(cached
) $ac_c" 1>&6
17916 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17917 ac_cpp='$CXXCPP $CPPFLAGS'
17918 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17919 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17920 cross_compiling=$ac_cv_prog_cxx_cross
17922 cat > conftest.$ac_ext <<EOF
17923 #line 17924 "configure
"
17924 #include "confdefs.h
"
17930 if { (eval echo configure:17931: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17932 glibcxx_cv_func__frexpl_use=yes
17934 echo "configure
: failed program was
:" >&5
17935 cat conftest.$ac_ext >&5
17937 glibcxx_cv_func__frexpl_use=no
17941 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17942 ac_cpp='$CPP $CPPFLAGS'
17943 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17944 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17945 cross_compiling=$ac_cv_prog_cc_cross
17951 echo "$ac_t""$glibcxx_cv_func__frexpl_use" 1>&6
17953 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
17954 for ac_func in _frexpl
17956 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17957 echo "configure
:17958: checking
for $ac_func" >&5
17958 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17959 echo $ac_n "(cached
) $ac_c" 1>&6
17961 cat > conftest.$ac_ext <<EOF
17962 #line 17963 "configure
"
17963 #include "confdefs.h
"
17964 /* System header to define __stub macros and hopefully few prototypes,
17965 which can conflict with char $ac_func(); below. */
17966 #include <assert.h>
17967 /* Override any gcc2 internal prototype to avoid an error. */
17968 /* We use char because int might match the return type of a gcc2
17969 builtin and then its argument prototype would still apply. */
17974 /* The GNU C library defines this for functions which it implements
17975 to always fail with ENOSYS. Some functions are actually named
17976 something starting with __ and the normal name is an alias. */
17977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17985 if { (eval echo configure:17986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17987 eval "ac_cv_func_
$ac_func=yes"
17989 echo "configure
: failed program was
:" >&5
17990 cat conftest.$ac_ext >&5
17992 eval "ac_cv_func_
$ac_func=no
"
17997 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17998 echo "$ac_t""yes" 1>&6
17999 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18000 cat >> confdefs.h <<EOF
18001 #define $ac_tr_func 1
18005 echo "$ac_t""no
" 1>&6
18014 echo $ac_n "checking
for hypotl declaration
""...
$ac_c" 1>&6
18015 echo "configure
:18016: checking
for hypotl declaration
" >&5
18016 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
18017 if eval "test \"`echo '$''{'glibcxx_cv_func_hypotl_use'+set}'`\" = set"; then
18018 echo $ac_n "(cached
) $ac_c" 1>&6
18023 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18024 ac_cpp='$CXXCPP $CPPFLAGS'
18025 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18026 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18027 cross_compiling=$ac_cv_prog_cxx_cross
18029 cat > conftest.$ac_ext <<EOF
18030 #line 18031 "configure
"
18031 #include "confdefs.h
"
18037 if { (eval echo configure:18038: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18039 glibcxx_cv_func_hypotl_use=yes
18041 echo "configure
: failed program was
:" >&5
18042 cat conftest.$ac_ext >&5
18044 glibcxx_cv_func_hypotl_use=no
18048 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18049 ac_cpp='$CPP $CPPFLAGS'
18050 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18051 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18052 cross_compiling=$ac_cv_prog_cc_cross
18058 echo "$ac_t""$glibcxx_cv_func_hypotl_use" 1>&6
18060 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
18061 for ac_func in hypotl
18063 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18064 echo "configure
:18065: checking
for $ac_func" >&5
18065 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18066 echo $ac_n "(cached
) $ac_c" 1>&6
18068 cat > conftest.$ac_ext <<EOF
18069 #line 18070 "configure
"
18070 #include "confdefs.h
"
18071 /* System header to define __stub macros and hopefully few prototypes,
18072 which can conflict with char $ac_func(); below. */
18073 #include <assert.h>
18074 /* Override any gcc2 internal prototype to avoid an error. */
18075 /* We use char because int might match the return type of a gcc2
18076 builtin and then its argument prototype would still apply. */
18081 /* The GNU C library defines this for functions which it implements
18082 to always fail with ENOSYS. Some functions are actually named
18083 something starting with __ and the normal name is an alias. */
18084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18092 if { (eval echo configure:18093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18094 eval "ac_cv_func_
$ac_func=yes"
18096 echo "configure
: failed program was
:" >&5
18097 cat conftest.$ac_ext >&5
18099 eval "ac_cv_func_
$ac_func=no
"
18104 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18105 echo "$ac_t""yes" 1>&6
18106 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18107 cat >> confdefs.h <<EOF
18108 #define $ac_tr_func 1
18112 echo "$ac_t""no
" 1>&6
18118 echo $ac_n "checking
for _hypotl declaration
""...
$ac_c" 1>&6
18119 echo "configure
:18120: checking
for _hypotl declaration
" >&5
18120 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
18121 if eval "test \"`echo '$''{'glibcxx_cv_func__hypotl_use'+set}'`\" = set"; then
18122 echo $ac_n "(cached
) $ac_c" 1>&6
18127 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18128 ac_cpp='$CXXCPP $CPPFLAGS'
18129 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18130 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18131 cross_compiling=$ac_cv_prog_cxx_cross
18133 cat > conftest.$ac_ext <<EOF
18134 #line 18135 "configure
"
18135 #include "confdefs.h
"
18141 if { (eval echo configure:18142: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18143 glibcxx_cv_func__hypotl_use=yes
18145 echo "configure
: failed program was
:" >&5
18146 cat conftest.$ac_ext >&5
18148 glibcxx_cv_func__hypotl_use=no
18152 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18153 ac_cpp='$CPP $CPPFLAGS'
18154 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18155 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18156 cross_compiling=$ac_cv_prog_cc_cross
18162 echo "$ac_t""$glibcxx_cv_func__hypotl_use" 1>&6
18164 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
18165 for ac_func in _hypotl
18167 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18168 echo "configure
:18169: checking
for $ac_func" >&5
18169 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18170 echo $ac_n "(cached
) $ac_c" 1>&6
18172 cat > conftest.$ac_ext <<EOF
18173 #line 18174 "configure
"
18174 #include "confdefs.h
"
18175 /* System header to define __stub macros and hopefully few prototypes,
18176 which can conflict with char $ac_func(); below. */
18177 #include <assert.h>
18178 /* Override any gcc2 internal prototype to avoid an error. */
18179 /* We use char because int might match the return type of a gcc2
18180 builtin and then its argument prototype would still apply. */
18185 /* The GNU C library defines this for functions which it implements
18186 to always fail with ENOSYS. Some functions are actually named
18187 something starting with __ and the normal name is an alias. */
18188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18196 if { (eval echo configure:18197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18198 eval "ac_cv_func_
$ac_func=yes"
18200 echo "configure
: failed program was
:" >&5
18201 cat conftest.$ac_ext >&5
18203 eval "ac_cv_func_
$ac_func=no
"
18208 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18209 echo "$ac_t""yes" 1>&6
18210 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18211 cat >> confdefs.h <<EOF
18212 #define $ac_tr_func 1
18216 echo "$ac_t""no
" 1>&6
18225 echo $ac_n "checking
for ldexpl declaration
""...
$ac_c" 1>&6
18226 echo "configure
:18227: checking
for ldexpl declaration
" >&5
18227 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
18228 if eval "test \"`echo '$''{'glibcxx_cv_func_ldexpl_use'+set}'`\" = set"; then
18229 echo $ac_n "(cached
) $ac_c" 1>&6
18234 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18235 ac_cpp='$CXXCPP $CPPFLAGS'
18236 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18237 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18238 cross_compiling=$ac_cv_prog_cxx_cross
18240 cat > conftest.$ac_ext <<EOF
18241 #line 18242 "configure
"
18242 #include "confdefs.h
"
18248 if { (eval echo configure:18249: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18250 glibcxx_cv_func_ldexpl_use=yes
18252 echo "configure
: failed program was
:" >&5
18253 cat conftest.$ac_ext >&5
18255 glibcxx_cv_func_ldexpl_use=no
18259 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18260 ac_cpp='$CPP $CPPFLAGS'
18261 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18262 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18263 cross_compiling=$ac_cv_prog_cc_cross
18269 echo "$ac_t""$glibcxx_cv_func_ldexpl_use" 1>&6
18271 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
18272 for ac_func in ldexpl
18274 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18275 echo "configure
:18276: checking
for $ac_func" >&5
18276 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18277 echo $ac_n "(cached
) $ac_c" 1>&6
18279 cat > conftest.$ac_ext <<EOF
18280 #line 18281 "configure
"
18281 #include "confdefs.h
"
18282 /* System header to define __stub macros and hopefully few prototypes,
18283 which can conflict with char $ac_func(); below. */
18284 #include <assert.h>
18285 /* Override any gcc2 internal prototype to avoid an error. */
18286 /* We use char because int might match the return type of a gcc2
18287 builtin and then its argument prototype would still apply. */
18292 /* The GNU C library defines this for functions which it implements
18293 to always fail with ENOSYS. Some functions are actually named
18294 something starting with __ and the normal name is an alias. */
18295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18303 if { (eval echo configure:18304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18305 eval "ac_cv_func_
$ac_func=yes"
18307 echo "configure
: failed program was
:" >&5
18308 cat conftest.$ac_ext >&5
18310 eval "ac_cv_func_
$ac_func=no
"
18315 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18316 echo "$ac_t""yes" 1>&6
18317 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18318 cat >> confdefs.h <<EOF
18319 #define $ac_tr_func 1
18323 echo "$ac_t""no
" 1>&6
18329 echo $ac_n "checking
for _ldexpl declaration
""...
$ac_c" 1>&6
18330 echo "configure
:18331: checking
for _ldexpl declaration
" >&5
18331 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
18332 if eval "test \"`echo '$''{'glibcxx_cv_func__ldexpl_use'+set}'`\" = set"; then
18333 echo $ac_n "(cached
) $ac_c" 1>&6
18338 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18339 ac_cpp='$CXXCPP $CPPFLAGS'
18340 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18341 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18342 cross_compiling=$ac_cv_prog_cxx_cross
18344 cat > conftest.$ac_ext <<EOF
18345 #line 18346 "configure
"
18346 #include "confdefs.h
"
18352 if { (eval echo configure:18353: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18354 glibcxx_cv_func__ldexpl_use=yes
18356 echo "configure
: failed program was
:" >&5
18357 cat conftest.$ac_ext >&5
18359 glibcxx_cv_func__ldexpl_use=no
18363 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18364 ac_cpp='$CPP $CPPFLAGS'
18365 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18366 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18367 cross_compiling=$ac_cv_prog_cc_cross
18373 echo "$ac_t""$glibcxx_cv_func__ldexpl_use" 1>&6
18375 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
18376 for ac_func in _ldexpl
18378 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18379 echo "configure
:18380: checking
for $ac_func" >&5
18380 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18381 echo $ac_n "(cached
) $ac_c" 1>&6
18383 cat > conftest.$ac_ext <<EOF
18384 #line 18385 "configure
"
18385 #include "confdefs.h
"
18386 /* System header to define __stub macros and hopefully few prototypes,
18387 which can conflict with char $ac_func(); below. */
18388 #include <assert.h>
18389 /* Override any gcc2 internal prototype to avoid an error. */
18390 /* We use char because int might match the return type of a gcc2
18391 builtin and then its argument prototype would still apply. */
18396 /* The GNU C library defines this for functions which it implements
18397 to always fail with ENOSYS. Some functions are actually named
18398 something starting with __ and the normal name is an alias. */
18399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18407 if { (eval echo configure:18408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18409 eval "ac_cv_func_
$ac_func=yes"
18411 echo "configure
: failed program was
:" >&5
18412 cat conftest.$ac_ext >&5
18414 eval "ac_cv_func_
$ac_func=no
"
18419 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18420 echo "$ac_t""yes" 1>&6
18421 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18422 cat >> confdefs.h <<EOF
18423 #define $ac_tr_func 1
18427 echo "$ac_t""no
" 1>&6
18436 echo $ac_n "checking
for logl declaration
""...
$ac_c" 1>&6
18437 echo "configure
:18438: checking
for logl declaration
" >&5
18438 if test x${glibcxx_cv_func_logl_use+set} != xset; then
18439 if eval "test \"`echo '$''{'glibcxx_cv_func_logl_use'+set}'`\" = set"; then
18440 echo $ac_n "(cached
) $ac_c" 1>&6
18445 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18446 ac_cpp='$CXXCPP $CPPFLAGS'
18447 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18448 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18449 cross_compiling=$ac_cv_prog_cxx_cross
18451 cat > conftest.$ac_ext <<EOF
18452 #line 18453 "configure
"
18453 #include "confdefs.h
"
18455 #ifdef HAVE_IEEEFP_H
18456 #include <ieeefp.h>
18463 if { (eval echo configure:18464: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18465 glibcxx_cv_func_logl_use=yes
18467 echo "configure
: failed program was
:" >&5
18468 cat conftest.$ac_ext >&5
18470 glibcxx_cv_func_logl_use=no
18474 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18475 ac_cpp='$CPP $CPPFLAGS'
18476 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18477 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18478 cross_compiling=$ac_cv_prog_cc_cross
18484 echo "$ac_t""$glibcxx_cv_func_logl_use" 1>&6
18486 if test x$glibcxx_cv_func_logl_use = x"yes"; then
18487 for ac_func in logl
18489 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18490 echo "configure
:18491: checking
for $ac_func" >&5
18491 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18492 echo $ac_n "(cached
) $ac_c" 1>&6
18494 cat > conftest.$ac_ext <<EOF
18495 #line 18496 "configure
"
18496 #include "confdefs.h
"
18497 /* System header to define __stub macros and hopefully few prototypes,
18498 which can conflict with char $ac_func(); below. */
18499 #include <assert.h>
18500 /* Override any gcc2 internal prototype to avoid an error. */
18501 /* We use char because int might match the return type of a gcc2
18502 builtin and then its argument prototype would still apply. */
18507 /* The GNU C library defines this for functions which it implements
18508 to always fail with ENOSYS. Some functions are actually named
18509 something starting with __ and the normal name is an alias. */
18510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18518 if { (eval echo configure:18519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18520 eval "ac_cv_func_
$ac_func=yes"
18522 echo "configure
: failed program was
:" >&5
18523 cat conftest.$ac_ext >&5
18525 eval "ac_cv_func_
$ac_func=no
"
18530 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18531 echo "$ac_t""yes" 1>&6
18532 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18533 cat >> confdefs.h <<EOF
18534 #define $ac_tr_func 1
18538 echo "$ac_t""no
" 1>&6
18544 echo $ac_n "checking
for _logl declaration
""...
$ac_c" 1>&6
18545 echo "configure
:18546: checking
for _logl declaration
" >&5
18546 if test x${glibcxx_cv_func__logl_use+set} != xset; then
18547 if eval "test \"`echo '$''{'glibcxx_cv_func__logl_use'+set}'`\" = set"; then
18548 echo $ac_n "(cached
) $ac_c" 1>&6
18553 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18554 ac_cpp='$CXXCPP $CPPFLAGS'
18555 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18556 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18557 cross_compiling=$ac_cv_prog_cxx_cross
18559 cat > conftest.$ac_ext <<EOF
18560 #line 18561 "configure
"
18561 #include "confdefs.h
"
18563 #ifdef HAVE_IEEEFP_H
18564 #include <ieeefp.h>
18571 if { (eval echo configure:18572: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18573 glibcxx_cv_func__logl_use=yes
18575 echo "configure
: failed program was
:" >&5
18576 cat conftest.$ac_ext >&5
18578 glibcxx_cv_func__logl_use=no
18582 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18583 ac_cpp='$CPP $CPPFLAGS'
18584 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18585 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18586 cross_compiling=$ac_cv_prog_cc_cross
18592 echo "$ac_t""$glibcxx_cv_func__logl_use" 1>&6
18594 if test x$glibcxx_cv_func__logl_use = x"yes"; then
18595 for ac_func in _logl
18597 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18598 echo "configure
:18599: checking
for $ac_func" >&5
18599 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18600 echo $ac_n "(cached
) $ac_c" 1>&6
18602 cat > conftest.$ac_ext <<EOF
18603 #line 18604 "configure
"
18604 #include "confdefs.h
"
18605 /* System header to define __stub macros and hopefully few prototypes,
18606 which can conflict with char $ac_func(); below. */
18607 #include <assert.h>
18608 /* Override any gcc2 internal prototype to avoid an error. */
18609 /* We use char because int might match the return type of a gcc2
18610 builtin and then its argument prototype would still apply. */
18615 /* The GNU C library defines this for functions which it implements
18616 to always fail with ENOSYS. Some functions are actually named
18617 something starting with __ and the normal name is an alias. */
18618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18626 if { (eval echo configure:18627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18628 eval "ac_cv_func_
$ac_func=yes"
18630 echo "configure
: failed program was
:" >&5
18631 cat conftest.$ac_ext >&5
18633 eval "ac_cv_func_
$ac_func=no
"
18638 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18639 echo "$ac_t""yes" 1>&6
18640 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18641 cat >> confdefs.h <<EOF
18642 #define $ac_tr_func 1
18646 echo "$ac_t""no
" 1>&6
18655 echo $ac_n "checking
for log10l declaration
""...
$ac_c" 1>&6
18656 echo "configure
:18657: checking
for log10l declaration
" >&5
18657 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
18658 if eval "test \"`echo '$''{'glibcxx_cv_func_log10l_use'+set}'`\" = set"; then
18659 echo $ac_n "(cached
) $ac_c" 1>&6
18664 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18665 ac_cpp='$CXXCPP $CPPFLAGS'
18666 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18667 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18668 cross_compiling=$ac_cv_prog_cxx_cross
18670 cat > conftest.$ac_ext <<EOF
18671 #line 18672 "configure
"
18672 #include "confdefs.h
"
18674 #ifdef HAVE_IEEEFP_H
18675 #include <ieeefp.h>
18682 if { (eval echo configure:18683: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18684 glibcxx_cv_func_log10l_use=yes
18686 echo "configure
: failed program was
:" >&5
18687 cat conftest.$ac_ext >&5
18689 glibcxx_cv_func_log10l_use=no
18693 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18694 ac_cpp='$CPP $CPPFLAGS'
18695 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18696 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18697 cross_compiling=$ac_cv_prog_cc_cross
18703 echo "$ac_t""$glibcxx_cv_func_log10l_use" 1>&6
18705 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
18706 for ac_func in log10l
18708 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18709 echo "configure
:18710: checking
for $ac_func" >&5
18710 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18711 echo $ac_n "(cached
) $ac_c" 1>&6
18713 cat > conftest.$ac_ext <<EOF
18714 #line 18715 "configure
"
18715 #include "confdefs.h
"
18716 /* System header to define __stub macros and hopefully few prototypes,
18717 which can conflict with char $ac_func(); below. */
18718 #include <assert.h>
18719 /* Override any gcc2 internal prototype to avoid an error. */
18720 /* We use char because int might match the return type of a gcc2
18721 builtin and then its argument prototype would still apply. */
18726 /* The GNU C library defines this for functions which it implements
18727 to always fail with ENOSYS. Some functions are actually named
18728 something starting with __ and the normal name is an alias. */
18729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18737 if { (eval echo configure:18738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18739 eval "ac_cv_func_
$ac_func=yes"
18741 echo "configure
: failed program was
:" >&5
18742 cat conftest.$ac_ext >&5
18744 eval "ac_cv_func_
$ac_func=no
"
18749 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18750 echo "$ac_t""yes" 1>&6
18751 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18752 cat >> confdefs.h <<EOF
18753 #define $ac_tr_func 1
18757 echo "$ac_t""no
" 1>&6
18763 echo $ac_n "checking
for _log10l declaration
""...
$ac_c" 1>&6
18764 echo "configure
:18765: checking
for _log10l declaration
" >&5
18765 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
18766 if eval "test \"`echo '$''{'glibcxx_cv_func__log10l_use'+set}'`\" = set"; then
18767 echo $ac_n "(cached
) $ac_c" 1>&6
18772 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18773 ac_cpp='$CXXCPP $CPPFLAGS'
18774 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18775 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18776 cross_compiling=$ac_cv_prog_cxx_cross
18778 cat > conftest.$ac_ext <<EOF
18779 #line 18780 "configure
"
18780 #include "confdefs.h
"
18782 #ifdef HAVE_IEEEFP_H
18783 #include <ieeefp.h>
18790 if { (eval echo configure:18791: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18792 glibcxx_cv_func__log10l_use=yes
18794 echo "configure
: failed program was
:" >&5
18795 cat conftest.$ac_ext >&5
18797 glibcxx_cv_func__log10l_use=no
18801 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18802 ac_cpp='$CPP $CPPFLAGS'
18803 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18804 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18805 cross_compiling=$ac_cv_prog_cc_cross
18811 echo "$ac_t""$glibcxx_cv_func__log10l_use" 1>&6
18813 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
18814 for ac_func in _log10l
18816 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18817 echo "configure
:18818: checking
for $ac_func" >&5
18818 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18819 echo $ac_n "(cached
) $ac_c" 1>&6
18821 cat > conftest.$ac_ext <<EOF
18822 #line 18823 "configure
"
18823 #include "confdefs.h
"
18824 /* System header to define __stub macros and hopefully few prototypes,
18825 which can conflict with char $ac_func(); below. */
18826 #include <assert.h>
18827 /* Override any gcc2 internal prototype to avoid an error. */
18828 /* We use char because int might match the return type of a gcc2
18829 builtin and then its argument prototype would still apply. */
18834 /* The GNU C library defines this for functions which it implements
18835 to always fail with ENOSYS. Some functions are actually named
18836 something starting with __ and the normal name is an alias. */
18837 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18845 if { (eval echo configure:18846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18847 eval "ac_cv_func_
$ac_func=yes"
18849 echo "configure
: failed program was
:" >&5
18850 cat conftest.$ac_ext >&5
18852 eval "ac_cv_func_
$ac_func=no
"
18857 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18858 echo "$ac_t""yes" 1>&6
18859 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18860 cat >> confdefs.h <<EOF
18861 #define $ac_tr_func 1
18865 echo "$ac_t""no
" 1>&6
18874 echo $ac_n "checking
for modfl declaration
""...
$ac_c" 1>&6
18875 echo "configure
:18876: checking
for modfl declaration
" >&5
18876 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
18877 if eval "test \"`echo '$''{'glibcxx_cv_func_modfl_use'+set}'`\" = set"; then
18878 echo $ac_n "(cached
) $ac_c" 1>&6
18883 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18884 ac_cpp='$CXXCPP $CPPFLAGS'
18885 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18886 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18887 cross_compiling=$ac_cv_prog_cxx_cross
18889 cat > conftest.$ac_ext <<EOF
18890 #line 18891 "configure
"
18891 #include "confdefs.h
"
18897 if { (eval echo configure:18898: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18899 glibcxx_cv_func_modfl_use=yes
18901 echo "configure
: failed program was
:" >&5
18902 cat conftest.$ac_ext >&5
18904 glibcxx_cv_func_modfl_use=no
18908 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18909 ac_cpp='$CPP $CPPFLAGS'
18910 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18911 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18912 cross_compiling=$ac_cv_prog_cc_cross
18918 echo "$ac_t""$glibcxx_cv_func_modfl_use" 1>&6
18920 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
18921 for ac_func in modfl
18923 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18924 echo "configure
:18925: checking
for $ac_func" >&5
18925 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18926 echo $ac_n "(cached
) $ac_c" 1>&6
18928 cat > conftest.$ac_ext <<EOF
18929 #line 18930 "configure
"
18930 #include "confdefs.h
"
18931 /* System header to define __stub macros and hopefully few prototypes,
18932 which can conflict with char $ac_func(); below. */
18933 #include <assert.h>
18934 /* Override any gcc2 internal prototype to avoid an error. */
18935 /* We use char because int might match the return type of a gcc2
18936 builtin and then its argument prototype would still apply. */
18941 /* The GNU C library defines this for functions which it implements
18942 to always fail with ENOSYS. Some functions are actually named
18943 something starting with __ and the normal name is an alias. */
18944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18952 if { (eval echo configure:18953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18954 eval "ac_cv_func_
$ac_func=yes"
18956 echo "configure
: failed program was
:" >&5
18957 cat conftest.$ac_ext >&5
18959 eval "ac_cv_func_
$ac_func=no
"
18964 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18965 echo "$ac_t""yes" 1>&6
18966 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18967 cat >> confdefs.h <<EOF
18968 #define $ac_tr_func 1
18972 echo "$ac_t""no
" 1>&6
18978 echo $ac_n "checking
for _modfl declaration
""...
$ac_c" 1>&6
18979 echo "configure
:18980: checking
for _modfl declaration
" >&5
18980 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
18981 if eval "test \"`echo '$''{'glibcxx_cv_func__modfl_use'+set}'`\" = set"; then
18982 echo $ac_n "(cached
) $ac_c" 1>&6
18987 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18988 ac_cpp='$CXXCPP $CPPFLAGS'
18989 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18990 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18991 cross_compiling=$ac_cv_prog_cxx_cross
18993 cat > conftest.$ac_ext <<EOF
18994 #line 18995 "configure
"
18995 #include "confdefs.h
"
19001 if { (eval echo configure:19002: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19003 glibcxx_cv_func__modfl_use=yes
19005 echo "configure
: failed program was
:" >&5
19006 cat conftest.$ac_ext >&5
19008 glibcxx_cv_func__modfl_use=no
19012 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19013 ac_cpp='$CPP $CPPFLAGS'
19014 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19015 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19016 cross_compiling=$ac_cv_prog_cc_cross
19022 echo "$ac_t""$glibcxx_cv_func__modfl_use" 1>&6
19024 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
19025 for ac_func in _modfl
19027 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19028 echo "configure
:19029: checking
for $ac_func" >&5
19029 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19030 echo $ac_n "(cached
) $ac_c" 1>&6
19032 cat > conftest.$ac_ext <<EOF
19033 #line 19034 "configure
"
19034 #include "confdefs.h
"
19035 /* System header to define __stub macros and hopefully few prototypes,
19036 which can conflict with char $ac_func(); below. */
19037 #include <assert.h>
19038 /* Override any gcc2 internal prototype to avoid an error. */
19039 /* We use char because int might match the return type of a gcc2
19040 builtin and then its argument prototype would still apply. */
19045 /* The GNU C library defines this for functions which it implements
19046 to always fail with ENOSYS. Some functions are actually named
19047 something starting with __ and the normal name is an alias. */
19048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19056 if { (eval echo configure:19057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19058 eval "ac_cv_func_
$ac_func=yes"
19060 echo "configure
: failed program was
:" >&5
19061 cat conftest.$ac_ext >&5
19063 eval "ac_cv_func_
$ac_func=no
"
19068 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19069 echo "$ac_t""yes" 1>&6
19070 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19071 cat >> confdefs.h <<EOF
19072 #define $ac_tr_func 1
19076 echo "$ac_t""no
" 1>&6
19085 echo $ac_n "checking
for powl declaration
""...
$ac_c" 1>&6
19086 echo "configure
:19087: checking
for powl declaration
" >&5
19087 if test x${glibcxx_cv_func_powl_use+set} != xset; then
19088 if eval "test \"`echo '$''{'glibcxx_cv_func_powl_use'+set}'`\" = set"; then
19089 echo $ac_n "(cached
) $ac_c" 1>&6
19094 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19095 ac_cpp='$CXXCPP $CPPFLAGS'
19096 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19097 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19098 cross_compiling=$ac_cv_prog_cxx_cross
19100 cat > conftest.$ac_ext <<EOF
19101 #line 19102 "configure
"
19102 #include "confdefs.h
"
19108 if { (eval echo configure:19109: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19110 glibcxx_cv_func_powl_use=yes
19112 echo "configure
: failed program was
:" >&5
19113 cat conftest.$ac_ext >&5
19115 glibcxx_cv_func_powl_use=no
19119 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19120 ac_cpp='$CPP $CPPFLAGS'
19121 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19122 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19123 cross_compiling=$ac_cv_prog_cc_cross
19129 echo "$ac_t""$glibcxx_cv_func_powl_use" 1>&6
19131 if test x$glibcxx_cv_func_powl_use = x"yes"; then
19132 for ac_func in powl
19134 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19135 echo "configure
:19136: checking
for $ac_func" >&5
19136 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19137 echo $ac_n "(cached
) $ac_c" 1>&6
19139 cat > conftest.$ac_ext <<EOF
19140 #line 19141 "configure
"
19141 #include "confdefs.h
"
19142 /* System header to define __stub macros and hopefully few prototypes,
19143 which can conflict with char $ac_func(); below. */
19144 #include <assert.h>
19145 /* Override any gcc2 internal prototype to avoid an error. */
19146 /* We use char because int might match the return type of a gcc2
19147 builtin and then its argument prototype would still apply. */
19152 /* The GNU C library defines this for functions which it implements
19153 to always fail with ENOSYS. Some functions are actually named
19154 something starting with __ and the normal name is an alias. */
19155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19163 if { (eval echo configure:19164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19165 eval "ac_cv_func_
$ac_func=yes"
19167 echo "configure
: failed program was
:" >&5
19168 cat conftest.$ac_ext >&5
19170 eval "ac_cv_func_
$ac_func=no
"
19175 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19176 echo "$ac_t""yes" 1>&6
19177 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19178 cat >> confdefs.h <<EOF
19179 #define $ac_tr_func 1
19183 echo "$ac_t""no
" 1>&6
19189 echo $ac_n "checking
for _powl declaration
""...
$ac_c" 1>&6
19190 echo "configure
:19191: checking
for _powl declaration
" >&5
19191 if test x${glibcxx_cv_func__powl_use+set} != xset; then
19192 if eval "test \"`echo '$''{'glibcxx_cv_func__powl_use'+set}'`\" = set"; then
19193 echo $ac_n "(cached
) $ac_c" 1>&6
19198 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19199 ac_cpp='$CXXCPP $CPPFLAGS'
19200 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19201 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19202 cross_compiling=$ac_cv_prog_cxx_cross
19204 cat > conftest.$ac_ext <<EOF
19205 #line 19206 "configure
"
19206 #include "confdefs.h
"
19212 if { (eval echo configure:19213: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19214 glibcxx_cv_func__powl_use=yes
19216 echo "configure
: failed program was
:" >&5
19217 cat conftest.$ac_ext >&5
19219 glibcxx_cv_func__powl_use=no
19223 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19224 ac_cpp='$CPP $CPPFLAGS'
19225 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19226 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19227 cross_compiling=$ac_cv_prog_cc_cross
19233 echo "$ac_t""$glibcxx_cv_func__powl_use" 1>&6
19235 if test x$glibcxx_cv_func__powl_use = x"yes"; then
19236 for ac_func in _powl
19238 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19239 echo "configure
:19240: checking
for $ac_func" >&5
19240 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19241 echo $ac_n "(cached
) $ac_c" 1>&6
19243 cat > conftest.$ac_ext <<EOF
19244 #line 19245 "configure
"
19245 #include "confdefs.h
"
19246 /* System header to define __stub macros and hopefully few prototypes,
19247 which can conflict with char $ac_func(); below. */
19248 #include <assert.h>
19249 /* Override any gcc2 internal prototype to avoid an error. */
19250 /* We use char because int might match the return type of a gcc2
19251 builtin and then its argument prototype would still apply. */
19256 /* The GNU C library defines this for functions which it implements
19257 to always fail with ENOSYS. Some functions are actually named
19258 something starting with __ and the normal name is an alias. */
19259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19267 if { (eval echo configure:19268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19269 eval "ac_cv_func_
$ac_func=yes"
19271 echo "configure
: failed program was
:" >&5
19272 cat conftest.$ac_ext >&5
19274 eval "ac_cv_func_
$ac_func=no
"
19279 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19280 echo "$ac_t""yes" 1>&6
19281 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19282 cat >> confdefs.h <<EOF
19283 #define $ac_tr_func 1
19287 echo "$ac_t""no
" 1>&6
19296 echo $ac_n "checking
for sqrtl declaration
""...
$ac_c" 1>&6
19297 echo "configure
:19298: checking
for sqrtl declaration
" >&5
19298 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
19299 if eval "test \"`echo '$''{'glibcxx_cv_func_sqrtl_use'+set}'`\" = set"; then
19300 echo $ac_n "(cached
) $ac_c" 1>&6
19305 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19306 ac_cpp='$CXXCPP $CPPFLAGS'
19307 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19308 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19309 cross_compiling=$ac_cv_prog_cxx_cross
19311 cat > conftest.$ac_ext <<EOF
19312 #line 19313 "configure
"
19313 #include "confdefs.h
"
19315 #ifdef HAVE_IEEEFP_H
19316 #include <ieeefp.h>
19323 if { (eval echo configure:19324: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19325 glibcxx_cv_func_sqrtl_use=yes
19327 echo "configure
: failed program was
:" >&5
19328 cat conftest.$ac_ext >&5
19330 glibcxx_cv_func_sqrtl_use=no
19334 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19335 ac_cpp='$CPP $CPPFLAGS'
19336 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19337 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19338 cross_compiling=$ac_cv_prog_cc_cross
19344 echo "$ac_t""$glibcxx_cv_func_sqrtl_use" 1>&6
19346 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
19347 for ac_func in sqrtl
19349 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19350 echo "configure
:19351: checking
for $ac_func" >&5
19351 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19352 echo $ac_n "(cached
) $ac_c" 1>&6
19354 cat > conftest.$ac_ext <<EOF
19355 #line 19356 "configure
"
19356 #include "confdefs.h
"
19357 /* System header to define __stub macros and hopefully few prototypes,
19358 which can conflict with char $ac_func(); below. */
19359 #include <assert.h>
19360 /* Override any gcc2 internal prototype to avoid an error. */
19361 /* We use char because int might match the return type of a gcc2
19362 builtin and then its argument prototype would still apply. */
19367 /* The GNU C library defines this for functions which it implements
19368 to always fail with ENOSYS. Some functions are actually named
19369 something starting with __ and the normal name is an alias. */
19370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19378 if { (eval echo configure:19379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19380 eval "ac_cv_func_
$ac_func=yes"
19382 echo "configure
: failed program was
:" >&5
19383 cat conftest.$ac_ext >&5
19385 eval "ac_cv_func_
$ac_func=no
"
19390 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19391 echo "$ac_t""yes" 1>&6
19392 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19393 cat >> confdefs.h <<EOF
19394 #define $ac_tr_func 1
19398 echo "$ac_t""no
" 1>&6
19404 echo $ac_n "checking
for _sqrtl declaration
""...
$ac_c" 1>&6
19405 echo "configure
:19406: checking
for _sqrtl declaration
" >&5
19406 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
19407 if eval "test \"`echo '$''{'glibcxx_cv_func__sqrtl_use'+set}'`\" = set"; then
19408 echo $ac_n "(cached
) $ac_c" 1>&6
19413 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19414 ac_cpp='$CXXCPP $CPPFLAGS'
19415 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19416 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19417 cross_compiling=$ac_cv_prog_cxx_cross
19419 cat > conftest.$ac_ext <<EOF
19420 #line 19421 "configure
"
19421 #include "confdefs.h
"
19423 #ifdef HAVE_IEEEFP_H
19424 #include <ieeefp.h>
19431 if { (eval echo configure:19432: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19433 glibcxx_cv_func__sqrtl_use=yes
19435 echo "configure
: failed program was
:" >&5
19436 cat conftest.$ac_ext >&5
19438 glibcxx_cv_func__sqrtl_use=no
19442 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19443 ac_cpp='$CPP $CPPFLAGS'
19444 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19445 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19446 cross_compiling=$ac_cv_prog_cc_cross
19452 echo "$ac_t""$glibcxx_cv_func__sqrtl_use" 1>&6
19454 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
19455 for ac_func in _sqrtl
19457 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19458 echo "configure
:19459: checking
for $ac_func" >&5
19459 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19460 echo $ac_n "(cached
) $ac_c" 1>&6
19462 cat > conftest.$ac_ext <<EOF
19463 #line 19464 "configure
"
19464 #include "confdefs.h
"
19465 /* System header to define __stub macros and hopefully few prototypes,
19466 which can conflict with char $ac_func(); below. */
19467 #include <assert.h>
19468 /* Override any gcc2 internal prototype to avoid an error. */
19469 /* We use char because int might match the return type of a gcc2
19470 builtin and then its argument prototype would still apply. */
19475 /* The GNU C library defines this for functions which it implements
19476 to always fail with ENOSYS. Some functions are actually named
19477 something starting with __ and the normal name is an alias. */
19478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19486 if { (eval echo configure:19487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19488 eval "ac_cv_func_
$ac_func=yes"
19490 echo "configure
: failed program was
:" >&5
19491 cat conftest.$ac_ext >&5
19493 eval "ac_cv_func_
$ac_func=no
"
19498 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19499 echo "$ac_t""yes" 1>&6
19500 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19501 cat >> confdefs.h <<EOF
19502 #define $ac_tr_func 1
19506 echo "$ac_t""no
" 1>&6
19515 echo $ac_n "checking
for sincosl declaration
""...
$ac_c" 1>&6
19516 echo "configure
:19517: checking
for sincosl declaration
" >&5
19517 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
19518 if eval "test \"`echo '$''{'glibcxx_cv_func_sincosl_use'+set}'`\" = set"; then
19519 echo $ac_n "(cached
) $ac_c" 1>&6
19524 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19525 ac_cpp='$CXXCPP $CPPFLAGS'
19526 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19527 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19528 cross_compiling=$ac_cv_prog_cxx_cross
19530 cat > conftest.$ac_ext <<EOF
19531 #line 19532 "configure
"
19532 #include "confdefs.h
"
19538 if { (eval echo configure:19539: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19540 glibcxx_cv_func_sincosl_use=yes
19542 echo "configure
: failed program was
:" >&5
19543 cat conftest.$ac_ext >&5
19545 glibcxx_cv_func_sincosl_use=no
19549 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19550 ac_cpp='$CPP $CPPFLAGS'
19551 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19552 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19553 cross_compiling=$ac_cv_prog_cc_cross
19559 echo "$ac_t""$glibcxx_cv_func_sincosl_use" 1>&6
19561 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
19562 for ac_func in sincosl
19564 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19565 echo "configure
:19566: checking
for $ac_func" >&5
19566 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19567 echo $ac_n "(cached
) $ac_c" 1>&6
19569 cat > conftest.$ac_ext <<EOF
19570 #line 19571 "configure
"
19571 #include "confdefs.h
"
19572 /* System header to define __stub macros and hopefully few prototypes,
19573 which can conflict with char $ac_func(); below. */
19574 #include <assert.h>
19575 /* Override any gcc2 internal prototype to avoid an error. */
19576 /* We use char because int might match the return type of a gcc2
19577 builtin and then its argument prototype would still apply. */
19582 /* The GNU C library defines this for functions which it implements
19583 to always fail with ENOSYS. Some functions are actually named
19584 something starting with __ and the normal name is an alias. */
19585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19593 if { (eval echo configure:19594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19595 eval "ac_cv_func_
$ac_func=yes"
19597 echo "configure
: failed program was
:" >&5
19598 cat conftest.$ac_ext >&5
19600 eval "ac_cv_func_
$ac_func=no
"
19605 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19606 echo "$ac_t""yes" 1>&6
19607 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19608 cat >> confdefs.h <<EOF
19609 #define $ac_tr_func 1
19613 echo "$ac_t""no
" 1>&6
19619 echo $ac_n "checking
for _sincosl declaration
""...
$ac_c" 1>&6
19620 echo "configure
:19621: checking
for _sincosl declaration
" >&5
19621 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
19622 if eval "test \"`echo '$''{'glibcxx_cv_func__sincosl_use'+set}'`\" = set"; then
19623 echo $ac_n "(cached
) $ac_c" 1>&6
19628 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19629 ac_cpp='$CXXCPP $CPPFLAGS'
19630 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19631 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19632 cross_compiling=$ac_cv_prog_cxx_cross
19634 cat > conftest.$ac_ext <<EOF
19635 #line 19636 "configure
"
19636 #include "confdefs.h
"
19642 if { (eval echo configure:19643: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19644 glibcxx_cv_func__sincosl_use=yes
19646 echo "configure
: failed program was
:" >&5
19647 cat conftest.$ac_ext >&5
19649 glibcxx_cv_func__sincosl_use=no
19653 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19654 ac_cpp='$CPP $CPPFLAGS'
19655 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19656 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19657 cross_compiling=$ac_cv_prog_cc_cross
19663 echo "$ac_t""$glibcxx_cv_func__sincosl_use" 1>&6
19665 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
19666 for ac_func in _sincosl
19668 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19669 echo "configure
:19670: checking
for $ac_func" >&5
19670 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19671 echo $ac_n "(cached
) $ac_c" 1>&6
19673 cat > conftest.$ac_ext <<EOF
19674 #line 19675 "configure
"
19675 #include "confdefs.h
"
19676 /* System header to define __stub macros and hopefully few prototypes,
19677 which can conflict with char $ac_func(); below. */
19678 #include <assert.h>
19679 /* Override any gcc2 internal prototype to avoid an error. */
19680 /* We use char because int might match the return type of a gcc2
19681 builtin and then its argument prototype would still apply. */
19686 /* The GNU C library defines this for functions which it implements
19687 to always fail with ENOSYS. Some functions are actually named
19688 something starting with __ and the normal name is an alias. */
19689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19697 if { (eval echo configure:19698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19699 eval "ac_cv_func_
$ac_func=yes"
19701 echo "configure
: failed program was
:" >&5
19702 cat conftest.$ac_ext >&5
19704 eval "ac_cv_func_
$ac_func=no
"
19709 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19710 echo "$ac_t""yes" 1>&6
19711 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19712 cat >> confdefs.h <<EOF
19713 #define $ac_tr_func 1
19717 echo "$ac_t""no
" 1>&6
19726 echo $ac_n "checking
for finitel declaration
""...
$ac_c" 1>&6
19727 echo "configure
:19728: checking
for finitel declaration
" >&5
19728 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
19729 if eval "test \"`echo '$''{'glibcxx_cv_func_finitel_use'+set}'`\" = set"; then
19730 echo $ac_n "(cached
) $ac_c" 1>&6
19735 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19736 ac_cpp='$CXXCPP $CPPFLAGS'
19737 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19738 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19739 cross_compiling=$ac_cv_prog_cxx_cross
19741 cat > conftest.$ac_ext <<EOF
19742 #line 19743 "configure
"
19743 #include "confdefs.h
"
19745 #ifdef HAVE_IEEEFP_H
19746 #include <ieeefp.h>
19753 if { (eval echo configure:19754: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19755 glibcxx_cv_func_finitel_use=yes
19757 echo "configure
: failed program was
:" >&5
19758 cat conftest.$ac_ext >&5
19760 glibcxx_cv_func_finitel_use=no
19764 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19765 ac_cpp='$CPP $CPPFLAGS'
19766 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19767 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19768 cross_compiling=$ac_cv_prog_cc_cross
19774 echo "$ac_t""$glibcxx_cv_func_finitel_use" 1>&6
19776 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
19777 for ac_func in finitel
19779 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19780 echo "configure
:19781: checking
for $ac_func" >&5
19781 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19782 echo $ac_n "(cached
) $ac_c" 1>&6
19784 cat > conftest.$ac_ext <<EOF
19785 #line 19786 "configure
"
19786 #include "confdefs.h
"
19787 /* System header to define __stub macros and hopefully few prototypes,
19788 which can conflict with char $ac_func(); below. */
19789 #include <assert.h>
19790 /* Override any gcc2 internal prototype to avoid an error. */
19791 /* We use char because int might match the return type of a gcc2
19792 builtin and then its argument prototype would still apply. */
19797 /* The GNU C library defines this for functions which it implements
19798 to always fail with ENOSYS. Some functions are actually named
19799 something starting with __ and the normal name is an alias. */
19800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19808 if { (eval echo configure:19809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19810 eval "ac_cv_func_
$ac_func=yes"
19812 echo "configure
: failed program was
:" >&5
19813 cat conftest.$ac_ext >&5
19815 eval "ac_cv_func_
$ac_func=no
"
19820 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19821 echo "$ac_t""yes" 1>&6
19822 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19823 cat >> confdefs.h <<EOF
19824 #define $ac_tr_func 1
19828 echo "$ac_t""no
" 1>&6
19834 echo $ac_n "checking
for _finitel declaration
""...
$ac_c" 1>&6
19835 echo "configure
:19836: checking
for _finitel declaration
" >&5
19836 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
19837 if eval "test \"`echo '$''{'glibcxx_cv_func__finitel_use'+set}'`\" = set"; then
19838 echo $ac_n "(cached
) $ac_c" 1>&6
19843 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19844 ac_cpp='$CXXCPP $CPPFLAGS'
19845 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19846 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19847 cross_compiling=$ac_cv_prog_cxx_cross
19849 cat > conftest.$ac_ext <<EOF
19850 #line 19851 "configure
"
19851 #include "confdefs.h
"
19853 #ifdef HAVE_IEEEFP_H
19854 #include <ieeefp.h>
19861 if { (eval echo configure:19862: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19863 glibcxx_cv_func__finitel_use=yes
19865 echo "configure
: failed program was
:" >&5
19866 cat conftest.$ac_ext >&5
19868 glibcxx_cv_func__finitel_use=no
19872 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19873 ac_cpp='$CPP $CPPFLAGS'
19874 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19875 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19876 cross_compiling=$ac_cv_prog_cc_cross
19882 echo "$ac_t""$glibcxx_cv_func__finitel_use" 1>&6
19884 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
19885 for ac_func in _finitel
19887 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19888 echo "configure
:19889: checking
for $ac_func" >&5
19889 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19890 echo $ac_n "(cached
) $ac_c" 1>&6
19892 cat > conftest.$ac_ext <<EOF
19893 #line 19894 "configure
"
19894 #include "confdefs.h
"
19895 /* System header to define __stub macros and hopefully few prototypes,
19896 which can conflict with char $ac_func(); below. */
19897 #include <assert.h>
19898 /* Override any gcc2 internal prototype to avoid an error. */
19899 /* We use char because int might match the return type of a gcc2
19900 builtin and then its argument prototype would still apply. */
19905 /* The GNU C library defines this for functions which it implements
19906 to always fail with ENOSYS. Some functions are actually named
19907 something starting with __ and the normal name is an alias. */
19908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19916 if { (eval echo configure:19917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19918 eval "ac_cv_func_
$ac_func=yes"
19920 echo "configure
: failed program was
:" >&5
19921 cat conftest.$ac_ext >&5
19923 eval "ac_cv_func_
$ac_func=no
"
19928 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19929 echo "$ac_t""yes" 1>&6
19930 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19931 cat >> confdefs.h <<EOF
19932 #define $ac_tr_func 1
19936 echo "$ac_t""no
" 1>&6
19946 echo $ac_n "checking
for _float trig functions
""...
$ac_c" 1>&6
19947 echo "configure
:19948: checking
for _float trig functions
" >&5
19948 if eval "test \"`echo '$''{'glibcxx_cv_func__float_trig_use'+set}'`\" = set"; then
19949 echo $ac_n "(cached
) $ac_c" 1>&6
19954 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19955 ac_cpp='$CXXCPP $CPPFLAGS'
19956 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19957 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19958 cross_compiling=$ac_cv_prog_cxx_cross
19960 cat > conftest.$ac_ext <<EOF
19961 #line 19962 "configure
"
19962 #include "confdefs.h
"
19965 `for x in _acosf _asinf _atanf \
19966 _cosf _sinf _tanf \
19967 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
19970 if { (eval echo configure:19971: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19972 glibcxx_cv_func__float_trig_use=yes
19974 echo "configure
: failed program was
:" >&5
19975 cat conftest.$ac_ext >&5
19977 glibcxx_cv_func__float_trig_use=no
19981 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19982 ac_cpp='$CPP $CPPFLAGS'
19983 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19984 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19985 cross_compiling=$ac_cv_prog_cc_cross
19989 echo "$ac_t""$glibcxx_cv_func__float_trig_use" 1>&6
19990 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
19991 for ac_func in _acosf _asinf _atanf \
19992 _cosf _sinf _tanf \
19993 _coshf _sinhf _tanhf
19995 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19996 echo "configure
:19997: checking
for $ac_func" >&5
19997 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19998 echo $ac_n "(cached
) $ac_c" 1>&6
20000 cat > conftest.$ac_ext <<EOF
20001 #line 20002 "configure
"
20002 #include "confdefs.h
"
20003 /* System header to define __stub macros and hopefully few prototypes,
20004 which can conflict with char $ac_func(); below. */
20005 #include <assert.h>
20006 /* Override any gcc2 internal prototype to avoid an error. */
20007 /* We use char because int might match the return type of a gcc2
20008 builtin and then its argument prototype would still apply. */
20013 /* The GNU C library defines this for functions which it implements
20014 to always fail with ENOSYS. Some functions are actually named
20015 something starting with __ and the normal name is an alias. */
20016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20024 if { (eval echo configure:20025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20026 eval "ac_cv_func_
$ac_func=yes"
20028 echo "configure
: failed program was
:" >&5
20029 cat conftest.$ac_ext >&5
20031 eval "ac_cv_func_
$ac_func=no
"
20036 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20037 echo "$ac_t""yes" 1>&6
20038 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20039 cat >> confdefs.h <<EOF
20040 #define $ac_tr_func 1
20044 echo "$ac_t""no
" 1>&6
20051 echo $ac_n "checking
for _float round functions
""...
$ac_c" 1>&6
20052 echo "configure
:20053: checking
for _float round functions
" >&5
20053 if eval "test \"`echo '$''{'glibcxx_cv_func__float_round_use'+set}'`\" = set"; then
20054 echo $ac_n "(cached
) $ac_c" 1>&6
20059 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20060 ac_cpp='$CXXCPP $CPPFLAGS'
20061 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20062 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20063 cross_compiling=$ac_cv_prog_cxx_cross
20065 cat > conftest.$ac_ext <<EOF
20066 #line 20067 "configure
"
20067 #include "confdefs.h
"
20070 `for x in _ceilf _floorf; do echo "$x (0);"; done`
20073 if { (eval echo configure:20074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20075 glibcxx_cv_func__float_round_use=yes
20077 echo "configure
: failed program was
:" >&5
20078 cat conftest.$ac_ext >&5
20080 glibcxx_cv_func__float_round_use=no
20084 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20085 ac_cpp='$CPP $CPPFLAGS'
20086 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20087 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20088 cross_compiling=$ac_cv_prog_cc_cross
20092 echo "$ac_t""$glibcxx_cv_func__float_round_use" 1>&6
20093 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
20094 for ac_func in _ceilf _floorf
20096 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20097 echo "configure
:20098: checking
for $ac_func" >&5
20098 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20099 echo $ac_n "(cached
) $ac_c" 1>&6
20101 cat > conftest.$ac_ext <<EOF
20102 #line 20103 "configure
"
20103 #include "confdefs.h
"
20104 /* System header to define __stub macros and hopefully few prototypes,
20105 which can conflict with char $ac_func(); below. */
20106 #include <assert.h>
20107 /* Override any gcc2 internal prototype to avoid an error. */
20108 /* We use char because int might match the return type of a gcc2
20109 builtin and then its argument prototype would still apply. */
20114 /* The GNU C library defines this for functions which it implements
20115 to always fail with ENOSYS. Some functions are actually named
20116 something starting with __ and the normal name is an alias. */
20117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20125 if { (eval echo configure:20126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20127 eval "ac_cv_func_
$ac_func=yes"
20129 echo "configure
: failed program was
:" >&5
20130 cat conftest.$ac_ext >&5
20132 eval "ac_cv_func_
$ac_func=no
"
20137 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20138 echo "$ac_t""yes" 1>&6
20139 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20140 cat >> confdefs.h <<EOF
20141 #define $ac_tr_func 1
20145 echo "$ac_t""no
" 1>&6
20153 echo $ac_n "checking
for _long double trig functions
""...
$ac_c" 1>&6
20154 echo "configure
:20155: checking
for _long double trig functions
" >&5
20155 if eval "test \"`echo '$''{'glibcxx_cv_func__long_double_trig_use'+set}'`\" = set"; then
20156 echo $ac_n "(cached
) $ac_c" 1>&6
20161 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20162 ac_cpp='$CXXCPP $CPPFLAGS'
20163 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20164 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20165 cross_compiling=$ac_cv_prog_cxx_cross
20167 cat > conftest.$ac_ext <<EOF
20168 #line 20169 "configure
"
20169 #include "confdefs.h
"
20172 `for x in _acosl _asinl _atanl \
20173 _cosl _sinl _tanl \
20174 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
20177 if { (eval echo configure:20178: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20179 glibcxx_cv_func__long_double_trig_use=yes
20181 echo "configure
: failed program was
:" >&5
20182 cat conftest.$ac_ext >&5
20184 glibcxx_cv_func__long_double_trig_use=no
20188 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20189 ac_cpp='$CPP $CPPFLAGS'
20190 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20191 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20192 cross_compiling=$ac_cv_prog_cc_cross
20196 echo "$ac_t""$glibcxx_cv_func__long_double_trig_use" 1>&6
20197 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
20198 for ac_func in _acosl _asinl _atanl \
20199 _cosl _sinl _tanl \
20200 _coshl _sinhl _tanhl
20202 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20203 echo "configure
:20204: checking
for $ac_func" >&5
20204 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20205 echo $ac_n "(cached
) $ac_c" 1>&6
20207 cat > conftest.$ac_ext <<EOF
20208 #line 20209 "configure
"
20209 #include "confdefs.h
"
20210 /* System header to define __stub macros and hopefully few prototypes,
20211 which can conflict with char $ac_func(); below. */
20212 #include <assert.h>
20213 /* Override any gcc2 internal prototype to avoid an error. */
20214 /* We use char because int might match the return type of a gcc2
20215 builtin and then its argument prototype would still apply. */
20220 /* The GNU C library defines this for functions which it implements
20221 to always fail with ENOSYS. Some functions are actually named
20222 something starting with __ and the normal name is an alias. */
20223 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20231 if { (eval echo configure:20232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20233 eval "ac_cv_func_
$ac_func=yes"
20235 echo "configure
: failed program was
:" >&5
20236 cat conftest.$ac_ext >&5
20238 eval "ac_cv_func_
$ac_func=no
"
20243 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20244 echo "$ac_t""yes" 1>&6
20245 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20246 cat >> confdefs.h <<EOF
20247 #define $ac_tr_func 1
20251 echo "$ac_t""no
" 1>&6
20258 echo $ac_n "checking
for _long double round functions
""...
$ac_c" 1>&6
20259 echo "configure
:20260: checking
for _long double round functions
" >&5
20260 if eval "test \"`echo '$''{'glibcxx_cv_func__long_double_round_use'+set}'`\" = set"; then
20261 echo $ac_n "(cached
) $ac_c" 1>&6
20266 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20267 ac_cpp='$CXXCPP $CPPFLAGS'
20268 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20269 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20270 cross_compiling=$ac_cv_prog_cxx_cross
20272 cat > conftest.$ac_ext <<EOF
20273 #line 20274 "configure
"
20274 #include "confdefs.h
"
20277 `for x in _ceill _floorl; do echo "$x (0);"; done`
20280 if { (eval echo configure:20281: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20282 glibcxx_cv_func__long_double_round_use=yes
20284 echo "configure
: failed program was
:" >&5
20285 cat conftest.$ac_ext >&5
20287 glibcxx_cv_func__long_double_round_use=no
20291 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20292 ac_cpp='$CPP $CPPFLAGS'
20293 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20294 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20295 cross_compiling=$ac_cv_prog_cc_cross
20299 echo "$ac_t""$glibcxx_cv_func__long_double_round_use" 1>&6
20300 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
20301 for ac_func in _ceill _floorl
20303 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20304 echo "configure
:20305: checking
for $ac_func" >&5
20305 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20306 echo $ac_n "(cached
) $ac_c" 1>&6
20308 cat > conftest.$ac_ext <<EOF
20309 #line 20310 "configure
"
20310 #include "confdefs.h
"
20311 /* System header to define __stub macros and hopefully few prototypes,
20312 which can conflict with char $ac_func(); below. */
20313 #include <assert.h>
20314 /* Override any gcc2 internal prototype to avoid an error. */
20315 /* We use char because int might match the return type of a gcc2
20316 builtin and then its argument prototype would still apply. */
20321 /* The GNU C library defines this for functions which it implements
20322 to always fail with ENOSYS. Some functions are actually named
20323 something starting with __ and the normal name is an alias. */
20324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20332 if { (eval echo configure:20333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20334 eval "ac_cv_func_
$ac_func=yes"
20336 echo "configure
: failed program was
:" >&5
20337 cat conftest.$ac_ext >&5
20339 eval "ac_cv_func_
$ac_func=no
"
20344 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20345 echo "$ac_t""yes" 1>&6
20346 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20347 cat >> confdefs.h <<EOF
20348 #define $ac_tr_func 1
20352 echo "$ac_t""no
" 1>&6
20359 LIBS="$ac_save_LIBS"
20360 CXXFLAGS="$ac_save_CXXFLAGS"
20364 echo $ac_n "checking
for __builtin_abs declaration
""...
$ac_c" 1>&6
20365 echo "configure
:20366: checking
for __builtin_abs declaration
" >&5
20366 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
20367 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_abs_use'+set}'`\" = set"; then
20368 echo $ac_n "(cached
) $ac_c" 1>&6
20373 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20374 ac_cpp='$CXXCPP $CPPFLAGS'
20375 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20376 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20377 cross_compiling=$ac_cv_prog_cxx_cross
20379 cat > conftest.$ac_ext <<EOF
20380 #line 20381 "configure
"
20381 #include "confdefs.h
"
20387 if { (eval echo configure:20388: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20389 glibcxx_cv_func___builtin_abs_use=yes
20391 echo "configure
: failed program was
:" >&5
20392 cat conftest.$ac_ext >&5
20394 glibcxx_cv_func___builtin_abs_use=no
20398 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20399 ac_cpp='$CPP $CPPFLAGS'
20400 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20401 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20402 cross_compiling=$ac_cv_prog_cc_cross
20408 echo "$ac_t""$glibcxx_cv_func___builtin_abs_use" 1>&6
20409 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
20410 echo $ac_n "checking
for __builtin_abs linkage
""...
$ac_c" 1>&6
20411 echo "configure
:20412: checking
for __builtin_abs linkage
" >&5
20412 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
20413 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_abs_link'+set}'`\" = set"; then
20414 echo $ac_n "(cached
) $ac_c" 1>&6
20417 cat > conftest.$ac_ext <<EOF
20418 #line 20419 "configure
"
20419 #include "confdefs.h
"
20425 if { (eval echo configure:20426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20427 glibcxx_cv_func___builtin_abs_link=yes
20429 echo "configure
: failed program was
:" >&5
20430 cat conftest.$ac_ext >&5
20432 glibcxx_cv_func___builtin_abs_link=no
20439 echo "$ac_t""$glibcxx_cv_func___builtin_abs_link" 1>&6
20440 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
20441 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20442 cat >> confdefs.h <<EOF
20443 #define ${ac_tr_func} 1
20450 echo $ac_n "checking
for __builtin_fabsf declaration
""...
$ac_c" 1>&6
20451 echo "configure
:20452: checking
for __builtin_fabsf declaration
" >&5
20452 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
20453 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
20454 echo $ac_n "(cached
) $ac_c" 1>&6
20459 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20460 ac_cpp='$CXXCPP $CPPFLAGS'
20461 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20462 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20463 cross_compiling=$ac_cv_prog_cxx_cross
20465 cat > conftest.$ac_ext <<EOF
20466 #line 20467 "configure
"
20467 #include "confdefs.h
"
20470 __builtin_fabsf(0);
20473 if { (eval echo configure:20474: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20475 glibcxx_cv_func___builtin_fabsf_use=yes
20477 echo "configure
: failed program was
:" >&5
20478 cat conftest.$ac_ext >&5
20480 glibcxx_cv_func___builtin_fabsf_use=no
20484 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20485 ac_cpp='$CPP $CPPFLAGS'
20486 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20487 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20488 cross_compiling=$ac_cv_prog_cc_cross
20494 echo "$ac_t""$glibcxx_cv_func___builtin_fabsf_use" 1>&6
20495 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
20496 echo $ac_n "checking
for __builtin_fabsf linkage
""...
$ac_c" 1>&6
20497 echo "configure
:20498: checking
for __builtin_fabsf linkage
" >&5
20498 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
20499 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
20500 echo $ac_n "(cached
) $ac_c" 1>&6
20503 cat > conftest.$ac_ext <<EOF
20504 #line 20505 "configure
"
20505 #include "confdefs.h
"
20508 __builtin_fabsf(0);
20511 if { (eval echo configure:20512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20513 glibcxx_cv_func___builtin_fabsf_link=yes
20515 echo "configure
: failed program was
:" >&5
20516 cat conftest.$ac_ext >&5
20518 glibcxx_cv_func___builtin_fabsf_link=no
20525 echo "$ac_t""$glibcxx_cv_func___builtin_fabsf_link" 1>&6
20526 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
20527 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20528 cat >> confdefs.h <<EOF
20529 #define ${ac_tr_func} 1
20536 echo $ac_n "checking
for __builtin_fabs declaration
""...
$ac_c" 1>&6
20537 echo "configure
:20538: checking
for __builtin_fabs declaration
" >&5
20538 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
20539 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_fabs_use'+set}'`\" = set"; then
20540 echo $ac_n "(cached
) $ac_c" 1>&6
20545 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20546 ac_cpp='$CXXCPP $CPPFLAGS'
20547 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20548 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20549 cross_compiling=$ac_cv_prog_cxx_cross
20551 cat > conftest.$ac_ext <<EOF
20552 #line 20553 "configure
"
20553 #include "confdefs.h
"
20559 if { (eval echo configure:20560: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20561 glibcxx_cv_func___builtin_fabs_use=yes
20563 echo "configure
: failed program was
:" >&5
20564 cat conftest.$ac_ext >&5
20566 glibcxx_cv_func___builtin_fabs_use=no
20570 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20571 ac_cpp='$CPP $CPPFLAGS'
20572 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20573 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20574 cross_compiling=$ac_cv_prog_cc_cross
20580 echo "$ac_t""$glibcxx_cv_func___builtin_fabs_use" 1>&6
20581 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
20582 echo $ac_n "checking
for __builtin_fabs linkage
""...
$ac_c" 1>&6
20583 echo "configure
:20584: checking
for __builtin_fabs linkage
" >&5
20584 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
20585 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_fabs_link'+set}'`\" = set"; then
20586 echo $ac_n "(cached
) $ac_c" 1>&6
20589 cat > conftest.$ac_ext <<EOF
20590 #line 20591 "configure
"
20591 #include "confdefs.h
"
20597 if { (eval echo configure:20598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20599 glibcxx_cv_func___builtin_fabs_link=yes
20601 echo "configure
: failed program was
:" >&5
20602 cat conftest.$ac_ext >&5
20604 glibcxx_cv_func___builtin_fabs_link=no
20611 echo "$ac_t""$glibcxx_cv_func___builtin_fabs_link" 1>&6
20612 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
20613 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20614 cat >> confdefs.h <<EOF
20615 #define ${ac_tr_func} 1
20622 echo $ac_n "checking
for __builtin_fabsl declaration
""...
$ac_c" 1>&6
20623 echo "configure
:20624: checking
for __builtin_fabsl declaration
" >&5
20624 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
20625 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
20626 echo $ac_n "(cached
) $ac_c" 1>&6
20631 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20632 ac_cpp='$CXXCPP $CPPFLAGS'
20633 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20634 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20635 cross_compiling=$ac_cv_prog_cxx_cross
20637 cat > conftest.$ac_ext <<EOF
20638 #line 20639 "configure
"
20639 #include "confdefs.h
"
20642 __builtin_fabsl(0);
20645 if { (eval echo configure:20646: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20647 glibcxx_cv_func___builtin_fabsl_use=yes
20649 echo "configure
: failed program was
:" >&5
20650 cat conftest.$ac_ext >&5
20652 glibcxx_cv_func___builtin_fabsl_use=no
20656 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20657 ac_cpp='$CPP $CPPFLAGS'
20658 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20659 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20660 cross_compiling=$ac_cv_prog_cc_cross
20666 echo "$ac_t""$glibcxx_cv_func___builtin_fabsl_use" 1>&6
20667 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
20668 echo $ac_n "checking
for __builtin_fabsl linkage
""...
$ac_c" 1>&6
20669 echo "configure
:20670: checking
for __builtin_fabsl linkage
" >&5
20670 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
20671 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
20672 echo $ac_n "(cached
) $ac_c" 1>&6
20675 cat > conftest.$ac_ext <<EOF
20676 #line 20677 "configure
"
20677 #include "confdefs.h
"
20680 __builtin_fabsl(0);
20683 if { (eval echo configure:20684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20685 glibcxx_cv_func___builtin_fabsl_link=yes
20687 echo "configure
: failed program was
:" >&5
20688 cat conftest.$ac_ext >&5
20690 glibcxx_cv_func___builtin_fabsl_link=no
20697 echo "$ac_t""$glibcxx_cv_func___builtin_fabsl_link" 1>&6
20698 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
20699 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20700 cat >> confdefs.h <<EOF
20701 #define ${ac_tr_func} 1
20708 echo $ac_n "checking
for __builtin_labs declaration
""...
$ac_c" 1>&6
20709 echo "configure
:20710: checking
for __builtin_labs declaration
" >&5
20710 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
20711 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_labs_use'+set}'`\" = set"; then
20712 echo $ac_n "(cached
) $ac_c" 1>&6
20717 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20718 ac_cpp='$CXXCPP $CPPFLAGS'
20719 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20720 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20721 cross_compiling=$ac_cv_prog_cxx_cross
20723 cat > conftest.$ac_ext <<EOF
20724 #line 20725 "configure
"
20725 #include "confdefs.h
"
20731 if { (eval echo configure:20732: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20733 glibcxx_cv_func___builtin_labs_use=yes
20735 echo "configure
: failed program was
:" >&5
20736 cat conftest.$ac_ext >&5
20738 glibcxx_cv_func___builtin_labs_use=no
20742 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20743 ac_cpp='$CPP $CPPFLAGS'
20744 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20745 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20746 cross_compiling=$ac_cv_prog_cc_cross
20752 echo "$ac_t""$glibcxx_cv_func___builtin_labs_use" 1>&6
20753 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
20754 echo $ac_n "checking
for __builtin_labs linkage
""...
$ac_c" 1>&6
20755 echo "configure
:20756: checking
for __builtin_labs linkage
" >&5
20756 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
20757 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_labs_link'+set}'`\" = set"; then
20758 echo $ac_n "(cached
) $ac_c" 1>&6
20761 cat > conftest.$ac_ext <<EOF
20762 #line 20763 "configure
"
20763 #include "confdefs.h
"
20769 if { (eval echo configure:20770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20771 glibcxx_cv_func___builtin_labs_link=yes
20773 echo "configure
: failed program was
:" >&5
20774 cat conftest.$ac_ext >&5
20776 glibcxx_cv_func___builtin_labs_link=no
20783 echo "$ac_t""$glibcxx_cv_func___builtin_labs_link" 1>&6
20784 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
20785 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20786 cat >> confdefs.h <<EOF
20787 #define ${ac_tr_func} 1
20795 echo $ac_n "checking
for __builtin_sqrtf declaration
""...
$ac_c" 1>&6
20796 echo "configure
:20797: checking
for __builtin_sqrtf declaration
" >&5
20797 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
20798 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
20799 echo $ac_n "(cached
) $ac_c" 1>&6
20804 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20805 ac_cpp='$CXXCPP $CPPFLAGS'
20806 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20807 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20808 cross_compiling=$ac_cv_prog_cxx_cross
20810 cat > conftest.$ac_ext <<EOF
20811 #line 20812 "configure
"
20812 #include "confdefs.h
"
20815 __builtin_sqrtf(0);
20818 if { (eval echo configure:20819: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20820 glibcxx_cv_func___builtin_sqrtf_use=yes
20822 echo "configure
: failed program was
:" >&5
20823 cat conftest.$ac_ext >&5
20825 glibcxx_cv_func___builtin_sqrtf_use=no
20829 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20830 ac_cpp='$CPP $CPPFLAGS'
20831 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20832 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20833 cross_compiling=$ac_cv_prog_cc_cross
20839 echo "$ac_t""$glibcxx_cv_func___builtin_sqrtf_use" 1>&6
20840 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
20841 echo $ac_n "checking
for __builtin_sqrtf linkage
""...
$ac_c" 1>&6
20842 echo "configure
:20843: checking
for __builtin_sqrtf linkage
" >&5
20843 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
20844 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
20845 echo $ac_n "(cached
) $ac_c" 1>&6
20848 cat > conftest.$ac_ext <<EOF
20849 #line 20850 "configure
"
20850 #include "confdefs.h
"
20853 __builtin_sqrtf(0);
20856 if { (eval echo configure:20857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20858 glibcxx_cv_func___builtin_sqrtf_link=yes
20860 echo "configure
: failed program was
:" >&5
20861 cat conftest.$ac_ext >&5
20863 glibcxx_cv_func___builtin_sqrtf_link=no
20870 echo "$ac_t""$glibcxx_cv_func___builtin_sqrtf_link" 1>&6
20871 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
20872 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20873 cat >> confdefs.h <<EOF
20874 #define ${ac_tr_func} 1
20881 echo $ac_n "checking
for __builtin_sqrt declaration
""...
$ac_c" 1>&6
20882 echo "configure
:20883: checking
for __builtin_sqrt declaration
" >&5
20883 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
20884 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
20885 echo $ac_n "(cached
) $ac_c" 1>&6
20890 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20891 ac_cpp='$CXXCPP $CPPFLAGS'
20892 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20893 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20894 cross_compiling=$ac_cv_prog_cxx_cross
20896 cat > conftest.$ac_ext <<EOF
20897 #line 20898 "configure
"
20898 #include "confdefs.h
"
20904 if { (eval echo configure:20905: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20906 glibcxx_cv_func___builtin_sqrt_use=yes
20908 echo "configure
: failed program was
:" >&5
20909 cat conftest.$ac_ext >&5
20911 glibcxx_cv_func___builtin_sqrt_use=no
20915 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20916 ac_cpp='$CPP $CPPFLAGS'
20917 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20918 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20919 cross_compiling=$ac_cv_prog_cc_cross
20925 echo "$ac_t""$glibcxx_cv_func___builtin_sqrt_use" 1>&6
20926 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
20927 echo $ac_n "checking
for __builtin_sqrt linkage
""...
$ac_c" 1>&6
20928 echo "configure
:20929: checking
for __builtin_sqrt linkage
" >&5
20929 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
20930 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
20931 echo $ac_n "(cached
) $ac_c" 1>&6
20934 cat > conftest.$ac_ext <<EOF
20935 #line 20936 "configure
"
20936 #include "confdefs.h
"
20942 if { (eval echo configure:20943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20944 glibcxx_cv_func___builtin_sqrt_link=yes
20946 echo "configure
: failed program was
:" >&5
20947 cat conftest.$ac_ext >&5
20949 glibcxx_cv_func___builtin_sqrt_link=no
20956 echo "$ac_t""$glibcxx_cv_func___builtin_sqrt_link" 1>&6
20957 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
20958 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20959 cat >> confdefs.h <<EOF
20960 #define ${ac_tr_func} 1
20967 echo $ac_n "checking
for __builtin_sqrtl declaration
""...
$ac_c" 1>&6
20968 echo "configure
:20969: checking
for __builtin_sqrtl declaration
" >&5
20969 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
20970 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
20971 echo $ac_n "(cached
) $ac_c" 1>&6
20976 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20977 ac_cpp='$CXXCPP $CPPFLAGS'
20978 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20979 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20980 cross_compiling=$ac_cv_prog_cxx_cross
20982 cat > conftest.$ac_ext <<EOF
20983 #line 20984 "configure
"
20984 #include "confdefs.h
"
20987 __builtin_sqrtl(0);
20990 if { (eval echo configure:20991: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20992 glibcxx_cv_func___builtin_sqrtl_use=yes
20994 echo "configure
: failed program was
:" >&5
20995 cat conftest.$ac_ext >&5
20997 glibcxx_cv_func___builtin_sqrtl_use=no
21001 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21002 ac_cpp='$CPP $CPPFLAGS'
21003 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21004 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21005 cross_compiling=$ac_cv_prog_cc_cross
21011 echo "$ac_t""$glibcxx_cv_func___builtin_sqrtl_use" 1>&6
21012 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
21013 echo $ac_n "checking
for __builtin_sqrtl linkage
""...
$ac_c" 1>&6
21014 echo "configure
:21015: checking
for __builtin_sqrtl linkage
" >&5
21015 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
21016 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
21017 echo $ac_n "(cached
) $ac_c" 1>&6
21020 cat > conftest.$ac_ext <<EOF
21021 #line 21022 "configure
"
21022 #include "confdefs.h
"
21025 __builtin_sqrtl(0);
21028 if { (eval echo configure:21029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21030 glibcxx_cv_func___builtin_sqrtl_link=yes
21032 echo "configure
: failed program was
:" >&5
21033 cat conftest.$ac_ext >&5
21035 glibcxx_cv_func___builtin_sqrtl_link=no
21042 echo "$ac_t""$glibcxx_cv_func___builtin_sqrtl_link" 1>&6
21043 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
21044 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21045 cat >> confdefs.h <<EOF
21046 #define ${ac_tr_func} 1
21054 echo $ac_n "checking
for __builtin_sinf declaration
""...
$ac_c" 1>&6
21055 echo "configure
:21056: checking
for __builtin_sinf declaration
" >&5
21056 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
21057 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_sinf_use'+set}'`\" = set"; then
21058 echo $ac_n "(cached
) $ac_c" 1>&6
21063 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21064 ac_cpp='$CXXCPP $CPPFLAGS'
21065 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21066 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21067 cross_compiling=$ac_cv_prog_cxx_cross
21069 cat > conftest.$ac_ext <<EOF
21070 #line 21071 "configure
"
21071 #include "confdefs.h
"
21077 if { (eval echo configure:21078: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21079 glibcxx_cv_func___builtin_sinf_use=yes
21081 echo "configure
: failed program was
:" >&5
21082 cat conftest.$ac_ext >&5
21084 glibcxx_cv_func___builtin_sinf_use=no
21088 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21089 ac_cpp='$CPP $CPPFLAGS'
21090 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21091 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21092 cross_compiling=$ac_cv_prog_cc_cross
21098 echo "$ac_t""$glibcxx_cv_func___builtin_sinf_use" 1>&6
21099 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
21100 echo $ac_n "checking
for __builtin_sinf linkage
""...
$ac_c" 1>&6
21101 echo "configure
:21102: checking
for __builtin_sinf linkage
" >&5
21102 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
21103 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_sinf_link'+set}'`\" = set"; then
21104 echo $ac_n "(cached
) $ac_c" 1>&6
21107 cat > conftest.$ac_ext <<EOF
21108 #line 21109 "configure
"
21109 #include "confdefs.h
"
21115 if { (eval echo configure:21116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21117 glibcxx_cv_func___builtin_sinf_link=yes
21119 echo "configure
: failed program was
:" >&5
21120 cat conftest.$ac_ext >&5
21122 glibcxx_cv_func___builtin_sinf_link=no
21129 echo "$ac_t""$glibcxx_cv_func___builtin_sinf_link" 1>&6
21130 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
21131 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21132 cat >> confdefs.h <<EOF
21133 #define ${ac_tr_func} 1
21140 echo $ac_n "checking
for __builtin_sin declaration
""...
$ac_c" 1>&6
21141 echo "configure
:21142: checking
for __builtin_sin declaration
" >&5
21142 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
21143 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_sin_use'+set}'`\" = set"; then
21144 echo $ac_n "(cached
) $ac_c" 1>&6
21149 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21150 ac_cpp='$CXXCPP $CPPFLAGS'
21151 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21152 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21153 cross_compiling=$ac_cv_prog_cxx_cross
21155 cat > conftest.$ac_ext <<EOF
21156 #line 21157 "configure
"
21157 #include "confdefs.h
"
21163 if { (eval echo configure:21164: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21165 glibcxx_cv_func___builtin_sin_use=yes
21167 echo "configure
: failed program was
:" >&5
21168 cat conftest.$ac_ext >&5
21170 glibcxx_cv_func___builtin_sin_use=no
21174 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21175 ac_cpp='$CPP $CPPFLAGS'
21176 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21177 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21178 cross_compiling=$ac_cv_prog_cc_cross
21184 echo "$ac_t""$glibcxx_cv_func___builtin_sin_use" 1>&6
21185 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
21186 echo $ac_n "checking
for __builtin_sin linkage
""...
$ac_c" 1>&6
21187 echo "configure
:21188: checking
for __builtin_sin linkage
" >&5
21188 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
21189 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_sin_link'+set}'`\" = set"; then
21190 echo $ac_n "(cached
) $ac_c" 1>&6
21193 cat > conftest.$ac_ext <<EOF
21194 #line 21195 "configure
"
21195 #include "confdefs.h
"
21201 if { (eval echo configure:21202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21203 glibcxx_cv_func___builtin_sin_link=yes
21205 echo "configure
: failed program was
:" >&5
21206 cat conftest.$ac_ext >&5
21208 glibcxx_cv_func___builtin_sin_link=no
21215 echo "$ac_t""$glibcxx_cv_func___builtin_sin_link" 1>&6
21216 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
21217 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21218 cat >> confdefs.h <<EOF
21219 #define ${ac_tr_func} 1
21226 echo $ac_n "checking
for __builtin_sinl declaration
""...
$ac_c" 1>&6
21227 echo "configure
:21228: checking
for __builtin_sinl declaration
" >&5
21228 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
21229 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_sinl_use'+set}'`\" = set"; then
21230 echo $ac_n "(cached
) $ac_c" 1>&6
21235 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21236 ac_cpp='$CXXCPP $CPPFLAGS'
21237 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21238 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21239 cross_compiling=$ac_cv_prog_cxx_cross
21241 cat > conftest.$ac_ext <<EOF
21242 #line 21243 "configure
"
21243 #include "confdefs.h
"
21249 if { (eval echo configure:21250: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21251 glibcxx_cv_func___builtin_sinl_use=yes
21253 echo "configure
: failed program was
:" >&5
21254 cat conftest.$ac_ext >&5
21256 glibcxx_cv_func___builtin_sinl_use=no
21260 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21261 ac_cpp='$CPP $CPPFLAGS'
21262 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21263 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21264 cross_compiling=$ac_cv_prog_cc_cross
21270 echo "$ac_t""$glibcxx_cv_func___builtin_sinl_use" 1>&6
21271 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
21272 echo $ac_n "checking
for __builtin_sinl linkage
""...
$ac_c" 1>&6
21273 echo "configure
:21274: checking
for __builtin_sinl linkage
" >&5
21274 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
21275 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_sinl_link'+set}'`\" = set"; then
21276 echo $ac_n "(cached
) $ac_c" 1>&6
21279 cat > conftest.$ac_ext <<EOF
21280 #line 21281 "configure
"
21281 #include "confdefs.h
"
21287 if { (eval echo configure:21288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21289 glibcxx_cv_func___builtin_sinl_link=yes
21291 echo "configure
: failed program was
:" >&5
21292 cat conftest.$ac_ext >&5
21294 glibcxx_cv_func___builtin_sinl_link=no
21301 echo "$ac_t""$glibcxx_cv_func___builtin_sinl_link" 1>&6
21302 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
21303 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21304 cat >> confdefs.h <<EOF
21305 #define ${ac_tr_func} 1
21313 echo $ac_n "checking
for __builtin_cosf declaration
""...
$ac_c" 1>&6
21314 echo "configure
:21315: checking
for __builtin_cosf declaration
" >&5
21315 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
21316 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_cosf_use'+set}'`\" = set"; then
21317 echo $ac_n "(cached
) $ac_c" 1>&6
21322 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21323 ac_cpp='$CXXCPP $CPPFLAGS'
21324 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21325 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21326 cross_compiling=$ac_cv_prog_cxx_cross
21328 cat > conftest.$ac_ext <<EOF
21329 #line 21330 "configure
"
21330 #include "confdefs.h
"
21336 if { (eval echo configure:21337: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21338 glibcxx_cv_func___builtin_cosf_use=yes
21340 echo "configure
: failed program was
:" >&5
21341 cat conftest.$ac_ext >&5
21343 glibcxx_cv_func___builtin_cosf_use=no
21347 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21348 ac_cpp='$CPP $CPPFLAGS'
21349 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21350 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21351 cross_compiling=$ac_cv_prog_cc_cross
21357 echo "$ac_t""$glibcxx_cv_func___builtin_cosf_use" 1>&6
21358 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
21359 echo $ac_n "checking
for __builtin_cosf linkage
""...
$ac_c" 1>&6
21360 echo "configure
:21361: checking
for __builtin_cosf linkage
" >&5
21361 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
21362 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_cosf_link'+set}'`\" = set"; then
21363 echo $ac_n "(cached
) $ac_c" 1>&6
21366 cat > conftest.$ac_ext <<EOF
21367 #line 21368 "configure
"
21368 #include "confdefs.h
"
21374 if { (eval echo configure:21375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21376 glibcxx_cv_func___builtin_cosf_link=yes
21378 echo "configure
: failed program was
:" >&5
21379 cat conftest.$ac_ext >&5
21381 glibcxx_cv_func___builtin_cosf_link=no
21388 echo "$ac_t""$glibcxx_cv_func___builtin_cosf_link" 1>&6
21389 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
21390 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21391 cat >> confdefs.h <<EOF
21392 #define ${ac_tr_func} 1
21399 echo $ac_n "checking
for __builtin_cos declaration
""...
$ac_c" 1>&6
21400 echo "configure
:21401: checking
for __builtin_cos declaration
" >&5
21401 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
21402 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_cos_use'+set}'`\" = set"; then
21403 echo $ac_n "(cached
) $ac_c" 1>&6
21408 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21409 ac_cpp='$CXXCPP $CPPFLAGS'
21410 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21411 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21412 cross_compiling=$ac_cv_prog_cxx_cross
21414 cat > conftest.$ac_ext <<EOF
21415 #line 21416 "configure
"
21416 #include "confdefs.h
"
21422 if { (eval echo configure:21423: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21424 glibcxx_cv_func___builtin_cos_use=yes
21426 echo "configure
: failed program was
:" >&5
21427 cat conftest.$ac_ext >&5
21429 glibcxx_cv_func___builtin_cos_use=no
21433 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21434 ac_cpp='$CPP $CPPFLAGS'
21435 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21436 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21437 cross_compiling=$ac_cv_prog_cc_cross
21443 echo "$ac_t""$glibcxx_cv_func___builtin_cos_use" 1>&6
21444 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
21445 echo $ac_n "checking
for __builtin_cos linkage
""...
$ac_c" 1>&6
21446 echo "configure
:21447: checking
for __builtin_cos linkage
" >&5
21447 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
21448 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_cos_link'+set}'`\" = set"; then
21449 echo $ac_n "(cached
) $ac_c" 1>&6
21452 cat > conftest.$ac_ext <<EOF
21453 #line 21454 "configure
"
21454 #include "confdefs.h
"
21460 if { (eval echo configure:21461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21462 glibcxx_cv_func___builtin_cos_link=yes
21464 echo "configure
: failed program was
:" >&5
21465 cat conftest.$ac_ext >&5
21467 glibcxx_cv_func___builtin_cos_link=no
21474 echo "$ac_t""$glibcxx_cv_func___builtin_cos_link" 1>&6
21475 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
21476 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21477 cat >> confdefs.h <<EOF
21478 #define ${ac_tr_func} 1
21485 echo $ac_n "checking
for __builtin_cosl declaration
""...
$ac_c" 1>&6
21486 echo "configure
:21487: checking
for __builtin_cosl declaration
" >&5
21487 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
21488 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_cosl_use'+set}'`\" = set"; then
21489 echo $ac_n "(cached
) $ac_c" 1>&6
21494 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21495 ac_cpp='$CXXCPP $CPPFLAGS'
21496 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21497 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21498 cross_compiling=$ac_cv_prog_cxx_cross
21500 cat > conftest.$ac_ext <<EOF
21501 #line 21502 "configure
"
21502 #include "confdefs.h
"
21508 if { (eval echo configure:21509: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21510 glibcxx_cv_func___builtin_cosl_use=yes
21512 echo "configure
: failed program was
:" >&5
21513 cat conftest.$ac_ext >&5
21515 glibcxx_cv_func___builtin_cosl_use=no
21519 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21520 ac_cpp='$CPP $CPPFLAGS'
21521 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21522 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21523 cross_compiling=$ac_cv_prog_cc_cross
21529 echo "$ac_t""$glibcxx_cv_func___builtin_cosl_use" 1>&6
21530 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
21531 echo $ac_n "checking
for __builtin_cosl linkage
""...
$ac_c" 1>&6
21532 echo "configure
:21533: checking
for __builtin_cosl linkage
" >&5
21533 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
21534 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_cosl_link'+set}'`\" = set"; then
21535 echo $ac_n "(cached
) $ac_c" 1>&6
21538 cat > conftest.$ac_ext <<EOF
21539 #line 21540 "configure
"
21540 #include "confdefs.h
"
21546 if { (eval echo configure:21547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21548 glibcxx_cv_func___builtin_cosl_link=yes
21550 echo "configure
: failed program was
:" >&5
21551 cat conftest.$ac_ext >&5
21553 glibcxx_cv_func___builtin_cosl_link=no
21560 echo "$ac_t""$glibcxx_cv_func___builtin_cosl_link" 1>&6
21561 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
21562 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21563 cat >> confdefs.h <<EOF
21564 #define ${ac_tr_func} 1
21572 if test x$dummyvar = x"yes"; then
21573 cat >> confdefs.h <<\EOF
21574 #define HAVE___BUILTIN_ABS 1
21577 cat >> confdefs.h <<\EOF
21578 #define HAVE___BUILTIN_LABS 1
21581 cat >> confdefs.h <<\EOF
21582 #define HAVE___BUILTIN_COS 1
21585 cat >> confdefs.h <<\EOF
21586 #define HAVE___BUILTIN_COSF 1
21589 cat >> confdefs.h <<\EOF
21590 #define HAVE___BUILTIN_COSL 1
21593 cat >> confdefs.h <<\EOF
21594 #define HAVE___BUILTIN_FABS 1
21597 cat >> confdefs.h <<\EOF
21598 #define HAVE___BUILTIN_FABSF 1
21601 cat >> confdefs.h <<\EOF
21602 #define HAVE___BUILTIN_FABSL 1
21605 cat >> confdefs.h <<\EOF
21606 #define HAVE___BUILTIN_SIN 1
21609 cat >> confdefs.h <<\EOF
21610 #define HAVE___BUILTIN_SINF 1
21613 cat >> confdefs.h <<\EOF
21614 #define HAVE___BUILTIN_SINL 1
21617 cat >> confdefs.h <<\EOF
21618 #define HAVE___BUILTIN_SQRT 1
21621 cat >> confdefs.h <<\EOF
21622 #define HAVE___BUILTIN_SQRTF 1
21625 cat >> confdefs.h <<\EOF
21626 #define HAVE___BUILTIN_SQRTL 1
21632 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
21633 echo "configure
:21634: checking
for main
in -lm" >&5
21634 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
21635 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
21636 echo $ac_n "(cached
) $ac_c" 1>&6
21638 ac_save_LIBS="$LIBS"
21640 cat > conftest.$ac_ext <<EOF
21641 #line 21642 "configure
"
21642 #include "confdefs.h
"
21648 if { (eval echo configure:21649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21650 eval "ac_cv_lib_
$ac_lib_var=yes"
21652 echo "configure
: failed program was
:" >&5
21653 cat conftest.$ac_ext >&5
21655 eval "ac_cv_lib_
$ac_lib_var=no
"
21658 LIBS="$ac_save_LIBS"
21661 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21662 echo "$ac_t""yes" 1>&6
21663 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
21664 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
21665 cat >> confdefs.h <<EOF
21666 #define $ac_tr_lib 1
21672 echo "$ac_t""no
" 1>&6
21675 for ac_func in nan copysignf
21677 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21678 echo "configure
:21679: checking
for $ac_func" >&5
21679 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21680 echo $ac_n "(cached
) $ac_c" 1>&6
21682 cat > conftest.$ac_ext <<EOF
21683 #line 21684 "configure
"
21684 #include "confdefs.h
"
21685 /* System header to define __stub macros and hopefully few prototypes,
21686 which can conflict with char $ac_func(); below. */
21687 #include <assert.h>
21688 /* Override any gcc2 internal prototype to avoid an error. */
21689 /* We use char because int might match the return type of a gcc2
21690 builtin and then its argument prototype would still apply. */
21695 /* The GNU C library defines this for functions which it implements
21696 to always fail with ENOSYS. Some functions are actually named
21697 something starting with __ and the normal name is an alias. */
21698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21706 if { (eval echo configure:21707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21708 eval "ac_cv_func_
$ac_func=yes"
21710 echo "configure
: failed program was
:" >&5
21711 cat conftest.$ac_ext >&5
21713 eval "ac_cv_func_
$ac_func=no
"
21718 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21719 echo "$ac_t""yes" 1>&6
21720 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21721 cat >> confdefs.h <<EOF
21722 #define $ac_tr_func 1
21726 echo "$ac_t""no
" 1>&6
21727 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
21732 for ac_func in __signbit
21734 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21735 echo "configure
:21736: checking
for $ac_func" >&5
21736 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21737 echo $ac_n "(cached
) $ac_c" 1>&6
21739 cat > conftest.$ac_ext <<EOF
21740 #line 21741 "configure
"
21741 #include "confdefs.h
"
21742 /* System header to define __stub macros and hopefully few prototypes,
21743 which can conflict with char $ac_func(); below. */
21744 #include <assert.h>
21745 /* Override any gcc2 internal prototype to avoid an error. */
21746 /* We use char because int might match the return type of a gcc2
21747 builtin and then its argument prototype would still apply. */
21752 /* The GNU C library defines this for functions which it implements
21753 to always fail with ENOSYS. Some functions are actually named
21754 something starting with __ and the normal name is an alias. */
21755 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21763 if { (eval echo configure:21764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21765 eval "ac_cv_func_
$ac_func=yes"
21767 echo "configure
: failed program was
:" >&5
21768 cat conftest.$ac_ext >&5
21770 eval "ac_cv_func_
$ac_func=no
"
21775 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21776 echo "$ac_t""yes" 1>&6
21777 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21778 cat >> confdefs.h <<EOF
21779 #define $ac_tr_func 1
21783 echo "$ac_t""no
" 1>&6
21784 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
21788 for ac_func in __signbitf
21790 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21791 echo "configure
:21792: checking
for $ac_func" >&5
21792 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21793 echo $ac_n "(cached
) $ac_c" 1>&6
21795 cat > conftest.$ac_ext <<EOF
21796 #line 21797 "configure
"
21797 #include "confdefs.h
"
21798 /* System header to define __stub macros and hopefully few prototypes,
21799 which can conflict with char $ac_func(); below. */
21800 #include <assert.h>
21801 /* Override any gcc2 internal prototype to avoid an error. */
21802 /* We use char because int might match the return type of a gcc2
21803 builtin and then its argument prototype would still apply. */
21808 /* The GNU C library defines this for functions which it implements
21809 to always fail with ENOSYS. Some functions are actually named
21810 something starting with __ and the normal name is an alias. */
21811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21819 if { (eval echo configure:21820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21821 eval "ac_cv_func_
$ac_func=yes"
21823 echo "configure
: failed program was
:" >&5
21824 cat conftest.$ac_ext >&5
21826 eval "ac_cv_func_
$ac_func=no
"
21831 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21832 echo "$ac_t""yes" 1>&6
21833 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21834 cat >> confdefs.h <<EOF
21835 #define $ac_tr_func 1
21839 echo "$ac_t""no
" 1>&6
21840 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
21845 if test x$ac_cv_func_copysignl = x"yes"; then
21846 for ac_func in __signbitl
21848 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21849 echo "configure
:21850: checking
for $ac_func" >&5
21850 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21851 echo $ac_n "(cached
) $ac_c" 1>&6
21853 cat > conftest.$ac_ext <<EOF
21854 #line 21855 "configure
"
21855 #include "confdefs.h
"
21856 /* System header to define __stub macros and hopefully few prototypes,
21857 which can conflict with char $ac_func(); below. */
21858 #include <assert.h>
21859 /* Override any gcc2 internal prototype to avoid an error. */
21860 /* We use char because int might match the return type of a gcc2
21861 builtin and then its argument prototype would still apply. */
21866 /* The GNU C library defines this for functions which it implements
21867 to always fail with ENOSYS. Some functions are actually named
21868 something starting with __ and the normal name is an alias. */
21869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21877 if { (eval echo configure:21878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21879 eval "ac_cv_func_
$ac_func=yes"
21881 echo "configure
: failed program was
:" >&5
21882 cat conftest.$ac_ext >&5
21884 eval "ac_cv_func_
$ac_func=no
"
21889 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21890 echo "$ac_t""yes" 1>&6
21891 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21892 cat >> confdefs.h <<EOF
21893 #define $ac_tr_func 1
21897 echo "$ac_t""no
" 1>&6
21898 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
21904 if test -n "$LIBMATHOBJS"; then
21911 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
21912 echo "configure
:21913: checking
for mbstate_t
" >&5
21913 cat > conftest.$ac_ext <<EOF
21914 #line 21915 "configure
"
21915 #include "confdefs.h
"
21918 mbstate_t teststate;
21921 if { (eval echo configure:21922: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21925 echo "configure
: failed program was
:" >&5
21926 cat conftest.$ac_ext >&5
21931 echo "$ac_t""$have_mbstate_t" 1>&6
21932 if test x"$have_mbstate_t" = xyes; then
21933 cat >> confdefs.h <<\EOF
21934 #define HAVE_MBSTATE_T 1
21939 for ac_hdr in wchar.h
21941 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21942 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
21943 echo "configure
:21944: checking
for $ac_hdr" >&5
21944 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21945 echo $ac_n "(cached
) $ac_c" 1>&6
21947 cat > conftest.$ac_ext <<EOF
21948 #line 21949 "configure
"
21949 #include "confdefs.h
"
21952 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
21953 { (eval echo configure:21954: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21954 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
21955 if test -z "$ac_err"; then
21957 eval "ac_cv_header_
$ac_safe=yes"
21960 echo "configure
: failed program was
:" >&5
21961 cat conftest.$ac_ext >&5
21963 eval "ac_cv_header_
$ac_safe=no
"
21967 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21968 echo "$ac_t""yes" 1>&6
21969 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21970 cat >> confdefs.h <<EOF
21971 #define $ac_tr_hdr 1
21975 echo "$ac_t""no
" 1>&6
21980 for ac_hdr in wctype.h
21982 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21983 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
21984 echo "configure
:21985: checking
for $ac_hdr" >&5
21985 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21986 echo $ac_n "(cached
) $ac_c" 1>&6
21988 cat > conftest.$ac_ext <<EOF
21989 #line 21990 "configure
"
21990 #include "confdefs.h
"
21993 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
21994 { (eval echo configure:21995: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21995 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
21996 if test -z "$ac_err"; then
21998 eval "ac_cv_header_
$ac_safe=yes"
22001 echo "configure
: failed program was
:" >&5
22002 cat conftest.$ac_ext >&5
22004 eval "ac_cv_header_
$ac_safe=no
"
22008 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22009 echo "$ac_t""yes" 1>&6
22010 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22011 cat >> confdefs.h <<EOF
22012 #define $ac_tr_hdr 1
22014 ac_has_wctype_h=yes
22016 echo "$ac_t""no
" 1>&6
22022 if test x"$ac_has_wchar_h" = xyes &&
22023 test x"$ac_has_wctype_h" = xyes &&
22024 test x"$enable_c_mbchar" != xno; then
22026 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
22027 echo "configure
:22028: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
22028 cat > conftest.$ac_ext <<EOF
22029 #line 22030 "configure
"
22030 #include "confdefs.h
"
22033 int i = WCHAR_MIN; int j = WCHAR_MAX;
22036 if { (eval echo configure:22037: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22038 has_wchar_minmax=yes
22040 echo "configure
: failed program was
:" >&5
22041 cat conftest.$ac_ext >&5
22043 has_wchar_minmax=no
22046 echo "$ac_t""$has_wchar_minmax" 1>&6
22048 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
22049 echo "configure
:22050: checking
for WEOF
" >&5
22050 cat > conftest.$ac_ext <<EOF
22051 #line 22052 "configure
"
22052 #include "confdefs.h
"
22055 #include <stddef.h>
22060 if { (eval echo configure:22061: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22064 echo "configure
: failed program was
:" >&5
22065 cat conftest.$ac_ext >&5
22070 echo "$ac_t""$has_weof" 1>&6
22073 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
22075 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22076 echo "configure
:22077: checking
for $ac_func" >&5
22077 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22078 echo $ac_n "(cached
) $ac_c" 1>&6
22080 cat > conftest.$ac_ext <<EOF
22081 #line 22082 "configure
"
22082 #include "confdefs.h
"
22083 /* System header to define __stub macros and hopefully few prototypes,
22084 which can conflict with char $ac_func(); below. */
22085 #include <assert.h>
22086 /* Override any gcc2 internal prototype to avoid an error. */
22087 /* We use char because int might match the return type of a gcc2
22088 builtin and then its argument prototype would still apply. */
22093 /* The GNU C library defines this for functions which it implements
22094 to always fail with ENOSYS. Some functions are actually named
22095 something starting with __ and the normal name is an alias. */
22096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22104 if { (eval echo configure:22105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22106 eval "ac_cv_func_
$ac_func=yes"
22108 echo "configure
: failed program was
:" >&5
22109 cat conftest.$ac_ext >&5
22111 eval "ac_cv_func_
$ac_func=no
"
22116 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22117 echo "$ac_t""yes" 1>&6
22118 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22119 cat >> confdefs.h <<EOF
22120 #define $ac_tr_func 1
22124 echo "$ac_t""no
" 1>&6
22131 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
22132 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
22133 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
22134 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
22135 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
22136 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
22138 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22139 echo "configure
:22140: checking
for $ac_func" >&5
22140 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22141 echo $ac_n "(cached
) $ac_c" 1>&6
22143 cat > conftest.$ac_ext <<EOF
22144 #line 22145 "configure
"
22145 #include "confdefs.h
"
22146 /* System header to define __stub macros and hopefully few prototypes,
22147 which can conflict with char $ac_func(); below. */
22148 #include <assert.h>
22149 /* Override any gcc2 internal prototype to avoid an error. */
22150 /* We use char because int might match the return type of a gcc2
22151 builtin and then its argument prototype would still apply. */
22156 /* The GNU C library defines this for functions which it implements
22157 to always fail with ENOSYS. Some functions are actually named
22158 something starting with __ and the normal name is an alias. */
22159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22167 if { (eval echo configure:22168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22169 eval "ac_cv_func_
$ac_func=yes"
22171 echo "configure
: failed program was
:" >&5
22172 cat conftest.$ac_ext >&5
22174 eval "ac_cv_func_
$ac_func=no
"
22179 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22180 echo "$ac_t""yes" 1>&6
22181 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22182 cat >> confdefs.h <<EOF
22183 #define $ac_tr_func 1
22187 echo "$ac_t""no
" 1>&6
22194 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
22195 echo "configure
:22196: checking
for ISO C99 wchar_t support
" >&5
22196 if test x"$has_weof" = xyes &&
22197 test x"$has_wchar_minmax" = xyes &&
22198 test x"$ac_wfuncs" = xyes; then
22199 ac_isoC99_wchar_t=yes
22201 ac_isoC99_wchar_t=no
22203 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
22205 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
22206 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
22207 echo "configure
:22208: checking
for iconv.h
" >&5
22208 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22209 echo $ac_n "(cached
) $ac_c" 1>&6
22211 cat > conftest.$ac_ext <<EOF
22212 #line 22213 "configure
"
22213 #include "confdefs.h
"
22216 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22217 { (eval echo configure:22218: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22218 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22219 if test -z "$ac_err"; then
22221 eval "ac_cv_header_
$ac_safe=yes"
22224 echo "configure
: failed program was
:" >&5
22225 cat conftest.$ac_ext >&5
22227 eval "ac_cv_header_
$ac_safe=no
"
22231 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22232 echo "$ac_t""yes" 1>&6
22235 echo "$ac_t""no
" 1>&6
22239 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
22240 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
22241 echo "configure
:22242: checking
for langinfo.h
" >&5
22242 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22243 echo $ac_n "(cached
) $ac_c" 1>&6
22245 cat > conftest.$ac_ext <<EOF
22246 #line 22247 "configure
"
22247 #include "confdefs.h
"
22248 #include <langinfo.h>
22250 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22251 { (eval echo configure:22252: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22252 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22253 if test -z "$ac_err"; then
22255 eval "ac_cv_header_
$ac_safe=yes"
22258 echo "configure
: failed program was
:" >&5
22259 cat conftest.$ac_ext >&5
22261 eval "ac_cv_header_
$ac_safe=no
"
22265 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22266 echo "$ac_t""yes" 1>&6
22267 ac_has_langinfo_h=yes
22269 echo "$ac_t""no
" 1>&6
22270 ac_has_langinfo_h=no
22274 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
22275 echo "configure
:22276: checking
for iconv in -liconv" >&5
22276 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
22277 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
22278 echo $ac_n "(cached
) $ac_c" 1>&6
22280 ac_save_LIBS="$LIBS"
22281 LIBS="-liconv $LIBS"
22282 cat > conftest.$ac_ext <<EOF
22283 #line 22284 "configure
"
22284 #include "confdefs.h
"
22285 /* Override any gcc2 internal prototype to avoid an error. */
22286 /* We use char because int might match the return type of a gcc2
22287 builtin and then its argument prototype would still apply. */
22294 if { (eval echo configure:22295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22296 eval "ac_cv_lib_
$ac_lib_var=yes"
22298 echo "configure
: failed program was
:" >&5
22299 cat conftest.$ac_ext >&5
22301 eval "ac_cv_lib_
$ac_lib_var=no
"
22304 LIBS="$ac_save_LIBS"
22307 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
22308 echo "$ac_t""yes" 1>&6
22311 echo "$ac_t""no
" 1>&6
22314 ac_save_LIBS="$LIBS"
22315 LIBS="$LIBS $libiconv"
22317 for ac_func in iconv_open iconv_close iconv nl_langinfo
22319 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22320 echo "configure
:22321: checking
for $ac_func" >&5
22321 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22322 echo $ac_n "(cached
) $ac_c" 1>&6
22324 cat > conftest.$ac_ext <<EOF
22325 #line 22326 "configure
"
22326 #include "confdefs.h
"
22327 /* System header to define __stub macros and hopefully few prototypes,
22328 which can conflict with char $ac_func(); below. */
22329 #include <assert.h>
22330 /* Override any gcc2 internal prototype to avoid an error. */
22331 /* We use char because int might match the return type of a gcc2
22332 builtin and then its argument prototype would still apply. */
22337 /* The GNU C library defines this for functions which it implements
22338 to always fail with ENOSYS. Some functions are actually named
22339 something starting with __ and the normal name is an alias. */
22340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22348 if { (eval echo configure:22349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22350 eval "ac_cv_func_
$ac_func=yes"
22352 echo "configure
: failed program was
:" >&5
22353 cat conftest.$ac_ext >&5
22355 eval "ac_cv_func_
$ac_func=no
"
22360 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22361 echo "$ac_t""yes" 1>&6
22362 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22363 cat >> confdefs.h <<EOF
22364 #define $ac_tr_func 1
22369 echo "$ac_t""no
" 1>&6
22375 LIBS="$ac_save_LIBS"
22377 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
22378 echo "configure
:22379: checking
for XPG2 wchar_t support
" >&5
22379 if test x"$ac_has_iconv_h" = xyes &&
22380 test x"$ac_has_langinfo_h" = xyes &&
22381 test x"$ac_XPG2funcs" = xyes; then
22382 ac_XPG2_wchar_t=yes
22386 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
22388 if test x"$ac_isoC99_wchar_t" = xyes &&
22389 test x"$ac_XPG2_wchar_t" = xyes; then
22390 cat >> confdefs.h <<\EOF
22391 #define _GLIBCXX_USE_WCHAR_T 1
22397 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
22398 echo "configure
:22399: checking
for enabled wchar_t specializations
" >&5
22399 echo "$ac_t""$enable_wchar_t" 1>&6
22402 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22403 ac_save_CXXFLAGS="$CXXFLAGS"
22404 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22407 echo $ac_n "checking
for strtold declaration
""...
$ac_c" 1>&6
22408 echo "configure
:22409: checking
for strtold declaration
" >&5
22409 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
22410 if eval "test \"`echo '$''{'glibcxx_cv_func_strtold_use'+set}'`\" = set"; then
22411 echo $ac_n "(cached
) $ac_c" 1>&6
22416 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22417 ac_cpp='$CXXCPP $CPPFLAGS'
22418 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22419 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22420 cross_compiling=$ac_cv_prog_cxx_cross
22422 cat > conftest.$ac_ext <<EOF
22423 #line 22424 "configure
"
22424 #include "confdefs.h
"
22425 #include <stdlib.h>
22430 if { (eval echo configure:22431: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22432 glibcxx_cv_func_strtold_use=yes
22434 echo "configure
: failed program was
:" >&5
22435 cat conftest.$ac_ext >&5
22437 glibcxx_cv_func_strtold_use=no
22441 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22442 ac_cpp='$CPP $CPPFLAGS'
22443 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22444 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22445 cross_compiling=$ac_cv_prog_cc_cross
22451 echo "$ac_t""$glibcxx_cv_func_strtold_use" 1>&6
22452 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
22453 for ac_func in strtold
22455 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22456 echo "configure
:22457: checking
for $ac_func" >&5
22457 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22458 echo $ac_n "(cached
) $ac_c" 1>&6
22460 cat > conftest.$ac_ext <<EOF
22461 #line 22462 "configure
"
22462 #include "confdefs.h
"
22463 /* System header to define __stub macros and hopefully few prototypes,
22464 which can conflict with char $ac_func(); below. */
22465 #include <assert.h>
22466 /* Override any gcc2 internal prototype to avoid an error. */
22467 /* We use char because int might match the return type of a gcc2
22468 builtin and then its argument prototype would still apply. */
22473 /* The GNU C library defines this for functions which it implements
22474 to always fail with ENOSYS. Some functions are actually named
22475 something starting with __ and the normal name is an alias. */
22476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22484 if { (eval echo configure:22485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22486 eval "ac_cv_func_
$ac_func=yes"
22488 echo "configure
: failed program was
:" >&5
22489 cat conftest.$ac_ext >&5
22491 eval "ac_cv_func_
$ac_func=no
"
22496 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22497 echo "$ac_t""yes" 1>&6
22498 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22499 cat >> confdefs.h <<EOF
22500 #define $ac_tr_func 1
22504 echo "$ac_t""no
" 1>&6
22511 echo $ac_n "checking
for strtof declaration
""...
$ac_c" 1>&6
22512 echo "configure
:22513: checking
for strtof declaration
" >&5
22513 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
22514 if eval "test \"`echo '$''{'glibcxx_cv_func_strtof_use'+set}'`\" = set"; then
22515 echo $ac_n "(cached
) $ac_c" 1>&6
22520 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22521 ac_cpp='$CXXCPP $CPPFLAGS'
22522 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22523 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22524 cross_compiling=$ac_cv_prog_cxx_cross
22526 cat > conftest.$ac_ext <<EOF
22527 #line 22528 "configure
"
22528 #include "confdefs.h
"
22529 #include <stdlib.h>
22534 if { (eval echo configure:22535: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22536 glibcxx_cv_func_strtof_use=yes
22538 echo "configure
: failed program was
:" >&5
22539 cat conftest.$ac_ext >&5
22541 glibcxx_cv_func_strtof_use=no
22545 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22546 ac_cpp='$CPP $CPPFLAGS'
22547 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22548 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22549 cross_compiling=$ac_cv_prog_cc_cross
22555 echo "$ac_t""$glibcxx_cv_func_strtof_use" 1>&6
22556 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
22557 for ac_func in strtof
22559 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22560 echo "configure
:22561: checking
for $ac_func" >&5
22561 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22562 echo $ac_n "(cached
) $ac_c" 1>&6
22564 cat > conftest.$ac_ext <<EOF
22565 #line 22566 "configure
"
22566 #include "confdefs.h
"
22567 /* System header to define __stub macros and hopefully few prototypes,
22568 which can conflict with char $ac_func(); below. */
22569 #include <assert.h>
22570 /* Override any gcc2 internal prototype to avoid an error. */
22571 /* We use char because int might match the return type of a gcc2
22572 builtin and then its argument prototype would still apply. */
22577 /* The GNU C library defines this for functions which it implements
22578 to always fail with ENOSYS. Some functions are actually named
22579 something starting with __ and the normal name is an alias. */
22580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22588 if { (eval echo configure:22589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22590 eval "ac_cv_func_
$ac_func=yes"
22592 echo "configure
: failed program was
:" >&5
22593 cat conftest.$ac_ext >&5
22595 eval "ac_cv_func_
$ac_func=no
"
22600 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22601 echo "$ac_t""yes" 1>&6
22602 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22603 cat >> confdefs.h <<EOF
22604 #define $ac_tr_func 1
22608 echo "$ac_t""no
" 1>&6
22614 for ac_func in drand48
22616 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22617 echo "configure
:22618: checking
for $ac_func" >&5
22618 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22619 echo $ac_n "(cached
) $ac_c" 1>&6
22621 cat > conftest.$ac_ext <<EOF
22622 #line 22623 "configure
"
22623 #include "confdefs.h
"
22624 /* System header to define __stub macros and hopefully few prototypes,
22625 which can conflict with char $ac_func(); below. */
22626 #include <assert.h>
22627 /* Override any gcc2 internal prototype to avoid an error. */
22628 /* We use char because int might match the return type of a gcc2
22629 builtin and then its argument prototype would still apply. */
22634 /* The GNU C library defines this for functions which it implements
22635 to always fail with ENOSYS. Some functions are actually named
22636 something starting with __ and the normal name is an alias. */
22637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22645 if { (eval echo configure:22646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22647 eval "ac_cv_func_
$ac_func=yes"
22649 echo "configure
: failed program was
:" >&5
22650 cat conftest.$ac_ext >&5
22652 eval "ac_cv_func_
$ac_func=no
"
22657 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22658 echo "$ac_t""yes" 1>&6
22659 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22660 cat >> confdefs.h <<EOF
22661 #define $ac_tr_func 1
22665 echo "$ac_t""no
" 1>&6
22670 CXXFLAGS="$ac_save_CXXFLAGS"
22673 # For showmanyc_helper().
22674 for ac_hdr in sys/ioctl.h sys/filio.h
22676 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22677 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
22678 echo "configure
:22679: checking
for $ac_hdr" >&5
22679 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22680 echo $ac_n "(cached
) $ac_c" 1>&6
22682 cat > conftest.$ac_ext <<EOF
22683 #line 22684 "configure
"
22684 #include "confdefs.h
"
22687 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22688 { (eval echo configure:22689: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22689 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22690 if test -z "$ac_err"; then
22692 eval "ac_cv_header_
$ac_safe=yes"
22695 echo "configure
: failed program was
:" >&5
22696 cat conftest.$ac_ext >&5
22698 eval "ac_cv_header_
$ac_safe=no
"
22702 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22703 echo "$ac_t""yes" 1>&6
22704 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22705 cat >> confdefs.h <<EOF
22706 #define $ac_tr_hdr 1
22710 echo "$ac_t""no
" 1>&6
22715 if eval "test \"`echo '$''{'glibcxx_cv_POLL'+set}'`\" = set"; then
22716 echo $ac_n "(cached
) $ac_c" 1>&6
22719 cat > conftest.$ac_ext <<EOF
22720 #line 22721 "configure
"
22721 #include "confdefs.h
"
22724 struct pollfd pfd[1]; pfd[0].events = POLLIN; poll(pfd, 1, 0);
22727 if { (eval echo configure:22728: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22729 glibcxx_cv_POLL=yes
22731 echo "configure
: failed program was
:" >&5
22732 cat conftest.$ac_ext >&5
22740 if test x$glibcxx_cv_POLL = xyes; then
22741 cat >> confdefs.h <<\EOF
22742 #define HAVE_POLL 1
22748 if eval "test \"`echo '$''{'glibcxx_cv_S_ISREG'+set}'`\" = set"; then
22749 echo $ac_n "(cached
) $ac_c" 1>&6
22752 cat > conftest.$ac_ext <<EOF
22753 #line 22754 "configure
"
22754 #include "confdefs.h
"
22755 #include <sys/stat.h>
22757 struct stat buffer; fstat(0, &buffer); S_ISREG(buffer.st_mode);
22760 if { (eval echo configure:22761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22762 glibcxx_cv_S_ISREG=yes
22764 echo "configure
: failed program was
:" >&5
22765 cat conftest.$ac_ext >&5
22767 glibcxx_cv_S_ISREG=no
22773 if eval "test \"`echo '$''{'glibcxx_cv_S_IFREG'+set}'`\" = set"; then
22774 echo $ac_n "(cached
) $ac_c" 1>&6
22777 cat > conftest.$ac_ext <<EOF
22778 #line 22779 "configure
"
22779 #include "confdefs.h
"
22780 #include <sys/stat.h>
22782 struct stat buffer; fstat(0, &buffer); S_IFREG & buffer.st_mode;
22785 if { (eval echo configure:22786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22787 glibcxx_cv_S_IFREG=yes
22789 echo "configure
: failed program was
:" >&5
22790 cat conftest.$ac_ext >&5
22792 glibcxx_cv_S_IFREG=no
22798 if test x$glibcxx_cv_S_ISREG = xyes; then
22799 cat >> confdefs.h <<\EOF
22800 #define HAVE_S_ISREG 1
22803 elif test x$glibcxx_cv_S_IFREG = xyes; then
22804 cat >> confdefs.h <<\EOF
22805 #define HAVE_S_IFREG 1
22812 for ac_hdr in sys/uio.h
22814 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22815 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
22816 echo "configure
:22817: checking
for $ac_hdr" >&5
22817 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22818 echo $ac_n "(cached
) $ac_c" 1>&6
22820 cat > conftest.$ac_ext <<EOF
22821 #line 22822 "configure
"
22822 #include "confdefs.h
"
22825 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22826 { (eval echo configure:22827: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22827 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22828 if test -z "$ac_err"; then
22830 eval "ac_cv_header_
$ac_safe=yes"
22833 echo "configure
: failed program was
:" >&5
22834 cat conftest.$ac_ext >&5
22836 eval "ac_cv_header_
$ac_safe=no
"
22840 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22841 echo "$ac_t""yes" 1>&6
22842 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22843 cat >> confdefs.h <<EOF
22844 #define $ac_tr_hdr 1
22848 echo "$ac_t""no
" 1>&6
22853 if eval "test \"`echo '$''{'glibcxx_cv_WRITEV'+set}'`\" = set"; then
22854 echo $ac_n "(cached
) $ac_c" 1>&6
22857 cat > conftest.$ac_ext <<EOF
22858 #line 22859 "configure
"
22859 #include "confdefs.h
"
22860 #include <sys/uio.h>
22862 struct iovec iov[2]; writev(0, iov, 0);
22865 if { (eval echo configure:22866: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22867 glibcxx_cv_WRITEV=yes
22869 echo "configure
: failed program was
:" >&5
22870 cat conftest.$ac_ext >&5
22872 glibcxx_cv_WRITEV=no
22878 if test x$glibcxx_cv_WRITEV = xyes; then
22879 cat >> confdefs.h <<\EOF
22880 #define HAVE_WRITEV 1
22887 ac_safe=`echo "locale.h
" | sed 'y%./+-%__p_%'`
22888 echo $ac_n "checking
for locale.h
""...
$ac_c" 1>&6
22889 echo "configure
:22890: checking
for locale.h
" >&5
22890 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22891 echo $ac_n "(cached
) $ac_c" 1>&6
22893 cat > conftest.$ac_ext <<EOF
22894 #line 22895 "configure
"
22895 #include "confdefs.h
"
22896 #include <locale.h>
22898 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22899 { (eval echo configure:22900: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22900 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22901 if test -z "$ac_err"; then
22903 eval "ac_cv_header_
$ac_safe=yes"
22906 echo "configure
: failed program was
:" >&5
22907 cat conftest.$ac_ext >&5
22909 eval "ac_cv_header_
$ac_safe=no
"
22913 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22914 echo "$ac_t""yes" 1>&6
22916 echo $ac_n "checking
for LC_MESSAGES
""...
$ac_c" 1>&6
22917 echo "configure
:22918: checking
for LC_MESSAGES
" >&5
22918 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
22919 echo $ac_n "(cached
) $ac_c" 1>&6
22921 cat > conftest.$ac_ext <<EOF
22922 #line 22923 "configure
"
22923 #include "confdefs.h
"
22924 #include <locale.h>
22929 if { (eval echo configure:22930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22931 ac_cv_val_LC_MESSAGES=yes
22933 echo "configure
: failed program was
:" >&5
22934 cat conftest.$ac_ext >&5
22936 ac_cv_val_LC_MESSAGES=no
22941 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
22942 if test $ac_cv_val_LC_MESSAGES = yes; then
22943 cat >> confdefs.h <<\EOF
22944 #define HAVE_LC_MESSAGES 1
22950 echo "$ac_t""no
" 1>&6
22955 cat > conftest.$ac_ext <<EOF
22956 #line 22957 "configure
"
22957 #include "confdefs.h
"
22959 #include <setjmp.h>
22962 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
22965 if { (eval echo configure:22966: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22967 cat >> confdefs.h <<\EOF
22968 #define HAVE_SIGSETJMP 1
22973 echo "configure
: failed program was
:" >&5
22974 cat conftest.$ac_ext >&5
22978 for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h
22980 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22981 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
22982 echo "configure
:22983: checking
for $ac_hdr" >&5
22983 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22984 echo $ac_n "(cached
) $ac_c" 1>&6
22986 cat > conftest.$ac_ext <<EOF
22987 #line 22988 "configure
"
22988 #include "confdefs.h
"
22991 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22992 { (eval echo configure:22993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22993 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22994 if test -z "$ac_err"; then
22996 eval "ac_cv_header_
$ac_safe=yes"
22999 echo "configure
: failed program was
:" >&5
23000 cat conftest.$ac_ext >&5
23002 eval "ac_cv_header_
$ac_safe=no
"
23006 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
23007 echo "$ac_t""yes" 1>&6
23008 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
23009 cat >> confdefs.h <<EOF
23010 #define $ac_tr_hdr 1
23014 echo "$ac_t""no
" 1>&6
23018 for ac_func in getpagesize
23020 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
23021 echo "configure
:23022: checking
for $ac_func" >&5
23022 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
23023 echo $ac_n "(cached
) $ac_c" 1>&6
23025 cat > conftest.$ac_ext <<EOF
23026 #line 23027 "configure
"
23027 #include "confdefs.h
"
23028 /* System header to define __stub macros and hopefully few prototypes,
23029 which can conflict with char $ac_func(); below. */
23030 #include <assert.h>
23031 /* Override any gcc2 internal prototype to avoid an error. */
23032 /* We use char because int might match the return type of a gcc2
23033 builtin and then its argument prototype would still apply. */
23038 /* The GNU C library defines this for functions which it implements
23039 to always fail with ENOSYS. Some functions are actually named
23040 something starting with __ and the normal name is an alias. */
23041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23049 if { (eval echo configure:23050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23051 eval "ac_cv_func_
$ac_func=yes"
23053 echo "configure
: failed program was
:" >&5
23054 cat conftest.$ac_ext >&5
23056 eval "ac_cv_func_
$ac_func=no
"
23061 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
23062 echo "$ac_t""yes" 1>&6
23063 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23064 cat >> confdefs.h <<EOF
23065 #define $ac_tr_func 1
23069 echo "$ac_t""no
" 1>&6
23073 echo $ac_n "checking
for working mmap
""...
$ac_c" 1>&6
23074 echo "configure
:23075: checking
for working mmap
" >&5
23075 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
23076 echo $ac_n "(cached
) $ac_c" 1>&6
23078 if test "$cross_compiling" = yes; then
23079 ac_cv_func_mmap_fixed_mapped=no
23081 cat > conftest.$ac_ext <<EOF
23082 #line 23083 "configure
"
23083 #include "confdefs.h
"
23085 /* Thanks to Mike Haertel and Jim Avera for this test.
23086 Here is a matrix of mmap possibilities:
23087 mmap private not fixed
23088 mmap private fixed at somewhere currently unmapped
23089 mmap private fixed at somewhere already mapped
23090 mmap shared not fixed
23091 mmap shared fixed at somewhere currently unmapped
23092 mmap shared fixed at somewhere already mapped
23093 For private mappings, we should verify that changes cannot be read()
23094 back from the file, nor mmap's back from the file at a different
23095 address. (There have been systems where private was not correctly
23096 implemented like the infamous i386 svr4.0, and systems where the
23097 VM page cache was not coherent with the filesystem buffer cache
23098 like early versions of FreeBSD and possibly contemporary NetBSD.)
23099 For shared mappings, we should conversely verify that changes get
23100 propogated back to all the places they're supposed to be.
23102 Grep wants private fixed already mapped.
23103 The main things grep needs to know about mmap are:
23104 * does it exist and is it safe to write into the mmap'd area
23105 * how to use it (BSD variants) */
23106 #include <sys/types.h>
23108 #include <sys/mman.h>
23110 #if HAVE_SYS_TYPES_H
23111 # include <sys/types.h>
23115 # include <stdlib.h>
23118 #if HAVE_SYS_STAT_H
23119 # include <sys/stat.h>
23123 # include <unistd.h>
23126 /* This mess was copied from the GNU getpagesize.h. */
23127 #ifndef HAVE_GETPAGESIZE
23129 /* Assume that all systems that can run configure have sys/param.h. */
23130 # ifndef HAVE_SYS_PARAM_H
23131 # define HAVE_SYS_PARAM_H 1
23134 # ifdef _SC_PAGESIZE
23135 # define getpagesize() sysconf(_SC_PAGESIZE)
23136 # else /* no _SC_PAGESIZE */
23137 # ifdef HAVE_SYS_PARAM_H
23138 # include <sys/param.h>
23139 # ifdef EXEC_PAGESIZE
23140 # define getpagesize() EXEC_PAGESIZE
23141 # else /* no EXEC_PAGESIZE */
23143 # define getpagesize() NBPG * CLSIZE
23146 # endif /* no CLSIZE */
23147 # else /* no NBPG */
23149 # define getpagesize() NBPC
23150 # else /* no NBPC */
23152 # define getpagesize() PAGESIZE
23153 # endif /* PAGESIZE */
23154 # endif /* no NBPC */
23155 # endif /* no NBPG */
23156 # endif /* no EXEC_PAGESIZE */
23157 # else /* no HAVE_SYS_PARAM_H */
23158 # define getpagesize() 8192 /* punt totally */
23159 # endif /* no HAVE_SYS_PARAM_H */
23160 # endif /* no _SC_PAGESIZE */
23162 #endif /* no HAVE_GETPAGESIZE */
23165 extern "C
" { void *malloc(unsigned); }
23173 char *data, *data2, *data3;
23177 pagesize = getpagesize();
23180 * First, make a file with some known garbage in it.
23182 data = malloc(pagesize);
23185 for (i = 0; i < pagesize; ++i)
23186 *(data + i) = rand();
23188 fd = creat("conftestmmap
", 0600);
23191 if (write(fd, data, pagesize) != pagesize)
23196 * Next, try to mmap the file at a fixed address which
23197 * already has something else allocated at it. If we can,
23198 * also make sure that we see the same garbage.
23200 fd = open("conftestmmap
", O_RDWR);
23203 data2 = malloc(2 * pagesize);
23206 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
23207 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
23208 MAP_PRIVATE | MAP_FIXED, fd, 0L))
23210 for (i = 0; i < pagesize; ++i)
23211 if (*(data + i) != *(data2 + i))
23215 * Finally, make sure that changes to the mapped area
23216 * do not percolate back to the file as seen by read().
23217 * (This is a bug on some variants of i386 svr4.0.)
23219 for (i = 0; i < pagesize; ++i)
23220 *(data2 + i) = *(data2 + i) + 1;
23221 data3 = malloc(pagesize);
23224 if (read(fd, data3, pagesize) != pagesize)
23226 for (i = 0; i < pagesize; ++i)
23227 if (*(data + i) != *(data3 + i))
23230 unlink("conftestmmap
");
23235 if { (eval echo configure:23236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
23237 ac_cv_func_mmap_fixed_mapped=yes
23239 echo "configure
: failed program was
:" >&5
23240 cat conftest.$ac_ext >&5
23242 ac_cv_func_mmap_fixed_mapped=no
23249 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
23250 if test $ac_cv_func_mmap_fixed_mapped = yes; then
23251 cat >> confdefs.h <<\EOF
23252 #define HAVE_MMAP 1
23259 # This depends on GLIBCXX_CHECK_LINKER_FEATURES, but without it assumes no.
23260 # Check whether --enable-symvers or --disable-symvers was given.
23261 if test "${enable_symvers+set}" = set; then
23262 enableval="$enable_symvers"
23263 case "$enableval" in
23264 yes) enable_symvers=yes ;;
23265 no) enable_symvers=no ;;
23266 # other names here, just as sanity checks
23267 #gnu|sun|etcetera) enable_symvers=$enableval ;;
23268 gnu) enable_symvers=$enableval ;;
23269 *) { echo "configure
: error
: Unknown argument to enable
/disable symvers
" 1>&2; exit 1; } ;;
23275 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
23276 # don't know enough about $LD to do tricks...
23277 if test x$enable_shared = xno ||
23279 test x$glibcxx_gnu_ld_version = x; then
23283 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
23284 if test $enable_symvers != no; then
23285 echo $ac_n "checking
for shared libgcc
""...
$ac_c" 1>&6
23286 echo "configure
:23287: checking
for shared libgcc
" >&5
23287 ac_save_CFLAGS="$CFLAGS"
23289 cat > conftest.$ac_ext <<EOF
23290 #line 23291 "configure
"
23291 #include "confdefs.h
"
23297 if { (eval echo configure:23298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23299 glibcxx_shared_libgcc=yes
23301 echo "configure
: failed program was
:" >&5
23302 cat conftest.$ac_ext >&5
23304 glibcxx_shared_libgcc=no
23307 CFLAGS="$ac_save_CFLAGS"
23308 echo "$ac_t""$glibcxx_shared_libgcc" 1>&6
23311 # For GNU ld, we need at least this version. The format is described in
23312 # GLIBCXX_CHECK_LINKER_FEATURES above.
23313 glibcxx_min_gnu_ld_version=21400
23315 # Check to see if unspecified "yes" value can win, given results above.
23316 # Change "yes" into either "no
" or a style name.
23317 if test $enable_symvers = yes ; then
23318 if test $with_gnu_ld = yes &&
23319 test $glibcxx_shared_libgcc = yes ;
23321 if test $glibcxx_gnu_ld_version -ge $glibcxx_min_gnu_ld_version ; then
23324 # The right tools, the right setup, but too old. Fallbacks?
23325 echo "configure
: warning
: === Linker version
$glibcxx_gnu_ld_version is too old
for" 1>&2
23326 echo "configure
: warning
: === full symbol versioning support
in this release of GCC.
" 1>&2
23327 echo "configure
: warning
: === You would need to upgrade your binutils to version
" 1>&2
23328 echo "configure
: warning
: === $glibcxx_min_gnu_ld_version or later and rebuild GCC.
" 1>&2
23329 echo "configure
: warning
: === Symbol versioning will be disabled.
" 1>&2
23333 # just fail for now
23334 echo "configure
: warning
: === You have requested some kind of symbol versioning
, but
" 1>&2
23335 echo "configure
: warning
: === either you are not using a supported linker
, or you are
" 1>&2
23336 echo "configure
: warning
: === not building a shared libgcc_s
(which is required
).
" 1>&2
23337 echo "configure
: warning
: === Symbol versioning will be disabled.
" 1>&2
23342 case $enable_symvers in
23344 SYMVER_MAP=config/linker-map.dummy
23347 SYMVER_MAP=config/linker-map.gnu
23348 cat >> confdefs.h <<\EOF
23349 #define _GLIBCXX_SYMVER 1
23359 if test $enable_symvers != no; then
23360 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE=
23361 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE='#'
23363 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE='#'
23364 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE=
23366 echo $ac_n "checking versioning on shared library symbols
""...
$ac_c" 1>&6
23367 echo "configure
:23368: checking versioning on shared library symbols
" >&5
23368 echo "$ac_t""$enable_symvers" 1>&6
23371 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_CROSS_COMPILING.
23374 if test x"$GLIBCXX_IS_CROSS_COMPILING" = xfalse; then
23375 # Do checks for memory limit functions.
23377 setrlimit_have_headers=yes
23378 for ac_hdr in unistd.h sys/time.h sys/resource.h
23380 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
23381 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
23382 echo "configure
:23383: checking
for $ac_hdr" >&5
23383 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
23384 echo $ac_n "(cached
) $ac_c" 1>&6
23386 cat > conftest.$ac_ext <<EOF
23387 #line 23388 "configure
"
23388 #include "confdefs.h
"
23391 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
23392 { (eval echo configure:23393: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
23393 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
23394 if test -z "$ac_err"; then
23396 eval "ac_cv_header_
$ac_safe=yes"
23399 echo "configure
: failed program was
:" >&5
23400 cat conftest.$ac_ext >&5
23402 eval "ac_cv_header_
$ac_safe=no
"
23406 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
23407 echo "$ac_t""yes" 1>&6
23408 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
23409 cat >> confdefs.h <<EOF
23410 #define $ac_tr_hdr 1
23414 echo "$ac_t""no
" 1>&6
23415 setrlimit_have_headers=no
23419 # If don't have the headers, then we can't run the tests now, and we
23420 # won't be seeing any of these during testsuite compilation.
23421 if test $setrlimit_have_headers = yes; then
23422 # Can't do these in a loop, else the resulting syntax is wrong.
23424 cat > conftest.$ac_ext <<EOF
23425 #line 23426 "configure
"
23426 #include "confdefs.h
"
23427 #include <unistd.h>
23428 #include <sys/time.h>
23429 #include <sys/resource.h>
23432 int f = RLIMIT_DATA ;
23435 if { (eval echo configure:23436: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23439 echo "configure
: failed program was
:" >&5
23440 cat conftest.$ac_ext >&5
23445 cat >> confdefs.h <<EOF
23446 #define HAVE_MEMLIMIT_DATA $glibcxx_mresult
23451 cat > conftest.$ac_ext <<EOF
23452 #line 23453 "configure
"
23453 #include "confdefs.h
"
23454 #include <unistd.h>
23455 #include <sys/time.h>
23456 #include <sys/resource.h>
23459 int f = RLIMIT_RSS ;
23462 if { (eval echo configure:23463: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23466 echo "configure
: failed program was
:" >&5
23467 cat conftest.$ac_ext >&5
23472 cat >> confdefs.h <<EOF
23473 #define HAVE_MEMLIMIT_RSS $glibcxx_mresult
23478 cat > conftest.$ac_ext <<EOF
23479 #line 23480 "configure
"
23480 #include "confdefs.h
"
23481 #include <unistd.h>
23482 #include <sys/time.h>
23483 #include <sys/resource.h>
23486 int f = RLIMIT_VMEM ;
23489 if { (eval echo configure:23490: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23493 echo "configure
: failed program was
:" >&5
23494 cat conftest.$ac_ext >&5
23499 cat >> confdefs.h <<EOF
23500 #define HAVE_MEMLIMIT_VMEM $glibcxx_mresult
23505 cat > conftest.$ac_ext <<EOF
23506 #line 23507 "configure
"
23507 #include "confdefs.h
"
23508 #include <unistd.h>
23509 #include <sys/time.h>
23510 #include <sys/resource.h>
23513 int f = RLIMIT_AS ;
23516 if { (eval echo configure:23517: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23520 echo "configure
: failed program was
:" >&5
23521 cat conftest.$ac_ext >&5
23526 cat >> confdefs.h <<EOF
23527 #define HAVE_MEMLIMIT_AS $glibcxx_mresult
23532 # Check for rlimit, setrlimit.
23533 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
23534 echo $ac_n "(cached
) $ac_c" 1>&6
23537 cat > conftest.$ac_ext <<EOF
23538 #line 23539 "configure
"
23539 #include "confdefs.h
"
23540 #include <unistd.h>
23541 #include <sys/time.h>
23542 #include <sys/resource.h>
23545 struct rlimit r; setrlimit(0, &r);
23548 if { (eval echo configure:23549: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23552 echo "configure
: failed program was
:" >&5
23553 cat conftest.$ac_ext >&5
23563 echo $ac_n "checking
for testsuite memory limit support
""...
$ac_c" 1>&6
23564 echo "configure
:23565: checking
for testsuite memory limit support
" >&5
23565 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
23567 cat >> confdefs.h <<\EOF
23568 #define _GLIBCXX_MEM_LIMITS 1
23574 echo "$ac_t""$ac_mem_limits" 1>&6
23577 # Look for setenv, so that extended locale tests can be performed.
23579 echo $ac_n "checking
for setenv declaration
""...
$ac_c" 1>&6
23580 echo "configure
:23581: checking
for setenv declaration
" >&5
23581 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
23582 if eval "test \"`echo '$''{'glibcxx_cv_func_setenv_use'+set}'`\" = set"; then
23583 echo $ac_n "(cached
) $ac_c" 1>&6
23588 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
23589 ac_cpp='$CXXCPP $CPPFLAGS'
23590 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
23591 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23592 cross_compiling=$ac_cv_prog_cxx_cross
23594 cat > conftest.$ac_ext <<EOF
23595 #line 23596 "configure
"
23596 #include "confdefs.h
"
23597 #include <stdlib.h>
23602 if { (eval echo configure:23603: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23604 glibcxx_cv_func_setenv_use=yes
23606 echo "configure
: failed program was
:" >&5
23607 cat conftest.$ac_ext >&5
23609 glibcxx_cv_func_setenv_use=no
23613 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
23614 ac_cpp='$CPP $CPPFLAGS'
23615 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
23616 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23617 cross_compiling=$ac_cv_prog_cc_cross
23623 echo "$ac_t""$glibcxx_cv_func_setenv_use" 1>&6
23624 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
23625 for ac_func in setenv
23627 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
23628 echo "configure
:23629: checking
for $ac_func" >&5
23629 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
23630 echo $ac_n "(cached
) $ac_c" 1>&6
23632 cat > conftest.$ac_ext <<EOF
23633 #line 23634 "configure
"
23634 #include "confdefs.h
"
23635 /* System header to define __stub macros and hopefully few prototypes,
23636 which can conflict with char $ac_func(); below. */
23637 #include <assert.h>
23638 /* Override any gcc2 internal prototype to avoid an error. */
23639 /* We use char because int might match the return type of a gcc2
23640 builtin and then its argument prototype would still apply. */
23645 /* The GNU C library defines this for functions which it implements
23646 to always fail with ENOSYS. Some functions are actually named
23647 something starting with __ and the normal name is an alias. */
23648 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23656 if { (eval echo configure:23657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23658 eval "ac_cv_func_
$ac_func=yes"
23660 echo "configure
: failed program was
:" >&5
23661 cat conftest.$ac_ext >&5
23663 eval "ac_cv_func_
$ac_func=no
"
23668 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
23669 echo "$ac_t""yes" 1>&6
23670 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23671 cat >> confdefs.h <<EOF
23672 #define $ac_tr_func 1
23676 echo "$ac_t""no
" 1>&6
23684 # Export file names for ABI checking.
23685 baseline_dir="${glibcxx_srcdir}/config
/abi
/${abi_baseline_pair}\$
(MULTISUBDIR
)"
23688 # Determine if checking the ABI is desirable.
23689 if test x$enable_symvers = xno; then
23690 enable_abi_check=no
23694 enable_abi_check=no ;;
23696 enable_abi_check=yes ;;
23702 if test "$enable_wchar_t" = yes; then
23703 GLIBCXX_TEST_WCHAR_T_TRUE=
23704 GLIBCXX_TEST_WCHAR_T_FALSE='#'
23706 GLIBCXX_TEST_WCHAR_T_TRUE='#'
23707 GLIBCXX_TEST_WCHAR_T_FALSE=
23711 if test "$enable_abi_check" = yes; then
23712 GLIBCXX_TEST_ABI_TRUE=
23713 GLIBCXX_TEST_ABI_FALSE='#'
23715 GLIBCXX_TEST_ABI_TRUE='#'
23716 GLIBCXX_TEST_ABI_FALSE=
23720 # Propagate the target-specific source directories through the build chain.
23721 # (Nothing currently uses cpu_include_dir directly; only ATOMICITYH
23722 # uses it, and it only gets used in this file.)
23723 ATOMICITY_INC_SRCDIR=config/${ATOMICITYH}
23724 OS_INC_SRCDIR=config/${os_include_dir}
23725 FPOS_INC_SRCDIR=config/${fpos_include_dir}
23731 # Determine cross-compile flags and all AM_CONDITIONALs.
23735 if test "$CANADIAN" = yes; then
23744 if test "$need_libmath" = yes; then
23745 GLIBCXX_BUILD_LIBMATH_TRUE=
23746 GLIBCXX_BUILD_LIBMATH_FALSE='#'
23748 GLIBCXX_BUILD_LIBMATH_TRUE='#'
23749 GLIBCXX_BUILD_LIBMATH_FALSE=
23752 cat > confcache <<\EOF
23753 # This file is a shell script that caches the results of configure
23754 # tests run on this system so they can be shared between configure
23755 # scripts and configure runs. It is not useful on other systems.
23756 # If it contains results you don't want to keep, you may remove or edit it.
23758 # By default, configure uses ./config.cache as the cache file,
23759 # creating it if it does not exist already. You can give configure
23760 # the --cache-file=FILE option to use a different cache file; that is
23761 # what configure does when it calls configure scripts in
23762 # subdirectories, so they share the cache.
23763 # Giving --cache-file=/dev/null disables caching, for debugging configure.
23764 # config.status only pays attention to the cache file if you give it the
23765 # --recheck option to rerun configure.
23768 # The following way of writing the cache mishandles newlines in values,
23769 # but we know of no workaround that is simple, portable, and efficient.
23770 # So, don't put newlines in cache variables' values.
23771 # Ultrix sh set writes to stderr and can't be redirected directly,
23772 # and sets the high bit in the cache file unless we assign to the vars.
23774 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23776 # `set' does not quote correctly, so add quotes (double-quote substitution
23777 # turns \\\\ into \\, and sed turns \\ into \).
23779 -e "s
/'/'\\\\''/g
" \
23780 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
23783 # `set' quotes correctly as required by POSIX, so do not add quotes.
23784 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
23787 if cmp -s $cache_file confcache; then
23790 if test -w $cache_file; then
23791 echo "updating cache
$cache_file"
23792 cat confcache > $cache_file
23794 echo "not updating unwritable cache
$cache_file"
23800 if test "${multilib}" = "yes"; then
23801 multilib_arg="--enable-multilib"
23806 # Export all the install information
23808 # Assumes glibcxx_builddir, glibcxx_srcdir are alreay set up and
23809 # exported correctly in GLIBCXX_CONFIGURE.
23810 glibcxx_toolexecdir=no
23811 glibcxx_toolexeclibdir=no
23812 glibcxx_prefixdir=${prefix}
23814 # Process the option --with-gxx-include-dir=<path to include-files directory>
23815 echo $ac_n "checking
for --with-gxx-include-dir""...
$ac_c" 1>&6
23816 echo "configure
:23817: checking
for --with-gxx-include-dir" >&5
23817 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
23818 if test "${with_gxx_include_dir+set}" = set; then
23819 withval="$with_gxx_include_dir"
23820 case "${withval}" in
23822 { echo "configure
: error
: Missing directory
for --with-gxx-include-dir" 1>&2; exit 1; }
23829 gxx_include_dir=${withval}
23836 echo "$ac_t""$gxx_include_dir" 1>&6
23838 # Process the option "--enable-version-specific-runtime-libs"
23839 echo $ac_n "checking
for --enable-version-specific-runtime-libs""...
$ac_c" 1>&6
23840 echo "configure
:23841: checking
for --enable-version-specific-runtime-libs" >&5
23841 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
23842 if test "${enable_version_specific_runtime_libs+set}" = set; then
23843 enableval="$enable_version_specific_runtime_libs"
23844 case "$enableval" in
23845 yes) version_specific_libs=yes ;;
23846 no) version_specific_libs=no ;;
23847 *) { echo "configure
: error
: Unknown argument to enable
/disable version-specific libs
" 1>&2; exit 1; };;
23850 version_specific_libs=no
23852 # Option set, now we can test it.
23853 echo "$ac_t""$version_specific_libs" 1>&6
23855 # Default case for install directory for include files.
23856 if test $version_specific_libs = no && test $gxx_include_dir = no; then
23857 gxx_include_dir='$(prefix)'/include/c++/${gcc_version}
23860 # Version-specific runtime libs processing.
23861 if test $version_specific_libs = yes; then
23862 # Need the gcc compiler version to know where to install libraries
23863 # and header files if --enable-version-specific-runtime-libs option
23865 if test x"$gxx_include_dir" = x"no
"; then
23866 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/c++
23868 glibcxx_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
23869 glibcxx_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
23872 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
23873 # Install a library built with a cross compiler in tooldir, not libdir.
23874 if test x"$glibcxx_toolexecdir" = x"no
"; then
23875 if test -n "$with_cross_host" &&
23876 test x"$with_cross_host" != x"no
"; then
23877 glibcxx_toolexecdir='$(exec_prefix)/$(target_alias)'
23878 glibcxx_toolexeclibdir='$(toolexecdir)/lib'
23880 glibcxx_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
23881 glibcxx_toolexeclibdir='$(libdir)'
23883 multi_os_directory=`$CC -print-multi-os-directory`
23884 case $multi_os_directory in
23885 .) ;; # Avoid trailing /.
23886 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
23890 echo $ac_n "checking
for install location
""...
$ac_c" 1>&6
23891 echo "configure
:23892: checking
for install location
" >&5
23892 echo "$ac_t""$gxx_include_dir" 1>&6
23900 # Export all the include and flag information to Makefiles.
23902 # Root level of the build directory include sources.
23903 GLIBCXX_INCLUDES="-I${glibcxx_builddir}/include/${target_alias} -I${glibcxx_builddir}/include
"
23905 # Passed down for canadian crosses.
23906 if test x"$CANADIAN" = xyes; then
23907 TOPLEVEL_INCLUDES='-I$(includedir)'
23910 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
23912 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
23914 # Now, export this to all the little Makefiles....
23921 # Optimization flags that are probably a good idea for thrill-seekers. Just
23922 # uncomment the lines below and make, everything else is ready to go...
23923 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
23927 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings'
23931 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
23932 grep "enable shared
" > /dev/null; then
23933 LIBSUPCXX_PICFLAGS=-prefer-pic
23935 LIBSUPCXX_PICFLAGS=
23939 # Generate the various Makefiles, include files, and scripts.
23940 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am,
23941 # libsupc++/Makefile.am and testsuite/Makefile.am so that multilib installs
23942 # will end up installed in the correct place. To work around this not being
23943 # passed # down from config-ml.in -> top_srcdir/Makefile.am ->
23944 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
23946 cat > confcache <<\EOF
23947 # This file is a shell script that caches the results of configure
23948 # tests run on this system so they can be shared between configure
23949 # scripts and configure runs. It is not useful on other systems.
23950 # If it contains results you don't want to keep, you may remove or edit it.
23952 # By default, configure uses ./config.cache as the cache file,
23953 # creating it if it does not exist already. You can give configure
23954 # the --cache-file=FILE option to use a different cache file; that is
23955 # what configure does when it calls configure scripts in
23956 # subdirectories, so they share the cache.
23957 # Giving --cache-file=/dev/null disables caching, for debugging configure.
23958 # config.status only pays attention to the cache file if you give it the
23959 # --recheck option to rerun configure.
23962 # The following way of writing the cache mishandles newlines in values,
23963 # but we know of no workaround that is simple, portable, and efficient.
23964 # So, don't put newlines in cache variables' values.
23965 # Ultrix sh set writes to stderr and can't be redirected directly,
23966 # and sets the high bit in the cache file unless we assign to the vars.
23968 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23970 # `set' does not quote correctly, so add quotes (double-quote substitution
23971 # turns \\\\ into \\, and sed turns \\ into \).
23973 -e "s
/'/'\\\\''/g
" \
23974 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
23977 # `set' quotes correctly as required by POSIX, so do not add quotes.
23978 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
23981 if cmp -s $cache_file confcache; then
23984 if test -w $cache_file; then
23985 echo "updating cache
$cache_file"
23986 cat confcache > $cache_file
23988 echo "not updating unwritable cache
$cache_file"
23993 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
23995 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
23996 # Let make expand exec_prefix.
23997 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
23999 # Any assignment to VPATH causes Sun make to only execute
24000 # the first set of double-colon rules, so remove it if not needed.
24001 # If there is a colon in the path, we need to keep it.
24002 if test "x
$srcdir" = x.; then
24003 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
24006 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
24008 DEFS=-DHAVE_CONFIG_H
24010 # Without the ".
/", some shells look in PATH for config.status.
24011 : ${CONFIG_STATUS=./config.status}
24013 echo creating $CONFIG_STATUS
24014 rm -f $CONFIG_STATUS
24015 cat > $CONFIG_STATUS <<EOF
24017 # Generated automatically by configure.
24018 # Run this file to recreate the current configuration.
24019 # This directory was configured as follows,
24020 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
24022 # $0 $ac_configure_args
24024 # Compiler output produced by configure, useful for debugging
24025 # configure, is in ./config.log if it exists.
24027 ac_cs_usage="Usage
: $CONFIG_STATUS [--recheck] [--version] [--help]"
24030 case "\
$ac_option" in
24031 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24032 echo "running \
${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
24033 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
24034 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
24035 echo "$CONFIG_STATUS generated by autoconf version
2.13"
24037 -help | --help | --hel | --he | --h)
24038 echo "\
$ac_cs_usage"; exit 0 ;;
24039 *) echo "\
$ac_cs_usage"; exit 1 ;;
24043 ac_given_srcdir=$srcdir
24044 ac_given_INSTALL="$INSTALL"
24046 trap 'rm -fr `echo "Makefile \
24047 include
/Makefile src
/Makefile \
24048 libmath
/Makefile libsupc
++/Makefile \
24049 po
/Makefile testsuite
/Makefile
scripts
/check_survey
scripts
/testsuite_flags config.h
" | sed "s
/:[^
]*//g
"` conftest*; exit 1' 1 2 15
24051 cat >> $CONFIG_STATUS <<EOF
24053 # Protect against being on the right side of a sed subst in config.status.
24054 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
24055 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
24059 s%@CFLAGS@%$CFLAGS%g
24060 s%@CPPFLAGS@%$CPPFLAGS%g
24061 s%@CXXFLAGS@%$CXXFLAGS%g
24062 s%@FFLAGS@%$FFLAGS%g
24064 s%@LDFLAGS@%$LDFLAGS%g
24066 s%@exec_prefix@%$exec_prefix%g
24067 s%@prefix@%$prefix%g
24068 s%@program_transform_name@%$program_transform_name%g
24069 s%@bindir@%$bindir%g
24070 s%@sbindir@%$sbindir%g
24071 s%@libexecdir@%$libexecdir%g
24072 s%@datadir@%$datadir%g
24073 s%@sysconfdir@%$sysconfdir%g
24074 s%@sharedstatedir@%$sharedstatedir%g
24075 s%@localstatedir@%$localstatedir%g
24076 s%@libdir@%$libdir%g
24077 s%@includedir@%$includedir%g
24078 s%@oldincludedir@%$oldincludedir%g
24079 s%@infodir@%$infodir%g
24080 s%@mandir@%$mandir%g
24081 s%@PACKAGE@%$PACKAGE%g
24082 s%@libtool_VERSION@%$libtool_VERSION%g
24083 s%@toplevel_srcdir@%$toplevel_srcdir%g
24085 s%@host_alias@%$host_alias%g
24086 s%@host_cpu@%$host_cpu%g
24087 s%@host_vendor@%$host_vendor%g
24088 s%@host_os@%$host_os%g
24089 s%@target@%$target%g
24090 s%@target_alias@%$target_alias%g
24091 s%@target_cpu@%$target_cpu%g
24092 s%@target_vendor@%$target_vendor%g
24093 s%@target_os@%$target_os%g
24095 s%@build_alias@%$build_alias%g
24096 s%@build_cpu@%$build_cpu%g
24097 s%@build_vendor@%$build_vendor%g
24098 s%@build_os@%$build_os%g
24099 s%@glibcxx_builddir@%$glibcxx_builddir%g
24100 s%@glibcxx_srcdir@%$glibcxx_srcdir%g
24103 s%@glibcxx_basedir@%$glibcxx_basedir%g
24105 s%@glibcxx_CXX@%$glibcxx_CXX%g
24108 s%@RANLIB@%$RANLIB%g
24109 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
24110 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
24111 s%@INSTALL_DATA@%$INSTALL_DATA%g
24112 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
24113 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
24115 s%@EXEEXT@%$EXEEXT%g
24116 s%@VERSION@%$VERSION%g
24117 s%@ACLOCAL@%$ACLOCAL%g
24118 s%@AUTOCONF@%$AUTOCONF%g
24119 s%@AUTOMAKE@%$AUTOMAKE%g
24120 s%@AUTOHEADER@%$AUTOHEADER%g
24121 s%@MAKEINFO@%$MAKEINFO%g
24122 s%@SET_MAKE@%$SET_MAKE%g
24123 s%@OBJEXT@%$OBJEXT%g
24125 s%@LIBTOOL@%$LIBTOOL%g
24126 s%@CXXCPP@%$CXXCPP%g
24127 s%@enable_shared@%$enable_shared%g
24128 s%@enable_static@%$enable_static%g
24129 s%@ifGNUmake@%$ifGNUmake%g
24130 s%@LIBUNWIND_FLAG@%$LIBUNWIND_FLAG%g
24131 s%@GLIBCXX_BUILD_PCH_TRUE@%$GLIBCXX_BUILD_PCH_TRUE%g
24132 s%@GLIBCXX_BUILD_PCH_FALSE@%$GLIBCXX_BUILD_PCH_FALSE%g
24133 s%@glibcxx_PCHFLAGS@%$glibcxx_PCHFLAGS%g
24134 s%@CSTDIO_H@%$CSTDIO_H%g
24135 s%@FPOS_H@%$FPOS_H%g
24136 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
24137 s%@BASIC_FILE_CC@%$BASIC_FILE_CC%g
24139 s%@check_msgfmt@%$check_msgfmt%g
24140 s%@glibcxx_MOFILES@%$glibcxx_MOFILES%g
24141 s%@glibcxx_POFILES@%$glibcxx_POFILES%g
24142 s%@glibcxx_localedir@%$glibcxx_localedir%g
24143 s%@USE_NLS@%$USE_NLS%g
24144 s%@CLOCALE_H@%$CLOCALE_H%g
24145 s%@CCODECVT_H@%$CCODECVT_H%g
24146 s%@CMESSAGES_H@%$CMESSAGES_H%g
24147 s%@CCODECVT_CC@%$CCODECVT_CC%g
24148 s%@CCOLLATE_CC@%$CCOLLATE_CC%g
24149 s%@CCTYPE_CC@%$CCTYPE_CC%g
24150 s%@CMESSAGES_CC@%$CMESSAGES_CC%g
24151 s%@CMONEY_CC@%$CMONEY_CC%g
24152 s%@CNUMERIC_CC@%$CNUMERIC_CC%g
24153 s%@CTIME_H@%$CTIME_H%g
24154 s%@CTIME_CC@%$CTIME_CC%g
24155 s%@CLOCALE_CC@%$CLOCALE_CC%g
24156 s%@CLOCALE_INTERNAL_H@%$CLOCALE_INTERNAL_H%g
24157 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
24158 s%@GLIBCXX_C_HEADERS_C_TRUE@%$GLIBCXX_C_HEADERS_C_TRUE%g
24159 s%@GLIBCXX_C_HEADERS_C_FALSE@%$GLIBCXX_C_HEADERS_C_FALSE%g
24160 s%@GLIBCXX_C_HEADERS_C_STD_TRUE@%$GLIBCXX_C_HEADERS_C_STD_TRUE%g
24161 s%@GLIBCXX_C_HEADERS_C_STD_FALSE@%$GLIBCXX_C_HEADERS_C_STD_FALSE%g
24162 s%@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@%$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE%g
24163 s%@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@%$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE%g
24164 s%@glibcxx_thread_h@%$glibcxx_thread_h%g
24165 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
24166 s%@GLIBCXX_BUILD_DEBUG_TRUE@%$GLIBCXX_BUILD_DEBUG_TRUE%g
24167 s%@GLIBCXX_BUILD_DEBUG_FALSE@%$GLIBCXX_BUILD_DEBUG_FALSE%g
24168 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
24169 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
24170 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
24171 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
24172 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
24173 s%@WERROR@%$WERROR%g
24174 s%@SYMVER_MAP@%$SYMVER_MAP%g
24175 s%@port_specific_symbol_files@%$port_specific_symbol_files%g
24176 s%@GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE%g
24177 s%@GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE%g
24178 s%@baseline_dir@%$baseline_dir%g
24179 s%@GLIBCXX_TEST_WCHAR_T_TRUE@%$GLIBCXX_TEST_WCHAR_T_TRUE%g
24180 s%@GLIBCXX_TEST_WCHAR_T_FALSE@%$GLIBCXX_TEST_WCHAR_T_FALSE%g
24181 s%@GLIBCXX_TEST_ABI_TRUE@%$GLIBCXX_TEST_ABI_TRUE%g
24182 s%@GLIBCXX_TEST_ABI_FALSE@%$GLIBCXX_TEST_ABI_FALSE%g
24183 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
24184 s%@FPOS_INC_SRCDIR@%$FPOS_INC_SRCDIR%g
24185 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
24186 s%@GLIBCXX_IS_CROSS_COMPILING@%$GLIBCXX_IS_CROSS_COMPILING%g
24187 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
24188 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
24189 s%@GLIBCXX_BUILD_LIBMATH_TRUE@%$GLIBCXX_BUILD_LIBMATH_TRUE%g
24190 s%@GLIBCXX_BUILD_LIBMATH_FALSE@%$GLIBCXX_BUILD_LIBMATH_FALSE%g
24191 s%@glibcxx_prefixdir@%$glibcxx_prefixdir%g
24192 s%@gxx_include_dir@%$gxx_include_dir%g
24193 s%@glibcxx_toolexecdir@%$glibcxx_toolexecdir%g
24194 s%@glibcxx_toolexeclibdir@%$glibcxx_toolexeclibdir%g
24195 s%@GLIBCXX_INCLUDES@%$GLIBCXX_INCLUDES%g
24196 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
24197 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
24198 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
24199 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
24200 s%@WARN_FLAGS@%$WARN_FLAGS%g
24201 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
24206 cat >> $CONFIG_STATUS <<\EOF
24208 # Split the substitutions into bite-sized pieces for seds with
24209 # small command number limits, like on Digital OSF/1 and HP-UX.
24210 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
24211 ac_file=1 # Number of current file.
24212 ac_beg=1 # First line for current file.
24213 ac_end=$ac_max_sed_cmds # Line after last line for current file.
24216 while $ac_more_lines; do
24217 if test $ac_beg -gt 1; then
24218 sed "1,${ac_beg}d
; ${ac_end}q
" conftest.subs > conftest.s$ac_file
24220 sed "${ac_end}q
" conftest.subs > conftest.s$ac_file
24222 if test ! -s conftest.s$ac_file; then
24223 ac_more_lines=false
24224 rm -f conftest.s$ac_file
24226 if test -z "$ac_sed_cmds"; then
24227 ac_sed_cmds="sed -f conftest.s
$ac_file"
24229 ac_sed_cmds="$ac_sed_cmds |
sed -f conftest.s
$ac_file"
24231 ac_file=`expr $ac_file + 1`
24233 ac_end=`expr $ac_end + $ac_max_sed_cmds`
24236 if test -z "$ac_sed_cmds"; then
24241 cat >> $CONFIG_STATUS <<EOF
24243 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
24244 include
/Makefile src
/Makefile \
24245 libmath
/Makefile libsupc
++/Makefile \
24246 po
/Makefile testsuite
/Makefile
scripts
/check_survey
scripts
/testsuite_flags
"}
24248 cat >> $CONFIG_STATUS <<\EOF
24249 for ac_file in .. $CONFIG_FILES; do if test "x
$ac_file" != x..; then
24250 # Support "outfile
[:infile
[:infile...
]]", defaulting infile="outfile.
in".
24252 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
24253 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
24254 *) ac_file_in="${ac_file}.
in" ;;
24257 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
24259 # Remove last slash and all that follows it. Not all systems have dirname.
24260 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
24261 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
24262 # The file is in a subdirectory.
24263 test ! -d "$ac_dir" && mkdir "$ac_dir"
24264 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
24265 # A "..
/" for each directory in $ac_dir_suffix.
24266 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
24268 ac_dir_suffix= ac_dots=
24271 case "$ac_given_srcdir" in
24273 if test -z "$ac_dots"; then top_srcdir=.
24274 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
24275 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
24276 *) # Relative path.
24277 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
24278 top_srcdir="$ac_dots$ac_given_srcdir" ;;
24281 case "$ac_given_INSTALL" in
24282 [/$]*) INSTALL="$ac_given_INSTALL" ;;
24283 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
24286 echo creating "$ac_file"
24288 configure_input="Generated automatically from
`echo $ac_file_in|sed 's%.*/%%'` by configure.
"
24290 *Makefile*) ac_comsub="1i
\\
24291 # $configure_input" ;;
24295 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
24297 s%@configure_input@%$configure_input%g
24298 s%@srcdir@%$srcdir%g
24299 s%@top_srcdir@%$top_srcdir%g
24300 s%@INSTALL@%$INSTALL%g
24301 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
24305 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24306 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24308 # ac_d sets the value in "#define NAME VALUE" lines.
24309 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24310 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
24313 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
24314 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24315 ac_uB
='\([ ]\)%\1#\2define\3'
24318 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24319 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24320 ac_eB
='$%\1#\2define\3'
24324 if test "${CONFIG_HEADERS+set}" != set; then
24326 cat >> $CONFIG_STATUS <<EOF
24327 CONFIG_HEADERS="config.h"
24329 cat >> $CONFIG_STATUS <<\EOF
24331 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
24332 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24334 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
24335 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
24336 *) ac_file_in
="${ac_file}.in" ;;
24339 echo creating
$ac_file
24341 rm -f conftest.frag conftest.
in conftest.out
24342 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
24343 cat $ac_file_inputs > conftest.
in
24347 # Transform confdefs.h into a sed script conftest.vals that substitutes
24348 # the proper values into config.h.in to produce config.h. And first:
24349 # Protect against being on the right side of a sed subst in config.status.
24350 # Protect against being in an unquoted here document in config.status.
24351 rm -f conftest.vals
24352 cat > conftest.hdr
<<\EOF
24355 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
24359 sed -n -f conftest.hdr confdefs.h > conftest.vals
24362 # This sed command replaces #undef with comments. This is necessary, for
24363 # example, in the case of _POSIX_SOURCE, which is predefined and required
24364 # on some systems where configure will not decide to define it.
24365 cat >> conftest.vals <<\EOF
24366 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
24369 # Break up conftest.vals because some shells have a limit on
24370 # the size of here documents, and old seds have small limits too.
24372 rm -f conftest.tail
24375 ac_lines=`grep -c . conftest.vals
`
24376 # grep -c gives empty output for an empty file on some AIX systems.
24377 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
24378 # Write a limited-size here document to conftest.frag.
24379 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
24380 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
24382 sed -f conftest.frag conftest.in > conftest.out
24384 mv conftest.out conftest.in
24385 ' >> $CONFIG_STATUS
24386 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
24387 rm -f conftest.vals
24388 mv conftest.tail conftest.vals
24390 rm -f conftest.vals
24392 cat >> $CONFIG_STATUS <<\EOF
24393 rm -f conftest.frag conftest.h
24394 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
24395 cat conftest.in >> conftest.h
24397 if cmp -s $ac_file conftest.h 2>/dev/null; then
24398 echo "$ac_file is unchanged"
24401 # Remove last slash and all that follows it. Not all systems have dirname.
24402 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
24403 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
24404 # The file is in a subdirectory.
24405 test ! -d "$ac_dir" && mkdir "$ac_dir"
24408 mv conftest.h $ac_file
24413 cat >> $CONFIG_STATUS <<EOF
24418 with_target_subdir=${with_target_subdir}
24419 with_build_subdir=${with_build_subdir}
24420 with_multisubdir=${with_multisubdir}
24421 ac_configure_args="${multilib_arg} ${ac_configure_args}"
24422 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
24423 glibcxx_basedir=${glibcxx_basedir}
24426 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
24429 cat >> $CONFIG_STATUS <<\EOF
24430 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
24431 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
24432 if test -n "$CONFIG_FILES"; then
24433 if test -n "${with_build_subdir}" || test -n "${with_target_subdir}"; then
24434 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
24435 # Ony modify Makefiles that are just being created.
24436 case " $CONFIG_FILES" in
24438 ac_file=Makefile . ${glibcxx_basedir}/../config-ml.in
24441 case $CONFIG_FILES in
24443 grep '^MULTISUBDIR =' Makefile >> src/Makefile
24446 case $CONFIG_FILES in
24447 *libsupc++/Makefile*)
24448 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
24451 case $CONFIG_FILES in
24452 *testsuite/Makefile*)
24453 grep '^MULTISUBDIR =' Makefile >> testsuite/Makefile
24458 chmod +x scripts/check_survey
24459 chmod +x scripts/testsuite_flags
24462 chmod +x $CONFIG_STATUS
24463 rm -fr confdefs* $ac_clean_files
24464 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
24468 # Sanity checking & User-visible messages.
24469 # Checks down here, otherwise they get scrolled off before
24470 # the user will notice.
24472 # Trying to get more people to read documentation. Possibly remove
24473 # check and warn all the time. There is no "informational" AC_MSG_
24474 # macro, so these are going to be printed even when --quiet/--silent
24476 if test ! -f stamp-sanity-warned; then
24477 touch stamp-sanity-warned
24479 echo "Please make certain that you read the installation information here:"
24480 echo " faster => ${srcdir}/docs/html/install.html"
24481 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
24483 echo "and the configuration information here:"
24484 echo " faster => ${srcdir}/docs/html/configopts.html"
24485 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
24487 echo "before proceeding with ${_cv_gnu_make_command}."