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 ac_test_CXXFLAGS="${CXXFLAGS+set}"
2830 ac_save_CXXFLAGS="$CXXFLAGS"
2831 CXXFLAGS='-Werror -Winvalid-pch -Wno-deprecated -x c++-header'
2833 echo $ac_n "checking
for compiler that seems to compile .gch files
""...
$ac_c" 1>&6
2834 echo "configure
:2835: checking
for compiler that seems to compile .gch files
" >&5
2835 if test x${pch_comp+set} != xset; then
2836 if eval "test \"`echo '$''{'pch_comp'+set}'`\" = set"; then
2837 echo $ac_n "(cached
) $ac_c" 1>&6
2842 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2843 ac_cpp='$CXXCPP $CPPFLAGS'
2844 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2845 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2846 cross_compiling=$ac_cv_prog_cxx_cross
2848 cat > conftest.$ac_ext <<EOF
2849 #line 2850 "configure
"
2850 #include "confdefs.h
"
2856 if { (eval echo configure:2857: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2860 echo "configure
: failed program was
:" >&5
2861 cat conftest.$ac_ext >&5
2867 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2868 ac_cpp='$CPP $CPPFLAGS'
2869 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2870 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2871 cross_compiling=$ac_cv_prog_cc_cross
2877 echo "$ac_t""$pch_comp" 1>&6
2879 CXXFLAGS="$ac_save_CXXFLAGS"
2882 if test x"$enable_libstdcxx_pch" = xyes && test x"$pch_comp" = xno; then
2886 echo $ac_n "checking
for enabled PCH
""...
$ac_c" 1>&6
2887 echo "configure
:2888: checking
for enabled PCH
" >&5
2888 echo "$ac_t""$enable_libstdcxx_pch" 1>&6
2892 if test "$enable_libstdcxx_pch" = yes; then
2893 GLIBCXX_BUILD_PCH_TRUE=
2894 GLIBCXX_BUILD_PCH_FALSE='#'
2896 GLIBCXX_BUILD_PCH_TRUE='#'
2897 GLIBCXX_BUILD_PCH_FALSE=
2899 if test "$enable_libstdcxx_pch" = yes; then
2900 glibcxx_PCHFLAGS="-include bits
/stdc
++.h
"
2907 # Enable all the variable C++ runtime options.
2908 # NB: C_MBCHAR must come early.
2910 echo $ac_n "checking
for cstdio to use
""...
$ac_c" 1>&6
2911 echo "configure
:2912: checking
for cstdio to use
" >&5
2912 # Check whether --enable-cstdio or --disable-cstdio was given.
2913 if test "${enable_cstdio+set}" = set; then
2914 enableval="$enable_cstdio"
2915 if test x$enable_cstdio = xno; then
2923 enable_cstdio_flag=$enable_cstdio
2925 case x${enable_cstdio_flag} in
2926 xstdio | x | xno | xnone | xyes)
2928 CSTDIO_H=config/io/c_io_stdio.h
2929 BASIC_FILE_H=config/io/basic_file_stdio.h
2930 BASIC_FILE_CC=config/io/basic_file_stdio.cc
2931 echo "$ac_t""stdio
" 1>&6
2934 echo "$enable_cstdio is an unknown io package
" 1>&2
2939 FPOS_H=$fpos_include_dir
2946 echo $ac_n "checking how to run the C preprocessor
""...
$ac_c" 1>&6
2947 echo "configure
:2948: checking how to run the C preprocessor
" >&5
2948 # On Suns, sometimes $CPP names a directory.
2949 if test -n "$CPP" && test -d "$CPP"; then
2952 if test -z "$CPP"; then
2953 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2954 echo $ac_n "(cached
) $ac_c" 1>&6
2956 # This must be in double quotes, not single quotes, because CPP may get
2957 # substituted into the Makefile and "${CC-cc}" will confuse make.
2959 # On the NeXT, cc -E runs the code through the compiler's parser,
2960 # not just through cpp.
2961 cat > conftest.$ac_ext <<EOF
2962 #line 2963 "configure
"
2963 #include "confdefs.h
"
2967 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2968 { (eval echo configure:2969: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2969 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2970 if test -z "$ac_err"; then
2974 echo "configure
: failed program was
:" >&5
2975 cat conftest.$ac_ext >&5
2977 CPP="${CC-cc} -E -traditional-cpp"
2978 cat > conftest.$ac_ext <<EOF
2979 #line 2980 "configure
"
2980 #include "confdefs.h
"
2984 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2985 { (eval echo configure:2986: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2986 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2987 if test -z "$ac_err"; then
2991 echo "configure
: failed program was
:" >&5
2992 cat conftest.$ac_ext >&5
2994 CPP="${CC-cc} -nologo -E"
2995 cat > conftest.$ac_ext <<EOF
2996 #line 2997 "configure
"
2997 #include "confdefs.h
"
3001 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
3002 { (eval echo configure:3003: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3003 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
3004 if test -z "$ac_err"; then
3008 echo "configure
: failed program was
:" >&5
3009 cat conftest.$ac_ext >&5
3018 ac_cv_prog_CPP="$CPP"
3020 CPP="$ac_cv_prog_CPP"
3022 ac_cv_prog_CPP="$CPP"
3024 echo "$ac_t""$CPP" 1>&6
3027 echo $ac_n "checking
for clocale to use
""...
$ac_c" 1>&6
3028 echo "configure
:3029: checking
for clocale to use
" >&5
3029 # Check whether --enable-clocale or --disable-clocale was given.
3030 if test "${enable_clocale+set}" = set; then
3031 enableval="$enable_clocale"
3032 if test x$enable_clocale = xno; then
3040 enable_clocale_flag=$enable_clocale
3042 if test x$enable_clocale_flag = xno; then
3043 case x${target_os} in
3045 cat > conftest.$ac_ext <<EOF
3046 #line 3047 "configure
"
3047 #include "confdefs.h
"
3049 #include <features.h>
3050 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
3055 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
3056 egrep "_GLIBCXX_ok
" >/dev/null 2>&1; then
3058 enable_clocale_flag=gnu
3061 enable_clocale_flag=generic
3066 # Test for bugs early in glibc-2.2.x series
3067 if test x$enable_clocale_flag = xgnu; then
3068 if test "$cross_compiling" = yes; then
3069 enable_clocale_flag=generic
3071 cat > conftest.$ac_ext <<EOF
3072 #line 3073 "configure
"
3073 #include "confdefs.h
"
3075 #define _GNU_SOURCE 1
3078 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
3079 extern __typeof(newlocale) __newlocale;
3080 extern __typeof(duplocale) __duplocale;
3081 extern __typeof(strcoll_l) __strcoll_l;
3085 const char __one[] = "Äuglein Augmen
";
3086 const char __two[] = "Äuglein
";
3091 loc = __newlocale(1 << LC_ALL, "de_DE
", 0);
3092 loc_dup = __duplocale(loc);
3093 i = __strcoll_l(__one, __two, loc);
3094 j = __strcoll_l(__one, __two, loc_dup);
3099 if { (eval echo configure:3100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3101 enable_clocale_flag=gnu
3103 echo "configure
: failed program was
:" >&5
3104 cat conftest.$ac_ext >&5
3106 enable_clocale_flag=generic
3113 # ... at some point put __strxfrm_l tests in as well.
3116 enable_clocale_flag=generic
3121 # Check whether --enable-nls or --disable-nls was given.
3122 if test "${enable_nls+set}" = set; then
3123 enableval="$enable_nls"
3131 case x${enable_clocale_flag} in
3133 echo "$ac_t""generic
" 1>&6
3135 CLOCALE_H=config/locale/generic/c_locale.h
3136 CLOCALE_CC=config/locale/generic/c_locale.cc
3137 CCODECVT_H=config/locale/generic/codecvt_specializations.h
3138 CCODECVT_CC=config/locale/generic/codecvt_members.cc
3139 CCOLLATE_CC=config/locale/generic/collate_members.cc
3140 CCTYPE_CC=config/locale/generic/ctype_members.cc
3141 CMESSAGES_H=config/locale/generic/messages_members.h
3142 CMESSAGES_CC=config/locale/generic/messages_members.cc
3143 CMONEY_CC=config/locale/generic/monetary_members.cc
3144 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3145 CTIME_H=config/locale/generic/time_members.h
3146 CTIME_CC=config/locale/generic/time_members.cc
3147 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
3150 echo "$ac_t""gnu
" 1>&6
3152 # Declare intention to use gettext, and add support for specific
3154 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
3157 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
3158 # Extract the first word of "msgfmt
", so it can be a program name with args.
3159 set dummy msgfmt; ac_word=$2
3160 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
3161 echo "configure
:3162: checking
for $ac_word" >&5
3162 if eval "test \"`echo '$''{'ac_cv_prog_check_msgfmt'+set}'`\" = set"; then
3163 echo $ac_n "(cached
) $ac_c" 1>&6
3165 if test -n "$check_msgfmt"; then
3166 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
3168 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3170 for ac_dir in $ac_dummy; do
3171 test -z "$ac_dir" && ac_dir=.
3172 if test -f $ac_dir/$ac_word; then
3173 ac_cv_prog_check_msgfmt="yes"
3178 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no
"
3181 check_msgfmt="$ac_cv_prog_check_msgfmt"
3182 if test -n "$check_msgfmt"; then
3183 echo "$ac_t""$check_msgfmt" 1>&6
3185 echo "$ac_t""no
" 1>&6
3188 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
3191 # Export the build objects.
3192 for ling in $ALL_LINGUAS; do \
3193 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo
"; \
3194 glibcxx_POFILES="$glibcxx_POFILES $ling.po
"; \
3199 CLOCALE_H=config/locale/gnu/c_locale.h
3200 CLOCALE_CC=config/locale/gnu/c_locale.cc
3201 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3202 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
3203 CCOLLATE_CC=config/locale/gnu/collate_members.cc
3204 CCTYPE_CC=config/locale/gnu/ctype_members.cc
3205 CMESSAGES_H=config/locale/gnu/messages_members.h
3206 CMESSAGES_CC=config/locale/gnu/messages_members.cc
3207 CMONEY_CC=config/locale/gnu/monetary_members.cc
3208 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
3209 CTIME_H=config/locale/gnu/time_members.h
3210 CTIME_CC=config/locale/gnu/time_members.cc
3211 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
3214 echo "$ac_t""IEEE
1003.1" 1>&6
3216 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
3217 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
3218 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3219 CCODECVT_CC=config/locale/generic/codecvt_members.cc
3220 CCOLLATE_CC=config/locale/generic/collate_members.cc
3221 CCTYPE_CC=config/locale/generic/ctype_members.cc
3222 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
3223 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
3224 CMONEY_CC=config/locale/generic/monetary_members.cc
3225 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3226 CTIME_H=config/locale/generic/time_members.h
3227 CTIME_CC=config/locale/generic/time_members.cc
3228 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
3231 echo "$enable_clocale is an unknown locale package
" 1>&2
3236 # This is where the testsuite looks for locale catalogs, using the
3237 # -DLOCALEDIR define during testsuite compilation.
3238 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
3241 # A standalone libintl (e.g., GNU libintl) may be in use.
3242 if test $USE_NLS = yes; then
3243 for ac_hdr in libintl.h
3245 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3246 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
3247 echo "configure
:3248: checking
for $ac_hdr" >&5
3248 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3249 echo $ac_n "(cached
) $ac_c" 1>&6
3251 cat > conftest.$ac_ext <<EOF
3252 #line 3253 "configure
"
3253 #include "confdefs.h
"
3256 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
3257 { (eval echo configure:3258: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3258 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
3259 if test -z "$ac_err"; then
3261 eval "ac_cv_header_
$ac_safe=yes"
3264 echo "configure
: failed program was
:" >&5
3265 cat conftest.$ac_ext >&5
3267 eval "ac_cv_header_
$ac_safe=no
"
3271 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3272 echo "$ac_t""yes" 1>&6
3273 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3274 cat >> confdefs.h <<EOF
3275 #define $ac_tr_hdr 1
3279 echo "$ac_t""no
" 1>&6
3285 echo $ac_n "checking
for library containing
gettext""...
$ac_c" 1>&6
3286 echo "configure
:3287: checking
for library containing
gettext" >&5
3287 if eval "test \"`echo '$''{'ac_cv_search_gettext'+set}'`\" = set"; then
3288 echo $ac_n "(cached
) $ac_c" 1>&6
3290 ac_func_search_save_LIBS="$LIBS"
3291 ac_cv_search_gettext="no
"
3292 cat > conftest.$ac_ext <<EOF
3293 #line 3294 "configure
"
3294 #include "confdefs.h
"
3295 /* Override any gcc2 internal prototype to avoid an error. */
3296 /* We use char because int might match the return type of a gcc2
3297 builtin and then its argument prototype would still apply. */
3304 if { (eval echo configure:3305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3306 ac_cv_search_gettext="none required
"
3308 echo "configure
: failed program was
:" >&5
3309 cat conftest.$ac_ext >&5
3312 test "$ac_cv_search_gettext" = "no
" && for i in intl; do
3313 LIBS="-l$i $ac_func_search_save_LIBS"
3314 cat > conftest.$ac_ext <<EOF
3315 #line 3316 "configure
"
3316 #include "confdefs.h
"
3317 /* Override any gcc2 internal prototype to avoid an error. */
3318 /* We use char because int might match the return type of a gcc2
3319 builtin and then its argument prototype would still apply. */
3326 if { (eval echo configure:3327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3328 ac_cv_search_gettext="-l$i"
3331 echo "configure
: failed program was
:" >&5
3332 cat conftest.$ac_ext >&5
3336 LIBS="$ac_func_search_save_LIBS"
3339 echo "$ac_t""$ac_cv_search_gettext" 1>&6
3340 if test "$ac_cv_search_gettext" != "no
"; then
3341 test "$ac_cv_search_gettext" = "none required
" || LIBS="$ac_cv_search_gettext $LIBS"
3347 if test $USE_NLS = yes; then
3348 cat >> confdefs.h <<\EOF
3349 #define _GLIBCXX_USE_NLS 1
3369 echo $ac_n "checking
for c header strategy to use
""...
$ac_c" 1>&6
3370 echo "configure
:3371: checking
for c header strategy to use
" >&5
3371 # Check whether --enable-cheaders or --disable-cheaders was given.
3372 if test "${enable_cheaders+set}" = set; then
3373 enableval="$enable_cheaders"
3375 case "$enableval" in
3380 enable_cheaders=c_std
3382 *) { echo "configure
: error
: Unknown argument to enable
/disable
"C" headers
" 1>&2; exit 1; }
3386 enable_cheaders=c_std
3389 echo "$ac_t""$enable_cheaders" 1>&6
3391 case "$enable_cheaders" in
3393 C_INCLUDE_DIR='${glibcxx_srcdir}/include/c_std'
3396 C_INCLUDE_DIR='${glibcxx_srcdir}/include/c'
3403 if test "$enable_cheaders" = c; then
3404 GLIBCXX_C_HEADERS_C_TRUE=
3405 GLIBCXX_C_HEADERS_C_FALSE='#'
3407 GLIBCXX_C_HEADERS_C_TRUE='#'
3408 GLIBCXX_C_HEADERS_C_FALSE=
3412 if test "$enable_cheaders" = c_std; then
3413 GLIBCXX_C_HEADERS_C_STD_TRUE=
3414 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
3416 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
3417 GLIBCXX_C_HEADERS_C_STD_FALSE=
3421 if test "$c_compatibility" = yes; then
3422 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
3423 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
3425 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
3426 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
3429 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3430 if test "${enable_c_mbchar+set}" = set; then
3431 enableval="$enable_c_mbchar"
3432 case "$enableval" in
3433 yes) enable_c_mbchar=yes ;;
3434 no) enable_c_mbchar=no ;;
3435 *) { echo "configure
: error
: Unknown argument to enable
/disable c-mbchar
" 1>&2; exit 1; } ;;
3442 # Check whether --enable-c99 or --disable-c99 was given.
3443 if test "${enable_c99+set}" = set; then
3444 enableval="$enable_c99"
3445 case "$enableval" in
3446 yes) enable_c99=yes ;;
3447 no) enable_c99=no ;;
3448 *) { echo "configure
: error
: Unknown argument to enable
/disable C99
" 1>&2; exit 1; } ;;
3456 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3457 ac_cpp='$CXXCPP $CPPFLAGS'
3458 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3459 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3460 cross_compiling=$ac_cv_prog_cxx_cross
3463 # Check for the existence of <math.h> functions used if C99 is enabled.
3465 echo $ac_n "checking
for ISO C99 support
in <math.h
>""...
$ac_c" 1>&6
3466 echo "configure
:3467: checking
for ISO C99 support
in <math.h
>" >&5
3467 cat > conftest.$ac_ext <<EOF
3468 #line 3469 "configure
"
3469 #include "confdefs.h
"
3475 if { (eval echo configure:3476: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3478 echo "configure
: failed program was
:" >&5
3479 cat conftest.$ac_ext >&5
3484 cat > conftest.$ac_ext <<EOF
3485 #line 3486 "configure
"
3486 #include "confdefs.h
"
3492 if { (eval echo configure:3493: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3495 echo "configure
: failed program was
:" >&5
3496 cat conftest.$ac_ext >&5
3501 cat > conftest.$ac_ext <<EOF
3502 #line 3503 "configure
"
3503 #include "confdefs.h
"
3509 if { (eval echo configure:3510: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3512 echo "configure
: failed program was
:" >&5
3513 cat conftest.$ac_ext >&5
3518 cat > conftest.$ac_ext <<EOF
3519 #line 3520 "configure
"
3520 #include "confdefs.h
"
3526 if { (eval echo configure:3527: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3529 echo "configure
: failed program was
:" >&5
3530 cat conftest.$ac_ext >&5
3535 cat > conftest.$ac_ext <<EOF
3536 #line 3537 "configure
"
3537 #include "confdefs.h
"
3543 if { (eval echo configure:3544: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3546 echo "configure
: failed program was
:" >&5
3547 cat conftest.$ac_ext >&5
3552 cat > conftest.$ac_ext <<EOF
3553 #line 3554 "configure
"
3554 #include "confdefs.h
"
3560 if { (eval echo configure:3561: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3563 echo "configure
: failed program was
:" >&5
3564 cat conftest.$ac_ext >&5
3569 cat > conftest.$ac_ext <<EOF
3570 #line 3571 "configure
"
3571 #include "confdefs.h
"
3577 if { (eval echo configure:3578: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3580 echo "configure
: failed program was
:" >&5
3581 cat conftest.$ac_ext >&5
3586 cat > conftest.$ac_ext <<EOF
3587 #line 3588 "configure
"
3588 #include "confdefs.h
"
3591 isgreaterequal(0.0,0.0);
3594 if { (eval echo configure:3595: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3597 echo "configure
: failed program was
:" >&5
3598 cat conftest.$ac_ext >&5
3603 cat > conftest.$ac_ext <<EOF
3604 #line 3605 "configure
"
3605 #include "confdefs.h
"
3611 if { (eval echo configure:3612: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3614 echo "configure
: failed program was
:" >&5
3615 cat conftest.$ac_ext >&5
3620 cat > conftest.$ac_ext <<EOF
3621 #line 3622 "configure
"
3622 #include "confdefs.h
"
3625 islessequal(0.0,0.0);
3628 if { (eval echo configure:3629: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3631 echo "configure
: failed program was
:" >&5
3632 cat conftest.$ac_ext >&5
3637 cat > conftest.$ac_ext <<EOF
3638 #line 3639 "configure
"
3639 #include "confdefs.h
"
3642 islessgreater(0.0,0.0);
3645 if { (eval echo configure:3646: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3648 echo "configure
: failed program was
:" >&5
3649 cat conftest.$ac_ext >&5
3654 cat > conftest.$ac_ext <<EOF
3655 #line 3656 "configure
"
3656 #include "confdefs.h
"
3659 isunordered(0.0,0.0);
3662 if { (eval echo configure:3663: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3665 echo "configure
: failed program was
:" >&5
3666 cat conftest.$ac_ext >&5
3671 echo "$ac_t""$ac_c99_math" 1>&6
3673 # Check for the existence in <stdio.h> of vscanf, et. al.
3675 echo $ac_n "checking
for ISO C99 support
in <stdio.h
>""...
$ac_c" 1>&6
3676 echo "configure
:3677: checking
for ISO C99 support
in <stdio.h
>" >&5
3677 cat > conftest.$ac_ext <<EOF
3678 #line 3679 "configure
"
3679 #include "confdefs.h
"
3682 snprintf("12", 0, "%i
");
3685 if { (eval echo configure:3686: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3688 echo "configure
: failed program was
:" >&5
3689 cat conftest.$ac_ext >&5
3694 cat > conftest.$ac_ext <<EOF
3695 #line 3696 "configure
"
3696 #include "confdefs.h
"
3699 void foo(char* fmt, ...)
3700 {va_list args; va_start(args, fmt);
3701 vfscanf(stderr, "%i
", args);}
3706 if { (eval echo configure:3707: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3709 echo "configure
: failed program was
:" >&5
3710 cat conftest.$ac_ext >&5
3715 cat > conftest.$ac_ext <<EOF
3716 #line 3717 "configure
"
3717 #include "confdefs.h
"
3720 void foo(char* fmt, ...)
3721 {va_list args; va_start(args, fmt);
3722 vscanf("%i
", args);}
3727 if { (eval echo configure:3728: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3730 echo "configure
: failed program was
:" >&5
3731 cat conftest.$ac_ext >&5
3736 cat > conftest.$ac_ext <<EOF
3737 #line 3738 "configure
"
3738 #include "confdefs.h
"
3741 void foo(char* fmt, ...)
3742 {va_list args; va_start(args, fmt);
3743 vsnprintf(fmt, 0, "%i
", args);}
3748 if { (eval echo configure:3749: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3751 echo "configure
: failed program was
:" >&5
3752 cat conftest.$ac_ext >&5
3757 cat > conftest.$ac_ext <<EOF
3758 #line 3759 "configure
"
3759 #include "confdefs.h
"
3762 void foo(char* fmt, ...)
3763 {va_list args; va_start(args, fmt);
3764 vsscanf(fmt, "%i
", args);}
3769 if { (eval echo configure:3770: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3772 echo "configure
: failed program was
:" >&5
3773 cat conftest.$ac_ext >&5
3778 echo "$ac_t""$ac_c99_stdio" 1>&6
3780 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3782 echo $ac_n "checking
for lldiv_t declaration
""...
$ac_c" 1>&6
3783 echo "configure
:3784: checking
for lldiv_t declaration
" >&5
3784 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3785 echo $ac_n "(cached
) $ac_c" 1>&6
3788 cat > conftest.$ac_ext <<EOF
3789 #line 3790 "configure
"
3790 #include "confdefs.h
"
3796 if { (eval echo configure:3797: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3800 echo "configure
: failed program was
:" >&5
3801 cat conftest.$ac_ext >&5
3809 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3811 echo $ac_n "checking
for ISO C99 support
in <stdlib.h
>""...
$ac_c" 1>&6
3812 echo "configure
:3813: checking
for ISO C99 support
in <stdlib.h
>" >&5
3813 cat > conftest.$ac_ext <<EOF
3814 #line 3815 "configure
"
3815 #include "confdefs.h
"
3818 char* tmp; strtof("gnu
", &tmp);
3821 if { (eval echo configure:3822: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3824 echo "configure
: failed program was
:" >&5
3825 cat conftest.$ac_ext >&5
3830 cat > conftest.$ac_ext <<EOF
3831 #line 3832 "configure
"
3832 #include "confdefs.h
"
3835 char* tmp; strtold("gnu
", &tmp);
3838 if { (eval echo configure:3839: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3841 echo "configure
: failed program was
:" >&5
3842 cat conftest.$ac_ext >&5
3847 cat > conftest.$ac_ext <<EOF
3848 #line 3849 "configure
"
3849 #include "confdefs.h
"
3855 if { (eval echo configure:3856: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3858 echo "configure
: failed program was
:" >&5
3859 cat conftest.$ac_ext >&5
3864 cat > conftest.$ac_ext <<EOF
3865 #line 3866 "configure
"
3866 #include "confdefs.h
"
3872 if { (eval echo configure:3873: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3875 echo "configure
: failed program was
:" >&5
3876 cat conftest.$ac_ext >&5
3881 cat > conftest.$ac_ext <<EOF
3882 #line 3883 "configure
"
3883 #include "confdefs.h
"
3889 if { (eval echo configure:3890: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3892 echo "configure
: failed program was
:" >&5
3893 cat conftest.$ac_ext >&5
3898 cat > conftest.$ac_ext <<EOF
3899 #line 3900 "configure
"
3900 #include "confdefs.h
"
3906 if { (eval echo configure:3907: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3909 echo "configure
: failed program was
:" >&5
3910 cat conftest.$ac_ext >&5
3915 if test x"$ac_c99_lldiv_t" = x"no
"; then
3918 echo "$ac_t""$ac_c99_stdlib" 1>&6
3920 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3921 # XXX the wchar.h checks should be rolled into the general C99 bits.
3923 echo $ac_n "checking
for additional ISO C99 support
in <wchar.h
>""...
$ac_c" 1>&6
3924 echo "configure
:3925: checking
for additional ISO C99 support
in <wchar.h
>" >&5
3925 cat > conftest.$ac_ext <<EOF
3926 #line 3927 "configure
"
3927 #include "confdefs.h
"
3930 wcstold(L"10.0", NULL);
3933 if { (eval echo configure:3934: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3936 echo "configure
: failed program was
:" >&5
3937 cat conftest.$ac_ext >&5
3942 cat > conftest.$ac_ext <<EOF
3943 #line 3944 "configure
"
3944 #include "confdefs.h
"
3947 wcstoll(L"10", NULL, 10);
3950 if { (eval echo configure:3951: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3953 echo "configure
: failed program was
:" >&5
3954 cat conftest.$ac_ext >&5
3959 cat > conftest.$ac_ext <<EOF
3960 #line 3961 "configure
"
3961 #include "confdefs.h
"
3964 wcstoull(L"10", NULL, 10);
3967 if { (eval echo configure:3968: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3970 echo "configure
: failed program was
:" >&5
3971 cat conftest.$ac_ext >&5
3976 echo "$ac_t""$ac_c99_wchar" 1>&6
3978 echo $ac_n "checking
for enabled ISO C99 support
""...
$ac_c" 1>&6
3979 echo "configure
:3980: checking
for enabled ISO C99 support
" >&5
3980 if test x"$ac_c99_math" = x"no
" ||
3981 test x"$ac_c99_stdio" = x"no
" ||
3982 test x"$ac_c99_stdlib" = x"no
" ||
3983 test x"$ac_c99_wchar" = x"no
"; then
3986 echo "$ac_t""$enable_c99" 1>&6
3988 # Option parsed, now set things appropriately
3989 if test x"$enable_c99" = x"yes"; then
3990 cat >> confdefs.h <<\EOF
3991 #define _GLIBCXX_USE_C99 1
3997 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3998 ac_cpp='$CPP $CPPFLAGS'
3999 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4000 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4001 cross_compiling=$ac_cv_prog_cc_cross
4005 # Check whether --enable-long-long or --disable-long-long was given.
4006 if test "${enable_long_long+set}" = set; then
4007 enableval="$enable_long_long"
4008 case "$enableval" in
4009 yes) enable_long_long=yes ;;
4010 no) enable_long_long=no ;;
4011 *) { echo "configure
: error
: Unknown argument to enable
/disable long long
" 1>&2; exit 1; } ;;
4014 enable_long_long=yes
4019 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4020 ac_cpp='$CXXCPP $CPPFLAGS'
4021 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4022 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4023 cross_compiling=$ac_cv_prog_cxx_cross
4026 echo $ac_n "checking
for enabled long long I
/O support
""...
$ac_c" 1>&6
4027 echo "configure
:4028: checking
for enabled long long I
/O support
" >&5
4028 # iostreams require strtoll, strtoull to compile
4029 cat > conftest.$ac_ext <<EOF
4030 #line 4031 "configure
"
4031 #include "confdefs.h
"
4034 char* tmp; strtoll("gnu
", &tmp, 10);
4037 if { (eval echo configure:4038: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4040 echo "configure
: failed program was
:" >&5
4041 cat conftest.$ac_ext >&5
4046 cat > conftest.$ac_ext <<EOF
4047 #line 4048 "configure
"
4048 #include "confdefs.h
"
4051 char* tmp; strtoull("gnu
", &tmp, 10);
4054 if { (eval echo configure:4055: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4057 echo "configure
: failed program was
:" >&5
4058 cat conftest.$ac_ext >&5
4064 # Option parsed, now set things appropriately
4065 if test x"$enable_long_long" = xyes; then
4066 cat >> confdefs.h <<\EOF
4067 #define _GLIBCXX_USE_LONG_LONG 1
4071 echo "$ac_t""$enable_long_long" 1>&6
4074 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4075 ac_cpp='$CPP $CPPFLAGS'
4076 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4077 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4078 cross_compiling=$ac_cv_prog_cc_cross
4082 echo $ac_n "checking
for thread model used by GCC
""...
$ac_c" 1>&6
4083 echo "configure
:4084: checking
for thread model used by GCC
" >&5
4084 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
4085 echo "$ac_t""$target_thread_file" 1>&6
4087 if test $target_thread_file != single; then
4088 cat >> confdefs.h <<\EOF
4089 #define HAVE_GTHR_DEFAULT 1
4092 cat >> confdefs.h <<\EOF
4093 #define _GLIBCXX_SUPPORTS_WEAK __GXX_WEAK__
4098 glibcxx_thread_h=gthr-$target_thread_file.h
4101 # Check whether --enable-concept-checks or --disable-concept-checks was given.
4102 if test "${enable_concept_checks+set}" = set; then
4103 enableval="$enable_concept_checks"
4104 case "$enableval" in
4105 yes) enable_concept_checks=yes ;;
4106 no) enable_concept_checks=no ;;
4107 *) { echo "configure
: error
: Unknown argument to enable
/disable concept checks
" 1>&2; exit 1; } ;;
4110 enable_concept_checks=no
4112 if test x"$enable_concept_checks" = xyes; then
4113 cat >> confdefs.h <<\EOF
4114 #define _GLIBCXX_CONCEPT_CHECKS 1
4119 echo $ac_n "checking
for extra compiler flags
for building
""...
$ac_c" 1>&6
4120 echo "configure
:4121: checking
for extra compiler flags
for building
" >&5
4121 # Check whether --enable-cxx_flags or --disable-cxx_flags was given.
4122 if test "${enable_cxx_flags+set}" = set; then
4123 enableval="$enable_cxx_flags"
4124 case "x
$enable_cxx_flags" in
4126 { echo "configure
: error
: --enable-cxx-flags needs compiler flags as arguments
" 1>&2; exit 1; } ;;
4128 enable_cxx_flags='' ;;
4130 enable_cxx_flags="$enableval" ;;
4137 if test -n "$enable_cxx_flags"; then
4138 for f in $enable_cxx_flags; do
4142 *) # and we're trying to pass /what/ exactly?
4143 { echo "configure
: error
: compiler flags start with a
-" 1>&2; exit 1; } ;;
4147 EXTRA_CXX_FLAGS="$enable_cxx_flags"
4148 echo "$ac_t""$EXTRA_CXX_FLAGS" 1>&6
4151 # Check whether --enable-libstdcxx_debug or --disable-libstdcxx_debug was given.
4152 if test "${enable_libstdcxx_debug+set}" = set; then
4153 enableval="$enable_libstdcxx_debug"
4154 case "${enableval}" in
4155 yes) enable_libstdcxx_debug=yes ;;
4156 no) enable_libstdcxx_debug=no ;;
4157 *) { echo "configure
: error
: Unknown argument to enable
/disable extra debugging
" 1>&2; exit 1; } ;;
4160 enable_libstdcxx_debug=no
4162 echo $ac_n "checking
for additional debug build
""...
$ac_c" 1>&6
4163 echo "configure
:4164: checking
for additional debug build
" >&5
4164 echo "$ac_t""$enable_libstdcxx_debug" 1>&6
4167 if test "$enable_libstdcxx_debug" = yes; then
4168 GLIBCXX_BUILD_DEBUG_TRUE=
4169 GLIBCXX_BUILD_DEBUG_FALSE='#'
4171 GLIBCXX_BUILD_DEBUG_TRUE='#'
4172 GLIBCXX_BUILD_DEBUG_FALSE=
4175 # Check whether --enable-libstdcxx_debug_flags or --disable-libstdcxx_debug_flags was given.
4176 if test "${enable_libstdcxx_debug_flags+set}" = set; then
4177 enableval="$enable_libstdcxx_debug_flags"
4178 case "${enableval}" in
4180 -*) enable_libstdcxx_debug_flags="${enableval}" ;;
4181 *) { echo "configure
: error
: Unknown argument to extra debugging flags
" 1>&2; exit 1; } ;;
4184 enable_libstdcxx_debug_flags=none
4187 case x"$enable_libstdcxx_debug" in
4189 case "$enable_libstdcxx_debug_flags" in
4191 DEBUG_FLAGS="-g3 -O0";;
4193 DEBUG_FLAGS="${enableval}"
4202 echo $ac_n "checking
for debug build flags
""...
$ac_c" 1>&6
4203 echo "configure
:4204: checking
for debug build flags
" >&5
4204 echo "$ac_t""$DEBUG_FLAGS" 1>&6
4207 # No surprises, no surprises...
4208 if test $ATOMICITYH = cpu/generic ; then
4209 echo "configure
: warning
: No native atomic operations are provided
for this platform.
" 1>&2
4210 if test $target_thread_file = single; then
4211 echo "configure
: warning
: They cannot be faked when thread support is disabled.
" 1>&2
4212 echo "configure
: warning
: Thread-safety of certain classes is not guaranteed.
" 1>&2
4214 echo "configure
: warning
: They will be faked using a mutex.
" 1>&2
4215 echo "configure
: warning
: Performance of certain classes will degrade as a result.
" 1>&2
4220 if test x"$build" != x"$host"; then
4222 # We are being configured with some form of cross compiler.
4223 GLIBCXX_IS_CROSS_COMPILING=true
4225 # This lets us hard-code the functionality we know we'll have in the cross
4226 # target environment. "Let
" is a sugar-coated word placed on an especially
4227 # dull and tedious hack, actually.
4229 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
4230 # that involve linking, can't be used:
4231 # "cannot open sim-crt0.o
"
4232 # "cannot open crt0.o
"
4233 # etc. All this is because there currently exists no unified, consistent
4234 # way for top level CC information to be passed down to target directories:
4235 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
4236 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
4237 # crosses can be removed.
4239 # If Canadian cross, then don't pick up tools from the build directory.
4240 # Used in GLIBCXX_EXPORT_INCLUDES (and nowhere else?).
4241 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host" \
4242 && test x"$build" != x"$target"; then
4248 # Construct crosses by hand, eliminating bits that need ld...
4249 # GLIBCXX_CHECK_COMPILER_FEATURES
4250 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
4251 # GLIBCXX_CHECK_MATH_SUPPORT
4255 os_include_dir="os
/bsd
/freebsd
"
4256 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4257 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4258 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
4261 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4262 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4263 echo "configure
:4264: checking
for $ac_hdr" >&5
4264 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4265 echo $ac_n "(cached
) $ac_c" 1>&6
4267 cat > conftest.$ac_ext <<EOF
4268 #line 4269 "configure
"
4269 #include "confdefs.h
"
4272 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4273 { (eval echo configure:4274: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4274 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4275 if test -z "$ac_err"; then
4277 eval "ac_cv_header_
$ac_safe=yes"
4280 echo "configure
: failed program was
:" >&5
4281 cat conftest.$ac_ext >&5
4283 eval "ac_cv_header_
$ac_safe=no
"
4287 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4288 echo "$ac_t""yes" 1>&6
4289 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4290 cat >> confdefs.h <<EOF
4291 #define $ac_tr_hdr 1
4295 echo "$ac_t""no
" 1>&6
4299 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4302 # If we're not using GNU ld, then there's no point in even trying these
4303 # tests. Check for that first. We should have already tested for gld
4304 # by now (in libtool), but require it now just to be safe...
4305 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4306 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4309 # The name set by libtool depends on the version of libtool. Shame on us
4310 # for depending on an impl detail, but c'est la vie. Older versions used
4311 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4312 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4313 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4314 # set (hence we're using an older libtool), then set it.
4315 if test x${with_gnu_ld+set} != xset; then
4316 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4317 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
4320 with_gnu_ld=$ac_cv_prog_gnu_ld
4324 # Start by getting the version number. I think the libtool test already
4325 # does some of this, but throws away the result.
4327 ldver=`$LD --version 2>/dev/null | head -1 | \
4328 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4330 glibcxx_gnu_ld_version=`echo $ldver | \
4331 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4333 # Set --gc-sections.
4334 if test "$with_gnu_ld" = "notbroken
"; then
4335 # GNU ld it is! Joy and bunny rabbits!
4337 # All these tests are for C++; save the language and the compiler flags.
4338 # Need to do this so that g++ won't try to link in libstdc++
4339 ac_test_CFLAGS="${CFLAGS+set}"
4340 ac_save_CFLAGS="$CFLAGS"
4341 CFLAGS='-x c++ -Wl,--gc-sections'
4343 # Check for -Wl,--gc-sections
4344 # XXX This test is broken at the moment, as symbols required for
4345 # linking are now in libsupc++ (not built yet.....). In addition,
4346 # this test has cored on solaris in the past. In addition,
4347 # --gc-sections doesn't really work at the moment (keeps on discarding
4348 # used sections, first .eh_frame and now some of the glibc sections for
4349 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4350 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
4351 echo "configure
:4352: checking
for ld that supports
-Wl,--gc-sections" >&5
4352 if test "$cross_compiling" = yes; then
4353 ac_sectionLDflags=yes
4355 cat > conftest.$ac_ext <<EOF
4356 #line 4357 "configure
"
4357 #include "confdefs.h
"
4367 if { (eval echo configure:4368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4369 ac_sectionLDflags=yes
4371 echo "configure
: failed program was
:" >&5
4372 cat conftest.$ac_ext >&5
4374 ac_sectionLDflags=no
4379 if test "$ac_test_CFLAGS" = set; then
4380 CFLAGS="$ac_save_CFLAGS"
4382 # this is the suspicious part
4385 if test "$ac_sectionLDflags" = "yes"; then
4386 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4388 echo "$ac_t""$ac_sectionLDflags" 1>&6
4391 # Set linker optimization flags.
4392 if test x"$with_gnu_ld" = x"yes"; then
4393 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4400 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
4401 echo "configure
:4402: checking
for main
in -lm" >&5
4402 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4403 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4404 echo $ac_n "(cached
) $ac_c" 1>&6
4406 ac_save_LIBS="$LIBS"
4408 cat > conftest.$ac_ext <<EOF
4409 #line 4410 "configure
"
4410 #include "confdefs.h
"
4416 if { (eval echo configure:4417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4418 eval "ac_cv_lib_
$ac_lib_var=yes"
4420 echo "configure
: failed program was
:" >&5
4421 cat conftest.$ac_ext >&5
4423 eval "ac_cv_lib_
$ac_lib_var=no
"
4426 LIBS="$ac_save_LIBS"
4429 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4430 echo "$ac_t""yes" 1>&6
4431 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4432 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4433 cat >> confdefs.h <<EOF
4434 #define $ac_tr_lib 1
4440 echo "$ac_t""no
" 1>&6
4443 for ac_func in nan copysignf
4445 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4446 echo "configure
:4447: checking
for $ac_func" >&5
4447 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4448 echo $ac_n "(cached
) $ac_c" 1>&6
4450 cat > conftest.$ac_ext <<EOF
4451 #line 4452 "configure
"
4452 #include "confdefs.h
"
4453 /* System header to define __stub macros and hopefully few prototypes,
4454 which can conflict with char $ac_func(); below. */
4456 /* Override any gcc2 internal prototype to avoid an error. */
4457 /* We use char because int might match the return type of a gcc2
4458 builtin and then its argument prototype would still apply. */
4463 /* The GNU C library defines this for functions which it implements
4464 to always fail with ENOSYS. Some functions are actually named
4465 something starting with __ and the normal name is an alias. */
4466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4474 if { (eval echo configure:4475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4476 eval "ac_cv_func_
$ac_func=yes"
4478 echo "configure
: failed program was
:" >&5
4479 cat conftest.$ac_ext >&5
4481 eval "ac_cv_func_
$ac_func=no
"
4486 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4487 echo "$ac_t""yes" 1>&6
4488 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4489 cat >> confdefs.h <<EOF
4490 #define $ac_tr_func 1
4494 echo "$ac_t""no
" 1>&6
4495 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
4500 for ac_func in __signbit
4502 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4503 echo "configure
:4504: checking
for $ac_func" >&5
4504 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4505 echo $ac_n "(cached
) $ac_c" 1>&6
4507 cat > conftest.$ac_ext <<EOF
4508 #line 4509 "configure
"
4509 #include "confdefs.h
"
4510 /* System header to define __stub macros and hopefully few prototypes,
4511 which can conflict with char $ac_func(); below. */
4513 /* Override any gcc2 internal prototype to avoid an error. */
4514 /* We use char because int might match the return type of a gcc2
4515 builtin and then its argument prototype would still apply. */
4520 /* The GNU C library defines this for functions which it implements
4521 to always fail with ENOSYS. Some functions are actually named
4522 something starting with __ and the normal name is an alias. */
4523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4531 if { (eval echo configure:4532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4533 eval "ac_cv_func_
$ac_func=yes"
4535 echo "configure
: failed program was
:" >&5
4536 cat conftest.$ac_ext >&5
4538 eval "ac_cv_func_
$ac_func=no
"
4543 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4544 echo "$ac_t""yes" 1>&6
4545 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4546 cat >> confdefs.h <<EOF
4547 #define $ac_tr_func 1
4551 echo "$ac_t""no
" 1>&6
4552 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
4556 for ac_func in __signbitf
4558 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4559 echo "configure
:4560: checking
for $ac_func" >&5
4560 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4561 echo $ac_n "(cached
) $ac_c" 1>&6
4563 cat > conftest.$ac_ext <<EOF
4564 #line 4565 "configure
"
4565 #include "confdefs.h
"
4566 /* System header to define __stub macros and hopefully few prototypes,
4567 which can conflict with char $ac_func(); below. */
4569 /* Override any gcc2 internal prototype to avoid an error. */
4570 /* We use char because int might match the return type of a gcc2
4571 builtin and then its argument prototype would still apply. */
4576 /* The GNU C library defines this for functions which it implements
4577 to always fail with ENOSYS. Some functions are actually named
4578 something starting with __ and the normal name is an alias. */
4579 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4587 if { (eval echo configure:4588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4589 eval "ac_cv_func_
$ac_func=yes"
4591 echo "configure
: failed program was
:" >&5
4592 cat conftest.$ac_ext >&5
4594 eval "ac_cv_func_
$ac_func=no
"
4599 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4600 echo "$ac_t""yes" 1>&6
4601 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4602 cat >> confdefs.h <<EOF
4603 #define $ac_tr_func 1
4607 echo "$ac_t""no
" 1>&6
4608 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
4613 if test x$ac_cv_func_copysignl = x"yes"; then
4614 for ac_func in __signbitl
4616 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4617 echo "configure
:4618: checking
for $ac_func" >&5
4618 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4619 echo $ac_n "(cached
) $ac_c" 1>&6
4621 cat > conftest.$ac_ext <<EOF
4622 #line 4623 "configure
"
4623 #include "confdefs.h
"
4624 /* System header to define __stub macros and hopefully few prototypes,
4625 which can conflict with char $ac_func(); below. */
4627 /* Override any gcc2 internal prototype to avoid an error. */
4628 /* We use char because int might match the return type of a gcc2
4629 builtin and then its argument prototype would still apply. */
4634 /* The GNU C library defines this for functions which it implements
4635 to always fail with ENOSYS. Some functions are actually named
4636 something starting with __ and the normal name is an alias. */
4637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4645 if { (eval echo configure:4646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4647 eval "ac_cv_func_
$ac_func=yes"
4649 echo "configure
: failed program was
:" >&5
4650 cat conftest.$ac_ext >&5
4652 eval "ac_cv_func_
$ac_func=no
"
4657 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4658 echo "$ac_t""yes" 1>&6
4659 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4660 cat >> confdefs.h <<EOF
4661 #define $ac_tr_func 1
4665 echo "$ac_t""no
" 1>&6
4666 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
4672 if test -n "$LIBMATHOBJS"; then
4679 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
4680 echo "configure
:4681: checking
for mbstate_t
" >&5
4681 cat > conftest.$ac_ext <<EOF
4682 #line 4683 "configure
"
4683 #include "confdefs.h
"
4686 mbstate_t teststate;
4689 if { (eval echo configure:4690: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4693 echo "configure
: failed program was
:" >&5
4694 cat conftest.$ac_ext >&5
4699 echo "$ac_t""$have_mbstate_t" 1>&6
4700 if test x"$have_mbstate_t" = xyes; then
4701 cat >> confdefs.h <<\EOF
4702 #define HAVE_MBSTATE_T 1
4707 for ac_hdr in wchar.h
4709 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4710 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4711 echo "configure
:4712: checking
for $ac_hdr" >&5
4712 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4713 echo $ac_n "(cached
) $ac_c" 1>&6
4715 cat > conftest.$ac_ext <<EOF
4716 #line 4717 "configure
"
4717 #include "confdefs.h
"
4720 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4721 { (eval echo configure:4722: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4722 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4723 if test -z "$ac_err"; then
4725 eval "ac_cv_header_
$ac_safe=yes"
4728 echo "configure
: failed program was
:" >&5
4729 cat conftest.$ac_ext >&5
4731 eval "ac_cv_header_
$ac_safe=no
"
4735 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4736 echo "$ac_t""yes" 1>&6
4737 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4738 cat >> confdefs.h <<EOF
4739 #define $ac_tr_hdr 1
4743 echo "$ac_t""no
" 1>&6
4748 for ac_hdr in wctype.h
4750 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4751 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4752 echo "configure
:4753: checking
for $ac_hdr" >&5
4753 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4754 echo $ac_n "(cached
) $ac_c" 1>&6
4756 cat > conftest.$ac_ext <<EOF
4757 #line 4758 "configure
"
4758 #include "confdefs.h
"
4761 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4762 { (eval echo configure:4763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4763 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4764 if test -z "$ac_err"; then
4766 eval "ac_cv_header_
$ac_safe=yes"
4769 echo "configure
: failed program was
:" >&5
4770 cat conftest.$ac_ext >&5
4772 eval "ac_cv_header_
$ac_safe=no
"
4776 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4777 echo "$ac_t""yes" 1>&6
4778 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4779 cat >> confdefs.h <<EOF
4780 #define $ac_tr_hdr 1
4784 echo "$ac_t""no
" 1>&6
4790 if test x"$ac_has_wchar_h" = xyes &&
4791 test x"$ac_has_wctype_h" = xyes &&
4792 test x"$enable_c_mbchar" != xno; then
4794 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
4795 echo "configure
:4796: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
4796 cat > conftest.$ac_ext <<EOF
4797 #line 4798 "configure
"
4798 #include "confdefs.h
"
4801 int i = WCHAR_MIN; int j = WCHAR_MAX;
4804 if { (eval echo configure:4805: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4806 has_wchar_minmax=yes
4808 echo "configure
: failed program was
:" >&5
4809 cat conftest.$ac_ext >&5
4814 echo "$ac_t""$has_wchar_minmax" 1>&6
4816 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
4817 echo "configure
:4818: checking
for WEOF
" >&5
4818 cat > conftest.$ac_ext <<EOF
4819 #line 4820 "configure
"
4820 #include "confdefs.h
"
4828 if { (eval echo configure:4829: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4832 echo "configure
: failed program was
:" >&5
4833 cat conftest.$ac_ext >&5
4838 echo "$ac_t""$has_weof" 1>&6
4841 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4843 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4844 echo "configure
:4845: checking
for $ac_func" >&5
4845 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4846 echo $ac_n "(cached
) $ac_c" 1>&6
4848 cat > conftest.$ac_ext <<EOF
4849 #line 4850 "configure
"
4850 #include "confdefs.h
"
4851 /* System header to define __stub macros and hopefully few prototypes,
4852 which can conflict with char $ac_func(); below. */
4854 /* Override any gcc2 internal prototype to avoid an error. */
4855 /* We use char because int might match the return type of a gcc2
4856 builtin and then its argument prototype would still apply. */
4861 /* The GNU C library defines this for functions which it implements
4862 to always fail with ENOSYS. Some functions are actually named
4863 something starting with __ and the normal name is an alias. */
4864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4872 if { (eval echo configure:4873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4874 eval "ac_cv_func_
$ac_func=yes"
4876 echo "configure
: failed program was
:" >&5
4877 cat conftest.$ac_ext >&5
4879 eval "ac_cv_func_
$ac_func=no
"
4884 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4885 echo "$ac_t""yes" 1>&6
4886 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4887 cat >> confdefs.h <<EOF
4888 #define $ac_tr_func 1
4892 echo "$ac_t""no
" 1>&6
4899 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
4900 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4901 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4902 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4903 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4904 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4906 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4907 echo "configure
:4908: checking
for $ac_func" >&5
4908 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4909 echo $ac_n "(cached
) $ac_c" 1>&6
4911 cat > conftest.$ac_ext <<EOF
4912 #line 4913 "configure
"
4913 #include "confdefs.h
"
4914 /* System header to define __stub macros and hopefully few prototypes,
4915 which can conflict with char $ac_func(); below. */
4917 /* Override any gcc2 internal prototype to avoid an error. */
4918 /* We use char because int might match the return type of a gcc2
4919 builtin and then its argument prototype would still apply. */
4924 /* The GNU C library defines this for functions which it implements
4925 to always fail with ENOSYS. Some functions are actually named
4926 something starting with __ and the normal name is an alias. */
4927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4935 if { (eval echo configure:4936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4937 eval "ac_cv_func_
$ac_func=yes"
4939 echo "configure
: failed program was
:" >&5
4940 cat conftest.$ac_ext >&5
4942 eval "ac_cv_func_
$ac_func=no
"
4947 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4948 echo "$ac_t""yes" 1>&6
4949 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4950 cat >> confdefs.h <<EOF
4951 #define $ac_tr_func 1
4955 echo "$ac_t""no
" 1>&6
4962 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
4963 echo "configure
:4964: checking
for ISO C99 wchar_t support
" >&5
4964 if test x"$has_weof" = xyes &&
4965 test x"$has_wchar_minmax" = xyes &&
4966 test x"$ac_wfuncs" = xyes; then
4967 ac_isoC99_wchar_t=yes
4969 ac_isoC99_wchar_t=no
4971 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4973 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
4974 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
4975 echo "configure
:4976: checking
for iconv.h
" >&5
4976 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4977 echo $ac_n "(cached
) $ac_c" 1>&6
4979 cat > conftest.$ac_ext <<EOF
4980 #line 4981 "configure
"
4981 #include "confdefs.h
"
4984 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4985 { (eval echo configure:4986: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4986 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4987 if test -z "$ac_err"; then
4989 eval "ac_cv_header_
$ac_safe=yes"
4992 echo "configure
: failed program was
:" >&5
4993 cat conftest.$ac_ext >&5
4995 eval "ac_cv_header_
$ac_safe=no
"
4999 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5000 echo "$ac_t""yes" 1>&6
5003 echo "$ac_t""no
" 1>&6
5007 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
5008 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
5009 echo "configure
:5010: checking
for langinfo.h
" >&5
5010 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5011 echo $ac_n "(cached
) $ac_c" 1>&6
5013 cat > conftest.$ac_ext <<EOF
5014 #line 5015 "configure
"
5015 #include "confdefs.h
"
5016 #include <langinfo.h>
5018 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5019 { (eval echo configure:5020: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5020 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5021 if test -z "$ac_err"; then
5023 eval "ac_cv_header_
$ac_safe=yes"
5026 echo "configure
: failed program was
:" >&5
5027 cat conftest.$ac_ext >&5
5029 eval "ac_cv_header_
$ac_safe=no
"
5033 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5034 echo "$ac_t""yes" 1>&6
5035 ac_has_langinfo_h=yes
5037 echo "$ac_t""no
" 1>&6
5038 ac_has_langinfo_h=no
5042 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
5043 echo "configure
:5044: checking
for iconv in -liconv" >&5
5044 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5045 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5046 echo $ac_n "(cached
) $ac_c" 1>&6
5048 ac_save_LIBS="$LIBS"
5049 LIBS="-liconv $LIBS"
5050 cat > conftest.$ac_ext <<EOF
5051 #line 5052 "configure
"
5052 #include "confdefs.h
"
5053 /* Override any gcc2 internal prototype to avoid an error. */
5054 /* We use char because int might match the return type of a gcc2
5055 builtin and then its argument prototype would still apply. */
5062 if { (eval echo configure:5063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5064 eval "ac_cv_lib_
$ac_lib_var=yes"
5066 echo "configure
: failed program was
:" >&5
5067 cat conftest.$ac_ext >&5
5069 eval "ac_cv_lib_
$ac_lib_var=no
"
5072 LIBS="$ac_save_LIBS"
5075 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5076 echo "$ac_t""yes" 1>&6
5079 echo "$ac_t""no
" 1>&6
5082 ac_save_LIBS="$LIBS"
5083 LIBS="$LIBS $libiconv"
5085 for ac_func in iconv_open iconv_close iconv nl_langinfo
5087 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5088 echo "configure
:5089: checking
for $ac_func" >&5
5089 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5090 echo $ac_n "(cached
) $ac_c" 1>&6
5092 cat > conftest.$ac_ext <<EOF
5093 #line 5094 "configure
"
5094 #include "confdefs.h
"
5095 /* System header to define __stub macros and hopefully few prototypes,
5096 which can conflict with char $ac_func(); below. */
5098 /* Override any gcc2 internal prototype to avoid an error. */
5099 /* We use char because int might match the return type of a gcc2
5100 builtin and then its argument prototype would still apply. */
5105 /* The GNU C library defines this for functions which it implements
5106 to always fail with ENOSYS. Some functions are actually named
5107 something starting with __ and the normal name is an alias. */
5108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5116 if { (eval echo configure:5117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5118 eval "ac_cv_func_
$ac_func=yes"
5120 echo "configure
: failed program was
:" >&5
5121 cat conftest.$ac_ext >&5
5123 eval "ac_cv_func_
$ac_func=no
"
5128 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5129 echo "$ac_t""yes" 1>&6
5130 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5131 cat >> confdefs.h <<EOF
5132 #define $ac_tr_func 1
5137 echo "$ac_t""no
" 1>&6
5143 LIBS="$ac_save_LIBS"
5145 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
5146 echo "configure
:5147: checking
for XPG2 wchar_t support
" >&5
5147 if test x"$ac_has_iconv_h" = xyes &&
5148 test x"$ac_has_langinfo_h" = xyes &&
5149 test x"$ac_XPG2funcs" = xyes; then
5154 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5156 if test x"$ac_isoC99_wchar_t" = xyes &&
5157 test x"$ac_XPG2_wchar_t" = xyes; then
5158 cat >> confdefs.h <<\EOF
5159 #define _GLIBCXX_USE_WCHAR_T 1
5165 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
5166 echo "configure
:5167: checking
for enabled wchar_t specializations
" >&5
5167 echo "$ac_t""$enable_wchar_t" 1>&6
5169 cat >> confdefs.h <<\EOF
5170 #define HAVE_LC_MESSAGES 1
5173 cat >> confdefs.h <<\EOF
5174 #define HAVE_DRAND48 1
5177 cat >> confdefs.h <<\EOF
5178 #define HAVE_GETPAGESIZE 1
5181 cat >> confdefs.h <<\EOF
5182 #define HAVE_SETENV 1
5185 cat >> confdefs.h <<\EOF
5186 #define HAVE_SIGSETJMP 1
5189 cat >> confdefs.h <<\EOF
5190 #define HAVE_COPYSIGN 1
5193 cat >> confdefs.h <<\EOF
5194 #define HAVE_COPYSIGNF 1
5197 cat >> confdefs.h <<\EOF
5198 #define HAVE_FINITEF 1
5201 cat >> confdefs.h <<\EOF
5202 #define HAVE_FINITE 1
5205 cat >> confdefs.h <<\EOF
5206 #define HAVE_FREXPF 1
5209 cat >> confdefs.h <<\EOF
5210 #define HAVE_HYPOT 1
5213 cat >> confdefs.h <<\EOF
5214 #define HAVE_HYPOTF 1
5217 cat >> confdefs.h <<\EOF
5218 #define HAVE_ISINF 1
5221 cat >> confdefs.h <<\EOF
5222 #define HAVE_ISNAN 1
5225 cat >> confdefs.h <<\EOF
5226 #define HAVE_ISNANF 1
5230 cat >> confdefs.h <<\EOF
5234 cat >> confdefs.h <<\EOF
5235 #define HAVE_ACOSF 1
5238 cat >> confdefs.h <<\EOF
5239 #define HAVE_ASINF 1
5242 cat >> confdefs.h <<\EOF
5243 #define HAVE_ATAN2F 1
5246 cat >> confdefs.h <<\EOF
5247 #define HAVE_ATANF 1
5250 cat >> confdefs.h <<\EOF
5251 #define HAVE_CEILF 1
5254 cat >> confdefs.h <<\EOF
5255 #define HAVE_COPYSIGN 1
5258 cat >> confdefs.h <<\EOF
5259 #define HAVE_COPYSIGNF 1
5262 cat >> confdefs.h <<\EOF
5266 cat >> confdefs.h <<\EOF
5267 #define HAVE_COSHF 1
5270 cat >> confdefs.h <<\EOF
5274 cat >> confdefs.h <<\EOF
5275 #define HAVE_FABSF 1
5278 cat >> confdefs.h <<\EOF
5279 #define HAVE_FLOORF 1
5282 cat >> confdefs.h <<\EOF
5283 #define HAVE_FMODF 1
5286 cat >> confdefs.h <<\EOF
5287 #define HAVE_FREXPF 1
5290 cat >> confdefs.h <<\EOF
5291 #define HAVE_LDEXPF 1
5294 cat >> confdefs.h <<\EOF
5295 #define HAVE_LOG10F 1
5298 cat >> confdefs.h <<\EOF
5302 cat >> confdefs.h <<\EOF
5303 #define HAVE_MODFF 1
5306 cat >> confdefs.h <<\EOF
5310 cat >> confdefs.h <<\EOF
5314 cat >> confdefs.h <<\EOF
5315 #define HAVE_SINHF 1
5318 cat >> confdefs.h <<\EOF
5319 #define HAVE_SQRTF 1
5322 cat >> confdefs.h <<\EOF
5326 cat >> confdefs.h <<\EOF
5327 #define HAVE_TANHF 1
5330 if test x"long_double_math_on_this_cpu
" = x"yes"; then
5331 cat >> confdefs.h <<\EOF
5332 #define HAVE_FINITEL 1
5335 cat >> confdefs.h <<\EOF
5336 #define HAVE_ISINFL 1
5339 cat >> confdefs.h <<\EOF
5340 #define HAVE_ISNANL 1
5346 os_include_dir="os
/hpux
"
5347 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5348 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5349 fp.h locale.h float.h inttypes.h
5351 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5352 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5353 echo "configure
:5354: checking
for $ac_hdr" >&5
5354 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5355 echo $ac_n "(cached
) $ac_c" 1>&6
5357 cat > conftest.$ac_ext <<EOF
5358 #line 5359 "configure
"
5359 #include "confdefs.h
"
5362 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5363 { (eval echo configure:5364: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5364 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5365 if test -z "$ac_err"; then
5367 eval "ac_cv_header_
$ac_safe=yes"
5370 echo "configure
: failed program was
:" >&5
5371 cat conftest.$ac_ext >&5
5373 eval "ac_cv_header_
$ac_safe=no
"
5377 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5378 echo "$ac_t""yes" 1>&6
5379 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5380 cat >> confdefs.h <<EOF
5381 #define $ac_tr_hdr 1
5385 echo "$ac_t""no
" 1>&6
5389 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5392 # If we're not using GNU ld, then there's no point in even trying these
5393 # tests. Check for that first. We should have already tested for gld
5394 # by now (in libtool), but require it now just to be safe...
5395 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5396 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5399 # The name set by libtool depends on the version of libtool. Shame on us
5400 # for depending on an impl detail, but c'est la vie. Older versions used
5401 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
5402 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
5403 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
5404 # set (hence we're using an older libtool), then set it.
5405 if test x${with_gnu_ld+set} != xset; then
5406 if test x${ac_cv_prog_gnu_ld+set} != xset; then
5407 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
5410 with_gnu_ld=$ac_cv_prog_gnu_ld
5414 # Start by getting the version number. I think the libtool test already
5415 # does some of this, but throws away the result.
5417 ldver=`$LD --version 2>/dev/null | head -1 | \
5418 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
5420 glibcxx_gnu_ld_version=`echo $ldver | \
5421 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
5423 # Set --gc-sections.
5424 if test "$with_gnu_ld" = "notbroken
"; then
5425 # GNU ld it is! Joy and bunny rabbits!
5427 # All these tests are for C++; save the language and the compiler flags.
5428 # Need to do this so that g++ won't try to link in libstdc++
5429 ac_test_CFLAGS="${CFLAGS+set}"
5430 ac_save_CFLAGS="$CFLAGS"
5431 CFLAGS='-x c++ -Wl,--gc-sections'
5433 # Check for -Wl,--gc-sections
5434 # XXX This test is broken at the moment, as symbols required for
5435 # linking are now in libsupc++ (not built yet.....). In addition,
5436 # this test has cored on solaris in the past. In addition,
5437 # --gc-sections doesn't really work at the moment (keeps on discarding
5438 # used sections, first .eh_frame and now some of the glibc sections for
5439 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5440 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
5441 echo "configure
:5442: checking
for ld that supports
-Wl,--gc-sections" >&5
5442 if test "$cross_compiling" = yes; then
5443 ac_sectionLDflags=yes
5445 cat > conftest.$ac_ext <<EOF
5446 #line 5447 "configure
"
5447 #include "confdefs.h
"
5457 if { (eval echo configure:5458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5459 ac_sectionLDflags=yes
5461 echo "configure
: failed program was
:" >&5
5462 cat conftest.$ac_ext >&5
5464 ac_sectionLDflags=no
5469 if test "$ac_test_CFLAGS" = set; then
5470 CFLAGS="$ac_save_CFLAGS"
5472 # this is the suspicious part
5475 if test "$ac_sectionLDflags" = "yes"; then
5476 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5478 echo "$ac_t""$ac_sectionLDflags" 1>&6
5481 # Set linker optimization flags.
5482 if test x"$with_gnu_ld" = x"yes"; then
5483 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5490 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
5491 echo "configure
:5492: checking
for main
in -lm" >&5
5492 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5493 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5494 echo $ac_n "(cached
) $ac_c" 1>&6
5496 ac_save_LIBS="$LIBS"
5498 cat > conftest.$ac_ext <<EOF
5499 #line 5500 "configure
"
5500 #include "confdefs.h
"
5506 if { (eval echo configure:5507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5508 eval "ac_cv_lib_
$ac_lib_var=yes"
5510 echo "configure
: failed program was
:" >&5
5511 cat conftest.$ac_ext >&5
5513 eval "ac_cv_lib_
$ac_lib_var=no
"
5516 LIBS="$ac_save_LIBS"
5519 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5520 echo "$ac_t""yes" 1>&6
5521 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5522 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5523 cat >> confdefs.h <<EOF
5524 #define $ac_tr_lib 1
5530 echo "$ac_t""no
" 1>&6
5533 for ac_func in nan copysignf
5535 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5536 echo "configure
:5537: checking
for $ac_func" >&5
5537 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5538 echo $ac_n "(cached
) $ac_c" 1>&6
5540 cat > conftest.$ac_ext <<EOF
5541 #line 5542 "configure
"
5542 #include "confdefs.h
"
5543 /* System header to define __stub macros and hopefully few prototypes,
5544 which can conflict with char $ac_func(); below. */
5546 /* Override any gcc2 internal prototype to avoid an error. */
5547 /* We use char because int might match the return type of a gcc2
5548 builtin and then its argument prototype would still apply. */
5553 /* The GNU C library defines this for functions which it implements
5554 to always fail with ENOSYS. Some functions are actually named
5555 something starting with __ and the normal name is an alias. */
5556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5564 if { (eval echo configure:5565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5566 eval "ac_cv_func_
$ac_func=yes"
5568 echo "configure
: failed program was
:" >&5
5569 cat conftest.$ac_ext >&5
5571 eval "ac_cv_func_
$ac_func=no
"
5576 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5577 echo "$ac_t""yes" 1>&6
5578 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5579 cat >> confdefs.h <<EOF
5580 #define $ac_tr_func 1
5584 echo "$ac_t""no
" 1>&6
5585 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
5590 for ac_func in __signbit
5592 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5593 echo "configure
:5594: checking
for $ac_func" >&5
5594 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5595 echo $ac_n "(cached
) $ac_c" 1>&6
5597 cat > conftest.$ac_ext <<EOF
5598 #line 5599 "configure
"
5599 #include "confdefs.h
"
5600 /* System header to define __stub macros and hopefully few prototypes,
5601 which can conflict with char $ac_func(); below. */
5603 /* Override any gcc2 internal prototype to avoid an error. */
5604 /* We use char because int might match the return type of a gcc2
5605 builtin and then its argument prototype would still apply. */
5610 /* The GNU C library defines this for functions which it implements
5611 to always fail with ENOSYS. Some functions are actually named
5612 something starting with __ and the normal name is an alias. */
5613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5621 if { (eval echo configure:5622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5623 eval "ac_cv_func_
$ac_func=yes"
5625 echo "configure
: failed program was
:" >&5
5626 cat conftest.$ac_ext >&5
5628 eval "ac_cv_func_
$ac_func=no
"
5633 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5634 echo "$ac_t""yes" 1>&6
5635 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5636 cat >> confdefs.h <<EOF
5637 #define $ac_tr_func 1
5641 echo "$ac_t""no
" 1>&6
5642 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
5646 for ac_func in __signbitf
5648 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5649 echo "configure
:5650: checking
for $ac_func" >&5
5650 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5651 echo $ac_n "(cached
) $ac_c" 1>&6
5653 cat > conftest.$ac_ext <<EOF
5654 #line 5655 "configure
"
5655 #include "confdefs.h
"
5656 /* System header to define __stub macros and hopefully few prototypes,
5657 which can conflict with char $ac_func(); below. */
5659 /* Override any gcc2 internal prototype to avoid an error. */
5660 /* We use char because int might match the return type of a gcc2
5661 builtin and then its argument prototype would still apply. */
5666 /* The GNU C library defines this for functions which it implements
5667 to always fail with ENOSYS. Some functions are actually named
5668 something starting with __ and the normal name is an alias. */
5669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5677 if { (eval echo configure:5678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5679 eval "ac_cv_func_
$ac_func=yes"
5681 echo "configure
: failed program was
:" >&5
5682 cat conftest.$ac_ext >&5
5684 eval "ac_cv_func_
$ac_func=no
"
5689 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5690 echo "$ac_t""yes" 1>&6
5691 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5692 cat >> confdefs.h <<EOF
5693 #define $ac_tr_func 1
5697 echo "$ac_t""no
" 1>&6
5698 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
5703 if test x$ac_cv_func_copysignl = x"yes"; then
5704 for ac_func in __signbitl
5706 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5707 echo "configure
:5708: checking
for $ac_func" >&5
5708 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5709 echo $ac_n "(cached
) $ac_c" 1>&6
5711 cat > conftest.$ac_ext <<EOF
5712 #line 5713 "configure
"
5713 #include "confdefs.h
"
5714 /* System header to define __stub macros and hopefully few prototypes,
5715 which can conflict with char $ac_func(); below. */
5717 /* Override any gcc2 internal prototype to avoid an error. */
5718 /* We use char because int might match the return type of a gcc2
5719 builtin and then its argument prototype would still apply. */
5724 /* The GNU C library defines this for functions which it implements
5725 to always fail with ENOSYS. Some functions are actually named
5726 something starting with __ and the normal name is an alias. */
5727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5735 if { (eval echo configure:5736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5737 eval "ac_cv_func_
$ac_func=yes"
5739 echo "configure
: failed program was
:" >&5
5740 cat conftest.$ac_ext >&5
5742 eval "ac_cv_func_
$ac_func=no
"
5747 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5748 echo "$ac_t""yes" 1>&6
5749 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5750 cat >> confdefs.h <<EOF
5751 #define $ac_tr_func 1
5755 echo "$ac_t""no
" 1>&6
5756 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
5762 if test -n "$LIBMATHOBJS"; then
5769 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
5770 echo "configure
:5771: checking
for mbstate_t
" >&5
5771 cat > conftest.$ac_ext <<EOF
5772 #line 5773 "configure
"
5773 #include "confdefs.h
"
5776 mbstate_t teststate;
5779 if { (eval echo configure:5780: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5783 echo "configure
: failed program was
:" >&5
5784 cat conftest.$ac_ext >&5
5789 echo "$ac_t""$have_mbstate_t" 1>&6
5790 if test x"$have_mbstate_t" = xyes; then
5791 cat >> confdefs.h <<\EOF
5792 #define HAVE_MBSTATE_T 1
5797 for ac_hdr in wchar.h
5799 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5800 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5801 echo "configure
:5802: checking
for $ac_hdr" >&5
5802 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5803 echo $ac_n "(cached
) $ac_c" 1>&6
5805 cat > conftest.$ac_ext <<EOF
5806 #line 5807 "configure
"
5807 #include "confdefs.h
"
5810 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5811 { (eval echo configure:5812: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5812 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5813 if test -z "$ac_err"; then
5815 eval "ac_cv_header_
$ac_safe=yes"
5818 echo "configure
: failed program was
:" >&5
5819 cat conftest.$ac_ext >&5
5821 eval "ac_cv_header_
$ac_safe=no
"
5825 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5826 echo "$ac_t""yes" 1>&6
5827 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5828 cat >> confdefs.h <<EOF
5829 #define $ac_tr_hdr 1
5833 echo "$ac_t""no
" 1>&6
5838 for ac_hdr in wctype.h
5840 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5841 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5842 echo "configure
:5843: checking
for $ac_hdr" >&5
5843 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5844 echo $ac_n "(cached
) $ac_c" 1>&6
5846 cat > conftest.$ac_ext <<EOF
5847 #line 5848 "configure
"
5848 #include "confdefs.h
"
5851 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5852 { (eval echo configure:5853: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5853 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5854 if test -z "$ac_err"; then
5856 eval "ac_cv_header_
$ac_safe=yes"
5859 echo "configure
: failed program was
:" >&5
5860 cat conftest.$ac_ext >&5
5862 eval "ac_cv_header_
$ac_safe=no
"
5866 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5867 echo "$ac_t""yes" 1>&6
5868 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5869 cat >> confdefs.h <<EOF
5870 #define $ac_tr_hdr 1
5874 echo "$ac_t""no
" 1>&6
5880 if test x"$ac_has_wchar_h" = xyes &&
5881 test x"$ac_has_wctype_h" = xyes &&
5882 test x"$enable_c_mbchar" != xno; then
5884 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
5885 echo "configure
:5886: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
5886 cat > conftest.$ac_ext <<EOF
5887 #line 5888 "configure
"
5888 #include "confdefs.h
"
5891 int i = WCHAR_MIN; int j = WCHAR_MAX;
5894 if { (eval echo configure:5895: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5896 has_wchar_minmax=yes
5898 echo "configure
: failed program was
:" >&5
5899 cat conftest.$ac_ext >&5
5904 echo "$ac_t""$has_wchar_minmax" 1>&6
5906 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
5907 echo "configure
:5908: checking
for WEOF
" >&5
5908 cat > conftest.$ac_ext <<EOF
5909 #line 5910 "configure
"
5910 #include "confdefs.h
"
5918 if { (eval echo configure:5919: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5922 echo "configure
: failed program was
:" >&5
5923 cat conftest.$ac_ext >&5
5928 echo "$ac_t""$has_weof" 1>&6
5931 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5933 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5934 echo "configure
:5935: checking
for $ac_func" >&5
5935 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5936 echo $ac_n "(cached
) $ac_c" 1>&6
5938 cat > conftest.$ac_ext <<EOF
5939 #line 5940 "configure
"
5940 #include "confdefs.h
"
5941 /* System header to define __stub macros and hopefully few prototypes,
5942 which can conflict with char $ac_func(); below. */
5944 /* Override any gcc2 internal prototype to avoid an error. */
5945 /* We use char because int might match the return type of a gcc2
5946 builtin and then its argument prototype would still apply. */
5951 /* The GNU C library defines this for functions which it implements
5952 to always fail with ENOSYS. Some functions are actually named
5953 something starting with __ and the normal name is an alias. */
5954 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5962 if { (eval echo configure:5963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5964 eval "ac_cv_func_
$ac_func=yes"
5966 echo "configure
: failed program was
:" >&5
5967 cat conftest.$ac_ext >&5
5969 eval "ac_cv_func_
$ac_func=no
"
5974 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5975 echo "$ac_t""yes" 1>&6
5976 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5977 cat >> confdefs.h <<EOF
5978 #define $ac_tr_func 1
5982 echo "$ac_t""no
" 1>&6
5989 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
5990 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5991 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5992 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5993 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5994 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5996 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5997 echo "configure
:5998: checking
for $ac_func" >&5
5998 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5999 echo $ac_n "(cached
) $ac_c" 1>&6
6001 cat > conftest.$ac_ext <<EOF
6002 #line 6003 "configure
"
6003 #include "confdefs.h
"
6004 /* System header to define __stub macros and hopefully few prototypes,
6005 which can conflict with char $ac_func(); below. */
6007 /* Override any gcc2 internal prototype to avoid an error. */
6008 /* We use char because int might match the return type of a gcc2
6009 builtin and then its argument prototype would still apply. */
6014 /* The GNU C library defines this for functions which it implements
6015 to always fail with ENOSYS. Some functions are actually named
6016 something starting with __ and the normal name is an alias. */
6017 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6025 if { (eval echo configure:6026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6027 eval "ac_cv_func_
$ac_func=yes"
6029 echo "configure
: failed program was
:" >&5
6030 cat conftest.$ac_ext >&5
6032 eval "ac_cv_func_
$ac_func=no
"
6037 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6038 echo "$ac_t""yes" 1>&6
6039 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6040 cat >> confdefs.h <<EOF
6041 #define $ac_tr_func 1
6045 echo "$ac_t""no
" 1>&6
6052 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
6053 echo "configure
:6054: checking
for ISO C99 wchar_t support
" >&5
6054 if test x"$has_weof" = xyes &&
6055 test x"$has_wchar_minmax" = xyes &&
6056 test x"$ac_wfuncs" = xyes; then
6057 ac_isoC99_wchar_t=yes
6059 ac_isoC99_wchar_t=no
6061 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6063 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
6064 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
6065 echo "configure
:6066: checking
for iconv.h
" >&5
6066 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6067 echo $ac_n "(cached
) $ac_c" 1>&6
6069 cat > conftest.$ac_ext <<EOF
6070 #line 6071 "configure
"
6071 #include "confdefs.h
"
6074 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6075 { (eval echo configure:6076: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6076 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6077 if test -z "$ac_err"; then
6079 eval "ac_cv_header_
$ac_safe=yes"
6082 echo "configure
: failed program was
:" >&5
6083 cat conftest.$ac_ext >&5
6085 eval "ac_cv_header_
$ac_safe=no
"
6089 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6090 echo "$ac_t""yes" 1>&6
6093 echo "$ac_t""no
" 1>&6
6097 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
6098 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
6099 echo "configure
:6100: checking
for langinfo.h
" >&5
6100 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6101 echo $ac_n "(cached
) $ac_c" 1>&6
6103 cat > conftest.$ac_ext <<EOF
6104 #line 6105 "configure
"
6105 #include "confdefs.h
"
6106 #include <langinfo.h>
6108 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6109 { (eval echo configure:6110: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6110 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6111 if test -z "$ac_err"; then
6113 eval "ac_cv_header_
$ac_safe=yes"
6116 echo "configure
: failed program was
:" >&5
6117 cat conftest.$ac_ext >&5
6119 eval "ac_cv_header_
$ac_safe=no
"
6123 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6124 echo "$ac_t""yes" 1>&6
6125 ac_has_langinfo_h=yes
6127 echo "$ac_t""no
" 1>&6
6128 ac_has_langinfo_h=no
6132 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
6133 echo "configure
:6134: checking
for iconv in -liconv" >&5
6134 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6135 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6136 echo $ac_n "(cached
) $ac_c" 1>&6
6138 ac_save_LIBS="$LIBS"
6139 LIBS="-liconv $LIBS"
6140 cat > conftest.$ac_ext <<EOF
6141 #line 6142 "configure
"
6142 #include "confdefs.h
"
6143 /* Override any gcc2 internal prototype to avoid an error. */
6144 /* We use char because int might match the return type of a gcc2
6145 builtin and then its argument prototype would still apply. */
6152 if { (eval echo configure:6153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6154 eval "ac_cv_lib_
$ac_lib_var=yes"
6156 echo "configure
: failed program was
:" >&5
6157 cat conftest.$ac_ext >&5
6159 eval "ac_cv_lib_
$ac_lib_var=no
"
6162 LIBS="$ac_save_LIBS"
6165 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6166 echo "$ac_t""yes" 1>&6
6169 echo "$ac_t""no
" 1>&6
6172 ac_save_LIBS="$LIBS"
6173 LIBS="$LIBS $libiconv"
6175 for ac_func in iconv_open iconv_close iconv nl_langinfo
6177 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6178 echo "configure
:6179: checking
for $ac_func" >&5
6179 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6180 echo $ac_n "(cached
) $ac_c" 1>&6
6182 cat > conftest.$ac_ext <<EOF
6183 #line 6184 "configure
"
6184 #include "confdefs.h
"
6185 /* System header to define __stub macros and hopefully few prototypes,
6186 which can conflict with char $ac_func(); below. */
6188 /* Override any gcc2 internal prototype to avoid an error. */
6189 /* We use char because int might match the return type of a gcc2
6190 builtin and then its argument prototype would still apply. */
6195 /* The GNU C library defines this for functions which it implements
6196 to always fail with ENOSYS. Some functions are actually named
6197 something starting with __ and the normal name is an alias. */
6198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6206 if { (eval echo configure:6207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6208 eval "ac_cv_func_
$ac_func=yes"
6210 echo "configure
: failed program was
:" >&5
6211 cat conftest.$ac_ext >&5
6213 eval "ac_cv_func_
$ac_func=no
"
6218 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6219 echo "$ac_t""yes" 1>&6
6220 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6221 cat >> confdefs.h <<EOF
6222 #define $ac_tr_func 1
6227 echo "$ac_t""no
" 1>&6
6233 LIBS="$ac_save_LIBS"
6235 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
6236 echo "configure
:6237: checking
for XPG2 wchar_t support
" >&5
6237 if test x"$ac_has_iconv_h" = xyes &&
6238 test x"$ac_has_langinfo_h" = xyes &&
6239 test x"$ac_XPG2funcs" = xyes; then
6244 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6246 if test x"$ac_isoC99_wchar_t" = xyes &&
6247 test x"$ac_XPG2_wchar_t" = xyes; then
6248 cat >> confdefs.h <<\EOF
6249 #define _GLIBCXX_USE_WCHAR_T 1
6255 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
6256 echo "configure
:6257: checking
for enabled wchar_t specializations
" >&5
6257 echo "$ac_t""$enable_wchar_t" 1>&6
6259 cat >> confdefs.h <<\EOF
6260 #define HAVE_COPYSIGN 1
6263 cat >> confdefs.h <<\EOF
6264 #define HAVE_COPYSIGNF 1
6267 cat >> confdefs.h <<\EOF
6268 #define HAVE_FREXPF 1
6271 cat >> confdefs.h <<\EOF
6272 #define HAVE_HYPOT 1
6277 cat >> confdefs.h <<\EOF
6278 #define HAVE_FINITE 1
6281 cat >> confdefs.h <<\EOF
6282 #define HAVE_FINITEF 1
6285 cat >> confdefs.h <<\EOF
6286 #define HAVE_ISINF 1
6289 cat >> confdefs.h <<\EOF
6290 #define HAVE_ISINFF 1
6293 cat >> confdefs.h <<\EOF
6294 #define HAVE_ISNAN 1
6297 cat >> confdefs.h <<\EOF
6298 #define HAVE_ISNANF 1
6305 os_include_dir="os
/gnu-linux
"
6306 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
6307 machine/endian.h machine/param.h sys/machine.h sys/types.h \
6308 fp.h locale.h float.h inttypes.h
6310 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6311 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6312 echo "configure
:6313: checking
for $ac_hdr" >&5
6313 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6314 echo $ac_n "(cached
) $ac_c" 1>&6
6316 cat > conftest.$ac_ext <<EOF
6317 #line 6318 "configure
"
6318 #include "confdefs.h
"
6321 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6322 { (eval echo configure:6323: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6323 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6324 if test -z "$ac_err"; then
6326 eval "ac_cv_header_
$ac_safe=yes"
6329 echo "configure
: failed program was
:" >&5
6330 cat conftest.$ac_ext >&5
6332 eval "ac_cv_header_
$ac_safe=no
"
6336 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6337 echo "$ac_t""yes" 1>&6
6338 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6339 cat >> confdefs.h <<EOF
6340 #define $ac_tr_hdr 1
6344 echo "$ac_t""no
" 1>&6
6348 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6351 # If we're not using GNU ld, then there's no point in even trying these
6352 # tests. Check for that first. We should have already tested for gld
6353 # by now (in libtool), but require it now just to be safe...
6354 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6355 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6358 # The name set by libtool depends on the version of libtool. Shame on us
6359 # for depending on an impl detail, but c'est la vie. Older versions used
6360 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6361 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6362 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6363 # set (hence we're using an older libtool), then set it.
6364 if test x${with_gnu_ld+set} != xset; then
6365 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6366 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
6369 with_gnu_ld=$ac_cv_prog_gnu_ld
6373 # Start by getting the version number. I think the libtool test already
6374 # does some of this, but throws away the result.
6376 ldver=`$LD --version 2>/dev/null | head -1 | \
6377 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6379 glibcxx_gnu_ld_version=`echo $ldver | \
6380 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6382 # Set --gc-sections.
6383 if test "$with_gnu_ld" = "notbroken
"; then
6384 # GNU ld it is! Joy and bunny rabbits!
6386 # All these tests are for C++; save the language and the compiler flags.
6387 # Need to do this so that g++ won't try to link in libstdc++
6388 ac_test_CFLAGS="${CFLAGS+set}"
6389 ac_save_CFLAGS="$CFLAGS"
6390 CFLAGS='-x c++ -Wl,--gc-sections'
6392 # Check for -Wl,--gc-sections
6393 # XXX This test is broken at the moment, as symbols required for
6394 # linking are now in libsupc++ (not built yet.....). In addition,
6395 # this test has cored on solaris in the past. In addition,
6396 # --gc-sections doesn't really work at the moment (keeps on discarding
6397 # used sections, first .eh_frame and now some of the glibc sections for
6398 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6399 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
6400 echo "configure
:6401: checking
for ld that supports
-Wl,--gc-sections" >&5
6401 if test "$cross_compiling" = yes; then
6402 ac_sectionLDflags=yes
6404 cat > conftest.$ac_ext <<EOF
6405 #line 6406 "configure
"
6406 #include "confdefs.h
"
6416 if { (eval echo configure:6417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6418 ac_sectionLDflags=yes
6420 echo "configure
: failed program was
:" >&5
6421 cat conftest.$ac_ext >&5
6423 ac_sectionLDflags=no
6428 if test "$ac_test_CFLAGS" = set; then
6429 CFLAGS="$ac_save_CFLAGS"
6431 # this is the suspicious part
6434 if test "$ac_sectionLDflags" = "yes"; then
6435 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6437 echo "$ac_t""$ac_sectionLDflags" 1>&6
6440 # Set linker optimization flags.
6441 if test x"$with_gnu_ld" = x"yes"; then
6442 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6449 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
6450 echo "configure
:6451: checking
for main
in -lm" >&5
6451 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
6452 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6453 echo $ac_n "(cached
) $ac_c" 1>&6
6455 ac_save_LIBS="$LIBS"
6457 cat > conftest.$ac_ext <<EOF
6458 #line 6459 "configure
"
6459 #include "confdefs.h
"
6465 if { (eval echo configure:6466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6467 eval "ac_cv_lib_
$ac_lib_var=yes"
6469 echo "configure
: failed program was
:" >&5
6470 cat conftest.$ac_ext >&5
6472 eval "ac_cv_lib_
$ac_lib_var=no
"
6475 LIBS="$ac_save_LIBS"
6478 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6479 echo "$ac_t""yes" 1>&6
6480 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6481 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6482 cat >> confdefs.h <<EOF
6483 #define $ac_tr_lib 1
6489 echo "$ac_t""no
" 1>&6
6492 for ac_func in nan copysignf
6494 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6495 echo "configure
:6496: checking
for $ac_func" >&5
6496 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6497 echo $ac_n "(cached
) $ac_c" 1>&6
6499 cat > conftest.$ac_ext <<EOF
6500 #line 6501 "configure
"
6501 #include "confdefs.h
"
6502 /* System header to define __stub macros and hopefully few prototypes,
6503 which can conflict with char $ac_func(); below. */
6505 /* Override any gcc2 internal prototype to avoid an error. */
6506 /* We use char because int might match the return type of a gcc2
6507 builtin and then its argument prototype would still apply. */
6512 /* The GNU C library defines this for functions which it implements
6513 to always fail with ENOSYS. Some functions are actually named
6514 something starting with __ and the normal name is an alias. */
6515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6523 if { (eval echo configure:6524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6525 eval "ac_cv_func_
$ac_func=yes"
6527 echo "configure
: failed program was
:" >&5
6528 cat conftest.$ac_ext >&5
6530 eval "ac_cv_func_
$ac_func=no
"
6535 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6536 echo "$ac_t""yes" 1>&6
6537 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6538 cat >> confdefs.h <<EOF
6539 #define $ac_tr_func 1
6543 echo "$ac_t""no
" 1>&6
6544 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
6549 for ac_func in __signbit
6551 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6552 echo "configure
:6553: checking
for $ac_func" >&5
6553 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6554 echo $ac_n "(cached
) $ac_c" 1>&6
6556 cat > conftest.$ac_ext <<EOF
6557 #line 6558 "configure
"
6558 #include "confdefs.h
"
6559 /* System header to define __stub macros and hopefully few prototypes,
6560 which can conflict with char $ac_func(); below. */
6562 /* Override any gcc2 internal prototype to avoid an error. */
6563 /* We use char because int might match the return type of a gcc2
6564 builtin and then its argument prototype would still apply. */
6569 /* The GNU C library defines this for functions which it implements
6570 to always fail with ENOSYS. Some functions are actually named
6571 something starting with __ and the normal name is an alias. */
6572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6580 if { (eval echo configure:6581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6582 eval "ac_cv_func_
$ac_func=yes"
6584 echo "configure
: failed program was
:" >&5
6585 cat conftest.$ac_ext >&5
6587 eval "ac_cv_func_
$ac_func=no
"
6592 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6593 echo "$ac_t""yes" 1>&6
6594 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6595 cat >> confdefs.h <<EOF
6596 #define $ac_tr_func 1
6600 echo "$ac_t""no
" 1>&6
6601 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
6605 for ac_func in __signbitf
6607 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6608 echo "configure
:6609: checking
for $ac_func" >&5
6609 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6610 echo $ac_n "(cached
) $ac_c" 1>&6
6612 cat > conftest.$ac_ext <<EOF
6613 #line 6614 "configure
"
6614 #include "confdefs.h
"
6615 /* System header to define __stub macros and hopefully few prototypes,
6616 which can conflict with char $ac_func(); below. */
6618 /* Override any gcc2 internal prototype to avoid an error. */
6619 /* We use char because int might match the return type of a gcc2
6620 builtin and then its argument prototype would still apply. */
6625 /* The GNU C library defines this for functions which it implements
6626 to always fail with ENOSYS. Some functions are actually named
6627 something starting with __ and the normal name is an alias. */
6628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6636 if { (eval echo configure:6637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6638 eval "ac_cv_func_
$ac_func=yes"
6640 echo "configure
: failed program was
:" >&5
6641 cat conftest.$ac_ext >&5
6643 eval "ac_cv_func_
$ac_func=no
"
6648 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6649 echo "$ac_t""yes" 1>&6
6650 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6651 cat >> confdefs.h <<EOF
6652 #define $ac_tr_func 1
6656 echo "$ac_t""no
" 1>&6
6657 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
6662 if test x$ac_cv_func_copysignl = x"yes"; then
6663 for ac_func in __signbitl
6665 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6666 echo "configure
:6667: checking
for $ac_func" >&5
6667 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6668 echo $ac_n "(cached
) $ac_c" 1>&6
6670 cat > conftest.$ac_ext <<EOF
6671 #line 6672 "configure
"
6672 #include "confdefs.h
"
6673 /* System header to define __stub macros and hopefully few prototypes,
6674 which can conflict with char $ac_func(); below. */
6676 /* Override any gcc2 internal prototype to avoid an error. */
6677 /* We use char because int might match the return type of a gcc2
6678 builtin and then its argument prototype would still apply. */
6683 /* The GNU C library defines this for functions which it implements
6684 to always fail with ENOSYS. Some functions are actually named
6685 something starting with __ and the normal name is an alias. */
6686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6694 if { (eval echo configure:6695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6696 eval "ac_cv_func_
$ac_func=yes"
6698 echo "configure
: failed program was
:" >&5
6699 cat conftest.$ac_ext >&5
6701 eval "ac_cv_func_
$ac_func=no
"
6706 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6707 echo "$ac_t""yes" 1>&6
6708 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6709 cat >> confdefs.h <<EOF
6710 #define $ac_tr_func 1
6714 echo "$ac_t""no
" 1>&6
6715 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
6721 if test -n "$LIBMATHOBJS"; then
6728 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
6729 echo "configure
:6730: checking
for mbstate_t
" >&5
6730 cat > conftest.$ac_ext <<EOF
6731 #line 6732 "configure
"
6732 #include "confdefs.h
"
6735 mbstate_t teststate;
6738 if { (eval echo configure:6739: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6742 echo "configure
: failed program was
:" >&5
6743 cat conftest.$ac_ext >&5
6748 echo "$ac_t""$have_mbstate_t" 1>&6
6749 if test x"$have_mbstate_t" = xyes; then
6750 cat >> confdefs.h <<\EOF
6751 #define HAVE_MBSTATE_T 1
6756 for ac_hdr in wchar.h
6758 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6759 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6760 echo "configure
:6761: checking
for $ac_hdr" >&5
6761 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6762 echo $ac_n "(cached
) $ac_c" 1>&6
6764 cat > conftest.$ac_ext <<EOF
6765 #line 6766 "configure
"
6766 #include "confdefs.h
"
6769 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6770 { (eval echo configure:6771: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6771 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6772 if test -z "$ac_err"; then
6774 eval "ac_cv_header_
$ac_safe=yes"
6777 echo "configure
: failed program was
:" >&5
6778 cat conftest.$ac_ext >&5
6780 eval "ac_cv_header_
$ac_safe=no
"
6784 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6785 echo "$ac_t""yes" 1>&6
6786 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6787 cat >> confdefs.h <<EOF
6788 #define $ac_tr_hdr 1
6792 echo "$ac_t""no
" 1>&6
6797 for ac_hdr in wctype.h
6799 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6800 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6801 echo "configure
:6802: checking
for $ac_hdr" >&5
6802 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6803 echo $ac_n "(cached
) $ac_c" 1>&6
6805 cat > conftest.$ac_ext <<EOF
6806 #line 6807 "configure
"
6807 #include "confdefs.h
"
6810 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6811 { (eval echo configure:6812: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6812 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6813 if test -z "$ac_err"; then
6815 eval "ac_cv_header_
$ac_safe=yes"
6818 echo "configure
: failed program was
:" >&5
6819 cat conftest.$ac_ext >&5
6821 eval "ac_cv_header_
$ac_safe=no
"
6825 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6826 echo "$ac_t""yes" 1>&6
6827 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6828 cat >> confdefs.h <<EOF
6829 #define $ac_tr_hdr 1
6833 echo "$ac_t""no
" 1>&6
6839 if test x"$ac_has_wchar_h" = xyes &&
6840 test x"$ac_has_wctype_h" = xyes &&
6841 test x"$enable_c_mbchar" != xno; then
6843 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
6844 echo "configure
:6845: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
6845 cat > conftest.$ac_ext <<EOF
6846 #line 6847 "configure
"
6847 #include "confdefs.h
"
6850 int i = WCHAR_MIN; int j = WCHAR_MAX;
6853 if { (eval echo configure:6854: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6855 has_wchar_minmax=yes
6857 echo "configure
: failed program was
:" >&5
6858 cat conftest.$ac_ext >&5
6863 echo "$ac_t""$has_wchar_minmax" 1>&6
6865 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
6866 echo "configure
:6867: checking
for WEOF
" >&5
6867 cat > conftest.$ac_ext <<EOF
6868 #line 6869 "configure
"
6869 #include "confdefs.h
"
6877 if { (eval echo configure:6878: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6881 echo "configure
: failed program was
:" >&5
6882 cat conftest.$ac_ext >&5
6887 echo "$ac_t""$has_weof" 1>&6
6890 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6892 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6893 echo "configure
:6894: checking
for $ac_func" >&5
6894 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6895 echo $ac_n "(cached
) $ac_c" 1>&6
6897 cat > conftest.$ac_ext <<EOF
6898 #line 6899 "configure
"
6899 #include "confdefs.h
"
6900 /* System header to define __stub macros and hopefully few prototypes,
6901 which can conflict with char $ac_func(); below. */
6903 /* Override any gcc2 internal prototype to avoid an error. */
6904 /* We use char because int might match the return type of a gcc2
6905 builtin and then its argument prototype would still apply. */
6910 /* The GNU C library defines this for functions which it implements
6911 to always fail with ENOSYS. Some functions are actually named
6912 something starting with __ and the normal name is an alias. */
6913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6921 if { (eval echo configure:6922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6923 eval "ac_cv_func_
$ac_func=yes"
6925 echo "configure
: failed program was
:" >&5
6926 cat conftest.$ac_ext >&5
6928 eval "ac_cv_func_
$ac_func=no
"
6933 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6934 echo "$ac_t""yes" 1>&6
6935 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6936 cat >> confdefs.h <<EOF
6937 #define $ac_tr_func 1
6941 echo "$ac_t""no
" 1>&6
6948 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
6949 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6950 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6951 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6952 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6953 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6955 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6956 echo "configure
:6957: checking
for $ac_func" >&5
6957 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6958 echo $ac_n "(cached
) $ac_c" 1>&6
6960 cat > conftest.$ac_ext <<EOF
6961 #line 6962 "configure
"
6962 #include "confdefs.h
"
6963 /* System header to define __stub macros and hopefully few prototypes,
6964 which can conflict with char $ac_func(); below. */
6966 /* Override any gcc2 internal prototype to avoid an error. */
6967 /* We use char because int might match the return type of a gcc2
6968 builtin and then its argument prototype would still apply. */
6973 /* The GNU C library defines this for functions which it implements
6974 to always fail with ENOSYS. Some functions are actually named
6975 something starting with __ and the normal name is an alias. */
6976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6984 if { (eval echo configure:6985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6986 eval "ac_cv_func_
$ac_func=yes"
6988 echo "configure
: failed program was
:" >&5
6989 cat conftest.$ac_ext >&5
6991 eval "ac_cv_func_
$ac_func=no
"
6996 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6997 echo "$ac_t""yes" 1>&6
6998 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6999 cat >> confdefs.h <<EOF
7000 #define $ac_tr_func 1
7004 echo "$ac_t""no
" 1>&6
7011 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
7012 echo "configure
:7013: checking
for ISO C99 wchar_t support
" >&5
7013 if test x"$has_weof" = xyes &&
7014 test x"$has_wchar_minmax" = xyes &&
7015 test x"$ac_wfuncs" = xyes; then
7016 ac_isoC99_wchar_t=yes
7018 ac_isoC99_wchar_t=no
7020 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7022 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
7023 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
7024 echo "configure
:7025: checking
for iconv.h
" >&5
7025 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7026 echo $ac_n "(cached
) $ac_c" 1>&6
7028 cat > conftest.$ac_ext <<EOF
7029 #line 7030 "configure
"
7030 #include "confdefs.h
"
7033 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7034 { (eval echo configure:7035: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7035 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7036 if test -z "$ac_err"; then
7038 eval "ac_cv_header_
$ac_safe=yes"
7041 echo "configure
: failed program was
:" >&5
7042 cat conftest.$ac_ext >&5
7044 eval "ac_cv_header_
$ac_safe=no
"
7048 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7049 echo "$ac_t""yes" 1>&6
7052 echo "$ac_t""no
" 1>&6
7056 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
7057 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
7058 echo "configure
:7059: checking
for langinfo.h
" >&5
7059 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7060 echo $ac_n "(cached
) $ac_c" 1>&6
7062 cat > conftest.$ac_ext <<EOF
7063 #line 7064 "configure
"
7064 #include "confdefs.h
"
7065 #include <langinfo.h>
7067 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7068 { (eval echo configure:7069: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7069 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7070 if test -z "$ac_err"; then
7072 eval "ac_cv_header_
$ac_safe=yes"
7075 echo "configure
: failed program was
:" >&5
7076 cat conftest.$ac_ext >&5
7078 eval "ac_cv_header_
$ac_safe=no
"
7082 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7083 echo "$ac_t""yes" 1>&6
7084 ac_has_langinfo_h=yes
7086 echo "$ac_t""no
" 1>&6
7087 ac_has_langinfo_h=no
7091 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
7092 echo "configure
:7093: checking
for iconv in -liconv" >&5
7093 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
7094 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7095 echo $ac_n "(cached
) $ac_c" 1>&6
7097 ac_save_LIBS="$LIBS"
7098 LIBS="-liconv $LIBS"
7099 cat > conftest.$ac_ext <<EOF
7100 #line 7101 "configure
"
7101 #include "confdefs.h
"
7102 /* Override any gcc2 internal prototype to avoid an error. */
7103 /* We use char because int might match the return type of a gcc2
7104 builtin and then its argument prototype would still apply. */
7111 if { (eval echo configure:7112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7113 eval "ac_cv_lib_
$ac_lib_var=yes"
7115 echo "configure
: failed program was
:" >&5
7116 cat conftest.$ac_ext >&5
7118 eval "ac_cv_lib_
$ac_lib_var=no
"
7121 LIBS="$ac_save_LIBS"
7124 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7125 echo "$ac_t""yes" 1>&6
7128 echo "$ac_t""no
" 1>&6
7131 ac_save_LIBS="$LIBS"
7132 LIBS="$LIBS $libiconv"
7134 for ac_func in iconv_open iconv_close iconv nl_langinfo
7136 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7137 echo "configure
:7138: checking
for $ac_func" >&5
7138 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7139 echo $ac_n "(cached
) $ac_c" 1>&6
7141 cat > conftest.$ac_ext <<EOF
7142 #line 7143 "configure
"
7143 #include "confdefs.h
"
7144 /* System header to define __stub macros and hopefully few prototypes,
7145 which can conflict with char $ac_func(); below. */
7147 /* Override any gcc2 internal prototype to avoid an error. */
7148 /* We use char because int might match the return type of a gcc2
7149 builtin and then its argument prototype would still apply. */
7154 /* The GNU C library defines this for functions which it implements
7155 to always fail with ENOSYS. Some functions are actually named
7156 something starting with __ and the normal name is an alias. */
7157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7165 if { (eval echo configure:7166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7167 eval "ac_cv_func_
$ac_func=yes"
7169 echo "configure
: failed program was
:" >&5
7170 cat conftest.$ac_ext >&5
7172 eval "ac_cv_func_
$ac_func=no
"
7177 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7178 echo "$ac_t""yes" 1>&6
7179 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7180 cat >> confdefs.h <<EOF
7181 #define $ac_tr_func 1
7186 echo "$ac_t""no
" 1>&6
7192 LIBS="$ac_save_LIBS"
7194 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
7195 echo "configure
:7196: checking
for XPG2 wchar_t support
" >&5
7196 if test x"$ac_has_iconv_h" = xyes &&
7197 test x"$ac_has_langinfo_h" = xyes &&
7198 test x"$ac_XPG2funcs" = xyes; then
7203 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
7205 if test x"$ac_isoC99_wchar_t" = xyes &&
7206 test x"$ac_XPG2_wchar_t" = xyes; then
7207 cat >> confdefs.h <<\EOF
7208 #define _GLIBCXX_USE_WCHAR_T 1
7214 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
7215 echo "configure
:7216: checking
for enabled wchar_t specializations
" >&5
7216 echo "$ac_t""$enable_wchar_t" 1>&6
7218 cat >> confdefs.h <<\EOF
7219 #define HAVE_COPYSIGN 1
7222 cat >> confdefs.h <<\EOF
7223 #define HAVE_COPYSIGNF 1
7226 cat >> confdefs.h <<\EOF
7227 #define HAVE_FINITE 1
7230 cat >> confdefs.h <<\EOF
7231 #define HAVE_FINITEF 1
7234 cat >> confdefs.h <<\EOF
7235 #define HAVE_FREXPF 1
7238 cat >> confdefs.h <<\EOF
7239 #define HAVE_HYPOTF 1
7242 cat >> confdefs.h <<\EOF
7243 #define HAVE_ISINF 1
7246 cat >> confdefs.h <<\EOF
7247 #define HAVE_ISINFF 1
7250 cat >> confdefs.h <<\EOF
7251 #define HAVE_ISNAN 1
7254 cat >> confdefs.h <<\EOF
7255 #define HAVE_ISNANF 1
7258 cat >> confdefs.h <<\EOF
7259 #define HAVE_SINCOS 1
7262 cat >> confdefs.h <<\EOF
7263 #define HAVE_SINCOSF 1
7266 if test x"long_double_math_on_this_cpu
" = x"yes"; then
7267 cat >> confdefs.h <<\EOF
7268 #define HAVE_FINITEL 1
7271 cat >> confdefs.h <<\EOF
7272 #define HAVE_HYPOTL 1
7275 cat >> confdefs.h <<\EOF
7276 #define HAVE_ISINFL 1
7279 cat >> confdefs.h <<\EOF
7280 #define HAVE_ISNANL 1
7286 os_include_dir="os
/mingw32
"
7287 for ac_hdr in sys/types.h locale.h float.h
7289 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7290 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
7291 echo "configure
:7292: checking
for $ac_hdr" >&5
7292 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7293 echo $ac_n "(cached
) $ac_c" 1>&6
7295 cat > conftest.$ac_ext <<EOF
7296 #line 7297 "configure
"
7297 #include "confdefs.h
"
7300 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7301 { (eval echo configure:7302: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7302 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7303 if test -z "$ac_err"; then
7305 eval "ac_cv_header_
$ac_safe=yes"
7308 echo "configure
: failed program was
:" >&5
7309 cat conftest.$ac_ext >&5
7311 eval "ac_cv_header_
$ac_safe=no
"
7315 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7316 echo "$ac_t""yes" 1>&6
7317 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7318 cat >> confdefs.h <<EOF
7319 #define $ac_tr_hdr 1
7323 echo "$ac_t""no
" 1>&6
7328 # If we're not using GNU ld, then there's no point in even trying these
7329 # tests. Check for that first. We should have already tested for gld
7330 # by now (in libtool), but require it now just to be safe...
7331 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7332 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7335 # The name set by libtool depends on the version of libtool. Shame on us
7336 # for depending on an impl detail, but c'est la vie. Older versions used
7337 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7338 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7339 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7340 # set (hence we're using an older libtool), then set it.
7341 if test x${with_gnu_ld+set} != xset; then
7342 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7343 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
7346 with_gnu_ld=$ac_cv_prog_gnu_ld
7350 # Start by getting the version number. I think the libtool test already
7351 # does some of this, but throws away the result.
7353 ldver=`$LD --version 2>/dev/null | head -1 | \
7354 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7356 glibcxx_gnu_ld_version=`echo $ldver | \
7357 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7359 # Set --gc-sections.
7360 if test "$with_gnu_ld" = "notbroken
"; then
7361 # GNU ld it is! Joy and bunny rabbits!
7363 # All these tests are for C++; save the language and the compiler flags.
7364 # Need to do this so that g++ won't try to link in libstdc++
7365 ac_test_CFLAGS="${CFLAGS+set}"
7366 ac_save_CFLAGS="$CFLAGS"
7367 CFLAGS='-x c++ -Wl,--gc-sections'
7369 # Check for -Wl,--gc-sections
7370 # XXX This test is broken at the moment, as symbols required for
7371 # linking are now in libsupc++ (not built yet.....). In addition,
7372 # this test has cored on solaris in the past. In addition,
7373 # --gc-sections doesn't really work at the moment (keeps on discarding
7374 # used sections, first .eh_frame and now some of the glibc sections for
7375 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7376 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
7377 echo "configure
:7378: checking
for ld that supports
-Wl,--gc-sections" >&5
7378 if test "$cross_compiling" = yes; then
7379 ac_sectionLDflags=yes
7381 cat > conftest.$ac_ext <<EOF
7382 #line 7383 "configure
"
7383 #include "confdefs.h
"
7393 if { (eval echo configure:7394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7395 ac_sectionLDflags=yes
7397 echo "configure
: failed program was
:" >&5
7398 cat conftest.$ac_ext >&5
7400 ac_sectionLDflags=no
7405 if test "$ac_test_CFLAGS" = set; then
7406 CFLAGS="$ac_save_CFLAGS"
7408 # this is the suspicious part
7411 if test "$ac_sectionLDflags" = "yes"; then
7412 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7414 echo "$ac_t""$ac_sectionLDflags" 1>&6
7417 # Set linker optimization flags.
7418 if test x"$with_gnu_ld" = x"yes"; then
7419 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7426 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
7427 echo "configure
:7428: checking
for main
in -lm" >&5
7428 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
7429 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7430 echo $ac_n "(cached
) $ac_c" 1>&6
7432 ac_save_LIBS="$LIBS"
7434 cat > conftest.$ac_ext <<EOF
7435 #line 7436 "configure
"
7436 #include "confdefs.h
"
7442 if { (eval echo configure:7443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7444 eval "ac_cv_lib_
$ac_lib_var=yes"
7446 echo "configure
: failed program was
:" >&5
7447 cat conftest.$ac_ext >&5
7449 eval "ac_cv_lib_
$ac_lib_var=no
"
7452 LIBS="$ac_save_LIBS"
7455 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7456 echo "$ac_t""yes" 1>&6
7457 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7458 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7459 cat >> confdefs.h <<EOF
7460 #define $ac_tr_lib 1
7466 echo "$ac_t""no
" 1>&6
7469 for ac_func in nan copysignf
7471 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7472 echo "configure
:7473: checking
for $ac_func" >&5
7473 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7474 echo $ac_n "(cached
) $ac_c" 1>&6
7476 cat > conftest.$ac_ext <<EOF
7477 #line 7478 "configure
"
7478 #include "confdefs.h
"
7479 /* System header to define __stub macros and hopefully few prototypes,
7480 which can conflict with char $ac_func(); below. */
7482 /* Override any gcc2 internal prototype to avoid an error. */
7483 /* We use char because int might match the return type of a gcc2
7484 builtin and then its argument prototype would still apply. */
7489 /* The GNU C library defines this for functions which it implements
7490 to always fail with ENOSYS. Some functions are actually named
7491 something starting with __ and the normal name is an alias. */
7492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7500 if { (eval echo configure:7501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7502 eval "ac_cv_func_
$ac_func=yes"
7504 echo "configure
: failed program was
:" >&5
7505 cat conftest.$ac_ext >&5
7507 eval "ac_cv_func_
$ac_func=no
"
7512 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7513 echo "$ac_t""yes" 1>&6
7514 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7515 cat >> confdefs.h <<EOF
7516 #define $ac_tr_func 1
7520 echo "$ac_t""no
" 1>&6
7521 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
7526 for ac_func in __signbit
7528 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7529 echo "configure
:7530: checking
for $ac_func" >&5
7530 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7531 echo $ac_n "(cached
) $ac_c" 1>&6
7533 cat > conftest.$ac_ext <<EOF
7534 #line 7535 "configure
"
7535 #include "confdefs.h
"
7536 /* System header to define __stub macros and hopefully few prototypes,
7537 which can conflict with char $ac_func(); below. */
7539 /* Override any gcc2 internal prototype to avoid an error. */
7540 /* We use char because int might match the return type of a gcc2
7541 builtin and then its argument prototype would still apply. */
7546 /* The GNU C library defines this for functions which it implements
7547 to always fail with ENOSYS. Some functions are actually named
7548 something starting with __ and the normal name is an alias. */
7549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7557 if { (eval echo configure:7558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7559 eval "ac_cv_func_
$ac_func=yes"
7561 echo "configure
: failed program was
:" >&5
7562 cat conftest.$ac_ext >&5
7564 eval "ac_cv_func_
$ac_func=no
"
7569 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7570 echo "$ac_t""yes" 1>&6
7571 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7572 cat >> confdefs.h <<EOF
7573 #define $ac_tr_func 1
7577 echo "$ac_t""no
" 1>&6
7578 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
7582 for ac_func in __signbitf
7584 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7585 echo "configure
:7586: checking
for $ac_func" >&5
7586 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7587 echo $ac_n "(cached
) $ac_c" 1>&6
7589 cat > conftest.$ac_ext <<EOF
7590 #line 7591 "configure
"
7591 #include "confdefs.h
"
7592 /* System header to define __stub macros and hopefully few prototypes,
7593 which can conflict with char $ac_func(); below. */
7595 /* Override any gcc2 internal prototype to avoid an error. */
7596 /* We use char because int might match the return type of a gcc2
7597 builtin and then its argument prototype would still apply. */
7602 /* The GNU C library defines this for functions which it implements
7603 to always fail with ENOSYS. Some functions are actually named
7604 something starting with __ and the normal name is an alias. */
7605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7613 if { (eval echo configure:7614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7615 eval "ac_cv_func_
$ac_func=yes"
7617 echo "configure
: failed program was
:" >&5
7618 cat conftest.$ac_ext >&5
7620 eval "ac_cv_func_
$ac_func=no
"
7625 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7626 echo "$ac_t""yes" 1>&6
7627 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7628 cat >> confdefs.h <<EOF
7629 #define $ac_tr_func 1
7633 echo "$ac_t""no
" 1>&6
7634 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
7639 if test x$ac_cv_func_copysignl = x"yes"; then
7640 for ac_func in __signbitl
7642 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7643 echo "configure
:7644: checking
for $ac_func" >&5
7644 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7645 echo $ac_n "(cached
) $ac_c" 1>&6
7647 cat > conftest.$ac_ext <<EOF
7648 #line 7649 "configure
"
7649 #include "confdefs.h
"
7650 /* System header to define __stub macros and hopefully few prototypes,
7651 which can conflict with char $ac_func(); below. */
7653 /* Override any gcc2 internal prototype to avoid an error. */
7654 /* We use char because int might match the return type of a gcc2
7655 builtin and then its argument prototype would still apply. */
7660 /* The GNU C library defines this for functions which it implements
7661 to always fail with ENOSYS. Some functions are actually named
7662 something starting with __ and the normal name is an alias. */
7663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7671 if { (eval echo configure:7672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7673 eval "ac_cv_func_
$ac_func=yes"
7675 echo "configure
: failed program was
:" >&5
7676 cat conftest.$ac_ext >&5
7678 eval "ac_cv_func_
$ac_func=no
"
7683 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7684 echo "$ac_t""yes" 1>&6
7685 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7686 cat >> confdefs.h <<EOF
7687 #define $ac_tr_func 1
7691 echo "$ac_t""no
" 1>&6
7692 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
7698 if test -n "$LIBMATHOBJS"; then
7705 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
7706 echo "configure
:7707: checking
for mbstate_t
" >&5
7707 cat > conftest.$ac_ext <<EOF
7708 #line 7709 "configure
"
7709 #include "confdefs.h
"
7712 mbstate_t teststate;
7715 if { (eval echo configure:7716: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7719 echo "configure
: failed program was
:" >&5
7720 cat conftest.$ac_ext >&5
7725 echo "$ac_t""$have_mbstate_t" 1>&6
7726 if test x"$have_mbstate_t" = xyes; then
7727 cat >> confdefs.h <<\EOF
7728 #define HAVE_MBSTATE_T 1
7733 for ac_hdr in wchar.h
7735 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7736 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
7737 echo "configure
:7738: checking
for $ac_hdr" >&5
7738 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7739 echo $ac_n "(cached
) $ac_c" 1>&6
7741 cat > conftest.$ac_ext <<EOF
7742 #line 7743 "configure
"
7743 #include "confdefs.h
"
7746 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7747 { (eval echo configure:7748: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7748 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7749 if test -z "$ac_err"; then
7751 eval "ac_cv_header_
$ac_safe=yes"
7754 echo "configure
: failed program was
:" >&5
7755 cat conftest.$ac_ext >&5
7757 eval "ac_cv_header_
$ac_safe=no
"
7761 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7762 echo "$ac_t""yes" 1>&6
7763 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7764 cat >> confdefs.h <<EOF
7765 #define $ac_tr_hdr 1
7769 echo "$ac_t""no
" 1>&6
7774 for ac_hdr in wctype.h
7776 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7777 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
7778 echo "configure
:7779: checking
for $ac_hdr" >&5
7779 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7780 echo $ac_n "(cached
) $ac_c" 1>&6
7782 cat > conftest.$ac_ext <<EOF
7783 #line 7784 "configure
"
7784 #include "confdefs.h
"
7787 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7788 { (eval echo configure:7789: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7789 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7790 if test -z "$ac_err"; then
7792 eval "ac_cv_header_
$ac_safe=yes"
7795 echo "configure
: failed program was
:" >&5
7796 cat conftest.$ac_ext >&5
7798 eval "ac_cv_header_
$ac_safe=no
"
7802 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7803 echo "$ac_t""yes" 1>&6
7804 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7805 cat >> confdefs.h <<EOF
7806 #define $ac_tr_hdr 1
7810 echo "$ac_t""no
" 1>&6
7816 if test x"$ac_has_wchar_h" = xyes &&
7817 test x"$ac_has_wctype_h" = xyes &&
7818 test x"$enable_c_mbchar" != xno; then
7820 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
7821 echo "configure
:7822: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
7822 cat > conftest.$ac_ext <<EOF
7823 #line 7824 "configure
"
7824 #include "confdefs.h
"
7827 int i = WCHAR_MIN; int j = WCHAR_MAX;
7830 if { (eval echo configure:7831: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7832 has_wchar_minmax=yes
7834 echo "configure
: failed program was
:" >&5
7835 cat conftest.$ac_ext >&5
7840 echo "$ac_t""$has_wchar_minmax" 1>&6
7842 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
7843 echo "configure
:7844: checking
for WEOF
" >&5
7844 cat > conftest.$ac_ext <<EOF
7845 #line 7846 "configure
"
7846 #include "confdefs.h
"
7854 if { (eval echo configure:7855: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7858 echo "configure
: failed program was
:" >&5
7859 cat conftest.$ac_ext >&5
7864 echo "$ac_t""$has_weof" 1>&6
7867 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
7869 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7870 echo "configure
:7871: checking
for $ac_func" >&5
7871 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7872 echo $ac_n "(cached
) $ac_c" 1>&6
7874 cat > conftest.$ac_ext <<EOF
7875 #line 7876 "configure
"
7876 #include "confdefs.h
"
7877 /* System header to define __stub macros and hopefully few prototypes,
7878 which can conflict with char $ac_func(); below. */
7880 /* Override any gcc2 internal prototype to avoid an error. */
7881 /* We use char because int might match the return type of a gcc2
7882 builtin and then its argument prototype would still apply. */
7887 /* The GNU C library defines this for functions which it implements
7888 to always fail with ENOSYS. Some functions are actually named
7889 something starting with __ and the normal name is an alias. */
7890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7898 if { (eval echo configure:7899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7900 eval "ac_cv_func_
$ac_func=yes"
7902 echo "configure
: failed program was
:" >&5
7903 cat conftest.$ac_ext >&5
7905 eval "ac_cv_func_
$ac_func=no
"
7910 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7911 echo "$ac_t""yes" 1>&6
7912 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7913 cat >> confdefs.h <<EOF
7914 #define $ac_tr_func 1
7918 echo "$ac_t""no
" 1>&6
7925 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
7926 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
7927 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
7928 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
7929 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
7930 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
7932 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7933 echo "configure
:7934: checking
for $ac_func" >&5
7934 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7935 echo $ac_n "(cached
) $ac_c" 1>&6
7937 cat > conftest.$ac_ext <<EOF
7938 #line 7939 "configure
"
7939 #include "confdefs.h
"
7940 /* System header to define __stub macros and hopefully few prototypes,
7941 which can conflict with char $ac_func(); below. */
7943 /* Override any gcc2 internal prototype to avoid an error. */
7944 /* We use char because int might match the return type of a gcc2
7945 builtin and then its argument prototype would still apply. */
7950 /* The GNU C library defines this for functions which it implements
7951 to always fail with ENOSYS. Some functions are actually named
7952 something starting with __ and the normal name is an alias. */
7953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7961 if { (eval echo configure:7962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7963 eval "ac_cv_func_
$ac_func=yes"
7965 echo "configure
: failed program was
:" >&5
7966 cat conftest.$ac_ext >&5
7968 eval "ac_cv_func_
$ac_func=no
"
7973 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7974 echo "$ac_t""yes" 1>&6
7975 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7976 cat >> confdefs.h <<EOF
7977 #define $ac_tr_func 1
7981 echo "$ac_t""no
" 1>&6
7988 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
7989 echo "configure
:7990: checking
for ISO C99 wchar_t support
" >&5
7990 if test x"$has_weof" = xyes &&
7991 test x"$has_wchar_minmax" = xyes &&
7992 test x"$ac_wfuncs" = xyes; then
7993 ac_isoC99_wchar_t=yes
7995 ac_isoC99_wchar_t=no
7997 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7999 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
8000 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
8001 echo "configure
:8002: checking
for iconv.h
" >&5
8002 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8003 echo $ac_n "(cached
) $ac_c" 1>&6
8005 cat > conftest.$ac_ext <<EOF
8006 #line 8007 "configure
"
8007 #include "confdefs.h
"
8010 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8011 { (eval echo configure:8012: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8012 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8013 if test -z "$ac_err"; then
8015 eval "ac_cv_header_
$ac_safe=yes"
8018 echo "configure
: failed program was
:" >&5
8019 cat conftest.$ac_ext >&5
8021 eval "ac_cv_header_
$ac_safe=no
"
8025 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8026 echo "$ac_t""yes" 1>&6
8029 echo "$ac_t""no
" 1>&6
8033 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
8034 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
8035 echo "configure
:8036: checking
for langinfo.h
" >&5
8036 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8037 echo $ac_n "(cached
) $ac_c" 1>&6
8039 cat > conftest.$ac_ext <<EOF
8040 #line 8041 "configure
"
8041 #include "confdefs.h
"
8042 #include <langinfo.h>
8044 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8045 { (eval echo configure:8046: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8046 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8047 if test -z "$ac_err"; then
8049 eval "ac_cv_header_
$ac_safe=yes"
8052 echo "configure
: failed program was
:" >&5
8053 cat conftest.$ac_ext >&5
8055 eval "ac_cv_header_
$ac_safe=no
"
8059 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8060 echo "$ac_t""yes" 1>&6
8061 ac_has_langinfo_h=yes
8063 echo "$ac_t""no
" 1>&6
8064 ac_has_langinfo_h=no
8068 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
8069 echo "configure
:8070: checking
for iconv in -liconv" >&5
8070 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
8071 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8072 echo $ac_n "(cached
) $ac_c" 1>&6
8074 ac_save_LIBS="$LIBS"
8075 LIBS="-liconv $LIBS"
8076 cat > conftest.$ac_ext <<EOF
8077 #line 8078 "configure
"
8078 #include "confdefs.h
"
8079 /* Override any gcc2 internal prototype to avoid an error. */
8080 /* We use char because int might match the return type of a gcc2
8081 builtin and then its argument prototype would still apply. */
8088 if { (eval echo configure:8089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8090 eval "ac_cv_lib_
$ac_lib_var=yes"
8092 echo "configure
: failed program was
:" >&5
8093 cat conftest.$ac_ext >&5
8095 eval "ac_cv_lib_
$ac_lib_var=no
"
8098 LIBS="$ac_save_LIBS"
8101 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8102 echo "$ac_t""yes" 1>&6
8105 echo "$ac_t""no
" 1>&6
8108 ac_save_LIBS="$LIBS"
8109 LIBS="$LIBS $libiconv"
8111 for ac_func in iconv_open iconv_close iconv nl_langinfo
8113 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8114 echo "configure
:8115: checking
for $ac_func" >&5
8115 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8116 echo $ac_n "(cached
) $ac_c" 1>&6
8118 cat > conftest.$ac_ext <<EOF
8119 #line 8120 "configure
"
8120 #include "confdefs.h
"
8121 /* System header to define __stub macros and hopefully few prototypes,
8122 which can conflict with char $ac_func(); below. */
8124 /* Override any gcc2 internal prototype to avoid an error. */
8125 /* We use char because int might match the return type of a gcc2
8126 builtin and then its argument prototype would still apply. */
8131 /* The GNU C library defines this for functions which it implements
8132 to always fail with ENOSYS. Some functions are actually named
8133 something starting with __ and the normal name is an alias. */
8134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8142 if { (eval echo configure:8143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8144 eval "ac_cv_func_
$ac_func=yes"
8146 echo "configure
: failed program was
:" >&5
8147 cat conftest.$ac_ext >&5
8149 eval "ac_cv_func_
$ac_func=no
"
8154 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8155 echo "$ac_t""yes" 1>&6
8156 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8157 cat >> confdefs.h <<EOF
8158 #define $ac_tr_func 1
8163 echo "$ac_t""no
" 1>&6
8169 LIBS="$ac_save_LIBS"
8171 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
8172 echo "configure
:8173: checking
for XPG2 wchar_t support
" >&5
8173 if test x"$ac_has_iconv_h" = xyes &&
8174 test x"$ac_has_langinfo_h" = xyes &&
8175 test x"$ac_XPG2funcs" = xyes; then
8180 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
8182 if test x"$ac_isoC99_wchar_t" = xyes &&
8183 test x"$ac_XPG2_wchar_t" = xyes; then
8184 cat >> confdefs.h <<\EOF
8185 #define _GLIBCXX_USE_WCHAR_T 1
8191 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
8192 echo "configure
:8193: checking
for enabled wchar_t specializations
" >&5
8193 echo "$ac_t""$enable_wchar_t" 1>&6
8197 os_include_dir="os
/bsd
/netbsd
"
8198 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
8199 machine/endian.h machine/param.h sys/machine.h sys/types.h \
8200 fp.h locale.h float.h inttypes.h
8202 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8203 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
8204 echo "configure
:8205: checking
for $ac_hdr" >&5
8205 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8206 echo $ac_n "(cached
) $ac_c" 1>&6
8208 cat > conftest.$ac_ext <<EOF
8209 #line 8210 "configure
"
8210 #include "confdefs.h
"
8213 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8214 { (eval echo configure:8215: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8215 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8216 if test -z "$ac_err"; then
8218 eval "ac_cv_header_
$ac_safe=yes"
8221 echo "configure
: failed program was
:" >&5
8222 cat conftest.$ac_ext >&5
8224 eval "ac_cv_header_
$ac_safe=no
"
8228 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8229 echo "$ac_t""yes" 1>&6
8230 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8231 cat >> confdefs.h <<EOF
8232 #define $ac_tr_hdr 1
8236 echo "$ac_t""no
" 1>&6
8240 SECTION_FLAGS='-ffunction-sections -fdata-sections'
8243 # If we're not using GNU ld, then there's no point in even trying these
8244 # tests. Check for that first. We should have already tested for gld
8245 # by now (in libtool), but require it now just to be safe...
8246 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8247 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8250 # The name set by libtool depends on the version of libtool. Shame on us
8251 # for depending on an impl detail, but c'est la vie. Older versions used
8252 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8253 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8254 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8255 # set (hence we're using an older libtool), then set it.
8256 if test x${with_gnu_ld+set} != xset; then
8257 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8258 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
8261 with_gnu_ld=$ac_cv_prog_gnu_ld
8265 # Start by getting the version number. I think the libtool test already
8266 # does some of this, but throws away the result.
8268 ldver=`$LD --version 2>/dev/null | head -1 | \
8269 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8271 glibcxx_gnu_ld_version=`echo $ldver | \
8272 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8274 # Set --gc-sections.
8275 if test "$with_gnu_ld" = "notbroken
"; then
8276 # GNU ld it is! Joy and bunny rabbits!
8278 # All these tests are for C++; save the language and the compiler flags.
8279 # Need to do this so that g++ won't try to link in libstdc++
8280 ac_test_CFLAGS="${CFLAGS+set}"
8281 ac_save_CFLAGS="$CFLAGS"
8282 CFLAGS='-x c++ -Wl,--gc-sections'
8284 # Check for -Wl,--gc-sections
8285 # XXX This test is broken at the moment, as symbols required for
8286 # linking are now in libsupc++ (not built yet.....). In addition,
8287 # this test has cored on solaris in the past. In addition,
8288 # --gc-sections doesn't really work at the moment (keeps on discarding
8289 # used sections, first .eh_frame and now some of the glibc sections for
8290 # iconv). Bzzzzt. Thanks for playing, maybe next time.
8291 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
8292 echo "configure
:8293: checking
for ld that supports
-Wl,--gc-sections" >&5
8293 if test "$cross_compiling" = yes; then
8294 ac_sectionLDflags=yes
8296 cat > conftest.$ac_ext <<EOF
8297 #line 8298 "configure
"
8298 #include "confdefs.h
"
8308 if { (eval echo configure:8309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8310 ac_sectionLDflags=yes
8312 echo "configure
: failed program was
:" >&5
8313 cat conftest.$ac_ext >&5
8315 ac_sectionLDflags=no
8320 if test "$ac_test_CFLAGS" = set; then
8321 CFLAGS="$ac_save_CFLAGS"
8323 # this is the suspicious part
8326 if test "$ac_sectionLDflags" = "yes"; then
8327 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8329 echo "$ac_t""$ac_sectionLDflags" 1>&6
8332 # Set linker optimization flags.
8333 if test x"$with_gnu_ld" = x"yes"; then
8334 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8341 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
8342 echo "configure
:8343: checking
for main
in -lm" >&5
8343 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
8344 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8345 echo $ac_n "(cached
) $ac_c" 1>&6
8347 ac_save_LIBS="$LIBS"
8349 cat > conftest.$ac_ext <<EOF
8350 #line 8351 "configure
"
8351 #include "confdefs.h
"
8357 if { (eval echo configure:8358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8359 eval "ac_cv_lib_
$ac_lib_var=yes"
8361 echo "configure
: failed program was
:" >&5
8362 cat conftest.$ac_ext >&5
8364 eval "ac_cv_lib_
$ac_lib_var=no
"
8367 LIBS="$ac_save_LIBS"
8370 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8371 echo "$ac_t""yes" 1>&6
8372 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
8373 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
8374 cat >> confdefs.h <<EOF
8375 #define $ac_tr_lib 1
8381 echo "$ac_t""no
" 1>&6
8384 for ac_func in nan copysignf
8386 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8387 echo "configure
:8388: checking
for $ac_func" >&5
8388 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8389 echo $ac_n "(cached
) $ac_c" 1>&6
8391 cat > conftest.$ac_ext <<EOF
8392 #line 8393 "configure
"
8393 #include "confdefs.h
"
8394 /* System header to define __stub macros and hopefully few prototypes,
8395 which can conflict with char $ac_func(); below. */
8397 /* Override any gcc2 internal prototype to avoid an error. */
8398 /* We use char because int might match the return type of a gcc2
8399 builtin and then its argument prototype would still apply. */
8404 /* The GNU C library defines this for functions which it implements
8405 to always fail with ENOSYS. Some functions are actually named
8406 something starting with __ and the normal name is an alias. */
8407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8415 if { (eval echo configure:8416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8417 eval "ac_cv_func_
$ac_func=yes"
8419 echo "configure
: failed program was
:" >&5
8420 cat conftest.$ac_ext >&5
8422 eval "ac_cv_func_
$ac_func=no
"
8427 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8428 echo "$ac_t""yes" 1>&6
8429 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8430 cat >> confdefs.h <<EOF
8431 #define $ac_tr_func 1
8435 echo "$ac_t""no
" 1>&6
8436 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
8441 for ac_func in __signbit
8443 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8444 echo "configure
:8445: checking
for $ac_func" >&5
8445 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8446 echo $ac_n "(cached
) $ac_c" 1>&6
8448 cat > conftest.$ac_ext <<EOF
8449 #line 8450 "configure
"
8450 #include "confdefs.h
"
8451 /* System header to define __stub macros and hopefully few prototypes,
8452 which can conflict with char $ac_func(); below. */
8454 /* Override any gcc2 internal prototype to avoid an error. */
8455 /* We use char because int might match the return type of a gcc2
8456 builtin and then its argument prototype would still apply. */
8461 /* The GNU C library defines this for functions which it implements
8462 to always fail with ENOSYS. Some functions are actually named
8463 something starting with __ and the normal name is an alias. */
8464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8472 if { (eval echo configure:8473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8474 eval "ac_cv_func_
$ac_func=yes"
8476 echo "configure
: failed program was
:" >&5
8477 cat conftest.$ac_ext >&5
8479 eval "ac_cv_func_
$ac_func=no
"
8484 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8485 echo "$ac_t""yes" 1>&6
8486 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8487 cat >> confdefs.h <<EOF
8488 #define $ac_tr_func 1
8492 echo "$ac_t""no
" 1>&6
8493 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
8497 for ac_func in __signbitf
8499 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8500 echo "configure
:8501: checking
for $ac_func" >&5
8501 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8502 echo $ac_n "(cached
) $ac_c" 1>&6
8504 cat > conftest.$ac_ext <<EOF
8505 #line 8506 "configure
"
8506 #include "confdefs.h
"
8507 /* System header to define __stub macros and hopefully few prototypes,
8508 which can conflict with char $ac_func(); below. */
8510 /* Override any gcc2 internal prototype to avoid an error. */
8511 /* We use char because int might match the return type of a gcc2
8512 builtin and then its argument prototype would still apply. */
8517 /* The GNU C library defines this for functions which it implements
8518 to always fail with ENOSYS. Some functions are actually named
8519 something starting with __ and the normal name is an alias. */
8520 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8528 if { (eval echo configure:8529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8530 eval "ac_cv_func_
$ac_func=yes"
8532 echo "configure
: failed program was
:" >&5
8533 cat conftest.$ac_ext >&5
8535 eval "ac_cv_func_
$ac_func=no
"
8540 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8541 echo "$ac_t""yes" 1>&6
8542 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8543 cat >> confdefs.h <<EOF
8544 #define $ac_tr_func 1
8548 echo "$ac_t""no
" 1>&6
8549 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
8554 if test x$ac_cv_func_copysignl = x"yes"; then
8555 for ac_func in __signbitl
8557 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8558 echo "configure
:8559: checking
for $ac_func" >&5
8559 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8560 echo $ac_n "(cached
) $ac_c" 1>&6
8562 cat > conftest.$ac_ext <<EOF
8563 #line 8564 "configure
"
8564 #include "confdefs.h
"
8565 /* System header to define __stub macros and hopefully few prototypes,
8566 which can conflict with char $ac_func(); below. */
8568 /* Override any gcc2 internal prototype to avoid an error. */
8569 /* We use char because int might match the return type of a gcc2
8570 builtin and then its argument prototype would still apply. */
8575 /* The GNU C library defines this for functions which it implements
8576 to always fail with ENOSYS. Some functions are actually named
8577 something starting with __ and the normal name is an alias. */
8578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8586 if { (eval echo configure:8587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8588 eval "ac_cv_func_
$ac_func=yes"
8590 echo "configure
: failed program was
:" >&5
8591 cat conftest.$ac_ext >&5
8593 eval "ac_cv_func_
$ac_func=no
"
8598 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8599 echo "$ac_t""yes" 1>&6
8600 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8601 cat >> confdefs.h <<EOF
8602 #define $ac_tr_func 1
8606 echo "$ac_t""no
" 1>&6
8607 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
8613 if test -n "$LIBMATHOBJS"; then
8620 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
8621 echo "configure
:8622: checking
for mbstate_t
" >&5
8622 cat > conftest.$ac_ext <<EOF
8623 #line 8624 "configure
"
8624 #include "confdefs.h
"
8627 mbstate_t teststate;
8630 if { (eval echo configure:8631: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8634 echo "configure
: failed program was
:" >&5
8635 cat conftest.$ac_ext >&5
8640 echo "$ac_t""$have_mbstate_t" 1>&6
8641 if test x"$have_mbstate_t" = xyes; then
8642 cat >> confdefs.h <<\EOF
8643 #define HAVE_MBSTATE_T 1
8648 for ac_hdr in wchar.h
8650 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8651 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
8652 echo "configure
:8653: checking
for $ac_hdr" >&5
8653 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8654 echo $ac_n "(cached
) $ac_c" 1>&6
8656 cat > conftest.$ac_ext <<EOF
8657 #line 8658 "configure
"
8658 #include "confdefs.h
"
8661 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8662 { (eval echo configure:8663: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8663 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8664 if test -z "$ac_err"; then
8666 eval "ac_cv_header_
$ac_safe=yes"
8669 echo "configure
: failed program was
:" >&5
8670 cat conftest.$ac_ext >&5
8672 eval "ac_cv_header_
$ac_safe=no
"
8676 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8677 echo "$ac_t""yes" 1>&6
8678 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8679 cat >> confdefs.h <<EOF
8680 #define $ac_tr_hdr 1
8684 echo "$ac_t""no
" 1>&6
8689 for ac_hdr in wctype.h
8691 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8692 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
8693 echo "configure
:8694: checking
for $ac_hdr" >&5
8694 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8695 echo $ac_n "(cached
) $ac_c" 1>&6
8697 cat > conftest.$ac_ext <<EOF
8698 #line 8699 "configure
"
8699 #include "confdefs.h
"
8702 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8703 { (eval echo configure:8704: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8704 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8705 if test -z "$ac_err"; then
8707 eval "ac_cv_header_
$ac_safe=yes"
8710 echo "configure
: failed program was
:" >&5
8711 cat conftest.$ac_ext >&5
8713 eval "ac_cv_header_
$ac_safe=no
"
8717 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8718 echo "$ac_t""yes" 1>&6
8719 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8720 cat >> confdefs.h <<EOF
8721 #define $ac_tr_hdr 1
8725 echo "$ac_t""no
" 1>&6
8731 if test x"$ac_has_wchar_h" = xyes &&
8732 test x"$ac_has_wctype_h" = xyes &&
8733 test x"$enable_c_mbchar" != xno; then
8735 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
8736 echo "configure
:8737: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
8737 cat > conftest.$ac_ext <<EOF
8738 #line 8739 "configure
"
8739 #include "confdefs.h
"
8742 int i = WCHAR_MIN; int j = WCHAR_MAX;
8745 if { (eval echo configure:8746: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8747 has_wchar_minmax=yes
8749 echo "configure
: failed program was
:" >&5
8750 cat conftest.$ac_ext >&5
8755 echo "$ac_t""$has_wchar_minmax" 1>&6
8757 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
8758 echo "configure
:8759: checking
for WEOF
" >&5
8759 cat > conftest.$ac_ext <<EOF
8760 #line 8761 "configure
"
8761 #include "confdefs.h
"
8769 if { (eval echo configure:8770: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8773 echo "configure
: failed program was
:" >&5
8774 cat conftest.$ac_ext >&5
8779 echo "$ac_t""$has_weof" 1>&6
8782 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
8784 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8785 echo "configure
:8786: checking
for $ac_func" >&5
8786 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8787 echo $ac_n "(cached
) $ac_c" 1>&6
8789 cat > conftest.$ac_ext <<EOF
8790 #line 8791 "configure
"
8791 #include "confdefs.h
"
8792 /* System header to define __stub macros and hopefully few prototypes,
8793 which can conflict with char $ac_func(); below. */
8795 /* Override any gcc2 internal prototype to avoid an error. */
8796 /* We use char because int might match the return type of a gcc2
8797 builtin and then its argument prototype would still apply. */
8802 /* The GNU C library defines this for functions which it implements
8803 to always fail with ENOSYS. Some functions are actually named
8804 something starting with __ and the normal name is an alias. */
8805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8813 if { (eval echo configure:8814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8815 eval "ac_cv_func_
$ac_func=yes"
8817 echo "configure
: failed program was
:" >&5
8818 cat conftest.$ac_ext >&5
8820 eval "ac_cv_func_
$ac_func=no
"
8825 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8826 echo "$ac_t""yes" 1>&6
8827 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8828 cat >> confdefs.h <<EOF
8829 #define $ac_tr_func 1
8833 echo "$ac_t""no
" 1>&6
8840 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
8841 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
8842 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
8843 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
8844 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
8845 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
8847 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8848 echo "configure
:8849: checking
for $ac_func" >&5
8849 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8850 echo $ac_n "(cached
) $ac_c" 1>&6
8852 cat > conftest.$ac_ext <<EOF
8853 #line 8854 "configure
"
8854 #include "confdefs.h
"
8855 /* System header to define __stub macros and hopefully few prototypes,
8856 which can conflict with char $ac_func(); below. */
8858 /* Override any gcc2 internal prototype to avoid an error. */
8859 /* We use char because int might match the return type of a gcc2
8860 builtin and then its argument prototype would still apply. */
8865 /* The GNU C library defines this for functions which it implements
8866 to always fail with ENOSYS. Some functions are actually named
8867 something starting with __ and the normal name is an alias. */
8868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8876 if { (eval echo configure:8877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8878 eval "ac_cv_func_
$ac_func=yes"
8880 echo "configure
: failed program was
:" >&5
8881 cat conftest.$ac_ext >&5
8883 eval "ac_cv_func_
$ac_func=no
"
8888 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8889 echo "$ac_t""yes" 1>&6
8890 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8891 cat >> confdefs.h <<EOF
8892 #define $ac_tr_func 1
8896 echo "$ac_t""no
" 1>&6
8903 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
8904 echo "configure
:8905: checking
for ISO C99 wchar_t support
" >&5
8905 if test x"$has_weof" = xyes &&
8906 test x"$has_wchar_minmax" = xyes &&
8907 test x"$ac_wfuncs" = xyes; then
8908 ac_isoC99_wchar_t=yes
8910 ac_isoC99_wchar_t=no
8912 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
8914 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
8915 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
8916 echo "configure
:8917: checking
for iconv.h
" >&5
8917 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8918 echo $ac_n "(cached
) $ac_c" 1>&6
8920 cat > conftest.$ac_ext <<EOF
8921 #line 8922 "configure
"
8922 #include "confdefs.h
"
8925 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8926 { (eval echo configure:8927: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8927 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8928 if test -z "$ac_err"; then
8930 eval "ac_cv_header_
$ac_safe=yes"
8933 echo "configure
: failed program was
:" >&5
8934 cat conftest.$ac_ext >&5
8936 eval "ac_cv_header_
$ac_safe=no
"
8940 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8941 echo "$ac_t""yes" 1>&6
8944 echo "$ac_t""no
" 1>&6
8948 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
8949 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
8950 echo "configure
:8951: checking
for langinfo.h
" >&5
8951 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8952 echo $ac_n "(cached
) $ac_c" 1>&6
8954 cat > conftest.$ac_ext <<EOF
8955 #line 8956 "configure
"
8956 #include "confdefs.h
"
8957 #include <langinfo.h>
8959 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8960 { (eval echo configure:8961: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8961 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8962 if test -z "$ac_err"; then
8964 eval "ac_cv_header_
$ac_safe=yes"
8967 echo "configure
: failed program was
:" >&5
8968 cat conftest.$ac_ext >&5
8970 eval "ac_cv_header_
$ac_safe=no
"
8974 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8975 echo "$ac_t""yes" 1>&6
8976 ac_has_langinfo_h=yes
8978 echo "$ac_t""no
" 1>&6
8979 ac_has_langinfo_h=no
8983 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
8984 echo "configure
:8985: checking
for iconv in -liconv" >&5
8985 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
8986 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8987 echo $ac_n "(cached
) $ac_c" 1>&6
8989 ac_save_LIBS="$LIBS"
8990 LIBS="-liconv $LIBS"
8991 cat > conftest.$ac_ext <<EOF
8992 #line 8993 "configure
"
8993 #include "confdefs.h
"
8994 /* Override any gcc2 internal prototype to avoid an error. */
8995 /* We use char because int might match the return type of a gcc2
8996 builtin and then its argument prototype would still apply. */
9003 if { (eval echo configure:9004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9005 eval "ac_cv_lib_
$ac_lib_var=yes"
9007 echo "configure
: failed program was
:" >&5
9008 cat conftest.$ac_ext >&5
9010 eval "ac_cv_lib_
$ac_lib_var=no
"
9013 LIBS="$ac_save_LIBS"
9016 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9017 echo "$ac_t""yes" 1>&6
9020 echo "$ac_t""no
" 1>&6
9023 ac_save_LIBS="$LIBS"
9024 LIBS="$LIBS $libiconv"
9026 for ac_func in iconv_open iconv_close iconv nl_langinfo
9028 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9029 echo "configure
:9030: checking
for $ac_func" >&5
9030 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9031 echo $ac_n "(cached
) $ac_c" 1>&6
9033 cat > conftest.$ac_ext <<EOF
9034 #line 9035 "configure
"
9035 #include "confdefs.h
"
9036 /* System header to define __stub macros and hopefully few prototypes,
9037 which can conflict with char $ac_func(); below. */
9039 /* Override any gcc2 internal prototype to avoid an error. */
9040 /* We use char because int might match the return type of a gcc2
9041 builtin and then its argument prototype would still apply. */
9046 /* The GNU C library defines this for functions which it implements
9047 to always fail with ENOSYS. Some functions are actually named
9048 something starting with __ and the normal name is an alias. */
9049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9057 if { (eval echo configure:9058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9059 eval "ac_cv_func_
$ac_func=yes"
9061 echo "configure
: failed program was
:" >&5
9062 cat conftest.$ac_ext >&5
9064 eval "ac_cv_func_
$ac_func=no
"
9069 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9070 echo "$ac_t""yes" 1>&6
9071 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9072 cat >> confdefs.h <<EOF
9073 #define $ac_tr_func 1
9078 echo "$ac_t""no
" 1>&6
9084 LIBS="$ac_save_LIBS"
9086 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
9087 echo "configure
:9088: checking
for XPG2 wchar_t support
" >&5
9088 if test x"$ac_has_iconv_h" = xyes &&
9089 test x"$ac_has_langinfo_h" = xyes &&
9090 test x"$ac_XPG2funcs" = xyes; then
9095 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
9097 if test x"$ac_isoC99_wchar_t" = xyes &&
9098 test x"$ac_XPG2_wchar_t" = xyes; then
9099 cat >> confdefs.h <<\EOF
9100 #define _GLIBCXX_USE_WCHAR_T 1
9106 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
9107 echo "configure
:9108: checking
for enabled wchar_t specializations
" >&5
9108 echo "$ac_t""$enable_wchar_t" 1>&6
9110 cat >> confdefs.h <<\EOF
9111 #define HAVE_COPYSIGN 1
9114 cat >> confdefs.h <<\EOF
9115 #define HAVE_COPYSIGNF 1
9118 cat >> confdefs.h <<\EOF
9119 #define HAVE_FINITEF 1
9122 cat >> confdefs.h <<\EOF
9123 #define HAVE_FINITE 1
9126 cat >> confdefs.h <<\EOF
9127 #define HAVE_FREXPF 1
9130 cat >> confdefs.h <<\EOF
9131 #define HAVE_HYPOTF 1
9134 cat >> confdefs.h <<\EOF
9135 #define HAVE_ISINF 1
9138 cat >> confdefs.h <<\EOF
9139 #define HAVE_ISINFF 1
9142 cat >> confdefs.h <<\EOF
9143 #define HAVE_ISNAN 1
9146 cat >> confdefs.h <<\EOF
9147 #define HAVE_ISNANF 1
9150 if test x"long_double_math_on_this_cpu
" = x"yes"; then
9151 cat >> confdefs.h <<\EOF
9152 #define HAVE_FINITEL 1
9155 cat >> confdefs.h <<\EOF
9156 #define HAVE_ISINFL 1
9159 cat >> confdefs.h <<\EOF
9160 #define HAVE_ISNANL 1
9165 *-qnx6.1* | *-qnx6.2*)
9166 os_include_dir="os
/qnx
/qnx6.1
"
9167 SECTION_FLAGS='-ffunction-sections -fdata-sections'
9170 # If we're not using GNU ld, then there's no point in even trying these
9171 # tests. Check for that first. We should have already tested for gld
9172 # by now (in libtool), but require it now just to be safe...
9173 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
9174 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
9177 # The name set by libtool depends on the version of libtool. Shame on us
9178 # for depending on an impl detail, but c'est la vie. Older versions used
9179 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
9180 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
9181 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
9182 # set (hence we're using an older libtool), then set it.
9183 if test x${with_gnu_ld+set} != xset; then
9184 if test x${ac_cv_prog_gnu_ld+set} != xset; then
9185 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
9188 with_gnu_ld=$ac_cv_prog_gnu_ld
9192 # Start by getting the version number. I think the libtool test already
9193 # does some of this, but throws away the result.
9195 ldver=`$LD --version 2>/dev/null | head -1 | \
9196 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
9198 glibcxx_gnu_ld_version=`echo $ldver | \
9199 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
9201 # Set --gc-sections.
9202 if test "$with_gnu_ld" = "notbroken
"; then
9203 # GNU ld it is! Joy and bunny rabbits!
9205 # All these tests are for C++; save the language and the compiler flags.
9206 # Need to do this so that g++ won't try to link in libstdc++
9207 ac_test_CFLAGS="${CFLAGS+set}"
9208 ac_save_CFLAGS="$CFLAGS"
9209 CFLAGS='-x c++ -Wl,--gc-sections'
9211 # Check for -Wl,--gc-sections
9212 # XXX This test is broken at the moment, as symbols required for
9213 # linking are now in libsupc++ (not built yet.....). In addition,
9214 # this test has cored on solaris in the past. In addition,
9215 # --gc-sections doesn't really work at the moment (keeps on discarding
9216 # used sections, first .eh_frame and now some of the glibc sections for
9217 # iconv). Bzzzzt. Thanks for playing, maybe next time.
9218 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
9219 echo "configure
:9220: checking
for ld that supports
-Wl,--gc-sections" >&5
9220 if test "$cross_compiling" = yes; then
9221 ac_sectionLDflags=yes
9223 cat > conftest.$ac_ext <<EOF
9224 #line 9225 "configure
"
9225 #include "confdefs.h
"
9235 if { (eval echo configure:9236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9237 ac_sectionLDflags=yes
9239 echo "configure
: failed program was
:" >&5
9240 cat conftest.$ac_ext >&5
9242 ac_sectionLDflags=no
9247 if test "$ac_test_CFLAGS" = set; then
9248 CFLAGS="$ac_save_CFLAGS"
9250 # this is the suspicious part
9253 if test "$ac_sectionLDflags" = "yes"; then
9254 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
9256 echo "$ac_t""$ac_sectionLDflags" 1>&6
9259 # Set linker optimization flags.
9260 if test x"$with_gnu_ld" = x"yes"; then
9261 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
9268 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
9269 echo "configure
:9270: checking
for main
in -lm" >&5
9270 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
9271 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9272 echo $ac_n "(cached
) $ac_c" 1>&6
9274 ac_save_LIBS="$LIBS"
9276 cat > conftest.$ac_ext <<EOF
9277 #line 9278 "configure
"
9278 #include "confdefs.h
"
9284 if { (eval echo configure:9285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9286 eval "ac_cv_lib_
$ac_lib_var=yes"
9288 echo "configure
: failed program was
:" >&5
9289 cat conftest.$ac_ext >&5
9291 eval "ac_cv_lib_
$ac_lib_var=no
"
9294 LIBS="$ac_save_LIBS"
9297 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9298 echo "$ac_t""yes" 1>&6
9299 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
9300 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
9301 cat >> confdefs.h <<EOF
9302 #define $ac_tr_lib 1
9308 echo "$ac_t""no
" 1>&6
9311 for ac_func in nan copysignf
9313 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9314 echo "configure
:9315: checking
for $ac_func" >&5
9315 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9316 echo $ac_n "(cached
) $ac_c" 1>&6
9318 cat > conftest.$ac_ext <<EOF
9319 #line 9320 "configure
"
9320 #include "confdefs.h
"
9321 /* System header to define __stub macros and hopefully few prototypes,
9322 which can conflict with char $ac_func(); below. */
9324 /* Override any gcc2 internal prototype to avoid an error. */
9325 /* We use char because int might match the return type of a gcc2
9326 builtin and then its argument prototype would still apply. */
9331 /* The GNU C library defines this for functions which it implements
9332 to always fail with ENOSYS. Some functions are actually named
9333 something starting with __ and the normal name is an alias. */
9334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9342 if { (eval echo configure:9343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9344 eval "ac_cv_func_
$ac_func=yes"
9346 echo "configure
: failed program was
:" >&5
9347 cat conftest.$ac_ext >&5
9349 eval "ac_cv_func_
$ac_func=no
"
9354 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9355 echo "$ac_t""yes" 1>&6
9356 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9357 cat >> confdefs.h <<EOF
9358 #define $ac_tr_func 1
9362 echo "$ac_t""no
" 1>&6
9363 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
9368 for ac_func in __signbit
9370 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9371 echo "configure
:9372: checking
for $ac_func" >&5
9372 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9373 echo $ac_n "(cached
) $ac_c" 1>&6
9375 cat > conftest.$ac_ext <<EOF
9376 #line 9377 "configure
"
9377 #include "confdefs.h
"
9378 /* System header to define __stub macros and hopefully few prototypes,
9379 which can conflict with char $ac_func(); below. */
9381 /* Override any gcc2 internal prototype to avoid an error. */
9382 /* We use char because int might match the return type of a gcc2
9383 builtin and then its argument prototype would still apply. */
9388 /* The GNU C library defines this for functions which it implements
9389 to always fail with ENOSYS. Some functions are actually named
9390 something starting with __ and the normal name is an alias. */
9391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9399 if { (eval echo configure:9400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9401 eval "ac_cv_func_
$ac_func=yes"
9403 echo "configure
: failed program was
:" >&5
9404 cat conftest.$ac_ext >&5
9406 eval "ac_cv_func_
$ac_func=no
"
9411 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9412 echo "$ac_t""yes" 1>&6
9413 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9414 cat >> confdefs.h <<EOF
9415 #define $ac_tr_func 1
9419 echo "$ac_t""no
" 1>&6
9420 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
9424 for ac_func in __signbitf
9426 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9427 echo "configure
:9428: checking
for $ac_func" >&5
9428 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9429 echo $ac_n "(cached
) $ac_c" 1>&6
9431 cat > conftest.$ac_ext <<EOF
9432 #line 9433 "configure
"
9433 #include "confdefs.h
"
9434 /* System header to define __stub macros and hopefully few prototypes,
9435 which can conflict with char $ac_func(); below. */
9437 /* Override any gcc2 internal prototype to avoid an error. */
9438 /* We use char because int might match the return type of a gcc2
9439 builtin and then its argument prototype would still apply. */
9444 /* The GNU C library defines this for functions which it implements
9445 to always fail with ENOSYS. Some functions are actually named
9446 something starting with __ and the normal name is an alias. */
9447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9455 if { (eval echo configure:9456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9457 eval "ac_cv_func_
$ac_func=yes"
9459 echo "configure
: failed program was
:" >&5
9460 cat conftest.$ac_ext >&5
9462 eval "ac_cv_func_
$ac_func=no
"
9467 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9468 echo "$ac_t""yes" 1>&6
9469 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9470 cat >> confdefs.h <<EOF
9471 #define $ac_tr_func 1
9475 echo "$ac_t""no
" 1>&6
9476 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
9481 if test x$ac_cv_func_copysignl = x"yes"; then
9482 for ac_func in __signbitl
9484 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9485 echo "configure
:9486: checking
for $ac_func" >&5
9486 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9487 echo $ac_n "(cached
) $ac_c" 1>&6
9489 cat > conftest.$ac_ext <<EOF
9490 #line 9491 "configure
"
9491 #include "confdefs.h
"
9492 /* System header to define __stub macros and hopefully few prototypes,
9493 which can conflict with char $ac_func(); below. */
9495 /* Override any gcc2 internal prototype to avoid an error. */
9496 /* We use char because int might match the return type of a gcc2
9497 builtin and then its argument prototype would still apply. */
9502 /* The GNU C library defines this for functions which it implements
9503 to always fail with ENOSYS. Some functions are actually named
9504 something starting with __ and the normal name is an alias. */
9505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9513 if { (eval echo configure:9514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9515 eval "ac_cv_func_
$ac_func=yes"
9517 echo "configure
: failed program was
:" >&5
9518 cat conftest.$ac_ext >&5
9520 eval "ac_cv_func_
$ac_func=no
"
9525 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9526 echo "$ac_t""yes" 1>&6
9527 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9528 cat >> confdefs.h <<EOF
9529 #define $ac_tr_func 1
9533 echo "$ac_t""no
" 1>&6
9534 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
9540 if test -n "$LIBMATHOBJS"; then
9547 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
9548 echo "configure
:9549: checking
for mbstate_t
" >&5
9549 cat > conftest.$ac_ext <<EOF
9550 #line 9551 "configure
"
9551 #include "confdefs.h
"
9554 mbstate_t teststate;
9557 if { (eval echo configure:9558: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9561 echo "configure
: failed program was
:" >&5
9562 cat conftest.$ac_ext >&5
9567 echo "$ac_t""$have_mbstate_t" 1>&6
9568 if test x"$have_mbstate_t" = xyes; then
9569 cat >> confdefs.h <<\EOF
9570 #define HAVE_MBSTATE_T 1
9575 for ac_hdr in wchar.h
9577 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9578 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
9579 echo "configure
:9580: checking
for $ac_hdr" >&5
9580 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9581 echo $ac_n "(cached
) $ac_c" 1>&6
9583 cat > conftest.$ac_ext <<EOF
9584 #line 9585 "configure
"
9585 #include "confdefs.h
"
9588 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
9589 { (eval echo configure:9590: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9590 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
9591 if test -z "$ac_err"; then
9593 eval "ac_cv_header_
$ac_safe=yes"
9596 echo "configure
: failed program was
:" >&5
9597 cat conftest.$ac_ext >&5
9599 eval "ac_cv_header_
$ac_safe=no
"
9603 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9604 echo "$ac_t""yes" 1>&6
9605 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9606 cat >> confdefs.h <<EOF
9607 #define $ac_tr_hdr 1
9611 echo "$ac_t""no
" 1>&6
9616 for ac_hdr in wctype.h
9618 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9619 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
9620 echo "configure
:9621: checking
for $ac_hdr" >&5
9621 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9622 echo $ac_n "(cached
) $ac_c" 1>&6
9624 cat > conftest.$ac_ext <<EOF
9625 #line 9626 "configure
"
9626 #include "confdefs.h
"
9629 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
9630 { (eval echo configure:9631: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9631 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
9632 if test -z "$ac_err"; then
9634 eval "ac_cv_header_
$ac_safe=yes"
9637 echo "configure
: failed program was
:" >&5
9638 cat conftest.$ac_ext >&5
9640 eval "ac_cv_header_
$ac_safe=no
"
9644 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9645 echo "$ac_t""yes" 1>&6
9646 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9647 cat >> confdefs.h <<EOF
9648 #define $ac_tr_hdr 1
9652 echo "$ac_t""no
" 1>&6
9658 if test x"$ac_has_wchar_h" = xyes &&
9659 test x"$ac_has_wctype_h" = xyes &&
9660 test x"$enable_c_mbchar" != xno; then
9662 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
9663 echo "configure
:9664: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
9664 cat > conftest.$ac_ext <<EOF
9665 #line 9666 "configure
"
9666 #include "confdefs.h
"
9669 int i = WCHAR_MIN; int j = WCHAR_MAX;
9672 if { (eval echo configure:9673: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9674 has_wchar_minmax=yes
9676 echo "configure
: failed program was
:" >&5
9677 cat conftest.$ac_ext >&5
9682 echo "$ac_t""$has_wchar_minmax" 1>&6
9684 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
9685 echo "configure
:9686: checking
for WEOF
" >&5
9686 cat > conftest.$ac_ext <<EOF
9687 #line 9688 "configure
"
9688 #include "confdefs.h
"
9696 if { (eval echo configure:9697: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9700 echo "configure
: failed program was
:" >&5
9701 cat conftest.$ac_ext >&5
9706 echo "$ac_t""$has_weof" 1>&6
9709 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
9711 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9712 echo "configure
:9713: checking
for $ac_func" >&5
9713 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9714 echo $ac_n "(cached
) $ac_c" 1>&6
9716 cat > conftest.$ac_ext <<EOF
9717 #line 9718 "configure
"
9718 #include "confdefs.h
"
9719 /* System header to define __stub macros and hopefully few prototypes,
9720 which can conflict with char $ac_func(); below. */
9722 /* Override any gcc2 internal prototype to avoid an error. */
9723 /* We use char because int might match the return type of a gcc2
9724 builtin and then its argument prototype would still apply. */
9729 /* The GNU C library defines this for functions which it implements
9730 to always fail with ENOSYS. Some functions are actually named
9731 something starting with __ and the normal name is an alias. */
9732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9740 if { (eval echo configure:9741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9742 eval "ac_cv_func_
$ac_func=yes"
9744 echo "configure
: failed program was
:" >&5
9745 cat conftest.$ac_ext >&5
9747 eval "ac_cv_func_
$ac_func=no
"
9752 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9753 echo "$ac_t""yes" 1>&6
9754 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9755 cat >> confdefs.h <<EOF
9756 #define $ac_tr_func 1
9760 echo "$ac_t""no
" 1>&6
9767 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
9768 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
9769 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
9770 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
9771 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
9772 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
9774 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9775 echo "configure
:9776: checking
for $ac_func" >&5
9776 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9777 echo $ac_n "(cached
) $ac_c" 1>&6
9779 cat > conftest.$ac_ext <<EOF
9780 #line 9781 "configure
"
9781 #include "confdefs.h
"
9782 /* System header to define __stub macros and hopefully few prototypes,
9783 which can conflict with char $ac_func(); below. */
9785 /* Override any gcc2 internal prototype to avoid an error. */
9786 /* We use char because int might match the return type of a gcc2
9787 builtin and then its argument prototype would still apply. */
9792 /* The GNU C library defines this for functions which it implements
9793 to always fail with ENOSYS. Some functions are actually named
9794 something starting with __ and the normal name is an alias. */
9795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9803 if { (eval echo configure:9804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9805 eval "ac_cv_func_
$ac_func=yes"
9807 echo "configure
: failed program was
:" >&5
9808 cat conftest.$ac_ext >&5
9810 eval "ac_cv_func_
$ac_func=no
"
9815 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9816 echo "$ac_t""yes" 1>&6
9817 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9818 cat >> confdefs.h <<EOF
9819 #define $ac_tr_func 1
9823 echo "$ac_t""no
" 1>&6
9830 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
9831 echo "configure
:9832: checking
for ISO C99 wchar_t support
" >&5
9832 if test x"$has_weof" = xyes &&
9833 test x"$has_wchar_minmax" = xyes &&
9834 test x"$ac_wfuncs" = xyes; then
9835 ac_isoC99_wchar_t=yes
9837 ac_isoC99_wchar_t=no
9839 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
9841 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
9842 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
9843 echo "configure
:9844: checking
for iconv.h
" >&5
9844 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9845 echo $ac_n "(cached
) $ac_c" 1>&6
9847 cat > conftest.$ac_ext <<EOF
9848 #line 9849 "configure
"
9849 #include "confdefs.h
"
9852 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
9853 { (eval echo configure:9854: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9854 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
9855 if test -z "$ac_err"; then
9857 eval "ac_cv_header_
$ac_safe=yes"
9860 echo "configure
: failed program was
:" >&5
9861 cat conftest.$ac_ext >&5
9863 eval "ac_cv_header_
$ac_safe=no
"
9867 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9868 echo "$ac_t""yes" 1>&6
9871 echo "$ac_t""no
" 1>&6
9875 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
9876 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
9877 echo "configure
:9878: checking
for langinfo.h
" >&5
9878 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9879 echo $ac_n "(cached
) $ac_c" 1>&6
9881 cat > conftest.$ac_ext <<EOF
9882 #line 9883 "configure
"
9883 #include "confdefs.h
"
9884 #include <langinfo.h>
9886 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
9887 { (eval echo configure:9888: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9888 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
9889 if test -z "$ac_err"; then
9891 eval "ac_cv_header_
$ac_safe=yes"
9894 echo "configure
: failed program was
:" >&5
9895 cat conftest.$ac_ext >&5
9897 eval "ac_cv_header_
$ac_safe=no
"
9901 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9902 echo "$ac_t""yes" 1>&6
9903 ac_has_langinfo_h=yes
9905 echo "$ac_t""no
" 1>&6
9906 ac_has_langinfo_h=no
9910 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
9911 echo "configure
:9912: checking
for iconv in -liconv" >&5
9912 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
9913 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9914 echo $ac_n "(cached
) $ac_c" 1>&6
9916 ac_save_LIBS="$LIBS"
9917 LIBS="-liconv $LIBS"
9918 cat > conftest.$ac_ext <<EOF
9919 #line 9920 "configure
"
9920 #include "confdefs.h
"
9921 /* Override any gcc2 internal prototype to avoid an error. */
9922 /* We use char because int might match the return type of a gcc2
9923 builtin and then its argument prototype would still apply. */
9930 if { (eval echo configure:9931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9932 eval "ac_cv_lib_
$ac_lib_var=yes"
9934 echo "configure
: failed program was
:" >&5
9935 cat conftest.$ac_ext >&5
9937 eval "ac_cv_lib_
$ac_lib_var=no
"
9940 LIBS="$ac_save_LIBS"
9943 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9944 echo "$ac_t""yes" 1>&6
9947 echo "$ac_t""no
" 1>&6
9950 ac_save_LIBS="$LIBS"
9951 LIBS="$LIBS $libiconv"
9953 for ac_func in iconv_open iconv_close iconv nl_langinfo
9955 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9956 echo "configure
:9957: checking
for $ac_func" >&5
9957 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9958 echo $ac_n "(cached
) $ac_c" 1>&6
9960 cat > conftest.$ac_ext <<EOF
9961 #line 9962 "configure
"
9962 #include "confdefs.h
"
9963 /* System header to define __stub macros and hopefully few prototypes,
9964 which can conflict with char $ac_func(); below. */
9966 /* Override any gcc2 internal prototype to avoid an error. */
9967 /* We use char because int might match the return type of a gcc2
9968 builtin and then its argument prototype would still apply. */
9973 /* The GNU C library defines this for functions which it implements
9974 to always fail with ENOSYS. Some functions are actually named
9975 something starting with __ and the normal name is an alias. */
9976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9984 if { (eval echo configure:9985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9986 eval "ac_cv_func_
$ac_func=yes"
9988 echo "configure
: failed program was
:" >&5
9989 cat conftest.$ac_ext >&5
9991 eval "ac_cv_func_
$ac_func=no
"
9996 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9997 echo "$ac_t""yes" 1>&6
9998 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9999 cat >> confdefs.h <<EOF
10000 #define $ac_tr_func 1
10005 echo "$ac_t""no
" 1>&6
10011 LIBS="$ac_save_LIBS"
10013 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
10014 echo "configure
:10015: checking
for XPG2 wchar_t support
" >&5
10015 if test x"$ac_has_iconv_h" = xyes &&
10016 test x"$ac_has_langinfo_h" = xyes &&
10017 test x"$ac_XPG2funcs" = xyes; then
10018 ac_XPG2_wchar_t=yes
10022 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
10024 if test x"$ac_isoC99_wchar_t" = xyes &&
10025 test x"$ac_XPG2_wchar_t" = xyes; then
10026 cat >> confdefs.h <<\EOF
10027 #define _GLIBCXX_USE_WCHAR_T 1
10033 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
10034 echo "configure
:10035: checking
for enabled wchar_t specializations
" >&5
10035 echo "$ac_t""$enable_wchar_t" 1>&6
10037 cat >> confdefs.h <<\EOF
10038 #define HAVE_COSF 1
10041 cat >> confdefs.h <<\EOF
10042 #define HAVE_COSL 1
10045 cat >> confdefs.h <<\EOF
10046 #define HAVE_COSHF 1
10049 cat >> confdefs.h <<\EOF
10050 #define HAVE_COSHL 1
10053 cat >> confdefs.h <<\EOF
10054 #define HAVE_LOGF 1
10057 cat >> confdefs.h <<\EOF
10058 #define HAVE_LOGL 1
10061 cat >> confdefs.h <<\EOF
10062 #define HAVE_LOG10F 1
10065 cat >> confdefs.h <<\EOF
10066 #define HAVE_LOG10L 1
10069 cat >> confdefs.h <<\EOF
10070 #define HAVE_SINF 1
10073 cat >> confdefs.h <<\EOF
10074 #define HAVE_SINL 1
10077 cat >> confdefs.h <<\EOF
10078 #define HAVE_SINHF 1
10081 cat >> confdefs.h <<\EOF
10082 #define HAVE_SINHL 1
10089 os_include_dir="os
/solaris
/solaris2.5
"
10092 os_include_dir="os
/solaris
/solaris2.6
"
10094 *-solaris2.7 | *-solaris2.8 | *-solaris2.9)
10095 os_include_dir="os
/solaris
/solaris2.7
"
10098 cat >> confdefs.h <<\EOF
10099 #define HAVE_STRTOF 1
10102 cat >> confdefs.h <<\EOF
10103 #define HAVE_STRTOLD 1
10106 cat >> confdefs.h <<\EOF
10107 #define HAVE_MMAP 1
10110 cat >> confdefs.h <<\EOF
10111 #define HAVE_COPYSIGN 1
10114 cat >> confdefs.h <<\EOF
10115 #define HAVE_ISNAN 1
10118 cat >> confdefs.h <<\EOF
10119 #define HAVE_ISNANF 1
10122 cat >> confdefs.h <<\EOF
10123 #define HAVE_MODFF 1
10126 cat >> confdefs.h <<\EOF
10127 #define HAVE_HYPOT 1
10132 os_include_dir="os
/windiss
"
10133 cat >> confdefs.h <<\EOF
10134 #define HAVE_ACOSF 1
10137 cat >> confdefs.h <<\EOF
10138 #define HAVE_ASINF 1
10141 cat >> confdefs.h <<\EOF
10142 #define HAVE_ATAN2F 1
10145 cat >> confdefs.h <<\EOF
10146 #define HAVE_ATANF 1
10149 cat >> confdefs.h <<\EOF
10150 #define HAVE_CEILF 1
10153 cat >> confdefs.h <<\EOF
10154 #define HAVE_COPYSIGN 1
10157 cat >> confdefs.h <<\EOF
10158 #define HAVE_COPYSIGNF 1
10161 cat >> confdefs.h <<\EOF
10162 #define HAVE_COSF 1
10165 cat >> confdefs.h <<\EOF
10166 #define HAVE_COSHF 1
10169 cat >> confdefs.h <<\EOF
10170 #define HAVE_EXPF 1
10173 cat >> confdefs.h <<\EOF
10174 #define HAVE_FABSF 1
10177 cat >> confdefs.h <<\EOF
10178 #define HAVE_FLOORF 1
10181 cat >> confdefs.h <<\EOF
10182 #define HAVE_FMODF 1
10185 cat >> confdefs.h <<\EOF
10186 #define HAVE_FREXPF 1
10189 cat >> confdefs.h <<\EOF
10190 #define HAVE_LDEXPF 1
10193 cat >> confdefs.h <<\EOF
10194 #define HAVE_LOG10F 1
10197 cat >> confdefs.h <<\EOF
10198 #define HAVE_LOGF 1
10201 cat >> confdefs.h <<\EOF
10202 #define HAVE_MODFF 1
10205 cat >> confdefs.h <<\EOF
10206 #define HAVE_POWF 1
10209 cat >> confdefs.h <<\EOF
10210 #define HAVE_SINF 1
10213 cat >> confdefs.h <<\EOF
10214 #define HAVE_SINHF 1
10217 cat >> confdefs.h <<\EOF
10218 #define HAVE_SQRTF 1
10221 cat >> confdefs.h <<\EOF
10222 #define HAVE_TANF 1
10225 cat >> confdefs.h <<\EOF
10226 #define HAVE_TANHF 1
10231 if test "x
${with_newlib}" = "xyes
"; then
10232 os_include_dir="os
/newlib
"
10233 cat >> confdefs.h <<\EOF
10234 #define HAVE_HYPOT 1
10238 # GLIBCXX_CHECK_STDLIB_SUPPORT
10239 cat >> confdefs.h <<\EOF
10240 #define HAVE_STRTOF 1
10243 cat >> confdefs.h <<\EOF
10244 #define HAVE_STRTOLD 1
10248 cat >> confdefs.h <<\EOF
10249 #define HAVE_MMAP 1
10253 cat >> confdefs.h <<\EOF
10254 #define HAVE_ACOSF 1
10257 cat >> confdefs.h <<\EOF
10258 #define HAVE_ASINF 1
10261 cat >> confdefs.h <<\EOF
10262 #define HAVE_ATAN2F 1
10265 cat >> confdefs.h <<\EOF
10266 #define HAVE_ATANF 1
10269 cat >> confdefs.h <<\EOF
10270 #define HAVE_CEILF 1
10273 cat >> confdefs.h <<\EOF
10274 #define HAVE_COPYSIGN 1
10277 cat >> confdefs.h <<\EOF
10278 #define HAVE_COPYSIGNF 1
10281 cat >> confdefs.h <<\EOF
10282 #define HAVE_COSF 1
10285 cat >> confdefs.h <<\EOF
10286 #define HAVE_COSHF 1
10289 cat >> confdefs.h <<\EOF
10290 #define HAVE_EXPF 1
10293 cat >> confdefs.h <<\EOF
10294 #define HAVE_FABSF 1
10297 cat >> confdefs.h <<\EOF
10298 #define HAVE_FLOORF 1
10301 cat >> confdefs.h <<\EOF
10302 #define HAVE_FMODF 1
10305 cat >> confdefs.h <<\EOF
10306 #define HAVE_FREXPF 1
10309 cat >> confdefs.h <<\EOF
10310 #define HAVE_LDEXPF 1
10313 cat >> confdefs.h <<\EOF
10314 #define HAVE_LOG10F 1
10317 cat >> confdefs.h <<\EOF
10318 #define HAVE_LOGF 1
10321 cat >> confdefs.h <<\EOF
10322 #define HAVE_MODFF 1
10325 cat >> confdefs.h <<\EOF
10326 #define HAVE_POWF 1
10329 cat >> confdefs.h <<\EOF
10330 #define HAVE_SINF 1
10333 cat >> confdefs.h <<\EOF
10334 #define HAVE_SINHF 1
10337 cat >> confdefs.h <<\EOF
10338 #define HAVE_SQRTF 1
10341 cat >> confdefs.h <<\EOF
10342 #define HAVE_TANF 1
10345 cat >> confdefs.h <<\EOF
10346 #define HAVE_TANHF 1
10350 { echo "configure
: error
: No support
for this host
/target combination.
" 1>&2; exit 1; }
10355 # At some point, we should differentiate between architectures
10356 # like x86, which have long double versions, and alpha/powerpc/etc.,
10357 # which don't. For the time being, punt.
10358 if test x"long_double_math_on_this_cpu
" = x"yes"; then
10359 cat >> confdefs.h <<\EOF
10360 #define HAVE_ACOSL 1
10363 cat >> confdefs.h <<\EOF
10364 #define HAVE_ASINL 1
10367 cat >> confdefs.h <<\EOF
10368 #define HAVE_ATAN2L 1
10371 cat >> confdefs.h <<\EOF
10372 #define HAVE_ATANL 1
10375 cat >> confdefs.h <<\EOF
10376 #define HAVE_CEILL 1
10379 cat >> confdefs.h <<\EOF
10380 #define HAVE_COPYSIGNL 1
10383 cat >> confdefs.h <<\EOF
10384 #define HAVE_COSL 1
10387 cat >> confdefs.h <<\EOF
10388 #define HAVE_COSHL 1
10391 cat >> confdefs.h <<\EOF
10392 #define HAVE_EXPL 1
10395 cat >> confdefs.h <<\EOF
10396 #define HAVE_FABSL 1
10399 cat >> confdefs.h <<\EOF
10400 #define HAVE_FLOORL 1
10403 cat >> confdefs.h <<\EOF
10404 #define HAVE_FMODL 1
10407 cat >> confdefs.h <<\EOF
10408 #define HAVE_FREXPL 1
10411 cat >> confdefs.h <<\EOF
10412 #define HAVE_LDEXPL 1
10415 cat >> confdefs.h <<\EOF
10416 #define HAVE_LOG10L 1
10419 cat >> confdefs.h <<\EOF
10420 #define HAVE_LOGL 1
10423 cat >> confdefs.h <<\EOF
10424 #define HAVE_MODFL 1
10427 cat >> confdefs.h <<\EOF
10428 #define HAVE_POWL 1
10431 cat >> confdefs.h <<\EOF
10432 #define HAVE_SINCOSL 1
10435 cat >> confdefs.h <<\EOF
10436 #define HAVE_SINL 1
10439 cat >> confdefs.h <<\EOF
10440 #define HAVE_SINHL 1
10443 cat >> confdefs.h <<\EOF
10444 #define HAVE_SQRTL 1
10447 cat >> confdefs.h <<\EOF
10448 #define HAVE_TANL 1
10451 cat >> confdefs.h <<\EOF
10452 #define HAVE_TANHL 1
10459 # We are being configured natively. We can do more elaborate tests
10460 # that include AC_TRY_COMPILE now, as the linker is assumed to be
10462 GLIBCXX_IS_CROSS_COMPILING=false
10465 # Check for available headers.
10466 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
10467 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
10470 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10471 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
10472 echo "configure
:10473: checking
for $ac_hdr" >&5
10473 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10474 echo $ac_n "(cached
) $ac_c" 1>&6
10476 cat > conftest.$ac_ext <<EOF
10477 #line 10478 "configure
"
10478 #include "confdefs.h
"
10481 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
10482 { (eval echo configure:10483: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10483 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
10484 if test -z "$ac_err"; then
10486 eval "ac_cv_header_
$ac_safe=yes"
10489 echo "configure
: failed program was
:" >&5
10490 cat conftest.$ac_ext >&5
10492 eval "ac_cv_header_
$ac_safe=no
"
10496 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10497 echo "$ac_t""yes" 1>&6
10498 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10499 cat >> confdefs.h <<EOF
10500 #define $ac_tr_hdr 1
10504 echo "$ac_t""no
" 1>&6
10510 # All these tests are for C++; save the language and the compiler flags.
10511 # The CXXFLAGS thing is suspicious, but based on similar bits previously
10512 # found in GLIBCXX_CONFIGURE.
10515 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10516 ac_cpp='$CXXCPP $CPPFLAGS'
10517 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10518 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10519 cross_compiling=$ac_cv_prog_cxx_cross
10521 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10522 ac_save_CXXFLAGS="$CXXFLAGS"
10524 # Check for maintainer-mode bits.
10525 if test x"$USE_MAINTAINER_MODE" = xno; then
10531 # Check for -ffunction-sections -fdata-sections
10532 echo $ac_n "checking
for g
++ that supports
-ffunction-sections -fdata-sections""...
$ac_c" 1>&6
10533 echo "configure
:10534: checking
for g
++ that supports
-ffunction-sections -fdata-sections" >&5
10534 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
10535 cat > conftest.$ac_ext <<EOF
10536 #line 10537 "configure
"
10537 #include "confdefs.h
"
10544 if { (eval echo configure:10545: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10548 echo "configure
: failed program was
:" >&5
10549 cat conftest.$ac_ext >&5
10554 if test "$ac_test_CXXFLAGS" = set; then
10555 CXXFLAGS="$ac_save_CXXFLAGS"
10557 # this is the suspicious part
10560 if test x"$ac_fdsections" = x"yes"; then
10561 SECTION_FLAGS='-ffunction-sections -fdata-sections'
10563 echo "$ac_t""$ac_fdsections" 1>&6
10566 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10567 ac_cpp='$CPP $CPPFLAGS'
10568 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10569 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10570 cross_compiling=$ac_cv_prog_cc_cross
10576 # If we're not using GNU ld, then there's no point in even trying these
10577 # tests. Check for that first. We should have already tested for gld
10578 # by now (in libtool), but require it now just to be safe...
10579 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
10580 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
10583 # The name set by libtool depends on the version of libtool. Shame on us
10584 # for depending on an impl detail, but c'est la vie. Older versions used
10585 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
10586 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
10587 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
10588 # set (hence we're using an older libtool), then set it.
10589 if test x${with_gnu_ld+set} != xset; then
10590 if test x${ac_cv_prog_gnu_ld+set} != xset; then
10591 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
10594 with_gnu_ld=$ac_cv_prog_gnu_ld
10598 # Start by getting the version number. I think the libtool test already
10599 # does some of this, but throws away the result.
10601 ldver=`$LD --version 2>/dev/null | head -1 | \
10602 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
10604 glibcxx_gnu_ld_version=`echo $ldver | \
10605 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
10607 # Set --gc-sections.
10608 if test "$with_gnu_ld" = "notbroken
"; then
10609 # GNU ld it is! Joy and bunny rabbits!
10611 # All these tests are for C++; save the language and the compiler flags.
10612 # Need to do this so that g++ won't try to link in libstdc++
10613 ac_test_CFLAGS="${CFLAGS+set}"
10614 ac_save_CFLAGS="$CFLAGS"
10615 CFLAGS='-x c++ -Wl,--gc-sections'
10617 # Check for -Wl,--gc-sections
10618 # XXX This test is broken at the moment, as symbols required for
10619 # linking are now in libsupc++ (not built yet.....). In addition,
10620 # this test has cored on solaris in the past. In addition,
10621 # --gc-sections doesn't really work at the moment (keeps on discarding
10622 # used sections, first .eh_frame and now some of the glibc sections for
10623 # iconv). Bzzzzt. Thanks for playing, maybe next time.
10624 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
10625 echo "configure
:10626: checking
for ld that supports
-Wl,--gc-sections" >&5
10626 if test "$cross_compiling" = yes; then
10627 ac_sectionLDflags=yes
10629 cat > conftest.$ac_ext <<EOF
10630 #line 10631 "configure
"
10631 #include "confdefs.h
"
10641 if { (eval echo configure:10642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10643 ac_sectionLDflags=yes
10645 echo "configure
: failed program was
:" >&5
10646 cat conftest.$ac_ext >&5
10648 ac_sectionLDflags=no
10653 if test "$ac_test_CFLAGS" = set; then
10654 CFLAGS="$ac_save_CFLAGS"
10656 # this is the suspicious part
10659 if test "$ac_sectionLDflags" = "yes"; then
10660 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
10662 echo "$ac_t""$ac_sectionLDflags" 1>&6
10665 # Set linker optimization flags.
10666 if test x"$with_gnu_ld" = x"yes"; then
10667 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
10674 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10675 ac_save_CXXFLAGS="$CXXFLAGS"
10676 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
10678 echo $ac_n "checking
for sin
in -lm""...
$ac_c" 1>&6
10679 echo "configure
:10680: checking
for sin
in -lm" >&5
10680 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
10681 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10682 echo $ac_n "(cached
) $ac_c" 1>&6
10684 ac_save_LIBS="$LIBS"
10686 cat > conftest.$ac_ext <<EOF
10687 #line 10688 "configure
"
10688 #include "confdefs.h
"
10689 /* Override any gcc2 internal prototype to avoid an error. */
10690 /* We use char because int might match the return type of a gcc2
10691 builtin and then its argument prototype would still apply. */
10698 if { (eval echo configure:10699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10700 eval "ac_cv_lib_
$ac_lib_var=yes"
10702 echo "configure
: failed program was
:" >&5
10703 cat conftest.$ac_ext >&5
10705 eval "ac_cv_lib_
$ac_lib_var=no
"
10708 LIBS="$ac_save_LIBS"
10711 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10712 echo "$ac_t""yes" 1>&6
10715 echo "$ac_t""no
" 1>&6
10718 ac_save_LIBS="$LIBS"
10723 echo $ac_n "checking
for isinf declaration
""...
$ac_c" 1>&6
10724 echo "configure
:10725: checking
for isinf declaration
" >&5
10725 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
10726 if eval "test \"`echo '$''{'glibcxx_cv_func_isinf_use'+set}'`\" = set"; then
10727 echo $ac_n "(cached
) $ac_c" 1>&6
10732 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10733 ac_cpp='$CXXCPP $CPPFLAGS'
10734 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10735 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10736 cross_compiling=$ac_cv_prog_cxx_cross
10738 cat > conftest.$ac_ext <<EOF
10739 #line 10740 "configure
"
10740 #include "confdefs.h
"
10742 #ifdef HAVE_IEEEFP_H
10743 #include <ieeefp.h>
10750 if { (eval echo configure:10751: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10752 glibcxx_cv_func_isinf_use=yes
10754 echo "configure
: failed program was
:" >&5
10755 cat conftest.$ac_ext >&5
10757 glibcxx_cv_func_isinf_use=no
10761 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10762 ac_cpp='$CPP $CPPFLAGS'
10763 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10764 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10765 cross_compiling=$ac_cv_prog_cc_cross
10771 echo "$ac_t""$glibcxx_cv_func_isinf_use" 1>&6
10773 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
10774 for ac_func in isinf
10776 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10777 echo "configure
:10778: checking
for $ac_func" >&5
10778 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10779 echo $ac_n "(cached
) $ac_c" 1>&6
10781 cat > conftest.$ac_ext <<EOF
10782 #line 10783 "configure
"
10783 #include "confdefs.h
"
10784 /* System header to define __stub macros and hopefully few prototypes,
10785 which can conflict with char $ac_func(); below. */
10786 #include <assert.h>
10787 /* Override any gcc2 internal prototype to avoid an error. */
10788 /* We use char because int might match the return type of a gcc2
10789 builtin and then its argument prototype would still apply. */
10794 /* The GNU C library defines this for functions which it implements
10795 to always fail with ENOSYS. Some functions are actually named
10796 something starting with __ and the normal name is an alias. */
10797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10805 if { (eval echo configure:10806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10807 eval "ac_cv_func_
$ac_func=yes"
10809 echo "configure
: failed program was
:" >&5
10810 cat conftest.$ac_ext >&5
10812 eval "ac_cv_func_
$ac_func=no
"
10817 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10818 echo "$ac_t""yes" 1>&6
10819 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10820 cat >> confdefs.h <<EOF
10821 #define $ac_tr_func 1
10825 echo "$ac_t""no
" 1>&6
10831 echo $ac_n "checking
for _isinf declaration
""...
$ac_c" 1>&6
10832 echo "configure
:10833: checking
for _isinf declaration
" >&5
10833 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
10834 if eval "test \"`echo '$''{'glibcxx_cv_func__isinf_use'+set}'`\" = set"; then
10835 echo $ac_n "(cached
) $ac_c" 1>&6
10840 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10841 ac_cpp='$CXXCPP $CPPFLAGS'
10842 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10843 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10844 cross_compiling=$ac_cv_prog_cxx_cross
10846 cat > conftest.$ac_ext <<EOF
10847 #line 10848 "configure
"
10848 #include "confdefs.h
"
10850 #ifdef HAVE_IEEEFP_H
10851 #include <ieeefp.h>
10858 if { (eval echo configure:10859: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10860 glibcxx_cv_func__isinf_use=yes
10862 echo "configure
: failed program was
:" >&5
10863 cat conftest.$ac_ext >&5
10865 glibcxx_cv_func__isinf_use=no
10869 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10870 ac_cpp='$CPP $CPPFLAGS'
10871 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10872 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10873 cross_compiling=$ac_cv_prog_cc_cross
10879 echo "$ac_t""$glibcxx_cv_func__isinf_use" 1>&6
10881 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
10882 for ac_func in _isinf
10884 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10885 echo "configure
:10886: checking
for $ac_func" >&5
10886 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10887 echo $ac_n "(cached
) $ac_c" 1>&6
10889 cat > conftest.$ac_ext <<EOF
10890 #line 10891 "configure
"
10891 #include "confdefs.h
"
10892 /* System header to define __stub macros and hopefully few prototypes,
10893 which can conflict with char $ac_func(); below. */
10894 #include <assert.h>
10895 /* Override any gcc2 internal prototype to avoid an error. */
10896 /* We use char because int might match the return type of a gcc2
10897 builtin and then its argument prototype would still apply. */
10902 /* The GNU C library defines this for functions which it implements
10903 to always fail with ENOSYS. Some functions are actually named
10904 something starting with __ and the normal name is an alias. */
10905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10913 if { (eval echo configure:10914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10915 eval "ac_cv_func_
$ac_func=yes"
10917 echo "configure
: failed program was
:" >&5
10918 cat conftest.$ac_ext >&5
10920 eval "ac_cv_func_
$ac_func=no
"
10925 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10926 echo "$ac_t""yes" 1>&6
10927 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10928 cat >> confdefs.h <<EOF
10929 #define $ac_tr_func 1
10933 echo "$ac_t""no
" 1>&6
10942 echo $ac_n "checking
for isnan declaration
""...
$ac_c" 1>&6
10943 echo "configure
:10944: checking
for isnan declaration
" >&5
10944 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
10945 if eval "test \"`echo '$''{'glibcxx_cv_func_isnan_use'+set}'`\" = set"; then
10946 echo $ac_n "(cached
) $ac_c" 1>&6
10951 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10952 ac_cpp='$CXXCPP $CPPFLAGS'
10953 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10954 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10955 cross_compiling=$ac_cv_prog_cxx_cross
10957 cat > conftest.$ac_ext <<EOF
10958 #line 10959 "configure
"
10959 #include "confdefs.h
"
10961 #ifdef HAVE_IEEEFP_H
10962 #include <ieeefp.h>
10969 if { (eval echo configure:10970: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10971 glibcxx_cv_func_isnan_use=yes
10973 echo "configure
: failed program was
:" >&5
10974 cat conftest.$ac_ext >&5
10976 glibcxx_cv_func_isnan_use=no
10980 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10981 ac_cpp='$CPP $CPPFLAGS'
10982 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10983 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10984 cross_compiling=$ac_cv_prog_cc_cross
10990 echo "$ac_t""$glibcxx_cv_func_isnan_use" 1>&6
10992 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
10993 for ac_func in isnan
10995 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10996 echo "configure
:10997: checking
for $ac_func" >&5
10997 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10998 echo $ac_n "(cached
) $ac_c" 1>&6
11000 cat > conftest.$ac_ext <<EOF
11001 #line 11002 "configure
"
11002 #include "confdefs.h
"
11003 /* System header to define __stub macros and hopefully few prototypes,
11004 which can conflict with char $ac_func(); below. */
11005 #include <assert.h>
11006 /* Override any gcc2 internal prototype to avoid an error. */
11007 /* We use char because int might match the return type of a gcc2
11008 builtin and then its argument prototype would still apply. */
11013 /* The GNU C library defines this for functions which it implements
11014 to always fail with ENOSYS. Some functions are actually named
11015 something starting with __ and the normal name is an alias. */
11016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11024 if { (eval echo configure:11025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11026 eval "ac_cv_func_
$ac_func=yes"
11028 echo "configure
: failed program was
:" >&5
11029 cat conftest.$ac_ext >&5
11031 eval "ac_cv_func_
$ac_func=no
"
11036 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11037 echo "$ac_t""yes" 1>&6
11038 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11039 cat >> confdefs.h <<EOF
11040 #define $ac_tr_func 1
11044 echo "$ac_t""no
" 1>&6
11050 echo $ac_n "checking
for _isnan declaration
""...
$ac_c" 1>&6
11051 echo "configure
:11052: checking
for _isnan declaration
" >&5
11052 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
11053 if eval "test \"`echo '$''{'glibcxx_cv_func__isnan_use'+set}'`\" = set"; then
11054 echo $ac_n "(cached
) $ac_c" 1>&6
11059 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11060 ac_cpp='$CXXCPP $CPPFLAGS'
11061 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11062 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11063 cross_compiling=$ac_cv_prog_cxx_cross
11065 cat > conftest.$ac_ext <<EOF
11066 #line 11067 "configure
"
11067 #include "confdefs.h
"
11069 #ifdef HAVE_IEEEFP_H
11070 #include <ieeefp.h>
11077 if { (eval echo configure:11078: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11079 glibcxx_cv_func__isnan_use=yes
11081 echo "configure
: failed program was
:" >&5
11082 cat conftest.$ac_ext >&5
11084 glibcxx_cv_func__isnan_use=no
11088 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11089 ac_cpp='$CPP $CPPFLAGS'
11090 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11091 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11092 cross_compiling=$ac_cv_prog_cc_cross
11098 echo "$ac_t""$glibcxx_cv_func__isnan_use" 1>&6
11100 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
11101 for ac_func in _isnan
11103 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11104 echo "configure
:11105: checking
for $ac_func" >&5
11105 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11106 echo $ac_n "(cached
) $ac_c" 1>&6
11108 cat > conftest.$ac_ext <<EOF
11109 #line 11110 "configure
"
11110 #include "confdefs.h
"
11111 /* System header to define __stub macros and hopefully few prototypes,
11112 which can conflict with char $ac_func(); below. */
11113 #include <assert.h>
11114 /* Override any gcc2 internal prototype to avoid an error. */
11115 /* We use char because int might match the return type of a gcc2
11116 builtin and then its argument prototype would still apply. */
11121 /* The GNU C library defines this for functions which it implements
11122 to always fail with ENOSYS. Some functions are actually named
11123 something starting with __ and the normal name is an alias. */
11124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11132 if { (eval echo configure:11133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11134 eval "ac_cv_func_
$ac_func=yes"
11136 echo "configure
: failed program was
:" >&5
11137 cat conftest.$ac_ext >&5
11139 eval "ac_cv_func_
$ac_func=no
"
11144 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11145 echo "$ac_t""yes" 1>&6
11146 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11147 cat >> confdefs.h <<EOF
11148 #define $ac_tr_func 1
11152 echo "$ac_t""no
" 1>&6
11161 echo $ac_n "checking
for finite declaration
""...
$ac_c" 1>&6
11162 echo "configure
:11163: checking
for finite declaration
" >&5
11163 if test x${glibcxx_cv_func_finite_use+set} != xset; then
11164 if eval "test \"`echo '$''{'glibcxx_cv_func_finite_use'+set}'`\" = set"; then
11165 echo $ac_n "(cached
) $ac_c" 1>&6
11170 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11171 ac_cpp='$CXXCPP $CPPFLAGS'
11172 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11173 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11174 cross_compiling=$ac_cv_prog_cxx_cross
11176 cat > conftest.$ac_ext <<EOF
11177 #line 11178 "configure
"
11178 #include "confdefs.h
"
11180 #ifdef HAVE_IEEEFP_H
11181 #include <ieeefp.h>
11188 if { (eval echo configure:11189: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11190 glibcxx_cv_func_finite_use=yes
11192 echo "configure
: failed program was
:" >&5
11193 cat conftest.$ac_ext >&5
11195 glibcxx_cv_func_finite_use=no
11199 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11200 ac_cpp='$CPP $CPPFLAGS'
11201 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11202 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11203 cross_compiling=$ac_cv_prog_cc_cross
11209 echo "$ac_t""$glibcxx_cv_func_finite_use" 1>&6
11211 if test x$glibcxx_cv_func_finite_use = x"yes"; then
11212 for ac_func in finite
11214 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11215 echo "configure
:11216: checking
for $ac_func" >&5
11216 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11217 echo $ac_n "(cached
) $ac_c" 1>&6
11219 cat > conftest.$ac_ext <<EOF
11220 #line 11221 "configure
"
11221 #include "confdefs.h
"
11222 /* System header to define __stub macros and hopefully few prototypes,
11223 which can conflict with char $ac_func(); below. */
11224 #include <assert.h>
11225 /* Override any gcc2 internal prototype to avoid an error. */
11226 /* We use char because int might match the return type of a gcc2
11227 builtin and then its argument prototype would still apply. */
11232 /* The GNU C library defines this for functions which it implements
11233 to always fail with ENOSYS. Some functions are actually named
11234 something starting with __ and the normal name is an alias. */
11235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11243 if { (eval echo configure:11244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11245 eval "ac_cv_func_
$ac_func=yes"
11247 echo "configure
: failed program was
:" >&5
11248 cat conftest.$ac_ext >&5
11250 eval "ac_cv_func_
$ac_func=no
"
11255 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11256 echo "$ac_t""yes" 1>&6
11257 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11258 cat >> confdefs.h <<EOF
11259 #define $ac_tr_func 1
11263 echo "$ac_t""no
" 1>&6
11269 echo $ac_n "checking
for _finite declaration
""...
$ac_c" 1>&6
11270 echo "configure
:11271: checking
for _finite declaration
" >&5
11271 if test x${glibcxx_cv_func__finite_use+set} != xset; then
11272 if eval "test \"`echo '$''{'glibcxx_cv_func__finite_use'+set}'`\" = set"; then
11273 echo $ac_n "(cached
) $ac_c" 1>&6
11278 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11279 ac_cpp='$CXXCPP $CPPFLAGS'
11280 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11281 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11282 cross_compiling=$ac_cv_prog_cxx_cross
11284 cat > conftest.$ac_ext <<EOF
11285 #line 11286 "configure
"
11286 #include "confdefs.h
"
11288 #ifdef HAVE_IEEEFP_H
11289 #include <ieeefp.h>
11296 if { (eval echo configure:11297: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11298 glibcxx_cv_func__finite_use=yes
11300 echo "configure
: failed program was
:" >&5
11301 cat conftest.$ac_ext >&5
11303 glibcxx_cv_func__finite_use=no
11307 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11308 ac_cpp='$CPP $CPPFLAGS'
11309 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11310 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11311 cross_compiling=$ac_cv_prog_cc_cross
11317 echo "$ac_t""$glibcxx_cv_func__finite_use" 1>&6
11319 if test x$glibcxx_cv_func__finite_use = x"yes"; then
11320 for ac_func in _finite
11322 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11323 echo "configure
:11324: checking
for $ac_func" >&5
11324 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11325 echo $ac_n "(cached
) $ac_c" 1>&6
11327 cat > conftest.$ac_ext <<EOF
11328 #line 11329 "configure
"
11329 #include "confdefs.h
"
11330 /* System header to define __stub macros and hopefully few prototypes,
11331 which can conflict with char $ac_func(); below. */
11332 #include <assert.h>
11333 /* Override any gcc2 internal prototype to avoid an error. */
11334 /* We use char because int might match the return type of a gcc2
11335 builtin and then its argument prototype would still apply. */
11340 /* The GNU C library defines this for functions which it implements
11341 to always fail with ENOSYS. Some functions are actually named
11342 something starting with __ and the normal name is an alias. */
11343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11351 if { (eval echo configure:11352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11353 eval "ac_cv_func_
$ac_func=yes"
11355 echo "configure
: failed program was
:" >&5
11356 cat conftest.$ac_ext >&5
11358 eval "ac_cv_func_
$ac_func=no
"
11363 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11364 echo "$ac_t""yes" 1>&6
11365 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11366 cat >> confdefs.h <<EOF
11367 #define $ac_tr_func 1
11371 echo "$ac_t""no
" 1>&6
11380 echo $ac_n "checking
for copysign declaration
""...
$ac_c" 1>&6
11381 echo "configure
:11382: checking
for copysign declaration
" >&5
11382 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
11383 if eval "test \"`echo '$''{'glibcxx_cv_func_copysign_use'+set}'`\" = set"; then
11384 echo $ac_n "(cached
) $ac_c" 1>&6
11389 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11390 ac_cpp='$CXXCPP $CPPFLAGS'
11391 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11392 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11393 cross_compiling=$ac_cv_prog_cxx_cross
11395 cat > conftest.$ac_ext <<EOF
11396 #line 11397 "configure
"
11397 #include "confdefs.h
"
11403 if { (eval echo configure:11404: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11405 glibcxx_cv_func_copysign_use=yes
11407 echo "configure
: failed program was
:" >&5
11408 cat conftest.$ac_ext >&5
11410 glibcxx_cv_func_copysign_use=no
11414 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11415 ac_cpp='$CPP $CPPFLAGS'
11416 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11417 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11418 cross_compiling=$ac_cv_prog_cc_cross
11424 echo "$ac_t""$glibcxx_cv_func_copysign_use" 1>&6
11426 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
11427 for ac_func in copysign
11429 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11430 echo "configure
:11431: checking
for $ac_func" >&5
11431 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11432 echo $ac_n "(cached
) $ac_c" 1>&6
11434 cat > conftest.$ac_ext <<EOF
11435 #line 11436 "configure
"
11436 #include "confdefs.h
"
11437 /* System header to define __stub macros and hopefully few prototypes,
11438 which can conflict with char $ac_func(); below. */
11439 #include <assert.h>
11440 /* Override any gcc2 internal prototype to avoid an error. */
11441 /* We use char because int might match the return type of a gcc2
11442 builtin and then its argument prototype would still apply. */
11447 /* The GNU C library defines this for functions which it implements
11448 to always fail with ENOSYS. Some functions are actually named
11449 something starting with __ and the normal name is an alias. */
11450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11458 if { (eval echo configure:11459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11460 eval "ac_cv_func_
$ac_func=yes"
11462 echo "configure
: failed program was
:" >&5
11463 cat conftest.$ac_ext >&5
11465 eval "ac_cv_func_
$ac_func=no
"
11470 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11471 echo "$ac_t""yes" 1>&6
11472 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11473 cat >> confdefs.h <<EOF
11474 #define $ac_tr_func 1
11478 echo "$ac_t""no
" 1>&6
11484 echo $ac_n "checking
for _copysign declaration
""...
$ac_c" 1>&6
11485 echo "configure
:11486: checking
for _copysign declaration
" >&5
11486 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
11487 if eval "test \"`echo '$''{'glibcxx_cv_func__copysign_use'+set}'`\" = set"; then
11488 echo $ac_n "(cached
) $ac_c" 1>&6
11493 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11494 ac_cpp='$CXXCPP $CPPFLAGS'
11495 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11496 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11497 cross_compiling=$ac_cv_prog_cxx_cross
11499 cat > conftest.$ac_ext <<EOF
11500 #line 11501 "configure
"
11501 #include "confdefs.h
"
11507 if { (eval echo configure:11508: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11509 glibcxx_cv_func__copysign_use=yes
11511 echo "configure
: failed program was
:" >&5
11512 cat conftest.$ac_ext >&5
11514 glibcxx_cv_func__copysign_use=no
11518 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11519 ac_cpp='$CPP $CPPFLAGS'
11520 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11521 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11522 cross_compiling=$ac_cv_prog_cc_cross
11528 echo "$ac_t""$glibcxx_cv_func__copysign_use" 1>&6
11530 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
11531 for ac_func in _copysign
11533 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11534 echo "configure
:11535: checking
for $ac_func" >&5
11535 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11536 echo $ac_n "(cached
) $ac_c" 1>&6
11538 cat > conftest.$ac_ext <<EOF
11539 #line 11540 "configure
"
11540 #include "confdefs.h
"
11541 /* System header to define __stub macros and hopefully few prototypes,
11542 which can conflict with char $ac_func(); below. */
11543 #include <assert.h>
11544 /* Override any gcc2 internal prototype to avoid an error. */
11545 /* We use char because int might match the return type of a gcc2
11546 builtin and then its argument prototype would still apply. */
11551 /* The GNU C library defines this for functions which it implements
11552 to always fail with ENOSYS. Some functions are actually named
11553 something starting with __ and the normal name is an alias. */
11554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11562 if { (eval echo configure:11563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11564 eval "ac_cv_func_
$ac_func=yes"
11566 echo "configure
: failed program was
:" >&5
11567 cat conftest.$ac_ext >&5
11569 eval "ac_cv_func_
$ac_func=no
"
11574 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11575 echo "$ac_t""yes" 1>&6
11576 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11577 cat >> confdefs.h <<EOF
11578 #define $ac_tr_func 1
11582 echo "$ac_t""no
" 1>&6
11591 echo $ac_n "checking
for sincos declaration
""...
$ac_c" 1>&6
11592 echo "configure
:11593: checking
for sincos declaration
" >&5
11593 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
11594 if eval "test \"`echo '$''{'glibcxx_cv_func_sincos_use'+set}'`\" = set"; then
11595 echo $ac_n "(cached
) $ac_c" 1>&6
11600 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11601 ac_cpp='$CXXCPP $CPPFLAGS'
11602 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11603 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11604 cross_compiling=$ac_cv_prog_cxx_cross
11606 cat > conftest.$ac_ext <<EOF
11607 #line 11608 "configure
"
11608 #include "confdefs.h
"
11614 if { (eval echo configure:11615: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11616 glibcxx_cv_func_sincos_use=yes
11618 echo "configure
: failed program was
:" >&5
11619 cat conftest.$ac_ext >&5
11621 glibcxx_cv_func_sincos_use=no
11625 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11626 ac_cpp='$CPP $CPPFLAGS'
11627 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11628 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11629 cross_compiling=$ac_cv_prog_cc_cross
11635 echo "$ac_t""$glibcxx_cv_func_sincos_use" 1>&6
11637 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
11638 for ac_func in sincos
11640 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11641 echo "configure
:11642: checking
for $ac_func" >&5
11642 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11643 echo $ac_n "(cached
) $ac_c" 1>&6
11645 cat > conftest.$ac_ext <<EOF
11646 #line 11647 "configure
"
11647 #include "confdefs.h
"
11648 /* System header to define __stub macros and hopefully few prototypes,
11649 which can conflict with char $ac_func(); below. */
11650 #include <assert.h>
11651 /* Override any gcc2 internal prototype to avoid an error. */
11652 /* We use char because int might match the return type of a gcc2
11653 builtin and then its argument prototype would still apply. */
11658 /* The GNU C library defines this for functions which it implements
11659 to always fail with ENOSYS. Some functions are actually named
11660 something starting with __ and the normal name is an alias. */
11661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11669 if { (eval echo configure:11670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11671 eval "ac_cv_func_
$ac_func=yes"
11673 echo "configure
: failed program was
:" >&5
11674 cat conftest.$ac_ext >&5
11676 eval "ac_cv_func_
$ac_func=no
"
11681 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11682 echo "$ac_t""yes" 1>&6
11683 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11684 cat >> confdefs.h <<EOF
11685 #define $ac_tr_func 1
11689 echo "$ac_t""no
" 1>&6
11695 echo $ac_n "checking
for _sincos declaration
""...
$ac_c" 1>&6
11696 echo "configure
:11697: checking
for _sincos declaration
" >&5
11697 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
11698 if eval "test \"`echo '$''{'glibcxx_cv_func__sincos_use'+set}'`\" = set"; then
11699 echo $ac_n "(cached
) $ac_c" 1>&6
11704 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11705 ac_cpp='$CXXCPP $CPPFLAGS'
11706 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11707 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11708 cross_compiling=$ac_cv_prog_cxx_cross
11710 cat > conftest.$ac_ext <<EOF
11711 #line 11712 "configure
"
11712 #include "confdefs.h
"
11718 if { (eval echo configure:11719: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11720 glibcxx_cv_func__sincos_use=yes
11722 echo "configure
: failed program was
:" >&5
11723 cat conftest.$ac_ext >&5
11725 glibcxx_cv_func__sincos_use=no
11729 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11730 ac_cpp='$CPP $CPPFLAGS'
11731 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11732 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11733 cross_compiling=$ac_cv_prog_cc_cross
11739 echo "$ac_t""$glibcxx_cv_func__sincos_use" 1>&6
11741 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
11742 for ac_func in _sincos
11744 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11745 echo "configure
:11746: checking
for $ac_func" >&5
11746 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11747 echo $ac_n "(cached
) $ac_c" 1>&6
11749 cat > conftest.$ac_ext <<EOF
11750 #line 11751 "configure
"
11751 #include "confdefs.h
"
11752 /* System header to define __stub macros and hopefully few prototypes,
11753 which can conflict with char $ac_func(); below. */
11754 #include <assert.h>
11755 /* Override any gcc2 internal prototype to avoid an error. */
11756 /* We use char because int might match the return type of a gcc2
11757 builtin and then its argument prototype would still apply. */
11762 /* The GNU C library defines this for functions which it implements
11763 to always fail with ENOSYS. Some functions are actually named
11764 something starting with __ and the normal name is an alias. */
11765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11773 if { (eval echo configure:11774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11775 eval "ac_cv_func_
$ac_func=yes"
11777 echo "configure
: failed program was
:" >&5
11778 cat conftest.$ac_ext >&5
11780 eval "ac_cv_func_
$ac_func=no
"
11785 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11786 echo "$ac_t""yes" 1>&6
11787 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11788 cat >> confdefs.h <<EOF
11789 #define $ac_tr_func 1
11793 echo "$ac_t""no
" 1>&6
11802 echo $ac_n "checking
for fpclass declaration
""...
$ac_c" 1>&6
11803 echo "configure
:11804: checking
for fpclass declaration
" >&5
11804 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
11805 if eval "test \"`echo '$''{'glibcxx_cv_func_fpclass_use'+set}'`\" = set"; then
11806 echo $ac_n "(cached
) $ac_c" 1>&6
11811 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11812 ac_cpp='$CXXCPP $CPPFLAGS'
11813 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11814 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11815 cross_compiling=$ac_cv_prog_cxx_cross
11817 cat > conftest.$ac_ext <<EOF
11818 #line 11819 "configure
"
11819 #include "confdefs.h
"
11821 #ifdef HAVE_IEEEFP_H
11822 #include <ieeefp.h>
11829 if { (eval echo configure:11830: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11831 glibcxx_cv_func_fpclass_use=yes
11833 echo "configure
: failed program was
:" >&5
11834 cat conftest.$ac_ext >&5
11836 glibcxx_cv_func_fpclass_use=no
11840 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11841 ac_cpp='$CPP $CPPFLAGS'
11842 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11843 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11844 cross_compiling=$ac_cv_prog_cc_cross
11850 echo "$ac_t""$glibcxx_cv_func_fpclass_use" 1>&6
11852 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
11853 for ac_func in fpclass
11855 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11856 echo "configure
:11857: checking
for $ac_func" >&5
11857 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11858 echo $ac_n "(cached
) $ac_c" 1>&6
11860 cat > conftest.$ac_ext <<EOF
11861 #line 11862 "configure
"
11862 #include "confdefs.h
"
11863 /* System header to define __stub macros and hopefully few prototypes,
11864 which can conflict with char $ac_func(); below. */
11865 #include <assert.h>
11866 /* Override any gcc2 internal prototype to avoid an error. */
11867 /* We use char because int might match the return type of a gcc2
11868 builtin and then its argument prototype would still apply. */
11873 /* The GNU C library defines this for functions which it implements
11874 to always fail with ENOSYS. Some functions are actually named
11875 something starting with __ and the normal name is an alias. */
11876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11884 if { (eval echo configure:11885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11886 eval "ac_cv_func_
$ac_func=yes"
11888 echo "configure
: failed program was
:" >&5
11889 cat conftest.$ac_ext >&5
11891 eval "ac_cv_func_
$ac_func=no
"
11896 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11897 echo "$ac_t""yes" 1>&6
11898 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11899 cat >> confdefs.h <<EOF
11900 #define $ac_tr_func 1
11904 echo "$ac_t""no
" 1>&6
11910 echo $ac_n "checking
for _fpclass declaration
""...
$ac_c" 1>&6
11911 echo "configure
:11912: checking
for _fpclass declaration
" >&5
11912 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
11913 if eval "test \"`echo '$''{'glibcxx_cv_func__fpclass_use'+set}'`\" = set"; then
11914 echo $ac_n "(cached
) $ac_c" 1>&6
11919 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11920 ac_cpp='$CXXCPP $CPPFLAGS'
11921 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11922 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11923 cross_compiling=$ac_cv_prog_cxx_cross
11925 cat > conftest.$ac_ext <<EOF
11926 #line 11927 "configure
"
11927 #include "confdefs.h
"
11929 #ifdef HAVE_IEEEFP_H
11930 #include <ieeefp.h>
11937 if { (eval echo configure:11938: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11939 glibcxx_cv_func__fpclass_use=yes
11941 echo "configure
: failed program was
:" >&5
11942 cat conftest.$ac_ext >&5
11944 glibcxx_cv_func__fpclass_use=no
11948 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11949 ac_cpp='$CPP $CPPFLAGS'
11950 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11951 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11952 cross_compiling=$ac_cv_prog_cc_cross
11958 echo "$ac_t""$glibcxx_cv_func__fpclass_use" 1>&6
11960 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
11961 for ac_func in _fpclass
11963 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11964 echo "configure
:11965: checking
for $ac_func" >&5
11965 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11966 echo $ac_n "(cached
) $ac_c" 1>&6
11968 cat > conftest.$ac_ext <<EOF
11969 #line 11970 "configure
"
11970 #include "confdefs.h
"
11971 /* System header to define __stub macros and hopefully few prototypes,
11972 which can conflict with char $ac_func(); below. */
11973 #include <assert.h>
11974 /* Override any gcc2 internal prototype to avoid an error. */
11975 /* We use char because int might match the return type of a gcc2
11976 builtin and then its argument prototype would still apply. */
11981 /* The GNU C library defines this for functions which it implements
11982 to always fail with ENOSYS. Some functions are actually named
11983 something starting with __ and the normal name is an alias. */
11984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11992 if { (eval echo configure:11993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11994 eval "ac_cv_func_
$ac_func=yes"
11996 echo "configure
: failed program was
:" >&5
11997 cat conftest.$ac_ext >&5
11999 eval "ac_cv_func_
$ac_func=no
"
12004 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12005 echo "$ac_t""yes" 1>&6
12006 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12007 cat >> confdefs.h <<EOF
12008 #define $ac_tr_func 1
12012 echo "$ac_t""no
" 1>&6
12021 echo $ac_n "checking
for qfpclass declaration
""...
$ac_c" 1>&6
12022 echo "configure
:12023: checking
for qfpclass declaration
" >&5
12023 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
12024 if eval "test \"`echo '$''{'glibcxx_cv_func_qfpclass_use'+set}'`\" = set"; then
12025 echo $ac_n "(cached
) $ac_c" 1>&6
12030 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12031 ac_cpp='$CXXCPP $CPPFLAGS'
12032 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12033 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12034 cross_compiling=$ac_cv_prog_cxx_cross
12036 cat > conftest.$ac_ext <<EOF
12037 #line 12038 "configure
"
12038 #include "confdefs.h
"
12040 #ifdef HAVE_IEEEFP_H
12041 #include <ieeefp.h>
12048 if { (eval echo configure:12049: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12050 glibcxx_cv_func_qfpclass_use=yes
12052 echo "configure
: failed program was
:" >&5
12053 cat conftest.$ac_ext >&5
12055 glibcxx_cv_func_qfpclass_use=no
12059 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12060 ac_cpp='$CPP $CPPFLAGS'
12061 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12062 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12063 cross_compiling=$ac_cv_prog_cc_cross
12069 echo "$ac_t""$glibcxx_cv_func_qfpclass_use" 1>&6
12071 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
12072 for ac_func in qfpclass
12074 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12075 echo "configure
:12076: checking
for $ac_func" >&5
12076 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12077 echo $ac_n "(cached
) $ac_c" 1>&6
12079 cat > conftest.$ac_ext <<EOF
12080 #line 12081 "configure
"
12081 #include "confdefs.h
"
12082 /* System header to define __stub macros and hopefully few prototypes,
12083 which can conflict with char $ac_func(); below. */
12084 #include <assert.h>
12085 /* Override any gcc2 internal prototype to avoid an error. */
12086 /* We use char because int might match the return type of a gcc2
12087 builtin and then its argument prototype would still apply. */
12092 /* The GNU C library defines this for functions which it implements
12093 to always fail with ENOSYS. Some functions are actually named
12094 something starting with __ and the normal name is an alias. */
12095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12103 if { (eval echo configure:12104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12105 eval "ac_cv_func_
$ac_func=yes"
12107 echo "configure
: failed program was
:" >&5
12108 cat conftest.$ac_ext >&5
12110 eval "ac_cv_func_
$ac_func=no
"
12115 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12116 echo "$ac_t""yes" 1>&6
12117 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12118 cat >> confdefs.h <<EOF
12119 #define $ac_tr_func 1
12123 echo "$ac_t""no
" 1>&6
12129 echo $ac_n "checking
for _qfpclass declaration
""...
$ac_c" 1>&6
12130 echo "configure
:12131: checking
for _qfpclass declaration
" >&5
12131 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
12132 if eval "test \"`echo '$''{'glibcxx_cv_func__qfpclass_use'+set}'`\" = set"; then
12133 echo $ac_n "(cached
) $ac_c" 1>&6
12138 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12139 ac_cpp='$CXXCPP $CPPFLAGS'
12140 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12141 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12142 cross_compiling=$ac_cv_prog_cxx_cross
12144 cat > conftest.$ac_ext <<EOF
12145 #line 12146 "configure
"
12146 #include "confdefs.h
"
12148 #ifdef HAVE_IEEEFP_H
12149 #include <ieeefp.h>
12156 if { (eval echo configure:12157: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12158 glibcxx_cv_func__qfpclass_use=yes
12160 echo "configure
: failed program was
:" >&5
12161 cat conftest.$ac_ext >&5
12163 glibcxx_cv_func__qfpclass_use=no
12167 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12168 ac_cpp='$CPP $CPPFLAGS'
12169 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12170 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12171 cross_compiling=$ac_cv_prog_cc_cross
12177 echo "$ac_t""$glibcxx_cv_func__qfpclass_use" 1>&6
12179 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
12180 for ac_func in _qfpclass
12182 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12183 echo "configure
:12184: checking
for $ac_func" >&5
12184 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12185 echo $ac_n "(cached
) $ac_c" 1>&6
12187 cat > conftest.$ac_ext <<EOF
12188 #line 12189 "configure
"
12189 #include "confdefs.h
"
12190 /* System header to define __stub macros and hopefully few prototypes,
12191 which can conflict with char $ac_func(); below. */
12192 #include <assert.h>
12193 /* Override any gcc2 internal prototype to avoid an error. */
12194 /* We use char because int might match the return type of a gcc2
12195 builtin and then its argument prototype would still apply. */
12200 /* The GNU C library defines this for functions which it implements
12201 to always fail with ENOSYS. Some functions are actually named
12202 something starting with __ and the normal name is an alias. */
12203 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12211 if { (eval echo configure:12212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12213 eval "ac_cv_func_
$ac_func=yes"
12215 echo "configure
: failed program was
:" >&5
12216 cat conftest.$ac_ext >&5
12218 eval "ac_cv_func_
$ac_func=no
"
12223 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12224 echo "$ac_t""yes" 1>&6
12225 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12226 cat >> confdefs.h <<EOF
12227 #define $ac_tr_func 1
12231 echo "$ac_t""no
" 1>&6
12240 echo $ac_n "checking
for hypot declaration
""...
$ac_c" 1>&6
12241 echo "configure
:12242: checking
for hypot declaration
" >&5
12242 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
12243 if eval "test \"`echo '$''{'glibcxx_cv_func_hypot_use'+set}'`\" = set"; then
12244 echo $ac_n "(cached
) $ac_c" 1>&6
12249 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12250 ac_cpp='$CXXCPP $CPPFLAGS'
12251 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12252 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12253 cross_compiling=$ac_cv_prog_cxx_cross
12255 cat > conftest.$ac_ext <<EOF
12256 #line 12257 "configure
"
12257 #include "confdefs.h
"
12263 if { (eval echo configure:12264: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12265 glibcxx_cv_func_hypot_use=yes
12267 echo "configure
: failed program was
:" >&5
12268 cat conftest.$ac_ext >&5
12270 glibcxx_cv_func_hypot_use=no
12274 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12275 ac_cpp='$CPP $CPPFLAGS'
12276 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12277 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12278 cross_compiling=$ac_cv_prog_cc_cross
12284 echo "$ac_t""$glibcxx_cv_func_hypot_use" 1>&6
12286 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
12287 for ac_func in hypot
12289 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12290 echo "configure
:12291: checking
for $ac_func" >&5
12291 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12292 echo $ac_n "(cached
) $ac_c" 1>&6
12294 cat > conftest.$ac_ext <<EOF
12295 #line 12296 "configure
"
12296 #include "confdefs.h
"
12297 /* System header to define __stub macros and hopefully few prototypes,
12298 which can conflict with char $ac_func(); below. */
12299 #include <assert.h>
12300 /* Override any gcc2 internal prototype to avoid an error. */
12301 /* We use char because int might match the return type of a gcc2
12302 builtin and then its argument prototype would still apply. */
12307 /* The GNU C library defines this for functions which it implements
12308 to always fail with ENOSYS. Some functions are actually named
12309 something starting with __ and the normal name is an alias. */
12310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12318 if { (eval echo configure:12319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12320 eval "ac_cv_func_
$ac_func=yes"
12322 echo "configure
: failed program was
:" >&5
12323 cat conftest.$ac_ext >&5
12325 eval "ac_cv_func_
$ac_func=no
"
12330 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12331 echo "$ac_t""yes" 1>&6
12332 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12333 cat >> confdefs.h <<EOF
12334 #define $ac_tr_func 1
12338 echo "$ac_t""no
" 1>&6
12344 echo $ac_n "checking
for _hypot declaration
""...
$ac_c" 1>&6
12345 echo "configure
:12346: checking
for _hypot declaration
" >&5
12346 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
12347 if eval "test \"`echo '$''{'glibcxx_cv_func__hypot_use'+set}'`\" = set"; then
12348 echo $ac_n "(cached
) $ac_c" 1>&6
12353 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12354 ac_cpp='$CXXCPP $CPPFLAGS'
12355 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12356 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12357 cross_compiling=$ac_cv_prog_cxx_cross
12359 cat > conftest.$ac_ext <<EOF
12360 #line 12361 "configure
"
12361 #include "confdefs.h
"
12367 if { (eval echo configure:12368: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12369 glibcxx_cv_func__hypot_use=yes
12371 echo "configure
: failed program was
:" >&5
12372 cat conftest.$ac_ext >&5
12374 glibcxx_cv_func__hypot_use=no
12378 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12379 ac_cpp='$CPP $CPPFLAGS'
12380 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12381 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12382 cross_compiling=$ac_cv_prog_cc_cross
12388 echo "$ac_t""$glibcxx_cv_func__hypot_use" 1>&6
12390 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
12391 for ac_func in _hypot
12393 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12394 echo "configure
:12395: checking
for $ac_func" >&5
12395 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12396 echo $ac_n "(cached
) $ac_c" 1>&6
12398 cat > conftest.$ac_ext <<EOF
12399 #line 12400 "configure
"
12400 #include "confdefs.h
"
12401 /* System header to define __stub macros and hopefully few prototypes,
12402 which can conflict with char $ac_func(); below. */
12403 #include <assert.h>
12404 /* Override any gcc2 internal prototype to avoid an error. */
12405 /* We use char because int might match the return type of a gcc2
12406 builtin and then its argument prototype would still apply. */
12411 /* The GNU C library defines this for functions which it implements
12412 to always fail with ENOSYS. Some functions are actually named
12413 something starting with __ and the normal name is an alias. */
12414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12422 if { (eval echo configure:12423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12424 eval "ac_cv_func_
$ac_func=yes"
12426 echo "configure
: failed program was
:" >&5
12427 cat conftest.$ac_ext >&5
12429 eval "ac_cv_func_
$ac_func=no
"
12434 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12435 echo "$ac_t""yes" 1>&6
12436 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12437 cat >> confdefs.h <<EOF
12438 #define $ac_tr_func 1
12442 echo "$ac_t""no
" 1>&6
12451 echo $ac_n "checking
for float trig functions
""...
$ac_c" 1>&6
12452 echo "configure
:12453: checking
for float trig functions
" >&5
12453 if eval "test \"`echo '$''{'glibcxx_cv_func_float_trig_use'+set}'`\" = set"; then
12454 echo $ac_n "(cached
) $ac_c" 1>&6
12459 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12460 ac_cpp='$CXXCPP $CPPFLAGS'
12461 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12462 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12463 cross_compiling=$ac_cv_prog_cxx_cross
12465 cat > conftest.$ac_ext <<EOF
12466 #line 12467 "configure
"
12467 #include "confdefs.h
"
12470 `for x in acosf asinf atanf \
12472 coshf sinhf tanhf; do echo "$x (0);"; done`
12475 if { (eval echo configure:12476: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12477 glibcxx_cv_func_float_trig_use=yes
12479 echo "configure
: failed program was
:" >&5
12480 cat conftest.$ac_ext >&5
12482 glibcxx_cv_func_float_trig_use=no
12486 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12487 ac_cpp='$CPP $CPPFLAGS'
12488 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12489 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12490 cross_compiling=$ac_cv_prog_cc_cross
12494 echo "$ac_t""$glibcxx_cv_func_float_trig_use" 1>&6
12495 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
12496 for ac_func in acosf asinf atanf \
12500 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12501 echo "configure
:12502: checking
for $ac_func" >&5
12502 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12503 echo $ac_n "(cached
) $ac_c" 1>&6
12505 cat > conftest.$ac_ext <<EOF
12506 #line 12507 "configure
"
12507 #include "confdefs.h
"
12508 /* System header to define __stub macros and hopefully few prototypes,
12509 which can conflict with char $ac_func(); below. */
12510 #include <assert.h>
12511 /* Override any gcc2 internal prototype to avoid an error. */
12512 /* We use char because int might match the return type of a gcc2
12513 builtin and then its argument prototype would still apply. */
12518 /* The GNU C library defines this for functions which it implements
12519 to always fail with ENOSYS. Some functions are actually named
12520 something starting with __ and the normal name is an alias. */
12521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12529 if { (eval echo configure:12530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12531 eval "ac_cv_func_
$ac_func=yes"
12533 echo "configure
: failed program was
:" >&5
12534 cat conftest.$ac_ext >&5
12536 eval "ac_cv_func_
$ac_func=no
"
12541 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12542 echo "$ac_t""yes" 1>&6
12543 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12544 cat >> confdefs.h <<EOF
12545 #define $ac_tr_func 1
12549 echo "$ac_t""no
" 1>&6
12556 echo $ac_n "checking
for float round functions
""...
$ac_c" 1>&6
12557 echo "configure
:12558: checking
for float round functions
" >&5
12558 if eval "test \"`echo '$''{'glibcxx_cv_func_float_round_use'+set}'`\" = set"; then
12559 echo $ac_n "(cached
) $ac_c" 1>&6
12564 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12565 ac_cpp='$CXXCPP $CPPFLAGS'
12566 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12567 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12568 cross_compiling=$ac_cv_prog_cxx_cross
12570 cat > conftest.$ac_ext <<EOF
12571 #line 12572 "configure
"
12572 #include "confdefs.h
"
12575 `for x in ceilf floorf; do echo "$x (0);"; done`
12578 if { (eval echo configure:12579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12580 glibcxx_cv_func_float_round_use=yes
12582 echo "configure
: failed program was
:" >&5
12583 cat conftest.$ac_ext >&5
12585 glibcxx_cv_func_float_round_use=no
12589 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12590 ac_cpp='$CPP $CPPFLAGS'
12591 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12592 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12593 cross_compiling=$ac_cv_prog_cc_cross
12597 echo "$ac_t""$glibcxx_cv_func_float_round_use" 1>&6
12598 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
12599 for ac_func in ceilf floorf
12601 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12602 echo "configure
:12603: checking
for $ac_func" >&5
12603 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12604 echo $ac_n "(cached
) $ac_c" 1>&6
12606 cat > conftest.$ac_ext <<EOF
12607 #line 12608 "configure
"
12608 #include "confdefs.h
"
12609 /* System header to define __stub macros and hopefully few prototypes,
12610 which can conflict with char $ac_func(); below. */
12611 #include <assert.h>
12612 /* Override any gcc2 internal prototype to avoid an error. */
12613 /* We use char because int might match the return type of a gcc2
12614 builtin and then its argument prototype would still apply. */
12619 /* The GNU C library defines this for functions which it implements
12620 to always fail with ENOSYS. Some functions are actually named
12621 something starting with __ and the normal name is an alias. */
12622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12630 if { (eval echo configure:12631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12632 eval "ac_cv_func_
$ac_func=yes"
12634 echo "configure
: failed program was
:" >&5
12635 cat conftest.$ac_ext >&5
12637 eval "ac_cv_func_
$ac_func=no
"
12642 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12643 echo "$ac_t""yes" 1>&6
12644 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12645 cat >> confdefs.h <<EOF
12646 #define $ac_tr_func 1
12650 echo "$ac_t""no
" 1>&6
12658 echo $ac_n "checking
for expf declaration
""...
$ac_c" 1>&6
12659 echo "configure
:12660: checking
for expf declaration
" >&5
12660 if test x${glibcxx_cv_func_expf_use+set} != xset; then
12661 if eval "test \"`echo '$''{'glibcxx_cv_func_expf_use'+set}'`\" = set"; then
12662 echo $ac_n "(cached
) $ac_c" 1>&6
12667 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12668 ac_cpp='$CXXCPP $CPPFLAGS'
12669 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12670 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12671 cross_compiling=$ac_cv_prog_cxx_cross
12673 cat > conftest.$ac_ext <<EOF
12674 #line 12675 "configure
"
12675 #include "confdefs.h
"
12677 #ifdef HAVE_IEEEFP_H
12678 #include <ieeefp.h>
12685 if { (eval echo configure:12686: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12687 glibcxx_cv_func_expf_use=yes
12689 echo "configure
: failed program was
:" >&5
12690 cat conftest.$ac_ext >&5
12692 glibcxx_cv_func_expf_use=no
12696 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12697 ac_cpp='$CPP $CPPFLAGS'
12698 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12699 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12700 cross_compiling=$ac_cv_prog_cc_cross
12706 echo "$ac_t""$glibcxx_cv_func_expf_use" 1>&6
12708 if test x$glibcxx_cv_func_expf_use = x"yes"; then
12709 for ac_func in expf
12711 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12712 echo "configure
:12713: checking
for $ac_func" >&5
12713 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12714 echo $ac_n "(cached
) $ac_c" 1>&6
12716 cat > conftest.$ac_ext <<EOF
12717 #line 12718 "configure
"
12718 #include "confdefs.h
"
12719 /* System header to define __stub macros and hopefully few prototypes,
12720 which can conflict with char $ac_func(); below. */
12721 #include <assert.h>
12722 /* Override any gcc2 internal prototype to avoid an error. */
12723 /* We use char because int might match the return type of a gcc2
12724 builtin and then its argument prototype would still apply. */
12729 /* The GNU C library defines this for functions which it implements
12730 to always fail with ENOSYS. Some functions are actually named
12731 something starting with __ and the normal name is an alias. */
12732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12740 if { (eval echo configure:12741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12742 eval "ac_cv_func_
$ac_func=yes"
12744 echo "configure
: failed program was
:" >&5
12745 cat conftest.$ac_ext >&5
12747 eval "ac_cv_func_
$ac_func=no
"
12752 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12753 echo "$ac_t""yes" 1>&6
12754 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12755 cat >> confdefs.h <<EOF
12756 #define $ac_tr_func 1
12760 echo "$ac_t""no
" 1>&6
12766 echo $ac_n "checking
for _expf declaration
""...
$ac_c" 1>&6
12767 echo "configure
:12768: checking
for _expf declaration
" >&5
12768 if test x${glibcxx_cv_func__expf_use+set} != xset; then
12769 if eval "test \"`echo '$''{'glibcxx_cv_func__expf_use'+set}'`\" = set"; then
12770 echo $ac_n "(cached
) $ac_c" 1>&6
12775 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12776 ac_cpp='$CXXCPP $CPPFLAGS'
12777 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12778 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12779 cross_compiling=$ac_cv_prog_cxx_cross
12781 cat > conftest.$ac_ext <<EOF
12782 #line 12783 "configure
"
12783 #include "confdefs.h
"
12785 #ifdef HAVE_IEEEFP_H
12786 #include <ieeefp.h>
12793 if { (eval echo configure:12794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12795 glibcxx_cv_func__expf_use=yes
12797 echo "configure
: failed program was
:" >&5
12798 cat conftest.$ac_ext >&5
12800 glibcxx_cv_func__expf_use=no
12804 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12805 ac_cpp='$CPP $CPPFLAGS'
12806 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12807 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12808 cross_compiling=$ac_cv_prog_cc_cross
12814 echo "$ac_t""$glibcxx_cv_func__expf_use" 1>&6
12816 if test x$glibcxx_cv_func__expf_use = x"yes"; then
12817 for ac_func in _expf
12819 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12820 echo "configure
:12821: checking
for $ac_func" >&5
12821 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12822 echo $ac_n "(cached
) $ac_c" 1>&6
12824 cat > conftest.$ac_ext <<EOF
12825 #line 12826 "configure
"
12826 #include "confdefs.h
"
12827 /* System header to define __stub macros and hopefully few prototypes,
12828 which can conflict with char $ac_func(); below. */
12829 #include <assert.h>
12830 /* Override any gcc2 internal prototype to avoid an error. */
12831 /* We use char because int might match the return type of a gcc2
12832 builtin and then its argument prototype would still apply. */
12837 /* The GNU C library defines this for functions which it implements
12838 to always fail with ENOSYS. Some functions are actually named
12839 something starting with __ and the normal name is an alias. */
12840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12848 if { (eval echo configure:12849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12850 eval "ac_cv_func_
$ac_func=yes"
12852 echo "configure
: failed program was
:" >&5
12853 cat conftest.$ac_ext >&5
12855 eval "ac_cv_func_
$ac_func=no
"
12860 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12861 echo "$ac_t""yes" 1>&6
12862 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12863 cat >> confdefs.h <<EOF
12864 #define $ac_tr_func 1
12868 echo "$ac_t""no
" 1>&6
12877 echo $ac_n "checking
for isnanf declaration
""...
$ac_c" 1>&6
12878 echo "configure
:12879: checking
for isnanf declaration
" >&5
12879 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
12880 if eval "test \"`echo '$''{'glibcxx_cv_func_isnanf_use'+set}'`\" = set"; then
12881 echo $ac_n "(cached
) $ac_c" 1>&6
12886 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12887 ac_cpp='$CXXCPP $CPPFLAGS'
12888 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12889 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12890 cross_compiling=$ac_cv_prog_cxx_cross
12892 cat > conftest.$ac_ext <<EOF
12893 #line 12894 "configure
"
12894 #include "confdefs.h
"
12896 #ifdef HAVE_IEEEFP_H
12897 #include <ieeefp.h>
12904 if { (eval echo configure:12905: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12906 glibcxx_cv_func_isnanf_use=yes
12908 echo "configure
: failed program was
:" >&5
12909 cat conftest.$ac_ext >&5
12911 glibcxx_cv_func_isnanf_use=no
12915 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12916 ac_cpp='$CPP $CPPFLAGS'
12917 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12918 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12919 cross_compiling=$ac_cv_prog_cc_cross
12925 echo "$ac_t""$glibcxx_cv_func_isnanf_use" 1>&6
12927 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12928 for ac_func in isnanf
12930 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12931 echo "configure
:12932: checking
for $ac_func" >&5
12932 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12933 echo $ac_n "(cached
) $ac_c" 1>&6
12935 cat > conftest.$ac_ext <<EOF
12936 #line 12937 "configure
"
12937 #include "confdefs.h
"
12938 /* System header to define __stub macros and hopefully few prototypes,
12939 which can conflict with char $ac_func(); below. */
12940 #include <assert.h>
12941 /* Override any gcc2 internal prototype to avoid an error. */
12942 /* We use char because int might match the return type of a gcc2
12943 builtin and then its argument prototype would still apply. */
12948 /* The GNU C library defines this for functions which it implements
12949 to always fail with ENOSYS. Some functions are actually named
12950 something starting with __ and the normal name is an alias. */
12951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12959 if { (eval echo configure:12960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12961 eval "ac_cv_func_
$ac_func=yes"
12963 echo "configure
: failed program was
:" >&5
12964 cat conftest.$ac_ext >&5
12966 eval "ac_cv_func_
$ac_func=no
"
12971 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12972 echo "$ac_t""yes" 1>&6
12973 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12974 cat >> confdefs.h <<EOF
12975 #define $ac_tr_func 1
12979 echo "$ac_t""no
" 1>&6
12985 echo $ac_n "checking
for _isnanf declaration
""...
$ac_c" 1>&6
12986 echo "configure
:12987: checking
for _isnanf declaration
" >&5
12987 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
12988 if eval "test \"`echo '$''{'glibcxx_cv_func__isnanf_use'+set}'`\" = set"; then
12989 echo $ac_n "(cached
) $ac_c" 1>&6
12994 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12995 ac_cpp='$CXXCPP $CPPFLAGS'
12996 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12997 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12998 cross_compiling=$ac_cv_prog_cxx_cross
13000 cat > conftest.$ac_ext <<EOF
13001 #line 13002 "configure
"
13002 #include "confdefs.h
"
13004 #ifdef HAVE_IEEEFP_H
13005 #include <ieeefp.h>
13012 if { (eval echo configure:13013: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13014 glibcxx_cv_func__isnanf_use=yes
13016 echo "configure
: failed program was
:" >&5
13017 cat conftest.$ac_ext >&5
13019 glibcxx_cv_func__isnanf_use=no
13023 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13024 ac_cpp='$CPP $CPPFLAGS'
13025 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13026 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13027 cross_compiling=$ac_cv_prog_cc_cross
13033 echo "$ac_t""$glibcxx_cv_func__isnanf_use" 1>&6
13035 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
13036 for ac_func in _isnanf
13038 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13039 echo "configure
:13040: checking
for $ac_func" >&5
13040 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13041 echo $ac_n "(cached
) $ac_c" 1>&6
13043 cat > conftest.$ac_ext <<EOF
13044 #line 13045 "configure
"
13045 #include "confdefs.h
"
13046 /* System header to define __stub macros and hopefully few prototypes,
13047 which can conflict with char $ac_func(); below. */
13048 #include <assert.h>
13049 /* Override any gcc2 internal prototype to avoid an error. */
13050 /* We use char because int might match the return type of a gcc2
13051 builtin and then its argument prototype would still apply. */
13056 /* The GNU C library defines this for functions which it implements
13057 to always fail with ENOSYS. Some functions are actually named
13058 something starting with __ and the normal name is an alias. */
13059 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13067 if { (eval echo configure:13068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13069 eval "ac_cv_func_
$ac_func=yes"
13071 echo "configure
: failed program was
:" >&5
13072 cat conftest.$ac_ext >&5
13074 eval "ac_cv_func_
$ac_func=no
"
13079 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13080 echo "$ac_t""yes" 1>&6
13081 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13082 cat >> confdefs.h <<EOF
13083 #define $ac_tr_func 1
13087 echo "$ac_t""no
" 1>&6
13096 echo $ac_n "checking
for isinff declaration
""...
$ac_c" 1>&6
13097 echo "configure
:13098: checking
for isinff declaration
" >&5
13098 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
13099 if eval "test \"`echo '$''{'glibcxx_cv_func_isinff_use'+set}'`\" = set"; then
13100 echo $ac_n "(cached
) $ac_c" 1>&6
13105 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13106 ac_cpp='$CXXCPP $CPPFLAGS'
13107 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13108 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13109 cross_compiling=$ac_cv_prog_cxx_cross
13111 cat > conftest.$ac_ext <<EOF
13112 #line 13113 "configure
"
13113 #include "confdefs.h
"
13115 #ifdef HAVE_IEEEFP_H
13116 #include <ieeefp.h>
13123 if { (eval echo configure:13124: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13125 glibcxx_cv_func_isinff_use=yes
13127 echo "configure
: failed program was
:" >&5
13128 cat conftest.$ac_ext >&5
13130 glibcxx_cv_func_isinff_use=no
13134 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13135 ac_cpp='$CPP $CPPFLAGS'
13136 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13137 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13138 cross_compiling=$ac_cv_prog_cc_cross
13144 echo "$ac_t""$glibcxx_cv_func_isinff_use" 1>&6
13146 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
13147 for ac_func in isinff
13149 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13150 echo "configure
:13151: checking
for $ac_func" >&5
13151 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13152 echo $ac_n "(cached
) $ac_c" 1>&6
13154 cat > conftest.$ac_ext <<EOF
13155 #line 13156 "configure
"
13156 #include "confdefs.h
"
13157 /* System header to define __stub macros and hopefully few prototypes,
13158 which can conflict with char $ac_func(); below. */
13159 #include <assert.h>
13160 /* Override any gcc2 internal prototype to avoid an error. */
13161 /* We use char because int might match the return type of a gcc2
13162 builtin and then its argument prototype would still apply. */
13167 /* The GNU C library defines this for functions which it implements
13168 to always fail with ENOSYS. Some functions are actually named
13169 something starting with __ and the normal name is an alias. */
13170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13178 if { (eval echo configure:13179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13180 eval "ac_cv_func_
$ac_func=yes"
13182 echo "configure
: failed program was
:" >&5
13183 cat conftest.$ac_ext >&5
13185 eval "ac_cv_func_
$ac_func=no
"
13190 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13191 echo "$ac_t""yes" 1>&6
13192 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13193 cat >> confdefs.h <<EOF
13194 #define $ac_tr_func 1
13198 echo "$ac_t""no
" 1>&6
13204 echo $ac_n "checking
for _isinff declaration
""...
$ac_c" 1>&6
13205 echo "configure
:13206: checking
for _isinff declaration
" >&5
13206 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
13207 if eval "test \"`echo '$''{'glibcxx_cv_func__isinff_use'+set}'`\" = set"; then
13208 echo $ac_n "(cached
) $ac_c" 1>&6
13213 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13214 ac_cpp='$CXXCPP $CPPFLAGS'
13215 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13216 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13217 cross_compiling=$ac_cv_prog_cxx_cross
13219 cat > conftest.$ac_ext <<EOF
13220 #line 13221 "configure
"
13221 #include "confdefs.h
"
13223 #ifdef HAVE_IEEEFP_H
13224 #include <ieeefp.h>
13231 if { (eval echo configure:13232: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13233 glibcxx_cv_func__isinff_use=yes
13235 echo "configure
: failed program was
:" >&5
13236 cat conftest.$ac_ext >&5
13238 glibcxx_cv_func__isinff_use=no
13242 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13243 ac_cpp='$CPP $CPPFLAGS'
13244 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13245 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13246 cross_compiling=$ac_cv_prog_cc_cross
13252 echo "$ac_t""$glibcxx_cv_func__isinff_use" 1>&6
13254 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
13255 for ac_func in _isinff
13257 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13258 echo "configure
:13259: checking
for $ac_func" >&5
13259 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13260 echo $ac_n "(cached
) $ac_c" 1>&6
13262 cat > conftest.$ac_ext <<EOF
13263 #line 13264 "configure
"
13264 #include "confdefs.h
"
13265 /* System header to define __stub macros and hopefully few prototypes,
13266 which can conflict with char $ac_func(); below. */
13267 #include <assert.h>
13268 /* Override any gcc2 internal prototype to avoid an error. */
13269 /* We use char because int might match the return type of a gcc2
13270 builtin and then its argument prototype would still apply. */
13275 /* The GNU C library defines this for functions which it implements
13276 to always fail with ENOSYS. Some functions are actually named
13277 something starting with __ and the normal name is an alias. */
13278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13286 if { (eval echo configure:13287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13288 eval "ac_cv_func_
$ac_func=yes"
13290 echo "configure
: failed program was
:" >&5
13291 cat conftest.$ac_ext >&5
13293 eval "ac_cv_func_
$ac_func=no
"
13298 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13299 echo "$ac_t""yes" 1>&6
13300 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13301 cat >> confdefs.h <<EOF
13302 #define $ac_tr_func 1
13306 echo "$ac_t""no
" 1>&6
13315 echo $ac_n "checking
for atan2f declaration
""...
$ac_c" 1>&6
13316 echo "configure
:13317: checking
for atan2f declaration
" >&5
13317 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
13318 if eval "test \"`echo '$''{'glibcxx_cv_func_atan2f_use'+set}'`\" = set"; then
13319 echo $ac_n "(cached
) $ac_c" 1>&6
13324 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13325 ac_cpp='$CXXCPP $CPPFLAGS'
13326 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13327 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13328 cross_compiling=$ac_cv_prog_cxx_cross
13330 cat > conftest.$ac_ext <<EOF
13331 #line 13332 "configure
"
13332 #include "confdefs.h
"
13338 if { (eval echo configure:13339: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13340 glibcxx_cv_func_atan2f_use=yes
13342 echo "configure
: failed program was
:" >&5
13343 cat conftest.$ac_ext >&5
13345 glibcxx_cv_func_atan2f_use=no
13349 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13350 ac_cpp='$CPP $CPPFLAGS'
13351 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13352 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13353 cross_compiling=$ac_cv_prog_cc_cross
13359 echo "$ac_t""$glibcxx_cv_func_atan2f_use" 1>&6
13361 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
13362 for ac_func in atan2f
13364 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13365 echo "configure
:13366: checking
for $ac_func" >&5
13366 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13367 echo $ac_n "(cached
) $ac_c" 1>&6
13369 cat > conftest.$ac_ext <<EOF
13370 #line 13371 "configure
"
13371 #include "confdefs.h
"
13372 /* System header to define __stub macros and hopefully few prototypes,
13373 which can conflict with char $ac_func(); below. */
13374 #include <assert.h>
13375 /* Override any gcc2 internal prototype to avoid an error. */
13376 /* We use char because int might match the return type of a gcc2
13377 builtin and then its argument prototype would still apply. */
13382 /* The GNU C library defines this for functions which it implements
13383 to always fail with ENOSYS. Some functions are actually named
13384 something starting with __ and the normal name is an alias. */
13385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13393 if { (eval echo configure:13394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13395 eval "ac_cv_func_
$ac_func=yes"
13397 echo "configure
: failed program was
:" >&5
13398 cat conftest.$ac_ext >&5
13400 eval "ac_cv_func_
$ac_func=no
"
13405 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13406 echo "$ac_t""yes" 1>&6
13407 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13408 cat >> confdefs.h <<EOF
13409 #define $ac_tr_func 1
13413 echo "$ac_t""no
" 1>&6
13419 echo $ac_n "checking
for _atan2f declaration
""...
$ac_c" 1>&6
13420 echo "configure
:13421: checking
for _atan2f declaration
" >&5
13421 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
13422 if eval "test \"`echo '$''{'glibcxx_cv_func__atan2f_use'+set}'`\" = set"; then
13423 echo $ac_n "(cached
) $ac_c" 1>&6
13428 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13429 ac_cpp='$CXXCPP $CPPFLAGS'
13430 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13431 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13432 cross_compiling=$ac_cv_prog_cxx_cross
13434 cat > conftest.$ac_ext <<EOF
13435 #line 13436 "configure
"
13436 #include "confdefs.h
"
13442 if { (eval echo configure:13443: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13444 glibcxx_cv_func__atan2f_use=yes
13446 echo "configure
: failed program was
:" >&5
13447 cat conftest.$ac_ext >&5
13449 glibcxx_cv_func__atan2f_use=no
13453 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13454 ac_cpp='$CPP $CPPFLAGS'
13455 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13456 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13457 cross_compiling=$ac_cv_prog_cc_cross
13463 echo "$ac_t""$glibcxx_cv_func__atan2f_use" 1>&6
13465 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
13466 for ac_func in _atan2f
13468 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13469 echo "configure
:13470: checking
for $ac_func" >&5
13470 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13471 echo $ac_n "(cached
) $ac_c" 1>&6
13473 cat > conftest.$ac_ext <<EOF
13474 #line 13475 "configure
"
13475 #include "confdefs.h
"
13476 /* System header to define __stub macros and hopefully few prototypes,
13477 which can conflict with char $ac_func(); below. */
13478 #include <assert.h>
13479 /* Override any gcc2 internal prototype to avoid an error. */
13480 /* We use char because int might match the return type of a gcc2
13481 builtin and then its argument prototype would still apply. */
13486 /* The GNU C library defines this for functions which it implements
13487 to always fail with ENOSYS. Some functions are actually named
13488 something starting with __ and the normal name is an alias. */
13489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13497 if { (eval echo configure:13498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13499 eval "ac_cv_func_
$ac_func=yes"
13501 echo "configure
: failed program was
:" >&5
13502 cat conftest.$ac_ext >&5
13504 eval "ac_cv_func_
$ac_func=no
"
13509 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13510 echo "$ac_t""yes" 1>&6
13511 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13512 cat >> confdefs.h <<EOF
13513 #define $ac_tr_func 1
13517 echo "$ac_t""no
" 1>&6
13526 echo $ac_n "checking
for fabsf declaration
""...
$ac_c" 1>&6
13527 echo "configure
:13528: checking
for fabsf declaration
" >&5
13528 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
13529 if eval "test \"`echo '$''{'glibcxx_cv_func_fabsf_use'+set}'`\" = set"; then
13530 echo $ac_n "(cached
) $ac_c" 1>&6
13535 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13536 ac_cpp='$CXXCPP $CPPFLAGS'
13537 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13538 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13539 cross_compiling=$ac_cv_prog_cxx_cross
13541 cat > conftest.$ac_ext <<EOF
13542 #line 13543 "configure
"
13543 #include "confdefs.h
"
13545 #ifdef HAVE_IEEEFP_H
13546 #include <ieeefp.h>
13553 if { (eval echo configure:13554: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13555 glibcxx_cv_func_fabsf_use=yes
13557 echo "configure
: failed program was
:" >&5
13558 cat conftest.$ac_ext >&5
13560 glibcxx_cv_func_fabsf_use=no
13564 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13565 ac_cpp='$CPP $CPPFLAGS'
13566 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13567 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13568 cross_compiling=$ac_cv_prog_cc_cross
13574 echo "$ac_t""$glibcxx_cv_func_fabsf_use" 1>&6
13576 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
13577 for ac_func in fabsf
13579 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13580 echo "configure
:13581: checking
for $ac_func" >&5
13581 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13582 echo $ac_n "(cached
) $ac_c" 1>&6
13584 cat > conftest.$ac_ext <<EOF
13585 #line 13586 "configure
"
13586 #include "confdefs.h
"
13587 /* System header to define __stub macros and hopefully few prototypes,
13588 which can conflict with char $ac_func(); below. */
13589 #include <assert.h>
13590 /* Override any gcc2 internal prototype to avoid an error. */
13591 /* We use char because int might match the return type of a gcc2
13592 builtin and then its argument prototype would still apply. */
13597 /* The GNU C library defines this for functions which it implements
13598 to always fail with ENOSYS. Some functions are actually named
13599 something starting with __ and the normal name is an alias. */
13600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13608 if { (eval echo configure:13609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13610 eval "ac_cv_func_
$ac_func=yes"
13612 echo "configure
: failed program was
:" >&5
13613 cat conftest.$ac_ext >&5
13615 eval "ac_cv_func_
$ac_func=no
"
13620 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13621 echo "$ac_t""yes" 1>&6
13622 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13623 cat >> confdefs.h <<EOF
13624 #define $ac_tr_func 1
13628 echo "$ac_t""no
" 1>&6
13634 echo $ac_n "checking
for _fabsf declaration
""...
$ac_c" 1>&6
13635 echo "configure
:13636: checking
for _fabsf declaration
" >&5
13636 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
13637 if eval "test \"`echo '$''{'glibcxx_cv_func__fabsf_use'+set}'`\" = set"; then
13638 echo $ac_n "(cached
) $ac_c" 1>&6
13643 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13644 ac_cpp='$CXXCPP $CPPFLAGS'
13645 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13646 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13647 cross_compiling=$ac_cv_prog_cxx_cross
13649 cat > conftest.$ac_ext <<EOF
13650 #line 13651 "configure
"
13651 #include "confdefs.h
"
13653 #ifdef HAVE_IEEEFP_H
13654 #include <ieeefp.h>
13661 if { (eval echo configure:13662: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13663 glibcxx_cv_func__fabsf_use=yes
13665 echo "configure
: failed program was
:" >&5
13666 cat conftest.$ac_ext >&5
13668 glibcxx_cv_func__fabsf_use=no
13672 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13673 ac_cpp='$CPP $CPPFLAGS'
13674 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13675 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13676 cross_compiling=$ac_cv_prog_cc_cross
13682 echo "$ac_t""$glibcxx_cv_func__fabsf_use" 1>&6
13684 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
13685 for ac_func in _fabsf
13687 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13688 echo "configure
:13689: checking
for $ac_func" >&5
13689 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13690 echo $ac_n "(cached
) $ac_c" 1>&6
13692 cat > conftest.$ac_ext <<EOF
13693 #line 13694 "configure
"
13694 #include "confdefs.h
"
13695 /* System header to define __stub macros and hopefully few prototypes,
13696 which can conflict with char $ac_func(); below. */
13697 #include <assert.h>
13698 /* Override any gcc2 internal prototype to avoid an error. */
13699 /* We use char because int might match the return type of a gcc2
13700 builtin and then its argument prototype would still apply. */
13705 /* The GNU C library defines this for functions which it implements
13706 to always fail with ENOSYS. Some functions are actually named
13707 something starting with __ and the normal name is an alias. */
13708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13716 if { (eval echo configure:13717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13718 eval "ac_cv_func_
$ac_func=yes"
13720 echo "configure
: failed program was
:" >&5
13721 cat conftest.$ac_ext >&5
13723 eval "ac_cv_func_
$ac_func=no
"
13728 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13729 echo "$ac_t""yes" 1>&6
13730 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13731 cat >> confdefs.h <<EOF
13732 #define $ac_tr_func 1
13736 echo "$ac_t""no
" 1>&6
13745 echo $ac_n "checking
for fmodf declaration
""...
$ac_c" 1>&6
13746 echo "configure
:13747: checking
for fmodf declaration
" >&5
13747 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
13748 if eval "test \"`echo '$''{'glibcxx_cv_func_fmodf_use'+set}'`\" = set"; then
13749 echo $ac_n "(cached
) $ac_c" 1>&6
13754 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13755 ac_cpp='$CXXCPP $CPPFLAGS'
13756 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13757 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13758 cross_compiling=$ac_cv_prog_cxx_cross
13760 cat > conftest.$ac_ext <<EOF
13761 #line 13762 "configure
"
13762 #include "confdefs.h
"
13768 if { (eval echo configure:13769: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13770 glibcxx_cv_func_fmodf_use=yes
13772 echo "configure
: failed program was
:" >&5
13773 cat conftest.$ac_ext >&5
13775 glibcxx_cv_func_fmodf_use=no
13779 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13780 ac_cpp='$CPP $CPPFLAGS'
13781 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13782 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13783 cross_compiling=$ac_cv_prog_cc_cross
13789 echo "$ac_t""$glibcxx_cv_func_fmodf_use" 1>&6
13791 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
13792 for ac_func in fmodf
13794 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13795 echo "configure
:13796: checking
for $ac_func" >&5
13796 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13797 echo $ac_n "(cached
) $ac_c" 1>&6
13799 cat > conftest.$ac_ext <<EOF
13800 #line 13801 "configure
"
13801 #include "confdefs.h
"
13802 /* System header to define __stub macros and hopefully few prototypes,
13803 which can conflict with char $ac_func(); below. */
13804 #include <assert.h>
13805 /* Override any gcc2 internal prototype to avoid an error. */
13806 /* We use char because int might match the return type of a gcc2
13807 builtin and then its argument prototype would still apply. */
13812 /* The GNU C library defines this for functions which it implements
13813 to always fail with ENOSYS. Some functions are actually named
13814 something starting with __ and the normal name is an alias. */
13815 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13823 if { (eval echo configure:13824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13825 eval "ac_cv_func_
$ac_func=yes"
13827 echo "configure
: failed program was
:" >&5
13828 cat conftest.$ac_ext >&5
13830 eval "ac_cv_func_
$ac_func=no
"
13835 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13836 echo "$ac_t""yes" 1>&6
13837 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13838 cat >> confdefs.h <<EOF
13839 #define $ac_tr_func 1
13843 echo "$ac_t""no
" 1>&6
13849 echo $ac_n "checking
for _fmodf declaration
""...
$ac_c" 1>&6
13850 echo "configure
:13851: checking
for _fmodf declaration
" >&5
13851 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
13852 if eval "test \"`echo '$''{'glibcxx_cv_func__fmodf_use'+set}'`\" = set"; then
13853 echo $ac_n "(cached
) $ac_c" 1>&6
13858 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13859 ac_cpp='$CXXCPP $CPPFLAGS'
13860 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13861 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13862 cross_compiling=$ac_cv_prog_cxx_cross
13864 cat > conftest.$ac_ext <<EOF
13865 #line 13866 "configure
"
13866 #include "confdefs.h
"
13872 if { (eval echo configure:13873: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13874 glibcxx_cv_func__fmodf_use=yes
13876 echo "configure
: failed program was
:" >&5
13877 cat conftest.$ac_ext >&5
13879 glibcxx_cv_func__fmodf_use=no
13883 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13884 ac_cpp='$CPP $CPPFLAGS'
13885 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13886 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13887 cross_compiling=$ac_cv_prog_cc_cross
13893 echo "$ac_t""$glibcxx_cv_func__fmodf_use" 1>&6
13895 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
13896 for ac_func in _fmodf
13898 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13899 echo "configure
:13900: checking
for $ac_func" >&5
13900 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13901 echo $ac_n "(cached
) $ac_c" 1>&6
13903 cat > conftest.$ac_ext <<EOF
13904 #line 13905 "configure
"
13905 #include "confdefs.h
"
13906 /* System header to define __stub macros and hopefully few prototypes,
13907 which can conflict with char $ac_func(); below. */
13908 #include <assert.h>
13909 /* Override any gcc2 internal prototype to avoid an error. */
13910 /* We use char because int might match the return type of a gcc2
13911 builtin and then its argument prototype would still apply. */
13916 /* The GNU C library defines this for functions which it implements
13917 to always fail with ENOSYS. Some functions are actually named
13918 something starting with __ and the normal name is an alias. */
13919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13927 if { (eval echo configure:13928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13929 eval "ac_cv_func_
$ac_func=yes"
13931 echo "configure
: failed program was
:" >&5
13932 cat conftest.$ac_ext >&5
13934 eval "ac_cv_func_
$ac_func=no
"
13939 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13940 echo "$ac_t""yes" 1>&6
13941 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13942 cat >> confdefs.h <<EOF
13943 #define $ac_tr_func 1
13947 echo "$ac_t""no
" 1>&6
13956 echo $ac_n "checking
for frexpf declaration
""...
$ac_c" 1>&6
13957 echo "configure
:13958: checking
for frexpf declaration
" >&5
13958 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
13959 if eval "test \"`echo '$''{'glibcxx_cv_func_frexpf_use'+set}'`\" = set"; then
13960 echo $ac_n "(cached
) $ac_c" 1>&6
13965 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13966 ac_cpp='$CXXCPP $CPPFLAGS'
13967 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13968 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13969 cross_compiling=$ac_cv_prog_cxx_cross
13971 cat > conftest.$ac_ext <<EOF
13972 #line 13973 "configure
"
13973 #include "confdefs.h
"
13979 if { (eval echo configure:13980: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13981 glibcxx_cv_func_frexpf_use=yes
13983 echo "configure
: failed program was
:" >&5
13984 cat conftest.$ac_ext >&5
13986 glibcxx_cv_func_frexpf_use=no
13990 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13991 ac_cpp='$CPP $CPPFLAGS'
13992 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13993 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13994 cross_compiling=$ac_cv_prog_cc_cross
14000 echo "$ac_t""$glibcxx_cv_func_frexpf_use" 1>&6
14002 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
14003 for ac_func in frexpf
14005 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14006 echo "configure
:14007: checking
for $ac_func" >&5
14007 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14008 echo $ac_n "(cached
) $ac_c" 1>&6
14010 cat > conftest.$ac_ext <<EOF
14011 #line 14012 "configure
"
14012 #include "confdefs.h
"
14013 /* System header to define __stub macros and hopefully few prototypes,
14014 which can conflict with char $ac_func(); below. */
14015 #include <assert.h>
14016 /* Override any gcc2 internal prototype to avoid an error. */
14017 /* We use char because int might match the return type of a gcc2
14018 builtin and then its argument prototype would still apply. */
14023 /* The GNU C library defines this for functions which it implements
14024 to always fail with ENOSYS. Some functions are actually named
14025 something starting with __ and the normal name is an alias. */
14026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14034 if { (eval echo configure:14035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14036 eval "ac_cv_func_
$ac_func=yes"
14038 echo "configure
: failed program was
:" >&5
14039 cat conftest.$ac_ext >&5
14041 eval "ac_cv_func_
$ac_func=no
"
14046 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14047 echo "$ac_t""yes" 1>&6
14048 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14049 cat >> confdefs.h <<EOF
14050 #define $ac_tr_func 1
14054 echo "$ac_t""no
" 1>&6
14060 echo $ac_n "checking
for _frexpf declaration
""...
$ac_c" 1>&6
14061 echo "configure
:14062: checking
for _frexpf declaration
" >&5
14062 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
14063 if eval "test \"`echo '$''{'glibcxx_cv_func__frexpf_use'+set}'`\" = set"; then
14064 echo $ac_n "(cached
) $ac_c" 1>&6
14069 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14070 ac_cpp='$CXXCPP $CPPFLAGS'
14071 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14072 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14073 cross_compiling=$ac_cv_prog_cxx_cross
14075 cat > conftest.$ac_ext <<EOF
14076 #line 14077 "configure
"
14077 #include "confdefs.h
"
14083 if { (eval echo configure:14084: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14085 glibcxx_cv_func__frexpf_use=yes
14087 echo "configure
: failed program was
:" >&5
14088 cat conftest.$ac_ext >&5
14090 glibcxx_cv_func__frexpf_use=no
14094 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14095 ac_cpp='$CPP $CPPFLAGS'
14096 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14097 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14098 cross_compiling=$ac_cv_prog_cc_cross
14104 echo "$ac_t""$glibcxx_cv_func__frexpf_use" 1>&6
14106 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
14107 for ac_func in _frexpf
14109 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14110 echo "configure
:14111: checking
for $ac_func" >&5
14111 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14112 echo $ac_n "(cached
) $ac_c" 1>&6
14114 cat > conftest.$ac_ext <<EOF
14115 #line 14116 "configure
"
14116 #include "confdefs.h
"
14117 /* System header to define __stub macros and hopefully few prototypes,
14118 which can conflict with char $ac_func(); below. */
14119 #include <assert.h>
14120 /* Override any gcc2 internal prototype to avoid an error. */
14121 /* We use char because int might match the return type of a gcc2
14122 builtin and then its argument prototype would still apply. */
14127 /* The GNU C library defines this for functions which it implements
14128 to always fail with ENOSYS. Some functions are actually named
14129 something starting with __ and the normal name is an alias. */
14130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14138 if { (eval echo configure:14139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14140 eval "ac_cv_func_
$ac_func=yes"
14142 echo "configure
: failed program was
:" >&5
14143 cat conftest.$ac_ext >&5
14145 eval "ac_cv_func_
$ac_func=no
"
14150 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14151 echo "$ac_t""yes" 1>&6
14152 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14153 cat >> confdefs.h <<EOF
14154 #define $ac_tr_func 1
14158 echo "$ac_t""no
" 1>&6
14167 echo $ac_n "checking
for hypotf declaration
""...
$ac_c" 1>&6
14168 echo "configure
:14169: checking
for hypotf declaration
" >&5
14169 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
14170 if eval "test \"`echo '$''{'glibcxx_cv_func_hypotf_use'+set}'`\" = set"; then
14171 echo $ac_n "(cached
) $ac_c" 1>&6
14176 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14177 ac_cpp='$CXXCPP $CPPFLAGS'
14178 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14179 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14180 cross_compiling=$ac_cv_prog_cxx_cross
14182 cat > conftest.$ac_ext <<EOF
14183 #line 14184 "configure
"
14184 #include "confdefs.h
"
14190 if { (eval echo configure:14191: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14192 glibcxx_cv_func_hypotf_use=yes
14194 echo "configure
: failed program was
:" >&5
14195 cat conftest.$ac_ext >&5
14197 glibcxx_cv_func_hypotf_use=no
14201 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14202 ac_cpp='$CPP $CPPFLAGS'
14203 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14204 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14205 cross_compiling=$ac_cv_prog_cc_cross
14211 echo "$ac_t""$glibcxx_cv_func_hypotf_use" 1>&6
14213 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
14214 for ac_func in hypotf
14216 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14217 echo "configure
:14218: checking
for $ac_func" >&5
14218 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14219 echo $ac_n "(cached
) $ac_c" 1>&6
14221 cat > conftest.$ac_ext <<EOF
14222 #line 14223 "configure
"
14223 #include "confdefs.h
"
14224 /* System header to define __stub macros and hopefully few prototypes,
14225 which can conflict with char $ac_func(); below. */
14226 #include <assert.h>
14227 /* Override any gcc2 internal prototype to avoid an error. */
14228 /* We use char because int might match the return type of a gcc2
14229 builtin and then its argument prototype would still apply. */
14234 /* The GNU C library defines this for functions which it implements
14235 to always fail with ENOSYS. Some functions are actually named
14236 something starting with __ and the normal name is an alias. */
14237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14245 if { (eval echo configure:14246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14247 eval "ac_cv_func_
$ac_func=yes"
14249 echo "configure
: failed program was
:" >&5
14250 cat conftest.$ac_ext >&5
14252 eval "ac_cv_func_
$ac_func=no
"
14257 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14258 echo "$ac_t""yes" 1>&6
14259 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14260 cat >> confdefs.h <<EOF
14261 #define $ac_tr_func 1
14265 echo "$ac_t""no
" 1>&6
14271 echo $ac_n "checking
for _hypotf declaration
""...
$ac_c" 1>&6
14272 echo "configure
:14273: checking
for _hypotf declaration
" >&5
14273 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
14274 if eval "test \"`echo '$''{'glibcxx_cv_func__hypotf_use'+set}'`\" = set"; then
14275 echo $ac_n "(cached
) $ac_c" 1>&6
14280 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14281 ac_cpp='$CXXCPP $CPPFLAGS'
14282 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14283 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14284 cross_compiling=$ac_cv_prog_cxx_cross
14286 cat > conftest.$ac_ext <<EOF
14287 #line 14288 "configure
"
14288 #include "confdefs.h
"
14294 if { (eval echo configure:14295: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14296 glibcxx_cv_func__hypotf_use=yes
14298 echo "configure
: failed program was
:" >&5
14299 cat conftest.$ac_ext >&5
14301 glibcxx_cv_func__hypotf_use=no
14305 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14306 ac_cpp='$CPP $CPPFLAGS'
14307 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14308 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14309 cross_compiling=$ac_cv_prog_cc_cross
14315 echo "$ac_t""$glibcxx_cv_func__hypotf_use" 1>&6
14317 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
14318 for ac_func in _hypotf
14320 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14321 echo "configure
:14322: checking
for $ac_func" >&5
14322 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14323 echo $ac_n "(cached
) $ac_c" 1>&6
14325 cat > conftest.$ac_ext <<EOF
14326 #line 14327 "configure
"
14327 #include "confdefs.h
"
14328 /* System header to define __stub macros and hopefully few prototypes,
14329 which can conflict with char $ac_func(); below. */
14330 #include <assert.h>
14331 /* Override any gcc2 internal prototype to avoid an error. */
14332 /* We use char because int might match the return type of a gcc2
14333 builtin and then its argument prototype would still apply. */
14338 /* The GNU C library defines this for functions which it implements
14339 to always fail with ENOSYS. Some functions are actually named
14340 something starting with __ and the normal name is an alias. */
14341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14349 if { (eval echo configure:14350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14351 eval "ac_cv_func_
$ac_func=yes"
14353 echo "configure
: failed program was
:" >&5
14354 cat conftest.$ac_ext >&5
14356 eval "ac_cv_func_
$ac_func=no
"
14361 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14362 echo "$ac_t""yes" 1>&6
14363 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14364 cat >> confdefs.h <<EOF
14365 #define $ac_tr_func 1
14369 echo "$ac_t""no
" 1>&6
14378 echo $ac_n "checking
for ldexpf declaration
""...
$ac_c" 1>&6
14379 echo "configure
:14380: checking
for ldexpf declaration
" >&5
14380 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
14381 if eval "test \"`echo '$''{'glibcxx_cv_func_ldexpf_use'+set}'`\" = set"; then
14382 echo $ac_n "(cached
) $ac_c" 1>&6
14387 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14388 ac_cpp='$CXXCPP $CPPFLAGS'
14389 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14390 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14391 cross_compiling=$ac_cv_prog_cxx_cross
14393 cat > conftest.$ac_ext <<EOF
14394 #line 14395 "configure
"
14395 #include "confdefs.h
"
14401 if { (eval echo configure:14402: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14403 glibcxx_cv_func_ldexpf_use=yes
14405 echo "configure
: failed program was
:" >&5
14406 cat conftest.$ac_ext >&5
14408 glibcxx_cv_func_ldexpf_use=no
14412 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14413 ac_cpp='$CPP $CPPFLAGS'
14414 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14415 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14416 cross_compiling=$ac_cv_prog_cc_cross
14422 echo "$ac_t""$glibcxx_cv_func_ldexpf_use" 1>&6
14424 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
14425 for ac_func in ldexpf
14427 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14428 echo "configure
:14429: checking
for $ac_func" >&5
14429 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14430 echo $ac_n "(cached
) $ac_c" 1>&6
14432 cat > conftest.$ac_ext <<EOF
14433 #line 14434 "configure
"
14434 #include "confdefs.h
"
14435 /* System header to define __stub macros and hopefully few prototypes,
14436 which can conflict with char $ac_func(); below. */
14437 #include <assert.h>
14438 /* Override any gcc2 internal prototype to avoid an error. */
14439 /* We use char because int might match the return type of a gcc2
14440 builtin and then its argument prototype would still apply. */
14445 /* The GNU C library defines this for functions which it implements
14446 to always fail with ENOSYS. Some functions are actually named
14447 something starting with __ and the normal name is an alias. */
14448 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14456 if { (eval echo configure:14457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14458 eval "ac_cv_func_
$ac_func=yes"
14460 echo "configure
: failed program was
:" >&5
14461 cat conftest.$ac_ext >&5
14463 eval "ac_cv_func_
$ac_func=no
"
14468 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14469 echo "$ac_t""yes" 1>&6
14470 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14471 cat >> confdefs.h <<EOF
14472 #define $ac_tr_func 1
14476 echo "$ac_t""no
" 1>&6
14482 echo $ac_n "checking
for _ldexpf declaration
""...
$ac_c" 1>&6
14483 echo "configure
:14484: checking
for _ldexpf declaration
" >&5
14484 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
14485 if eval "test \"`echo '$''{'glibcxx_cv_func__ldexpf_use'+set}'`\" = set"; then
14486 echo $ac_n "(cached
) $ac_c" 1>&6
14491 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14492 ac_cpp='$CXXCPP $CPPFLAGS'
14493 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14494 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14495 cross_compiling=$ac_cv_prog_cxx_cross
14497 cat > conftest.$ac_ext <<EOF
14498 #line 14499 "configure
"
14499 #include "confdefs.h
"
14505 if { (eval echo configure:14506: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14507 glibcxx_cv_func__ldexpf_use=yes
14509 echo "configure
: failed program was
:" >&5
14510 cat conftest.$ac_ext >&5
14512 glibcxx_cv_func__ldexpf_use=no
14516 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14517 ac_cpp='$CPP $CPPFLAGS'
14518 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14519 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14520 cross_compiling=$ac_cv_prog_cc_cross
14526 echo "$ac_t""$glibcxx_cv_func__ldexpf_use" 1>&6
14528 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
14529 for ac_func in _ldexpf
14531 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14532 echo "configure
:14533: checking
for $ac_func" >&5
14533 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14534 echo $ac_n "(cached
) $ac_c" 1>&6
14536 cat > conftest.$ac_ext <<EOF
14537 #line 14538 "configure
"
14538 #include "confdefs.h
"
14539 /* System header to define __stub macros and hopefully few prototypes,
14540 which can conflict with char $ac_func(); below. */
14541 #include <assert.h>
14542 /* Override any gcc2 internal prototype to avoid an error. */
14543 /* We use char because int might match the return type of a gcc2
14544 builtin and then its argument prototype would still apply. */
14549 /* The GNU C library defines this for functions which it implements
14550 to always fail with ENOSYS. Some functions are actually named
14551 something starting with __ and the normal name is an alias. */
14552 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14560 if { (eval echo configure:14561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14562 eval "ac_cv_func_
$ac_func=yes"
14564 echo "configure
: failed program was
:" >&5
14565 cat conftest.$ac_ext >&5
14567 eval "ac_cv_func_
$ac_func=no
"
14572 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14573 echo "$ac_t""yes" 1>&6
14574 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14575 cat >> confdefs.h <<EOF
14576 #define $ac_tr_func 1
14580 echo "$ac_t""no
" 1>&6
14589 echo $ac_n "checking
for logf declaration
""...
$ac_c" 1>&6
14590 echo "configure
:14591: checking
for logf declaration
" >&5
14591 if test x${glibcxx_cv_func_logf_use+set} != xset; then
14592 if eval "test \"`echo '$''{'glibcxx_cv_func_logf_use'+set}'`\" = set"; then
14593 echo $ac_n "(cached
) $ac_c" 1>&6
14598 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14599 ac_cpp='$CXXCPP $CPPFLAGS'
14600 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14601 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14602 cross_compiling=$ac_cv_prog_cxx_cross
14604 cat > conftest.$ac_ext <<EOF
14605 #line 14606 "configure
"
14606 #include "confdefs.h
"
14608 #ifdef HAVE_IEEEFP_H
14609 #include <ieeefp.h>
14616 if { (eval echo configure:14617: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14618 glibcxx_cv_func_logf_use=yes
14620 echo "configure
: failed program was
:" >&5
14621 cat conftest.$ac_ext >&5
14623 glibcxx_cv_func_logf_use=no
14627 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14628 ac_cpp='$CPP $CPPFLAGS'
14629 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14630 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14631 cross_compiling=$ac_cv_prog_cc_cross
14637 echo "$ac_t""$glibcxx_cv_func_logf_use" 1>&6
14639 if test x$glibcxx_cv_func_logf_use = x"yes"; then
14640 for ac_func in logf
14642 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14643 echo "configure
:14644: checking
for $ac_func" >&5
14644 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14645 echo $ac_n "(cached
) $ac_c" 1>&6
14647 cat > conftest.$ac_ext <<EOF
14648 #line 14649 "configure
"
14649 #include "confdefs.h
"
14650 /* System header to define __stub macros and hopefully few prototypes,
14651 which can conflict with char $ac_func(); below. */
14652 #include <assert.h>
14653 /* Override any gcc2 internal prototype to avoid an error. */
14654 /* We use char because int might match the return type of a gcc2
14655 builtin and then its argument prototype would still apply. */
14660 /* The GNU C library defines this for functions which it implements
14661 to always fail with ENOSYS. Some functions are actually named
14662 something starting with __ and the normal name is an alias. */
14663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14671 if { (eval echo configure:14672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14673 eval "ac_cv_func_
$ac_func=yes"
14675 echo "configure
: failed program was
:" >&5
14676 cat conftest.$ac_ext >&5
14678 eval "ac_cv_func_
$ac_func=no
"
14683 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14684 echo "$ac_t""yes" 1>&6
14685 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14686 cat >> confdefs.h <<EOF
14687 #define $ac_tr_func 1
14691 echo "$ac_t""no
" 1>&6
14697 echo $ac_n "checking
for _logf declaration
""...
$ac_c" 1>&6
14698 echo "configure
:14699: checking
for _logf declaration
" >&5
14699 if test x${glibcxx_cv_func__logf_use+set} != xset; then
14700 if eval "test \"`echo '$''{'glibcxx_cv_func__logf_use'+set}'`\" = set"; then
14701 echo $ac_n "(cached
) $ac_c" 1>&6
14706 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14707 ac_cpp='$CXXCPP $CPPFLAGS'
14708 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14709 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14710 cross_compiling=$ac_cv_prog_cxx_cross
14712 cat > conftest.$ac_ext <<EOF
14713 #line 14714 "configure
"
14714 #include "confdefs.h
"
14716 #ifdef HAVE_IEEEFP_H
14717 #include <ieeefp.h>
14724 if { (eval echo configure:14725: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14726 glibcxx_cv_func__logf_use=yes
14728 echo "configure
: failed program was
:" >&5
14729 cat conftest.$ac_ext >&5
14731 glibcxx_cv_func__logf_use=no
14735 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14736 ac_cpp='$CPP $CPPFLAGS'
14737 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14738 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14739 cross_compiling=$ac_cv_prog_cc_cross
14745 echo "$ac_t""$glibcxx_cv_func__logf_use" 1>&6
14747 if test x$glibcxx_cv_func__logf_use = x"yes"; then
14748 for ac_func in _logf
14750 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14751 echo "configure
:14752: checking
for $ac_func" >&5
14752 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14753 echo $ac_n "(cached
) $ac_c" 1>&6
14755 cat > conftest.$ac_ext <<EOF
14756 #line 14757 "configure
"
14757 #include "confdefs.h
"
14758 /* System header to define __stub macros and hopefully few prototypes,
14759 which can conflict with char $ac_func(); below. */
14760 #include <assert.h>
14761 /* Override any gcc2 internal prototype to avoid an error. */
14762 /* We use char because int might match the return type of a gcc2
14763 builtin and then its argument prototype would still apply. */
14768 /* The GNU C library defines this for functions which it implements
14769 to always fail with ENOSYS. Some functions are actually named
14770 something starting with __ and the normal name is an alias. */
14771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14779 if { (eval echo configure:14780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14781 eval "ac_cv_func_
$ac_func=yes"
14783 echo "configure
: failed program was
:" >&5
14784 cat conftest.$ac_ext >&5
14786 eval "ac_cv_func_
$ac_func=no
"
14791 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14792 echo "$ac_t""yes" 1>&6
14793 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14794 cat >> confdefs.h <<EOF
14795 #define $ac_tr_func 1
14799 echo "$ac_t""no
" 1>&6
14808 echo $ac_n "checking
for log10f declaration
""...
$ac_c" 1>&6
14809 echo "configure
:14810: checking
for log10f declaration
" >&5
14810 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
14811 if eval "test \"`echo '$''{'glibcxx_cv_func_log10f_use'+set}'`\" = set"; then
14812 echo $ac_n "(cached
) $ac_c" 1>&6
14817 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14818 ac_cpp='$CXXCPP $CPPFLAGS'
14819 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14820 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14821 cross_compiling=$ac_cv_prog_cxx_cross
14823 cat > conftest.$ac_ext <<EOF
14824 #line 14825 "configure
"
14825 #include "confdefs.h
"
14827 #ifdef HAVE_IEEEFP_H
14828 #include <ieeefp.h>
14835 if { (eval echo configure:14836: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14837 glibcxx_cv_func_log10f_use=yes
14839 echo "configure
: failed program was
:" >&5
14840 cat conftest.$ac_ext >&5
14842 glibcxx_cv_func_log10f_use=no
14846 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14847 ac_cpp='$CPP $CPPFLAGS'
14848 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14849 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14850 cross_compiling=$ac_cv_prog_cc_cross
14856 echo "$ac_t""$glibcxx_cv_func_log10f_use" 1>&6
14858 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
14859 for ac_func in log10f
14861 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14862 echo "configure
:14863: checking
for $ac_func" >&5
14863 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14864 echo $ac_n "(cached
) $ac_c" 1>&6
14866 cat > conftest.$ac_ext <<EOF
14867 #line 14868 "configure
"
14868 #include "confdefs.h
"
14869 /* System header to define __stub macros and hopefully few prototypes,
14870 which can conflict with char $ac_func(); below. */
14871 #include <assert.h>
14872 /* Override any gcc2 internal prototype to avoid an error. */
14873 /* We use char because int might match the return type of a gcc2
14874 builtin and then its argument prototype would still apply. */
14879 /* The GNU C library defines this for functions which it implements
14880 to always fail with ENOSYS. Some functions are actually named
14881 something starting with __ and the normal name is an alias. */
14882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14890 if { (eval echo configure:14891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14892 eval "ac_cv_func_
$ac_func=yes"
14894 echo "configure
: failed program was
:" >&5
14895 cat conftest.$ac_ext >&5
14897 eval "ac_cv_func_
$ac_func=no
"
14902 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14903 echo "$ac_t""yes" 1>&6
14904 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14905 cat >> confdefs.h <<EOF
14906 #define $ac_tr_func 1
14910 echo "$ac_t""no
" 1>&6
14916 echo $ac_n "checking
for _log10f declaration
""...
$ac_c" 1>&6
14917 echo "configure
:14918: checking
for _log10f declaration
" >&5
14918 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
14919 if eval "test \"`echo '$''{'glibcxx_cv_func__log10f_use'+set}'`\" = set"; then
14920 echo $ac_n "(cached
) $ac_c" 1>&6
14925 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14926 ac_cpp='$CXXCPP $CPPFLAGS'
14927 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14928 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14929 cross_compiling=$ac_cv_prog_cxx_cross
14931 cat > conftest.$ac_ext <<EOF
14932 #line 14933 "configure
"
14933 #include "confdefs.h
"
14935 #ifdef HAVE_IEEEFP_H
14936 #include <ieeefp.h>
14943 if { (eval echo configure:14944: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14945 glibcxx_cv_func__log10f_use=yes
14947 echo "configure
: failed program was
:" >&5
14948 cat conftest.$ac_ext >&5
14950 glibcxx_cv_func__log10f_use=no
14954 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14955 ac_cpp='$CPP $CPPFLAGS'
14956 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14957 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14958 cross_compiling=$ac_cv_prog_cc_cross
14964 echo "$ac_t""$glibcxx_cv_func__log10f_use" 1>&6
14966 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
14967 for ac_func in _log10f
14969 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14970 echo "configure
:14971: checking
for $ac_func" >&5
14971 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14972 echo $ac_n "(cached
) $ac_c" 1>&6
14974 cat > conftest.$ac_ext <<EOF
14975 #line 14976 "configure
"
14976 #include "confdefs.h
"
14977 /* System header to define __stub macros and hopefully few prototypes,
14978 which can conflict with char $ac_func(); below. */
14979 #include <assert.h>
14980 /* Override any gcc2 internal prototype to avoid an error. */
14981 /* We use char because int might match the return type of a gcc2
14982 builtin and then its argument prototype would still apply. */
14987 /* The GNU C library defines this for functions which it implements
14988 to always fail with ENOSYS. Some functions are actually named
14989 something starting with __ and the normal name is an alias. */
14990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14998 if { (eval echo configure:14999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15000 eval "ac_cv_func_
$ac_func=yes"
15002 echo "configure
: failed program was
:" >&5
15003 cat conftest.$ac_ext >&5
15005 eval "ac_cv_func_
$ac_func=no
"
15010 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15011 echo "$ac_t""yes" 1>&6
15012 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15013 cat >> confdefs.h <<EOF
15014 #define $ac_tr_func 1
15018 echo "$ac_t""no
" 1>&6
15027 echo $ac_n "checking
for modff declaration
""...
$ac_c" 1>&6
15028 echo "configure
:15029: checking
for modff declaration
" >&5
15029 if test x${glibcxx_cv_func_modff_use+set} != xset; then
15030 if eval "test \"`echo '$''{'glibcxx_cv_func_modff_use'+set}'`\" = set"; then
15031 echo $ac_n "(cached
) $ac_c" 1>&6
15036 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15037 ac_cpp='$CXXCPP $CPPFLAGS'
15038 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15039 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15040 cross_compiling=$ac_cv_prog_cxx_cross
15042 cat > conftest.$ac_ext <<EOF
15043 #line 15044 "configure
"
15044 #include "confdefs.h
"
15050 if { (eval echo configure:15051: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15052 glibcxx_cv_func_modff_use=yes
15054 echo "configure
: failed program was
:" >&5
15055 cat conftest.$ac_ext >&5
15057 glibcxx_cv_func_modff_use=no
15061 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15062 ac_cpp='$CPP $CPPFLAGS'
15063 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15064 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15065 cross_compiling=$ac_cv_prog_cc_cross
15071 echo "$ac_t""$glibcxx_cv_func_modff_use" 1>&6
15073 if test x$glibcxx_cv_func_modff_use = x"yes"; then
15074 for ac_func in modff
15076 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15077 echo "configure
:15078: checking
for $ac_func" >&5
15078 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15079 echo $ac_n "(cached
) $ac_c" 1>&6
15081 cat > conftest.$ac_ext <<EOF
15082 #line 15083 "configure
"
15083 #include "confdefs.h
"
15084 /* System header to define __stub macros and hopefully few prototypes,
15085 which can conflict with char $ac_func(); below. */
15086 #include <assert.h>
15087 /* Override any gcc2 internal prototype to avoid an error. */
15088 /* We use char because int might match the return type of a gcc2
15089 builtin and then its argument prototype would still apply. */
15094 /* The GNU C library defines this for functions which it implements
15095 to always fail with ENOSYS. Some functions are actually named
15096 something starting with __ and the normal name is an alias. */
15097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15105 if { (eval echo configure:15106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15107 eval "ac_cv_func_
$ac_func=yes"
15109 echo "configure
: failed program was
:" >&5
15110 cat conftest.$ac_ext >&5
15112 eval "ac_cv_func_
$ac_func=no
"
15117 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15118 echo "$ac_t""yes" 1>&6
15119 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15120 cat >> confdefs.h <<EOF
15121 #define $ac_tr_func 1
15125 echo "$ac_t""no
" 1>&6
15131 echo $ac_n "checking
for _modff declaration
""...
$ac_c" 1>&6
15132 echo "configure
:15133: checking
for _modff declaration
" >&5
15133 if test x${glibcxx_cv_func__modff_use+set} != xset; then
15134 if eval "test \"`echo '$''{'glibcxx_cv_func__modff_use'+set}'`\" = set"; then
15135 echo $ac_n "(cached
) $ac_c" 1>&6
15140 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15141 ac_cpp='$CXXCPP $CPPFLAGS'
15142 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15143 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15144 cross_compiling=$ac_cv_prog_cxx_cross
15146 cat > conftest.$ac_ext <<EOF
15147 #line 15148 "configure
"
15148 #include "confdefs.h
"
15154 if { (eval echo configure:15155: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15156 glibcxx_cv_func__modff_use=yes
15158 echo "configure
: failed program was
:" >&5
15159 cat conftest.$ac_ext >&5
15161 glibcxx_cv_func__modff_use=no
15165 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15166 ac_cpp='$CPP $CPPFLAGS'
15167 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15168 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15169 cross_compiling=$ac_cv_prog_cc_cross
15175 echo "$ac_t""$glibcxx_cv_func__modff_use" 1>&6
15177 if test x$glibcxx_cv_func__modff_use = x"yes"; then
15178 for ac_func in _modff
15180 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15181 echo "configure
:15182: checking
for $ac_func" >&5
15182 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15183 echo $ac_n "(cached
) $ac_c" 1>&6
15185 cat > conftest.$ac_ext <<EOF
15186 #line 15187 "configure
"
15187 #include "confdefs.h
"
15188 /* System header to define __stub macros and hopefully few prototypes,
15189 which can conflict with char $ac_func(); below. */
15190 #include <assert.h>
15191 /* Override any gcc2 internal prototype to avoid an error. */
15192 /* We use char because int might match the return type of a gcc2
15193 builtin and then its argument prototype would still apply. */
15198 /* The GNU C library defines this for functions which it implements
15199 to always fail with ENOSYS. Some functions are actually named
15200 something starting with __ and the normal name is an alias. */
15201 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15209 if { (eval echo configure:15210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15211 eval "ac_cv_func_
$ac_func=yes"
15213 echo "configure
: failed program was
:" >&5
15214 cat conftest.$ac_ext >&5
15216 eval "ac_cv_func_
$ac_func=no
"
15221 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15222 echo "$ac_t""yes" 1>&6
15223 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15224 cat >> confdefs.h <<EOF
15225 #define $ac_tr_func 1
15229 echo "$ac_t""no
" 1>&6
15238 echo $ac_n "checking
for powf declaration
""...
$ac_c" 1>&6
15239 echo "configure
:15240: checking
for powf declaration
" >&5
15240 if test x${glibcxx_cv_func_powf_use+set} != xset; then
15241 if eval "test \"`echo '$''{'glibcxx_cv_func_powf_use'+set}'`\" = set"; then
15242 echo $ac_n "(cached
) $ac_c" 1>&6
15247 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15248 ac_cpp='$CXXCPP $CPPFLAGS'
15249 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15250 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15251 cross_compiling=$ac_cv_prog_cxx_cross
15253 cat > conftest.$ac_ext <<EOF
15254 #line 15255 "configure
"
15255 #include "confdefs.h
"
15261 if { (eval echo configure:15262: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15263 glibcxx_cv_func_powf_use=yes
15265 echo "configure
: failed program was
:" >&5
15266 cat conftest.$ac_ext >&5
15268 glibcxx_cv_func_powf_use=no
15272 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15273 ac_cpp='$CPP $CPPFLAGS'
15274 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15275 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15276 cross_compiling=$ac_cv_prog_cc_cross
15282 echo "$ac_t""$glibcxx_cv_func_powf_use" 1>&6
15284 if test x$glibcxx_cv_func_powf_use = x"yes"; then
15285 for ac_func in powf
15287 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15288 echo "configure
:15289: checking
for $ac_func" >&5
15289 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15290 echo $ac_n "(cached
) $ac_c" 1>&6
15292 cat > conftest.$ac_ext <<EOF
15293 #line 15294 "configure
"
15294 #include "confdefs.h
"
15295 /* System header to define __stub macros and hopefully few prototypes,
15296 which can conflict with char $ac_func(); below. */
15297 #include <assert.h>
15298 /* Override any gcc2 internal prototype to avoid an error. */
15299 /* We use char because int might match the return type of a gcc2
15300 builtin and then its argument prototype would still apply. */
15305 /* The GNU C library defines this for functions which it implements
15306 to always fail with ENOSYS. Some functions are actually named
15307 something starting with __ and the normal name is an alias. */
15308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15316 if { (eval echo configure:15317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15318 eval "ac_cv_func_
$ac_func=yes"
15320 echo "configure
: failed program was
:" >&5
15321 cat conftest.$ac_ext >&5
15323 eval "ac_cv_func_
$ac_func=no
"
15328 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15329 echo "$ac_t""yes" 1>&6
15330 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15331 cat >> confdefs.h <<EOF
15332 #define $ac_tr_func 1
15336 echo "$ac_t""no
" 1>&6
15342 echo $ac_n "checking
for _powf declaration
""...
$ac_c" 1>&6
15343 echo "configure
:15344: checking
for _powf declaration
" >&5
15344 if test x${glibcxx_cv_func__powf_use+set} != xset; then
15345 if eval "test \"`echo '$''{'glibcxx_cv_func__powf_use'+set}'`\" = set"; then
15346 echo $ac_n "(cached
) $ac_c" 1>&6
15351 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15352 ac_cpp='$CXXCPP $CPPFLAGS'
15353 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15354 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15355 cross_compiling=$ac_cv_prog_cxx_cross
15357 cat > conftest.$ac_ext <<EOF
15358 #line 15359 "configure
"
15359 #include "confdefs.h
"
15365 if { (eval echo configure:15366: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15367 glibcxx_cv_func__powf_use=yes
15369 echo "configure
: failed program was
:" >&5
15370 cat conftest.$ac_ext >&5
15372 glibcxx_cv_func__powf_use=no
15376 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15377 ac_cpp='$CPP $CPPFLAGS'
15378 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15379 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15380 cross_compiling=$ac_cv_prog_cc_cross
15386 echo "$ac_t""$glibcxx_cv_func__powf_use" 1>&6
15388 if test x$glibcxx_cv_func__powf_use = x"yes"; then
15389 for ac_func in _powf
15391 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15392 echo "configure
:15393: checking
for $ac_func" >&5
15393 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15394 echo $ac_n "(cached
) $ac_c" 1>&6
15396 cat > conftest.$ac_ext <<EOF
15397 #line 15398 "configure
"
15398 #include "confdefs.h
"
15399 /* System header to define __stub macros and hopefully few prototypes,
15400 which can conflict with char $ac_func(); below. */
15401 #include <assert.h>
15402 /* Override any gcc2 internal prototype to avoid an error. */
15403 /* We use char because int might match the return type of a gcc2
15404 builtin and then its argument prototype would still apply. */
15409 /* The GNU C library defines this for functions which it implements
15410 to always fail with ENOSYS. Some functions are actually named
15411 something starting with __ and the normal name is an alias. */
15412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15420 if { (eval echo configure:15421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15422 eval "ac_cv_func_
$ac_func=yes"
15424 echo "configure
: failed program was
:" >&5
15425 cat conftest.$ac_ext >&5
15427 eval "ac_cv_func_
$ac_func=no
"
15432 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15433 echo "$ac_t""yes" 1>&6
15434 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15435 cat >> confdefs.h <<EOF
15436 #define $ac_tr_func 1
15440 echo "$ac_t""no
" 1>&6
15449 echo $ac_n "checking
for sqrtf declaration
""...
$ac_c" 1>&6
15450 echo "configure
:15451: checking
for sqrtf declaration
" >&5
15451 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
15452 if eval "test \"`echo '$''{'glibcxx_cv_func_sqrtf_use'+set}'`\" = set"; then
15453 echo $ac_n "(cached
) $ac_c" 1>&6
15458 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15459 ac_cpp='$CXXCPP $CPPFLAGS'
15460 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15461 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15462 cross_compiling=$ac_cv_prog_cxx_cross
15464 cat > conftest.$ac_ext <<EOF
15465 #line 15466 "configure
"
15466 #include "confdefs.h
"
15468 #ifdef HAVE_IEEEFP_H
15469 #include <ieeefp.h>
15476 if { (eval echo configure:15477: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15478 glibcxx_cv_func_sqrtf_use=yes
15480 echo "configure
: failed program was
:" >&5
15481 cat conftest.$ac_ext >&5
15483 glibcxx_cv_func_sqrtf_use=no
15487 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15488 ac_cpp='$CPP $CPPFLAGS'
15489 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15490 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15491 cross_compiling=$ac_cv_prog_cc_cross
15497 echo "$ac_t""$glibcxx_cv_func_sqrtf_use" 1>&6
15499 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
15500 for ac_func in sqrtf
15502 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15503 echo "configure
:15504: checking
for $ac_func" >&5
15504 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15505 echo $ac_n "(cached
) $ac_c" 1>&6
15507 cat > conftest.$ac_ext <<EOF
15508 #line 15509 "configure
"
15509 #include "confdefs.h
"
15510 /* System header to define __stub macros and hopefully few prototypes,
15511 which can conflict with char $ac_func(); below. */
15512 #include <assert.h>
15513 /* Override any gcc2 internal prototype to avoid an error. */
15514 /* We use char because int might match the return type of a gcc2
15515 builtin and then its argument prototype would still apply. */
15520 /* The GNU C library defines this for functions which it implements
15521 to always fail with ENOSYS. Some functions are actually named
15522 something starting with __ and the normal name is an alias. */
15523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15531 if { (eval echo configure:15532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15533 eval "ac_cv_func_
$ac_func=yes"
15535 echo "configure
: failed program was
:" >&5
15536 cat conftest.$ac_ext >&5
15538 eval "ac_cv_func_
$ac_func=no
"
15543 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15544 echo "$ac_t""yes" 1>&6
15545 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15546 cat >> confdefs.h <<EOF
15547 #define $ac_tr_func 1
15551 echo "$ac_t""no
" 1>&6
15557 echo $ac_n "checking
for _sqrtf declaration
""...
$ac_c" 1>&6
15558 echo "configure
:15559: checking
for _sqrtf declaration
" >&5
15559 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
15560 if eval "test \"`echo '$''{'glibcxx_cv_func__sqrtf_use'+set}'`\" = set"; then
15561 echo $ac_n "(cached
) $ac_c" 1>&6
15566 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15567 ac_cpp='$CXXCPP $CPPFLAGS'
15568 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15569 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15570 cross_compiling=$ac_cv_prog_cxx_cross
15572 cat > conftest.$ac_ext <<EOF
15573 #line 15574 "configure
"
15574 #include "confdefs.h
"
15576 #ifdef HAVE_IEEEFP_H
15577 #include <ieeefp.h>
15584 if { (eval echo configure:15585: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15586 glibcxx_cv_func__sqrtf_use=yes
15588 echo "configure
: failed program was
:" >&5
15589 cat conftest.$ac_ext >&5
15591 glibcxx_cv_func__sqrtf_use=no
15595 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15596 ac_cpp='$CPP $CPPFLAGS'
15597 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15598 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15599 cross_compiling=$ac_cv_prog_cc_cross
15605 echo "$ac_t""$glibcxx_cv_func__sqrtf_use" 1>&6
15607 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
15608 for ac_func in _sqrtf
15610 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15611 echo "configure
:15612: checking
for $ac_func" >&5
15612 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15613 echo $ac_n "(cached
) $ac_c" 1>&6
15615 cat > conftest.$ac_ext <<EOF
15616 #line 15617 "configure
"
15617 #include "confdefs.h
"
15618 /* System header to define __stub macros and hopefully few prototypes,
15619 which can conflict with char $ac_func(); below. */
15620 #include <assert.h>
15621 /* Override any gcc2 internal prototype to avoid an error. */
15622 /* We use char because int might match the return type of a gcc2
15623 builtin and then its argument prototype would still apply. */
15628 /* The GNU C library defines this for functions which it implements
15629 to always fail with ENOSYS. Some functions are actually named
15630 something starting with __ and the normal name is an alias. */
15631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15639 if { (eval echo configure:15640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15641 eval "ac_cv_func_
$ac_func=yes"
15643 echo "configure
: failed program was
:" >&5
15644 cat conftest.$ac_ext >&5
15646 eval "ac_cv_func_
$ac_func=no
"
15651 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15652 echo "$ac_t""yes" 1>&6
15653 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15654 cat >> confdefs.h <<EOF
15655 #define $ac_tr_func 1
15659 echo "$ac_t""no
" 1>&6
15668 echo $ac_n "checking
for sincosf declaration
""...
$ac_c" 1>&6
15669 echo "configure
:15670: checking
for sincosf declaration
" >&5
15670 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
15671 if eval "test \"`echo '$''{'glibcxx_cv_func_sincosf_use'+set}'`\" = set"; then
15672 echo $ac_n "(cached
) $ac_c" 1>&6
15677 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15678 ac_cpp='$CXXCPP $CPPFLAGS'
15679 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15680 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15681 cross_compiling=$ac_cv_prog_cxx_cross
15683 cat > conftest.$ac_ext <<EOF
15684 #line 15685 "configure
"
15685 #include "confdefs.h
"
15691 if { (eval echo configure:15692: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15693 glibcxx_cv_func_sincosf_use=yes
15695 echo "configure
: failed program was
:" >&5
15696 cat conftest.$ac_ext >&5
15698 glibcxx_cv_func_sincosf_use=no
15702 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15703 ac_cpp='$CPP $CPPFLAGS'
15704 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15705 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15706 cross_compiling=$ac_cv_prog_cc_cross
15712 echo "$ac_t""$glibcxx_cv_func_sincosf_use" 1>&6
15714 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
15715 for ac_func in sincosf
15717 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15718 echo "configure
:15719: checking
for $ac_func" >&5
15719 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15720 echo $ac_n "(cached
) $ac_c" 1>&6
15722 cat > conftest.$ac_ext <<EOF
15723 #line 15724 "configure
"
15724 #include "confdefs.h
"
15725 /* System header to define __stub macros and hopefully few prototypes,
15726 which can conflict with char $ac_func(); below. */
15727 #include <assert.h>
15728 /* Override any gcc2 internal prototype to avoid an error. */
15729 /* We use char because int might match the return type of a gcc2
15730 builtin and then its argument prototype would still apply. */
15735 /* The GNU C library defines this for functions which it implements
15736 to always fail with ENOSYS. Some functions are actually named
15737 something starting with __ and the normal name is an alias. */
15738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15746 if { (eval echo configure:15747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15748 eval "ac_cv_func_
$ac_func=yes"
15750 echo "configure
: failed program was
:" >&5
15751 cat conftest.$ac_ext >&5
15753 eval "ac_cv_func_
$ac_func=no
"
15758 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15759 echo "$ac_t""yes" 1>&6
15760 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15761 cat >> confdefs.h <<EOF
15762 #define $ac_tr_func 1
15766 echo "$ac_t""no
" 1>&6
15772 echo $ac_n "checking
for _sincosf declaration
""...
$ac_c" 1>&6
15773 echo "configure
:15774: checking
for _sincosf declaration
" >&5
15774 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
15775 if eval "test \"`echo '$''{'glibcxx_cv_func__sincosf_use'+set}'`\" = set"; then
15776 echo $ac_n "(cached
) $ac_c" 1>&6
15781 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15782 ac_cpp='$CXXCPP $CPPFLAGS'
15783 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15784 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15785 cross_compiling=$ac_cv_prog_cxx_cross
15787 cat > conftest.$ac_ext <<EOF
15788 #line 15789 "configure
"
15789 #include "confdefs.h
"
15795 if { (eval echo configure:15796: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15797 glibcxx_cv_func__sincosf_use=yes
15799 echo "configure
: failed program was
:" >&5
15800 cat conftest.$ac_ext >&5
15802 glibcxx_cv_func__sincosf_use=no
15806 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15807 ac_cpp='$CPP $CPPFLAGS'
15808 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15809 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15810 cross_compiling=$ac_cv_prog_cc_cross
15816 echo "$ac_t""$glibcxx_cv_func__sincosf_use" 1>&6
15818 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
15819 for ac_func in _sincosf
15821 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15822 echo "configure
:15823: checking
for $ac_func" >&5
15823 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15824 echo $ac_n "(cached
) $ac_c" 1>&6
15826 cat > conftest.$ac_ext <<EOF
15827 #line 15828 "configure
"
15828 #include "confdefs.h
"
15829 /* System header to define __stub macros and hopefully few prototypes,
15830 which can conflict with char $ac_func(); below. */
15831 #include <assert.h>
15832 /* Override any gcc2 internal prototype to avoid an error. */
15833 /* We use char because int might match the return type of a gcc2
15834 builtin and then its argument prototype would still apply. */
15839 /* The GNU C library defines this for functions which it implements
15840 to always fail with ENOSYS. Some functions are actually named
15841 something starting with __ and the normal name is an alias. */
15842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15850 if { (eval echo configure:15851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15852 eval "ac_cv_func_
$ac_func=yes"
15854 echo "configure
: failed program was
:" >&5
15855 cat conftest.$ac_ext >&5
15857 eval "ac_cv_func_
$ac_func=no
"
15862 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15863 echo "$ac_t""yes" 1>&6
15864 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15865 cat >> confdefs.h <<EOF
15866 #define $ac_tr_func 1
15870 echo "$ac_t""no
" 1>&6
15879 echo $ac_n "checking
for finitef declaration
""...
$ac_c" 1>&6
15880 echo "configure
:15881: checking
for finitef declaration
" >&5
15881 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
15882 if eval "test \"`echo '$''{'glibcxx_cv_func_finitef_use'+set}'`\" = set"; then
15883 echo $ac_n "(cached
) $ac_c" 1>&6
15888 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15889 ac_cpp='$CXXCPP $CPPFLAGS'
15890 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15891 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15892 cross_compiling=$ac_cv_prog_cxx_cross
15894 cat > conftest.$ac_ext <<EOF
15895 #line 15896 "configure
"
15896 #include "confdefs.h
"
15898 #ifdef HAVE_IEEEFP_H
15899 #include <ieeefp.h>
15906 if { (eval echo configure:15907: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15908 glibcxx_cv_func_finitef_use=yes
15910 echo "configure
: failed program was
:" >&5
15911 cat conftest.$ac_ext >&5
15913 glibcxx_cv_func_finitef_use=no
15917 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15918 ac_cpp='$CPP $CPPFLAGS'
15919 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15920 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15921 cross_compiling=$ac_cv_prog_cc_cross
15927 echo "$ac_t""$glibcxx_cv_func_finitef_use" 1>&6
15929 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
15930 for ac_func in finitef
15932 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15933 echo "configure
:15934: checking
for $ac_func" >&5
15934 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15935 echo $ac_n "(cached
) $ac_c" 1>&6
15937 cat > conftest.$ac_ext <<EOF
15938 #line 15939 "configure
"
15939 #include "confdefs.h
"
15940 /* System header to define __stub macros and hopefully few prototypes,
15941 which can conflict with char $ac_func(); below. */
15942 #include <assert.h>
15943 /* Override any gcc2 internal prototype to avoid an error. */
15944 /* We use char because int might match the return type of a gcc2
15945 builtin and then its argument prototype would still apply. */
15950 /* The GNU C library defines this for functions which it implements
15951 to always fail with ENOSYS. Some functions are actually named
15952 something starting with __ and the normal name is an alias. */
15953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15961 if { (eval echo configure:15962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15963 eval "ac_cv_func_
$ac_func=yes"
15965 echo "configure
: failed program was
:" >&5
15966 cat conftest.$ac_ext >&5
15968 eval "ac_cv_func_
$ac_func=no
"
15973 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15974 echo "$ac_t""yes" 1>&6
15975 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15976 cat >> confdefs.h <<EOF
15977 #define $ac_tr_func 1
15981 echo "$ac_t""no
" 1>&6
15987 echo $ac_n "checking
for _finitef declaration
""...
$ac_c" 1>&6
15988 echo "configure
:15989: checking
for _finitef declaration
" >&5
15989 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
15990 if eval "test \"`echo '$''{'glibcxx_cv_func__finitef_use'+set}'`\" = set"; then
15991 echo $ac_n "(cached
) $ac_c" 1>&6
15996 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15997 ac_cpp='$CXXCPP $CPPFLAGS'
15998 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15999 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16000 cross_compiling=$ac_cv_prog_cxx_cross
16002 cat > conftest.$ac_ext <<EOF
16003 #line 16004 "configure
"
16004 #include "confdefs.h
"
16006 #ifdef HAVE_IEEEFP_H
16007 #include <ieeefp.h>
16014 if { (eval echo configure:16015: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16016 glibcxx_cv_func__finitef_use=yes
16018 echo "configure
: failed program was
:" >&5
16019 cat conftest.$ac_ext >&5
16021 glibcxx_cv_func__finitef_use=no
16025 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16026 ac_cpp='$CPP $CPPFLAGS'
16027 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16028 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16029 cross_compiling=$ac_cv_prog_cc_cross
16035 echo "$ac_t""$glibcxx_cv_func__finitef_use" 1>&6
16037 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
16038 for ac_func in _finitef
16040 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16041 echo "configure
:16042: checking
for $ac_func" >&5
16042 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16043 echo $ac_n "(cached
) $ac_c" 1>&6
16045 cat > conftest.$ac_ext <<EOF
16046 #line 16047 "configure
"
16047 #include "confdefs.h
"
16048 /* System header to define __stub macros and hopefully few prototypes,
16049 which can conflict with char $ac_func(); below. */
16050 #include <assert.h>
16051 /* Override any gcc2 internal prototype to avoid an error. */
16052 /* We use char because int might match the return type of a gcc2
16053 builtin and then its argument prototype would still apply. */
16058 /* The GNU C library defines this for functions which it implements
16059 to always fail with ENOSYS. Some functions are actually named
16060 something starting with __ and the normal name is an alias. */
16061 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16069 if { (eval echo configure:16070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16071 eval "ac_cv_func_
$ac_func=yes"
16073 echo "configure
: failed program was
:" >&5
16074 cat conftest.$ac_ext >&5
16076 eval "ac_cv_func_
$ac_func=no
"
16081 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16082 echo "$ac_t""yes" 1>&6
16083 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16084 cat >> confdefs.h <<EOF
16085 #define $ac_tr_func 1
16089 echo "$ac_t""no
" 1>&6
16098 echo $ac_n "checking
for long double trig functions
""...
$ac_c" 1>&6
16099 echo "configure
:16100: checking
for long double trig functions
" >&5
16100 if eval "test \"`echo '$''{'glibcxx_cv_func_long_double_trig_use'+set}'`\" = set"; then
16101 echo $ac_n "(cached
) $ac_c" 1>&6
16106 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16107 ac_cpp='$CXXCPP $CPPFLAGS'
16108 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16109 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16110 cross_compiling=$ac_cv_prog_cxx_cross
16112 cat > conftest.$ac_ext <<EOF
16113 #line 16114 "configure
"
16114 #include "confdefs.h
"
16117 `for x in acosl asinl atanl \
16119 coshl sinhl tanhl; do echo "$x (0);"; done`
16122 if { (eval echo configure:16123: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16124 glibcxx_cv_func_long_double_trig_use=yes
16126 echo "configure
: failed program was
:" >&5
16127 cat conftest.$ac_ext >&5
16129 glibcxx_cv_func_long_double_trig_use=no
16133 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16134 ac_cpp='$CPP $CPPFLAGS'
16135 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16136 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16137 cross_compiling=$ac_cv_prog_cc_cross
16141 echo "$ac_t""$glibcxx_cv_func_long_double_trig_use" 1>&6
16142 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
16143 for ac_func in acosl asinl atanl \
16147 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16148 echo "configure
:16149: checking
for $ac_func" >&5
16149 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16150 echo $ac_n "(cached
) $ac_c" 1>&6
16152 cat > conftest.$ac_ext <<EOF
16153 #line 16154 "configure
"
16154 #include "confdefs.h
"
16155 /* System header to define __stub macros and hopefully few prototypes,
16156 which can conflict with char $ac_func(); below. */
16157 #include <assert.h>
16158 /* Override any gcc2 internal prototype to avoid an error. */
16159 /* We use char because int might match the return type of a gcc2
16160 builtin and then its argument prototype would still apply. */
16165 /* The GNU C library defines this for functions which it implements
16166 to always fail with ENOSYS. Some functions are actually named
16167 something starting with __ and the normal name is an alias. */
16168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16176 if { (eval echo configure:16177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16178 eval "ac_cv_func_
$ac_func=yes"
16180 echo "configure
: failed program was
:" >&5
16181 cat conftest.$ac_ext >&5
16183 eval "ac_cv_func_
$ac_func=no
"
16188 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16189 echo "$ac_t""yes" 1>&6
16190 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16191 cat >> confdefs.h <<EOF
16192 #define $ac_tr_func 1
16196 echo "$ac_t""no
" 1>&6
16203 echo $ac_n "checking
for long double round functions
""...
$ac_c" 1>&6
16204 echo "configure
:16205: checking
for long double round functions
" >&5
16205 if eval "test \"`echo '$''{'glibcxx_cv_func_long_double_round_use'+set}'`\" = set"; then
16206 echo $ac_n "(cached
) $ac_c" 1>&6
16211 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16212 ac_cpp='$CXXCPP $CPPFLAGS'
16213 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16214 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16215 cross_compiling=$ac_cv_prog_cxx_cross
16217 cat > conftest.$ac_ext <<EOF
16218 #line 16219 "configure
"
16219 #include "confdefs.h
"
16222 `for x in ceill floorl; do echo "$x (0);"; done`
16225 if { (eval echo configure:16226: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16227 glibcxx_cv_func_long_double_round_use=yes
16229 echo "configure
: failed program was
:" >&5
16230 cat conftest.$ac_ext >&5
16232 glibcxx_cv_func_long_double_round_use=no
16236 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16237 ac_cpp='$CPP $CPPFLAGS'
16238 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16239 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16240 cross_compiling=$ac_cv_prog_cc_cross
16244 echo "$ac_t""$glibcxx_cv_func_long_double_round_use" 1>&6
16245 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
16246 for ac_func in ceill floorl
16248 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16249 echo "configure
:16250: checking
for $ac_func" >&5
16250 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16251 echo $ac_n "(cached
) $ac_c" 1>&6
16253 cat > conftest.$ac_ext <<EOF
16254 #line 16255 "configure
"
16255 #include "confdefs.h
"
16256 /* System header to define __stub macros and hopefully few prototypes,
16257 which can conflict with char $ac_func(); below. */
16258 #include <assert.h>
16259 /* Override any gcc2 internal prototype to avoid an error. */
16260 /* We use char because int might match the return type of a gcc2
16261 builtin and then its argument prototype would still apply. */
16266 /* The GNU C library defines this for functions which it implements
16267 to always fail with ENOSYS. Some functions are actually named
16268 something starting with __ and the normal name is an alias. */
16269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16277 if { (eval echo configure:16278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16279 eval "ac_cv_func_
$ac_func=yes"
16281 echo "configure
: failed program was
:" >&5
16282 cat conftest.$ac_ext >&5
16284 eval "ac_cv_func_
$ac_func=no
"
16289 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16290 echo "$ac_t""yes" 1>&6
16291 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16292 cat >> confdefs.h <<EOF
16293 #define $ac_tr_func 1
16297 echo "$ac_t""no
" 1>&6
16305 echo $ac_n "checking
for isnanl declaration
""...
$ac_c" 1>&6
16306 echo "configure
:16307: checking
for isnanl declaration
" >&5
16307 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
16308 if eval "test \"`echo '$''{'glibcxx_cv_func_isnanl_use'+set}'`\" = set"; then
16309 echo $ac_n "(cached
) $ac_c" 1>&6
16314 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16315 ac_cpp='$CXXCPP $CPPFLAGS'
16316 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16317 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16318 cross_compiling=$ac_cv_prog_cxx_cross
16320 cat > conftest.$ac_ext <<EOF
16321 #line 16322 "configure
"
16322 #include "confdefs.h
"
16324 #ifdef HAVE_IEEEFP_H
16325 #include <ieeefp.h>
16332 if { (eval echo configure:16333: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16334 glibcxx_cv_func_isnanl_use=yes
16336 echo "configure
: failed program was
:" >&5
16337 cat conftest.$ac_ext >&5
16339 glibcxx_cv_func_isnanl_use=no
16343 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16344 ac_cpp='$CPP $CPPFLAGS'
16345 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16346 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16347 cross_compiling=$ac_cv_prog_cc_cross
16353 echo "$ac_t""$glibcxx_cv_func_isnanl_use" 1>&6
16355 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
16356 for ac_func in isnanl
16358 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16359 echo "configure
:16360: checking
for $ac_func" >&5
16360 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16361 echo $ac_n "(cached
) $ac_c" 1>&6
16363 cat > conftest.$ac_ext <<EOF
16364 #line 16365 "configure
"
16365 #include "confdefs.h
"
16366 /* System header to define __stub macros and hopefully few prototypes,
16367 which can conflict with char $ac_func(); below. */
16368 #include <assert.h>
16369 /* Override any gcc2 internal prototype to avoid an error. */
16370 /* We use char because int might match the return type of a gcc2
16371 builtin and then its argument prototype would still apply. */
16376 /* The GNU C library defines this for functions which it implements
16377 to always fail with ENOSYS. Some functions are actually named
16378 something starting with __ and the normal name is an alias. */
16379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16387 if { (eval echo configure:16388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16389 eval "ac_cv_func_
$ac_func=yes"
16391 echo "configure
: failed program was
:" >&5
16392 cat conftest.$ac_ext >&5
16394 eval "ac_cv_func_
$ac_func=no
"
16399 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16400 echo "$ac_t""yes" 1>&6
16401 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16402 cat >> confdefs.h <<EOF
16403 #define $ac_tr_func 1
16407 echo "$ac_t""no
" 1>&6
16413 echo $ac_n "checking
for _isnanl declaration
""...
$ac_c" 1>&6
16414 echo "configure
:16415: checking
for _isnanl declaration
" >&5
16415 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
16416 if eval "test \"`echo '$''{'glibcxx_cv_func__isnanl_use'+set}'`\" = set"; then
16417 echo $ac_n "(cached
) $ac_c" 1>&6
16422 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16423 ac_cpp='$CXXCPP $CPPFLAGS'
16424 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16425 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16426 cross_compiling=$ac_cv_prog_cxx_cross
16428 cat > conftest.$ac_ext <<EOF
16429 #line 16430 "configure
"
16430 #include "confdefs.h
"
16432 #ifdef HAVE_IEEEFP_H
16433 #include <ieeefp.h>
16440 if { (eval echo configure:16441: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16442 glibcxx_cv_func__isnanl_use=yes
16444 echo "configure
: failed program was
:" >&5
16445 cat conftest.$ac_ext >&5
16447 glibcxx_cv_func__isnanl_use=no
16451 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16452 ac_cpp='$CPP $CPPFLAGS'
16453 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16454 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16455 cross_compiling=$ac_cv_prog_cc_cross
16461 echo "$ac_t""$glibcxx_cv_func__isnanl_use" 1>&6
16463 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
16464 for ac_func in _isnanl
16466 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16467 echo "configure
:16468: checking
for $ac_func" >&5
16468 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16469 echo $ac_n "(cached
) $ac_c" 1>&6
16471 cat > conftest.$ac_ext <<EOF
16472 #line 16473 "configure
"
16473 #include "confdefs.h
"
16474 /* System header to define __stub macros and hopefully few prototypes,
16475 which can conflict with char $ac_func(); below. */
16476 #include <assert.h>
16477 /* Override any gcc2 internal prototype to avoid an error. */
16478 /* We use char because int might match the return type of a gcc2
16479 builtin and then its argument prototype would still apply. */
16484 /* The GNU C library defines this for functions which it implements
16485 to always fail with ENOSYS. Some functions are actually named
16486 something starting with __ and the normal name is an alias. */
16487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16495 if { (eval echo configure:16496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16497 eval "ac_cv_func_
$ac_func=yes"
16499 echo "configure
: failed program was
:" >&5
16500 cat conftest.$ac_ext >&5
16502 eval "ac_cv_func_
$ac_func=no
"
16507 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16508 echo "$ac_t""yes" 1>&6
16509 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16510 cat >> confdefs.h <<EOF
16511 #define $ac_tr_func 1
16515 echo "$ac_t""no
" 1>&6
16524 echo $ac_n "checking
for isinfl declaration
""...
$ac_c" 1>&6
16525 echo "configure
:16526: checking
for isinfl declaration
" >&5
16526 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
16527 if eval "test \"`echo '$''{'glibcxx_cv_func_isinfl_use'+set}'`\" = set"; then
16528 echo $ac_n "(cached
) $ac_c" 1>&6
16533 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16534 ac_cpp='$CXXCPP $CPPFLAGS'
16535 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16536 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16537 cross_compiling=$ac_cv_prog_cxx_cross
16539 cat > conftest.$ac_ext <<EOF
16540 #line 16541 "configure
"
16541 #include "confdefs.h
"
16543 #ifdef HAVE_IEEEFP_H
16544 #include <ieeefp.h>
16551 if { (eval echo configure:16552: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16553 glibcxx_cv_func_isinfl_use=yes
16555 echo "configure
: failed program was
:" >&5
16556 cat conftest.$ac_ext >&5
16558 glibcxx_cv_func_isinfl_use=no
16562 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16563 ac_cpp='$CPP $CPPFLAGS'
16564 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16565 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16566 cross_compiling=$ac_cv_prog_cc_cross
16572 echo "$ac_t""$glibcxx_cv_func_isinfl_use" 1>&6
16574 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
16575 for ac_func in isinfl
16577 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16578 echo "configure
:16579: checking
for $ac_func" >&5
16579 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16580 echo $ac_n "(cached
) $ac_c" 1>&6
16582 cat > conftest.$ac_ext <<EOF
16583 #line 16584 "configure
"
16584 #include "confdefs.h
"
16585 /* System header to define __stub macros and hopefully few prototypes,
16586 which can conflict with char $ac_func(); below. */
16587 #include <assert.h>
16588 /* Override any gcc2 internal prototype to avoid an error. */
16589 /* We use char because int might match the return type of a gcc2
16590 builtin and then its argument prototype would still apply. */
16595 /* The GNU C library defines this for functions which it implements
16596 to always fail with ENOSYS. Some functions are actually named
16597 something starting with __ and the normal name is an alias. */
16598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16606 if { (eval echo configure:16607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16608 eval "ac_cv_func_
$ac_func=yes"
16610 echo "configure
: failed program was
:" >&5
16611 cat conftest.$ac_ext >&5
16613 eval "ac_cv_func_
$ac_func=no
"
16618 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16619 echo "$ac_t""yes" 1>&6
16620 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16621 cat >> confdefs.h <<EOF
16622 #define $ac_tr_func 1
16626 echo "$ac_t""no
" 1>&6
16632 echo $ac_n "checking
for _isinfl declaration
""...
$ac_c" 1>&6
16633 echo "configure
:16634: checking
for _isinfl declaration
" >&5
16634 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
16635 if eval "test \"`echo '$''{'glibcxx_cv_func__isinfl_use'+set}'`\" = set"; then
16636 echo $ac_n "(cached
) $ac_c" 1>&6
16641 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16642 ac_cpp='$CXXCPP $CPPFLAGS'
16643 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16644 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16645 cross_compiling=$ac_cv_prog_cxx_cross
16647 cat > conftest.$ac_ext <<EOF
16648 #line 16649 "configure
"
16649 #include "confdefs.h
"
16651 #ifdef HAVE_IEEEFP_H
16652 #include <ieeefp.h>
16659 if { (eval echo configure:16660: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16661 glibcxx_cv_func__isinfl_use=yes
16663 echo "configure
: failed program was
:" >&5
16664 cat conftest.$ac_ext >&5
16666 glibcxx_cv_func__isinfl_use=no
16670 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16671 ac_cpp='$CPP $CPPFLAGS'
16672 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16673 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16674 cross_compiling=$ac_cv_prog_cc_cross
16680 echo "$ac_t""$glibcxx_cv_func__isinfl_use" 1>&6
16682 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
16683 for ac_func in _isinfl
16685 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16686 echo "configure
:16687: checking
for $ac_func" >&5
16687 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16688 echo $ac_n "(cached
) $ac_c" 1>&6
16690 cat > conftest.$ac_ext <<EOF
16691 #line 16692 "configure
"
16692 #include "confdefs.h
"
16693 /* System header to define __stub macros and hopefully few prototypes,
16694 which can conflict with char $ac_func(); below. */
16695 #include <assert.h>
16696 /* Override any gcc2 internal prototype to avoid an error. */
16697 /* We use char because int might match the return type of a gcc2
16698 builtin and then its argument prototype would still apply. */
16703 /* The GNU C library defines this for functions which it implements
16704 to always fail with ENOSYS. Some functions are actually named
16705 something starting with __ and the normal name is an alias. */
16706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16714 if { (eval echo configure:16715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16716 eval "ac_cv_func_
$ac_func=yes"
16718 echo "configure
: failed program was
:" >&5
16719 cat conftest.$ac_ext >&5
16721 eval "ac_cv_func_
$ac_func=no
"
16726 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16727 echo "$ac_t""yes" 1>&6
16728 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16729 cat >> confdefs.h <<EOF
16730 #define $ac_tr_func 1
16734 echo "$ac_t""no
" 1>&6
16743 echo $ac_n "checking
for copysignl declaration
""...
$ac_c" 1>&6
16744 echo "configure
:16745: checking
for copysignl declaration
" >&5
16745 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
16746 if eval "test \"`echo '$''{'glibcxx_cv_func_copysignl_use'+set}'`\" = set"; then
16747 echo $ac_n "(cached
) $ac_c" 1>&6
16752 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16753 ac_cpp='$CXXCPP $CPPFLAGS'
16754 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16755 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16756 cross_compiling=$ac_cv_prog_cxx_cross
16758 cat > conftest.$ac_ext <<EOF
16759 #line 16760 "configure
"
16760 #include "confdefs.h
"
16766 if { (eval echo configure:16767: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16768 glibcxx_cv_func_copysignl_use=yes
16770 echo "configure
: failed program was
:" >&5
16771 cat conftest.$ac_ext >&5
16773 glibcxx_cv_func_copysignl_use=no
16777 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16778 ac_cpp='$CPP $CPPFLAGS'
16779 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16780 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16781 cross_compiling=$ac_cv_prog_cc_cross
16787 echo "$ac_t""$glibcxx_cv_func_copysignl_use" 1>&6
16789 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
16790 for ac_func in copysignl
16792 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16793 echo "configure
:16794: checking
for $ac_func" >&5
16794 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16795 echo $ac_n "(cached
) $ac_c" 1>&6
16797 cat > conftest.$ac_ext <<EOF
16798 #line 16799 "configure
"
16799 #include "confdefs.h
"
16800 /* System header to define __stub macros and hopefully few prototypes,
16801 which can conflict with char $ac_func(); below. */
16802 #include <assert.h>
16803 /* Override any gcc2 internal prototype to avoid an error. */
16804 /* We use char because int might match the return type of a gcc2
16805 builtin and then its argument prototype would still apply. */
16810 /* The GNU C library defines this for functions which it implements
16811 to always fail with ENOSYS. Some functions are actually named
16812 something starting with __ and the normal name is an alias. */
16813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16821 if { (eval echo configure:16822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16823 eval "ac_cv_func_
$ac_func=yes"
16825 echo "configure
: failed program was
:" >&5
16826 cat conftest.$ac_ext >&5
16828 eval "ac_cv_func_
$ac_func=no
"
16833 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16834 echo "$ac_t""yes" 1>&6
16835 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16836 cat >> confdefs.h <<EOF
16837 #define $ac_tr_func 1
16841 echo "$ac_t""no
" 1>&6
16847 echo $ac_n "checking
for _copysignl declaration
""...
$ac_c" 1>&6
16848 echo "configure
:16849: checking
for _copysignl declaration
" >&5
16849 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
16850 if eval "test \"`echo '$''{'glibcxx_cv_func__copysignl_use'+set}'`\" = set"; then
16851 echo $ac_n "(cached
) $ac_c" 1>&6
16856 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16857 ac_cpp='$CXXCPP $CPPFLAGS'
16858 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16859 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16860 cross_compiling=$ac_cv_prog_cxx_cross
16862 cat > conftest.$ac_ext <<EOF
16863 #line 16864 "configure
"
16864 #include "confdefs.h
"
16870 if { (eval echo configure:16871: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16872 glibcxx_cv_func__copysignl_use=yes
16874 echo "configure
: failed program was
:" >&5
16875 cat conftest.$ac_ext >&5
16877 glibcxx_cv_func__copysignl_use=no
16881 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16882 ac_cpp='$CPP $CPPFLAGS'
16883 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16884 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16885 cross_compiling=$ac_cv_prog_cc_cross
16891 echo "$ac_t""$glibcxx_cv_func__copysignl_use" 1>&6
16893 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
16894 for ac_func in _copysignl
16896 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16897 echo "configure
:16898: checking
for $ac_func" >&5
16898 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16899 echo $ac_n "(cached
) $ac_c" 1>&6
16901 cat > conftest.$ac_ext <<EOF
16902 #line 16903 "configure
"
16903 #include "confdefs.h
"
16904 /* System header to define __stub macros and hopefully few prototypes,
16905 which can conflict with char $ac_func(); below. */
16906 #include <assert.h>
16907 /* Override any gcc2 internal prototype to avoid an error. */
16908 /* We use char because int might match the return type of a gcc2
16909 builtin and then its argument prototype would still apply. */
16914 /* The GNU C library defines this for functions which it implements
16915 to always fail with ENOSYS. Some functions are actually named
16916 something starting with __ and the normal name is an alias. */
16917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16925 if { (eval echo configure:16926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16927 eval "ac_cv_func_
$ac_func=yes"
16929 echo "configure
: failed program was
:" >&5
16930 cat conftest.$ac_ext >&5
16932 eval "ac_cv_func_
$ac_func=no
"
16937 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16938 echo "$ac_t""yes" 1>&6
16939 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16940 cat >> confdefs.h <<EOF
16941 #define $ac_tr_func 1
16945 echo "$ac_t""no
" 1>&6
16954 echo $ac_n "checking
for atan2l declaration
""...
$ac_c" 1>&6
16955 echo "configure
:16956: checking
for atan2l declaration
" >&5
16956 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
16957 if eval "test \"`echo '$''{'glibcxx_cv_func_atan2l_use'+set}'`\" = set"; then
16958 echo $ac_n "(cached
) $ac_c" 1>&6
16963 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16964 ac_cpp='$CXXCPP $CPPFLAGS'
16965 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16966 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16967 cross_compiling=$ac_cv_prog_cxx_cross
16969 cat > conftest.$ac_ext <<EOF
16970 #line 16971 "configure
"
16971 #include "confdefs.h
"
16977 if { (eval echo configure:16978: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16979 glibcxx_cv_func_atan2l_use=yes
16981 echo "configure
: failed program was
:" >&5
16982 cat conftest.$ac_ext >&5
16984 glibcxx_cv_func_atan2l_use=no
16988 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16989 ac_cpp='$CPP $CPPFLAGS'
16990 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16991 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16992 cross_compiling=$ac_cv_prog_cc_cross
16998 echo "$ac_t""$glibcxx_cv_func_atan2l_use" 1>&6
17000 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
17001 for ac_func in atan2l
17003 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17004 echo "configure
:17005: checking
for $ac_func" >&5
17005 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17006 echo $ac_n "(cached
) $ac_c" 1>&6
17008 cat > conftest.$ac_ext <<EOF
17009 #line 17010 "configure
"
17010 #include "confdefs.h
"
17011 /* System header to define __stub macros and hopefully few prototypes,
17012 which can conflict with char $ac_func(); below. */
17013 #include <assert.h>
17014 /* Override any gcc2 internal prototype to avoid an error. */
17015 /* We use char because int might match the return type of a gcc2
17016 builtin and then its argument prototype would still apply. */
17021 /* The GNU C library defines this for functions which it implements
17022 to always fail with ENOSYS. Some functions are actually named
17023 something starting with __ and the normal name is an alias. */
17024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17032 if { (eval echo configure:17033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17034 eval "ac_cv_func_
$ac_func=yes"
17036 echo "configure
: failed program was
:" >&5
17037 cat conftest.$ac_ext >&5
17039 eval "ac_cv_func_
$ac_func=no
"
17044 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17045 echo "$ac_t""yes" 1>&6
17046 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17047 cat >> confdefs.h <<EOF
17048 #define $ac_tr_func 1
17052 echo "$ac_t""no
" 1>&6
17058 echo $ac_n "checking
for _atan2l declaration
""...
$ac_c" 1>&6
17059 echo "configure
:17060: checking
for _atan2l declaration
" >&5
17060 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
17061 if eval "test \"`echo '$''{'glibcxx_cv_func__atan2l_use'+set}'`\" = set"; then
17062 echo $ac_n "(cached
) $ac_c" 1>&6
17067 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17068 ac_cpp='$CXXCPP $CPPFLAGS'
17069 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17070 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17071 cross_compiling=$ac_cv_prog_cxx_cross
17073 cat > conftest.$ac_ext <<EOF
17074 #line 17075 "configure
"
17075 #include "confdefs.h
"
17081 if { (eval echo configure:17082: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17083 glibcxx_cv_func__atan2l_use=yes
17085 echo "configure
: failed program was
:" >&5
17086 cat conftest.$ac_ext >&5
17088 glibcxx_cv_func__atan2l_use=no
17092 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17093 ac_cpp='$CPP $CPPFLAGS'
17094 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17095 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17096 cross_compiling=$ac_cv_prog_cc_cross
17102 echo "$ac_t""$glibcxx_cv_func__atan2l_use" 1>&6
17104 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
17105 for ac_func in _atan2l
17107 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17108 echo "configure
:17109: checking
for $ac_func" >&5
17109 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17110 echo $ac_n "(cached
) $ac_c" 1>&6
17112 cat > conftest.$ac_ext <<EOF
17113 #line 17114 "configure
"
17114 #include "confdefs.h
"
17115 /* System header to define __stub macros and hopefully few prototypes,
17116 which can conflict with char $ac_func(); below. */
17117 #include <assert.h>
17118 /* Override any gcc2 internal prototype to avoid an error. */
17119 /* We use char because int might match the return type of a gcc2
17120 builtin and then its argument prototype would still apply. */
17125 /* The GNU C library defines this for functions which it implements
17126 to always fail with ENOSYS. Some functions are actually named
17127 something starting with __ and the normal name is an alias. */
17128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17136 if { (eval echo configure:17137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17138 eval "ac_cv_func_
$ac_func=yes"
17140 echo "configure
: failed program was
:" >&5
17141 cat conftest.$ac_ext >&5
17143 eval "ac_cv_func_
$ac_func=no
"
17148 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17149 echo "$ac_t""yes" 1>&6
17150 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17151 cat >> confdefs.h <<EOF
17152 #define $ac_tr_func 1
17156 echo "$ac_t""no
" 1>&6
17165 echo $ac_n "checking
for expl declaration
""...
$ac_c" 1>&6
17166 echo "configure
:17167: checking
for expl declaration
" >&5
17167 if test x${glibcxx_cv_func_expl_use+set} != xset; then
17168 if eval "test \"`echo '$''{'glibcxx_cv_func_expl_use'+set}'`\" = set"; then
17169 echo $ac_n "(cached
) $ac_c" 1>&6
17174 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17175 ac_cpp='$CXXCPP $CPPFLAGS'
17176 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17177 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17178 cross_compiling=$ac_cv_prog_cxx_cross
17180 cat > conftest.$ac_ext <<EOF
17181 #line 17182 "configure
"
17182 #include "confdefs.h
"
17184 #ifdef HAVE_IEEEFP_H
17185 #include <ieeefp.h>
17192 if { (eval echo configure:17193: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17194 glibcxx_cv_func_expl_use=yes
17196 echo "configure
: failed program was
:" >&5
17197 cat conftest.$ac_ext >&5
17199 glibcxx_cv_func_expl_use=no
17203 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17204 ac_cpp='$CPP $CPPFLAGS'
17205 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17206 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17207 cross_compiling=$ac_cv_prog_cc_cross
17213 echo "$ac_t""$glibcxx_cv_func_expl_use" 1>&6
17215 if test x$glibcxx_cv_func_expl_use = x"yes"; then
17216 for ac_func in expl
17218 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17219 echo "configure
:17220: checking
for $ac_func" >&5
17220 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17221 echo $ac_n "(cached
) $ac_c" 1>&6
17223 cat > conftest.$ac_ext <<EOF
17224 #line 17225 "configure
"
17225 #include "confdefs.h
"
17226 /* System header to define __stub macros and hopefully few prototypes,
17227 which can conflict with char $ac_func(); below. */
17228 #include <assert.h>
17229 /* Override any gcc2 internal prototype to avoid an error. */
17230 /* We use char because int might match the return type of a gcc2
17231 builtin and then its argument prototype would still apply. */
17236 /* The GNU C library defines this for functions which it implements
17237 to always fail with ENOSYS. Some functions are actually named
17238 something starting with __ and the normal name is an alias. */
17239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17247 if { (eval echo configure:17248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17249 eval "ac_cv_func_
$ac_func=yes"
17251 echo "configure
: failed program was
:" >&5
17252 cat conftest.$ac_ext >&5
17254 eval "ac_cv_func_
$ac_func=no
"
17259 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17260 echo "$ac_t""yes" 1>&6
17261 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17262 cat >> confdefs.h <<EOF
17263 #define $ac_tr_func 1
17267 echo "$ac_t""no
" 1>&6
17273 echo $ac_n "checking
for _expl declaration
""...
$ac_c" 1>&6
17274 echo "configure
:17275: checking
for _expl declaration
" >&5
17275 if test x${glibcxx_cv_func__expl_use+set} != xset; then
17276 if eval "test \"`echo '$''{'glibcxx_cv_func__expl_use'+set}'`\" = set"; then
17277 echo $ac_n "(cached
) $ac_c" 1>&6
17282 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17283 ac_cpp='$CXXCPP $CPPFLAGS'
17284 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17285 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17286 cross_compiling=$ac_cv_prog_cxx_cross
17288 cat > conftest.$ac_ext <<EOF
17289 #line 17290 "configure
"
17290 #include "confdefs.h
"
17292 #ifdef HAVE_IEEEFP_H
17293 #include <ieeefp.h>
17300 if { (eval echo configure:17301: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17302 glibcxx_cv_func__expl_use=yes
17304 echo "configure
: failed program was
:" >&5
17305 cat conftest.$ac_ext >&5
17307 glibcxx_cv_func__expl_use=no
17311 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17312 ac_cpp='$CPP $CPPFLAGS'
17313 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17314 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17315 cross_compiling=$ac_cv_prog_cc_cross
17321 echo "$ac_t""$glibcxx_cv_func__expl_use" 1>&6
17323 if test x$glibcxx_cv_func__expl_use = x"yes"; then
17324 for ac_func in _expl
17326 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17327 echo "configure
:17328: checking
for $ac_func" >&5
17328 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17329 echo $ac_n "(cached
) $ac_c" 1>&6
17331 cat > conftest.$ac_ext <<EOF
17332 #line 17333 "configure
"
17333 #include "confdefs.h
"
17334 /* System header to define __stub macros and hopefully few prototypes,
17335 which can conflict with char $ac_func(); below. */
17336 #include <assert.h>
17337 /* Override any gcc2 internal prototype to avoid an error. */
17338 /* We use char because int might match the return type of a gcc2
17339 builtin and then its argument prototype would still apply. */
17344 /* The GNU C library defines this for functions which it implements
17345 to always fail with ENOSYS. Some functions are actually named
17346 something starting with __ and the normal name is an alias. */
17347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17355 if { (eval echo configure:17356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17357 eval "ac_cv_func_
$ac_func=yes"
17359 echo "configure
: failed program was
:" >&5
17360 cat conftest.$ac_ext >&5
17362 eval "ac_cv_func_
$ac_func=no
"
17367 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17368 echo "$ac_t""yes" 1>&6
17369 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17370 cat >> confdefs.h <<EOF
17371 #define $ac_tr_func 1
17375 echo "$ac_t""no
" 1>&6
17384 echo $ac_n "checking
for fabsl declaration
""...
$ac_c" 1>&6
17385 echo "configure
:17386: checking
for fabsl declaration
" >&5
17386 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
17387 if eval "test \"`echo '$''{'glibcxx_cv_func_fabsl_use'+set}'`\" = set"; then
17388 echo $ac_n "(cached
) $ac_c" 1>&6
17393 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17394 ac_cpp='$CXXCPP $CPPFLAGS'
17395 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17396 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17397 cross_compiling=$ac_cv_prog_cxx_cross
17399 cat > conftest.$ac_ext <<EOF
17400 #line 17401 "configure
"
17401 #include "confdefs.h
"
17403 #ifdef HAVE_IEEEFP_H
17404 #include <ieeefp.h>
17411 if { (eval echo configure:17412: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17413 glibcxx_cv_func_fabsl_use=yes
17415 echo "configure
: failed program was
:" >&5
17416 cat conftest.$ac_ext >&5
17418 glibcxx_cv_func_fabsl_use=no
17422 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17423 ac_cpp='$CPP $CPPFLAGS'
17424 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17425 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17426 cross_compiling=$ac_cv_prog_cc_cross
17432 echo "$ac_t""$glibcxx_cv_func_fabsl_use" 1>&6
17434 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
17435 for ac_func in fabsl
17437 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17438 echo "configure
:17439: checking
for $ac_func" >&5
17439 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17440 echo $ac_n "(cached
) $ac_c" 1>&6
17442 cat > conftest.$ac_ext <<EOF
17443 #line 17444 "configure
"
17444 #include "confdefs.h
"
17445 /* System header to define __stub macros and hopefully few prototypes,
17446 which can conflict with char $ac_func(); below. */
17447 #include <assert.h>
17448 /* Override any gcc2 internal prototype to avoid an error. */
17449 /* We use char because int might match the return type of a gcc2
17450 builtin and then its argument prototype would still apply. */
17455 /* The GNU C library defines this for functions which it implements
17456 to always fail with ENOSYS. Some functions are actually named
17457 something starting with __ and the normal name is an alias. */
17458 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17466 if { (eval echo configure:17467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17468 eval "ac_cv_func_
$ac_func=yes"
17470 echo "configure
: failed program was
:" >&5
17471 cat conftest.$ac_ext >&5
17473 eval "ac_cv_func_
$ac_func=no
"
17478 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17479 echo "$ac_t""yes" 1>&6
17480 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17481 cat >> confdefs.h <<EOF
17482 #define $ac_tr_func 1
17486 echo "$ac_t""no
" 1>&6
17492 echo $ac_n "checking
for _fabsl declaration
""...
$ac_c" 1>&6
17493 echo "configure
:17494: checking
for _fabsl declaration
" >&5
17494 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
17495 if eval "test \"`echo '$''{'glibcxx_cv_func__fabsl_use'+set}'`\" = set"; then
17496 echo $ac_n "(cached
) $ac_c" 1>&6
17501 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17502 ac_cpp='$CXXCPP $CPPFLAGS'
17503 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17504 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17505 cross_compiling=$ac_cv_prog_cxx_cross
17507 cat > conftest.$ac_ext <<EOF
17508 #line 17509 "configure
"
17509 #include "confdefs.h
"
17511 #ifdef HAVE_IEEEFP_H
17512 #include <ieeefp.h>
17519 if { (eval echo configure:17520: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17521 glibcxx_cv_func__fabsl_use=yes
17523 echo "configure
: failed program was
:" >&5
17524 cat conftest.$ac_ext >&5
17526 glibcxx_cv_func__fabsl_use=no
17530 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17531 ac_cpp='$CPP $CPPFLAGS'
17532 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17533 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17534 cross_compiling=$ac_cv_prog_cc_cross
17540 echo "$ac_t""$glibcxx_cv_func__fabsl_use" 1>&6
17542 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
17543 for ac_func in _fabsl
17545 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17546 echo "configure
:17547: checking
for $ac_func" >&5
17547 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17548 echo $ac_n "(cached
) $ac_c" 1>&6
17550 cat > conftest.$ac_ext <<EOF
17551 #line 17552 "configure
"
17552 #include "confdefs.h
"
17553 /* System header to define __stub macros and hopefully few prototypes,
17554 which can conflict with char $ac_func(); below. */
17555 #include <assert.h>
17556 /* Override any gcc2 internal prototype to avoid an error. */
17557 /* We use char because int might match the return type of a gcc2
17558 builtin and then its argument prototype would still apply. */
17563 /* The GNU C library defines this for functions which it implements
17564 to always fail with ENOSYS. Some functions are actually named
17565 something starting with __ and the normal name is an alias. */
17566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17574 if { (eval echo configure:17575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17576 eval "ac_cv_func_
$ac_func=yes"
17578 echo "configure
: failed program was
:" >&5
17579 cat conftest.$ac_ext >&5
17581 eval "ac_cv_func_
$ac_func=no
"
17586 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17587 echo "$ac_t""yes" 1>&6
17588 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17589 cat >> confdefs.h <<EOF
17590 #define $ac_tr_func 1
17594 echo "$ac_t""no
" 1>&6
17603 echo $ac_n "checking
for fmodl declaration
""...
$ac_c" 1>&6
17604 echo "configure
:17605: checking
for fmodl declaration
" >&5
17605 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
17606 if eval "test \"`echo '$''{'glibcxx_cv_func_fmodl_use'+set}'`\" = set"; then
17607 echo $ac_n "(cached
) $ac_c" 1>&6
17612 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17613 ac_cpp='$CXXCPP $CPPFLAGS'
17614 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17615 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17616 cross_compiling=$ac_cv_prog_cxx_cross
17618 cat > conftest.$ac_ext <<EOF
17619 #line 17620 "configure
"
17620 #include "confdefs.h
"
17626 if { (eval echo configure:17627: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17628 glibcxx_cv_func_fmodl_use=yes
17630 echo "configure
: failed program was
:" >&5
17631 cat conftest.$ac_ext >&5
17633 glibcxx_cv_func_fmodl_use=no
17637 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17638 ac_cpp='$CPP $CPPFLAGS'
17639 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17640 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17641 cross_compiling=$ac_cv_prog_cc_cross
17647 echo "$ac_t""$glibcxx_cv_func_fmodl_use" 1>&6
17649 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
17650 for ac_func in fmodl
17652 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17653 echo "configure
:17654: checking
for $ac_func" >&5
17654 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17655 echo $ac_n "(cached
) $ac_c" 1>&6
17657 cat > conftest.$ac_ext <<EOF
17658 #line 17659 "configure
"
17659 #include "confdefs.h
"
17660 /* System header to define __stub macros and hopefully few prototypes,
17661 which can conflict with char $ac_func(); below. */
17662 #include <assert.h>
17663 /* Override any gcc2 internal prototype to avoid an error. */
17664 /* We use char because int might match the return type of a gcc2
17665 builtin and then its argument prototype would still apply. */
17670 /* The GNU C library defines this for functions which it implements
17671 to always fail with ENOSYS. Some functions are actually named
17672 something starting with __ and the normal name is an alias. */
17673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17681 if { (eval echo configure:17682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17683 eval "ac_cv_func_
$ac_func=yes"
17685 echo "configure
: failed program was
:" >&5
17686 cat conftest.$ac_ext >&5
17688 eval "ac_cv_func_
$ac_func=no
"
17693 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17694 echo "$ac_t""yes" 1>&6
17695 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17696 cat >> confdefs.h <<EOF
17697 #define $ac_tr_func 1
17701 echo "$ac_t""no
" 1>&6
17707 echo $ac_n "checking
for _fmodl declaration
""...
$ac_c" 1>&6
17708 echo "configure
:17709: checking
for _fmodl declaration
" >&5
17709 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
17710 if eval "test \"`echo '$''{'glibcxx_cv_func__fmodl_use'+set}'`\" = set"; then
17711 echo $ac_n "(cached
) $ac_c" 1>&6
17716 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17717 ac_cpp='$CXXCPP $CPPFLAGS'
17718 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17719 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17720 cross_compiling=$ac_cv_prog_cxx_cross
17722 cat > conftest.$ac_ext <<EOF
17723 #line 17724 "configure
"
17724 #include "confdefs.h
"
17730 if { (eval echo configure:17731: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17732 glibcxx_cv_func__fmodl_use=yes
17734 echo "configure
: failed program was
:" >&5
17735 cat conftest.$ac_ext >&5
17737 glibcxx_cv_func__fmodl_use=no
17741 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17742 ac_cpp='$CPP $CPPFLAGS'
17743 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17744 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17745 cross_compiling=$ac_cv_prog_cc_cross
17751 echo "$ac_t""$glibcxx_cv_func__fmodl_use" 1>&6
17753 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
17754 for ac_func in _fmodl
17756 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17757 echo "configure
:17758: checking
for $ac_func" >&5
17758 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17759 echo $ac_n "(cached
) $ac_c" 1>&6
17761 cat > conftest.$ac_ext <<EOF
17762 #line 17763 "configure
"
17763 #include "confdefs.h
"
17764 /* System header to define __stub macros and hopefully few prototypes,
17765 which can conflict with char $ac_func(); below. */
17766 #include <assert.h>
17767 /* Override any gcc2 internal prototype to avoid an error. */
17768 /* We use char because int might match the return type of a gcc2
17769 builtin and then its argument prototype would still apply. */
17774 /* The GNU C library defines this for functions which it implements
17775 to always fail with ENOSYS. Some functions are actually named
17776 something starting with __ and the normal name is an alias. */
17777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17785 if { (eval echo configure:17786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17787 eval "ac_cv_func_
$ac_func=yes"
17789 echo "configure
: failed program was
:" >&5
17790 cat conftest.$ac_ext >&5
17792 eval "ac_cv_func_
$ac_func=no
"
17797 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17798 echo "$ac_t""yes" 1>&6
17799 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17800 cat >> confdefs.h <<EOF
17801 #define $ac_tr_func 1
17805 echo "$ac_t""no
" 1>&6
17814 echo $ac_n "checking
for frexpl declaration
""...
$ac_c" 1>&6
17815 echo "configure
:17816: checking
for frexpl declaration
" >&5
17816 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
17817 if eval "test \"`echo '$''{'glibcxx_cv_func_frexpl_use'+set}'`\" = set"; then
17818 echo $ac_n "(cached
) $ac_c" 1>&6
17823 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17824 ac_cpp='$CXXCPP $CPPFLAGS'
17825 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17826 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17827 cross_compiling=$ac_cv_prog_cxx_cross
17829 cat > conftest.$ac_ext <<EOF
17830 #line 17831 "configure
"
17831 #include "confdefs.h
"
17837 if { (eval echo configure:17838: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17839 glibcxx_cv_func_frexpl_use=yes
17841 echo "configure
: failed program was
:" >&5
17842 cat conftest.$ac_ext >&5
17844 glibcxx_cv_func_frexpl_use=no
17848 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17849 ac_cpp='$CPP $CPPFLAGS'
17850 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17851 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17852 cross_compiling=$ac_cv_prog_cc_cross
17858 echo "$ac_t""$glibcxx_cv_func_frexpl_use" 1>&6
17860 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
17861 for ac_func in frexpl
17863 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17864 echo "configure
:17865: checking
for $ac_func" >&5
17865 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17866 echo $ac_n "(cached
) $ac_c" 1>&6
17868 cat > conftest.$ac_ext <<EOF
17869 #line 17870 "configure
"
17870 #include "confdefs.h
"
17871 /* System header to define __stub macros and hopefully few prototypes,
17872 which can conflict with char $ac_func(); below. */
17873 #include <assert.h>
17874 /* Override any gcc2 internal prototype to avoid an error. */
17875 /* We use char because int might match the return type of a gcc2
17876 builtin and then its argument prototype would still apply. */
17881 /* The GNU C library defines this for functions which it implements
17882 to always fail with ENOSYS. Some functions are actually named
17883 something starting with __ and the normal name is an alias. */
17884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17892 if { (eval echo configure:17893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17894 eval "ac_cv_func_
$ac_func=yes"
17896 echo "configure
: failed program was
:" >&5
17897 cat conftest.$ac_ext >&5
17899 eval "ac_cv_func_
$ac_func=no
"
17904 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17905 echo "$ac_t""yes" 1>&6
17906 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17907 cat >> confdefs.h <<EOF
17908 #define $ac_tr_func 1
17912 echo "$ac_t""no
" 1>&6
17918 echo $ac_n "checking
for _frexpl declaration
""...
$ac_c" 1>&6
17919 echo "configure
:17920: checking
for _frexpl declaration
" >&5
17920 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
17921 if eval "test \"`echo '$''{'glibcxx_cv_func__frexpl_use'+set}'`\" = set"; then
17922 echo $ac_n "(cached
) $ac_c" 1>&6
17927 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17928 ac_cpp='$CXXCPP $CPPFLAGS'
17929 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17930 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17931 cross_compiling=$ac_cv_prog_cxx_cross
17933 cat > conftest.$ac_ext <<EOF
17934 #line 17935 "configure
"
17935 #include "confdefs.h
"
17941 if { (eval echo configure:17942: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17943 glibcxx_cv_func__frexpl_use=yes
17945 echo "configure
: failed program was
:" >&5
17946 cat conftest.$ac_ext >&5
17948 glibcxx_cv_func__frexpl_use=no
17952 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17953 ac_cpp='$CPP $CPPFLAGS'
17954 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17955 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17956 cross_compiling=$ac_cv_prog_cc_cross
17962 echo "$ac_t""$glibcxx_cv_func__frexpl_use" 1>&6
17964 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
17965 for ac_func in _frexpl
17967 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17968 echo "configure
:17969: checking
for $ac_func" >&5
17969 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17970 echo $ac_n "(cached
) $ac_c" 1>&6
17972 cat > conftest.$ac_ext <<EOF
17973 #line 17974 "configure
"
17974 #include "confdefs.h
"
17975 /* System header to define __stub macros and hopefully few prototypes,
17976 which can conflict with char $ac_func(); below. */
17977 #include <assert.h>
17978 /* Override any gcc2 internal prototype to avoid an error. */
17979 /* We use char because int might match the return type of a gcc2
17980 builtin and then its argument prototype would still apply. */
17985 /* The GNU C library defines this for functions which it implements
17986 to always fail with ENOSYS. Some functions are actually named
17987 something starting with __ and the normal name is an alias. */
17988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17996 if { (eval echo configure:17997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17998 eval "ac_cv_func_
$ac_func=yes"
18000 echo "configure
: failed program was
:" >&5
18001 cat conftest.$ac_ext >&5
18003 eval "ac_cv_func_
$ac_func=no
"
18008 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18009 echo "$ac_t""yes" 1>&6
18010 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18011 cat >> confdefs.h <<EOF
18012 #define $ac_tr_func 1
18016 echo "$ac_t""no
" 1>&6
18025 echo $ac_n "checking
for hypotl declaration
""...
$ac_c" 1>&6
18026 echo "configure
:18027: checking
for hypotl declaration
" >&5
18027 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
18028 if eval "test \"`echo '$''{'glibcxx_cv_func_hypotl_use'+set}'`\" = set"; then
18029 echo $ac_n "(cached
) $ac_c" 1>&6
18034 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18035 ac_cpp='$CXXCPP $CPPFLAGS'
18036 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18037 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18038 cross_compiling=$ac_cv_prog_cxx_cross
18040 cat > conftest.$ac_ext <<EOF
18041 #line 18042 "configure
"
18042 #include "confdefs.h
"
18048 if { (eval echo configure:18049: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18050 glibcxx_cv_func_hypotl_use=yes
18052 echo "configure
: failed program was
:" >&5
18053 cat conftest.$ac_ext >&5
18055 glibcxx_cv_func_hypotl_use=no
18059 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18060 ac_cpp='$CPP $CPPFLAGS'
18061 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18062 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18063 cross_compiling=$ac_cv_prog_cc_cross
18069 echo "$ac_t""$glibcxx_cv_func_hypotl_use" 1>&6
18071 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
18072 for ac_func in hypotl
18074 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18075 echo "configure
:18076: checking
for $ac_func" >&5
18076 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18077 echo $ac_n "(cached
) $ac_c" 1>&6
18079 cat > conftest.$ac_ext <<EOF
18080 #line 18081 "configure
"
18081 #include "confdefs.h
"
18082 /* System header to define __stub macros and hopefully few prototypes,
18083 which can conflict with char $ac_func(); below. */
18084 #include <assert.h>
18085 /* Override any gcc2 internal prototype to avoid an error. */
18086 /* We use char because int might match the return type of a gcc2
18087 builtin and then its argument prototype would still apply. */
18092 /* The GNU C library defines this for functions which it implements
18093 to always fail with ENOSYS. Some functions are actually named
18094 something starting with __ and the normal name is an alias. */
18095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18103 if { (eval echo configure:18104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18105 eval "ac_cv_func_
$ac_func=yes"
18107 echo "configure
: failed program was
:" >&5
18108 cat conftest.$ac_ext >&5
18110 eval "ac_cv_func_
$ac_func=no
"
18115 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18116 echo "$ac_t""yes" 1>&6
18117 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18118 cat >> confdefs.h <<EOF
18119 #define $ac_tr_func 1
18123 echo "$ac_t""no
" 1>&6
18129 echo $ac_n "checking
for _hypotl declaration
""...
$ac_c" 1>&6
18130 echo "configure
:18131: checking
for _hypotl declaration
" >&5
18131 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
18132 if eval "test \"`echo '$''{'glibcxx_cv_func__hypotl_use'+set}'`\" = set"; then
18133 echo $ac_n "(cached
) $ac_c" 1>&6
18138 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18139 ac_cpp='$CXXCPP $CPPFLAGS'
18140 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18141 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18142 cross_compiling=$ac_cv_prog_cxx_cross
18144 cat > conftest.$ac_ext <<EOF
18145 #line 18146 "configure
"
18146 #include "confdefs.h
"
18152 if { (eval echo configure:18153: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18154 glibcxx_cv_func__hypotl_use=yes
18156 echo "configure
: failed program was
:" >&5
18157 cat conftest.$ac_ext >&5
18159 glibcxx_cv_func__hypotl_use=no
18163 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18164 ac_cpp='$CPP $CPPFLAGS'
18165 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18166 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18167 cross_compiling=$ac_cv_prog_cc_cross
18173 echo "$ac_t""$glibcxx_cv_func__hypotl_use" 1>&6
18175 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
18176 for ac_func in _hypotl
18178 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18179 echo "configure
:18180: checking
for $ac_func" >&5
18180 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18181 echo $ac_n "(cached
) $ac_c" 1>&6
18183 cat > conftest.$ac_ext <<EOF
18184 #line 18185 "configure
"
18185 #include "confdefs.h
"
18186 /* System header to define __stub macros and hopefully few prototypes,
18187 which can conflict with char $ac_func(); below. */
18188 #include <assert.h>
18189 /* Override any gcc2 internal prototype to avoid an error. */
18190 /* We use char because int might match the return type of a gcc2
18191 builtin and then its argument prototype would still apply. */
18196 /* The GNU C library defines this for functions which it implements
18197 to always fail with ENOSYS. Some functions are actually named
18198 something starting with __ and the normal name is an alias. */
18199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18207 if { (eval echo configure:18208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18209 eval "ac_cv_func_
$ac_func=yes"
18211 echo "configure
: failed program was
:" >&5
18212 cat conftest.$ac_ext >&5
18214 eval "ac_cv_func_
$ac_func=no
"
18219 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18220 echo "$ac_t""yes" 1>&6
18221 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18222 cat >> confdefs.h <<EOF
18223 #define $ac_tr_func 1
18227 echo "$ac_t""no
" 1>&6
18236 echo $ac_n "checking
for ldexpl declaration
""...
$ac_c" 1>&6
18237 echo "configure
:18238: checking
for ldexpl declaration
" >&5
18238 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
18239 if eval "test \"`echo '$''{'glibcxx_cv_func_ldexpl_use'+set}'`\" = set"; then
18240 echo $ac_n "(cached
) $ac_c" 1>&6
18245 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18246 ac_cpp='$CXXCPP $CPPFLAGS'
18247 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18248 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18249 cross_compiling=$ac_cv_prog_cxx_cross
18251 cat > conftest.$ac_ext <<EOF
18252 #line 18253 "configure
"
18253 #include "confdefs.h
"
18259 if { (eval echo configure:18260: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18261 glibcxx_cv_func_ldexpl_use=yes
18263 echo "configure
: failed program was
:" >&5
18264 cat conftest.$ac_ext >&5
18266 glibcxx_cv_func_ldexpl_use=no
18270 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18271 ac_cpp='$CPP $CPPFLAGS'
18272 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18273 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18274 cross_compiling=$ac_cv_prog_cc_cross
18280 echo "$ac_t""$glibcxx_cv_func_ldexpl_use" 1>&6
18282 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
18283 for ac_func in ldexpl
18285 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18286 echo "configure
:18287: checking
for $ac_func" >&5
18287 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18288 echo $ac_n "(cached
) $ac_c" 1>&6
18290 cat > conftest.$ac_ext <<EOF
18291 #line 18292 "configure
"
18292 #include "confdefs.h
"
18293 /* System header to define __stub macros and hopefully few prototypes,
18294 which can conflict with char $ac_func(); below. */
18295 #include <assert.h>
18296 /* Override any gcc2 internal prototype to avoid an error. */
18297 /* We use char because int might match the return type of a gcc2
18298 builtin and then its argument prototype would still apply. */
18303 /* The GNU C library defines this for functions which it implements
18304 to always fail with ENOSYS. Some functions are actually named
18305 something starting with __ and the normal name is an alias. */
18306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18314 if { (eval echo configure:18315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18316 eval "ac_cv_func_
$ac_func=yes"
18318 echo "configure
: failed program was
:" >&5
18319 cat conftest.$ac_ext >&5
18321 eval "ac_cv_func_
$ac_func=no
"
18326 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18327 echo "$ac_t""yes" 1>&6
18328 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18329 cat >> confdefs.h <<EOF
18330 #define $ac_tr_func 1
18334 echo "$ac_t""no
" 1>&6
18340 echo $ac_n "checking
for _ldexpl declaration
""...
$ac_c" 1>&6
18341 echo "configure
:18342: checking
for _ldexpl declaration
" >&5
18342 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
18343 if eval "test \"`echo '$''{'glibcxx_cv_func__ldexpl_use'+set}'`\" = set"; then
18344 echo $ac_n "(cached
) $ac_c" 1>&6
18349 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18350 ac_cpp='$CXXCPP $CPPFLAGS'
18351 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18352 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18353 cross_compiling=$ac_cv_prog_cxx_cross
18355 cat > conftest.$ac_ext <<EOF
18356 #line 18357 "configure
"
18357 #include "confdefs.h
"
18363 if { (eval echo configure:18364: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18365 glibcxx_cv_func__ldexpl_use=yes
18367 echo "configure
: failed program was
:" >&5
18368 cat conftest.$ac_ext >&5
18370 glibcxx_cv_func__ldexpl_use=no
18374 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18375 ac_cpp='$CPP $CPPFLAGS'
18376 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18377 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18378 cross_compiling=$ac_cv_prog_cc_cross
18384 echo "$ac_t""$glibcxx_cv_func__ldexpl_use" 1>&6
18386 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
18387 for ac_func in _ldexpl
18389 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18390 echo "configure
:18391: checking
for $ac_func" >&5
18391 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18392 echo $ac_n "(cached
) $ac_c" 1>&6
18394 cat > conftest.$ac_ext <<EOF
18395 #line 18396 "configure
"
18396 #include "confdefs.h
"
18397 /* System header to define __stub macros and hopefully few prototypes,
18398 which can conflict with char $ac_func(); below. */
18399 #include <assert.h>
18400 /* Override any gcc2 internal prototype to avoid an error. */
18401 /* We use char because int might match the return type of a gcc2
18402 builtin and then its argument prototype would still apply. */
18407 /* The GNU C library defines this for functions which it implements
18408 to always fail with ENOSYS. Some functions are actually named
18409 something starting with __ and the normal name is an alias. */
18410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18418 if { (eval echo configure:18419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18420 eval "ac_cv_func_
$ac_func=yes"
18422 echo "configure
: failed program was
:" >&5
18423 cat conftest.$ac_ext >&5
18425 eval "ac_cv_func_
$ac_func=no
"
18430 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18431 echo "$ac_t""yes" 1>&6
18432 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18433 cat >> confdefs.h <<EOF
18434 #define $ac_tr_func 1
18438 echo "$ac_t""no
" 1>&6
18447 echo $ac_n "checking
for logl declaration
""...
$ac_c" 1>&6
18448 echo "configure
:18449: checking
for logl declaration
" >&5
18449 if test x${glibcxx_cv_func_logl_use+set} != xset; then
18450 if eval "test \"`echo '$''{'glibcxx_cv_func_logl_use'+set}'`\" = set"; then
18451 echo $ac_n "(cached
) $ac_c" 1>&6
18456 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18457 ac_cpp='$CXXCPP $CPPFLAGS'
18458 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18459 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18460 cross_compiling=$ac_cv_prog_cxx_cross
18462 cat > conftest.$ac_ext <<EOF
18463 #line 18464 "configure
"
18464 #include "confdefs.h
"
18466 #ifdef HAVE_IEEEFP_H
18467 #include <ieeefp.h>
18474 if { (eval echo configure:18475: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18476 glibcxx_cv_func_logl_use=yes
18478 echo "configure
: failed program was
:" >&5
18479 cat conftest.$ac_ext >&5
18481 glibcxx_cv_func_logl_use=no
18485 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18486 ac_cpp='$CPP $CPPFLAGS'
18487 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18488 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18489 cross_compiling=$ac_cv_prog_cc_cross
18495 echo "$ac_t""$glibcxx_cv_func_logl_use" 1>&6
18497 if test x$glibcxx_cv_func_logl_use = x"yes"; then
18498 for ac_func in logl
18500 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18501 echo "configure
:18502: checking
for $ac_func" >&5
18502 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18503 echo $ac_n "(cached
) $ac_c" 1>&6
18505 cat > conftest.$ac_ext <<EOF
18506 #line 18507 "configure
"
18507 #include "confdefs.h
"
18508 /* System header to define __stub macros and hopefully few prototypes,
18509 which can conflict with char $ac_func(); below. */
18510 #include <assert.h>
18511 /* Override any gcc2 internal prototype to avoid an error. */
18512 /* We use char because int might match the return type of a gcc2
18513 builtin and then its argument prototype would still apply. */
18518 /* The GNU C library defines this for functions which it implements
18519 to always fail with ENOSYS. Some functions are actually named
18520 something starting with __ and the normal name is an alias. */
18521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18529 if { (eval echo configure:18530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18531 eval "ac_cv_func_
$ac_func=yes"
18533 echo "configure
: failed program was
:" >&5
18534 cat conftest.$ac_ext >&5
18536 eval "ac_cv_func_
$ac_func=no
"
18541 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18542 echo "$ac_t""yes" 1>&6
18543 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18544 cat >> confdefs.h <<EOF
18545 #define $ac_tr_func 1
18549 echo "$ac_t""no
" 1>&6
18555 echo $ac_n "checking
for _logl declaration
""...
$ac_c" 1>&6
18556 echo "configure
:18557: checking
for _logl declaration
" >&5
18557 if test x${glibcxx_cv_func__logl_use+set} != xset; then
18558 if eval "test \"`echo '$''{'glibcxx_cv_func__logl_use'+set}'`\" = set"; then
18559 echo $ac_n "(cached
) $ac_c" 1>&6
18564 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18565 ac_cpp='$CXXCPP $CPPFLAGS'
18566 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18567 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18568 cross_compiling=$ac_cv_prog_cxx_cross
18570 cat > conftest.$ac_ext <<EOF
18571 #line 18572 "configure
"
18572 #include "confdefs.h
"
18574 #ifdef HAVE_IEEEFP_H
18575 #include <ieeefp.h>
18582 if { (eval echo configure:18583: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18584 glibcxx_cv_func__logl_use=yes
18586 echo "configure
: failed program was
:" >&5
18587 cat conftest.$ac_ext >&5
18589 glibcxx_cv_func__logl_use=no
18593 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18594 ac_cpp='$CPP $CPPFLAGS'
18595 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18596 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18597 cross_compiling=$ac_cv_prog_cc_cross
18603 echo "$ac_t""$glibcxx_cv_func__logl_use" 1>&6
18605 if test x$glibcxx_cv_func__logl_use = x"yes"; then
18606 for ac_func in _logl
18608 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18609 echo "configure
:18610: checking
for $ac_func" >&5
18610 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18611 echo $ac_n "(cached
) $ac_c" 1>&6
18613 cat > conftest.$ac_ext <<EOF
18614 #line 18615 "configure
"
18615 #include "confdefs.h
"
18616 /* System header to define __stub macros and hopefully few prototypes,
18617 which can conflict with char $ac_func(); below. */
18618 #include <assert.h>
18619 /* Override any gcc2 internal prototype to avoid an error. */
18620 /* We use char because int might match the return type of a gcc2
18621 builtin and then its argument prototype would still apply. */
18626 /* The GNU C library defines this for functions which it implements
18627 to always fail with ENOSYS. Some functions are actually named
18628 something starting with __ and the normal name is an alias. */
18629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18637 if { (eval echo configure:18638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18639 eval "ac_cv_func_
$ac_func=yes"
18641 echo "configure
: failed program was
:" >&5
18642 cat conftest.$ac_ext >&5
18644 eval "ac_cv_func_
$ac_func=no
"
18649 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18650 echo "$ac_t""yes" 1>&6
18651 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18652 cat >> confdefs.h <<EOF
18653 #define $ac_tr_func 1
18657 echo "$ac_t""no
" 1>&6
18666 echo $ac_n "checking
for log10l declaration
""...
$ac_c" 1>&6
18667 echo "configure
:18668: checking
for log10l declaration
" >&5
18668 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
18669 if eval "test \"`echo '$''{'glibcxx_cv_func_log10l_use'+set}'`\" = set"; then
18670 echo $ac_n "(cached
) $ac_c" 1>&6
18675 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18676 ac_cpp='$CXXCPP $CPPFLAGS'
18677 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18678 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18679 cross_compiling=$ac_cv_prog_cxx_cross
18681 cat > conftest.$ac_ext <<EOF
18682 #line 18683 "configure
"
18683 #include "confdefs.h
"
18685 #ifdef HAVE_IEEEFP_H
18686 #include <ieeefp.h>
18693 if { (eval echo configure:18694: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18695 glibcxx_cv_func_log10l_use=yes
18697 echo "configure
: failed program was
:" >&5
18698 cat conftest.$ac_ext >&5
18700 glibcxx_cv_func_log10l_use=no
18704 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18705 ac_cpp='$CPP $CPPFLAGS'
18706 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18707 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18708 cross_compiling=$ac_cv_prog_cc_cross
18714 echo "$ac_t""$glibcxx_cv_func_log10l_use" 1>&6
18716 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
18717 for ac_func in log10l
18719 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18720 echo "configure
:18721: checking
for $ac_func" >&5
18721 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18722 echo $ac_n "(cached
) $ac_c" 1>&6
18724 cat > conftest.$ac_ext <<EOF
18725 #line 18726 "configure
"
18726 #include "confdefs.h
"
18727 /* System header to define __stub macros and hopefully few prototypes,
18728 which can conflict with char $ac_func(); below. */
18729 #include <assert.h>
18730 /* Override any gcc2 internal prototype to avoid an error. */
18731 /* We use char because int might match the return type of a gcc2
18732 builtin and then its argument prototype would still apply. */
18737 /* The GNU C library defines this for functions which it implements
18738 to always fail with ENOSYS. Some functions are actually named
18739 something starting with __ and the normal name is an alias. */
18740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18748 if { (eval echo configure:18749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18750 eval "ac_cv_func_
$ac_func=yes"
18752 echo "configure
: failed program was
:" >&5
18753 cat conftest.$ac_ext >&5
18755 eval "ac_cv_func_
$ac_func=no
"
18760 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18761 echo "$ac_t""yes" 1>&6
18762 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18763 cat >> confdefs.h <<EOF
18764 #define $ac_tr_func 1
18768 echo "$ac_t""no
" 1>&6
18774 echo $ac_n "checking
for _log10l declaration
""...
$ac_c" 1>&6
18775 echo "configure
:18776: checking
for _log10l declaration
" >&5
18776 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
18777 if eval "test \"`echo '$''{'glibcxx_cv_func__log10l_use'+set}'`\" = set"; then
18778 echo $ac_n "(cached
) $ac_c" 1>&6
18783 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18784 ac_cpp='$CXXCPP $CPPFLAGS'
18785 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18786 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18787 cross_compiling=$ac_cv_prog_cxx_cross
18789 cat > conftest.$ac_ext <<EOF
18790 #line 18791 "configure
"
18791 #include "confdefs.h
"
18793 #ifdef HAVE_IEEEFP_H
18794 #include <ieeefp.h>
18801 if { (eval echo configure:18802: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18803 glibcxx_cv_func__log10l_use=yes
18805 echo "configure
: failed program was
:" >&5
18806 cat conftest.$ac_ext >&5
18808 glibcxx_cv_func__log10l_use=no
18812 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18813 ac_cpp='$CPP $CPPFLAGS'
18814 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18815 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18816 cross_compiling=$ac_cv_prog_cc_cross
18822 echo "$ac_t""$glibcxx_cv_func__log10l_use" 1>&6
18824 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
18825 for ac_func in _log10l
18827 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18828 echo "configure
:18829: checking
for $ac_func" >&5
18829 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18830 echo $ac_n "(cached
) $ac_c" 1>&6
18832 cat > conftest.$ac_ext <<EOF
18833 #line 18834 "configure
"
18834 #include "confdefs.h
"
18835 /* System header to define __stub macros and hopefully few prototypes,
18836 which can conflict with char $ac_func(); below. */
18837 #include <assert.h>
18838 /* Override any gcc2 internal prototype to avoid an error. */
18839 /* We use char because int might match the return type of a gcc2
18840 builtin and then its argument prototype would still apply. */
18845 /* The GNU C library defines this for functions which it implements
18846 to always fail with ENOSYS. Some functions are actually named
18847 something starting with __ and the normal name is an alias. */
18848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18856 if { (eval echo configure:18857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18858 eval "ac_cv_func_
$ac_func=yes"
18860 echo "configure
: failed program was
:" >&5
18861 cat conftest.$ac_ext >&5
18863 eval "ac_cv_func_
$ac_func=no
"
18868 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18869 echo "$ac_t""yes" 1>&6
18870 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18871 cat >> confdefs.h <<EOF
18872 #define $ac_tr_func 1
18876 echo "$ac_t""no
" 1>&6
18885 echo $ac_n "checking
for modfl declaration
""...
$ac_c" 1>&6
18886 echo "configure
:18887: checking
for modfl declaration
" >&5
18887 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
18888 if eval "test \"`echo '$''{'glibcxx_cv_func_modfl_use'+set}'`\" = set"; then
18889 echo $ac_n "(cached
) $ac_c" 1>&6
18894 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18895 ac_cpp='$CXXCPP $CPPFLAGS'
18896 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18897 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18898 cross_compiling=$ac_cv_prog_cxx_cross
18900 cat > conftest.$ac_ext <<EOF
18901 #line 18902 "configure
"
18902 #include "confdefs.h
"
18908 if { (eval echo configure:18909: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18910 glibcxx_cv_func_modfl_use=yes
18912 echo "configure
: failed program was
:" >&5
18913 cat conftest.$ac_ext >&5
18915 glibcxx_cv_func_modfl_use=no
18919 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18920 ac_cpp='$CPP $CPPFLAGS'
18921 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18922 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18923 cross_compiling=$ac_cv_prog_cc_cross
18929 echo "$ac_t""$glibcxx_cv_func_modfl_use" 1>&6
18931 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
18932 for ac_func in modfl
18934 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18935 echo "configure
:18936: checking
for $ac_func" >&5
18936 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18937 echo $ac_n "(cached
) $ac_c" 1>&6
18939 cat > conftest.$ac_ext <<EOF
18940 #line 18941 "configure
"
18941 #include "confdefs.h
"
18942 /* System header to define __stub macros and hopefully few prototypes,
18943 which can conflict with char $ac_func(); below. */
18944 #include <assert.h>
18945 /* Override any gcc2 internal prototype to avoid an error. */
18946 /* We use char because int might match the return type of a gcc2
18947 builtin and then its argument prototype would still apply. */
18952 /* The GNU C library defines this for functions which it implements
18953 to always fail with ENOSYS. Some functions are actually named
18954 something starting with __ and the normal name is an alias. */
18955 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18963 if { (eval echo configure:18964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18965 eval "ac_cv_func_
$ac_func=yes"
18967 echo "configure
: failed program was
:" >&5
18968 cat conftest.$ac_ext >&5
18970 eval "ac_cv_func_
$ac_func=no
"
18975 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18976 echo "$ac_t""yes" 1>&6
18977 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18978 cat >> confdefs.h <<EOF
18979 #define $ac_tr_func 1
18983 echo "$ac_t""no
" 1>&6
18989 echo $ac_n "checking
for _modfl declaration
""...
$ac_c" 1>&6
18990 echo "configure
:18991: checking
for _modfl declaration
" >&5
18991 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
18992 if eval "test \"`echo '$''{'glibcxx_cv_func__modfl_use'+set}'`\" = set"; then
18993 echo $ac_n "(cached
) $ac_c" 1>&6
18998 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18999 ac_cpp='$CXXCPP $CPPFLAGS'
19000 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19001 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19002 cross_compiling=$ac_cv_prog_cxx_cross
19004 cat > conftest.$ac_ext <<EOF
19005 #line 19006 "configure
"
19006 #include "confdefs.h
"
19012 if { (eval echo configure:19013: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19014 glibcxx_cv_func__modfl_use=yes
19016 echo "configure
: failed program was
:" >&5
19017 cat conftest.$ac_ext >&5
19019 glibcxx_cv_func__modfl_use=no
19023 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19024 ac_cpp='$CPP $CPPFLAGS'
19025 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19026 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19027 cross_compiling=$ac_cv_prog_cc_cross
19033 echo "$ac_t""$glibcxx_cv_func__modfl_use" 1>&6
19035 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
19036 for ac_func in _modfl
19038 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19039 echo "configure
:19040: checking
for $ac_func" >&5
19040 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19041 echo $ac_n "(cached
) $ac_c" 1>&6
19043 cat > conftest.$ac_ext <<EOF
19044 #line 19045 "configure
"
19045 #include "confdefs.h
"
19046 /* System header to define __stub macros and hopefully few prototypes,
19047 which can conflict with char $ac_func(); below. */
19048 #include <assert.h>
19049 /* Override any gcc2 internal prototype to avoid an error. */
19050 /* We use char because int might match the return type of a gcc2
19051 builtin and then its argument prototype would still apply. */
19056 /* The GNU C library defines this for functions which it implements
19057 to always fail with ENOSYS. Some functions are actually named
19058 something starting with __ and the normal name is an alias. */
19059 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19067 if { (eval echo configure:19068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19069 eval "ac_cv_func_
$ac_func=yes"
19071 echo "configure
: failed program was
:" >&5
19072 cat conftest.$ac_ext >&5
19074 eval "ac_cv_func_
$ac_func=no
"
19079 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19080 echo "$ac_t""yes" 1>&6
19081 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19082 cat >> confdefs.h <<EOF
19083 #define $ac_tr_func 1
19087 echo "$ac_t""no
" 1>&6
19096 echo $ac_n "checking
for powl declaration
""...
$ac_c" 1>&6
19097 echo "configure
:19098: checking
for powl declaration
" >&5
19098 if test x${glibcxx_cv_func_powl_use+set} != xset; then
19099 if eval "test \"`echo '$''{'glibcxx_cv_func_powl_use'+set}'`\" = set"; then
19100 echo $ac_n "(cached
) $ac_c" 1>&6
19105 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19106 ac_cpp='$CXXCPP $CPPFLAGS'
19107 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19108 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19109 cross_compiling=$ac_cv_prog_cxx_cross
19111 cat > conftest.$ac_ext <<EOF
19112 #line 19113 "configure
"
19113 #include "confdefs.h
"
19119 if { (eval echo configure:19120: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19121 glibcxx_cv_func_powl_use=yes
19123 echo "configure
: failed program was
:" >&5
19124 cat conftest.$ac_ext >&5
19126 glibcxx_cv_func_powl_use=no
19130 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19131 ac_cpp='$CPP $CPPFLAGS'
19132 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19133 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19134 cross_compiling=$ac_cv_prog_cc_cross
19140 echo "$ac_t""$glibcxx_cv_func_powl_use" 1>&6
19142 if test x$glibcxx_cv_func_powl_use = x"yes"; then
19143 for ac_func in powl
19145 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19146 echo "configure
:19147: checking
for $ac_func" >&5
19147 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19148 echo $ac_n "(cached
) $ac_c" 1>&6
19150 cat > conftest.$ac_ext <<EOF
19151 #line 19152 "configure
"
19152 #include "confdefs.h
"
19153 /* System header to define __stub macros and hopefully few prototypes,
19154 which can conflict with char $ac_func(); below. */
19155 #include <assert.h>
19156 /* Override any gcc2 internal prototype to avoid an error. */
19157 /* We use char because int might match the return type of a gcc2
19158 builtin and then its argument prototype would still apply. */
19163 /* The GNU C library defines this for functions which it implements
19164 to always fail with ENOSYS. Some functions are actually named
19165 something starting with __ and the normal name is an alias. */
19166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19174 if { (eval echo configure:19175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19176 eval "ac_cv_func_
$ac_func=yes"
19178 echo "configure
: failed program was
:" >&5
19179 cat conftest.$ac_ext >&5
19181 eval "ac_cv_func_
$ac_func=no
"
19186 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19187 echo "$ac_t""yes" 1>&6
19188 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19189 cat >> confdefs.h <<EOF
19190 #define $ac_tr_func 1
19194 echo "$ac_t""no
" 1>&6
19200 echo $ac_n "checking
for _powl declaration
""...
$ac_c" 1>&6
19201 echo "configure
:19202: checking
for _powl declaration
" >&5
19202 if test x${glibcxx_cv_func__powl_use+set} != xset; then
19203 if eval "test \"`echo '$''{'glibcxx_cv_func__powl_use'+set}'`\" = set"; then
19204 echo $ac_n "(cached
) $ac_c" 1>&6
19209 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19210 ac_cpp='$CXXCPP $CPPFLAGS'
19211 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19212 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19213 cross_compiling=$ac_cv_prog_cxx_cross
19215 cat > conftest.$ac_ext <<EOF
19216 #line 19217 "configure
"
19217 #include "confdefs.h
"
19223 if { (eval echo configure:19224: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19225 glibcxx_cv_func__powl_use=yes
19227 echo "configure
: failed program was
:" >&5
19228 cat conftest.$ac_ext >&5
19230 glibcxx_cv_func__powl_use=no
19234 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19235 ac_cpp='$CPP $CPPFLAGS'
19236 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19237 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19238 cross_compiling=$ac_cv_prog_cc_cross
19244 echo "$ac_t""$glibcxx_cv_func__powl_use" 1>&6
19246 if test x$glibcxx_cv_func__powl_use = x"yes"; then
19247 for ac_func in _powl
19249 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19250 echo "configure
:19251: checking
for $ac_func" >&5
19251 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19252 echo $ac_n "(cached
) $ac_c" 1>&6
19254 cat > conftest.$ac_ext <<EOF
19255 #line 19256 "configure
"
19256 #include "confdefs.h
"
19257 /* System header to define __stub macros and hopefully few prototypes,
19258 which can conflict with char $ac_func(); below. */
19259 #include <assert.h>
19260 /* Override any gcc2 internal prototype to avoid an error. */
19261 /* We use char because int might match the return type of a gcc2
19262 builtin and then its argument prototype would still apply. */
19267 /* The GNU C library defines this for functions which it implements
19268 to always fail with ENOSYS. Some functions are actually named
19269 something starting with __ and the normal name is an alias. */
19270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19278 if { (eval echo configure:19279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19280 eval "ac_cv_func_
$ac_func=yes"
19282 echo "configure
: failed program was
:" >&5
19283 cat conftest.$ac_ext >&5
19285 eval "ac_cv_func_
$ac_func=no
"
19290 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19291 echo "$ac_t""yes" 1>&6
19292 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19293 cat >> confdefs.h <<EOF
19294 #define $ac_tr_func 1
19298 echo "$ac_t""no
" 1>&6
19307 echo $ac_n "checking
for sqrtl declaration
""...
$ac_c" 1>&6
19308 echo "configure
:19309: checking
for sqrtl declaration
" >&5
19309 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
19310 if eval "test \"`echo '$''{'glibcxx_cv_func_sqrtl_use'+set}'`\" = set"; then
19311 echo $ac_n "(cached
) $ac_c" 1>&6
19316 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19317 ac_cpp='$CXXCPP $CPPFLAGS'
19318 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19319 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19320 cross_compiling=$ac_cv_prog_cxx_cross
19322 cat > conftest.$ac_ext <<EOF
19323 #line 19324 "configure
"
19324 #include "confdefs.h
"
19326 #ifdef HAVE_IEEEFP_H
19327 #include <ieeefp.h>
19334 if { (eval echo configure:19335: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19336 glibcxx_cv_func_sqrtl_use=yes
19338 echo "configure
: failed program was
:" >&5
19339 cat conftest.$ac_ext >&5
19341 glibcxx_cv_func_sqrtl_use=no
19345 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19346 ac_cpp='$CPP $CPPFLAGS'
19347 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19348 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19349 cross_compiling=$ac_cv_prog_cc_cross
19355 echo "$ac_t""$glibcxx_cv_func_sqrtl_use" 1>&6
19357 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
19358 for ac_func in sqrtl
19360 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19361 echo "configure
:19362: checking
for $ac_func" >&5
19362 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19363 echo $ac_n "(cached
) $ac_c" 1>&6
19365 cat > conftest.$ac_ext <<EOF
19366 #line 19367 "configure
"
19367 #include "confdefs.h
"
19368 /* System header to define __stub macros and hopefully few prototypes,
19369 which can conflict with char $ac_func(); below. */
19370 #include <assert.h>
19371 /* Override any gcc2 internal prototype to avoid an error. */
19372 /* We use char because int might match the return type of a gcc2
19373 builtin and then its argument prototype would still apply. */
19378 /* The GNU C library defines this for functions which it implements
19379 to always fail with ENOSYS. Some functions are actually named
19380 something starting with __ and the normal name is an alias. */
19381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19389 if { (eval echo configure:19390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19391 eval "ac_cv_func_
$ac_func=yes"
19393 echo "configure
: failed program was
:" >&5
19394 cat conftest.$ac_ext >&5
19396 eval "ac_cv_func_
$ac_func=no
"
19401 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19402 echo "$ac_t""yes" 1>&6
19403 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19404 cat >> confdefs.h <<EOF
19405 #define $ac_tr_func 1
19409 echo "$ac_t""no
" 1>&6
19415 echo $ac_n "checking
for _sqrtl declaration
""...
$ac_c" 1>&6
19416 echo "configure
:19417: checking
for _sqrtl declaration
" >&5
19417 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
19418 if eval "test \"`echo '$''{'glibcxx_cv_func__sqrtl_use'+set}'`\" = set"; then
19419 echo $ac_n "(cached
) $ac_c" 1>&6
19424 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19425 ac_cpp='$CXXCPP $CPPFLAGS'
19426 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19427 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19428 cross_compiling=$ac_cv_prog_cxx_cross
19430 cat > conftest.$ac_ext <<EOF
19431 #line 19432 "configure
"
19432 #include "confdefs.h
"
19434 #ifdef HAVE_IEEEFP_H
19435 #include <ieeefp.h>
19442 if { (eval echo configure:19443: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19444 glibcxx_cv_func__sqrtl_use=yes
19446 echo "configure
: failed program was
:" >&5
19447 cat conftest.$ac_ext >&5
19449 glibcxx_cv_func__sqrtl_use=no
19453 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19454 ac_cpp='$CPP $CPPFLAGS'
19455 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19456 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19457 cross_compiling=$ac_cv_prog_cc_cross
19463 echo "$ac_t""$glibcxx_cv_func__sqrtl_use" 1>&6
19465 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
19466 for ac_func in _sqrtl
19468 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19469 echo "configure
:19470: checking
for $ac_func" >&5
19470 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19471 echo $ac_n "(cached
) $ac_c" 1>&6
19473 cat > conftest.$ac_ext <<EOF
19474 #line 19475 "configure
"
19475 #include "confdefs.h
"
19476 /* System header to define __stub macros and hopefully few prototypes,
19477 which can conflict with char $ac_func(); below. */
19478 #include <assert.h>
19479 /* Override any gcc2 internal prototype to avoid an error. */
19480 /* We use char because int might match the return type of a gcc2
19481 builtin and then its argument prototype would still apply. */
19486 /* The GNU C library defines this for functions which it implements
19487 to always fail with ENOSYS. Some functions are actually named
19488 something starting with __ and the normal name is an alias. */
19489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19497 if { (eval echo configure:19498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19499 eval "ac_cv_func_
$ac_func=yes"
19501 echo "configure
: failed program was
:" >&5
19502 cat conftest.$ac_ext >&5
19504 eval "ac_cv_func_
$ac_func=no
"
19509 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19510 echo "$ac_t""yes" 1>&6
19511 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19512 cat >> confdefs.h <<EOF
19513 #define $ac_tr_func 1
19517 echo "$ac_t""no
" 1>&6
19526 echo $ac_n "checking
for sincosl declaration
""...
$ac_c" 1>&6
19527 echo "configure
:19528: checking
for sincosl declaration
" >&5
19528 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
19529 if eval "test \"`echo '$''{'glibcxx_cv_func_sincosl_use'+set}'`\" = set"; then
19530 echo $ac_n "(cached
) $ac_c" 1>&6
19535 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19536 ac_cpp='$CXXCPP $CPPFLAGS'
19537 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19538 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19539 cross_compiling=$ac_cv_prog_cxx_cross
19541 cat > conftest.$ac_ext <<EOF
19542 #line 19543 "configure
"
19543 #include "confdefs.h
"
19549 if { (eval echo configure:19550: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19551 glibcxx_cv_func_sincosl_use=yes
19553 echo "configure
: failed program was
:" >&5
19554 cat conftest.$ac_ext >&5
19556 glibcxx_cv_func_sincosl_use=no
19560 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19561 ac_cpp='$CPP $CPPFLAGS'
19562 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19563 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19564 cross_compiling=$ac_cv_prog_cc_cross
19570 echo "$ac_t""$glibcxx_cv_func_sincosl_use" 1>&6
19572 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
19573 for ac_func in sincosl
19575 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19576 echo "configure
:19577: checking
for $ac_func" >&5
19577 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19578 echo $ac_n "(cached
) $ac_c" 1>&6
19580 cat > conftest.$ac_ext <<EOF
19581 #line 19582 "configure
"
19582 #include "confdefs.h
"
19583 /* System header to define __stub macros and hopefully few prototypes,
19584 which can conflict with char $ac_func(); below. */
19585 #include <assert.h>
19586 /* Override any gcc2 internal prototype to avoid an error. */
19587 /* We use char because int might match the return type of a gcc2
19588 builtin and then its argument prototype would still apply. */
19593 /* The GNU C library defines this for functions which it implements
19594 to always fail with ENOSYS. Some functions are actually named
19595 something starting with __ and the normal name is an alias. */
19596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19604 if { (eval echo configure:19605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19606 eval "ac_cv_func_
$ac_func=yes"
19608 echo "configure
: failed program was
:" >&5
19609 cat conftest.$ac_ext >&5
19611 eval "ac_cv_func_
$ac_func=no
"
19616 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19617 echo "$ac_t""yes" 1>&6
19618 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19619 cat >> confdefs.h <<EOF
19620 #define $ac_tr_func 1
19624 echo "$ac_t""no
" 1>&6
19630 echo $ac_n "checking
for _sincosl declaration
""...
$ac_c" 1>&6
19631 echo "configure
:19632: checking
for _sincosl declaration
" >&5
19632 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
19633 if eval "test \"`echo '$''{'glibcxx_cv_func__sincosl_use'+set}'`\" = set"; then
19634 echo $ac_n "(cached
) $ac_c" 1>&6
19639 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19640 ac_cpp='$CXXCPP $CPPFLAGS'
19641 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19642 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19643 cross_compiling=$ac_cv_prog_cxx_cross
19645 cat > conftest.$ac_ext <<EOF
19646 #line 19647 "configure
"
19647 #include "confdefs.h
"
19653 if { (eval echo configure:19654: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19655 glibcxx_cv_func__sincosl_use=yes
19657 echo "configure
: failed program was
:" >&5
19658 cat conftest.$ac_ext >&5
19660 glibcxx_cv_func__sincosl_use=no
19664 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19665 ac_cpp='$CPP $CPPFLAGS'
19666 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19667 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19668 cross_compiling=$ac_cv_prog_cc_cross
19674 echo "$ac_t""$glibcxx_cv_func__sincosl_use" 1>&6
19676 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
19677 for ac_func in _sincosl
19679 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19680 echo "configure
:19681: checking
for $ac_func" >&5
19681 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19682 echo $ac_n "(cached
) $ac_c" 1>&6
19684 cat > conftest.$ac_ext <<EOF
19685 #line 19686 "configure
"
19686 #include "confdefs.h
"
19687 /* System header to define __stub macros and hopefully few prototypes,
19688 which can conflict with char $ac_func(); below. */
19689 #include <assert.h>
19690 /* Override any gcc2 internal prototype to avoid an error. */
19691 /* We use char because int might match the return type of a gcc2
19692 builtin and then its argument prototype would still apply. */
19697 /* The GNU C library defines this for functions which it implements
19698 to always fail with ENOSYS. Some functions are actually named
19699 something starting with __ and the normal name is an alias. */
19700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19708 if { (eval echo configure:19709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19710 eval "ac_cv_func_
$ac_func=yes"
19712 echo "configure
: failed program was
:" >&5
19713 cat conftest.$ac_ext >&5
19715 eval "ac_cv_func_
$ac_func=no
"
19720 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19721 echo "$ac_t""yes" 1>&6
19722 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19723 cat >> confdefs.h <<EOF
19724 #define $ac_tr_func 1
19728 echo "$ac_t""no
" 1>&6
19737 echo $ac_n "checking
for finitel declaration
""...
$ac_c" 1>&6
19738 echo "configure
:19739: checking
for finitel declaration
" >&5
19739 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
19740 if eval "test \"`echo '$''{'glibcxx_cv_func_finitel_use'+set}'`\" = set"; then
19741 echo $ac_n "(cached
) $ac_c" 1>&6
19746 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19747 ac_cpp='$CXXCPP $CPPFLAGS'
19748 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19749 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19750 cross_compiling=$ac_cv_prog_cxx_cross
19752 cat > conftest.$ac_ext <<EOF
19753 #line 19754 "configure
"
19754 #include "confdefs.h
"
19756 #ifdef HAVE_IEEEFP_H
19757 #include <ieeefp.h>
19764 if { (eval echo configure:19765: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19766 glibcxx_cv_func_finitel_use=yes
19768 echo "configure
: failed program was
:" >&5
19769 cat conftest.$ac_ext >&5
19771 glibcxx_cv_func_finitel_use=no
19775 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19776 ac_cpp='$CPP $CPPFLAGS'
19777 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19778 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19779 cross_compiling=$ac_cv_prog_cc_cross
19785 echo "$ac_t""$glibcxx_cv_func_finitel_use" 1>&6
19787 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
19788 for ac_func in finitel
19790 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19791 echo "configure
:19792: checking
for $ac_func" >&5
19792 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19793 echo $ac_n "(cached
) $ac_c" 1>&6
19795 cat > conftest.$ac_ext <<EOF
19796 #line 19797 "configure
"
19797 #include "confdefs.h
"
19798 /* System header to define __stub macros and hopefully few prototypes,
19799 which can conflict with char $ac_func(); below. */
19800 #include <assert.h>
19801 /* Override any gcc2 internal prototype to avoid an error. */
19802 /* We use char because int might match the return type of a gcc2
19803 builtin and then its argument prototype would still apply. */
19808 /* The GNU C library defines this for functions which it implements
19809 to always fail with ENOSYS. Some functions are actually named
19810 something starting with __ and the normal name is an alias. */
19811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19819 if { (eval echo configure:19820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19821 eval "ac_cv_func_
$ac_func=yes"
19823 echo "configure
: failed program was
:" >&5
19824 cat conftest.$ac_ext >&5
19826 eval "ac_cv_func_
$ac_func=no
"
19831 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19832 echo "$ac_t""yes" 1>&6
19833 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19834 cat >> confdefs.h <<EOF
19835 #define $ac_tr_func 1
19839 echo "$ac_t""no
" 1>&6
19845 echo $ac_n "checking
for _finitel declaration
""...
$ac_c" 1>&6
19846 echo "configure
:19847: checking
for _finitel declaration
" >&5
19847 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
19848 if eval "test \"`echo '$''{'glibcxx_cv_func__finitel_use'+set}'`\" = set"; then
19849 echo $ac_n "(cached
) $ac_c" 1>&6
19854 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19855 ac_cpp='$CXXCPP $CPPFLAGS'
19856 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19857 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19858 cross_compiling=$ac_cv_prog_cxx_cross
19860 cat > conftest.$ac_ext <<EOF
19861 #line 19862 "configure
"
19862 #include "confdefs.h
"
19864 #ifdef HAVE_IEEEFP_H
19865 #include <ieeefp.h>
19872 if { (eval echo configure:19873: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19874 glibcxx_cv_func__finitel_use=yes
19876 echo "configure
: failed program was
:" >&5
19877 cat conftest.$ac_ext >&5
19879 glibcxx_cv_func__finitel_use=no
19883 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19884 ac_cpp='$CPP $CPPFLAGS'
19885 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19886 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19887 cross_compiling=$ac_cv_prog_cc_cross
19893 echo "$ac_t""$glibcxx_cv_func__finitel_use" 1>&6
19895 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
19896 for ac_func in _finitel
19898 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19899 echo "configure
:19900: checking
for $ac_func" >&5
19900 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19901 echo $ac_n "(cached
) $ac_c" 1>&6
19903 cat > conftest.$ac_ext <<EOF
19904 #line 19905 "configure
"
19905 #include "confdefs.h
"
19906 /* System header to define __stub macros and hopefully few prototypes,
19907 which can conflict with char $ac_func(); below. */
19908 #include <assert.h>
19909 /* Override any gcc2 internal prototype to avoid an error. */
19910 /* We use char because int might match the return type of a gcc2
19911 builtin and then its argument prototype would still apply. */
19916 /* The GNU C library defines this for functions which it implements
19917 to always fail with ENOSYS. Some functions are actually named
19918 something starting with __ and the normal name is an alias. */
19919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19927 if { (eval echo configure:19928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19929 eval "ac_cv_func_
$ac_func=yes"
19931 echo "configure
: failed program was
:" >&5
19932 cat conftest.$ac_ext >&5
19934 eval "ac_cv_func_
$ac_func=no
"
19939 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19940 echo "$ac_t""yes" 1>&6
19941 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19942 cat >> confdefs.h <<EOF
19943 #define $ac_tr_func 1
19947 echo "$ac_t""no
" 1>&6
19957 echo $ac_n "checking
for _float trig functions
""...
$ac_c" 1>&6
19958 echo "configure
:19959: checking
for _float trig functions
" >&5
19959 if eval "test \"`echo '$''{'glibcxx_cv_func__float_trig_use'+set}'`\" = set"; then
19960 echo $ac_n "(cached
) $ac_c" 1>&6
19965 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19966 ac_cpp='$CXXCPP $CPPFLAGS'
19967 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19968 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19969 cross_compiling=$ac_cv_prog_cxx_cross
19971 cat > conftest.$ac_ext <<EOF
19972 #line 19973 "configure
"
19973 #include "confdefs.h
"
19976 `for x in _acosf _asinf _atanf \
19977 _cosf _sinf _tanf \
19978 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
19981 if { (eval echo configure:19982: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19983 glibcxx_cv_func__float_trig_use=yes
19985 echo "configure
: failed program was
:" >&5
19986 cat conftest.$ac_ext >&5
19988 glibcxx_cv_func__float_trig_use=no
19992 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19993 ac_cpp='$CPP $CPPFLAGS'
19994 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19995 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19996 cross_compiling=$ac_cv_prog_cc_cross
20000 echo "$ac_t""$glibcxx_cv_func__float_trig_use" 1>&6
20001 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
20002 for ac_func in _acosf _asinf _atanf \
20003 _cosf _sinf _tanf \
20004 _coshf _sinhf _tanhf
20006 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20007 echo "configure
:20008: checking
for $ac_func" >&5
20008 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20009 echo $ac_n "(cached
) $ac_c" 1>&6
20011 cat > conftest.$ac_ext <<EOF
20012 #line 20013 "configure
"
20013 #include "confdefs.h
"
20014 /* System header to define __stub macros and hopefully few prototypes,
20015 which can conflict with char $ac_func(); below. */
20016 #include <assert.h>
20017 /* Override any gcc2 internal prototype to avoid an error. */
20018 /* We use char because int might match the return type of a gcc2
20019 builtin and then its argument prototype would still apply. */
20024 /* The GNU C library defines this for functions which it implements
20025 to always fail with ENOSYS. Some functions are actually named
20026 something starting with __ and the normal name is an alias. */
20027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20035 if { (eval echo configure:20036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20037 eval "ac_cv_func_
$ac_func=yes"
20039 echo "configure
: failed program was
:" >&5
20040 cat conftest.$ac_ext >&5
20042 eval "ac_cv_func_
$ac_func=no
"
20047 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20048 echo "$ac_t""yes" 1>&6
20049 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20050 cat >> confdefs.h <<EOF
20051 #define $ac_tr_func 1
20055 echo "$ac_t""no
" 1>&6
20062 echo $ac_n "checking
for _float round functions
""...
$ac_c" 1>&6
20063 echo "configure
:20064: checking
for _float round functions
" >&5
20064 if eval "test \"`echo '$''{'glibcxx_cv_func__float_round_use'+set}'`\" = set"; then
20065 echo $ac_n "(cached
) $ac_c" 1>&6
20070 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20071 ac_cpp='$CXXCPP $CPPFLAGS'
20072 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20073 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20074 cross_compiling=$ac_cv_prog_cxx_cross
20076 cat > conftest.$ac_ext <<EOF
20077 #line 20078 "configure
"
20078 #include "confdefs.h
"
20081 `for x in _ceilf _floorf; do echo "$x (0);"; done`
20084 if { (eval echo configure:20085: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20086 glibcxx_cv_func__float_round_use=yes
20088 echo "configure
: failed program was
:" >&5
20089 cat conftest.$ac_ext >&5
20091 glibcxx_cv_func__float_round_use=no
20095 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20096 ac_cpp='$CPP $CPPFLAGS'
20097 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20098 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20099 cross_compiling=$ac_cv_prog_cc_cross
20103 echo "$ac_t""$glibcxx_cv_func__float_round_use" 1>&6
20104 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
20105 for ac_func in _ceilf _floorf
20107 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20108 echo "configure
:20109: checking
for $ac_func" >&5
20109 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20110 echo $ac_n "(cached
) $ac_c" 1>&6
20112 cat > conftest.$ac_ext <<EOF
20113 #line 20114 "configure
"
20114 #include "confdefs.h
"
20115 /* System header to define __stub macros and hopefully few prototypes,
20116 which can conflict with char $ac_func(); below. */
20117 #include <assert.h>
20118 /* Override any gcc2 internal prototype to avoid an error. */
20119 /* We use char because int might match the return type of a gcc2
20120 builtin and then its argument prototype would still apply. */
20125 /* The GNU C library defines this for functions which it implements
20126 to always fail with ENOSYS. Some functions are actually named
20127 something starting with __ and the normal name is an alias. */
20128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20136 if { (eval echo configure:20137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20138 eval "ac_cv_func_
$ac_func=yes"
20140 echo "configure
: failed program was
:" >&5
20141 cat conftest.$ac_ext >&5
20143 eval "ac_cv_func_
$ac_func=no
"
20148 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20149 echo "$ac_t""yes" 1>&6
20150 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20151 cat >> confdefs.h <<EOF
20152 #define $ac_tr_func 1
20156 echo "$ac_t""no
" 1>&6
20164 echo $ac_n "checking
for _long double trig functions
""...
$ac_c" 1>&6
20165 echo "configure
:20166: checking
for _long double trig functions
" >&5
20166 if eval "test \"`echo '$''{'glibcxx_cv_func__long_double_trig_use'+set}'`\" = set"; then
20167 echo $ac_n "(cached
) $ac_c" 1>&6
20172 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20173 ac_cpp='$CXXCPP $CPPFLAGS'
20174 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20175 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20176 cross_compiling=$ac_cv_prog_cxx_cross
20178 cat > conftest.$ac_ext <<EOF
20179 #line 20180 "configure
"
20180 #include "confdefs.h
"
20183 `for x in _acosl _asinl _atanl \
20184 _cosl _sinl _tanl \
20185 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
20188 if { (eval echo configure:20189: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20190 glibcxx_cv_func__long_double_trig_use=yes
20192 echo "configure
: failed program was
:" >&5
20193 cat conftest.$ac_ext >&5
20195 glibcxx_cv_func__long_double_trig_use=no
20199 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20200 ac_cpp='$CPP $CPPFLAGS'
20201 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20202 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20203 cross_compiling=$ac_cv_prog_cc_cross
20207 echo "$ac_t""$glibcxx_cv_func__long_double_trig_use" 1>&6
20208 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
20209 for ac_func in _acosl _asinl _atanl \
20210 _cosl _sinl _tanl \
20211 _coshl _sinhl _tanhl
20213 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20214 echo "configure
:20215: checking
for $ac_func" >&5
20215 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20216 echo $ac_n "(cached
) $ac_c" 1>&6
20218 cat > conftest.$ac_ext <<EOF
20219 #line 20220 "configure
"
20220 #include "confdefs.h
"
20221 /* System header to define __stub macros and hopefully few prototypes,
20222 which can conflict with char $ac_func(); below. */
20223 #include <assert.h>
20224 /* Override any gcc2 internal prototype to avoid an error. */
20225 /* We use char because int might match the return type of a gcc2
20226 builtin and then its argument prototype would still apply. */
20231 /* The GNU C library defines this for functions which it implements
20232 to always fail with ENOSYS. Some functions are actually named
20233 something starting with __ and the normal name is an alias. */
20234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20242 if { (eval echo configure:20243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20244 eval "ac_cv_func_
$ac_func=yes"
20246 echo "configure
: failed program was
:" >&5
20247 cat conftest.$ac_ext >&5
20249 eval "ac_cv_func_
$ac_func=no
"
20254 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20255 echo "$ac_t""yes" 1>&6
20256 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20257 cat >> confdefs.h <<EOF
20258 #define $ac_tr_func 1
20262 echo "$ac_t""no
" 1>&6
20269 echo $ac_n "checking
for _long double round functions
""...
$ac_c" 1>&6
20270 echo "configure
:20271: checking
for _long double round functions
" >&5
20271 if eval "test \"`echo '$''{'glibcxx_cv_func__long_double_round_use'+set}'`\" = set"; then
20272 echo $ac_n "(cached
) $ac_c" 1>&6
20277 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20278 ac_cpp='$CXXCPP $CPPFLAGS'
20279 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20280 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20281 cross_compiling=$ac_cv_prog_cxx_cross
20283 cat > conftest.$ac_ext <<EOF
20284 #line 20285 "configure
"
20285 #include "confdefs.h
"
20288 `for x in _ceill _floorl; do echo "$x (0);"; done`
20291 if { (eval echo configure:20292: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20293 glibcxx_cv_func__long_double_round_use=yes
20295 echo "configure
: failed program was
:" >&5
20296 cat conftest.$ac_ext >&5
20298 glibcxx_cv_func__long_double_round_use=no
20302 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20303 ac_cpp='$CPP $CPPFLAGS'
20304 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20305 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20306 cross_compiling=$ac_cv_prog_cc_cross
20310 echo "$ac_t""$glibcxx_cv_func__long_double_round_use" 1>&6
20311 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
20312 for ac_func in _ceill _floorl
20314 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20315 echo "configure
:20316: checking
for $ac_func" >&5
20316 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20317 echo $ac_n "(cached
) $ac_c" 1>&6
20319 cat > conftest.$ac_ext <<EOF
20320 #line 20321 "configure
"
20321 #include "confdefs.h
"
20322 /* System header to define __stub macros and hopefully few prototypes,
20323 which can conflict with char $ac_func(); below. */
20324 #include <assert.h>
20325 /* Override any gcc2 internal prototype to avoid an error. */
20326 /* We use char because int might match the return type of a gcc2
20327 builtin and then its argument prototype would still apply. */
20332 /* The GNU C library defines this for functions which it implements
20333 to always fail with ENOSYS. Some functions are actually named
20334 something starting with __ and the normal name is an alias. */
20335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20343 if { (eval echo configure:20344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20345 eval "ac_cv_func_
$ac_func=yes"
20347 echo "configure
: failed program was
:" >&5
20348 cat conftest.$ac_ext >&5
20350 eval "ac_cv_func_
$ac_func=no
"
20355 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20356 echo "$ac_t""yes" 1>&6
20357 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20358 cat >> confdefs.h <<EOF
20359 #define $ac_tr_func 1
20363 echo "$ac_t""no
" 1>&6
20370 LIBS="$ac_save_LIBS"
20371 CXXFLAGS="$ac_save_CXXFLAGS"
20375 echo $ac_n "checking
for __builtin_abs declaration
""...
$ac_c" 1>&6
20376 echo "configure
:20377: checking
for __builtin_abs declaration
" >&5
20377 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
20378 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_abs_use'+set}'`\" = set"; then
20379 echo $ac_n "(cached
) $ac_c" 1>&6
20384 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20385 ac_cpp='$CXXCPP $CPPFLAGS'
20386 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20387 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20388 cross_compiling=$ac_cv_prog_cxx_cross
20390 cat > conftest.$ac_ext <<EOF
20391 #line 20392 "configure
"
20392 #include "confdefs.h
"
20398 if { (eval echo configure:20399: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20400 glibcxx_cv_func___builtin_abs_use=yes
20402 echo "configure
: failed program was
:" >&5
20403 cat conftest.$ac_ext >&5
20405 glibcxx_cv_func___builtin_abs_use=no
20409 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20410 ac_cpp='$CPP $CPPFLAGS'
20411 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20412 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20413 cross_compiling=$ac_cv_prog_cc_cross
20419 echo "$ac_t""$glibcxx_cv_func___builtin_abs_use" 1>&6
20420 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
20421 echo $ac_n "checking
for __builtin_abs linkage
""...
$ac_c" 1>&6
20422 echo "configure
:20423: checking
for __builtin_abs linkage
" >&5
20423 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
20424 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_abs_link'+set}'`\" = set"; then
20425 echo $ac_n "(cached
) $ac_c" 1>&6
20428 cat > conftest.$ac_ext <<EOF
20429 #line 20430 "configure
"
20430 #include "confdefs.h
"
20436 if { (eval echo configure:20437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20438 glibcxx_cv_func___builtin_abs_link=yes
20440 echo "configure
: failed program was
:" >&5
20441 cat conftest.$ac_ext >&5
20443 glibcxx_cv_func___builtin_abs_link=no
20450 echo "$ac_t""$glibcxx_cv_func___builtin_abs_link" 1>&6
20451 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
20452 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20453 cat >> confdefs.h <<EOF
20454 #define ${ac_tr_func} 1
20461 echo $ac_n "checking
for __builtin_fabsf declaration
""...
$ac_c" 1>&6
20462 echo "configure
:20463: checking
for __builtin_fabsf declaration
" >&5
20463 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
20464 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
20465 echo $ac_n "(cached
) $ac_c" 1>&6
20470 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20471 ac_cpp='$CXXCPP $CPPFLAGS'
20472 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20473 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20474 cross_compiling=$ac_cv_prog_cxx_cross
20476 cat > conftest.$ac_ext <<EOF
20477 #line 20478 "configure
"
20478 #include "confdefs.h
"
20481 __builtin_fabsf(0);
20484 if { (eval echo configure:20485: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20486 glibcxx_cv_func___builtin_fabsf_use=yes
20488 echo "configure
: failed program was
:" >&5
20489 cat conftest.$ac_ext >&5
20491 glibcxx_cv_func___builtin_fabsf_use=no
20495 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20496 ac_cpp='$CPP $CPPFLAGS'
20497 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20498 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20499 cross_compiling=$ac_cv_prog_cc_cross
20505 echo "$ac_t""$glibcxx_cv_func___builtin_fabsf_use" 1>&6
20506 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
20507 echo $ac_n "checking
for __builtin_fabsf linkage
""...
$ac_c" 1>&6
20508 echo "configure
:20509: checking
for __builtin_fabsf linkage
" >&5
20509 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
20510 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
20511 echo $ac_n "(cached
) $ac_c" 1>&6
20514 cat > conftest.$ac_ext <<EOF
20515 #line 20516 "configure
"
20516 #include "confdefs.h
"
20519 __builtin_fabsf(0);
20522 if { (eval echo configure:20523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20524 glibcxx_cv_func___builtin_fabsf_link=yes
20526 echo "configure
: failed program was
:" >&5
20527 cat conftest.$ac_ext >&5
20529 glibcxx_cv_func___builtin_fabsf_link=no
20536 echo "$ac_t""$glibcxx_cv_func___builtin_fabsf_link" 1>&6
20537 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
20538 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20539 cat >> confdefs.h <<EOF
20540 #define ${ac_tr_func} 1
20547 echo $ac_n "checking
for __builtin_fabs declaration
""...
$ac_c" 1>&6
20548 echo "configure
:20549: checking
for __builtin_fabs declaration
" >&5
20549 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
20550 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_fabs_use'+set}'`\" = set"; then
20551 echo $ac_n "(cached
) $ac_c" 1>&6
20556 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20557 ac_cpp='$CXXCPP $CPPFLAGS'
20558 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20559 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20560 cross_compiling=$ac_cv_prog_cxx_cross
20562 cat > conftest.$ac_ext <<EOF
20563 #line 20564 "configure
"
20564 #include "confdefs.h
"
20570 if { (eval echo configure:20571: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20572 glibcxx_cv_func___builtin_fabs_use=yes
20574 echo "configure
: failed program was
:" >&5
20575 cat conftest.$ac_ext >&5
20577 glibcxx_cv_func___builtin_fabs_use=no
20581 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20582 ac_cpp='$CPP $CPPFLAGS'
20583 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20584 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20585 cross_compiling=$ac_cv_prog_cc_cross
20591 echo "$ac_t""$glibcxx_cv_func___builtin_fabs_use" 1>&6
20592 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
20593 echo $ac_n "checking
for __builtin_fabs linkage
""...
$ac_c" 1>&6
20594 echo "configure
:20595: checking
for __builtin_fabs linkage
" >&5
20595 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
20596 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_fabs_link'+set}'`\" = set"; then
20597 echo $ac_n "(cached
) $ac_c" 1>&6
20600 cat > conftest.$ac_ext <<EOF
20601 #line 20602 "configure
"
20602 #include "confdefs.h
"
20608 if { (eval echo configure:20609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20610 glibcxx_cv_func___builtin_fabs_link=yes
20612 echo "configure
: failed program was
:" >&5
20613 cat conftest.$ac_ext >&5
20615 glibcxx_cv_func___builtin_fabs_link=no
20622 echo "$ac_t""$glibcxx_cv_func___builtin_fabs_link" 1>&6
20623 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
20624 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20625 cat >> confdefs.h <<EOF
20626 #define ${ac_tr_func} 1
20633 echo $ac_n "checking
for __builtin_fabsl declaration
""...
$ac_c" 1>&6
20634 echo "configure
:20635: checking
for __builtin_fabsl declaration
" >&5
20635 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
20636 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
20637 echo $ac_n "(cached
) $ac_c" 1>&6
20642 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20643 ac_cpp='$CXXCPP $CPPFLAGS'
20644 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20645 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20646 cross_compiling=$ac_cv_prog_cxx_cross
20648 cat > conftest.$ac_ext <<EOF
20649 #line 20650 "configure
"
20650 #include "confdefs.h
"
20653 __builtin_fabsl(0);
20656 if { (eval echo configure:20657: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20658 glibcxx_cv_func___builtin_fabsl_use=yes
20660 echo "configure
: failed program was
:" >&5
20661 cat conftest.$ac_ext >&5
20663 glibcxx_cv_func___builtin_fabsl_use=no
20667 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20668 ac_cpp='$CPP $CPPFLAGS'
20669 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20670 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20671 cross_compiling=$ac_cv_prog_cc_cross
20677 echo "$ac_t""$glibcxx_cv_func___builtin_fabsl_use" 1>&6
20678 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
20679 echo $ac_n "checking
for __builtin_fabsl linkage
""...
$ac_c" 1>&6
20680 echo "configure
:20681: checking
for __builtin_fabsl linkage
" >&5
20681 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
20682 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
20683 echo $ac_n "(cached
) $ac_c" 1>&6
20686 cat > conftest.$ac_ext <<EOF
20687 #line 20688 "configure
"
20688 #include "confdefs.h
"
20691 __builtin_fabsl(0);
20694 if { (eval echo configure:20695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20696 glibcxx_cv_func___builtin_fabsl_link=yes
20698 echo "configure
: failed program was
:" >&5
20699 cat conftest.$ac_ext >&5
20701 glibcxx_cv_func___builtin_fabsl_link=no
20708 echo "$ac_t""$glibcxx_cv_func___builtin_fabsl_link" 1>&6
20709 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
20710 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20711 cat >> confdefs.h <<EOF
20712 #define ${ac_tr_func} 1
20719 echo $ac_n "checking
for __builtin_labs declaration
""...
$ac_c" 1>&6
20720 echo "configure
:20721: checking
for __builtin_labs declaration
" >&5
20721 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
20722 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_labs_use'+set}'`\" = set"; then
20723 echo $ac_n "(cached
) $ac_c" 1>&6
20728 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20729 ac_cpp='$CXXCPP $CPPFLAGS'
20730 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20731 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20732 cross_compiling=$ac_cv_prog_cxx_cross
20734 cat > conftest.$ac_ext <<EOF
20735 #line 20736 "configure
"
20736 #include "confdefs.h
"
20742 if { (eval echo configure:20743: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20744 glibcxx_cv_func___builtin_labs_use=yes
20746 echo "configure
: failed program was
:" >&5
20747 cat conftest.$ac_ext >&5
20749 glibcxx_cv_func___builtin_labs_use=no
20753 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20754 ac_cpp='$CPP $CPPFLAGS'
20755 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20756 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20757 cross_compiling=$ac_cv_prog_cc_cross
20763 echo "$ac_t""$glibcxx_cv_func___builtin_labs_use" 1>&6
20764 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
20765 echo $ac_n "checking
for __builtin_labs linkage
""...
$ac_c" 1>&6
20766 echo "configure
:20767: checking
for __builtin_labs linkage
" >&5
20767 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
20768 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_labs_link'+set}'`\" = set"; then
20769 echo $ac_n "(cached
) $ac_c" 1>&6
20772 cat > conftest.$ac_ext <<EOF
20773 #line 20774 "configure
"
20774 #include "confdefs.h
"
20780 if { (eval echo configure:20781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20782 glibcxx_cv_func___builtin_labs_link=yes
20784 echo "configure
: failed program was
:" >&5
20785 cat conftest.$ac_ext >&5
20787 glibcxx_cv_func___builtin_labs_link=no
20794 echo "$ac_t""$glibcxx_cv_func___builtin_labs_link" 1>&6
20795 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
20796 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20797 cat >> confdefs.h <<EOF
20798 #define ${ac_tr_func} 1
20806 echo $ac_n "checking
for __builtin_sqrtf declaration
""...
$ac_c" 1>&6
20807 echo "configure
:20808: checking
for __builtin_sqrtf declaration
" >&5
20808 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
20809 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
20810 echo $ac_n "(cached
) $ac_c" 1>&6
20815 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20816 ac_cpp='$CXXCPP $CPPFLAGS'
20817 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20818 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20819 cross_compiling=$ac_cv_prog_cxx_cross
20821 cat > conftest.$ac_ext <<EOF
20822 #line 20823 "configure
"
20823 #include "confdefs.h
"
20826 __builtin_sqrtf(0);
20829 if { (eval echo configure:20830: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20831 glibcxx_cv_func___builtin_sqrtf_use=yes
20833 echo "configure
: failed program was
:" >&5
20834 cat conftest.$ac_ext >&5
20836 glibcxx_cv_func___builtin_sqrtf_use=no
20840 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20841 ac_cpp='$CPP $CPPFLAGS'
20842 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20843 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20844 cross_compiling=$ac_cv_prog_cc_cross
20850 echo "$ac_t""$glibcxx_cv_func___builtin_sqrtf_use" 1>&6
20851 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
20852 echo $ac_n "checking
for __builtin_sqrtf linkage
""...
$ac_c" 1>&6
20853 echo "configure
:20854: checking
for __builtin_sqrtf linkage
" >&5
20854 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
20855 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
20856 echo $ac_n "(cached
) $ac_c" 1>&6
20859 cat > conftest.$ac_ext <<EOF
20860 #line 20861 "configure
"
20861 #include "confdefs.h
"
20864 __builtin_sqrtf(0);
20867 if { (eval echo configure:20868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20869 glibcxx_cv_func___builtin_sqrtf_link=yes
20871 echo "configure
: failed program was
:" >&5
20872 cat conftest.$ac_ext >&5
20874 glibcxx_cv_func___builtin_sqrtf_link=no
20881 echo "$ac_t""$glibcxx_cv_func___builtin_sqrtf_link" 1>&6
20882 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
20883 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20884 cat >> confdefs.h <<EOF
20885 #define ${ac_tr_func} 1
20892 echo $ac_n "checking
for __builtin_sqrt declaration
""...
$ac_c" 1>&6
20893 echo "configure
:20894: checking
for __builtin_sqrt declaration
" >&5
20894 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
20895 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
20896 echo $ac_n "(cached
) $ac_c" 1>&6
20901 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20902 ac_cpp='$CXXCPP $CPPFLAGS'
20903 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20904 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20905 cross_compiling=$ac_cv_prog_cxx_cross
20907 cat > conftest.$ac_ext <<EOF
20908 #line 20909 "configure
"
20909 #include "confdefs.h
"
20915 if { (eval echo configure:20916: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20917 glibcxx_cv_func___builtin_sqrt_use=yes
20919 echo "configure
: failed program was
:" >&5
20920 cat conftest.$ac_ext >&5
20922 glibcxx_cv_func___builtin_sqrt_use=no
20926 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20927 ac_cpp='$CPP $CPPFLAGS'
20928 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20929 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20930 cross_compiling=$ac_cv_prog_cc_cross
20936 echo "$ac_t""$glibcxx_cv_func___builtin_sqrt_use" 1>&6
20937 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
20938 echo $ac_n "checking
for __builtin_sqrt linkage
""...
$ac_c" 1>&6
20939 echo "configure
:20940: checking
for __builtin_sqrt linkage
" >&5
20940 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
20941 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
20942 echo $ac_n "(cached
) $ac_c" 1>&6
20945 cat > conftest.$ac_ext <<EOF
20946 #line 20947 "configure
"
20947 #include "confdefs.h
"
20953 if { (eval echo configure:20954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20955 glibcxx_cv_func___builtin_sqrt_link=yes
20957 echo "configure
: failed program was
:" >&5
20958 cat conftest.$ac_ext >&5
20960 glibcxx_cv_func___builtin_sqrt_link=no
20967 echo "$ac_t""$glibcxx_cv_func___builtin_sqrt_link" 1>&6
20968 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
20969 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20970 cat >> confdefs.h <<EOF
20971 #define ${ac_tr_func} 1
20978 echo $ac_n "checking
for __builtin_sqrtl declaration
""...
$ac_c" 1>&6
20979 echo "configure
:20980: checking
for __builtin_sqrtl declaration
" >&5
20980 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
20981 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
20982 echo $ac_n "(cached
) $ac_c" 1>&6
20987 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20988 ac_cpp='$CXXCPP $CPPFLAGS'
20989 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20990 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20991 cross_compiling=$ac_cv_prog_cxx_cross
20993 cat > conftest.$ac_ext <<EOF
20994 #line 20995 "configure
"
20995 #include "confdefs.h
"
20998 __builtin_sqrtl(0);
21001 if { (eval echo configure:21002: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21003 glibcxx_cv_func___builtin_sqrtl_use=yes
21005 echo "configure
: failed program was
:" >&5
21006 cat conftest.$ac_ext >&5
21008 glibcxx_cv_func___builtin_sqrtl_use=no
21012 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21013 ac_cpp='$CPP $CPPFLAGS'
21014 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21015 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21016 cross_compiling=$ac_cv_prog_cc_cross
21022 echo "$ac_t""$glibcxx_cv_func___builtin_sqrtl_use" 1>&6
21023 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
21024 echo $ac_n "checking
for __builtin_sqrtl linkage
""...
$ac_c" 1>&6
21025 echo "configure
:21026: checking
for __builtin_sqrtl linkage
" >&5
21026 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
21027 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
21028 echo $ac_n "(cached
) $ac_c" 1>&6
21031 cat > conftest.$ac_ext <<EOF
21032 #line 21033 "configure
"
21033 #include "confdefs.h
"
21036 __builtin_sqrtl(0);
21039 if { (eval echo configure:21040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21041 glibcxx_cv_func___builtin_sqrtl_link=yes
21043 echo "configure
: failed program was
:" >&5
21044 cat conftest.$ac_ext >&5
21046 glibcxx_cv_func___builtin_sqrtl_link=no
21053 echo "$ac_t""$glibcxx_cv_func___builtin_sqrtl_link" 1>&6
21054 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
21055 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21056 cat >> confdefs.h <<EOF
21057 #define ${ac_tr_func} 1
21065 echo $ac_n "checking
for __builtin_sinf declaration
""...
$ac_c" 1>&6
21066 echo "configure
:21067: checking
for __builtin_sinf declaration
" >&5
21067 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
21068 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_sinf_use'+set}'`\" = set"; then
21069 echo $ac_n "(cached
) $ac_c" 1>&6
21074 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21075 ac_cpp='$CXXCPP $CPPFLAGS'
21076 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21077 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21078 cross_compiling=$ac_cv_prog_cxx_cross
21080 cat > conftest.$ac_ext <<EOF
21081 #line 21082 "configure
"
21082 #include "confdefs.h
"
21088 if { (eval echo configure:21089: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21090 glibcxx_cv_func___builtin_sinf_use=yes
21092 echo "configure
: failed program was
:" >&5
21093 cat conftest.$ac_ext >&5
21095 glibcxx_cv_func___builtin_sinf_use=no
21099 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21100 ac_cpp='$CPP $CPPFLAGS'
21101 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21102 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21103 cross_compiling=$ac_cv_prog_cc_cross
21109 echo "$ac_t""$glibcxx_cv_func___builtin_sinf_use" 1>&6
21110 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
21111 echo $ac_n "checking
for __builtin_sinf linkage
""...
$ac_c" 1>&6
21112 echo "configure
:21113: checking
for __builtin_sinf linkage
" >&5
21113 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
21114 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_sinf_link'+set}'`\" = set"; then
21115 echo $ac_n "(cached
) $ac_c" 1>&6
21118 cat > conftest.$ac_ext <<EOF
21119 #line 21120 "configure
"
21120 #include "confdefs.h
"
21126 if { (eval echo configure:21127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21128 glibcxx_cv_func___builtin_sinf_link=yes
21130 echo "configure
: failed program was
:" >&5
21131 cat conftest.$ac_ext >&5
21133 glibcxx_cv_func___builtin_sinf_link=no
21140 echo "$ac_t""$glibcxx_cv_func___builtin_sinf_link" 1>&6
21141 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
21142 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21143 cat >> confdefs.h <<EOF
21144 #define ${ac_tr_func} 1
21151 echo $ac_n "checking
for __builtin_sin declaration
""...
$ac_c" 1>&6
21152 echo "configure
:21153: checking
for __builtin_sin declaration
" >&5
21153 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
21154 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_sin_use'+set}'`\" = set"; then
21155 echo $ac_n "(cached
) $ac_c" 1>&6
21160 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21161 ac_cpp='$CXXCPP $CPPFLAGS'
21162 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21163 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21164 cross_compiling=$ac_cv_prog_cxx_cross
21166 cat > conftest.$ac_ext <<EOF
21167 #line 21168 "configure
"
21168 #include "confdefs.h
"
21174 if { (eval echo configure:21175: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21176 glibcxx_cv_func___builtin_sin_use=yes
21178 echo "configure
: failed program was
:" >&5
21179 cat conftest.$ac_ext >&5
21181 glibcxx_cv_func___builtin_sin_use=no
21185 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21186 ac_cpp='$CPP $CPPFLAGS'
21187 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21188 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21189 cross_compiling=$ac_cv_prog_cc_cross
21195 echo "$ac_t""$glibcxx_cv_func___builtin_sin_use" 1>&6
21196 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
21197 echo $ac_n "checking
for __builtin_sin linkage
""...
$ac_c" 1>&6
21198 echo "configure
:21199: checking
for __builtin_sin linkage
" >&5
21199 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
21200 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_sin_link'+set}'`\" = set"; then
21201 echo $ac_n "(cached
) $ac_c" 1>&6
21204 cat > conftest.$ac_ext <<EOF
21205 #line 21206 "configure
"
21206 #include "confdefs.h
"
21212 if { (eval echo configure:21213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21214 glibcxx_cv_func___builtin_sin_link=yes
21216 echo "configure
: failed program was
:" >&5
21217 cat conftest.$ac_ext >&5
21219 glibcxx_cv_func___builtin_sin_link=no
21226 echo "$ac_t""$glibcxx_cv_func___builtin_sin_link" 1>&6
21227 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
21228 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21229 cat >> confdefs.h <<EOF
21230 #define ${ac_tr_func} 1
21237 echo $ac_n "checking
for __builtin_sinl declaration
""...
$ac_c" 1>&6
21238 echo "configure
:21239: checking
for __builtin_sinl declaration
" >&5
21239 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
21240 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_sinl_use'+set}'`\" = set"; then
21241 echo $ac_n "(cached
) $ac_c" 1>&6
21246 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21247 ac_cpp='$CXXCPP $CPPFLAGS'
21248 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21249 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21250 cross_compiling=$ac_cv_prog_cxx_cross
21252 cat > conftest.$ac_ext <<EOF
21253 #line 21254 "configure
"
21254 #include "confdefs.h
"
21260 if { (eval echo configure:21261: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21262 glibcxx_cv_func___builtin_sinl_use=yes
21264 echo "configure
: failed program was
:" >&5
21265 cat conftest.$ac_ext >&5
21267 glibcxx_cv_func___builtin_sinl_use=no
21271 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21272 ac_cpp='$CPP $CPPFLAGS'
21273 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21274 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21275 cross_compiling=$ac_cv_prog_cc_cross
21281 echo "$ac_t""$glibcxx_cv_func___builtin_sinl_use" 1>&6
21282 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
21283 echo $ac_n "checking
for __builtin_sinl linkage
""...
$ac_c" 1>&6
21284 echo "configure
:21285: checking
for __builtin_sinl linkage
" >&5
21285 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
21286 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_sinl_link'+set}'`\" = set"; then
21287 echo $ac_n "(cached
) $ac_c" 1>&6
21290 cat > conftest.$ac_ext <<EOF
21291 #line 21292 "configure
"
21292 #include "confdefs.h
"
21298 if { (eval echo configure:21299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21300 glibcxx_cv_func___builtin_sinl_link=yes
21302 echo "configure
: failed program was
:" >&5
21303 cat conftest.$ac_ext >&5
21305 glibcxx_cv_func___builtin_sinl_link=no
21312 echo "$ac_t""$glibcxx_cv_func___builtin_sinl_link" 1>&6
21313 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
21314 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21315 cat >> confdefs.h <<EOF
21316 #define ${ac_tr_func} 1
21324 echo $ac_n "checking
for __builtin_cosf declaration
""...
$ac_c" 1>&6
21325 echo "configure
:21326: checking
for __builtin_cosf declaration
" >&5
21326 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
21327 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_cosf_use'+set}'`\" = set"; then
21328 echo $ac_n "(cached
) $ac_c" 1>&6
21333 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21334 ac_cpp='$CXXCPP $CPPFLAGS'
21335 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21336 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21337 cross_compiling=$ac_cv_prog_cxx_cross
21339 cat > conftest.$ac_ext <<EOF
21340 #line 21341 "configure
"
21341 #include "confdefs.h
"
21347 if { (eval echo configure:21348: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21349 glibcxx_cv_func___builtin_cosf_use=yes
21351 echo "configure
: failed program was
:" >&5
21352 cat conftest.$ac_ext >&5
21354 glibcxx_cv_func___builtin_cosf_use=no
21358 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21359 ac_cpp='$CPP $CPPFLAGS'
21360 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21361 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21362 cross_compiling=$ac_cv_prog_cc_cross
21368 echo "$ac_t""$glibcxx_cv_func___builtin_cosf_use" 1>&6
21369 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
21370 echo $ac_n "checking
for __builtin_cosf linkage
""...
$ac_c" 1>&6
21371 echo "configure
:21372: checking
for __builtin_cosf linkage
" >&5
21372 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
21373 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_cosf_link'+set}'`\" = set"; then
21374 echo $ac_n "(cached
) $ac_c" 1>&6
21377 cat > conftest.$ac_ext <<EOF
21378 #line 21379 "configure
"
21379 #include "confdefs.h
"
21385 if { (eval echo configure:21386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21387 glibcxx_cv_func___builtin_cosf_link=yes
21389 echo "configure
: failed program was
:" >&5
21390 cat conftest.$ac_ext >&5
21392 glibcxx_cv_func___builtin_cosf_link=no
21399 echo "$ac_t""$glibcxx_cv_func___builtin_cosf_link" 1>&6
21400 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
21401 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21402 cat >> confdefs.h <<EOF
21403 #define ${ac_tr_func} 1
21410 echo $ac_n "checking
for __builtin_cos declaration
""...
$ac_c" 1>&6
21411 echo "configure
:21412: checking
for __builtin_cos declaration
" >&5
21412 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
21413 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_cos_use'+set}'`\" = set"; then
21414 echo $ac_n "(cached
) $ac_c" 1>&6
21419 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21420 ac_cpp='$CXXCPP $CPPFLAGS'
21421 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21422 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21423 cross_compiling=$ac_cv_prog_cxx_cross
21425 cat > conftest.$ac_ext <<EOF
21426 #line 21427 "configure
"
21427 #include "confdefs.h
"
21433 if { (eval echo configure:21434: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21435 glibcxx_cv_func___builtin_cos_use=yes
21437 echo "configure
: failed program was
:" >&5
21438 cat conftest.$ac_ext >&5
21440 glibcxx_cv_func___builtin_cos_use=no
21444 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21445 ac_cpp='$CPP $CPPFLAGS'
21446 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21447 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21448 cross_compiling=$ac_cv_prog_cc_cross
21454 echo "$ac_t""$glibcxx_cv_func___builtin_cos_use" 1>&6
21455 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
21456 echo $ac_n "checking
for __builtin_cos linkage
""...
$ac_c" 1>&6
21457 echo "configure
:21458: checking
for __builtin_cos linkage
" >&5
21458 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
21459 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_cos_link'+set}'`\" = set"; then
21460 echo $ac_n "(cached
) $ac_c" 1>&6
21463 cat > conftest.$ac_ext <<EOF
21464 #line 21465 "configure
"
21465 #include "confdefs.h
"
21471 if { (eval echo configure:21472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21473 glibcxx_cv_func___builtin_cos_link=yes
21475 echo "configure
: failed program was
:" >&5
21476 cat conftest.$ac_ext >&5
21478 glibcxx_cv_func___builtin_cos_link=no
21485 echo "$ac_t""$glibcxx_cv_func___builtin_cos_link" 1>&6
21486 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
21487 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21488 cat >> confdefs.h <<EOF
21489 #define ${ac_tr_func} 1
21496 echo $ac_n "checking
for __builtin_cosl declaration
""...
$ac_c" 1>&6
21497 echo "configure
:21498: checking
for __builtin_cosl declaration
" >&5
21498 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
21499 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_cosl_use'+set}'`\" = set"; then
21500 echo $ac_n "(cached
) $ac_c" 1>&6
21505 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21506 ac_cpp='$CXXCPP $CPPFLAGS'
21507 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21508 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21509 cross_compiling=$ac_cv_prog_cxx_cross
21511 cat > conftest.$ac_ext <<EOF
21512 #line 21513 "configure
"
21513 #include "confdefs.h
"
21519 if { (eval echo configure:21520: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21521 glibcxx_cv_func___builtin_cosl_use=yes
21523 echo "configure
: failed program was
:" >&5
21524 cat conftest.$ac_ext >&5
21526 glibcxx_cv_func___builtin_cosl_use=no
21530 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21531 ac_cpp='$CPP $CPPFLAGS'
21532 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21533 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21534 cross_compiling=$ac_cv_prog_cc_cross
21540 echo "$ac_t""$glibcxx_cv_func___builtin_cosl_use" 1>&6
21541 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
21542 echo $ac_n "checking
for __builtin_cosl linkage
""...
$ac_c" 1>&6
21543 echo "configure
:21544: checking
for __builtin_cosl linkage
" >&5
21544 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
21545 if eval "test \"`echo '$''{'glibcxx_cv_func___builtin_cosl_link'+set}'`\" = set"; then
21546 echo $ac_n "(cached
) $ac_c" 1>&6
21549 cat > conftest.$ac_ext <<EOF
21550 #line 21551 "configure
"
21551 #include "confdefs.h
"
21557 if { (eval echo configure:21558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21559 glibcxx_cv_func___builtin_cosl_link=yes
21561 echo "configure
: failed program was
:" >&5
21562 cat conftest.$ac_ext >&5
21564 glibcxx_cv_func___builtin_cosl_link=no
21571 echo "$ac_t""$glibcxx_cv_func___builtin_cosl_link" 1>&6
21572 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
21573 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21574 cat >> confdefs.h <<EOF
21575 #define ${ac_tr_func} 1
21583 if test x$dummyvar = x"yes"; then
21584 cat >> confdefs.h <<\EOF
21585 #define HAVE___BUILTIN_ABS 1
21588 cat >> confdefs.h <<\EOF
21589 #define HAVE___BUILTIN_LABS 1
21592 cat >> confdefs.h <<\EOF
21593 #define HAVE___BUILTIN_COS 1
21596 cat >> confdefs.h <<\EOF
21597 #define HAVE___BUILTIN_COSF 1
21600 cat >> confdefs.h <<\EOF
21601 #define HAVE___BUILTIN_COSL 1
21604 cat >> confdefs.h <<\EOF
21605 #define HAVE___BUILTIN_FABS 1
21608 cat >> confdefs.h <<\EOF
21609 #define HAVE___BUILTIN_FABSF 1
21612 cat >> confdefs.h <<\EOF
21613 #define HAVE___BUILTIN_FABSL 1
21616 cat >> confdefs.h <<\EOF
21617 #define HAVE___BUILTIN_SIN 1
21620 cat >> confdefs.h <<\EOF
21621 #define HAVE___BUILTIN_SINF 1
21624 cat >> confdefs.h <<\EOF
21625 #define HAVE___BUILTIN_SINL 1
21628 cat >> confdefs.h <<\EOF
21629 #define HAVE___BUILTIN_SQRT 1
21632 cat >> confdefs.h <<\EOF
21633 #define HAVE___BUILTIN_SQRTF 1
21636 cat >> confdefs.h <<\EOF
21637 #define HAVE___BUILTIN_SQRTL 1
21643 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
21644 echo "configure
:21645: checking
for main
in -lm" >&5
21645 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
21646 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
21647 echo $ac_n "(cached
) $ac_c" 1>&6
21649 ac_save_LIBS="$LIBS"
21651 cat > conftest.$ac_ext <<EOF
21652 #line 21653 "configure
"
21653 #include "confdefs.h
"
21659 if { (eval echo configure:21660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21661 eval "ac_cv_lib_
$ac_lib_var=yes"
21663 echo "configure
: failed program was
:" >&5
21664 cat conftest.$ac_ext >&5
21666 eval "ac_cv_lib_
$ac_lib_var=no
"
21669 LIBS="$ac_save_LIBS"
21672 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21673 echo "$ac_t""yes" 1>&6
21674 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
21675 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
21676 cat >> confdefs.h <<EOF
21677 #define $ac_tr_lib 1
21683 echo "$ac_t""no
" 1>&6
21686 for ac_func in nan copysignf
21688 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21689 echo "configure
:21690: checking
for $ac_func" >&5
21690 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21691 echo $ac_n "(cached
) $ac_c" 1>&6
21693 cat > conftest.$ac_ext <<EOF
21694 #line 21695 "configure
"
21695 #include "confdefs.h
"
21696 /* System header to define __stub macros and hopefully few prototypes,
21697 which can conflict with char $ac_func(); below. */
21698 #include <assert.h>
21699 /* Override any gcc2 internal prototype to avoid an error. */
21700 /* We use char because int might match the return type of a gcc2
21701 builtin and then its argument prototype would still apply. */
21706 /* The GNU C library defines this for functions which it implements
21707 to always fail with ENOSYS. Some functions are actually named
21708 something starting with __ and the normal name is an alias. */
21709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21717 if { (eval echo configure:21718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21719 eval "ac_cv_func_
$ac_func=yes"
21721 echo "configure
: failed program was
:" >&5
21722 cat conftest.$ac_ext >&5
21724 eval "ac_cv_func_
$ac_func=no
"
21729 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21730 echo "$ac_t""yes" 1>&6
21731 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21732 cat >> confdefs.h <<EOF
21733 #define $ac_tr_func 1
21737 echo "$ac_t""no
" 1>&6
21738 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
21743 for ac_func in __signbit
21745 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21746 echo "configure
:21747: checking
for $ac_func" >&5
21747 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21748 echo $ac_n "(cached
) $ac_c" 1>&6
21750 cat > conftest.$ac_ext <<EOF
21751 #line 21752 "configure
"
21752 #include "confdefs.h
"
21753 /* System header to define __stub macros and hopefully few prototypes,
21754 which can conflict with char $ac_func(); below. */
21755 #include <assert.h>
21756 /* Override any gcc2 internal prototype to avoid an error. */
21757 /* We use char because int might match the return type of a gcc2
21758 builtin and then its argument prototype would still apply. */
21763 /* The GNU C library defines this for functions which it implements
21764 to always fail with ENOSYS. Some functions are actually named
21765 something starting with __ and the normal name is an alias. */
21766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21774 if { (eval echo configure:21775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21776 eval "ac_cv_func_
$ac_func=yes"
21778 echo "configure
: failed program was
:" >&5
21779 cat conftest.$ac_ext >&5
21781 eval "ac_cv_func_
$ac_func=no
"
21786 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21787 echo "$ac_t""yes" 1>&6
21788 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21789 cat >> confdefs.h <<EOF
21790 #define $ac_tr_func 1
21794 echo "$ac_t""no
" 1>&6
21795 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
21799 for ac_func in __signbitf
21801 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21802 echo "configure
:21803: checking
for $ac_func" >&5
21803 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21804 echo $ac_n "(cached
) $ac_c" 1>&6
21806 cat > conftest.$ac_ext <<EOF
21807 #line 21808 "configure
"
21808 #include "confdefs.h
"
21809 /* System header to define __stub macros and hopefully few prototypes,
21810 which can conflict with char $ac_func(); below. */
21811 #include <assert.h>
21812 /* Override any gcc2 internal prototype to avoid an error. */
21813 /* We use char because int might match the return type of a gcc2
21814 builtin and then its argument prototype would still apply. */
21819 /* The GNU C library defines this for functions which it implements
21820 to always fail with ENOSYS. Some functions are actually named
21821 something starting with __ and the normal name is an alias. */
21822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21830 if { (eval echo configure:21831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21832 eval "ac_cv_func_
$ac_func=yes"
21834 echo "configure
: failed program was
:" >&5
21835 cat conftest.$ac_ext >&5
21837 eval "ac_cv_func_
$ac_func=no
"
21842 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21843 echo "$ac_t""yes" 1>&6
21844 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21845 cat >> confdefs.h <<EOF
21846 #define $ac_tr_func 1
21850 echo "$ac_t""no
" 1>&6
21851 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
21856 if test x$ac_cv_func_copysignl = x"yes"; then
21857 for ac_func in __signbitl
21859 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21860 echo "configure
:21861: checking
for $ac_func" >&5
21861 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21862 echo $ac_n "(cached
) $ac_c" 1>&6
21864 cat > conftest.$ac_ext <<EOF
21865 #line 21866 "configure
"
21866 #include "confdefs.h
"
21867 /* System header to define __stub macros and hopefully few prototypes,
21868 which can conflict with char $ac_func(); below. */
21869 #include <assert.h>
21870 /* Override any gcc2 internal prototype to avoid an error. */
21871 /* We use char because int might match the return type of a gcc2
21872 builtin and then its argument prototype would still apply. */
21877 /* The GNU C library defines this for functions which it implements
21878 to always fail with ENOSYS. Some functions are actually named
21879 something starting with __ and the normal name is an alias. */
21880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21888 if { (eval echo configure:21889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21890 eval "ac_cv_func_
$ac_func=yes"
21892 echo "configure
: failed program was
:" >&5
21893 cat conftest.$ac_ext >&5
21895 eval "ac_cv_func_
$ac_func=no
"
21900 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21901 echo "$ac_t""yes" 1>&6
21902 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21903 cat >> confdefs.h <<EOF
21904 #define $ac_tr_func 1
21908 echo "$ac_t""no
" 1>&6
21909 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
21915 if test -n "$LIBMATHOBJS"; then
21922 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
21923 echo "configure
:21924: checking
for mbstate_t
" >&5
21924 cat > conftest.$ac_ext <<EOF
21925 #line 21926 "configure
"
21926 #include "confdefs.h
"
21929 mbstate_t teststate;
21932 if { (eval echo configure:21933: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21936 echo "configure
: failed program was
:" >&5
21937 cat conftest.$ac_ext >&5
21942 echo "$ac_t""$have_mbstate_t" 1>&6
21943 if test x"$have_mbstate_t" = xyes; then
21944 cat >> confdefs.h <<\EOF
21945 #define HAVE_MBSTATE_T 1
21950 for ac_hdr in wchar.h
21952 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21953 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
21954 echo "configure
:21955: checking
for $ac_hdr" >&5
21955 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21956 echo $ac_n "(cached
) $ac_c" 1>&6
21958 cat > conftest.$ac_ext <<EOF
21959 #line 21960 "configure
"
21960 #include "confdefs.h
"
21963 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
21964 { (eval echo configure:21965: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21965 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
21966 if test -z "$ac_err"; then
21968 eval "ac_cv_header_
$ac_safe=yes"
21971 echo "configure
: failed program was
:" >&5
21972 cat conftest.$ac_ext >&5
21974 eval "ac_cv_header_
$ac_safe=no
"
21978 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21979 echo "$ac_t""yes" 1>&6
21980 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21981 cat >> confdefs.h <<EOF
21982 #define $ac_tr_hdr 1
21986 echo "$ac_t""no
" 1>&6
21991 for ac_hdr in wctype.h
21993 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21994 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
21995 echo "configure
:21996: checking
for $ac_hdr" >&5
21996 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21997 echo $ac_n "(cached
) $ac_c" 1>&6
21999 cat > conftest.$ac_ext <<EOF
22000 #line 22001 "configure
"
22001 #include "confdefs.h
"
22004 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22005 { (eval echo configure:22006: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22006 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22007 if test -z "$ac_err"; then
22009 eval "ac_cv_header_
$ac_safe=yes"
22012 echo "configure
: failed program was
:" >&5
22013 cat conftest.$ac_ext >&5
22015 eval "ac_cv_header_
$ac_safe=no
"
22019 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22020 echo "$ac_t""yes" 1>&6
22021 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22022 cat >> confdefs.h <<EOF
22023 #define $ac_tr_hdr 1
22025 ac_has_wctype_h=yes
22027 echo "$ac_t""no
" 1>&6
22033 if test x"$ac_has_wchar_h" = xyes &&
22034 test x"$ac_has_wctype_h" = xyes &&
22035 test x"$enable_c_mbchar" != xno; then
22037 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
22038 echo "configure
:22039: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
22039 cat > conftest.$ac_ext <<EOF
22040 #line 22041 "configure
"
22041 #include "confdefs.h
"
22044 int i = WCHAR_MIN; int j = WCHAR_MAX;
22047 if { (eval echo configure:22048: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22049 has_wchar_minmax=yes
22051 echo "configure
: failed program was
:" >&5
22052 cat conftest.$ac_ext >&5
22054 has_wchar_minmax=no
22057 echo "$ac_t""$has_wchar_minmax" 1>&6
22059 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
22060 echo "configure
:22061: checking
for WEOF
" >&5
22061 cat > conftest.$ac_ext <<EOF
22062 #line 22063 "configure
"
22063 #include "confdefs.h
"
22066 #include <stddef.h>
22071 if { (eval echo configure:22072: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22075 echo "configure
: failed program was
:" >&5
22076 cat conftest.$ac_ext >&5
22081 echo "$ac_t""$has_weof" 1>&6
22084 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
22086 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22087 echo "configure
:22088: checking
for $ac_func" >&5
22088 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22089 echo $ac_n "(cached
) $ac_c" 1>&6
22091 cat > conftest.$ac_ext <<EOF
22092 #line 22093 "configure
"
22093 #include "confdefs.h
"
22094 /* System header to define __stub macros and hopefully few prototypes,
22095 which can conflict with char $ac_func(); below. */
22096 #include <assert.h>
22097 /* Override any gcc2 internal prototype to avoid an error. */
22098 /* We use char because int might match the return type of a gcc2
22099 builtin and then its argument prototype would still apply. */
22104 /* The GNU C library defines this for functions which it implements
22105 to always fail with ENOSYS. Some functions are actually named
22106 something starting with __ and the normal name is an alias. */
22107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22115 if { (eval echo configure:22116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22117 eval "ac_cv_func_
$ac_func=yes"
22119 echo "configure
: failed program was
:" >&5
22120 cat conftest.$ac_ext >&5
22122 eval "ac_cv_func_
$ac_func=no
"
22127 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22128 echo "$ac_t""yes" 1>&6
22129 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22130 cat >> confdefs.h <<EOF
22131 #define $ac_tr_func 1
22135 echo "$ac_t""no
" 1>&6
22142 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
22143 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
22144 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
22145 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
22146 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
22147 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
22149 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22150 echo "configure
:22151: checking
for $ac_func" >&5
22151 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22152 echo $ac_n "(cached
) $ac_c" 1>&6
22154 cat > conftest.$ac_ext <<EOF
22155 #line 22156 "configure
"
22156 #include "confdefs.h
"
22157 /* System header to define __stub macros and hopefully few prototypes,
22158 which can conflict with char $ac_func(); below. */
22159 #include <assert.h>
22160 /* Override any gcc2 internal prototype to avoid an error. */
22161 /* We use char because int might match the return type of a gcc2
22162 builtin and then its argument prototype would still apply. */
22167 /* The GNU C library defines this for functions which it implements
22168 to always fail with ENOSYS. Some functions are actually named
22169 something starting with __ and the normal name is an alias. */
22170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22178 if { (eval echo configure:22179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22180 eval "ac_cv_func_
$ac_func=yes"
22182 echo "configure
: failed program was
:" >&5
22183 cat conftest.$ac_ext >&5
22185 eval "ac_cv_func_
$ac_func=no
"
22190 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22191 echo "$ac_t""yes" 1>&6
22192 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22193 cat >> confdefs.h <<EOF
22194 #define $ac_tr_func 1
22198 echo "$ac_t""no
" 1>&6
22205 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
22206 echo "configure
:22207: checking
for ISO C99 wchar_t support
" >&5
22207 if test x"$has_weof" = xyes &&
22208 test x"$has_wchar_minmax" = xyes &&
22209 test x"$ac_wfuncs" = xyes; then
22210 ac_isoC99_wchar_t=yes
22212 ac_isoC99_wchar_t=no
22214 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
22216 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
22217 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
22218 echo "configure
:22219: checking
for iconv.h
" >&5
22219 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22220 echo $ac_n "(cached
) $ac_c" 1>&6
22222 cat > conftest.$ac_ext <<EOF
22223 #line 22224 "configure
"
22224 #include "confdefs.h
"
22227 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22228 { (eval echo configure:22229: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22229 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22230 if test -z "$ac_err"; then
22232 eval "ac_cv_header_
$ac_safe=yes"
22235 echo "configure
: failed program was
:" >&5
22236 cat conftest.$ac_ext >&5
22238 eval "ac_cv_header_
$ac_safe=no
"
22242 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22243 echo "$ac_t""yes" 1>&6
22246 echo "$ac_t""no
" 1>&6
22250 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
22251 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
22252 echo "configure
:22253: checking
for langinfo.h
" >&5
22253 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22254 echo $ac_n "(cached
) $ac_c" 1>&6
22256 cat > conftest.$ac_ext <<EOF
22257 #line 22258 "configure
"
22258 #include "confdefs.h
"
22259 #include <langinfo.h>
22261 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22262 { (eval echo configure:22263: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22263 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22264 if test -z "$ac_err"; then
22266 eval "ac_cv_header_
$ac_safe=yes"
22269 echo "configure
: failed program was
:" >&5
22270 cat conftest.$ac_ext >&5
22272 eval "ac_cv_header_
$ac_safe=no
"
22276 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22277 echo "$ac_t""yes" 1>&6
22278 ac_has_langinfo_h=yes
22280 echo "$ac_t""no
" 1>&6
22281 ac_has_langinfo_h=no
22285 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
22286 echo "configure
:22287: checking
for iconv in -liconv" >&5
22287 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
22288 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
22289 echo $ac_n "(cached
) $ac_c" 1>&6
22291 ac_save_LIBS="$LIBS"
22292 LIBS="-liconv $LIBS"
22293 cat > conftest.$ac_ext <<EOF
22294 #line 22295 "configure
"
22295 #include "confdefs.h
"
22296 /* Override any gcc2 internal prototype to avoid an error. */
22297 /* We use char because int might match the return type of a gcc2
22298 builtin and then its argument prototype would still apply. */
22305 if { (eval echo configure:22306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22307 eval "ac_cv_lib_
$ac_lib_var=yes"
22309 echo "configure
: failed program was
:" >&5
22310 cat conftest.$ac_ext >&5
22312 eval "ac_cv_lib_
$ac_lib_var=no
"
22315 LIBS="$ac_save_LIBS"
22318 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
22319 echo "$ac_t""yes" 1>&6
22322 echo "$ac_t""no
" 1>&6
22325 ac_save_LIBS="$LIBS"
22326 LIBS="$LIBS $libiconv"
22328 for ac_func in iconv_open iconv_close iconv nl_langinfo
22330 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22331 echo "configure
:22332: checking
for $ac_func" >&5
22332 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22333 echo $ac_n "(cached
) $ac_c" 1>&6
22335 cat > conftest.$ac_ext <<EOF
22336 #line 22337 "configure
"
22337 #include "confdefs.h
"
22338 /* System header to define __stub macros and hopefully few prototypes,
22339 which can conflict with char $ac_func(); below. */
22340 #include <assert.h>
22341 /* Override any gcc2 internal prototype to avoid an error. */
22342 /* We use char because int might match the return type of a gcc2
22343 builtin and then its argument prototype would still apply. */
22348 /* The GNU C library defines this for functions which it implements
22349 to always fail with ENOSYS. Some functions are actually named
22350 something starting with __ and the normal name is an alias. */
22351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22359 if { (eval echo configure:22360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22361 eval "ac_cv_func_
$ac_func=yes"
22363 echo "configure
: failed program was
:" >&5
22364 cat conftest.$ac_ext >&5
22366 eval "ac_cv_func_
$ac_func=no
"
22371 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22372 echo "$ac_t""yes" 1>&6
22373 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22374 cat >> confdefs.h <<EOF
22375 #define $ac_tr_func 1
22380 echo "$ac_t""no
" 1>&6
22386 LIBS="$ac_save_LIBS"
22388 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
22389 echo "configure
:22390: checking
for XPG2 wchar_t support
" >&5
22390 if test x"$ac_has_iconv_h" = xyes &&
22391 test x"$ac_has_langinfo_h" = xyes &&
22392 test x"$ac_XPG2funcs" = xyes; then
22393 ac_XPG2_wchar_t=yes
22397 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
22399 if test x"$ac_isoC99_wchar_t" = xyes &&
22400 test x"$ac_XPG2_wchar_t" = xyes; then
22401 cat >> confdefs.h <<\EOF
22402 #define _GLIBCXX_USE_WCHAR_T 1
22408 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
22409 echo "configure
:22410: checking
for enabled wchar_t specializations
" >&5
22410 echo "$ac_t""$enable_wchar_t" 1>&6
22413 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22414 ac_save_CXXFLAGS="$CXXFLAGS"
22415 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22418 echo $ac_n "checking
for strtold declaration
""...
$ac_c" 1>&6
22419 echo "configure
:22420: checking
for strtold declaration
" >&5
22420 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
22421 if eval "test \"`echo '$''{'glibcxx_cv_func_strtold_use'+set}'`\" = set"; then
22422 echo $ac_n "(cached
) $ac_c" 1>&6
22427 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22428 ac_cpp='$CXXCPP $CPPFLAGS'
22429 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22430 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22431 cross_compiling=$ac_cv_prog_cxx_cross
22433 cat > conftest.$ac_ext <<EOF
22434 #line 22435 "configure
"
22435 #include "confdefs.h
"
22436 #include <stdlib.h>
22441 if { (eval echo configure:22442: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22443 glibcxx_cv_func_strtold_use=yes
22445 echo "configure
: failed program was
:" >&5
22446 cat conftest.$ac_ext >&5
22448 glibcxx_cv_func_strtold_use=no
22452 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22453 ac_cpp='$CPP $CPPFLAGS'
22454 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22455 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22456 cross_compiling=$ac_cv_prog_cc_cross
22462 echo "$ac_t""$glibcxx_cv_func_strtold_use" 1>&6
22463 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
22464 for ac_func in strtold
22466 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22467 echo "configure
:22468: checking
for $ac_func" >&5
22468 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22469 echo $ac_n "(cached
) $ac_c" 1>&6
22471 cat > conftest.$ac_ext <<EOF
22472 #line 22473 "configure
"
22473 #include "confdefs.h
"
22474 /* System header to define __stub macros and hopefully few prototypes,
22475 which can conflict with char $ac_func(); below. */
22476 #include <assert.h>
22477 /* Override any gcc2 internal prototype to avoid an error. */
22478 /* We use char because int might match the return type of a gcc2
22479 builtin and then its argument prototype would still apply. */
22484 /* The GNU C library defines this for functions which it implements
22485 to always fail with ENOSYS. Some functions are actually named
22486 something starting with __ and the normal name is an alias. */
22487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22495 if { (eval echo configure:22496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22497 eval "ac_cv_func_
$ac_func=yes"
22499 echo "configure
: failed program was
:" >&5
22500 cat conftest.$ac_ext >&5
22502 eval "ac_cv_func_
$ac_func=no
"
22507 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22508 echo "$ac_t""yes" 1>&6
22509 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22510 cat >> confdefs.h <<EOF
22511 #define $ac_tr_func 1
22515 echo "$ac_t""no
" 1>&6
22522 echo $ac_n "checking
for strtof declaration
""...
$ac_c" 1>&6
22523 echo "configure
:22524: checking
for strtof declaration
" >&5
22524 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
22525 if eval "test \"`echo '$''{'glibcxx_cv_func_strtof_use'+set}'`\" = set"; then
22526 echo $ac_n "(cached
) $ac_c" 1>&6
22531 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22532 ac_cpp='$CXXCPP $CPPFLAGS'
22533 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22534 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22535 cross_compiling=$ac_cv_prog_cxx_cross
22537 cat > conftest.$ac_ext <<EOF
22538 #line 22539 "configure
"
22539 #include "confdefs.h
"
22540 #include <stdlib.h>
22545 if { (eval echo configure:22546: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22547 glibcxx_cv_func_strtof_use=yes
22549 echo "configure
: failed program was
:" >&5
22550 cat conftest.$ac_ext >&5
22552 glibcxx_cv_func_strtof_use=no
22556 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22557 ac_cpp='$CPP $CPPFLAGS'
22558 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22559 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22560 cross_compiling=$ac_cv_prog_cc_cross
22566 echo "$ac_t""$glibcxx_cv_func_strtof_use" 1>&6
22567 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
22568 for ac_func in strtof
22570 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22571 echo "configure
:22572: checking
for $ac_func" >&5
22572 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22573 echo $ac_n "(cached
) $ac_c" 1>&6
22575 cat > conftest.$ac_ext <<EOF
22576 #line 22577 "configure
"
22577 #include "confdefs.h
"
22578 /* System header to define __stub macros and hopefully few prototypes,
22579 which can conflict with char $ac_func(); below. */
22580 #include <assert.h>
22581 /* Override any gcc2 internal prototype to avoid an error. */
22582 /* We use char because int might match the return type of a gcc2
22583 builtin and then its argument prototype would still apply. */
22588 /* The GNU C library defines this for functions which it implements
22589 to always fail with ENOSYS. Some functions are actually named
22590 something starting with __ and the normal name is an alias. */
22591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22599 if { (eval echo configure:22600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22601 eval "ac_cv_func_
$ac_func=yes"
22603 echo "configure
: failed program was
:" >&5
22604 cat conftest.$ac_ext >&5
22606 eval "ac_cv_func_
$ac_func=no
"
22611 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22612 echo "$ac_t""yes" 1>&6
22613 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22614 cat >> confdefs.h <<EOF
22615 #define $ac_tr_func 1
22619 echo "$ac_t""no
" 1>&6
22625 for ac_func in drand48
22627 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22628 echo "configure
:22629: checking
for $ac_func" >&5
22629 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22630 echo $ac_n "(cached
) $ac_c" 1>&6
22632 cat > conftest.$ac_ext <<EOF
22633 #line 22634 "configure
"
22634 #include "confdefs.h
"
22635 /* System header to define __stub macros and hopefully few prototypes,
22636 which can conflict with char $ac_func(); below. */
22637 #include <assert.h>
22638 /* Override any gcc2 internal prototype to avoid an error. */
22639 /* We use char because int might match the return type of a gcc2
22640 builtin and then its argument prototype would still apply. */
22645 /* The GNU C library defines this for functions which it implements
22646 to always fail with ENOSYS. Some functions are actually named
22647 something starting with __ and the normal name is an alias. */
22648 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22656 if { (eval echo configure:22657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22658 eval "ac_cv_func_
$ac_func=yes"
22660 echo "configure
: failed program was
:" >&5
22661 cat conftest.$ac_ext >&5
22663 eval "ac_cv_func_
$ac_func=no
"
22668 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22669 echo "$ac_t""yes" 1>&6
22670 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22671 cat >> confdefs.h <<EOF
22672 #define $ac_tr_func 1
22676 echo "$ac_t""no
" 1>&6
22681 CXXFLAGS="$ac_save_CXXFLAGS"
22684 # For showmanyc_helper().
22685 for ac_hdr in sys/ioctl.h sys/filio.h
22687 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22688 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
22689 echo "configure
:22690: checking
for $ac_hdr" >&5
22690 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22691 echo $ac_n "(cached
) $ac_c" 1>&6
22693 cat > conftest.$ac_ext <<EOF
22694 #line 22695 "configure
"
22695 #include "confdefs.h
"
22698 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22699 { (eval echo configure:22700: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22700 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22701 if test -z "$ac_err"; then
22703 eval "ac_cv_header_
$ac_safe=yes"
22706 echo "configure
: failed program was
:" >&5
22707 cat conftest.$ac_ext >&5
22709 eval "ac_cv_header_
$ac_safe=no
"
22713 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22714 echo "$ac_t""yes" 1>&6
22715 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22716 cat >> confdefs.h <<EOF
22717 #define $ac_tr_hdr 1
22721 echo "$ac_t""no
" 1>&6
22726 if eval "test \"`echo '$''{'glibcxx_cv_POLL'+set}'`\" = set"; then
22727 echo $ac_n "(cached
) $ac_c" 1>&6
22730 cat > conftest.$ac_ext <<EOF
22731 #line 22732 "configure
"
22732 #include "confdefs.h
"
22735 struct pollfd pfd[1]; pfd[0].events = POLLIN; poll(pfd, 1, 0);
22738 if { (eval echo configure:22739: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22740 glibcxx_cv_POLL=yes
22742 echo "configure
: failed program was
:" >&5
22743 cat conftest.$ac_ext >&5
22751 if test x$glibcxx_cv_POLL = xyes; then
22752 cat >> confdefs.h <<\EOF
22753 #define HAVE_POLL 1
22759 if eval "test \"`echo '$''{'glibcxx_cv_S_ISREG'+set}'`\" = set"; then
22760 echo $ac_n "(cached
) $ac_c" 1>&6
22763 cat > conftest.$ac_ext <<EOF
22764 #line 22765 "configure
"
22765 #include "confdefs.h
"
22766 #include <sys/stat.h>
22768 struct stat buffer; fstat(0, &buffer); S_ISREG(buffer.st_mode);
22771 if { (eval echo configure:22772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22773 glibcxx_cv_S_ISREG=yes
22775 echo "configure
: failed program was
:" >&5
22776 cat conftest.$ac_ext >&5
22778 glibcxx_cv_S_ISREG=no
22784 if eval "test \"`echo '$''{'glibcxx_cv_S_IFREG'+set}'`\" = set"; then
22785 echo $ac_n "(cached
) $ac_c" 1>&6
22788 cat > conftest.$ac_ext <<EOF
22789 #line 22790 "configure
"
22790 #include "confdefs.h
"
22791 #include <sys/stat.h>
22793 struct stat buffer; fstat(0, &buffer); S_IFREG & buffer.st_mode;
22796 if { (eval echo configure:22797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22798 glibcxx_cv_S_IFREG=yes
22800 echo "configure
: failed program was
:" >&5
22801 cat conftest.$ac_ext >&5
22803 glibcxx_cv_S_IFREG=no
22809 if test x$glibcxx_cv_S_ISREG = xyes; then
22810 cat >> confdefs.h <<\EOF
22811 #define HAVE_S_ISREG 1
22814 elif test x$glibcxx_cv_S_IFREG = xyes; then
22815 cat >> confdefs.h <<\EOF
22816 #define HAVE_S_IFREG 1
22823 ac_safe=`echo "locale.h
" | sed 'y%./+-%__p_%'`
22824 echo $ac_n "checking
for locale.h
""...
$ac_c" 1>&6
22825 echo "configure
:22826: checking
for locale.h
" >&5
22826 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22827 echo $ac_n "(cached
) $ac_c" 1>&6
22829 cat > conftest.$ac_ext <<EOF
22830 #line 22831 "configure
"
22831 #include "confdefs.h
"
22832 #include <locale.h>
22834 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22835 { (eval echo configure:22836: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22836 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22837 if test -z "$ac_err"; then
22839 eval "ac_cv_header_
$ac_safe=yes"
22842 echo "configure
: failed program was
:" >&5
22843 cat conftest.$ac_ext >&5
22845 eval "ac_cv_header_
$ac_safe=no
"
22849 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22850 echo "$ac_t""yes" 1>&6
22852 echo $ac_n "checking
for LC_MESSAGES
""...
$ac_c" 1>&6
22853 echo "configure
:22854: checking
for LC_MESSAGES
" >&5
22854 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
22855 echo $ac_n "(cached
) $ac_c" 1>&6
22857 cat > conftest.$ac_ext <<EOF
22858 #line 22859 "configure
"
22859 #include "confdefs.h
"
22860 #include <locale.h>
22865 if { (eval echo configure:22866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22867 ac_cv_val_LC_MESSAGES=yes
22869 echo "configure
: failed program was
:" >&5
22870 cat conftest.$ac_ext >&5
22872 ac_cv_val_LC_MESSAGES=no
22877 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
22878 if test $ac_cv_val_LC_MESSAGES = yes; then
22879 cat >> confdefs.h <<\EOF
22880 #define HAVE_LC_MESSAGES 1
22886 echo "$ac_t""no
" 1>&6
22891 cat > conftest.$ac_ext <<EOF
22892 #line 22893 "configure
"
22893 #include "confdefs.h
"
22895 #include <setjmp.h>
22898 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
22901 if { (eval echo configure:22902: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22903 cat >> confdefs.h <<\EOF
22904 #define HAVE_SIGSETJMP 1
22909 echo "configure
: failed program was
:" >&5
22910 cat conftest.$ac_ext >&5
22914 for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h
22916 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22917 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
22918 echo "configure
:22919: checking
for $ac_hdr" >&5
22919 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22920 echo $ac_n "(cached
) $ac_c" 1>&6
22922 cat > conftest.$ac_ext <<EOF
22923 #line 22924 "configure
"
22924 #include "confdefs.h
"
22927 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22928 { (eval echo configure:22929: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22929 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22930 if test -z "$ac_err"; then
22932 eval "ac_cv_header_
$ac_safe=yes"
22935 echo "configure
: failed program was
:" >&5
22936 cat conftest.$ac_ext >&5
22938 eval "ac_cv_header_
$ac_safe=no
"
22942 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22943 echo "$ac_t""yes" 1>&6
22944 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22945 cat >> confdefs.h <<EOF
22946 #define $ac_tr_hdr 1
22950 echo "$ac_t""no
" 1>&6
22954 for ac_func in getpagesize
22956 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22957 echo "configure
:22958: checking
for $ac_func" >&5
22958 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22959 echo $ac_n "(cached
) $ac_c" 1>&6
22961 cat > conftest.$ac_ext <<EOF
22962 #line 22963 "configure
"
22963 #include "confdefs.h
"
22964 /* System header to define __stub macros and hopefully few prototypes,
22965 which can conflict with char $ac_func(); below. */
22966 #include <assert.h>
22967 /* Override any gcc2 internal prototype to avoid an error. */
22968 /* We use char because int might match the return type of a gcc2
22969 builtin and then its argument prototype would still apply. */
22974 /* The GNU C library defines this for functions which it implements
22975 to always fail with ENOSYS. Some functions are actually named
22976 something starting with __ and the normal name is an alias. */
22977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22985 if { (eval echo configure:22986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22987 eval "ac_cv_func_
$ac_func=yes"
22989 echo "configure
: failed program was
:" >&5
22990 cat conftest.$ac_ext >&5
22992 eval "ac_cv_func_
$ac_func=no
"
22997 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22998 echo "$ac_t""yes" 1>&6
22999 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23000 cat >> confdefs.h <<EOF
23001 #define $ac_tr_func 1
23005 echo "$ac_t""no
" 1>&6
23009 echo $ac_n "checking
for working mmap
""...
$ac_c" 1>&6
23010 echo "configure
:23011: checking
for working mmap
" >&5
23011 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
23012 echo $ac_n "(cached
) $ac_c" 1>&6
23014 if test "$cross_compiling" = yes; then
23015 ac_cv_func_mmap_fixed_mapped=no
23017 cat > conftest.$ac_ext <<EOF
23018 #line 23019 "configure
"
23019 #include "confdefs.h
"
23021 /* Thanks to Mike Haertel and Jim Avera for this test.
23022 Here is a matrix of mmap possibilities:
23023 mmap private not fixed
23024 mmap private fixed at somewhere currently unmapped
23025 mmap private fixed at somewhere already mapped
23026 mmap shared not fixed
23027 mmap shared fixed at somewhere currently unmapped
23028 mmap shared fixed at somewhere already mapped
23029 For private mappings, we should verify that changes cannot be read()
23030 back from the file, nor mmap's back from the file at a different
23031 address. (There have been systems where private was not correctly
23032 implemented like the infamous i386 svr4.0, and systems where the
23033 VM page cache was not coherent with the filesystem buffer cache
23034 like early versions of FreeBSD and possibly contemporary NetBSD.)
23035 For shared mappings, we should conversely verify that changes get
23036 propogated back to all the places they're supposed to be.
23038 Grep wants private fixed already mapped.
23039 The main things grep needs to know about mmap are:
23040 * does it exist and is it safe to write into the mmap'd area
23041 * how to use it (BSD variants) */
23042 #include <sys/types.h>
23044 #include <sys/mman.h>
23046 #if HAVE_SYS_TYPES_H
23047 # include <sys/types.h>
23051 # include <stdlib.h>
23054 #if HAVE_SYS_STAT_H
23055 # include <sys/stat.h>
23059 # include <unistd.h>
23062 /* This mess was copied from the GNU getpagesize.h. */
23063 #ifndef HAVE_GETPAGESIZE
23065 /* Assume that all systems that can run configure have sys/param.h. */
23066 # ifndef HAVE_SYS_PARAM_H
23067 # define HAVE_SYS_PARAM_H 1
23070 # ifdef _SC_PAGESIZE
23071 # define getpagesize() sysconf(_SC_PAGESIZE)
23072 # else /* no _SC_PAGESIZE */
23073 # ifdef HAVE_SYS_PARAM_H
23074 # include <sys/param.h>
23075 # ifdef EXEC_PAGESIZE
23076 # define getpagesize() EXEC_PAGESIZE
23077 # else /* no EXEC_PAGESIZE */
23079 # define getpagesize() NBPG * CLSIZE
23082 # endif /* no CLSIZE */
23083 # else /* no NBPG */
23085 # define getpagesize() NBPC
23086 # else /* no NBPC */
23088 # define getpagesize() PAGESIZE
23089 # endif /* PAGESIZE */
23090 # endif /* no NBPC */
23091 # endif /* no NBPG */
23092 # endif /* no EXEC_PAGESIZE */
23093 # else /* no HAVE_SYS_PARAM_H */
23094 # define getpagesize() 8192 /* punt totally */
23095 # endif /* no HAVE_SYS_PARAM_H */
23096 # endif /* no _SC_PAGESIZE */
23098 #endif /* no HAVE_GETPAGESIZE */
23101 extern "C
" { void *malloc(unsigned); }
23109 char *data, *data2, *data3;
23113 pagesize = getpagesize();
23116 * First, make a file with some known garbage in it.
23118 data = malloc(pagesize);
23121 for (i = 0; i < pagesize; ++i)
23122 *(data + i) = rand();
23124 fd = creat("conftestmmap
", 0600);
23127 if (write(fd, data, pagesize) != pagesize)
23132 * Next, try to mmap the file at a fixed address which
23133 * already has something else allocated at it. If we can,
23134 * also make sure that we see the same garbage.
23136 fd = open("conftestmmap
", O_RDWR);
23139 data2 = malloc(2 * pagesize);
23142 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
23143 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
23144 MAP_PRIVATE | MAP_FIXED, fd, 0L))
23146 for (i = 0; i < pagesize; ++i)
23147 if (*(data + i) != *(data2 + i))
23151 * Finally, make sure that changes to the mapped area
23152 * do not percolate back to the file as seen by read().
23153 * (This is a bug on some variants of i386 svr4.0.)
23155 for (i = 0; i < pagesize; ++i)
23156 *(data2 + i) = *(data2 + i) + 1;
23157 data3 = malloc(pagesize);
23160 if (read(fd, data3, pagesize) != pagesize)
23162 for (i = 0; i < pagesize; ++i)
23163 if (*(data + i) != *(data3 + i))
23166 unlink("conftestmmap
");
23171 if { (eval echo configure:23172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
23173 ac_cv_func_mmap_fixed_mapped=yes
23175 echo "configure
: failed program was
:" >&5
23176 cat conftest.$ac_ext >&5
23178 ac_cv_func_mmap_fixed_mapped=no
23185 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
23186 if test $ac_cv_func_mmap_fixed_mapped = yes; then
23187 cat >> confdefs.h <<\EOF
23188 #define HAVE_MMAP 1
23195 # This depends on GLIBCXX_CHECK_LINKER_FEATURES, but without it assumes no.
23196 # Check whether --enable-symvers or --disable-symvers was given.
23197 if test "${enable_symvers+set}" = set; then
23198 enableval="$enable_symvers"
23199 case "$enableval" in
23200 yes) enable_symvers=yes ;;
23201 no) enable_symvers=no ;;
23202 # other names here, just as sanity checks
23203 #gnu|sun|etcetera) enable_symvers=$enableval ;;
23204 gnu) enable_symvers=$enableval ;;
23205 *) { echo "configure
: error
: Unknown argument to enable
/disable symvers
" 1>&2; exit 1; } ;;
23211 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
23212 # don't know enough about $LD to do tricks...
23213 if test x$enable_shared = xno ||
23215 test x$glibcxx_gnu_ld_version = x; then
23219 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
23220 if test $enable_symvers != no; then
23221 echo $ac_n "checking
for shared libgcc
""...
$ac_c" 1>&6
23222 echo "configure
:23223: checking
for shared libgcc
" >&5
23223 ac_save_CFLAGS="$CFLAGS"
23225 cat > conftest.$ac_ext <<EOF
23226 #line 23227 "configure
"
23227 #include "confdefs.h
"
23233 if { (eval echo configure:23234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23235 glibcxx_shared_libgcc=yes
23237 echo "configure
: failed program was
:" >&5
23238 cat conftest.$ac_ext >&5
23240 glibcxx_shared_libgcc=no
23243 CFLAGS="$ac_save_CFLAGS"
23244 echo "$ac_t""$glibcxx_shared_libgcc" 1>&6
23247 # For GNU ld, we need at least this version. It's 2.12 in the same format
23248 # as the tested-for version. See GLIBCXX_CHECK_LINKER_FEATURES for more.
23249 glibcxx_min_gnu_ld_version=21200
23251 # Check to see if unspecified "yes" value can win, given results
23253 if test $enable_symvers = yes ; then
23254 if test $with_gnu_ld = yes &&
23255 test $glibcxx_shared_libgcc = yes ;
23257 if test $glibcxx_gnu_ld_version -ge $glibcxx_min_gnu_ld_version ; then
23260 ac_test_CFLAGS="${CFLAGS+set}"
23261 ac_save_CFLAGS="$CFLAGS"
23262 CFLAGS='-shared -Wl,--version-script,conftest.map'
23265 echo 'FOO { global: f[a-z]o; local: *; };' > conftest.map
23267 cat > conftest.$ac_ext <<EOF
23268 #line 23269 "configure
"
23269 #include "confdefs.h
"
23275 if { (eval echo configure:23276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23279 echo "configure
: failed program was
:" >&5
23280 cat conftest.$ac_ext >&5
23283 if test "$ac_test_CFLAGS" = set; then
23284 CFLAGS="$ac_save_CFLAGS"
23286 # this is the suspicious part
23292 # just fail for now
23297 case $enable_symvers in
23299 SYMVER_MAP=config/linker-map.dummy
23302 SYMVER_MAP=config/linker-map.gnu
23303 cat >> confdefs.h <<\EOF
23304 #define _GLIBCXX_SYMVER 1
23313 if test $enable_symvers != no; then
23314 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE=
23315 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE='#'
23317 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE='#'
23318 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE=
23320 echo $ac_n "checking versioning on shared library symbols
""...
$ac_c" 1>&6
23321 echo "configure
:23322: checking versioning on shared library symbols
" >&5
23322 echo "$ac_t""$enable_symvers" 1>&6
23325 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_CROSS_COMPILING.
23328 if test x"$GLIBCXX_IS_CROSS_COMPILING" = xfalse; then
23329 # Do checks for memory limit functions.
23331 setrlimit_have_headers=yes
23332 for ac_hdr in unistd.h sys/time.h sys/resource.h
23334 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
23335 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
23336 echo "configure
:23337: checking
for $ac_hdr" >&5
23337 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
23338 echo $ac_n "(cached
) $ac_c" 1>&6
23340 cat > conftest.$ac_ext <<EOF
23341 #line 23342 "configure
"
23342 #include "confdefs.h
"
23345 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
23346 { (eval echo configure:23347: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
23347 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
23348 if test -z "$ac_err"; then
23350 eval "ac_cv_header_
$ac_safe=yes"
23353 echo "configure
: failed program was
:" >&5
23354 cat conftest.$ac_ext >&5
23356 eval "ac_cv_header_
$ac_safe=no
"
23360 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
23361 echo "$ac_t""yes" 1>&6
23362 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
23363 cat >> confdefs.h <<EOF
23364 #define $ac_tr_hdr 1
23368 echo "$ac_t""no
" 1>&6
23369 setrlimit_have_headers=no
23373 # If don't have the headers, then we can't run the tests now, and we
23374 # won't be seeing any of these during testsuite compilation.
23375 if test $setrlimit_have_headers = yes; then
23376 # Can't do these in a loop, else the resulting syntax is wrong.
23378 cat > conftest.$ac_ext <<EOF
23379 #line 23380 "configure
"
23380 #include "confdefs.h
"
23381 #include <unistd.h>
23382 #include <sys/time.h>
23383 #include <sys/resource.h>
23386 int f = RLIMIT_DATA ;
23389 if { (eval echo configure:23390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23393 echo "configure
: failed program was
:" >&5
23394 cat conftest.$ac_ext >&5
23399 cat >> confdefs.h <<EOF
23400 #define HAVE_MEMLIMIT_DATA $glibcxx_mresult
23405 cat > conftest.$ac_ext <<EOF
23406 #line 23407 "configure
"
23407 #include "confdefs.h
"
23408 #include <unistd.h>
23409 #include <sys/time.h>
23410 #include <sys/resource.h>
23413 int f = RLIMIT_RSS ;
23416 if { (eval echo configure:23417: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23420 echo "configure
: failed program was
:" >&5
23421 cat conftest.$ac_ext >&5
23426 cat >> confdefs.h <<EOF
23427 #define HAVE_MEMLIMIT_RSS $glibcxx_mresult
23432 cat > conftest.$ac_ext <<EOF
23433 #line 23434 "configure
"
23434 #include "confdefs.h
"
23435 #include <unistd.h>
23436 #include <sys/time.h>
23437 #include <sys/resource.h>
23440 int f = RLIMIT_VMEM ;
23443 if { (eval echo configure:23444: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23447 echo "configure
: failed program was
:" >&5
23448 cat conftest.$ac_ext >&5
23453 cat >> confdefs.h <<EOF
23454 #define HAVE_MEMLIMIT_VMEM $glibcxx_mresult
23459 cat > conftest.$ac_ext <<EOF
23460 #line 23461 "configure
"
23461 #include "confdefs.h
"
23462 #include <unistd.h>
23463 #include <sys/time.h>
23464 #include <sys/resource.h>
23467 int f = RLIMIT_AS ;
23470 if { (eval echo configure:23471: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23474 echo "configure
: failed program was
:" >&5
23475 cat conftest.$ac_ext >&5
23480 cat >> confdefs.h <<EOF
23481 #define HAVE_MEMLIMIT_AS $glibcxx_mresult
23486 # Check for rlimit, setrlimit.
23487 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
23488 echo $ac_n "(cached
) $ac_c" 1>&6
23491 cat > conftest.$ac_ext <<EOF
23492 #line 23493 "configure
"
23493 #include "confdefs.h
"
23494 #include <unistd.h>
23495 #include <sys/time.h>
23496 #include <sys/resource.h>
23499 struct rlimit r; setrlimit(0, &r);
23502 if { (eval echo configure:23503: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23506 echo "configure
: failed program was
:" >&5
23507 cat conftest.$ac_ext >&5
23517 echo $ac_n "checking
for testsuite memory limit support
""...
$ac_c" 1>&6
23518 echo "configure
:23519: checking
for testsuite memory limit support
" >&5
23519 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
23521 cat >> confdefs.h <<\EOF
23522 #define _GLIBCXX_MEM_LIMITS 1
23528 echo "$ac_t""$ac_mem_limits" 1>&6
23531 # Look for setenv, so that extended locale tests can be performed.
23533 echo $ac_n "checking
for setenv declaration
""...
$ac_c" 1>&6
23534 echo "configure
:23535: checking
for setenv declaration
" >&5
23535 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
23536 if eval "test \"`echo '$''{'glibcxx_cv_func_setenv_use'+set}'`\" = set"; then
23537 echo $ac_n "(cached
) $ac_c" 1>&6
23542 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
23543 ac_cpp='$CXXCPP $CPPFLAGS'
23544 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
23545 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23546 cross_compiling=$ac_cv_prog_cxx_cross
23548 cat > conftest.$ac_ext <<EOF
23549 #line 23550 "configure
"
23550 #include "confdefs.h
"
23551 #include <stdlib.h>
23556 if { (eval echo configure:23557: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23558 glibcxx_cv_func_setenv_use=yes
23560 echo "configure
: failed program was
:" >&5
23561 cat conftest.$ac_ext >&5
23563 glibcxx_cv_func_setenv_use=no
23567 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
23568 ac_cpp='$CPP $CPPFLAGS'
23569 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
23570 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23571 cross_compiling=$ac_cv_prog_cc_cross
23577 echo "$ac_t""$glibcxx_cv_func_setenv_use" 1>&6
23578 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
23579 for ac_func in setenv
23581 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
23582 echo "configure
:23583: checking
for $ac_func" >&5
23583 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
23584 echo $ac_n "(cached
) $ac_c" 1>&6
23586 cat > conftest.$ac_ext <<EOF
23587 #line 23588 "configure
"
23588 #include "confdefs.h
"
23589 /* System header to define __stub macros and hopefully few prototypes,
23590 which can conflict with char $ac_func(); below. */
23591 #include <assert.h>
23592 /* Override any gcc2 internal prototype to avoid an error. */
23593 /* We use char because int might match the return type of a gcc2
23594 builtin and then its argument prototype would still apply. */
23599 /* The GNU C library defines this for functions which it implements
23600 to always fail with ENOSYS. Some functions are actually named
23601 something starting with __ and the normal name is an alias. */
23602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23610 if { (eval echo configure:23611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23612 eval "ac_cv_func_
$ac_func=yes"
23614 echo "configure
: failed program was
:" >&5
23615 cat conftest.$ac_ext >&5
23617 eval "ac_cv_func_
$ac_func=no
"
23622 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
23623 echo "$ac_t""yes" 1>&6
23624 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23625 cat >> confdefs.h <<EOF
23626 #define $ac_tr_func 1
23630 echo "$ac_t""no
" 1>&6
23638 # Export file names for ABI checking.
23639 baseline_dir="${glibcxx_srcdir}/config
/abi
/${abi_baseline_pair}\$
(MULTISUBDIR
)"
23642 # Determine if checking the ABI is desirable.
23643 if test x$enable_symvers = xno; then
23644 enable_abi_check=no
23648 enable_abi_check=no ;;
23650 enable_abi_check=yes ;;
23656 if test "$enable_wchar_t" = yes; then
23657 GLIBCXX_TEST_WCHAR_T_TRUE=
23658 GLIBCXX_TEST_WCHAR_T_FALSE='#'
23660 GLIBCXX_TEST_WCHAR_T_TRUE='#'
23661 GLIBCXX_TEST_WCHAR_T_FALSE=
23665 if test "$enable_abi_check" = yes; then
23666 GLIBCXX_TEST_ABI_TRUE=
23667 GLIBCXX_TEST_ABI_FALSE='#'
23669 GLIBCXX_TEST_ABI_TRUE='#'
23670 GLIBCXX_TEST_ABI_FALSE=
23674 # Propagate the target-specific source directories through the build chain.
23675 # (Nothing currently uses cpu_include_dir directly; only ATOMICITYH
23676 # uses it, and it only gets used in this file.)
23677 ATOMICITY_INC_SRCDIR=config/${ATOMICITYH}
23678 OS_INC_SRCDIR=config/${os_include_dir}
23679 FPOS_INC_SRCDIR=config/${fpos_include_dir}
23685 # Determine cross-compile flags and all AM_CONDITIONALs.
23689 if test "$CANADIAN" = yes; then
23698 if test "$need_libmath" = yes; then
23699 GLIBCXX_BUILD_LIBMATH_TRUE=
23700 GLIBCXX_BUILD_LIBMATH_FALSE='#'
23702 GLIBCXX_BUILD_LIBMATH_TRUE='#'
23703 GLIBCXX_BUILD_LIBMATH_FALSE=
23706 cat > confcache <<\EOF
23707 # This file is a shell script that caches the results of configure
23708 # tests run on this system so they can be shared between configure
23709 # scripts and configure runs. It is not useful on other systems.
23710 # If it contains results you don't want to keep, you may remove or edit it.
23712 # By default, configure uses ./config.cache as the cache file,
23713 # creating it if it does not exist already. You can give configure
23714 # the --cache-file=FILE option to use a different cache file; that is
23715 # what configure does when it calls configure scripts in
23716 # subdirectories, so they share the cache.
23717 # Giving --cache-file=/dev/null disables caching, for debugging configure.
23718 # config.status only pays attention to the cache file if you give it the
23719 # --recheck option to rerun configure.
23722 # The following way of writing the cache mishandles newlines in values,
23723 # but we know of no workaround that is simple, portable, and efficient.
23724 # So, don't put newlines in cache variables' values.
23725 # Ultrix sh set writes to stderr and can't be redirected directly,
23726 # and sets the high bit in the cache file unless we assign to the vars.
23728 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23730 # `set' does not quote correctly, so add quotes (double-quote substitution
23731 # turns \\\\ into \\, and sed turns \\ into \).
23733 -e "s
/'/'\\\\''/g
" \
23734 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
23737 # `set' quotes correctly as required by POSIX, so do not add quotes.
23738 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
23741 if cmp -s $cache_file confcache; then
23744 if test -w $cache_file; then
23745 echo "updating cache
$cache_file"
23746 cat confcache > $cache_file
23748 echo "not updating unwritable cache
$cache_file"
23754 if test "${multilib}" = "yes"; then
23755 multilib_arg="--enable-multilib"
23760 # Export all the install information
23762 # Assumes glibcxx_builddir, glibcxx_srcdir are alreay set up and
23763 # exported correctly in GLIBCXX_CONFIGURE.
23764 glibcxx_toolexecdir=no
23765 glibcxx_toolexeclibdir=no
23766 glibcxx_prefixdir=${prefix}
23768 # Process the option --with-gxx-include-dir=<path to include-files directory>
23769 echo $ac_n "checking
for --with-gxx-include-dir""...
$ac_c" 1>&6
23770 echo "configure
:23771: checking
for --with-gxx-include-dir" >&5
23771 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
23772 if test "${with_gxx_include_dir+set}" = set; then
23773 withval="$with_gxx_include_dir"
23774 case "${withval}" in
23776 { echo "configure
: error
: Missing directory
for --with-gxx-include-dir" 1>&2; exit 1; }
23783 gxx_include_dir=${withval}
23790 echo "$ac_t""$gxx_include_dir" 1>&6
23792 # Process the option "--enable-version-specific-runtime-libs"
23793 echo $ac_n "checking
for --enable-version-specific-runtime-libs""...
$ac_c" 1>&6
23794 echo "configure
:23795: checking
for --enable-version-specific-runtime-libs" >&5
23795 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
23796 if test "${enable_version_specific_runtime_libs+set}" = set; then
23797 enableval="$enable_version_specific_runtime_libs"
23798 case "$enableval" in
23799 yes) version_specific_libs=yes ;;
23800 no) version_specific_libs=no ;;
23801 *) { echo "configure
: error
: Unknown argument to enable
/disable version-specific libs
" 1>&2; exit 1; };;
23804 version_specific_libs=no
23806 # Option set, now we can test it.
23807 echo "$ac_t""$version_specific_libs" 1>&6
23809 # Default case for install directory for include files.
23810 if test $version_specific_libs = no && test $gxx_include_dir = no; then
23811 gxx_include_dir='$(prefix)'/include/c++/${gcc_version}
23814 # Version-specific runtime libs processing.
23815 if test $version_specific_libs = yes; then
23816 # Need the gcc compiler version to know where to install libraries
23817 # and header files if --enable-version-specific-runtime-libs option
23819 if test x"$gxx_include_dir" = x"no
"; then
23820 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/c++
23822 glibcxx_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
23823 glibcxx_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
23826 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
23827 # Install a library built with a cross compiler in tooldir, not libdir.
23828 if test x"$glibcxx_toolexecdir" = x"no
"; then
23829 if test -n "$with_cross_host" &&
23830 test x"$with_cross_host" != x"no
"; then
23831 glibcxx_toolexecdir='$(exec_prefix)/$(target_alias)'
23832 glibcxx_toolexeclibdir='$(toolexecdir)/lib'
23834 glibcxx_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
23835 glibcxx_toolexeclibdir='$(libdir)'
23837 multi_os_directory=`$CC -print-multi-os-directory`
23838 case $multi_os_directory in
23839 .) ;; # Avoid trailing /.
23840 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
23844 echo $ac_n "checking
for install location
""...
$ac_c" 1>&6
23845 echo "configure
:23846: checking
for install location
" >&5
23846 echo "$ac_t""$gxx_include_dir" 1>&6
23854 # Export all the include and flag information to Makefiles.
23856 # Root level of the build directory include sources.
23857 GLIBCXX_INCLUDES="-I${glibcxx_builddir}/include/${target_alias} -I${glibcxx_builddir}/include
"
23859 # Passed down for canadian crosses.
23860 if test x"$CANADIAN" = xyes; then
23861 TOPLEVEL_INCLUDES='-I$(includedir)'
23864 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
23866 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
23868 # Now, export this to all the little Makefiles....
23875 # Optimization flags that are probably a good idea for thrill-seekers. Just
23876 # uncomment the lines below and make, everything else is ready to go...
23877 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
23881 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings'
23885 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
23886 grep "enable shared
" > /dev/null; then
23887 LIBSUPCXX_PICFLAGS=-prefer-pic
23889 LIBSUPCXX_PICFLAGS=
23893 # Generate the various Makefiles, include files, and scripts.
23894 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am,
23895 # libsupc++/Makefile.am and testsuite/Makefile.am so that multilib installs
23896 # will end up installed in the correct place. To work around this not being
23897 # passed # down from config-ml.in -> top_srcdir/Makefile.am ->
23898 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
23900 cat > confcache <<\EOF
23901 # This file is a shell script that caches the results of configure
23902 # tests run on this system so they can be shared between configure
23903 # scripts and configure runs. It is not useful on other systems.
23904 # If it contains results you don't want to keep, you may remove or edit it.
23906 # By default, configure uses ./config.cache as the cache file,
23907 # creating it if it does not exist already. You can give configure
23908 # the --cache-file=FILE option to use a different cache file; that is
23909 # what configure does when it calls configure scripts in
23910 # subdirectories, so they share the cache.
23911 # Giving --cache-file=/dev/null disables caching, for debugging configure.
23912 # config.status only pays attention to the cache file if you give it the
23913 # --recheck option to rerun configure.
23916 # The following way of writing the cache mishandles newlines in values,
23917 # but we know of no workaround that is simple, portable, and efficient.
23918 # So, don't put newlines in cache variables' values.
23919 # Ultrix sh set writes to stderr and can't be redirected directly,
23920 # and sets the high bit in the cache file unless we assign to the vars.
23922 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23924 # `set' does not quote correctly, so add quotes (double-quote substitution
23925 # turns \\\\ into \\, and sed turns \\ into \).
23927 -e "s
/'/'\\\\''/g
" \
23928 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
23931 # `set' quotes correctly as required by POSIX, so do not add quotes.
23932 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
23935 if cmp -s $cache_file confcache; then
23938 if test -w $cache_file; then
23939 echo "updating cache
$cache_file"
23940 cat confcache > $cache_file
23942 echo "not updating unwritable cache
$cache_file"
23947 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
23949 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
23950 # Let make expand exec_prefix.
23951 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
23953 # Any assignment to VPATH causes Sun make to only execute
23954 # the first set of double-colon rules, so remove it if not needed.
23955 # If there is a colon in the path, we need to keep it.
23956 if test "x
$srcdir" = x.; then
23957 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
23960 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
23962 DEFS=-DHAVE_CONFIG_H
23964 # Without the ".
/", some shells look in PATH for config.status.
23965 : ${CONFIG_STATUS=./config.status}
23967 echo creating $CONFIG_STATUS
23968 rm -f $CONFIG_STATUS
23969 cat > $CONFIG_STATUS <<EOF
23971 # Generated automatically by configure.
23972 # Run this file to recreate the current configuration.
23973 # This directory was configured as follows,
23974 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23976 # $0 $ac_configure_args
23978 # Compiler output produced by configure, useful for debugging
23979 # configure, is in ./config.log if it exists.
23981 ac_cs_usage="Usage
: $CONFIG_STATUS [--recheck] [--version] [--help]"
23984 case "\
$ac_option" in
23985 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23986 echo "running \
${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
23987 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
23988 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
23989 echo "$CONFIG_STATUS generated by autoconf version
2.13"
23991 -help | --help | --hel | --he | --h)
23992 echo "\
$ac_cs_usage"; exit 0 ;;
23993 *) echo "\
$ac_cs_usage"; exit 1 ;;
23997 ac_given_srcdir=$srcdir
23998 ac_given_INSTALL="$INSTALL"
24000 trap 'rm -fr `echo "Makefile \
24001 include
/Makefile src
/Makefile \
24002 libmath
/Makefile libsupc
++/Makefile \
24003 po
/Makefile testsuite
/Makefile
scripts
/check_survey
scripts
/testsuite_flags config.h
" | sed "s
/:[^
]*//g
"` conftest*; exit 1' 1 2 15
24005 cat >> $CONFIG_STATUS <<EOF
24007 # Protect against being on the right side of a sed subst in config.status.
24008 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
24009 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
24013 s%@CFLAGS@%$CFLAGS%g
24014 s%@CPPFLAGS@%$CPPFLAGS%g
24015 s%@CXXFLAGS@%$CXXFLAGS%g
24016 s%@FFLAGS@%$FFLAGS%g
24018 s%@LDFLAGS@%$LDFLAGS%g
24020 s%@exec_prefix@%$exec_prefix%g
24021 s%@prefix@%$prefix%g
24022 s%@program_transform_name@%$program_transform_name%g
24023 s%@bindir@%$bindir%g
24024 s%@sbindir@%$sbindir%g
24025 s%@libexecdir@%$libexecdir%g
24026 s%@datadir@%$datadir%g
24027 s%@sysconfdir@%$sysconfdir%g
24028 s%@sharedstatedir@%$sharedstatedir%g
24029 s%@localstatedir@%$localstatedir%g
24030 s%@libdir@%$libdir%g
24031 s%@includedir@%$includedir%g
24032 s%@oldincludedir@%$oldincludedir%g
24033 s%@infodir@%$infodir%g
24034 s%@mandir@%$mandir%g
24035 s%@PACKAGE@%$PACKAGE%g
24036 s%@libtool_VERSION@%$libtool_VERSION%g
24037 s%@toplevel_srcdir@%$toplevel_srcdir%g
24039 s%@host_alias@%$host_alias%g
24040 s%@host_cpu@%$host_cpu%g
24041 s%@host_vendor@%$host_vendor%g
24042 s%@host_os@%$host_os%g
24043 s%@target@%$target%g
24044 s%@target_alias@%$target_alias%g
24045 s%@target_cpu@%$target_cpu%g
24046 s%@target_vendor@%$target_vendor%g
24047 s%@target_os@%$target_os%g
24049 s%@build_alias@%$build_alias%g
24050 s%@build_cpu@%$build_cpu%g
24051 s%@build_vendor@%$build_vendor%g
24052 s%@build_os@%$build_os%g
24053 s%@glibcxx_builddir@%$glibcxx_builddir%g
24054 s%@glibcxx_srcdir@%$glibcxx_srcdir%g
24057 s%@glibcxx_basedir@%$glibcxx_basedir%g
24059 s%@glibcxx_CXX@%$glibcxx_CXX%g
24062 s%@RANLIB@%$RANLIB%g
24063 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
24064 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
24065 s%@INSTALL_DATA@%$INSTALL_DATA%g
24066 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
24067 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
24069 s%@EXEEXT@%$EXEEXT%g
24070 s%@VERSION@%$VERSION%g
24071 s%@ACLOCAL@%$ACLOCAL%g
24072 s%@AUTOCONF@%$AUTOCONF%g
24073 s%@AUTOMAKE@%$AUTOMAKE%g
24074 s%@AUTOHEADER@%$AUTOHEADER%g
24075 s%@MAKEINFO@%$MAKEINFO%g
24076 s%@SET_MAKE@%$SET_MAKE%g
24077 s%@OBJEXT@%$OBJEXT%g
24079 s%@LIBTOOL@%$LIBTOOL%g
24080 s%@CXXCPP@%$CXXCPP%g
24081 s%@enable_shared@%$enable_shared%g
24082 s%@enable_static@%$enable_static%g
24083 s%@ifGNUmake@%$ifGNUmake%g
24084 s%@LIBUNWIND_FLAG@%$LIBUNWIND_FLAG%g
24085 s%@GLIBCXX_BUILD_PCH_TRUE@%$GLIBCXX_BUILD_PCH_TRUE%g
24086 s%@GLIBCXX_BUILD_PCH_FALSE@%$GLIBCXX_BUILD_PCH_FALSE%g
24087 s%@glibcxx_PCHFLAGS@%$glibcxx_PCHFLAGS%g
24088 s%@CSTDIO_H@%$CSTDIO_H%g
24089 s%@FPOS_H@%$FPOS_H%g
24090 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
24091 s%@BASIC_FILE_CC@%$BASIC_FILE_CC%g
24093 s%@check_msgfmt@%$check_msgfmt%g
24094 s%@glibcxx_MOFILES@%$glibcxx_MOFILES%g
24095 s%@glibcxx_POFILES@%$glibcxx_POFILES%g
24096 s%@glibcxx_localedir@%$glibcxx_localedir%g
24097 s%@USE_NLS@%$USE_NLS%g
24098 s%@CLOCALE_H@%$CLOCALE_H%g
24099 s%@CCODECVT_H@%$CCODECVT_H%g
24100 s%@CMESSAGES_H@%$CMESSAGES_H%g
24101 s%@CCODECVT_CC@%$CCODECVT_CC%g
24102 s%@CCOLLATE_CC@%$CCOLLATE_CC%g
24103 s%@CCTYPE_CC@%$CCTYPE_CC%g
24104 s%@CMESSAGES_CC@%$CMESSAGES_CC%g
24105 s%@CMONEY_CC@%$CMONEY_CC%g
24106 s%@CNUMERIC_CC@%$CNUMERIC_CC%g
24107 s%@CTIME_H@%$CTIME_H%g
24108 s%@CTIME_CC@%$CTIME_CC%g
24109 s%@CLOCALE_CC@%$CLOCALE_CC%g
24110 s%@CLOCALE_INTERNAL_H@%$CLOCALE_INTERNAL_H%g
24111 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
24112 s%@GLIBCXX_C_HEADERS_C_TRUE@%$GLIBCXX_C_HEADERS_C_TRUE%g
24113 s%@GLIBCXX_C_HEADERS_C_FALSE@%$GLIBCXX_C_HEADERS_C_FALSE%g
24114 s%@GLIBCXX_C_HEADERS_C_STD_TRUE@%$GLIBCXX_C_HEADERS_C_STD_TRUE%g
24115 s%@GLIBCXX_C_HEADERS_C_STD_FALSE@%$GLIBCXX_C_HEADERS_C_STD_FALSE%g
24116 s%@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@%$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE%g
24117 s%@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@%$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE%g
24118 s%@glibcxx_thread_h@%$glibcxx_thread_h%g
24119 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
24120 s%@GLIBCXX_BUILD_DEBUG_TRUE@%$GLIBCXX_BUILD_DEBUG_TRUE%g
24121 s%@GLIBCXX_BUILD_DEBUG_FALSE@%$GLIBCXX_BUILD_DEBUG_FALSE%g
24122 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
24123 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
24124 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
24125 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
24126 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
24127 s%@WERROR@%$WERROR%g
24128 s%@SYMVER_MAP@%$SYMVER_MAP%g
24129 s%@GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE%g
24130 s%@GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE%g
24131 s%@baseline_dir@%$baseline_dir%g
24132 s%@GLIBCXX_TEST_WCHAR_T_TRUE@%$GLIBCXX_TEST_WCHAR_T_TRUE%g
24133 s%@GLIBCXX_TEST_WCHAR_T_FALSE@%$GLIBCXX_TEST_WCHAR_T_FALSE%g
24134 s%@GLIBCXX_TEST_ABI_TRUE@%$GLIBCXX_TEST_ABI_TRUE%g
24135 s%@GLIBCXX_TEST_ABI_FALSE@%$GLIBCXX_TEST_ABI_FALSE%g
24136 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
24137 s%@FPOS_INC_SRCDIR@%$FPOS_INC_SRCDIR%g
24138 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
24139 s%@GLIBCXX_IS_CROSS_COMPILING@%$GLIBCXX_IS_CROSS_COMPILING%g
24140 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
24141 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
24142 s%@GLIBCXX_BUILD_LIBMATH_TRUE@%$GLIBCXX_BUILD_LIBMATH_TRUE%g
24143 s%@GLIBCXX_BUILD_LIBMATH_FALSE@%$GLIBCXX_BUILD_LIBMATH_FALSE%g
24144 s%@glibcxx_prefixdir@%$glibcxx_prefixdir%g
24145 s%@gxx_include_dir@%$gxx_include_dir%g
24146 s%@glibcxx_toolexecdir@%$glibcxx_toolexecdir%g
24147 s%@glibcxx_toolexeclibdir@%$glibcxx_toolexeclibdir%g
24148 s%@GLIBCXX_INCLUDES@%$GLIBCXX_INCLUDES%g
24149 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
24150 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
24151 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
24152 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
24153 s%@WARN_FLAGS@%$WARN_FLAGS%g
24154 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
24159 cat >> $CONFIG_STATUS <<\EOF
24161 # Split the substitutions into bite-sized pieces for seds with
24162 # small command number limits, like on Digital OSF/1 and HP-UX.
24163 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
24164 ac_file=1 # Number of current file.
24165 ac_beg=1 # First line for current file.
24166 ac_end=$ac_max_sed_cmds # Line after last line for current file.
24169 while $ac_more_lines; do
24170 if test $ac_beg -gt 1; then
24171 sed "1,${ac_beg}d
; ${ac_end}q
" conftest.subs > conftest.s$ac_file
24173 sed "${ac_end}q
" conftest.subs > conftest.s$ac_file
24175 if test ! -s conftest.s$ac_file; then
24176 ac_more_lines=false
24177 rm -f conftest.s$ac_file
24179 if test -z "$ac_sed_cmds"; then
24180 ac_sed_cmds="sed -f conftest.s
$ac_file"
24182 ac_sed_cmds="$ac_sed_cmds |
sed -f conftest.s
$ac_file"
24184 ac_file=`expr $ac_file + 1`
24186 ac_end=`expr $ac_end + $ac_max_sed_cmds`
24189 if test -z "$ac_sed_cmds"; then
24194 cat >> $CONFIG_STATUS <<EOF
24196 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
24197 include
/Makefile src
/Makefile \
24198 libmath
/Makefile libsupc
++/Makefile \
24199 po
/Makefile testsuite
/Makefile
scripts
/check_survey
scripts
/testsuite_flags
"}
24201 cat >> $CONFIG_STATUS <<\EOF
24202 for ac_file in .. $CONFIG_FILES; do if test "x
$ac_file" != x..; then
24203 # Support "outfile
[:infile
[:infile...
]]", defaulting infile="outfile.
in".
24205 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
24206 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
24207 *) ac_file_in="${ac_file}.
in" ;;
24210 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
24212 # Remove last slash and all that follows it. Not all systems have dirname.
24213 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
24214 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
24215 # The file is in a subdirectory.
24216 test ! -d "$ac_dir" && mkdir "$ac_dir"
24217 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
24218 # A "..
/" for each directory in $ac_dir_suffix.
24219 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
24221 ac_dir_suffix= ac_dots=
24224 case "$ac_given_srcdir" in
24226 if test -z "$ac_dots"; then top_srcdir=.
24227 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
24228 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
24229 *) # Relative path.
24230 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
24231 top_srcdir="$ac_dots$ac_given_srcdir" ;;
24234 case "$ac_given_INSTALL" in
24235 [/$]*) INSTALL="$ac_given_INSTALL" ;;
24236 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
24239 echo creating "$ac_file"
24241 configure_input="Generated automatically from
`echo $ac_file_in|sed 's%.*/%%'` by configure.
"
24243 *Makefile*) ac_comsub="1i
\\
24244 # $configure_input" ;;
24248 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
24250 s%@configure_input@%$configure_input%g
24251 s%@srcdir@%$srcdir%g
24252 s%@top_srcdir@%$top_srcdir%g
24253 s%@INSTALL@%$INSTALL%g
24254 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
24258 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24259 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24261 # ac_d sets the value in "#define NAME VALUE" lines.
24262 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24263 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
24266 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
24267 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24268 ac_uB
='\([ ]\)%\1#\2define\3'
24271 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24272 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24273 ac_eB
='$%\1#\2define\3'
24277 if test "${CONFIG_HEADERS+set}" != set; then
24279 cat >> $CONFIG_STATUS <<EOF
24280 CONFIG_HEADERS="config.h"
24282 cat >> $CONFIG_STATUS <<\EOF
24284 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
24285 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24287 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
24288 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
24289 *) ac_file_in
="${ac_file}.in" ;;
24292 echo creating
$ac_file
24294 rm -f conftest.frag conftest.
in conftest.out
24295 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
24296 cat $ac_file_inputs > conftest.
in
24300 # Transform confdefs.h into a sed script conftest.vals that substitutes
24301 # the proper values into config.h.in to produce config.h. And first:
24302 # Protect against being on the right side of a sed subst in config.status.
24303 # Protect against being in an unquoted here document in config.status.
24304 rm -f conftest.vals
24305 cat > conftest.hdr
<<\EOF
24308 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
24312 sed -n -f conftest.hdr confdefs.h > conftest.vals
24315 # This sed command replaces #undef with comments. This is necessary, for
24316 # example, in the case of _POSIX_SOURCE, which is predefined and required
24317 # on some systems where configure will not decide to define it.
24318 cat >> conftest.vals <<\EOF
24319 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
24322 # Break up conftest.vals because some shells have a limit on
24323 # the size of here documents, and old seds have small limits too.
24325 rm -f conftest.tail
24328 ac_lines=`grep -c . conftest.vals
`
24329 # grep -c gives empty output for an empty file on some AIX systems.
24330 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
24331 # Write a limited-size here document to conftest.frag.
24332 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
24333 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
24335 sed -f conftest.frag conftest.in > conftest.out
24337 mv conftest.out conftest.in
24338 ' >> $CONFIG_STATUS
24339 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
24340 rm -f conftest.vals
24341 mv conftest.tail conftest.vals
24343 rm -f conftest.vals
24345 cat >> $CONFIG_STATUS <<\EOF
24346 rm -f conftest.frag conftest.h
24347 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
24348 cat conftest.in >> conftest.h
24350 if cmp -s $ac_file conftest.h 2>/dev/null; then
24351 echo "$ac_file is unchanged"
24354 # Remove last slash and all that follows it. Not all systems have dirname.
24355 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
24356 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
24357 # The file is in a subdirectory.
24358 test ! -d "$ac_dir" && mkdir "$ac_dir"
24361 mv conftest.h $ac_file
24366 cat >> $CONFIG_STATUS <<EOF
24371 with_target_subdir=${with_target_subdir}
24372 with_build_subdir=${with_build_subdir}
24373 with_multisubdir=${with_multisubdir}
24374 ac_configure_args="${multilib_arg} ${ac_configure_args}"
24375 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
24376 glibcxx_basedir=${glibcxx_basedir}
24379 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
24382 cat >> $CONFIG_STATUS <<\EOF
24383 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
24384 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
24385 if test -n "$CONFIG_FILES"; then
24386 if test -n "${with_build_subdir}" || test -n "${with_target_subdir}"; then
24387 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
24388 # Ony modify Makefiles that are just being created.
24389 case " $CONFIG_FILES" in
24391 ac_file=Makefile . ${glibcxx_basedir}/../config-ml.in
24394 case $CONFIG_FILES in
24396 grep '^MULTISUBDIR =' Makefile >> src/Makefile
24399 case $CONFIG_FILES in
24400 *libsupc++/Makefile*)
24401 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
24404 case $CONFIG_FILES in
24405 *testsuite/Makefile*)
24406 grep '^MULTISUBDIR =' Makefile >> testsuite/Makefile
24411 chmod +x scripts/check_survey
24412 chmod +x scripts/testsuite_flags
24415 chmod +x $CONFIG_STATUS
24416 rm -fr confdefs* $ac_clean_files
24417 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
24421 # Sanity checking & User-visible messages.
24422 # Checks down here, otherwise they get scrolled off before
24423 # the user will notice.
24425 # Trying to get more people to read documentation. Possibly remove
24426 # check and warn all the time. There is no "informational" AC_MSG_
24427 # macro, so these are going to be printed even when --quiet/--silent
24429 if test ! -f stamp-sanity-warned; then
24430 touch stamp-sanity-warned
24432 echo "Please make certain that you read the installation information here:"
24433 echo " faster => ${srcdir}/docs/html/install.html"
24434 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
24436 echo "and the configuration information here:"
24437 echo " faster => ${srcdir}/docs/html/configopts.html"
24438 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
24440 echo "before proceeding with ${_cv_gnu_make_command}."