3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.13
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
12 ac_default_prefix
=/usr
/local
13 # Any additions from configure.in:
15 --enable-multilib build hella library versions (default)"
17 --with-target-subdir=SUBDIR
18 configuring in a subdirectory"
20 --with-cross-host=HOST configuring with a cross compiler"
22 --enable-maintainer-mode enable make rules and dependencies not useful
23 (and sometimes confusing) to the casual installer"
25 --enable-shared[=PKGS] build shared libraries [default=yes]"
27 --enable-static[=PKGS] build static libraries [default=yes]"
29 --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
31 --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
33 --disable-libtool-lock avoid locking (might break parallel builds)"
35 --with-pic try to use only PIC/non-PIC objects [default=use both]"
37 --enable-debug extra debugging, turn off optimization [default=no]"
39 --enable-cstdio enable stdio for target io package.
40 --enable-cstdio=LIB use LIB target-speific io package. [default=stdio]
43 --enable-clocale enable model for target locale package.
44 --enable-clocale=MODEL use MODEL target-speific locale package. [default=generic]
47 --enable-nls use Native Language Support (default)"
49 --enable-c-mbchar enable multibyte (wide) characters [default=yes]"
51 --enable-c99 turns on 'ISO/IEC 9899:1999 support' [default=yes]"
53 --enable-long-long turns on 'long long' [default=yes]"
55 --enable-cheaders construct "C
" header files for g++ [default=c_std]"
57 --enable-cxx-flags=FLAGS pass compiler FLAGS when building library;
60 --enable-sjlj-exceptions force use of builtin_setjmp for exceptions"
62 --enable-libunwind-exceptions force use of libunwind for exceptions"
64 --enable-concept-checks use Boost-derived template checks [default=no]"
66 --enable-symvers=style enables symbol versioning of the shared library [default=yes]"
68 --with-gxx-include-dir the installation directory for include files"
70 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory "
72 # Initialize some variables set by options.
73 # The variables have the same names as the options, with
74 # dashes changed to underlines.
76 cache_file
=.
/config.cache
85 program_transform_name
=s
,x
,x
,
93 bindir
='${exec_prefix}/bin'
94 sbindir
='${exec_prefix}/sbin'
95 libexecdir
='${exec_prefix}/libexec'
96 datadir
='${prefix}/share'
97 sysconfdir
='${prefix}/etc'
98 sharedstatedir
='${prefix}/com'
99 localstatedir
='${prefix}/var'
100 libdir
='${exec_prefix}/lib'
101 includedir
='${prefix}/include'
102 oldincludedir
='/usr/include'
103 infodir
='${prefix}/info'
104 mandir
='${prefix}/man'
106 # Initialize some other variables.
109 SHELL
=${CONFIG_SHELL-/bin/sh}
110 # Maximum number of lines to put in a shell here document.
117 # If the previous option needs an argument, assign it.
118 if test -n "$ac_prev"; then
119 eval "$ac_prev=\$ac_option"
125 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
129 # Accept the important Cygnus configure options, so we can diagnose typos.
133 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
135 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
136 bindir
="$ac_optarg" ;;
138 -build |
--build |
--buil |
--bui |
--bu)
140 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
141 build
="$ac_optarg" ;;
143 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
144 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
145 ac_prev
=cache_file
;;
146 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
147 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
148 cache_file
="$ac_optarg" ;;
150 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
152 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
154 datadir
="$ac_optarg" ;;
156 -disable-* |
--disable-*)
157 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
158 # Reject names that are not valid shell variable names.
159 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
160 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
162 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
163 eval "enable_${ac_feature}=no" ;;
165 -enable-* |
--enable-*)
166 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
167 # Reject names that are not valid shell variable names.
168 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
169 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
171 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
176 eval "enable_${ac_feature}='$ac_optarg'" ;;
178 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
179 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
180 |
--exec |
--exe |
--ex)
181 ac_prev
=exec_prefix
;;
182 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
183 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
184 |
--exec=* |
--exe=* |
--ex=*)
185 exec_prefix
="$ac_optarg" ;;
187 -gas |
--gas |
--ga |
--g)
188 # Obsolete; use --with-gas.
191 -help |
--help |
--hel |
--he)
192 # Omit some internal or obsolete options to make the list less imposing.
193 # This message is too long to be a string in the A/UX 3.1 sh.
195 Usage: configure [options] [host]
196 Options: [defaults in brackets after descriptions]
198 --cache-file=FILE cache test results in FILE
199 --help print this message
200 --no-create do not create output files
201 --quiet, --silent do not print \`checking...' messages
202 --version print the version of autoconf that created configure
203 Directory and file names:
204 --prefix=PREFIX install architecture-independent files in PREFIX
206 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
208 --bindir=DIR user executables in DIR [EPREFIX/bin]
209 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
210 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
211 --datadir=DIR read-only architecture-independent data in DIR
213 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
214 --sharedstatedir=DIR modifiable architecture-independent data in DIR
216 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
217 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
218 --includedir=DIR C header files in DIR [PREFIX/include]
219 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
220 --infodir=DIR info documentation in DIR [PREFIX/info]
221 --mandir=DIR man documentation in DIR [PREFIX/man]
222 --srcdir=DIR find the sources in DIR [configure dir or ..]
223 --program-prefix=PREFIX prepend PREFIX to installed program names
224 --program-suffix=SUFFIX append SUFFIX to installed program names
225 --program-transform-name=PROGRAM
226 run sed PROGRAM on installed program names
230 --build=BUILD configure for building on BUILD [BUILD=HOST]
231 --host=HOST configure for HOST [guessed]
232 --target=TARGET configure for TARGET [TARGET=HOST]
233 Features and packages:
234 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
235 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
236 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
237 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
238 --x-includes=DIR X include files are in DIR
239 --x-libraries=DIR X library files are in DIR
241 if test -n "$ac_help"; then
242 echo "--enable and --with options recognized:$ac_help"
246 -host |
--host |
--hos |
--ho)
248 -host=* |
--host=* |
--hos=* |
--ho=*)
251 -includedir |
--includedir |
--includedi |
--included |
--include \
252 |
--includ |
--inclu |
--incl |
--inc)
253 ac_prev
=includedir
;;
254 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
255 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
256 includedir
="$ac_optarg" ;;
258 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
260 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
261 infodir
="$ac_optarg" ;;
263 -libdir |
--libdir |
--libdi |
--libd)
265 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
266 libdir
="$ac_optarg" ;;
268 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
269 |
--libexe |
--libex |
--libe)
270 ac_prev
=libexecdir
;;
271 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
272 |
--libexe=* |
--libex=* |
--libe=*)
273 libexecdir
="$ac_optarg" ;;
275 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
276 |
--localstate |
--localstat |
--localsta |
--localst \
277 |
--locals |
--local |
--loca |
--loc |
--lo)
278 ac_prev
=localstatedir
;;
279 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
280 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
281 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
282 localstatedir
="$ac_optarg" ;;
284 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
286 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
287 mandir
="$ac_optarg" ;;
290 # Obsolete; use --without-fp.
293 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
297 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
298 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
301 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
302 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
303 |
--oldin |
--oldi |
--old |
--ol |
--o)
304 ac_prev
=oldincludedir
;;
305 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
306 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
307 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
308 oldincludedir
="$ac_optarg" ;;
310 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
312 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
313 prefix
="$ac_optarg" ;;
315 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
316 |
--program-pre |
--program-pr |
--program-p)
317 ac_prev
=program_prefix
;;
318 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
319 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
320 program_prefix
="$ac_optarg" ;;
322 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
323 |
--program-suf |
--program-su |
--program-s)
324 ac_prev
=program_suffix
;;
325 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
326 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
327 program_suffix
="$ac_optarg" ;;
329 -program-transform-name |
--program-transform-name \
330 |
--program-transform-nam |
--program-transform-na \
331 |
--program-transform-n |
--program-transform- \
332 |
--program-transform |
--program-transfor \
333 |
--program-transfo |
--program-transf \
334 |
--program-trans |
--program-tran \
335 |
--progr-tra |
--program-tr |
--program-t)
336 ac_prev
=program_transform_name
;;
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 program_transform_name
="$ac_optarg" ;;
346 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
347 |
-silent |
--silent |
--silen |
--sile |
--sil)
350 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
352 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
354 sbindir
="$ac_optarg" ;;
356 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
357 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
358 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
360 ac_prev
=sharedstatedir
;;
361 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
362 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
363 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
365 sharedstatedir
="$ac_optarg" ;;
367 -site |
--site |
--sit)
369 -site=* |
--site=* |
--sit=*)
372 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
374 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
375 srcdir
="$ac_optarg" ;;
377 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
378 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
379 ac_prev
=sysconfdir
;;
380 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
381 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
382 sysconfdir
="$ac_optarg" ;;
384 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
386 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
387 target
="$ac_optarg" ;;
389 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
392 -version |
--version |
--versio |
--versi |
--vers)
393 echo "configure generated by autoconf version 2.13"
397 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
398 # Reject names that are not valid shell variable names.
399 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
400 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
402 ac_package
=`echo $ac_package| sed 's/-/_/g'`
407 eval "with_${ac_package}='$ac_optarg'" ;;
409 -without-* |
--without-*)
410 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
411 # Reject names that are not valid shell variable names.
412 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
413 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
415 ac_package
=`echo $ac_package| sed 's/-/_/g'`
416 eval "with_${ac_package}=no" ;;
419 # Obsolete; use --with-x.
422 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
423 |
--x-incl |
--x-inc |
--x-in |
--x-i)
424 ac_prev
=x_includes
;;
425 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
426 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
427 x_includes
="$ac_optarg" ;;
429 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
430 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
431 ac_prev
=x_libraries
;;
432 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
433 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
434 x_libraries
="$ac_optarg" ;;
436 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
440 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
441 echo "configure: warning: $ac_option: invalid host type" 1>&2
443 if test "x$nonopt" != xNONE
; then
444 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
452 if test -n "$ac_prev"; then
453 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
456 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
458 # File descriptor usage:
461 # 2 errors and warnings
462 # 3 some systems may open it to /dev/tty
463 # 4 used on the Kubota Titan
464 # 6 checking for... messages and results
465 # 5 compiler messages saved in config.log
466 if test "$silent" = yes; then
474 This file contains any messages produced by compilers while
475 running configure, to aid debugging if configure makes a mistake.
478 # Strip out --no-create and --no-recursion so they do not pile up.
479 # Also quote any args containing shell metacharacters.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c) ;;
486 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
487 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
488 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
489 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
490 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
495 # Only set these to C if already set. These must not be set unconditionally
496 # because not all systems understand e.g. LANG=C (notably SCO).
497 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
498 # Non-C LC_CTYPE values break the ctype check.
499 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
500 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
501 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
502 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
504 # confdefs.h avoids OS command line length limits that DEFS can exceed.
505 rm -rf conftest
* confdefs.h
506 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
509 # A filename unique to this package, relative to the directory that
510 # configure is in, which we can look for to find out if srcdir is correct.
511 ac_unique_file
=src
/ios.cc
513 # Find the source files, if location was not specified.
514 if test -z "$srcdir"; then
515 ac_srcdir_defaulted
=yes
516 # Try the directory containing this script, then its parent.
518 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
519 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
521 if test ! -r $srcdir/$ac_unique_file; then
525 ac_srcdir_defaulted
=no
527 if test ! -r $srcdir/$ac_unique_file; then
528 if test "$ac_srcdir_defaulted" = yes; then
529 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
531 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
534 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
536 # Prefer explicitly selected file to automatically selected ones.
537 if test -z "$CONFIG_SITE"; then
538 if test "x$prefix" != xNONE
; then
539 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
541 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
544 for ac_site_file
in $CONFIG_SITE; do
545 if test -r "$ac_site_file"; then
546 echo "loading site script $ac_site_file"
551 if test -r "$cache_file"; then
552 echo "loading cache $cache_file"
555 echo "creating cache $cache_file"
560 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
561 ac_cpp
='$CPP $CPPFLAGS'
562 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
563 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
564 cross_compiling
=$ac_cv_prog_cc_cross
568 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
569 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
570 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
577 ac_n
= ac_c
='\c' ac_t
=
582 # This works around the fact that libtool configuration may change LD
583 # for this particular configuration, but some shells, instead of
584 # keeping the changes in LD private, export them just because LD is
585 # exported. Only used at the end of this file.
586 ORIGINAL_LD_FOR_MULTILIBS
=$LD
590 # For libtool versioning info, format is CURRENT:REVISION:AGE
591 libtool_VERSION
=5:1:0
595 # Check whether --enable-multilib or --disable-multilib was given.
596 if test "${enable_multilib+set}" = set; then
597 enableval
="$enable_multilib"
598 case "${enableval}" in
601 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
607 # When building with srcdir == objdir, links to the source files will
608 # be created in directories within the target_subdir. We have to
609 # adjust toplevel_srcdir accordingly, so that configure finds
610 # install-sh and other auxiliary files that live in the top-level
612 if test "${srcdir}" = "."; then
613 if test -z "${with_target_subdir}"; then
616 if test "${with_target_subdir}" != "."; then
617 toprel
="${with_multisrctop}../.."
619 toprel
="${with_multisrctop}.."
626 for ac_dir
in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do
627 if test -f $ac_dir/install-sh
; then
629 ac_install_sh
="$ac_aux_dir/install-sh -c"
631 elif test -f $ac_dir/install.sh
; then
633 ac_install_sh
="$ac_aux_dir/install.sh -c"
637 if test -z "$ac_aux_dir"; then
638 { echo "configure: error: can not find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" 1>&2; exit 1; }
640 ac_config_guess=$ac_aux_dir/config.guess
641 ac_config_sub=$ac_aux_dir/config.sub
642 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
644 toplevel_srcdir=\${top_srcdir}/$toprel
648 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
650 # You will slowly go insane if you do not grok the following fact: when
651 # building v3 as part of the compiler, the top-level /target/ becomes the
652 # library's /host/. `configure' then causes --target to default to --host,
653 # exactly like any other package using autoconf. Therefore, 'target' and
654 # 'host' will always be the same. This makes sense both for native and
655 # cross compilers, just think about it for a little while. :-)
657 # Also, if v3 is being configured as part of a cross compiler, the top-level
658 # configure script will pass the "real
" host as $with_cross_host.
660 # AC 2.5x sets target_alias iff the user specified --target, but we use it
661 # everywhere, so we set it here just to be sure. In AC 2.13
662 # AC_CANONICAL_TARGET was known as AC_CANONICAL_SYSTEM.
664 # Do some error checking and defaulting for the host and target type.
666 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
669 # 1. You are not allowed to specify --host, --target, and nonopt at the
671 # 2. Host defaults to nonopt.
672 # 3. If nonopt is not specified, then host defaults to the current host,
673 # as determined by config.guess.
674 # 4. Target and build default to nonopt.
675 # 5. If nonopt is not specified, then target and build default to host.
677 # The aliases save the names the user supplied, while $host etc.
678 # will get canonicalized.
679 case $host---$target---$nonopt in
680 NONE---*---* | *---NONE---* | *---*---NONE) ;;
681 *) { echo "configure
: error
: can only configure
for one
host and one target
at a
time" 1>&2; exit 1; } ;;
685 # Make sure we can run config.sub.
686 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
687 else { echo "configure
: error
: can not run
$ac_config_sub" 1>&2; exit 1; }
690 echo $ac_n "checking
host system
type""...
$ac_c" 1>&6
691 echo "configure
:692: checking
host system
type" >&5
694 case "$host_alias" in
698 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
699 else { echo "configure
: error
: can not guess
host type; you must specify one
" 1>&2; exit 1; }
701 *) host_alias=$nonopt ;;
705 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
706 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
707 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
708 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
709 echo "$ac_t""$host" 1>&6
711 echo $ac_n "checking target system
type""...
$ac_c" 1>&6
712 echo "configure
:713: checking target system
type" >&5
715 case "$target_alias" in
718 NONE) target_alias=$host_alias ;;
719 *) target_alias=$nonopt ;;
723 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
724 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
725 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
726 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
727 echo "$ac_t""$target" 1>&6
729 echo $ac_n "checking build system
type""...
$ac_c" 1>&6
730 echo "configure
:731: checking build system
type" >&5
733 case "$build_alias" in
736 NONE) build_alias=$host_alias ;;
737 *) build_alias=$nonopt ;;
741 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
742 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
743 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
744 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
745 echo "$ac_t""$build" 1>&6
747 test "$host_alias" != "$target_alias" &&
748 test "$program_prefix$program_suffix$program_transform_name" = \
750 program_prefix=${target_alias}-
752 target_alias=${target_alias-$target}
755 # Runs configure.target, finds CC, CXX and assorted other critical bits.
756 # Must run this before the GLIBCPP_ENABLE_* macros below.
757 if test $host != $build; then
758 ac_tool_prefix=${host_alias}-
763 echo $ac_n "checking
for Cygwin environment
""...
$ac_c" 1>&6
764 echo "configure
:765: checking
for Cygwin environment
" >&5
765 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
766 echo $ac_n "(cached
) $ac_c" 1>&6
768 cat > conftest.$ac_ext <<EOF
769 #line 770 "configure
"
770 #include "confdefs.h
"
775 #define __CYGWIN__ __CYGWIN32__
780 if { (eval echo configure:781: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
784 echo "configure
: failed program was
:" >&5
785 cat conftest.$ac_ext >&5
793 echo "$ac_t""$ac_cv_cygwin" 1>&6
795 test "$ac_cv_cygwin" = yes && CYGWIN=yes
796 echo $ac_n "checking
for mingw32 environment
""...
$ac_c" 1>&6
797 echo "configure
:798: checking
for mingw32 environment
" >&5
798 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
799 echo $ac_n "(cached
) $ac_c" 1>&6
801 cat > conftest.$ac_ext <<EOF
802 #line 803 "configure
"
803 #include "confdefs.h
"
809 if { (eval echo configure:810: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
813 echo "configure
: failed program was
:" >&5
814 cat conftest.$ac_ext >&5
822 echo "$ac_t""$ac_cv_mingw32" 1>&6
824 test "$ac_cv_mingw32" = yes && MINGW32=yes
827 #possibly test for the presence of the compiler sources here?
829 # Export build and source directories.
830 # These need to be absolute paths, yet at the same time need to
831 # canonicalize only relative paths, because then amd will not unmount
832 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
833 glibcpp_builddir=`${PWDCMD-pwd}`
835 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
836 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
843 for ac_prog in mawk gawk nawk awk
845 # Extract the first word of "$ac_prog", so it can be a program name with args.
846 set dummy $ac_prog; ac_word=$2
847 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
848 echo "configure
:849: checking
for $ac_word" >&5
849 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
850 echo $ac_n "(cached
) $ac_c" 1>&6
852 if test -n "$AWK"; then
853 ac_cv_prog_AWK="$AWK" # Let the user override the test.
855 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
857 for ac_dir in $ac_dummy; do
858 test -z "$ac_dir" && ac_dir=.
859 if test -f $ac_dir/$ac_word; then
860 ac_cv_prog_AWK="$ac_prog"
867 AWK="$ac_cv_prog_AWK"
868 if test -n "$AWK"; then
869 echo "$ac_t""$AWK" 1>&6
871 echo "$ac_t""no
" 1>&6
874 test -n "$AWK" && break
877 # Will set LN_S to either 'ln -s' or 'ln'. With autoconf 2.5x, can also
878 # be 'cp -p' if linking isn't available. Uncomment the next line to
879 # force a particular method.
880 #ac_cv_prog_LN_S='cp -p'
881 echo $ac_n "checking whether
ln -s works
""...
$ac_c" 1>&6
882 echo "configure
:883: checking whether
ln -s works
" >&5
883 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
884 echo $ac_n "(cached
) $ac_c" 1>&6
887 if ln -s X conftestdata 2>/dev/null
890 ac_cv_prog_LN_S="ln -s"
895 LN_S="$ac_cv_prog_LN_S"
896 if test "$ac_cv_prog_LN_S" = "ln -s"; then
897 echo "$ac_t""yes" 1>&6
899 echo "$ac_t""no
" 1>&6
903 # We use these options to decide which functions to include.
904 # Check whether --with-target-subdir or --without-target-subdir was given.
905 if test "${with_target_subdir+set}" = set; then
906 withval="$with_target_subdir"
910 # Check whether --with-cross-host or --without-cross-host was given.
911 if test "${with_cross_host+set}" = set; then
912 withval="$with_cross_host"
917 glibcpp_basedir=$srcdir/$toprel/./libstdc++-v3
920 # Never versions of autoconf add an underscore to these functions.
921 # Prevent future problems ...
928 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
929 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
930 # are probably using a cross compiler, which will not be able to fully
931 # link an executable. This is addressed in later versions of autoconf.
936 # Extract the first word of "gcc
", so it can be a program name with args.
937 set dummy gcc; ac_word=$2
938 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
939 echo "configure
:940: checking
for $ac_word" >&5
940 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
941 echo $ac_n "(cached
) $ac_c" 1>&6
943 if test -n "$CC"; then
944 ac_cv_prog_CC="$CC" # Let the user override the test.
946 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
948 for ac_dir in $ac_dummy; do
949 test -z "$ac_dir" && ac_dir=.
950 if test -f $ac_dir/$ac_word; then
959 if test -n "$CC"; then
960 echo "$ac_t""$CC" 1>&6
962 echo "$ac_t""no
" 1>&6
965 if test -z "$CC"; then
966 # Extract the first word of "cc
", so it can be a program name with args.
967 set dummy cc; ac_word=$2
968 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
969 echo "configure
:970: checking
for $ac_word" >&5
970 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
971 echo $ac_n "(cached
) $ac_c" 1>&6
973 if test -n "$CC"; then
974 ac_cv_prog_CC="$CC" # Let the user override the test.
976 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
979 for ac_dir in $ac_dummy; do
980 test -z "$ac_dir" && ac_dir=.
981 if test -f $ac_dir/$ac_word; then
982 if test "$ac_dir/$ac_word" = "/usr
/ucb
/cc
"; then
991 if test $ac_prog_rejected = yes; then
992 # We found a bogon in the path, so make sure we never use it.
993 set dummy $ac_cv_prog_CC
995 if test $# -gt 0; then
996 # We chose a different compiler from the bogus one.
997 # However, it has the same basename, so the bogon will be chosen
998 # first if we set CC to just the basename; use the full file name.
1000 set dummy "$ac_dir/$ac_word" "$@
"
1008 if test -n "$CC"; then
1009 echo "$ac_t""$CC" 1>&6
1011 echo "$ac_t""no
" 1>&6
1014 test -z "$CC" && { echo "configure
: error
: no acceptable cc found
in \
$PATH" 1>&2; exit 1; }
1017 echo $ac_n "checking whether we are using GNU C
""...
$ac_c" 1>&6
1018 echo "configure
:1019: checking whether we are using GNU C
" >&5
1019 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1020 echo $ac_n "(cached
) $ac_c" 1>&6
1022 cat > conftest.c <<EOF
1027 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1028: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1034 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1036 if test $ac_cv_prog_gcc = yes; then
1038 ac_test_CFLAGS="${CFLAGS+set}"
1039 ac_save_CFLAGS="$CFLAGS"
1041 echo $ac_n "checking whether
${CC-cc} accepts
-g""...
$ac_c" 1>&6
1042 echo "configure
:1043: checking whether
${CC-cc} accepts
-g" >&5
1043 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1044 echo $ac_n "(cached
) $ac_c" 1>&6
1046 echo 'void f(){}' > conftest.c
1047 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1056 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1057 if test "$ac_test_CFLAGS" = set; then
1058 CFLAGS="$ac_save_CFLAGS"
1059 elif test $ac_cv_prog_cc_g = yes; then
1066 test "${CFLAGS+set}" = set || CFLAGS="-g"
1070 # Likewise for AC_PROG_CXX. We can't just call it directly because g++
1071 # will try to link in libstdc++.
1075 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1076 # flags that come in CXX while configuring libstdc++. They're different
1077 # from those used for all other target libraries. If CXX is set in
1078 # the environment, respect that here.
1080 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1082 # Extract the first word of "$ac_prog", so it can be a program name with args.
1083 set dummy $ac_prog; ac_word=$2
1084 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1085 echo "configure
:1086: checking
for $ac_word" >&5
1086 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1087 echo $ac_n "(cached
) $ac_c" 1>&6
1089 if test -n "$glibcpp_CXX"; then
1090 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
1092 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1094 for ac_dir in $ac_dummy; do
1095 test -z "$ac_dir" && ac_dir=.
1096 if test -f $ac_dir/$ac_word; then
1097 ac_cv_prog_glibcpp_CXX="$ac_prog"
1104 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1105 if test -n "$glibcpp_CXX"; then
1106 echo "$ac_t""$glibcpp_CXX" 1>&6
1108 echo "$ac_t""no
" 1>&6
1111 test -n "$glibcpp_CXX" && break
1113 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc
"
1117 test -z "$glibcpp_CXX" && { echo "configure
: error
: no acceptable c
++ found
in \
$PATH" 1>&2; exit 1; }
1119 echo $ac_n "checking whether we are using GNU C
++""...
$ac_c" 1>&6
1120 echo "configure
:1121: checking whether we are using GNU C
++" >&5
1121 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1122 echo $ac_n "(cached
) $ac_c" 1>&6
1124 cat > conftest.C <<EOF
1129 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1130: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1136 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1138 if test $ac_cv_prog_gxx = yes; then
1140 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1141 ac_save_CXXFLAGS="$CXXFLAGS"
1143 echo $ac_n "checking whether
${CXX-g++} accepts
-g""...
$ac_c" 1>&6
1144 echo "configure
:1145: checking whether
${CXX-g++} accepts
-g" >&5
1145 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1146 echo $ac_n "(cached
) $ac_c" 1>&6
1148 echo 'void f(){}' > conftest.cc
1149 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1150 ac_cv_prog_cxx_g=yes
1158 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1159 if test "$ac_test_CXXFLAGS" = set; then
1160 CXXFLAGS="$ac_save_CXXFLAGS"
1161 elif test $ac_cv_prog_cxx_g = yes; then
1168 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1172 # For directory versioning (e.g., headers) and other variables.
1173 echo $ac_n "checking
for GCC version number
""...
$ac_c" 1>&6
1174 echo "configure
:1175: checking
for GCC version number
" >&5
1175 gcc_version=`$glibcpp_CXX -dumpversion`
1176 echo "$ac_t""$gcc_version" 1>&6
1178 # For some reason, gettext needs this.
1180 echo $ac_n "checking
for strerror
in -lcposix""...
$ac_c" 1>&6
1181 echo "configure
:1182: checking
for strerror
in -lcposix" >&5
1182 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
1183 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1184 echo $ac_n "(cached
) $ac_c" 1>&6
1186 ac_save_LIBS="$LIBS"
1187 LIBS="-lcposix $LIBS"
1188 cat > conftest.$ac_ext <<EOF
1189 #line 1190 "configure
"
1190 #include "confdefs.h
"
1191 /* Override any gcc2 internal prototype to avoid an error. */
1192 /* We use char because int might match the return type of a gcc2
1193 builtin and then its argument prototype would still apply. */
1200 if { (eval echo configure:1201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1202 eval "ac_cv_lib_
$ac_lib_var=yes"
1204 echo "configure
: failed program was
:" >&5
1205 cat conftest.$ac_ext >&5
1207 eval "ac_cv_lib_
$ac_lib_var=no
"
1210 LIBS="$ac_save_LIBS"
1213 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1214 echo "$ac_t""yes" 1>&6
1215 LIBS="$LIBS -lcposix"
1217 echo "$ac_t""no
" 1>&6
1223 # Extract the first word of "${ac_tool_prefix}as
", so it can be a program name with args.
1224 set dummy ${ac_tool_prefix}as; ac_word=$2
1225 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1226 echo "configure
:1227: checking
for $ac_word" >&5
1227 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1228 echo $ac_n "(cached
) $ac_c" 1>&6
1230 if test -n "$AS"; then
1231 ac_cv_prog_AS="$AS" # Let the user override the test.
1233 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1235 for ac_dir in $ac_dummy; do
1236 test -z "$ac_dir" && ac_dir=.
1237 if test -f $ac_dir/$ac_word; then
1238 ac_cv_prog_AS="${ac_tool_prefix}as
"
1243 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as
"
1247 if test -n "$AS"; then
1248 echo "$ac_t""$AS" 1>&6
1250 echo "$ac_t""no
" 1>&6
1255 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1256 set dummy ${ac_tool_prefix}ar; ac_word=$2
1257 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1258 echo "configure
:1259: checking
for $ac_word" >&5
1259 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1260 echo $ac_n "(cached
) $ac_c" 1>&6
1262 if test -n "$AR"; then
1263 ac_cv_prog_AR="$AR" # Let the user override the test.
1265 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1267 for ac_dir in $ac_dummy; do
1268 test -z "$ac_dir" && ac_dir=.
1269 if test -f $ac_dir/$ac_word; then
1270 ac_cv_prog_AR="${ac_tool_prefix}ar"
1275 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1279 if test -n "$AR"; then
1280 echo "$ac_t""$AR" 1>&6
1282 echo "$ac_t""no
" 1>&6
1287 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
1288 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1289 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1290 echo "configure
:1291: checking
for $ac_word" >&5
1291 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1292 echo $ac_n "(cached
) $ac_c" 1>&6
1294 if test -n "$RANLIB"; then
1295 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1297 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1299 for ac_dir in $ac_dummy; do
1300 test -z "$ac_dir" && ac_dir=.
1301 if test -f $ac_dir/$ac_word; then
1302 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
1309 RANLIB="$ac_cv_prog_RANLIB"
1310 if test -n "$RANLIB"; then
1311 echo "$ac_t""$RANLIB" 1>&6
1313 echo "$ac_t""no
" 1>&6
1317 if test -z "$ac_cv_prog_RANLIB"; then
1318 if test -n "$ac_tool_prefix"; then
1319 # Extract the first word of "ranlib
", so it can be a program name with args.
1320 set dummy ranlib; ac_word=$2
1321 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1322 echo "configure
:1323: checking
for $ac_word" >&5
1323 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1324 echo $ac_n "(cached
) $ac_c" 1>&6
1326 if test -n "$RANLIB"; then
1327 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1329 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1331 for ac_dir in $ac_dummy; do
1332 test -z "$ac_dir" && ac_dir=.
1333 if test -f $ac_dir/$ac_word; then
1334 ac_cv_prog_RANLIB="ranlib
"
1339 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error
"
1342 RANLIB="$ac_cv_prog_RANLIB"
1343 if test -n "$RANLIB"; then
1344 echo "$ac_t""$RANLIB" 1>&6
1346 echo "$ac_t""no
" 1>&6
1350 RANLIB="ranlib-not-found-in-path-error
"
1354 # Find a good install program. We prefer a C program (faster),
1355 # so one script is as good as another. But avoid the broken or
1356 # incompatible versions:
1357 # SysV /etc/install, /usr/sbin/install
1358 # SunOS /usr/etc/install
1359 # IRIX /sbin/install
1361 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1362 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1363 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
1364 # ./install, which can be erroneously created by make from ./install.sh.
1365 echo $ac_n "checking
for a BSD compatible
install""...
$ac_c" 1>&6
1366 echo "configure
:1367: checking
for a BSD compatible
install" >&5
1367 if test -z "$INSTALL"; then
1368 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1369 echo $ac_n "(cached
) $ac_c" 1>&6
1371 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1372 for ac_dir in $PATH; do
1373 # Account for people who put trailing slashes in PATH elements.
1375 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1377 # OSF1 and SCO ODT 3.0 have their own names for install.
1378 # Don't use installbsd from OSF since it installs stuff as root
1380 for ac_prog in ginstall scoinst install; do
1381 if test -f $ac_dir/$ac_prog; then
1382 if test $ac_prog = install &&
1383 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1384 # AIX install. It has an incompatible calling convention.
1387 ac_cv_path_install="$ac_dir/$ac_prog -c"
1398 if test "${ac_cv_path_install+set}" = set; then
1399 INSTALL="$ac_cv_path_install"
1401 # As a last resort, use the slow shell script. We don't cache a
1402 # path for INSTALL within a source directory, because that will
1403 # break other packages using the cache if that directory is
1404 # removed, or if the path is relative.
1405 INSTALL="$ac_install_sh"
1408 echo "$ac_t""$INSTALL" 1>&6
1410 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1411 # It thinks the first close brace ends the variable substitution.
1412 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1414 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1416 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1419 echo $ac_n "checking whether to
enable maintainer-specific portions of Makefiles
""...
$ac_c" 1>&6
1420 echo "configure
:1421: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
1421 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1422 if test "${enable_maintainer_mode+set}" = set; then
1423 enableval="$enable_maintainer_mode"
1424 USE_MAINTAINER_MODE=$enableval
1426 USE_MAINTAINER_MODE=no
1429 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1432 if test $USE_MAINTAINER_MODE = yes; then
1433 MAINTAINER_MODE_TRUE=
1434 MAINTAINER_MODE_FALSE='#'
1436 MAINTAINER_MODE_TRUE='#'
1437 MAINTAINER_MODE_FALSE=
1439 MAINT=$MAINTAINER_MODE_TRUE
1443 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1444 # at least currently, we never actually build a program, so we never
1445 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1446 # fails, because we are probably configuring with a cross compiler
1447 # which can't create executables. So we include AC_EXEEXT to keep
1448 # automake happy, but we don't execute it, since we don't care about
1451 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1452 # to nothing, so nothing would remain between `then' and `fi' if it
1453 # were not for the `:' below.
1457 echo $ac_n "checking
for executable suffix
""...
$ac_c" 1>&6
1458 echo "configure
:1459: checking
for executable suffix
" >&5
1459 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1460 echo $ac_n "(cached
) $ac_c" 1>&6
1462 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1466 echo 'int main () { return 0; }' > conftest.$ac_ext
1468 if { (eval echo configure:1469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1469 for file in conftest.*; do
1471 *.$ac_ext | *.c | *.o | *.obj) ;;
1472 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1476 { echo "configure
: error
: installation or configuration problem
: compiler cannot create executables.
" 1>&2; exit 1; }
1479 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1484 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1485 echo "$ac_t""${ac_cv_exeext}" 1>&6
1490 case ${glibcpp_basedir} in
1491 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1492 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1495 # Find platform-specific directories containing configuration info. In
1496 # addition to possibly modifying the same flags, it also sets up symlinks.
1498 . ${glibcpp_basedir}/configure.target
1499 echo "$ac_t""CPU config directory is
$cpu_include_dir" 1>&6
1500 echo "$ac_t""OS config directory is
$os_include_dir" 1>&6
1504 am__api_version="1.4"
1505 echo $ac_n "checking whether build environment is sane
""...
$ac_c" 1>&6
1506 echo "configure
:1507: checking whether build environment is sane
" >&5
1509 echo timestamp > conftestfile
1510 # Do `set' in a subshell so we don't clobber the current shell's
1511 # arguments. Must try -L first in case configure is actually a
1512 # symlink; some systems play weird games with the mod time of symlinks
1513 # (eg FreeBSD returns the mod time of the symlink's containing
1516 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1517 if test "$
*" = "X
"; then
1519 set X `ls -t $srcdir/configure conftestfile`
1521 if test "$
*" != "X
$srcdir/configure conftestfile
" \
1522 && test "$
*" != "X conftestfile
$srcdir/configure
"; then
1524 # If neither matched, then we have a broken ls. This can happen
1525 # if, for instance, CONFIG_SHELL is bash and it inherits a
1526 # broken ls alias from the environment. This has actually
1527 # happened. Such a system could not be considered "sane
".
1528 { echo "configure
: error
: ls -t appears to fail. Make sure there is not a broken
1529 alias in your environment
" 1>&2; exit 1; }
1532 test "$2" = conftestfile
1538 { echo "configure
: error
: newly created
file is older than distributed files
!
1539 Check your system
clock" 1>&2; exit 1; }
1542 echo "$ac_t""yes" 1>&6
1543 if test "$program_transform_name" = s,x,x,; then
1544 program_transform_name=
1546 # Double any \ or $. echo might interpret backslashes.
1547 cat <<\EOF_SED > conftestsed
1548 s,\\,\\\\,g; s,\$,$$,g
1550 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
1553 test "$program_prefix" != NONE &&
1554 program_transform_name="s
,^
,${program_prefix},; $program_transform_name"
1555 # Use a double $ so make ignores it.
1556 test "$program_suffix" != NONE &&
1557 program_transform_name="s
,\$\$
,${program_suffix},; $program_transform_name"
1559 # sed with no file args requires a program.
1560 test "$program_transform_name" = "" && program_transform_name="s
,x
,x
,"
1562 echo $ac_n "checking whether
${MAKE-make} sets \
${MAKE}""...
$ac_c" 1>&6
1563 echo "configure
:1564: checking whether
${MAKE-make} sets \
${MAKE}" >&5
1564 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
1565 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
1566 echo $ac_n "(cached
) $ac_c" 1>&6
1568 cat > conftestmake <<\EOF
1570 @echo 'ac_maketemp="${MAKE}"'
1572 # GNU make sometimes prints "make[1]: Entering...
", which would confuse us.
1573 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
1574 if test -n "$ac_maketemp"; then
1575 eval ac_cv_prog_make_${ac_make}_set=yes
1577 eval ac_cv_prog_make_${ac_make}_set=no
1581 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1582 echo "$ac_t""yes" 1>&6
1585 echo "$ac_t""no
" 1>&6
1586 SET_MAKE="MAKE
=${MAKE-make}"
1592 VERSION=$gcc_version
1594 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1595 { echo "configure
: error
: source directory already configured
; run
"make distclean" there first
" 1>&2; exit 1; }
1597 cat >> confdefs.h <<EOF
1598 #define PACKAGE "$PACKAGE"
1601 cat >> confdefs.h <<EOF
1602 #define VERSION "$VERSION"
1607 missing_dir=`cd $ac_aux_dir && pwd`
1608 echo $ac_n "checking
for working aclocal-
${am__api_version}""...
$ac_c" 1>&6
1609 echo "configure
:1610: checking
for working aclocal-
${am__api_version}" >&5
1610 # Run test in a subshell; some versions of sh will print an error if
1611 # an executable is not found, even if stderr is redirected.
1612 # Redirect stdin to placate older versions of autoconf. Sigh.
1613 if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1614 ACLOCAL=aclocal-${am__api_version}
1615 echo "$ac_t""found
" 1>&6
1617 ACLOCAL="$missing_dir/missing aclocal-
${am__api_version}"
1618 echo "$ac_t""missing
" 1>&6
1621 echo $ac_n "checking
for working autoconf
""...
$ac_c" 1>&6
1622 echo "configure
:1623: checking
for working autoconf
" >&5
1623 # Run test in a subshell; some versions of sh will print an error if
1624 # an executable is not found, even if stderr is redirected.
1625 # Redirect stdin to placate older versions of autoconf. Sigh.
1626 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1628 echo "$ac_t""found
" 1>&6
1630 AUTOCONF="$missing_dir/missing autoconf
"
1631 echo "$ac_t""missing
" 1>&6
1634 echo $ac_n "checking
for working automake-
${am__api_version}""...
$ac_c" 1>&6
1635 echo "configure
:1636: checking
for working automake-
${am__api_version}" >&5
1636 # Run test in a subshell; some versions of sh will print an error if
1637 # an executable is not found, even if stderr is redirected.
1638 # Redirect stdin to placate older versions of autoconf. Sigh.
1639 if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1640 AUTOMAKE=automake-${am__api_version}
1641 echo "$ac_t""found
" 1>&6
1643 AUTOMAKE="$missing_dir/missing automake-
${am__api_version}"
1644 echo "$ac_t""missing
" 1>&6
1647 echo $ac_n "checking
for working autoheader
""...
$ac_c" 1>&6
1648 echo "configure
:1649: checking
for working autoheader
" >&5
1649 # Run test in a subshell; some versions of sh will print an error if
1650 # an executable is not found, even if stderr is redirected.
1651 # Redirect stdin to placate older versions of autoconf. Sigh.
1652 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1653 AUTOHEADER=autoheader
1654 echo "$ac_t""found
" 1>&6
1656 AUTOHEADER="$missing_dir/missing autoheader
"
1657 echo "$ac_t""missing
" 1>&6
1660 echo $ac_n "checking
for working makeinfo
""...
$ac_c" 1>&6
1661 echo "configure
:1662: checking
for working makeinfo
" >&5
1662 # Run test in a subshell; some versions of sh will print an error if
1663 # an executable is not found, even if stderr is redirected.
1664 # Redirect stdin to placate older versions of autoconf. Sigh.
1665 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1667 echo "$ac_t""found
" 1>&6
1669 MAKEINFO="$missing_dir/missing makeinfo
"
1670 echo "$ac_t""missing
" 1>&6
1679 # Check whether --enable-shared or --disable-shared was given.
1680 if test "${enable_shared+set}" = set; then
1681 enableval="$enable_shared"
1682 p=${PACKAGE-default}
1684 yes) enable_shared=yes ;;
1685 no) enable_shared=no ;;
1688 # Look at the argument we got. We use all the common list separators.
1689 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1690 for pkg in $enableval; do
1691 if test "X
$pkg" = "X
$p"; then
1702 # Check whether --enable-static or --disable-static was given.
1703 if test "${enable_static+set}" = set; then
1704 enableval="$enable_static"
1705 p=${PACKAGE-default}
1707 yes) enable_static=yes ;;
1708 no) enable_static=no ;;
1711 # Look at the argument we got. We use all the common list separators.
1712 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1713 for pkg in $enableval; do
1714 if test "X
$pkg" = "X
$p"; then
1725 # Check whether --enable-fast-install or --disable-fast-install was given.
1726 if test "${enable_fast_install+set}" = set; then
1727 enableval="$enable_fast_install"
1728 p=${PACKAGE-default}
1730 yes) enable_fast_install=yes ;;
1731 no) enable_fast_install=no ;;
1733 enable_fast_install=no
1734 # Look at the argument we got. We use all the common list separators.
1735 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1736 for pkg in $enableval; do
1737 if test "X
$pkg" = "X
$p"; then
1738 enable_fast_install=yes
1745 enable_fast_install=yes
1748 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1749 if test "${with_gnu_ld+set}" = set; then
1750 withval="$with_gnu_ld"
1751 test "$withval" = no || with_gnu_ld=yes
1757 if test "$GCC" = yes; then
1758 # Check if gcc -print-prog-name=ld gives a path.
1759 echo $ac_n "checking
for ld used by GCC
""...
$ac_c" 1>&6
1760 echo "configure
:1761: checking
for ld used by GCC
" >&5
1763 # gcc leaves a trailing carriage return which upsets mingw
1764 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1766 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1769 # Accept absolute paths.
1770 [\\/]* | [A-Za-z]:[\\/]*)
1771 re_direlt='/[^/][^/]*/\.\./'
1772 # Canonicalize the path of ld
1773 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1774 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1775 ac_prog=`echo $ac_prog| sed "s
%$re_direlt%/%"`
1777 test -z "$LD" && LD="$ac_prog"
1780 # If it fails, then pretend we aren't using GCC.
1784 # If it is relative, then search for the first ld in PATH.
1788 elif test "$with_gnu_ld" = yes; then
1789 echo $ac_n "checking
for GNU ld
""...
$ac_c" 1>&6
1790 echo "configure
:1791: checking
for GNU ld
" >&5
1792 echo $ac_n "checking
for non-GNU ld
""...
$ac_c" 1>&6
1793 echo "configure
:1794: checking
for non-GNU ld
" >&5
1795 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1796 echo $ac_n "(cached
) $ac_c" 1>&6
1798 if test -z "$LD"; then
1799 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1800 for ac_dir in $PATH; do
1801 test -z "$ac_dir" && ac_dir=.
1802 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1803 lt_cv_path_LD="$ac_dir/$ac_prog"
1804 # Check to see if the program is GNU ld. I'd rather use --version,
1805 # but apparently some GNU ld's only accept -v.
1806 # Break only if it was the GNU/non-GNU ld that we prefer.
1807 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1808 test "$with_gnu_ld" != no && break
1810 test "$with_gnu_ld" != yes && break
1816 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1821 if test -n "$LD"; then
1822 echo "$ac_t""$LD" 1>&6
1824 echo "$ac_t""no
" 1>&6
1826 test -z "$LD" && { echo "configure
: error
: no acceptable ld found
in \
$PATH" 1>&2; exit 1; }
1827 echo $ac_n "checking
if the linker
($LD) is GNU ld
""...
$ac_c" 1>&6
1828 echo "configure
:1829: checking
if the linker
($LD) is GNU ld
" >&5
1829 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1830 echo $ac_n "(cached
) $ac_c" 1>&6
1832 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1833 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1834 lt_cv_prog_gnu_ld=yes
1836 lt_cv_prog_gnu_ld=no
1840 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1841 with_gnu_ld=$lt_cv_prog_gnu_ld
1844 echo $ac_n "checking
for $LD option to reload object files
""...
$ac_c" 1>&6
1845 echo "configure
:1846: checking
for $LD option to reload object files
" >&5
1846 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1847 echo $ac_n "(cached
) $ac_c" 1>&6
1849 lt_cv_ld_reload_flag='-r'
1852 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1853 reload_flag=$lt_cv_ld_reload_flag
1854 test -n "$reload_flag" && reload_flag=" $reload_flag"
1856 echo $ac_n "checking
for BSD-compatible nm
""...
$ac_c" 1>&6
1857 echo "configure
:1858: checking
for BSD-compatible nm
" >&5
1858 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1859 echo $ac_n "(cached
) $ac_c" 1>&6
1861 if test -n "$NM"; then
1862 # Let the user override the test.
1865 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1866 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1867 test -z "$ac_dir" && ac_dir=.
1868 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1869 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1870 # Check to see if the nm accepts a BSD-compat flag.
1871 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1872 # nm: unknown option "B
" ignored
1873 # Tru64's nm complains that /dev/null is an invalid object file
1874 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1875 lt_cv_path_NM="$tmp_nm -B"
1877 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1878 lt_cv_path_NM="$tmp_nm -p"
1881 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1882 continue # so that we can try to find one that supports BSD flags
1887 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1892 echo "$ac_t""$NM" 1>&6
1894 echo $ac_n "checking how to recognise dependant libraries
""...
$ac_c" 1>&6
1895 echo "configure
:1896: checking how to recognise dependant libraries
" >&5
1896 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1897 echo $ac_n "(cached
) $ac_c" 1>&6
1899 lt_cv_file_magic_cmd='$MAGIC_CMD'
1900 lt_cv_file_magic_test_file=
1901 lt_cv_deplibs_check_method='unknown'
1902 # Need to set the preceding variable on all platforms that support
1903 # interlibrary dependencies.
1904 # 'none' -- dependencies not supported.
1905 # `unknown' -- same as none, but documents that we really don't know.
1906 # 'pass_all' -- all dependencies passed with no checks.
1907 # 'test_compile' -- check by making test program.
1908 # 'file_magic [regex]' -- check by looking for files in library path
1909 # which responds to the $file_magic_cmd with a given egrep regex.
1910 # If you have `file' or equivalent on your system and you're not sure
1911 # whether `pass_all' will *always* work, you probably want this one.
1915 lt_cv_deplibs_check_method=pass_all
1919 lt_cv_deplibs_check_method=pass_all
1923 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1924 lt_cv_file_magic_cmd='/usr/bin/file -L'
1925 lt_cv_file_magic_test_file=/shlib/libc.so
1928 cygwin* | mingw* |pw32*)
1929 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1930 lt_cv_file_magic_cmd='$OBJDUMP -f'
1933 darwin* | rhapsody*)
1934 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1935 lt_cv_file_magic_cmd='/usr/bin/file -L'
1937 rhapsody* | darwin1.012)
1938 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
1941 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
1947 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1950 # Not sure whether the presence of OpenBSD here was a mistake.
1951 # Let's accept both of them until this is cleared up.
1952 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1953 lt_cv_file_magic_cmd=/usr/bin/file
1954 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1958 lt_cv_deplibs_check_method=pass_all
1963 lt_cv_deplibs_check_method=pass_all
1967 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1968 lt_cv_file_magic_cmd=/usr/bin/file
1969 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1975 # this will be overridden with pass_all, but let us keep it just in case
1976 lt_cv_deplibs_check_method="file_magic ELF
32-bit MSB dynamic lib MIPS
- version
1"
1980 *-32|*"-32 ") libmagic=32-bit;;
1981 *-n32|*"-n32 ") libmagic=N32;;
1982 *-64|*"-64 ") libmagic=64-bit;;
1983 *) libmagic=never-match;;
1985 # this will be overridden with pass_all, but let us keep it just in case
1986 lt_cv_deplibs_check_method="file_magic ELF
${libmagic} MSB mips-
[1234] dynamic lib MIPS
- version
1"
1989 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
1990 lt_cv_deplibs_check_method=pass_all
1993 # This must be Linux ELF.
1996 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
1997 lt_cv_deplibs_check_method=pass_all ;;
1999 # glibc up to 2.1.1 does not perform some relocations on ARM
2000 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2002 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2006 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2007 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2009 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2014 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2015 lt_cv_file_magic_cmd=/usr/bin/file
2016 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2019 osf3* | osf4* | osf5*)
2020 # this will be overridden with pass_all, but let us keep it just in case
2021 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2022 lt_cv_file_magic_test_file=/shlib/libc.so
2023 lt_cv_deplibs_check_method=pass_all
2027 lt_cv_deplibs_check_method=pass_all
2031 lt_cv_deplibs_check_method=pass_all
2032 lt_cv_file_magic_test_file=/lib/libc.so
2035 sysv5uw[78]* | sysv4*uw2*)
2036 lt_cv_deplibs_check_method=pass_all
2039 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2040 case $host_vendor in
2042 lt_cv_deplibs_check_method=pass_all
2045 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]'
2046 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2054 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2055 file_magic_cmd=$lt_cv_file_magic_cmd
2056 deplibs_check_method=$lt_cv_deplibs_check_method
2058 echo $ac_n "checking
for object suffix
""...
$ac_c" 1>&6
2059 echo "configure
:2060: checking
for object suffix
" >&5
2060 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2061 echo $ac_n "(cached
) $ac_c" 1>&6
2064 echo 'int i = 1;' > conftest.$ac_ext
2065 if { (eval echo configure:2066: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2066 for ac_file in conftest.*; do
2069 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2073 { echo "configure
: error
: installation or configuration problem
; compiler does not work
" 1>&2; exit 1; }
2078 echo "$ac_t""$ac_cv_objext" 1>&6
2079 OBJEXT=$ac_cv_objext
2080 ac_objext=$ac_cv_objext
2082 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2084 # Only perform the check for file, if the check method requires it
2085 case $deplibs_check_method in
2087 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2088 echo $ac_n "checking
for ${ac_tool_prefix}file""...
$ac_c" 1>&6
2089 echo "configure
:2090: checking
for ${ac_tool_prefix}file" >&5
2090 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2091 echo $ac_n "(cached
) $ac_c" 1>&6
2095 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2098 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2101 ac_save_MAGIC_CMD="$MAGIC_CMD"
2102 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2103 ac_dummy="/usr
/bin
:$PATH"
2104 for ac_dir in $ac_dummy; do
2105 test -z "$ac_dir" && ac_dir=.
2106 if test -f $ac_dir/${ac_tool_prefix}file; then
2107 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2108 if test -n "$file_magic_test_file"; then
2109 case $deplibs_check_method in
2111 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2112 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2113 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2114 egrep "$file_magic_regex" > /dev/null; then
2119 *** Warning: the command libtool uses to detect shared libraries,
2120 *** $file_magic_cmd, produces output that libtool cannot recognize.
2121 *** The result is that libtool may fail to recognize shared libraries
2122 *** as such. This will affect the creation of libtool libraries that
2123 *** depend on shared libraries, but programs linked with such libtool
2124 *** libraries will work regardless of this problem. Nevertheless, you
2125 *** may want to report the problem to your system manager and/or to
2126 *** bug-libtool@gnu.org
2136 MAGIC_CMD="$ac_save_MAGIC_CMD"
2141 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2142 if test -n "$MAGIC_CMD"; then
2143 echo "$ac_t""$MAGIC_CMD" 1>&6
2145 echo "$ac_t""no
" 1>&6
2148 if test -z "$lt_cv_path_MAGIC_CMD"; then
2149 if test -n "$ac_tool_prefix"; then
2150 echo $ac_n "checking
for file""...
$ac_c" 1>&6
2151 echo "configure
:2152: checking
for file" >&5
2152 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2153 echo $ac_n "(cached
) $ac_c" 1>&6
2157 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2160 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2163 ac_save_MAGIC_CMD="$MAGIC_CMD"
2164 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2165 ac_dummy="/usr
/bin
:$PATH"
2166 for ac_dir in $ac_dummy; do
2167 test -z "$ac_dir" && ac_dir=.
2168 if test -f $ac_dir/file; then
2169 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2170 if test -n "$file_magic_test_file"; then
2171 case $deplibs_check_method in
2173 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2174 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2175 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2176 egrep "$file_magic_regex" > /dev/null; then
2181 *** Warning: the command libtool uses to detect shared libraries,
2182 *** $file_magic_cmd, produces output that libtool cannot recognize.
2183 *** The result is that libtool may fail to recognize shared libraries
2184 *** as such. This will affect the creation of libtool libraries that
2185 *** depend on shared libraries, but programs linked with such libtool
2186 *** libraries will work regardless of this problem. Nevertheless, you
2187 *** may want to report the problem to your system manager and/or to
2188 *** bug-libtool@gnu.org
2198 MAGIC_CMD="$ac_save_MAGIC_CMD"
2203 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2204 if test -n "$MAGIC_CMD"; then
2205 echo "$ac_t""$MAGIC_CMD" 1>&6
2207 echo "$ac_t""no
" 1>&6
2219 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
2220 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2221 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2222 echo "configure
:2223: checking
for $ac_word" >&5
2223 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2224 echo $ac_n "(cached
) $ac_c" 1>&6
2226 if test -n "$RANLIB"; then
2227 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2229 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2231 for ac_dir in $ac_dummy; do
2232 test -z "$ac_dir" && ac_dir=.
2233 if test -f $ac_dir/$ac_word; then
2234 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
2241 RANLIB="$ac_cv_prog_RANLIB"
2242 if test -n "$RANLIB"; then
2243 echo "$ac_t""$RANLIB" 1>&6
2245 echo "$ac_t""no
" 1>&6
2249 if test -z "$ac_cv_prog_RANLIB"; then
2250 if test -n "$ac_tool_prefix"; then
2251 # Extract the first word of "ranlib
", so it can be a program name with args.
2252 set dummy ranlib; ac_word=$2
2253 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2254 echo "configure
:2255: checking
for $ac_word" >&5
2255 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2256 echo $ac_n "(cached
) $ac_c" 1>&6
2258 if test -n "$RANLIB"; then
2259 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2261 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2263 for ac_dir in $ac_dummy; do
2264 test -z "$ac_dir" && ac_dir=.
2265 if test -f $ac_dir/$ac_word; then
2266 ac_cv_prog_RANLIB="ranlib
"
2271 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2274 RANLIB="$ac_cv_prog_RANLIB"
2275 if test -n "$RANLIB"; then
2276 echo "$ac_t""$RANLIB" 1>&6
2278 echo "$ac_t""no
" 1>&6
2286 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
2287 set dummy ${ac_tool_prefix}strip; ac_word=$2
2288 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2289 echo "configure
:2290: checking
for $ac_word" >&5
2290 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2291 echo $ac_n "(cached
) $ac_c" 1>&6
2293 if test -n "$STRIP"; then
2294 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2296 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2298 for ac_dir in $ac_dummy; do
2299 test -z "$ac_dir" && ac_dir=.
2300 if test -f $ac_dir/$ac_word; then
2301 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
2308 STRIP="$ac_cv_prog_STRIP"
2309 if test -n "$STRIP"; then
2310 echo "$ac_t""$STRIP" 1>&6
2312 echo "$ac_t""no
" 1>&6
2316 if test -z "$ac_cv_prog_STRIP"; then
2317 if test -n "$ac_tool_prefix"; then
2318 # Extract the first word of "strip
", so it can be a program name with args.
2319 set dummy strip; ac_word=$2
2320 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2321 echo "configure
:2322: checking
for $ac_word" >&5
2322 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2323 echo $ac_n "(cached
) $ac_c" 1>&6
2325 if test -n "$STRIP"; then
2326 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2328 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2330 for ac_dir in $ac_dummy; do
2331 test -z "$ac_dir" && ac_dir=.
2332 if test -f $ac_dir/$ac_word; then
2333 ac_cv_prog_STRIP="strip
"
2338 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2341 STRIP="$ac_cv_prog_STRIP"
2342 if test -n "$STRIP"; then
2343 echo "$ac_t""$STRIP" 1>&6
2345 echo "$ac_t""no
" 1>&6
2354 # Check for any special flags to pass to ltconfig.
2355 libtool_flags="--cache-file=$cache_file"
2356 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2357 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2358 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2359 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2360 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2361 libtool_flags="$libtool_flags --enable-dlopen"
2363 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2364 if test "${enable_libtool_lock+set}" = set; then
2365 enableval="$enable_libtool_lock"
2369 test "x
$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2370 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2372 # Check whether --with-pic or --without-pic was given.
2373 if test "${with_pic+set}" = set; then
2380 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2381 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2383 # Some flags need to be propagated to the compiler or linker for good
2387 # Find out which ABI we are using.
2388 echo '#line 2389 "configure
"' > conftest.$ac_ext
2389 if { (eval echo configure:2390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2390 case `/usr/bin/file conftest.$ac_objext` in
2406 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2407 SAVE_CFLAGS="$CFLAGS"
2408 CFLAGS="$CFLAGS -belf"
2409 echo $ac_n "checking whether the C compiler needs
-belf""...
$ac_c" 1>&6
2410 echo "configure
:2411: checking whether the C compiler needs
-belf" >&5
2411 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2412 echo $ac_n "(cached
) $ac_c" 1>&6
2416 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2417 ac_cpp='$CPP $CPPFLAGS'
2418 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2419 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2420 cross_compiling=$ac_cv_prog_cc_cross
2422 cat > conftest.$ac_ext <<EOF
2423 #line 2424 "configure
"
2424 #include "confdefs.h
"
2430 if { (eval echo configure:2431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2432 lt_cv_cc_needs_belf=yes
2434 echo "configure
: failed program was
:" >&5
2435 cat conftest.$ac_ext >&5
2437 lt_cv_cc_needs_belf=no
2441 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2442 ac_cpp='$CPP $CPPFLAGS'
2443 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2444 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2445 cross_compiling=$ac_cv_prog_cc_cross
2449 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2450 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2451 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2452 CFLAGS="$SAVE_CFLAGS"
2459 echo $ac_n "checking how to run the C
++ preprocessor
""...
$ac_c" 1>&6
2460 echo "configure
:2461: checking how to run the C
++ preprocessor
" >&5
2461 if test -z "$CXXCPP"; then
2462 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2463 echo $ac_n "(cached
) $ac_c" 1>&6
2466 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2467 ac_cpp='$CXXCPP $CPPFLAGS'
2468 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2469 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2470 cross_compiling=$ac_cv_prog_cxx_cross
2471 CXXCPP="${CXX-g++} -E"
2472 cat > conftest.$ac_ext <<EOF
2473 #line 2474 "configure
"
2474 #include "confdefs.h
"
2477 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2478 { (eval echo configure:2479: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2479 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2480 if test -z "$ac_err"; then
2484 echo "configure
: failed program was
:" >&5
2485 cat conftest.$ac_ext >&5
2490 ac_cv_prog_CXXCPP="$CXXCPP"
2492 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2493 ac_cpp='$CPP $CPPFLAGS'
2494 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2495 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2496 cross_compiling=$ac_cv_prog_cc_cross
2499 CXXCPP="$ac_cv_prog_CXXCPP"
2500 echo "$ac_t""$CXXCPP" 1>&6
2503 # Save cache, so that ltconfig can load it
2504 cat > confcache <<\EOF
2505 # This file is a shell script that caches the results of configure
2506 # tests run on this system so they can be shared between configure
2507 # scripts and configure runs. It is not useful on other systems.
2508 # If it contains results you don't want to keep, you may remove or edit it.
2510 # By default, configure uses ./config.cache as the cache file,
2511 # creating it if it does not exist already. You can give configure
2512 # the --cache-file=FILE option to use a different cache file; that is
2513 # what configure does when it calls configure scripts in
2514 # subdirectories, so they share the cache.
2515 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2516 # config.status only pays attention to the cache file if you give it the
2517 # --recheck option to rerun configure.
2520 # The following way of writing the cache mishandles newlines in values,
2521 # but we know of no workaround that is simple, portable, and efficient.
2522 # So, don't put newlines in cache variables' values.
2523 # Ultrix sh set writes to stderr and can't be redirected directly,
2524 # and sets the high bit in the cache file unless we assign to the vars.
2526 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2528 # `set' does not quote correctly, so add quotes (double-quote substitution
2529 # turns \\\\ into \\, and sed turns \\ into \).
2531 -e "s
/'/'\\\\''/g
" \
2532 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
2535 # `set' quotes correctly as required by POSIX, so do not add quotes.
2536 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2539 if cmp -s $cache_file confcache; then
2542 if test -w $cache_file; then
2543 echo "updating cache
$cache_file"
2544 cat confcache > $cache_file
2546 echo "not updating unwritable cache
$cache_file"
2552 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2553 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2554 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2555 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2556 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2557 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2558 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2559 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2560 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2561 || { echo "configure
: error
: libtool configure failed
" 1>&2; exit 1; }
2563 # Reload cache, that may have been modified by ltconfig
2564 if test -r "$cache_file"; then
2565 echo "loading cache
$cache_file"
2568 echo "creating cache
$cache_file"
2573 # This can be used to rebuild libtool when needed
2574 LIBTOOL_DEPS="$ac_aux_dir/ltconfig
$ac_aux_dir/ltmain.sh
$ac_aux_dir/ltcf-c.sh
"
2576 # Always use our own libtool.
2577 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2579 # Redirect the config.log output again, so that the ltconfig log is not
2580 # clobbered by the next message.
2581 exec 5>>./config.log
2585 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh
"
2587 lt_save_CFLAGS="$CFLAGS"
2588 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2589 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2590 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2591 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2592 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2593 deplibs_check_method="$deplibs_check_method" \
2594 file_magic_cmd="$file_magic_cmd" \
2595 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2596 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2597 || { echo "configure
: error
: libtool tag configuration failed
" 1>&2; exit 1; }
2599 CFLAGS="$lt_save_CFLAGS"
2601 # Redirect the config.log output again, so that the ltconfig log is not
2602 # clobbered by the next message.
2603 exec 5>>./config.log
2613 # Check for c++ or library specific bits that don't require linking.
2614 #GLIBCPP_CHECK_COMPILER_VERSION
2615 echo $ac_n "checking
for GNU
make""...
$ac_c" 1>&6
2616 echo "configure
:2617: checking
for GNU
make" >&5
2617 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2618 echo $ac_n "(cached
) $ac_c" 1>&6
2620 _cv_gnu_make_command='' ;
2621 for a in "${MAKE-make}" make gmake gnumake ; do
2622 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2624 _cv_gnu_make_command=$a ;
2631 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2632 if test "x
$_cv_gnu_make_command" != "x
" ; then
2640 # Enable all the variable C++ stuff. C_MBCHAR must come early.
2641 # Check whether --enable-debug or --disable-debug was given.
2642 if test "${enable_debug+set}" = set; then
2643 enableval="$enable_debug"
2644 case "${enableval}" in
2645 yes) enable_debug=yes ;;
2646 no) enable_debug=no ;;
2647 *) { echo "configure
: error
: Unknown argument to enable
/disable extra debugging
" 1>&2; exit 1; } ;;
2653 case "${enable_debug}" in
2655 DEBUG_FLAGS='-O0 -ggdb3'
2663 echo $ac_n "checking how to run the C preprocessor
""...
$ac_c" 1>&6
2664 echo "configure
:2665: checking how to run the C preprocessor
" >&5
2665 # On Suns, sometimes $CPP names a directory.
2666 if test -n "$CPP" && test -d "$CPP"; then
2669 if test -z "$CPP"; then
2670 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2671 echo $ac_n "(cached
) $ac_c" 1>&6
2673 # This must be in double quotes, not single quotes, because CPP may get
2674 # substituted into the Makefile and "${CC-cc}" will confuse make.
2676 # On the NeXT, cc -E runs the code through the compiler's parser,
2677 # not just through cpp.
2678 cat > conftest.$ac_ext <<EOF
2679 #line 2680 "configure
"
2680 #include "confdefs.h
"
2684 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2685 { (eval echo configure:2686: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2686 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2687 if test -z "$ac_err"; then
2691 echo "configure
: failed program was
:" >&5
2692 cat conftest.$ac_ext >&5
2694 CPP="${CC-cc} -E -traditional-cpp"
2695 cat > conftest.$ac_ext <<EOF
2696 #line 2697 "configure
"
2697 #include "confdefs.h
"
2701 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2702 { (eval echo configure:2703: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2703 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2704 if test -z "$ac_err"; then
2708 echo "configure
: failed program was
:" >&5
2709 cat conftest.$ac_ext >&5
2711 CPP="${CC-cc} -nologo -E"
2712 cat > conftest.$ac_ext <<EOF
2713 #line 2714 "configure
"
2714 #include "confdefs.h
"
2718 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2719 { (eval echo configure:2720: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2720 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2721 if test -z "$ac_err"; then
2725 echo "configure
: failed program was
:" >&5
2726 cat conftest.$ac_ext >&5
2735 ac_cv_prog_CPP="$CPP"
2737 CPP="$ac_cv_prog_CPP"
2739 ac_cv_prog_CPP="$CPP"
2741 echo "$ac_t""$CPP" 1>&6
2744 echo $ac_n "checking
for cstdio to use
""...
$ac_c" 1>&6
2745 echo "configure
:2746: checking
for cstdio to use
" >&5
2746 # Check whether --enable-cstdio or --disable-cstdio was given.
2747 if test "${enable_cstdio+set}" = set; then
2748 enableval="$enable_cstdio"
2749 if test x$enable_cstdio = xno; then
2757 enable_cstdio_flag=$enable_cstdio
2759 case x${enable_cstdio_flag} in
2761 CSTDIO_H=config/io/c_io_libio.h
2762 BASIC_FILE_H=config/io/basic_file_libio.h
2763 BASIC_FILE_CC=config/io/basic_file_libio.cc
2764 echo "$ac_t""libio
" 1>&6
2766 # see if we are on a system with libio native (ie, linux)
2767 ac_safe=`echo "libio.h
" | sed 'y%./+-%__p_%'`
2768 echo $ac_n "checking
for libio.h
""...
$ac_c" 1>&6
2769 echo "configure
:2770: checking
for libio.h
" >&5
2770 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2771 echo $ac_n "(cached
) $ac_c" 1>&6
2773 cat > conftest.$ac_ext <<EOF
2774 #line 2775 "configure
"
2775 #include "confdefs.h
"
2778 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2779 { (eval echo configure:2780: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2780 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2781 if test -z "$ac_err"; then
2783 eval "ac_cv_header_
$ac_safe=yes"
2786 echo "configure
: failed program was
:" >&5
2787 cat conftest.$ac_ext >&5
2789 eval "ac_cv_header_
$ac_safe=no
"
2793 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2794 echo "$ac_t""yes" 1>&6
2797 echo "$ac_t""no
" 1>&6
2802 # Need to check and see what version of glibc is being used. If
2803 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2804 # compile most of libio for linux systems.
2805 if test x$has_libio = x"yes"; then
2808 echo $ac_n "checking
for glibc version
>= 2.2""...
$ac_c" 1>&6
2809 echo "configure
:2810: checking
for glibc version
>= 2.2" >&5
2810 cat > conftest.$ac_ext <<EOF
2811 #line 2812 "configure
"
2812 #include "confdefs.h
"
2814 #include <features.h>
2815 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2820 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
2821 egrep "ok
" >/dev/null 2>&1; then
2823 glibc_satisfactory=yes
2826 glibc_satisfactory=no
2830 echo "$ac_t""$glibc_satisfactory" 1>&6
2834 # XXX at the moment, admit defeat and force the recompilation
2835 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2836 glibc_satisfactory=no
2838 if test x$glibc_satisfactory = x"yes"; then
2843 # bkoz XXX need to add checks to enable this
2844 # pme XXX here's a first pass at such a check
2845 if test x$enable_c_mbchar != xno; then
2853 # Using libio, but <libio.h> doesn't exist on the target system. . .
2855 # bkoz XXX need to add checks to enable this
2856 # pme XXX here's a first pass at such a check
2857 if test x$enable_c_mbchar != xno; then
2864 xstdio | x | xno | xnone | xyes)
2866 CSTDIO_H=config/io/c_io_stdio.h
2867 BASIC_FILE_H=config/io/basic_file_stdio.h
2868 BASIC_FILE_CC=config/io/basic_file_stdio.cc
2869 echo "$ac_t""stdio
" 1>&6
2871 # We're not using stdio.
2876 echo "$enable_cstdio is an unknown io package
" 1>&2
2884 # 2000-08-04 bkoz hack
2885 CCODECVT_C=config/io/c_io_libio_codecvt.c
2887 # 2000-08-04 bkoz hack
2891 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2892 GLIBCPP_BUILD_LIBIO_TRUE=
2893 GLIBCPP_BUILD_LIBIO_FALSE='#'
2895 GLIBCPP_BUILD_LIBIO_TRUE='#'
2896 GLIBCPP_BUILD_LIBIO_FALSE=
2900 if test "$need_libio" = yes; then
2901 GLIBCPP_NEED_LIBIO_TRUE=
2902 GLIBCPP_NEED_LIBIO_FALSE='#'
2904 GLIBCPP_NEED_LIBIO_TRUE='#'
2905 GLIBCPP_NEED_LIBIO_FALSE=
2909 if test "$need_wlibio" = yes; then
2910 GLIBCPP_NEED_WLIBIO_TRUE=
2911 GLIBCPP_NEED_WLIBIO_FALSE='#'
2913 GLIBCPP_NEED_WLIBIO_TRUE='#'
2914 GLIBCPP_NEED_WLIBIO_FALSE=
2916 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2917 libio_la=../libio/libio.la
2924 echo $ac_n "checking
for clocale to use
""...
$ac_c" 1>&6
2925 echo "configure
:2926: checking
for clocale to use
" >&5
2926 # Check whether --enable-clocale or --disable-clocale was given.
2927 if test "${enable_clocale+set}" = set; then
2928 enableval="$enable_clocale"
2929 if test x$enable_clocale = xno; then
2937 enable_clocale_flag=$enable_clocale
2939 if test x$enable_clocale_flag = xno; then
2940 case x${target_os} in
2942 cat > conftest.$ac_ext <<EOF
2943 #line 2944 "configure
"
2944 #include "confdefs.h
"
2946 #include <features.h>
2947 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2952 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
2953 egrep "_GLIBCPP_ok
" >/dev/null 2>&1; then
2955 enable_clocale_flag=gnu
2958 enable_clocale_flag=generic
2963 # Test for bugs early in glibc-2.2.x series
2964 if test x$enable_clocale_flag = xgnu; then
2965 if test "$cross_compiling" = yes; then
2966 enable_clocale_flag=generic
2968 cat > conftest.$ac_ext <<EOF
2969 #line 2970 "configure
"
2970 #include "confdefs.h
"
2972 #define _GNU_SOURCE 1
2976 const char __one[] = "Äuglein Augmen
";
2977 const char __two[] = "Äuglein
";
2982 loc = __newlocale(1 << LC_ALL, "de_DE
", 0);
2983 loc_dup = __duplocale(loc);
2984 i = __strcoll_l(__one, __two, loc);
2985 j = __strcoll_l(__one, __two, loc_dup);
2990 if { (eval echo configure:2991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2992 enable_clocale_flag=gnu
2994 echo "configure
: failed program was
:" >&5
2995 cat conftest.$ac_ext >&5
2997 enable_clocale_flag=generic
3004 # ... at some point put __strxfrm_l tests in as well.
3007 enable_clocale_flag=generic
3012 # Check whether --enable-nls or --disable-nls was given.
3013 if test "${enable_nls+set}" = set; then
3014 enableval="$enable_nls"
3022 case x${enable_clocale_flag} in
3024 echo "$ac_t""generic
" 1>&6
3026 CLOCALE_H=config/locale/generic/c_locale.h
3027 CLOCALE_CC=config/locale/generic/c_locale.cc
3028 CCODECVT_H=config/locale/generic/codecvt_specializations.h
3029 CCOLLATE_CC=config/locale/generic/collate_members.cc
3030 CCTYPE_CC=config/locale/generic/ctype_members.cc
3031 CMESSAGES_H=config/locale/generic/messages_members.h
3032 CMESSAGES_CC=config/locale/generic/messages_members.cc
3033 CMONEY_CC=config/locale/generic/monetary_members.cc
3034 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3035 CTIME_CC=config/locale/generic/time_members.cc
3038 echo "$ac_t""gnu
" 1>&6
3040 # Declare intention to use gettext, and add support for specific
3042 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
3045 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
3046 # Extract the first word of "msgfmt
", so it can be a program name with args.
3047 set dummy msgfmt; ac_word=$2
3048 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
3049 echo "configure
:3050: checking
for $ac_word" >&5
3050 if eval "test \"`echo '$''{'ac_cv_prog_check_msgfmt'+set}'`\" = set"; then
3051 echo $ac_n "(cached
) $ac_c" 1>&6
3053 if test -n "$check_msgfmt"; then
3054 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
3056 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3058 for ac_dir in $ac_dummy; do
3059 test -z "$ac_dir" && ac_dir=.
3060 if test -f $ac_dir/$ac_word; then
3061 ac_cv_prog_check_msgfmt="yes"
3066 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no
"
3069 check_msgfmt="$ac_cv_prog_check_msgfmt"
3070 if test -n "$check_msgfmt"; then
3071 echo "$ac_t""$check_msgfmt" 1>&6
3073 echo "$ac_t""no
" 1>&6
3076 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
3079 # Export the build objects.
3080 for ling in $ALL_LINGUAS; do \
3081 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo
"; \
3082 glibcpp_POFILES="$glibcpp_POFILES $ling.po
"; \
3087 CLOCALE_H=config/locale/gnu/c_locale.h
3088 CLOCALE_CC=config/locale/gnu/c_locale.cc
3089 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3090 CCOLLATE_CC=config/locale/gnu/collate_members.cc
3091 CCTYPE_CC=config/locale/gnu/ctype_members.cc
3092 CMESSAGES_H=config/locale/gnu/messages_members.h
3093 CMESSAGES_CC=config/locale/gnu/messages_members.cc
3094 CMONEY_CC=config/locale/gnu/monetary_members.cc
3095 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
3096 CTIME_CC=config/locale/gnu/time_members.cc
3099 echo "$ac_t""generic
" 1>&6
3101 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
3102 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
3103 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3104 CCOLLATE_CC=config/locale/generic/collate_members.cc
3105 CCTYPE_CC=config/locale/generic/ctype_members.cc
3106 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
3107 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
3108 CMONEY_CC=config/locale/generic/monetary_members.cc
3109 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3110 CTIME_CC=config/locale/generic/time_members.cc
3113 echo "$enable_clocale is an unknown locale package
" 1>&2
3118 # This is where the testsuite looks for locale catalogs, using the
3119 # -DLOCALEDIR define during testsuite compilation.
3120 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3135 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3136 if test "${enable_c_mbchar+set}" = set; then
3137 enableval="$enable_c_mbchar"
3138 case "$enableval" in
3139 yes) enable_c_mbchar=yes ;;
3140 no) enable_c_mbchar=no ;;
3141 *) { echo "configure
: error
: Unknown argument to enable
/disable c-mbchar
" 1>&2; exit 1; } ;;
3148 # Check whether --enable-c99 or --disable-c99 was given.
3149 if test "${enable_c99+set}" = set; then
3150 enableval="$enable_c99"
3151 case "$enableval" in
3152 yes) enable_c99=yes ;;
3153 no) enable_c99=no ;;
3154 *) { echo "configure
: error
: Unknown argument to enable
/disable C99
" 1>&2; exit 1; } ;;
3162 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3163 ac_cpp='$CXXCPP $CPPFLAGS'
3164 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3165 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3166 cross_compiling=$ac_cv_prog_cxx_cross
3169 # Check for the existence of <math.h> functions used if C99 is enabled.
3171 echo $ac_n "checking
for ISO C99 support
in <math.h
>""...
$ac_c" 1>&6
3172 echo "configure
:3173: checking
for ISO C99 support
in <math.h
>" >&5
3173 cat > conftest.$ac_ext <<EOF
3174 #line 3175 "configure
"
3175 #include "confdefs.h
"
3181 if { (eval echo configure:3182: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3184 echo "configure
: failed program was
:" >&5
3185 cat conftest.$ac_ext >&5
3190 cat > conftest.$ac_ext <<EOF
3191 #line 3192 "configure
"
3192 #include "confdefs.h
"
3198 if { (eval echo configure:3199: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3201 echo "configure
: failed program was
:" >&5
3202 cat conftest.$ac_ext >&5
3207 cat > conftest.$ac_ext <<EOF
3208 #line 3209 "configure
"
3209 #include "confdefs.h
"
3215 if { (eval echo configure:3216: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3218 echo "configure
: failed program was
:" >&5
3219 cat conftest.$ac_ext >&5
3224 cat > conftest.$ac_ext <<EOF
3225 #line 3226 "configure
"
3226 #include "confdefs.h
"
3232 if { (eval echo configure:3233: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3235 echo "configure
: failed program was
:" >&5
3236 cat conftest.$ac_ext >&5
3241 cat > conftest.$ac_ext <<EOF
3242 #line 3243 "configure
"
3243 #include "confdefs.h
"
3249 if { (eval echo configure:3250: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3252 echo "configure
: failed program was
:" >&5
3253 cat conftest.$ac_ext >&5
3258 cat > conftest.$ac_ext <<EOF
3259 #line 3260 "configure
"
3260 #include "confdefs.h
"
3266 if { (eval echo configure:3267: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3269 echo "configure
: failed program was
:" >&5
3270 cat conftest.$ac_ext >&5
3275 cat > conftest.$ac_ext <<EOF
3276 #line 3277 "configure
"
3277 #include "confdefs.h
"
3283 if { (eval echo configure:3284: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3286 echo "configure
: failed program was
:" >&5
3287 cat conftest.$ac_ext >&5
3292 cat > conftest.$ac_ext <<EOF
3293 #line 3294 "configure
"
3294 #include "confdefs.h
"
3297 isgreaterequal(0.0,0.0);
3300 if { (eval echo configure:3301: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3303 echo "configure
: failed program was
:" >&5
3304 cat conftest.$ac_ext >&5
3309 cat > conftest.$ac_ext <<EOF
3310 #line 3311 "configure
"
3311 #include "confdefs.h
"
3317 if { (eval echo configure:3318: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3320 echo "configure
: failed program was
:" >&5
3321 cat conftest.$ac_ext >&5
3326 cat > conftest.$ac_ext <<EOF
3327 #line 3328 "configure
"
3328 #include "confdefs.h
"
3331 islessequal(0.0,0.0);
3334 if { (eval echo configure:3335: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3337 echo "configure
: failed program was
:" >&5
3338 cat conftest.$ac_ext >&5
3343 cat > conftest.$ac_ext <<EOF
3344 #line 3345 "configure
"
3345 #include "confdefs.h
"
3348 islessgreater(0.0,0.0);
3351 if { (eval echo configure:3352: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3354 echo "configure
: failed program was
:" >&5
3355 cat conftest.$ac_ext >&5
3360 cat > conftest.$ac_ext <<EOF
3361 #line 3362 "configure
"
3362 #include "confdefs.h
"
3365 isunordered(0.0,0.0);
3368 if { (eval echo configure:3369: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3371 echo "configure
: failed program was
:" >&5
3372 cat conftest.$ac_ext >&5
3377 echo "$ac_t""$ac_c99_math" 1>&6
3379 # Check for the existence in <stdio.h> of vscanf, et. al.
3381 echo $ac_n "checking
for ISO C99 support
in <stdio.h
>""...
$ac_c" 1>&6
3382 echo "configure
:3383: checking
for ISO C99 support
in <stdio.h
>" >&5
3383 cat > conftest.$ac_ext <<EOF
3384 #line 3385 "configure
"
3385 #include "confdefs.h
"
3388 snprintf("12", 0, "%i
");
3391 if { (eval echo configure:3392: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3394 echo "configure
: failed program was
:" >&5
3395 cat conftest.$ac_ext >&5
3400 cat > conftest.$ac_ext <<EOF
3401 #line 3402 "configure
"
3402 #include "confdefs.h
"
3405 void foo(char* fmt, ...)
3406 {va_list args; va_start(args, fmt);
3407 vfscanf(stderr, "%i
", args);}
3412 if { (eval echo configure:3413: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3415 echo "configure
: failed program was
:" >&5
3416 cat conftest.$ac_ext >&5
3421 cat > conftest.$ac_ext <<EOF
3422 #line 3423 "configure
"
3423 #include "confdefs.h
"
3426 void foo(char* fmt, ...)
3427 {va_list args; va_start(args, fmt);
3428 vscanf("%i
", args);}
3433 if { (eval echo configure:3434: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3436 echo "configure
: failed program was
:" >&5
3437 cat conftest.$ac_ext >&5
3442 cat > conftest.$ac_ext <<EOF
3443 #line 3444 "configure
"
3444 #include "confdefs.h
"
3447 void foo(char* fmt, ...)
3448 {va_list args; va_start(args, fmt);
3449 vsnprintf(fmt, 0, "%i
", args);}
3454 if { (eval echo configure:3455: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3457 echo "configure
: failed program was
:" >&5
3458 cat conftest.$ac_ext >&5
3463 cat > conftest.$ac_ext <<EOF
3464 #line 3465 "configure
"
3465 #include "confdefs.h
"
3468 void foo(char* fmt, ...)
3469 {va_list args; va_start(args, fmt);
3470 vsscanf(fmt, "%i
", args);}
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 echo "$ac_t""$ac_c99_stdio" 1>&6
3486 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3488 echo $ac_n "checking
for lldiv_t declaration
""...
$ac_c" 1>&6
3489 echo "configure
:3490: checking
for lldiv_t declaration
" >&5
3490 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3491 echo $ac_n "(cached
) $ac_c" 1>&6
3494 cat > conftest.$ac_ext <<EOF
3495 #line 3496 "configure
"
3496 #include "confdefs.h
"
3502 if { (eval echo configure:3503: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3506 echo "configure
: failed program was
:" >&5
3507 cat conftest.$ac_ext >&5
3515 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3517 echo $ac_n "checking
for ISO C99 support
in <stdlib.h
>""...
$ac_c" 1>&6
3518 echo "configure
:3519: checking
for ISO C99 support
in <stdlib.h
>" >&5
3519 cat > conftest.$ac_ext <<EOF
3520 #line 3521 "configure
"
3521 #include "confdefs.h
"
3524 char* tmp; strtof("gnu
", &tmp);
3527 if { (eval echo configure:3528: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3530 echo "configure
: failed program was
:" >&5
3531 cat conftest.$ac_ext >&5
3536 cat > conftest.$ac_ext <<EOF
3537 #line 3538 "configure
"
3538 #include "confdefs.h
"
3541 char* tmp; strtold("gnu
", &tmp);
3544 if { (eval echo configure:3545: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3547 echo "configure
: failed program was
:" >&5
3548 cat conftest.$ac_ext >&5
3553 cat > conftest.$ac_ext <<EOF
3554 #line 3555 "configure
"
3555 #include "confdefs.h
"
3561 if { (eval echo configure:3562: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3564 echo "configure
: failed program was
:" >&5
3565 cat conftest.$ac_ext >&5
3570 cat > conftest.$ac_ext <<EOF
3571 #line 3572 "configure
"
3572 #include "confdefs.h
"
3578 if { (eval echo configure:3579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3581 echo "configure
: failed program was
:" >&5
3582 cat conftest.$ac_ext >&5
3587 cat > conftest.$ac_ext <<EOF
3588 #line 3589 "configure
"
3589 #include "confdefs.h
"
3595 if { (eval echo configure:3596: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3598 echo "configure
: failed program was
:" >&5
3599 cat conftest.$ac_ext >&5
3604 cat > conftest.$ac_ext <<EOF
3605 #line 3606 "configure
"
3606 #include "confdefs.h
"
3612 if { (eval echo configure:3613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3615 echo "configure
: failed program was
:" >&5
3616 cat conftest.$ac_ext >&5
3621 if test x"$ac_c99_lldiv_t" = x"no
"; then
3624 echo "$ac_t""$ac_c99_stdlib" 1>&6
3626 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3627 # XXX the wchar.h checks should be rolled into the general C99 bits.
3629 echo $ac_n "checking
for additional ISO C99 support
in <wchar.h
>""...
$ac_c" 1>&6
3630 echo "configure
:3631: checking
for additional ISO C99 support
in <wchar.h
>" >&5
3631 cat > conftest.$ac_ext <<EOF
3632 #line 3633 "configure
"
3633 #include "confdefs.h
"
3636 wcstold(L"10.0", NULL);
3639 if { (eval echo configure:3640: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3642 echo "configure
: failed program was
:" >&5
3643 cat conftest.$ac_ext >&5
3648 cat > conftest.$ac_ext <<EOF
3649 #line 3650 "configure
"
3650 #include "confdefs.h
"
3653 wcstoll(L"10", NULL, 10);
3656 if { (eval echo configure:3657: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3659 echo "configure
: failed program was
:" >&5
3660 cat conftest.$ac_ext >&5
3665 cat > conftest.$ac_ext <<EOF
3666 #line 3667 "configure
"
3667 #include "confdefs.h
"
3670 wcstoull(L"10", NULL, 10);
3673 if { (eval echo configure:3674: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3676 echo "configure
: failed program was
:" >&5
3677 cat conftest.$ac_ext >&5
3682 echo "$ac_t""$ac_c99_wchar" 1>&6
3684 echo $ac_n "checking
for enabled ISO C99 support
""...
$ac_c" 1>&6
3685 echo "configure
:3686: checking
for enabled ISO C99 support
" >&5
3686 if test x"$ac_c99_math" = x"no
" ||
3687 test x"$ac_c99_stdio" = x"no
" ||
3688 test x"$ac_c99_stdlib" = x"no
" ||
3689 test x"$ac_c99_wchar" = x"no
"; then
3692 echo "$ac_t""$enable_c99" 1>&6
3694 # Option parsed, now set things appropriately
3695 if test x"$enable_c99" = x"yes"; then
3696 cat >> confdefs.h <<\EOF
3697 #define _GLIBCPP_USE_C99 1
3703 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3704 ac_cpp='$CPP $CPPFLAGS'
3705 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3706 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3707 cross_compiling=$ac_cv_prog_cc_cross
3711 # Check whether --enable-long-long or --disable-long-long was given.
3712 if test "${enable_long_long+set}" = set; then
3713 enableval="$enable_long_long"
3714 case "$enableval" in
3715 yes) enable_long_long=yes ;;
3716 no) enable_long_long=no ;;
3717 *) { echo "configure
: error
: Unknown argument to enable
/disable long long
" 1>&2; exit 1; } ;;
3720 enable_long_long=yes
3725 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3726 ac_cpp='$CXXCPP $CPPFLAGS'
3727 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3728 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3729 cross_compiling=$ac_cv_prog_cxx_cross
3732 echo $ac_n "checking
for enabled long long I
/O support
""...
$ac_c" 1>&6
3733 echo "configure
:3734: checking
for enabled long long I
/O support
" >&5
3734 # iostreams require strtoll, strtoull to compile
3735 cat > conftest.$ac_ext <<EOF
3736 #line 3737 "configure
"
3737 #include "confdefs.h
"
3740 char* tmp; strtoll("gnu
", &tmp, 10);
3743 if { (eval echo configure:3744: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3746 echo "configure
: failed program was
:" >&5
3747 cat conftest.$ac_ext >&5
3752 cat > conftest.$ac_ext <<EOF
3753 #line 3754 "configure
"
3754 #include "confdefs.h
"
3757 char* tmp; strtoull("gnu
", &tmp, 10);
3760 if { (eval echo configure:3761: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3763 echo "configure
: failed program was
:" >&5
3764 cat conftest.$ac_ext >&5
3770 # Option parsed, now set things appropriately
3771 if test x"$enable_long_long" = xyes; then
3772 cat >> confdefs.h <<\EOF
3773 #define _GLIBCPP_USE_LONG_LONG 1
3777 echo "$ac_t""$enable_long_long" 1>&6
3780 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3781 ac_cpp='$CPP $CPPFLAGS'
3782 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3783 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3784 cross_compiling=$ac_cv_prog_cc_cross
3787 echo $ac_n "checking
for c header strategy to use
""...
$ac_c" 1>&6
3788 echo "configure
:3789: checking
for c header strategy to use
" >&5
3789 # Check whether --enable-cheaders or --disable-cheaders was given.
3790 if test "${enable_cheaders+set}" = set; then
3791 enableval="$enable_cheaders"
3793 case "$enableval" in
3798 enable_cheaders=c_std
3801 enable_cheaders=c_shadow
3803 *) { echo "configure
: error
: Unknown argument to enable
/disable
"C" headers
" 1>&2; exit 1; }
3807 enable_cheaders=c_std
3810 echo "$ac_t""$enable_cheaders" 1>&6
3812 case "$enable_cheaders" in
3814 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_shadow'
3817 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3820 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3827 if test "$enable_cheaders" = c; then
3828 GLIBCPP_C_HEADERS_C_TRUE=
3829 GLIBCPP_C_HEADERS_C_FALSE='#'
3831 GLIBCPP_C_HEADERS_C_TRUE='#'
3832 GLIBCPP_C_HEADERS_C_FALSE=
3836 if test "$enable_cheaders" = c_std; then
3837 GLIBCPP_C_HEADERS_C_STD_TRUE=
3838 GLIBCPP_C_HEADERS_C_STD_FALSE='#'
3840 GLIBCPP_C_HEADERS_C_STD_TRUE='#'
3841 GLIBCPP_C_HEADERS_C_STD_FALSE=
3845 if test "$c_compatibility" = yes; then
3846 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE=
3847 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE='#'
3849 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE='#'
3850 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE=
3854 echo $ac_n "checking
for thread model used by GCC
""...
$ac_c" 1>&6
3855 echo "configure
:3856: checking
for thread model used by GCC
" >&5
3856 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3857 echo "$ac_t""$target_thread_file" 1>&6
3859 if test $target_thread_file != single; then
3860 cat >> confdefs.h <<\EOF
3861 #define HAVE_GTHR_DEFAULT 1
3864 cat >> confdefs.h <<\EOF
3865 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3870 glibcpp_thread_h=gthr-$target_thread_file.h
3873 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3874 if test "${enable_cxx_flags+set}" = set; then
3875 enableval="$enable_cxx_flags"
3876 case "x
$enableval" in
3878 { echo "configure
: error
: --enable-cxx-flags needs compiler flags as arguments
" 1>&2; exit 1; } ;;
3880 enable_cxx_flags='' ;;
3882 enable_cxx_flags="$enableval" ;;
3885 enable_cxx_flags='none'
3889 if test "$enable_cxx_flags" = "none
"; then
3890 enable_cxx_flags='';
3893 if test -n "$enable_cxx_flags"; then
3894 for f in $enable_cxx_flags; do
3898 *) # and we're trying to pass /what/ exactly?
3899 { echo "configure
: error
: compiler flags start with a
-" 1>&2; exit 1; } ;;
3903 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3907 echo $ac_n "checking
for exception model to use
""...
$ac_c" 1>&6
3908 echo "configure
:3909: checking
for exception model to use
" >&5
3911 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3912 ac_cpp='$CXXCPP $CPPFLAGS'
3913 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3914 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3915 cross_compiling=$ac_cv_prog_cxx_cross
3917 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3918 if test "${enable_sjlj_exceptions+set}" = set; then
3919 enableval="$enable_sjlj_exceptions"
3922 cat > conftest.$ac_ext << EOF
3923 #line 3924 "configure
"
3932 old_CXXFLAGS="$CXXFLAGS"
3934 if { (eval echo configure:3935: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3935 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
3936 enable_sjlj_exceptions=yes
3937 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
3938 enable_sjlj_exceptions=no
3941 CXXFLAGS="$old_CXXFLAGS"
3945 if test x$enable_sjlj_exceptions = xyes; then
3946 cat >> confdefs.h <<\EOF
3947 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
3950 ac_exception_model_name=sjlj
3951 elif test x$enable_sjlj_exceptions = xno; then
3952 ac_exception_model_name="call frame
"
3954 { echo "configure
: error
: unable to detect exception model
" 1>&2; exit 1; }
3957 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3958 ac_cpp='$CPP $CPPFLAGS'
3959 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3960 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3961 cross_compiling=$ac_cv_prog_cc_cross
3963 echo "$ac_t""$ac_exception_model_name" 1>&6
3966 echo $ac_n "checking
for use of libunwind
""...
$ac_c" 1>&6
3967 echo "configure
:3968: checking
for use of libunwind
" >&5
3968 # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
3969 if test "${enable_libunwind_exceptions+set}" = set; then
3970 enableval="$enable_libunwind_exceptions"
3971 use_libunwind_exceptions=$enableval
3973 use_libunwind_exceptions=no
3976 echo "$ac_t""$use_libunwind_exceptions" 1>&6
3977 if test x"$use_libunwind_exceptions" = xyes; then
3978 LIBUNWIND_FLAG="-lunwind"
3984 # Check whether --enable-concept-checks or --disable-concept-checks was given.
3985 if test "${enable_concept_checks+set}" = set; then
3986 enableval="$enable_concept_checks"
3987 case "$enableval" in
3988 yes) enable_concept_checks=yes ;;
3989 no) enable_concept_checks=no ;;
3990 *) { echo "configure
: error
: Unknown argument to enable
/disable concept checks
" 1>&2; exit 1; } ;;
3993 enable_concept_checks=no
3995 if test x"$enable_concept_checks" = xyes; then
3996 cat >> confdefs.h <<\EOF
3997 #define _GLIBCPP_CONCEPT_CHECKS 1
4003 # Check for headers necessary for libsupc++ using dyn-string.c/cxa_demangle.c
4004 for ac_hdr in string.h stdlib.h
4006 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4007 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4008 echo "configure
:4009: checking
for $ac_hdr" >&5
4009 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4010 echo $ac_n "(cached
) $ac_c" 1>&6
4012 cat > conftest.$ac_ext <<EOF
4013 #line 4014 "configure
"
4014 #include "confdefs.h
"
4017 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4018 { (eval echo configure:4019: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4019 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4020 if test -z "$ac_err"; then
4022 eval "ac_cv_header_
$ac_safe=yes"
4025 echo "configure
: failed program was
:" >&5
4026 cat conftest.$ac_ext >&5
4028 eval "ac_cv_header_
$ac_safe=no
"
4032 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4033 echo "$ac_t""yes" 1>&6
4034 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4035 cat >> confdefs.h <<EOF
4036 #define $ac_tr_hdr 1
4040 echo "$ac_t""no
" 1>&6
4045 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
4047 # We are being configured with some form of cross compiler.
4048 GLIBCPP_IS_CROSS_COMPILING=1
4050 # This lets us hard-code the functionality we know we'll have in the cross
4051 # target environment. "Let
" is a sugar-coated word placed on an especially
4052 # dull and tedious hack, actually.
4054 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
4055 # that involve linking, can't be used:
4056 # "cannot open sim-crt0.o
"
4057 # "cannot open crt0.o
"
4058 # etc. All this is because there currently exists no unified, consistent
4059 # way for top level CC information to be passed down to target directories:
4060 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
4061 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
4062 # crosses can be removed.
4064 # If Canadian cross, then don't pick up tools from the build directory.
4065 # Used in GLIBCPP_EXPORT_INCLUDES (and nowhere else?).
4066 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
4072 # Construct crosses by hand, eliminating bits that need ld...
4073 # GLIBCPP_CHECK_COMPILER_FEATURES
4074 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4075 # GLIBCPP_CHECK_MATH_SUPPORT
4077 case "$target_alias" in
4079 os_include_dir="os
/gnu-linux
"
4080 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4081 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4082 fp.h locale.h float.h inttypes.h
4084 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4085 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4086 echo "configure
:4087: checking
for $ac_hdr" >&5
4087 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4088 echo $ac_n "(cached
) $ac_c" 1>&6
4090 cat > conftest.$ac_ext <<EOF
4091 #line 4092 "configure
"
4092 #include "confdefs.h
"
4095 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4096 { (eval echo configure:4097: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4097 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4098 if test -z "$ac_err"; then
4100 eval "ac_cv_header_
$ac_safe=yes"
4103 echo "configure
: failed program was
:" >&5
4104 cat conftest.$ac_ext >&5
4106 eval "ac_cv_header_
$ac_safe=no
"
4110 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4111 echo "$ac_t""yes" 1>&6
4112 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4113 cat >> confdefs.h <<EOF
4114 #define $ac_tr_hdr 1
4118 echo "$ac_t""no
" 1>&6
4122 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4125 # If we're not using GNU ld, then there's no point in even trying these
4126 # tests. Check for that first. We should have already tested for gld
4127 # by now (in libtool), but require it now just to be safe...
4128 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4129 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4132 # The name set by libtool depends on the version of libtool. Shame on us
4133 # for depending on an impl detail, but c'est la vie. Older versions used
4134 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4135 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4136 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4137 # set (hence we're using an older libtool), then set it.
4138 if test x${with_gnu_ld+set} != xset; then
4139 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4140 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
4143 with_gnu_ld=$ac_cv_prog_gnu_ld
4147 # Start by getting the version number. I think the libtool test already
4148 # does some of this, but throws away the result.
4150 ldver=`$LD --version 2>/dev/null | head -1 | \
4151 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4153 glibcpp_gnu_ld_version=`echo $ldver | \
4154 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4156 # Set --gc-sections.
4157 if test "$with_gnu_ld" = "notbroken
"; then
4158 # GNU ld it is! Joy and bunny rabbits!
4160 # All these tests are for C++; save the language and the compiler flags.
4161 # Need to do this so that g++ won't try to link in libstdc++
4162 ac_test_CFLAGS="${CFLAGS+set}"
4163 ac_save_CFLAGS="$CFLAGS"
4164 CFLAGS='-x c++ -Wl,--gc-sections'
4166 # Check for -Wl,--gc-sections
4167 # XXX This test is broken at the moment, as symbols required for
4168 # linking are now in libsupc++ (not built yet.....). In addition,
4169 # this test has cored on solaris in the past. In addition,
4170 # --gc-sections doesn't really work at the moment (keeps on discarding
4171 # used sections, first .eh_frame and now some of the glibc sections for
4172 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4173 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
4174 echo "configure
:4175: checking
for ld that supports
-Wl,--gc-sections" >&5
4175 if test "$cross_compiling" = yes; then
4176 ac_sectionLDflags=yes
4178 cat > conftest.$ac_ext <<EOF
4179 #line 4180 "configure
"
4180 #include "confdefs.h
"
4190 if { (eval echo configure:4191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4192 ac_sectionLDflags=yes
4194 echo "configure
: failed program was
:" >&5
4195 cat conftest.$ac_ext >&5
4197 ac_sectionLDflags=no
4202 if test "$ac_test_CFLAGS" = set; then
4203 CFLAGS="$ac_save_CFLAGS"
4205 # this is the suspicious part
4208 if test "$ac_sectionLDflags" = "yes"; then
4209 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4211 echo "$ac_t""$ac_sectionLDflags" 1>&6
4214 # Set linker optimization flags.
4215 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no
"; then
4216 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4223 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
4224 echo "configure
:4225: checking
for main
in -lm" >&5
4225 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4226 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4227 echo $ac_n "(cached
) $ac_c" 1>&6
4229 ac_save_LIBS="$LIBS"
4231 cat > conftest.$ac_ext <<EOF
4232 #line 4233 "configure
"
4233 #include "confdefs.h
"
4239 if { (eval echo configure:4240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4241 eval "ac_cv_lib_
$ac_lib_var=yes"
4243 echo "configure
: failed program was
:" >&5
4244 cat conftest.$ac_ext >&5
4246 eval "ac_cv_lib_
$ac_lib_var=no
"
4249 LIBS="$ac_save_LIBS"
4252 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4253 echo "$ac_t""yes" 1>&6
4254 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4255 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4256 cat >> confdefs.h <<EOF
4257 #define $ac_tr_lib 1
4263 echo "$ac_t""no
" 1>&6
4266 for ac_func in nan copysignf
4268 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4269 echo "configure
:4270: checking
for $ac_func" >&5
4270 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4271 echo $ac_n "(cached
) $ac_c" 1>&6
4273 cat > conftest.$ac_ext <<EOF
4274 #line 4275 "configure
"
4275 #include "confdefs.h
"
4276 /* System header to define __stub macros and hopefully few prototypes,
4277 which can conflict with char $ac_func(); below. */
4279 /* Override any gcc2 internal prototype to avoid an error. */
4280 /* We use char because int might match the return type of a gcc2
4281 builtin and then its argument prototype would still apply. */
4286 /* The GNU C library defines this for functions which it implements
4287 to always fail with ENOSYS. Some functions are actually named
4288 something starting with __ and the normal name is an alias. */
4289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4297 if { (eval echo configure:4298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4299 eval "ac_cv_func_
$ac_func=yes"
4301 echo "configure
: failed program was
:" >&5
4302 cat conftest.$ac_ext >&5
4304 eval "ac_cv_func_
$ac_func=no
"
4309 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4310 echo "$ac_t""yes" 1>&6
4311 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4312 cat >> confdefs.h <<EOF
4313 #define $ac_tr_func 1
4317 echo "$ac_t""no
" 1>&6
4318 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
4323 for ac_func in __signbit
4325 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4326 echo "configure
:4327: checking
for $ac_func" >&5
4327 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4328 echo $ac_n "(cached
) $ac_c" 1>&6
4330 cat > conftest.$ac_ext <<EOF
4331 #line 4332 "configure
"
4332 #include "confdefs.h
"
4333 /* System header to define __stub macros and hopefully few prototypes,
4334 which can conflict with char $ac_func(); below. */
4336 /* Override any gcc2 internal prototype to avoid an error. */
4337 /* We use char because int might match the return type of a gcc2
4338 builtin and then its argument prototype would still apply. */
4343 /* The GNU C library defines this for functions which it implements
4344 to always fail with ENOSYS. Some functions are actually named
4345 something starting with __ and the normal name is an alias. */
4346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4354 if { (eval echo configure:4355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4356 eval "ac_cv_func_
$ac_func=yes"
4358 echo "configure
: failed program was
:" >&5
4359 cat conftest.$ac_ext >&5
4361 eval "ac_cv_func_
$ac_func=no
"
4366 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4367 echo "$ac_t""yes" 1>&6
4368 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4369 cat >> confdefs.h <<EOF
4370 #define $ac_tr_func 1
4374 echo "$ac_t""no
" 1>&6
4375 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
4379 for ac_func in __signbitf
4381 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4382 echo "configure
:4383: checking
for $ac_func" >&5
4383 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4384 echo $ac_n "(cached
) $ac_c" 1>&6
4386 cat > conftest.$ac_ext <<EOF
4387 #line 4388 "configure
"
4388 #include "confdefs.h
"
4389 /* System header to define __stub macros and hopefully few prototypes,
4390 which can conflict with char $ac_func(); below. */
4392 /* Override any gcc2 internal prototype to avoid an error. */
4393 /* We use char because int might match the return type of a gcc2
4394 builtin and then its argument prototype would still apply. */
4399 /* The GNU C library defines this for functions which it implements
4400 to always fail with ENOSYS. Some functions are actually named
4401 something starting with __ and the normal name is an alias. */
4402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4410 if { (eval echo configure:4411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4412 eval "ac_cv_func_
$ac_func=yes"
4414 echo "configure
: failed program was
:" >&5
4415 cat conftest.$ac_ext >&5
4417 eval "ac_cv_func_
$ac_func=no
"
4422 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4423 echo "$ac_t""yes" 1>&6
4424 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4425 cat >> confdefs.h <<EOF
4426 #define $ac_tr_func 1
4430 echo "$ac_t""no
" 1>&6
4431 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
4436 if test x$ac_cv_func_copysignl = x"yes"; then
4437 for ac_func in __signbitl
4439 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4440 echo "configure
:4441: checking
for $ac_func" >&5
4441 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4442 echo $ac_n "(cached
) $ac_c" 1>&6
4444 cat > conftest.$ac_ext <<EOF
4445 #line 4446 "configure
"
4446 #include "confdefs.h
"
4447 /* System header to define __stub macros and hopefully few prototypes,
4448 which can conflict with char $ac_func(); below. */
4450 /* Override any gcc2 internal prototype to avoid an error. */
4451 /* We use char because int might match the return type of a gcc2
4452 builtin and then its argument prototype would still apply. */
4457 /* The GNU C library defines this for functions which it implements
4458 to always fail with ENOSYS. Some functions are actually named
4459 something starting with __ and the normal name is an alias. */
4460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4468 if { (eval echo configure:4469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4470 eval "ac_cv_func_
$ac_func=yes"
4472 echo "configure
: failed program was
:" >&5
4473 cat conftest.$ac_ext >&5
4475 eval "ac_cv_func_
$ac_func=no
"
4480 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4481 echo "$ac_t""yes" 1>&6
4482 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4483 cat >> confdefs.h <<EOF
4484 #define $ac_tr_func 1
4488 echo "$ac_t""no
" 1>&6
4489 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
4499 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
4500 echo "configure
:4501: checking
for mbstate_t
" >&5
4501 cat > conftest.$ac_ext <<EOF
4502 #line 4503 "configure
"
4503 #include "confdefs.h
"
4506 mbstate_t teststate;
4509 if { (eval echo configure:4510: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4513 echo "configure
: failed program was
:" >&5
4514 cat conftest.$ac_ext >&5
4519 echo "$ac_t""$have_mbstate_t" 1>&6
4520 if test x"$have_mbstate_t" = xyes; then
4521 cat >> confdefs.h <<\EOF
4522 #define HAVE_MBSTATE_T 1
4527 for ac_hdr in wchar.h
4529 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4530 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4531 echo "configure
:4532: checking
for $ac_hdr" >&5
4532 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4533 echo $ac_n "(cached
) $ac_c" 1>&6
4535 cat > conftest.$ac_ext <<EOF
4536 #line 4537 "configure
"
4537 #include "confdefs.h
"
4540 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4541 { (eval echo configure:4542: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4542 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4543 if test -z "$ac_err"; then
4545 eval "ac_cv_header_
$ac_safe=yes"
4548 echo "configure
: failed program was
:" >&5
4549 cat conftest.$ac_ext >&5
4551 eval "ac_cv_header_
$ac_safe=no
"
4555 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4556 echo "$ac_t""yes" 1>&6
4557 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4558 cat >> confdefs.h <<EOF
4559 #define $ac_tr_hdr 1
4563 echo "$ac_t""no
" 1>&6
4568 for ac_hdr in wctype.h
4570 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4571 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4572 echo "configure
:4573: checking
for $ac_hdr" >&5
4573 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4574 echo $ac_n "(cached
) $ac_c" 1>&6
4576 cat > conftest.$ac_ext <<EOF
4577 #line 4578 "configure
"
4578 #include "confdefs.h
"
4581 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4582 { (eval echo configure:4583: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4583 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4584 if test -z "$ac_err"; then
4586 eval "ac_cv_header_
$ac_safe=yes"
4589 echo "configure
: failed program was
:" >&5
4590 cat conftest.$ac_ext >&5
4592 eval "ac_cv_header_
$ac_safe=no
"
4596 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4597 echo "$ac_t""yes" 1>&6
4598 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4599 cat >> confdefs.h <<EOF
4600 #define $ac_tr_hdr 1
4604 echo "$ac_t""no
" 1>&6
4610 if test x"$ac_has_wchar_h" = xyes &&
4611 test x"$ac_has_wctype_h" = xyes &&
4612 test x"$enable_c_mbchar" != xno; then
4614 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
4615 echo "configure
:4616: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
4616 cat > conftest.$ac_ext <<EOF
4617 #line 4618 "configure
"
4618 #include "confdefs.h
"
4621 int i = WCHAR_MIN; int j = WCHAR_MAX;
4624 if { (eval echo configure:4625: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4626 has_wchar_minmax=yes
4628 echo "configure
: failed program was
:" >&5
4629 cat conftest.$ac_ext >&5
4634 echo "$ac_t""$has_wchar_minmax" 1>&6
4636 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
4637 echo "configure
:4638: checking
for WEOF
" >&5
4638 cat > conftest.$ac_ext <<EOF
4639 #line 4640 "configure
"
4640 #include "confdefs.h
"
4648 if { (eval echo configure:4649: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4652 echo "configure
: failed program was
:" >&5
4653 cat conftest.$ac_ext >&5
4658 echo "$ac_t""$has_weof" 1>&6
4661 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4663 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4664 echo "configure
:4665: checking
for $ac_func" >&5
4665 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4666 echo $ac_n "(cached
) $ac_c" 1>&6
4668 cat > conftest.$ac_ext <<EOF
4669 #line 4670 "configure
"
4670 #include "confdefs.h
"
4671 /* System header to define __stub macros and hopefully few prototypes,
4672 which can conflict with char $ac_func(); below. */
4674 /* Override any gcc2 internal prototype to avoid an error. */
4675 /* We use char because int might match the return type of a gcc2
4676 builtin and then its argument prototype would still apply. */
4681 /* The GNU C library defines this for functions which it implements
4682 to always fail with ENOSYS. Some functions are actually named
4683 something starting with __ and the normal name is an alias. */
4684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4692 if { (eval echo configure:4693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4694 eval "ac_cv_func_
$ac_func=yes"
4696 echo "configure
: failed program was
:" >&5
4697 cat conftest.$ac_ext >&5
4699 eval "ac_cv_func_
$ac_func=no
"
4704 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4705 echo "$ac_t""yes" 1>&6
4706 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4707 cat >> confdefs.h <<EOF
4708 #define $ac_tr_func 1
4712 echo "$ac_t""no
" 1>&6
4719 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
4720 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4721 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4722 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4723 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4724 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4726 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4727 echo "configure
:4728: checking
for $ac_func" >&5
4728 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4729 echo $ac_n "(cached
) $ac_c" 1>&6
4731 cat > conftest.$ac_ext <<EOF
4732 #line 4733 "configure
"
4733 #include "confdefs.h
"
4734 /* System header to define __stub macros and hopefully few prototypes,
4735 which can conflict with char $ac_func(); below. */
4737 /* Override any gcc2 internal prototype to avoid an error. */
4738 /* We use char because int might match the return type of a gcc2
4739 builtin and then its argument prototype would still apply. */
4744 /* The GNU C library defines this for functions which it implements
4745 to always fail with ENOSYS. Some functions are actually named
4746 something starting with __ and the normal name is an alias. */
4747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4755 if { (eval echo configure:4756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4757 eval "ac_cv_func_
$ac_func=yes"
4759 echo "configure
: failed program was
:" >&5
4760 cat conftest.$ac_ext >&5
4762 eval "ac_cv_func_
$ac_func=no
"
4767 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4768 echo "$ac_t""yes" 1>&6
4769 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4770 cat >> confdefs.h <<EOF
4771 #define $ac_tr_func 1
4775 echo "$ac_t""no
" 1>&6
4782 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
4783 echo "configure
:4784: checking
for ISO C99 wchar_t support
" >&5
4784 if test x"$has_weof" = xyes &&
4785 test x"$has_wchar_minmax" = xyes &&
4786 test x"$ac_wfuncs" = xyes; then
4787 ac_isoC99_wchar_t=yes
4789 ac_isoC99_wchar_t=no
4791 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4793 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
4794 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
4795 echo "configure
:4796: checking
for iconv.h
" >&5
4796 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4797 echo $ac_n "(cached
) $ac_c" 1>&6
4799 cat > conftest.$ac_ext <<EOF
4800 #line 4801 "configure
"
4801 #include "confdefs.h
"
4804 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4805 { (eval echo configure:4806: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4806 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4807 if test -z "$ac_err"; then
4809 eval "ac_cv_header_
$ac_safe=yes"
4812 echo "configure
: failed program was
:" >&5
4813 cat conftest.$ac_ext >&5
4815 eval "ac_cv_header_
$ac_safe=no
"
4819 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4820 echo "$ac_t""yes" 1>&6
4823 echo "$ac_t""no
" 1>&6
4827 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
4828 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
4829 echo "configure
:4830: checking
for langinfo.h
" >&5
4830 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4831 echo $ac_n "(cached
) $ac_c" 1>&6
4833 cat > conftest.$ac_ext <<EOF
4834 #line 4835 "configure
"
4835 #include "confdefs.h
"
4836 #include <langinfo.h>
4838 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4839 { (eval echo configure:4840: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4840 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4841 if test -z "$ac_err"; then
4843 eval "ac_cv_header_
$ac_safe=yes"
4846 echo "configure
: failed program was
:" >&5
4847 cat conftest.$ac_ext >&5
4849 eval "ac_cv_header_
$ac_safe=no
"
4853 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4854 echo "$ac_t""yes" 1>&6
4855 ac_has_langinfo_h=yes
4857 echo "$ac_t""no
" 1>&6
4858 ac_has_langinfo_h=no
4862 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
4863 echo "configure
:4864: checking
for iconv in -liconv" >&5
4864 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4865 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4866 echo $ac_n "(cached
) $ac_c" 1>&6
4868 ac_save_LIBS="$LIBS"
4869 LIBS="-liconv $LIBS"
4870 cat > conftest.$ac_ext <<EOF
4871 #line 4872 "configure
"
4872 #include "confdefs.h
"
4873 /* Override any gcc2 internal prototype to avoid an error. */
4874 /* We use char because int might match the return type of a gcc2
4875 builtin and then its argument prototype would still apply. */
4882 if { (eval echo configure:4883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4884 eval "ac_cv_lib_
$ac_lib_var=yes"
4886 echo "configure
: failed program was
:" >&5
4887 cat conftest.$ac_ext >&5
4889 eval "ac_cv_lib_
$ac_lib_var=no
"
4892 LIBS="$ac_save_LIBS"
4895 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4896 echo "$ac_t""yes" 1>&6
4899 echo "$ac_t""no
" 1>&6
4902 ac_save_LIBS="$LIBS"
4903 LIBS="$LIBS $libiconv"
4905 for ac_func in iconv_open iconv_close iconv nl_langinfo
4907 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4908 echo "configure
:4909: checking
for $ac_func" >&5
4909 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4910 echo $ac_n "(cached
) $ac_c" 1>&6
4912 cat > conftest.$ac_ext <<EOF
4913 #line 4914 "configure
"
4914 #include "confdefs.h
"
4915 /* System header to define __stub macros and hopefully few prototypes,
4916 which can conflict with char $ac_func(); below. */
4918 /* Override any gcc2 internal prototype to avoid an error. */
4919 /* We use char because int might match the return type of a gcc2
4920 builtin and then its argument prototype would still apply. */
4925 /* The GNU C library defines this for functions which it implements
4926 to always fail with ENOSYS. Some functions are actually named
4927 something starting with __ and the normal name is an alias. */
4928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4936 if { (eval echo configure:4937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4938 eval "ac_cv_func_
$ac_func=yes"
4940 echo "configure
: failed program was
:" >&5
4941 cat conftest.$ac_ext >&5
4943 eval "ac_cv_func_
$ac_func=no
"
4948 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4949 echo "$ac_t""yes" 1>&6
4950 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4951 cat >> confdefs.h <<EOF
4952 #define $ac_tr_func 1
4957 echo "$ac_t""no
" 1>&6
4963 LIBS="$ac_save_LIBS"
4965 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
4966 echo "configure
:4967: checking
for XPG2 wchar_t support
" >&5
4967 if test x"$ac_has_iconv_h" = xyes &&
4968 test x"$ac_has_langinfo_h" = xyes &&
4969 test x"$ac_XPG2funcs" = xyes; then
4974 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
4976 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
4977 echo "configure
:4978: checking
for enabled wchar_t specializations
" >&5
4978 if test x"$ac_isoC99_wchar_t" = xyes &&
4979 test x"$ac_XPG2_wchar_t" = xyes; then
4980 cat >> confdefs.h <<\EOF
4981 #define _GLIBCPP_USE_WCHAR_T 1
4984 echo "$ac_t"""yes"" 1>&6
4986 echo "$ac_t"""no"" 1>&6
4989 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
4992 cat >> confdefs.h <<\EOF
4993 #define HAVE_COPYSIGN 1
4996 cat >> confdefs.h <<\EOF
4997 #define HAVE_COPYSIGNF 1
5000 cat >> confdefs.h <<\EOF
5001 #define HAVE_FINITE 1
5004 cat >> confdefs.h <<\EOF
5005 #define HAVE_FINITEF 1
5008 cat >> confdefs.h <<\EOF
5009 #define HAVE_FREXPF 1
5012 cat >> confdefs.h <<\EOF
5013 #define HAVE_HYPOTF 1
5016 cat >> confdefs.h <<\EOF
5017 #define HAVE_ISINF 1
5020 cat >> confdefs.h <<\EOF
5021 #define HAVE_ISINFF 1
5024 cat >> confdefs.h <<\EOF
5025 #define HAVE_ISNAN 1
5028 cat >> confdefs.h <<\EOF
5029 #define HAVE_ISNANF 1
5032 cat >> confdefs.h <<\EOF
5033 #define HAVE_SINCOS 1
5036 cat >> confdefs.h <<\EOF
5037 #define HAVE_SINCOSF 1
5040 if test x"long_double_math_on_this_cpu
" = x"yes"; then
5041 cat >> confdefs.h <<\EOF
5042 #define HAVE_FINITEL 1
5045 cat >> confdefs.h <<\EOF
5046 #define HAVE_HYPOTL 1
5049 cat >> confdefs.h <<\EOF
5050 #define HAVE_ISINFL 1
5053 cat >> confdefs.h <<\EOF
5054 #define HAVE_ISNANL 1
5060 # Check for available headers.
5061 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5062 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5063 fp.h locale.h float.h inttypes.h
5065 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5066 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5067 echo "configure
:5068: checking
for $ac_hdr" >&5
5068 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5069 echo $ac_n "(cached
) $ac_c" 1>&6
5071 cat > conftest.$ac_ext <<EOF
5072 #line 5073 "configure
"
5073 #include "confdefs.h
"
5076 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5077 { (eval echo configure:5078: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5078 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5079 if test -z "$ac_err"; then
5081 eval "ac_cv_header_
$ac_safe=yes"
5084 echo "configure
: failed program was
:" >&5
5085 cat conftest.$ac_ext >&5
5087 eval "ac_cv_header_
$ac_safe=no
"
5091 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5092 echo "$ac_t""yes" 1>&6
5093 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5094 cat >> confdefs.h <<EOF
5095 #define $ac_tr_hdr 1
5099 echo "$ac_t""no
" 1>&6
5103 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5106 # If we're not using GNU ld, then there's no point in even trying these
5107 # tests. Check for that first. We should have already tested for gld
5108 # by now (in libtool), but require it now just to be safe...
5109 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5110 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5113 # The name set by libtool depends on the version of libtool. Shame on us
5114 # for depending on an impl detail, but c'est la vie. Older versions used
5115 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
5116 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
5117 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
5118 # set (hence we're using an older libtool), then set it.
5119 if test x${with_gnu_ld+set} != xset; then
5120 if test x${ac_cv_prog_gnu_ld+set} != xset; then
5121 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
5124 with_gnu_ld=$ac_cv_prog_gnu_ld
5128 # Start by getting the version number. I think the libtool test already
5129 # does some of this, but throws away the result.
5131 ldver=`$LD --version 2>/dev/null | head -1 | \
5132 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
5134 glibcpp_gnu_ld_version=`echo $ldver | \
5135 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
5137 # Set --gc-sections.
5138 if test "$with_gnu_ld" = "notbroken
"; then
5139 # GNU ld it is! Joy and bunny rabbits!
5141 # All these tests are for C++; save the language and the compiler flags.
5142 # Need to do this so that g++ won't try to link in libstdc++
5143 ac_test_CFLAGS="${CFLAGS+set}"
5144 ac_save_CFLAGS="$CFLAGS"
5145 CFLAGS='-x c++ -Wl,--gc-sections'
5147 # Check for -Wl,--gc-sections
5148 # XXX This test is broken at the moment, as symbols required for
5149 # linking are now in libsupc++ (not built yet.....). In addition,
5150 # this test has cored on solaris in the past. In addition,
5151 # --gc-sections doesn't really work at the moment (keeps on discarding
5152 # used sections, first .eh_frame and now some of the glibc sections for
5153 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5154 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
5155 echo "configure
:5156: checking
for ld that supports
-Wl,--gc-sections" >&5
5156 if test "$cross_compiling" = yes; then
5157 ac_sectionLDflags=yes
5159 cat > conftest.$ac_ext <<EOF
5160 #line 5161 "configure
"
5161 #include "confdefs.h
"
5171 if { (eval echo configure:5172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5173 ac_sectionLDflags=yes
5175 echo "configure
: failed program was
:" >&5
5176 cat conftest.$ac_ext >&5
5178 ac_sectionLDflags=no
5183 if test "$ac_test_CFLAGS" = set; then
5184 CFLAGS="$ac_save_CFLAGS"
5186 # this is the suspicious part
5189 if test "$ac_sectionLDflags" = "yes"; then
5190 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5192 echo "$ac_t""$ac_sectionLDflags" 1>&6
5195 # Set linker optimization flags.
5196 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no
"; then
5197 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5204 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
5205 echo "configure
:5206: checking
for main
in -lm" >&5
5206 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5207 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5208 echo $ac_n "(cached
) $ac_c" 1>&6
5210 ac_save_LIBS="$LIBS"
5212 cat > conftest.$ac_ext <<EOF
5213 #line 5214 "configure
"
5214 #include "confdefs.h
"
5220 if { (eval echo configure:5221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5222 eval "ac_cv_lib_
$ac_lib_var=yes"
5224 echo "configure
: failed program was
:" >&5
5225 cat conftest.$ac_ext >&5
5227 eval "ac_cv_lib_
$ac_lib_var=no
"
5230 LIBS="$ac_save_LIBS"
5233 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5234 echo "$ac_t""yes" 1>&6
5235 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5236 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5237 cat >> confdefs.h <<EOF
5238 #define $ac_tr_lib 1
5244 echo "$ac_t""no
" 1>&6
5247 for ac_func in nan copysignf
5249 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5250 echo "configure
:5251: checking
for $ac_func" >&5
5251 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5252 echo $ac_n "(cached
) $ac_c" 1>&6
5254 cat > conftest.$ac_ext <<EOF
5255 #line 5256 "configure
"
5256 #include "confdefs.h
"
5257 /* System header to define __stub macros and hopefully few prototypes,
5258 which can conflict with char $ac_func(); below. */
5260 /* Override any gcc2 internal prototype to avoid an error. */
5261 /* We use char because int might match the return type of a gcc2
5262 builtin and then its argument prototype would still apply. */
5267 /* The GNU C library defines this for functions which it implements
5268 to always fail with ENOSYS. Some functions are actually named
5269 something starting with __ and the normal name is an alias. */
5270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5278 if { (eval echo configure:5279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5280 eval "ac_cv_func_
$ac_func=yes"
5282 echo "configure
: failed program was
:" >&5
5283 cat conftest.$ac_ext >&5
5285 eval "ac_cv_func_
$ac_func=no
"
5290 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5291 echo "$ac_t""yes" 1>&6
5292 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5293 cat >> confdefs.h <<EOF
5294 #define $ac_tr_func 1
5298 echo "$ac_t""no
" 1>&6
5299 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
5304 for ac_func in __signbit
5306 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5307 echo "configure
:5308: checking
for $ac_func" >&5
5308 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5309 echo $ac_n "(cached
) $ac_c" 1>&6
5311 cat > conftest.$ac_ext <<EOF
5312 #line 5313 "configure
"
5313 #include "confdefs.h
"
5314 /* System header to define __stub macros and hopefully few prototypes,
5315 which can conflict with char $ac_func(); below. */
5317 /* Override any gcc2 internal prototype to avoid an error. */
5318 /* We use char because int might match the return type of a gcc2
5319 builtin and then its argument prototype would still apply. */
5324 /* The GNU C library defines this for functions which it implements
5325 to always fail with ENOSYS. Some functions are actually named
5326 something starting with __ and the normal name is an alias. */
5327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5335 if { (eval echo configure:5336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5337 eval "ac_cv_func_
$ac_func=yes"
5339 echo "configure
: failed program was
:" >&5
5340 cat conftest.$ac_ext >&5
5342 eval "ac_cv_func_
$ac_func=no
"
5347 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5348 echo "$ac_t""yes" 1>&6
5349 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5350 cat >> confdefs.h <<EOF
5351 #define $ac_tr_func 1
5355 echo "$ac_t""no
" 1>&6
5356 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
5360 for ac_func in __signbitf
5362 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5363 echo "configure
:5364: checking
for $ac_func" >&5
5364 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5365 echo $ac_n "(cached
) $ac_c" 1>&6
5367 cat > conftest.$ac_ext <<EOF
5368 #line 5369 "configure
"
5369 #include "confdefs.h
"
5370 /* System header to define __stub macros and hopefully few prototypes,
5371 which can conflict with char $ac_func(); below. */
5373 /* Override any gcc2 internal prototype to avoid an error. */
5374 /* We use char because int might match the return type of a gcc2
5375 builtin and then its argument prototype would still apply. */
5380 /* The GNU C library defines this for functions which it implements
5381 to always fail with ENOSYS. Some functions are actually named
5382 something starting with __ and the normal name is an alias. */
5383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5391 if { (eval echo configure:5392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5393 eval "ac_cv_func_
$ac_func=yes"
5395 echo "configure
: failed program was
:" >&5
5396 cat conftest.$ac_ext >&5
5398 eval "ac_cv_func_
$ac_func=no
"
5403 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5404 echo "$ac_t""yes" 1>&6
5405 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5406 cat >> confdefs.h <<EOF
5407 #define $ac_tr_func 1
5411 echo "$ac_t""no
" 1>&6
5412 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
5417 if test x$ac_cv_func_copysignl = x"yes"; then
5418 for ac_func in __signbitl
5420 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5421 echo "configure
:5422: checking
for $ac_func" >&5
5422 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5423 echo $ac_n "(cached
) $ac_c" 1>&6
5425 cat > conftest.$ac_ext <<EOF
5426 #line 5427 "configure
"
5427 #include "confdefs.h
"
5428 /* System header to define __stub macros and hopefully few prototypes,
5429 which can conflict with char $ac_func(); below. */
5431 /* Override any gcc2 internal prototype to avoid an error. */
5432 /* We use char because int might match the return type of a gcc2
5433 builtin and then its argument prototype would still apply. */
5438 /* The GNU C library defines this for functions which it implements
5439 to always fail with ENOSYS. Some functions are actually named
5440 something starting with __ and the normal name is an alias. */
5441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5449 if { (eval echo configure:5450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5451 eval "ac_cv_func_
$ac_func=yes"
5453 echo "configure
: failed program was
:" >&5
5454 cat conftest.$ac_ext >&5
5456 eval "ac_cv_func_
$ac_func=no
"
5461 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5462 echo "$ac_t""yes" 1>&6
5463 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5464 cat >> confdefs.h <<EOF
5465 #define $ac_tr_func 1
5469 echo "$ac_t""no
" 1>&6
5470 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
5480 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
5481 echo "configure
:5482: checking
for mbstate_t
" >&5
5482 cat > conftest.$ac_ext <<EOF
5483 #line 5484 "configure
"
5484 #include "confdefs.h
"
5487 mbstate_t teststate;
5490 if { (eval echo configure:5491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5494 echo "configure
: failed program was
:" >&5
5495 cat conftest.$ac_ext >&5
5500 echo "$ac_t""$have_mbstate_t" 1>&6
5501 if test x"$have_mbstate_t" = xyes; then
5502 cat >> confdefs.h <<\EOF
5503 #define HAVE_MBSTATE_T 1
5508 for ac_hdr in wchar.h
5510 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5511 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5512 echo "configure
:5513: checking
for $ac_hdr" >&5
5513 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5514 echo $ac_n "(cached
) $ac_c" 1>&6
5516 cat > conftest.$ac_ext <<EOF
5517 #line 5518 "configure
"
5518 #include "confdefs.h
"
5521 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5522 { (eval echo configure:5523: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5523 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5524 if test -z "$ac_err"; then
5526 eval "ac_cv_header_
$ac_safe=yes"
5529 echo "configure
: failed program was
:" >&5
5530 cat conftest.$ac_ext >&5
5532 eval "ac_cv_header_
$ac_safe=no
"
5536 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5537 echo "$ac_t""yes" 1>&6
5538 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5539 cat >> confdefs.h <<EOF
5540 #define $ac_tr_hdr 1
5544 echo "$ac_t""no
" 1>&6
5549 for ac_hdr in wctype.h
5551 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5552 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5553 echo "configure
:5554: checking
for $ac_hdr" >&5
5554 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5555 echo $ac_n "(cached
) $ac_c" 1>&6
5557 cat > conftest.$ac_ext <<EOF
5558 #line 5559 "configure
"
5559 #include "confdefs.h
"
5562 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5563 { (eval echo configure:5564: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5564 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5565 if test -z "$ac_err"; then
5567 eval "ac_cv_header_
$ac_safe=yes"
5570 echo "configure
: failed program was
:" >&5
5571 cat conftest.$ac_ext >&5
5573 eval "ac_cv_header_
$ac_safe=no
"
5577 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5578 echo "$ac_t""yes" 1>&6
5579 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5580 cat >> confdefs.h <<EOF
5581 #define $ac_tr_hdr 1
5585 echo "$ac_t""no
" 1>&6
5591 if test x"$ac_has_wchar_h" = xyes &&
5592 test x"$ac_has_wctype_h" = xyes &&
5593 test x"$enable_c_mbchar" != xno; then
5595 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
5596 echo "configure
:5597: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
5597 cat > conftest.$ac_ext <<EOF
5598 #line 5599 "configure
"
5599 #include "confdefs.h
"
5602 int i = WCHAR_MIN; int j = WCHAR_MAX;
5605 if { (eval echo configure:5606: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5607 has_wchar_minmax=yes
5609 echo "configure
: failed program was
:" >&5
5610 cat conftest.$ac_ext >&5
5615 echo "$ac_t""$has_wchar_minmax" 1>&6
5617 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
5618 echo "configure
:5619: checking
for WEOF
" >&5
5619 cat > conftest.$ac_ext <<EOF
5620 #line 5621 "configure
"
5621 #include "confdefs.h
"
5629 if { (eval echo configure:5630: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5633 echo "configure
: failed program was
:" >&5
5634 cat conftest.$ac_ext >&5
5639 echo "$ac_t""$has_weof" 1>&6
5642 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5644 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5645 echo "configure
:5646: checking
for $ac_func" >&5
5646 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5647 echo $ac_n "(cached
) $ac_c" 1>&6
5649 cat > conftest.$ac_ext <<EOF
5650 #line 5651 "configure
"
5651 #include "confdefs.h
"
5652 /* System header to define __stub macros and hopefully few prototypes,
5653 which can conflict with char $ac_func(); below. */
5655 /* Override any gcc2 internal prototype to avoid an error. */
5656 /* We use char because int might match the return type of a gcc2
5657 builtin and then its argument prototype would still apply. */
5662 /* The GNU C library defines this for functions which it implements
5663 to always fail with ENOSYS. Some functions are actually named
5664 something starting with __ and the normal name is an alias. */
5665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5673 if { (eval echo configure:5674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5675 eval "ac_cv_func_
$ac_func=yes"
5677 echo "configure
: failed program was
:" >&5
5678 cat conftest.$ac_ext >&5
5680 eval "ac_cv_func_
$ac_func=no
"
5685 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5686 echo "$ac_t""yes" 1>&6
5687 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5688 cat >> confdefs.h <<EOF
5689 #define $ac_tr_func 1
5693 echo "$ac_t""no
" 1>&6
5700 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
5701 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5702 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5703 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5704 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5705 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5707 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5708 echo "configure
:5709: checking
for $ac_func" >&5
5709 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5710 echo $ac_n "(cached
) $ac_c" 1>&6
5712 cat > conftest.$ac_ext <<EOF
5713 #line 5714 "configure
"
5714 #include "confdefs.h
"
5715 /* System header to define __stub macros and hopefully few prototypes,
5716 which can conflict with char $ac_func(); below. */
5718 /* Override any gcc2 internal prototype to avoid an error. */
5719 /* We use char because int might match the return type of a gcc2
5720 builtin and then its argument prototype would still apply. */
5725 /* The GNU C library defines this for functions which it implements
5726 to always fail with ENOSYS. Some functions are actually named
5727 something starting with __ and the normal name is an alias. */
5728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5736 if { (eval echo configure:5737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5738 eval "ac_cv_func_
$ac_func=yes"
5740 echo "configure
: failed program was
:" >&5
5741 cat conftest.$ac_ext >&5
5743 eval "ac_cv_func_
$ac_func=no
"
5748 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5749 echo "$ac_t""yes" 1>&6
5750 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5751 cat >> confdefs.h <<EOF
5752 #define $ac_tr_func 1
5756 echo "$ac_t""no
" 1>&6
5763 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
5764 echo "configure
:5765: checking
for ISO C99 wchar_t support
" >&5
5765 if test x"$has_weof" = xyes &&
5766 test x"$has_wchar_minmax" = xyes &&
5767 test x"$ac_wfuncs" = xyes; then
5768 ac_isoC99_wchar_t=yes
5770 ac_isoC99_wchar_t=no
5772 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
5774 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
5775 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
5776 echo "configure
:5777: checking
for iconv.h
" >&5
5777 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5778 echo $ac_n "(cached
) $ac_c" 1>&6
5780 cat > conftest.$ac_ext <<EOF
5781 #line 5782 "configure
"
5782 #include "confdefs.h
"
5785 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5786 { (eval echo configure:5787: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5787 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5788 if test -z "$ac_err"; then
5790 eval "ac_cv_header_
$ac_safe=yes"
5793 echo "configure
: failed program was
:" >&5
5794 cat conftest.$ac_ext >&5
5796 eval "ac_cv_header_
$ac_safe=no
"
5800 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5801 echo "$ac_t""yes" 1>&6
5804 echo "$ac_t""no
" 1>&6
5808 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
5809 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
5810 echo "configure
:5811: checking
for langinfo.h
" >&5
5811 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5812 echo $ac_n "(cached
) $ac_c" 1>&6
5814 cat > conftest.$ac_ext <<EOF
5815 #line 5816 "configure
"
5816 #include "confdefs.h
"
5817 #include <langinfo.h>
5819 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5820 { (eval echo configure:5821: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5821 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5822 if test -z "$ac_err"; then
5824 eval "ac_cv_header_
$ac_safe=yes"
5827 echo "configure
: failed program was
:" >&5
5828 cat conftest.$ac_ext >&5
5830 eval "ac_cv_header_
$ac_safe=no
"
5834 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5835 echo "$ac_t""yes" 1>&6
5836 ac_has_langinfo_h=yes
5838 echo "$ac_t""no
" 1>&6
5839 ac_has_langinfo_h=no
5843 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
5844 echo "configure
:5845: checking
for iconv in -liconv" >&5
5845 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5846 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5847 echo $ac_n "(cached
) $ac_c" 1>&6
5849 ac_save_LIBS="$LIBS"
5850 LIBS="-liconv $LIBS"
5851 cat > conftest.$ac_ext <<EOF
5852 #line 5853 "configure
"
5853 #include "confdefs.h
"
5854 /* Override any gcc2 internal prototype to avoid an error. */
5855 /* We use char because int might match the return type of a gcc2
5856 builtin and then its argument prototype would still apply. */
5863 if { (eval echo configure:5864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5865 eval "ac_cv_lib_
$ac_lib_var=yes"
5867 echo "configure
: failed program was
:" >&5
5868 cat conftest.$ac_ext >&5
5870 eval "ac_cv_lib_
$ac_lib_var=no
"
5873 LIBS="$ac_save_LIBS"
5876 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5877 echo "$ac_t""yes" 1>&6
5880 echo "$ac_t""no
" 1>&6
5883 ac_save_LIBS="$LIBS"
5884 LIBS="$LIBS $libiconv"
5886 for ac_func in iconv_open iconv_close iconv nl_langinfo
5888 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5889 echo "configure
:5890: checking
for $ac_func" >&5
5890 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5891 echo $ac_n "(cached
) $ac_c" 1>&6
5893 cat > conftest.$ac_ext <<EOF
5894 #line 5895 "configure
"
5895 #include "confdefs.h
"
5896 /* System header to define __stub macros and hopefully few prototypes,
5897 which can conflict with char $ac_func(); below. */
5899 /* Override any gcc2 internal prototype to avoid an error. */
5900 /* We use char because int might match the return type of a gcc2
5901 builtin and then its argument prototype would still apply. */
5906 /* The GNU C library defines this for functions which it implements
5907 to always fail with ENOSYS. Some functions are actually named
5908 something starting with __ and the normal name is an alias. */
5909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5917 if { (eval echo configure:5918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5919 eval "ac_cv_func_
$ac_func=yes"
5921 echo "configure
: failed program was
:" >&5
5922 cat conftest.$ac_ext >&5
5924 eval "ac_cv_func_
$ac_func=no
"
5929 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5930 echo "$ac_t""yes" 1>&6
5931 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5932 cat >> confdefs.h <<EOF
5933 #define $ac_tr_func 1
5938 echo "$ac_t""no
" 1>&6
5944 LIBS="$ac_save_LIBS"
5946 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
5947 echo "configure
:5948: checking
for XPG2 wchar_t support
" >&5
5948 if test x"$ac_has_iconv_h" = xyes &&
5949 test x"$ac_has_langinfo_h" = xyes &&
5950 test x"$ac_XPG2funcs" = xyes; then
5955 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5957 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
5958 echo "configure
:5959: checking
for enabled wchar_t specializations
" >&5
5959 if test x"$ac_isoC99_wchar_t" = xyes &&
5960 test x"$ac_XPG2_wchar_t" = xyes; then
5961 cat >> confdefs.h <<\EOF
5962 #define _GLIBCPP_USE_WCHAR_T 1
5965 echo "$ac_t"""yes"" 1>&6
5967 echo "$ac_t"""no"" 1>&6
5970 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
5973 os_include_dir="os
/hpux
"
5974 cat >> confdefs.h <<\EOF
5975 #define HAVE_COPYSIGN 1
5978 cat >> confdefs.h <<\EOF
5979 #define HAVE_COPYSIGNF 1
5982 cat >> confdefs.h <<\EOF
5983 #define HAVE_FREXPF 1
5986 cat >> confdefs.h <<\EOF
5987 #define HAVE_HYPOT 1
5990 case "$target_alias" in
5992 cat >> confdefs.h <<\EOF
5993 #define HAVE_FINITE 1
5996 cat >> confdefs.h <<\EOF
5997 #define HAVE_FINITEF 1
6000 cat >> confdefs.h <<\EOF
6001 #define HAVE_ISINF 1
6004 cat >> confdefs.h <<\EOF
6005 #define HAVE_ISINFF 1
6008 cat >> confdefs.h <<\EOF
6009 #define HAVE_ISNAN 1
6012 cat >> confdefs.h <<\EOF
6013 #define HAVE_ISNANF 1
6021 # Check for available headers.
6022 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
6023 machine/endian.h machine/param.h sys/machine.h sys/types.h \
6024 fp.h locale.h float.h inttypes.h
6026 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6027 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6028 echo "configure
:6029: checking
for $ac_hdr" >&5
6029 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6030 echo $ac_n "(cached
) $ac_c" 1>&6
6032 cat > conftest.$ac_ext <<EOF
6033 #line 6034 "configure
"
6034 #include "confdefs.h
"
6037 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6038 { (eval echo configure:6039: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6039 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6040 if test -z "$ac_err"; then
6042 eval "ac_cv_header_
$ac_safe=yes"
6045 echo "configure
: failed program was
:" >&5
6046 cat conftest.$ac_ext >&5
6048 eval "ac_cv_header_
$ac_safe=no
"
6052 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6053 echo "$ac_t""yes" 1>&6
6054 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6055 cat >> confdefs.h <<EOF
6056 #define $ac_tr_hdr 1
6060 echo "$ac_t""no
" 1>&6
6064 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6067 # If we're not using GNU ld, then there's no point in even trying these
6068 # tests. Check for that first. We should have already tested for gld
6069 # by now (in libtool), but require it now just to be safe...
6070 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6071 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6074 # The name set by libtool depends on the version of libtool. Shame on us
6075 # for depending on an impl detail, but c'est la vie. Older versions used
6076 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6077 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6078 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6079 # set (hence we're using an older libtool), then set it.
6080 if test x${with_gnu_ld+set} != xset; then
6081 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6082 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
6085 with_gnu_ld=$ac_cv_prog_gnu_ld
6089 # Start by getting the version number. I think the libtool test already
6090 # does some of this, but throws away the result.
6092 ldver=`$LD --version 2>/dev/null | head -1 | \
6093 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6095 glibcpp_gnu_ld_version=`echo $ldver | \
6096 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6098 # Set --gc-sections.
6099 if test "$with_gnu_ld" = "notbroken
"; then
6100 # GNU ld it is! Joy and bunny rabbits!
6102 # All these tests are for C++; save the language and the compiler flags.
6103 # Need to do this so that g++ won't try to link in libstdc++
6104 ac_test_CFLAGS="${CFLAGS+set}"
6105 ac_save_CFLAGS="$CFLAGS"
6106 CFLAGS='-x c++ -Wl,--gc-sections'
6108 # Check for -Wl,--gc-sections
6109 # XXX This test is broken at the moment, as symbols required for
6110 # linking are now in libsupc++ (not built yet.....). In addition,
6111 # this test has cored on solaris in the past. In addition,
6112 # --gc-sections doesn't really work at the moment (keeps on discarding
6113 # used sections, first .eh_frame and now some of the glibc sections for
6114 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6115 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
6116 echo "configure
:6117: checking
for ld that supports
-Wl,--gc-sections" >&5
6117 if test "$cross_compiling" = yes; then
6118 ac_sectionLDflags=yes
6120 cat > conftest.$ac_ext <<EOF
6121 #line 6122 "configure
"
6122 #include "confdefs.h
"
6132 if { (eval echo configure:6133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6134 ac_sectionLDflags=yes
6136 echo "configure
: failed program was
:" >&5
6137 cat conftest.$ac_ext >&5
6139 ac_sectionLDflags=no
6144 if test "$ac_test_CFLAGS" = set; then
6145 CFLAGS="$ac_save_CFLAGS"
6147 # this is the suspicious part
6150 if test "$ac_sectionLDflags" = "yes"; then
6151 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6153 echo "$ac_t""$ac_sectionLDflags" 1>&6
6156 # Set linker optimization flags.
6157 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no
"; then
6158 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6165 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
6166 echo "configure
:6167: checking
for main
in -lm" >&5
6167 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
6168 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6169 echo $ac_n "(cached
) $ac_c" 1>&6
6171 ac_save_LIBS="$LIBS"
6173 cat > conftest.$ac_ext <<EOF
6174 #line 6175 "configure
"
6175 #include "confdefs.h
"
6181 if { (eval echo configure:6182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6183 eval "ac_cv_lib_
$ac_lib_var=yes"
6185 echo "configure
: failed program was
:" >&5
6186 cat conftest.$ac_ext >&5
6188 eval "ac_cv_lib_
$ac_lib_var=no
"
6191 LIBS="$ac_save_LIBS"
6194 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6195 echo "$ac_t""yes" 1>&6
6196 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6197 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6198 cat >> confdefs.h <<EOF
6199 #define $ac_tr_lib 1
6205 echo "$ac_t""no
" 1>&6
6208 for ac_func in nan copysignf
6210 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6211 echo "configure
:6212: checking
for $ac_func" >&5
6212 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6213 echo $ac_n "(cached
) $ac_c" 1>&6
6215 cat > conftest.$ac_ext <<EOF
6216 #line 6217 "configure
"
6217 #include "confdefs.h
"
6218 /* System header to define __stub macros and hopefully few prototypes,
6219 which can conflict with char $ac_func(); below. */
6221 /* Override any gcc2 internal prototype to avoid an error. */
6222 /* We use char because int might match the return type of a gcc2
6223 builtin and then its argument prototype would still apply. */
6228 /* The GNU C library defines this for functions which it implements
6229 to always fail with ENOSYS. Some functions are actually named
6230 something starting with __ and the normal name is an alias. */
6231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6239 if { (eval echo configure:6240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6241 eval "ac_cv_func_
$ac_func=yes"
6243 echo "configure
: failed program was
:" >&5
6244 cat conftest.$ac_ext >&5
6246 eval "ac_cv_func_
$ac_func=no
"
6251 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6252 echo "$ac_t""yes" 1>&6
6253 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6254 cat >> confdefs.h <<EOF
6255 #define $ac_tr_func 1
6259 echo "$ac_t""no
" 1>&6
6260 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
6265 for ac_func in __signbit
6267 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6268 echo "configure
:6269: checking
for $ac_func" >&5
6269 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6270 echo $ac_n "(cached
) $ac_c" 1>&6
6272 cat > conftest.$ac_ext <<EOF
6273 #line 6274 "configure
"
6274 #include "confdefs.h
"
6275 /* System header to define __stub macros and hopefully few prototypes,
6276 which can conflict with char $ac_func(); below. */
6278 /* Override any gcc2 internal prototype to avoid an error. */
6279 /* We use char because int might match the return type of a gcc2
6280 builtin and then its argument prototype would still apply. */
6285 /* The GNU C library defines this for functions which it implements
6286 to always fail with ENOSYS. Some functions are actually named
6287 something starting with __ and the normal name is an alias. */
6288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6296 if { (eval echo configure:6297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6298 eval "ac_cv_func_
$ac_func=yes"
6300 echo "configure
: failed program was
:" >&5
6301 cat conftest.$ac_ext >&5
6303 eval "ac_cv_func_
$ac_func=no
"
6308 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6309 echo "$ac_t""yes" 1>&6
6310 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6311 cat >> confdefs.h <<EOF
6312 #define $ac_tr_func 1
6316 echo "$ac_t""no
" 1>&6
6317 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
6321 for ac_func in __signbitf
6323 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6324 echo "configure
:6325: checking
for $ac_func" >&5
6325 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6326 echo $ac_n "(cached
) $ac_c" 1>&6
6328 cat > conftest.$ac_ext <<EOF
6329 #line 6330 "configure
"
6330 #include "confdefs.h
"
6331 /* System header to define __stub macros and hopefully few prototypes,
6332 which can conflict with char $ac_func(); below. */
6334 /* Override any gcc2 internal prototype to avoid an error. */
6335 /* We use char because int might match the return type of a gcc2
6336 builtin and then its argument prototype would still apply. */
6341 /* The GNU C library defines this for functions which it implements
6342 to always fail with ENOSYS. Some functions are actually named
6343 something starting with __ and the normal name is an alias. */
6344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6352 if { (eval echo configure:6353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6354 eval "ac_cv_func_
$ac_func=yes"
6356 echo "configure
: failed program was
:" >&5
6357 cat conftest.$ac_ext >&5
6359 eval "ac_cv_func_
$ac_func=no
"
6364 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6365 echo "$ac_t""yes" 1>&6
6366 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6367 cat >> confdefs.h <<EOF
6368 #define $ac_tr_func 1
6372 echo "$ac_t""no
" 1>&6
6373 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
6378 if test x$ac_cv_func_copysignl = x"yes"; then
6379 for ac_func in __signbitl
6381 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6382 echo "configure
:6383: checking
for $ac_func" >&5
6383 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6384 echo $ac_n "(cached
) $ac_c" 1>&6
6386 cat > conftest.$ac_ext <<EOF
6387 #line 6388 "configure
"
6388 #include "confdefs.h
"
6389 /* System header to define __stub macros and hopefully few prototypes,
6390 which can conflict with char $ac_func(); below. */
6392 /* Override any gcc2 internal prototype to avoid an error. */
6393 /* We use char because int might match the return type of a gcc2
6394 builtin and then its argument prototype would still apply. */
6399 /* The GNU C library defines this for functions which it implements
6400 to always fail with ENOSYS. Some functions are actually named
6401 something starting with __ and the normal name is an alias. */
6402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6410 if { (eval echo configure:6411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6412 eval "ac_cv_func_
$ac_func=yes"
6414 echo "configure
: failed program was
:" >&5
6415 cat conftest.$ac_ext >&5
6417 eval "ac_cv_func_
$ac_func=no
"
6422 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6423 echo "$ac_t""yes" 1>&6
6424 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6425 cat >> confdefs.h <<EOF
6426 #define $ac_tr_func 1
6430 echo "$ac_t""no
" 1>&6
6431 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
6441 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
6442 echo "configure
:6443: checking
for mbstate_t
" >&5
6443 cat > conftest.$ac_ext <<EOF
6444 #line 6445 "configure
"
6445 #include "confdefs.h
"
6448 mbstate_t teststate;
6451 if { (eval echo configure:6452: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6455 echo "configure
: failed program was
:" >&5
6456 cat conftest.$ac_ext >&5
6461 echo "$ac_t""$have_mbstate_t" 1>&6
6462 if test x"$have_mbstate_t" = xyes; then
6463 cat >> confdefs.h <<\EOF
6464 #define HAVE_MBSTATE_T 1
6469 for ac_hdr in wchar.h
6471 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6472 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6473 echo "configure
:6474: checking
for $ac_hdr" >&5
6474 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6475 echo $ac_n "(cached
) $ac_c" 1>&6
6477 cat > conftest.$ac_ext <<EOF
6478 #line 6479 "configure
"
6479 #include "confdefs.h
"
6482 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6483 { (eval echo configure:6484: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6484 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6485 if test -z "$ac_err"; then
6487 eval "ac_cv_header_
$ac_safe=yes"
6490 echo "configure
: failed program was
:" >&5
6491 cat conftest.$ac_ext >&5
6493 eval "ac_cv_header_
$ac_safe=no
"
6497 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6498 echo "$ac_t""yes" 1>&6
6499 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6500 cat >> confdefs.h <<EOF
6501 #define $ac_tr_hdr 1
6505 echo "$ac_t""no
" 1>&6
6510 for ac_hdr in wctype.h
6512 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6513 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6514 echo "configure
:6515: checking
for $ac_hdr" >&5
6515 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6516 echo $ac_n "(cached
) $ac_c" 1>&6
6518 cat > conftest.$ac_ext <<EOF
6519 #line 6520 "configure
"
6520 #include "confdefs.h
"
6523 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6524 { (eval echo configure:6525: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6525 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6526 if test -z "$ac_err"; then
6528 eval "ac_cv_header_
$ac_safe=yes"
6531 echo "configure
: failed program was
:" >&5
6532 cat conftest.$ac_ext >&5
6534 eval "ac_cv_header_
$ac_safe=no
"
6538 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6539 echo "$ac_t""yes" 1>&6
6540 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6541 cat >> confdefs.h <<EOF
6542 #define $ac_tr_hdr 1
6546 echo "$ac_t""no
" 1>&6
6552 if test x"$ac_has_wchar_h" = xyes &&
6553 test x"$ac_has_wctype_h" = xyes &&
6554 test x"$enable_c_mbchar" != xno; then
6556 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
6557 echo "configure
:6558: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
6558 cat > conftest.$ac_ext <<EOF
6559 #line 6560 "configure
"
6560 #include "confdefs.h
"
6563 int i = WCHAR_MIN; int j = WCHAR_MAX;
6566 if { (eval echo configure:6567: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6568 has_wchar_minmax=yes
6570 echo "configure
: failed program was
:" >&5
6571 cat conftest.$ac_ext >&5
6576 echo "$ac_t""$has_wchar_minmax" 1>&6
6578 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
6579 echo "configure
:6580: checking
for WEOF
" >&5
6580 cat > conftest.$ac_ext <<EOF
6581 #line 6582 "configure
"
6582 #include "confdefs.h
"
6590 if { (eval echo configure:6591: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6594 echo "configure
: failed program was
:" >&5
6595 cat conftest.$ac_ext >&5
6600 echo "$ac_t""$has_weof" 1>&6
6603 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6605 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6606 echo "configure
:6607: checking
for $ac_func" >&5
6607 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6608 echo $ac_n "(cached
) $ac_c" 1>&6
6610 cat > conftest.$ac_ext <<EOF
6611 #line 6612 "configure
"
6612 #include "confdefs.h
"
6613 /* System header to define __stub macros and hopefully few prototypes,
6614 which can conflict with char $ac_func(); below. */
6616 /* Override any gcc2 internal prototype to avoid an error. */
6617 /* We use char because int might match the return type of a gcc2
6618 builtin and then its argument prototype would still apply. */
6623 /* The GNU C library defines this for functions which it implements
6624 to always fail with ENOSYS. Some functions are actually named
6625 something starting with __ and the normal name is an alias. */
6626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6634 if { (eval echo configure:6635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6636 eval "ac_cv_func_
$ac_func=yes"
6638 echo "configure
: failed program was
:" >&5
6639 cat conftest.$ac_ext >&5
6641 eval "ac_cv_func_
$ac_func=no
"
6646 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6647 echo "$ac_t""yes" 1>&6
6648 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6649 cat >> confdefs.h <<EOF
6650 #define $ac_tr_func 1
6654 echo "$ac_t""no
" 1>&6
6661 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
6662 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6663 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6664 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6665 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6666 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6668 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6669 echo "configure
:6670: checking
for $ac_func" >&5
6670 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6671 echo $ac_n "(cached
) $ac_c" 1>&6
6673 cat > conftest.$ac_ext <<EOF
6674 #line 6675 "configure
"
6675 #include "confdefs.h
"
6676 /* System header to define __stub macros and hopefully few prototypes,
6677 which can conflict with char $ac_func(); below. */
6679 /* Override any gcc2 internal prototype to avoid an error. */
6680 /* We use char because int might match the return type of a gcc2
6681 builtin and then its argument prototype would still apply. */
6686 /* The GNU C library defines this for functions which it implements
6687 to always fail with ENOSYS. Some functions are actually named
6688 something starting with __ and the normal name is an alias. */
6689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6697 if { (eval echo configure:6698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6699 eval "ac_cv_func_
$ac_func=yes"
6701 echo "configure
: failed program was
:" >&5
6702 cat conftest.$ac_ext >&5
6704 eval "ac_cv_func_
$ac_func=no
"
6709 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6710 echo "$ac_t""yes" 1>&6
6711 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6712 cat >> confdefs.h <<EOF
6713 #define $ac_tr_func 1
6717 echo "$ac_t""no
" 1>&6
6724 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
6725 echo "configure
:6726: checking
for ISO C99 wchar_t support
" >&5
6726 if test x"$has_weof" = xyes &&
6727 test x"$has_wchar_minmax" = xyes &&
6728 test x"$ac_wfuncs" = xyes; then
6729 ac_isoC99_wchar_t=yes
6731 ac_isoC99_wchar_t=no
6733 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6735 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
6736 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
6737 echo "configure
:6738: checking
for iconv.h
" >&5
6738 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6739 echo $ac_n "(cached
) $ac_c" 1>&6
6741 cat > conftest.$ac_ext <<EOF
6742 #line 6743 "configure
"
6743 #include "confdefs.h
"
6746 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6747 { (eval echo configure:6748: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6748 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6749 if test -z "$ac_err"; then
6751 eval "ac_cv_header_
$ac_safe=yes"
6754 echo "configure
: failed program was
:" >&5
6755 cat conftest.$ac_ext >&5
6757 eval "ac_cv_header_
$ac_safe=no
"
6761 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6762 echo "$ac_t""yes" 1>&6
6765 echo "$ac_t""no
" 1>&6
6769 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
6770 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
6771 echo "configure
:6772: checking
for langinfo.h
" >&5
6772 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6773 echo $ac_n "(cached
) $ac_c" 1>&6
6775 cat > conftest.$ac_ext <<EOF
6776 #line 6777 "configure
"
6777 #include "confdefs.h
"
6778 #include <langinfo.h>
6780 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6781 { (eval echo configure:6782: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6782 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6783 if test -z "$ac_err"; then
6785 eval "ac_cv_header_
$ac_safe=yes"
6788 echo "configure
: failed program was
:" >&5
6789 cat conftest.$ac_ext >&5
6791 eval "ac_cv_header_
$ac_safe=no
"
6795 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6796 echo "$ac_t""yes" 1>&6
6797 ac_has_langinfo_h=yes
6799 echo "$ac_t""no
" 1>&6
6800 ac_has_langinfo_h=no
6804 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
6805 echo "configure
:6806: checking
for iconv in -liconv" >&5
6806 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6807 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6808 echo $ac_n "(cached
) $ac_c" 1>&6
6810 ac_save_LIBS="$LIBS"
6811 LIBS="-liconv $LIBS"
6812 cat > conftest.$ac_ext <<EOF
6813 #line 6814 "configure
"
6814 #include "confdefs.h
"
6815 /* Override any gcc2 internal prototype to avoid an error. */
6816 /* We use char because int might match the return type of a gcc2
6817 builtin and then its argument prototype would still apply. */
6824 if { (eval echo configure:6825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6826 eval "ac_cv_lib_
$ac_lib_var=yes"
6828 echo "configure
: failed program was
:" >&5
6829 cat conftest.$ac_ext >&5
6831 eval "ac_cv_lib_
$ac_lib_var=no
"
6834 LIBS="$ac_save_LIBS"
6837 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6838 echo "$ac_t""yes" 1>&6
6841 echo "$ac_t""no
" 1>&6
6844 ac_save_LIBS="$LIBS"
6845 LIBS="$LIBS $libiconv"
6847 for ac_func in iconv_open iconv_close iconv nl_langinfo
6849 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6850 echo "configure
:6851: checking
for $ac_func" >&5
6851 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6852 echo $ac_n "(cached
) $ac_c" 1>&6
6854 cat > conftest.$ac_ext <<EOF
6855 #line 6856 "configure
"
6856 #include "confdefs.h
"
6857 /* System header to define __stub macros and hopefully few prototypes,
6858 which can conflict with char $ac_func(); below. */
6860 /* Override any gcc2 internal prototype to avoid an error. */
6861 /* We use char because int might match the return type of a gcc2
6862 builtin and then its argument prototype would still apply. */
6867 /* The GNU C library defines this for functions which it implements
6868 to always fail with ENOSYS. Some functions are actually named
6869 something starting with __ and the normal name is an alias. */
6870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6878 if { (eval echo configure:6879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6880 eval "ac_cv_func_
$ac_func=yes"
6882 echo "configure
: failed program was
:" >&5
6883 cat conftest.$ac_ext >&5
6885 eval "ac_cv_func_
$ac_func=no
"
6890 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6891 echo "$ac_t""yes" 1>&6
6892 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6893 cat >> confdefs.h <<EOF
6894 #define $ac_tr_func 1
6899 echo "$ac_t""no
" 1>&6
6905 LIBS="$ac_save_LIBS"
6907 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
6908 echo "configure
:6909: checking
for XPG2 wchar_t support
" >&5
6909 if test x"$ac_has_iconv_h" = xyes &&
6910 test x"$ac_has_langinfo_h" = xyes &&
6911 test x"$ac_XPG2funcs" = xyes; then
6916 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6918 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
6919 echo "configure
:6920: checking
for enabled wchar_t specializations
" >&5
6920 if test x"$ac_isoC99_wchar_t" = xyes &&
6921 test x"$ac_XPG2_wchar_t" = xyes; then
6922 cat >> confdefs.h <<\EOF
6923 #define _GLIBCPP_USE_WCHAR_T 1
6926 echo "$ac_t"""yes"" 1>&6
6928 echo "$ac_t"""no"" 1>&6
6931 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
6934 os_include_dir="os
/bsd
/netbsd
"
6935 cat >> confdefs.h <<\EOF
6936 #define HAVE_COPYSIGN 1
6939 cat >> confdefs.h <<\EOF
6940 #define HAVE_COPYSIGNF 1
6943 cat >> confdefs.h <<\EOF
6944 #define HAVE_FINITEF 1
6947 cat >> confdefs.h <<\EOF
6948 #define HAVE_FINITE 1
6951 cat >> confdefs.h <<\EOF
6952 #define HAVE_FREXPF 1
6955 cat >> confdefs.h <<\EOF
6956 #define HAVE_HYPOTF 1
6959 cat >> confdefs.h <<\EOF
6960 #define HAVE_ISINF 1
6963 cat >> confdefs.h <<\EOF
6964 #define HAVE_ISINFF 1
6967 cat >> confdefs.h <<\EOF
6968 #define HAVE_ISNAN 1
6971 cat >> confdefs.h <<\EOF
6972 #define HAVE_ISNANF 1
6975 if test x"long_double_math_on_this_cpu
" = x"yes"; then
6976 cat >> confdefs.h <<\EOF
6977 #define HAVE_FINITEL 1
6980 cat >> confdefs.h <<\EOF
6981 #define HAVE_ISINFL 1
6984 cat >> confdefs.h <<\EOF
6985 #define HAVE_ISNANL 1
6991 for ac_hdr in sys/types.h locale.h float.h
6993 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6994 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6995 echo "configure
:6996: checking
for $ac_hdr" >&5
6996 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6997 echo $ac_n "(cached
) $ac_c" 1>&6
6999 cat > conftest.$ac_ext <<EOF
7000 #line 7001 "configure
"
7001 #include "confdefs.h
"
7004 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7005 { (eval echo configure:7006: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7006 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7007 if test -z "$ac_err"; then
7009 eval "ac_cv_header_
$ac_safe=yes"
7012 echo "configure
: failed program was
:" >&5
7013 cat conftest.$ac_ext >&5
7015 eval "ac_cv_header_
$ac_safe=no
"
7019 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7020 echo "$ac_t""yes" 1>&6
7021 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7022 cat >> confdefs.h <<EOF
7023 #define $ac_tr_hdr 1
7027 echo "$ac_t""no
" 1>&6
7032 # If we're not using GNU ld, then there's no point in even trying these
7033 # tests. Check for that first. We should have already tested for gld
7034 # by now (in libtool), but require it now just to be safe...
7035 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7036 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7039 # The name set by libtool depends on the version of libtool. Shame on us
7040 # for depending on an impl detail, but c'est la vie. Older versions used
7041 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7042 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7043 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7044 # set (hence we're using an older libtool), then set it.
7045 if test x${with_gnu_ld+set} != xset; then
7046 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7047 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
7050 with_gnu_ld=$ac_cv_prog_gnu_ld
7054 # Start by getting the version number. I think the libtool test already
7055 # does some of this, but throws away the result.
7057 ldver=`$LD --version 2>/dev/null | head -1 | \
7058 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7060 glibcpp_gnu_ld_version=`echo $ldver | \
7061 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7063 # Set --gc-sections.
7064 if test "$with_gnu_ld" = "notbroken
"; then
7065 # GNU ld it is! Joy and bunny rabbits!
7067 # All these tests are for C++; save the language and the compiler flags.
7068 # Need to do this so that g++ won't try to link in libstdc++
7069 ac_test_CFLAGS="${CFLAGS+set}"
7070 ac_save_CFLAGS="$CFLAGS"
7071 CFLAGS='-x c++ -Wl,--gc-sections'
7073 # Check for -Wl,--gc-sections
7074 # XXX This test is broken at the moment, as symbols required for
7075 # linking are now in libsupc++ (not built yet.....). In addition,
7076 # this test has cored on solaris in the past. In addition,
7077 # --gc-sections doesn't really work at the moment (keeps on discarding
7078 # used sections, first .eh_frame and now some of the glibc sections for
7079 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7080 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
7081 echo "configure
:7082: checking
for ld that supports
-Wl,--gc-sections" >&5
7082 if test "$cross_compiling" = yes; then
7083 ac_sectionLDflags=yes
7085 cat > conftest.$ac_ext <<EOF
7086 #line 7087 "configure
"
7087 #include "confdefs.h
"
7097 if { (eval echo configure:7098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7099 ac_sectionLDflags=yes
7101 echo "configure
: failed program was
:" >&5
7102 cat conftest.$ac_ext >&5
7104 ac_sectionLDflags=no
7109 if test "$ac_test_CFLAGS" = set; then
7110 CFLAGS="$ac_save_CFLAGS"
7112 # this is the suspicious part
7115 if test "$ac_sectionLDflags" = "yes"; then
7116 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7118 echo "$ac_t""$ac_sectionLDflags" 1>&6
7121 # Set linker optimization flags.
7122 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no
"; then
7123 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7130 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
7131 echo "configure
:7132: checking
for main
in -lm" >&5
7132 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
7133 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7134 echo $ac_n "(cached
) $ac_c" 1>&6
7136 ac_save_LIBS="$LIBS"
7138 cat > conftest.$ac_ext <<EOF
7139 #line 7140 "configure
"
7140 #include "confdefs.h
"
7146 if { (eval echo configure:7147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7148 eval "ac_cv_lib_
$ac_lib_var=yes"
7150 echo "configure
: failed program was
:" >&5
7151 cat conftest.$ac_ext >&5
7153 eval "ac_cv_lib_
$ac_lib_var=no
"
7156 LIBS="$ac_save_LIBS"
7159 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7160 echo "$ac_t""yes" 1>&6
7161 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7162 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7163 cat >> confdefs.h <<EOF
7164 #define $ac_tr_lib 1
7170 echo "$ac_t""no
" 1>&6
7173 for ac_func in nan copysignf
7175 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7176 echo "configure
:7177: checking
for $ac_func" >&5
7177 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7178 echo $ac_n "(cached
) $ac_c" 1>&6
7180 cat > conftest.$ac_ext <<EOF
7181 #line 7182 "configure
"
7182 #include "confdefs.h
"
7183 /* System header to define __stub macros and hopefully few prototypes,
7184 which can conflict with char $ac_func(); below. */
7186 /* Override any gcc2 internal prototype to avoid an error. */
7187 /* We use char because int might match the return type of a gcc2
7188 builtin and then its argument prototype would still apply. */
7193 /* The GNU C library defines this for functions which it implements
7194 to always fail with ENOSYS. Some functions are actually named
7195 something starting with __ and the normal name is an alias. */
7196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7204 if { (eval echo configure:7205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7206 eval "ac_cv_func_
$ac_func=yes"
7208 echo "configure
: failed program was
:" >&5
7209 cat conftest.$ac_ext >&5
7211 eval "ac_cv_func_
$ac_func=no
"
7216 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7217 echo "$ac_t""yes" 1>&6
7218 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7219 cat >> confdefs.h <<EOF
7220 #define $ac_tr_func 1
7224 echo "$ac_t""no
" 1>&6
7225 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
7230 for ac_func in __signbit
7232 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7233 echo "configure
:7234: checking
for $ac_func" >&5
7234 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7235 echo $ac_n "(cached
) $ac_c" 1>&6
7237 cat > conftest.$ac_ext <<EOF
7238 #line 7239 "configure
"
7239 #include "confdefs.h
"
7240 /* System header to define __stub macros and hopefully few prototypes,
7241 which can conflict with char $ac_func(); below. */
7243 /* Override any gcc2 internal prototype to avoid an error. */
7244 /* We use char because int might match the return type of a gcc2
7245 builtin and then its argument prototype would still apply. */
7250 /* The GNU C library defines this for functions which it implements
7251 to always fail with ENOSYS. Some functions are actually named
7252 something starting with __ and the normal name is an alias. */
7253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7261 if { (eval echo configure:7262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7263 eval "ac_cv_func_
$ac_func=yes"
7265 echo "configure
: failed program was
:" >&5
7266 cat conftest.$ac_ext >&5
7268 eval "ac_cv_func_
$ac_func=no
"
7273 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7274 echo "$ac_t""yes" 1>&6
7275 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7276 cat >> confdefs.h <<EOF
7277 #define $ac_tr_func 1
7281 echo "$ac_t""no
" 1>&6
7282 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
7286 for ac_func in __signbitf
7288 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7289 echo "configure
:7290: checking
for $ac_func" >&5
7290 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7291 echo $ac_n "(cached
) $ac_c" 1>&6
7293 cat > conftest.$ac_ext <<EOF
7294 #line 7295 "configure
"
7295 #include "confdefs.h
"
7296 /* System header to define __stub macros and hopefully few prototypes,
7297 which can conflict with char $ac_func(); below. */
7299 /* Override any gcc2 internal prototype to avoid an error. */
7300 /* We use char because int might match the return type of a gcc2
7301 builtin and then its argument prototype would still apply. */
7306 /* The GNU C library defines this for functions which it implements
7307 to always fail with ENOSYS. Some functions are actually named
7308 something starting with __ and the normal name is an alias. */
7309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7317 if { (eval echo configure:7318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7319 eval "ac_cv_func_
$ac_func=yes"
7321 echo "configure
: failed program was
:" >&5
7322 cat conftest.$ac_ext >&5
7324 eval "ac_cv_func_
$ac_func=no
"
7329 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7330 echo "$ac_t""yes" 1>&6
7331 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7332 cat >> confdefs.h <<EOF
7333 #define $ac_tr_func 1
7337 echo "$ac_t""no
" 1>&6
7338 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
7343 if test x$ac_cv_func_copysignl = x"yes"; then
7344 for ac_func in __signbitl
7346 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7347 echo "configure
:7348: checking
for $ac_func" >&5
7348 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7349 echo $ac_n "(cached
) $ac_c" 1>&6
7351 cat > conftest.$ac_ext <<EOF
7352 #line 7353 "configure
"
7353 #include "confdefs.h
"
7354 /* System header to define __stub macros and hopefully few prototypes,
7355 which can conflict with char $ac_func(); below. */
7357 /* Override any gcc2 internal prototype to avoid an error. */
7358 /* We use char because int might match the return type of a gcc2
7359 builtin and then its argument prototype would still apply. */
7364 /* The GNU C library defines this for functions which it implements
7365 to always fail with ENOSYS. Some functions are actually named
7366 something starting with __ and the normal name is an alias. */
7367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7375 if { (eval echo configure:7376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7377 eval "ac_cv_func_
$ac_func=yes"
7379 echo "configure
: failed program was
:" >&5
7380 cat conftest.$ac_ext >&5
7382 eval "ac_cv_func_
$ac_func=no
"
7387 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7388 echo "$ac_t""yes" 1>&6
7389 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7390 cat >> confdefs.h <<EOF
7391 #define $ac_tr_func 1
7395 echo "$ac_t""no
" 1>&6
7396 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
7406 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
7407 echo "configure
:7408: checking
for mbstate_t
" >&5
7408 cat > conftest.$ac_ext <<EOF
7409 #line 7410 "configure
"
7410 #include "confdefs.h
"
7413 mbstate_t teststate;
7416 if { (eval echo configure:7417: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7420 echo "configure
: failed program was
:" >&5
7421 cat conftest.$ac_ext >&5
7426 echo "$ac_t""$have_mbstate_t" 1>&6
7427 if test x"$have_mbstate_t" = xyes; then
7428 cat >> confdefs.h <<\EOF
7429 #define HAVE_MBSTATE_T 1
7434 for ac_hdr in wchar.h
7436 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7437 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
7438 echo "configure
:7439: checking
for $ac_hdr" >&5
7439 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7440 echo $ac_n "(cached
) $ac_c" 1>&6
7442 cat > conftest.$ac_ext <<EOF
7443 #line 7444 "configure
"
7444 #include "confdefs.h
"
7447 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7448 { (eval echo configure:7449: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7449 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7450 if test -z "$ac_err"; then
7452 eval "ac_cv_header_
$ac_safe=yes"
7455 echo "configure
: failed program was
:" >&5
7456 cat conftest.$ac_ext >&5
7458 eval "ac_cv_header_
$ac_safe=no
"
7462 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7463 echo "$ac_t""yes" 1>&6
7464 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7465 cat >> confdefs.h <<EOF
7466 #define $ac_tr_hdr 1
7470 echo "$ac_t""no
" 1>&6
7475 for ac_hdr in wctype.h
7477 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7478 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
7479 echo "configure
:7480: checking
for $ac_hdr" >&5
7480 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7481 echo $ac_n "(cached
) $ac_c" 1>&6
7483 cat > conftest.$ac_ext <<EOF
7484 #line 7485 "configure
"
7485 #include "confdefs.h
"
7488 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7489 { (eval echo configure:7490: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7490 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7491 if test -z "$ac_err"; then
7493 eval "ac_cv_header_
$ac_safe=yes"
7496 echo "configure
: failed program was
:" >&5
7497 cat conftest.$ac_ext >&5
7499 eval "ac_cv_header_
$ac_safe=no
"
7503 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7504 echo "$ac_t""yes" 1>&6
7505 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7506 cat >> confdefs.h <<EOF
7507 #define $ac_tr_hdr 1
7511 echo "$ac_t""no
" 1>&6
7517 if test x"$ac_has_wchar_h" = xyes &&
7518 test x"$ac_has_wctype_h" = xyes &&
7519 test x"$enable_c_mbchar" != xno; then
7521 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
7522 echo "configure
:7523: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
7523 cat > conftest.$ac_ext <<EOF
7524 #line 7525 "configure
"
7525 #include "confdefs.h
"
7528 int i = WCHAR_MIN; int j = WCHAR_MAX;
7531 if { (eval echo configure:7532: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7533 has_wchar_minmax=yes
7535 echo "configure
: failed program was
:" >&5
7536 cat conftest.$ac_ext >&5
7541 echo "$ac_t""$has_wchar_minmax" 1>&6
7543 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
7544 echo "configure
:7545: checking
for WEOF
" >&5
7545 cat > conftest.$ac_ext <<EOF
7546 #line 7547 "configure
"
7547 #include "confdefs.h
"
7555 if { (eval echo configure:7556: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7559 echo "configure
: failed program was
:" >&5
7560 cat conftest.$ac_ext >&5
7565 echo "$ac_t""$has_weof" 1>&6
7568 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
7570 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7571 echo "configure
:7572: checking
for $ac_func" >&5
7572 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7573 echo $ac_n "(cached
) $ac_c" 1>&6
7575 cat > conftest.$ac_ext <<EOF
7576 #line 7577 "configure
"
7577 #include "confdefs.h
"
7578 /* System header to define __stub macros and hopefully few prototypes,
7579 which can conflict with char $ac_func(); below. */
7581 /* Override any gcc2 internal prototype to avoid an error. */
7582 /* We use char because int might match the return type of a gcc2
7583 builtin and then its argument prototype would still apply. */
7588 /* The GNU C library defines this for functions which it implements
7589 to always fail with ENOSYS. Some functions are actually named
7590 something starting with __ and the normal name is an alias. */
7591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7599 if { (eval echo configure:7600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7601 eval "ac_cv_func_
$ac_func=yes"
7603 echo "configure
: failed program was
:" >&5
7604 cat conftest.$ac_ext >&5
7606 eval "ac_cv_func_
$ac_func=no
"
7611 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7612 echo "$ac_t""yes" 1>&6
7613 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7614 cat >> confdefs.h <<EOF
7615 #define $ac_tr_func 1
7619 echo "$ac_t""no
" 1>&6
7626 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
7627 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
7628 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
7629 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
7630 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
7631 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
7633 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7634 echo "configure
:7635: checking
for $ac_func" >&5
7635 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7636 echo $ac_n "(cached
) $ac_c" 1>&6
7638 cat > conftest.$ac_ext <<EOF
7639 #line 7640 "configure
"
7640 #include "confdefs.h
"
7641 /* System header to define __stub macros and hopefully few prototypes,
7642 which can conflict with char $ac_func(); below. */
7644 /* Override any gcc2 internal prototype to avoid an error. */
7645 /* We use char because int might match the return type of a gcc2
7646 builtin and then its argument prototype would still apply. */
7651 /* The GNU C library defines this for functions which it implements
7652 to always fail with ENOSYS. Some functions are actually named
7653 something starting with __ and the normal name is an alias. */
7654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7662 if { (eval echo configure:7663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7664 eval "ac_cv_func_
$ac_func=yes"
7666 echo "configure
: failed program was
:" >&5
7667 cat conftest.$ac_ext >&5
7669 eval "ac_cv_func_
$ac_func=no
"
7674 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7675 echo "$ac_t""yes" 1>&6
7676 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7677 cat >> confdefs.h <<EOF
7678 #define $ac_tr_func 1
7682 echo "$ac_t""no
" 1>&6
7689 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
7690 echo "configure
:7691: checking
for ISO C99 wchar_t support
" >&5
7691 if test x"$has_weof" = xyes &&
7692 test x"$has_wchar_minmax" = xyes &&
7693 test x"$ac_wfuncs" = xyes; then
7694 ac_isoC99_wchar_t=yes
7696 ac_isoC99_wchar_t=no
7698 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7700 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
7701 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
7702 echo "configure
:7703: checking
for iconv.h
" >&5
7703 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7704 echo $ac_n "(cached
) $ac_c" 1>&6
7706 cat > conftest.$ac_ext <<EOF
7707 #line 7708 "configure
"
7708 #include "confdefs.h
"
7711 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7712 { (eval echo configure:7713: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7713 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7714 if test -z "$ac_err"; then
7716 eval "ac_cv_header_
$ac_safe=yes"
7719 echo "configure
: failed program was
:" >&5
7720 cat conftest.$ac_ext >&5
7722 eval "ac_cv_header_
$ac_safe=no
"
7726 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7727 echo "$ac_t""yes" 1>&6
7730 echo "$ac_t""no
" 1>&6
7734 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
7735 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
7736 echo "configure
:7737: checking
for langinfo.h
" >&5
7737 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7738 echo $ac_n "(cached
) $ac_c" 1>&6
7740 cat > conftest.$ac_ext <<EOF
7741 #line 7742 "configure
"
7742 #include "confdefs.h
"
7743 #include <langinfo.h>
7745 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7746 { (eval echo configure:7747: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7747 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7748 if test -z "$ac_err"; then
7750 eval "ac_cv_header_
$ac_safe=yes"
7753 echo "configure
: failed program was
:" >&5
7754 cat conftest.$ac_ext >&5
7756 eval "ac_cv_header_
$ac_safe=no
"
7760 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7761 echo "$ac_t""yes" 1>&6
7762 ac_has_langinfo_h=yes
7764 echo "$ac_t""no
" 1>&6
7765 ac_has_langinfo_h=no
7769 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
7770 echo "configure
:7771: checking
for iconv in -liconv" >&5
7771 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
7772 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7773 echo $ac_n "(cached
) $ac_c" 1>&6
7775 ac_save_LIBS="$LIBS"
7776 LIBS="-liconv $LIBS"
7777 cat > conftest.$ac_ext <<EOF
7778 #line 7779 "configure
"
7779 #include "confdefs.h
"
7780 /* Override any gcc2 internal prototype to avoid an error. */
7781 /* We use char because int might match the return type of a gcc2
7782 builtin and then its argument prototype would still apply. */
7789 if { (eval echo configure:7790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7791 eval "ac_cv_lib_
$ac_lib_var=yes"
7793 echo "configure
: failed program was
:" >&5
7794 cat conftest.$ac_ext >&5
7796 eval "ac_cv_lib_
$ac_lib_var=no
"
7799 LIBS="$ac_save_LIBS"
7802 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7803 echo "$ac_t""yes" 1>&6
7806 echo "$ac_t""no
" 1>&6
7809 ac_save_LIBS="$LIBS"
7810 LIBS="$LIBS $libiconv"
7812 for ac_func in iconv_open iconv_close iconv nl_langinfo
7814 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7815 echo "configure
:7816: checking
for $ac_func" >&5
7816 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7817 echo $ac_n "(cached
) $ac_c" 1>&6
7819 cat > conftest.$ac_ext <<EOF
7820 #line 7821 "configure
"
7821 #include "confdefs.h
"
7822 /* System header to define __stub macros and hopefully few prototypes,
7823 which can conflict with char $ac_func(); below. */
7825 /* Override any gcc2 internal prototype to avoid an error. */
7826 /* We use char because int might match the return type of a gcc2
7827 builtin and then its argument prototype would still apply. */
7832 /* The GNU C library defines this for functions which it implements
7833 to always fail with ENOSYS. Some functions are actually named
7834 something starting with __ and the normal name is an alias. */
7835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7843 if { (eval echo configure:7844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7845 eval "ac_cv_func_
$ac_func=yes"
7847 echo "configure
: failed program was
:" >&5
7848 cat conftest.$ac_ext >&5
7850 eval "ac_cv_func_
$ac_func=no
"
7855 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7856 echo "$ac_t""yes" 1>&6
7857 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7858 cat >> confdefs.h <<EOF
7859 #define $ac_tr_func 1
7864 echo "$ac_t""no
" 1>&6
7870 LIBS="$ac_save_LIBS"
7872 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
7873 echo "configure
:7874: checking
for XPG2 wchar_t support
" >&5
7874 if test x"$ac_has_iconv_h" = xyes &&
7875 test x"$ac_has_langinfo_h" = xyes &&
7876 test x"$ac_XPG2funcs" = xyes; then
7881 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
7883 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
7884 echo "configure
:7885: checking
for enabled wchar_t specializations
" >&5
7885 if test x"$ac_isoC99_wchar_t" = xyes &&
7886 test x"$ac_XPG2_wchar_t" = xyes; then
7887 cat >> confdefs.h <<\EOF
7888 #define _GLIBCPP_USE_WCHAR_T 1
7891 echo "$ac_t"""yes"" 1>&6
7893 echo "$ac_t"""no"" 1>&6
7896 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
7899 os_include_dir="os
/mingw32
"
7902 os_include_dir="os
/windiss
"
7905 SECTION_FLAGS='-ffunction-sections -fdata-sections'
7908 # If we're not using GNU ld, then there's no point in even trying these
7909 # tests. Check for that first. We should have already tested for gld
7910 # by now (in libtool), but require it now just to be safe...
7911 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7912 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7915 # The name set by libtool depends on the version of libtool. Shame on us
7916 # for depending on an impl detail, but c'est la vie. Older versions used
7917 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7918 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7919 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7920 # set (hence we're using an older libtool), then set it.
7921 if test x${with_gnu_ld+set} != xset; then
7922 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7923 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
7926 with_gnu_ld=$ac_cv_prog_gnu_ld
7930 # Start by getting the version number. I think the libtool test already
7931 # does some of this, but throws away the result.
7933 ldver=`$LD --version 2>/dev/null | head -1 | \
7934 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7936 glibcpp_gnu_ld_version=`echo $ldver | \
7937 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7939 # Set --gc-sections.
7940 if test "$with_gnu_ld" = "notbroken
"; then
7941 # GNU ld it is! Joy and bunny rabbits!
7943 # All these tests are for C++; save the language and the compiler flags.
7944 # Need to do this so that g++ won't try to link in libstdc++
7945 ac_test_CFLAGS="${CFLAGS+set}"
7946 ac_save_CFLAGS="$CFLAGS"
7947 CFLAGS='-x c++ -Wl,--gc-sections'
7949 # Check for -Wl,--gc-sections
7950 # XXX This test is broken at the moment, as symbols required for
7951 # linking are now in libsupc++ (not built yet.....). In addition,
7952 # this test has cored on solaris in the past. In addition,
7953 # --gc-sections doesn't really work at the moment (keeps on discarding
7954 # used sections, first .eh_frame and now some of the glibc sections for
7955 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7956 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
7957 echo "configure
:7958: checking
for ld that supports
-Wl,--gc-sections" >&5
7958 if test "$cross_compiling" = yes; then
7959 ac_sectionLDflags=yes
7961 cat > conftest.$ac_ext <<EOF
7962 #line 7963 "configure
"
7963 #include "confdefs.h
"
7973 if { (eval echo configure:7974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7975 ac_sectionLDflags=yes
7977 echo "configure
: failed program was
:" >&5
7978 cat conftest.$ac_ext >&5
7980 ac_sectionLDflags=no
7985 if test "$ac_test_CFLAGS" = set; then
7986 CFLAGS="$ac_save_CFLAGS"
7988 # this is the suspicious part
7991 if test "$ac_sectionLDflags" = "yes"; then
7992 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7994 echo "$ac_t""$ac_sectionLDflags" 1>&6
7997 # Set linker optimization flags.
7998 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no
"; then
7999 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8006 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
8007 echo "configure
:8008: checking
for main
in -lm" >&5
8008 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
8009 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8010 echo $ac_n "(cached
) $ac_c" 1>&6
8012 ac_save_LIBS="$LIBS"
8014 cat > conftest.$ac_ext <<EOF
8015 #line 8016 "configure
"
8016 #include "confdefs.h
"
8022 if { (eval echo configure:8023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8024 eval "ac_cv_lib_
$ac_lib_var=yes"
8026 echo "configure
: failed program was
:" >&5
8027 cat conftest.$ac_ext >&5
8029 eval "ac_cv_lib_
$ac_lib_var=no
"
8032 LIBS="$ac_save_LIBS"
8035 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8036 echo "$ac_t""yes" 1>&6
8037 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
8038 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
8039 cat >> confdefs.h <<EOF
8040 #define $ac_tr_lib 1
8046 echo "$ac_t""no
" 1>&6
8049 for ac_func in nan copysignf
8051 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8052 echo "configure
:8053: checking
for $ac_func" >&5
8053 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8054 echo $ac_n "(cached
) $ac_c" 1>&6
8056 cat > conftest.$ac_ext <<EOF
8057 #line 8058 "configure
"
8058 #include "confdefs.h
"
8059 /* System header to define __stub macros and hopefully few prototypes,
8060 which can conflict with char $ac_func(); below. */
8062 /* Override any gcc2 internal prototype to avoid an error. */
8063 /* We use char because int might match the return type of a gcc2
8064 builtin and then its argument prototype would still apply. */
8069 /* The GNU C library defines this for functions which it implements
8070 to always fail with ENOSYS. Some functions are actually named
8071 something starting with __ and the normal name is an alias. */
8072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8080 if { (eval echo configure:8081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8082 eval "ac_cv_func_
$ac_func=yes"
8084 echo "configure
: failed program was
:" >&5
8085 cat conftest.$ac_ext >&5
8087 eval "ac_cv_func_
$ac_func=no
"
8092 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8093 echo "$ac_t""yes" 1>&6
8094 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8095 cat >> confdefs.h <<EOF
8096 #define $ac_tr_func 1
8100 echo "$ac_t""no
" 1>&6
8101 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
8106 for ac_func in __signbit
8108 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8109 echo "configure
:8110: checking
for $ac_func" >&5
8110 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8111 echo $ac_n "(cached
) $ac_c" 1>&6
8113 cat > conftest.$ac_ext <<EOF
8114 #line 8115 "configure
"
8115 #include "confdefs.h
"
8116 /* System header to define __stub macros and hopefully few prototypes,
8117 which can conflict with char $ac_func(); below. */
8119 /* Override any gcc2 internal prototype to avoid an error. */
8120 /* We use char because int might match the return type of a gcc2
8121 builtin and then its argument prototype would still apply. */
8126 /* The GNU C library defines this for functions which it implements
8127 to always fail with ENOSYS. Some functions are actually named
8128 something starting with __ and the normal name is an alias. */
8129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8137 if { (eval echo configure:8138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8139 eval "ac_cv_func_
$ac_func=yes"
8141 echo "configure
: failed program was
:" >&5
8142 cat conftest.$ac_ext >&5
8144 eval "ac_cv_func_
$ac_func=no
"
8149 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8150 echo "$ac_t""yes" 1>&6
8151 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8152 cat >> confdefs.h <<EOF
8153 #define $ac_tr_func 1
8157 echo "$ac_t""no
" 1>&6
8158 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
8162 for ac_func in __signbitf
8164 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8165 echo "configure
:8166: checking
for $ac_func" >&5
8166 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8167 echo $ac_n "(cached
) $ac_c" 1>&6
8169 cat > conftest.$ac_ext <<EOF
8170 #line 8171 "configure
"
8171 #include "confdefs.h
"
8172 /* System header to define __stub macros and hopefully few prototypes,
8173 which can conflict with char $ac_func(); below. */
8175 /* Override any gcc2 internal prototype to avoid an error. */
8176 /* We use char because int might match the return type of a gcc2
8177 builtin and then its argument prototype would still apply. */
8182 /* The GNU C library defines this for functions which it implements
8183 to always fail with ENOSYS. Some functions are actually named
8184 something starting with __ and the normal name is an alias. */
8185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8193 if { (eval echo configure:8194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8195 eval "ac_cv_func_
$ac_func=yes"
8197 echo "configure
: failed program was
:" >&5
8198 cat conftest.$ac_ext >&5
8200 eval "ac_cv_func_
$ac_func=no
"
8205 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8206 echo "$ac_t""yes" 1>&6
8207 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8208 cat >> confdefs.h <<EOF
8209 #define $ac_tr_func 1
8213 echo "$ac_t""no
" 1>&6
8214 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
8219 if test x$ac_cv_func_copysignl = x"yes"; then
8220 for ac_func in __signbitl
8222 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8223 echo "configure
:8224: checking
for $ac_func" >&5
8224 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8225 echo $ac_n "(cached
) $ac_c" 1>&6
8227 cat > conftest.$ac_ext <<EOF
8228 #line 8229 "configure
"
8229 #include "confdefs.h
"
8230 /* System header to define __stub macros and hopefully few prototypes,
8231 which can conflict with char $ac_func(); below. */
8233 /* Override any gcc2 internal prototype to avoid an error. */
8234 /* We use char because int might match the return type of a gcc2
8235 builtin and then its argument prototype would still apply. */
8240 /* The GNU C library defines this for functions which it implements
8241 to always fail with ENOSYS. Some functions are actually named
8242 something starting with __ and the normal name is an alias. */
8243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8251 if { (eval echo configure:8252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8253 eval "ac_cv_func_
$ac_func=yes"
8255 echo "configure
: failed program was
:" >&5
8256 cat conftest.$ac_ext >&5
8258 eval "ac_cv_func_
$ac_func=no
"
8263 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8264 echo "$ac_t""yes" 1>&6
8265 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8266 cat >> confdefs.h <<EOF
8267 #define $ac_tr_func 1
8271 echo "$ac_t""no
" 1>&6
8272 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
8282 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
8283 echo "configure
:8284: checking
for mbstate_t
" >&5
8284 cat > conftest.$ac_ext <<EOF
8285 #line 8286 "configure
"
8286 #include "confdefs.h
"
8289 mbstate_t teststate;
8292 if { (eval echo configure:8293: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8296 echo "configure
: failed program was
:" >&5
8297 cat conftest.$ac_ext >&5
8302 echo "$ac_t""$have_mbstate_t" 1>&6
8303 if test x"$have_mbstate_t" = xyes; then
8304 cat >> confdefs.h <<\EOF
8305 #define HAVE_MBSTATE_T 1
8310 for ac_hdr in wchar.h
8312 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8313 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
8314 echo "configure
:8315: checking
for $ac_hdr" >&5
8315 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8316 echo $ac_n "(cached
) $ac_c" 1>&6
8318 cat > conftest.$ac_ext <<EOF
8319 #line 8320 "configure
"
8320 #include "confdefs.h
"
8323 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8324 { (eval echo configure:8325: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8325 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8326 if test -z "$ac_err"; then
8328 eval "ac_cv_header_
$ac_safe=yes"
8331 echo "configure
: failed program was
:" >&5
8332 cat conftest.$ac_ext >&5
8334 eval "ac_cv_header_
$ac_safe=no
"
8338 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8339 echo "$ac_t""yes" 1>&6
8340 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8341 cat >> confdefs.h <<EOF
8342 #define $ac_tr_hdr 1
8346 echo "$ac_t""no
" 1>&6
8351 for ac_hdr in wctype.h
8353 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8354 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
8355 echo "configure
:8356: checking
for $ac_hdr" >&5
8356 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8357 echo $ac_n "(cached
) $ac_c" 1>&6
8359 cat > conftest.$ac_ext <<EOF
8360 #line 8361 "configure
"
8361 #include "confdefs.h
"
8364 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8365 { (eval echo configure:8366: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8366 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8367 if test -z "$ac_err"; then
8369 eval "ac_cv_header_
$ac_safe=yes"
8372 echo "configure
: failed program was
:" >&5
8373 cat conftest.$ac_ext >&5
8375 eval "ac_cv_header_
$ac_safe=no
"
8379 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8380 echo "$ac_t""yes" 1>&6
8381 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8382 cat >> confdefs.h <<EOF
8383 #define $ac_tr_hdr 1
8387 echo "$ac_t""no
" 1>&6
8393 if test x"$ac_has_wchar_h" = xyes &&
8394 test x"$ac_has_wctype_h" = xyes &&
8395 test x"$enable_c_mbchar" != xno; then
8397 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
8398 echo "configure
:8399: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
8399 cat > conftest.$ac_ext <<EOF
8400 #line 8401 "configure
"
8401 #include "confdefs.h
"
8404 int i = WCHAR_MIN; int j = WCHAR_MAX;
8407 if { (eval echo configure:8408: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8409 has_wchar_minmax=yes
8411 echo "configure
: failed program was
:" >&5
8412 cat conftest.$ac_ext >&5
8417 echo "$ac_t""$has_wchar_minmax" 1>&6
8419 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
8420 echo "configure
:8421: checking
for WEOF
" >&5
8421 cat > conftest.$ac_ext <<EOF
8422 #line 8423 "configure
"
8423 #include "confdefs.h
"
8431 if { (eval echo configure:8432: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8435 echo "configure
: failed program was
:" >&5
8436 cat conftest.$ac_ext >&5
8441 echo "$ac_t""$has_weof" 1>&6
8444 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
8446 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8447 echo "configure
:8448: checking
for $ac_func" >&5
8448 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8449 echo $ac_n "(cached
) $ac_c" 1>&6
8451 cat > conftest.$ac_ext <<EOF
8452 #line 8453 "configure
"
8453 #include "confdefs.h
"
8454 /* System header to define __stub macros and hopefully few prototypes,
8455 which can conflict with char $ac_func(); below. */
8457 /* Override any gcc2 internal prototype to avoid an error. */
8458 /* We use char because int might match the return type of a gcc2
8459 builtin and then its argument prototype would still apply. */
8464 /* The GNU C library defines this for functions which it implements
8465 to always fail with ENOSYS. Some functions are actually named
8466 something starting with __ and the normal name is an alias. */
8467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8475 if { (eval echo configure:8476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8477 eval "ac_cv_func_
$ac_func=yes"
8479 echo "configure
: failed program was
:" >&5
8480 cat conftest.$ac_ext >&5
8482 eval "ac_cv_func_
$ac_func=no
"
8487 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8488 echo "$ac_t""yes" 1>&6
8489 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8490 cat >> confdefs.h <<EOF
8491 #define $ac_tr_func 1
8495 echo "$ac_t""no
" 1>&6
8502 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
8503 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
8504 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
8505 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
8506 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
8507 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
8509 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8510 echo "configure
:8511: checking
for $ac_func" >&5
8511 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8512 echo $ac_n "(cached
) $ac_c" 1>&6
8514 cat > conftest.$ac_ext <<EOF
8515 #line 8516 "configure
"
8516 #include "confdefs.h
"
8517 /* System header to define __stub macros and hopefully few prototypes,
8518 which can conflict with char $ac_func(); below. */
8520 /* Override any gcc2 internal prototype to avoid an error. */
8521 /* We use char because int might match the return type of a gcc2
8522 builtin and then its argument prototype would still apply. */
8527 /* The GNU C library defines this for functions which it implements
8528 to always fail with ENOSYS. Some functions are actually named
8529 something starting with __ and the normal name is an alias. */
8530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8538 if { (eval echo configure:8539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8540 eval "ac_cv_func_
$ac_func=yes"
8542 echo "configure
: failed program was
:" >&5
8543 cat conftest.$ac_ext >&5
8545 eval "ac_cv_func_
$ac_func=no
"
8550 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8551 echo "$ac_t""yes" 1>&6
8552 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8553 cat >> confdefs.h <<EOF
8554 #define $ac_tr_func 1
8558 echo "$ac_t""no
" 1>&6
8565 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
8566 echo "configure
:8567: checking
for ISO C99 wchar_t support
" >&5
8567 if test x"$has_weof" = xyes &&
8568 test x"$has_wchar_minmax" = xyes &&
8569 test x"$ac_wfuncs" = xyes; then
8570 ac_isoC99_wchar_t=yes
8572 ac_isoC99_wchar_t=no
8574 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
8576 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
8577 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
8578 echo "configure
:8579: checking
for iconv.h
" >&5
8579 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8580 echo $ac_n "(cached
) $ac_c" 1>&6
8582 cat > conftest.$ac_ext <<EOF
8583 #line 8584 "configure
"
8584 #include "confdefs.h
"
8587 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8588 { (eval echo configure:8589: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8589 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8590 if test -z "$ac_err"; then
8592 eval "ac_cv_header_
$ac_safe=yes"
8595 echo "configure
: failed program was
:" >&5
8596 cat conftest.$ac_ext >&5
8598 eval "ac_cv_header_
$ac_safe=no
"
8602 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8603 echo "$ac_t""yes" 1>&6
8606 echo "$ac_t""no
" 1>&6
8610 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
8611 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
8612 echo "configure
:8613: checking
for langinfo.h
" >&5
8613 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8614 echo $ac_n "(cached
) $ac_c" 1>&6
8616 cat > conftest.$ac_ext <<EOF
8617 #line 8618 "configure
"
8618 #include "confdefs.h
"
8619 #include <langinfo.h>
8621 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8622 { (eval echo configure:8623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8623 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8624 if test -z "$ac_err"; then
8626 eval "ac_cv_header_
$ac_safe=yes"
8629 echo "configure
: failed program was
:" >&5
8630 cat conftest.$ac_ext >&5
8632 eval "ac_cv_header_
$ac_safe=no
"
8636 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8637 echo "$ac_t""yes" 1>&6
8638 ac_has_langinfo_h=yes
8640 echo "$ac_t""no
" 1>&6
8641 ac_has_langinfo_h=no
8645 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
8646 echo "configure
:8647: checking
for iconv in -liconv" >&5
8647 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
8648 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8649 echo $ac_n "(cached
) $ac_c" 1>&6
8651 ac_save_LIBS="$LIBS"
8652 LIBS="-liconv $LIBS"
8653 cat > conftest.$ac_ext <<EOF
8654 #line 8655 "configure
"
8655 #include "confdefs.h
"
8656 /* Override any gcc2 internal prototype to avoid an error. */
8657 /* We use char because int might match the return type of a gcc2
8658 builtin and then its argument prototype would still apply. */
8665 if { (eval echo configure:8666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8667 eval "ac_cv_lib_
$ac_lib_var=yes"
8669 echo "configure
: failed program was
:" >&5
8670 cat conftest.$ac_ext >&5
8672 eval "ac_cv_lib_
$ac_lib_var=no
"
8675 LIBS="$ac_save_LIBS"
8678 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8679 echo "$ac_t""yes" 1>&6
8682 echo "$ac_t""no
" 1>&6
8685 ac_save_LIBS="$LIBS"
8686 LIBS="$LIBS $libiconv"
8688 for ac_func in iconv_open iconv_close iconv nl_langinfo
8690 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8691 echo "configure
:8692: checking
for $ac_func" >&5
8692 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8693 echo $ac_n "(cached
) $ac_c" 1>&6
8695 cat > conftest.$ac_ext <<EOF
8696 #line 8697 "configure
"
8697 #include "confdefs.h
"
8698 /* System header to define __stub macros and hopefully few prototypes,
8699 which can conflict with char $ac_func(); below. */
8701 /* Override any gcc2 internal prototype to avoid an error. */
8702 /* We use char because int might match the return type of a gcc2
8703 builtin and then its argument prototype would still apply. */
8708 /* The GNU C library defines this for functions which it implements
8709 to always fail with ENOSYS. Some functions are actually named
8710 something starting with __ and the normal name is an alias. */
8711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8719 if { (eval echo configure:8720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8721 eval "ac_cv_func_
$ac_func=yes"
8723 echo "configure
: failed program was
:" >&5
8724 cat conftest.$ac_ext >&5
8726 eval "ac_cv_func_
$ac_func=no
"
8731 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8732 echo "$ac_t""yes" 1>&6
8733 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8734 cat >> confdefs.h <<EOF
8735 #define $ac_tr_func 1
8740 echo "$ac_t""no
" 1>&6
8746 LIBS="$ac_save_LIBS"
8748 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
8749 echo "configure
:8750: checking
for XPG2 wchar_t support
" >&5
8750 if test x"$ac_has_iconv_h" = xyes &&
8751 test x"$ac_has_langinfo_h" = xyes &&
8752 test x"$ac_XPG2funcs" = xyes; then
8757 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
8759 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
8760 echo "configure
:8761: checking
for enabled wchar_t specializations
" >&5
8761 if test x"$ac_isoC99_wchar_t" = xyes &&
8762 test x"$ac_XPG2_wchar_t" = xyes; then
8763 cat >> confdefs.h <<\EOF
8764 #define _GLIBCPP_USE_WCHAR_T 1
8767 echo "$ac_t"""yes"" 1>&6
8769 echo "$ac_t"""no"" 1>&6
8772 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
8775 os_include_dir="os
/qnx
/qnx6.1
"
8776 cat >> confdefs.h <<\EOF
8780 cat >> confdefs.h <<\EOF
8784 cat >> confdefs.h <<\EOF
8785 #define HAVE_COSHF 1
8788 cat >> confdefs.h <<\EOF
8789 #define HAVE_COSHL 1
8792 cat >> confdefs.h <<\EOF
8796 cat >> confdefs.h <<\EOF
8800 cat >> confdefs.h <<\EOF
8801 #define HAVE_LOG10F 1
8804 cat >> confdefs.h <<\EOF
8805 #define HAVE_LOG10L 1
8808 cat >> confdefs.h <<\EOF
8812 cat >> confdefs.h <<\EOF
8816 cat >> confdefs.h <<\EOF
8817 #define HAVE_SINHF 1
8820 cat >> confdefs.h <<\EOF
8821 #define HAVE_SINHL 1
8826 os_include_dir="os
/newlib
"
8827 cat >> confdefs.h <<\EOF
8828 #define HAVE_HYPOT 1
8834 case "$target_alias" in
8838 cat >> confdefs.h <<\EOF
8839 #define HAVE_ACOSF 1
8842 cat >> confdefs.h <<\EOF
8843 #define HAVE_ASINF 1
8846 cat >> confdefs.h <<\EOF
8847 #define HAVE_ATAN2F 1
8850 cat >> confdefs.h <<\EOF
8851 #define HAVE_ATANF 1
8854 cat >> confdefs.h <<\EOF
8855 #define HAVE_CEILF 1
8858 cat >> confdefs.h <<\EOF
8859 #define HAVE_COPYSIGN 1
8862 cat >> confdefs.h <<\EOF
8863 #define HAVE_COPYSIGNF 1
8866 cat >> confdefs.h <<\EOF
8870 cat >> confdefs.h <<\EOF
8871 #define HAVE_COSHF 1
8874 cat >> confdefs.h <<\EOF
8878 cat >> confdefs.h <<\EOF
8879 #define HAVE_FABSF 1
8882 cat >> confdefs.h <<\EOF
8883 #define HAVE_FLOORF 1
8886 cat >> confdefs.h <<\EOF
8887 #define HAVE_FMODF 1
8890 cat >> confdefs.h <<\EOF
8891 #define HAVE_FREXPF 1
8894 cat >> confdefs.h <<\EOF
8895 #define HAVE_LDEXPF 1
8898 cat >> confdefs.h <<\EOF
8899 #define HAVE_LOG10F 1
8902 cat >> confdefs.h <<\EOF
8906 cat >> confdefs.h <<\EOF
8907 #define HAVE_MODFF 1
8910 cat >> confdefs.h <<\EOF
8914 cat >> confdefs.h <<\EOF
8918 cat >> confdefs.h <<\EOF
8919 #define HAVE_SINHF 1
8922 cat >> confdefs.h <<\EOF
8923 #define HAVE_SQRTF 1
8926 cat >> confdefs.h <<\EOF
8930 cat >> confdefs.h <<\EOF
8931 #define HAVE_TANHF 1
8936 # GLIBCPP_CHECK_STDLIB_SUPPORT
8937 cat >> confdefs.h <<\EOF
8938 #define HAVE_STRTOF 1
8941 cat >> confdefs.h <<\EOF
8942 #define HAVE_STRTOLD 1
8946 cat >> confdefs.h <<\EOF
8951 cat >> confdefs.h <<\EOF
8952 #define HAVE_ACOSF 1
8955 cat >> confdefs.h <<\EOF
8956 #define HAVE_ASINF 1
8959 cat >> confdefs.h <<\EOF
8960 #define HAVE_ATAN2F 1
8963 cat >> confdefs.h <<\EOF
8964 #define HAVE_ATANF 1
8967 cat >> confdefs.h <<\EOF
8968 #define HAVE_CEILF 1
8971 cat >> confdefs.h <<\EOF
8972 #define HAVE_COPYSIGN 1
8975 cat >> confdefs.h <<\EOF
8976 #define HAVE_COPYSIGNF 1
8979 cat >> confdefs.h <<\EOF
8983 cat >> confdefs.h <<\EOF
8984 #define HAVE_COSHF 1
8987 cat >> confdefs.h <<\EOF
8991 cat >> confdefs.h <<\EOF
8992 #define HAVE_FABSF 1
8995 cat >> confdefs.h <<\EOF
8996 #define HAVE_FLOORF 1
8999 cat >> confdefs.h <<\EOF
9000 #define HAVE_FMODF 1
9003 cat >> confdefs.h <<\EOF
9004 #define HAVE_FREXPF 1
9007 cat >> confdefs.h <<\EOF
9008 #define HAVE_LDEXPF 1
9011 cat >> confdefs.h <<\EOF
9012 #define HAVE_LOG10F 1
9015 cat >> confdefs.h <<\EOF
9019 cat >> confdefs.h <<\EOF
9020 #define HAVE_MODFF 1
9023 cat >> confdefs.h <<\EOF
9027 cat >> confdefs.h <<\EOF
9031 cat >> confdefs.h <<\EOF
9032 #define HAVE_SINHF 1
9035 cat >> confdefs.h <<\EOF
9036 #define HAVE_SQRTF 1
9039 cat >> confdefs.h <<\EOF
9043 cat >> confdefs.h <<\EOF
9044 #define HAVE_TANHF 1
9050 # At some point, we should differentiate between architectures
9051 # like x86, which have long double versions, and alpha/powerpc/etc.,
9052 # which don't. For the time being, punt.
9053 if test x"long_double_math_on_this_cpu
" = x"yes"; then
9054 cat >> confdefs.h <<\EOF
9055 #define HAVE_ACOSL 1
9058 cat >> confdefs.h <<\EOF
9059 #define HAVE_ASINL 1
9062 cat >> confdefs.h <<\EOF
9063 #define HAVE_ATAN2L 1
9066 cat >> confdefs.h <<\EOF
9067 #define HAVE_ATANL 1
9070 cat >> confdefs.h <<\EOF
9071 #define HAVE_CEILL 1
9074 cat >> confdefs.h <<\EOF
9075 #define HAVE_COPYSIGNL 1
9078 cat >> confdefs.h <<\EOF
9082 cat >> confdefs.h <<\EOF
9083 #define HAVE_COSHL 1
9086 cat >> confdefs.h <<\EOF
9090 cat >> confdefs.h <<\EOF
9091 #define HAVE_FABSL 1
9094 cat >> confdefs.h <<\EOF
9095 #define HAVE_FLOORL 1
9098 cat >> confdefs.h <<\EOF
9099 #define HAVE_FMODL 1
9102 cat >> confdefs.h <<\EOF
9103 #define HAVE_FREXPL 1
9106 cat >> confdefs.h <<\EOF
9107 #define HAVE_LDEXPL 1
9110 cat >> confdefs.h <<\EOF
9111 #define HAVE_LOG10L 1
9114 cat >> confdefs.h <<\EOF
9118 cat >> confdefs.h <<\EOF
9119 #define HAVE_MODFL 1
9122 cat >> confdefs.h <<\EOF
9126 cat >> confdefs.h <<\EOF
9127 #define HAVE_SINCOSL 1
9130 cat >> confdefs.h <<\EOF
9134 cat >> confdefs.h <<\EOF
9135 #define HAVE_SINHL 1
9138 cat >> confdefs.h <<\EOF
9139 #define HAVE_SQRTL 1
9142 cat >> confdefs.h <<\EOF
9146 cat >> confdefs.h <<\EOF
9147 #define HAVE_TANHL 1
9154 # We are being configured natively. We can do more elaborate tests
9155 # that include AC_TRY_COMPILE now, as the linker is assumed to be
9157 GLIBCPP_IS_CROSS_COMPILING=0
9160 # Check for available headers.
9161 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
9162 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h sys/types.h
9164 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9165 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
9166 echo "configure
:9167: checking
for $ac_hdr" >&5
9167 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9168 echo $ac_n "(cached
) $ac_c" 1>&6
9170 cat > conftest.$ac_ext <<EOF
9171 #line 9172 "configure
"
9172 #include "confdefs.h
"
9175 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
9176 { (eval echo configure:9177: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9177 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
9178 if test -z "$ac_err"; then
9180 eval "ac_cv_header_
$ac_safe=yes"
9183 echo "configure
: failed program was
:" >&5
9184 cat conftest.$ac_ext >&5
9186 eval "ac_cv_header_
$ac_safe=no
"
9190 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9191 echo "$ac_t""yes" 1>&6
9192 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9193 cat >> confdefs.h <<EOF
9194 #define $ac_tr_hdr 1
9198 echo "$ac_t""no
" 1>&6
9204 # All these tests are for C++; save the language and the compiler flags.
9205 # The CXXFLAGS thing is suspicious, but based on similar bits previously
9206 # found in GLIBCPP_CONFIGURE.
9209 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9210 ac_cpp='$CXXCPP $CPPFLAGS'
9211 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9212 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9213 cross_compiling=$ac_cv_prog_cxx_cross
9215 ac_test_CXXFLAGS="${CXXFLAGS+set}"
9216 ac_save_CXXFLAGS="$CXXFLAGS"
9218 # Check for maintainer-mode bits.
9219 if test x"$USE_MAINTAINER_MODE" = xno; then
9225 # Check for -ffunction-sections -fdata-sections
9226 echo $ac_n "checking
for g
++ that supports
-ffunction-sections -fdata-sections""...
$ac_c" 1>&6
9227 echo "configure
:9228: checking
for g
++ that supports
-ffunction-sections -fdata-sections" >&5
9228 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
9229 cat > conftest.$ac_ext <<EOF
9230 #line 9231 "configure
"
9231 #include "confdefs.h
"
9238 if { (eval echo configure:9239: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9242 echo "configure
: failed program was
:" >&5
9243 cat conftest.$ac_ext >&5
9248 if test "$ac_test_CXXFLAGS" = set; then
9249 CXXFLAGS="$ac_save_CXXFLAGS"
9251 # this is the suspicious part
9254 if test x"$ac_fdsections" = x"yes" &&
9255 test x"$enable_debug" = x"no
"; then
9256 SECTION_FLAGS='-ffunction-sections -fdata-sections'
9258 echo "$ac_t""$ac_fdsections" 1>&6
9261 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9262 ac_cpp='$CPP $CPPFLAGS'
9263 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9264 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9265 cross_compiling=$ac_cv_prog_cc_cross
9271 # If we're not using GNU ld, then there's no point in even trying these
9272 # tests. Check for that first. We should have already tested for gld
9273 # by now (in libtool), but require it now just to be safe...
9274 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
9275 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
9278 # The name set by libtool depends on the version of libtool. Shame on us
9279 # for depending on an impl detail, but c'est la vie. Older versions used
9280 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
9281 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
9282 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
9283 # set (hence we're using an older libtool), then set it.
9284 if test x${with_gnu_ld+set} != xset; then
9285 if test x${ac_cv_prog_gnu_ld+set} != xset; then
9286 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
9289 with_gnu_ld=$ac_cv_prog_gnu_ld
9293 # Start by getting the version number. I think the libtool test already
9294 # does some of this, but throws away the result.
9296 ldver=`$LD --version 2>/dev/null | head -1 | \
9297 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
9299 glibcpp_gnu_ld_version=`echo $ldver | \
9300 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
9302 # Set --gc-sections.
9303 if test "$with_gnu_ld" = "notbroken
"; then
9304 # GNU ld it is! Joy and bunny rabbits!
9306 # All these tests are for C++; save the language and the compiler flags.
9307 # Need to do this so that g++ won't try to link in libstdc++
9308 ac_test_CFLAGS="${CFLAGS+set}"
9309 ac_save_CFLAGS="$CFLAGS"
9310 CFLAGS='-x c++ -Wl,--gc-sections'
9312 # Check for -Wl,--gc-sections
9313 # XXX This test is broken at the moment, as symbols required for
9314 # linking are now in libsupc++ (not built yet.....). In addition,
9315 # this test has cored on solaris in the past. In addition,
9316 # --gc-sections doesn't really work at the moment (keeps on discarding
9317 # used sections, first .eh_frame and now some of the glibc sections for
9318 # iconv). Bzzzzt. Thanks for playing, maybe next time.
9319 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
9320 echo "configure
:9321: checking
for ld that supports
-Wl,--gc-sections" >&5
9321 if test "$cross_compiling" = yes; then
9322 ac_sectionLDflags=yes
9324 cat > conftest.$ac_ext <<EOF
9325 #line 9326 "configure
"
9326 #include "confdefs.h
"
9336 if { (eval echo configure:9337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9338 ac_sectionLDflags=yes
9340 echo "configure
: failed program was
:" >&5
9341 cat conftest.$ac_ext >&5
9343 ac_sectionLDflags=no
9348 if test "$ac_test_CFLAGS" = set; then
9349 CFLAGS="$ac_save_CFLAGS"
9351 # this is the suspicious part
9354 if test "$ac_sectionLDflags" = "yes"; then
9355 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
9357 echo "$ac_t""$ac_sectionLDflags" 1>&6
9360 # Set linker optimization flags.
9361 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no
"; then
9362 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
9370 echo $ac_n "checking
for __builtin_abs declaration
""...
$ac_c" 1>&6
9371 echo "configure
:9372: checking
for __builtin_abs declaration
" >&5
9372 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
9373 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
9374 echo $ac_n "(cached
) $ac_c" 1>&6
9379 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9380 ac_cpp='$CXXCPP $CPPFLAGS'
9381 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9382 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9383 cross_compiling=$ac_cv_prog_cxx_cross
9385 cat > conftest.$ac_ext <<EOF
9386 #line 9387 "configure
"
9387 #include "confdefs.h
"
9393 if { (eval echo configure:9394: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9395 glibcpp_cv_func___builtin_abs_use=yes
9397 echo "configure
: failed program was
:" >&5
9398 cat conftest.$ac_ext >&5
9400 glibcpp_cv_func___builtin_abs_use=no
9404 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9405 ac_cpp='$CPP $CPPFLAGS'
9406 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9407 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9408 cross_compiling=$ac_cv_prog_cc_cross
9414 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
9415 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
9416 echo $ac_n "checking
for __builtin_abs linkage
""...
$ac_c" 1>&6
9417 echo "configure
:9418: checking
for __builtin_abs linkage
" >&5
9418 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
9419 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
9420 echo $ac_n "(cached
) $ac_c" 1>&6
9423 cat > conftest.$ac_ext <<EOF
9424 #line 9425 "configure
"
9425 #include "confdefs.h
"
9431 if { (eval echo configure:9432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9433 glibcpp_cv_func___builtin_abs_link=yes
9435 echo "configure
: failed program was
:" >&5
9436 cat conftest.$ac_ext >&5
9438 glibcpp_cv_func___builtin_abs_link=no
9445 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
9446 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
9447 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9448 cat >> confdefs.h <<EOF
9449 #define ${ac_tr_func} 1
9456 echo $ac_n "checking
for __builtin_fabsf declaration
""...
$ac_c" 1>&6
9457 echo "configure
:9458: checking
for __builtin_fabsf declaration
" >&5
9458 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
9459 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
9460 echo $ac_n "(cached
) $ac_c" 1>&6
9465 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9466 ac_cpp='$CXXCPP $CPPFLAGS'
9467 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9468 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9469 cross_compiling=$ac_cv_prog_cxx_cross
9471 cat > conftest.$ac_ext <<EOF
9472 #line 9473 "configure
"
9473 #include "confdefs.h
"
9479 if { (eval echo configure:9480: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9481 glibcpp_cv_func___builtin_fabsf_use=yes
9483 echo "configure
: failed program was
:" >&5
9484 cat conftest.$ac_ext >&5
9486 glibcpp_cv_func___builtin_fabsf_use=no
9490 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9491 ac_cpp='$CPP $CPPFLAGS'
9492 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9493 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9494 cross_compiling=$ac_cv_prog_cc_cross
9500 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
9501 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
9502 echo $ac_n "checking
for __builtin_fabsf linkage
""...
$ac_c" 1>&6
9503 echo "configure
:9504: checking
for __builtin_fabsf linkage
" >&5
9504 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
9505 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
9506 echo $ac_n "(cached
) $ac_c" 1>&6
9509 cat > conftest.$ac_ext <<EOF
9510 #line 9511 "configure
"
9511 #include "confdefs.h
"
9517 if { (eval echo configure:9518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9519 glibcpp_cv_func___builtin_fabsf_link=yes
9521 echo "configure
: failed program was
:" >&5
9522 cat conftest.$ac_ext >&5
9524 glibcpp_cv_func___builtin_fabsf_link=no
9531 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
9532 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
9533 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9534 cat >> confdefs.h <<EOF
9535 #define ${ac_tr_func} 1
9542 echo $ac_n "checking
for __builtin_fabs declaration
""...
$ac_c" 1>&6
9543 echo "configure
:9544: checking
for __builtin_fabs declaration
" >&5
9544 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
9545 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
9546 echo $ac_n "(cached
) $ac_c" 1>&6
9551 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9552 ac_cpp='$CXXCPP $CPPFLAGS'
9553 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9554 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9555 cross_compiling=$ac_cv_prog_cxx_cross
9557 cat > conftest.$ac_ext <<EOF
9558 #line 9559 "configure
"
9559 #include "confdefs.h
"
9565 if { (eval echo configure:9566: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9567 glibcpp_cv_func___builtin_fabs_use=yes
9569 echo "configure
: failed program was
:" >&5
9570 cat conftest.$ac_ext >&5
9572 glibcpp_cv_func___builtin_fabs_use=no
9576 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9577 ac_cpp='$CPP $CPPFLAGS'
9578 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9579 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9580 cross_compiling=$ac_cv_prog_cc_cross
9586 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
9587 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
9588 echo $ac_n "checking
for __builtin_fabs linkage
""...
$ac_c" 1>&6
9589 echo "configure
:9590: checking
for __builtin_fabs linkage
" >&5
9590 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
9591 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
9592 echo $ac_n "(cached
) $ac_c" 1>&6
9595 cat > conftest.$ac_ext <<EOF
9596 #line 9597 "configure
"
9597 #include "confdefs.h
"
9603 if { (eval echo configure:9604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9605 glibcpp_cv_func___builtin_fabs_link=yes
9607 echo "configure
: failed program was
:" >&5
9608 cat conftest.$ac_ext >&5
9610 glibcpp_cv_func___builtin_fabs_link=no
9617 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
9618 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
9619 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9620 cat >> confdefs.h <<EOF
9621 #define ${ac_tr_func} 1
9628 echo $ac_n "checking
for __builtin_fabsl declaration
""...
$ac_c" 1>&6
9629 echo "configure
:9630: checking
for __builtin_fabsl declaration
" >&5
9630 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
9631 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
9632 echo $ac_n "(cached
) $ac_c" 1>&6
9637 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9638 ac_cpp='$CXXCPP $CPPFLAGS'
9639 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9640 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9641 cross_compiling=$ac_cv_prog_cxx_cross
9643 cat > conftest.$ac_ext <<EOF
9644 #line 9645 "configure
"
9645 #include "confdefs.h
"
9651 if { (eval echo configure:9652: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9653 glibcpp_cv_func___builtin_fabsl_use=yes
9655 echo "configure
: failed program was
:" >&5
9656 cat conftest.$ac_ext >&5
9658 glibcpp_cv_func___builtin_fabsl_use=no
9662 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9663 ac_cpp='$CPP $CPPFLAGS'
9664 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9665 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9666 cross_compiling=$ac_cv_prog_cc_cross
9672 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
9673 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
9674 echo $ac_n "checking
for __builtin_fabsl linkage
""...
$ac_c" 1>&6
9675 echo "configure
:9676: checking
for __builtin_fabsl linkage
" >&5
9676 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
9677 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
9678 echo $ac_n "(cached
) $ac_c" 1>&6
9681 cat > conftest.$ac_ext <<EOF
9682 #line 9683 "configure
"
9683 #include "confdefs.h
"
9689 if { (eval echo configure:9690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9691 glibcpp_cv_func___builtin_fabsl_link=yes
9693 echo "configure
: failed program was
:" >&5
9694 cat conftest.$ac_ext >&5
9696 glibcpp_cv_func___builtin_fabsl_link=no
9703 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
9704 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
9705 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9706 cat >> confdefs.h <<EOF
9707 #define ${ac_tr_func} 1
9714 echo $ac_n "checking
for __builtin_labs declaration
""...
$ac_c" 1>&6
9715 echo "configure
:9716: checking
for __builtin_labs declaration
" >&5
9716 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
9717 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
9718 echo $ac_n "(cached
) $ac_c" 1>&6
9723 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9724 ac_cpp='$CXXCPP $CPPFLAGS'
9725 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9726 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9727 cross_compiling=$ac_cv_prog_cxx_cross
9729 cat > conftest.$ac_ext <<EOF
9730 #line 9731 "configure
"
9731 #include "confdefs.h
"
9737 if { (eval echo configure:9738: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9739 glibcpp_cv_func___builtin_labs_use=yes
9741 echo "configure
: failed program was
:" >&5
9742 cat conftest.$ac_ext >&5
9744 glibcpp_cv_func___builtin_labs_use=no
9748 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9749 ac_cpp='$CPP $CPPFLAGS'
9750 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9751 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9752 cross_compiling=$ac_cv_prog_cc_cross
9758 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
9759 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
9760 echo $ac_n "checking
for __builtin_labs linkage
""...
$ac_c" 1>&6
9761 echo "configure
:9762: checking
for __builtin_labs linkage
" >&5
9762 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
9763 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
9764 echo $ac_n "(cached
) $ac_c" 1>&6
9767 cat > conftest.$ac_ext <<EOF
9768 #line 9769 "configure
"
9769 #include "confdefs.h
"
9775 if { (eval echo configure:9776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9777 glibcpp_cv_func___builtin_labs_link=yes
9779 echo "configure
: failed program was
:" >&5
9780 cat conftest.$ac_ext >&5
9782 glibcpp_cv_func___builtin_labs_link=no
9789 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
9790 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
9791 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9792 cat >> confdefs.h <<EOF
9793 #define ${ac_tr_func} 1
9801 echo $ac_n "checking
for __builtin_sqrtf declaration
""...
$ac_c" 1>&6
9802 echo "configure
:9803: checking
for __builtin_sqrtf declaration
" >&5
9803 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
9804 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
9805 echo $ac_n "(cached
) $ac_c" 1>&6
9810 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9811 ac_cpp='$CXXCPP $CPPFLAGS'
9812 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9813 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9814 cross_compiling=$ac_cv_prog_cxx_cross
9816 cat > conftest.$ac_ext <<EOF
9817 #line 9818 "configure
"
9818 #include "confdefs.h
"
9824 if { (eval echo configure:9825: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9826 glibcpp_cv_func___builtin_sqrtf_use=yes
9828 echo "configure
: failed program was
:" >&5
9829 cat conftest.$ac_ext >&5
9831 glibcpp_cv_func___builtin_sqrtf_use=no
9835 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9836 ac_cpp='$CPP $CPPFLAGS'
9837 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9838 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9839 cross_compiling=$ac_cv_prog_cc_cross
9845 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
9846 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
9847 echo $ac_n "checking
for __builtin_sqrtf linkage
""...
$ac_c" 1>&6
9848 echo "configure
:9849: checking
for __builtin_sqrtf linkage
" >&5
9849 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
9850 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
9851 echo $ac_n "(cached
) $ac_c" 1>&6
9854 cat > conftest.$ac_ext <<EOF
9855 #line 9856 "configure
"
9856 #include "confdefs.h
"
9862 if { (eval echo configure:9863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9864 glibcpp_cv_func___builtin_sqrtf_link=yes
9866 echo "configure
: failed program was
:" >&5
9867 cat conftest.$ac_ext >&5
9869 glibcpp_cv_func___builtin_sqrtf_link=no
9876 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
9877 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
9878 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9879 cat >> confdefs.h <<EOF
9880 #define ${ac_tr_func} 1
9887 echo $ac_n "checking
for __builtin_sqrt declaration
""...
$ac_c" 1>&6
9888 echo "configure
:9889: checking
for __builtin_sqrt declaration
" >&5
9889 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
9890 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
9891 echo $ac_n "(cached
) $ac_c" 1>&6
9896 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9897 ac_cpp='$CXXCPP $CPPFLAGS'
9898 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9899 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9900 cross_compiling=$ac_cv_prog_cxx_cross
9902 cat > conftest.$ac_ext <<EOF
9903 #line 9904 "configure
"
9904 #include "confdefs.h
"
9910 if { (eval echo configure:9911: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9912 glibcpp_cv_func___builtin_sqrt_use=yes
9914 echo "configure
: failed program was
:" >&5
9915 cat conftest.$ac_ext >&5
9917 glibcpp_cv_func___builtin_sqrt_use=no
9921 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9922 ac_cpp='$CPP $CPPFLAGS'
9923 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9924 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9925 cross_compiling=$ac_cv_prog_cc_cross
9931 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
9932 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
9933 echo $ac_n "checking
for __builtin_sqrt linkage
""...
$ac_c" 1>&6
9934 echo "configure
:9935: checking
for __builtin_sqrt linkage
" >&5
9935 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
9936 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
9937 echo $ac_n "(cached
) $ac_c" 1>&6
9940 cat > conftest.$ac_ext <<EOF
9941 #line 9942 "configure
"
9942 #include "confdefs.h
"
9948 if { (eval echo configure:9949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9950 glibcpp_cv_func___builtin_sqrt_link=yes
9952 echo "configure
: failed program was
:" >&5
9953 cat conftest.$ac_ext >&5
9955 glibcpp_cv_func___builtin_sqrt_link=no
9962 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
9963 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
9964 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9965 cat >> confdefs.h <<EOF
9966 #define ${ac_tr_func} 1
9973 echo $ac_n "checking
for __builtin_sqrtl declaration
""...
$ac_c" 1>&6
9974 echo "configure
:9975: checking
for __builtin_sqrtl declaration
" >&5
9975 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
9976 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
9977 echo $ac_n "(cached
) $ac_c" 1>&6
9982 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9983 ac_cpp='$CXXCPP $CPPFLAGS'
9984 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9985 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9986 cross_compiling=$ac_cv_prog_cxx_cross
9988 cat > conftest.$ac_ext <<EOF
9989 #line 9990 "configure
"
9990 #include "confdefs.h
"
9996 if { (eval echo configure:9997: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9998 glibcpp_cv_func___builtin_sqrtl_use=yes
10000 echo "configure
: failed program was
:" >&5
10001 cat conftest.$ac_ext >&5
10003 glibcpp_cv_func___builtin_sqrtl_use=no
10007 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10008 ac_cpp='$CPP $CPPFLAGS'
10009 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10010 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10011 cross_compiling=$ac_cv_prog_cc_cross
10017 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
10018 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
10019 echo $ac_n "checking
for __builtin_sqrtl linkage
""...
$ac_c" 1>&6
10020 echo "configure
:10021: checking
for __builtin_sqrtl linkage
" >&5
10021 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
10022 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
10023 echo $ac_n "(cached
) $ac_c" 1>&6
10026 cat > conftest.$ac_ext <<EOF
10027 #line 10028 "configure
"
10028 #include "confdefs.h
"
10031 __builtin_sqrtl(0);
10034 if { (eval echo configure:10035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10036 glibcpp_cv_func___builtin_sqrtl_link=yes
10038 echo "configure
: failed program was
:" >&5
10039 cat conftest.$ac_ext >&5
10041 glibcpp_cv_func___builtin_sqrtl_link=no
10048 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
10049 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
10050 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10051 cat >> confdefs.h <<EOF
10052 #define ${ac_tr_func} 1
10060 echo $ac_n "checking
for __builtin_sinf declaration
""...
$ac_c" 1>&6
10061 echo "configure
:10062: checking
for __builtin_sinf declaration
" >&5
10062 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
10063 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
10064 echo $ac_n "(cached
) $ac_c" 1>&6
10069 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10070 ac_cpp='$CXXCPP $CPPFLAGS'
10071 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10072 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10073 cross_compiling=$ac_cv_prog_cxx_cross
10075 cat > conftest.$ac_ext <<EOF
10076 #line 10077 "configure
"
10077 #include "confdefs.h
"
10083 if { (eval echo configure:10084: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10085 glibcpp_cv_func___builtin_sinf_use=yes
10087 echo "configure
: failed program was
:" >&5
10088 cat conftest.$ac_ext >&5
10090 glibcpp_cv_func___builtin_sinf_use=no
10094 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10095 ac_cpp='$CPP $CPPFLAGS'
10096 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10097 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10098 cross_compiling=$ac_cv_prog_cc_cross
10104 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
10105 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
10106 echo $ac_n "checking
for __builtin_sinf linkage
""...
$ac_c" 1>&6
10107 echo "configure
:10108: checking
for __builtin_sinf linkage
" >&5
10108 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
10109 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
10110 echo $ac_n "(cached
) $ac_c" 1>&6
10113 cat > conftest.$ac_ext <<EOF
10114 #line 10115 "configure
"
10115 #include "confdefs.h
"
10121 if { (eval echo configure:10122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10123 glibcpp_cv_func___builtin_sinf_link=yes
10125 echo "configure
: failed program was
:" >&5
10126 cat conftest.$ac_ext >&5
10128 glibcpp_cv_func___builtin_sinf_link=no
10135 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
10136 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
10137 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10138 cat >> confdefs.h <<EOF
10139 #define ${ac_tr_func} 1
10146 echo $ac_n "checking
for __builtin_sin declaration
""...
$ac_c" 1>&6
10147 echo "configure
:10148: checking
for __builtin_sin declaration
" >&5
10148 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
10149 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
10150 echo $ac_n "(cached
) $ac_c" 1>&6
10155 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10156 ac_cpp='$CXXCPP $CPPFLAGS'
10157 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10158 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10159 cross_compiling=$ac_cv_prog_cxx_cross
10161 cat > conftest.$ac_ext <<EOF
10162 #line 10163 "configure
"
10163 #include "confdefs.h
"
10169 if { (eval echo configure:10170: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10171 glibcpp_cv_func___builtin_sin_use=yes
10173 echo "configure
: failed program was
:" >&5
10174 cat conftest.$ac_ext >&5
10176 glibcpp_cv_func___builtin_sin_use=no
10180 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10181 ac_cpp='$CPP $CPPFLAGS'
10182 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10183 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10184 cross_compiling=$ac_cv_prog_cc_cross
10190 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
10191 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
10192 echo $ac_n "checking
for __builtin_sin linkage
""...
$ac_c" 1>&6
10193 echo "configure
:10194: checking
for __builtin_sin linkage
" >&5
10194 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
10195 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
10196 echo $ac_n "(cached
) $ac_c" 1>&6
10199 cat > conftest.$ac_ext <<EOF
10200 #line 10201 "configure
"
10201 #include "confdefs.h
"
10207 if { (eval echo configure:10208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10209 glibcpp_cv_func___builtin_sin_link=yes
10211 echo "configure
: failed program was
:" >&5
10212 cat conftest.$ac_ext >&5
10214 glibcpp_cv_func___builtin_sin_link=no
10221 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
10222 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
10223 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10224 cat >> confdefs.h <<EOF
10225 #define ${ac_tr_func} 1
10232 echo $ac_n "checking
for __builtin_sinl declaration
""...
$ac_c" 1>&6
10233 echo "configure
:10234: checking
for __builtin_sinl declaration
" >&5
10234 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
10235 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
10236 echo $ac_n "(cached
) $ac_c" 1>&6
10241 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10242 ac_cpp='$CXXCPP $CPPFLAGS'
10243 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10244 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10245 cross_compiling=$ac_cv_prog_cxx_cross
10247 cat > conftest.$ac_ext <<EOF
10248 #line 10249 "configure
"
10249 #include "confdefs.h
"
10255 if { (eval echo configure:10256: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10257 glibcpp_cv_func___builtin_sinl_use=yes
10259 echo "configure
: failed program was
:" >&5
10260 cat conftest.$ac_ext >&5
10262 glibcpp_cv_func___builtin_sinl_use=no
10266 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10267 ac_cpp='$CPP $CPPFLAGS'
10268 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10269 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10270 cross_compiling=$ac_cv_prog_cc_cross
10276 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
10277 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
10278 echo $ac_n "checking
for __builtin_sinl linkage
""...
$ac_c" 1>&6
10279 echo "configure
:10280: checking
for __builtin_sinl linkage
" >&5
10280 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
10281 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
10282 echo $ac_n "(cached
) $ac_c" 1>&6
10285 cat > conftest.$ac_ext <<EOF
10286 #line 10287 "configure
"
10287 #include "confdefs.h
"
10293 if { (eval echo configure:10294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10295 glibcpp_cv_func___builtin_sinl_link=yes
10297 echo "configure
: failed program was
:" >&5
10298 cat conftest.$ac_ext >&5
10300 glibcpp_cv_func___builtin_sinl_link=no
10307 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
10308 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
10309 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10310 cat >> confdefs.h <<EOF
10311 #define ${ac_tr_func} 1
10319 echo $ac_n "checking
for __builtin_cosf declaration
""...
$ac_c" 1>&6
10320 echo "configure
:10321: checking
for __builtin_cosf declaration
" >&5
10321 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
10322 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
10323 echo $ac_n "(cached
) $ac_c" 1>&6
10328 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10329 ac_cpp='$CXXCPP $CPPFLAGS'
10330 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10331 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10332 cross_compiling=$ac_cv_prog_cxx_cross
10334 cat > conftest.$ac_ext <<EOF
10335 #line 10336 "configure
"
10336 #include "confdefs.h
"
10342 if { (eval echo configure:10343: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10344 glibcpp_cv_func___builtin_cosf_use=yes
10346 echo "configure
: failed program was
:" >&5
10347 cat conftest.$ac_ext >&5
10349 glibcpp_cv_func___builtin_cosf_use=no
10353 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10354 ac_cpp='$CPP $CPPFLAGS'
10355 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10356 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10357 cross_compiling=$ac_cv_prog_cc_cross
10363 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
10364 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
10365 echo $ac_n "checking
for __builtin_cosf linkage
""...
$ac_c" 1>&6
10366 echo "configure
:10367: checking
for __builtin_cosf linkage
" >&5
10367 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
10368 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
10369 echo $ac_n "(cached
) $ac_c" 1>&6
10372 cat > conftest.$ac_ext <<EOF
10373 #line 10374 "configure
"
10374 #include "confdefs.h
"
10380 if { (eval echo configure:10381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10382 glibcpp_cv_func___builtin_cosf_link=yes
10384 echo "configure
: failed program was
:" >&5
10385 cat conftest.$ac_ext >&5
10387 glibcpp_cv_func___builtin_cosf_link=no
10394 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
10395 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
10396 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10397 cat >> confdefs.h <<EOF
10398 #define ${ac_tr_func} 1
10405 echo $ac_n "checking
for __builtin_cos declaration
""...
$ac_c" 1>&6
10406 echo "configure
:10407: checking
for __builtin_cos declaration
" >&5
10407 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
10408 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
10409 echo $ac_n "(cached
) $ac_c" 1>&6
10414 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10415 ac_cpp='$CXXCPP $CPPFLAGS'
10416 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10417 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10418 cross_compiling=$ac_cv_prog_cxx_cross
10420 cat > conftest.$ac_ext <<EOF
10421 #line 10422 "configure
"
10422 #include "confdefs.h
"
10428 if { (eval echo configure:10429: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10430 glibcpp_cv_func___builtin_cos_use=yes
10432 echo "configure
: failed program was
:" >&5
10433 cat conftest.$ac_ext >&5
10435 glibcpp_cv_func___builtin_cos_use=no
10439 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10440 ac_cpp='$CPP $CPPFLAGS'
10441 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10442 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10443 cross_compiling=$ac_cv_prog_cc_cross
10449 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
10450 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
10451 echo $ac_n "checking
for __builtin_cos linkage
""...
$ac_c" 1>&6
10452 echo "configure
:10453: checking
for __builtin_cos linkage
" >&5
10453 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
10454 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
10455 echo $ac_n "(cached
) $ac_c" 1>&6
10458 cat > conftest.$ac_ext <<EOF
10459 #line 10460 "configure
"
10460 #include "confdefs.h
"
10466 if { (eval echo configure:10467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10468 glibcpp_cv_func___builtin_cos_link=yes
10470 echo "configure
: failed program was
:" >&5
10471 cat conftest.$ac_ext >&5
10473 glibcpp_cv_func___builtin_cos_link=no
10480 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
10481 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
10482 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10483 cat >> confdefs.h <<EOF
10484 #define ${ac_tr_func} 1
10491 echo $ac_n "checking
for __builtin_cosl declaration
""...
$ac_c" 1>&6
10492 echo "configure
:10493: checking
for __builtin_cosl declaration
" >&5
10493 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
10494 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
10495 echo $ac_n "(cached
) $ac_c" 1>&6
10500 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10501 ac_cpp='$CXXCPP $CPPFLAGS'
10502 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10503 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10504 cross_compiling=$ac_cv_prog_cxx_cross
10506 cat > conftest.$ac_ext <<EOF
10507 #line 10508 "configure
"
10508 #include "confdefs.h
"
10514 if { (eval echo configure:10515: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10516 glibcpp_cv_func___builtin_cosl_use=yes
10518 echo "configure
: failed program was
:" >&5
10519 cat conftest.$ac_ext >&5
10521 glibcpp_cv_func___builtin_cosl_use=no
10525 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10526 ac_cpp='$CPP $CPPFLAGS'
10527 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10528 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10529 cross_compiling=$ac_cv_prog_cc_cross
10535 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
10536 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
10537 echo $ac_n "checking
for __builtin_cosl linkage
""...
$ac_c" 1>&6
10538 echo "configure
:10539: checking
for __builtin_cosl linkage
" >&5
10539 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
10540 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
10541 echo $ac_n "(cached
) $ac_c" 1>&6
10544 cat > conftest.$ac_ext <<EOF
10545 #line 10546 "configure
"
10546 #include "confdefs.h
"
10552 if { (eval echo configure:10553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10554 glibcpp_cv_func___builtin_cosl_link=yes
10556 echo "configure
: failed program was
:" >&5
10557 cat conftest.$ac_ext >&5
10559 glibcpp_cv_func___builtin_cosl_link=no
10566 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
10567 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
10568 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10569 cat >> confdefs.h <<EOF
10570 #define ${ac_tr_func} 1
10578 if test x$dummyvar = x"yes"; then
10579 cat >> confdefs.h <<\EOF
10580 #define HAVE___BUILTIN_ABS 1
10583 cat >> confdefs.h <<\EOF
10584 #define HAVE___BUILTIN_LABS 1
10587 cat >> confdefs.h <<\EOF
10588 #define HAVE___BUILTIN_COS 1
10591 cat >> confdefs.h <<\EOF
10592 #define HAVE___BUILTIN_COSF 1
10595 cat >> confdefs.h <<\EOF
10596 #define HAVE___BUILTIN_COSL 1
10599 cat >> confdefs.h <<\EOF
10600 #define HAVE___BUILTIN_FABS 1
10603 cat >> confdefs.h <<\EOF
10604 #define HAVE___BUILTIN_FABSF 1
10607 cat >> confdefs.h <<\EOF
10608 #define HAVE___BUILTIN_FABSL 1
10611 cat >> confdefs.h <<\EOF
10612 #define HAVE___BUILTIN_SIN 1
10615 cat >> confdefs.h <<\EOF
10616 #define HAVE___BUILTIN_SINF 1
10619 cat >> confdefs.h <<\EOF
10620 #define HAVE___BUILTIN_SINL 1
10623 cat >> confdefs.h <<\EOF
10624 #define HAVE___BUILTIN_SQRT 1
10627 cat >> confdefs.h <<\EOF
10628 #define HAVE___BUILTIN_SQRTF 1
10631 cat >> confdefs.h <<\EOF
10632 #define HAVE___BUILTIN_SQRTL 1
10638 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10639 ac_save_CXXFLAGS="$CXXFLAGS"
10640 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
10642 echo $ac_n "checking
for sin
in -lm""...
$ac_c" 1>&6
10643 echo "configure
:10644: checking
for sin
in -lm" >&5
10644 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
10645 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10646 echo $ac_n "(cached
) $ac_c" 1>&6
10648 ac_save_LIBS="$LIBS"
10650 cat > conftest.$ac_ext <<EOF
10651 #line 10652 "configure
"
10652 #include "confdefs.h
"
10653 /* Override any gcc2 internal prototype to avoid an error. */
10654 /* We use char because int might match the return type of a gcc2
10655 builtin and then its argument prototype would still apply. */
10662 if { (eval echo configure:10663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10664 eval "ac_cv_lib_
$ac_lib_var=yes"
10666 echo "configure
: failed program was
:" >&5
10667 cat conftest.$ac_ext >&5
10669 eval "ac_cv_lib_
$ac_lib_var=no
"
10672 LIBS="$ac_save_LIBS"
10675 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10676 echo "$ac_t""yes" 1>&6
10679 echo "$ac_t""no
" 1>&6
10682 ac_save_LIBS="$LIBS"
10687 echo $ac_n "checking
for isinf declaration
""...
$ac_c" 1>&6
10688 echo "configure
:10689: checking
for isinf declaration
" >&5
10689 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
10690 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
10691 echo $ac_n "(cached
) $ac_c" 1>&6
10696 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10697 ac_cpp='$CXXCPP $CPPFLAGS'
10698 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10699 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10700 cross_compiling=$ac_cv_prog_cxx_cross
10702 cat > conftest.$ac_ext <<EOF
10703 #line 10704 "configure
"
10704 #include "confdefs.h
"
10706 #ifdef HAVE_IEEEFP_H
10707 #include <ieeefp.h>
10714 if { (eval echo configure:10715: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10716 glibcpp_cv_func_isinf_use=yes
10718 echo "configure
: failed program was
:" >&5
10719 cat conftest.$ac_ext >&5
10721 glibcpp_cv_func_isinf_use=no
10725 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10726 ac_cpp='$CPP $CPPFLAGS'
10727 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10728 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10729 cross_compiling=$ac_cv_prog_cc_cross
10735 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
10737 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
10738 for ac_func in isinf
10740 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10741 echo "configure
:10742: checking
for $ac_func" >&5
10742 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10743 echo $ac_n "(cached
) $ac_c" 1>&6
10745 cat > conftest.$ac_ext <<EOF
10746 #line 10747 "configure
"
10747 #include "confdefs.h
"
10748 /* System header to define __stub macros and hopefully few prototypes,
10749 which can conflict with char $ac_func(); below. */
10750 #include <assert.h>
10751 /* Override any gcc2 internal prototype to avoid an error. */
10752 /* We use char because int might match the return type of a gcc2
10753 builtin and then its argument prototype would still apply. */
10758 /* The GNU C library defines this for functions which it implements
10759 to always fail with ENOSYS. Some functions are actually named
10760 something starting with __ and the normal name is an alias. */
10761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10769 if { (eval echo configure:10770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10771 eval "ac_cv_func_
$ac_func=yes"
10773 echo "configure
: failed program was
:" >&5
10774 cat conftest.$ac_ext >&5
10776 eval "ac_cv_func_
$ac_func=no
"
10781 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10782 echo "$ac_t""yes" 1>&6
10783 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10784 cat >> confdefs.h <<EOF
10785 #define $ac_tr_func 1
10789 echo "$ac_t""no
" 1>&6
10795 echo $ac_n "checking
for _isinf declaration
""...
$ac_c" 1>&6
10796 echo "configure
:10797: checking
for _isinf declaration
" >&5
10797 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
10798 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
10799 echo $ac_n "(cached
) $ac_c" 1>&6
10804 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10805 ac_cpp='$CXXCPP $CPPFLAGS'
10806 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10807 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10808 cross_compiling=$ac_cv_prog_cxx_cross
10810 cat > conftest.$ac_ext <<EOF
10811 #line 10812 "configure
"
10812 #include "confdefs.h
"
10814 #ifdef HAVE_IEEEFP_H
10815 #include <ieeefp.h>
10822 if { (eval echo configure:10823: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10824 glibcpp_cv_func__isinf_use=yes
10826 echo "configure
: failed program was
:" >&5
10827 cat conftest.$ac_ext >&5
10829 glibcpp_cv_func__isinf_use=no
10833 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10834 ac_cpp='$CPP $CPPFLAGS'
10835 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10836 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10837 cross_compiling=$ac_cv_prog_cc_cross
10843 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
10845 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
10846 for ac_func in _isinf
10848 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10849 echo "configure
:10850: checking
for $ac_func" >&5
10850 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10851 echo $ac_n "(cached
) $ac_c" 1>&6
10853 cat > conftest.$ac_ext <<EOF
10854 #line 10855 "configure
"
10855 #include "confdefs.h
"
10856 /* System header to define __stub macros and hopefully few prototypes,
10857 which can conflict with char $ac_func(); below. */
10858 #include <assert.h>
10859 /* Override any gcc2 internal prototype to avoid an error. */
10860 /* We use char because int might match the return type of a gcc2
10861 builtin and then its argument prototype would still apply. */
10866 /* The GNU C library defines this for functions which it implements
10867 to always fail with ENOSYS. Some functions are actually named
10868 something starting with __ and the normal name is an alias. */
10869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10877 if { (eval echo configure:10878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10879 eval "ac_cv_func_
$ac_func=yes"
10881 echo "configure
: failed program was
:" >&5
10882 cat conftest.$ac_ext >&5
10884 eval "ac_cv_func_
$ac_func=no
"
10889 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10890 echo "$ac_t""yes" 1>&6
10891 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10892 cat >> confdefs.h <<EOF
10893 #define $ac_tr_func 1
10897 echo "$ac_t""no
" 1>&6
10906 echo $ac_n "checking
for isnan declaration
""...
$ac_c" 1>&6
10907 echo "configure
:10908: checking
for isnan declaration
" >&5
10908 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
10909 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
10910 echo $ac_n "(cached
) $ac_c" 1>&6
10915 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10916 ac_cpp='$CXXCPP $CPPFLAGS'
10917 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10918 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10919 cross_compiling=$ac_cv_prog_cxx_cross
10921 cat > conftest.$ac_ext <<EOF
10922 #line 10923 "configure
"
10923 #include "confdefs.h
"
10925 #ifdef HAVE_IEEEFP_H
10926 #include <ieeefp.h>
10933 if { (eval echo configure:10934: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10935 glibcpp_cv_func_isnan_use=yes
10937 echo "configure
: failed program was
:" >&5
10938 cat conftest.$ac_ext >&5
10940 glibcpp_cv_func_isnan_use=no
10944 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10945 ac_cpp='$CPP $CPPFLAGS'
10946 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10947 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10948 cross_compiling=$ac_cv_prog_cc_cross
10954 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
10956 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
10957 for ac_func in isnan
10959 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10960 echo "configure
:10961: checking
for $ac_func" >&5
10961 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10962 echo $ac_n "(cached
) $ac_c" 1>&6
10964 cat > conftest.$ac_ext <<EOF
10965 #line 10966 "configure
"
10966 #include "confdefs.h
"
10967 /* System header to define __stub macros and hopefully few prototypes,
10968 which can conflict with char $ac_func(); below. */
10969 #include <assert.h>
10970 /* Override any gcc2 internal prototype to avoid an error. */
10971 /* We use char because int might match the return type of a gcc2
10972 builtin and then its argument prototype would still apply. */
10977 /* The GNU C library defines this for functions which it implements
10978 to always fail with ENOSYS. Some functions are actually named
10979 something starting with __ and the normal name is an alias. */
10980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10988 if { (eval echo configure:10989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10990 eval "ac_cv_func_
$ac_func=yes"
10992 echo "configure
: failed program was
:" >&5
10993 cat conftest.$ac_ext >&5
10995 eval "ac_cv_func_
$ac_func=no
"
11000 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11001 echo "$ac_t""yes" 1>&6
11002 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11003 cat >> confdefs.h <<EOF
11004 #define $ac_tr_func 1
11008 echo "$ac_t""no
" 1>&6
11014 echo $ac_n "checking
for _isnan declaration
""...
$ac_c" 1>&6
11015 echo "configure
:11016: checking
for _isnan declaration
" >&5
11016 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
11017 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
11018 echo $ac_n "(cached
) $ac_c" 1>&6
11023 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11024 ac_cpp='$CXXCPP $CPPFLAGS'
11025 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11026 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11027 cross_compiling=$ac_cv_prog_cxx_cross
11029 cat > conftest.$ac_ext <<EOF
11030 #line 11031 "configure
"
11031 #include "confdefs.h
"
11033 #ifdef HAVE_IEEEFP_H
11034 #include <ieeefp.h>
11041 if { (eval echo configure:11042: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11043 glibcpp_cv_func__isnan_use=yes
11045 echo "configure
: failed program was
:" >&5
11046 cat conftest.$ac_ext >&5
11048 glibcpp_cv_func__isnan_use=no
11052 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11053 ac_cpp='$CPP $CPPFLAGS'
11054 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11055 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11056 cross_compiling=$ac_cv_prog_cc_cross
11062 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
11064 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
11065 for ac_func in _isnan
11067 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11068 echo "configure
:11069: checking
for $ac_func" >&5
11069 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11070 echo $ac_n "(cached
) $ac_c" 1>&6
11072 cat > conftest.$ac_ext <<EOF
11073 #line 11074 "configure
"
11074 #include "confdefs.h
"
11075 /* System header to define __stub macros and hopefully few prototypes,
11076 which can conflict with char $ac_func(); below. */
11077 #include <assert.h>
11078 /* Override any gcc2 internal prototype to avoid an error. */
11079 /* We use char because int might match the return type of a gcc2
11080 builtin and then its argument prototype would still apply. */
11085 /* The GNU C library defines this for functions which it implements
11086 to always fail with ENOSYS. Some functions are actually named
11087 something starting with __ and the normal name is an alias. */
11088 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11096 if { (eval echo configure:11097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11098 eval "ac_cv_func_
$ac_func=yes"
11100 echo "configure
: failed program was
:" >&5
11101 cat conftest.$ac_ext >&5
11103 eval "ac_cv_func_
$ac_func=no
"
11108 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11109 echo "$ac_t""yes" 1>&6
11110 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11111 cat >> confdefs.h <<EOF
11112 #define $ac_tr_func 1
11116 echo "$ac_t""no
" 1>&6
11125 echo $ac_n "checking
for finite declaration
""...
$ac_c" 1>&6
11126 echo "configure
:11127: checking
for finite declaration
" >&5
11127 if test x${glibcpp_cv_func_finite_use+set} != xset; then
11128 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
11129 echo $ac_n "(cached
) $ac_c" 1>&6
11134 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11135 ac_cpp='$CXXCPP $CPPFLAGS'
11136 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11137 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11138 cross_compiling=$ac_cv_prog_cxx_cross
11140 cat > conftest.$ac_ext <<EOF
11141 #line 11142 "configure
"
11142 #include "confdefs.h
"
11144 #ifdef HAVE_IEEEFP_H
11145 #include <ieeefp.h>
11152 if { (eval echo configure:11153: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11154 glibcpp_cv_func_finite_use=yes
11156 echo "configure
: failed program was
:" >&5
11157 cat conftest.$ac_ext >&5
11159 glibcpp_cv_func_finite_use=no
11163 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11164 ac_cpp='$CPP $CPPFLAGS'
11165 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11166 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11167 cross_compiling=$ac_cv_prog_cc_cross
11173 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
11175 if test x$glibcpp_cv_func_finite_use = x"yes"; then
11176 for ac_func in finite
11178 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11179 echo "configure
:11180: checking
for $ac_func" >&5
11180 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11181 echo $ac_n "(cached
) $ac_c" 1>&6
11183 cat > conftest.$ac_ext <<EOF
11184 #line 11185 "configure
"
11185 #include "confdefs.h
"
11186 /* System header to define __stub macros and hopefully few prototypes,
11187 which can conflict with char $ac_func(); below. */
11188 #include <assert.h>
11189 /* Override any gcc2 internal prototype to avoid an error. */
11190 /* We use char because int might match the return type of a gcc2
11191 builtin and then its argument prototype would still apply. */
11196 /* The GNU C library defines this for functions which it implements
11197 to always fail with ENOSYS. Some functions are actually named
11198 something starting with __ and the normal name is an alias. */
11199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11207 if { (eval echo configure:11208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11209 eval "ac_cv_func_
$ac_func=yes"
11211 echo "configure
: failed program was
:" >&5
11212 cat conftest.$ac_ext >&5
11214 eval "ac_cv_func_
$ac_func=no
"
11219 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11220 echo "$ac_t""yes" 1>&6
11221 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11222 cat >> confdefs.h <<EOF
11223 #define $ac_tr_func 1
11227 echo "$ac_t""no
" 1>&6
11233 echo $ac_n "checking
for _finite declaration
""...
$ac_c" 1>&6
11234 echo "configure
:11235: checking
for _finite declaration
" >&5
11235 if test x${glibcpp_cv_func__finite_use+set} != xset; then
11236 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
11237 echo $ac_n "(cached
) $ac_c" 1>&6
11242 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11243 ac_cpp='$CXXCPP $CPPFLAGS'
11244 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11245 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11246 cross_compiling=$ac_cv_prog_cxx_cross
11248 cat > conftest.$ac_ext <<EOF
11249 #line 11250 "configure
"
11250 #include "confdefs.h
"
11252 #ifdef HAVE_IEEEFP_H
11253 #include <ieeefp.h>
11260 if { (eval echo configure:11261: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11262 glibcpp_cv_func__finite_use=yes
11264 echo "configure
: failed program was
:" >&5
11265 cat conftest.$ac_ext >&5
11267 glibcpp_cv_func__finite_use=no
11271 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11272 ac_cpp='$CPP $CPPFLAGS'
11273 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11274 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11275 cross_compiling=$ac_cv_prog_cc_cross
11281 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
11283 if test x$glibcpp_cv_func__finite_use = x"yes"; then
11284 for ac_func in _finite
11286 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11287 echo "configure
:11288: checking
for $ac_func" >&5
11288 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11289 echo $ac_n "(cached
) $ac_c" 1>&6
11291 cat > conftest.$ac_ext <<EOF
11292 #line 11293 "configure
"
11293 #include "confdefs.h
"
11294 /* System header to define __stub macros and hopefully few prototypes,
11295 which can conflict with char $ac_func(); below. */
11296 #include <assert.h>
11297 /* Override any gcc2 internal prototype to avoid an error. */
11298 /* We use char because int might match the return type of a gcc2
11299 builtin and then its argument prototype would still apply. */
11304 /* The GNU C library defines this for functions which it implements
11305 to always fail with ENOSYS. Some functions are actually named
11306 something starting with __ and the normal name is an alias. */
11307 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11315 if { (eval echo configure:11316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11317 eval "ac_cv_func_
$ac_func=yes"
11319 echo "configure
: failed program was
:" >&5
11320 cat conftest.$ac_ext >&5
11322 eval "ac_cv_func_
$ac_func=no
"
11327 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11328 echo "$ac_t""yes" 1>&6
11329 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11330 cat >> confdefs.h <<EOF
11331 #define $ac_tr_func 1
11335 echo "$ac_t""no
" 1>&6
11344 echo $ac_n "checking
for copysign declaration
""...
$ac_c" 1>&6
11345 echo "configure
:11346: checking
for copysign declaration
" >&5
11346 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
11347 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
11348 echo $ac_n "(cached
) $ac_c" 1>&6
11353 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11354 ac_cpp='$CXXCPP $CPPFLAGS'
11355 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11356 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11357 cross_compiling=$ac_cv_prog_cxx_cross
11359 cat > conftest.$ac_ext <<EOF
11360 #line 11361 "configure
"
11361 #include "confdefs.h
"
11367 if { (eval echo configure:11368: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11369 glibcpp_cv_func_copysign_use=yes
11371 echo "configure
: failed program was
:" >&5
11372 cat conftest.$ac_ext >&5
11374 glibcpp_cv_func_copysign_use=no
11378 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11379 ac_cpp='$CPP $CPPFLAGS'
11380 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11381 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11382 cross_compiling=$ac_cv_prog_cc_cross
11388 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
11390 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
11391 for ac_func in copysign
11393 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11394 echo "configure
:11395: checking
for $ac_func" >&5
11395 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11396 echo $ac_n "(cached
) $ac_c" 1>&6
11398 cat > conftest.$ac_ext <<EOF
11399 #line 11400 "configure
"
11400 #include "confdefs.h
"
11401 /* System header to define __stub macros and hopefully few prototypes,
11402 which can conflict with char $ac_func(); below. */
11403 #include <assert.h>
11404 /* Override any gcc2 internal prototype to avoid an error. */
11405 /* We use char because int might match the return type of a gcc2
11406 builtin and then its argument prototype would still apply. */
11411 /* The GNU C library defines this for functions which it implements
11412 to always fail with ENOSYS. Some functions are actually named
11413 something starting with __ and the normal name is an alias. */
11414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11422 if { (eval echo configure:11423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11424 eval "ac_cv_func_
$ac_func=yes"
11426 echo "configure
: failed program was
:" >&5
11427 cat conftest.$ac_ext >&5
11429 eval "ac_cv_func_
$ac_func=no
"
11434 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11435 echo "$ac_t""yes" 1>&6
11436 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11437 cat >> confdefs.h <<EOF
11438 #define $ac_tr_func 1
11442 echo "$ac_t""no
" 1>&6
11448 echo $ac_n "checking
for _copysign declaration
""...
$ac_c" 1>&6
11449 echo "configure
:11450: checking
for _copysign declaration
" >&5
11450 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
11451 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
11452 echo $ac_n "(cached
) $ac_c" 1>&6
11457 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11458 ac_cpp='$CXXCPP $CPPFLAGS'
11459 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11460 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11461 cross_compiling=$ac_cv_prog_cxx_cross
11463 cat > conftest.$ac_ext <<EOF
11464 #line 11465 "configure
"
11465 #include "confdefs.h
"
11471 if { (eval echo configure:11472: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11473 glibcpp_cv_func__copysign_use=yes
11475 echo "configure
: failed program was
:" >&5
11476 cat conftest.$ac_ext >&5
11478 glibcpp_cv_func__copysign_use=no
11482 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11483 ac_cpp='$CPP $CPPFLAGS'
11484 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11485 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11486 cross_compiling=$ac_cv_prog_cc_cross
11492 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
11494 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
11495 for ac_func in _copysign
11497 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11498 echo "configure
:11499: checking
for $ac_func" >&5
11499 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11500 echo $ac_n "(cached
) $ac_c" 1>&6
11502 cat > conftest.$ac_ext <<EOF
11503 #line 11504 "configure
"
11504 #include "confdefs.h
"
11505 /* System header to define __stub macros and hopefully few prototypes,
11506 which can conflict with char $ac_func(); below. */
11507 #include <assert.h>
11508 /* Override any gcc2 internal prototype to avoid an error. */
11509 /* We use char because int might match the return type of a gcc2
11510 builtin and then its argument prototype would still apply. */
11515 /* The GNU C library defines this for functions which it implements
11516 to always fail with ENOSYS. Some functions are actually named
11517 something starting with __ and the normal name is an alias. */
11518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11526 if { (eval echo configure:11527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11528 eval "ac_cv_func_
$ac_func=yes"
11530 echo "configure
: failed program was
:" >&5
11531 cat conftest.$ac_ext >&5
11533 eval "ac_cv_func_
$ac_func=no
"
11538 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11539 echo "$ac_t""yes" 1>&6
11540 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11541 cat >> confdefs.h <<EOF
11542 #define $ac_tr_func 1
11546 echo "$ac_t""no
" 1>&6
11555 echo $ac_n "checking
for sincos declaration
""...
$ac_c" 1>&6
11556 echo "configure
:11557: checking
for sincos declaration
" >&5
11557 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
11558 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
11559 echo $ac_n "(cached
) $ac_c" 1>&6
11564 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11565 ac_cpp='$CXXCPP $CPPFLAGS'
11566 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11567 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11568 cross_compiling=$ac_cv_prog_cxx_cross
11570 cat > conftest.$ac_ext <<EOF
11571 #line 11572 "configure
"
11572 #include "confdefs.h
"
11578 if { (eval echo configure:11579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11580 glibcpp_cv_func_sincos_use=yes
11582 echo "configure
: failed program was
:" >&5
11583 cat conftest.$ac_ext >&5
11585 glibcpp_cv_func_sincos_use=no
11589 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11590 ac_cpp='$CPP $CPPFLAGS'
11591 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11592 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11593 cross_compiling=$ac_cv_prog_cc_cross
11599 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
11601 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
11602 for ac_func in sincos
11604 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11605 echo "configure
:11606: checking
for $ac_func" >&5
11606 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11607 echo $ac_n "(cached
) $ac_c" 1>&6
11609 cat > conftest.$ac_ext <<EOF
11610 #line 11611 "configure
"
11611 #include "confdefs.h
"
11612 /* System header to define __stub macros and hopefully few prototypes,
11613 which can conflict with char $ac_func(); below. */
11614 #include <assert.h>
11615 /* Override any gcc2 internal prototype to avoid an error. */
11616 /* We use char because int might match the return type of a gcc2
11617 builtin and then its argument prototype would still apply. */
11622 /* The GNU C library defines this for functions which it implements
11623 to always fail with ENOSYS. Some functions are actually named
11624 something starting with __ and the normal name is an alias. */
11625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11633 if { (eval echo configure:11634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11635 eval "ac_cv_func_
$ac_func=yes"
11637 echo "configure
: failed program was
:" >&5
11638 cat conftest.$ac_ext >&5
11640 eval "ac_cv_func_
$ac_func=no
"
11645 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11646 echo "$ac_t""yes" 1>&6
11647 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11648 cat >> confdefs.h <<EOF
11649 #define $ac_tr_func 1
11653 echo "$ac_t""no
" 1>&6
11659 echo $ac_n "checking
for _sincos declaration
""...
$ac_c" 1>&6
11660 echo "configure
:11661: checking
for _sincos declaration
" >&5
11661 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
11662 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
11663 echo $ac_n "(cached
) $ac_c" 1>&6
11668 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11669 ac_cpp='$CXXCPP $CPPFLAGS'
11670 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11671 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11672 cross_compiling=$ac_cv_prog_cxx_cross
11674 cat > conftest.$ac_ext <<EOF
11675 #line 11676 "configure
"
11676 #include "confdefs.h
"
11682 if { (eval echo configure:11683: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11684 glibcpp_cv_func__sincos_use=yes
11686 echo "configure
: failed program was
:" >&5
11687 cat conftest.$ac_ext >&5
11689 glibcpp_cv_func__sincos_use=no
11693 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11694 ac_cpp='$CPP $CPPFLAGS'
11695 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11696 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11697 cross_compiling=$ac_cv_prog_cc_cross
11703 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
11705 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
11706 for ac_func in _sincos
11708 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11709 echo "configure
:11710: checking
for $ac_func" >&5
11710 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11711 echo $ac_n "(cached
) $ac_c" 1>&6
11713 cat > conftest.$ac_ext <<EOF
11714 #line 11715 "configure
"
11715 #include "confdefs.h
"
11716 /* System header to define __stub macros and hopefully few prototypes,
11717 which can conflict with char $ac_func(); below. */
11718 #include <assert.h>
11719 /* Override any gcc2 internal prototype to avoid an error. */
11720 /* We use char because int might match the return type of a gcc2
11721 builtin and then its argument prototype would still apply. */
11726 /* The GNU C library defines this for functions which it implements
11727 to always fail with ENOSYS. Some functions are actually named
11728 something starting with __ and the normal name is an alias. */
11729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11737 if { (eval echo configure:11738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11739 eval "ac_cv_func_
$ac_func=yes"
11741 echo "configure
: failed program was
:" >&5
11742 cat conftest.$ac_ext >&5
11744 eval "ac_cv_func_
$ac_func=no
"
11749 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11750 echo "$ac_t""yes" 1>&6
11751 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11752 cat >> confdefs.h <<EOF
11753 #define $ac_tr_func 1
11757 echo "$ac_t""no
" 1>&6
11766 echo $ac_n "checking
for fpclass declaration
""...
$ac_c" 1>&6
11767 echo "configure
:11768: checking
for fpclass declaration
" >&5
11768 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
11769 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
11770 echo $ac_n "(cached
) $ac_c" 1>&6
11775 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11776 ac_cpp='$CXXCPP $CPPFLAGS'
11777 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11778 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11779 cross_compiling=$ac_cv_prog_cxx_cross
11781 cat > conftest.$ac_ext <<EOF
11782 #line 11783 "configure
"
11783 #include "confdefs.h
"
11785 #ifdef HAVE_IEEEFP_H
11786 #include <ieeefp.h>
11793 if { (eval echo configure:11794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11795 glibcpp_cv_func_fpclass_use=yes
11797 echo "configure
: failed program was
:" >&5
11798 cat conftest.$ac_ext >&5
11800 glibcpp_cv_func_fpclass_use=no
11804 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11805 ac_cpp='$CPP $CPPFLAGS'
11806 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11807 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11808 cross_compiling=$ac_cv_prog_cc_cross
11814 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
11816 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
11817 for ac_func in fpclass
11819 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11820 echo "configure
:11821: checking
for $ac_func" >&5
11821 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11822 echo $ac_n "(cached
) $ac_c" 1>&6
11824 cat > conftest.$ac_ext <<EOF
11825 #line 11826 "configure
"
11826 #include "confdefs.h
"
11827 /* System header to define __stub macros and hopefully few prototypes,
11828 which can conflict with char $ac_func(); below. */
11829 #include <assert.h>
11830 /* Override any gcc2 internal prototype to avoid an error. */
11831 /* We use char because int might match the return type of a gcc2
11832 builtin and then its argument prototype would still apply. */
11837 /* The GNU C library defines this for functions which it implements
11838 to always fail with ENOSYS. Some functions are actually named
11839 something starting with __ and the normal name is an alias. */
11840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11848 if { (eval echo configure:11849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11850 eval "ac_cv_func_
$ac_func=yes"
11852 echo "configure
: failed program was
:" >&5
11853 cat conftest.$ac_ext >&5
11855 eval "ac_cv_func_
$ac_func=no
"
11860 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11861 echo "$ac_t""yes" 1>&6
11862 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11863 cat >> confdefs.h <<EOF
11864 #define $ac_tr_func 1
11868 echo "$ac_t""no
" 1>&6
11874 echo $ac_n "checking
for _fpclass declaration
""...
$ac_c" 1>&6
11875 echo "configure
:11876: checking
for _fpclass declaration
" >&5
11876 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
11877 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
11878 echo $ac_n "(cached
) $ac_c" 1>&6
11883 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11884 ac_cpp='$CXXCPP $CPPFLAGS'
11885 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11886 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11887 cross_compiling=$ac_cv_prog_cxx_cross
11889 cat > conftest.$ac_ext <<EOF
11890 #line 11891 "configure
"
11891 #include "confdefs.h
"
11893 #ifdef HAVE_IEEEFP_H
11894 #include <ieeefp.h>
11901 if { (eval echo configure:11902: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11903 glibcpp_cv_func__fpclass_use=yes
11905 echo "configure
: failed program was
:" >&5
11906 cat conftest.$ac_ext >&5
11908 glibcpp_cv_func__fpclass_use=no
11912 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11913 ac_cpp='$CPP $CPPFLAGS'
11914 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11915 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11916 cross_compiling=$ac_cv_prog_cc_cross
11922 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
11924 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
11925 for ac_func in _fpclass
11927 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11928 echo "configure
:11929: checking
for $ac_func" >&5
11929 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11930 echo $ac_n "(cached
) $ac_c" 1>&6
11932 cat > conftest.$ac_ext <<EOF
11933 #line 11934 "configure
"
11934 #include "confdefs.h
"
11935 /* System header to define __stub macros and hopefully few prototypes,
11936 which can conflict with char $ac_func(); below. */
11937 #include <assert.h>
11938 /* Override any gcc2 internal prototype to avoid an error. */
11939 /* We use char because int might match the return type of a gcc2
11940 builtin and then its argument prototype would still apply. */
11945 /* The GNU C library defines this for functions which it implements
11946 to always fail with ENOSYS. Some functions are actually named
11947 something starting with __ and the normal name is an alias. */
11948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11956 if { (eval echo configure:11957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11958 eval "ac_cv_func_
$ac_func=yes"
11960 echo "configure
: failed program was
:" >&5
11961 cat conftest.$ac_ext >&5
11963 eval "ac_cv_func_
$ac_func=no
"
11968 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11969 echo "$ac_t""yes" 1>&6
11970 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11971 cat >> confdefs.h <<EOF
11972 #define $ac_tr_func 1
11976 echo "$ac_t""no
" 1>&6
11985 echo $ac_n "checking
for qfpclass declaration
""...
$ac_c" 1>&6
11986 echo "configure
:11987: checking
for qfpclass declaration
" >&5
11987 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
11988 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
11989 echo $ac_n "(cached
) $ac_c" 1>&6
11994 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11995 ac_cpp='$CXXCPP $CPPFLAGS'
11996 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11997 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11998 cross_compiling=$ac_cv_prog_cxx_cross
12000 cat > conftest.$ac_ext <<EOF
12001 #line 12002 "configure
"
12002 #include "confdefs.h
"
12004 #ifdef HAVE_IEEEFP_H
12005 #include <ieeefp.h>
12012 if { (eval echo configure:12013: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12014 glibcpp_cv_func_qfpclass_use=yes
12016 echo "configure
: failed program was
:" >&5
12017 cat conftest.$ac_ext >&5
12019 glibcpp_cv_func_qfpclass_use=no
12023 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12024 ac_cpp='$CPP $CPPFLAGS'
12025 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12026 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12027 cross_compiling=$ac_cv_prog_cc_cross
12033 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
12035 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
12036 for ac_func in qfpclass
12038 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12039 echo "configure
:12040: checking
for $ac_func" >&5
12040 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12041 echo $ac_n "(cached
) $ac_c" 1>&6
12043 cat > conftest.$ac_ext <<EOF
12044 #line 12045 "configure
"
12045 #include "confdefs.h
"
12046 /* System header to define __stub macros and hopefully few prototypes,
12047 which can conflict with char $ac_func(); below. */
12048 #include <assert.h>
12049 /* Override any gcc2 internal prototype to avoid an error. */
12050 /* We use char because int might match the return type of a gcc2
12051 builtin and then its argument prototype would still apply. */
12056 /* The GNU C library defines this for functions which it implements
12057 to always fail with ENOSYS. Some functions are actually named
12058 something starting with __ and the normal name is an alias. */
12059 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12067 if { (eval echo configure:12068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12069 eval "ac_cv_func_
$ac_func=yes"
12071 echo "configure
: failed program was
:" >&5
12072 cat conftest.$ac_ext >&5
12074 eval "ac_cv_func_
$ac_func=no
"
12079 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12080 echo "$ac_t""yes" 1>&6
12081 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12082 cat >> confdefs.h <<EOF
12083 #define $ac_tr_func 1
12087 echo "$ac_t""no
" 1>&6
12093 echo $ac_n "checking
for _qfpclass declaration
""...
$ac_c" 1>&6
12094 echo "configure
:12095: checking
for _qfpclass declaration
" >&5
12095 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
12096 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
12097 echo $ac_n "(cached
) $ac_c" 1>&6
12102 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12103 ac_cpp='$CXXCPP $CPPFLAGS'
12104 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12105 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12106 cross_compiling=$ac_cv_prog_cxx_cross
12108 cat > conftest.$ac_ext <<EOF
12109 #line 12110 "configure
"
12110 #include "confdefs.h
"
12112 #ifdef HAVE_IEEEFP_H
12113 #include <ieeefp.h>
12120 if { (eval echo configure:12121: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12122 glibcpp_cv_func__qfpclass_use=yes
12124 echo "configure
: failed program was
:" >&5
12125 cat conftest.$ac_ext >&5
12127 glibcpp_cv_func__qfpclass_use=no
12131 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12132 ac_cpp='$CPP $CPPFLAGS'
12133 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12134 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12135 cross_compiling=$ac_cv_prog_cc_cross
12141 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
12143 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
12144 for ac_func in _qfpclass
12146 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12147 echo "configure
:12148: checking
for $ac_func" >&5
12148 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12149 echo $ac_n "(cached
) $ac_c" 1>&6
12151 cat > conftest.$ac_ext <<EOF
12152 #line 12153 "configure
"
12153 #include "confdefs.h
"
12154 /* System header to define __stub macros and hopefully few prototypes,
12155 which can conflict with char $ac_func(); below. */
12156 #include <assert.h>
12157 /* Override any gcc2 internal prototype to avoid an error. */
12158 /* We use char because int might match the return type of a gcc2
12159 builtin and then its argument prototype would still apply. */
12164 /* The GNU C library defines this for functions which it implements
12165 to always fail with ENOSYS. Some functions are actually named
12166 something starting with __ and the normal name is an alias. */
12167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12175 if { (eval echo configure:12176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12177 eval "ac_cv_func_
$ac_func=yes"
12179 echo "configure
: failed program was
:" >&5
12180 cat conftest.$ac_ext >&5
12182 eval "ac_cv_func_
$ac_func=no
"
12187 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12188 echo "$ac_t""yes" 1>&6
12189 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12190 cat >> confdefs.h <<EOF
12191 #define $ac_tr_func 1
12195 echo "$ac_t""no
" 1>&6
12204 echo $ac_n "checking
for hypot declaration
""...
$ac_c" 1>&6
12205 echo "configure
:12206: checking
for hypot declaration
" >&5
12206 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
12207 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
12208 echo $ac_n "(cached
) $ac_c" 1>&6
12213 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12214 ac_cpp='$CXXCPP $CPPFLAGS'
12215 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12216 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12217 cross_compiling=$ac_cv_prog_cxx_cross
12219 cat > conftest.$ac_ext <<EOF
12220 #line 12221 "configure
"
12221 #include "confdefs.h
"
12227 if { (eval echo configure:12228: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12229 glibcpp_cv_func_hypot_use=yes
12231 echo "configure
: failed program was
:" >&5
12232 cat conftest.$ac_ext >&5
12234 glibcpp_cv_func_hypot_use=no
12238 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12239 ac_cpp='$CPP $CPPFLAGS'
12240 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12241 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12242 cross_compiling=$ac_cv_prog_cc_cross
12248 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
12250 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
12251 for ac_func in hypot
12253 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12254 echo "configure
:12255: checking
for $ac_func" >&5
12255 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12256 echo $ac_n "(cached
) $ac_c" 1>&6
12258 cat > conftest.$ac_ext <<EOF
12259 #line 12260 "configure
"
12260 #include "confdefs.h
"
12261 /* System header to define __stub macros and hopefully few prototypes,
12262 which can conflict with char $ac_func(); below. */
12263 #include <assert.h>
12264 /* Override any gcc2 internal prototype to avoid an error. */
12265 /* We use char because int might match the return type of a gcc2
12266 builtin and then its argument prototype would still apply. */
12271 /* The GNU C library defines this for functions which it implements
12272 to always fail with ENOSYS. Some functions are actually named
12273 something starting with __ and the normal name is an alias. */
12274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12282 if { (eval echo configure:12283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12284 eval "ac_cv_func_
$ac_func=yes"
12286 echo "configure
: failed program was
:" >&5
12287 cat conftest.$ac_ext >&5
12289 eval "ac_cv_func_
$ac_func=no
"
12294 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12295 echo "$ac_t""yes" 1>&6
12296 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12297 cat >> confdefs.h <<EOF
12298 #define $ac_tr_func 1
12302 echo "$ac_t""no
" 1>&6
12308 echo $ac_n "checking
for _hypot declaration
""...
$ac_c" 1>&6
12309 echo "configure
:12310: checking
for _hypot declaration
" >&5
12310 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
12311 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
12312 echo $ac_n "(cached
) $ac_c" 1>&6
12317 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12318 ac_cpp='$CXXCPP $CPPFLAGS'
12319 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12320 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12321 cross_compiling=$ac_cv_prog_cxx_cross
12323 cat > conftest.$ac_ext <<EOF
12324 #line 12325 "configure
"
12325 #include "confdefs.h
"
12331 if { (eval echo configure:12332: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12333 glibcpp_cv_func__hypot_use=yes
12335 echo "configure
: failed program was
:" >&5
12336 cat conftest.$ac_ext >&5
12338 glibcpp_cv_func__hypot_use=no
12342 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12343 ac_cpp='$CPP $CPPFLAGS'
12344 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12345 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12346 cross_compiling=$ac_cv_prog_cc_cross
12352 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
12354 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
12355 for ac_func in _hypot
12357 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12358 echo "configure
:12359: checking
for $ac_func" >&5
12359 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12360 echo $ac_n "(cached
) $ac_c" 1>&6
12362 cat > conftest.$ac_ext <<EOF
12363 #line 12364 "configure
"
12364 #include "confdefs.h
"
12365 /* System header to define __stub macros and hopefully few prototypes,
12366 which can conflict with char $ac_func(); below. */
12367 #include <assert.h>
12368 /* Override any gcc2 internal prototype to avoid an error. */
12369 /* We use char because int might match the return type of a gcc2
12370 builtin and then its argument prototype would still apply. */
12375 /* The GNU C library defines this for functions which it implements
12376 to always fail with ENOSYS. Some functions are actually named
12377 something starting with __ and the normal name is an alias. */
12378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12386 if { (eval echo configure:12387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12388 eval "ac_cv_func_
$ac_func=yes"
12390 echo "configure
: failed program was
:" >&5
12391 cat conftest.$ac_ext >&5
12393 eval "ac_cv_func_
$ac_func=no
"
12398 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12399 echo "$ac_t""yes" 1>&6
12400 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12401 cat >> confdefs.h <<EOF
12402 #define $ac_tr_func 1
12406 echo "$ac_t""no
" 1>&6
12415 echo $ac_n "checking
for float trig functions
""...
$ac_c" 1>&6
12416 echo "configure
:12417: checking
for float trig functions
" >&5
12417 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
12418 echo $ac_n "(cached
) $ac_c" 1>&6
12423 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12424 ac_cpp='$CXXCPP $CPPFLAGS'
12425 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12426 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12427 cross_compiling=$ac_cv_prog_cxx_cross
12429 cat > conftest.$ac_ext <<EOF
12430 #line 12431 "configure
"
12431 #include "confdefs.h
"
12434 `for x in acosf asinf atanf \
12436 coshf sinhf tanhf; do echo "$x (0);"; done`
12439 if { (eval echo configure:12440: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12441 glibcpp_cv_func_float_trig_use=yes
12443 echo "configure
: failed program was
:" >&5
12444 cat conftest.$ac_ext >&5
12446 glibcpp_cv_func_float_trig_use=no
12450 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12451 ac_cpp='$CPP $CPPFLAGS'
12452 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12453 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12454 cross_compiling=$ac_cv_prog_cc_cross
12458 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
12459 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
12460 for ac_func in acosf asinf atanf \
12464 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12465 echo "configure
:12466: checking
for $ac_func" >&5
12466 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12467 echo $ac_n "(cached
) $ac_c" 1>&6
12469 cat > conftest.$ac_ext <<EOF
12470 #line 12471 "configure
"
12471 #include "confdefs.h
"
12472 /* System header to define __stub macros and hopefully few prototypes,
12473 which can conflict with char $ac_func(); below. */
12474 #include <assert.h>
12475 /* Override any gcc2 internal prototype to avoid an error. */
12476 /* We use char because int might match the return type of a gcc2
12477 builtin and then its argument prototype would still apply. */
12482 /* The GNU C library defines this for functions which it implements
12483 to always fail with ENOSYS. Some functions are actually named
12484 something starting with __ and the normal name is an alias. */
12485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12493 if { (eval echo configure:12494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12495 eval "ac_cv_func_
$ac_func=yes"
12497 echo "configure
: failed program was
:" >&5
12498 cat conftest.$ac_ext >&5
12500 eval "ac_cv_func_
$ac_func=no
"
12505 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12506 echo "$ac_t""yes" 1>&6
12507 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12508 cat >> confdefs.h <<EOF
12509 #define $ac_tr_func 1
12513 echo "$ac_t""no
" 1>&6
12520 echo $ac_n "checking
for float round functions
""...
$ac_c" 1>&6
12521 echo "configure
:12522: checking
for float round functions
" >&5
12522 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
12523 echo $ac_n "(cached
) $ac_c" 1>&6
12528 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12529 ac_cpp='$CXXCPP $CPPFLAGS'
12530 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12531 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12532 cross_compiling=$ac_cv_prog_cxx_cross
12534 cat > conftest.$ac_ext <<EOF
12535 #line 12536 "configure
"
12536 #include "confdefs.h
"
12539 `for x in ceilf floorf; do echo "$x (0);"; done`
12542 if { (eval echo configure:12543: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12544 glibcpp_cv_func_float_round_use=yes
12546 echo "configure
: failed program was
:" >&5
12547 cat conftest.$ac_ext >&5
12549 glibcpp_cv_func_float_round_use=no
12553 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12554 ac_cpp='$CPP $CPPFLAGS'
12555 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12556 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12557 cross_compiling=$ac_cv_prog_cc_cross
12561 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
12562 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
12563 for ac_func in ceilf floorf
12565 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12566 echo "configure
:12567: checking
for $ac_func" >&5
12567 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12568 echo $ac_n "(cached
) $ac_c" 1>&6
12570 cat > conftest.$ac_ext <<EOF
12571 #line 12572 "configure
"
12572 #include "confdefs.h
"
12573 /* System header to define __stub macros and hopefully few prototypes,
12574 which can conflict with char $ac_func(); below. */
12575 #include <assert.h>
12576 /* Override any gcc2 internal prototype to avoid an error. */
12577 /* We use char because int might match the return type of a gcc2
12578 builtin and then its argument prototype would still apply. */
12583 /* The GNU C library defines this for functions which it implements
12584 to always fail with ENOSYS. Some functions are actually named
12585 something starting with __ and the normal name is an alias. */
12586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12594 if { (eval echo configure:12595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12596 eval "ac_cv_func_
$ac_func=yes"
12598 echo "configure
: failed program was
:" >&5
12599 cat conftest.$ac_ext >&5
12601 eval "ac_cv_func_
$ac_func=no
"
12606 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12607 echo "$ac_t""yes" 1>&6
12608 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12609 cat >> confdefs.h <<EOF
12610 #define $ac_tr_func 1
12614 echo "$ac_t""no
" 1>&6
12622 echo $ac_n "checking
for expf declaration
""...
$ac_c" 1>&6
12623 echo "configure
:12624: checking
for expf declaration
" >&5
12624 if test x${glibcpp_cv_func_expf_use+set} != xset; then
12625 if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
12626 echo $ac_n "(cached
) $ac_c" 1>&6
12631 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12632 ac_cpp='$CXXCPP $CPPFLAGS'
12633 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12634 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12635 cross_compiling=$ac_cv_prog_cxx_cross
12637 cat > conftest.$ac_ext <<EOF
12638 #line 12639 "configure
"
12639 #include "confdefs.h
"
12641 #ifdef HAVE_IEEEFP_H
12642 #include <ieeefp.h>
12649 if { (eval echo configure:12650: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12651 glibcpp_cv_func_expf_use=yes
12653 echo "configure
: failed program was
:" >&5
12654 cat conftest.$ac_ext >&5
12656 glibcpp_cv_func_expf_use=no
12660 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12661 ac_cpp='$CPP $CPPFLAGS'
12662 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12663 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12664 cross_compiling=$ac_cv_prog_cc_cross
12670 echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
12672 if test x$glibcpp_cv_func_expf_use = x"yes"; then
12673 for ac_func in expf
12675 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12676 echo "configure
:12677: checking
for $ac_func" >&5
12677 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12678 echo $ac_n "(cached
) $ac_c" 1>&6
12680 cat > conftest.$ac_ext <<EOF
12681 #line 12682 "configure
"
12682 #include "confdefs.h
"
12683 /* System header to define __stub macros and hopefully few prototypes,
12684 which can conflict with char $ac_func(); below. */
12685 #include <assert.h>
12686 /* Override any gcc2 internal prototype to avoid an error. */
12687 /* We use char because int might match the return type of a gcc2
12688 builtin and then its argument prototype would still apply. */
12693 /* The GNU C library defines this for functions which it implements
12694 to always fail with ENOSYS. Some functions are actually named
12695 something starting with __ and the normal name is an alias. */
12696 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12704 if { (eval echo configure:12705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12706 eval "ac_cv_func_
$ac_func=yes"
12708 echo "configure
: failed program was
:" >&5
12709 cat conftest.$ac_ext >&5
12711 eval "ac_cv_func_
$ac_func=no
"
12716 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12717 echo "$ac_t""yes" 1>&6
12718 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12719 cat >> confdefs.h <<EOF
12720 #define $ac_tr_func 1
12724 echo "$ac_t""no
" 1>&6
12730 echo $ac_n "checking
for _expf declaration
""...
$ac_c" 1>&6
12731 echo "configure
:12732: checking
for _expf declaration
" >&5
12732 if test x${glibcpp_cv_func__expf_use+set} != xset; then
12733 if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
12734 echo $ac_n "(cached
) $ac_c" 1>&6
12739 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12740 ac_cpp='$CXXCPP $CPPFLAGS'
12741 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12742 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12743 cross_compiling=$ac_cv_prog_cxx_cross
12745 cat > conftest.$ac_ext <<EOF
12746 #line 12747 "configure
"
12747 #include "confdefs.h
"
12749 #ifdef HAVE_IEEEFP_H
12750 #include <ieeefp.h>
12757 if { (eval echo configure:12758: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12759 glibcpp_cv_func__expf_use=yes
12761 echo "configure
: failed program was
:" >&5
12762 cat conftest.$ac_ext >&5
12764 glibcpp_cv_func__expf_use=no
12768 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12769 ac_cpp='$CPP $CPPFLAGS'
12770 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12771 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12772 cross_compiling=$ac_cv_prog_cc_cross
12778 echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
12780 if test x$glibcpp_cv_func__expf_use = x"yes"; then
12781 for ac_func in _expf
12783 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12784 echo "configure
:12785: checking
for $ac_func" >&5
12785 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12786 echo $ac_n "(cached
) $ac_c" 1>&6
12788 cat > conftest.$ac_ext <<EOF
12789 #line 12790 "configure
"
12790 #include "confdefs.h
"
12791 /* System header to define __stub macros and hopefully few prototypes,
12792 which can conflict with char $ac_func(); below. */
12793 #include <assert.h>
12794 /* Override any gcc2 internal prototype to avoid an error. */
12795 /* We use char because int might match the return type of a gcc2
12796 builtin and then its argument prototype would still apply. */
12801 /* The GNU C library defines this for functions which it implements
12802 to always fail with ENOSYS. Some functions are actually named
12803 something starting with __ and the normal name is an alias. */
12804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12812 if { (eval echo configure:12813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12814 eval "ac_cv_func_
$ac_func=yes"
12816 echo "configure
: failed program was
:" >&5
12817 cat conftest.$ac_ext >&5
12819 eval "ac_cv_func_
$ac_func=no
"
12824 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12825 echo "$ac_t""yes" 1>&6
12826 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12827 cat >> confdefs.h <<EOF
12828 #define $ac_tr_func 1
12832 echo "$ac_t""no
" 1>&6
12841 echo $ac_n "checking
for isnanf declaration
""...
$ac_c" 1>&6
12842 echo "configure
:12843: checking
for isnanf declaration
" >&5
12843 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
12844 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
12845 echo $ac_n "(cached
) $ac_c" 1>&6
12850 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12851 ac_cpp='$CXXCPP $CPPFLAGS'
12852 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12853 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12854 cross_compiling=$ac_cv_prog_cxx_cross
12856 cat > conftest.$ac_ext <<EOF
12857 #line 12858 "configure
"
12858 #include "confdefs.h
"
12860 #ifdef HAVE_IEEEFP_H
12861 #include <ieeefp.h>
12868 if { (eval echo configure:12869: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12870 glibcpp_cv_func_isnanf_use=yes
12872 echo "configure
: failed program was
:" >&5
12873 cat conftest.$ac_ext >&5
12875 glibcpp_cv_func_isnanf_use=no
12879 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12880 ac_cpp='$CPP $CPPFLAGS'
12881 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12882 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12883 cross_compiling=$ac_cv_prog_cc_cross
12889 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
12891 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
12892 for ac_func in isnanf
12894 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12895 echo "configure
:12896: checking
for $ac_func" >&5
12896 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12897 echo $ac_n "(cached
) $ac_c" 1>&6
12899 cat > conftest.$ac_ext <<EOF
12900 #line 12901 "configure
"
12901 #include "confdefs.h
"
12902 /* System header to define __stub macros and hopefully few prototypes,
12903 which can conflict with char $ac_func(); below. */
12904 #include <assert.h>
12905 /* Override any gcc2 internal prototype to avoid an error. */
12906 /* We use char because int might match the return type of a gcc2
12907 builtin and then its argument prototype would still apply. */
12912 /* The GNU C library defines this for functions which it implements
12913 to always fail with ENOSYS. Some functions are actually named
12914 something starting with __ and the normal name is an alias. */
12915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12923 if { (eval echo configure:12924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12925 eval "ac_cv_func_
$ac_func=yes"
12927 echo "configure
: failed program was
:" >&5
12928 cat conftest.$ac_ext >&5
12930 eval "ac_cv_func_
$ac_func=no
"
12935 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12936 echo "$ac_t""yes" 1>&6
12937 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12938 cat >> confdefs.h <<EOF
12939 #define $ac_tr_func 1
12943 echo "$ac_t""no
" 1>&6
12949 echo $ac_n "checking
for _isnanf declaration
""...
$ac_c" 1>&6
12950 echo "configure
:12951: checking
for _isnanf declaration
" >&5
12951 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
12952 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
12953 echo $ac_n "(cached
) $ac_c" 1>&6
12958 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12959 ac_cpp='$CXXCPP $CPPFLAGS'
12960 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12961 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12962 cross_compiling=$ac_cv_prog_cxx_cross
12964 cat > conftest.$ac_ext <<EOF
12965 #line 12966 "configure
"
12966 #include "confdefs.h
"
12968 #ifdef HAVE_IEEEFP_H
12969 #include <ieeefp.h>
12976 if { (eval echo configure:12977: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12978 glibcpp_cv_func__isnanf_use=yes
12980 echo "configure
: failed program was
:" >&5
12981 cat conftest.$ac_ext >&5
12983 glibcpp_cv_func__isnanf_use=no
12987 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12988 ac_cpp='$CPP $CPPFLAGS'
12989 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12990 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12991 cross_compiling=$ac_cv_prog_cc_cross
12997 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
12999 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
13000 for ac_func in _isnanf
13002 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13003 echo "configure
:13004: checking
for $ac_func" >&5
13004 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13005 echo $ac_n "(cached
) $ac_c" 1>&6
13007 cat > conftest.$ac_ext <<EOF
13008 #line 13009 "configure
"
13009 #include "confdefs.h
"
13010 /* System header to define __stub macros and hopefully few prototypes,
13011 which can conflict with char $ac_func(); below. */
13012 #include <assert.h>
13013 /* Override any gcc2 internal prototype to avoid an error. */
13014 /* We use char because int might match the return type of a gcc2
13015 builtin and then its argument prototype would still apply. */
13020 /* The GNU C library defines this for functions which it implements
13021 to always fail with ENOSYS. Some functions are actually named
13022 something starting with __ and the normal name is an alias. */
13023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13031 if { (eval echo configure:13032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13033 eval "ac_cv_func_
$ac_func=yes"
13035 echo "configure
: failed program was
:" >&5
13036 cat conftest.$ac_ext >&5
13038 eval "ac_cv_func_
$ac_func=no
"
13043 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13044 echo "$ac_t""yes" 1>&6
13045 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13046 cat >> confdefs.h <<EOF
13047 #define $ac_tr_func 1
13051 echo "$ac_t""no
" 1>&6
13060 echo $ac_n "checking
for isinff declaration
""...
$ac_c" 1>&6
13061 echo "configure
:13062: checking
for isinff declaration
" >&5
13062 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
13063 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
13064 echo $ac_n "(cached
) $ac_c" 1>&6
13069 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13070 ac_cpp='$CXXCPP $CPPFLAGS'
13071 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13072 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13073 cross_compiling=$ac_cv_prog_cxx_cross
13075 cat > conftest.$ac_ext <<EOF
13076 #line 13077 "configure
"
13077 #include "confdefs.h
"
13079 #ifdef HAVE_IEEEFP_H
13080 #include <ieeefp.h>
13087 if { (eval echo configure:13088: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13089 glibcpp_cv_func_isinff_use=yes
13091 echo "configure
: failed program was
:" >&5
13092 cat conftest.$ac_ext >&5
13094 glibcpp_cv_func_isinff_use=no
13098 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13099 ac_cpp='$CPP $CPPFLAGS'
13100 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13101 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13102 cross_compiling=$ac_cv_prog_cc_cross
13108 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
13110 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
13111 for ac_func in isinff
13113 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13114 echo "configure
:13115: checking
for $ac_func" >&5
13115 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13116 echo $ac_n "(cached
) $ac_c" 1>&6
13118 cat > conftest.$ac_ext <<EOF
13119 #line 13120 "configure
"
13120 #include "confdefs.h
"
13121 /* System header to define __stub macros and hopefully few prototypes,
13122 which can conflict with char $ac_func(); below. */
13123 #include <assert.h>
13124 /* Override any gcc2 internal prototype to avoid an error. */
13125 /* We use char because int might match the return type of a gcc2
13126 builtin and then its argument prototype would still apply. */
13131 /* The GNU C library defines this for functions which it implements
13132 to always fail with ENOSYS. Some functions are actually named
13133 something starting with __ and the normal name is an alias. */
13134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13142 if { (eval echo configure:13143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13144 eval "ac_cv_func_
$ac_func=yes"
13146 echo "configure
: failed program was
:" >&5
13147 cat conftest.$ac_ext >&5
13149 eval "ac_cv_func_
$ac_func=no
"
13154 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13155 echo "$ac_t""yes" 1>&6
13156 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13157 cat >> confdefs.h <<EOF
13158 #define $ac_tr_func 1
13162 echo "$ac_t""no
" 1>&6
13168 echo $ac_n "checking
for _isinff declaration
""...
$ac_c" 1>&6
13169 echo "configure
:13170: checking
for _isinff declaration
" >&5
13170 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
13171 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
13172 echo $ac_n "(cached
) $ac_c" 1>&6
13177 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13178 ac_cpp='$CXXCPP $CPPFLAGS'
13179 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13180 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13181 cross_compiling=$ac_cv_prog_cxx_cross
13183 cat > conftest.$ac_ext <<EOF
13184 #line 13185 "configure
"
13185 #include "confdefs.h
"
13187 #ifdef HAVE_IEEEFP_H
13188 #include <ieeefp.h>
13195 if { (eval echo configure:13196: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13197 glibcpp_cv_func__isinff_use=yes
13199 echo "configure
: failed program was
:" >&5
13200 cat conftest.$ac_ext >&5
13202 glibcpp_cv_func__isinff_use=no
13206 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13207 ac_cpp='$CPP $CPPFLAGS'
13208 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13209 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13210 cross_compiling=$ac_cv_prog_cc_cross
13216 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
13218 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
13219 for ac_func in _isinff
13221 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13222 echo "configure
:13223: checking
for $ac_func" >&5
13223 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13224 echo $ac_n "(cached
) $ac_c" 1>&6
13226 cat > conftest.$ac_ext <<EOF
13227 #line 13228 "configure
"
13228 #include "confdefs.h
"
13229 /* System header to define __stub macros and hopefully few prototypes,
13230 which can conflict with char $ac_func(); below. */
13231 #include <assert.h>
13232 /* Override any gcc2 internal prototype to avoid an error. */
13233 /* We use char because int might match the return type of a gcc2
13234 builtin and then its argument prototype would still apply. */
13239 /* The GNU C library defines this for functions which it implements
13240 to always fail with ENOSYS. Some functions are actually named
13241 something starting with __ and the normal name is an alias. */
13242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13250 if { (eval echo configure:13251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13252 eval "ac_cv_func_
$ac_func=yes"
13254 echo "configure
: failed program was
:" >&5
13255 cat conftest.$ac_ext >&5
13257 eval "ac_cv_func_
$ac_func=no
"
13262 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13263 echo "$ac_t""yes" 1>&6
13264 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13265 cat >> confdefs.h <<EOF
13266 #define $ac_tr_func 1
13270 echo "$ac_t""no
" 1>&6
13279 echo $ac_n "checking
for atan2f declaration
""...
$ac_c" 1>&6
13280 echo "configure
:13281: checking
for atan2f declaration
" >&5
13281 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
13282 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
13283 echo $ac_n "(cached
) $ac_c" 1>&6
13288 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13289 ac_cpp='$CXXCPP $CPPFLAGS'
13290 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13291 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13292 cross_compiling=$ac_cv_prog_cxx_cross
13294 cat > conftest.$ac_ext <<EOF
13295 #line 13296 "configure
"
13296 #include "confdefs.h
"
13302 if { (eval echo configure:13303: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13304 glibcpp_cv_func_atan2f_use=yes
13306 echo "configure
: failed program was
:" >&5
13307 cat conftest.$ac_ext >&5
13309 glibcpp_cv_func_atan2f_use=no
13313 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13314 ac_cpp='$CPP $CPPFLAGS'
13315 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13316 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13317 cross_compiling=$ac_cv_prog_cc_cross
13323 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
13325 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
13326 for ac_func in atan2f
13328 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13329 echo "configure
:13330: checking
for $ac_func" >&5
13330 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13331 echo $ac_n "(cached
) $ac_c" 1>&6
13333 cat > conftest.$ac_ext <<EOF
13334 #line 13335 "configure
"
13335 #include "confdefs.h
"
13336 /* System header to define __stub macros and hopefully few prototypes,
13337 which can conflict with char $ac_func(); below. */
13338 #include <assert.h>
13339 /* Override any gcc2 internal prototype to avoid an error. */
13340 /* We use char because int might match the return type of a gcc2
13341 builtin and then its argument prototype would still apply. */
13346 /* The GNU C library defines this for functions which it implements
13347 to always fail with ENOSYS. Some functions are actually named
13348 something starting with __ and the normal name is an alias. */
13349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13357 if { (eval echo configure:13358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13359 eval "ac_cv_func_
$ac_func=yes"
13361 echo "configure
: failed program was
:" >&5
13362 cat conftest.$ac_ext >&5
13364 eval "ac_cv_func_
$ac_func=no
"
13369 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13370 echo "$ac_t""yes" 1>&6
13371 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13372 cat >> confdefs.h <<EOF
13373 #define $ac_tr_func 1
13377 echo "$ac_t""no
" 1>&6
13383 echo $ac_n "checking
for _atan2f declaration
""...
$ac_c" 1>&6
13384 echo "configure
:13385: checking
for _atan2f declaration
" >&5
13385 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
13386 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
13387 echo $ac_n "(cached
) $ac_c" 1>&6
13392 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13393 ac_cpp='$CXXCPP $CPPFLAGS'
13394 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13395 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13396 cross_compiling=$ac_cv_prog_cxx_cross
13398 cat > conftest.$ac_ext <<EOF
13399 #line 13400 "configure
"
13400 #include "confdefs.h
"
13406 if { (eval echo configure:13407: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13408 glibcpp_cv_func__atan2f_use=yes
13410 echo "configure
: failed program was
:" >&5
13411 cat conftest.$ac_ext >&5
13413 glibcpp_cv_func__atan2f_use=no
13417 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13418 ac_cpp='$CPP $CPPFLAGS'
13419 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13420 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13421 cross_compiling=$ac_cv_prog_cc_cross
13427 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
13429 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
13430 for ac_func in _atan2f
13432 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13433 echo "configure
:13434: checking
for $ac_func" >&5
13434 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13435 echo $ac_n "(cached
) $ac_c" 1>&6
13437 cat > conftest.$ac_ext <<EOF
13438 #line 13439 "configure
"
13439 #include "confdefs.h
"
13440 /* System header to define __stub macros and hopefully few prototypes,
13441 which can conflict with char $ac_func(); below. */
13442 #include <assert.h>
13443 /* Override any gcc2 internal prototype to avoid an error. */
13444 /* We use char because int might match the return type of a gcc2
13445 builtin and then its argument prototype would still apply. */
13450 /* The GNU C library defines this for functions which it implements
13451 to always fail with ENOSYS. Some functions are actually named
13452 something starting with __ and the normal name is an alias. */
13453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13461 if { (eval echo configure:13462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13463 eval "ac_cv_func_
$ac_func=yes"
13465 echo "configure
: failed program was
:" >&5
13466 cat conftest.$ac_ext >&5
13468 eval "ac_cv_func_
$ac_func=no
"
13473 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13474 echo "$ac_t""yes" 1>&6
13475 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13476 cat >> confdefs.h <<EOF
13477 #define $ac_tr_func 1
13481 echo "$ac_t""no
" 1>&6
13490 echo $ac_n "checking
for fabsf declaration
""...
$ac_c" 1>&6
13491 echo "configure
:13492: checking
for fabsf declaration
" >&5
13492 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
13493 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
13494 echo $ac_n "(cached
) $ac_c" 1>&6
13499 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13500 ac_cpp='$CXXCPP $CPPFLAGS'
13501 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13502 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13503 cross_compiling=$ac_cv_prog_cxx_cross
13505 cat > conftest.$ac_ext <<EOF
13506 #line 13507 "configure
"
13507 #include "confdefs.h
"
13509 #ifdef HAVE_IEEEFP_H
13510 #include <ieeefp.h>
13517 if { (eval echo configure:13518: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13519 glibcpp_cv_func_fabsf_use=yes
13521 echo "configure
: failed program was
:" >&5
13522 cat conftest.$ac_ext >&5
13524 glibcpp_cv_func_fabsf_use=no
13528 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13529 ac_cpp='$CPP $CPPFLAGS'
13530 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13531 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13532 cross_compiling=$ac_cv_prog_cc_cross
13538 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
13540 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
13541 for ac_func in fabsf
13543 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13544 echo "configure
:13545: checking
for $ac_func" >&5
13545 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13546 echo $ac_n "(cached
) $ac_c" 1>&6
13548 cat > conftest.$ac_ext <<EOF
13549 #line 13550 "configure
"
13550 #include "confdefs.h
"
13551 /* System header to define __stub macros and hopefully few prototypes,
13552 which can conflict with char $ac_func(); below. */
13553 #include <assert.h>
13554 /* Override any gcc2 internal prototype to avoid an error. */
13555 /* We use char because int might match the return type of a gcc2
13556 builtin and then its argument prototype would still apply. */
13561 /* The GNU C library defines this for functions which it implements
13562 to always fail with ENOSYS. Some functions are actually named
13563 something starting with __ and the normal name is an alias. */
13564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13572 if { (eval echo configure:13573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13574 eval "ac_cv_func_
$ac_func=yes"
13576 echo "configure
: failed program was
:" >&5
13577 cat conftest.$ac_ext >&5
13579 eval "ac_cv_func_
$ac_func=no
"
13584 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13585 echo "$ac_t""yes" 1>&6
13586 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13587 cat >> confdefs.h <<EOF
13588 #define $ac_tr_func 1
13592 echo "$ac_t""no
" 1>&6
13598 echo $ac_n "checking
for _fabsf declaration
""...
$ac_c" 1>&6
13599 echo "configure
:13600: checking
for _fabsf declaration
" >&5
13600 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
13601 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
13602 echo $ac_n "(cached
) $ac_c" 1>&6
13607 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13608 ac_cpp='$CXXCPP $CPPFLAGS'
13609 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13610 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13611 cross_compiling=$ac_cv_prog_cxx_cross
13613 cat > conftest.$ac_ext <<EOF
13614 #line 13615 "configure
"
13615 #include "confdefs.h
"
13617 #ifdef HAVE_IEEEFP_H
13618 #include <ieeefp.h>
13625 if { (eval echo configure:13626: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13627 glibcpp_cv_func__fabsf_use=yes
13629 echo "configure
: failed program was
:" >&5
13630 cat conftest.$ac_ext >&5
13632 glibcpp_cv_func__fabsf_use=no
13636 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13637 ac_cpp='$CPP $CPPFLAGS'
13638 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13639 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13640 cross_compiling=$ac_cv_prog_cc_cross
13646 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
13648 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
13649 for ac_func in _fabsf
13651 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13652 echo "configure
:13653: checking
for $ac_func" >&5
13653 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13654 echo $ac_n "(cached
) $ac_c" 1>&6
13656 cat > conftest.$ac_ext <<EOF
13657 #line 13658 "configure
"
13658 #include "confdefs.h
"
13659 /* System header to define __stub macros and hopefully few prototypes,
13660 which can conflict with char $ac_func(); below. */
13661 #include <assert.h>
13662 /* Override any gcc2 internal prototype to avoid an error. */
13663 /* We use char because int might match the return type of a gcc2
13664 builtin and then its argument prototype would still apply. */
13669 /* The GNU C library defines this for functions which it implements
13670 to always fail with ENOSYS. Some functions are actually named
13671 something starting with __ and the normal name is an alias. */
13672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13680 if { (eval echo configure:13681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13682 eval "ac_cv_func_
$ac_func=yes"
13684 echo "configure
: failed program was
:" >&5
13685 cat conftest.$ac_ext >&5
13687 eval "ac_cv_func_
$ac_func=no
"
13692 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13693 echo "$ac_t""yes" 1>&6
13694 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13695 cat >> confdefs.h <<EOF
13696 #define $ac_tr_func 1
13700 echo "$ac_t""no
" 1>&6
13709 echo $ac_n "checking
for fmodf declaration
""...
$ac_c" 1>&6
13710 echo "configure
:13711: checking
for fmodf declaration
" >&5
13711 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
13712 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
13713 echo $ac_n "(cached
) $ac_c" 1>&6
13718 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13719 ac_cpp='$CXXCPP $CPPFLAGS'
13720 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13721 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13722 cross_compiling=$ac_cv_prog_cxx_cross
13724 cat > conftest.$ac_ext <<EOF
13725 #line 13726 "configure
"
13726 #include "confdefs.h
"
13732 if { (eval echo configure:13733: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13734 glibcpp_cv_func_fmodf_use=yes
13736 echo "configure
: failed program was
:" >&5
13737 cat conftest.$ac_ext >&5
13739 glibcpp_cv_func_fmodf_use=no
13743 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13744 ac_cpp='$CPP $CPPFLAGS'
13745 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13746 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13747 cross_compiling=$ac_cv_prog_cc_cross
13753 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
13755 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
13756 for ac_func in fmodf
13758 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13759 echo "configure
:13760: checking
for $ac_func" >&5
13760 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13761 echo $ac_n "(cached
) $ac_c" 1>&6
13763 cat > conftest.$ac_ext <<EOF
13764 #line 13765 "configure
"
13765 #include "confdefs.h
"
13766 /* System header to define __stub macros and hopefully few prototypes,
13767 which can conflict with char $ac_func(); below. */
13768 #include <assert.h>
13769 /* Override any gcc2 internal prototype to avoid an error. */
13770 /* We use char because int might match the return type of a gcc2
13771 builtin and then its argument prototype would still apply. */
13776 /* The GNU C library defines this for functions which it implements
13777 to always fail with ENOSYS. Some functions are actually named
13778 something starting with __ and the normal name is an alias. */
13779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13787 if { (eval echo configure:13788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13789 eval "ac_cv_func_
$ac_func=yes"
13791 echo "configure
: failed program was
:" >&5
13792 cat conftest.$ac_ext >&5
13794 eval "ac_cv_func_
$ac_func=no
"
13799 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13800 echo "$ac_t""yes" 1>&6
13801 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13802 cat >> confdefs.h <<EOF
13803 #define $ac_tr_func 1
13807 echo "$ac_t""no
" 1>&6
13813 echo $ac_n "checking
for _fmodf declaration
""...
$ac_c" 1>&6
13814 echo "configure
:13815: checking
for _fmodf declaration
" >&5
13815 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
13816 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
13817 echo $ac_n "(cached
) $ac_c" 1>&6
13822 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13823 ac_cpp='$CXXCPP $CPPFLAGS'
13824 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13825 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13826 cross_compiling=$ac_cv_prog_cxx_cross
13828 cat > conftest.$ac_ext <<EOF
13829 #line 13830 "configure
"
13830 #include "confdefs.h
"
13836 if { (eval echo configure:13837: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13838 glibcpp_cv_func__fmodf_use=yes
13840 echo "configure
: failed program was
:" >&5
13841 cat conftest.$ac_ext >&5
13843 glibcpp_cv_func__fmodf_use=no
13847 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13848 ac_cpp='$CPP $CPPFLAGS'
13849 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13850 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13851 cross_compiling=$ac_cv_prog_cc_cross
13857 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
13859 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
13860 for ac_func in _fmodf
13862 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13863 echo "configure
:13864: checking
for $ac_func" >&5
13864 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13865 echo $ac_n "(cached
) $ac_c" 1>&6
13867 cat > conftest.$ac_ext <<EOF
13868 #line 13869 "configure
"
13869 #include "confdefs.h
"
13870 /* System header to define __stub macros and hopefully few prototypes,
13871 which can conflict with char $ac_func(); below. */
13872 #include <assert.h>
13873 /* Override any gcc2 internal prototype to avoid an error. */
13874 /* We use char because int might match the return type of a gcc2
13875 builtin and then its argument prototype would still apply. */
13880 /* The GNU C library defines this for functions which it implements
13881 to always fail with ENOSYS. Some functions are actually named
13882 something starting with __ and the normal name is an alias. */
13883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13891 if { (eval echo configure:13892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13893 eval "ac_cv_func_
$ac_func=yes"
13895 echo "configure
: failed program was
:" >&5
13896 cat conftest.$ac_ext >&5
13898 eval "ac_cv_func_
$ac_func=no
"
13903 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13904 echo "$ac_t""yes" 1>&6
13905 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13906 cat >> confdefs.h <<EOF
13907 #define $ac_tr_func 1
13911 echo "$ac_t""no
" 1>&6
13920 echo $ac_n "checking
for frexpf declaration
""...
$ac_c" 1>&6
13921 echo "configure
:13922: checking
for frexpf declaration
" >&5
13922 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
13923 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
13924 echo $ac_n "(cached
) $ac_c" 1>&6
13929 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13930 ac_cpp='$CXXCPP $CPPFLAGS'
13931 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13932 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13933 cross_compiling=$ac_cv_prog_cxx_cross
13935 cat > conftest.$ac_ext <<EOF
13936 #line 13937 "configure
"
13937 #include "confdefs.h
"
13943 if { (eval echo configure:13944: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13945 glibcpp_cv_func_frexpf_use=yes
13947 echo "configure
: failed program was
:" >&5
13948 cat conftest.$ac_ext >&5
13950 glibcpp_cv_func_frexpf_use=no
13954 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13955 ac_cpp='$CPP $CPPFLAGS'
13956 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13957 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13958 cross_compiling=$ac_cv_prog_cc_cross
13964 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
13966 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
13967 for ac_func in frexpf
13969 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13970 echo "configure
:13971: checking
for $ac_func" >&5
13971 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13972 echo $ac_n "(cached
) $ac_c" 1>&6
13974 cat > conftest.$ac_ext <<EOF
13975 #line 13976 "configure
"
13976 #include "confdefs.h
"
13977 /* System header to define __stub macros and hopefully few prototypes,
13978 which can conflict with char $ac_func(); below. */
13979 #include <assert.h>
13980 /* Override any gcc2 internal prototype to avoid an error. */
13981 /* We use char because int might match the return type of a gcc2
13982 builtin and then its argument prototype would still apply. */
13987 /* The GNU C library defines this for functions which it implements
13988 to always fail with ENOSYS. Some functions are actually named
13989 something starting with __ and the normal name is an alias. */
13990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13998 if { (eval echo configure:13999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14000 eval "ac_cv_func_
$ac_func=yes"
14002 echo "configure
: failed program was
:" >&5
14003 cat conftest.$ac_ext >&5
14005 eval "ac_cv_func_
$ac_func=no
"
14010 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14011 echo "$ac_t""yes" 1>&6
14012 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14013 cat >> confdefs.h <<EOF
14014 #define $ac_tr_func 1
14018 echo "$ac_t""no
" 1>&6
14024 echo $ac_n "checking
for _frexpf declaration
""...
$ac_c" 1>&6
14025 echo "configure
:14026: checking
for _frexpf declaration
" >&5
14026 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
14027 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
14028 echo $ac_n "(cached
) $ac_c" 1>&6
14033 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14034 ac_cpp='$CXXCPP $CPPFLAGS'
14035 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14036 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14037 cross_compiling=$ac_cv_prog_cxx_cross
14039 cat > conftest.$ac_ext <<EOF
14040 #line 14041 "configure
"
14041 #include "confdefs.h
"
14047 if { (eval echo configure:14048: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14049 glibcpp_cv_func__frexpf_use=yes
14051 echo "configure
: failed program was
:" >&5
14052 cat conftest.$ac_ext >&5
14054 glibcpp_cv_func__frexpf_use=no
14058 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14059 ac_cpp='$CPP $CPPFLAGS'
14060 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14061 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14062 cross_compiling=$ac_cv_prog_cc_cross
14068 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
14070 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
14071 for ac_func in _frexpf
14073 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14074 echo "configure
:14075: checking
for $ac_func" >&5
14075 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14076 echo $ac_n "(cached
) $ac_c" 1>&6
14078 cat > conftest.$ac_ext <<EOF
14079 #line 14080 "configure
"
14080 #include "confdefs.h
"
14081 /* System header to define __stub macros and hopefully few prototypes,
14082 which can conflict with char $ac_func(); below. */
14083 #include <assert.h>
14084 /* Override any gcc2 internal prototype to avoid an error. */
14085 /* We use char because int might match the return type of a gcc2
14086 builtin and then its argument prototype would still apply. */
14091 /* The GNU C library defines this for functions which it implements
14092 to always fail with ENOSYS. Some functions are actually named
14093 something starting with __ and the normal name is an alias. */
14094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14102 if { (eval echo configure:14103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14104 eval "ac_cv_func_
$ac_func=yes"
14106 echo "configure
: failed program was
:" >&5
14107 cat conftest.$ac_ext >&5
14109 eval "ac_cv_func_
$ac_func=no
"
14114 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14115 echo "$ac_t""yes" 1>&6
14116 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14117 cat >> confdefs.h <<EOF
14118 #define $ac_tr_func 1
14122 echo "$ac_t""no
" 1>&6
14131 echo $ac_n "checking
for hypotf declaration
""...
$ac_c" 1>&6
14132 echo "configure
:14133: checking
for hypotf declaration
" >&5
14133 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
14134 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
14135 echo $ac_n "(cached
) $ac_c" 1>&6
14140 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14141 ac_cpp='$CXXCPP $CPPFLAGS'
14142 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14143 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14144 cross_compiling=$ac_cv_prog_cxx_cross
14146 cat > conftest.$ac_ext <<EOF
14147 #line 14148 "configure
"
14148 #include "confdefs.h
"
14154 if { (eval echo configure:14155: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14156 glibcpp_cv_func_hypotf_use=yes
14158 echo "configure
: failed program was
:" >&5
14159 cat conftest.$ac_ext >&5
14161 glibcpp_cv_func_hypotf_use=no
14165 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14166 ac_cpp='$CPP $CPPFLAGS'
14167 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14168 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14169 cross_compiling=$ac_cv_prog_cc_cross
14175 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
14177 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
14178 for ac_func in hypotf
14180 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14181 echo "configure
:14182: checking
for $ac_func" >&5
14182 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14183 echo $ac_n "(cached
) $ac_c" 1>&6
14185 cat > conftest.$ac_ext <<EOF
14186 #line 14187 "configure
"
14187 #include "confdefs.h
"
14188 /* System header to define __stub macros and hopefully few prototypes,
14189 which can conflict with char $ac_func(); below. */
14190 #include <assert.h>
14191 /* Override any gcc2 internal prototype to avoid an error. */
14192 /* We use char because int might match the return type of a gcc2
14193 builtin and then its argument prototype would still apply. */
14198 /* The GNU C library defines this for functions which it implements
14199 to always fail with ENOSYS. Some functions are actually named
14200 something starting with __ and the normal name is an alias. */
14201 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14209 if { (eval echo configure:14210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14211 eval "ac_cv_func_
$ac_func=yes"
14213 echo "configure
: failed program was
:" >&5
14214 cat conftest.$ac_ext >&5
14216 eval "ac_cv_func_
$ac_func=no
"
14221 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14222 echo "$ac_t""yes" 1>&6
14223 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14224 cat >> confdefs.h <<EOF
14225 #define $ac_tr_func 1
14229 echo "$ac_t""no
" 1>&6
14235 echo $ac_n "checking
for _hypotf declaration
""...
$ac_c" 1>&6
14236 echo "configure
:14237: checking
for _hypotf declaration
" >&5
14237 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
14238 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
14239 echo $ac_n "(cached
) $ac_c" 1>&6
14244 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14245 ac_cpp='$CXXCPP $CPPFLAGS'
14246 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14247 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14248 cross_compiling=$ac_cv_prog_cxx_cross
14250 cat > conftest.$ac_ext <<EOF
14251 #line 14252 "configure
"
14252 #include "confdefs.h
"
14258 if { (eval echo configure:14259: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14260 glibcpp_cv_func__hypotf_use=yes
14262 echo "configure
: failed program was
:" >&5
14263 cat conftest.$ac_ext >&5
14265 glibcpp_cv_func__hypotf_use=no
14269 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14270 ac_cpp='$CPP $CPPFLAGS'
14271 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14272 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14273 cross_compiling=$ac_cv_prog_cc_cross
14279 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
14281 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
14282 for ac_func in _hypotf
14284 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14285 echo "configure
:14286: checking
for $ac_func" >&5
14286 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14287 echo $ac_n "(cached
) $ac_c" 1>&6
14289 cat > conftest.$ac_ext <<EOF
14290 #line 14291 "configure
"
14291 #include "confdefs.h
"
14292 /* System header to define __stub macros and hopefully few prototypes,
14293 which can conflict with char $ac_func(); below. */
14294 #include <assert.h>
14295 /* Override any gcc2 internal prototype to avoid an error. */
14296 /* We use char because int might match the return type of a gcc2
14297 builtin and then its argument prototype would still apply. */
14302 /* The GNU C library defines this for functions which it implements
14303 to always fail with ENOSYS. Some functions are actually named
14304 something starting with __ and the normal name is an alias. */
14305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14313 if { (eval echo configure:14314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14315 eval "ac_cv_func_
$ac_func=yes"
14317 echo "configure
: failed program was
:" >&5
14318 cat conftest.$ac_ext >&5
14320 eval "ac_cv_func_
$ac_func=no
"
14325 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14326 echo "$ac_t""yes" 1>&6
14327 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14328 cat >> confdefs.h <<EOF
14329 #define $ac_tr_func 1
14333 echo "$ac_t""no
" 1>&6
14342 echo $ac_n "checking
for ldexpf declaration
""...
$ac_c" 1>&6
14343 echo "configure
:14344: checking
for ldexpf declaration
" >&5
14344 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
14345 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
14346 echo $ac_n "(cached
) $ac_c" 1>&6
14351 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14352 ac_cpp='$CXXCPP $CPPFLAGS'
14353 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14354 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14355 cross_compiling=$ac_cv_prog_cxx_cross
14357 cat > conftest.$ac_ext <<EOF
14358 #line 14359 "configure
"
14359 #include "confdefs.h
"
14365 if { (eval echo configure:14366: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14367 glibcpp_cv_func_ldexpf_use=yes
14369 echo "configure
: failed program was
:" >&5
14370 cat conftest.$ac_ext >&5
14372 glibcpp_cv_func_ldexpf_use=no
14376 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14377 ac_cpp='$CPP $CPPFLAGS'
14378 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14379 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14380 cross_compiling=$ac_cv_prog_cc_cross
14386 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
14388 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
14389 for ac_func in ldexpf
14391 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14392 echo "configure
:14393: checking
for $ac_func" >&5
14393 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14394 echo $ac_n "(cached
) $ac_c" 1>&6
14396 cat > conftest.$ac_ext <<EOF
14397 #line 14398 "configure
"
14398 #include "confdefs.h
"
14399 /* System header to define __stub macros and hopefully few prototypes,
14400 which can conflict with char $ac_func(); below. */
14401 #include <assert.h>
14402 /* Override any gcc2 internal prototype to avoid an error. */
14403 /* We use char because int might match the return type of a gcc2
14404 builtin and then its argument prototype would still apply. */
14409 /* The GNU C library defines this for functions which it implements
14410 to always fail with ENOSYS. Some functions are actually named
14411 something starting with __ and the normal name is an alias. */
14412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14420 if { (eval echo configure:14421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14422 eval "ac_cv_func_
$ac_func=yes"
14424 echo "configure
: failed program was
:" >&5
14425 cat conftest.$ac_ext >&5
14427 eval "ac_cv_func_
$ac_func=no
"
14432 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14433 echo "$ac_t""yes" 1>&6
14434 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14435 cat >> confdefs.h <<EOF
14436 #define $ac_tr_func 1
14440 echo "$ac_t""no
" 1>&6
14446 echo $ac_n "checking
for _ldexpf declaration
""...
$ac_c" 1>&6
14447 echo "configure
:14448: checking
for _ldexpf declaration
" >&5
14448 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
14449 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
14450 echo $ac_n "(cached
) $ac_c" 1>&6
14455 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14456 ac_cpp='$CXXCPP $CPPFLAGS'
14457 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14458 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14459 cross_compiling=$ac_cv_prog_cxx_cross
14461 cat > conftest.$ac_ext <<EOF
14462 #line 14463 "configure
"
14463 #include "confdefs.h
"
14469 if { (eval echo configure:14470: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14471 glibcpp_cv_func__ldexpf_use=yes
14473 echo "configure
: failed program was
:" >&5
14474 cat conftest.$ac_ext >&5
14476 glibcpp_cv_func__ldexpf_use=no
14480 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14481 ac_cpp='$CPP $CPPFLAGS'
14482 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14483 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14484 cross_compiling=$ac_cv_prog_cc_cross
14490 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
14492 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
14493 for ac_func in _ldexpf
14495 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14496 echo "configure
:14497: checking
for $ac_func" >&5
14497 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14498 echo $ac_n "(cached
) $ac_c" 1>&6
14500 cat > conftest.$ac_ext <<EOF
14501 #line 14502 "configure
"
14502 #include "confdefs.h
"
14503 /* System header to define __stub macros and hopefully few prototypes,
14504 which can conflict with char $ac_func(); below. */
14505 #include <assert.h>
14506 /* Override any gcc2 internal prototype to avoid an error. */
14507 /* We use char because int might match the return type of a gcc2
14508 builtin and then its argument prototype would still apply. */
14513 /* The GNU C library defines this for functions which it implements
14514 to always fail with ENOSYS. Some functions are actually named
14515 something starting with __ and the normal name is an alias. */
14516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14524 if { (eval echo configure:14525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14526 eval "ac_cv_func_
$ac_func=yes"
14528 echo "configure
: failed program was
:" >&5
14529 cat conftest.$ac_ext >&5
14531 eval "ac_cv_func_
$ac_func=no
"
14536 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14537 echo "$ac_t""yes" 1>&6
14538 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14539 cat >> confdefs.h <<EOF
14540 #define $ac_tr_func 1
14544 echo "$ac_t""no
" 1>&6
14553 echo $ac_n "checking
for logf declaration
""...
$ac_c" 1>&6
14554 echo "configure
:14555: checking
for logf declaration
" >&5
14555 if test x${glibcpp_cv_func_logf_use+set} != xset; then
14556 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
14557 echo $ac_n "(cached
) $ac_c" 1>&6
14562 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14563 ac_cpp='$CXXCPP $CPPFLAGS'
14564 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14565 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14566 cross_compiling=$ac_cv_prog_cxx_cross
14568 cat > conftest.$ac_ext <<EOF
14569 #line 14570 "configure
"
14570 #include "confdefs.h
"
14572 #ifdef HAVE_IEEEFP_H
14573 #include <ieeefp.h>
14580 if { (eval echo configure:14581: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14582 glibcpp_cv_func_logf_use=yes
14584 echo "configure
: failed program was
:" >&5
14585 cat conftest.$ac_ext >&5
14587 glibcpp_cv_func_logf_use=no
14591 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14592 ac_cpp='$CPP $CPPFLAGS'
14593 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14594 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14595 cross_compiling=$ac_cv_prog_cc_cross
14601 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
14603 if test x$glibcpp_cv_func_logf_use = x"yes"; then
14604 for ac_func in logf
14606 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14607 echo "configure
:14608: checking
for $ac_func" >&5
14608 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14609 echo $ac_n "(cached
) $ac_c" 1>&6
14611 cat > conftest.$ac_ext <<EOF
14612 #line 14613 "configure
"
14613 #include "confdefs.h
"
14614 /* System header to define __stub macros and hopefully few prototypes,
14615 which can conflict with char $ac_func(); below. */
14616 #include <assert.h>
14617 /* Override any gcc2 internal prototype to avoid an error. */
14618 /* We use char because int might match the return type of a gcc2
14619 builtin and then its argument prototype would still apply. */
14624 /* The GNU C library defines this for functions which it implements
14625 to always fail with ENOSYS. Some functions are actually named
14626 something starting with __ and the normal name is an alias. */
14627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14635 if { (eval echo configure:14636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14637 eval "ac_cv_func_
$ac_func=yes"
14639 echo "configure
: failed program was
:" >&5
14640 cat conftest.$ac_ext >&5
14642 eval "ac_cv_func_
$ac_func=no
"
14647 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14648 echo "$ac_t""yes" 1>&6
14649 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14650 cat >> confdefs.h <<EOF
14651 #define $ac_tr_func 1
14655 echo "$ac_t""no
" 1>&6
14661 echo $ac_n "checking
for _logf declaration
""...
$ac_c" 1>&6
14662 echo "configure
:14663: checking
for _logf declaration
" >&5
14663 if test x${glibcpp_cv_func__logf_use+set} != xset; then
14664 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
14665 echo $ac_n "(cached
) $ac_c" 1>&6
14670 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14671 ac_cpp='$CXXCPP $CPPFLAGS'
14672 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14673 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14674 cross_compiling=$ac_cv_prog_cxx_cross
14676 cat > conftest.$ac_ext <<EOF
14677 #line 14678 "configure
"
14678 #include "confdefs.h
"
14680 #ifdef HAVE_IEEEFP_H
14681 #include <ieeefp.h>
14688 if { (eval echo configure:14689: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14690 glibcpp_cv_func__logf_use=yes
14692 echo "configure
: failed program was
:" >&5
14693 cat conftest.$ac_ext >&5
14695 glibcpp_cv_func__logf_use=no
14699 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14700 ac_cpp='$CPP $CPPFLAGS'
14701 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14702 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14703 cross_compiling=$ac_cv_prog_cc_cross
14709 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
14711 if test x$glibcpp_cv_func__logf_use = x"yes"; then
14712 for ac_func in _logf
14714 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14715 echo "configure
:14716: checking
for $ac_func" >&5
14716 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14717 echo $ac_n "(cached
) $ac_c" 1>&6
14719 cat > conftest.$ac_ext <<EOF
14720 #line 14721 "configure
"
14721 #include "confdefs.h
"
14722 /* System header to define __stub macros and hopefully few prototypes,
14723 which can conflict with char $ac_func(); below. */
14724 #include <assert.h>
14725 /* Override any gcc2 internal prototype to avoid an error. */
14726 /* We use char because int might match the return type of a gcc2
14727 builtin and then its argument prototype would still apply. */
14732 /* The GNU C library defines this for functions which it implements
14733 to always fail with ENOSYS. Some functions are actually named
14734 something starting with __ and the normal name is an alias. */
14735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14743 if { (eval echo configure:14744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14745 eval "ac_cv_func_
$ac_func=yes"
14747 echo "configure
: failed program was
:" >&5
14748 cat conftest.$ac_ext >&5
14750 eval "ac_cv_func_
$ac_func=no
"
14755 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14756 echo "$ac_t""yes" 1>&6
14757 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14758 cat >> confdefs.h <<EOF
14759 #define $ac_tr_func 1
14763 echo "$ac_t""no
" 1>&6
14772 echo $ac_n "checking
for log10f declaration
""...
$ac_c" 1>&6
14773 echo "configure
:14774: checking
for log10f declaration
" >&5
14774 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
14775 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
14776 echo $ac_n "(cached
) $ac_c" 1>&6
14781 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14782 ac_cpp='$CXXCPP $CPPFLAGS'
14783 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14784 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14785 cross_compiling=$ac_cv_prog_cxx_cross
14787 cat > conftest.$ac_ext <<EOF
14788 #line 14789 "configure
"
14789 #include "confdefs.h
"
14791 #ifdef HAVE_IEEEFP_H
14792 #include <ieeefp.h>
14799 if { (eval echo configure:14800: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14801 glibcpp_cv_func_log10f_use=yes
14803 echo "configure
: failed program was
:" >&5
14804 cat conftest.$ac_ext >&5
14806 glibcpp_cv_func_log10f_use=no
14810 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14811 ac_cpp='$CPP $CPPFLAGS'
14812 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14813 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14814 cross_compiling=$ac_cv_prog_cc_cross
14820 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
14822 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
14823 for ac_func in log10f
14825 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14826 echo "configure
:14827: checking
for $ac_func" >&5
14827 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14828 echo $ac_n "(cached
) $ac_c" 1>&6
14830 cat > conftest.$ac_ext <<EOF
14831 #line 14832 "configure
"
14832 #include "confdefs.h
"
14833 /* System header to define __stub macros and hopefully few prototypes,
14834 which can conflict with char $ac_func(); below. */
14835 #include <assert.h>
14836 /* Override any gcc2 internal prototype to avoid an error. */
14837 /* We use char because int might match the return type of a gcc2
14838 builtin and then its argument prototype would still apply. */
14843 /* The GNU C library defines this for functions which it implements
14844 to always fail with ENOSYS. Some functions are actually named
14845 something starting with __ and the normal name is an alias. */
14846 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14854 if { (eval echo configure:14855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14856 eval "ac_cv_func_
$ac_func=yes"
14858 echo "configure
: failed program was
:" >&5
14859 cat conftest.$ac_ext >&5
14861 eval "ac_cv_func_
$ac_func=no
"
14866 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14867 echo "$ac_t""yes" 1>&6
14868 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14869 cat >> confdefs.h <<EOF
14870 #define $ac_tr_func 1
14874 echo "$ac_t""no
" 1>&6
14880 echo $ac_n "checking
for _log10f declaration
""...
$ac_c" 1>&6
14881 echo "configure
:14882: checking
for _log10f declaration
" >&5
14882 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
14883 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
14884 echo $ac_n "(cached
) $ac_c" 1>&6
14889 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14890 ac_cpp='$CXXCPP $CPPFLAGS'
14891 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14892 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14893 cross_compiling=$ac_cv_prog_cxx_cross
14895 cat > conftest.$ac_ext <<EOF
14896 #line 14897 "configure
"
14897 #include "confdefs.h
"
14899 #ifdef HAVE_IEEEFP_H
14900 #include <ieeefp.h>
14907 if { (eval echo configure:14908: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14909 glibcpp_cv_func__log10f_use=yes
14911 echo "configure
: failed program was
:" >&5
14912 cat conftest.$ac_ext >&5
14914 glibcpp_cv_func__log10f_use=no
14918 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14919 ac_cpp='$CPP $CPPFLAGS'
14920 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14921 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14922 cross_compiling=$ac_cv_prog_cc_cross
14928 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
14930 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
14931 for ac_func in _log10f
14933 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14934 echo "configure
:14935: checking
for $ac_func" >&5
14935 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14936 echo $ac_n "(cached
) $ac_c" 1>&6
14938 cat > conftest.$ac_ext <<EOF
14939 #line 14940 "configure
"
14940 #include "confdefs.h
"
14941 /* System header to define __stub macros and hopefully few prototypes,
14942 which can conflict with char $ac_func(); below. */
14943 #include <assert.h>
14944 /* Override any gcc2 internal prototype to avoid an error. */
14945 /* We use char because int might match the return type of a gcc2
14946 builtin and then its argument prototype would still apply. */
14951 /* The GNU C library defines this for functions which it implements
14952 to always fail with ENOSYS. Some functions are actually named
14953 something starting with __ and the normal name is an alias. */
14954 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14962 if { (eval echo configure:14963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14964 eval "ac_cv_func_
$ac_func=yes"
14966 echo "configure
: failed program was
:" >&5
14967 cat conftest.$ac_ext >&5
14969 eval "ac_cv_func_
$ac_func=no
"
14974 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14975 echo "$ac_t""yes" 1>&6
14976 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14977 cat >> confdefs.h <<EOF
14978 #define $ac_tr_func 1
14982 echo "$ac_t""no
" 1>&6
14991 echo $ac_n "checking
for modff declaration
""...
$ac_c" 1>&6
14992 echo "configure
:14993: checking
for modff declaration
" >&5
14993 if test x${glibcpp_cv_func_modff_use+set} != xset; then
14994 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
14995 echo $ac_n "(cached
) $ac_c" 1>&6
15000 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15001 ac_cpp='$CXXCPP $CPPFLAGS'
15002 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15003 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15004 cross_compiling=$ac_cv_prog_cxx_cross
15006 cat > conftest.$ac_ext <<EOF
15007 #line 15008 "configure
"
15008 #include "confdefs.h
"
15014 if { (eval echo configure:15015: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15016 glibcpp_cv_func_modff_use=yes
15018 echo "configure
: failed program was
:" >&5
15019 cat conftest.$ac_ext >&5
15021 glibcpp_cv_func_modff_use=no
15025 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15026 ac_cpp='$CPP $CPPFLAGS'
15027 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15028 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15029 cross_compiling=$ac_cv_prog_cc_cross
15035 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
15037 if test x$glibcpp_cv_func_modff_use = x"yes"; then
15038 for ac_func in modff
15040 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15041 echo "configure
:15042: checking
for $ac_func" >&5
15042 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15043 echo $ac_n "(cached
) $ac_c" 1>&6
15045 cat > conftest.$ac_ext <<EOF
15046 #line 15047 "configure
"
15047 #include "confdefs.h
"
15048 /* System header to define __stub macros and hopefully few prototypes,
15049 which can conflict with char $ac_func(); below. */
15050 #include <assert.h>
15051 /* Override any gcc2 internal prototype to avoid an error. */
15052 /* We use char because int might match the return type of a gcc2
15053 builtin and then its argument prototype would still apply. */
15058 /* The GNU C library defines this for functions which it implements
15059 to always fail with ENOSYS. Some functions are actually named
15060 something starting with __ and the normal name is an alias. */
15061 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15069 if { (eval echo configure:15070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15071 eval "ac_cv_func_
$ac_func=yes"
15073 echo "configure
: failed program was
:" >&5
15074 cat conftest.$ac_ext >&5
15076 eval "ac_cv_func_
$ac_func=no
"
15081 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15082 echo "$ac_t""yes" 1>&6
15083 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15084 cat >> confdefs.h <<EOF
15085 #define $ac_tr_func 1
15089 echo "$ac_t""no
" 1>&6
15095 echo $ac_n "checking
for _modff declaration
""...
$ac_c" 1>&6
15096 echo "configure
:15097: checking
for _modff declaration
" >&5
15097 if test x${glibcpp_cv_func__modff_use+set} != xset; then
15098 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
15099 echo $ac_n "(cached
) $ac_c" 1>&6
15104 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15105 ac_cpp='$CXXCPP $CPPFLAGS'
15106 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15107 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15108 cross_compiling=$ac_cv_prog_cxx_cross
15110 cat > conftest.$ac_ext <<EOF
15111 #line 15112 "configure
"
15112 #include "confdefs.h
"
15118 if { (eval echo configure:15119: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15120 glibcpp_cv_func__modff_use=yes
15122 echo "configure
: failed program was
:" >&5
15123 cat conftest.$ac_ext >&5
15125 glibcpp_cv_func__modff_use=no
15129 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15130 ac_cpp='$CPP $CPPFLAGS'
15131 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15132 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15133 cross_compiling=$ac_cv_prog_cc_cross
15139 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
15141 if test x$glibcpp_cv_func__modff_use = x"yes"; then
15142 for ac_func in _modff
15144 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15145 echo "configure
:15146: checking
for $ac_func" >&5
15146 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15147 echo $ac_n "(cached
) $ac_c" 1>&6
15149 cat > conftest.$ac_ext <<EOF
15150 #line 15151 "configure
"
15151 #include "confdefs.h
"
15152 /* System header to define __stub macros and hopefully few prototypes,
15153 which can conflict with char $ac_func(); below. */
15154 #include <assert.h>
15155 /* Override any gcc2 internal prototype to avoid an error. */
15156 /* We use char because int might match the return type of a gcc2
15157 builtin and then its argument prototype would still apply. */
15162 /* The GNU C library defines this for functions which it implements
15163 to always fail with ENOSYS. Some functions are actually named
15164 something starting with __ and the normal name is an alias. */
15165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15173 if { (eval echo configure:15174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15175 eval "ac_cv_func_
$ac_func=yes"
15177 echo "configure
: failed program was
:" >&5
15178 cat conftest.$ac_ext >&5
15180 eval "ac_cv_func_
$ac_func=no
"
15185 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15186 echo "$ac_t""yes" 1>&6
15187 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15188 cat >> confdefs.h <<EOF
15189 #define $ac_tr_func 1
15193 echo "$ac_t""no
" 1>&6
15202 echo $ac_n "checking
for powf declaration
""...
$ac_c" 1>&6
15203 echo "configure
:15204: checking
for powf declaration
" >&5
15204 if test x${glibcpp_cv_func_powf_use+set} != xset; then
15205 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
15206 echo $ac_n "(cached
) $ac_c" 1>&6
15211 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15212 ac_cpp='$CXXCPP $CPPFLAGS'
15213 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15214 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15215 cross_compiling=$ac_cv_prog_cxx_cross
15217 cat > conftest.$ac_ext <<EOF
15218 #line 15219 "configure
"
15219 #include "confdefs.h
"
15225 if { (eval echo configure:15226: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15227 glibcpp_cv_func_powf_use=yes
15229 echo "configure
: failed program was
:" >&5
15230 cat conftest.$ac_ext >&5
15232 glibcpp_cv_func_powf_use=no
15236 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15237 ac_cpp='$CPP $CPPFLAGS'
15238 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15239 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15240 cross_compiling=$ac_cv_prog_cc_cross
15246 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
15248 if test x$glibcpp_cv_func_powf_use = x"yes"; then
15249 for ac_func in powf
15251 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15252 echo "configure
:15253: checking
for $ac_func" >&5
15253 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15254 echo $ac_n "(cached
) $ac_c" 1>&6
15256 cat > conftest.$ac_ext <<EOF
15257 #line 15258 "configure
"
15258 #include "confdefs.h
"
15259 /* System header to define __stub macros and hopefully few prototypes,
15260 which can conflict with char $ac_func(); below. */
15261 #include <assert.h>
15262 /* Override any gcc2 internal prototype to avoid an error. */
15263 /* We use char because int might match the return type of a gcc2
15264 builtin and then its argument prototype would still apply. */
15269 /* The GNU C library defines this for functions which it implements
15270 to always fail with ENOSYS. Some functions are actually named
15271 something starting with __ and the normal name is an alias. */
15272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15280 if { (eval echo configure:15281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15282 eval "ac_cv_func_
$ac_func=yes"
15284 echo "configure
: failed program was
:" >&5
15285 cat conftest.$ac_ext >&5
15287 eval "ac_cv_func_
$ac_func=no
"
15292 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15293 echo "$ac_t""yes" 1>&6
15294 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15295 cat >> confdefs.h <<EOF
15296 #define $ac_tr_func 1
15300 echo "$ac_t""no
" 1>&6
15306 echo $ac_n "checking
for _powf declaration
""...
$ac_c" 1>&6
15307 echo "configure
:15308: checking
for _powf declaration
" >&5
15308 if test x${glibcpp_cv_func__powf_use+set} != xset; then
15309 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
15310 echo $ac_n "(cached
) $ac_c" 1>&6
15315 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15316 ac_cpp='$CXXCPP $CPPFLAGS'
15317 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15318 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15319 cross_compiling=$ac_cv_prog_cxx_cross
15321 cat > conftest.$ac_ext <<EOF
15322 #line 15323 "configure
"
15323 #include "confdefs.h
"
15329 if { (eval echo configure:15330: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15331 glibcpp_cv_func__powf_use=yes
15333 echo "configure
: failed program was
:" >&5
15334 cat conftest.$ac_ext >&5
15336 glibcpp_cv_func__powf_use=no
15340 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15341 ac_cpp='$CPP $CPPFLAGS'
15342 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15343 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15344 cross_compiling=$ac_cv_prog_cc_cross
15350 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
15352 if test x$glibcpp_cv_func__powf_use = x"yes"; then
15353 for ac_func in _powf
15355 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15356 echo "configure
:15357: checking
for $ac_func" >&5
15357 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15358 echo $ac_n "(cached
) $ac_c" 1>&6
15360 cat > conftest.$ac_ext <<EOF
15361 #line 15362 "configure
"
15362 #include "confdefs.h
"
15363 /* System header to define __stub macros and hopefully few prototypes,
15364 which can conflict with char $ac_func(); below. */
15365 #include <assert.h>
15366 /* Override any gcc2 internal prototype to avoid an error. */
15367 /* We use char because int might match the return type of a gcc2
15368 builtin and then its argument prototype would still apply. */
15373 /* The GNU C library defines this for functions which it implements
15374 to always fail with ENOSYS. Some functions are actually named
15375 something starting with __ and the normal name is an alias. */
15376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15384 if { (eval echo configure:15385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15386 eval "ac_cv_func_
$ac_func=yes"
15388 echo "configure
: failed program was
:" >&5
15389 cat conftest.$ac_ext >&5
15391 eval "ac_cv_func_
$ac_func=no
"
15396 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15397 echo "$ac_t""yes" 1>&6
15398 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15399 cat >> confdefs.h <<EOF
15400 #define $ac_tr_func 1
15404 echo "$ac_t""no
" 1>&6
15413 echo $ac_n "checking
for sqrtf declaration
""...
$ac_c" 1>&6
15414 echo "configure
:15415: checking
for sqrtf declaration
" >&5
15415 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
15416 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
15417 echo $ac_n "(cached
) $ac_c" 1>&6
15422 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15423 ac_cpp='$CXXCPP $CPPFLAGS'
15424 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15425 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15426 cross_compiling=$ac_cv_prog_cxx_cross
15428 cat > conftest.$ac_ext <<EOF
15429 #line 15430 "configure
"
15430 #include "confdefs.h
"
15432 #ifdef HAVE_IEEEFP_H
15433 #include <ieeefp.h>
15440 if { (eval echo configure:15441: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15442 glibcpp_cv_func_sqrtf_use=yes
15444 echo "configure
: failed program was
:" >&5
15445 cat conftest.$ac_ext >&5
15447 glibcpp_cv_func_sqrtf_use=no
15451 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15452 ac_cpp='$CPP $CPPFLAGS'
15453 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15454 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15455 cross_compiling=$ac_cv_prog_cc_cross
15461 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
15463 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
15464 for ac_func in sqrtf
15466 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15467 echo "configure
:15468: checking
for $ac_func" >&5
15468 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15469 echo $ac_n "(cached
) $ac_c" 1>&6
15471 cat > conftest.$ac_ext <<EOF
15472 #line 15473 "configure
"
15473 #include "confdefs.h
"
15474 /* System header to define __stub macros and hopefully few prototypes,
15475 which can conflict with char $ac_func(); below. */
15476 #include <assert.h>
15477 /* Override any gcc2 internal prototype to avoid an error. */
15478 /* We use char because int might match the return type of a gcc2
15479 builtin and then its argument prototype would still apply. */
15484 /* The GNU C library defines this for functions which it implements
15485 to always fail with ENOSYS. Some functions are actually named
15486 something starting with __ and the normal name is an alias. */
15487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15495 if { (eval echo configure:15496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15497 eval "ac_cv_func_
$ac_func=yes"
15499 echo "configure
: failed program was
:" >&5
15500 cat conftest.$ac_ext >&5
15502 eval "ac_cv_func_
$ac_func=no
"
15507 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15508 echo "$ac_t""yes" 1>&6
15509 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15510 cat >> confdefs.h <<EOF
15511 #define $ac_tr_func 1
15515 echo "$ac_t""no
" 1>&6
15521 echo $ac_n "checking
for _sqrtf declaration
""...
$ac_c" 1>&6
15522 echo "configure
:15523: checking
for _sqrtf declaration
" >&5
15523 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
15524 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
15525 echo $ac_n "(cached
) $ac_c" 1>&6
15530 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15531 ac_cpp='$CXXCPP $CPPFLAGS'
15532 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15533 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15534 cross_compiling=$ac_cv_prog_cxx_cross
15536 cat > conftest.$ac_ext <<EOF
15537 #line 15538 "configure
"
15538 #include "confdefs.h
"
15540 #ifdef HAVE_IEEEFP_H
15541 #include <ieeefp.h>
15548 if { (eval echo configure:15549: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15550 glibcpp_cv_func__sqrtf_use=yes
15552 echo "configure
: failed program was
:" >&5
15553 cat conftest.$ac_ext >&5
15555 glibcpp_cv_func__sqrtf_use=no
15559 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15560 ac_cpp='$CPP $CPPFLAGS'
15561 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15562 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15563 cross_compiling=$ac_cv_prog_cc_cross
15569 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
15571 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
15572 for ac_func in _sqrtf
15574 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15575 echo "configure
:15576: checking
for $ac_func" >&5
15576 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15577 echo $ac_n "(cached
) $ac_c" 1>&6
15579 cat > conftest.$ac_ext <<EOF
15580 #line 15581 "configure
"
15581 #include "confdefs.h
"
15582 /* System header to define __stub macros and hopefully few prototypes,
15583 which can conflict with char $ac_func(); below. */
15584 #include <assert.h>
15585 /* Override any gcc2 internal prototype to avoid an error. */
15586 /* We use char because int might match the return type of a gcc2
15587 builtin and then its argument prototype would still apply. */
15592 /* The GNU C library defines this for functions which it implements
15593 to always fail with ENOSYS. Some functions are actually named
15594 something starting with __ and the normal name is an alias. */
15595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15603 if { (eval echo configure:15604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15605 eval "ac_cv_func_
$ac_func=yes"
15607 echo "configure
: failed program was
:" >&5
15608 cat conftest.$ac_ext >&5
15610 eval "ac_cv_func_
$ac_func=no
"
15615 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15616 echo "$ac_t""yes" 1>&6
15617 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15618 cat >> confdefs.h <<EOF
15619 #define $ac_tr_func 1
15623 echo "$ac_t""no
" 1>&6
15632 echo $ac_n "checking
for sincosf declaration
""...
$ac_c" 1>&6
15633 echo "configure
:15634: checking
for sincosf declaration
" >&5
15634 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
15635 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
15636 echo $ac_n "(cached
) $ac_c" 1>&6
15641 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15642 ac_cpp='$CXXCPP $CPPFLAGS'
15643 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15644 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15645 cross_compiling=$ac_cv_prog_cxx_cross
15647 cat > conftest.$ac_ext <<EOF
15648 #line 15649 "configure
"
15649 #include "confdefs.h
"
15655 if { (eval echo configure:15656: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15657 glibcpp_cv_func_sincosf_use=yes
15659 echo "configure
: failed program was
:" >&5
15660 cat conftest.$ac_ext >&5
15662 glibcpp_cv_func_sincosf_use=no
15666 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15667 ac_cpp='$CPP $CPPFLAGS'
15668 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15669 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15670 cross_compiling=$ac_cv_prog_cc_cross
15676 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
15678 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
15679 for ac_func in sincosf
15681 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15682 echo "configure
:15683: checking
for $ac_func" >&5
15683 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15684 echo $ac_n "(cached
) $ac_c" 1>&6
15686 cat > conftest.$ac_ext <<EOF
15687 #line 15688 "configure
"
15688 #include "confdefs.h
"
15689 /* System header to define __stub macros and hopefully few prototypes,
15690 which can conflict with char $ac_func(); below. */
15691 #include <assert.h>
15692 /* Override any gcc2 internal prototype to avoid an error. */
15693 /* We use char because int might match the return type of a gcc2
15694 builtin and then its argument prototype would still apply. */
15699 /* The GNU C library defines this for functions which it implements
15700 to always fail with ENOSYS. Some functions are actually named
15701 something starting with __ and the normal name is an alias. */
15702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15710 if { (eval echo configure:15711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15712 eval "ac_cv_func_
$ac_func=yes"
15714 echo "configure
: failed program was
:" >&5
15715 cat conftest.$ac_ext >&5
15717 eval "ac_cv_func_
$ac_func=no
"
15722 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15723 echo "$ac_t""yes" 1>&6
15724 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15725 cat >> confdefs.h <<EOF
15726 #define $ac_tr_func 1
15730 echo "$ac_t""no
" 1>&6
15736 echo $ac_n "checking
for _sincosf declaration
""...
$ac_c" 1>&6
15737 echo "configure
:15738: checking
for _sincosf declaration
" >&5
15738 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
15739 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
15740 echo $ac_n "(cached
) $ac_c" 1>&6
15745 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15746 ac_cpp='$CXXCPP $CPPFLAGS'
15747 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15748 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15749 cross_compiling=$ac_cv_prog_cxx_cross
15751 cat > conftest.$ac_ext <<EOF
15752 #line 15753 "configure
"
15753 #include "confdefs.h
"
15759 if { (eval echo configure:15760: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15761 glibcpp_cv_func__sincosf_use=yes
15763 echo "configure
: failed program was
:" >&5
15764 cat conftest.$ac_ext >&5
15766 glibcpp_cv_func__sincosf_use=no
15770 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15771 ac_cpp='$CPP $CPPFLAGS'
15772 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15773 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15774 cross_compiling=$ac_cv_prog_cc_cross
15780 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
15782 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
15783 for ac_func in _sincosf
15785 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15786 echo "configure
:15787: checking
for $ac_func" >&5
15787 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15788 echo $ac_n "(cached
) $ac_c" 1>&6
15790 cat > conftest.$ac_ext <<EOF
15791 #line 15792 "configure
"
15792 #include "confdefs.h
"
15793 /* System header to define __stub macros and hopefully few prototypes,
15794 which can conflict with char $ac_func(); below. */
15795 #include <assert.h>
15796 /* Override any gcc2 internal prototype to avoid an error. */
15797 /* We use char because int might match the return type of a gcc2
15798 builtin and then its argument prototype would still apply. */
15803 /* The GNU C library defines this for functions which it implements
15804 to always fail with ENOSYS. Some functions are actually named
15805 something starting with __ and the normal name is an alias. */
15806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15814 if { (eval echo configure:15815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15816 eval "ac_cv_func_
$ac_func=yes"
15818 echo "configure
: failed program was
:" >&5
15819 cat conftest.$ac_ext >&5
15821 eval "ac_cv_func_
$ac_func=no
"
15826 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15827 echo "$ac_t""yes" 1>&6
15828 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15829 cat >> confdefs.h <<EOF
15830 #define $ac_tr_func 1
15834 echo "$ac_t""no
" 1>&6
15843 echo $ac_n "checking
for finitef declaration
""...
$ac_c" 1>&6
15844 echo "configure
:15845: checking
for finitef declaration
" >&5
15845 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
15846 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
15847 echo $ac_n "(cached
) $ac_c" 1>&6
15852 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15853 ac_cpp='$CXXCPP $CPPFLAGS'
15854 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15855 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15856 cross_compiling=$ac_cv_prog_cxx_cross
15858 cat > conftest.$ac_ext <<EOF
15859 #line 15860 "configure
"
15860 #include "confdefs.h
"
15862 #ifdef HAVE_IEEEFP_H
15863 #include <ieeefp.h>
15870 if { (eval echo configure:15871: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15872 glibcpp_cv_func_finitef_use=yes
15874 echo "configure
: failed program was
:" >&5
15875 cat conftest.$ac_ext >&5
15877 glibcpp_cv_func_finitef_use=no
15881 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15882 ac_cpp='$CPP $CPPFLAGS'
15883 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15884 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15885 cross_compiling=$ac_cv_prog_cc_cross
15891 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
15893 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
15894 for ac_func in finitef
15896 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15897 echo "configure
:15898: checking
for $ac_func" >&5
15898 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15899 echo $ac_n "(cached
) $ac_c" 1>&6
15901 cat > conftest.$ac_ext <<EOF
15902 #line 15903 "configure
"
15903 #include "confdefs.h
"
15904 /* System header to define __stub macros and hopefully few prototypes,
15905 which can conflict with char $ac_func(); below. */
15906 #include <assert.h>
15907 /* Override any gcc2 internal prototype to avoid an error. */
15908 /* We use char because int might match the return type of a gcc2
15909 builtin and then its argument prototype would still apply. */
15914 /* The GNU C library defines this for functions which it implements
15915 to always fail with ENOSYS. Some functions are actually named
15916 something starting with __ and the normal name is an alias. */
15917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15925 if { (eval echo configure:15926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15927 eval "ac_cv_func_
$ac_func=yes"
15929 echo "configure
: failed program was
:" >&5
15930 cat conftest.$ac_ext >&5
15932 eval "ac_cv_func_
$ac_func=no
"
15937 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15938 echo "$ac_t""yes" 1>&6
15939 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15940 cat >> confdefs.h <<EOF
15941 #define $ac_tr_func 1
15945 echo "$ac_t""no
" 1>&6
15951 echo $ac_n "checking
for _finitef declaration
""...
$ac_c" 1>&6
15952 echo "configure
:15953: checking
for _finitef declaration
" >&5
15953 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
15954 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
15955 echo $ac_n "(cached
) $ac_c" 1>&6
15960 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15961 ac_cpp='$CXXCPP $CPPFLAGS'
15962 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15963 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15964 cross_compiling=$ac_cv_prog_cxx_cross
15966 cat > conftest.$ac_ext <<EOF
15967 #line 15968 "configure
"
15968 #include "confdefs.h
"
15970 #ifdef HAVE_IEEEFP_H
15971 #include <ieeefp.h>
15978 if { (eval echo configure:15979: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15980 glibcpp_cv_func__finitef_use=yes
15982 echo "configure
: failed program was
:" >&5
15983 cat conftest.$ac_ext >&5
15985 glibcpp_cv_func__finitef_use=no
15989 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15990 ac_cpp='$CPP $CPPFLAGS'
15991 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15992 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15993 cross_compiling=$ac_cv_prog_cc_cross
15999 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
16001 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
16002 for ac_func in _finitef
16004 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16005 echo "configure
:16006: checking
for $ac_func" >&5
16006 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16007 echo $ac_n "(cached
) $ac_c" 1>&6
16009 cat > conftest.$ac_ext <<EOF
16010 #line 16011 "configure
"
16011 #include "confdefs.h
"
16012 /* System header to define __stub macros and hopefully few prototypes,
16013 which can conflict with char $ac_func(); below. */
16014 #include <assert.h>
16015 /* Override any gcc2 internal prototype to avoid an error. */
16016 /* We use char because int might match the return type of a gcc2
16017 builtin and then its argument prototype would still apply. */
16022 /* The GNU C library defines this for functions which it implements
16023 to always fail with ENOSYS. Some functions are actually named
16024 something starting with __ and the normal name is an alias. */
16025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16033 if { (eval echo configure:16034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16035 eval "ac_cv_func_
$ac_func=yes"
16037 echo "configure
: failed program was
:" >&5
16038 cat conftest.$ac_ext >&5
16040 eval "ac_cv_func_
$ac_func=no
"
16045 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16046 echo "$ac_t""yes" 1>&6
16047 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16048 cat >> confdefs.h <<EOF
16049 #define $ac_tr_func 1
16053 echo "$ac_t""no
" 1>&6
16062 echo $ac_n "checking
for long double trig functions
""...
$ac_c" 1>&6
16063 echo "configure
:16064: checking
for long double trig functions
" >&5
16064 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
16065 echo $ac_n "(cached
) $ac_c" 1>&6
16070 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16071 ac_cpp='$CXXCPP $CPPFLAGS'
16072 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16073 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16074 cross_compiling=$ac_cv_prog_cxx_cross
16076 cat > conftest.$ac_ext <<EOF
16077 #line 16078 "configure
"
16078 #include "confdefs.h
"
16081 `for x in acosl asinl atanl \
16083 coshl sinhl tanhl; do echo "$x (0);"; done`
16086 if { (eval echo configure:16087: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16088 glibcpp_cv_func_long_double_trig_use=yes
16090 echo "configure
: failed program was
:" >&5
16091 cat conftest.$ac_ext >&5
16093 glibcpp_cv_func_long_double_trig_use=no
16097 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16098 ac_cpp='$CPP $CPPFLAGS'
16099 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16100 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16101 cross_compiling=$ac_cv_prog_cc_cross
16105 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
16106 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
16107 for ac_func in acosl asinl atanl \
16111 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16112 echo "configure
:16113: checking
for $ac_func" >&5
16113 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16114 echo $ac_n "(cached
) $ac_c" 1>&6
16116 cat > conftest.$ac_ext <<EOF
16117 #line 16118 "configure
"
16118 #include "confdefs.h
"
16119 /* System header to define __stub macros and hopefully few prototypes,
16120 which can conflict with char $ac_func(); below. */
16121 #include <assert.h>
16122 /* Override any gcc2 internal prototype to avoid an error. */
16123 /* We use char because int might match the return type of a gcc2
16124 builtin and then its argument prototype would still apply. */
16129 /* The GNU C library defines this for functions which it implements
16130 to always fail with ENOSYS. Some functions are actually named
16131 something starting with __ and the normal name is an alias. */
16132 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16140 if { (eval echo configure:16141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16142 eval "ac_cv_func_
$ac_func=yes"
16144 echo "configure
: failed program was
:" >&5
16145 cat conftest.$ac_ext >&5
16147 eval "ac_cv_func_
$ac_func=no
"
16152 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16153 echo "$ac_t""yes" 1>&6
16154 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16155 cat >> confdefs.h <<EOF
16156 #define $ac_tr_func 1
16160 echo "$ac_t""no
" 1>&6
16167 echo $ac_n "checking
for long double round functions
""...
$ac_c" 1>&6
16168 echo "configure
:16169: checking
for long double round functions
" >&5
16169 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
16170 echo $ac_n "(cached
) $ac_c" 1>&6
16175 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16176 ac_cpp='$CXXCPP $CPPFLAGS'
16177 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16178 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16179 cross_compiling=$ac_cv_prog_cxx_cross
16181 cat > conftest.$ac_ext <<EOF
16182 #line 16183 "configure
"
16183 #include "confdefs.h
"
16186 `for x in ceill floorl; do echo "$x (0);"; done`
16189 if { (eval echo configure:16190: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16191 glibcpp_cv_func_long_double_round_use=yes
16193 echo "configure
: failed program was
:" >&5
16194 cat conftest.$ac_ext >&5
16196 glibcpp_cv_func_long_double_round_use=no
16200 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16201 ac_cpp='$CPP $CPPFLAGS'
16202 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16203 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16204 cross_compiling=$ac_cv_prog_cc_cross
16208 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
16209 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
16210 for ac_func in ceill floorl
16212 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16213 echo "configure
:16214: checking
for $ac_func" >&5
16214 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16215 echo $ac_n "(cached
) $ac_c" 1>&6
16217 cat > conftest.$ac_ext <<EOF
16218 #line 16219 "configure
"
16219 #include "confdefs.h
"
16220 /* System header to define __stub macros and hopefully few prototypes,
16221 which can conflict with char $ac_func(); below. */
16222 #include <assert.h>
16223 /* Override any gcc2 internal prototype to avoid an error. */
16224 /* We use char because int might match the return type of a gcc2
16225 builtin and then its argument prototype would still apply. */
16230 /* The GNU C library defines this for functions which it implements
16231 to always fail with ENOSYS. Some functions are actually named
16232 something starting with __ and the normal name is an alias. */
16233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16241 if { (eval echo configure:16242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16243 eval "ac_cv_func_
$ac_func=yes"
16245 echo "configure
: failed program was
:" >&5
16246 cat conftest.$ac_ext >&5
16248 eval "ac_cv_func_
$ac_func=no
"
16253 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16254 echo "$ac_t""yes" 1>&6
16255 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16256 cat >> confdefs.h <<EOF
16257 #define $ac_tr_func 1
16261 echo "$ac_t""no
" 1>&6
16269 echo $ac_n "checking
for isnanl declaration
""...
$ac_c" 1>&6
16270 echo "configure
:16271: checking
for isnanl declaration
" >&5
16271 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
16272 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
16273 echo $ac_n "(cached
) $ac_c" 1>&6
16278 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16279 ac_cpp='$CXXCPP $CPPFLAGS'
16280 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16281 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16282 cross_compiling=$ac_cv_prog_cxx_cross
16284 cat > conftest.$ac_ext <<EOF
16285 #line 16286 "configure
"
16286 #include "confdefs.h
"
16288 #ifdef HAVE_IEEEFP_H
16289 #include <ieeefp.h>
16296 if { (eval echo configure:16297: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16298 glibcpp_cv_func_isnanl_use=yes
16300 echo "configure
: failed program was
:" >&5
16301 cat conftest.$ac_ext >&5
16303 glibcpp_cv_func_isnanl_use=no
16307 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16308 ac_cpp='$CPP $CPPFLAGS'
16309 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16310 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16311 cross_compiling=$ac_cv_prog_cc_cross
16317 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
16319 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
16320 for ac_func in isnanl
16322 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16323 echo "configure
:16324: checking
for $ac_func" >&5
16324 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16325 echo $ac_n "(cached
) $ac_c" 1>&6
16327 cat > conftest.$ac_ext <<EOF
16328 #line 16329 "configure
"
16329 #include "confdefs.h
"
16330 /* System header to define __stub macros and hopefully few prototypes,
16331 which can conflict with char $ac_func(); below. */
16332 #include <assert.h>
16333 /* Override any gcc2 internal prototype to avoid an error. */
16334 /* We use char because int might match the return type of a gcc2
16335 builtin and then its argument prototype would still apply. */
16340 /* The GNU C library defines this for functions which it implements
16341 to always fail with ENOSYS. Some functions are actually named
16342 something starting with __ and the normal name is an alias. */
16343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16351 if { (eval echo configure:16352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16353 eval "ac_cv_func_
$ac_func=yes"
16355 echo "configure
: failed program was
:" >&5
16356 cat conftest.$ac_ext >&5
16358 eval "ac_cv_func_
$ac_func=no
"
16363 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16364 echo "$ac_t""yes" 1>&6
16365 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16366 cat >> confdefs.h <<EOF
16367 #define $ac_tr_func 1
16371 echo "$ac_t""no
" 1>&6
16377 echo $ac_n "checking
for _isnanl declaration
""...
$ac_c" 1>&6
16378 echo "configure
:16379: checking
for _isnanl declaration
" >&5
16379 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
16380 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
16381 echo $ac_n "(cached
) $ac_c" 1>&6
16386 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16387 ac_cpp='$CXXCPP $CPPFLAGS'
16388 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16389 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16390 cross_compiling=$ac_cv_prog_cxx_cross
16392 cat > conftest.$ac_ext <<EOF
16393 #line 16394 "configure
"
16394 #include "confdefs.h
"
16396 #ifdef HAVE_IEEEFP_H
16397 #include <ieeefp.h>
16404 if { (eval echo configure:16405: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16406 glibcpp_cv_func__isnanl_use=yes
16408 echo "configure
: failed program was
:" >&5
16409 cat conftest.$ac_ext >&5
16411 glibcpp_cv_func__isnanl_use=no
16415 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16416 ac_cpp='$CPP $CPPFLAGS'
16417 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16418 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16419 cross_compiling=$ac_cv_prog_cc_cross
16425 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
16427 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
16428 for ac_func in _isnanl
16430 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16431 echo "configure
:16432: checking
for $ac_func" >&5
16432 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16433 echo $ac_n "(cached
) $ac_c" 1>&6
16435 cat > conftest.$ac_ext <<EOF
16436 #line 16437 "configure
"
16437 #include "confdefs.h
"
16438 /* System header to define __stub macros and hopefully few prototypes,
16439 which can conflict with char $ac_func(); below. */
16440 #include <assert.h>
16441 /* Override any gcc2 internal prototype to avoid an error. */
16442 /* We use char because int might match the return type of a gcc2
16443 builtin and then its argument prototype would still apply. */
16448 /* The GNU C library defines this for functions which it implements
16449 to always fail with ENOSYS. Some functions are actually named
16450 something starting with __ and the normal name is an alias. */
16451 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16459 if { (eval echo configure:16460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16461 eval "ac_cv_func_
$ac_func=yes"
16463 echo "configure
: failed program was
:" >&5
16464 cat conftest.$ac_ext >&5
16466 eval "ac_cv_func_
$ac_func=no
"
16471 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16472 echo "$ac_t""yes" 1>&6
16473 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16474 cat >> confdefs.h <<EOF
16475 #define $ac_tr_func 1
16479 echo "$ac_t""no
" 1>&6
16488 echo $ac_n "checking
for isinfl declaration
""...
$ac_c" 1>&6
16489 echo "configure
:16490: checking
for isinfl declaration
" >&5
16490 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
16491 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
16492 echo $ac_n "(cached
) $ac_c" 1>&6
16497 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16498 ac_cpp='$CXXCPP $CPPFLAGS'
16499 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16500 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16501 cross_compiling=$ac_cv_prog_cxx_cross
16503 cat > conftest.$ac_ext <<EOF
16504 #line 16505 "configure
"
16505 #include "confdefs.h
"
16507 #ifdef HAVE_IEEEFP_H
16508 #include <ieeefp.h>
16515 if { (eval echo configure:16516: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16517 glibcpp_cv_func_isinfl_use=yes
16519 echo "configure
: failed program was
:" >&5
16520 cat conftest.$ac_ext >&5
16522 glibcpp_cv_func_isinfl_use=no
16526 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16527 ac_cpp='$CPP $CPPFLAGS'
16528 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16529 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16530 cross_compiling=$ac_cv_prog_cc_cross
16536 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
16538 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
16539 for ac_func in isinfl
16541 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16542 echo "configure
:16543: checking
for $ac_func" >&5
16543 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16544 echo $ac_n "(cached
) $ac_c" 1>&6
16546 cat > conftest.$ac_ext <<EOF
16547 #line 16548 "configure
"
16548 #include "confdefs.h
"
16549 /* System header to define __stub macros and hopefully few prototypes,
16550 which can conflict with char $ac_func(); below. */
16551 #include <assert.h>
16552 /* Override any gcc2 internal prototype to avoid an error. */
16553 /* We use char because int might match the return type of a gcc2
16554 builtin and then its argument prototype would still apply. */
16559 /* The GNU C library defines this for functions which it implements
16560 to always fail with ENOSYS. Some functions are actually named
16561 something starting with __ and the normal name is an alias. */
16562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16570 if { (eval echo configure:16571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16572 eval "ac_cv_func_
$ac_func=yes"
16574 echo "configure
: failed program was
:" >&5
16575 cat conftest.$ac_ext >&5
16577 eval "ac_cv_func_
$ac_func=no
"
16582 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16583 echo "$ac_t""yes" 1>&6
16584 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16585 cat >> confdefs.h <<EOF
16586 #define $ac_tr_func 1
16590 echo "$ac_t""no
" 1>&6
16596 echo $ac_n "checking
for _isinfl declaration
""...
$ac_c" 1>&6
16597 echo "configure
:16598: checking
for _isinfl declaration
" >&5
16598 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
16599 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
16600 echo $ac_n "(cached
) $ac_c" 1>&6
16605 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16606 ac_cpp='$CXXCPP $CPPFLAGS'
16607 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16608 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16609 cross_compiling=$ac_cv_prog_cxx_cross
16611 cat > conftest.$ac_ext <<EOF
16612 #line 16613 "configure
"
16613 #include "confdefs.h
"
16615 #ifdef HAVE_IEEEFP_H
16616 #include <ieeefp.h>
16623 if { (eval echo configure:16624: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16625 glibcpp_cv_func__isinfl_use=yes
16627 echo "configure
: failed program was
:" >&5
16628 cat conftest.$ac_ext >&5
16630 glibcpp_cv_func__isinfl_use=no
16634 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16635 ac_cpp='$CPP $CPPFLAGS'
16636 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16637 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16638 cross_compiling=$ac_cv_prog_cc_cross
16644 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
16646 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
16647 for ac_func in _isinfl
16649 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16650 echo "configure
:16651: checking
for $ac_func" >&5
16651 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16652 echo $ac_n "(cached
) $ac_c" 1>&6
16654 cat > conftest.$ac_ext <<EOF
16655 #line 16656 "configure
"
16656 #include "confdefs.h
"
16657 /* System header to define __stub macros and hopefully few prototypes,
16658 which can conflict with char $ac_func(); below. */
16659 #include <assert.h>
16660 /* Override any gcc2 internal prototype to avoid an error. */
16661 /* We use char because int might match the return type of a gcc2
16662 builtin and then its argument prototype would still apply. */
16667 /* The GNU C library defines this for functions which it implements
16668 to always fail with ENOSYS. Some functions are actually named
16669 something starting with __ and the normal name is an alias. */
16670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16678 if { (eval echo configure:16679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16680 eval "ac_cv_func_
$ac_func=yes"
16682 echo "configure
: failed program was
:" >&5
16683 cat conftest.$ac_ext >&5
16685 eval "ac_cv_func_
$ac_func=no
"
16690 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16691 echo "$ac_t""yes" 1>&6
16692 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16693 cat >> confdefs.h <<EOF
16694 #define $ac_tr_func 1
16698 echo "$ac_t""no
" 1>&6
16707 echo $ac_n "checking
for copysignl declaration
""...
$ac_c" 1>&6
16708 echo "configure
:16709: checking
for copysignl declaration
" >&5
16709 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
16710 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
16711 echo $ac_n "(cached
) $ac_c" 1>&6
16716 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16717 ac_cpp='$CXXCPP $CPPFLAGS'
16718 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16719 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16720 cross_compiling=$ac_cv_prog_cxx_cross
16722 cat > conftest.$ac_ext <<EOF
16723 #line 16724 "configure
"
16724 #include "confdefs.h
"
16730 if { (eval echo configure:16731: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16732 glibcpp_cv_func_copysignl_use=yes
16734 echo "configure
: failed program was
:" >&5
16735 cat conftest.$ac_ext >&5
16737 glibcpp_cv_func_copysignl_use=no
16741 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16742 ac_cpp='$CPP $CPPFLAGS'
16743 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16744 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16745 cross_compiling=$ac_cv_prog_cc_cross
16751 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
16753 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
16754 for ac_func in copysignl
16756 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16757 echo "configure
:16758: checking
for $ac_func" >&5
16758 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16759 echo $ac_n "(cached
) $ac_c" 1>&6
16761 cat > conftest.$ac_ext <<EOF
16762 #line 16763 "configure
"
16763 #include "confdefs.h
"
16764 /* System header to define __stub macros and hopefully few prototypes,
16765 which can conflict with char $ac_func(); below. */
16766 #include <assert.h>
16767 /* Override any gcc2 internal prototype to avoid an error. */
16768 /* We use char because int might match the return type of a gcc2
16769 builtin and then its argument prototype would still apply. */
16774 /* The GNU C library defines this for functions which it implements
16775 to always fail with ENOSYS. Some functions are actually named
16776 something starting with __ and the normal name is an alias. */
16777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16785 if { (eval echo configure:16786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16787 eval "ac_cv_func_
$ac_func=yes"
16789 echo "configure
: failed program was
:" >&5
16790 cat conftest.$ac_ext >&5
16792 eval "ac_cv_func_
$ac_func=no
"
16797 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16798 echo "$ac_t""yes" 1>&6
16799 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16800 cat >> confdefs.h <<EOF
16801 #define $ac_tr_func 1
16805 echo "$ac_t""no
" 1>&6
16811 echo $ac_n "checking
for _copysignl declaration
""...
$ac_c" 1>&6
16812 echo "configure
:16813: checking
for _copysignl declaration
" >&5
16813 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
16814 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
16815 echo $ac_n "(cached
) $ac_c" 1>&6
16820 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16821 ac_cpp='$CXXCPP $CPPFLAGS'
16822 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16823 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16824 cross_compiling=$ac_cv_prog_cxx_cross
16826 cat > conftest.$ac_ext <<EOF
16827 #line 16828 "configure
"
16828 #include "confdefs.h
"
16834 if { (eval echo configure:16835: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16836 glibcpp_cv_func__copysignl_use=yes
16838 echo "configure
: failed program was
:" >&5
16839 cat conftest.$ac_ext >&5
16841 glibcpp_cv_func__copysignl_use=no
16845 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16846 ac_cpp='$CPP $CPPFLAGS'
16847 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16848 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16849 cross_compiling=$ac_cv_prog_cc_cross
16855 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
16857 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
16858 for ac_func in _copysignl
16860 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16861 echo "configure
:16862: checking
for $ac_func" >&5
16862 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16863 echo $ac_n "(cached
) $ac_c" 1>&6
16865 cat > conftest.$ac_ext <<EOF
16866 #line 16867 "configure
"
16867 #include "confdefs.h
"
16868 /* System header to define __stub macros and hopefully few prototypes,
16869 which can conflict with char $ac_func(); below. */
16870 #include <assert.h>
16871 /* Override any gcc2 internal prototype to avoid an error. */
16872 /* We use char because int might match the return type of a gcc2
16873 builtin and then its argument prototype would still apply. */
16878 /* The GNU C library defines this for functions which it implements
16879 to always fail with ENOSYS. Some functions are actually named
16880 something starting with __ and the normal name is an alias. */
16881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16889 if { (eval echo configure:16890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16891 eval "ac_cv_func_
$ac_func=yes"
16893 echo "configure
: failed program was
:" >&5
16894 cat conftest.$ac_ext >&5
16896 eval "ac_cv_func_
$ac_func=no
"
16901 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16902 echo "$ac_t""yes" 1>&6
16903 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16904 cat >> confdefs.h <<EOF
16905 #define $ac_tr_func 1
16909 echo "$ac_t""no
" 1>&6
16918 echo $ac_n "checking
for atan2l declaration
""...
$ac_c" 1>&6
16919 echo "configure
:16920: checking
for atan2l declaration
" >&5
16920 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
16921 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
16922 echo $ac_n "(cached
) $ac_c" 1>&6
16927 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16928 ac_cpp='$CXXCPP $CPPFLAGS'
16929 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16930 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16931 cross_compiling=$ac_cv_prog_cxx_cross
16933 cat > conftest.$ac_ext <<EOF
16934 #line 16935 "configure
"
16935 #include "confdefs.h
"
16941 if { (eval echo configure:16942: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16943 glibcpp_cv_func_atan2l_use=yes
16945 echo "configure
: failed program was
:" >&5
16946 cat conftest.$ac_ext >&5
16948 glibcpp_cv_func_atan2l_use=no
16952 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16953 ac_cpp='$CPP $CPPFLAGS'
16954 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16955 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16956 cross_compiling=$ac_cv_prog_cc_cross
16962 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
16964 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
16965 for ac_func in atan2l
16967 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16968 echo "configure
:16969: checking
for $ac_func" >&5
16969 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16970 echo $ac_n "(cached
) $ac_c" 1>&6
16972 cat > conftest.$ac_ext <<EOF
16973 #line 16974 "configure
"
16974 #include "confdefs.h
"
16975 /* System header to define __stub macros and hopefully few prototypes,
16976 which can conflict with char $ac_func(); below. */
16977 #include <assert.h>
16978 /* Override any gcc2 internal prototype to avoid an error. */
16979 /* We use char because int might match the return type of a gcc2
16980 builtin and then its argument prototype would still apply. */
16985 /* The GNU C library defines this for functions which it implements
16986 to always fail with ENOSYS. Some functions are actually named
16987 something starting with __ and the normal name is an alias. */
16988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16996 if { (eval echo configure:16997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16998 eval "ac_cv_func_
$ac_func=yes"
17000 echo "configure
: failed program was
:" >&5
17001 cat conftest.$ac_ext >&5
17003 eval "ac_cv_func_
$ac_func=no
"
17008 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17009 echo "$ac_t""yes" 1>&6
17010 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17011 cat >> confdefs.h <<EOF
17012 #define $ac_tr_func 1
17016 echo "$ac_t""no
" 1>&6
17022 echo $ac_n "checking
for _atan2l declaration
""...
$ac_c" 1>&6
17023 echo "configure
:17024: checking
for _atan2l declaration
" >&5
17024 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
17025 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
17026 echo $ac_n "(cached
) $ac_c" 1>&6
17031 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17032 ac_cpp='$CXXCPP $CPPFLAGS'
17033 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17034 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17035 cross_compiling=$ac_cv_prog_cxx_cross
17037 cat > conftest.$ac_ext <<EOF
17038 #line 17039 "configure
"
17039 #include "confdefs.h
"
17045 if { (eval echo configure:17046: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17047 glibcpp_cv_func__atan2l_use=yes
17049 echo "configure
: failed program was
:" >&5
17050 cat conftest.$ac_ext >&5
17052 glibcpp_cv_func__atan2l_use=no
17056 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17057 ac_cpp='$CPP $CPPFLAGS'
17058 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17059 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17060 cross_compiling=$ac_cv_prog_cc_cross
17066 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
17068 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
17069 for ac_func in _atan2l
17071 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17072 echo "configure
:17073: checking
for $ac_func" >&5
17073 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17074 echo $ac_n "(cached
) $ac_c" 1>&6
17076 cat > conftest.$ac_ext <<EOF
17077 #line 17078 "configure
"
17078 #include "confdefs.h
"
17079 /* System header to define __stub macros and hopefully few prototypes,
17080 which can conflict with char $ac_func(); below. */
17081 #include <assert.h>
17082 /* Override any gcc2 internal prototype to avoid an error. */
17083 /* We use char because int might match the return type of a gcc2
17084 builtin and then its argument prototype would still apply. */
17089 /* The GNU C library defines this for functions which it implements
17090 to always fail with ENOSYS. Some functions are actually named
17091 something starting with __ and the normal name is an alias. */
17092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17100 if { (eval echo configure:17101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17102 eval "ac_cv_func_
$ac_func=yes"
17104 echo "configure
: failed program was
:" >&5
17105 cat conftest.$ac_ext >&5
17107 eval "ac_cv_func_
$ac_func=no
"
17112 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17113 echo "$ac_t""yes" 1>&6
17114 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17115 cat >> confdefs.h <<EOF
17116 #define $ac_tr_func 1
17120 echo "$ac_t""no
" 1>&6
17129 echo $ac_n "checking
for expl declaration
""...
$ac_c" 1>&6
17130 echo "configure
:17131: checking
for expl declaration
" >&5
17131 if test x${glibcpp_cv_func_expl_use+set} != xset; then
17132 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
17133 echo $ac_n "(cached
) $ac_c" 1>&6
17138 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17139 ac_cpp='$CXXCPP $CPPFLAGS'
17140 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17141 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17142 cross_compiling=$ac_cv_prog_cxx_cross
17144 cat > conftest.$ac_ext <<EOF
17145 #line 17146 "configure
"
17146 #include "confdefs.h
"
17148 #ifdef HAVE_IEEEFP_H
17149 #include <ieeefp.h>
17156 if { (eval echo configure:17157: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17158 glibcpp_cv_func_expl_use=yes
17160 echo "configure
: failed program was
:" >&5
17161 cat conftest.$ac_ext >&5
17163 glibcpp_cv_func_expl_use=no
17167 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17168 ac_cpp='$CPP $CPPFLAGS'
17169 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17170 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17171 cross_compiling=$ac_cv_prog_cc_cross
17177 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
17179 if test x$glibcpp_cv_func_expl_use = x"yes"; then
17180 for ac_func in expl
17182 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17183 echo "configure
:17184: checking
for $ac_func" >&5
17184 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17185 echo $ac_n "(cached
) $ac_c" 1>&6
17187 cat > conftest.$ac_ext <<EOF
17188 #line 17189 "configure
"
17189 #include "confdefs.h
"
17190 /* System header to define __stub macros and hopefully few prototypes,
17191 which can conflict with char $ac_func(); below. */
17192 #include <assert.h>
17193 /* Override any gcc2 internal prototype to avoid an error. */
17194 /* We use char because int might match the return type of a gcc2
17195 builtin and then its argument prototype would still apply. */
17200 /* The GNU C library defines this for functions which it implements
17201 to always fail with ENOSYS. Some functions are actually named
17202 something starting with __ and the normal name is an alias. */
17203 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17211 if { (eval echo configure:17212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17213 eval "ac_cv_func_
$ac_func=yes"
17215 echo "configure
: failed program was
:" >&5
17216 cat conftest.$ac_ext >&5
17218 eval "ac_cv_func_
$ac_func=no
"
17223 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17224 echo "$ac_t""yes" 1>&6
17225 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17226 cat >> confdefs.h <<EOF
17227 #define $ac_tr_func 1
17231 echo "$ac_t""no
" 1>&6
17237 echo $ac_n "checking
for _expl declaration
""...
$ac_c" 1>&6
17238 echo "configure
:17239: checking
for _expl declaration
" >&5
17239 if test x${glibcpp_cv_func__expl_use+set} != xset; then
17240 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
17241 echo $ac_n "(cached
) $ac_c" 1>&6
17246 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17247 ac_cpp='$CXXCPP $CPPFLAGS'
17248 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17249 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17250 cross_compiling=$ac_cv_prog_cxx_cross
17252 cat > conftest.$ac_ext <<EOF
17253 #line 17254 "configure
"
17254 #include "confdefs.h
"
17256 #ifdef HAVE_IEEEFP_H
17257 #include <ieeefp.h>
17264 if { (eval echo configure:17265: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17266 glibcpp_cv_func__expl_use=yes
17268 echo "configure
: failed program was
:" >&5
17269 cat conftest.$ac_ext >&5
17271 glibcpp_cv_func__expl_use=no
17275 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17276 ac_cpp='$CPP $CPPFLAGS'
17277 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17278 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17279 cross_compiling=$ac_cv_prog_cc_cross
17285 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
17287 if test x$glibcpp_cv_func__expl_use = x"yes"; then
17288 for ac_func in _expl
17290 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17291 echo "configure
:17292: checking
for $ac_func" >&5
17292 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17293 echo $ac_n "(cached
) $ac_c" 1>&6
17295 cat > conftest.$ac_ext <<EOF
17296 #line 17297 "configure
"
17297 #include "confdefs.h
"
17298 /* System header to define __stub macros and hopefully few prototypes,
17299 which can conflict with char $ac_func(); below. */
17300 #include <assert.h>
17301 /* Override any gcc2 internal prototype to avoid an error. */
17302 /* We use char because int might match the return type of a gcc2
17303 builtin and then its argument prototype would still apply. */
17308 /* The GNU C library defines this for functions which it implements
17309 to always fail with ENOSYS. Some functions are actually named
17310 something starting with __ and the normal name is an alias. */
17311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17319 if { (eval echo configure:17320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17321 eval "ac_cv_func_
$ac_func=yes"
17323 echo "configure
: failed program was
:" >&5
17324 cat conftest.$ac_ext >&5
17326 eval "ac_cv_func_
$ac_func=no
"
17331 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17332 echo "$ac_t""yes" 1>&6
17333 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17334 cat >> confdefs.h <<EOF
17335 #define $ac_tr_func 1
17339 echo "$ac_t""no
" 1>&6
17348 echo $ac_n "checking
for fabsl declaration
""...
$ac_c" 1>&6
17349 echo "configure
:17350: checking
for fabsl declaration
" >&5
17350 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
17351 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
17352 echo $ac_n "(cached
) $ac_c" 1>&6
17357 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17358 ac_cpp='$CXXCPP $CPPFLAGS'
17359 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17360 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17361 cross_compiling=$ac_cv_prog_cxx_cross
17363 cat > conftest.$ac_ext <<EOF
17364 #line 17365 "configure
"
17365 #include "confdefs.h
"
17367 #ifdef HAVE_IEEEFP_H
17368 #include <ieeefp.h>
17375 if { (eval echo configure:17376: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17377 glibcpp_cv_func_fabsl_use=yes
17379 echo "configure
: failed program was
:" >&5
17380 cat conftest.$ac_ext >&5
17382 glibcpp_cv_func_fabsl_use=no
17386 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17387 ac_cpp='$CPP $CPPFLAGS'
17388 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17389 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17390 cross_compiling=$ac_cv_prog_cc_cross
17396 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
17398 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
17399 for ac_func in fabsl
17401 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17402 echo "configure
:17403: checking
for $ac_func" >&5
17403 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17404 echo $ac_n "(cached
) $ac_c" 1>&6
17406 cat > conftest.$ac_ext <<EOF
17407 #line 17408 "configure
"
17408 #include "confdefs.h
"
17409 /* System header to define __stub macros and hopefully few prototypes,
17410 which can conflict with char $ac_func(); below. */
17411 #include <assert.h>
17412 /* Override any gcc2 internal prototype to avoid an error. */
17413 /* We use char because int might match the return type of a gcc2
17414 builtin and then its argument prototype would still apply. */
17419 /* The GNU C library defines this for functions which it implements
17420 to always fail with ENOSYS. Some functions are actually named
17421 something starting with __ and the normal name is an alias. */
17422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17430 if { (eval echo configure:17431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17432 eval "ac_cv_func_
$ac_func=yes"
17434 echo "configure
: failed program was
:" >&5
17435 cat conftest.$ac_ext >&5
17437 eval "ac_cv_func_
$ac_func=no
"
17442 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17443 echo "$ac_t""yes" 1>&6
17444 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17445 cat >> confdefs.h <<EOF
17446 #define $ac_tr_func 1
17450 echo "$ac_t""no
" 1>&6
17456 echo $ac_n "checking
for _fabsl declaration
""...
$ac_c" 1>&6
17457 echo "configure
:17458: checking
for _fabsl declaration
" >&5
17458 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
17459 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
17460 echo $ac_n "(cached
) $ac_c" 1>&6
17465 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17466 ac_cpp='$CXXCPP $CPPFLAGS'
17467 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17468 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17469 cross_compiling=$ac_cv_prog_cxx_cross
17471 cat > conftest.$ac_ext <<EOF
17472 #line 17473 "configure
"
17473 #include "confdefs.h
"
17475 #ifdef HAVE_IEEEFP_H
17476 #include <ieeefp.h>
17483 if { (eval echo configure:17484: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17485 glibcpp_cv_func__fabsl_use=yes
17487 echo "configure
: failed program was
:" >&5
17488 cat conftest.$ac_ext >&5
17490 glibcpp_cv_func__fabsl_use=no
17494 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17495 ac_cpp='$CPP $CPPFLAGS'
17496 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17497 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17498 cross_compiling=$ac_cv_prog_cc_cross
17504 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
17506 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
17507 for ac_func in _fabsl
17509 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17510 echo "configure
:17511: checking
for $ac_func" >&5
17511 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17512 echo $ac_n "(cached
) $ac_c" 1>&6
17514 cat > conftest.$ac_ext <<EOF
17515 #line 17516 "configure
"
17516 #include "confdefs.h
"
17517 /* System header to define __stub macros and hopefully few prototypes,
17518 which can conflict with char $ac_func(); below. */
17519 #include <assert.h>
17520 /* Override any gcc2 internal prototype to avoid an error. */
17521 /* We use char because int might match the return type of a gcc2
17522 builtin and then its argument prototype would still apply. */
17527 /* The GNU C library defines this for functions which it implements
17528 to always fail with ENOSYS. Some functions are actually named
17529 something starting with __ and the normal name is an alias. */
17530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17538 if { (eval echo configure:17539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17540 eval "ac_cv_func_
$ac_func=yes"
17542 echo "configure
: failed program was
:" >&5
17543 cat conftest.$ac_ext >&5
17545 eval "ac_cv_func_
$ac_func=no
"
17550 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17551 echo "$ac_t""yes" 1>&6
17552 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17553 cat >> confdefs.h <<EOF
17554 #define $ac_tr_func 1
17558 echo "$ac_t""no
" 1>&6
17567 echo $ac_n "checking
for fmodl declaration
""...
$ac_c" 1>&6
17568 echo "configure
:17569: checking
for fmodl declaration
" >&5
17569 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
17570 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
17571 echo $ac_n "(cached
) $ac_c" 1>&6
17576 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17577 ac_cpp='$CXXCPP $CPPFLAGS'
17578 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17579 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17580 cross_compiling=$ac_cv_prog_cxx_cross
17582 cat > conftest.$ac_ext <<EOF
17583 #line 17584 "configure
"
17584 #include "confdefs.h
"
17590 if { (eval echo configure:17591: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17592 glibcpp_cv_func_fmodl_use=yes
17594 echo "configure
: failed program was
:" >&5
17595 cat conftest.$ac_ext >&5
17597 glibcpp_cv_func_fmodl_use=no
17601 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17602 ac_cpp='$CPP $CPPFLAGS'
17603 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17604 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17605 cross_compiling=$ac_cv_prog_cc_cross
17611 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
17613 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
17614 for ac_func in fmodl
17616 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17617 echo "configure
:17618: checking
for $ac_func" >&5
17618 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17619 echo $ac_n "(cached
) $ac_c" 1>&6
17621 cat > conftest.$ac_ext <<EOF
17622 #line 17623 "configure
"
17623 #include "confdefs.h
"
17624 /* System header to define __stub macros and hopefully few prototypes,
17625 which can conflict with char $ac_func(); below. */
17626 #include <assert.h>
17627 /* Override any gcc2 internal prototype to avoid an error. */
17628 /* We use char because int might match the return type of a gcc2
17629 builtin and then its argument prototype would still apply. */
17634 /* The GNU C library defines this for functions which it implements
17635 to always fail with ENOSYS. Some functions are actually named
17636 something starting with __ and the normal name is an alias. */
17637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17645 if { (eval echo configure:17646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17647 eval "ac_cv_func_
$ac_func=yes"
17649 echo "configure
: failed program was
:" >&5
17650 cat conftest.$ac_ext >&5
17652 eval "ac_cv_func_
$ac_func=no
"
17657 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17658 echo "$ac_t""yes" 1>&6
17659 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17660 cat >> confdefs.h <<EOF
17661 #define $ac_tr_func 1
17665 echo "$ac_t""no
" 1>&6
17671 echo $ac_n "checking
for _fmodl declaration
""...
$ac_c" 1>&6
17672 echo "configure
:17673: checking
for _fmodl declaration
" >&5
17673 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
17674 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
17675 echo $ac_n "(cached
) $ac_c" 1>&6
17680 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17681 ac_cpp='$CXXCPP $CPPFLAGS'
17682 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17683 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17684 cross_compiling=$ac_cv_prog_cxx_cross
17686 cat > conftest.$ac_ext <<EOF
17687 #line 17688 "configure
"
17688 #include "confdefs.h
"
17694 if { (eval echo configure:17695: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17696 glibcpp_cv_func__fmodl_use=yes
17698 echo "configure
: failed program was
:" >&5
17699 cat conftest.$ac_ext >&5
17701 glibcpp_cv_func__fmodl_use=no
17705 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17706 ac_cpp='$CPP $CPPFLAGS'
17707 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17708 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17709 cross_compiling=$ac_cv_prog_cc_cross
17715 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
17717 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
17718 for ac_func in _fmodl
17720 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17721 echo "configure
:17722: checking
for $ac_func" >&5
17722 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17723 echo $ac_n "(cached
) $ac_c" 1>&6
17725 cat > conftest.$ac_ext <<EOF
17726 #line 17727 "configure
"
17727 #include "confdefs.h
"
17728 /* System header to define __stub macros and hopefully few prototypes,
17729 which can conflict with char $ac_func(); below. */
17730 #include <assert.h>
17731 /* Override any gcc2 internal prototype to avoid an error. */
17732 /* We use char because int might match the return type of a gcc2
17733 builtin and then its argument prototype would still apply. */
17738 /* The GNU C library defines this for functions which it implements
17739 to always fail with ENOSYS. Some functions are actually named
17740 something starting with __ and the normal name is an alias. */
17741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17749 if { (eval echo configure:17750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17751 eval "ac_cv_func_
$ac_func=yes"
17753 echo "configure
: failed program was
:" >&5
17754 cat conftest.$ac_ext >&5
17756 eval "ac_cv_func_
$ac_func=no
"
17761 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17762 echo "$ac_t""yes" 1>&6
17763 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17764 cat >> confdefs.h <<EOF
17765 #define $ac_tr_func 1
17769 echo "$ac_t""no
" 1>&6
17778 echo $ac_n "checking
for frexpl declaration
""...
$ac_c" 1>&6
17779 echo "configure
:17780: checking
for frexpl declaration
" >&5
17780 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
17781 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
17782 echo $ac_n "(cached
) $ac_c" 1>&6
17787 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17788 ac_cpp='$CXXCPP $CPPFLAGS'
17789 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17790 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17791 cross_compiling=$ac_cv_prog_cxx_cross
17793 cat > conftest.$ac_ext <<EOF
17794 #line 17795 "configure
"
17795 #include "confdefs.h
"
17801 if { (eval echo configure:17802: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17803 glibcpp_cv_func_frexpl_use=yes
17805 echo "configure
: failed program was
:" >&5
17806 cat conftest.$ac_ext >&5
17808 glibcpp_cv_func_frexpl_use=no
17812 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17813 ac_cpp='$CPP $CPPFLAGS'
17814 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17815 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17816 cross_compiling=$ac_cv_prog_cc_cross
17822 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
17824 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
17825 for ac_func in frexpl
17827 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17828 echo "configure
:17829: checking
for $ac_func" >&5
17829 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17830 echo $ac_n "(cached
) $ac_c" 1>&6
17832 cat > conftest.$ac_ext <<EOF
17833 #line 17834 "configure
"
17834 #include "confdefs.h
"
17835 /* System header to define __stub macros and hopefully few prototypes,
17836 which can conflict with char $ac_func(); below. */
17837 #include <assert.h>
17838 /* Override any gcc2 internal prototype to avoid an error. */
17839 /* We use char because int might match the return type of a gcc2
17840 builtin and then its argument prototype would still apply. */
17845 /* The GNU C library defines this for functions which it implements
17846 to always fail with ENOSYS. Some functions are actually named
17847 something starting with __ and the normal name is an alias. */
17848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17856 if { (eval echo configure:17857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17858 eval "ac_cv_func_
$ac_func=yes"
17860 echo "configure
: failed program was
:" >&5
17861 cat conftest.$ac_ext >&5
17863 eval "ac_cv_func_
$ac_func=no
"
17868 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17869 echo "$ac_t""yes" 1>&6
17870 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17871 cat >> confdefs.h <<EOF
17872 #define $ac_tr_func 1
17876 echo "$ac_t""no
" 1>&6
17882 echo $ac_n "checking
for _frexpl declaration
""...
$ac_c" 1>&6
17883 echo "configure
:17884: checking
for _frexpl declaration
" >&5
17884 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
17885 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
17886 echo $ac_n "(cached
) $ac_c" 1>&6
17891 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17892 ac_cpp='$CXXCPP $CPPFLAGS'
17893 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17894 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17895 cross_compiling=$ac_cv_prog_cxx_cross
17897 cat > conftest.$ac_ext <<EOF
17898 #line 17899 "configure
"
17899 #include "confdefs.h
"
17905 if { (eval echo configure:17906: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17907 glibcpp_cv_func__frexpl_use=yes
17909 echo "configure
: failed program was
:" >&5
17910 cat conftest.$ac_ext >&5
17912 glibcpp_cv_func__frexpl_use=no
17916 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17917 ac_cpp='$CPP $CPPFLAGS'
17918 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17919 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17920 cross_compiling=$ac_cv_prog_cc_cross
17926 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
17928 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
17929 for ac_func in _frexpl
17931 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17932 echo "configure
:17933: checking
for $ac_func" >&5
17933 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17934 echo $ac_n "(cached
) $ac_c" 1>&6
17936 cat > conftest.$ac_ext <<EOF
17937 #line 17938 "configure
"
17938 #include "confdefs.h
"
17939 /* System header to define __stub macros and hopefully few prototypes,
17940 which can conflict with char $ac_func(); below. */
17941 #include <assert.h>
17942 /* Override any gcc2 internal prototype to avoid an error. */
17943 /* We use char because int might match the return type of a gcc2
17944 builtin and then its argument prototype would still apply. */
17949 /* The GNU C library defines this for functions which it implements
17950 to always fail with ENOSYS. Some functions are actually named
17951 something starting with __ and the normal name is an alias. */
17952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17960 if { (eval echo configure:17961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17962 eval "ac_cv_func_
$ac_func=yes"
17964 echo "configure
: failed program was
:" >&5
17965 cat conftest.$ac_ext >&5
17967 eval "ac_cv_func_
$ac_func=no
"
17972 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17973 echo "$ac_t""yes" 1>&6
17974 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17975 cat >> confdefs.h <<EOF
17976 #define $ac_tr_func 1
17980 echo "$ac_t""no
" 1>&6
17989 echo $ac_n "checking
for hypotl declaration
""...
$ac_c" 1>&6
17990 echo "configure
:17991: checking
for hypotl declaration
" >&5
17991 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
17992 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
17993 echo $ac_n "(cached
) $ac_c" 1>&6
17998 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17999 ac_cpp='$CXXCPP $CPPFLAGS'
18000 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18001 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18002 cross_compiling=$ac_cv_prog_cxx_cross
18004 cat > conftest.$ac_ext <<EOF
18005 #line 18006 "configure
"
18006 #include "confdefs.h
"
18012 if { (eval echo configure:18013: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18014 glibcpp_cv_func_hypotl_use=yes
18016 echo "configure
: failed program was
:" >&5
18017 cat conftest.$ac_ext >&5
18019 glibcpp_cv_func_hypotl_use=no
18023 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18024 ac_cpp='$CPP $CPPFLAGS'
18025 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18026 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18027 cross_compiling=$ac_cv_prog_cc_cross
18033 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
18035 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
18036 for ac_func in hypotl
18038 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18039 echo "configure
:18040: checking
for $ac_func" >&5
18040 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18041 echo $ac_n "(cached
) $ac_c" 1>&6
18043 cat > conftest.$ac_ext <<EOF
18044 #line 18045 "configure
"
18045 #include "confdefs.h
"
18046 /* System header to define __stub macros and hopefully few prototypes,
18047 which can conflict with char $ac_func(); below. */
18048 #include <assert.h>
18049 /* Override any gcc2 internal prototype to avoid an error. */
18050 /* We use char because int might match the return type of a gcc2
18051 builtin and then its argument prototype would still apply. */
18056 /* The GNU C library defines this for functions which it implements
18057 to always fail with ENOSYS. Some functions are actually named
18058 something starting with __ and the normal name is an alias. */
18059 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18067 if { (eval echo configure:18068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18069 eval "ac_cv_func_
$ac_func=yes"
18071 echo "configure
: failed program was
:" >&5
18072 cat conftest.$ac_ext >&5
18074 eval "ac_cv_func_
$ac_func=no
"
18079 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18080 echo "$ac_t""yes" 1>&6
18081 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18082 cat >> confdefs.h <<EOF
18083 #define $ac_tr_func 1
18087 echo "$ac_t""no
" 1>&6
18093 echo $ac_n "checking
for _hypotl declaration
""...
$ac_c" 1>&6
18094 echo "configure
:18095: checking
for _hypotl declaration
" >&5
18095 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
18096 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
18097 echo $ac_n "(cached
) $ac_c" 1>&6
18102 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18103 ac_cpp='$CXXCPP $CPPFLAGS'
18104 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18105 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18106 cross_compiling=$ac_cv_prog_cxx_cross
18108 cat > conftest.$ac_ext <<EOF
18109 #line 18110 "configure
"
18110 #include "confdefs.h
"
18116 if { (eval echo configure:18117: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18118 glibcpp_cv_func__hypotl_use=yes
18120 echo "configure
: failed program was
:" >&5
18121 cat conftest.$ac_ext >&5
18123 glibcpp_cv_func__hypotl_use=no
18127 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18128 ac_cpp='$CPP $CPPFLAGS'
18129 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18130 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18131 cross_compiling=$ac_cv_prog_cc_cross
18137 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
18139 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
18140 for ac_func in _hypotl
18142 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18143 echo "configure
:18144: checking
for $ac_func" >&5
18144 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18145 echo $ac_n "(cached
) $ac_c" 1>&6
18147 cat > conftest.$ac_ext <<EOF
18148 #line 18149 "configure
"
18149 #include "confdefs.h
"
18150 /* System header to define __stub macros and hopefully few prototypes,
18151 which can conflict with char $ac_func(); below. */
18152 #include <assert.h>
18153 /* Override any gcc2 internal prototype to avoid an error. */
18154 /* We use char because int might match the return type of a gcc2
18155 builtin and then its argument prototype would still apply. */
18160 /* The GNU C library defines this for functions which it implements
18161 to always fail with ENOSYS. Some functions are actually named
18162 something starting with __ and the normal name is an alias. */
18163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18171 if { (eval echo configure:18172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18173 eval "ac_cv_func_
$ac_func=yes"
18175 echo "configure
: failed program was
:" >&5
18176 cat conftest.$ac_ext >&5
18178 eval "ac_cv_func_
$ac_func=no
"
18183 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18184 echo "$ac_t""yes" 1>&6
18185 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18186 cat >> confdefs.h <<EOF
18187 #define $ac_tr_func 1
18191 echo "$ac_t""no
" 1>&6
18200 echo $ac_n "checking
for ldexpl declaration
""...
$ac_c" 1>&6
18201 echo "configure
:18202: checking
for ldexpl declaration
" >&5
18202 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
18203 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
18204 echo $ac_n "(cached
) $ac_c" 1>&6
18209 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18210 ac_cpp='$CXXCPP $CPPFLAGS'
18211 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18212 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18213 cross_compiling=$ac_cv_prog_cxx_cross
18215 cat > conftest.$ac_ext <<EOF
18216 #line 18217 "configure
"
18217 #include "confdefs.h
"
18223 if { (eval echo configure:18224: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18225 glibcpp_cv_func_ldexpl_use=yes
18227 echo "configure
: failed program was
:" >&5
18228 cat conftest.$ac_ext >&5
18230 glibcpp_cv_func_ldexpl_use=no
18234 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18235 ac_cpp='$CPP $CPPFLAGS'
18236 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18237 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18238 cross_compiling=$ac_cv_prog_cc_cross
18244 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
18246 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
18247 for ac_func in ldexpl
18249 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18250 echo "configure
:18251: checking
for $ac_func" >&5
18251 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18252 echo $ac_n "(cached
) $ac_c" 1>&6
18254 cat > conftest.$ac_ext <<EOF
18255 #line 18256 "configure
"
18256 #include "confdefs.h
"
18257 /* System header to define __stub macros and hopefully few prototypes,
18258 which can conflict with char $ac_func(); below. */
18259 #include <assert.h>
18260 /* Override any gcc2 internal prototype to avoid an error. */
18261 /* We use char because int might match the return type of a gcc2
18262 builtin and then its argument prototype would still apply. */
18267 /* The GNU C library defines this for functions which it implements
18268 to always fail with ENOSYS. Some functions are actually named
18269 something starting with __ and the normal name is an alias. */
18270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18278 if { (eval echo configure:18279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18280 eval "ac_cv_func_
$ac_func=yes"
18282 echo "configure
: failed program was
:" >&5
18283 cat conftest.$ac_ext >&5
18285 eval "ac_cv_func_
$ac_func=no
"
18290 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18291 echo "$ac_t""yes" 1>&6
18292 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18293 cat >> confdefs.h <<EOF
18294 #define $ac_tr_func 1
18298 echo "$ac_t""no
" 1>&6
18304 echo $ac_n "checking
for _ldexpl declaration
""...
$ac_c" 1>&6
18305 echo "configure
:18306: checking
for _ldexpl declaration
" >&5
18306 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
18307 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
18308 echo $ac_n "(cached
) $ac_c" 1>&6
18313 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18314 ac_cpp='$CXXCPP $CPPFLAGS'
18315 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18316 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18317 cross_compiling=$ac_cv_prog_cxx_cross
18319 cat > conftest.$ac_ext <<EOF
18320 #line 18321 "configure
"
18321 #include "confdefs.h
"
18327 if { (eval echo configure:18328: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18329 glibcpp_cv_func__ldexpl_use=yes
18331 echo "configure
: failed program was
:" >&5
18332 cat conftest.$ac_ext >&5
18334 glibcpp_cv_func__ldexpl_use=no
18338 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18339 ac_cpp='$CPP $CPPFLAGS'
18340 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18341 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18342 cross_compiling=$ac_cv_prog_cc_cross
18348 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
18350 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
18351 for ac_func in _ldexpl
18353 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18354 echo "configure
:18355: checking
for $ac_func" >&5
18355 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18356 echo $ac_n "(cached
) $ac_c" 1>&6
18358 cat > conftest.$ac_ext <<EOF
18359 #line 18360 "configure
"
18360 #include "confdefs.h
"
18361 /* System header to define __stub macros and hopefully few prototypes,
18362 which can conflict with char $ac_func(); below. */
18363 #include <assert.h>
18364 /* Override any gcc2 internal prototype to avoid an error. */
18365 /* We use char because int might match the return type of a gcc2
18366 builtin and then its argument prototype would still apply. */
18371 /* The GNU C library defines this for functions which it implements
18372 to always fail with ENOSYS. Some functions are actually named
18373 something starting with __ and the normal name is an alias. */
18374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18382 if { (eval echo configure:18383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18384 eval "ac_cv_func_
$ac_func=yes"
18386 echo "configure
: failed program was
:" >&5
18387 cat conftest.$ac_ext >&5
18389 eval "ac_cv_func_
$ac_func=no
"
18394 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18395 echo "$ac_t""yes" 1>&6
18396 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18397 cat >> confdefs.h <<EOF
18398 #define $ac_tr_func 1
18402 echo "$ac_t""no
" 1>&6
18411 echo $ac_n "checking
for logl declaration
""...
$ac_c" 1>&6
18412 echo "configure
:18413: checking
for logl declaration
" >&5
18413 if test x${glibcpp_cv_func_logl_use+set} != xset; then
18414 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
18415 echo $ac_n "(cached
) $ac_c" 1>&6
18420 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18421 ac_cpp='$CXXCPP $CPPFLAGS'
18422 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18423 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18424 cross_compiling=$ac_cv_prog_cxx_cross
18426 cat > conftest.$ac_ext <<EOF
18427 #line 18428 "configure
"
18428 #include "confdefs.h
"
18430 #ifdef HAVE_IEEEFP_H
18431 #include <ieeefp.h>
18438 if { (eval echo configure:18439: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18440 glibcpp_cv_func_logl_use=yes
18442 echo "configure
: failed program was
:" >&5
18443 cat conftest.$ac_ext >&5
18445 glibcpp_cv_func_logl_use=no
18449 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18450 ac_cpp='$CPP $CPPFLAGS'
18451 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18452 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18453 cross_compiling=$ac_cv_prog_cc_cross
18459 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
18461 if test x$glibcpp_cv_func_logl_use = x"yes"; then
18462 for ac_func in logl
18464 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18465 echo "configure
:18466: checking
for $ac_func" >&5
18466 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18467 echo $ac_n "(cached
) $ac_c" 1>&6
18469 cat > conftest.$ac_ext <<EOF
18470 #line 18471 "configure
"
18471 #include "confdefs.h
"
18472 /* System header to define __stub macros and hopefully few prototypes,
18473 which can conflict with char $ac_func(); below. */
18474 #include <assert.h>
18475 /* Override any gcc2 internal prototype to avoid an error. */
18476 /* We use char because int might match the return type of a gcc2
18477 builtin and then its argument prototype would still apply. */
18482 /* The GNU C library defines this for functions which it implements
18483 to always fail with ENOSYS. Some functions are actually named
18484 something starting with __ and the normal name is an alias. */
18485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18493 if { (eval echo configure:18494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18495 eval "ac_cv_func_
$ac_func=yes"
18497 echo "configure
: failed program was
:" >&5
18498 cat conftest.$ac_ext >&5
18500 eval "ac_cv_func_
$ac_func=no
"
18505 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18506 echo "$ac_t""yes" 1>&6
18507 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18508 cat >> confdefs.h <<EOF
18509 #define $ac_tr_func 1
18513 echo "$ac_t""no
" 1>&6
18519 echo $ac_n "checking
for _logl declaration
""...
$ac_c" 1>&6
18520 echo "configure
:18521: checking
for _logl declaration
" >&5
18521 if test x${glibcpp_cv_func__logl_use+set} != xset; then
18522 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
18523 echo $ac_n "(cached
) $ac_c" 1>&6
18528 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18529 ac_cpp='$CXXCPP $CPPFLAGS'
18530 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18531 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18532 cross_compiling=$ac_cv_prog_cxx_cross
18534 cat > conftest.$ac_ext <<EOF
18535 #line 18536 "configure
"
18536 #include "confdefs.h
"
18538 #ifdef HAVE_IEEEFP_H
18539 #include <ieeefp.h>
18546 if { (eval echo configure:18547: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18548 glibcpp_cv_func__logl_use=yes
18550 echo "configure
: failed program was
:" >&5
18551 cat conftest.$ac_ext >&5
18553 glibcpp_cv_func__logl_use=no
18557 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18558 ac_cpp='$CPP $CPPFLAGS'
18559 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18560 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18561 cross_compiling=$ac_cv_prog_cc_cross
18567 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
18569 if test x$glibcpp_cv_func__logl_use = x"yes"; then
18570 for ac_func in _logl
18572 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18573 echo "configure
:18574: checking
for $ac_func" >&5
18574 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18575 echo $ac_n "(cached
) $ac_c" 1>&6
18577 cat > conftest.$ac_ext <<EOF
18578 #line 18579 "configure
"
18579 #include "confdefs.h
"
18580 /* System header to define __stub macros and hopefully few prototypes,
18581 which can conflict with char $ac_func(); below. */
18582 #include <assert.h>
18583 /* Override any gcc2 internal prototype to avoid an error. */
18584 /* We use char because int might match the return type of a gcc2
18585 builtin and then its argument prototype would still apply. */
18590 /* The GNU C library defines this for functions which it implements
18591 to always fail with ENOSYS. Some functions are actually named
18592 something starting with __ and the normal name is an alias. */
18593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18601 if { (eval echo configure:18602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18603 eval "ac_cv_func_
$ac_func=yes"
18605 echo "configure
: failed program was
:" >&5
18606 cat conftest.$ac_ext >&5
18608 eval "ac_cv_func_
$ac_func=no
"
18613 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18614 echo "$ac_t""yes" 1>&6
18615 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18616 cat >> confdefs.h <<EOF
18617 #define $ac_tr_func 1
18621 echo "$ac_t""no
" 1>&6
18630 echo $ac_n "checking
for log10l declaration
""...
$ac_c" 1>&6
18631 echo "configure
:18632: checking
for log10l declaration
" >&5
18632 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
18633 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
18634 echo $ac_n "(cached
) $ac_c" 1>&6
18639 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18640 ac_cpp='$CXXCPP $CPPFLAGS'
18641 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18642 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18643 cross_compiling=$ac_cv_prog_cxx_cross
18645 cat > conftest.$ac_ext <<EOF
18646 #line 18647 "configure
"
18647 #include "confdefs.h
"
18649 #ifdef HAVE_IEEEFP_H
18650 #include <ieeefp.h>
18657 if { (eval echo configure:18658: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18659 glibcpp_cv_func_log10l_use=yes
18661 echo "configure
: failed program was
:" >&5
18662 cat conftest.$ac_ext >&5
18664 glibcpp_cv_func_log10l_use=no
18668 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18669 ac_cpp='$CPP $CPPFLAGS'
18670 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18671 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18672 cross_compiling=$ac_cv_prog_cc_cross
18678 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
18680 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
18681 for ac_func in log10l
18683 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18684 echo "configure
:18685: checking
for $ac_func" >&5
18685 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18686 echo $ac_n "(cached
) $ac_c" 1>&6
18688 cat > conftest.$ac_ext <<EOF
18689 #line 18690 "configure
"
18690 #include "confdefs.h
"
18691 /* System header to define __stub macros and hopefully few prototypes,
18692 which can conflict with char $ac_func(); below. */
18693 #include <assert.h>
18694 /* Override any gcc2 internal prototype to avoid an error. */
18695 /* We use char because int might match the return type of a gcc2
18696 builtin and then its argument prototype would still apply. */
18701 /* The GNU C library defines this for functions which it implements
18702 to always fail with ENOSYS. Some functions are actually named
18703 something starting with __ and the normal name is an alias. */
18704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18712 if { (eval echo configure:18713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18714 eval "ac_cv_func_
$ac_func=yes"
18716 echo "configure
: failed program was
:" >&5
18717 cat conftest.$ac_ext >&5
18719 eval "ac_cv_func_
$ac_func=no
"
18724 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18725 echo "$ac_t""yes" 1>&6
18726 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18727 cat >> confdefs.h <<EOF
18728 #define $ac_tr_func 1
18732 echo "$ac_t""no
" 1>&6
18738 echo $ac_n "checking
for _log10l declaration
""...
$ac_c" 1>&6
18739 echo "configure
:18740: checking
for _log10l declaration
" >&5
18740 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
18741 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
18742 echo $ac_n "(cached
) $ac_c" 1>&6
18747 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18748 ac_cpp='$CXXCPP $CPPFLAGS'
18749 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18750 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18751 cross_compiling=$ac_cv_prog_cxx_cross
18753 cat > conftest.$ac_ext <<EOF
18754 #line 18755 "configure
"
18755 #include "confdefs.h
"
18757 #ifdef HAVE_IEEEFP_H
18758 #include <ieeefp.h>
18765 if { (eval echo configure:18766: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18767 glibcpp_cv_func__log10l_use=yes
18769 echo "configure
: failed program was
:" >&5
18770 cat conftest.$ac_ext >&5
18772 glibcpp_cv_func__log10l_use=no
18776 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18777 ac_cpp='$CPP $CPPFLAGS'
18778 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18779 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18780 cross_compiling=$ac_cv_prog_cc_cross
18786 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
18788 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
18789 for ac_func in _log10l
18791 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18792 echo "configure
:18793: checking
for $ac_func" >&5
18793 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18794 echo $ac_n "(cached
) $ac_c" 1>&6
18796 cat > conftest.$ac_ext <<EOF
18797 #line 18798 "configure
"
18798 #include "confdefs.h
"
18799 /* System header to define __stub macros and hopefully few prototypes,
18800 which can conflict with char $ac_func(); below. */
18801 #include <assert.h>
18802 /* Override any gcc2 internal prototype to avoid an error. */
18803 /* We use char because int might match the return type of a gcc2
18804 builtin and then its argument prototype would still apply. */
18809 /* The GNU C library defines this for functions which it implements
18810 to always fail with ENOSYS. Some functions are actually named
18811 something starting with __ and the normal name is an alias. */
18812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18820 if { (eval echo configure:18821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18822 eval "ac_cv_func_
$ac_func=yes"
18824 echo "configure
: failed program was
:" >&5
18825 cat conftest.$ac_ext >&5
18827 eval "ac_cv_func_
$ac_func=no
"
18832 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18833 echo "$ac_t""yes" 1>&6
18834 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18835 cat >> confdefs.h <<EOF
18836 #define $ac_tr_func 1
18840 echo "$ac_t""no
" 1>&6
18849 echo $ac_n "checking
for modfl declaration
""...
$ac_c" 1>&6
18850 echo "configure
:18851: checking
for modfl declaration
" >&5
18851 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
18852 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
18853 echo $ac_n "(cached
) $ac_c" 1>&6
18858 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18859 ac_cpp='$CXXCPP $CPPFLAGS'
18860 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18861 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18862 cross_compiling=$ac_cv_prog_cxx_cross
18864 cat > conftest.$ac_ext <<EOF
18865 #line 18866 "configure
"
18866 #include "confdefs.h
"
18872 if { (eval echo configure:18873: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18874 glibcpp_cv_func_modfl_use=yes
18876 echo "configure
: failed program was
:" >&5
18877 cat conftest.$ac_ext >&5
18879 glibcpp_cv_func_modfl_use=no
18883 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18884 ac_cpp='$CPP $CPPFLAGS'
18885 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18886 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18887 cross_compiling=$ac_cv_prog_cc_cross
18893 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
18895 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
18896 for ac_func in modfl
18898 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18899 echo "configure
:18900: checking
for $ac_func" >&5
18900 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18901 echo $ac_n "(cached
) $ac_c" 1>&6
18903 cat > conftest.$ac_ext <<EOF
18904 #line 18905 "configure
"
18905 #include "confdefs.h
"
18906 /* System header to define __stub macros and hopefully few prototypes,
18907 which can conflict with char $ac_func(); below. */
18908 #include <assert.h>
18909 /* Override any gcc2 internal prototype to avoid an error. */
18910 /* We use char because int might match the return type of a gcc2
18911 builtin and then its argument prototype would still apply. */
18916 /* The GNU C library defines this for functions which it implements
18917 to always fail with ENOSYS. Some functions are actually named
18918 something starting with __ and the normal name is an alias. */
18919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18927 if { (eval echo configure:18928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18929 eval "ac_cv_func_
$ac_func=yes"
18931 echo "configure
: failed program was
:" >&5
18932 cat conftest.$ac_ext >&5
18934 eval "ac_cv_func_
$ac_func=no
"
18939 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18940 echo "$ac_t""yes" 1>&6
18941 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18942 cat >> confdefs.h <<EOF
18943 #define $ac_tr_func 1
18947 echo "$ac_t""no
" 1>&6
18953 echo $ac_n "checking
for _modfl declaration
""...
$ac_c" 1>&6
18954 echo "configure
:18955: checking
for _modfl declaration
" >&5
18955 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
18956 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
18957 echo $ac_n "(cached
) $ac_c" 1>&6
18962 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18963 ac_cpp='$CXXCPP $CPPFLAGS'
18964 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18965 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18966 cross_compiling=$ac_cv_prog_cxx_cross
18968 cat > conftest.$ac_ext <<EOF
18969 #line 18970 "configure
"
18970 #include "confdefs.h
"
18976 if { (eval echo configure:18977: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18978 glibcpp_cv_func__modfl_use=yes
18980 echo "configure
: failed program was
:" >&5
18981 cat conftest.$ac_ext >&5
18983 glibcpp_cv_func__modfl_use=no
18987 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18988 ac_cpp='$CPP $CPPFLAGS'
18989 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18990 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18991 cross_compiling=$ac_cv_prog_cc_cross
18997 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
18999 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
19000 for ac_func in _modfl
19002 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19003 echo "configure
:19004: checking
for $ac_func" >&5
19004 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19005 echo $ac_n "(cached
) $ac_c" 1>&6
19007 cat > conftest.$ac_ext <<EOF
19008 #line 19009 "configure
"
19009 #include "confdefs.h
"
19010 /* System header to define __stub macros and hopefully few prototypes,
19011 which can conflict with char $ac_func(); below. */
19012 #include <assert.h>
19013 /* Override any gcc2 internal prototype to avoid an error. */
19014 /* We use char because int might match the return type of a gcc2
19015 builtin and then its argument prototype would still apply. */
19020 /* The GNU C library defines this for functions which it implements
19021 to always fail with ENOSYS. Some functions are actually named
19022 something starting with __ and the normal name is an alias. */
19023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19031 if { (eval echo configure:19032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19033 eval "ac_cv_func_
$ac_func=yes"
19035 echo "configure
: failed program was
:" >&5
19036 cat conftest.$ac_ext >&5
19038 eval "ac_cv_func_
$ac_func=no
"
19043 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19044 echo "$ac_t""yes" 1>&6
19045 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19046 cat >> confdefs.h <<EOF
19047 #define $ac_tr_func 1
19051 echo "$ac_t""no
" 1>&6
19060 echo $ac_n "checking
for powl declaration
""...
$ac_c" 1>&6
19061 echo "configure
:19062: checking
for powl declaration
" >&5
19062 if test x${glibcpp_cv_func_powl_use+set} != xset; then
19063 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
19064 echo $ac_n "(cached
) $ac_c" 1>&6
19069 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19070 ac_cpp='$CXXCPP $CPPFLAGS'
19071 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19072 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19073 cross_compiling=$ac_cv_prog_cxx_cross
19075 cat > conftest.$ac_ext <<EOF
19076 #line 19077 "configure
"
19077 #include "confdefs.h
"
19083 if { (eval echo configure:19084: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19085 glibcpp_cv_func_powl_use=yes
19087 echo "configure
: failed program was
:" >&5
19088 cat conftest.$ac_ext >&5
19090 glibcpp_cv_func_powl_use=no
19094 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19095 ac_cpp='$CPP $CPPFLAGS'
19096 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19097 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19098 cross_compiling=$ac_cv_prog_cc_cross
19104 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
19106 if test x$glibcpp_cv_func_powl_use = x"yes"; then
19107 for ac_func in powl
19109 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19110 echo "configure
:19111: checking
for $ac_func" >&5
19111 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19112 echo $ac_n "(cached
) $ac_c" 1>&6
19114 cat > conftest.$ac_ext <<EOF
19115 #line 19116 "configure
"
19116 #include "confdefs.h
"
19117 /* System header to define __stub macros and hopefully few prototypes,
19118 which can conflict with char $ac_func(); below. */
19119 #include <assert.h>
19120 /* Override any gcc2 internal prototype to avoid an error. */
19121 /* We use char because int might match the return type of a gcc2
19122 builtin and then its argument prototype would still apply. */
19127 /* The GNU C library defines this for functions which it implements
19128 to always fail with ENOSYS. Some functions are actually named
19129 something starting with __ and the normal name is an alias. */
19130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19138 if { (eval echo configure:19139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19140 eval "ac_cv_func_
$ac_func=yes"
19142 echo "configure
: failed program was
:" >&5
19143 cat conftest.$ac_ext >&5
19145 eval "ac_cv_func_
$ac_func=no
"
19150 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19151 echo "$ac_t""yes" 1>&6
19152 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19153 cat >> confdefs.h <<EOF
19154 #define $ac_tr_func 1
19158 echo "$ac_t""no
" 1>&6
19164 echo $ac_n "checking
for _powl declaration
""...
$ac_c" 1>&6
19165 echo "configure
:19166: checking
for _powl declaration
" >&5
19166 if test x${glibcpp_cv_func__powl_use+set} != xset; then
19167 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
19168 echo $ac_n "(cached
) $ac_c" 1>&6
19173 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19174 ac_cpp='$CXXCPP $CPPFLAGS'
19175 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19176 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19177 cross_compiling=$ac_cv_prog_cxx_cross
19179 cat > conftest.$ac_ext <<EOF
19180 #line 19181 "configure
"
19181 #include "confdefs.h
"
19187 if { (eval echo configure:19188: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19189 glibcpp_cv_func__powl_use=yes
19191 echo "configure
: failed program was
:" >&5
19192 cat conftest.$ac_ext >&5
19194 glibcpp_cv_func__powl_use=no
19198 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19199 ac_cpp='$CPP $CPPFLAGS'
19200 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19201 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19202 cross_compiling=$ac_cv_prog_cc_cross
19208 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
19210 if test x$glibcpp_cv_func__powl_use = x"yes"; then
19211 for ac_func in _powl
19213 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19214 echo "configure
:19215: checking
for $ac_func" >&5
19215 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19216 echo $ac_n "(cached
) $ac_c" 1>&6
19218 cat > conftest.$ac_ext <<EOF
19219 #line 19220 "configure
"
19220 #include "confdefs.h
"
19221 /* System header to define __stub macros and hopefully few prototypes,
19222 which can conflict with char $ac_func(); below. */
19223 #include <assert.h>
19224 /* Override any gcc2 internal prototype to avoid an error. */
19225 /* We use char because int might match the return type of a gcc2
19226 builtin and then its argument prototype would still apply. */
19231 /* The GNU C library defines this for functions which it implements
19232 to always fail with ENOSYS. Some functions are actually named
19233 something starting with __ and the normal name is an alias. */
19234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19242 if { (eval echo configure:19243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19244 eval "ac_cv_func_
$ac_func=yes"
19246 echo "configure
: failed program was
:" >&5
19247 cat conftest.$ac_ext >&5
19249 eval "ac_cv_func_
$ac_func=no
"
19254 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19255 echo "$ac_t""yes" 1>&6
19256 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19257 cat >> confdefs.h <<EOF
19258 #define $ac_tr_func 1
19262 echo "$ac_t""no
" 1>&6
19271 echo $ac_n "checking
for sqrtl declaration
""...
$ac_c" 1>&6
19272 echo "configure
:19273: checking
for sqrtl declaration
" >&5
19273 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
19274 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
19275 echo $ac_n "(cached
) $ac_c" 1>&6
19280 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19281 ac_cpp='$CXXCPP $CPPFLAGS'
19282 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19283 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19284 cross_compiling=$ac_cv_prog_cxx_cross
19286 cat > conftest.$ac_ext <<EOF
19287 #line 19288 "configure
"
19288 #include "confdefs.h
"
19290 #ifdef HAVE_IEEEFP_H
19291 #include <ieeefp.h>
19298 if { (eval echo configure:19299: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19300 glibcpp_cv_func_sqrtl_use=yes
19302 echo "configure
: failed program was
:" >&5
19303 cat conftest.$ac_ext >&5
19305 glibcpp_cv_func_sqrtl_use=no
19309 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19310 ac_cpp='$CPP $CPPFLAGS'
19311 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19312 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19313 cross_compiling=$ac_cv_prog_cc_cross
19319 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
19321 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
19322 for ac_func in sqrtl
19324 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19325 echo "configure
:19326: checking
for $ac_func" >&5
19326 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19327 echo $ac_n "(cached
) $ac_c" 1>&6
19329 cat > conftest.$ac_ext <<EOF
19330 #line 19331 "configure
"
19331 #include "confdefs.h
"
19332 /* System header to define __stub macros and hopefully few prototypes,
19333 which can conflict with char $ac_func(); below. */
19334 #include <assert.h>
19335 /* Override any gcc2 internal prototype to avoid an error. */
19336 /* We use char because int might match the return type of a gcc2
19337 builtin and then its argument prototype would still apply. */
19342 /* The GNU C library defines this for functions which it implements
19343 to always fail with ENOSYS. Some functions are actually named
19344 something starting with __ and the normal name is an alias. */
19345 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19353 if { (eval echo configure:19354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19355 eval "ac_cv_func_
$ac_func=yes"
19357 echo "configure
: failed program was
:" >&5
19358 cat conftest.$ac_ext >&5
19360 eval "ac_cv_func_
$ac_func=no
"
19365 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19366 echo "$ac_t""yes" 1>&6
19367 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19368 cat >> confdefs.h <<EOF
19369 #define $ac_tr_func 1
19373 echo "$ac_t""no
" 1>&6
19379 echo $ac_n "checking
for _sqrtl declaration
""...
$ac_c" 1>&6
19380 echo "configure
:19381: checking
for _sqrtl declaration
" >&5
19381 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
19382 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
19383 echo $ac_n "(cached
) $ac_c" 1>&6
19388 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19389 ac_cpp='$CXXCPP $CPPFLAGS'
19390 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19391 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19392 cross_compiling=$ac_cv_prog_cxx_cross
19394 cat > conftest.$ac_ext <<EOF
19395 #line 19396 "configure
"
19396 #include "confdefs.h
"
19398 #ifdef HAVE_IEEEFP_H
19399 #include <ieeefp.h>
19406 if { (eval echo configure:19407: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19408 glibcpp_cv_func__sqrtl_use=yes
19410 echo "configure
: failed program was
:" >&5
19411 cat conftest.$ac_ext >&5
19413 glibcpp_cv_func__sqrtl_use=no
19417 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19418 ac_cpp='$CPP $CPPFLAGS'
19419 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19420 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19421 cross_compiling=$ac_cv_prog_cc_cross
19427 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
19429 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
19430 for ac_func in _sqrtl
19432 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19433 echo "configure
:19434: checking
for $ac_func" >&5
19434 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19435 echo $ac_n "(cached
) $ac_c" 1>&6
19437 cat > conftest.$ac_ext <<EOF
19438 #line 19439 "configure
"
19439 #include "confdefs.h
"
19440 /* System header to define __stub macros and hopefully few prototypes,
19441 which can conflict with char $ac_func(); below. */
19442 #include <assert.h>
19443 /* Override any gcc2 internal prototype to avoid an error. */
19444 /* We use char because int might match the return type of a gcc2
19445 builtin and then its argument prototype would still apply. */
19450 /* The GNU C library defines this for functions which it implements
19451 to always fail with ENOSYS. Some functions are actually named
19452 something starting with __ and the normal name is an alias. */
19453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19461 if { (eval echo configure:19462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19463 eval "ac_cv_func_
$ac_func=yes"
19465 echo "configure
: failed program was
:" >&5
19466 cat conftest.$ac_ext >&5
19468 eval "ac_cv_func_
$ac_func=no
"
19473 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19474 echo "$ac_t""yes" 1>&6
19475 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19476 cat >> confdefs.h <<EOF
19477 #define $ac_tr_func 1
19481 echo "$ac_t""no
" 1>&6
19490 echo $ac_n "checking
for sincosl declaration
""...
$ac_c" 1>&6
19491 echo "configure
:19492: checking
for sincosl declaration
" >&5
19492 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
19493 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
19494 echo $ac_n "(cached
) $ac_c" 1>&6
19499 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19500 ac_cpp='$CXXCPP $CPPFLAGS'
19501 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19502 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19503 cross_compiling=$ac_cv_prog_cxx_cross
19505 cat > conftest.$ac_ext <<EOF
19506 #line 19507 "configure
"
19507 #include "confdefs.h
"
19513 if { (eval echo configure:19514: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19515 glibcpp_cv_func_sincosl_use=yes
19517 echo "configure
: failed program was
:" >&5
19518 cat conftest.$ac_ext >&5
19520 glibcpp_cv_func_sincosl_use=no
19524 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19525 ac_cpp='$CPP $CPPFLAGS'
19526 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19527 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19528 cross_compiling=$ac_cv_prog_cc_cross
19534 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
19536 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
19537 for ac_func in sincosl
19539 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19540 echo "configure
:19541: checking
for $ac_func" >&5
19541 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19542 echo $ac_n "(cached
) $ac_c" 1>&6
19544 cat > conftest.$ac_ext <<EOF
19545 #line 19546 "configure
"
19546 #include "confdefs.h
"
19547 /* System header to define __stub macros and hopefully few prototypes,
19548 which can conflict with char $ac_func(); below. */
19549 #include <assert.h>
19550 /* Override any gcc2 internal prototype to avoid an error. */
19551 /* We use char because int might match the return type of a gcc2
19552 builtin and then its argument prototype would still apply. */
19557 /* The GNU C library defines this for functions which it implements
19558 to always fail with ENOSYS. Some functions are actually named
19559 something starting with __ and the normal name is an alias. */
19560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19568 if { (eval echo configure:19569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19570 eval "ac_cv_func_
$ac_func=yes"
19572 echo "configure
: failed program was
:" >&5
19573 cat conftest.$ac_ext >&5
19575 eval "ac_cv_func_
$ac_func=no
"
19580 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19581 echo "$ac_t""yes" 1>&6
19582 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19583 cat >> confdefs.h <<EOF
19584 #define $ac_tr_func 1
19588 echo "$ac_t""no
" 1>&6
19594 echo $ac_n "checking
for _sincosl declaration
""...
$ac_c" 1>&6
19595 echo "configure
:19596: checking
for _sincosl declaration
" >&5
19596 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
19597 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
19598 echo $ac_n "(cached
) $ac_c" 1>&6
19603 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19604 ac_cpp='$CXXCPP $CPPFLAGS'
19605 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19606 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19607 cross_compiling=$ac_cv_prog_cxx_cross
19609 cat > conftest.$ac_ext <<EOF
19610 #line 19611 "configure
"
19611 #include "confdefs.h
"
19617 if { (eval echo configure:19618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19619 glibcpp_cv_func__sincosl_use=yes
19621 echo "configure
: failed program was
:" >&5
19622 cat conftest.$ac_ext >&5
19624 glibcpp_cv_func__sincosl_use=no
19628 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19629 ac_cpp='$CPP $CPPFLAGS'
19630 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19631 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19632 cross_compiling=$ac_cv_prog_cc_cross
19638 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
19640 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
19641 for ac_func in _sincosl
19643 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19644 echo "configure
:19645: checking
for $ac_func" >&5
19645 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19646 echo $ac_n "(cached
) $ac_c" 1>&6
19648 cat > conftest.$ac_ext <<EOF
19649 #line 19650 "configure
"
19650 #include "confdefs.h
"
19651 /* System header to define __stub macros and hopefully few prototypes,
19652 which can conflict with char $ac_func(); below. */
19653 #include <assert.h>
19654 /* Override any gcc2 internal prototype to avoid an error. */
19655 /* We use char because int might match the return type of a gcc2
19656 builtin and then its argument prototype would still apply. */
19661 /* The GNU C library defines this for functions which it implements
19662 to always fail with ENOSYS. Some functions are actually named
19663 something starting with __ and the normal name is an alias. */
19664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19672 if { (eval echo configure:19673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19674 eval "ac_cv_func_
$ac_func=yes"
19676 echo "configure
: failed program was
:" >&5
19677 cat conftest.$ac_ext >&5
19679 eval "ac_cv_func_
$ac_func=no
"
19684 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19685 echo "$ac_t""yes" 1>&6
19686 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19687 cat >> confdefs.h <<EOF
19688 #define $ac_tr_func 1
19692 echo "$ac_t""no
" 1>&6
19701 echo $ac_n "checking
for finitel declaration
""...
$ac_c" 1>&6
19702 echo "configure
:19703: checking
for finitel declaration
" >&5
19703 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
19704 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
19705 echo $ac_n "(cached
) $ac_c" 1>&6
19710 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19711 ac_cpp='$CXXCPP $CPPFLAGS'
19712 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19713 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19714 cross_compiling=$ac_cv_prog_cxx_cross
19716 cat > conftest.$ac_ext <<EOF
19717 #line 19718 "configure
"
19718 #include "confdefs.h
"
19720 #ifdef HAVE_IEEEFP_H
19721 #include <ieeefp.h>
19728 if { (eval echo configure:19729: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19730 glibcpp_cv_func_finitel_use=yes
19732 echo "configure
: failed program was
:" >&5
19733 cat conftest.$ac_ext >&5
19735 glibcpp_cv_func_finitel_use=no
19739 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19740 ac_cpp='$CPP $CPPFLAGS'
19741 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19742 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19743 cross_compiling=$ac_cv_prog_cc_cross
19749 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
19751 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
19752 for ac_func in finitel
19754 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19755 echo "configure
:19756: checking
for $ac_func" >&5
19756 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19757 echo $ac_n "(cached
) $ac_c" 1>&6
19759 cat > conftest.$ac_ext <<EOF
19760 #line 19761 "configure
"
19761 #include "confdefs.h
"
19762 /* System header to define __stub macros and hopefully few prototypes,
19763 which can conflict with char $ac_func(); below. */
19764 #include <assert.h>
19765 /* Override any gcc2 internal prototype to avoid an error. */
19766 /* We use char because int might match the return type of a gcc2
19767 builtin and then its argument prototype would still apply. */
19772 /* The GNU C library defines this for functions which it implements
19773 to always fail with ENOSYS. Some functions are actually named
19774 something starting with __ and the normal name is an alias. */
19775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19783 if { (eval echo configure:19784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19785 eval "ac_cv_func_
$ac_func=yes"
19787 echo "configure
: failed program was
:" >&5
19788 cat conftest.$ac_ext >&5
19790 eval "ac_cv_func_
$ac_func=no
"
19795 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19796 echo "$ac_t""yes" 1>&6
19797 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19798 cat >> confdefs.h <<EOF
19799 #define $ac_tr_func 1
19803 echo "$ac_t""no
" 1>&6
19809 echo $ac_n "checking
for _finitel declaration
""...
$ac_c" 1>&6
19810 echo "configure
:19811: checking
for _finitel declaration
" >&5
19811 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
19812 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
19813 echo $ac_n "(cached
) $ac_c" 1>&6
19818 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19819 ac_cpp='$CXXCPP $CPPFLAGS'
19820 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19821 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19822 cross_compiling=$ac_cv_prog_cxx_cross
19824 cat > conftest.$ac_ext <<EOF
19825 #line 19826 "configure
"
19826 #include "confdefs.h
"
19828 #ifdef HAVE_IEEEFP_H
19829 #include <ieeefp.h>
19836 if { (eval echo configure:19837: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19838 glibcpp_cv_func__finitel_use=yes
19840 echo "configure
: failed program was
:" >&5
19841 cat conftest.$ac_ext >&5
19843 glibcpp_cv_func__finitel_use=no
19847 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19848 ac_cpp='$CPP $CPPFLAGS'
19849 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19850 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19851 cross_compiling=$ac_cv_prog_cc_cross
19857 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
19859 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
19860 for ac_func in _finitel
19862 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19863 echo "configure
:19864: checking
for $ac_func" >&5
19864 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19865 echo $ac_n "(cached
) $ac_c" 1>&6
19867 cat > conftest.$ac_ext <<EOF
19868 #line 19869 "configure
"
19869 #include "confdefs.h
"
19870 /* System header to define __stub macros and hopefully few prototypes,
19871 which can conflict with char $ac_func(); below. */
19872 #include <assert.h>
19873 /* Override any gcc2 internal prototype to avoid an error. */
19874 /* We use char because int might match the return type of a gcc2
19875 builtin and then its argument prototype would still apply. */
19880 /* The GNU C library defines this for functions which it implements
19881 to always fail with ENOSYS. Some functions are actually named
19882 something starting with __ and the normal name is an alias. */
19883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19891 if { (eval echo configure:19892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19893 eval "ac_cv_func_
$ac_func=yes"
19895 echo "configure
: failed program was
:" >&5
19896 cat conftest.$ac_ext >&5
19898 eval "ac_cv_func_
$ac_func=no
"
19903 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19904 echo "$ac_t""yes" 1>&6
19905 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19906 cat >> confdefs.h <<EOF
19907 #define $ac_tr_func 1
19911 echo "$ac_t""no
" 1>&6
19921 echo $ac_n "checking
for _float trig functions
""...
$ac_c" 1>&6
19922 echo "configure
:19923: checking
for _float trig functions
" >&5
19923 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
19924 echo $ac_n "(cached
) $ac_c" 1>&6
19929 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19930 ac_cpp='$CXXCPP $CPPFLAGS'
19931 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19932 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19933 cross_compiling=$ac_cv_prog_cxx_cross
19935 cat > conftest.$ac_ext <<EOF
19936 #line 19937 "configure
"
19937 #include "confdefs.h
"
19940 `for x in _acosf _asinf _atanf \
19941 _cosf _sinf _tanf \
19942 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
19945 if { (eval echo configure:19946: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19947 glibcpp_cv_func__float_trig_use=yes
19949 echo "configure
: failed program was
:" >&5
19950 cat conftest.$ac_ext >&5
19952 glibcpp_cv_func__float_trig_use=no
19956 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19957 ac_cpp='$CPP $CPPFLAGS'
19958 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19959 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19960 cross_compiling=$ac_cv_prog_cc_cross
19964 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
19965 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
19966 for ac_func in _acosf _asinf _atanf \
19967 _cosf _sinf _tanf \
19968 _coshf _sinhf _tanhf
19970 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19971 echo "configure
:19972: checking
for $ac_func" >&5
19972 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19973 echo $ac_n "(cached
) $ac_c" 1>&6
19975 cat > conftest.$ac_ext <<EOF
19976 #line 19977 "configure
"
19977 #include "confdefs.h
"
19978 /* System header to define __stub macros and hopefully few prototypes,
19979 which can conflict with char $ac_func(); below. */
19980 #include <assert.h>
19981 /* Override any gcc2 internal prototype to avoid an error. */
19982 /* We use char because int might match the return type of a gcc2
19983 builtin and then its argument prototype would still apply. */
19988 /* The GNU C library defines this for functions which it implements
19989 to always fail with ENOSYS. Some functions are actually named
19990 something starting with __ and the normal name is an alias. */
19991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19999 if { (eval echo configure:20000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20001 eval "ac_cv_func_
$ac_func=yes"
20003 echo "configure
: failed program was
:" >&5
20004 cat conftest.$ac_ext >&5
20006 eval "ac_cv_func_
$ac_func=no
"
20011 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20012 echo "$ac_t""yes" 1>&6
20013 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20014 cat >> confdefs.h <<EOF
20015 #define $ac_tr_func 1
20019 echo "$ac_t""no
" 1>&6
20026 echo $ac_n "checking
for _float round functions
""...
$ac_c" 1>&6
20027 echo "configure
:20028: checking
for _float round functions
" >&5
20028 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
20029 echo $ac_n "(cached
) $ac_c" 1>&6
20034 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20035 ac_cpp='$CXXCPP $CPPFLAGS'
20036 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20037 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20038 cross_compiling=$ac_cv_prog_cxx_cross
20040 cat > conftest.$ac_ext <<EOF
20041 #line 20042 "configure
"
20042 #include "confdefs.h
"
20045 `for x in _ceilf _floorf; do echo "$x (0);"; done`
20048 if { (eval echo configure:20049: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20050 glibcpp_cv_func__float_round_use=yes
20052 echo "configure
: failed program was
:" >&5
20053 cat conftest.$ac_ext >&5
20055 glibcpp_cv_func__float_round_use=no
20059 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20060 ac_cpp='$CPP $CPPFLAGS'
20061 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20062 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20063 cross_compiling=$ac_cv_prog_cc_cross
20067 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
20068 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
20069 for ac_func in _ceilf _floorf
20071 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20072 echo "configure
:20073: checking
for $ac_func" >&5
20073 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20074 echo $ac_n "(cached
) $ac_c" 1>&6
20076 cat > conftest.$ac_ext <<EOF
20077 #line 20078 "configure
"
20078 #include "confdefs.h
"
20079 /* System header to define __stub macros and hopefully few prototypes,
20080 which can conflict with char $ac_func(); below. */
20081 #include <assert.h>
20082 /* Override any gcc2 internal prototype to avoid an error. */
20083 /* We use char because int might match the return type of a gcc2
20084 builtin and then its argument prototype would still apply. */
20089 /* The GNU C library defines this for functions which it implements
20090 to always fail with ENOSYS. Some functions are actually named
20091 something starting with __ and the normal name is an alias. */
20092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20100 if { (eval echo configure:20101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20102 eval "ac_cv_func_
$ac_func=yes"
20104 echo "configure
: failed program was
:" >&5
20105 cat conftest.$ac_ext >&5
20107 eval "ac_cv_func_
$ac_func=no
"
20112 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20113 echo "$ac_t""yes" 1>&6
20114 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20115 cat >> confdefs.h <<EOF
20116 #define $ac_tr_func 1
20120 echo "$ac_t""no
" 1>&6
20128 echo $ac_n "checking
for _long double trig functions
""...
$ac_c" 1>&6
20129 echo "configure
:20130: checking
for _long double trig functions
" >&5
20130 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
20131 echo $ac_n "(cached
) $ac_c" 1>&6
20136 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20137 ac_cpp='$CXXCPP $CPPFLAGS'
20138 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20139 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20140 cross_compiling=$ac_cv_prog_cxx_cross
20142 cat > conftest.$ac_ext <<EOF
20143 #line 20144 "configure
"
20144 #include "confdefs.h
"
20147 `for x in _acosl _asinl _atanl \
20148 _cosl _sinl _tanl \
20149 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
20152 if { (eval echo configure:20153: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20154 glibcpp_cv_func__long_double_trig_use=yes
20156 echo "configure
: failed program was
:" >&5
20157 cat conftest.$ac_ext >&5
20159 glibcpp_cv_func__long_double_trig_use=no
20163 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20164 ac_cpp='$CPP $CPPFLAGS'
20165 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20166 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20167 cross_compiling=$ac_cv_prog_cc_cross
20171 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
20172 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
20173 for ac_func in _acosl _asinl _atanl \
20174 _cosl _sinl _tanl \
20175 _coshl _sinhl _tanhl
20177 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20178 echo "configure
:20179: checking
for $ac_func" >&5
20179 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20180 echo $ac_n "(cached
) $ac_c" 1>&6
20182 cat > conftest.$ac_ext <<EOF
20183 #line 20184 "configure
"
20184 #include "confdefs.h
"
20185 /* System header to define __stub macros and hopefully few prototypes,
20186 which can conflict with char $ac_func(); below. */
20187 #include <assert.h>
20188 /* Override any gcc2 internal prototype to avoid an error. */
20189 /* We use char because int might match the return type of a gcc2
20190 builtin and then its argument prototype would still apply. */
20195 /* The GNU C library defines this for functions which it implements
20196 to always fail with ENOSYS. Some functions are actually named
20197 something starting with __ and the normal name is an alias. */
20198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20206 if { (eval echo configure:20207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20208 eval "ac_cv_func_
$ac_func=yes"
20210 echo "configure
: failed program was
:" >&5
20211 cat conftest.$ac_ext >&5
20213 eval "ac_cv_func_
$ac_func=no
"
20218 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20219 echo "$ac_t""yes" 1>&6
20220 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20221 cat >> confdefs.h <<EOF
20222 #define $ac_tr_func 1
20226 echo "$ac_t""no
" 1>&6
20233 echo $ac_n "checking
for _long double round functions
""...
$ac_c" 1>&6
20234 echo "configure
:20235: checking
for _long double round functions
" >&5
20235 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
20236 echo $ac_n "(cached
) $ac_c" 1>&6
20241 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20242 ac_cpp='$CXXCPP $CPPFLAGS'
20243 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20244 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20245 cross_compiling=$ac_cv_prog_cxx_cross
20247 cat > conftest.$ac_ext <<EOF
20248 #line 20249 "configure
"
20249 #include "confdefs.h
"
20252 `for x in _ceill _floorl; do echo "$x (0);"; done`
20255 if { (eval echo configure:20256: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20257 glibcpp_cv_func__long_double_round_use=yes
20259 echo "configure
: failed program was
:" >&5
20260 cat conftest.$ac_ext >&5
20262 glibcpp_cv_func__long_double_round_use=no
20266 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20267 ac_cpp='$CPP $CPPFLAGS'
20268 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20269 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20270 cross_compiling=$ac_cv_prog_cc_cross
20274 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
20275 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
20276 for ac_func in _ceill _floorl
20278 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20279 echo "configure
:20280: checking
for $ac_func" >&5
20280 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20281 echo $ac_n "(cached
) $ac_c" 1>&6
20283 cat > conftest.$ac_ext <<EOF
20284 #line 20285 "configure
"
20285 #include "confdefs.h
"
20286 /* System header to define __stub macros and hopefully few prototypes,
20287 which can conflict with char $ac_func(); below. */
20288 #include <assert.h>
20289 /* Override any gcc2 internal prototype to avoid an error. */
20290 /* We use char because int might match the return type of a gcc2
20291 builtin and then its argument prototype would still apply. */
20296 /* The GNU C library defines this for functions which it implements
20297 to always fail with ENOSYS. Some functions are actually named
20298 something starting with __ and the normal name is an alias. */
20299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20307 if { (eval echo configure:20308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20309 eval "ac_cv_func_
$ac_func=yes"
20311 echo "configure
: failed program was
:" >&5
20312 cat conftest.$ac_ext >&5
20314 eval "ac_cv_func_
$ac_func=no
"
20319 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20320 echo "$ac_t""yes" 1>&6
20321 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20322 cat >> confdefs.h <<EOF
20323 #define $ac_tr_func 1
20327 echo "$ac_t""no
" 1>&6
20334 LIBS="$ac_save_LIBS"
20335 CXXFLAGS="$ac_save_CXXFLAGS"
20338 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
20339 echo "configure
:20340: checking
for main
in -lm" >&5
20340 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
20341 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20342 echo $ac_n "(cached
) $ac_c" 1>&6
20344 ac_save_LIBS="$LIBS"
20346 cat > conftest.$ac_ext <<EOF
20347 #line 20348 "configure
"
20348 #include "confdefs.h
"
20354 if { (eval echo configure:20355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20356 eval "ac_cv_lib_
$ac_lib_var=yes"
20358 echo "configure
: failed program was
:" >&5
20359 cat conftest.$ac_ext >&5
20361 eval "ac_cv_lib_
$ac_lib_var=no
"
20364 LIBS="$ac_save_LIBS"
20367 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20368 echo "$ac_t""yes" 1>&6
20369 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
20370 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
20371 cat >> confdefs.h <<EOF
20372 #define $ac_tr_lib 1
20378 echo "$ac_t""no
" 1>&6
20381 for ac_func in nan copysignf
20383 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20384 echo "configure
:20385: checking
for $ac_func" >&5
20385 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20386 echo $ac_n "(cached
) $ac_c" 1>&6
20388 cat > conftest.$ac_ext <<EOF
20389 #line 20390 "configure
"
20390 #include "confdefs.h
"
20391 /* System header to define __stub macros and hopefully few prototypes,
20392 which can conflict with char $ac_func(); below. */
20393 #include <assert.h>
20394 /* Override any gcc2 internal prototype to avoid an error. */
20395 /* We use char because int might match the return type of a gcc2
20396 builtin and then its argument prototype would still apply. */
20401 /* The GNU C library defines this for functions which it implements
20402 to always fail with ENOSYS. Some functions are actually named
20403 something starting with __ and the normal name is an alias. */
20404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20412 if { (eval echo configure:20413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20414 eval "ac_cv_func_
$ac_func=yes"
20416 echo "configure
: failed program was
:" >&5
20417 cat conftest.$ac_ext >&5
20419 eval "ac_cv_func_
$ac_func=no
"
20424 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20425 echo "$ac_t""yes" 1>&6
20426 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20427 cat >> confdefs.h <<EOF
20428 #define $ac_tr_func 1
20432 echo "$ac_t""no
" 1>&6
20433 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
20438 for ac_func in __signbit
20440 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20441 echo "configure
:20442: checking
for $ac_func" >&5
20442 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20443 echo $ac_n "(cached
) $ac_c" 1>&6
20445 cat > conftest.$ac_ext <<EOF
20446 #line 20447 "configure
"
20447 #include "confdefs.h
"
20448 /* System header to define __stub macros and hopefully few prototypes,
20449 which can conflict with char $ac_func(); below. */
20450 #include <assert.h>
20451 /* Override any gcc2 internal prototype to avoid an error. */
20452 /* We use char because int might match the return type of a gcc2
20453 builtin and then its argument prototype would still apply. */
20458 /* The GNU C library defines this for functions which it implements
20459 to always fail with ENOSYS. Some functions are actually named
20460 something starting with __ and the normal name is an alias. */
20461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20469 if { (eval echo configure:20470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20471 eval "ac_cv_func_
$ac_func=yes"
20473 echo "configure
: failed program was
:" >&5
20474 cat conftest.$ac_ext >&5
20476 eval "ac_cv_func_
$ac_func=no
"
20481 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20482 echo "$ac_t""yes" 1>&6
20483 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20484 cat >> confdefs.h <<EOF
20485 #define $ac_tr_func 1
20489 echo "$ac_t""no
" 1>&6
20490 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
20494 for ac_func in __signbitf
20496 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20497 echo "configure
:20498: checking
for $ac_func" >&5
20498 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20499 echo $ac_n "(cached
) $ac_c" 1>&6
20501 cat > conftest.$ac_ext <<EOF
20502 #line 20503 "configure
"
20503 #include "confdefs.h
"
20504 /* System header to define __stub macros and hopefully few prototypes,
20505 which can conflict with char $ac_func(); below. */
20506 #include <assert.h>
20507 /* Override any gcc2 internal prototype to avoid an error. */
20508 /* We use char because int might match the return type of a gcc2
20509 builtin and then its argument prototype would still apply. */
20514 /* The GNU C library defines this for functions which it implements
20515 to always fail with ENOSYS. Some functions are actually named
20516 something starting with __ and the normal name is an alias. */
20517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20525 if { (eval echo configure:20526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20527 eval "ac_cv_func_
$ac_func=yes"
20529 echo "configure
: failed program was
:" >&5
20530 cat conftest.$ac_ext >&5
20532 eval "ac_cv_func_
$ac_func=no
"
20537 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20538 echo "$ac_t""yes" 1>&6
20539 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20540 cat >> confdefs.h <<EOF
20541 #define $ac_tr_func 1
20545 echo "$ac_t""no
" 1>&6
20546 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
20551 if test x$ac_cv_func_copysignl = x"yes"; then
20552 for ac_func in __signbitl
20554 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20555 echo "configure
:20556: checking
for $ac_func" >&5
20556 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20557 echo $ac_n "(cached
) $ac_c" 1>&6
20559 cat > conftest.$ac_ext <<EOF
20560 #line 20561 "configure
"
20561 #include "confdefs.h
"
20562 /* System header to define __stub macros and hopefully few prototypes,
20563 which can conflict with char $ac_func(); below. */
20564 #include <assert.h>
20565 /* Override any gcc2 internal prototype to avoid an error. */
20566 /* We use char because int might match the return type of a gcc2
20567 builtin and then its argument prototype would still apply. */
20572 /* The GNU C library defines this for functions which it implements
20573 to always fail with ENOSYS. Some functions are actually named
20574 something starting with __ and the normal name is an alias. */
20575 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20583 if { (eval echo configure:20584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20585 eval "ac_cv_func_
$ac_func=yes"
20587 echo "configure
: failed program was
:" >&5
20588 cat conftest.$ac_ext >&5
20590 eval "ac_cv_func_
$ac_func=no
"
20595 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20596 echo "$ac_t""yes" 1>&6
20597 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20598 cat >> confdefs.h <<EOF
20599 #define $ac_tr_func 1
20603 echo "$ac_t""no
" 1>&6
20604 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
20614 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
20615 echo "configure
:20616: checking
for mbstate_t
" >&5
20616 cat > conftest.$ac_ext <<EOF
20617 #line 20618 "configure
"
20618 #include "confdefs.h
"
20621 mbstate_t teststate;
20624 if { (eval echo configure:20625: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20628 echo "configure
: failed program was
:" >&5
20629 cat conftest.$ac_ext >&5
20634 echo "$ac_t""$have_mbstate_t" 1>&6
20635 if test x"$have_mbstate_t" = xyes; then
20636 cat >> confdefs.h <<\EOF
20637 #define HAVE_MBSTATE_T 1
20642 for ac_hdr in wchar.h
20644 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20645 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
20646 echo "configure
:20647: checking
for $ac_hdr" >&5
20647 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20648 echo $ac_n "(cached
) $ac_c" 1>&6
20650 cat > conftest.$ac_ext <<EOF
20651 #line 20652 "configure
"
20652 #include "confdefs.h
"
20655 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
20656 { (eval echo configure:20657: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20657 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
20658 if test -z "$ac_err"; then
20660 eval "ac_cv_header_
$ac_safe=yes"
20663 echo "configure
: failed program was
:" >&5
20664 cat conftest.$ac_ext >&5
20666 eval "ac_cv_header_
$ac_safe=no
"
20670 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20671 echo "$ac_t""yes" 1>&6
20672 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20673 cat >> confdefs.h <<EOF
20674 #define $ac_tr_hdr 1
20678 echo "$ac_t""no
" 1>&6
20683 for ac_hdr in wctype.h
20685 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20686 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
20687 echo "configure
:20688: checking
for $ac_hdr" >&5
20688 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20689 echo $ac_n "(cached
) $ac_c" 1>&6
20691 cat > conftest.$ac_ext <<EOF
20692 #line 20693 "configure
"
20693 #include "confdefs.h
"
20696 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
20697 { (eval echo configure:20698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20698 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
20699 if test -z "$ac_err"; then
20701 eval "ac_cv_header_
$ac_safe=yes"
20704 echo "configure
: failed program was
:" >&5
20705 cat conftest.$ac_ext >&5
20707 eval "ac_cv_header_
$ac_safe=no
"
20711 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20712 echo "$ac_t""yes" 1>&6
20713 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20714 cat >> confdefs.h <<EOF
20715 #define $ac_tr_hdr 1
20717 ac_has_wctype_h=yes
20719 echo "$ac_t""no
" 1>&6
20725 if test x"$ac_has_wchar_h" = xyes &&
20726 test x"$ac_has_wctype_h" = xyes &&
20727 test x"$enable_c_mbchar" != xno; then
20729 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
20730 echo "configure
:20731: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
20731 cat > conftest.$ac_ext <<EOF
20732 #line 20733 "configure
"
20733 #include "confdefs.h
"
20736 int i = WCHAR_MIN; int j = WCHAR_MAX;
20739 if { (eval echo configure:20740: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20741 has_wchar_minmax=yes
20743 echo "configure
: failed program was
:" >&5
20744 cat conftest.$ac_ext >&5
20746 has_wchar_minmax=no
20749 echo "$ac_t""$has_wchar_minmax" 1>&6
20751 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
20752 echo "configure
:20753: checking
for WEOF
" >&5
20753 cat > conftest.$ac_ext <<EOF
20754 #line 20755 "configure
"
20755 #include "confdefs.h
"
20758 #include <stddef.h>
20763 if { (eval echo configure:20764: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20767 echo "configure
: failed program was
:" >&5
20768 cat conftest.$ac_ext >&5
20773 echo "$ac_t""$has_weof" 1>&6
20776 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
20778 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20779 echo "configure
:20780: checking
for $ac_func" >&5
20780 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20781 echo $ac_n "(cached
) $ac_c" 1>&6
20783 cat > conftest.$ac_ext <<EOF
20784 #line 20785 "configure
"
20785 #include "confdefs.h
"
20786 /* System header to define __stub macros and hopefully few prototypes,
20787 which can conflict with char $ac_func(); below. */
20788 #include <assert.h>
20789 /* Override any gcc2 internal prototype to avoid an error. */
20790 /* We use char because int might match the return type of a gcc2
20791 builtin and then its argument prototype would still apply. */
20796 /* The GNU C library defines this for functions which it implements
20797 to always fail with ENOSYS. Some functions are actually named
20798 something starting with __ and the normal name is an alias. */
20799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20807 if { (eval echo configure:20808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20809 eval "ac_cv_func_
$ac_func=yes"
20811 echo "configure
: failed program was
:" >&5
20812 cat conftest.$ac_ext >&5
20814 eval "ac_cv_func_
$ac_func=no
"
20819 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20820 echo "$ac_t""yes" 1>&6
20821 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20822 cat >> confdefs.h <<EOF
20823 #define $ac_tr_func 1
20827 echo "$ac_t""no
" 1>&6
20834 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
20835 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
20836 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
20837 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
20838 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
20839 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
20841 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20842 echo "configure
:20843: checking
for $ac_func" >&5
20843 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20844 echo $ac_n "(cached
) $ac_c" 1>&6
20846 cat > conftest.$ac_ext <<EOF
20847 #line 20848 "configure
"
20848 #include "confdefs.h
"
20849 /* System header to define __stub macros and hopefully few prototypes,
20850 which can conflict with char $ac_func(); below. */
20851 #include <assert.h>
20852 /* Override any gcc2 internal prototype to avoid an error. */
20853 /* We use char because int might match the return type of a gcc2
20854 builtin and then its argument prototype would still apply. */
20859 /* The GNU C library defines this for functions which it implements
20860 to always fail with ENOSYS. Some functions are actually named
20861 something starting with __ and the normal name is an alias. */
20862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20870 if { (eval echo configure:20871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20872 eval "ac_cv_func_
$ac_func=yes"
20874 echo "configure
: failed program was
:" >&5
20875 cat conftest.$ac_ext >&5
20877 eval "ac_cv_func_
$ac_func=no
"
20882 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20883 echo "$ac_t""yes" 1>&6
20884 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20885 cat >> confdefs.h <<EOF
20886 #define $ac_tr_func 1
20890 echo "$ac_t""no
" 1>&6
20897 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
20898 echo "configure
:20899: checking
for ISO C99 wchar_t support
" >&5
20899 if test x"$has_weof" = xyes &&
20900 test x"$has_wchar_minmax" = xyes &&
20901 test x"$ac_wfuncs" = xyes; then
20902 ac_isoC99_wchar_t=yes
20904 ac_isoC99_wchar_t=no
20906 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
20908 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
20909 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
20910 echo "configure
:20911: checking
for iconv.h
" >&5
20911 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20912 echo $ac_n "(cached
) $ac_c" 1>&6
20914 cat > conftest.$ac_ext <<EOF
20915 #line 20916 "configure
"
20916 #include "confdefs.h
"
20919 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
20920 { (eval echo configure:20921: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20921 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
20922 if test -z "$ac_err"; then
20924 eval "ac_cv_header_
$ac_safe=yes"
20927 echo "configure
: failed program was
:" >&5
20928 cat conftest.$ac_ext >&5
20930 eval "ac_cv_header_
$ac_safe=no
"
20934 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20935 echo "$ac_t""yes" 1>&6
20938 echo "$ac_t""no
" 1>&6
20942 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
20943 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
20944 echo "configure
:20945: checking
for langinfo.h
" >&5
20945 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20946 echo $ac_n "(cached
) $ac_c" 1>&6
20948 cat > conftest.$ac_ext <<EOF
20949 #line 20950 "configure
"
20950 #include "confdefs.h
"
20951 #include <langinfo.h>
20953 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
20954 { (eval echo configure:20955: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20955 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
20956 if test -z "$ac_err"; then
20958 eval "ac_cv_header_
$ac_safe=yes"
20961 echo "configure
: failed program was
:" >&5
20962 cat conftest.$ac_ext >&5
20964 eval "ac_cv_header_
$ac_safe=no
"
20968 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20969 echo "$ac_t""yes" 1>&6
20970 ac_has_langinfo_h=yes
20972 echo "$ac_t""no
" 1>&6
20973 ac_has_langinfo_h=no
20977 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
20978 echo "configure
:20979: checking
for iconv in -liconv" >&5
20979 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
20980 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20981 echo $ac_n "(cached
) $ac_c" 1>&6
20983 ac_save_LIBS="$LIBS"
20984 LIBS="-liconv $LIBS"
20985 cat > conftest.$ac_ext <<EOF
20986 #line 20987 "configure
"
20987 #include "confdefs.h
"
20988 /* Override any gcc2 internal prototype to avoid an error. */
20989 /* We use char because int might match the return type of a gcc2
20990 builtin and then its argument prototype would still apply. */
20997 if { (eval echo configure:20998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20999 eval "ac_cv_lib_
$ac_lib_var=yes"
21001 echo "configure
: failed program was
:" >&5
21002 cat conftest.$ac_ext >&5
21004 eval "ac_cv_lib_
$ac_lib_var=no
"
21007 LIBS="$ac_save_LIBS"
21010 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21011 echo "$ac_t""yes" 1>&6
21014 echo "$ac_t""no
" 1>&6
21017 ac_save_LIBS="$LIBS"
21018 LIBS="$LIBS $libiconv"
21020 for ac_func in iconv_open iconv_close iconv nl_langinfo
21022 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21023 echo "configure
:21024: checking
for $ac_func" >&5
21024 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21025 echo $ac_n "(cached
) $ac_c" 1>&6
21027 cat > conftest.$ac_ext <<EOF
21028 #line 21029 "configure
"
21029 #include "confdefs.h
"
21030 /* System header to define __stub macros and hopefully few prototypes,
21031 which can conflict with char $ac_func(); below. */
21032 #include <assert.h>
21033 /* Override any gcc2 internal prototype to avoid an error. */
21034 /* We use char because int might match the return type of a gcc2
21035 builtin and then its argument prototype would still apply. */
21040 /* The GNU C library defines this for functions which it implements
21041 to always fail with ENOSYS. Some functions are actually named
21042 something starting with __ and the normal name is an alias. */
21043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21051 if { (eval echo configure:21052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21053 eval "ac_cv_func_
$ac_func=yes"
21055 echo "configure
: failed program was
:" >&5
21056 cat conftest.$ac_ext >&5
21058 eval "ac_cv_func_
$ac_func=no
"
21063 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21064 echo "$ac_t""yes" 1>&6
21065 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21066 cat >> confdefs.h <<EOF
21067 #define $ac_tr_func 1
21072 echo "$ac_t""no
" 1>&6
21078 LIBS="$ac_save_LIBS"
21080 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
21081 echo "configure
:21082: checking
for XPG2 wchar_t support
" >&5
21082 if test x"$ac_has_iconv_h" = xyes &&
21083 test x"$ac_has_langinfo_h" = xyes &&
21084 test x"$ac_XPG2funcs" = xyes; then
21085 ac_XPG2_wchar_t=yes
21089 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
21091 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
21092 echo "configure
:21093: checking
for enabled wchar_t specializations
" >&5
21093 if test x"$ac_isoC99_wchar_t" = xyes &&
21094 test x"$ac_XPG2_wchar_t" = xyes; then
21095 cat >> confdefs.h <<\EOF
21096 #define _GLIBCPP_USE_WCHAR_T 1
21099 echo "$ac_t"""yes"" 1>&6
21101 echo "$ac_t"""no"" 1>&6
21104 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
21108 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21109 ac_save_CXXFLAGS="$CXXFLAGS"
21110 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
21113 echo $ac_n "checking
for strtold declaration
""...
$ac_c" 1>&6
21114 echo "configure
:21115: checking
for strtold declaration
" >&5
21115 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
21116 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
21117 echo $ac_n "(cached
) $ac_c" 1>&6
21122 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21123 ac_cpp='$CXXCPP $CPPFLAGS'
21124 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21125 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21126 cross_compiling=$ac_cv_prog_cxx_cross
21128 cat > conftest.$ac_ext <<EOF
21129 #line 21130 "configure
"
21130 #include "confdefs.h
"
21131 #include <stdlib.h>
21136 if { (eval echo configure:21137: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21138 glibcpp_cv_func_strtold_use=yes
21140 echo "configure
: failed program was
:" >&5
21141 cat conftest.$ac_ext >&5
21143 glibcpp_cv_func_strtold_use=no
21147 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21148 ac_cpp='$CPP $CPPFLAGS'
21149 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21150 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21151 cross_compiling=$ac_cv_prog_cc_cross
21157 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
21158 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
21159 for ac_func in strtold
21161 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21162 echo "configure
:21163: checking
for $ac_func" >&5
21163 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21164 echo $ac_n "(cached
) $ac_c" 1>&6
21166 cat > conftest.$ac_ext <<EOF
21167 #line 21168 "configure
"
21168 #include "confdefs.h
"
21169 /* System header to define __stub macros and hopefully few prototypes,
21170 which can conflict with char $ac_func(); below. */
21171 #include <assert.h>
21172 /* Override any gcc2 internal prototype to avoid an error. */
21173 /* We use char because int might match the return type of a gcc2
21174 builtin and then its argument prototype would still apply. */
21179 /* The GNU C library defines this for functions which it implements
21180 to always fail with ENOSYS. Some functions are actually named
21181 something starting with __ and the normal name is an alias. */
21182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21190 if { (eval echo configure:21191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21192 eval "ac_cv_func_
$ac_func=yes"
21194 echo "configure
: failed program was
:" >&5
21195 cat conftest.$ac_ext >&5
21197 eval "ac_cv_func_
$ac_func=no
"
21202 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21203 echo "$ac_t""yes" 1>&6
21204 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21205 cat >> confdefs.h <<EOF
21206 #define $ac_tr_func 1
21210 echo "$ac_t""no
" 1>&6
21217 echo $ac_n "checking
for strtof declaration
""...
$ac_c" 1>&6
21218 echo "configure
:21219: checking
for strtof declaration
" >&5
21219 if test x${glibcpp_cv_func_strtof_use+set} != xset; then
21220 if eval "test \"`echo '$''{'glibcpp_cv_func_strtof_use'+set}'`\" = set"; then
21221 echo $ac_n "(cached
) $ac_c" 1>&6
21226 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21227 ac_cpp='$CXXCPP $CPPFLAGS'
21228 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21229 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21230 cross_compiling=$ac_cv_prog_cxx_cross
21232 cat > conftest.$ac_ext <<EOF
21233 #line 21234 "configure
"
21234 #include "confdefs.h
"
21235 #include <stdlib.h>
21240 if { (eval echo configure:21241: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21242 glibcpp_cv_func_strtof_use=yes
21244 echo "configure
: failed program was
:" >&5
21245 cat conftest.$ac_ext >&5
21247 glibcpp_cv_func_strtof_use=no
21251 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21252 ac_cpp='$CPP $CPPFLAGS'
21253 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21254 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21255 cross_compiling=$ac_cv_prog_cc_cross
21261 echo "$ac_t""$glibcpp_cv_func_strtof_use" 1>&6
21262 if test x$glibcpp_cv_func_strtof_use = x"yes"; then
21263 for ac_func in strtof
21265 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21266 echo "configure
:21267: checking
for $ac_func" >&5
21267 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21268 echo $ac_n "(cached
) $ac_c" 1>&6
21270 cat > conftest.$ac_ext <<EOF
21271 #line 21272 "configure
"
21272 #include "confdefs.h
"
21273 /* System header to define __stub macros and hopefully few prototypes,
21274 which can conflict with char $ac_func(); below. */
21275 #include <assert.h>
21276 /* Override any gcc2 internal prototype to avoid an error. */
21277 /* We use char because int might match the return type of a gcc2
21278 builtin and then its argument prototype would still apply. */
21283 /* The GNU C library defines this for functions which it implements
21284 to always fail with ENOSYS. Some functions are actually named
21285 something starting with __ and the normal name is an alias. */
21286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21294 if { (eval echo configure:21295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21296 eval "ac_cv_func_
$ac_func=yes"
21298 echo "configure
: failed program was
:" >&5
21299 cat conftest.$ac_ext >&5
21301 eval "ac_cv_func_
$ac_func=no
"
21306 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21307 echo "$ac_t""yes" 1>&6
21308 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21309 cat >> confdefs.h <<EOF
21310 #define $ac_tr_func 1
21314 echo "$ac_t""no
" 1>&6
21320 for ac_func in drand48
21322 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21323 echo "configure
:21324: checking
for $ac_func" >&5
21324 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21325 echo $ac_n "(cached
) $ac_c" 1>&6
21327 cat > conftest.$ac_ext <<EOF
21328 #line 21329 "configure
"
21329 #include "confdefs.h
"
21330 /* System header to define __stub macros and hopefully few prototypes,
21331 which can conflict with char $ac_func(); below. */
21332 #include <assert.h>
21333 /* Override any gcc2 internal prototype to avoid an error. */
21334 /* We use char because int might match the return type of a gcc2
21335 builtin and then its argument prototype would still apply. */
21340 /* The GNU C library defines this for functions which it implements
21341 to always fail with ENOSYS. Some functions are actually named
21342 something starting with __ and the normal name is an alias. */
21343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21351 if { (eval echo configure:21352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21353 eval "ac_cv_func_
$ac_func=yes"
21355 echo "configure
: failed program was
:" >&5
21356 cat conftest.$ac_ext >&5
21358 eval "ac_cv_func_
$ac_func=no
"
21363 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21364 echo "$ac_t""yes" 1>&6
21365 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21366 cat >> confdefs.h <<EOF
21367 #define $ac_tr_func 1
21371 echo "$ac_t""no
" 1>&6
21376 CXXFLAGS="$ac_save_CXXFLAGS"
21379 ac_safe=`echo "locale.h
" | sed 'y%./+-%__p_%'`
21380 echo $ac_n "checking
for locale.h
""...
$ac_c" 1>&6
21381 echo "configure
:21382: checking
for locale.h
" >&5
21382 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21383 echo $ac_n "(cached
) $ac_c" 1>&6
21385 cat > conftest.$ac_ext <<EOF
21386 #line 21387 "configure
"
21387 #include "confdefs.h
"
21388 #include <locale.h>
21390 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
21391 { (eval echo configure:21392: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21392 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
21393 if test -z "$ac_err"; then
21395 eval "ac_cv_header_
$ac_safe=yes"
21398 echo "configure
: failed program was
:" >&5
21399 cat conftest.$ac_ext >&5
21401 eval "ac_cv_header_
$ac_safe=no
"
21405 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21406 echo "$ac_t""yes" 1>&6
21408 echo $ac_n "checking
for LC_MESSAGES
""...
$ac_c" 1>&6
21409 echo "configure
:21410: checking
for LC_MESSAGES
" >&5
21410 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
21411 echo $ac_n "(cached
) $ac_c" 1>&6
21413 cat > conftest.$ac_ext <<EOF
21414 #line 21415 "configure
"
21415 #include "confdefs.h
"
21416 #include <locale.h>
21421 if { (eval echo configure:21422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21423 ac_cv_val_LC_MESSAGES=yes
21425 echo "configure
: failed program was
:" >&5
21426 cat conftest.$ac_ext >&5
21428 ac_cv_val_LC_MESSAGES=no
21433 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
21434 if test $ac_cv_val_LC_MESSAGES = yes; then
21435 cat >> confdefs.h <<\EOF
21436 #define HAVE_LC_MESSAGES 1
21442 echo "$ac_t""no
" 1>&6
21447 cat > conftest.$ac_ext <<EOF
21448 #line 21449 "configure
"
21449 #include "confdefs.h
"
21451 #include <setjmp.h>
21454 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
21457 if { (eval echo configure:21458: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21459 cat >> confdefs.h <<\EOF
21460 #define HAVE_SIGSETJMP 1
21465 echo "configure
: failed program was
:" >&5
21466 cat conftest.$ac_ext >&5
21470 for ac_hdr in unistd.h
21472 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21473 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
21474 echo "configure
:21475: checking
for $ac_hdr" >&5
21475 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21476 echo $ac_n "(cached
) $ac_c" 1>&6
21478 cat > conftest.$ac_ext <<EOF
21479 #line 21480 "configure
"
21480 #include "confdefs.h
"
21483 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
21484 { (eval echo configure:21485: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21485 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
21486 if test -z "$ac_err"; then
21488 eval "ac_cv_header_
$ac_safe=yes"
21491 echo "configure
: failed program was
:" >&5
21492 cat conftest.$ac_ext >&5
21494 eval "ac_cv_header_
$ac_safe=no
"
21498 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21499 echo "$ac_t""yes" 1>&6
21500 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21501 cat >> confdefs.h <<EOF
21502 #define $ac_tr_hdr 1
21506 echo "$ac_t""no
" 1>&6
21510 for ac_func in getpagesize
21512 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21513 echo "configure
:21514: checking
for $ac_func" >&5
21514 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21515 echo $ac_n "(cached
) $ac_c" 1>&6
21517 cat > conftest.$ac_ext <<EOF
21518 #line 21519 "configure
"
21519 #include "confdefs.h
"
21520 /* System header to define __stub macros and hopefully few prototypes,
21521 which can conflict with char $ac_func(); below. */
21522 #include <assert.h>
21523 /* Override any gcc2 internal prototype to avoid an error. */
21524 /* We use char because int might match the return type of a gcc2
21525 builtin and then its argument prototype would still apply. */
21530 /* The GNU C library defines this for functions which it implements
21531 to always fail with ENOSYS. Some functions are actually named
21532 something starting with __ and the normal name is an alias. */
21533 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21541 if { (eval echo configure:21542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21543 eval "ac_cv_func_
$ac_func=yes"
21545 echo "configure
: failed program was
:" >&5
21546 cat conftest.$ac_ext >&5
21548 eval "ac_cv_func_
$ac_func=no
"
21553 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21554 echo "$ac_t""yes" 1>&6
21555 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21556 cat >> confdefs.h <<EOF
21557 #define $ac_tr_func 1
21561 echo "$ac_t""no
" 1>&6
21565 echo $ac_n "checking
for working mmap
""...
$ac_c" 1>&6
21566 echo "configure
:21567: checking
for working mmap
" >&5
21567 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
21568 echo $ac_n "(cached
) $ac_c" 1>&6
21570 if test "$cross_compiling" = yes; then
21571 ac_cv_func_mmap_fixed_mapped=no
21573 cat > conftest.$ac_ext <<EOF
21574 #line 21575 "configure
"
21575 #include "confdefs.h
"
21577 /* Thanks to Mike Haertel and Jim Avera for this test.
21578 Here is a matrix of mmap possibilities:
21579 mmap private not fixed
21580 mmap private fixed at somewhere currently unmapped
21581 mmap private fixed at somewhere already mapped
21582 mmap shared not fixed
21583 mmap shared fixed at somewhere currently unmapped
21584 mmap shared fixed at somewhere already mapped
21585 For private mappings, we should verify that changes cannot be read()
21586 back from the file, nor mmap's back from the file at a different
21587 address. (There have been systems where private was not correctly
21588 implemented like the infamous i386 svr4.0, and systems where the
21589 VM page cache was not coherent with the filesystem buffer cache
21590 like early versions of FreeBSD and possibly contemporary NetBSD.)
21591 For shared mappings, we should conversely verify that changes get
21592 propogated back to all the places they're supposed to be.
21594 Grep wants private fixed already mapped.
21595 The main things grep needs to know about mmap are:
21596 * does it exist and is it safe to write into the mmap'd area
21597 * how to use it (BSD variants) */
21598 #include <sys/types.h>
21600 #include <sys/mman.h>
21602 /* This mess was copied from the GNU getpagesize.h. */
21603 #ifndef HAVE_GETPAGESIZE
21604 # ifdef HAVE_UNISTD_H
21605 # include <unistd.h>
21608 /* Assume that all systems that can run configure have sys/param.h. */
21609 # ifndef HAVE_SYS_PARAM_H
21610 # define HAVE_SYS_PARAM_H 1
21613 # ifdef _SC_PAGESIZE
21614 # define getpagesize() sysconf(_SC_PAGESIZE)
21615 # else /* no _SC_PAGESIZE */
21616 # ifdef HAVE_SYS_PARAM_H
21617 # include <sys/param.h>
21618 # ifdef EXEC_PAGESIZE
21619 # define getpagesize() EXEC_PAGESIZE
21620 # else /* no EXEC_PAGESIZE */
21622 # define getpagesize() NBPG * CLSIZE
21625 # endif /* no CLSIZE */
21626 # else /* no NBPG */
21628 # define getpagesize() NBPC
21629 # else /* no NBPC */
21631 # define getpagesize() PAGESIZE
21632 # endif /* PAGESIZE */
21633 # endif /* no NBPC */
21634 # endif /* no NBPG */
21635 # endif /* no EXEC_PAGESIZE */
21636 # else /* no HAVE_SYS_PARAM_H */
21637 # define getpagesize() 8192 /* punt totally */
21638 # endif /* no HAVE_SYS_PARAM_H */
21639 # endif /* no _SC_PAGESIZE */
21641 #endif /* no HAVE_GETPAGESIZE */
21644 extern "C
" { void *malloc(unsigned); }
21652 char *data, *data2, *data3;
21656 pagesize = getpagesize();
21659 * First, make a file with some known garbage in it.
21661 data = malloc(pagesize);
21664 for (i = 0; i < pagesize; ++i)
21665 *(data + i) = rand();
21667 fd = creat("conftestmmap
", 0600);
21670 if (write(fd, data, pagesize) != pagesize)
21675 * Next, try to mmap the file at a fixed address which
21676 * already has something else allocated at it. If we can,
21677 * also make sure that we see the same garbage.
21679 fd = open("conftestmmap
", O_RDWR);
21682 data2 = malloc(2 * pagesize);
21685 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
21686 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
21687 MAP_PRIVATE | MAP_FIXED, fd, 0L))
21689 for (i = 0; i < pagesize; ++i)
21690 if (*(data + i) != *(data2 + i))
21694 * Finally, make sure that changes to the mapped area
21695 * do not percolate back to the file as seen by read().
21696 * (This is a bug on some variants of i386 svr4.0.)
21698 for (i = 0; i < pagesize; ++i)
21699 *(data2 + i) = *(data2 + i) + 1;
21700 data3 = malloc(pagesize);
21703 if (read(fd, data3, pagesize) != pagesize)
21705 for (i = 0; i < pagesize; ++i)
21706 if (*(data + i) != *(data3 + i))
21709 unlink("conftestmmap
");
21714 if { (eval echo configure:21715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
21716 ac_cv_func_mmap_fixed_mapped=yes
21718 echo "configure
: failed program was
:" >&5
21719 cat conftest.$ac_ext >&5
21721 ac_cv_func_mmap_fixed_mapped=no
21728 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
21729 if test $ac_cv_func_mmap_fixed_mapped = yes; then
21730 cat >> confdefs.h <<\EOF
21731 #define HAVE_MMAP 1
21737 # Establish limits on memory usage during 'make check'
21740 setrlimit_have_headers=yes
21741 for ac_hdr in unistd.h sys/time.h sys/resource.h
21743 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21744 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
21745 echo "configure
:21746: checking
for $ac_hdr" >&5
21746 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21747 echo $ac_n "(cached
) $ac_c" 1>&6
21749 cat > conftest.$ac_ext <<EOF
21750 #line 21751 "configure
"
21751 #include "confdefs.h
"
21754 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
21755 { (eval echo configure:21756: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21756 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
21757 if test -z "$ac_err"; then
21759 eval "ac_cv_header_
$ac_safe=yes"
21762 echo "configure
: failed program was
:" >&5
21763 cat conftest.$ac_ext >&5
21765 eval "ac_cv_header_
$ac_safe=no
"
21769 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21770 echo "$ac_t""yes" 1>&6
21771 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21772 cat >> confdefs.h <<EOF
21773 #define $ac_tr_hdr 1
21777 echo "$ac_t""no
" 1>&6
21778 setrlimit_have_headers=no
21782 # If don't have the headers, then we can't run the tests now, and we
21783 # won't be seeing any of these during testsuite compilation.
21784 if test $setrlimit_have_headers = yes; then
21785 # Can't do these in a loop, else the resulting syntax is wrong.
21787 cat > conftest.$ac_ext <<EOF
21788 #line 21789 "configure
"
21789 #include "confdefs.h
"
21790 #include <unistd.h>
21791 #include <sys/time.h>
21792 #include <sys/resource.h>
21795 int f = RLIMIT_DATA ;
21798 if { (eval echo configure:21799: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21802 echo "configure
: failed program was
:" >&5
21803 cat conftest.$ac_ext >&5
21808 cat >> confdefs.h <<EOF
21809 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
21814 cat > conftest.$ac_ext <<EOF
21815 #line 21816 "configure
"
21816 #include "confdefs.h
"
21817 #include <unistd.h>
21818 #include <sys/time.h>
21819 #include <sys/resource.h>
21822 int f = RLIMIT_RSS ;
21825 if { (eval echo configure:21826: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21829 echo "configure
: failed program was
:" >&5
21830 cat conftest.$ac_ext >&5
21835 cat >> confdefs.h <<EOF
21836 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
21841 cat > conftest.$ac_ext <<EOF
21842 #line 21843 "configure
"
21843 #include "confdefs.h
"
21844 #include <unistd.h>
21845 #include <sys/time.h>
21846 #include <sys/resource.h>
21849 int f = RLIMIT_VMEM ;
21852 if { (eval echo configure:21853: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21856 echo "configure
: failed program was
:" >&5
21857 cat conftest.$ac_ext >&5
21862 cat >> confdefs.h <<EOF
21863 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
21868 cat > conftest.$ac_ext <<EOF
21869 #line 21870 "configure
"
21870 #include "confdefs.h
"
21871 #include <unistd.h>
21872 #include <sys/time.h>
21873 #include <sys/resource.h>
21876 int f = RLIMIT_AS ;
21879 if { (eval echo configure:21880: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21883 echo "configure
: failed program was
:" >&5
21884 cat conftest.$ac_ext >&5
21889 cat >> confdefs.h <<EOF
21890 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
21895 # Check for rlimit, setrlimit.
21896 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
21897 echo $ac_n "(cached
) $ac_c" 1>&6
21900 cat > conftest.$ac_ext <<EOF
21901 #line 21902 "configure
"
21902 #include "confdefs.h
"
21903 #include <unistd.h>
21904 #include <sys/time.h>
21905 #include <sys/resource.h>
21908 struct rlimit r; setrlimit(0, &r);
21911 if { (eval echo configure:21912: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21915 echo "configure
: failed program was
:" >&5
21916 cat conftest.$ac_ext >&5
21926 echo $ac_n "checking
for testsuite memory limit support
""...
$ac_c" 1>&6
21927 echo "configure
:21928: checking
for testsuite memory limit support
" >&5
21928 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
21930 cat >> confdefs.h <<\EOF
21931 #define _GLIBCPP_MEM_LIMITS 1
21937 echo "$ac_t""$ac_mem_limits" 1>&6
21940 # Look for setenv, so that extended locale tests can be performed.
21942 echo $ac_n "checking
for setenv declaration
""...
$ac_c" 1>&6
21943 echo "configure
:21944: checking
for setenv declaration
" >&5
21944 if test x${glibcpp_cv_func_setenv_use+set} != xset; then
21945 if eval "test \"`echo '$''{'glibcpp_cv_func_setenv_use'+set}'`\" = set"; then
21946 echo $ac_n "(cached
) $ac_c" 1>&6
21951 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21952 ac_cpp='$CXXCPP $CPPFLAGS'
21953 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21954 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21955 cross_compiling=$ac_cv_prog_cxx_cross
21957 cat > conftest.$ac_ext <<EOF
21958 #line 21959 "configure
"
21959 #include "confdefs.h
"
21960 #include <stdlib.h>
21965 if { (eval echo configure:21966: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21967 glibcpp_cv_func_setenv_use=yes
21969 echo "configure
: failed program was
:" >&5
21970 cat conftest.$ac_ext >&5
21972 glibcpp_cv_func_setenv_use=no
21976 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21977 ac_cpp='$CPP $CPPFLAGS'
21978 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21979 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21980 cross_compiling=$ac_cv_prog_cc_cross
21986 echo "$ac_t""$glibcpp_cv_func_setenv_use" 1>&6
21987 if test x$glibcpp_cv_func_setenv_use = x"yes"; then
21988 for ac_func in setenv
21990 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21991 echo "configure
:21992: checking
for $ac_func" >&5
21992 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21993 echo $ac_n "(cached
) $ac_c" 1>&6
21995 cat > conftest.$ac_ext <<EOF
21996 #line 21997 "configure
"
21997 #include "confdefs.h
"
21998 /* System header to define __stub macros and hopefully few prototypes,
21999 which can conflict with char $ac_func(); below. */
22000 #include <assert.h>
22001 /* Override any gcc2 internal prototype to avoid an error. */
22002 /* We use char because int might match the return type of a gcc2
22003 builtin and then its argument prototype would still apply. */
22008 /* The GNU C library defines this for functions which it implements
22009 to always fail with ENOSYS. Some functions are actually named
22010 something starting with __ and the normal name is an alias. */
22011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22019 if { (eval echo configure:22020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22021 eval "ac_cv_func_
$ac_func=yes"
22023 echo "configure
: failed program was
:" >&5
22024 cat conftest.$ac_ext >&5
22026 eval "ac_cv_func_
$ac_func=no
"
22031 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22032 echo "$ac_t""yes" 1>&6
22033 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22034 cat >> confdefs.h <<EOF
22035 #define $ac_tr_func 1
22039 echo "$ac_t""no
" 1>&6
22046 # Export file names for ABI checking.
22047 baseline_file="${glibcpp_srcdir}/config
/abi
/${abi_baseline_triplet}/baseline_symbols.txt
"
22050 # Don't do ABI checking unless native.
22053 if test x"$build" = x"$host" && test -z "$with_cross_host"; then
22054 GLIBCPP_BUILD_ABI_CHECK_TRUE=
22055 GLIBCPP_BUILD_ABI_CHECK_FALSE='#'
22057 GLIBCPP_BUILD_ABI_CHECK_TRUE='#'
22058 GLIBCPP_BUILD_ABI_CHECK_FALSE=
22063 # This depends on the possibly-skipped linker test above.
22064 # Check whether --enable-symvers or --disable-symvers was given.
22065 if test "${enable_symvers+set}" = set; then
22066 enableval="$enable_symvers"
22067 case "$enableval" in
22068 yes) enable_symvers=yes ;;
22069 no) enable_symvers=no ;;
22070 # other names here, just as sanity checks
22071 #gnu|sun|etcetera) enable_symvers=$enableval ;;
22072 gnu) enable_symvers=$enableval ;;
22073 *) { echo "configure
: error
: Unknown argument to enable
/disable symvers
" 1>&2; exit 1; } ;;
22079 # If we never went through the GLIBCPP_CHECK_LINKER_FEATURES macro, then we
22080 # don't know enough about $LD to do tricks...
22081 if test x$enable_shared = xno ||
22083 test x$glibcpp_gnu_ld_version = x; then
22087 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
22088 if test $enable_symvers != no; then
22089 echo $ac_n "checking
for shared libgcc
""...
$ac_c" 1>&6
22090 echo "configure
:22091: checking
for shared libgcc
" >&5
22091 ac_save_CFLAGS="$CFLAGS"
22093 cat > conftest.$ac_ext <<EOF
22094 #line 22095 "configure
"
22095 #include "confdefs.h
"
22101 if { (eval echo configure:22102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22103 glibcpp_shared_libgcc=yes
22105 echo "configure
: failed program was
:" >&5
22106 cat conftest.$ac_ext >&5
22108 glibcpp_shared_libgcc=no
22111 CFLAGS="$ac_save_CFLAGS"
22112 echo "$ac_t""$glibcpp_shared_libgcc" 1>&6
22115 # For GNU ld, we need at least this version. It's 2.12 in the same format
22116 # as the tested-for version. See GLIBCPP_CHECK_LINKER_FEATURES for more.
22117 glibcpp_min_gnu_ld_version=21200
22119 # Check to see if unspecified "yes" value can win, given results
22121 if test $enable_symvers = yes ; then
22122 if test $with_gnu_ld = yes &&
22123 test $glibcpp_shared_libgcc = yes ;
22125 if test $glibcpp_gnu_ld_version -ge $glibcpp_min_gnu_ld_version ; then
22128 ac_test_CFLAGS="${CFLAGS+set}"
22129 ac_save_CFLAGS="$CFLAGS"
22130 CFLAGS='-shared -Wl,--version-script,conftest.map'
22133 echo 'FOO { global: f[a-z]o; local: *; };' > conftest.map
22135 cat > conftest.$ac_ext <<EOF
22136 #line 22137 "configure
"
22137 #include "confdefs.h
"
22143 if { (eval echo configure:22144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22147 echo "configure
: failed program was
:" >&5
22148 cat conftest.$ac_ext >&5
22151 if test "$ac_test_CFLAGS" = set; then
22152 CFLAGS="$ac_save_CFLAGS"
22154 # this is the suspicious part
22160 # just fail for now
22165 case $enable_symvers in
22167 LINKER_MAP=config/linker-map.dummy
22170 LINKER_MAP=config/linker-map.gnu
22177 if test $enable_symvers != no; then
22178 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE=
22179 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE='#'
22181 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE='#'
22182 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE=
22184 echo $ac_n "checking versioning on shared library symbols
""...
$ac_c" 1>&6
22185 echo "configure
:22186: checking versioning on shared library symbols
" >&5
22186 echo "$ac_t""$enable_symvers" 1>&6
22189 # Propagate the target-specific source directories through the build chain.
22190 # (Nothing currently uses cpu_include_dir directly; only ATOMICITYH and
22191 # CPULIMITSH [might] use it, and they only get used here.)
22192 OS_INC_SRCDIR=config/${os_include_dir}
22193 ATOMICITY_INC_SRCDIR=config/${ATOMICITYH}
22194 CPU_LIMITS_INC_SRCDIR=config/${CPULIMITSH}
22199 # Set up cross-compile flags
22202 if test "$CANADIAN" = yes; then
22210 cat > confcache <<\EOF
22211 # This file is a shell script that caches the results of configure
22212 # tests run on this system so they can be shared between configure
22213 # scripts and configure runs. It is not useful on other systems.
22214 # If it contains results you don't want to keep, you may remove or edit it.
22216 # By default, configure uses ./config.cache as the cache file,
22217 # creating it if it does not exist already. You can give configure
22218 # the --cache-file=FILE option to use a different cache file; that is
22219 # what configure does when it calls configure scripts in
22220 # subdirectories, so they share the cache.
22221 # Giving --cache-file=/dev/null disables caching, for debugging configure.
22222 # config.status only pays attention to the cache file if you give it the
22223 # --recheck option to rerun configure.
22226 # The following way of writing the cache mishandles newlines in values,
22227 # but we know of no workaround that is simple, portable, and efficient.
22228 # So, don't put newlines in cache variables' values.
22229 # Ultrix sh set writes to stderr and can't be redirected directly,
22230 # and sets the high bit in the cache file unless we assign to the vars.
22232 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22234 # `set' does not quote correctly, so add quotes (double-quote substitution
22235 # turns \\\\ into \\, and sed turns \\ into \).
22237 -e "s
/'/'\\\\''/g
" \
22238 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
22241 # `set' quotes correctly as required by POSIX, so do not add quotes.
22242 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
22245 if cmp -s $cache_file confcache; then
22248 if test -w $cache_file; then
22249 echo "updating cache
$cache_file"
22250 cat confcache > $cache_file
22252 echo "not updating unwritable cache
$cache_file"
22258 if test "${multilib}" = "yes"; then
22259 multilib_arg="--enable-multilib"
22264 # Export all the install information
22266 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
22267 # exported correctly in GLIBCPP_CONFIGURE.
22268 glibcpp_toolexecdir=no
22269 glibcpp_toolexeclibdir=no
22270 glibcpp_prefixdir=${prefix}
22272 # Process the option --with-gxx-include-dir=<path to include-files directory>
22273 echo $ac_n "checking
for --with-gxx-include-dir""...
$ac_c" 1>&6
22274 echo "configure
:22275: checking
for --with-gxx-include-dir" >&5
22275 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
22276 if test "${with_gxx_include_dir+set}" = set; then
22277 withval="$with_gxx_include_dir"
22278 case "${withval}" in
22280 { echo "configure
: error
: Missing directory
for --with-gxx-include-dir" 1>&2; exit 1; }
22287 gxx_include_dir=${withval}
22294 echo "$ac_t""$gxx_include_dir" 1>&6
22296 # Process the option "--enable-version-specific-runtime-libs"
22297 echo $ac_n "checking
for --enable-version-specific-runtime-libs""...
$ac_c" 1>&6
22298 echo "configure
:22299: checking
for --enable-version-specific-runtime-libs" >&5
22299 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
22300 if test "${enable_version_specific_runtime_libs+set}" = set; then
22301 enableval="$enable_version_specific_runtime_libs"
22302 case "$enableval" in
22303 yes) version_specific_libs=yes ;;
22304 no) version_specific_libs=no ;;
22305 *) { echo "configure
: error
: Unknown argument to enable
/disable version-specific libs
" 1>&2; exit 1; };;
22308 version_specific_libs=no
22310 # Option set, now we can test it.
22311 echo "$ac_t""$version_specific_libs" 1>&6
22313 # Default case for install directory for include files.
22314 if test $version_specific_libs = no && test $gxx_include_dir = no; then
22315 gxx_include_dir='$(prefix)'/include/c++/${gcc_version}
22318 # Version-specific runtime libs processing.
22319 if test $version_specific_libs = yes; then
22320 # Need the gcc compiler version to know where to install libraries
22321 # and header files if --enable-version-specific-runtime-libs option
22323 if test x"$gxx_include_dir" = x"no
"; then
22324 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/c++
22326 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
22327 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
22330 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
22331 # Install a library built with a cross compiler in tooldir, not libdir.
22332 if test x"$glibcpp_toolexecdir" = x"no
"; then
22333 if test -n "$with_cross_host" &&
22334 test x"$with_cross_host" != x"no
"; then
22335 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
22336 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
22338 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
22339 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
22343 echo $ac_n "checking
for install location
""...
$ac_c" 1>&6
22344 echo "configure
:22345: checking
for install location
" >&5
22345 echo "$ac_t""$gxx_include_dir" 1>&6
22353 # Export all the include and flag information to makefiles.
22355 # Root level of the build directory include sources.
22356 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include
"
22358 # Passed down for canadian crosses.
22359 if test x"$CANADIAN" = xyes; then
22360 TOPLEVEL_INCLUDES='-I$(includedir)'
22363 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
22365 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
22367 if test x"$need_libio" = xyes; then
22368 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
22372 # Now, export this to all the little Makefiles....
22379 # Optimization flags that are probably a good idea for thrill-seekers. Just
22380 # uncomment the lines below and make, everything else is ready to go...
22381 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
22385 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
22389 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
22390 grep "enable shared
" > /dev/null; then
22391 LIBSUPCXX_PICFLAGS=-prefer-pic
22393 LIBSUPCXX_PICFLAGS=
22397 # Generate the various Makefiles, include files, and scripts.
22398 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
22399 # and libsupc++/Makefile.am so that multilib installs will end up
22400 # installed in the correct place. To work around this not being passed
22401 # down from config-ml.in -> top_srcdir/Makefile.am ->
22402 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
22404 cat > confcache <<\EOF
22405 # This file is a shell script that caches the results of configure
22406 # tests run on this system so they can be shared between configure
22407 # scripts and configure runs. It is not useful on other systems.
22408 # If it contains results you don't want to keep, you may remove or edit it.
22410 # By default, configure uses ./config.cache as the cache file,
22411 # creating it if it does not exist already. You can give configure
22412 # the --cache-file=FILE option to use a different cache file; that is
22413 # what configure does when it calls configure scripts in
22414 # subdirectories, so they share the cache.
22415 # Giving --cache-file=/dev/null disables caching, for debugging configure.
22416 # config.status only pays attention to the cache file if you give it the
22417 # --recheck option to rerun configure.
22420 # The following way of writing the cache mishandles newlines in values,
22421 # but we know of no workaround that is simple, portable, and efficient.
22422 # So, don't put newlines in cache variables' values.
22423 # Ultrix sh set writes to stderr and can't be redirected directly,
22424 # and sets the high bit in the cache file unless we assign to the vars.
22426 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22428 # `set' does not quote correctly, so add quotes (double-quote substitution
22429 # turns \\\\ into \\, and sed turns \\ into \).
22431 -e "s
/'/'\\\\''/g
" \
22432 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
22435 # `set' quotes correctly as required by POSIX, so do not add quotes.
22436 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
22439 if cmp -s $cache_file confcache; then
22442 if test -w $cache_file; then
22443 echo "updating cache
$cache_file"
22444 cat confcache > $cache_file
22446 echo "not updating unwritable cache
$cache_file"
22451 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
22453 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
22454 # Let make expand exec_prefix.
22455 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
22457 # Any assignment to VPATH causes Sun make to only execute
22458 # the first set of double-colon rules, so remove it if not needed.
22459 # If there is a colon in the path, we need to keep it.
22460 if test "x
$srcdir" = x.; then
22461 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
22464 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
22466 DEFS=-DHAVE_CONFIG_H
22468 # Without the ".
/", some shells look in PATH for config.status.
22469 : ${CONFIG_STATUS=./config.status}
22471 echo creating $CONFIG_STATUS
22472 rm -f $CONFIG_STATUS
22473 cat > $CONFIG_STATUS <<EOF
22475 # Generated automatically by configure.
22476 # Run this file to recreate the current configuration.
22477 # This directory was configured as follows,
22478 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22480 # $0 $ac_configure_args
22482 # Compiler output produced by configure, useful for debugging
22483 # configure, is in ./config.log if it exists.
22485 ac_cs_usage="Usage
: $CONFIG_STATUS [--recheck] [--version] [--help]"
22488 case "\
$ac_option" in
22489 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22490 echo "running \
${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
22491 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
22492 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
22493 echo "$CONFIG_STATUS generated by autoconf version
2.13"
22495 -help | --help | --hel | --he | --h)
22496 echo "\
$ac_cs_usage"; exit 0 ;;
22497 *) echo "\
$ac_cs_usage"; exit 1 ;;
22501 ac_given_srcdir=$srcdir
22502 ac_given_INSTALL="$INSTALL"
22504 trap 'rm -fr `echo "Makefile \
22505 include
/Makefile src
/Makefile \
22506 libmath
/Makefile libio
/Makefile libsupc
++/Makefile \
22507 po
/Makefile testsuite
/Makefile mkcheck testsuite_flags config.h
" | sed "s
/:[^
]*//g
"` conftest*; exit 1' 1 2 15
22509 cat >> $CONFIG_STATUS <<EOF
22511 # Protect against being on the right side of a sed subst in config.status.
22512 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
22513 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
22517 s%@CFLAGS@%$CFLAGS%g
22518 s%@CPPFLAGS@%$CPPFLAGS%g
22519 s%@CXXFLAGS@%$CXXFLAGS%g
22520 s%@FFLAGS@%$FFLAGS%g
22522 s%@LDFLAGS@%$LDFLAGS%g
22524 s%@exec_prefix@%$exec_prefix%g
22525 s%@prefix@%$prefix%g
22526 s%@program_transform_name@%$program_transform_name%g
22527 s%@bindir@%$bindir%g
22528 s%@sbindir@%$sbindir%g
22529 s%@libexecdir@%$libexecdir%g
22530 s%@datadir@%$datadir%g
22531 s%@sysconfdir@%$sysconfdir%g
22532 s%@sharedstatedir@%$sharedstatedir%g
22533 s%@localstatedir@%$localstatedir%g
22534 s%@libdir@%$libdir%g
22535 s%@includedir@%$includedir%g
22536 s%@oldincludedir@%$oldincludedir%g
22537 s%@infodir@%$infodir%g
22538 s%@mandir@%$mandir%g
22539 s%@PACKAGE@%$PACKAGE%g
22540 s%@libtool_VERSION@%$libtool_VERSION%g
22541 s%@toplevel_srcdir@%$toplevel_srcdir%g
22543 s%@host_alias@%$host_alias%g
22544 s%@host_cpu@%$host_cpu%g
22545 s%@host_vendor@%$host_vendor%g
22546 s%@host_os@%$host_os%g
22547 s%@target@%$target%g
22548 s%@target_alias@%$target_alias%g
22549 s%@target_cpu@%$target_cpu%g
22550 s%@target_vendor@%$target_vendor%g
22551 s%@target_os@%$target_os%g
22553 s%@build_alias@%$build_alias%g
22554 s%@build_cpu@%$build_cpu%g
22555 s%@build_vendor@%$build_vendor%g
22556 s%@build_os@%$build_os%g
22557 s%@glibcpp_builddir@%$glibcpp_builddir%g
22558 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
22561 s%@glibcpp_basedir@%$glibcpp_basedir%g
22563 s%@glibcpp_CXX@%$glibcpp_CXX%g
22566 s%@RANLIB@%$RANLIB%g
22567 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
22568 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
22569 s%@INSTALL_DATA@%$INSTALL_DATA%g
22570 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
22571 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
22573 s%@EXEEXT@%$EXEEXT%g
22574 s%@VERSION@%$VERSION%g
22575 s%@ACLOCAL@%$ACLOCAL%g
22576 s%@AUTOCONF@%$AUTOCONF%g
22577 s%@AUTOMAKE@%$AUTOMAKE%g
22578 s%@AUTOHEADER@%$AUTOHEADER%g
22579 s%@MAKEINFO@%$MAKEINFO%g
22580 s%@SET_MAKE@%$SET_MAKE%g
22581 s%@OBJEXT@%$OBJEXT%g
22583 s%@LIBTOOL@%$LIBTOOL%g
22584 s%@CXXCPP@%$CXXCPP%g
22585 s%@enable_shared@%$enable_shared%g
22586 s%@enable_static@%$enable_static%g
22587 s%@ifGNUmake@%$ifGNUmake%g
22588 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
22590 s%@CSTDIO_H@%$CSTDIO_H%g
22591 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
22592 s%@CCODECVT_C@%$CCODECVT_C%g
22593 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
22594 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
22595 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
22596 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
22597 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
22598 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
22599 s%@libio_la@%$libio_la%g
22600 s%@check_msgfmt@%$check_msgfmt%g
22601 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
22602 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
22603 s%@glibcpp_localedir@%$glibcpp_localedir%g
22604 s%@USE_NLS@%$USE_NLS%g
22605 s%@CLOCALE_H@%$CLOCALE_H%g
22606 s%@CCODECVT_H@%$CCODECVT_H%g
22607 s%@CMESSAGES_H@%$CMESSAGES_H%g
22608 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
22609 s%@GLIBCPP_C_HEADERS_C_TRUE@%$GLIBCPP_C_HEADERS_C_TRUE%g
22610 s%@GLIBCPP_C_HEADERS_C_FALSE@%$GLIBCPP_C_HEADERS_C_FALSE%g
22611 s%@GLIBCPP_C_HEADERS_C_STD_TRUE@%$GLIBCPP_C_HEADERS_C_STD_TRUE%g
22612 s%@GLIBCPP_C_HEADERS_C_STD_FALSE@%$GLIBCPP_C_HEADERS_C_STD_FALSE%g
22613 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE%g
22614 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE%g
22615 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
22616 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
22617 s%@LIBUNWIND_FLAG@%$LIBUNWIND_FLAG%g
22618 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
22619 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
22620 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
22621 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
22622 s%@WERROR@%$WERROR%g
22623 s%@baseline_file@%$baseline_file%g
22624 s%@GLIBCPP_BUILD_ABI_CHECK_TRUE@%$GLIBCPP_BUILD_ABI_CHECK_TRUE%g
22625 s%@GLIBCPP_BUILD_ABI_CHECK_FALSE@%$GLIBCPP_BUILD_ABI_CHECK_FALSE%g
22626 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g
22627 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g
22628 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
22629 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
22630 s%@CPU_LIMITS_INC_SRCDIR@%$CPU_LIMITS_INC_SRCDIR%g
22631 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
22632 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
22633 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
22634 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
22635 s%@gxx_include_dir@%$gxx_include_dir%g
22636 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
22637 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
22638 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
22639 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
22640 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
22641 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
22642 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
22643 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
22644 s%@WARN_FLAGS@%$WARN_FLAGS%g
22645 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
22650 cat >> $CONFIG_STATUS <<\EOF
22652 # Split the substitutions into bite-sized pieces for seds with
22653 # small command number limits, like on Digital OSF/1 and HP-UX.
22654 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
22655 ac_file=1 # Number of current file.
22656 ac_beg=1 # First line for current file.
22657 ac_end=$ac_max_sed_cmds # Line after last line for current file.
22660 while $ac_more_lines; do
22661 if test $ac_beg -gt 1; then
22662 sed "1,${ac_beg}d
; ${ac_end}q
" conftest.subs > conftest.s$ac_file
22664 sed "${ac_end}q
" conftest.subs > conftest.s$ac_file
22666 if test ! -s conftest.s$ac_file; then
22667 ac_more_lines=false
22668 rm -f conftest.s$ac_file
22670 if test -z "$ac_sed_cmds"; then
22671 ac_sed_cmds="sed -f conftest.s
$ac_file"
22673 ac_sed_cmds="$ac_sed_cmds |
sed -f conftest.s
$ac_file"
22675 ac_file=`expr $ac_file + 1`
22677 ac_end=`expr $ac_end + $ac_max_sed_cmds`
22680 if test -z "$ac_sed_cmds"; then
22685 cat >> $CONFIG_STATUS <<EOF
22687 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
22688 include
/Makefile src
/Makefile \
22689 libmath
/Makefile libio
/Makefile libsupc
++/Makefile \
22690 po
/Makefile testsuite
/Makefile mkcheck testsuite_flags
"}
22692 cat >> $CONFIG_STATUS <<\EOF
22693 for ac_file in .. $CONFIG_FILES; do if test "x
$ac_file" != x..; then
22694 # Support "outfile
[:infile
[:infile...
]]", defaulting infile="outfile.
in".
22696 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
22697 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
22698 *) ac_file_in="${ac_file}.
in" ;;
22701 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
22703 # Remove last slash and all that follows it. Not all systems have dirname.
22704 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22705 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
22706 # The file is in a subdirectory.
22707 test ! -d "$ac_dir" && mkdir "$ac_dir"
22708 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
22709 # A "..
/" for each directory in $ac_dir_suffix.
22710 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
22712 ac_dir_suffix= ac_dots=
22715 case "$ac_given_srcdir" in
22717 if test -z "$ac_dots"; then top_srcdir=.
22718 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
22719 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
22720 *) # Relative path.
22721 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
22722 top_srcdir="$ac_dots$ac_given_srcdir" ;;
22725 case "$ac_given_INSTALL" in
22726 [/$]*) INSTALL="$ac_given_INSTALL" ;;
22727 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
22730 echo creating "$ac_file"
22732 configure_input="Generated automatically from
`echo $ac_file_in|sed 's%.*/%%'` by configure.
"
22734 *Makefile*) ac_comsub="1i
\\
22735 # $configure_input" ;;
22739 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22741 s%@configure_input@%$configure_input%g
22742 s%@srcdir@%$srcdir%g
22743 s%@top_srcdir@%$top_srcdir%g
22744 s%@INSTALL@%$INSTALL%g
22745 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
22749 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
22750 # NAME is the cpp macro being defined and VALUE is the value it is being given.
22752 # ac_d sets the value in "#define NAME VALUE" lines.
22753 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22754 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
22757 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
22758 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22759 ac_uB
='\([ ]\)%\1#\2define\3'
22762 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22763 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22764 ac_eB
='$%\1#\2define\3'
22768 if test "${CONFIG_HEADERS+set}" != set; then
22770 cat >> $CONFIG_STATUS <<EOF
22771 CONFIG_HEADERS="config.h"
22773 cat >> $CONFIG_STATUS <<\EOF
22775 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
22776 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22778 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
22779 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
22780 *) ac_file_in
="${ac_file}.in" ;;
22783 echo creating
$ac_file
22785 rm -f conftest.frag conftest.
in conftest.out
22786 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22787 cat $ac_file_inputs > conftest.
in
22791 # Transform confdefs.h into a sed script conftest.vals that substitutes
22792 # the proper values into config.h.in to produce config.h. And first:
22793 # Protect against being on the right side of a sed subst in config.status.
22794 # Protect against being in an unquoted here document in config.status.
22795 rm -f conftest.vals
22796 cat > conftest.hdr
<<\EOF
22799 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
22803 sed -n -f conftest.hdr confdefs.h > conftest.vals
22806 # This sed command replaces #undef with comments. This is necessary, for
22807 # example, in the case of _POSIX_SOURCE, which is predefined and required
22808 # on some systems where configure will not decide to define it.
22809 cat >> conftest.vals <<\EOF
22810 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
22813 # Break up conftest.vals because some shells have a limit on
22814 # the size of here documents, and old seds have small limits too.
22816 rm -f conftest.tail
22819 ac_lines=`grep -c . conftest.vals
`
22820 # grep -c gives empty output for an empty file on some AIX systems.
22821 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
22822 # Write a limited-size here document to conftest.frag.
22823 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
22824 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
22826 sed -f conftest.frag conftest.in > conftest.out
22828 mv conftest.out conftest.in
22829 ' >> $CONFIG_STATUS
22830 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
22831 rm -f conftest.vals
22832 mv conftest.tail conftest.vals
22834 rm -f conftest.vals
22836 cat >> $CONFIG_STATUS <<\EOF
22837 rm -f conftest.frag conftest.h
22838 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
22839 cat conftest.in >> conftest.h
22841 if cmp -s $ac_file conftest.h 2>/dev/null; then
22842 echo "$ac_file is unchanged"
22845 # Remove last slash and all that follows it. Not all systems have dirname.
22846 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
22847 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
22848 # The file is in a subdirectory.
22849 test ! -d "$ac_dir" && mkdir "$ac_dir"
22852 mv conftest.h $ac_file
22858 cat >> $CONFIG_STATUS <<EOF
22859 ac_sources="$BASIC_FILE_CC $CLOCALE_CC $CCOLLATE_CC $CCTYPE_CC $CMESSAGES_CC $CMONEY_CC $CNUMERIC_CC $CTIME_CC $LINKER_MAP"
22860 ac_dests="src/basic_file.cc src/c++locale.cc src/collate.cc src/ctype.cc src/messages.cc src/monetary.cc src/numeric.cc src/time.cc src/linker.map"
22863 cat >> $CONFIG_STATUS <<\EOF
22864 srcdir=$ac_given_srcdir
22865 while test -n "$ac_sources"; do
22866 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
22867 set $ac_sources; ac_source=$1; shift; ac_sources=$*
22869 echo "linking $srcdir/$ac_source to $ac_dest"
22871 if test ! -r $srcdir/$ac_source; then
22872 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
22876 # Make relative symlinks.
22877 # Remove last slash and all that follows it. Not all systems have dirname.
22878 ac_dest_dir=`echo $ac_dest|
sed 's%/[^/][^/]*$%%'`
22879 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
22880 # The dest file is in a subdirectory.
22881 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
22882 ac_dest_dir_suffix="/`echo $ac_dest_dir|
sed 's%^\./%%'`"
22883 # A "../" for each directory in $ac_dest_dir_suffix.
22884 ac_dots=`echo $ac_dest_dir_suffix|
sed 's%/[^/]*%../%g'`
22886 ac_dest_dir_suffix= ac_dots=
22890 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
22891 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
22894 # Make a symlink if possible; otherwise try a hard link.
22895 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
22896 ln $srcdir/$ac_source $ac_dest; then :
22898 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
22902 cat >> $CONFIG_STATUS <<EOF
22907 with_multisubdir=${with_multisubdir}
22908 ac_configure_args="${multilib_arg} ${ac_configure_args}"
22909 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
22910 glibcpp_basedir=${glibcpp_basedir}
22915 cat >> $CONFIG_STATUS <<\EOF
22916 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
22917 if test -n "$CONFIG_FILES"; then
22918 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
22919 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
22920 grep '^MULTISUBDIR =' Makefile >> src/Makefile
22921 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
22924 chmod +x testsuite_flags
22928 chmod +x $CONFIG_STATUS
22929 rm -fr confdefs* $ac_clean_files
22930 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
22934 # Sanity checking & User-visible messages.
22935 # Checks down here, otherwise they get scrolled off before
22936 # the user will notice.
22938 # Trying to get more people to read documentation. Possibly remove
22939 # check and warn all the time. There is no "informational" AC_MSG_
22940 # macro, so these are going to be printed even when --quiet/--silent
22942 if test ! -f stamp-sanity-warned; then
22943 touch stamp-sanity-warned
22945 echo "Please make certain that you read the installation information here:"
22946 echo " faster => ${srcdir}/docs/html/install.html"
22947 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
22949 echo "and the configuration information here:"
22950 echo " faster => ${srcdir}/docs/html/configopts.html"
22951 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
22953 echo "before proceeding with ${_cv_gnu_make_command}."