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
=
584 # For typical GNU versioning info, format is MAJOR.MINOR.MICRO
585 release_VERSION
=3.1.0
587 # For libtool versioning info, format is CURRENT:REVISION:AGE
588 libtool_VERSION
=4:0:0
591 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
592 # AC 2.5x sets target_alias iff the user specified --target, but we use it
593 # everywhere, so we set it here just to be sure. In AC 2.13
594 # AC_CANONICAL_TARGET was known as AC_CANONICAL_SYSTEM.
596 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
597 if test -f $ac_dir/install-sh
; then
599 ac_install_sh
="$ac_aux_dir/install-sh -c"
601 elif test -f $ac_dir/install.sh
; then
603 ac_install_sh
="$ac_aux_dir/install.sh -c"
607 if test -z "$ac_aux_dir"; then
608 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
610 ac_config_guess
=$ac_aux_dir/config.guess
611 ac_config_sub
=$ac_aux_dir/config.sub
612 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
615 # Do some error checking and defaulting for the host and target type.
617 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
620 # 1. You are not allowed to specify --host, --target, and nonopt at the
622 # 2. Host defaults to nonopt.
623 # 3. If nonopt is not specified, then host defaults to the current host,
624 # as determined by config.guess.
625 # 4. Target and build default to nonopt.
626 # 5. If nonopt is not specified, then target and build default to host.
628 # The aliases save the names the user supplied, while $host etc.
629 # will get canonicalized.
630 case $host---$target---$nonopt in
631 NONE---
*---* |
*---NONE---* |
*---*---NONE) ;;
632 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
636 # Make sure we can run config.sub.
637 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
638 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
641 echo $ac_n "checking host system type""... $ac_c" 1>&6
642 echo "configure:643: checking host system type" >&5
645 case "$host_alias" in
649 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
650 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
652 *) host_alias
=$nonopt ;;
656 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
657 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
658 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
659 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
660 echo "$ac_t""$host" 1>&6
662 echo $ac_n "checking target system type""... $ac_c" 1>&6
663 echo "configure:664: checking target system type" >&5
666 case "$target_alias" in
669 NONE
) target_alias
=$host_alias ;;
670 *) target_alias
=$nonopt ;;
674 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
675 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
676 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
677 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
678 echo "$ac_t""$target" 1>&6
680 echo $ac_n "checking build system type""... $ac_c" 1>&6
681 echo "configure:682: checking build system type" >&5
684 case "$build_alias" in
687 NONE
) build_alias
=$host_alias ;;
688 *) build_alias
=$nonopt ;;
692 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
693 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
694 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
695 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
696 echo "$ac_t""$build" 1>&6
698 test "$host_alias" != "$target_alias" &&
699 test "$program_prefix$program_suffix$program_transform_name" = \
701 program_prefix
=${target_alias}-
703 target_alias
=${target_alias-$target}
706 # Find a good install program. We prefer a C program (faster),
707 # so one script is as good as another. But avoid the broken or
708 # incompatible versions:
709 # SysV /etc/install, /usr/sbin/install
710 # SunOS /usr/etc/install
713 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
714 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
715 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
716 # ./install, which can be erroneously created by make from ./install.sh.
717 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
718 echo "configure:719: checking for a BSD compatible install" >&5
719 if test -z "$INSTALL"; then
720 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
721 echo $ac_n "(cached) $ac_c" 1>&6
723 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
724 for ac_dir
in $PATH; do
725 # Account for people who put trailing slashes in PATH elements.
727 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
729 # OSF1 and SCO ODT 3.0 have their own names for install.
730 # Don't use installbsd from OSF since it installs stuff as root
732 for ac_prog
in ginstall scoinst
install; do
733 if test -f $ac_dir/$ac_prog; then
734 if test $ac_prog = install &&
735 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
736 # AIX install. It has an incompatible calling convention.
739 ac_cv_path_install
="$ac_dir/$ac_prog -c"
750 if test "${ac_cv_path_install+set}" = set; then
751 INSTALL
="$ac_cv_path_install"
753 # As a last resort, use the slow shell script. We don't cache a
754 # path for INSTALL within a source directory, because that will
755 # break other packages using the cache if that directory is
756 # removed, or if the path is relative.
757 INSTALL
="$ac_install_sh"
760 echo "$ac_t""$INSTALL" 1>&6
762 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
763 # It thinks the first close brace ends the variable substitution.
764 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
766 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
768 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
770 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
771 echo "configure:772: checking whether build environment is sane" >&5
774 echo timestamp
> conftestfile
775 # Do `set' in a subshell so we don't clobber the current shell's
776 # arguments. Must try -L first in case configure is actually a
777 # symlink; some systems play weird games with the mod time of symlinks
778 # (eg FreeBSD returns the mod time of the symlink's containing
781 set X
`ls -Lt $srcdir/configure conftestfile 2> /dev/null`
782 if test "$*" = "X"; then
784 set X
`ls -t $srcdir/configure conftestfile`
786 if test "$*" != "X $srcdir/configure conftestfile" \
787 && test "$*" != "X conftestfile $srcdir/configure"; then
789 # If neither matched, then we have a broken ls. This can happen
790 # if, for instance, CONFIG_SHELL is bash and it inherits a
791 # broken ls alias from the environment. This has actually
792 # happened. Such a system could not be considered "sane".
793 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
794 alias in your environment" 1>&2; exit 1; }
797 test "$2" = conftestfile
803 { echo "configure: error: newly created file is older than distributed files!
804 Check your system clock" 1>&2; exit 1; }
807 echo "$ac_t""yes" 1>&6
808 if test "$program_transform_name" = s
,x
,x
,; then
809 program_transform_name
=
811 # Double any \ or $. echo might interpret backslashes.
812 cat <<\EOF_SED
> conftestsed
813 s
,\\,\\\\,g
; s
,\$
,$$
,g
815 program_transform_name
="`echo $program_transform_name|sed -f conftestsed`"
818 test "$program_prefix" != NONE
&&
819 program_transform_name
="s,^,${program_prefix},; $program_transform_name"
820 # Use a double $ so make ignores it.
821 test "$program_suffix" != NONE
&&
822 program_transform_name
="s,\$\$,${program_suffix},; $program_transform_name"
824 # sed with no file args requires a program.
825 test "$program_transform_name" = "" && program_transform_name
="s,x,x,"
827 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
828 echo "configure:829: checking whether ${MAKE-make} sets \${MAKE}" >&5
829 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
830 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
831 echo $ac_n "(cached) $ac_c" 1>&6
833 cat > conftestmake
<<\EOF
835 @
echo 'ac_maketemp="${MAKE}"'
837 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
838 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
839 if test -n "$ac_maketemp"; then
840 eval ac_cv_prog_make_
${ac_make}_set
=yes
842 eval ac_cv_prog_make_
${ac_make}_set
=no
846 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
847 echo "$ac_t""yes" 1>&6
850 echo "$ac_t""no" 1>&6
851 SET_MAKE
="MAKE=${MAKE-make}"
857 VERSION
=$release_VERSION
859 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status
; then
860 { echo "configure: error: source directory already configured; run "make distclean
" there first" 1>&2; exit 1; }
862 cat >> confdefs.h
<<EOF
863 #define PACKAGE "$PACKAGE"
866 cat >> confdefs.h
<<EOF
867 #define VERSION "$VERSION"
872 missing_dir
=`cd $ac_aux_dir && pwd`
873 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
874 echo "configure:875: checking for working aclocal" >&5
875 # Run test in a subshell; some versions of sh will print an error if
876 # an executable is not found, even if stderr is redirected.
877 # Redirect stdin to placate older versions of autoconf. Sigh.
878 if (aclocal
--version) < /dev
/null
> /dev
/null
2>&1; then
880 echo "$ac_t""found" 1>&6
882 ACLOCAL
="$missing_dir/missing aclocal"
883 echo "$ac_t""missing" 1>&6
886 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
887 echo "configure:888: checking for working autoconf" >&5
888 # Run test in a subshell; some versions of sh will print an error if
889 # an executable is not found, even if stderr is redirected.
890 # Redirect stdin to placate older versions of autoconf. Sigh.
891 if (autoconf
--version) < /dev
/null
> /dev
/null
2>&1; then
893 echo "$ac_t""found" 1>&6
895 AUTOCONF
="$missing_dir/missing autoconf"
896 echo "$ac_t""missing" 1>&6
899 echo $ac_n "checking for working automake""... $ac_c" 1>&6
900 echo "configure:901: checking for working automake" >&5
901 # Run test in a subshell; some versions of sh will print an error if
902 # an executable is not found, even if stderr is redirected.
903 # Redirect stdin to placate older versions of autoconf. Sigh.
904 if (automake
--version) < /dev
/null
> /dev
/null
2>&1; then
906 echo "$ac_t""found" 1>&6
908 AUTOMAKE
="$missing_dir/missing automake"
909 echo "$ac_t""missing" 1>&6
912 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
913 echo "configure:914: checking for working autoheader" >&5
914 # Run test in a subshell; some versions of sh will print an error if
915 # an executable is not found, even if stderr is redirected.
916 # Redirect stdin to placate older versions of autoconf. Sigh.
917 if (autoheader
--version) < /dev
/null
> /dev
/null
2>&1; then
918 AUTOHEADER
=autoheader
919 echo "$ac_t""found" 1>&6
921 AUTOHEADER
="$missing_dir/missing autoheader"
922 echo "$ac_t""missing" 1>&6
925 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
926 echo "configure:927: checking for working makeinfo" >&5
927 # Run test in a subshell; some versions of sh will print an error if
928 # an executable is not found, even if stderr is redirected.
929 # Redirect stdin to placate older versions of autoconf. Sigh.
930 if (makeinfo
--version) < /dev
/null
> /dev
/null
2>&1; then
932 echo "$ac_t""found" 1>&6
934 MAKEINFO
="$missing_dir/missing makeinfo"
935 echo "$ac_t""missing" 1>&6
943 # Runs configure.host and configure.target, as well as finds CC, CXX
944 # and assorted other critical bits. Have to run this before the
945 # GLIBCPP_ENABLE_* macros below.
946 if test $host != $build; then
947 ac_tool_prefix
=${host_alias}-
952 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
953 echo "configure:954: checking for Cygwin environment" >&5
954 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
955 echo $ac_n "(cached) $ac_c" 1>&6
957 cat > conftest.
$ac_ext <<EOF
958 #line 959 "configure"
959 #include "confdefs.h"
964 #define __CYGWIN__ __CYGWIN32__
969 if { (eval echo configure
:970: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
973 echo "configure: failed program was:" >&5
974 cat conftest.
$ac_ext >&5
982 echo "$ac_t""$ac_cv_cygwin" 1>&6
984 test "$ac_cv_cygwin" = yes && CYGWIN
=yes
985 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
986 echo "configure:987: checking for mingw32 environment" >&5
987 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
988 echo $ac_n "(cached) $ac_c" 1>&6
990 cat > conftest.
$ac_ext <<EOF
991 #line 992 "configure"
992 #include "confdefs.h"
998 if { (eval echo configure
:999: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1002 echo "configure: failed program was:" >&5
1003 cat conftest.
$ac_ext >&5
1011 echo "$ac_t""$ac_cv_mingw32" 1>&6
1013 test "$ac_cv_mingw32" = yes && MINGW32
=yes
1015 # Check whether --enable-multilib or --disable-multilib was given.
1016 if test "${enable_multilib+set}" = set; then
1017 enableval
="$enable_multilib"
1018 case "${enableval}" in
1019 yes) multilib
=yes ;;
1021 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
1027 # When building with srcdir == objdir, links to the source files will
1028 # be created in directories within the target_subdir. We have to
1029 # adjust toplevel_srcdir accordingly, so that configure finds
1030 # install-sh and other auxiliary files that live in the top-level
1032 if test "${srcdir}" = "."; then
1033 if test -z "${with_target_subdir}"; then
1036 if test "${with_target_subdir}" != "."; then
1037 toprel
="${with_multisrctop}../.."
1039 toprel
="${with_multisrctop}.."
1046 for ac_dir
in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do
1047 if test -f $ac_dir/install-sh
; then
1049 ac_install_sh
="$ac_aux_dir/install-sh -c"
1051 elif test -f $ac_dir/install.sh
; then
1053 ac_install_sh
="$ac_aux_dir/install.sh -c"
1057 if test -z "$ac_aux_dir"; then
1058 { echo "configure: error: can not find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" 1>&2; exit 1; }
1060 ac_config_guess=$ac_aux_dir/config.guess
1061 ac_config_sub=$ac_aux_dir/config.sub
1062 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
1064 toplevel_srcdir=\${top_srcdir}/$toprel
1067 # Export build and source directories.
1068 # These need to be absolute paths, yet at the same time need to
1069 # canonicalize only relative paths, because then amd will not unmount
1070 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1071 glibcpp_builddir=`pwd`
1073 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
1074 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1081 for ac_prog in gawk mawk nawk awk
1083 # Extract the first word of "$ac_prog", so it can be a program name with args.
1084 set dummy $ac_prog; ac_word=$2
1085 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1086 echo "configure
:1087: checking
for $ac_word" >&5
1087 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
1088 echo $ac_n "(cached
) $ac_c" 1>&6
1090 if test -n "$AWK"; then
1091 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1093 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1095 for ac_dir in $ac_dummy; do
1096 test -z "$ac_dir" && ac_dir=.
1097 if test -f $ac_dir/$ac_word; then
1098 ac_cv_prog_AWK="$ac_prog"
1105 AWK="$ac_cv_prog_AWK"
1106 if test -n "$AWK"; then
1107 echo "$ac_t""$AWK" 1>&6
1109 echo "$ac_t""no
" 1>&6
1112 test -n "$AWK" && break
1115 # Will set LN_S to either 'ln -s' or 'ln'. With autoconf 2.5x, can also
1116 # be 'cp -p' if linking isn't available.
1117 #ac_cv_prog_LN_S='cp -p'
1118 echo $ac_n "checking whether
ln -s works
""...
$ac_c" 1>&6
1119 echo "configure
:1120: checking whether
ln -s works
" >&5
1120 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1121 echo $ac_n "(cached
) $ac_c" 1>&6
1124 if ln -s X conftestdata 2>/dev/null
1127 ac_cv_prog_LN_S="ln -s"
1132 LN_S="$ac_cv_prog_LN_S"
1133 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1134 echo "$ac_t""yes" 1>&6
1136 echo "$ac_t""no
" 1>&6
1140 # We use these options to decide which functions to include.
1141 # Check whether --with-target-subdir or --without-target-subdir was given.
1142 if test "${with_target_subdir+set}" = set; then
1143 withval="$with_target_subdir"
1147 # Check whether --with-cross-host or --without-cross-host was given.
1148 if test "${with_cross_host+set}" = set; then
1149 withval="$with_cross_host"
1154 glibcpp_basedir=$srcdir/$toprel/./libstdc++-v3
1157 # Never versions of autoconf add an underscore to these functions.
1158 # Prevent future problems ...
1165 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1166 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1167 # are probably using a cross compiler, which will not be able to fully
1168 # link an executable. This is addressed in later versions of autoconf.
1173 # Extract the first word of "gcc
", so it can be a program name with args.
1174 set dummy gcc; ac_word=$2
1175 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1176 echo "configure
:1177: checking
for $ac_word" >&5
1177 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1178 echo $ac_n "(cached
) $ac_c" 1>&6
1180 if test -n "$CC"; then
1181 ac_cv_prog_CC="$CC" # Let the user override the test.
1183 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1185 for ac_dir in $ac_dummy; do
1186 test -z "$ac_dir" && ac_dir=.
1187 if test -f $ac_dir/$ac_word; then
1196 if test -n "$CC"; then
1197 echo "$ac_t""$CC" 1>&6
1199 echo "$ac_t""no
" 1>&6
1202 if test -z "$CC"; then
1203 # Extract the first word of "cc
", so it can be a program name with args.
1204 set dummy cc; ac_word=$2
1205 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1206 echo "configure
:1207: checking
for $ac_word" >&5
1207 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1208 echo $ac_n "(cached
) $ac_c" 1>&6
1210 if test -n "$CC"; then
1211 ac_cv_prog_CC="$CC" # Let the user override the test.
1213 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1216 for ac_dir in $ac_dummy; do
1217 test -z "$ac_dir" && ac_dir=.
1218 if test -f $ac_dir/$ac_word; then
1219 if test "$ac_dir/$ac_word" = "/usr
/ucb
/cc
"; then
1220 ac_prog_rejected=yes
1228 if test $ac_prog_rejected = yes; then
1229 # We found a bogon in the path, so make sure we never use it.
1230 set dummy $ac_cv_prog_CC
1232 if test $# -gt 0; then
1233 # We chose a different compiler from the bogus one.
1234 # However, it has the same basename, so the bogon will be chosen
1235 # first if we set CC to just the basename; use the full file name.
1237 set dummy "$ac_dir/$ac_word" "$@
"
1245 if test -n "$CC"; then
1246 echo "$ac_t""$CC" 1>&6
1248 echo "$ac_t""no
" 1>&6
1251 test -z "$CC" && { echo "configure
: error
: no acceptable cc found
in \
$PATH" 1>&2; exit 1; }
1254 echo $ac_n "checking whether we are using GNU C
""...
$ac_c" 1>&6
1255 echo "configure
:1256: checking whether we are using GNU C
" >&5
1256 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1257 echo $ac_n "(cached
) $ac_c" 1>&6
1259 cat > conftest.c <<EOF
1264 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1265: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1271 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1273 if test $ac_cv_prog_gcc = yes; then
1275 ac_test_CFLAGS="${CFLAGS+set}"
1276 ac_save_CFLAGS="$CFLAGS"
1278 echo $ac_n "checking whether
${CC-cc} accepts
-g""...
$ac_c" 1>&6
1279 echo "configure
:1280: checking whether
${CC-cc} accepts
-g" >&5
1280 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1281 echo $ac_n "(cached
) $ac_c" 1>&6
1283 echo 'void f(){}' > conftest.c
1284 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1293 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1294 if test "$ac_test_CFLAGS" = set; then
1295 CFLAGS="$ac_save_CFLAGS"
1296 elif test $ac_cv_prog_cc_g = yes; then
1303 test "${CFLAGS+set}" = set || CFLAGS="-g"
1307 # Likewise for AC_PROG_CXX. We can't just call it directly because g++
1308 # will try to link in libstdc++.
1312 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1313 # flags that come in CXX while configuring libstdc++. They're different
1314 # from those used for all other target libraries. If CXX is set in
1315 # the environment, respect that here.
1317 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1319 # Extract the first word of "$ac_prog", so it can be a program name with args.
1320 set dummy $ac_prog; 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_glibcpp_CXX'+set}'`\" = set"; then
1324 echo $ac_n "(cached
) $ac_c" 1>&6
1326 if test -n "$glibcpp_CXX"; then
1327 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # 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_glibcpp_CXX="$ac_prog"
1341 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1342 if test -n "$glibcpp_CXX"; then
1343 echo "$ac_t""$glibcpp_CXX" 1>&6
1345 echo "$ac_t""no
" 1>&6
1348 test -n "$glibcpp_CXX" && break
1350 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc
"
1354 test -z "$glibcpp_CXX" && { echo "configure
: error
: no acceptable c
++ found
in \
$PATH" 1>&2; exit 1; }
1356 echo $ac_n "checking whether we are using GNU C
++""...
$ac_c" 1>&6
1357 echo "configure
:1358: checking whether we are using GNU C
++" >&5
1358 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1359 echo $ac_n "(cached
) $ac_c" 1>&6
1361 cat > conftest.C <<EOF
1366 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1367: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1373 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1375 if test $ac_cv_prog_gxx = yes; then
1377 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1378 ac_save_CXXFLAGS="$CXXFLAGS"
1380 echo $ac_n "checking whether
${CXX-g++} accepts
-g""...
$ac_c" 1>&6
1381 echo "configure
:1382: checking whether
${CXX-g++} accepts
-g" >&5
1382 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1383 echo $ac_n "(cached
) $ac_c" 1>&6
1385 echo 'void f(){}' > conftest.cc
1386 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1387 ac_cv_prog_cxx_g=yes
1395 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1396 if test "$ac_test_CXXFLAGS" = set; then
1397 CXXFLAGS="$ac_save_CXXFLAGS"
1398 elif test $ac_cv_prog_cxx_g = yes; then
1405 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1409 # For some reason, gettext needs this.
1411 echo $ac_n "checking
for strerror
in -lcposix""...
$ac_c" 1>&6
1412 echo "configure
:1413: checking
for strerror
in -lcposix" >&5
1413 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
1414 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1415 echo $ac_n "(cached
) $ac_c" 1>&6
1417 ac_save_LIBS="$LIBS"
1418 LIBS="-lcposix $LIBS"
1419 cat > conftest.$ac_ext <<EOF
1420 #line 1421 "configure
"
1421 #include "confdefs.h
"
1422 /* Override any gcc2 internal prototype to avoid an error. */
1423 /* We use char because int might match the return type of a gcc2
1424 builtin and then its argument prototype would still apply. */
1431 if { (eval echo configure:1432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1433 eval "ac_cv_lib_
$ac_lib_var=yes"
1435 echo "configure
: failed program was
:" >&5
1436 cat conftest.$ac_ext >&5
1438 eval "ac_cv_lib_
$ac_lib_var=no
"
1441 LIBS="$ac_save_LIBS"
1444 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1445 echo "$ac_t""yes" 1>&6
1446 LIBS="$LIBS -lcposix"
1448 echo "$ac_t""no
" 1>&6
1454 # Extract the first word of "${ac_tool_prefix}as
", so it can be a program name with args.
1455 set dummy ${ac_tool_prefix}as; ac_word=$2
1456 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1457 echo "configure
:1458: checking
for $ac_word" >&5
1458 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1459 echo $ac_n "(cached
) $ac_c" 1>&6
1461 if test -n "$AS"; then
1462 ac_cv_prog_AS="$AS" # Let the user override the test.
1464 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1466 for ac_dir in $ac_dummy; do
1467 test -z "$ac_dir" && ac_dir=.
1468 if test -f $ac_dir/$ac_word; then
1469 ac_cv_prog_AS="${ac_tool_prefix}as
"
1474 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as
"
1478 if test -n "$AS"; then
1479 echo "$ac_t""$AS" 1>&6
1481 echo "$ac_t""no
" 1>&6
1486 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1487 set dummy ${ac_tool_prefix}ar; ac_word=$2
1488 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1489 echo "configure
:1490: checking
for $ac_word" >&5
1490 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1491 echo $ac_n "(cached
) $ac_c" 1>&6
1493 if test -n "$AR"; then
1494 ac_cv_prog_AR="$AR" # Let the user override the test.
1496 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1498 for ac_dir in $ac_dummy; do
1499 test -z "$ac_dir" && ac_dir=.
1500 if test -f $ac_dir/$ac_word; then
1501 ac_cv_prog_AR="${ac_tool_prefix}ar"
1506 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1510 if test -n "$AR"; then
1511 echo "$ac_t""$AR" 1>&6
1513 echo "$ac_t""no
" 1>&6
1518 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
1519 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1520 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1521 echo "configure
:1522: checking
for $ac_word" >&5
1522 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1523 echo $ac_n "(cached
) $ac_c" 1>&6
1525 if test -n "$RANLIB"; then
1526 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1528 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1530 for ac_dir in $ac_dummy; do
1531 test -z "$ac_dir" && ac_dir=.
1532 if test -f $ac_dir/$ac_word; then
1533 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
1540 RANLIB="$ac_cv_prog_RANLIB"
1541 if test -n "$RANLIB"; then
1542 echo "$ac_t""$RANLIB" 1>&6
1544 echo "$ac_t""no
" 1>&6
1548 if test -z "$ac_cv_prog_RANLIB"; then
1549 if test -n "$ac_tool_prefix"; then
1550 # Extract the first word of "ranlib
", so it can be a program name with args.
1551 set dummy ranlib; ac_word=$2
1552 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1553 echo "configure
:1554: checking
for $ac_word" >&5
1554 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1555 echo $ac_n "(cached
) $ac_c" 1>&6
1557 if test -n "$RANLIB"; then
1558 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1560 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1562 for ac_dir in $ac_dummy; do
1563 test -z "$ac_dir" && ac_dir=.
1564 if test -f $ac_dir/$ac_word; then
1565 ac_cv_prog_RANLIB="ranlib
"
1570 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error
"
1573 RANLIB="$ac_cv_prog_RANLIB"
1574 if test -n "$RANLIB"; then
1575 echo "$ac_t""$RANLIB" 1>&6
1577 echo "$ac_t""no
" 1>&6
1581 RANLIB="ranlib-not-found-in-path-error
"
1585 # Find a good install program. We prefer a C program (faster),
1586 # so one script is as good as another. But avoid the broken or
1587 # incompatible versions:
1588 # SysV /etc/install, /usr/sbin/install
1589 # SunOS /usr/etc/install
1590 # IRIX /sbin/install
1592 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1593 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1594 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
1595 # ./install, which can be erroneously created by make from ./install.sh.
1596 echo $ac_n "checking
for a BSD compatible
install""...
$ac_c" 1>&6
1597 echo "configure
:1598: checking
for a BSD compatible
install" >&5
1598 if test -z "$INSTALL"; then
1599 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1600 echo $ac_n "(cached
) $ac_c" 1>&6
1602 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1603 for ac_dir in $PATH; do
1604 # Account for people who put trailing slashes in PATH elements.
1606 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1608 # OSF1 and SCO ODT 3.0 have their own names for install.
1609 # Don't use installbsd from OSF since it installs stuff as root
1611 for ac_prog in ginstall scoinst install; do
1612 if test -f $ac_dir/$ac_prog; then
1613 if test $ac_prog = install &&
1614 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1615 # AIX install. It has an incompatible calling convention.
1618 ac_cv_path_install="$ac_dir/$ac_prog -c"
1629 if test "${ac_cv_path_install+set}" = set; then
1630 INSTALL="$ac_cv_path_install"
1632 # As a last resort, use the slow shell script. We don't cache a
1633 # path for INSTALL within a source directory, because that will
1634 # break other packages using the cache if that directory is
1635 # removed, or if the path is relative.
1636 INSTALL="$ac_install_sh"
1639 echo "$ac_t""$INSTALL" 1>&6
1641 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1642 # It thinks the first close brace ends the variable substitution.
1643 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1645 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1647 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1650 echo $ac_n "checking whether to
enable maintainer-specific portions of Makefiles
""...
$ac_c" 1>&6
1651 echo "configure
:1652: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
1652 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1653 if test "${enable_maintainer_mode+set}" = set; then
1654 enableval="$enable_maintainer_mode"
1655 USE_MAINTAINER_MODE=$enableval
1657 USE_MAINTAINER_MODE=no
1660 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1663 if test $USE_MAINTAINER_MODE = yes; then
1664 MAINTAINER_MODE_TRUE=
1665 MAINTAINER_MODE_FALSE='#'
1667 MAINTAINER_MODE_TRUE='#'
1668 MAINTAINER_MODE_FALSE=
1670 MAINT=$MAINTAINER_MODE_TRUE
1674 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1675 # at least currently, we never actually build a program, so we never
1676 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1677 # fails, because we are probably configuring with a cross compiler
1678 # which can't create executables. So we include AC_EXEEXT to keep
1679 # automake happy, but we don't execute it, since we don't care about
1682 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1683 # to nothing, so nothing would remain between `then' and `fi' if it
1684 # were not for the `:' below.
1688 echo $ac_n "checking
for executable suffix
""...
$ac_c" 1>&6
1689 echo "configure
:1690: checking
for executable suffix
" >&5
1690 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1691 echo $ac_n "(cached
) $ac_c" 1>&6
1693 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1697 echo 'int main () { return 0; }' > conftest.$ac_ext
1699 if { (eval echo configure:1700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1700 for file in conftest.*; do
1702 *.c | *.o | *.obj) ;;
1703 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1707 { echo "configure
: error
: installation or configuration problem
: compiler cannot create executables.
" 1>&2; exit 1; }
1710 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1715 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1716 echo "$ac_t""${ac_cv_exeext}" 1>&6
1721 . ${glibcpp_basedir}/configure.host
1723 case ${glibcpp_basedir} in
1724 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1725 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1728 # This does for the target what configure.host does for the host. In
1729 # addition to possibly modifying the same flags, it also sets up symlinks.
1731 . ${glibcpp_basedir}/configure.target
1732 echo "$ac_t""CPU config directory is
$cpu_include_dir" 1>&6
1733 echo "$ac_t""OS config directory is
$os_include_dir" 1>&6
1739 # Check whether --enable-shared or --disable-shared was given.
1740 if test "${enable_shared+set}" = set; then
1741 enableval="$enable_shared"
1742 p=${PACKAGE-default}
1744 yes) enable_shared=yes ;;
1745 no) enable_shared=no ;;
1748 # Look at the argument we got. We use all the common list separators.
1749 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1750 for pkg in $enableval; do
1751 if test "X
$pkg" = "X
$p"; then
1762 # Check whether --enable-static or --disable-static was given.
1763 if test "${enable_static+set}" = set; then
1764 enableval="$enable_static"
1765 p=${PACKAGE-default}
1767 yes) enable_static=yes ;;
1768 no) enable_static=no ;;
1771 # Look at the argument we got. We use all the common list separators.
1772 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1773 for pkg in $enableval; do
1774 if test "X
$pkg" = "X
$p"; then
1785 # Check whether --enable-fast-install or --disable-fast-install was given.
1786 if test "${enable_fast_install+set}" = set; then
1787 enableval="$enable_fast_install"
1788 p=${PACKAGE-default}
1790 yes) enable_fast_install=yes ;;
1791 no) enable_fast_install=no ;;
1793 enable_fast_install=no
1794 # Look at the argument we got. We use all the common list separators.
1795 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1796 for pkg in $enableval; do
1797 if test "X
$pkg" = "X
$p"; then
1798 enable_fast_install=yes
1805 enable_fast_install=yes
1808 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1809 if test "${with_gnu_ld+set}" = set; then
1810 withval="$with_gnu_ld"
1811 test "$withval" = no || with_gnu_ld=yes
1817 if test "$GCC" = yes; then
1818 # Check if gcc -print-prog-name=ld gives a path.
1819 echo $ac_n "checking
for ld used by GCC
""...
$ac_c" 1>&6
1820 echo "configure
:1821: checking
for ld used by GCC
" >&5
1823 # gcc leaves a trailing carriage return which upsets mingw
1824 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1826 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1829 # Accept absolute paths.
1830 [\\/]* | [A-Za-z]:[\\/]*)
1831 re_direlt='/[^/][^/]*/\.\./'
1832 # Canonicalize the path of ld
1833 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1834 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1835 ac_prog=`echo $ac_prog| sed "s
%$re_direlt%/%"`
1837 test -z "$LD" && LD="$ac_prog"
1840 # If it fails, then pretend we aren't using GCC.
1844 # If it is relative, then search for the first ld in PATH.
1848 elif test "$with_gnu_ld" = yes; then
1849 echo $ac_n "checking
for GNU ld
""...
$ac_c" 1>&6
1850 echo "configure
:1851: checking
for GNU ld
" >&5
1852 echo $ac_n "checking
for non-GNU ld
""...
$ac_c" 1>&6
1853 echo "configure
:1854: checking
for non-GNU ld
" >&5
1855 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1856 echo $ac_n "(cached
) $ac_c" 1>&6
1858 if test -z "$LD"; then
1859 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1860 for ac_dir in $PATH; do
1861 test -z "$ac_dir" && ac_dir=.
1862 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1863 lt_cv_path_LD="$ac_dir/$ac_prog"
1864 # Check to see if the program is GNU ld. I'd rather use --version,
1865 # but apparently some GNU ld's only accept -v.
1866 # Break only if it was the GNU/non-GNU ld that we prefer.
1867 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1868 test "$with_gnu_ld" != no && break
1870 test "$with_gnu_ld" != yes && break
1876 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1881 if test -n "$LD"; then
1882 echo "$ac_t""$LD" 1>&6
1884 echo "$ac_t""no
" 1>&6
1886 test -z "$LD" && { echo "configure
: error
: no acceptable ld found
in \
$PATH" 1>&2; exit 1; }
1887 echo $ac_n "checking
if the linker
($LD) is GNU ld
""...
$ac_c" 1>&6
1888 echo "configure
:1889: checking
if the linker
($LD) is GNU ld
" >&5
1889 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1890 echo $ac_n "(cached
) $ac_c" 1>&6
1892 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1893 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1894 lt_cv_prog_gnu_ld=yes
1896 lt_cv_prog_gnu_ld=no
1900 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1901 with_gnu_ld=$lt_cv_prog_gnu_ld
1904 echo $ac_n "checking
for $LD option to reload object files
""...
$ac_c" 1>&6
1905 echo "configure
:1906: checking
for $LD option to reload object files
" >&5
1906 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1907 echo $ac_n "(cached
) $ac_c" 1>&6
1909 lt_cv_ld_reload_flag='-r'
1912 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1913 reload_flag=$lt_cv_ld_reload_flag
1914 test -n "$reload_flag" && reload_flag=" $reload_flag"
1916 echo $ac_n "checking
for BSD-compatible nm
""...
$ac_c" 1>&6
1917 echo "configure
:1918: checking
for BSD-compatible nm
" >&5
1918 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1919 echo $ac_n "(cached
) $ac_c" 1>&6
1921 if test -n "$NM"; then
1922 # Let the user override the test.
1925 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1926 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1927 test -z "$ac_dir" && ac_dir=.
1928 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1929 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1930 # Check to see if the nm accepts a BSD-compat flag.
1931 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1932 # nm: unknown option "B
" ignored
1933 # Tru64's nm complains that /dev/null is an invalid object file
1934 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1935 lt_cv_path_NM="$tmp_nm -B"
1937 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1938 lt_cv_path_NM="$tmp_nm -p"
1941 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1942 continue # so that we can try to find one that supports BSD flags
1947 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1952 echo "$ac_t""$NM" 1>&6
1954 echo $ac_n "checking how to recognise dependant libraries
""...
$ac_c" 1>&6
1955 echo "configure
:1956: checking how to recognise dependant libraries
" >&5
1956 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1957 echo $ac_n "(cached
) $ac_c" 1>&6
1959 lt_cv_file_magic_cmd='$MAGIC_CMD'
1960 lt_cv_file_magic_test_file=
1961 lt_cv_deplibs_check_method='unknown'
1962 # Need to set the preceding variable on all platforms that support
1963 # interlibrary dependencies.
1964 # 'none' -- dependencies not supported.
1965 # `unknown' -- same as none, but documents that we really don't know.
1966 # 'pass_all' -- all dependencies passed with no checks.
1967 # 'test_compile' -- check by making test program.
1968 # 'file_magic [regex]' -- check by looking for files in library path
1969 # which responds to the $file_magic_cmd with a given egrep regex.
1970 # If you have `file' or equivalent on your system and you're not sure
1971 # whether `pass_all' will *always* work, you probably want this one.
1975 lt_cv_deplibs_check_method=pass_all
1979 lt_cv_deplibs_check_method=pass_all
1983 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1984 lt_cv_file_magic_cmd='/usr/bin/file -L'
1985 lt_cv_file_magic_test_file=/shlib/libc.so
1988 cygwin* | mingw* |pw32*)
1989 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1990 lt_cv_file_magic_cmd='$OBJDUMP -f'
1993 darwin* | rhapsody*)
1994 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1995 lt_cv_file_magic_cmd='/usr/bin/file -L'
1997 rhapsody* | darwin1.012)
1998 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
2001 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
2007 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2010 # Not sure whether the presence of OpenBSD here was a mistake.
2011 # Let's accept both of them until this is cleared up.
2012 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
2013 lt_cv_file_magic_cmd=/usr/bin/file
2014 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
2018 lt_cv_deplibs_check_method=pass_all
2023 lt_cv_deplibs_check_method=pass_all
2027 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
2028 lt_cv_file_magic_cmd=/usr/bin/file
2029 lt_cv_file_magic_test_file=/usr/lib/libc.sl
2035 # this will be overridden with pass_all, but let us keep it just in case
2036 lt_cv_deplibs_check_method="file_magic ELF
32-bit MSB dynamic lib MIPS
- version
1"
2040 *-32|*"-32 ") libmagic=32-bit;;
2041 *-n32|*"-n32 ") libmagic=N32;;
2042 *-64|*"-64 ") libmagic=64-bit;;
2043 *) libmagic=never-match;;
2045 # this will be overridden with pass_all, but let us keep it just in case
2046 lt_cv_deplibs_check_method="file_magic ELF
${libmagic} MSB mips-
[1234] dynamic lib MIPS
- version
1"
2049 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
2050 lt_cv_deplibs_check_method=pass_all
2053 # This must be Linux ELF.
2056 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
2057 lt_cv_deplibs_check_method=pass_all ;;
2059 # glibc up to 2.1.1 does not perform some relocations on ARM
2060 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2062 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2066 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2067 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2069 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2074 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2075 lt_cv_file_magic_cmd=/usr/bin/file
2076 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2079 osf3* | osf4* | osf5*)
2080 # this will be overridden with pass_all, but let us keep it just in case
2081 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2082 lt_cv_file_magic_test_file=/shlib/libc.so
2083 lt_cv_deplibs_check_method=pass_all
2087 lt_cv_deplibs_check_method=pass_all
2091 lt_cv_deplibs_check_method=pass_all
2092 lt_cv_file_magic_test_file=/lib/libc.so
2095 sysv5uw[78]* | sysv4*uw2*)
2096 lt_cv_deplibs_check_method=pass_all
2099 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2100 case $host_vendor in
2102 lt_cv_deplibs_check_method=pass_all
2105 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]'
2106 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2114 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2115 file_magic_cmd=$lt_cv_file_magic_cmd
2116 deplibs_check_method=$lt_cv_deplibs_check_method
2118 echo $ac_n "checking
for object suffix
""...
$ac_c" 1>&6
2119 echo "configure
:2120: checking
for object suffix
" >&5
2120 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2121 echo $ac_n "(cached
) $ac_c" 1>&6
2124 echo 'int i = 1;' > conftest.$ac_ext
2125 if { (eval echo configure:2126: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2126 for ac_file in conftest.*; do
2129 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2133 { echo "configure
: error
: installation or configuration problem
; compiler does not work
" 1>&2; exit 1; }
2138 echo "$ac_t""$ac_cv_objext" 1>&6
2139 OBJEXT=$ac_cv_objext
2140 ac_objext=$ac_cv_objext
2142 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2144 # Only perform the check for file, if the check method requires it
2145 case $deplibs_check_method in
2147 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2148 echo $ac_n "checking
for ${ac_tool_prefix}file""...
$ac_c" 1>&6
2149 echo "configure
:2150: checking
for ${ac_tool_prefix}file" >&5
2150 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2151 echo $ac_n "(cached
) $ac_c" 1>&6
2155 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2158 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2161 ac_save_MAGIC_CMD="$MAGIC_CMD"
2162 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2163 ac_dummy="/usr
/bin
:$PATH"
2164 for ac_dir in $ac_dummy; do
2165 test -z "$ac_dir" && ac_dir=.
2166 if test -f $ac_dir/${ac_tool_prefix}file; then
2167 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2168 if test -n "$file_magic_test_file"; then
2169 case $deplibs_check_method in
2171 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2172 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2173 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2174 egrep "$file_magic_regex" > /dev/null; then
2179 *** Warning: the command libtool uses to detect shared libraries,
2180 *** $file_magic_cmd, produces output that libtool cannot recognize.
2181 *** The result is that libtool may fail to recognize shared libraries
2182 *** as such. This will affect the creation of libtool libraries that
2183 *** depend on shared libraries, but programs linked with such libtool
2184 *** libraries will work regardless of this problem. Nevertheless, you
2185 *** may want to report the problem to your system manager and/or to
2186 *** bug-libtool@gnu.org
2196 MAGIC_CMD="$ac_save_MAGIC_CMD"
2201 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2202 if test -n "$MAGIC_CMD"; then
2203 echo "$ac_t""$MAGIC_CMD" 1>&6
2205 echo "$ac_t""no
" 1>&6
2208 if test -z "$lt_cv_path_MAGIC_CMD"; then
2209 if test -n "$ac_tool_prefix"; then
2210 echo $ac_n "checking
for file""...
$ac_c" 1>&6
2211 echo "configure
:2212: checking
for file" >&5
2212 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2213 echo $ac_n "(cached
) $ac_c" 1>&6
2217 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2220 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2223 ac_save_MAGIC_CMD="$MAGIC_CMD"
2224 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2225 ac_dummy="/usr
/bin
:$PATH"
2226 for ac_dir in $ac_dummy; do
2227 test -z "$ac_dir" && ac_dir=.
2228 if test -f $ac_dir/file; then
2229 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2230 if test -n "$file_magic_test_file"; then
2231 case $deplibs_check_method in
2233 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2234 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2235 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2236 egrep "$file_magic_regex" > /dev/null; then
2241 *** Warning: the command libtool uses to detect shared libraries,
2242 *** $file_magic_cmd, produces output that libtool cannot recognize.
2243 *** The result is that libtool may fail to recognize shared libraries
2244 *** as such. This will affect the creation of libtool libraries that
2245 *** depend on shared libraries, but programs linked with such libtool
2246 *** libraries will work regardless of this problem. Nevertheless, you
2247 *** may want to report the problem to your system manager and/or to
2248 *** bug-libtool@gnu.org
2258 MAGIC_CMD="$ac_save_MAGIC_CMD"
2263 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2264 if test -n "$MAGIC_CMD"; then
2265 echo "$ac_t""$MAGIC_CMD" 1>&6
2267 echo "$ac_t""no
" 1>&6
2279 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
2280 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2281 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2282 echo "configure
:2283: checking
for $ac_word" >&5
2283 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2284 echo $ac_n "(cached
) $ac_c" 1>&6
2286 if test -n "$RANLIB"; then
2287 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2289 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2291 for ac_dir in $ac_dummy; do
2292 test -z "$ac_dir" && ac_dir=.
2293 if test -f $ac_dir/$ac_word; then
2294 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
2301 RANLIB="$ac_cv_prog_RANLIB"
2302 if test -n "$RANLIB"; then
2303 echo "$ac_t""$RANLIB" 1>&6
2305 echo "$ac_t""no
" 1>&6
2309 if test -z "$ac_cv_prog_RANLIB"; then
2310 if test -n "$ac_tool_prefix"; then
2311 # Extract the first word of "ranlib
", so it can be a program name with args.
2312 set dummy ranlib; ac_word=$2
2313 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2314 echo "configure
:2315: checking
for $ac_word" >&5
2315 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2316 echo $ac_n "(cached
) $ac_c" 1>&6
2318 if test -n "$RANLIB"; then
2319 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2321 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2323 for ac_dir in $ac_dummy; do
2324 test -z "$ac_dir" && ac_dir=.
2325 if test -f $ac_dir/$ac_word; then
2326 ac_cv_prog_RANLIB="ranlib
"
2331 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2334 RANLIB="$ac_cv_prog_RANLIB"
2335 if test -n "$RANLIB"; then
2336 echo "$ac_t""$RANLIB" 1>&6
2338 echo "$ac_t""no
" 1>&6
2346 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
2347 set dummy ${ac_tool_prefix}strip; ac_word=$2
2348 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2349 echo "configure
:2350: checking
for $ac_word" >&5
2350 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2351 echo $ac_n "(cached
) $ac_c" 1>&6
2353 if test -n "$STRIP"; then
2354 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2356 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2358 for ac_dir in $ac_dummy; do
2359 test -z "$ac_dir" && ac_dir=.
2360 if test -f $ac_dir/$ac_word; then
2361 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
2368 STRIP="$ac_cv_prog_STRIP"
2369 if test -n "$STRIP"; then
2370 echo "$ac_t""$STRIP" 1>&6
2372 echo "$ac_t""no
" 1>&6
2376 if test -z "$ac_cv_prog_STRIP"; then
2377 if test -n "$ac_tool_prefix"; then
2378 # Extract the first word of "strip
", so it can be a program name with args.
2379 set dummy strip; ac_word=$2
2380 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2381 echo "configure
:2382: checking
for $ac_word" >&5
2382 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2383 echo $ac_n "(cached
) $ac_c" 1>&6
2385 if test -n "$STRIP"; then
2386 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2388 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2390 for ac_dir in $ac_dummy; do
2391 test -z "$ac_dir" && ac_dir=.
2392 if test -f $ac_dir/$ac_word; then
2393 ac_cv_prog_STRIP="strip
"
2398 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2401 STRIP="$ac_cv_prog_STRIP"
2402 if test -n "$STRIP"; then
2403 echo "$ac_t""$STRIP" 1>&6
2405 echo "$ac_t""no
" 1>&6
2414 # Check for any special flags to pass to ltconfig.
2415 libtool_flags="--cache-file=$cache_file"
2416 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2417 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2418 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2419 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2420 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2421 libtool_flags="$libtool_flags --enable-dlopen"
2423 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2424 if test "${enable_libtool_lock+set}" = set; then
2425 enableval="$enable_libtool_lock"
2429 test "x
$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2430 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2432 # Check whether --with-pic or --without-pic was given.
2433 if test "${with_pic+set}" = set; then
2440 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2441 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2443 # Some flags need to be propagated to the compiler or linker for good
2447 # Find out which ABI we are using.
2448 echo '#line 2449 "configure
"' > conftest.$ac_ext
2449 if { (eval echo configure:2450: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2450 case `/usr/bin/file conftest.$ac_objext` in
2466 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2467 SAVE_CFLAGS="$CFLAGS"
2468 CFLAGS="$CFLAGS -belf"
2469 echo $ac_n "checking whether the C compiler needs
-belf""...
$ac_c" 1>&6
2470 echo "configure
:2471: checking whether the C compiler needs
-belf" >&5
2471 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2472 echo $ac_n "(cached
) $ac_c" 1>&6
2476 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2477 ac_cpp='$CPP $CPPFLAGS'
2478 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2479 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2480 cross_compiling=$ac_cv_prog_cc_cross
2482 cat > conftest.$ac_ext <<EOF
2483 #line 2484 "configure
"
2484 #include "confdefs.h
"
2490 if { (eval echo configure:2491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2492 lt_cv_cc_needs_belf=yes
2494 echo "configure
: failed program was
:" >&5
2495 cat conftest.$ac_ext >&5
2497 lt_cv_cc_needs_belf=no
2501 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2502 ac_cpp='$CPP $CPPFLAGS'
2503 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2504 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2505 cross_compiling=$ac_cv_prog_cc_cross
2509 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2510 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2511 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2512 CFLAGS="$SAVE_CFLAGS"
2519 echo $ac_n "checking how to run the C
++ preprocessor
""...
$ac_c" 1>&6
2520 echo "configure
:2521: checking how to run the C
++ preprocessor
" >&5
2521 if test -z "$CXXCPP"; then
2522 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2523 echo $ac_n "(cached
) $ac_c" 1>&6
2526 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2527 ac_cpp='$CXXCPP $CPPFLAGS'
2528 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2529 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2530 cross_compiling=$ac_cv_prog_cxx_cross
2531 CXXCPP="${CXX-g++} -E"
2532 cat > conftest.$ac_ext <<EOF
2533 #line 2534 "configure
"
2534 #include "confdefs.h
"
2537 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2538 { (eval echo configure:2539: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2539 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2540 if test -z "$ac_err"; then
2544 echo "configure
: failed program was
:" >&5
2545 cat conftest.$ac_ext >&5
2550 ac_cv_prog_CXXCPP="$CXXCPP"
2552 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2553 ac_cpp='$CPP $CPPFLAGS'
2554 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2555 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2556 cross_compiling=$ac_cv_prog_cc_cross
2559 CXXCPP="$ac_cv_prog_CXXCPP"
2560 echo "$ac_t""$CXXCPP" 1>&6
2563 # Save cache, so that ltconfig can load it
2564 cat > confcache <<\EOF
2565 # This file is a shell script that caches the results of configure
2566 # tests run on this system so they can be shared between configure
2567 # scripts and configure runs. It is not useful on other systems.
2568 # If it contains results you don't want to keep, you may remove or edit it.
2570 # By default, configure uses ./config.cache as the cache file,
2571 # creating it if it does not exist already. You can give configure
2572 # the --cache-file=FILE option to use a different cache file; that is
2573 # what configure does when it calls configure scripts in
2574 # subdirectories, so they share the cache.
2575 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2576 # config.status only pays attention to the cache file if you give it the
2577 # --recheck option to rerun configure.
2580 # The following way of writing the cache mishandles newlines in values,
2581 # but we know of no workaround that is simple, portable, and efficient.
2582 # So, don't put newlines in cache variables' values.
2583 # Ultrix sh set writes to stderr and can't be redirected directly,
2584 # and sets the high bit in the cache file unless we assign to the vars.
2586 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2588 # `set' does not quote correctly, so add quotes (double-quote substitution
2589 # turns \\\\ into \\, and sed turns \\ into \).
2591 -e "s
/'/'\\\\''/g
" \
2592 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
2595 # `set' quotes correctly as required by POSIX, so do not add quotes.
2596 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2599 if cmp -s $cache_file confcache; then
2602 if test -w $cache_file; then
2603 echo "updating cache
$cache_file"
2604 cat confcache > $cache_file
2606 echo "not updating unwritable cache
$cache_file"
2612 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2613 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2614 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2615 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2616 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2617 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2618 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2619 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2620 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2621 || { echo "configure
: error
: libtool configure failed
" 1>&2; exit 1; }
2623 # Reload cache, that may have been modified by ltconfig
2624 if test -r "$cache_file"; then
2625 echo "loading cache
$cache_file"
2628 echo "creating cache
$cache_file"
2633 # This can be used to rebuild libtool when needed
2634 LIBTOOL_DEPS="$ac_aux_dir/ltconfig
$ac_aux_dir/ltmain.sh
$ac_aux_dir/ltcf-c.sh
"
2636 # Always use our own libtool.
2637 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2639 # Redirect the config.log output again, so that the ltconfig log is not
2640 # clobbered by the next message.
2641 exec 5>>./config.log
2645 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh
"
2647 lt_save_CFLAGS="$CFLAGS"
2648 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2649 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2650 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2651 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2652 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2653 deplibs_check_method="$deplibs_check_method" \
2654 file_magic_cmd="$file_magic_cmd" \
2655 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2656 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2657 || { echo "configure
: error
: libtool tag configuration failed
" 1>&2; exit 1; }
2659 CFLAGS="$lt_save_CFLAGS"
2661 # Redirect the config.log output again, so that the ltconfig log is not
2662 # clobbered by the next message.
2663 exec 5>>./config.log
2673 # Check for c++ or library specific bits that don't require linking.
2674 #GLIBCPP_CHECK_COMPILER_VERSION
2675 echo $ac_n "checking
for GNU
make""...
$ac_c" 1>&6
2676 echo "configure
:2677: checking
for GNU
make" >&5
2677 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2678 echo $ac_n "(cached
) $ac_c" 1>&6
2680 _cv_gnu_make_command='' ;
2681 for a in "${MAKE-make}" make gmake gnumake ; do
2682 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2684 _cv_gnu_make_command=$a ;
2691 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2692 if test "x
$_cv_gnu_make_command" != "x
" ; then
2700 # Enable all the variable C++ stuff. C_MBCHAR must come early.
2701 # Check whether --enable-debug or --disable-debug was given.
2702 if test "${enable_debug+set}" = set; then
2703 enableval="$enable_debug"
2704 case "${enableval}" in
2705 yes) enable_debug=yes ;;
2706 no) enable_debug=no ;;
2707 *) { echo "configure
: error
: Unknown argument to enable
/disable extra debugging
" 1>&2; exit 1; } ;;
2713 case "${enable_debug}" in
2715 DEBUG_FLAGS='-O0 -ggdb3'
2723 echo $ac_n "checking how to run the C preprocessor
""...
$ac_c" 1>&6
2724 echo "configure
:2725: checking how to run the C preprocessor
" >&5
2725 # On Suns, sometimes $CPP names a directory.
2726 if test -n "$CPP" && test -d "$CPP"; then
2729 if test -z "$CPP"; then
2730 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2731 echo $ac_n "(cached
) $ac_c" 1>&6
2733 # This must be in double quotes, not single quotes, because CPP may get
2734 # substituted into the Makefile and "${CC-cc}" will confuse make.
2736 # On the NeXT, cc -E runs the code through the compiler's parser,
2737 # not just through cpp.
2738 cat > conftest.$ac_ext <<EOF
2739 #line 2740 "configure
"
2740 #include "confdefs.h
"
2744 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2745 { (eval echo configure:2746: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2746 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2747 if test -z "$ac_err"; then
2751 echo "configure
: failed program was
:" >&5
2752 cat conftest.$ac_ext >&5
2754 CPP="${CC-cc} -E -traditional-cpp"
2755 cat > conftest.$ac_ext <<EOF
2756 #line 2757 "configure
"
2757 #include "confdefs.h
"
2761 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2762 { (eval echo configure:2763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2763 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2764 if test -z "$ac_err"; then
2768 echo "configure
: failed program was
:" >&5
2769 cat conftest.$ac_ext >&5
2771 CPP="${CC-cc} -nologo -E"
2772 cat > conftest.$ac_ext <<EOF
2773 #line 2774 "configure
"
2774 #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
2785 echo "configure
: failed program was
:" >&5
2786 cat conftest.$ac_ext >&5
2795 ac_cv_prog_CPP="$CPP"
2797 CPP="$ac_cv_prog_CPP"
2799 ac_cv_prog_CPP="$CPP"
2801 echo "$ac_t""$CPP" 1>&6
2804 echo $ac_n "checking
for cstdio to use
""...
$ac_c" 1>&6
2805 echo "configure
:2806: checking
for cstdio to use
" >&5
2806 # Check whether --enable-cstdio or --disable-cstdio was given.
2807 if test "${enable_cstdio+set}" = set; then
2808 enableval="$enable_cstdio"
2809 if test x$enable_cstdio = xno; then
2817 enable_cstdio_flag=$enable_cstdio
2819 case x${enable_cstdio_flag} in
2821 CSTDIO_H=config/io/c_io_libio.h
2822 BASIC_FILE_H=config/io/basic_file_libio.h
2823 BASIC_FILE_CC=config/io/basic_file_libio.cc
2824 echo "$ac_t""libio
" 1>&6
2826 # see if we are on a system with libio native (ie, linux)
2827 ac_safe=`echo "libio.h
" | sed 'y%./+-%__p_%'`
2828 echo $ac_n "checking
for libio.h
""...
$ac_c" 1>&6
2829 echo "configure
:2830: checking
for libio.h
" >&5
2830 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2831 echo $ac_n "(cached
) $ac_c" 1>&6
2833 cat > conftest.$ac_ext <<EOF
2834 #line 2835 "configure
"
2835 #include "confdefs.h
"
2838 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2839 { (eval echo configure:2840: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2840 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2841 if test -z "$ac_err"; then
2843 eval "ac_cv_header_
$ac_safe=yes"
2846 echo "configure
: failed program was
:" >&5
2847 cat conftest.$ac_ext >&5
2849 eval "ac_cv_header_
$ac_safe=no
"
2853 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2854 echo "$ac_t""yes" 1>&6
2857 echo "$ac_t""no
" 1>&6
2862 # Need to check and see what version of glibc is being used. If
2863 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2864 # compile most of libio for linux systems.
2865 if test x$has_libio = x"yes"; then
2868 echo $ac_n "checking
for glibc version
>= 2.2""...
$ac_c" 1>&6
2869 echo "configure
:2870: checking
for glibc version
>= 2.2" >&5
2870 cat > conftest.$ac_ext <<EOF
2871 #line 2872 "configure
"
2872 #include "confdefs.h
"
2874 #include <features.h>
2875 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2880 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
2881 egrep "ok
" >/dev/null 2>&1; then
2883 glibc_satisfactory=yes
2886 glibc_satisfactory=no
2890 echo "$ac_t""$glibc_satisfactory" 1>&6
2894 # XXX at the moment, admit defeat and force the recompilation
2895 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2896 glibc_satisfactory=no
2898 if test x$glibc_satisfactory = x"yes"; then
2903 # bkoz XXX need to add checks to enable this
2904 # pme XXX here's a first pass at such a check
2905 if test x$enable_c_mbchar != xno; then
2913 # Using libio, but <libio.h> doesn't exist on the target system. . .
2915 # bkoz XXX need to add checks to enable this
2916 # pme XXX here's a first pass at such a check
2917 if test x$enable_c_mbchar != xno; then
2924 xstdio | x | xno | xnone | xyes)
2926 CSTDIO_H=config/io/c_io_stdio.h
2927 BASIC_FILE_H=config/io/basic_file_stdio.h
2928 BASIC_FILE_CC=config/io/basic_file_stdio.cc
2929 echo "$ac_t""stdio
" 1>&6
2931 # We're not using stdio.
2936 echo "$enable_cstdio is an unknown io package
" 1>&2
2944 # 2000-08-04 bkoz hack
2945 CCODECVT_C=config/io/c_io_libio_codecvt.c
2947 # 2000-08-04 bkoz hack
2951 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2952 GLIBCPP_BUILD_LIBIO_TRUE=
2953 GLIBCPP_BUILD_LIBIO_FALSE='#'
2955 GLIBCPP_BUILD_LIBIO_TRUE='#'
2956 GLIBCPP_BUILD_LIBIO_FALSE=
2960 if test "$need_libio" = yes; then
2961 GLIBCPP_NEED_LIBIO_TRUE=
2962 GLIBCPP_NEED_LIBIO_FALSE='#'
2964 GLIBCPP_NEED_LIBIO_TRUE='#'
2965 GLIBCPP_NEED_LIBIO_FALSE=
2969 if test "$need_wlibio" = yes; then
2970 GLIBCPP_NEED_WLIBIO_TRUE=
2971 GLIBCPP_NEED_WLIBIO_FALSE='#'
2973 GLIBCPP_NEED_WLIBIO_TRUE='#'
2974 GLIBCPP_NEED_WLIBIO_FALSE=
2976 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2977 libio_la=../libio/libio.la
2984 echo $ac_n "checking
for clocale to use
""...
$ac_c" 1>&6
2985 echo "configure
:2986: checking
for clocale to use
" >&5
2986 # Check whether --enable-clocale or --disable-clocale was given.
2987 if test "${enable_clocale+set}" = set; then
2988 enableval="$enable_clocale"
2989 if test x$enable_clocale = xno; then
2997 enable_clocale_flag=$enable_clocale
2999 if test x$enable_clocale_flag = xno; then
3000 case x${target_os} in
3002 cat > conftest.$ac_ext <<EOF
3003 #line 3004 "configure
"
3004 #include "confdefs.h
"
3006 #include <features.h>
3007 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
3012 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
3013 egrep "_GLIBCPP_ok
" >/dev/null 2>&1; then
3015 enable_clocale_flag=gnu
3018 enable_clocale_flag=generic
3023 # Test for bugs early in glibc-2.2.x series
3024 if test x$enable_clocale_flag = xgnu; then
3025 if test "$cross_compiling" = yes; then
3026 enable_clocale_flag=generic
3028 cat > conftest.$ac_ext <<EOF
3029 #line 3030 "configure
"
3030 #include "confdefs.h
"
3032 #define _GNU_SOURCE 1
3036 const char __one[] = "Äuglein Augmen
";
3037 const char __two[] = "Äuglein
";
3042 loc = __newlocale(1 << LC_ALL, "de_DE
", 0);
3043 loc_dup = __duplocale(loc);
3044 i = __strcoll_l(__one, __two, loc);
3045 j = __strcoll_l(__one, __two, loc_dup);
3050 if { (eval echo configure:3051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3052 enable_clocale_flag=gnu
3054 echo "configure
: failed program was
:" >&5
3055 cat conftest.$ac_ext >&5
3057 enable_clocale_flag=generic
3064 # ... at some point put __strxfrm_l tests in as well.
3067 enable_clocale_flag=generic
3072 # Check whether --enable-nls or --disable-nls was given.
3073 if test "${enable_nls+set}" = set; then
3074 enableval="$enable_nls"
3082 case x${enable_clocale_flag} in
3084 echo "$ac_t""generic
" 1>&6
3086 CLOCALE_H=config/locale/generic/c_locale.h
3087 CLOCALE_CC=config/locale/generic/c_locale.cc
3088 CCODECVT_H=config/locale/generic/codecvt_specializations.h
3089 CCOLLATE_CC=config/locale/generic/collate_members.cc
3090 CCTYPE_CC=config/locale/generic/ctype_members.cc
3091 CMESSAGES_H=config/locale/generic/messages_members.h
3092 CMESSAGES_CC=config/locale/generic/messages_members.cc
3093 CMONEY_CC=config/locale/generic/monetary_members.cc
3094 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3095 CTIME_CC=config/locale/generic/time_members.cc
3098 echo "$ac_t""gnu
" 1>&6
3100 # Declare intention to use gettext, and add support for specific
3102 # For some reason, ALL_LINGUAS has to be before AM_GNU_GETTEXT
3105 # Don't call AM_GNU_GETTEXT here. Instead, assume glibc.
3106 # Extract the first word of "msgfmt
", so it can be a program name with args.
3107 set dummy msgfmt; ac_word=$2
3108 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
3109 echo "configure
:3110: checking
for $ac_word" >&5
3110 if eval "test \"`echo '$''{'ac_cv_prog_check_msgfmt'+set}'`\" = set"; then
3111 echo $ac_n "(cached
) $ac_c" 1>&6
3113 if test -n "$check_msgfmt"; then
3114 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
3116 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3118 for ac_dir in $ac_dummy; do
3119 test -z "$ac_dir" && ac_dir=.
3120 if test -f $ac_dir/$ac_word; then
3121 ac_cv_prog_check_msgfmt="yes"
3126 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no
"
3129 check_msgfmt="$ac_cv_prog_check_msgfmt"
3130 if test -n "$check_msgfmt"; then
3131 echo "$ac_t""$check_msgfmt" 1>&6
3133 echo "$ac_t""no
" 1>&6
3136 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
3140 # Export the build objects.
3141 for ling in $ALL_LINGUAS; do \
3142 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo
"; \
3143 glibcpp_POFILES="$glibcpp_POFILES $ling.po
"; \
3148 CLOCALE_H=config/locale/gnu/c_locale.h
3149 CLOCALE_CC=config/locale/gnu/c_locale.cc
3150 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3151 CCOLLATE_CC=config/locale/gnu/collate_members.cc
3152 CCTYPE_CC=config/locale/gnu/ctype_members.cc
3153 CMESSAGES_H=config/locale/gnu/messages_members.h
3154 CMESSAGES_CC=config/locale/gnu/messages_members.cc
3155 CMONEY_CC=config/locale/gnu/monetary_members.cc
3156 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
3157 CTIME_CC=config/locale/gnu/time_members.cc
3160 echo "$ac_t""generic
" 1>&6
3162 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
3163 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
3164 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3165 CCOLLATE_CC=config/locale/generic/collate_members.cc
3166 CCTYPE_CC=config/locale/generic/ctype_members.cc
3167 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
3168 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
3169 CMONEY_CC=config/locale/generic/monetary_members.cc
3170 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3171 CTIME_CC=config/locale/generic/time_members.cc
3174 echo "$enable_clocale is an unknown locale package
" 1>&2
3179 # This is where the testsuite looks for locale catalogs, using the
3180 # -DLOCALEDIR define during testsuite compilation.
3181 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3196 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3197 if test "${enable_c_mbchar+set}" = set; then
3198 enableval="$enable_c_mbchar"
3199 case "$enableval" in
3200 yes) enable_c_mbchar=yes ;;
3201 no) enable_c_mbchar=no ;;
3202 *) { echo "configure
: error
: Unknown argument to enable
/disable c-mbchar
" 1>&2; exit 1; } ;;
3209 # Check whether --enable-c99 or --disable-c99 was given.
3210 if test "${enable_c99+set}" = set; then
3211 enableval="$enable_c99"
3212 case "$enableval" in
3213 yes) enable_c99=yes ;;
3214 no) enable_c99=no ;;
3215 *) { echo "configure
: error
: Unknown argument to enable
/disable C99
" 1>&2; exit 1; } ;;
3223 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3224 ac_cpp='$CXXCPP $CPPFLAGS'
3225 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3226 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3227 cross_compiling=$ac_cv_prog_cxx_cross
3230 # Check for the existence of <math.h> functions used if C99 is enabled.
3232 echo $ac_n "checking
for ISO C99 support
in <math.h
>""...
$ac_c" 1>&6
3233 echo "configure
:3234: checking
for ISO C99 support
in <math.h
>" >&5
3234 cat > conftest.$ac_ext <<EOF
3235 #line 3236 "configure
"
3236 #include "confdefs.h
"
3242 if { (eval echo configure:3243: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3245 echo "configure
: failed program was
:" >&5
3246 cat conftest.$ac_ext >&5
3251 cat > conftest.$ac_ext <<EOF
3252 #line 3253 "configure
"
3253 #include "confdefs.h
"
3259 if { (eval echo configure:3260: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3262 echo "configure
: failed program was
:" >&5
3263 cat conftest.$ac_ext >&5
3268 cat > conftest.$ac_ext <<EOF
3269 #line 3270 "configure
"
3270 #include "confdefs.h
"
3276 if { (eval echo configure:3277: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3279 echo "configure
: failed program was
:" >&5
3280 cat conftest.$ac_ext >&5
3285 cat > conftest.$ac_ext <<EOF
3286 #line 3287 "configure
"
3287 #include "confdefs.h
"
3293 if { (eval echo configure:3294: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3296 echo "configure
: failed program was
:" >&5
3297 cat conftest.$ac_ext >&5
3302 cat > conftest.$ac_ext <<EOF
3303 #line 3304 "configure
"
3304 #include "confdefs.h
"
3310 if { (eval echo configure:3311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3313 echo "configure
: failed program was
:" >&5
3314 cat conftest.$ac_ext >&5
3319 cat > conftest.$ac_ext <<EOF
3320 #line 3321 "configure
"
3321 #include "confdefs.h
"
3327 if { (eval echo configure:3328: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3330 echo "configure
: failed program was
:" >&5
3331 cat conftest.$ac_ext >&5
3336 cat > conftest.$ac_ext <<EOF
3337 #line 3338 "configure
"
3338 #include "confdefs.h
"
3344 if { (eval echo configure:3345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3347 echo "configure
: failed program was
:" >&5
3348 cat conftest.$ac_ext >&5
3353 cat > conftest.$ac_ext <<EOF
3354 #line 3355 "configure
"
3355 #include "confdefs.h
"
3358 isgreaterequal(0.0,0.0);
3361 if { (eval echo configure:3362: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3364 echo "configure
: failed program was
:" >&5
3365 cat conftest.$ac_ext >&5
3370 cat > conftest.$ac_ext <<EOF
3371 #line 3372 "configure
"
3372 #include "confdefs.h
"
3378 if { (eval echo configure:3379: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3381 echo "configure
: failed program was
:" >&5
3382 cat conftest.$ac_ext >&5
3387 cat > conftest.$ac_ext <<EOF
3388 #line 3389 "configure
"
3389 #include "confdefs.h
"
3392 islessequal(0.0,0.0);
3395 if { (eval echo configure:3396: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3398 echo "configure
: failed program was
:" >&5
3399 cat conftest.$ac_ext >&5
3404 cat > conftest.$ac_ext <<EOF
3405 #line 3406 "configure
"
3406 #include "confdefs.h
"
3409 islessgreater(0.0,0.0);
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 isunordered(0.0,0.0);
3429 if { (eval echo configure:3430: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3432 echo "configure
: failed program was
:" >&5
3433 cat conftest.$ac_ext >&5
3438 echo "$ac_t""$ac_c99_math" 1>&6
3440 # Check for the existence in <stdio.h> of vscanf, et. al.
3442 echo $ac_n "checking
for ISO C99 support
in <stdio.h
>""...
$ac_c" 1>&6
3443 echo "configure
:3444: checking
for ISO C99 support
in <stdio.h
>" >&5
3444 cat > conftest.$ac_ext <<EOF
3445 #line 3446 "configure
"
3446 #include "confdefs.h
"
3449 snprintf("12", 0, "%i
");
3452 if { (eval echo configure:3453: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3455 echo "configure
: failed program was
:" >&5
3456 cat conftest.$ac_ext >&5
3461 cat > conftest.$ac_ext <<EOF
3462 #line 3463 "configure
"
3463 #include "confdefs.h
"
3466 void foo(char* fmt, ...)
3467 {va_list args; va_start(args, fmt);
3468 vfscanf(stderr, "%i
", args);}
3473 if { (eval echo configure:3474: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3476 echo "configure
: failed program was
:" >&5
3477 cat conftest.$ac_ext >&5
3482 cat > conftest.$ac_ext <<EOF
3483 #line 3484 "configure
"
3484 #include "confdefs.h
"
3487 void foo(char* fmt, ...)
3488 {va_list args; va_start(args, fmt);
3489 vscanf("%i
", args);}
3494 if { (eval echo configure:3495: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3497 echo "configure
: failed program was
:" >&5
3498 cat conftest.$ac_ext >&5
3503 cat > conftest.$ac_ext <<EOF
3504 #line 3505 "configure
"
3505 #include "confdefs.h
"
3508 void foo(char* fmt, ...)
3509 {va_list args; va_start(args, fmt);
3510 vsnprintf(fmt, 0, "%i
", args);}
3515 if { (eval echo configure:3516: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3518 echo "configure
: failed program was
:" >&5
3519 cat conftest.$ac_ext >&5
3524 cat > conftest.$ac_ext <<EOF
3525 #line 3526 "configure
"
3526 #include "confdefs.h
"
3529 void foo(char* fmt, ...)
3530 {va_list args; va_start(args, fmt);
3531 vsscanf(fmt, "%i
", args);}
3536 if { (eval echo configure:3537: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3539 echo "configure
: failed program was
:" >&5
3540 cat conftest.$ac_ext >&5
3545 echo "$ac_t""$ac_c99_stdio" 1>&6
3547 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3549 echo $ac_n "checking
for lldiv_t declaration
""...
$ac_c" 1>&6
3550 echo "configure
:3551: checking
for lldiv_t declaration
" >&5
3551 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3552 echo $ac_n "(cached
) $ac_c" 1>&6
3555 cat > conftest.$ac_ext <<EOF
3556 #line 3557 "configure
"
3557 #include "confdefs.h
"
3563 if { (eval echo configure:3564: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3567 echo "configure
: failed program was
:" >&5
3568 cat conftest.$ac_ext >&5
3576 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3578 echo $ac_n "checking
for ISO C99 support
in <stdlib.h
>""...
$ac_c" 1>&6
3579 echo "configure
:3580: checking
for ISO C99 support
in <stdlib.h
>" >&5
3580 cat > conftest.$ac_ext <<EOF
3581 #line 3582 "configure
"
3582 #include "confdefs.h
"
3585 char* tmp; strtof("gnu
", &tmp);
3588 if { (eval echo configure:3589: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3591 echo "configure
: failed program was
:" >&5
3592 cat conftest.$ac_ext >&5
3597 cat > conftest.$ac_ext <<EOF
3598 #line 3599 "configure
"
3599 #include "confdefs.h
"
3602 char* tmp; strtold("gnu
", &tmp);
3605 if { (eval echo configure:3606: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3608 echo "configure
: failed program was
:" >&5
3609 cat conftest.$ac_ext >&5
3614 cat > conftest.$ac_ext <<EOF
3615 #line 3616 "configure
"
3616 #include "confdefs.h
"
3622 if { (eval echo configure:3623: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3625 echo "configure
: failed program was
:" >&5
3626 cat conftest.$ac_ext >&5
3631 cat > conftest.$ac_ext <<EOF
3632 #line 3633 "configure
"
3633 #include "confdefs.h
"
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
"
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
"
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 if test x"$ac_c99_lldiv_t" = x"no
"; then
3685 echo "$ac_t""$ac_c99_stdlib" 1>&6
3687 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3688 # XXX the wchar.h checks should be rolled into the general C99 bits.
3690 echo $ac_n "checking
for additional ISO C99 support
in <wchar.h
>""...
$ac_c" 1>&6
3691 echo "configure
:3692: checking
for additional ISO C99 support
in <wchar.h
>" >&5
3692 cat > conftest.$ac_ext <<EOF
3693 #line 3694 "configure
"
3694 #include "confdefs.h
"
3697 wcstold(L"10.0", NULL);
3700 if { (eval echo configure:3701: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3703 echo "configure
: failed program was
:" >&5
3704 cat conftest.$ac_ext >&5
3709 cat > conftest.$ac_ext <<EOF
3710 #line 3711 "configure
"
3711 #include "confdefs.h
"
3714 wcstoll(L"10", NULL, 10);
3717 if { (eval echo configure:3718: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3720 echo "configure
: failed program was
:" >&5
3721 cat conftest.$ac_ext >&5
3726 cat > conftest.$ac_ext <<EOF
3727 #line 3728 "configure
"
3728 #include "confdefs.h
"
3731 wcstoull(L"10", NULL, 10);
3734 if { (eval echo configure:3735: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3737 echo "configure
: failed program was
:" >&5
3738 cat conftest.$ac_ext >&5
3743 echo "$ac_t""$ac_c99_wchar" 1>&6
3745 echo $ac_n "checking
for enabled ISO C99 support
""...
$ac_c" 1>&6
3746 echo "configure
:3747: checking
for enabled ISO C99 support
" >&5
3747 if test x"$ac_c99_math" = x"no
" ||
3748 test x"$ac_c99_stdio" = x"no
" ||
3749 test x"$ac_c99_stdlib" = x"no
" ||
3750 test x"$ac_c99_wchar" = x"no
"; then
3753 echo "$ac_t""$enable_c99" 1>&6
3755 # Option parsed, now set things appropriately
3756 if test x"$enable_c99" = x"yes"; then
3757 cat >> confdefs.h <<\EOF
3758 #define _GLIBCPP_USE_C99 1
3764 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3765 ac_cpp='$CPP $CPPFLAGS'
3766 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3767 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3768 cross_compiling=$ac_cv_prog_cc_cross
3772 # Check whether --enable-long-long or --disable-long-long was given.
3773 if test "${enable_long_long+set}" = set; then
3774 enableval="$enable_long_long"
3775 case "$enableval" in
3776 yes) enable_long_long=yes ;;
3777 no) enable_long_long=no ;;
3778 *) { echo "configure
: error
: Unknown argument to enable
/disable long long
" 1>&2; exit 1; } ;;
3781 enable_long_long=yes
3786 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3787 ac_cpp='$CXXCPP $CPPFLAGS'
3788 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3789 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3790 cross_compiling=$ac_cv_prog_cxx_cross
3793 echo $ac_n "checking
for enabled long long I
/O support
""...
$ac_c" 1>&6
3794 echo "configure
:3795: checking
for enabled long long I
/O support
" >&5
3795 # iostreams require strtoll, strtoull to compile
3796 cat > conftest.$ac_ext <<EOF
3797 #line 3798 "configure
"
3798 #include "confdefs.h
"
3801 char* tmp; strtoll("gnu
", &tmp, 10);
3804 if { (eval echo configure:3805: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3807 echo "configure
: failed program was
:" >&5
3808 cat conftest.$ac_ext >&5
3813 cat > conftest.$ac_ext <<EOF
3814 #line 3815 "configure
"
3815 #include "confdefs.h
"
3818 char* tmp; strtoull("gnu
", &tmp, 10);
3821 if { (eval echo configure:3822: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3824 echo "configure
: failed program was
:" >&5
3825 cat conftest.$ac_ext >&5
3831 # Option parsed, now set things appropriately
3832 if test x"$enable_long_long" = xyes; then
3833 cat >> confdefs.h <<\EOF
3834 #define _GLIBCPP_USE_LONG_LONG 1
3838 echo "$ac_t""$enable_long_long" 1>&6
3841 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3842 ac_cpp='$CPP $CPPFLAGS'
3843 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3844 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3845 cross_compiling=$ac_cv_prog_cc_cross
3848 echo $ac_n "checking
for c header strategy to use
""...
$ac_c" 1>&6
3849 echo "configure
:3850: checking
for c header strategy to use
" >&5
3850 # Check whether --enable-cheaders or --disable-cheaders was given.
3851 if test "${enable_cheaders+set}" = set; then
3852 enableval="$enable_cheaders"
3854 case "$enableval" in
3859 enable_cheaders=c_std
3862 enable_cheaders=c_shadow
3864 *) { echo "configure
: error
: Unknown argument to enable
/disable
"C" headers
" 1>&2; exit 1; }
3868 enable_cheaders=c_std
3871 echo "$ac_t""$enable_cheaders" 1>&6
3873 case "$enable_cheaders" in
3875 CSHADOW_FLAGS="-fno-builtin"
3876 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_shadow'
3880 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3884 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3892 if test "$enable_cheaders" = c; then
3893 GLIBCPP_C_HEADERS_C_TRUE=
3894 GLIBCPP_C_HEADERS_C_FALSE='#'
3896 GLIBCPP_C_HEADERS_C_TRUE='#'
3897 GLIBCPP_C_HEADERS_C_FALSE=
3901 if test "$enable_cheaders" = c_std; then
3902 GLIBCPP_C_HEADERS_C_STD_TRUE=
3903 GLIBCPP_C_HEADERS_C_STD_FALSE='#'
3905 GLIBCPP_C_HEADERS_C_STD_TRUE='#'
3906 GLIBCPP_C_HEADERS_C_STD_FALSE=
3910 echo $ac_n "checking
for thread model used by GCC
""...
$ac_c" 1>&6
3911 echo "configure
:3912: checking
for thread model used by GCC
" >&5
3912 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3913 echo "$ac_t""$target_thread_file" 1>&6
3915 if test $target_thread_file != single; then
3916 cat >> confdefs.h <<\EOF
3917 #define HAVE_GTHR_DEFAULT 1
3920 cat >> confdefs.h <<\EOF
3921 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3926 glibcpp_thread_h=gthr-$target_thread_file.h
3929 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3930 if test "${enable_cxx_flags+set}" = set; then
3931 enableval="$enable_cxx_flags"
3932 case "x
$enableval" in
3934 { echo "configure
: error
: --enable-cxx-flags needs compiler flags as arguments
" 1>&2; exit 1; } ;;
3936 enable_cxx_flags='' ;;
3938 enable_cxx_flags="$enableval" ;;
3941 enable_cxx_flags='none'
3945 if test "$enable_cxx_flags" = "none
"; then
3946 enable_cxx_flags='';
3949 if test -n "$enable_cxx_flags"; then
3950 for f in $enable_cxx_flags; do
3954 *) # and we're trying to pass /what/ exactly?
3955 { echo "configure
: error
: compiler flags start with a
-" 1>&2; exit 1; } ;;
3959 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3963 echo $ac_n "checking
for exception model to use
""...
$ac_c" 1>&6
3964 echo "configure
:3965: checking
for exception model to use
" >&5
3967 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3968 ac_cpp='$CXXCPP $CPPFLAGS'
3969 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3970 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3971 cross_compiling=$ac_cv_prog_cxx_cross
3973 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3974 if test "${enable_sjlj_exceptions+set}" = set; then
3975 enableval="$enable_sjlj_exceptions"
3978 cat > conftest.$ac_ext << EOF
3979 #line 3980 "configure
"
3988 old_CXXFLAGS="$CXXFLAGS"
3990 if { (eval echo configure:3991: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3991 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
3992 enable_sjlj_exceptions=yes
3993 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
3994 enable_sjlj_exceptions=no
3997 CXXFLAGS="$old_CXXFLAGS"
4001 if test x$enable_sjlj_exceptions = xyes; then
4002 cat >> confdefs.h <<\EOF
4003 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
4006 ac_exception_model_name=sjlj
4007 elif test x$enable_sjlj_exceptions = xno; then
4008 ac_exception_model_name="call frame
"
4010 { echo "configure
: error
: unable to detect exception model
" 1>&2; exit 1; }
4013 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4014 ac_cpp='$CPP $CPPFLAGS'
4015 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4016 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4017 cross_compiling=$ac_cv_prog_cc_cross
4019 echo "$ac_t""$ac_exception_model_name" 1>&6
4022 echo $ac_n "checking
for use of libunwind
""...
$ac_c" 1>&6
4023 echo "configure
:4024: checking
for use of libunwind
" >&5
4024 # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
4025 if test "${enable_libunwind_exceptions+set}" = set; then
4026 enableval="$enable_libunwind_exceptions"
4027 use_libunwind_exceptions=$enableval
4029 use_libunwind_exceptions=no
4032 echo "$ac_t""$use_libunwind_exceptions" 1>&6
4033 if test x"$use_libunwind_exceptions" = xyes; then
4034 LIBUNWIND_FLAG="-lunwind"
4040 # Check whether --enable-concept-checks or --disable-concept-checks was given.
4041 if test "${enable_concept_checks+set}" = set; then
4042 enableval="$enable_concept_checks"
4043 case "$enableval" in
4044 yes) enable_concept_checks=yes ;;
4045 no) enable_concept_checks=no ;;
4046 *) { echo "configure
: error
: Unknown argument to enable
/disable concept checks
" 1>&2; exit 1; } ;;
4049 enable_concept_checks=no
4051 if test x"$enable_concept_checks" = xyes; then
4052 cat >> confdefs.h <<\EOF
4053 #define _GLIBCPP_CONCEPT_CHECKS 1
4060 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
4062 # This lets us hard-code the functionality we know
4063 # we'll have in the cross target environment. "Let
" is a
4064 # sugar-coated word placed on an especially dull and tedious hack, actually.
4065 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
4066 # that involve linking can't be used:
4067 # "cannot open sim-crt0.o
"
4068 # "cannot open crt0.o
"
4069 # etc. All this is because there currently exists no unified,
4070 # consistent way for top level CC information to be passed down
4071 # to target directories: newlib includes, newlib linking info,
4072 # libgloss versus newlib crt0.o, etc. When all of this is done, all
4073 # of this hokey, excessive AC_DEFINE junk for crosses can be removed.
4075 # We are being configured with some form of cross compiler.
4076 GLIBCPP_IS_CROSS_COMPILING=1
4078 # If Canadian cross, then don't pick up tools from the build
4080 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
4086 # Construct crosses by hand, eliminating bits that need ld...
4087 # GLIBCPP_CHECK_COMPILER_FEATURES
4088 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4089 # GLIBCPP_CHECK_MATH_SUPPORT
4091 case "$target_alias" in
4093 # Check for available headers.
4094 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4095 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4096 fp.h locale.h float.h inttypes.h
4098 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4099 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4100 echo "configure
:4101: checking
for $ac_hdr" >&5
4101 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4102 echo $ac_n "(cached
) $ac_c" 1>&6
4104 cat > conftest.$ac_ext <<EOF
4105 #line 4106 "configure
"
4106 #include "confdefs.h
"
4109 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4110 { (eval echo configure:4111: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4111 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4112 if test -z "$ac_err"; then
4114 eval "ac_cv_header_
$ac_safe=yes"
4117 echo "configure
: failed program was
:" >&5
4118 cat conftest.$ac_ext >&5
4120 eval "ac_cv_header_
$ac_safe=no
"
4124 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4125 echo "$ac_t""yes" 1>&6
4126 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4127 cat >> confdefs.h <<EOF
4128 #define $ac_tr_hdr 1
4132 echo "$ac_t""no
" 1>&6
4136 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4139 # If we're not using GNU ld, then there's no point in even trying these
4140 # tests. Check for that first. We should have already tested for gld
4141 # by now (in libtool), but require it now just to be safe...
4142 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4143 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4146 # The name set by libtool depends on the version of libtool. Shame on us
4147 # for depending on an impl detail, but c'est la vie. Older versions used
4148 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4149 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4150 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4151 # set (hence we're using an older libtool), then set it.
4152 if test x${with_gnu_ld+set} != xset; then
4153 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4154 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
4157 with_gnu_ld=$ac_cv_prog_gnu_ld
4161 # Start by getting the version number. I think the libtool test already
4162 # does some of this, but throws away the result.
4164 ldver=`$LD --version 2>/dev/null | head -1 | \
4165 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4167 glibcpp_gnu_ld_version=`echo $ldver | \
4168 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4170 # Set --gc-sections.
4171 if test "$with_gnu_ld" = "notbroken
"; then
4172 # GNU ld it is! Joy and bunny rabbits!
4174 # All these tests are for C++; save the language and the compiler flags.
4175 # Need to do this so that g++ won't try to link in libstdc++
4176 ac_test_CFLAGS="${CFLAGS+set}"
4177 ac_save_CFLAGS="$CFLAGS"
4178 CFLAGS='-x c++ -Wl,--gc-sections'
4180 # Check for -Wl,--gc-sections
4181 # XXX This test is broken at the moment, as symbols required for
4182 # linking are now in libsupc++ (not built yet.....). In addition,
4183 # this test has cored on solaris in the past. In addition,
4184 # --gc-sections doesn't really work at the moment (keeps on discarding
4185 # used sections, first .eh_frame and now some of the glibc sections for
4186 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4187 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
4188 echo "configure
:4189: checking
for ld that supports
-Wl,--gc-sections" >&5
4189 if test "$cross_compiling" = yes; then
4190 ac_sectionLDflags=yes
4192 cat > conftest.$ac_ext <<EOF
4193 #line 4194 "configure
"
4194 #include "confdefs.h
"
4204 if { (eval echo configure:4205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4206 ac_sectionLDflags=yes
4208 echo "configure
: failed program was
:" >&5
4209 cat conftest.$ac_ext >&5
4211 ac_sectionLDflags=no
4216 if test "$ac_test_CFLAGS" = set; then
4217 CFLAGS="$ac_save_CFLAGS"
4219 # this is the suspicious part
4222 if test "$ac_sectionLDflags" = "yes"; then
4223 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4225 echo "$ac_t""$ac_sectionLDflags" 1>&6
4228 # Set linker optimization flags.
4229 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no
"; then
4230 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4237 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
4238 echo "configure
:4239: checking
for main
in -lm" >&5
4239 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4240 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4241 echo $ac_n "(cached
) $ac_c" 1>&6
4243 ac_save_LIBS="$LIBS"
4245 cat > conftest.$ac_ext <<EOF
4246 #line 4247 "configure
"
4247 #include "confdefs.h
"
4253 if { (eval echo configure:4254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4255 eval "ac_cv_lib_
$ac_lib_var=yes"
4257 echo "configure
: failed program was
:" >&5
4258 cat conftest.$ac_ext >&5
4260 eval "ac_cv_lib_
$ac_lib_var=no
"
4263 LIBS="$ac_save_LIBS"
4266 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4267 echo "$ac_t""yes" 1>&6
4268 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4269 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4270 cat >> confdefs.h <<EOF
4271 #define $ac_tr_lib 1
4277 echo "$ac_t""no
" 1>&6
4280 for ac_func in nan copysignf
4282 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4283 echo "configure
:4284: checking
for $ac_func" >&5
4284 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4285 echo $ac_n "(cached
) $ac_c" 1>&6
4287 cat > conftest.$ac_ext <<EOF
4288 #line 4289 "configure
"
4289 #include "confdefs.h
"
4290 /* System header to define __stub macros and hopefully few prototypes,
4291 which can conflict with char $ac_func(); below. */
4293 /* Override any gcc2 internal prototype to avoid an error. */
4294 /* We use char because int might match the return type of a gcc2
4295 builtin and then its argument prototype would still apply. */
4300 /* The GNU C library defines this for functions which it implements
4301 to always fail with ENOSYS. Some functions are actually named
4302 something starting with __ and the normal name is an alias. */
4303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4311 if { (eval echo configure:4312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4313 eval "ac_cv_func_
$ac_func=yes"
4315 echo "configure
: failed program was
:" >&5
4316 cat conftest.$ac_ext >&5
4318 eval "ac_cv_func_
$ac_func=no
"
4323 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4324 echo "$ac_t""yes" 1>&6
4325 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4326 cat >> confdefs.h <<EOF
4327 #define $ac_tr_func 1
4331 echo "$ac_t""no
" 1>&6
4332 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
4337 for ac_func in __signbit
4339 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4340 echo "configure
:4341: checking
for $ac_func" >&5
4341 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4342 echo $ac_n "(cached
) $ac_c" 1>&6
4344 cat > conftest.$ac_ext <<EOF
4345 #line 4346 "configure
"
4346 #include "confdefs.h
"
4347 /* System header to define __stub macros and hopefully few prototypes,
4348 which can conflict with char $ac_func(); below. */
4350 /* Override any gcc2 internal prototype to avoid an error. */
4351 /* We use char because int might match the return type of a gcc2
4352 builtin and then its argument prototype would still apply. */
4357 /* The GNU C library defines this for functions which it implements
4358 to always fail with ENOSYS. Some functions are actually named
4359 something starting with __ and the normal name is an alias. */
4360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4368 if { (eval echo configure:4369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4370 eval "ac_cv_func_
$ac_func=yes"
4372 echo "configure
: failed program was
:" >&5
4373 cat conftest.$ac_ext >&5
4375 eval "ac_cv_func_
$ac_func=no
"
4380 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4381 echo "$ac_t""yes" 1>&6
4382 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4383 cat >> confdefs.h <<EOF
4384 #define $ac_tr_func 1
4388 echo "$ac_t""no
" 1>&6
4389 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
4393 for ac_func in __signbitf
4395 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4396 echo "configure
:4397: checking
for $ac_func" >&5
4397 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4398 echo $ac_n "(cached
) $ac_c" 1>&6
4400 cat > conftest.$ac_ext <<EOF
4401 #line 4402 "configure
"
4402 #include "confdefs.h
"
4403 /* System header to define __stub macros and hopefully few prototypes,
4404 which can conflict with char $ac_func(); below. */
4406 /* Override any gcc2 internal prototype to avoid an error. */
4407 /* We use char because int might match the return type of a gcc2
4408 builtin and then its argument prototype would still apply. */
4413 /* The GNU C library defines this for functions which it implements
4414 to always fail with ENOSYS. Some functions are actually named
4415 something starting with __ and the normal name is an alias. */
4416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4424 if { (eval echo configure:4425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4426 eval "ac_cv_func_
$ac_func=yes"
4428 echo "configure
: failed program was
:" >&5
4429 cat conftest.$ac_ext >&5
4431 eval "ac_cv_func_
$ac_func=no
"
4436 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4437 echo "$ac_t""yes" 1>&6
4438 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4439 cat >> confdefs.h <<EOF
4440 #define $ac_tr_func 1
4444 echo "$ac_t""no
" 1>&6
4445 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
4450 if test x$ac_cv_func_copysignl = x"yes"; then
4451 for ac_func in __signbitl
4453 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4454 echo "configure
:4455: checking
for $ac_func" >&5
4455 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4456 echo $ac_n "(cached
) $ac_c" 1>&6
4458 cat > conftest.$ac_ext <<EOF
4459 #line 4460 "configure
"
4460 #include "confdefs.h
"
4461 /* System header to define __stub macros and hopefully few prototypes,
4462 which can conflict with char $ac_func(); below. */
4464 /* Override any gcc2 internal prototype to avoid an error. */
4465 /* We use char because int might match the return type of a gcc2
4466 builtin and then its argument prototype would still apply. */
4471 /* The GNU C library defines this for functions which it implements
4472 to always fail with ENOSYS. Some functions are actually named
4473 something starting with __ and the normal name is an alias. */
4474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4482 if { (eval echo configure:4483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4484 eval "ac_cv_func_
$ac_func=yes"
4486 echo "configure
: failed program was
:" >&5
4487 cat conftest.$ac_ext >&5
4489 eval "ac_cv_func_
$ac_func=no
"
4494 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4495 echo "$ac_t""yes" 1>&6
4496 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4497 cat >> confdefs.h <<EOF
4498 #define $ac_tr_func 1
4502 echo "$ac_t""no
" 1>&6
4503 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
4513 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
4514 echo "configure
:4515: checking
for mbstate_t
" >&5
4515 cat > conftest.$ac_ext <<EOF
4516 #line 4517 "configure
"
4517 #include "confdefs.h
"
4520 mbstate_t teststate;
4523 if { (eval echo configure:4524: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4527 echo "configure
: failed program was
:" >&5
4528 cat conftest.$ac_ext >&5
4533 echo "$ac_t""$have_mbstate_t" 1>&6
4534 if test x"$have_mbstate_t" = xyes; then
4535 cat >> confdefs.h <<\EOF
4536 #define HAVE_MBSTATE_T 1
4541 for ac_hdr in wchar.h
4543 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4544 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4545 echo "configure
:4546: checking
for $ac_hdr" >&5
4546 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4547 echo $ac_n "(cached
) $ac_c" 1>&6
4549 cat > conftest.$ac_ext <<EOF
4550 #line 4551 "configure
"
4551 #include "confdefs.h
"
4554 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4555 { (eval echo configure:4556: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4556 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4557 if test -z "$ac_err"; then
4559 eval "ac_cv_header_
$ac_safe=yes"
4562 echo "configure
: failed program was
:" >&5
4563 cat conftest.$ac_ext >&5
4565 eval "ac_cv_header_
$ac_safe=no
"
4569 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4570 echo "$ac_t""yes" 1>&6
4571 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4572 cat >> confdefs.h <<EOF
4573 #define $ac_tr_hdr 1
4577 echo "$ac_t""no
" 1>&6
4582 for ac_hdr in wctype.h
4584 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4585 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4586 echo "configure
:4587: checking
for $ac_hdr" >&5
4587 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4588 echo $ac_n "(cached
) $ac_c" 1>&6
4590 cat > conftest.$ac_ext <<EOF
4591 #line 4592 "configure
"
4592 #include "confdefs.h
"
4595 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4596 { (eval echo configure:4597: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4597 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4598 if test -z "$ac_err"; then
4600 eval "ac_cv_header_
$ac_safe=yes"
4603 echo "configure
: failed program was
:" >&5
4604 cat conftest.$ac_ext >&5
4606 eval "ac_cv_header_
$ac_safe=no
"
4610 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4611 echo "$ac_t""yes" 1>&6
4612 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4613 cat >> confdefs.h <<EOF
4614 #define $ac_tr_hdr 1
4618 echo "$ac_t""no
" 1>&6
4624 if test x"$ac_has_wchar_h" = xyes &&
4625 test x"$ac_has_wctype_h" = xyes &&
4626 test x"$enable_c_mbchar" != xno; then
4628 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
4629 echo "configure
:4630: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
4630 cat > conftest.$ac_ext <<EOF
4631 #line 4632 "configure
"
4632 #include "confdefs.h
"
4635 int i = WCHAR_MIN; int j = WCHAR_MAX;
4638 if { (eval echo configure:4639: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4640 has_wchar_minmax=yes
4642 echo "configure
: failed program was
:" >&5
4643 cat conftest.$ac_ext >&5
4648 echo "$ac_t""$has_wchar_minmax" 1>&6
4650 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
4651 echo "configure
:4652: checking
for WEOF
" >&5
4652 cat > conftest.$ac_ext <<EOF
4653 #line 4654 "configure
"
4654 #include "confdefs.h
"
4662 if { (eval echo configure:4663: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4666 echo "configure
: failed program was
:" >&5
4667 cat conftest.$ac_ext >&5
4672 echo "$ac_t""$has_weof" 1>&6
4675 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4677 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4678 echo "configure
:4679: checking
for $ac_func" >&5
4679 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4680 echo $ac_n "(cached
) $ac_c" 1>&6
4682 cat > conftest.$ac_ext <<EOF
4683 #line 4684 "configure
"
4684 #include "confdefs.h
"
4685 /* System header to define __stub macros and hopefully few prototypes,
4686 which can conflict with char $ac_func(); below. */
4688 /* Override any gcc2 internal prototype to avoid an error. */
4689 /* We use char because int might match the return type of a gcc2
4690 builtin and then its argument prototype would still apply. */
4695 /* The GNU C library defines this for functions which it implements
4696 to always fail with ENOSYS. Some functions are actually named
4697 something starting with __ and the normal name is an alias. */
4698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4706 if { (eval echo configure:4707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4708 eval "ac_cv_func_
$ac_func=yes"
4710 echo "configure
: failed program was
:" >&5
4711 cat conftest.$ac_ext >&5
4713 eval "ac_cv_func_
$ac_func=no
"
4718 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4719 echo "$ac_t""yes" 1>&6
4720 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4721 cat >> confdefs.h <<EOF
4722 #define $ac_tr_func 1
4726 echo "$ac_t""no
" 1>&6
4733 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
4734 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4735 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4736 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4737 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4738 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4740 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4741 echo "configure
:4742: checking
for $ac_func" >&5
4742 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4743 echo $ac_n "(cached
) $ac_c" 1>&6
4745 cat > conftest.$ac_ext <<EOF
4746 #line 4747 "configure
"
4747 #include "confdefs.h
"
4748 /* System header to define __stub macros and hopefully few prototypes,
4749 which can conflict with char $ac_func(); below. */
4751 /* Override any gcc2 internal prototype to avoid an error. */
4752 /* We use char because int might match the return type of a gcc2
4753 builtin and then its argument prototype would still apply. */
4758 /* The GNU C library defines this for functions which it implements
4759 to always fail with ENOSYS. Some functions are actually named
4760 something starting with __ and the normal name is an alias. */
4761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4769 if { (eval echo configure:4770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4771 eval "ac_cv_func_
$ac_func=yes"
4773 echo "configure
: failed program was
:" >&5
4774 cat conftest.$ac_ext >&5
4776 eval "ac_cv_func_
$ac_func=no
"
4781 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4782 echo "$ac_t""yes" 1>&6
4783 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4784 cat >> confdefs.h <<EOF
4785 #define $ac_tr_func 1
4789 echo "$ac_t""no
" 1>&6
4796 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
4797 echo "configure
:4798: checking
for ISO C99 wchar_t support
" >&5
4798 if test x"$has_weof" = xyes &&
4799 test x"$has_wchar_minmax" = xyes &&
4800 test x"$ac_wfuncs" = xyes; then
4801 ac_isoC99_wchar_t=yes
4803 ac_isoC99_wchar_t=no
4805 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4807 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
4808 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
4809 echo "configure
:4810: checking
for iconv.h
" >&5
4810 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4811 echo $ac_n "(cached
) $ac_c" 1>&6
4813 cat > conftest.$ac_ext <<EOF
4814 #line 4815 "configure
"
4815 #include "confdefs.h
"
4818 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4819 { (eval echo configure:4820: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4820 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4821 if test -z "$ac_err"; then
4823 eval "ac_cv_header_
$ac_safe=yes"
4826 echo "configure
: failed program was
:" >&5
4827 cat conftest.$ac_ext >&5
4829 eval "ac_cv_header_
$ac_safe=no
"
4833 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4834 echo "$ac_t""yes" 1>&6
4837 echo "$ac_t""no
" 1>&6
4841 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
4842 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
4843 echo "configure
:4844: checking
for langinfo.h
" >&5
4844 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4845 echo $ac_n "(cached
) $ac_c" 1>&6
4847 cat > conftest.$ac_ext <<EOF
4848 #line 4849 "configure
"
4849 #include "confdefs.h
"
4850 #include <langinfo.h>
4852 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4853 { (eval echo configure:4854: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4854 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4855 if test -z "$ac_err"; then
4857 eval "ac_cv_header_
$ac_safe=yes"
4860 echo "configure
: failed program was
:" >&5
4861 cat conftest.$ac_ext >&5
4863 eval "ac_cv_header_
$ac_safe=no
"
4867 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4868 echo "$ac_t""yes" 1>&6
4869 ac_has_langinfo_h=yes
4871 echo "$ac_t""no
" 1>&6
4872 ac_has_langinfo_h=no
4876 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
4877 echo "configure
:4878: checking
for iconv in -liconv" >&5
4878 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4879 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4880 echo $ac_n "(cached
) $ac_c" 1>&6
4882 ac_save_LIBS="$LIBS"
4883 LIBS="-liconv $LIBS"
4884 cat > conftest.$ac_ext <<EOF
4885 #line 4886 "configure
"
4886 #include "confdefs.h
"
4887 /* Override any gcc2 internal prototype to avoid an error. */
4888 /* We use char because int might match the return type of a gcc2
4889 builtin and then its argument prototype would still apply. */
4896 if { (eval echo configure:4897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4898 eval "ac_cv_lib_
$ac_lib_var=yes"
4900 echo "configure
: failed program was
:" >&5
4901 cat conftest.$ac_ext >&5
4903 eval "ac_cv_lib_
$ac_lib_var=no
"
4906 LIBS="$ac_save_LIBS"
4909 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4910 echo "$ac_t""yes" 1>&6
4913 echo "$ac_t""no
" 1>&6
4916 ac_save_LIBS="$LIBS"
4917 LIBS="$LIBS $libiconv"
4919 for ac_func in iconv_open iconv_close iconv nl_langinfo
4921 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4922 echo "configure
:4923: checking
for $ac_func" >&5
4923 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4924 echo $ac_n "(cached
) $ac_c" 1>&6
4926 cat > conftest.$ac_ext <<EOF
4927 #line 4928 "configure
"
4928 #include "confdefs.h
"
4929 /* System header to define __stub macros and hopefully few prototypes,
4930 which can conflict with char $ac_func(); below. */
4932 /* Override any gcc2 internal prototype to avoid an error. */
4933 /* We use char because int might match the return type of a gcc2
4934 builtin and then its argument prototype would still apply. */
4939 /* The GNU C library defines this for functions which it implements
4940 to always fail with ENOSYS. Some functions are actually named
4941 something starting with __ and the normal name is an alias. */
4942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4950 if { (eval echo configure:4951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4952 eval "ac_cv_func_
$ac_func=yes"
4954 echo "configure
: failed program was
:" >&5
4955 cat conftest.$ac_ext >&5
4957 eval "ac_cv_func_
$ac_func=no
"
4962 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4963 echo "$ac_t""yes" 1>&6
4964 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4965 cat >> confdefs.h <<EOF
4966 #define $ac_tr_func 1
4971 echo "$ac_t""no
" 1>&6
4977 LIBS="$ac_save_LIBS"
4979 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
4980 echo "configure
:4981: checking
for XPG2 wchar_t support
" >&5
4981 if test x"$ac_has_iconv_h" = xyes &&
4982 test x"$ac_has_langinfo_h" = xyes &&
4983 test x"$ac_XPG2funcs" = xyes; then
4988 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
4990 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
4991 echo "configure
:4992: checking
for enabled wchar_t specializations
" >&5
4992 if test x"$ac_isoC99_wchar_t" = xyes &&
4993 test x"$ac_XPG2_wchar_t" = xyes; then
4994 cat >> confdefs.h <<\EOF
4995 #define _GLIBCPP_USE_WCHAR_T 1
4998 echo "$ac_t"""yes"" 1>&6
5000 echo "$ac_t"""no"" 1>&6
5003 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
5006 os_include_dir="config
/os
/gnu-linux
"
5007 cat >> confdefs.h <<\EOF
5008 #define HAVE_COPYSIGN 1
5011 cat >> confdefs.h <<\EOF
5012 #define HAVE_COPYSIGNF 1
5015 cat >> confdefs.h <<\EOF
5016 #define HAVE_FINITEF 1
5019 cat >> confdefs.h <<\EOF
5020 #define HAVE_FREXPF 1
5023 cat >> confdefs.h <<\EOF
5024 #define HAVE_HYPOTF 1
5027 cat >> confdefs.h <<\EOF
5028 #define HAVE_SINCOS 1
5031 cat >> confdefs.h <<\EOF
5032 #define HAVE_SINCOSF 1
5035 if test x"long_double_math_on_this_cpu
" = x"yes"; then
5036 cat >> confdefs.h <<\EOF
5037 #define HAVE_HYPOTL 1
5043 # Check for available headers.
5044 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5045 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5046 fp.h locale.h float.h inttypes.h
5048 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5049 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5050 echo "configure
:5051: checking
for $ac_hdr" >&5
5051 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5052 echo $ac_n "(cached
) $ac_c" 1>&6
5054 cat > conftest.$ac_ext <<EOF
5055 #line 5056 "configure
"
5056 #include "confdefs.h
"
5059 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5060 { (eval echo configure:5061: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5061 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5062 if test -z "$ac_err"; then
5064 eval "ac_cv_header_
$ac_safe=yes"
5067 echo "configure
: failed program was
:" >&5
5068 cat conftest.$ac_ext >&5
5070 eval "ac_cv_header_
$ac_safe=no
"
5074 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5075 echo "$ac_t""yes" 1>&6
5076 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5077 cat >> confdefs.h <<EOF
5078 #define $ac_tr_hdr 1
5082 echo "$ac_t""no
" 1>&6
5086 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5089 # If we're not using GNU ld, then there's no point in even trying these
5090 # tests. Check for that first. We should have already tested for gld
5091 # by now (in libtool), but require it now just to be safe...
5092 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5093 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5096 # The name set by libtool depends on the version of libtool. Shame on us
5097 # for depending on an impl detail, but c'est la vie. Older versions used
5098 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
5099 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
5100 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
5101 # set (hence we're using an older libtool), then set it.
5102 if test x${with_gnu_ld+set} != xset; then
5103 if test x${ac_cv_prog_gnu_ld+set} != xset; then
5104 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
5107 with_gnu_ld=$ac_cv_prog_gnu_ld
5111 # Start by getting the version number. I think the libtool test already
5112 # does some of this, but throws away the result.
5114 ldver=`$LD --version 2>/dev/null | head -1 | \
5115 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
5117 glibcpp_gnu_ld_version=`echo $ldver | \
5118 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
5120 # Set --gc-sections.
5121 if test "$with_gnu_ld" = "notbroken
"; then
5122 # GNU ld it is! Joy and bunny rabbits!
5124 # All these tests are for C++; save the language and the compiler flags.
5125 # Need to do this so that g++ won't try to link in libstdc++
5126 ac_test_CFLAGS="${CFLAGS+set}"
5127 ac_save_CFLAGS="$CFLAGS"
5128 CFLAGS='-x c++ -Wl,--gc-sections'
5130 # Check for -Wl,--gc-sections
5131 # XXX This test is broken at the moment, as symbols required for
5132 # linking are now in libsupc++ (not built yet.....). In addition,
5133 # this test has cored on solaris in the past. In addition,
5134 # --gc-sections doesn't really work at the moment (keeps on discarding
5135 # used sections, first .eh_frame and now some of the glibc sections for
5136 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5137 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
5138 echo "configure
:5139: checking
for ld that supports
-Wl,--gc-sections" >&5
5139 if test "$cross_compiling" = yes; then
5140 ac_sectionLDflags=yes
5142 cat > conftest.$ac_ext <<EOF
5143 #line 5144 "configure
"
5144 #include "confdefs.h
"
5154 if { (eval echo configure:5155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5156 ac_sectionLDflags=yes
5158 echo "configure
: failed program was
:" >&5
5159 cat conftest.$ac_ext >&5
5161 ac_sectionLDflags=no
5166 if test "$ac_test_CFLAGS" = set; then
5167 CFLAGS="$ac_save_CFLAGS"
5169 # this is the suspicious part
5172 if test "$ac_sectionLDflags" = "yes"; then
5173 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5175 echo "$ac_t""$ac_sectionLDflags" 1>&6
5178 # Set linker optimization flags.
5179 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no
"; then
5180 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5187 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
5188 echo "configure
:5189: checking
for main
in -lm" >&5
5189 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5190 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5191 echo $ac_n "(cached
) $ac_c" 1>&6
5193 ac_save_LIBS="$LIBS"
5195 cat > conftest.$ac_ext <<EOF
5196 #line 5197 "configure
"
5197 #include "confdefs.h
"
5203 if { (eval echo configure:5204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5205 eval "ac_cv_lib_
$ac_lib_var=yes"
5207 echo "configure
: failed program was
:" >&5
5208 cat conftest.$ac_ext >&5
5210 eval "ac_cv_lib_
$ac_lib_var=no
"
5213 LIBS="$ac_save_LIBS"
5216 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5217 echo "$ac_t""yes" 1>&6
5218 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5219 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5220 cat >> confdefs.h <<EOF
5221 #define $ac_tr_lib 1
5227 echo "$ac_t""no
" 1>&6
5230 for ac_func in nan copysignf
5232 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5233 echo "configure
:5234: checking
for $ac_func" >&5
5234 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5235 echo $ac_n "(cached
) $ac_c" 1>&6
5237 cat > conftest.$ac_ext <<EOF
5238 #line 5239 "configure
"
5239 #include "confdefs.h
"
5240 /* System header to define __stub macros and hopefully few prototypes,
5241 which can conflict with char $ac_func(); below. */
5243 /* Override any gcc2 internal prototype to avoid an error. */
5244 /* We use char because int might match the return type of a gcc2
5245 builtin and then its argument prototype would still apply. */
5250 /* The GNU C library defines this for functions which it implements
5251 to always fail with ENOSYS. Some functions are actually named
5252 something starting with __ and the normal name is an alias. */
5253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5261 if { (eval echo configure:5262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5263 eval "ac_cv_func_
$ac_func=yes"
5265 echo "configure
: failed program was
:" >&5
5266 cat conftest.$ac_ext >&5
5268 eval "ac_cv_func_
$ac_func=no
"
5273 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5274 echo "$ac_t""yes" 1>&6
5275 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5276 cat >> confdefs.h <<EOF
5277 #define $ac_tr_func 1
5281 echo "$ac_t""no
" 1>&6
5282 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
5287 for ac_func in __signbit
5289 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5290 echo "configure
:5291: checking
for $ac_func" >&5
5291 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5292 echo $ac_n "(cached
) $ac_c" 1>&6
5294 cat > conftest.$ac_ext <<EOF
5295 #line 5296 "configure
"
5296 #include "confdefs.h
"
5297 /* System header to define __stub macros and hopefully few prototypes,
5298 which can conflict with char $ac_func(); below. */
5300 /* Override any gcc2 internal prototype to avoid an error. */
5301 /* We use char because int might match the return type of a gcc2
5302 builtin and then its argument prototype would still apply. */
5307 /* The GNU C library defines this for functions which it implements
5308 to always fail with ENOSYS. Some functions are actually named
5309 something starting with __ and the normal name is an alias. */
5310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5318 if { (eval echo configure:5319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5320 eval "ac_cv_func_
$ac_func=yes"
5322 echo "configure
: failed program was
:" >&5
5323 cat conftest.$ac_ext >&5
5325 eval "ac_cv_func_
$ac_func=no
"
5330 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5331 echo "$ac_t""yes" 1>&6
5332 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5333 cat >> confdefs.h <<EOF
5334 #define $ac_tr_func 1
5338 echo "$ac_t""no
" 1>&6
5339 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
5343 for ac_func in __signbitf
5345 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5346 echo "configure
:5347: checking
for $ac_func" >&5
5347 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5348 echo $ac_n "(cached
) $ac_c" 1>&6
5350 cat > conftest.$ac_ext <<EOF
5351 #line 5352 "configure
"
5352 #include "confdefs.h
"
5353 /* System header to define __stub macros and hopefully few prototypes,
5354 which can conflict with char $ac_func(); below. */
5356 /* Override any gcc2 internal prototype to avoid an error. */
5357 /* We use char because int might match the return type of a gcc2
5358 builtin and then its argument prototype would still apply. */
5363 /* The GNU C library defines this for functions which it implements
5364 to always fail with ENOSYS. Some functions are actually named
5365 something starting with __ and the normal name is an alias. */
5366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5374 if { (eval echo configure:5375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5376 eval "ac_cv_func_
$ac_func=yes"
5378 echo "configure
: failed program was
:" >&5
5379 cat conftest.$ac_ext >&5
5381 eval "ac_cv_func_
$ac_func=no
"
5386 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5387 echo "$ac_t""yes" 1>&6
5388 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5389 cat >> confdefs.h <<EOF
5390 #define $ac_tr_func 1
5394 echo "$ac_t""no
" 1>&6
5395 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
5400 if test x$ac_cv_func_copysignl = x"yes"; then
5401 for ac_func in __signbitl
5403 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5404 echo "configure
:5405: checking
for $ac_func" >&5
5405 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5406 echo $ac_n "(cached
) $ac_c" 1>&6
5408 cat > conftest.$ac_ext <<EOF
5409 #line 5410 "configure
"
5410 #include "confdefs.h
"
5411 /* System header to define __stub macros and hopefully few prototypes,
5412 which can conflict with char $ac_func(); below. */
5414 /* Override any gcc2 internal prototype to avoid an error. */
5415 /* We use char because int might match the return type of a gcc2
5416 builtin and then its argument prototype would still apply. */
5421 /* The GNU C library defines this for functions which it implements
5422 to always fail with ENOSYS. Some functions are actually named
5423 something starting with __ and the normal name is an alias. */
5424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5432 if { (eval echo configure:5433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5434 eval "ac_cv_func_
$ac_func=yes"
5436 echo "configure
: failed program was
:" >&5
5437 cat conftest.$ac_ext >&5
5439 eval "ac_cv_func_
$ac_func=no
"
5444 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5445 echo "$ac_t""yes" 1>&6
5446 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5447 cat >> confdefs.h <<EOF
5448 #define $ac_tr_func 1
5452 echo "$ac_t""no
" 1>&6
5453 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
5463 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
5464 echo "configure
:5465: checking
for mbstate_t
" >&5
5465 cat > conftest.$ac_ext <<EOF
5466 #line 5467 "configure
"
5467 #include "confdefs.h
"
5470 mbstate_t teststate;
5473 if { (eval echo configure:5474: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5477 echo "configure
: failed program was
:" >&5
5478 cat conftest.$ac_ext >&5
5483 echo "$ac_t""$have_mbstate_t" 1>&6
5484 if test x"$have_mbstate_t" = xyes; then
5485 cat >> confdefs.h <<\EOF
5486 #define HAVE_MBSTATE_T 1
5491 for ac_hdr in wchar.h
5493 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5494 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5495 echo "configure
:5496: checking
for $ac_hdr" >&5
5496 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5497 echo $ac_n "(cached
) $ac_c" 1>&6
5499 cat > conftest.$ac_ext <<EOF
5500 #line 5501 "configure
"
5501 #include "confdefs.h
"
5504 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5505 { (eval echo configure:5506: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5506 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5507 if test -z "$ac_err"; then
5509 eval "ac_cv_header_
$ac_safe=yes"
5512 echo "configure
: failed program was
:" >&5
5513 cat conftest.$ac_ext >&5
5515 eval "ac_cv_header_
$ac_safe=no
"
5519 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5520 echo "$ac_t""yes" 1>&6
5521 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5522 cat >> confdefs.h <<EOF
5523 #define $ac_tr_hdr 1
5527 echo "$ac_t""no
" 1>&6
5532 for ac_hdr in wctype.h
5534 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5535 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5536 echo "configure
:5537: checking
for $ac_hdr" >&5
5537 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5538 echo $ac_n "(cached
) $ac_c" 1>&6
5540 cat > conftest.$ac_ext <<EOF
5541 #line 5542 "configure
"
5542 #include "confdefs.h
"
5545 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5546 { (eval echo configure:5547: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5547 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5548 if test -z "$ac_err"; then
5550 eval "ac_cv_header_
$ac_safe=yes"
5553 echo "configure
: failed program was
:" >&5
5554 cat conftest.$ac_ext >&5
5556 eval "ac_cv_header_
$ac_safe=no
"
5560 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5561 echo "$ac_t""yes" 1>&6
5562 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5563 cat >> confdefs.h <<EOF
5564 #define $ac_tr_hdr 1
5568 echo "$ac_t""no
" 1>&6
5574 if test x"$ac_has_wchar_h" = xyes &&
5575 test x"$ac_has_wctype_h" = xyes &&
5576 test x"$enable_c_mbchar" != xno; then
5578 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
5579 echo "configure
:5580: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
5580 cat > conftest.$ac_ext <<EOF
5581 #line 5582 "configure
"
5582 #include "confdefs.h
"
5585 int i = WCHAR_MIN; int j = WCHAR_MAX;
5588 if { (eval echo configure:5589: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5590 has_wchar_minmax=yes
5592 echo "configure
: failed program was
:" >&5
5593 cat conftest.$ac_ext >&5
5598 echo "$ac_t""$has_wchar_minmax" 1>&6
5600 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
5601 echo "configure
:5602: checking
for WEOF
" >&5
5602 cat > conftest.$ac_ext <<EOF
5603 #line 5604 "configure
"
5604 #include "confdefs.h
"
5612 if { (eval echo configure:5613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5616 echo "configure
: failed program was
:" >&5
5617 cat conftest.$ac_ext >&5
5622 echo "$ac_t""$has_weof" 1>&6
5625 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5627 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5628 echo "configure
:5629: checking
for $ac_func" >&5
5629 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5630 echo $ac_n "(cached
) $ac_c" 1>&6
5632 cat > conftest.$ac_ext <<EOF
5633 #line 5634 "configure
"
5634 #include "confdefs.h
"
5635 /* System header to define __stub macros and hopefully few prototypes,
5636 which can conflict with char $ac_func(); below. */
5638 /* Override any gcc2 internal prototype to avoid an error. */
5639 /* We use char because int might match the return type of a gcc2
5640 builtin and then its argument prototype would still apply. */
5645 /* The GNU C library defines this for functions which it implements
5646 to always fail with ENOSYS. Some functions are actually named
5647 something starting with __ and the normal name is an alias. */
5648 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5656 if { (eval echo configure:5657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5658 eval "ac_cv_func_
$ac_func=yes"
5660 echo "configure
: failed program was
:" >&5
5661 cat conftest.$ac_ext >&5
5663 eval "ac_cv_func_
$ac_func=no
"
5668 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5669 echo "$ac_t""yes" 1>&6
5670 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5671 cat >> confdefs.h <<EOF
5672 #define $ac_tr_func 1
5676 echo "$ac_t""no
" 1>&6
5683 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
5684 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5685 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5686 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5687 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5688 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5690 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5691 echo "configure
:5692: checking
for $ac_func" >&5
5692 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5693 echo $ac_n "(cached
) $ac_c" 1>&6
5695 cat > conftest.$ac_ext <<EOF
5696 #line 5697 "configure
"
5697 #include "confdefs.h
"
5698 /* System header to define __stub macros and hopefully few prototypes,
5699 which can conflict with char $ac_func(); below. */
5701 /* Override any gcc2 internal prototype to avoid an error. */
5702 /* We use char because int might match the return type of a gcc2
5703 builtin and then its argument prototype would still apply. */
5708 /* The GNU C library defines this for functions which it implements
5709 to always fail with ENOSYS. Some functions are actually named
5710 something starting with __ and the normal name is an alias. */
5711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5719 if { (eval echo configure:5720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5721 eval "ac_cv_func_
$ac_func=yes"
5723 echo "configure
: failed program was
:" >&5
5724 cat conftest.$ac_ext >&5
5726 eval "ac_cv_func_
$ac_func=no
"
5731 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5732 echo "$ac_t""yes" 1>&6
5733 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5734 cat >> confdefs.h <<EOF
5735 #define $ac_tr_func 1
5739 echo "$ac_t""no
" 1>&6
5746 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
5747 echo "configure
:5748: checking
for ISO C99 wchar_t support
" >&5
5748 if test x"$has_weof" = xyes &&
5749 test x"$has_wchar_minmax" = xyes &&
5750 test x"$ac_wfuncs" = xyes; then
5751 ac_isoC99_wchar_t=yes
5753 ac_isoC99_wchar_t=no
5755 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
5757 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
5758 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
5759 echo "configure
:5760: checking
for iconv.h
" >&5
5760 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5761 echo $ac_n "(cached
) $ac_c" 1>&6
5763 cat > conftest.$ac_ext <<EOF
5764 #line 5765 "configure
"
5765 #include "confdefs.h
"
5768 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5769 { (eval echo configure:5770: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5770 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5771 if test -z "$ac_err"; then
5773 eval "ac_cv_header_
$ac_safe=yes"
5776 echo "configure
: failed program was
:" >&5
5777 cat conftest.$ac_ext >&5
5779 eval "ac_cv_header_
$ac_safe=no
"
5783 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5784 echo "$ac_t""yes" 1>&6
5787 echo "$ac_t""no
" 1>&6
5791 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
5792 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
5793 echo "configure
:5794: checking
for langinfo.h
" >&5
5794 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5795 echo $ac_n "(cached
) $ac_c" 1>&6
5797 cat > conftest.$ac_ext <<EOF
5798 #line 5799 "configure
"
5799 #include "confdefs.h
"
5800 #include <langinfo.h>
5802 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5803 { (eval echo configure:5804: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5804 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5805 if test -z "$ac_err"; then
5807 eval "ac_cv_header_
$ac_safe=yes"
5810 echo "configure
: failed program was
:" >&5
5811 cat conftest.$ac_ext >&5
5813 eval "ac_cv_header_
$ac_safe=no
"
5817 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5818 echo "$ac_t""yes" 1>&6
5819 ac_has_langinfo_h=yes
5821 echo "$ac_t""no
" 1>&6
5822 ac_has_langinfo_h=no
5826 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
5827 echo "configure
:5828: checking
for iconv in -liconv" >&5
5828 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5829 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5830 echo $ac_n "(cached
) $ac_c" 1>&6
5832 ac_save_LIBS="$LIBS"
5833 LIBS="-liconv $LIBS"
5834 cat > conftest.$ac_ext <<EOF
5835 #line 5836 "configure
"
5836 #include "confdefs.h
"
5837 /* Override any gcc2 internal prototype to avoid an error. */
5838 /* We use char because int might match the return type of a gcc2
5839 builtin and then its argument prototype would still apply. */
5846 if { (eval echo configure:5847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5848 eval "ac_cv_lib_
$ac_lib_var=yes"
5850 echo "configure
: failed program was
:" >&5
5851 cat conftest.$ac_ext >&5
5853 eval "ac_cv_lib_
$ac_lib_var=no
"
5856 LIBS="$ac_save_LIBS"
5859 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5860 echo "$ac_t""yes" 1>&6
5863 echo "$ac_t""no
" 1>&6
5866 ac_save_LIBS="$LIBS"
5867 LIBS="$LIBS $libiconv"
5869 for ac_func in iconv_open iconv_close iconv nl_langinfo
5871 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5872 echo "configure
:5873: checking
for $ac_func" >&5
5873 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5874 echo $ac_n "(cached
) $ac_c" 1>&6
5876 cat > conftest.$ac_ext <<EOF
5877 #line 5878 "configure
"
5878 #include "confdefs.h
"
5879 /* System header to define __stub macros and hopefully few prototypes,
5880 which can conflict with char $ac_func(); below. */
5882 /* Override any gcc2 internal prototype to avoid an error. */
5883 /* We use char because int might match the return type of a gcc2
5884 builtin and then its argument prototype would still apply. */
5889 /* The GNU C library defines this for functions which it implements
5890 to always fail with ENOSYS. Some functions are actually named
5891 something starting with __ and the normal name is an alias. */
5892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5900 if { (eval echo configure:5901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5902 eval "ac_cv_func_
$ac_func=yes"
5904 echo "configure
: failed program was
:" >&5
5905 cat conftest.$ac_ext >&5
5907 eval "ac_cv_func_
$ac_func=no
"
5912 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5913 echo "$ac_t""yes" 1>&6
5914 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5915 cat >> confdefs.h <<EOF
5916 #define $ac_tr_func 1
5921 echo "$ac_t""no
" 1>&6
5927 LIBS="$ac_save_LIBS"
5929 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
5930 echo "configure
:5931: checking
for XPG2 wchar_t support
" >&5
5931 if test x"$ac_has_iconv_h" = xyes &&
5932 test x"$ac_has_langinfo_h" = xyes &&
5933 test x"$ac_XPG2funcs" = xyes; then
5938 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5940 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
5941 echo "configure
:5942: checking
for enabled wchar_t specializations
" >&5
5942 if test x"$ac_isoC99_wchar_t" = xyes &&
5943 test x"$ac_XPG2_wchar_t" = xyes; then
5944 cat >> confdefs.h <<\EOF
5945 #define _GLIBCPP_USE_WCHAR_T 1
5948 echo "$ac_t"""yes"" 1>&6
5950 echo "$ac_t"""no"" 1>&6
5953 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
5956 os_include_dir="config
/os
/hpux
"
5957 cat >> confdefs.h <<\EOF
5958 #define HAVE_COPYSIGN 1
5961 cat >> confdefs.h <<\EOF
5962 #define HAVE_COPYSIGNF 1
5965 cat >> confdefs.h <<\EOF
5966 #define HAVE_FINITEF 1
5969 cat >> confdefs.h <<\EOF
5970 #define HAVE_FREXPF 1
5973 cat >> confdefs.h <<\EOF
5974 #define HAVE_HYPOT 1
5977 cat >> confdefs.h <<\EOF
5978 #define HAVE_SINCOS 1
5981 cat >> confdefs.h <<\EOF
5982 #define HAVE_SINCOSF 1
5987 # Check for available headers.
5988 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5989 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5990 fp.h locale.h float.h inttypes.h
5992 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5993 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5994 echo "configure
:5995: checking
for $ac_hdr" >&5
5995 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5996 echo $ac_n "(cached
) $ac_c" 1>&6
5998 cat > conftest.$ac_ext <<EOF
5999 #line 6000 "configure
"
6000 #include "confdefs.h
"
6003 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6004 { (eval echo configure:6005: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6005 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6006 if test -z "$ac_err"; then
6008 eval "ac_cv_header_
$ac_safe=yes"
6011 echo "configure
: failed program was
:" >&5
6012 cat conftest.$ac_ext >&5
6014 eval "ac_cv_header_
$ac_safe=no
"
6018 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6019 echo "$ac_t""yes" 1>&6
6020 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6021 cat >> confdefs.h <<EOF
6022 #define $ac_tr_hdr 1
6026 echo "$ac_t""no
" 1>&6
6030 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6033 # If we're not using GNU ld, then there's no point in even trying these
6034 # tests. Check for that first. We should have already tested for gld
6035 # by now (in libtool), but require it now just to be safe...
6036 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6037 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6040 # The name set by libtool depends on the version of libtool. Shame on us
6041 # for depending on an impl detail, but c'est la vie. Older versions used
6042 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6043 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6044 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6045 # set (hence we're using an older libtool), then set it.
6046 if test x${with_gnu_ld+set} != xset; then
6047 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6048 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
6051 with_gnu_ld=$ac_cv_prog_gnu_ld
6055 # Start by getting the version number. I think the libtool test already
6056 # does some of this, but throws away the result.
6058 ldver=`$LD --version 2>/dev/null | head -1 | \
6059 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6061 glibcpp_gnu_ld_version=`echo $ldver | \
6062 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6064 # Set --gc-sections.
6065 if test "$with_gnu_ld" = "notbroken
"; then
6066 # GNU ld it is! Joy and bunny rabbits!
6068 # All these tests are for C++; save the language and the compiler flags.
6069 # Need to do this so that g++ won't try to link in libstdc++
6070 ac_test_CFLAGS="${CFLAGS+set}"
6071 ac_save_CFLAGS="$CFLAGS"
6072 CFLAGS='-x c++ -Wl,--gc-sections'
6074 # Check for -Wl,--gc-sections
6075 # XXX This test is broken at the moment, as symbols required for
6076 # linking are now in libsupc++ (not built yet.....). In addition,
6077 # this test has cored on solaris in the past. In addition,
6078 # --gc-sections doesn't really work at the moment (keeps on discarding
6079 # used sections, first .eh_frame and now some of the glibc sections for
6080 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6081 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
6082 echo "configure
:6083: checking
for ld that supports
-Wl,--gc-sections" >&5
6083 if test "$cross_compiling" = yes; then
6084 ac_sectionLDflags=yes
6086 cat > conftest.$ac_ext <<EOF
6087 #line 6088 "configure
"
6088 #include "confdefs.h
"
6098 if { (eval echo configure:6099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6100 ac_sectionLDflags=yes
6102 echo "configure
: failed program was
:" >&5
6103 cat conftest.$ac_ext >&5
6105 ac_sectionLDflags=no
6110 if test "$ac_test_CFLAGS" = set; then
6111 CFLAGS="$ac_save_CFLAGS"
6113 # this is the suspicious part
6116 if test "$ac_sectionLDflags" = "yes"; then
6117 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6119 echo "$ac_t""$ac_sectionLDflags" 1>&6
6122 # Set linker optimization flags.
6123 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no
"; then
6124 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6131 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
6132 echo "configure
:6133: checking
for main
in -lm" >&5
6133 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
6134 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6135 echo $ac_n "(cached
) $ac_c" 1>&6
6137 ac_save_LIBS="$LIBS"
6139 cat > conftest.$ac_ext <<EOF
6140 #line 6141 "configure
"
6141 #include "confdefs.h
"
6147 if { (eval echo configure:6148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6149 eval "ac_cv_lib_
$ac_lib_var=yes"
6151 echo "configure
: failed program was
:" >&5
6152 cat conftest.$ac_ext >&5
6154 eval "ac_cv_lib_
$ac_lib_var=no
"
6157 LIBS="$ac_save_LIBS"
6160 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6161 echo "$ac_t""yes" 1>&6
6162 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6163 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6164 cat >> confdefs.h <<EOF
6165 #define $ac_tr_lib 1
6171 echo "$ac_t""no
" 1>&6
6174 for ac_func in nan copysignf
6176 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6177 echo "configure
:6178: checking
for $ac_func" >&5
6178 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6179 echo $ac_n "(cached
) $ac_c" 1>&6
6181 cat > conftest.$ac_ext <<EOF
6182 #line 6183 "configure
"
6183 #include "confdefs.h
"
6184 /* System header to define __stub macros and hopefully few prototypes,
6185 which can conflict with char $ac_func(); below. */
6187 /* Override any gcc2 internal prototype to avoid an error. */
6188 /* We use char because int might match the return type of a gcc2
6189 builtin and then its argument prototype would still apply. */
6194 /* The GNU C library defines this for functions which it implements
6195 to always fail with ENOSYS. Some functions are actually named
6196 something starting with __ and the normal name is an alias. */
6197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6205 if { (eval echo configure:6206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6207 eval "ac_cv_func_
$ac_func=yes"
6209 echo "configure
: failed program was
:" >&5
6210 cat conftest.$ac_ext >&5
6212 eval "ac_cv_func_
$ac_func=no
"
6217 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6218 echo "$ac_t""yes" 1>&6
6219 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6220 cat >> confdefs.h <<EOF
6221 #define $ac_tr_func 1
6225 echo "$ac_t""no
" 1>&6
6226 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
6231 for ac_func in __signbit
6233 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6234 echo "configure
:6235: checking
for $ac_func" >&5
6235 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6236 echo $ac_n "(cached
) $ac_c" 1>&6
6238 cat > conftest.$ac_ext <<EOF
6239 #line 6240 "configure
"
6240 #include "confdefs.h
"
6241 /* System header to define __stub macros and hopefully few prototypes,
6242 which can conflict with char $ac_func(); below. */
6244 /* Override any gcc2 internal prototype to avoid an error. */
6245 /* We use char because int might match the return type of a gcc2
6246 builtin and then its argument prototype would still apply. */
6251 /* The GNU C library defines this for functions which it implements
6252 to always fail with ENOSYS. Some functions are actually named
6253 something starting with __ and the normal name is an alias. */
6254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6262 if { (eval echo configure:6263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6264 eval "ac_cv_func_
$ac_func=yes"
6266 echo "configure
: failed program was
:" >&5
6267 cat conftest.$ac_ext >&5
6269 eval "ac_cv_func_
$ac_func=no
"
6274 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6275 echo "$ac_t""yes" 1>&6
6276 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6277 cat >> confdefs.h <<EOF
6278 #define $ac_tr_func 1
6282 echo "$ac_t""no
" 1>&6
6283 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
6287 for ac_func in __signbitf
6289 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6290 echo "configure
:6291: checking
for $ac_func" >&5
6291 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6292 echo $ac_n "(cached
) $ac_c" 1>&6
6294 cat > conftest.$ac_ext <<EOF
6295 #line 6296 "configure
"
6296 #include "confdefs.h
"
6297 /* System header to define __stub macros and hopefully few prototypes,
6298 which can conflict with char $ac_func(); below. */
6300 /* Override any gcc2 internal prototype to avoid an error. */
6301 /* We use char because int might match the return type of a gcc2
6302 builtin and then its argument prototype would still apply. */
6307 /* The GNU C library defines this for functions which it implements
6308 to always fail with ENOSYS. Some functions are actually named
6309 something starting with __ and the normal name is an alias. */
6310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6318 if { (eval echo configure:6319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6320 eval "ac_cv_func_
$ac_func=yes"
6322 echo "configure
: failed program was
:" >&5
6323 cat conftest.$ac_ext >&5
6325 eval "ac_cv_func_
$ac_func=no
"
6330 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6331 echo "$ac_t""yes" 1>&6
6332 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6333 cat >> confdefs.h <<EOF
6334 #define $ac_tr_func 1
6338 echo "$ac_t""no
" 1>&6
6339 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
6344 if test x$ac_cv_func_copysignl = x"yes"; then
6345 for ac_func in __signbitl
6347 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6348 echo "configure
:6349: checking
for $ac_func" >&5
6349 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6350 echo $ac_n "(cached
) $ac_c" 1>&6
6352 cat > conftest.$ac_ext <<EOF
6353 #line 6354 "configure
"
6354 #include "confdefs.h
"
6355 /* System header to define __stub macros and hopefully few prototypes,
6356 which can conflict with char $ac_func(); below. */
6358 /* Override any gcc2 internal prototype to avoid an error. */
6359 /* We use char because int might match the return type of a gcc2
6360 builtin and then its argument prototype would still apply. */
6365 /* The GNU C library defines this for functions which it implements
6366 to always fail with ENOSYS. Some functions are actually named
6367 something starting with __ and the normal name is an alias. */
6368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6376 if { (eval echo configure:6377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6378 eval "ac_cv_func_
$ac_func=yes"
6380 echo "configure
: failed program was
:" >&5
6381 cat conftest.$ac_ext >&5
6383 eval "ac_cv_func_
$ac_func=no
"
6388 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6389 echo "$ac_t""yes" 1>&6
6390 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6391 cat >> confdefs.h <<EOF
6392 #define $ac_tr_func 1
6396 echo "$ac_t""no
" 1>&6
6397 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
6407 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
6408 echo "configure
:6409: checking
for mbstate_t
" >&5
6409 cat > conftest.$ac_ext <<EOF
6410 #line 6411 "configure
"
6411 #include "confdefs.h
"
6414 mbstate_t teststate;
6417 if { (eval echo configure:6418: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6421 echo "configure
: failed program was
:" >&5
6422 cat conftest.$ac_ext >&5
6427 echo "$ac_t""$have_mbstate_t" 1>&6
6428 if test x"$have_mbstate_t" = xyes; then
6429 cat >> confdefs.h <<\EOF
6430 #define HAVE_MBSTATE_T 1
6435 for ac_hdr in wchar.h
6437 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6438 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6439 echo "configure
:6440: checking
for $ac_hdr" >&5
6440 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6441 echo $ac_n "(cached
) $ac_c" 1>&6
6443 cat > conftest.$ac_ext <<EOF
6444 #line 6445 "configure
"
6445 #include "confdefs.h
"
6448 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6449 { (eval echo configure:6450: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6450 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6451 if test -z "$ac_err"; then
6453 eval "ac_cv_header_
$ac_safe=yes"
6456 echo "configure
: failed program was
:" >&5
6457 cat conftest.$ac_ext >&5
6459 eval "ac_cv_header_
$ac_safe=no
"
6463 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6464 echo "$ac_t""yes" 1>&6
6465 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6466 cat >> confdefs.h <<EOF
6467 #define $ac_tr_hdr 1
6471 echo "$ac_t""no
" 1>&6
6476 for ac_hdr in wctype.h
6478 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6479 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6480 echo "configure
:6481: checking
for $ac_hdr" >&5
6481 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6482 echo $ac_n "(cached
) $ac_c" 1>&6
6484 cat > conftest.$ac_ext <<EOF
6485 #line 6486 "configure
"
6486 #include "confdefs.h
"
6489 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6490 { (eval echo configure:6491: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6491 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6492 if test -z "$ac_err"; then
6494 eval "ac_cv_header_
$ac_safe=yes"
6497 echo "configure
: failed program was
:" >&5
6498 cat conftest.$ac_ext >&5
6500 eval "ac_cv_header_
$ac_safe=no
"
6504 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6505 echo "$ac_t""yes" 1>&6
6506 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6507 cat >> confdefs.h <<EOF
6508 #define $ac_tr_hdr 1
6512 echo "$ac_t""no
" 1>&6
6518 if test x"$ac_has_wchar_h" = xyes &&
6519 test x"$ac_has_wctype_h" = xyes &&
6520 test x"$enable_c_mbchar" != xno; then
6522 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
6523 echo "configure
:6524: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
6524 cat > conftest.$ac_ext <<EOF
6525 #line 6526 "configure
"
6526 #include "confdefs.h
"
6529 int i = WCHAR_MIN; int j = WCHAR_MAX;
6532 if { (eval echo configure:6533: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6534 has_wchar_minmax=yes
6536 echo "configure
: failed program was
:" >&5
6537 cat conftest.$ac_ext >&5
6542 echo "$ac_t""$has_wchar_minmax" 1>&6
6544 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
6545 echo "configure
:6546: checking
for WEOF
" >&5
6546 cat > conftest.$ac_ext <<EOF
6547 #line 6548 "configure
"
6548 #include "confdefs.h
"
6556 if { (eval echo configure:6557: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6560 echo "configure
: failed program was
:" >&5
6561 cat conftest.$ac_ext >&5
6566 echo "$ac_t""$has_weof" 1>&6
6569 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6571 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6572 echo "configure
:6573: checking
for $ac_func" >&5
6573 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6574 echo $ac_n "(cached
) $ac_c" 1>&6
6576 cat > conftest.$ac_ext <<EOF
6577 #line 6578 "configure
"
6578 #include "confdefs.h
"
6579 /* System header to define __stub macros and hopefully few prototypes,
6580 which can conflict with char $ac_func(); below. */
6582 /* Override any gcc2 internal prototype to avoid an error. */
6583 /* We use char because int might match the return type of a gcc2
6584 builtin and then its argument prototype would still apply. */
6589 /* The GNU C library defines this for functions which it implements
6590 to always fail with ENOSYS. Some functions are actually named
6591 something starting with __ and the normal name is an alias. */
6592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6600 if { (eval echo configure:6601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6602 eval "ac_cv_func_
$ac_func=yes"
6604 echo "configure
: failed program was
:" >&5
6605 cat conftest.$ac_ext >&5
6607 eval "ac_cv_func_
$ac_func=no
"
6612 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6613 echo "$ac_t""yes" 1>&6
6614 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6615 cat >> confdefs.h <<EOF
6616 #define $ac_tr_func 1
6620 echo "$ac_t""no
" 1>&6
6627 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
6628 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6629 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6630 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6631 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6632 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6634 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6635 echo "configure
:6636: checking
for $ac_func" >&5
6636 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6637 echo $ac_n "(cached
) $ac_c" 1>&6
6639 cat > conftest.$ac_ext <<EOF
6640 #line 6641 "configure
"
6641 #include "confdefs.h
"
6642 /* System header to define __stub macros and hopefully few prototypes,
6643 which can conflict with char $ac_func(); below. */
6645 /* Override any gcc2 internal prototype to avoid an error. */
6646 /* We use char because int might match the return type of a gcc2
6647 builtin and then its argument prototype would still apply. */
6652 /* The GNU C library defines this for functions which it implements
6653 to always fail with ENOSYS. Some functions are actually named
6654 something starting with __ and the normal name is an alias. */
6655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6663 if { (eval echo configure:6664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6665 eval "ac_cv_func_
$ac_func=yes"
6667 echo "configure
: failed program was
:" >&5
6668 cat conftest.$ac_ext >&5
6670 eval "ac_cv_func_
$ac_func=no
"
6675 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6676 echo "$ac_t""yes" 1>&6
6677 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6678 cat >> confdefs.h <<EOF
6679 #define $ac_tr_func 1
6683 echo "$ac_t""no
" 1>&6
6690 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
6691 echo "configure
:6692: checking
for ISO C99 wchar_t support
" >&5
6692 if test x"$has_weof" = xyes &&
6693 test x"$has_wchar_minmax" = xyes &&
6694 test x"$ac_wfuncs" = xyes; then
6695 ac_isoC99_wchar_t=yes
6697 ac_isoC99_wchar_t=no
6699 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6701 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
6702 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
6703 echo "configure
:6704: checking
for iconv.h
" >&5
6704 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6705 echo $ac_n "(cached
) $ac_c" 1>&6
6707 cat > conftest.$ac_ext <<EOF
6708 #line 6709 "configure
"
6709 #include "confdefs.h
"
6712 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6713 { (eval echo configure:6714: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6714 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6715 if test -z "$ac_err"; then
6717 eval "ac_cv_header_
$ac_safe=yes"
6720 echo "configure
: failed program was
:" >&5
6721 cat conftest.$ac_ext >&5
6723 eval "ac_cv_header_
$ac_safe=no
"
6727 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6728 echo "$ac_t""yes" 1>&6
6731 echo "$ac_t""no
" 1>&6
6735 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
6736 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
6737 echo "configure
:6738: checking
for langinfo.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
"
6744 #include <langinfo.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
6763 ac_has_langinfo_h=yes
6765 echo "$ac_t""no
" 1>&6
6766 ac_has_langinfo_h=no
6770 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
6771 echo "configure
:6772: checking
for iconv in -liconv" >&5
6772 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6773 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6774 echo $ac_n "(cached
) $ac_c" 1>&6
6776 ac_save_LIBS="$LIBS"
6777 LIBS="-liconv $LIBS"
6778 cat > conftest.$ac_ext <<EOF
6779 #line 6780 "configure
"
6780 #include "confdefs.h
"
6781 /* Override any gcc2 internal prototype to avoid an error. */
6782 /* We use char because int might match the return type of a gcc2
6783 builtin and then its argument prototype would still apply. */
6790 if { (eval echo configure:6791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6792 eval "ac_cv_lib_
$ac_lib_var=yes"
6794 echo "configure
: failed program was
:" >&5
6795 cat conftest.$ac_ext >&5
6797 eval "ac_cv_lib_
$ac_lib_var=no
"
6800 LIBS="$ac_save_LIBS"
6803 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6804 echo "$ac_t""yes" 1>&6
6807 echo "$ac_t""no
" 1>&6
6810 ac_save_LIBS="$LIBS"
6811 LIBS="$LIBS $libiconv"
6813 for ac_func in iconv_open iconv_close iconv nl_langinfo
6815 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6816 echo "configure
:6817: checking
for $ac_func" >&5
6817 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6818 echo $ac_n "(cached
) $ac_c" 1>&6
6820 cat > conftest.$ac_ext <<EOF
6821 #line 6822 "configure
"
6822 #include "confdefs.h
"
6823 /* System header to define __stub macros and hopefully few prototypes,
6824 which can conflict with char $ac_func(); below. */
6826 /* Override any gcc2 internal prototype to avoid an error. */
6827 /* We use char because int might match the return type of a gcc2
6828 builtin and then its argument prototype would still apply. */
6833 /* The GNU C library defines this for functions which it implements
6834 to always fail with ENOSYS. Some functions are actually named
6835 something starting with __ and the normal name is an alias. */
6836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6844 if { (eval echo configure:6845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6846 eval "ac_cv_func_
$ac_func=yes"
6848 echo "configure
: failed program was
:" >&5
6849 cat conftest.$ac_ext >&5
6851 eval "ac_cv_func_
$ac_func=no
"
6856 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6857 echo "$ac_t""yes" 1>&6
6858 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6859 cat >> confdefs.h <<EOF
6860 #define $ac_tr_func 1
6865 echo "$ac_t""no
" 1>&6
6871 LIBS="$ac_save_LIBS"
6873 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
6874 echo "configure
:6875: checking
for XPG2 wchar_t support
" >&5
6875 if test x"$ac_has_iconv_h" = xyes &&
6876 test x"$ac_has_langinfo_h" = xyes &&
6877 test x"$ac_XPG2funcs" = xyes; then
6882 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6884 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
6885 echo "configure
:6886: checking
for enabled wchar_t specializations
" >&5
6886 if test x"$ac_isoC99_wchar_t" = xyes &&
6887 test x"$ac_XPG2_wchar_t" = xyes; then
6888 cat >> confdefs.h <<\EOF
6889 #define _GLIBCPP_USE_WCHAR_T 1
6892 echo "$ac_t"""yes"" 1>&6
6894 echo "$ac_t"""no"" 1>&6
6897 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
6900 os_include_dir="config
/os
/bsd
/netbsd
"
6901 cat >> confdefs.h <<\EOF
6902 #define HAVE_COPYSIGN 1
6905 cat >> confdefs.h <<\EOF
6906 #define HAVE_COPYSIGNF 1
6909 cat >> confdefs.h <<\EOF
6910 #define HAVE_FINITEF 1
6913 cat >> confdefs.h <<\EOF
6914 #define HAVE_FREXPF 1
6917 cat >> confdefs.h <<\EOF
6918 #define HAVE_HYPOTF 1
6923 for ac_hdr in sys/types.h locale.h float.h
6925 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6926 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6927 echo "configure
:6928: checking
for $ac_hdr" >&5
6928 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6929 echo $ac_n "(cached
) $ac_c" 1>&6
6931 cat > conftest.$ac_ext <<EOF
6932 #line 6933 "configure
"
6933 #include "confdefs.h
"
6936 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6937 { (eval echo configure:6938: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6938 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6939 if test -z "$ac_err"; then
6941 eval "ac_cv_header_
$ac_safe=yes"
6944 echo "configure
: failed program was
:" >&5
6945 cat conftest.$ac_ext >&5
6947 eval "ac_cv_header_
$ac_safe=no
"
6951 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6952 echo "$ac_t""yes" 1>&6
6953 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6954 cat >> confdefs.h <<EOF
6955 #define $ac_tr_hdr 1
6959 echo "$ac_t""no
" 1>&6
6964 # If we're not using GNU ld, then there's no point in even trying these
6965 # tests. Check for that first. We should have already tested for gld
6966 # by now (in libtool), but require it now just to be safe...
6967 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6968 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6971 # The name set by libtool depends on the version of libtool. Shame on us
6972 # for depending on an impl detail, but c'est la vie. Older versions used
6973 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6974 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6975 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6976 # set (hence we're using an older libtool), then set it.
6977 if test x${with_gnu_ld+set} != xset; then
6978 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6979 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
6982 with_gnu_ld=$ac_cv_prog_gnu_ld
6986 # Start by getting the version number. I think the libtool test already
6987 # does some of this, but throws away the result.
6989 ldver=`$LD --version 2>/dev/null | head -1 | \
6990 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6992 glibcpp_gnu_ld_version=`echo $ldver | \
6993 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6995 # Set --gc-sections.
6996 if test "$with_gnu_ld" = "notbroken
"; then
6997 # GNU ld it is! Joy and bunny rabbits!
6999 # All these tests are for C++; save the language and the compiler flags.
7000 # Need to do this so that g++ won't try to link in libstdc++
7001 ac_test_CFLAGS="${CFLAGS+set}"
7002 ac_save_CFLAGS="$CFLAGS"
7003 CFLAGS='-x c++ -Wl,--gc-sections'
7005 # Check for -Wl,--gc-sections
7006 # XXX This test is broken at the moment, as symbols required for
7007 # linking are now in libsupc++ (not built yet.....). In addition,
7008 # this test has cored on solaris in the past. In addition,
7009 # --gc-sections doesn't really work at the moment (keeps on discarding
7010 # used sections, first .eh_frame and now some of the glibc sections for
7011 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7012 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
7013 echo "configure
:7014: checking
for ld that supports
-Wl,--gc-sections" >&5
7014 if test "$cross_compiling" = yes; then
7015 ac_sectionLDflags=yes
7017 cat > conftest.$ac_ext <<EOF
7018 #line 7019 "configure
"
7019 #include "confdefs.h
"
7029 if { (eval echo configure:7030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7031 ac_sectionLDflags=yes
7033 echo "configure
: failed program was
:" >&5
7034 cat conftest.$ac_ext >&5
7036 ac_sectionLDflags=no
7041 if test "$ac_test_CFLAGS" = set; then
7042 CFLAGS="$ac_save_CFLAGS"
7044 # this is the suspicious part
7047 if test "$ac_sectionLDflags" = "yes"; then
7048 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7050 echo "$ac_t""$ac_sectionLDflags" 1>&6
7053 # Set linker optimization flags.
7054 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no
"; then
7055 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7062 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
7063 echo "configure
:7064: checking
for main
in -lm" >&5
7064 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
7065 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7066 echo $ac_n "(cached
) $ac_c" 1>&6
7068 ac_save_LIBS="$LIBS"
7070 cat > conftest.$ac_ext <<EOF
7071 #line 7072 "configure
"
7072 #include "confdefs.h
"
7078 if { (eval echo configure:7079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7080 eval "ac_cv_lib_
$ac_lib_var=yes"
7082 echo "configure
: failed program was
:" >&5
7083 cat conftest.$ac_ext >&5
7085 eval "ac_cv_lib_
$ac_lib_var=no
"
7088 LIBS="$ac_save_LIBS"
7091 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7092 echo "$ac_t""yes" 1>&6
7093 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7094 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7095 cat >> confdefs.h <<EOF
7096 #define $ac_tr_lib 1
7102 echo "$ac_t""no
" 1>&6
7105 for ac_func in nan copysignf
7107 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7108 echo "configure
:7109: checking
for $ac_func" >&5
7109 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7110 echo $ac_n "(cached
) $ac_c" 1>&6
7112 cat > conftest.$ac_ext <<EOF
7113 #line 7114 "configure
"
7114 #include "confdefs.h
"
7115 /* System header to define __stub macros and hopefully few prototypes,
7116 which can conflict with char $ac_func(); below. */
7118 /* Override any gcc2 internal prototype to avoid an error. */
7119 /* We use char because int might match the return type of a gcc2
7120 builtin and then its argument prototype would still apply. */
7125 /* The GNU C library defines this for functions which it implements
7126 to always fail with ENOSYS. Some functions are actually named
7127 something starting with __ and the normal name is an alias. */
7128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7136 if { (eval echo configure:7137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7138 eval "ac_cv_func_
$ac_func=yes"
7140 echo "configure
: failed program was
:" >&5
7141 cat conftest.$ac_ext >&5
7143 eval "ac_cv_func_
$ac_func=no
"
7148 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7149 echo "$ac_t""yes" 1>&6
7150 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7151 cat >> confdefs.h <<EOF
7152 #define $ac_tr_func 1
7156 echo "$ac_t""no
" 1>&6
7157 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
7162 for ac_func in __signbit
7164 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7165 echo "configure
:7166: checking
for $ac_func" >&5
7166 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7167 echo $ac_n "(cached
) $ac_c" 1>&6
7169 cat > conftest.$ac_ext <<EOF
7170 #line 7171 "configure
"
7171 #include "confdefs.h
"
7172 /* System header to define __stub macros and hopefully few prototypes,
7173 which can conflict with char $ac_func(); below. */
7175 /* Override any gcc2 internal prototype to avoid an error. */
7176 /* We use char because int might match the return type of a gcc2
7177 builtin and then its argument prototype would still apply. */
7182 /* The GNU C library defines this for functions which it implements
7183 to always fail with ENOSYS. Some functions are actually named
7184 something starting with __ and the normal name is an alias. */
7185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7193 if { (eval echo configure:7194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7195 eval "ac_cv_func_
$ac_func=yes"
7197 echo "configure
: failed program was
:" >&5
7198 cat conftest.$ac_ext >&5
7200 eval "ac_cv_func_
$ac_func=no
"
7205 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7206 echo "$ac_t""yes" 1>&6
7207 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7208 cat >> confdefs.h <<EOF
7209 #define $ac_tr_func 1
7213 echo "$ac_t""no
" 1>&6
7214 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
7218 for ac_func in __signbitf
7220 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7221 echo "configure
:7222: checking
for $ac_func" >&5
7222 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7223 echo $ac_n "(cached
) $ac_c" 1>&6
7225 cat > conftest.$ac_ext <<EOF
7226 #line 7227 "configure
"
7227 #include "confdefs.h
"
7228 /* System header to define __stub macros and hopefully few prototypes,
7229 which can conflict with char $ac_func(); below. */
7231 /* Override any gcc2 internal prototype to avoid an error. */
7232 /* We use char because int might match the return type of a gcc2
7233 builtin and then its argument prototype would still apply. */
7238 /* The GNU C library defines this for functions which it implements
7239 to always fail with ENOSYS. Some functions are actually named
7240 something starting with __ and the normal name is an alias. */
7241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7249 if { (eval echo configure:7250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7251 eval "ac_cv_func_
$ac_func=yes"
7253 echo "configure
: failed program was
:" >&5
7254 cat conftest.$ac_ext >&5
7256 eval "ac_cv_func_
$ac_func=no
"
7261 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7262 echo "$ac_t""yes" 1>&6
7263 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7264 cat >> confdefs.h <<EOF
7265 #define $ac_tr_func 1
7269 echo "$ac_t""no
" 1>&6
7270 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
7275 if test x$ac_cv_func_copysignl = x"yes"; then
7276 for ac_func in __signbitl
7278 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7279 echo "configure
:7280: checking
for $ac_func" >&5
7280 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7281 echo $ac_n "(cached
) $ac_c" 1>&6
7283 cat > conftest.$ac_ext <<EOF
7284 #line 7285 "configure
"
7285 #include "confdefs.h
"
7286 /* System header to define __stub macros and hopefully few prototypes,
7287 which can conflict with char $ac_func(); below. */
7289 /* Override any gcc2 internal prototype to avoid an error. */
7290 /* We use char because int might match the return type of a gcc2
7291 builtin and then its argument prototype would still apply. */
7296 /* The GNU C library defines this for functions which it implements
7297 to always fail with ENOSYS. Some functions are actually named
7298 something starting with __ and the normal name is an alias. */
7299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7307 if { (eval echo configure:7308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7309 eval "ac_cv_func_
$ac_func=yes"
7311 echo "configure
: failed program was
:" >&5
7312 cat conftest.$ac_ext >&5
7314 eval "ac_cv_func_
$ac_func=no
"
7319 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7320 echo "$ac_t""yes" 1>&6
7321 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7322 cat >> confdefs.h <<EOF
7323 #define $ac_tr_func 1
7327 echo "$ac_t""no
" 1>&6
7328 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
7338 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
7339 echo "configure
:7340: checking
for mbstate_t
" >&5
7340 cat > conftest.$ac_ext <<EOF
7341 #line 7342 "configure
"
7342 #include "confdefs.h
"
7345 mbstate_t teststate;
7348 if { (eval echo configure:7349: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7352 echo "configure
: failed program was
:" >&5
7353 cat conftest.$ac_ext >&5
7358 echo "$ac_t""$have_mbstate_t" 1>&6
7359 if test x"$have_mbstate_t" = xyes; then
7360 cat >> confdefs.h <<\EOF
7361 #define HAVE_MBSTATE_T 1
7366 for ac_hdr in wchar.h
7368 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7369 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
7370 echo "configure
:7371: checking
for $ac_hdr" >&5
7371 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7372 echo $ac_n "(cached
) $ac_c" 1>&6
7374 cat > conftest.$ac_ext <<EOF
7375 #line 7376 "configure
"
7376 #include "confdefs.h
"
7379 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7380 { (eval echo configure:7381: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7381 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7382 if test -z "$ac_err"; then
7384 eval "ac_cv_header_
$ac_safe=yes"
7387 echo "configure
: failed program was
:" >&5
7388 cat conftest.$ac_ext >&5
7390 eval "ac_cv_header_
$ac_safe=no
"
7394 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7395 echo "$ac_t""yes" 1>&6
7396 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7397 cat >> confdefs.h <<EOF
7398 #define $ac_tr_hdr 1
7402 echo "$ac_t""no
" 1>&6
7407 for ac_hdr in wctype.h
7409 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7410 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
7411 echo "configure
:7412: checking
for $ac_hdr" >&5
7412 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7413 echo $ac_n "(cached
) $ac_c" 1>&6
7415 cat > conftest.$ac_ext <<EOF
7416 #line 7417 "configure
"
7417 #include "confdefs.h
"
7420 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7421 { (eval echo configure:7422: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7422 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7423 if test -z "$ac_err"; then
7425 eval "ac_cv_header_
$ac_safe=yes"
7428 echo "configure
: failed program was
:" >&5
7429 cat conftest.$ac_ext >&5
7431 eval "ac_cv_header_
$ac_safe=no
"
7435 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7436 echo "$ac_t""yes" 1>&6
7437 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7438 cat >> confdefs.h <<EOF
7439 #define $ac_tr_hdr 1
7443 echo "$ac_t""no
" 1>&6
7449 if test x"$ac_has_wchar_h" = xyes &&
7450 test x"$ac_has_wctype_h" = xyes &&
7451 test x"$enable_c_mbchar" != xno; then
7453 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
7454 echo "configure
:7455: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
7455 cat > conftest.$ac_ext <<EOF
7456 #line 7457 "configure
"
7457 #include "confdefs.h
"
7460 int i = WCHAR_MIN; int j = WCHAR_MAX;
7463 if { (eval echo configure:7464: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7465 has_wchar_minmax=yes
7467 echo "configure
: failed program was
:" >&5
7468 cat conftest.$ac_ext >&5
7473 echo "$ac_t""$has_wchar_minmax" 1>&6
7475 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
7476 echo "configure
:7477: checking
for WEOF
" >&5
7477 cat > conftest.$ac_ext <<EOF
7478 #line 7479 "configure
"
7479 #include "confdefs.h
"
7487 if { (eval echo configure:7488: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7491 echo "configure
: failed program was
:" >&5
7492 cat conftest.$ac_ext >&5
7497 echo "$ac_t""$has_weof" 1>&6
7500 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
7502 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7503 echo "configure
:7504: checking
for $ac_func" >&5
7504 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7505 echo $ac_n "(cached
) $ac_c" 1>&6
7507 cat > conftest.$ac_ext <<EOF
7508 #line 7509 "configure
"
7509 #include "confdefs.h
"
7510 /* System header to define __stub macros and hopefully few prototypes,
7511 which can conflict with char $ac_func(); below. */
7513 /* Override any gcc2 internal prototype to avoid an error. */
7514 /* We use char because int might match the return type of a gcc2
7515 builtin and then its argument prototype would still apply. */
7520 /* The GNU C library defines this for functions which it implements
7521 to always fail with ENOSYS. Some functions are actually named
7522 something starting with __ and the normal name is an alias. */
7523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7531 if { (eval echo configure:7532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7533 eval "ac_cv_func_
$ac_func=yes"
7535 echo "configure
: failed program was
:" >&5
7536 cat conftest.$ac_ext >&5
7538 eval "ac_cv_func_
$ac_func=no
"
7543 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7544 echo "$ac_t""yes" 1>&6
7545 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7546 cat >> confdefs.h <<EOF
7547 #define $ac_tr_func 1
7551 echo "$ac_t""no
" 1>&6
7558 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
7559 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
7560 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
7561 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
7562 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
7563 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
7565 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7566 echo "configure
:7567: checking
for $ac_func" >&5
7567 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7568 echo $ac_n "(cached
) $ac_c" 1>&6
7570 cat > conftest.$ac_ext <<EOF
7571 #line 7572 "configure
"
7572 #include "confdefs.h
"
7573 /* System header to define __stub macros and hopefully few prototypes,
7574 which can conflict with char $ac_func(); below. */
7576 /* Override any gcc2 internal prototype to avoid an error. */
7577 /* We use char because int might match the return type of a gcc2
7578 builtin and then its argument prototype would still apply. */
7583 /* The GNU C library defines this for functions which it implements
7584 to always fail with ENOSYS. Some functions are actually named
7585 something starting with __ and the normal name is an alias. */
7586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7594 if { (eval echo configure:7595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7596 eval "ac_cv_func_
$ac_func=yes"
7598 echo "configure
: failed program was
:" >&5
7599 cat conftest.$ac_ext >&5
7601 eval "ac_cv_func_
$ac_func=no
"
7606 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7607 echo "$ac_t""yes" 1>&6
7608 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7609 cat >> confdefs.h <<EOF
7610 #define $ac_tr_func 1
7614 echo "$ac_t""no
" 1>&6
7621 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
7622 echo "configure
:7623: checking
for ISO C99 wchar_t support
" >&5
7623 if test x"$has_weof" = xyes &&
7624 test x"$has_wchar_minmax" = xyes &&
7625 test x"$ac_wfuncs" = xyes; then
7626 ac_isoC99_wchar_t=yes
7628 ac_isoC99_wchar_t=no
7630 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7632 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
7633 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
7634 echo "configure
:7635: checking
for iconv.h
" >&5
7635 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+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
"
7643 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7644 { (eval echo configure:7645: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7645 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7646 if test -z "$ac_err"; then
7648 eval "ac_cv_header_
$ac_safe=yes"
7651 echo "configure
: failed program was
:" >&5
7652 cat conftest.$ac_ext >&5
7654 eval "ac_cv_header_
$ac_safe=no
"
7658 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7659 echo "$ac_t""yes" 1>&6
7662 echo "$ac_t""no
" 1>&6
7666 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
7667 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
7668 echo "configure
:7669: checking
for langinfo.h
" >&5
7669 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7670 echo $ac_n "(cached
) $ac_c" 1>&6
7672 cat > conftest.$ac_ext <<EOF
7673 #line 7674 "configure
"
7674 #include "confdefs.h
"
7675 #include <langinfo.h>
7677 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7678 { (eval echo configure:7679: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7679 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7680 if test -z "$ac_err"; then
7682 eval "ac_cv_header_
$ac_safe=yes"
7685 echo "configure
: failed program was
:" >&5
7686 cat conftest.$ac_ext >&5
7688 eval "ac_cv_header_
$ac_safe=no
"
7692 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7693 echo "$ac_t""yes" 1>&6
7694 ac_has_langinfo_h=yes
7696 echo "$ac_t""no
" 1>&6
7697 ac_has_langinfo_h=no
7701 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
7702 echo "configure
:7703: checking
for iconv in -liconv" >&5
7703 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
7704 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7705 echo $ac_n "(cached
) $ac_c" 1>&6
7707 ac_save_LIBS="$LIBS"
7708 LIBS="-liconv $LIBS"
7709 cat > conftest.$ac_ext <<EOF
7710 #line 7711 "configure
"
7711 #include "confdefs.h
"
7712 /* Override any gcc2 internal prototype to avoid an error. */
7713 /* We use char because int might match the return type of a gcc2
7714 builtin and then its argument prototype would still apply. */
7721 if { (eval echo configure:7722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7723 eval "ac_cv_lib_
$ac_lib_var=yes"
7725 echo "configure
: failed program was
:" >&5
7726 cat conftest.$ac_ext >&5
7728 eval "ac_cv_lib_
$ac_lib_var=no
"
7731 LIBS="$ac_save_LIBS"
7734 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7735 echo "$ac_t""yes" 1>&6
7738 echo "$ac_t""no
" 1>&6
7741 ac_save_LIBS="$LIBS"
7742 LIBS="$LIBS $libiconv"
7744 for ac_func in iconv_open iconv_close iconv nl_langinfo
7746 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7747 echo "configure
:7748: checking
for $ac_func" >&5
7748 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7749 echo $ac_n "(cached
) $ac_c" 1>&6
7751 cat > conftest.$ac_ext <<EOF
7752 #line 7753 "configure
"
7753 #include "confdefs.h
"
7754 /* System header to define __stub macros and hopefully few prototypes,
7755 which can conflict with char $ac_func(); below. */
7757 /* Override any gcc2 internal prototype to avoid an error. */
7758 /* We use char because int might match the return type of a gcc2
7759 builtin and then its argument prototype would still apply. */
7764 /* The GNU C library defines this for functions which it implements
7765 to always fail with ENOSYS. Some functions are actually named
7766 something starting with __ and the normal name is an alias. */
7767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7775 if { (eval echo configure:7776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7777 eval "ac_cv_func_
$ac_func=yes"
7779 echo "configure
: failed program was
:" >&5
7780 cat conftest.$ac_ext >&5
7782 eval "ac_cv_func_
$ac_func=no
"
7787 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7788 echo "$ac_t""yes" 1>&6
7789 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7790 cat >> confdefs.h <<EOF
7791 #define $ac_tr_func 1
7796 echo "$ac_t""no
" 1>&6
7802 LIBS="$ac_save_LIBS"
7804 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
7805 echo "configure
:7806: checking
for XPG2 wchar_t support
" >&5
7806 if test x"$ac_has_iconv_h" = xyes &&
7807 test x"$ac_has_langinfo_h" = xyes &&
7808 test x"$ac_XPG2funcs" = xyes; then
7813 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
7815 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
7816 echo "configure
:7817: checking
for enabled wchar_t specializations
" >&5
7817 if test x"$ac_isoC99_wchar_t" = xyes &&
7818 test x"$ac_XPG2_wchar_t" = xyes; then
7819 cat >> confdefs.h <<\EOF
7820 #define _GLIBCPP_USE_WCHAR_T 1
7823 echo "$ac_t"""yes"" 1>&6
7825 echo "$ac_t"""no"" 1>&6
7828 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
7831 os_include_dir="config
/os
/mingw32
"
7834 os_include_dir="config
/os
/newlib
"
7835 cat >> confdefs.h <<\EOF
7836 #define HAVE_HYPOT 1
7842 case "$target_alias" in
7846 # GLIBCPP_CHECK_STDLIB_SUPPORT
7847 cat >> confdefs.h <<\EOF
7848 #define HAVE_STRTOF 1
7851 cat >> confdefs.h <<\EOF
7852 #define HAVE_STRTOLD 1
7856 cat >> confdefs.h <<\EOF
7861 cat >> confdefs.h <<\EOF
7862 #define HAVE_ACOSF 1
7865 cat >> confdefs.h <<\EOF
7866 #define HAVE_ASINF 1
7869 cat >> confdefs.h <<\EOF
7870 #define HAVE_ATAN2F 1
7873 cat >> confdefs.h <<\EOF
7874 #define HAVE_ATANF 1
7877 cat >> confdefs.h <<\EOF
7878 #define HAVE_CEILF 1
7881 cat >> confdefs.h <<\EOF
7882 #define HAVE_COPYSIGN 1
7885 cat >> confdefs.h <<\EOF
7886 #define HAVE_COPYSIGNF 1
7889 cat >> confdefs.h <<\EOF
7893 cat >> confdefs.h <<\EOF
7894 #define HAVE_COSHF 1
7897 cat >> confdefs.h <<\EOF
7901 cat >> confdefs.h <<\EOF
7902 #define HAVE_FABSF 1
7905 cat >> confdefs.h <<\EOF
7906 #define HAVE_FINITE 1
7909 cat >> confdefs.h <<\EOF
7910 #define HAVE_FINITEF 1
7913 cat >> confdefs.h <<\EOF
7914 #define HAVE_FLOORF 1
7917 cat >> confdefs.h <<\EOF
7918 #define HAVE_FMODF 1
7921 cat >> confdefs.h <<\EOF
7922 #define HAVE_FREXPF 1
7925 cat >> confdefs.h <<\EOF
7926 #define HAVE_ISINF 1
7929 cat >> confdefs.h <<\EOF
7930 #define HAVE_ISINFF 1
7933 cat >> confdefs.h <<\EOF
7934 #define HAVE_ISNAN 1
7937 cat >> confdefs.h <<\EOF
7938 #define HAVE_ISNANF 1
7941 cat >> confdefs.h <<\EOF
7942 #define HAVE_LDEXPF 1
7945 cat >> confdefs.h <<\EOF
7946 #define HAVE_LOG10F 1
7949 cat >> confdefs.h <<\EOF
7953 cat >> confdefs.h <<\EOF
7954 #define HAVE_MODFF 1
7957 cat >> confdefs.h <<\EOF
7961 cat >> confdefs.h <<\EOF
7965 cat >> confdefs.h <<\EOF
7966 #define HAVE_SINHF 1
7969 cat >> confdefs.h <<\EOF
7970 #define HAVE_SQRTF 1
7973 cat >> confdefs.h <<\EOF
7977 cat >> confdefs.h <<\EOF
7978 #define HAVE_TANHF 1
7984 # At some point, we should differentiate between architectures
7985 # like x86, which have long double versions, and alpha/powerpc/etc.,
7986 # which don't. For the time being, punt.
7987 if test x"long_double_math_on_this_cpu
" = x"yes"; then
7988 cat >> confdefs.h <<\EOF
7989 #define HAVE_ACOSL 1
7992 cat >> confdefs.h <<\EOF
7993 #define HAVE_ASINL 1
7996 cat >> confdefs.h <<\EOF
7997 #define HAVE_ATAN2L 1
8000 cat >> confdefs.h <<\EOF
8001 #define HAVE_ATANL 1
8004 cat >> confdefs.h <<\EOF
8005 #define HAVE_CEILL 1
8008 cat >> confdefs.h <<\EOF
8009 #define HAVE_COPYSIGNL 1
8012 cat >> confdefs.h <<\EOF
8016 cat >> confdefs.h <<\EOF
8017 #define HAVE_COSHL 1
8020 cat >> confdefs.h <<\EOF
8024 cat >> confdefs.h <<\EOF
8025 #define HAVE_FABSL 1
8028 cat >> confdefs.h <<\EOF
8029 #define HAVE_FINITEL 1
8032 cat >> confdefs.h <<\EOF
8033 #define HAVE_FLOORL 1
8036 cat >> confdefs.h <<\EOF
8037 #define HAVE_FMODL 1
8040 cat >> confdefs.h <<\EOF
8041 #define HAVE_FREXPL 1
8044 cat >> confdefs.h <<\EOF
8045 #define HAVE_ISINFL 1
8048 cat >> confdefs.h <<\EOF
8049 #define HAVE_ISNANL 1
8052 cat >> confdefs.h <<\EOF
8053 #define HAVE_LDEXPL 1
8056 cat >> confdefs.h <<\EOF
8057 #define HAVE_LOG10L 1
8060 cat >> confdefs.h <<\EOF
8064 cat >> confdefs.h <<\EOF
8065 #define HAVE_MODFL 1
8068 cat >> confdefs.h <<\EOF
8072 cat >> confdefs.h <<\EOF
8073 #define HAVE_SINCOSL 1
8076 cat >> confdefs.h <<\EOF
8080 cat >> confdefs.h <<\EOF
8081 #define HAVE_SINHL 1
8084 cat >> confdefs.h <<\EOF
8085 #define HAVE_SQRTL 1
8088 cat >> confdefs.h <<\EOF
8092 cat >> confdefs.h <<\EOF
8093 #define HAVE_TANHL 1
8099 # We are being configured natively. We can do more elaborate tests
8100 # that include AC_TRY_COMPILE now, as the linker is assumed to be
8102 GLIBCPP_IS_CROSS_COMPILING=0
8105 # Check for available headers.
8106 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
8107 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h
8109 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8110 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
8111 echo "configure
:8112: checking
for $ac_hdr" >&5
8112 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8113 echo $ac_n "(cached
) $ac_c" 1>&6
8115 cat > conftest.$ac_ext <<EOF
8116 #line 8117 "configure
"
8117 #include "confdefs.h
"
8120 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8121 { (eval echo configure:8122: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8122 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8123 if test -z "$ac_err"; then
8125 eval "ac_cv_header_
$ac_safe=yes"
8128 echo "configure
: failed program was
:" >&5
8129 cat conftest.$ac_ext >&5
8131 eval "ac_cv_header_
$ac_safe=no
"
8135 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8136 echo "$ac_t""yes" 1>&6
8137 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8138 cat >> confdefs.h <<EOF
8139 #define $ac_tr_hdr 1
8143 echo "$ac_t""no
" 1>&6
8149 # All these tests are for C++; save the language and the compiler flags.
8150 # The CXXFLAGS thing is suspicious, but based on similar bits previously
8151 # found in GLIBCPP_CONFIGURE.
8154 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8155 ac_cpp='$CXXCPP $CPPFLAGS'
8156 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8157 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8158 cross_compiling=$ac_cv_prog_cxx_cross
8160 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8161 ac_save_CXXFLAGS="$CXXFLAGS"
8163 # Check for maintainer-mode bits.
8164 if test x"$USE_MAINTAINER_MODE" = xno; then
8170 # Check for -ffunction-sections -fdata-sections
8171 echo $ac_n "checking
for g
++ that supports
-ffunction-sections -fdata-sections""...
$ac_c" 1>&6
8172 echo "configure
:8173: checking
for g
++ that supports
-ffunction-sections -fdata-sections" >&5
8173 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
8174 cat > conftest.$ac_ext <<EOF
8175 #line 8176 "configure
"
8176 #include "confdefs.h
"
8183 if { (eval echo configure:8184: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8187 echo "configure
: failed program was
:" >&5
8188 cat conftest.$ac_ext >&5
8193 if test "$ac_test_CXXFLAGS" = set; then
8194 CXXFLAGS="$ac_save_CXXFLAGS"
8196 # this is the suspicious part
8199 if test x"$ac_fdsections" = x"yes" &&
8200 test x"$enable_debug" = x"no
"; then
8201 SECTION_FLAGS='-ffunction-sections -fdata-sections'
8203 echo "$ac_t""$ac_fdsections" 1>&6
8206 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8207 ac_cpp='$CPP $CPPFLAGS'
8208 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8209 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8210 cross_compiling=$ac_cv_prog_cc_cross
8216 # If we're not using GNU ld, then there's no point in even trying these
8217 # tests. Check for that first. We should have already tested for gld
8218 # by now (in libtool), but require it now just to be safe...
8219 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8220 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8223 # The name set by libtool depends on the version of libtool. Shame on us
8224 # for depending on an impl detail, but c'est la vie. Older versions used
8225 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8226 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8227 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8228 # set (hence we're using an older libtool), then set it.
8229 if test x${with_gnu_ld+set} != xset; then
8230 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8231 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
8234 with_gnu_ld=$ac_cv_prog_gnu_ld
8238 # Start by getting the version number. I think the libtool test already
8239 # does some of this, but throws away the result.
8241 ldver=`$LD --version 2>/dev/null | head -1 | \
8242 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8244 glibcpp_gnu_ld_version=`echo $ldver | \
8245 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8247 # Set --gc-sections.
8248 if test "$with_gnu_ld" = "notbroken
"; then
8249 # GNU ld it is! Joy and bunny rabbits!
8251 # All these tests are for C++; save the language and the compiler flags.
8252 # Need to do this so that g++ won't try to link in libstdc++
8253 ac_test_CFLAGS="${CFLAGS+set}"
8254 ac_save_CFLAGS="$CFLAGS"
8255 CFLAGS='-x c++ -Wl,--gc-sections'
8257 # Check for -Wl,--gc-sections
8258 # XXX This test is broken at the moment, as symbols required for
8259 # linking are now in libsupc++ (not built yet.....). In addition,
8260 # this test has cored on solaris in the past. In addition,
8261 # --gc-sections doesn't really work at the moment (keeps on discarding
8262 # used sections, first .eh_frame and now some of the glibc sections for
8263 # iconv). Bzzzzt. Thanks for playing, maybe next time.
8264 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
8265 echo "configure
:8266: checking
for ld that supports
-Wl,--gc-sections" >&5
8266 if test "$cross_compiling" = yes; then
8267 ac_sectionLDflags=yes
8269 cat > conftest.$ac_ext <<EOF
8270 #line 8271 "configure
"
8271 #include "confdefs.h
"
8281 if { (eval echo configure:8282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8283 ac_sectionLDflags=yes
8285 echo "configure
: failed program was
:" >&5
8286 cat conftest.$ac_ext >&5
8288 ac_sectionLDflags=no
8293 if test "$ac_test_CFLAGS" = set; then
8294 CFLAGS="$ac_save_CFLAGS"
8296 # this is the suspicious part
8299 if test "$ac_sectionLDflags" = "yes"; then
8300 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8302 echo "$ac_t""$ac_sectionLDflags" 1>&6
8305 # Set linker optimization flags.
8306 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no
"; then
8307 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8315 echo $ac_n "checking
for __builtin_abs declaration
""...
$ac_c" 1>&6
8316 echo "configure
:8317: checking
for __builtin_abs declaration
" >&5
8317 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
8318 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
8319 echo $ac_n "(cached
) $ac_c" 1>&6
8324 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8325 ac_cpp='$CXXCPP $CPPFLAGS'
8326 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8327 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8328 cross_compiling=$ac_cv_prog_cxx_cross
8330 cat > conftest.$ac_ext <<EOF
8331 #line 8332 "configure
"
8332 #include "confdefs.h
"
8338 if { (eval echo configure:8339: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8340 glibcpp_cv_func___builtin_abs_use=yes
8342 echo "configure
: failed program was
:" >&5
8343 cat conftest.$ac_ext >&5
8345 glibcpp_cv_func___builtin_abs_use=no
8349 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8350 ac_cpp='$CPP $CPPFLAGS'
8351 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8352 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8353 cross_compiling=$ac_cv_prog_cc_cross
8359 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
8360 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
8361 echo $ac_n "checking
for __builtin_abs linkage
""...
$ac_c" 1>&6
8362 echo "configure
:8363: checking
for __builtin_abs linkage
" >&5
8363 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
8364 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
8365 echo $ac_n "(cached
) $ac_c" 1>&6
8368 cat > conftest.$ac_ext <<EOF
8369 #line 8370 "configure
"
8370 #include "confdefs.h
"
8376 if { (eval echo configure:8377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8378 glibcpp_cv_func___builtin_abs_link=yes
8380 echo "configure
: failed program was
:" >&5
8381 cat conftest.$ac_ext >&5
8383 glibcpp_cv_func___builtin_abs_link=no
8390 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
8391 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
8392 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8393 cat >> confdefs.h <<EOF
8394 #define ${ac_tr_func} 1
8401 echo $ac_n "checking
for __builtin_fabsf declaration
""...
$ac_c" 1>&6
8402 echo "configure
:8403: checking
for __builtin_fabsf declaration
" >&5
8403 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
8404 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
8405 echo $ac_n "(cached
) $ac_c" 1>&6
8410 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8411 ac_cpp='$CXXCPP $CPPFLAGS'
8412 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8413 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8414 cross_compiling=$ac_cv_prog_cxx_cross
8416 cat > conftest.$ac_ext <<EOF
8417 #line 8418 "configure
"
8418 #include "confdefs.h
"
8424 if { (eval echo configure:8425: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8426 glibcpp_cv_func___builtin_fabsf_use=yes
8428 echo "configure
: failed program was
:" >&5
8429 cat conftest.$ac_ext >&5
8431 glibcpp_cv_func___builtin_fabsf_use=no
8435 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8436 ac_cpp='$CPP $CPPFLAGS'
8437 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8438 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8439 cross_compiling=$ac_cv_prog_cc_cross
8445 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
8446 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
8447 echo $ac_n "checking
for __builtin_fabsf linkage
""...
$ac_c" 1>&6
8448 echo "configure
:8449: checking
for __builtin_fabsf linkage
" >&5
8449 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
8450 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
8451 echo $ac_n "(cached
) $ac_c" 1>&6
8454 cat > conftest.$ac_ext <<EOF
8455 #line 8456 "configure
"
8456 #include "confdefs.h
"
8462 if { (eval echo configure:8463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8464 glibcpp_cv_func___builtin_fabsf_link=yes
8466 echo "configure
: failed program was
:" >&5
8467 cat conftest.$ac_ext >&5
8469 glibcpp_cv_func___builtin_fabsf_link=no
8476 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
8477 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
8478 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8479 cat >> confdefs.h <<EOF
8480 #define ${ac_tr_func} 1
8487 echo $ac_n "checking
for __builtin_fabs declaration
""...
$ac_c" 1>&6
8488 echo "configure
:8489: checking
for __builtin_fabs declaration
" >&5
8489 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
8490 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
8491 echo $ac_n "(cached
) $ac_c" 1>&6
8496 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8497 ac_cpp='$CXXCPP $CPPFLAGS'
8498 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8499 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8500 cross_compiling=$ac_cv_prog_cxx_cross
8502 cat > conftest.$ac_ext <<EOF
8503 #line 8504 "configure
"
8504 #include "confdefs.h
"
8510 if { (eval echo configure:8511: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8512 glibcpp_cv_func___builtin_fabs_use=yes
8514 echo "configure
: failed program was
:" >&5
8515 cat conftest.$ac_ext >&5
8517 glibcpp_cv_func___builtin_fabs_use=no
8521 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8522 ac_cpp='$CPP $CPPFLAGS'
8523 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8524 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8525 cross_compiling=$ac_cv_prog_cc_cross
8531 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
8532 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
8533 echo $ac_n "checking
for __builtin_fabs linkage
""...
$ac_c" 1>&6
8534 echo "configure
:8535: checking
for __builtin_fabs linkage
" >&5
8535 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
8536 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
8537 echo $ac_n "(cached
) $ac_c" 1>&6
8540 cat > conftest.$ac_ext <<EOF
8541 #line 8542 "configure
"
8542 #include "confdefs.h
"
8548 if { (eval echo configure:8549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8550 glibcpp_cv_func___builtin_fabs_link=yes
8552 echo "configure
: failed program was
:" >&5
8553 cat conftest.$ac_ext >&5
8555 glibcpp_cv_func___builtin_fabs_link=no
8562 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
8563 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
8564 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8565 cat >> confdefs.h <<EOF
8566 #define ${ac_tr_func} 1
8573 echo $ac_n "checking
for __builtin_fabsl declaration
""...
$ac_c" 1>&6
8574 echo "configure
:8575: checking
for __builtin_fabsl declaration
" >&5
8575 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
8576 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
8577 echo $ac_n "(cached
) $ac_c" 1>&6
8582 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8583 ac_cpp='$CXXCPP $CPPFLAGS'
8584 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8585 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8586 cross_compiling=$ac_cv_prog_cxx_cross
8588 cat > conftest.$ac_ext <<EOF
8589 #line 8590 "configure
"
8590 #include "confdefs.h
"
8596 if { (eval echo configure:8597: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8598 glibcpp_cv_func___builtin_fabsl_use=yes
8600 echo "configure
: failed program was
:" >&5
8601 cat conftest.$ac_ext >&5
8603 glibcpp_cv_func___builtin_fabsl_use=no
8607 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8608 ac_cpp='$CPP $CPPFLAGS'
8609 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8610 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8611 cross_compiling=$ac_cv_prog_cc_cross
8617 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
8618 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
8619 echo $ac_n "checking
for __builtin_fabsl linkage
""...
$ac_c" 1>&6
8620 echo "configure
:8621: checking
for __builtin_fabsl linkage
" >&5
8621 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
8622 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
8623 echo $ac_n "(cached
) $ac_c" 1>&6
8626 cat > conftest.$ac_ext <<EOF
8627 #line 8628 "configure
"
8628 #include "confdefs.h
"
8634 if { (eval echo configure:8635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8636 glibcpp_cv_func___builtin_fabsl_link=yes
8638 echo "configure
: failed program was
:" >&5
8639 cat conftest.$ac_ext >&5
8641 glibcpp_cv_func___builtin_fabsl_link=no
8648 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
8649 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
8650 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8651 cat >> confdefs.h <<EOF
8652 #define ${ac_tr_func} 1
8659 echo $ac_n "checking
for __builtin_labs declaration
""...
$ac_c" 1>&6
8660 echo "configure
:8661: checking
for __builtin_labs declaration
" >&5
8661 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
8662 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
8663 echo $ac_n "(cached
) $ac_c" 1>&6
8668 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8669 ac_cpp='$CXXCPP $CPPFLAGS'
8670 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8671 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8672 cross_compiling=$ac_cv_prog_cxx_cross
8674 cat > conftest.$ac_ext <<EOF
8675 #line 8676 "configure
"
8676 #include "confdefs.h
"
8682 if { (eval echo configure:8683: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8684 glibcpp_cv_func___builtin_labs_use=yes
8686 echo "configure
: failed program was
:" >&5
8687 cat conftest.$ac_ext >&5
8689 glibcpp_cv_func___builtin_labs_use=no
8693 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8694 ac_cpp='$CPP $CPPFLAGS'
8695 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8696 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8697 cross_compiling=$ac_cv_prog_cc_cross
8703 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
8704 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
8705 echo $ac_n "checking
for __builtin_labs linkage
""...
$ac_c" 1>&6
8706 echo "configure
:8707: checking
for __builtin_labs linkage
" >&5
8707 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
8708 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
8709 echo $ac_n "(cached
) $ac_c" 1>&6
8712 cat > conftest.$ac_ext <<EOF
8713 #line 8714 "configure
"
8714 #include "confdefs.h
"
8720 if { (eval echo configure:8721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8722 glibcpp_cv_func___builtin_labs_link=yes
8724 echo "configure
: failed program was
:" >&5
8725 cat conftest.$ac_ext >&5
8727 glibcpp_cv_func___builtin_labs_link=no
8734 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
8735 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
8736 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8737 cat >> confdefs.h <<EOF
8738 #define ${ac_tr_func} 1
8746 echo $ac_n "checking
for __builtin_sqrtf declaration
""...
$ac_c" 1>&6
8747 echo "configure
:8748: checking
for __builtin_sqrtf declaration
" >&5
8748 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
8749 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
8750 echo $ac_n "(cached
) $ac_c" 1>&6
8755 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8756 ac_cpp='$CXXCPP $CPPFLAGS'
8757 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8758 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8759 cross_compiling=$ac_cv_prog_cxx_cross
8761 cat > conftest.$ac_ext <<EOF
8762 #line 8763 "configure
"
8763 #include "confdefs.h
"
8769 if { (eval echo configure:8770: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8771 glibcpp_cv_func___builtin_sqrtf_use=yes
8773 echo "configure
: failed program was
:" >&5
8774 cat conftest.$ac_ext >&5
8776 glibcpp_cv_func___builtin_sqrtf_use=no
8780 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8781 ac_cpp='$CPP $CPPFLAGS'
8782 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8783 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8784 cross_compiling=$ac_cv_prog_cc_cross
8790 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
8791 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
8792 echo $ac_n "checking
for __builtin_sqrtf linkage
""...
$ac_c" 1>&6
8793 echo "configure
:8794: checking
for __builtin_sqrtf linkage
" >&5
8794 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
8795 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
8796 echo $ac_n "(cached
) $ac_c" 1>&6
8799 cat > conftest.$ac_ext <<EOF
8800 #line 8801 "configure
"
8801 #include "confdefs.h
"
8807 if { (eval echo configure:8808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8809 glibcpp_cv_func___builtin_sqrtf_link=yes
8811 echo "configure
: failed program was
:" >&5
8812 cat conftest.$ac_ext >&5
8814 glibcpp_cv_func___builtin_sqrtf_link=no
8821 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
8822 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
8823 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8824 cat >> confdefs.h <<EOF
8825 #define ${ac_tr_func} 1
8832 echo $ac_n "checking
for __builtin_sqrt declaration
""...
$ac_c" 1>&6
8833 echo "configure
:8834: checking
for __builtin_sqrt declaration
" >&5
8834 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
8835 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
8836 echo $ac_n "(cached
) $ac_c" 1>&6
8841 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8842 ac_cpp='$CXXCPP $CPPFLAGS'
8843 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8844 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8845 cross_compiling=$ac_cv_prog_cxx_cross
8847 cat > conftest.$ac_ext <<EOF
8848 #line 8849 "configure
"
8849 #include "confdefs.h
"
8855 if { (eval echo configure:8856: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8857 glibcpp_cv_func___builtin_sqrt_use=yes
8859 echo "configure
: failed program was
:" >&5
8860 cat conftest.$ac_ext >&5
8862 glibcpp_cv_func___builtin_sqrt_use=no
8866 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8867 ac_cpp='$CPP $CPPFLAGS'
8868 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8869 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8870 cross_compiling=$ac_cv_prog_cc_cross
8876 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
8877 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
8878 echo $ac_n "checking
for __builtin_sqrt linkage
""...
$ac_c" 1>&6
8879 echo "configure
:8880: checking
for __builtin_sqrt linkage
" >&5
8880 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
8881 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
8882 echo $ac_n "(cached
) $ac_c" 1>&6
8885 cat > conftest.$ac_ext <<EOF
8886 #line 8887 "configure
"
8887 #include "confdefs.h
"
8893 if { (eval echo configure:8894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8895 glibcpp_cv_func___builtin_sqrt_link=yes
8897 echo "configure
: failed program was
:" >&5
8898 cat conftest.$ac_ext >&5
8900 glibcpp_cv_func___builtin_sqrt_link=no
8907 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
8908 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
8909 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8910 cat >> confdefs.h <<EOF
8911 #define ${ac_tr_func} 1
8918 echo $ac_n "checking
for __builtin_sqrtl declaration
""...
$ac_c" 1>&6
8919 echo "configure
:8920: checking
for __builtin_sqrtl declaration
" >&5
8920 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
8921 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
8922 echo $ac_n "(cached
) $ac_c" 1>&6
8927 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8928 ac_cpp='$CXXCPP $CPPFLAGS'
8929 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8930 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8931 cross_compiling=$ac_cv_prog_cxx_cross
8933 cat > conftest.$ac_ext <<EOF
8934 #line 8935 "configure
"
8935 #include "confdefs.h
"
8941 if { (eval echo configure:8942: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8943 glibcpp_cv_func___builtin_sqrtl_use=yes
8945 echo "configure
: failed program was
:" >&5
8946 cat conftest.$ac_ext >&5
8948 glibcpp_cv_func___builtin_sqrtl_use=no
8952 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8953 ac_cpp='$CPP $CPPFLAGS'
8954 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8955 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8956 cross_compiling=$ac_cv_prog_cc_cross
8962 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
8963 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
8964 echo $ac_n "checking
for __builtin_sqrtl linkage
""...
$ac_c" 1>&6
8965 echo "configure
:8966: checking
for __builtin_sqrtl linkage
" >&5
8966 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
8967 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
8968 echo $ac_n "(cached
) $ac_c" 1>&6
8971 cat > conftest.$ac_ext <<EOF
8972 #line 8973 "configure
"
8973 #include "confdefs.h
"
8979 if { (eval echo configure:8980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8981 glibcpp_cv_func___builtin_sqrtl_link=yes
8983 echo "configure
: failed program was
:" >&5
8984 cat conftest.$ac_ext >&5
8986 glibcpp_cv_func___builtin_sqrtl_link=no
8993 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
8994 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
8995 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8996 cat >> confdefs.h <<EOF
8997 #define ${ac_tr_func} 1
9005 echo $ac_n "checking
for __builtin_sinf declaration
""...
$ac_c" 1>&6
9006 echo "configure
:9007: checking
for __builtin_sinf declaration
" >&5
9007 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
9008 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
9009 echo $ac_n "(cached
) $ac_c" 1>&6
9014 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9015 ac_cpp='$CXXCPP $CPPFLAGS'
9016 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9017 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9018 cross_compiling=$ac_cv_prog_cxx_cross
9020 cat > conftest.$ac_ext <<EOF
9021 #line 9022 "configure
"
9022 #include "confdefs.h
"
9028 if { (eval echo configure:9029: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9030 glibcpp_cv_func___builtin_sinf_use=yes
9032 echo "configure
: failed program was
:" >&5
9033 cat conftest.$ac_ext >&5
9035 glibcpp_cv_func___builtin_sinf_use=no
9039 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9040 ac_cpp='$CPP $CPPFLAGS'
9041 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9042 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9043 cross_compiling=$ac_cv_prog_cc_cross
9049 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
9050 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
9051 echo $ac_n "checking
for __builtin_sinf linkage
""...
$ac_c" 1>&6
9052 echo "configure
:9053: checking
for __builtin_sinf linkage
" >&5
9053 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
9054 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
9055 echo $ac_n "(cached
) $ac_c" 1>&6
9058 cat > conftest.$ac_ext <<EOF
9059 #line 9060 "configure
"
9060 #include "confdefs.h
"
9066 if { (eval echo configure:9067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9068 glibcpp_cv_func___builtin_sinf_link=yes
9070 echo "configure
: failed program was
:" >&5
9071 cat conftest.$ac_ext >&5
9073 glibcpp_cv_func___builtin_sinf_link=no
9080 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
9081 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
9082 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9083 cat >> confdefs.h <<EOF
9084 #define ${ac_tr_func} 1
9091 echo $ac_n "checking
for __builtin_sin declaration
""...
$ac_c" 1>&6
9092 echo "configure
:9093: checking
for __builtin_sin declaration
" >&5
9093 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
9094 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
9095 echo $ac_n "(cached
) $ac_c" 1>&6
9100 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9101 ac_cpp='$CXXCPP $CPPFLAGS'
9102 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9103 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9104 cross_compiling=$ac_cv_prog_cxx_cross
9106 cat > conftest.$ac_ext <<EOF
9107 #line 9108 "configure
"
9108 #include "confdefs.h
"
9114 if { (eval echo configure:9115: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9116 glibcpp_cv_func___builtin_sin_use=yes
9118 echo "configure
: failed program was
:" >&5
9119 cat conftest.$ac_ext >&5
9121 glibcpp_cv_func___builtin_sin_use=no
9125 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9126 ac_cpp='$CPP $CPPFLAGS'
9127 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9128 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9129 cross_compiling=$ac_cv_prog_cc_cross
9135 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
9136 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
9137 echo $ac_n "checking
for __builtin_sin linkage
""...
$ac_c" 1>&6
9138 echo "configure
:9139: checking
for __builtin_sin linkage
" >&5
9139 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
9140 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
9141 echo $ac_n "(cached
) $ac_c" 1>&6
9144 cat > conftest.$ac_ext <<EOF
9145 #line 9146 "configure
"
9146 #include "confdefs.h
"
9152 if { (eval echo configure:9153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9154 glibcpp_cv_func___builtin_sin_link=yes
9156 echo "configure
: failed program was
:" >&5
9157 cat conftest.$ac_ext >&5
9159 glibcpp_cv_func___builtin_sin_link=no
9166 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
9167 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
9168 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9169 cat >> confdefs.h <<EOF
9170 #define ${ac_tr_func} 1
9177 echo $ac_n "checking
for __builtin_sinl declaration
""...
$ac_c" 1>&6
9178 echo "configure
:9179: checking
for __builtin_sinl declaration
" >&5
9179 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
9180 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
9181 echo $ac_n "(cached
) $ac_c" 1>&6
9186 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9187 ac_cpp='$CXXCPP $CPPFLAGS'
9188 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9189 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9190 cross_compiling=$ac_cv_prog_cxx_cross
9192 cat > conftest.$ac_ext <<EOF
9193 #line 9194 "configure
"
9194 #include "confdefs.h
"
9200 if { (eval echo configure:9201: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9202 glibcpp_cv_func___builtin_sinl_use=yes
9204 echo "configure
: failed program was
:" >&5
9205 cat conftest.$ac_ext >&5
9207 glibcpp_cv_func___builtin_sinl_use=no
9211 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9212 ac_cpp='$CPP $CPPFLAGS'
9213 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9214 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9215 cross_compiling=$ac_cv_prog_cc_cross
9221 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
9222 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
9223 echo $ac_n "checking
for __builtin_sinl linkage
""...
$ac_c" 1>&6
9224 echo "configure
:9225: checking
for __builtin_sinl linkage
" >&5
9225 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
9226 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
9227 echo $ac_n "(cached
) $ac_c" 1>&6
9230 cat > conftest.$ac_ext <<EOF
9231 #line 9232 "configure
"
9232 #include "confdefs.h
"
9238 if { (eval echo configure:9239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9240 glibcpp_cv_func___builtin_sinl_link=yes
9242 echo "configure
: failed program was
:" >&5
9243 cat conftest.$ac_ext >&5
9245 glibcpp_cv_func___builtin_sinl_link=no
9252 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
9253 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
9254 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9255 cat >> confdefs.h <<EOF
9256 #define ${ac_tr_func} 1
9264 echo $ac_n "checking
for __builtin_cosf declaration
""...
$ac_c" 1>&6
9265 echo "configure
:9266: checking
for __builtin_cosf declaration
" >&5
9266 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
9267 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
9268 echo $ac_n "(cached
) $ac_c" 1>&6
9273 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9274 ac_cpp='$CXXCPP $CPPFLAGS'
9275 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9276 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9277 cross_compiling=$ac_cv_prog_cxx_cross
9279 cat > conftest.$ac_ext <<EOF
9280 #line 9281 "configure
"
9281 #include "confdefs.h
"
9287 if { (eval echo configure:9288: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9289 glibcpp_cv_func___builtin_cosf_use=yes
9291 echo "configure
: failed program was
:" >&5
9292 cat conftest.$ac_ext >&5
9294 glibcpp_cv_func___builtin_cosf_use=no
9298 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9299 ac_cpp='$CPP $CPPFLAGS'
9300 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9301 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9302 cross_compiling=$ac_cv_prog_cc_cross
9308 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
9309 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
9310 echo $ac_n "checking
for __builtin_cosf linkage
""...
$ac_c" 1>&6
9311 echo "configure
:9312: checking
for __builtin_cosf linkage
" >&5
9312 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
9313 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
9314 echo $ac_n "(cached
) $ac_c" 1>&6
9317 cat > conftest.$ac_ext <<EOF
9318 #line 9319 "configure
"
9319 #include "confdefs.h
"
9325 if { (eval echo configure:9326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9327 glibcpp_cv_func___builtin_cosf_link=yes
9329 echo "configure
: failed program was
:" >&5
9330 cat conftest.$ac_ext >&5
9332 glibcpp_cv_func___builtin_cosf_link=no
9339 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
9340 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
9341 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9342 cat >> confdefs.h <<EOF
9343 #define ${ac_tr_func} 1
9350 echo $ac_n "checking
for __builtin_cos declaration
""...
$ac_c" 1>&6
9351 echo "configure
:9352: checking
for __builtin_cos declaration
" >&5
9352 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
9353 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
9354 echo $ac_n "(cached
) $ac_c" 1>&6
9359 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9360 ac_cpp='$CXXCPP $CPPFLAGS'
9361 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9362 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9363 cross_compiling=$ac_cv_prog_cxx_cross
9365 cat > conftest.$ac_ext <<EOF
9366 #line 9367 "configure
"
9367 #include "confdefs.h
"
9373 if { (eval echo configure:9374: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9375 glibcpp_cv_func___builtin_cos_use=yes
9377 echo "configure
: failed program was
:" >&5
9378 cat conftest.$ac_ext >&5
9380 glibcpp_cv_func___builtin_cos_use=no
9384 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9385 ac_cpp='$CPP $CPPFLAGS'
9386 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9387 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9388 cross_compiling=$ac_cv_prog_cc_cross
9394 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
9395 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
9396 echo $ac_n "checking
for __builtin_cos linkage
""...
$ac_c" 1>&6
9397 echo "configure
:9398: checking
for __builtin_cos linkage
" >&5
9398 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
9399 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
9400 echo $ac_n "(cached
) $ac_c" 1>&6
9403 cat > conftest.$ac_ext <<EOF
9404 #line 9405 "configure
"
9405 #include "confdefs.h
"
9411 if { (eval echo configure:9412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9413 glibcpp_cv_func___builtin_cos_link=yes
9415 echo "configure
: failed program was
:" >&5
9416 cat conftest.$ac_ext >&5
9418 glibcpp_cv_func___builtin_cos_link=no
9425 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
9426 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
9427 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9428 cat >> confdefs.h <<EOF
9429 #define ${ac_tr_func} 1
9436 echo $ac_n "checking
for __builtin_cosl declaration
""...
$ac_c" 1>&6
9437 echo "configure
:9438: checking
for __builtin_cosl declaration
" >&5
9438 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
9439 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
9440 echo $ac_n "(cached
) $ac_c" 1>&6
9445 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9446 ac_cpp='$CXXCPP $CPPFLAGS'
9447 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9448 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9449 cross_compiling=$ac_cv_prog_cxx_cross
9451 cat > conftest.$ac_ext <<EOF
9452 #line 9453 "configure
"
9453 #include "confdefs.h
"
9459 if { (eval echo configure:9460: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9461 glibcpp_cv_func___builtin_cosl_use=yes
9463 echo "configure
: failed program was
:" >&5
9464 cat conftest.$ac_ext >&5
9466 glibcpp_cv_func___builtin_cosl_use=no
9470 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9471 ac_cpp='$CPP $CPPFLAGS'
9472 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9473 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9474 cross_compiling=$ac_cv_prog_cc_cross
9480 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
9481 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
9482 echo $ac_n "checking
for __builtin_cosl linkage
""...
$ac_c" 1>&6
9483 echo "configure
:9484: checking
for __builtin_cosl linkage
" >&5
9484 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
9485 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
9486 echo $ac_n "(cached
) $ac_c" 1>&6
9489 cat > conftest.$ac_ext <<EOF
9490 #line 9491 "configure
"
9491 #include "confdefs.h
"
9497 if { (eval echo configure:9498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9499 glibcpp_cv_func___builtin_cosl_link=yes
9501 echo "configure
: failed program was
:" >&5
9502 cat conftest.$ac_ext >&5
9504 glibcpp_cv_func___builtin_cosl_link=no
9511 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
9512 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
9513 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9514 cat >> confdefs.h <<EOF
9515 #define ${ac_tr_func} 1
9523 if test x$dummyvar = x"yes"; then
9524 cat >> confdefs.h <<\EOF
9525 #define HAVE___BUILTIN_ABS 1
9528 cat >> confdefs.h <<\EOF
9529 #define HAVE___BUILTIN_LABS 1
9532 cat >> confdefs.h <<\EOF
9533 #define HAVE___BUILTIN_COS 1
9536 cat >> confdefs.h <<\EOF
9537 #define HAVE___BUILTIN_COSF 1
9540 cat >> confdefs.h <<\EOF
9541 #define HAVE___BUILTIN_COSL 1
9544 cat >> confdefs.h <<\EOF
9545 #define HAVE___BUILTIN_FABS 1
9548 cat >> confdefs.h <<\EOF
9549 #define HAVE___BUILTIN_FABSF 1
9552 cat >> confdefs.h <<\EOF
9553 #define HAVE___BUILTIN_FABSL 1
9556 cat >> confdefs.h <<\EOF
9557 #define HAVE___BUILTIN_SIN 1
9560 cat >> confdefs.h <<\EOF
9561 #define HAVE___BUILTIN_SINF 1
9564 cat >> confdefs.h <<\EOF
9565 #define HAVE___BUILTIN_SINL 1
9568 cat >> confdefs.h <<\EOF
9569 #define HAVE___BUILTIN_SQRT 1
9572 cat >> confdefs.h <<\EOF
9573 #define HAVE___BUILTIN_SQRTF 1
9576 cat >> confdefs.h <<\EOF
9577 #define HAVE___BUILTIN_SQRTL 1
9583 ac_test_CXXFLAGS="${CXXFLAGS+set}"
9584 ac_save_CXXFLAGS="$CXXFLAGS"
9585 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
9587 echo $ac_n "checking
for sin
in -lm""...
$ac_c" 1>&6
9588 echo "configure
:9589: checking
for sin
in -lm" >&5
9589 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
9590 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9591 echo $ac_n "(cached
) $ac_c" 1>&6
9593 ac_save_LIBS="$LIBS"
9595 cat > conftest.$ac_ext <<EOF
9596 #line 9597 "configure
"
9597 #include "confdefs.h
"
9598 /* Override any gcc2 internal prototype to avoid an error. */
9599 /* We use char because int might match the return type of a gcc2
9600 builtin and then its argument prototype would still apply. */
9607 if { (eval echo configure:9608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9609 eval "ac_cv_lib_
$ac_lib_var=yes"
9611 echo "configure
: failed program was
:" >&5
9612 cat conftest.$ac_ext >&5
9614 eval "ac_cv_lib_
$ac_lib_var=no
"
9617 LIBS="$ac_save_LIBS"
9620 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9621 echo "$ac_t""yes" 1>&6
9624 echo "$ac_t""no
" 1>&6
9627 ac_save_LIBS="$LIBS"
9632 echo $ac_n "checking
for isinf declaration
""...
$ac_c" 1>&6
9633 echo "configure
:9634: checking
for isinf declaration
" >&5
9634 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
9635 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
9636 echo $ac_n "(cached
) $ac_c" 1>&6
9641 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9642 ac_cpp='$CXXCPP $CPPFLAGS'
9643 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9644 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9645 cross_compiling=$ac_cv_prog_cxx_cross
9647 cat > conftest.$ac_ext <<EOF
9648 #line 9649 "configure
"
9649 #include "confdefs.h
"
9651 #ifdef HAVE_IEEEFP_H
9659 if { (eval echo configure:9660: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9661 glibcpp_cv_func_isinf_use=yes
9663 echo "configure
: failed program was
:" >&5
9664 cat conftest.$ac_ext >&5
9666 glibcpp_cv_func_isinf_use=no
9670 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9671 ac_cpp='$CPP $CPPFLAGS'
9672 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9673 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9674 cross_compiling=$ac_cv_prog_cc_cross
9680 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
9682 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
9683 for ac_func in isinf
9685 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9686 echo "configure
:9687: checking
for $ac_func" >&5
9687 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9688 echo $ac_n "(cached
) $ac_c" 1>&6
9690 cat > conftest.$ac_ext <<EOF
9691 #line 9692 "configure
"
9692 #include "confdefs.h
"
9693 /* System header to define __stub macros and hopefully few prototypes,
9694 which can conflict with char $ac_func(); below. */
9696 /* Override any gcc2 internal prototype to avoid an error. */
9697 /* We use char because int might match the return type of a gcc2
9698 builtin and then its argument prototype would still apply. */
9703 /* The GNU C library defines this for functions which it implements
9704 to always fail with ENOSYS. Some functions are actually named
9705 something starting with __ and the normal name is an alias. */
9706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9714 if { (eval echo configure:9715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9716 eval "ac_cv_func_
$ac_func=yes"
9718 echo "configure
: failed program was
:" >&5
9719 cat conftest.$ac_ext >&5
9721 eval "ac_cv_func_
$ac_func=no
"
9726 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9727 echo "$ac_t""yes" 1>&6
9728 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9729 cat >> confdefs.h <<EOF
9730 #define $ac_tr_func 1
9734 echo "$ac_t""no
" 1>&6
9740 echo $ac_n "checking
for _isinf declaration
""...
$ac_c" 1>&6
9741 echo "configure
:9742: checking
for _isinf declaration
" >&5
9742 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
9743 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
9744 echo $ac_n "(cached
) $ac_c" 1>&6
9749 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9750 ac_cpp='$CXXCPP $CPPFLAGS'
9751 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9752 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9753 cross_compiling=$ac_cv_prog_cxx_cross
9755 cat > conftest.$ac_ext <<EOF
9756 #line 9757 "configure
"
9757 #include "confdefs.h
"
9759 #ifdef HAVE_IEEEFP_H
9767 if { (eval echo configure:9768: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9769 glibcpp_cv_func__isinf_use=yes
9771 echo "configure
: failed program was
:" >&5
9772 cat conftest.$ac_ext >&5
9774 glibcpp_cv_func__isinf_use=no
9778 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9779 ac_cpp='$CPP $CPPFLAGS'
9780 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9781 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9782 cross_compiling=$ac_cv_prog_cc_cross
9788 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
9790 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
9791 for ac_func in _isinf
9793 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9794 echo "configure
:9795: checking
for $ac_func" >&5
9795 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9796 echo $ac_n "(cached
) $ac_c" 1>&6
9798 cat > conftest.$ac_ext <<EOF
9799 #line 9800 "configure
"
9800 #include "confdefs.h
"
9801 /* System header to define __stub macros and hopefully few prototypes,
9802 which can conflict with char $ac_func(); below. */
9804 /* Override any gcc2 internal prototype to avoid an error. */
9805 /* We use char because int might match the return type of a gcc2
9806 builtin and then its argument prototype would still apply. */
9811 /* The GNU C library defines this for functions which it implements
9812 to always fail with ENOSYS. Some functions are actually named
9813 something starting with __ and the normal name is an alias. */
9814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9822 if { (eval echo configure:9823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9824 eval "ac_cv_func_
$ac_func=yes"
9826 echo "configure
: failed program was
:" >&5
9827 cat conftest.$ac_ext >&5
9829 eval "ac_cv_func_
$ac_func=no
"
9834 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9835 echo "$ac_t""yes" 1>&6
9836 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9837 cat >> confdefs.h <<EOF
9838 #define $ac_tr_func 1
9842 echo "$ac_t""no
" 1>&6
9851 echo $ac_n "checking
for isnan declaration
""...
$ac_c" 1>&6
9852 echo "configure
:9853: checking
for isnan declaration
" >&5
9853 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
9854 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
9855 echo $ac_n "(cached
) $ac_c" 1>&6
9860 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9861 ac_cpp='$CXXCPP $CPPFLAGS'
9862 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9863 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9864 cross_compiling=$ac_cv_prog_cxx_cross
9866 cat > conftest.$ac_ext <<EOF
9867 #line 9868 "configure
"
9868 #include "confdefs.h
"
9870 #ifdef HAVE_IEEEFP_H
9878 if { (eval echo configure:9879: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9880 glibcpp_cv_func_isnan_use=yes
9882 echo "configure
: failed program was
:" >&5
9883 cat conftest.$ac_ext >&5
9885 glibcpp_cv_func_isnan_use=no
9889 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9890 ac_cpp='$CPP $CPPFLAGS'
9891 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9892 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9893 cross_compiling=$ac_cv_prog_cc_cross
9899 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
9901 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
9902 for ac_func in isnan
9904 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9905 echo "configure
:9906: checking
for $ac_func" >&5
9906 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9907 echo $ac_n "(cached
) $ac_c" 1>&6
9909 cat > conftest.$ac_ext <<EOF
9910 #line 9911 "configure
"
9911 #include "confdefs.h
"
9912 /* System header to define __stub macros and hopefully few prototypes,
9913 which can conflict with char $ac_func(); below. */
9915 /* Override any gcc2 internal prototype to avoid an error. */
9916 /* We use char because int might match the return type of a gcc2
9917 builtin and then its argument prototype would still apply. */
9922 /* The GNU C library defines this for functions which it implements
9923 to always fail with ENOSYS. Some functions are actually named
9924 something starting with __ and the normal name is an alias. */
9925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9933 if { (eval echo configure:9934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9935 eval "ac_cv_func_
$ac_func=yes"
9937 echo "configure
: failed program was
:" >&5
9938 cat conftest.$ac_ext >&5
9940 eval "ac_cv_func_
$ac_func=no
"
9945 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9946 echo "$ac_t""yes" 1>&6
9947 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9948 cat >> confdefs.h <<EOF
9949 #define $ac_tr_func 1
9953 echo "$ac_t""no
" 1>&6
9959 echo $ac_n "checking
for _isnan declaration
""...
$ac_c" 1>&6
9960 echo "configure
:9961: checking
for _isnan declaration
" >&5
9961 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
9962 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
9963 echo $ac_n "(cached
) $ac_c" 1>&6
9968 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9969 ac_cpp='$CXXCPP $CPPFLAGS'
9970 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9971 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9972 cross_compiling=$ac_cv_prog_cxx_cross
9974 cat > conftest.$ac_ext <<EOF
9975 #line 9976 "configure
"
9976 #include "confdefs.h
"
9978 #ifdef HAVE_IEEEFP_H
9986 if { (eval echo configure:9987: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9988 glibcpp_cv_func__isnan_use=yes
9990 echo "configure
: failed program was
:" >&5
9991 cat conftest.$ac_ext >&5
9993 glibcpp_cv_func__isnan_use=no
9997 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9998 ac_cpp='$CPP $CPPFLAGS'
9999 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10000 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10001 cross_compiling=$ac_cv_prog_cc_cross
10007 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
10009 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
10010 for ac_func in _isnan
10012 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10013 echo "configure
:10014: checking
for $ac_func" >&5
10014 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10015 echo $ac_n "(cached
) $ac_c" 1>&6
10017 cat > conftest.$ac_ext <<EOF
10018 #line 10019 "configure
"
10019 #include "confdefs.h
"
10020 /* System header to define __stub macros and hopefully few prototypes,
10021 which can conflict with char $ac_func(); below. */
10022 #include <assert.h>
10023 /* Override any gcc2 internal prototype to avoid an error. */
10024 /* We use char because int might match the return type of a gcc2
10025 builtin and then its argument prototype would still apply. */
10030 /* The GNU C library defines this for functions which it implements
10031 to always fail with ENOSYS. Some functions are actually named
10032 something starting with __ and the normal name is an alias. */
10033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10041 if { (eval echo configure:10042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10043 eval "ac_cv_func_
$ac_func=yes"
10045 echo "configure
: failed program was
:" >&5
10046 cat conftest.$ac_ext >&5
10048 eval "ac_cv_func_
$ac_func=no
"
10053 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10054 echo "$ac_t""yes" 1>&6
10055 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10056 cat >> confdefs.h <<EOF
10057 #define $ac_tr_func 1
10061 echo "$ac_t""no
" 1>&6
10070 echo $ac_n "checking
for finite declaration
""...
$ac_c" 1>&6
10071 echo "configure
:10072: checking
for finite declaration
" >&5
10072 if test x${glibcpp_cv_func_finite_use+set} != xset; then
10073 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
10074 echo $ac_n "(cached
) $ac_c" 1>&6
10079 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10080 ac_cpp='$CXXCPP $CPPFLAGS'
10081 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10082 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10083 cross_compiling=$ac_cv_prog_cxx_cross
10085 cat > conftest.$ac_ext <<EOF
10086 #line 10087 "configure
"
10087 #include "confdefs.h
"
10089 #ifdef HAVE_IEEEFP_H
10090 #include <ieeefp.h>
10097 if { (eval echo configure:10098: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10099 glibcpp_cv_func_finite_use=yes
10101 echo "configure
: failed program was
:" >&5
10102 cat conftest.$ac_ext >&5
10104 glibcpp_cv_func_finite_use=no
10108 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10109 ac_cpp='$CPP $CPPFLAGS'
10110 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10111 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10112 cross_compiling=$ac_cv_prog_cc_cross
10118 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
10120 if test x$glibcpp_cv_func_finite_use = x"yes"; then
10121 for ac_func in finite
10123 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10124 echo "configure
:10125: checking
for $ac_func" >&5
10125 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10126 echo $ac_n "(cached
) $ac_c" 1>&6
10128 cat > conftest.$ac_ext <<EOF
10129 #line 10130 "configure
"
10130 #include "confdefs.h
"
10131 /* System header to define __stub macros and hopefully few prototypes,
10132 which can conflict with char $ac_func(); below. */
10133 #include <assert.h>
10134 /* Override any gcc2 internal prototype to avoid an error. */
10135 /* We use char because int might match the return type of a gcc2
10136 builtin and then its argument prototype would still apply. */
10141 /* The GNU C library defines this for functions which it implements
10142 to always fail with ENOSYS. Some functions are actually named
10143 something starting with __ and the normal name is an alias. */
10144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10152 if { (eval echo configure:10153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10154 eval "ac_cv_func_
$ac_func=yes"
10156 echo "configure
: failed program was
:" >&5
10157 cat conftest.$ac_ext >&5
10159 eval "ac_cv_func_
$ac_func=no
"
10164 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10165 echo "$ac_t""yes" 1>&6
10166 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10167 cat >> confdefs.h <<EOF
10168 #define $ac_tr_func 1
10172 echo "$ac_t""no
" 1>&6
10178 echo $ac_n "checking
for _finite declaration
""...
$ac_c" 1>&6
10179 echo "configure
:10180: checking
for _finite declaration
" >&5
10180 if test x${glibcpp_cv_func__finite_use+set} != xset; then
10181 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
10182 echo $ac_n "(cached
) $ac_c" 1>&6
10187 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10188 ac_cpp='$CXXCPP $CPPFLAGS'
10189 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10190 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10191 cross_compiling=$ac_cv_prog_cxx_cross
10193 cat > conftest.$ac_ext <<EOF
10194 #line 10195 "configure
"
10195 #include "confdefs.h
"
10197 #ifdef HAVE_IEEEFP_H
10198 #include <ieeefp.h>
10205 if { (eval echo configure:10206: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10207 glibcpp_cv_func__finite_use=yes
10209 echo "configure
: failed program was
:" >&5
10210 cat conftest.$ac_ext >&5
10212 glibcpp_cv_func__finite_use=no
10216 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10217 ac_cpp='$CPP $CPPFLAGS'
10218 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10219 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10220 cross_compiling=$ac_cv_prog_cc_cross
10226 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
10228 if test x$glibcpp_cv_func__finite_use = x"yes"; then
10229 for ac_func in _finite
10231 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10232 echo "configure
:10233: checking
for $ac_func" >&5
10233 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10234 echo $ac_n "(cached
) $ac_c" 1>&6
10236 cat > conftest.$ac_ext <<EOF
10237 #line 10238 "configure
"
10238 #include "confdefs.h
"
10239 /* System header to define __stub macros and hopefully few prototypes,
10240 which can conflict with char $ac_func(); below. */
10241 #include <assert.h>
10242 /* Override any gcc2 internal prototype to avoid an error. */
10243 /* We use char because int might match the return type of a gcc2
10244 builtin and then its argument prototype would still apply. */
10249 /* The GNU C library defines this for functions which it implements
10250 to always fail with ENOSYS. Some functions are actually named
10251 something starting with __ and the normal name is an alias. */
10252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10260 if { (eval echo configure:10261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10262 eval "ac_cv_func_
$ac_func=yes"
10264 echo "configure
: failed program was
:" >&5
10265 cat conftest.$ac_ext >&5
10267 eval "ac_cv_func_
$ac_func=no
"
10272 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10273 echo "$ac_t""yes" 1>&6
10274 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10275 cat >> confdefs.h <<EOF
10276 #define $ac_tr_func 1
10280 echo "$ac_t""no
" 1>&6
10289 echo $ac_n "checking
for copysign declaration
""...
$ac_c" 1>&6
10290 echo "configure
:10291: checking
for copysign declaration
" >&5
10291 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
10292 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
10293 echo $ac_n "(cached
) $ac_c" 1>&6
10298 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10299 ac_cpp='$CXXCPP $CPPFLAGS'
10300 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10301 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10302 cross_compiling=$ac_cv_prog_cxx_cross
10304 cat > conftest.$ac_ext <<EOF
10305 #line 10306 "configure
"
10306 #include "confdefs.h
"
10312 if { (eval echo configure:10313: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10314 glibcpp_cv_func_copysign_use=yes
10316 echo "configure
: failed program was
:" >&5
10317 cat conftest.$ac_ext >&5
10319 glibcpp_cv_func_copysign_use=no
10323 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10324 ac_cpp='$CPP $CPPFLAGS'
10325 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10326 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10327 cross_compiling=$ac_cv_prog_cc_cross
10333 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
10335 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
10336 for ac_func in copysign
10338 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10339 echo "configure
:10340: checking
for $ac_func" >&5
10340 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10341 echo $ac_n "(cached
) $ac_c" 1>&6
10343 cat > conftest.$ac_ext <<EOF
10344 #line 10345 "configure
"
10345 #include "confdefs.h
"
10346 /* System header to define __stub macros and hopefully few prototypes,
10347 which can conflict with char $ac_func(); below. */
10348 #include <assert.h>
10349 /* Override any gcc2 internal prototype to avoid an error. */
10350 /* We use char because int might match the return type of a gcc2
10351 builtin and then its argument prototype would still apply. */
10356 /* The GNU C library defines this for functions which it implements
10357 to always fail with ENOSYS. Some functions are actually named
10358 something starting with __ and the normal name is an alias. */
10359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10367 if { (eval echo configure:10368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10369 eval "ac_cv_func_
$ac_func=yes"
10371 echo "configure
: failed program was
:" >&5
10372 cat conftest.$ac_ext >&5
10374 eval "ac_cv_func_
$ac_func=no
"
10379 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10380 echo "$ac_t""yes" 1>&6
10381 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10382 cat >> confdefs.h <<EOF
10383 #define $ac_tr_func 1
10387 echo "$ac_t""no
" 1>&6
10393 echo $ac_n "checking
for _copysign declaration
""...
$ac_c" 1>&6
10394 echo "configure
:10395: checking
for _copysign declaration
" >&5
10395 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
10396 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
10397 echo $ac_n "(cached
) $ac_c" 1>&6
10402 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10403 ac_cpp='$CXXCPP $CPPFLAGS'
10404 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10405 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10406 cross_compiling=$ac_cv_prog_cxx_cross
10408 cat > conftest.$ac_ext <<EOF
10409 #line 10410 "configure
"
10410 #include "confdefs.h
"
10416 if { (eval echo configure:10417: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10418 glibcpp_cv_func__copysign_use=yes
10420 echo "configure
: failed program was
:" >&5
10421 cat conftest.$ac_ext >&5
10423 glibcpp_cv_func__copysign_use=no
10427 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10428 ac_cpp='$CPP $CPPFLAGS'
10429 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10430 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10431 cross_compiling=$ac_cv_prog_cc_cross
10437 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
10439 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
10440 for ac_func in _copysign
10442 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10443 echo "configure
:10444: checking
for $ac_func" >&5
10444 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10445 echo $ac_n "(cached
) $ac_c" 1>&6
10447 cat > conftest.$ac_ext <<EOF
10448 #line 10449 "configure
"
10449 #include "confdefs.h
"
10450 /* System header to define __stub macros and hopefully few prototypes,
10451 which can conflict with char $ac_func(); below. */
10452 #include <assert.h>
10453 /* Override any gcc2 internal prototype to avoid an error. */
10454 /* We use char because int might match the return type of a gcc2
10455 builtin and then its argument prototype would still apply. */
10460 /* The GNU C library defines this for functions which it implements
10461 to always fail with ENOSYS. Some functions are actually named
10462 something starting with __ and the normal name is an alias. */
10463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10471 if { (eval echo configure:10472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10473 eval "ac_cv_func_
$ac_func=yes"
10475 echo "configure
: failed program was
:" >&5
10476 cat conftest.$ac_ext >&5
10478 eval "ac_cv_func_
$ac_func=no
"
10483 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10484 echo "$ac_t""yes" 1>&6
10485 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10486 cat >> confdefs.h <<EOF
10487 #define $ac_tr_func 1
10491 echo "$ac_t""no
" 1>&6
10500 echo $ac_n "checking
for sincos declaration
""...
$ac_c" 1>&6
10501 echo "configure
:10502: checking
for sincos declaration
" >&5
10502 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
10503 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
10504 echo $ac_n "(cached
) $ac_c" 1>&6
10509 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10510 ac_cpp='$CXXCPP $CPPFLAGS'
10511 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10512 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10513 cross_compiling=$ac_cv_prog_cxx_cross
10515 cat > conftest.$ac_ext <<EOF
10516 #line 10517 "configure
"
10517 #include "confdefs.h
"
10523 if { (eval echo configure:10524: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10525 glibcpp_cv_func_sincos_use=yes
10527 echo "configure
: failed program was
:" >&5
10528 cat conftest.$ac_ext >&5
10530 glibcpp_cv_func_sincos_use=no
10534 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10535 ac_cpp='$CPP $CPPFLAGS'
10536 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10537 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10538 cross_compiling=$ac_cv_prog_cc_cross
10544 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
10546 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
10547 for ac_func in sincos
10549 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10550 echo "configure
:10551: checking
for $ac_func" >&5
10551 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10552 echo $ac_n "(cached
) $ac_c" 1>&6
10554 cat > conftest.$ac_ext <<EOF
10555 #line 10556 "configure
"
10556 #include "confdefs.h
"
10557 /* System header to define __stub macros and hopefully few prototypes,
10558 which can conflict with char $ac_func(); below. */
10559 #include <assert.h>
10560 /* Override any gcc2 internal prototype to avoid an error. */
10561 /* We use char because int might match the return type of a gcc2
10562 builtin and then its argument prototype would still apply. */
10567 /* The GNU C library defines this for functions which it implements
10568 to always fail with ENOSYS. Some functions are actually named
10569 something starting with __ and the normal name is an alias. */
10570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10578 if { (eval echo configure:10579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10580 eval "ac_cv_func_
$ac_func=yes"
10582 echo "configure
: failed program was
:" >&5
10583 cat conftest.$ac_ext >&5
10585 eval "ac_cv_func_
$ac_func=no
"
10590 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10591 echo "$ac_t""yes" 1>&6
10592 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10593 cat >> confdefs.h <<EOF
10594 #define $ac_tr_func 1
10598 echo "$ac_t""no
" 1>&6
10604 echo $ac_n "checking
for _sincos declaration
""...
$ac_c" 1>&6
10605 echo "configure
:10606: checking
for _sincos declaration
" >&5
10606 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
10607 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
10608 echo $ac_n "(cached
) $ac_c" 1>&6
10613 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10614 ac_cpp='$CXXCPP $CPPFLAGS'
10615 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10616 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10617 cross_compiling=$ac_cv_prog_cxx_cross
10619 cat > conftest.$ac_ext <<EOF
10620 #line 10621 "configure
"
10621 #include "confdefs.h
"
10627 if { (eval echo configure:10628: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10629 glibcpp_cv_func__sincos_use=yes
10631 echo "configure
: failed program was
:" >&5
10632 cat conftest.$ac_ext >&5
10634 glibcpp_cv_func__sincos_use=no
10638 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10639 ac_cpp='$CPP $CPPFLAGS'
10640 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10641 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10642 cross_compiling=$ac_cv_prog_cc_cross
10648 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
10650 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
10651 for ac_func in _sincos
10653 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10654 echo "configure
:10655: checking
for $ac_func" >&5
10655 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10656 echo $ac_n "(cached
) $ac_c" 1>&6
10658 cat > conftest.$ac_ext <<EOF
10659 #line 10660 "configure
"
10660 #include "confdefs.h
"
10661 /* System header to define __stub macros and hopefully few prototypes,
10662 which can conflict with char $ac_func(); below. */
10663 #include <assert.h>
10664 /* Override any gcc2 internal prototype to avoid an error. */
10665 /* We use char because int might match the return type of a gcc2
10666 builtin and then its argument prototype would still apply. */
10671 /* The GNU C library defines this for functions which it implements
10672 to always fail with ENOSYS. Some functions are actually named
10673 something starting with __ and the normal name is an alias. */
10674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10682 if { (eval echo configure:10683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10684 eval "ac_cv_func_
$ac_func=yes"
10686 echo "configure
: failed program was
:" >&5
10687 cat conftest.$ac_ext >&5
10689 eval "ac_cv_func_
$ac_func=no
"
10694 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10695 echo "$ac_t""yes" 1>&6
10696 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10697 cat >> confdefs.h <<EOF
10698 #define $ac_tr_func 1
10702 echo "$ac_t""no
" 1>&6
10711 echo $ac_n "checking
for fpclass declaration
""...
$ac_c" 1>&6
10712 echo "configure
:10713: checking
for fpclass declaration
" >&5
10713 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
10714 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
10715 echo $ac_n "(cached
) $ac_c" 1>&6
10720 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10721 ac_cpp='$CXXCPP $CPPFLAGS'
10722 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10723 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10724 cross_compiling=$ac_cv_prog_cxx_cross
10726 cat > conftest.$ac_ext <<EOF
10727 #line 10728 "configure
"
10728 #include "confdefs.h
"
10730 #ifdef HAVE_IEEEFP_H
10731 #include <ieeefp.h>
10738 if { (eval echo configure:10739: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10740 glibcpp_cv_func_fpclass_use=yes
10742 echo "configure
: failed program was
:" >&5
10743 cat conftest.$ac_ext >&5
10745 glibcpp_cv_func_fpclass_use=no
10749 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10750 ac_cpp='$CPP $CPPFLAGS'
10751 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10752 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10753 cross_compiling=$ac_cv_prog_cc_cross
10759 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
10761 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
10762 for ac_func in fpclass
10764 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10765 echo "configure
:10766: checking
for $ac_func" >&5
10766 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10767 echo $ac_n "(cached
) $ac_c" 1>&6
10769 cat > conftest.$ac_ext <<EOF
10770 #line 10771 "configure
"
10771 #include "confdefs.h
"
10772 /* System header to define __stub macros and hopefully few prototypes,
10773 which can conflict with char $ac_func(); below. */
10774 #include <assert.h>
10775 /* Override any gcc2 internal prototype to avoid an error. */
10776 /* We use char because int might match the return type of a gcc2
10777 builtin and then its argument prototype would still apply. */
10782 /* The GNU C library defines this for functions which it implements
10783 to always fail with ENOSYS. Some functions are actually named
10784 something starting with __ and the normal name is an alias. */
10785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10793 if { (eval echo configure:10794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10795 eval "ac_cv_func_
$ac_func=yes"
10797 echo "configure
: failed program was
:" >&5
10798 cat conftest.$ac_ext >&5
10800 eval "ac_cv_func_
$ac_func=no
"
10805 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10806 echo "$ac_t""yes" 1>&6
10807 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10808 cat >> confdefs.h <<EOF
10809 #define $ac_tr_func 1
10813 echo "$ac_t""no
" 1>&6
10819 echo $ac_n "checking
for _fpclass declaration
""...
$ac_c" 1>&6
10820 echo "configure
:10821: checking
for _fpclass declaration
" >&5
10821 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
10822 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
10823 echo $ac_n "(cached
) $ac_c" 1>&6
10828 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10829 ac_cpp='$CXXCPP $CPPFLAGS'
10830 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10831 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10832 cross_compiling=$ac_cv_prog_cxx_cross
10834 cat > conftest.$ac_ext <<EOF
10835 #line 10836 "configure
"
10836 #include "confdefs.h
"
10838 #ifdef HAVE_IEEEFP_H
10839 #include <ieeefp.h>
10846 if { (eval echo configure:10847: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10848 glibcpp_cv_func__fpclass_use=yes
10850 echo "configure
: failed program was
:" >&5
10851 cat conftest.$ac_ext >&5
10853 glibcpp_cv_func__fpclass_use=no
10857 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10858 ac_cpp='$CPP $CPPFLAGS'
10859 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10860 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10861 cross_compiling=$ac_cv_prog_cc_cross
10867 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
10869 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
10870 for ac_func in _fpclass
10872 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10873 echo "configure
:10874: checking
for $ac_func" >&5
10874 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10875 echo $ac_n "(cached
) $ac_c" 1>&6
10877 cat > conftest.$ac_ext <<EOF
10878 #line 10879 "configure
"
10879 #include "confdefs.h
"
10880 /* System header to define __stub macros and hopefully few prototypes,
10881 which can conflict with char $ac_func(); below. */
10882 #include <assert.h>
10883 /* Override any gcc2 internal prototype to avoid an error. */
10884 /* We use char because int might match the return type of a gcc2
10885 builtin and then its argument prototype would still apply. */
10890 /* The GNU C library defines this for functions which it implements
10891 to always fail with ENOSYS. Some functions are actually named
10892 something starting with __ and the normal name is an alias. */
10893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10901 if { (eval echo configure:10902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10903 eval "ac_cv_func_
$ac_func=yes"
10905 echo "configure
: failed program was
:" >&5
10906 cat conftest.$ac_ext >&5
10908 eval "ac_cv_func_
$ac_func=no
"
10913 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10914 echo "$ac_t""yes" 1>&6
10915 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10916 cat >> confdefs.h <<EOF
10917 #define $ac_tr_func 1
10921 echo "$ac_t""no
" 1>&6
10930 echo $ac_n "checking
for qfpclass declaration
""...
$ac_c" 1>&6
10931 echo "configure
:10932: checking
for qfpclass declaration
" >&5
10932 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
10933 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
10934 echo $ac_n "(cached
) $ac_c" 1>&6
10939 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10940 ac_cpp='$CXXCPP $CPPFLAGS'
10941 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10942 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10943 cross_compiling=$ac_cv_prog_cxx_cross
10945 cat > conftest.$ac_ext <<EOF
10946 #line 10947 "configure
"
10947 #include "confdefs.h
"
10949 #ifdef HAVE_IEEEFP_H
10950 #include <ieeefp.h>
10957 if { (eval echo configure:10958: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10959 glibcpp_cv_func_qfpclass_use=yes
10961 echo "configure
: failed program was
:" >&5
10962 cat conftest.$ac_ext >&5
10964 glibcpp_cv_func_qfpclass_use=no
10968 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10969 ac_cpp='$CPP $CPPFLAGS'
10970 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10971 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10972 cross_compiling=$ac_cv_prog_cc_cross
10978 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
10980 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
10981 for ac_func in qfpclass
10983 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10984 echo "configure
:10985: checking
for $ac_func" >&5
10985 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10986 echo $ac_n "(cached
) $ac_c" 1>&6
10988 cat > conftest.$ac_ext <<EOF
10989 #line 10990 "configure
"
10990 #include "confdefs.h
"
10991 /* System header to define __stub macros and hopefully few prototypes,
10992 which can conflict with char $ac_func(); below. */
10993 #include <assert.h>
10994 /* Override any gcc2 internal prototype to avoid an error. */
10995 /* We use char because int might match the return type of a gcc2
10996 builtin and then its argument prototype would still apply. */
11001 /* The GNU C library defines this for functions which it implements
11002 to always fail with ENOSYS. Some functions are actually named
11003 something starting with __ and the normal name is an alias. */
11004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11012 if { (eval echo configure:11013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11014 eval "ac_cv_func_
$ac_func=yes"
11016 echo "configure
: failed program was
:" >&5
11017 cat conftest.$ac_ext >&5
11019 eval "ac_cv_func_
$ac_func=no
"
11024 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11025 echo "$ac_t""yes" 1>&6
11026 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11027 cat >> confdefs.h <<EOF
11028 #define $ac_tr_func 1
11032 echo "$ac_t""no
" 1>&6
11038 echo $ac_n "checking
for _qfpclass declaration
""...
$ac_c" 1>&6
11039 echo "configure
:11040: checking
for _qfpclass declaration
" >&5
11040 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
11041 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
11042 echo $ac_n "(cached
) $ac_c" 1>&6
11047 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11048 ac_cpp='$CXXCPP $CPPFLAGS'
11049 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11050 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11051 cross_compiling=$ac_cv_prog_cxx_cross
11053 cat > conftest.$ac_ext <<EOF
11054 #line 11055 "configure
"
11055 #include "confdefs.h
"
11057 #ifdef HAVE_IEEEFP_H
11058 #include <ieeefp.h>
11065 if { (eval echo configure:11066: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11067 glibcpp_cv_func__qfpclass_use=yes
11069 echo "configure
: failed program was
:" >&5
11070 cat conftest.$ac_ext >&5
11072 glibcpp_cv_func__qfpclass_use=no
11076 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11077 ac_cpp='$CPP $CPPFLAGS'
11078 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11079 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11080 cross_compiling=$ac_cv_prog_cc_cross
11086 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
11088 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
11089 for ac_func in _qfpclass
11091 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11092 echo "configure
:11093: checking
for $ac_func" >&5
11093 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11094 echo $ac_n "(cached
) $ac_c" 1>&6
11096 cat > conftest.$ac_ext <<EOF
11097 #line 11098 "configure
"
11098 #include "confdefs.h
"
11099 /* System header to define __stub macros and hopefully few prototypes,
11100 which can conflict with char $ac_func(); below. */
11101 #include <assert.h>
11102 /* Override any gcc2 internal prototype to avoid an error. */
11103 /* We use char because int might match the return type of a gcc2
11104 builtin and then its argument prototype would still apply. */
11109 /* The GNU C library defines this for functions which it implements
11110 to always fail with ENOSYS. Some functions are actually named
11111 something starting with __ and the normal name is an alias. */
11112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11120 if { (eval echo configure:11121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11122 eval "ac_cv_func_
$ac_func=yes"
11124 echo "configure
: failed program was
:" >&5
11125 cat conftest.$ac_ext >&5
11127 eval "ac_cv_func_
$ac_func=no
"
11132 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11133 echo "$ac_t""yes" 1>&6
11134 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11135 cat >> confdefs.h <<EOF
11136 #define $ac_tr_func 1
11140 echo "$ac_t""no
" 1>&6
11149 echo $ac_n "checking
for hypot declaration
""...
$ac_c" 1>&6
11150 echo "configure
:11151: checking
for hypot declaration
" >&5
11151 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
11152 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
11153 echo $ac_n "(cached
) $ac_c" 1>&6
11158 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11159 ac_cpp='$CXXCPP $CPPFLAGS'
11160 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11161 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11162 cross_compiling=$ac_cv_prog_cxx_cross
11164 cat > conftest.$ac_ext <<EOF
11165 #line 11166 "configure
"
11166 #include "confdefs.h
"
11172 if { (eval echo configure:11173: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11174 glibcpp_cv_func_hypot_use=yes
11176 echo "configure
: failed program was
:" >&5
11177 cat conftest.$ac_ext >&5
11179 glibcpp_cv_func_hypot_use=no
11183 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11184 ac_cpp='$CPP $CPPFLAGS'
11185 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11186 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11187 cross_compiling=$ac_cv_prog_cc_cross
11193 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
11195 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
11196 for ac_func in hypot
11198 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11199 echo "configure
:11200: checking
for $ac_func" >&5
11200 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11201 echo $ac_n "(cached
) $ac_c" 1>&6
11203 cat > conftest.$ac_ext <<EOF
11204 #line 11205 "configure
"
11205 #include "confdefs.h
"
11206 /* System header to define __stub macros and hopefully few prototypes,
11207 which can conflict with char $ac_func(); below. */
11208 #include <assert.h>
11209 /* Override any gcc2 internal prototype to avoid an error. */
11210 /* We use char because int might match the return type of a gcc2
11211 builtin and then its argument prototype would still apply. */
11216 /* The GNU C library defines this for functions which it implements
11217 to always fail with ENOSYS. Some functions are actually named
11218 something starting with __ and the normal name is an alias. */
11219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11227 if { (eval echo configure:11228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11229 eval "ac_cv_func_
$ac_func=yes"
11231 echo "configure
: failed program was
:" >&5
11232 cat conftest.$ac_ext >&5
11234 eval "ac_cv_func_
$ac_func=no
"
11239 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11240 echo "$ac_t""yes" 1>&6
11241 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11242 cat >> confdefs.h <<EOF
11243 #define $ac_tr_func 1
11247 echo "$ac_t""no
" 1>&6
11253 echo $ac_n "checking
for _hypot declaration
""...
$ac_c" 1>&6
11254 echo "configure
:11255: checking
for _hypot declaration
" >&5
11255 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
11256 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
11257 echo $ac_n "(cached
) $ac_c" 1>&6
11262 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11263 ac_cpp='$CXXCPP $CPPFLAGS'
11264 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11265 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11266 cross_compiling=$ac_cv_prog_cxx_cross
11268 cat > conftest.$ac_ext <<EOF
11269 #line 11270 "configure
"
11270 #include "confdefs.h
"
11276 if { (eval echo configure:11277: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11278 glibcpp_cv_func__hypot_use=yes
11280 echo "configure
: failed program was
:" >&5
11281 cat conftest.$ac_ext >&5
11283 glibcpp_cv_func__hypot_use=no
11287 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11288 ac_cpp='$CPP $CPPFLAGS'
11289 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11290 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11291 cross_compiling=$ac_cv_prog_cc_cross
11297 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
11299 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
11300 for ac_func in _hypot
11302 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11303 echo "configure
:11304: checking
for $ac_func" >&5
11304 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11305 echo $ac_n "(cached
) $ac_c" 1>&6
11307 cat > conftest.$ac_ext <<EOF
11308 #line 11309 "configure
"
11309 #include "confdefs.h
"
11310 /* System header to define __stub macros and hopefully few prototypes,
11311 which can conflict with char $ac_func(); below. */
11312 #include <assert.h>
11313 /* Override any gcc2 internal prototype to avoid an error. */
11314 /* We use char because int might match the return type of a gcc2
11315 builtin and then its argument prototype would still apply. */
11320 /* The GNU C library defines this for functions which it implements
11321 to always fail with ENOSYS. Some functions are actually named
11322 something starting with __ and the normal name is an alias. */
11323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11331 if { (eval echo configure:11332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11333 eval "ac_cv_func_
$ac_func=yes"
11335 echo "configure
: failed program was
:" >&5
11336 cat conftest.$ac_ext >&5
11338 eval "ac_cv_func_
$ac_func=no
"
11343 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11344 echo "$ac_t""yes" 1>&6
11345 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11346 cat >> confdefs.h <<EOF
11347 #define $ac_tr_func 1
11351 echo "$ac_t""no
" 1>&6
11360 echo $ac_n "checking
for float trig functions
""...
$ac_c" 1>&6
11361 echo "configure
:11362: checking
for float trig functions
" >&5
11362 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
11363 echo $ac_n "(cached
) $ac_c" 1>&6
11368 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11369 ac_cpp='$CXXCPP $CPPFLAGS'
11370 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11371 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11372 cross_compiling=$ac_cv_prog_cxx_cross
11374 cat > conftest.$ac_ext <<EOF
11375 #line 11376 "configure
"
11376 #include "confdefs.h
"
11379 `for x in acosf asinf atanf \
11381 coshf sinhf tanhf; do echo "$x (0);"; done`
11384 if { (eval echo configure:11385: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11386 glibcpp_cv_func_float_trig_use=yes
11388 echo "configure
: failed program was
:" >&5
11389 cat conftest.$ac_ext >&5
11391 glibcpp_cv_func_float_trig_use=no
11395 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11396 ac_cpp='$CPP $CPPFLAGS'
11397 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11398 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11399 cross_compiling=$ac_cv_prog_cc_cross
11403 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
11404 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
11405 for ac_func in acosf asinf atanf \
11409 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11410 echo "configure
:11411: checking
for $ac_func" >&5
11411 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11412 echo $ac_n "(cached
) $ac_c" 1>&6
11414 cat > conftest.$ac_ext <<EOF
11415 #line 11416 "configure
"
11416 #include "confdefs.h
"
11417 /* System header to define __stub macros and hopefully few prototypes,
11418 which can conflict with char $ac_func(); below. */
11419 #include <assert.h>
11420 /* Override any gcc2 internal prototype to avoid an error. */
11421 /* We use char because int might match the return type of a gcc2
11422 builtin and then its argument prototype would still apply. */
11427 /* The GNU C library defines this for functions which it implements
11428 to always fail with ENOSYS. Some functions are actually named
11429 something starting with __ and the normal name is an alias. */
11430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11438 if { (eval echo configure:11439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11440 eval "ac_cv_func_
$ac_func=yes"
11442 echo "configure
: failed program was
:" >&5
11443 cat conftest.$ac_ext >&5
11445 eval "ac_cv_func_
$ac_func=no
"
11450 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11451 echo "$ac_t""yes" 1>&6
11452 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11453 cat >> confdefs.h <<EOF
11454 #define $ac_tr_func 1
11458 echo "$ac_t""no
" 1>&6
11465 echo $ac_n "checking
for float round functions
""...
$ac_c" 1>&6
11466 echo "configure
:11467: checking
for float round functions
" >&5
11467 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
11468 echo $ac_n "(cached
) $ac_c" 1>&6
11473 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11474 ac_cpp='$CXXCPP $CPPFLAGS'
11475 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11476 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11477 cross_compiling=$ac_cv_prog_cxx_cross
11479 cat > conftest.$ac_ext <<EOF
11480 #line 11481 "configure
"
11481 #include "confdefs.h
"
11484 `for x in ceilf floorf; do echo "$x (0);"; done`
11487 if { (eval echo configure:11488: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11489 glibcpp_cv_func_float_round_use=yes
11491 echo "configure
: failed program was
:" >&5
11492 cat conftest.$ac_ext >&5
11494 glibcpp_cv_func_float_round_use=no
11498 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11499 ac_cpp='$CPP $CPPFLAGS'
11500 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11501 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11502 cross_compiling=$ac_cv_prog_cc_cross
11506 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
11507 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
11508 for ac_func in ceilf floorf
11510 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11511 echo "configure
:11512: checking
for $ac_func" >&5
11512 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11513 echo $ac_n "(cached
) $ac_c" 1>&6
11515 cat > conftest.$ac_ext <<EOF
11516 #line 11517 "configure
"
11517 #include "confdefs.h
"
11518 /* System header to define __stub macros and hopefully few prototypes,
11519 which can conflict with char $ac_func(); below. */
11520 #include <assert.h>
11521 /* Override any gcc2 internal prototype to avoid an error. */
11522 /* We use char because int might match the return type of a gcc2
11523 builtin and then its argument prototype would still apply. */
11528 /* The GNU C library defines this for functions which it implements
11529 to always fail with ENOSYS. Some functions are actually named
11530 something starting with __ and the normal name is an alias. */
11531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11539 if { (eval echo configure:11540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11541 eval "ac_cv_func_
$ac_func=yes"
11543 echo "configure
: failed program was
:" >&5
11544 cat conftest.$ac_ext >&5
11546 eval "ac_cv_func_
$ac_func=no
"
11551 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11552 echo "$ac_t""yes" 1>&6
11553 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11554 cat >> confdefs.h <<EOF
11555 #define $ac_tr_func 1
11559 echo "$ac_t""no
" 1>&6
11567 echo $ac_n "checking
for expf declaration
""...
$ac_c" 1>&6
11568 echo "configure
:11569: checking
for expf declaration
" >&5
11569 if test x${glibcpp_cv_func_expf_use+set} != xset; then
11570 if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
11571 echo $ac_n "(cached
) $ac_c" 1>&6
11576 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11577 ac_cpp='$CXXCPP $CPPFLAGS'
11578 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11579 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11580 cross_compiling=$ac_cv_prog_cxx_cross
11582 cat > conftest.$ac_ext <<EOF
11583 #line 11584 "configure
"
11584 #include "confdefs.h
"
11586 #ifdef HAVE_IEEEFP_H
11587 #include <ieeefp.h>
11594 if { (eval echo configure:11595: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11596 glibcpp_cv_func_expf_use=yes
11598 echo "configure
: failed program was
:" >&5
11599 cat conftest.$ac_ext >&5
11601 glibcpp_cv_func_expf_use=no
11605 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11606 ac_cpp='$CPP $CPPFLAGS'
11607 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11608 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11609 cross_compiling=$ac_cv_prog_cc_cross
11615 echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
11617 if test x$glibcpp_cv_func_expf_use = x"yes"; then
11618 for ac_func in expf
11620 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11621 echo "configure
:11622: checking
for $ac_func" >&5
11622 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11623 echo $ac_n "(cached
) $ac_c" 1>&6
11625 cat > conftest.$ac_ext <<EOF
11626 #line 11627 "configure
"
11627 #include "confdefs.h
"
11628 /* System header to define __stub macros and hopefully few prototypes,
11629 which can conflict with char $ac_func(); below. */
11630 #include <assert.h>
11631 /* Override any gcc2 internal prototype to avoid an error. */
11632 /* We use char because int might match the return type of a gcc2
11633 builtin and then its argument prototype would still apply. */
11638 /* The GNU C library defines this for functions which it implements
11639 to always fail with ENOSYS. Some functions are actually named
11640 something starting with __ and the normal name is an alias. */
11641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11649 if { (eval echo configure:11650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11651 eval "ac_cv_func_
$ac_func=yes"
11653 echo "configure
: failed program was
:" >&5
11654 cat conftest.$ac_ext >&5
11656 eval "ac_cv_func_
$ac_func=no
"
11661 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11662 echo "$ac_t""yes" 1>&6
11663 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11664 cat >> confdefs.h <<EOF
11665 #define $ac_tr_func 1
11669 echo "$ac_t""no
" 1>&6
11675 echo $ac_n "checking
for _expf declaration
""...
$ac_c" 1>&6
11676 echo "configure
:11677: checking
for _expf declaration
" >&5
11677 if test x${glibcpp_cv_func__expf_use+set} != xset; then
11678 if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
11679 echo $ac_n "(cached
) $ac_c" 1>&6
11684 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11685 ac_cpp='$CXXCPP $CPPFLAGS'
11686 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11687 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11688 cross_compiling=$ac_cv_prog_cxx_cross
11690 cat > conftest.$ac_ext <<EOF
11691 #line 11692 "configure
"
11692 #include "confdefs.h
"
11694 #ifdef HAVE_IEEEFP_H
11695 #include <ieeefp.h>
11702 if { (eval echo configure:11703: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11704 glibcpp_cv_func__expf_use=yes
11706 echo "configure
: failed program was
:" >&5
11707 cat conftest.$ac_ext >&5
11709 glibcpp_cv_func__expf_use=no
11713 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11714 ac_cpp='$CPP $CPPFLAGS'
11715 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11716 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11717 cross_compiling=$ac_cv_prog_cc_cross
11723 echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
11725 if test x$glibcpp_cv_func__expf_use = x"yes"; then
11726 for ac_func in _expf
11728 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11729 echo "configure
:11730: checking
for $ac_func" >&5
11730 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11731 echo $ac_n "(cached
) $ac_c" 1>&6
11733 cat > conftest.$ac_ext <<EOF
11734 #line 11735 "configure
"
11735 #include "confdefs.h
"
11736 /* System header to define __stub macros and hopefully few prototypes,
11737 which can conflict with char $ac_func(); below. */
11738 #include <assert.h>
11739 /* Override any gcc2 internal prototype to avoid an error. */
11740 /* We use char because int might match the return type of a gcc2
11741 builtin and then its argument prototype would still apply. */
11746 /* The GNU C library defines this for functions which it implements
11747 to always fail with ENOSYS. Some functions are actually named
11748 something starting with __ and the normal name is an alias. */
11749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11757 if { (eval echo configure:11758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11759 eval "ac_cv_func_
$ac_func=yes"
11761 echo "configure
: failed program was
:" >&5
11762 cat conftest.$ac_ext >&5
11764 eval "ac_cv_func_
$ac_func=no
"
11769 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11770 echo "$ac_t""yes" 1>&6
11771 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11772 cat >> confdefs.h <<EOF
11773 #define $ac_tr_func 1
11777 echo "$ac_t""no
" 1>&6
11786 echo $ac_n "checking
for isnanf declaration
""...
$ac_c" 1>&6
11787 echo "configure
:11788: checking
for isnanf declaration
" >&5
11788 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
11789 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
11790 echo $ac_n "(cached
) $ac_c" 1>&6
11795 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11796 ac_cpp='$CXXCPP $CPPFLAGS'
11797 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11798 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11799 cross_compiling=$ac_cv_prog_cxx_cross
11801 cat > conftest.$ac_ext <<EOF
11802 #line 11803 "configure
"
11803 #include "confdefs.h
"
11805 #ifdef HAVE_IEEEFP_H
11806 #include <ieeefp.h>
11813 if { (eval echo configure:11814: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11815 glibcpp_cv_func_isnanf_use=yes
11817 echo "configure
: failed program was
:" >&5
11818 cat conftest.$ac_ext >&5
11820 glibcpp_cv_func_isnanf_use=no
11824 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11825 ac_cpp='$CPP $CPPFLAGS'
11826 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11827 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11828 cross_compiling=$ac_cv_prog_cc_cross
11834 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
11836 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
11837 for ac_func in isnanf
11839 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11840 echo "configure
:11841: checking
for $ac_func" >&5
11841 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11842 echo $ac_n "(cached
) $ac_c" 1>&6
11844 cat > conftest.$ac_ext <<EOF
11845 #line 11846 "configure
"
11846 #include "confdefs.h
"
11847 /* System header to define __stub macros and hopefully few prototypes,
11848 which can conflict with char $ac_func(); below. */
11849 #include <assert.h>
11850 /* Override any gcc2 internal prototype to avoid an error. */
11851 /* We use char because int might match the return type of a gcc2
11852 builtin and then its argument prototype would still apply. */
11857 /* The GNU C library defines this for functions which it implements
11858 to always fail with ENOSYS. Some functions are actually named
11859 something starting with __ and the normal name is an alias. */
11860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11868 if { (eval echo configure:11869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11870 eval "ac_cv_func_
$ac_func=yes"
11872 echo "configure
: failed program was
:" >&5
11873 cat conftest.$ac_ext >&5
11875 eval "ac_cv_func_
$ac_func=no
"
11880 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11881 echo "$ac_t""yes" 1>&6
11882 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11883 cat >> confdefs.h <<EOF
11884 #define $ac_tr_func 1
11888 echo "$ac_t""no
" 1>&6
11894 echo $ac_n "checking
for _isnanf declaration
""...
$ac_c" 1>&6
11895 echo "configure
:11896: checking
for _isnanf declaration
" >&5
11896 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
11897 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
11898 echo $ac_n "(cached
) $ac_c" 1>&6
11903 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11904 ac_cpp='$CXXCPP $CPPFLAGS'
11905 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11906 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11907 cross_compiling=$ac_cv_prog_cxx_cross
11909 cat > conftest.$ac_ext <<EOF
11910 #line 11911 "configure
"
11911 #include "confdefs.h
"
11913 #ifdef HAVE_IEEEFP_H
11914 #include <ieeefp.h>
11921 if { (eval echo configure:11922: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11923 glibcpp_cv_func__isnanf_use=yes
11925 echo "configure
: failed program was
:" >&5
11926 cat conftest.$ac_ext >&5
11928 glibcpp_cv_func__isnanf_use=no
11932 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11933 ac_cpp='$CPP $CPPFLAGS'
11934 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11935 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11936 cross_compiling=$ac_cv_prog_cc_cross
11942 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
11944 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
11945 for ac_func in _isnanf
11947 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11948 echo "configure
:11949: checking
for $ac_func" >&5
11949 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11950 echo $ac_n "(cached
) $ac_c" 1>&6
11952 cat > conftest.$ac_ext <<EOF
11953 #line 11954 "configure
"
11954 #include "confdefs.h
"
11955 /* System header to define __stub macros and hopefully few prototypes,
11956 which can conflict with char $ac_func(); below. */
11957 #include <assert.h>
11958 /* Override any gcc2 internal prototype to avoid an error. */
11959 /* We use char because int might match the return type of a gcc2
11960 builtin and then its argument prototype would still apply. */
11965 /* The GNU C library defines this for functions which it implements
11966 to always fail with ENOSYS. Some functions are actually named
11967 something starting with __ and the normal name is an alias. */
11968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11976 if { (eval echo configure:11977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11978 eval "ac_cv_func_
$ac_func=yes"
11980 echo "configure
: failed program was
:" >&5
11981 cat conftest.$ac_ext >&5
11983 eval "ac_cv_func_
$ac_func=no
"
11988 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11989 echo "$ac_t""yes" 1>&6
11990 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11991 cat >> confdefs.h <<EOF
11992 #define $ac_tr_func 1
11996 echo "$ac_t""no
" 1>&6
12005 echo $ac_n "checking
for isinff declaration
""...
$ac_c" 1>&6
12006 echo "configure
:12007: checking
for isinff declaration
" >&5
12007 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
12008 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
12009 echo $ac_n "(cached
) $ac_c" 1>&6
12014 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12015 ac_cpp='$CXXCPP $CPPFLAGS'
12016 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12017 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12018 cross_compiling=$ac_cv_prog_cxx_cross
12020 cat > conftest.$ac_ext <<EOF
12021 #line 12022 "configure
"
12022 #include "confdefs.h
"
12024 #ifdef HAVE_IEEEFP_H
12025 #include <ieeefp.h>
12032 if { (eval echo configure:12033: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12034 glibcpp_cv_func_isinff_use=yes
12036 echo "configure
: failed program was
:" >&5
12037 cat conftest.$ac_ext >&5
12039 glibcpp_cv_func_isinff_use=no
12043 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12044 ac_cpp='$CPP $CPPFLAGS'
12045 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12046 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12047 cross_compiling=$ac_cv_prog_cc_cross
12053 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
12055 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
12056 for ac_func in isinff
12058 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12059 echo "configure
:12060: checking
for $ac_func" >&5
12060 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12061 echo $ac_n "(cached
) $ac_c" 1>&6
12063 cat > conftest.$ac_ext <<EOF
12064 #line 12065 "configure
"
12065 #include "confdefs.h
"
12066 /* System header to define __stub macros and hopefully few prototypes,
12067 which can conflict with char $ac_func(); below. */
12068 #include <assert.h>
12069 /* Override any gcc2 internal prototype to avoid an error. */
12070 /* We use char because int might match the return type of a gcc2
12071 builtin and then its argument prototype would still apply. */
12076 /* The GNU C library defines this for functions which it implements
12077 to always fail with ENOSYS. Some functions are actually named
12078 something starting with __ and the normal name is an alias. */
12079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12087 if { (eval echo configure:12088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12089 eval "ac_cv_func_
$ac_func=yes"
12091 echo "configure
: failed program was
:" >&5
12092 cat conftest.$ac_ext >&5
12094 eval "ac_cv_func_
$ac_func=no
"
12099 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12100 echo "$ac_t""yes" 1>&6
12101 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12102 cat >> confdefs.h <<EOF
12103 #define $ac_tr_func 1
12107 echo "$ac_t""no
" 1>&6
12113 echo $ac_n "checking
for _isinff declaration
""...
$ac_c" 1>&6
12114 echo "configure
:12115: checking
for _isinff declaration
" >&5
12115 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
12116 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
12117 echo $ac_n "(cached
) $ac_c" 1>&6
12122 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12123 ac_cpp='$CXXCPP $CPPFLAGS'
12124 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12125 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12126 cross_compiling=$ac_cv_prog_cxx_cross
12128 cat > conftest.$ac_ext <<EOF
12129 #line 12130 "configure
"
12130 #include "confdefs.h
"
12132 #ifdef HAVE_IEEEFP_H
12133 #include <ieeefp.h>
12140 if { (eval echo configure:12141: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12142 glibcpp_cv_func__isinff_use=yes
12144 echo "configure
: failed program was
:" >&5
12145 cat conftest.$ac_ext >&5
12147 glibcpp_cv_func__isinff_use=no
12151 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12152 ac_cpp='$CPP $CPPFLAGS'
12153 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12154 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12155 cross_compiling=$ac_cv_prog_cc_cross
12161 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
12163 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
12164 for ac_func in _isinff
12166 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12167 echo "configure
:12168: checking
for $ac_func" >&5
12168 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12169 echo $ac_n "(cached
) $ac_c" 1>&6
12171 cat > conftest.$ac_ext <<EOF
12172 #line 12173 "configure
"
12173 #include "confdefs.h
"
12174 /* System header to define __stub macros and hopefully few prototypes,
12175 which can conflict with char $ac_func(); below. */
12176 #include <assert.h>
12177 /* Override any gcc2 internal prototype to avoid an error. */
12178 /* We use char because int might match the return type of a gcc2
12179 builtin and then its argument prototype would still apply. */
12184 /* The GNU C library defines this for functions which it implements
12185 to always fail with ENOSYS. Some functions are actually named
12186 something starting with __ and the normal name is an alias. */
12187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12195 if { (eval echo configure:12196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12197 eval "ac_cv_func_
$ac_func=yes"
12199 echo "configure
: failed program was
:" >&5
12200 cat conftest.$ac_ext >&5
12202 eval "ac_cv_func_
$ac_func=no
"
12207 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12208 echo "$ac_t""yes" 1>&6
12209 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12210 cat >> confdefs.h <<EOF
12211 #define $ac_tr_func 1
12215 echo "$ac_t""no
" 1>&6
12224 echo $ac_n "checking
for atan2f declaration
""...
$ac_c" 1>&6
12225 echo "configure
:12226: checking
for atan2f declaration
" >&5
12226 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
12227 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
12228 echo $ac_n "(cached
) $ac_c" 1>&6
12233 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12234 ac_cpp='$CXXCPP $CPPFLAGS'
12235 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12236 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12237 cross_compiling=$ac_cv_prog_cxx_cross
12239 cat > conftest.$ac_ext <<EOF
12240 #line 12241 "configure
"
12241 #include "confdefs.h
"
12247 if { (eval echo configure:12248: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12249 glibcpp_cv_func_atan2f_use=yes
12251 echo "configure
: failed program was
:" >&5
12252 cat conftest.$ac_ext >&5
12254 glibcpp_cv_func_atan2f_use=no
12258 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12259 ac_cpp='$CPP $CPPFLAGS'
12260 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12261 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12262 cross_compiling=$ac_cv_prog_cc_cross
12268 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
12270 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
12271 for ac_func in atan2f
12273 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12274 echo "configure
:12275: checking
for $ac_func" >&5
12275 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12276 echo $ac_n "(cached
) $ac_c" 1>&6
12278 cat > conftest.$ac_ext <<EOF
12279 #line 12280 "configure
"
12280 #include "confdefs.h
"
12281 /* System header to define __stub macros and hopefully few prototypes,
12282 which can conflict with char $ac_func(); below. */
12283 #include <assert.h>
12284 /* Override any gcc2 internal prototype to avoid an error. */
12285 /* We use char because int might match the return type of a gcc2
12286 builtin and then its argument prototype would still apply. */
12291 /* The GNU C library defines this for functions which it implements
12292 to always fail with ENOSYS. Some functions are actually named
12293 something starting with __ and the normal name is an alias. */
12294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12302 if { (eval echo configure:12303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12304 eval "ac_cv_func_
$ac_func=yes"
12306 echo "configure
: failed program was
:" >&5
12307 cat conftest.$ac_ext >&5
12309 eval "ac_cv_func_
$ac_func=no
"
12314 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12315 echo "$ac_t""yes" 1>&6
12316 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12317 cat >> confdefs.h <<EOF
12318 #define $ac_tr_func 1
12322 echo "$ac_t""no
" 1>&6
12328 echo $ac_n "checking
for _atan2f declaration
""...
$ac_c" 1>&6
12329 echo "configure
:12330: checking
for _atan2f declaration
" >&5
12330 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
12331 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
12332 echo $ac_n "(cached
) $ac_c" 1>&6
12337 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12338 ac_cpp='$CXXCPP $CPPFLAGS'
12339 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12340 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12341 cross_compiling=$ac_cv_prog_cxx_cross
12343 cat > conftest.$ac_ext <<EOF
12344 #line 12345 "configure
"
12345 #include "confdefs.h
"
12351 if { (eval echo configure:12352: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12353 glibcpp_cv_func__atan2f_use=yes
12355 echo "configure
: failed program was
:" >&5
12356 cat conftest.$ac_ext >&5
12358 glibcpp_cv_func__atan2f_use=no
12362 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12363 ac_cpp='$CPP $CPPFLAGS'
12364 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12365 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12366 cross_compiling=$ac_cv_prog_cc_cross
12372 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
12374 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
12375 for ac_func in _atan2f
12377 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12378 echo "configure
:12379: checking
for $ac_func" >&5
12379 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12380 echo $ac_n "(cached
) $ac_c" 1>&6
12382 cat > conftest.$ac_ext <<EOF
12383 #line 12384 "configure
"
12384 #include "confdefs.h
"
12385 /* System header to define __stub macros and hopefully few prototypes,
12386 which can conflict with char $ac_func(); below. */
12387 #include <assert.h>
12388 /* Override any gcc2 internal prototype to avoid an error. */
12389 /* We use char because int might match the return type of a gcc2
12390 builtin and then its argument prototype would still apply. */
12395 /* The GNU C library defines this for functions which it implements
12396 to always fail with ENOSYS. Some functions are actually named
12397 something starting with __ and the normal name is an alias. */
12398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12406 if { (eval echo configure:12407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12408 eval "ac_cv_func_
$ac_func=yes"
12410 echo "configure
: failed program was
:" >&5
12411 cat conftest.$ac_ext >&5
12413 eval "ac_cv_func_
$ac_func=no
"
12418 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12419 echo "$ac_t""yes" 1>&6
12420 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12421 cat >> confdefs.h <<EOF
12422 #define $ac_tr_func 1
12426 echo "$ac_t""no
" 1>&6
12435 echo $ac_n "checking
for fabsf declaration
""...
$ac_c" 1>&6
12436 echo "configure
:12437: checking
for fabsf declaration
" >&5
12437 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
12438 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
12439 echo $ac_n "(cached
) $ac_c" 1>&6
12444 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12445 ac_cpp='$CXXCPP $CPPFLAGS'
12446 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12447 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12448 cross_compiling=$ac_cv_prog_cxx_cross
12450 cat > conftest.$ac_ext <<EOF
12451 #line 12452 "configure
"
12452 #include "confdefs.h
"
12454 #ifdef HAVE_IEEEFP_H
12455 #include <ieeefp.h>
12462 if { (eval echo configure:12463: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12464 glibcpp_cv_func_fabsf_use=yes
12466 echo "configure
: failed program was
:" >&5
12467 cat conftest.$ac_ext >&5
12469 glibcpp_cv_func_fabsf_use=no
12473 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12474 ac_cpp='$CPP $CPPFLAGS'
12475 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12476 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12477 cross_compiling=$ac_cv_prog_cc_cross
12483 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
12485 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
12486 for ac_func in fabsf
12488 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12489 echo "configure
:12490: checking
for $ac_func" >&5
12490 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12491 echo $ac_n "(cached
) $ac_c" 1>&6
12493 cat > conftest.$ac_ext <<EOF
12494 #line 12495 "configure
"
12495 #include "confdefs.h
"
12496 /* System header to define __stub macros and hopefully few prototypes,
12497 which can conflict with char $ac_func(); below. */
12498 #include <assert.h>
12499 /* Override any gcc2 internal prototype to avoid an error. */
12500 /* We use char because int might match the return type of a gcc2
12501 builtin and then its argument prototype would still apply. */
12506 /* The GNU C library defines this for functions which it implements
12507 to always fail with ENOSYS. Some functions are actually named
12508 something starting with __ and the normal name is an alias. */
12509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12517 if { (eval echo configure:12518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12519 eval "ac_cv_func_
$ac_func=yes"
12521 echo "configure
: failed program was
:" >&5
12522 cat conftest.$ac_ext >&5
12524 eval "ac_cv_func_
$ac_func=no
"
12529 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12530 echo "$ac_t""yes" 1>&6
12531 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12532 cat >> confdefs.h <<EOF
12533 #define $ac_tr_func 1
12537 echo "$ac_t""no
" 1>&6
12543 echo $ac_n "checking
for _fabsf declaration
""...
$ac_c" 1>&6
12544 echo "configure
:12545: checking
for _fabsf declaration
" >&5
12545 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
12546 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
12547 echo $ac_n "(cached
) $ac_c" 1>&6
12552 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12553 ac_cpp='$CXXCPP $CPPFLAGS'
12554 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12555 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12556 cross_compiling=$ac_cv_prog_cxx_cross
12558 cat > conftest.$ac_ext <<EOF
12559 #line 12560 "configure
"
12560 #include "confdefs.h
"
12562 #ifdef HAVE_IEEEFP_H
12563 #include <ieeefp.h>
12570 if { (eval echo configure:12571: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12572 glibcpp_cv_func__fabsf_use=yes
12574 echo "configure
: failed program was
:" >&5
12575 cat conftest.$ac_ext >&5
12577 glibcpp_cv_func__fabsf_use=no
12581 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12582 ac_cpp='$CPP $CPPFLAGS'
12583 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12584 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12585 cross_compiling=$ac_cv_prog_cc_cross
12591 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
12593 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
12594 for ac_func in _fabsf
12596 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12597 echo "configure
:12598: checking
for $ac_func" >&5
12598 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12599 echo $ac_n "(cached
) $ac_c" 1>&6
12601 cat > conftest.$ac_ext <<EOF
12602 #line 12603 "configure
"
12603 #include "confdefs.h
"
12604 /* System header to define __stub macros and hopefully few prototypes,
12605 which can conflict with char $ac_func(); below. */
12606 #include <assert.h>
12607 /* Override any gcc2 internal prototype to avoid an error. */
12608 /* We use char because int might match the return type of a gcc2
12609 builtin and then its argument prototype would still apply. */
12614 /* The GNU C library defines this for functions which it implements
12615 to always fail with ENOSYS. Some functions are actually named
12616 something starting with __ and the normal name is an alias. */
12617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12625 if { (eval echo configure:12626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12627 eval "ac_cv_func_
$ac_func=yes"
12629 echo "configure
: failed program was
:" >&5
12630 cat conftest.$ac_ext >&5
12632 eval "ac_cv_func_
$ac_func=no
"
12637 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12638 echo "$ac_t""yes" 1>&6
12639 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12640 cat >> confdefs.h <<EOF
12641 #define $ac_tr_func 1
12645 echo "$ac_t""no
" 1>&6
12654 echo $ac_n "checking
for fmodf declaration
""...
$ac_c" 1>&6
12655 echo "configure
:12656: checking
for fmodf declaration
" >&5
12656 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
12657 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
12658 echo $ac_n "(cached
) $ac_c" 1>&6
12663 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12664 ac_cpp='$CXXCPP $CPPFLAGS'
12665 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12666 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12667 cross_compiling=$ac_cv_prog_cxx_cross
12669 cat > conftest.$ac_ext <<EOF
12670 #line 12671 "configure
"
12671 #include "confdefs.h
"
12677 if { (eval echo configure:12678: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12679 glibcpp_cv_func_fmodf_use=yes
12681 echo "configure
: failed program was
:" >&5
12682 cat conftest.$ac_ext >&5
12684 glibcpp_cv_func_fmodf_use=no
12688 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12689 ac_cpp='$CPP $CPPFLAGS'
12690 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12691 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12692 cross_compiling=$ac_cv_prog_cc_cross
12698 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
12700 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
12701 for ac_func in fmodf
12703 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12704 echo "configure
:12705: checking
for $ac_func" >&5
12705 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12706 echo $ac_n "(cached
) $ac_c" 1>&6
12708 cat > conftest.$ac_ext <<EOF
12709 #line 12710 "configure
"
12710 #include "confdefs.h
"
12711 /* System header to define __stub macros and hopefully few prototypes,
12712 which can conflict with char $ac_func(); below. */
12713 #include <assert.h>
12714 /* Override any gcc2 internal prototype to avoid an error. */
12715 /* We use char because int might match the return type of a gcc2
12716 builtin and then its argument prototype would still apply. */
12721 /* The GNU C library defines this for functions which it implements
12722 to always fail with ENOSYS. Some functions are actually named
12723 something starting with __ and the normal name is an alias. */
12724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12732 if { (eval echo configure:12733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12734 eval "ac_cv_func_
$ac_func=yes"
12736 echo "configure
: failed program was
:" >&5
12737 cat conftest.$ac_ext >&5
12739 eval "ac_cv_func_
$ac_func=no
"
12744 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12745 echo "$ac_t""yes" 1>&6
12746 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12747 cat >> confdefs.h <<EOF
12748 #define $ac_tr_func 1
12752 echo "$ac_t""no
" 1>&6
12758 echo $ac_n "checking
for _fmodf declaration
""...
$ac_c" 1>&6
12759 echo "configure
:12760: checking
for _fmodf declaration
" >&5
12760 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
12761 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
12762 echo $ac_n "(cached
) $ac_c" 1>&6
12767 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12768 ac_cpp='$CXXCPP $CPPFLAGS'
12769 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12770 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12771 cross_compiling=$ac_cv_prog_cxx_cross
12773 cat > conftest.$ac_ext <<EOF
12774 #line 12775 "configure
"
12775 #include "confdefs.h
"
12781 if { (eval echo configure:12782: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12783 glibcpp_cv_func__fmodf_use=yes
12785 echo "configure
: failed program was
:" >&5
12786 cat conftest.$ac_ext >&5
12788 glibcpp_cv_func__fmodf_use=no
12792 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12793 ac_cpp='$CPP $CPPFLAGS'
12794 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12795 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12796 cross_compiling=$ac_cv_prog_cc_cross
12802 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
12804 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
12805 for ac_func in _fmodf
12807 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12808 echo "configure
:12809: checking
for $ac_func" >&5
12809 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12810 echo $ac_n "(cached
) $ac_c" 1>&6
12812 cat > conftest.$ac_ext <<EOF
12813 #line 12814 "configure
"
12814 #include "confdefs.h
"
12815 /* System header to define __stub macros and hopefully few prototypes,
12816 which can conflict with char $ac_func(); below. */
12817 #include <assert.h>
12818 /* Override any gcc2 internal prototype to avoid an error. */
12819 /* We use char because int might match the return type of a gcc2
12820 builtin and then its argument prototype would still apply. */
12825 /* The GNU C library defines this for functions which it implements
12826 to always fail with ENOSYS. Some functions are actually named
12827 something starting with __ and the normal name is an alias. */
12828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12836 if { (eval echo configure:12837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12838 eval "ac_cv_func_
$ac_func=yes"
12840 echo "configure
: failed program was
:" >&5
12841 cat conftest.$ac_ext >&5
12843 eval "ac_cv_func_
$ac_func=no
"
12848 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12849 echo "$ac_t""yes" 1>&6
12850 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12851 cat >> confdefs.h <<EOF
12852 #define $ac_tr_func 1
12856 echo "$ac_t""no
" 1>&6
12865 echo $ac_n "checking
for frexpf declaration
""...
$ac_c" 1>&6
12866 echo "configure
:12867: checking
for frexpf declaration
" >&5
12867 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
12868 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
12869 echo $ac_n "(cached
) $ac_c" 1>&6
12874 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12875 ac_cpp='$CXXCPP $CPPFLAGS'
12876 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12877 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12878 cross_compiling=$ac_cv_prog_cxx_cross
12880 cat > conftest.$ac_ext <<EOF
12881 #line 12882 "configure
"
12882 #include "confdefs.h
"
12888 if { (eval echo configure:12889: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12890 glibcpp_cv_func_frexpf_use=yes
12892 echo "configure
: failed program was
:" >&5
12893 cat conftest.$ac_ext >&5
12895 glibcpp_cv_func_frexpf_use=no
12899 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12900 ac_cpp='$CPP $CPPFLAGS'
12901 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12902 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12903 cross_compiling=$ac_cv_prog_cc_cross
12909 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
12911 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
12912 for ac_func in frexpf
12914 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12915 echo "configure
:12916: checking
for $ac_func" >&5
12916 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12917 echo $ac_n "(cached
) $ac_c" 1>&6
12919 cat > conftest.$ac_ext <<EOF
12920 #line 12921 "configure
"
12921 #include "confdefs.h
"
12922 /* System header to define __stub macros and hopefully few prototypes,
12923 which can conflict with char $ac_func(); below. */
12924 #include <assert.h>
12925 /* Override any gcc2 internal prototype to avoid an error. */
12926 /* We use char because int might match the return type of a gcc2
12927 builtin and then its argument prototype would still apply. */
12932 /* The GNU C library defines this for functions which it implements
12933 to always fail with ENOSYS. Some functions are actually named
12934 something starting with __ and the normal name is an alias. */
12935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12943 if { (eval echo configure:12944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12945 eval "ac_cv_func_
$ac_func=yes"
12947 echo "configure
: failed program was
:" >&5
12948 cat conftest.$ac_ext >&5
12950 eval "ac_cv_func_
$ac_func=no
"
12955 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12956 echo "$ac_t""yes" 1>&6
12957 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12958 cat >> confdefs.h <<EOF
12959 #define $ac_tr_func 1
12963 echo "$ac_t""no
" 1>&6
12969 echo $ac_n "checking
for _frexpf declaration
""...
$ac_c" 1>&6
12970 echo "configure
:12971: checking
for _frexpf declaration
" >&5
12971 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
12972 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
12973 echo $ac_n "(cached
) $ac_c" 1>&6
12978 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12979 ac_cpp='$CXXCPP $CPPFLAGS'
12980 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12981 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12982 cross_compiling=$ac_cv_prog_cxx_cross
12984 cat > conftest.$ac_ext <<EOF
12985 #line 12986 "configure
"
12986 #include "confdefs.h
"
12992 if { (eval echo configure:12993: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12994 glibcpp_cv_func__frexpf_use=yes
12996 echo "configure
: failed program was
:" >&5
12997 cat conftest.$ac_ext >&5
12999 glibcpp_cv_func__frexpf_use=no
13003 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13004 ac_cpp='$CPP $CPPFLAGS'
13005 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13006 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13007 cross_compiling=$ac_cv_prog_cc_cross
13013 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
13015 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
13016 for ac_func in _frexpf
13018 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13019 echo "configure
:13020: checking
for $ac_func" >&5
13020 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13021 echo $ac_n "(cached
) $ac_c" 1>&6
13023 cat > conftest.$ac_ext <<EOF
13024 #line 13025 "configure
"
13025 #include "confdefs.h
"
13026 /* System header to define __stub macros and hopefully few prototypes,
13027 which can conflict with char $ac_func(); below. */
13028 #include <assert.h>
13029 /* Override any gcc2 internal prototype to avoid an error. */
13030 /* We use char because int might match the return type of a gcc2
13031 builtin and then its argument prototype would still apply. */
13036 /* The GNU C library defines this for functions which it implements
13037 to always fail with ENOSYS. Some functions are actually named
13038 something starting with __ and the normal name is an alias. */
13039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13047 if { (eval echo configure:13048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13049 eval "ac_cv_func_
$ac_func=yes"
13051 echo "configure
: failed program was
:" >&5
13052 cat conftest.$ac_ext >&5
13054 eval "ac_cv_func_
$ac_func=no
"
13059 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13060 echo "$ac_t""yes" 1>&6
13061 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13062 cat >> confdefs.h <<EOF
13063 #define $ac_tr_func 1
13067 echo "$ac_t""no
" 1>&6
13076 echo $ac_n "checking
for hypotf declaration
""...
$ac_c" 1>&6
13077 echo "configure
:13078: checking
for hypotf declaration
" >&5
13078 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
13079 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
13080 echo $ac_n "(cached
) $ac_c" 1>&6
13085 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13086 ac_cpp='$CXXCPP $CPPFLAGS'
13087 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13088 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13089 cross_compiling=$ac_cv_prog_cxx_cross
13091 cat > conftest.$ac_ext <<EOF
13092 #line 13093 "configure
"
13093 #include "confdefs.h
"
13099 if { (eval echo configure:13100: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13101 glibcpp_cv_func_hypotf_use=yes
13103 echo "configure
: failed program was
:" >&5
13104 cat conftest.$ac_ext >&5
13106 glibcpp_cv_func_hypotf_use=no
13110 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13111 ac_cpp='$CPP $CPPFLAGS'
13112 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13113 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13114 cross_compiling=$ac_cv_prog_cc_cross
13120 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
13122 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
13123 for ac_func in hypotf
13125 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13126 echo "configure
:13127: checking
for $ac_func" >&5
13127 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13128 echo $ac_n "(cached
) $ac_c" 1>&6
13130 cat > conftest.$ac_ext <<EOF
13131 #line 13132 "configure
"
13132 #include "confdefs.h
"
13133 /* System header to define __stub macros and hopefully few prototypes,
13134 which can conflict with char $ac_func(); below. */
13135 #include <assert.h>
13136 /* Override any gcc2 internal prototype to avoid an error. */
13137 /* We use char because int might match the return type of a gcc2
13138 builtin and then its argument prototype would still apply. */
13143 /* The GNU C library defines this for functions which it implements
13144 to always fail with ENOSYS. Some functions are actually named
13145 something starting with __ and the normal name is an alias. */
13146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13154 if { (eval echo configure:13155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13156 eval "ac_cv_func_
$ac_func=yes"
13158 echo "configure
: failed program was
:" >&5
13159 cat conftest.$ac_ext >&5
13161 eval "ac_cv_func_
$ac_func=no
"
13166 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13167 echo "$ac_t""yes" 1>&6
13168 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13169 cat >> confdefs.h <<EOF
13170 #define $ac_tr_func 1
13174 echo "$ac_t""no
" 1>&6
13180 echo $ac_n "checking
for _hypotf declaration
""...
$ac_c" 1>&6
13181 echo "configure
:13182: checking
for _hypotf declaration
" >&5
13182 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
13183 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
13184 echo $ac_n "(cached
) $ac_c" 1>&6
13189 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13190 ac_cpp='$CXXCPP $CPPFLAGS'
13191 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13192 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13193 cross_compiling=$ac_cv_prog_cxx_cross
13195 cat > conftest.$ac_ext <<EOF
13196 #line 13197 "configure
"
13197 #include "confdefs.h
"
13203 if { (eval echo configure:13204: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13205 glibcpp_cv_func__hypotf_use=yes
13207 echo "configure
: failed program was
:" >&5
13208 cat conftest.$ac_ext >&5
13210 glibcpp_cv_func__hypotf_use=no
13214 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13215 ac_cpp='$CPP $CPPFLAGS'
13216 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13217 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13218 cross_compiling=$ac_cv_prog_cc_cross
13224 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
13226 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
13227 for ac_func in _hypotf
13229 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13230 echo "configure
:13231: checking
for $ac_func" >&5
13231 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13232 echo $ac_n "(cached
) $ac_c" 1>&6
13234 cat > conftest.$ac_ext <<EOF
13235 #line 13236 "configure
"
13236 #include "confdefs.h
"
13237 /* System header to define __stub macros and hopefully few prototypes,
13238 which can conflict with char $ac_func(); below. */
13239 #include <assert.h>
13240 /* Override any gcc2 internal prototype to avoid an error. */
13241 /* We use char because int might match the return type of a gcc2
13242 builtin and then its argument prototype would still apply. */
13247 /* The GNU C library defines this for functions which it implements
13248 to always fail with ENOSYS. Some functions are actually named
13249 something starting with __ and the normal name is an alias. */
13250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13258 if { (eval echo configure:13259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13260 eval "ac_cv_func_
$ac_func=yes"
13262 echo "configure
: failed program was
:" >&5
13263 cat conftest.$ac_ext >&5
13265 eval "ac_cv_func_
$ac_func=no
"
13270 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13271 echo "$ac_t""yes" 1>&6
13272 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13273 cat >> confdefs.h <<EOF
13274 #define $ac_tr_func 1
13278 echo "$ac_t""no
" 1>&6
13287 echo $ac_n "checking
for ldexpf declaration
""...
$ac_c" 1>&6
13288 echo "configure
:13289: checking
for ldexpf declaration
" >&5
13289 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
13290 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
13291 echo $ac_n "(cached
) $ac_c" 1>&6
13296 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13297 ac_cpp='$CXXCPP $CPPFLAGS'
13298 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13299 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13300 cross_compiling=$ac_cv_prog_cxx_cross
13302 cat > conftest.$ac_ext <<EOF
13303 #line 13304 "configure
"
13304 #include "confdefs.h
"
13310 if { (eval echo configure:13311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13312 glibcpp_cv_func_ldexpf_use=yes
13314 echo "configure
: failed program was
:" >&5
13315 cat conftest.$ac_ext >&5
13317 glibcpp_cv_func_ldexpf_use=no
13321 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13322 ac_cpp='$CPP $CPPFLAGS'
13323 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13324 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13325 cross_compiling=$ac_cv_prog_cc_cross
13331 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
13333 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
13334 for ac_func in ldexpf
13336 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13337 echo "configure
:13338: checking
for $ac_func" >&5
13338 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13339 echo $ac_n "(cached
) $ac_c" 1>&6
13341 cat > conftest.$ac_ext <<EOF
13342 #line 13343 "configure
"
13343 #include "confdefs.h
"
13344 /* System header to define __stub macros and hopefully few prototypes,
13345 which can conflict with char $ac_func(); below. */
13346 #include <assert.h>
13347 /* Override any gcc2 internal prototype to avoid an error. */
13348 /* We use char because int might match the return type of a gcc2
13349 builtin and then its argument prototype would still apply. */
13354 /* The GNU C library defines this for functions which it implements
13355 to always fail with ENOSYS. Some functions are actually named
13356 something starting with __ and the normal name is an alias. */
13357 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13365 if { (eval echo configure:13366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13367 eval "ac_cv_func_
$ac_func=yes"
13369 echo "configure
: failed program was
:" >&5
13370 cat conftest.$ac_ext >&5
13372 eval "ac_cv_func_
$ac_func=no
"
13377 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13378 echo "$ac_t""yes" 1>&6
13379 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13380 cat >> confdefs.h <<EOF
13381 #define $ac_tr_func 1
13385 echo "$ac_t""no
" 1>&6
13391 echo $ac_n "checking
for _ldexpf declaration
""...
$ac_c" 1>&6
13392 echo "configure
:13393: checking
for _ldexpf declaration
" >&5
13393 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
13394 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
13395 echo $ac_n "(cached
) $ac_c" 1>&6
13400 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13401 ac_cpp='$CXXCPP $CPPFLAGS'
13402 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13403 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13404 cross_compiling=$ac_cv_prog_cxx_cross
13406 cat > conftest.$ac_ext <<EOF
13407 #line 13408 "configure
"
13408 #include "confdefs.h
"
13414 if { (eval echo configure:13415: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13416 glibcpp_cv_func__ldexpf_use=yes
13418 echo "configure
: failed program was
:" >&5
13419 cat conftest.$ac_ext >&5
13421 glibcpp_cv_func__ldexpf_use=no
13425 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13426 ac_cpp='$CPP $CPPFLAGS'
13427 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13428 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13429 cross_compiling=$ac_cv_prog_cc_cross
13435 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
13437 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
13438 for ac_func in _ldexpf
13440 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13441 echo "configure
:13442: checking
for $ac_func" >&5
13442 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13443 echo $ac_n "(cached
) $ac_c" 1>&6
13445 cat > conftest.$ac_ext <<EOF
13446 #line 13447 "configure
"
13447 #include "confdefs.h
"
13448 /* System header to define __stub macros and hopefully few prototypes,
13449 which can conflict with char $ac_func(); below. */
13450 #include <assert.h>
13451 /* Override any gcc2 internal prototype to avoid an error. */
13452 /* We use char because int might match the return type of a gcc2
13453 builtin and then its argument prototype would still apply. */
13458 /* The GNU C library defines this for functions which it implements
13459 to always fail with ENOSYS. Some functions are actually named
13460 something starting with __ and the normal name is an alias. */
13461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13469 if { (eval echo configure:13470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13471 eval "ac_cv_func_
$ac_func=yes"
13473 echo "configure
: failed program was
:" >&5
13474 cat conftest.$ac_ext >&5
13476 eval "ac_cv_func_
$ac_func=no
"
13481 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13482 echo "$ac_t""yes" 1>&6
13483 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13484 cat >> confdefs.h <<EOF
13485 #define $ac_tr_func 1
13489 echo "$ac_t""no
" 1>&6
13498 echo $ac_n "checking
for logf declaration
""...
$ac_c" 1>&6
13499 echo "configure
:13500: checking
for logf declaration
" >&5
13500 if test x${glibcpp_cv_func_logf_use+set} != xset; then
13501 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
13502 echo $ac_n "(cached
) $ac_c" 1>&6
13507 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13508 ac_cpp='$CXXCPP $CPPFLAGS'
13509 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13510 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13511 cross_compiling=$ac_cv_prog_cxx_cross
13513 cat > conftest.$ac_ext <<EOF
13514 #line 13515 "configure
"
13515 #include "confdefs.h
"
13517 #ifdef HAVE_IEEEFP_H
13518 #include <ieeefp.h>
13525 if { (eval echo configure:13526: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13527 glibcpp_cv_func_logf_use=yes
13529 echo "configure
: failed program was
:" >&5
13530 cat conftest.$ac_ext >&5
13532 glibcpp_cv_func_logf_use=no
13536 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13537 ac_cpp='$CPP $CPPFLAGS'
13538 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13539 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13540 cross_compiling=$ac_cv_prog_cc_cross
13546 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
13548 if test x$glibcpp_cv_func_logf_use = x"yes"; then
13549 for ac_func in logf
13551 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13552 echo "configure
:13553: checking
for $ac_func" >&5
13553 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13554 echo $ac_n "(cached
) $ac_c" 1>&6
13556 cat > conftest.$ac_ext <<EOF
13557 #line 13558 "configure
"
13558 #include "confdefs.h
"
13559 /* System header to define __stub macros and hopefully few prototypes,
13560 which can conflict with char $ac_func(); below. */
13561 #include <assert.h>
13562 /* Override any gcc2 internal prototype to avoid an error. */
13563 /* We use char because int might match the return type of a gcc2
13564 builtin and then its argument prototype would still apply. */
13569 /* The GNU C library defines this for functions which it implements
13570 to always fail with ENOSYS. Some functions are actually named
13571 something starting with __ and the normal name is an alias. */
13572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13580 if { (eval echo configure:13581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13582 eval "ac_cv_func_
$ac_func=yes"
13584 echo "configure
: failed program was
:" >&5
13585 cat conftest.$ac_ext >&5
13587 eval "ac_cv_func_
$ac_func=no
"
13592 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13593 echo "$ac_t""yes" 1>&6
13594 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13595 cat >> confdefs.h <<EOF
13596 #define $ac_tr_func 1
13600 echo "$ac_t""no
" 1>&6
13606 echo $ac_n "checking
for _logf declaration
""...
$ac_c" 1>&6
13607 echo "configure
:13608: checking
for _logf declaration
" >&5
13608 if test x${glibcpp_cv_func__logf_use+set} != xset; then
13609 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
13610 echo $ac_n "(cached
) $ac_c" 1>&6
13615 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13616 ac_cpp='$CXXCPP $CPPFLAGS'
13617 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13618 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13619 cross_compiling=$ac_cv_prog_cxx_cross
13621 cat > conftest.$ac_ext <<EOF
13622 #line 13623 "configure
"
13623 #include "confdefs.h
"
13625 #ifdef HAVE_IEEEFP_H
13626 #include <ieeefp.h>
13633 if { (eval echo configure:13634: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13635 glibcpp_cv_func__logf_use=yes
13637 echo "configure
: failed program was
:" >&5
13638 cat conftest.$ac_ext >&5
13640 glibcpp_cv_func__logf_use=no
13644 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13645 ac_cpp='$CPP $CPPFLAGS'
13646 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13647 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13648 cross_compiling=$ac_cv_prog_cc_cross
13654 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
13656 if test x$glibcpp_cv_func__logf_use = x"yes"; then
13657 for ac_func in _logf
13659 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13660 echo "configure
:13661: checking
for $ac_func" >&5
13661 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13662 echo $ac_n "(cached
) $ac_c" 1>&6
13664 cat > conftest.$ac_ext <<EOF
13665 #line 13666 "configure
"
13666 #include "confdefs.h
"
13667 /* System header to define __stub macros and hopefully few prototypes,
13668 which can conflict with char $ac_func(); below. */
13669 #include <assert.h>
13670 /* Override any gcc2 internal prototype to avoid an error. */
13671 /* We use char because int might match the return type of a gcc2
13672 builtin and then its argument prototype would still apply. */
13677 /* The GNU C library defines this for functions which it implements
13678 to always fail with ENOSYS. Some functions are actually named
13679 something starting with __ and the normal name is an alias. */
13680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13688 if { (eval echo configure:13689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13690 eval "ac_cv_func_
$ac_func=yes"
13692 echo "configure
: failed program was
:" >&5
13693 cat conftest.$ac_ext >&5
13695 eval "ac_cv_func_
$ac_func=no
"
13700 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13701 echo "$ac_t""yes" 1>&6
13702 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13703 cat >> confdefs.h <<EOF
13704 #define $ac_tr_func 1
13708 echo "$ac_t""no
" 1>&6
13717 echo $ac_n "checking
for log10f declaration
""...
$ac_c" 1>&6
13718 echo "configure
:13719: checking
for log10f declaration
" >&5
13719 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
13720 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
13721 echo $ac_n "(cached
) $ac_c" 1>&6
13726 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13727 ac_cpp='$CXXCPP $CPPFLAGS'
13728 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13729 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13730 cross_compiling=$ac_cv_prog_cxx_cross
13732 cat > conftest.$ac_ext <<EOF
13733 #line 13734 "configure
"
13734 #include "confdefs.h
"
13736 #ifdef HAVE_IEEEFP_H
13737 #include <ieeefp.h>
13744 if { (eval echo configure:13745: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13746 glibcpp_cv_func_log10f_use=yes
13748 echo "configure
: failed program was
:" >&5
13749 cat conftest.$ac_ext >&5
13751 glibcpp_cv_func_log10f_use=no
13755 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13756 ac_cpp='$CPP $CPPFLAGS'
13757 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13758 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13759 cross_compiling=$ac_cv_prog_cc_cross
13765 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
13767 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
13768 for ac_func in log10f
13770 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13771 echo "configure
:13772: checking
for $ac_func" >&5
13772 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13773 echo $ac_n "(cached
) $ac_c" 1>&6
13775 cat > conftest.$ac_ext <<EOF
13776 #line 13777 "configure
"
13777 #include "confdefs.h
"
13778 /* System header to define __stub macros and hopefully few prototypes,
13779 which can conflict with char $ac_func(); below. */
13780 #include <assert.h>
13781 /* Override any gcc2 internal prototype to avoid an error. */
13782 /* We use char because int might match the return type of a gcc2
13783 builtin and then its argument prototype would still apply. */
13788 /* The GNU C library defines this for functions which it implements
13789 to always fail with ENOSYS. Some functions are actually named
13790 something starting with __ and the normal name is an alias. */
13791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13799 if { (eval echo configure:13800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13801 eval "ac_cv_func_
$ac_func=yes"
13803 echo "configure
: failed program was
:" >&5
13804 cat conftest.$ac_ext >&5
13806 eval "ac_cv_func_
$ac_func=no
"
13811 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13812 echo "$ac_t""yes" 1>&6
13813 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13814 cat >> confdefs.h <<EOF
13815 #define $ac_tr_func 1
13819 echo "$ac_t""no
" 1>&6
13825 echo $ac_n "checking
for _log10f declaration
""...
$ac_c" 1>&6
13826 echo "configure
:13827: checking
for _log10f declaration
" >&5
13827 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
13828 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
13829 echo $ac_n "(cached
) $ac_c" 1>&6
13834 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13835 ac_cpp='$CXXCPP $CPPFLAGS'
13836 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13837 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13838 cross_compiling=$ac_cv_prog_cxx_cross
13840 cat > conftest.$ac_ext <<EOF
13841 #line 13842 "configure
"
13842 #include "confdefs.h
"
13844 #ifdef HAVE_IEEEFP_H
13845 #include <ieeefp.h>
13852 if { (eval echo configure:13853: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13854 glibcpp_cv_func__log10f_use=yes
13856 echo "configure
: failed program was
:" >&5
13857 cat conftest.$ac_ext >&5
13859 glibcpp_cv_func__log10f_use=no
13863 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13864 ac_cpp='$CPP $CPPFLAGS'
13865 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13866 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13867 cross_compiling=$ac_cv_prog_cc_cross
13873 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
13875 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
13876 for ac_func in _log10f
13878 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13879 echo "configure
:13880: checking
for $ac_func" >&5
13880 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13881 echo $ac_n "(cached
) $ac_c" 1>&6
13883 cat > conftest.$ac_ext <<EOF
13884 #line 13885 "configure
"
13885 #include "confdefs.h
"
13886 /* System header to define __stub macros and hopefully few prototypes,
13887 which can conflict with char $ac_func(); below. */
13888 #include <assert.h>
13889 /* Override any gcc2 internal prototype to avoid an error. */
13890 /* We use char because int might match the return type of a gcc2
13891 builtin and then its argument prototype would still apply. */
13896 /* The GNU C library defines this for functions which it implements
13897 to always fail with ENOSYS. Some functions are actually named
13898 something starting with __ and the normal name is an alias. */
13899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13907 if { (eval echo configure:13908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13909 eval "ac_cv_func_
$ac_func=yes"
13911 echo "configure
: failed program was
:" >&5
13912 cat conftest.$ac_ext >&5
13914 eval "ac_cv_func_
$ac_func=no
"
13919 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13920 echo "$ac_t""yes" 1>&6
13921 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13922 cat >> confdefs.h <<EOF
13923 #define $ac_tr_func 1
13927 echo "$ac_t""no
" 1>&6
13936 echo $ac_n "checking
for modff declaration
""...
$ac_c" 1>&6
13937 echo "configure
:13938: checking
for modff declaration
" >&5
13938 if test x${glibcpp_cv_func_modff_use+set} != xset; then
13939 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
13940 echo $ac_n "(cached
) $ac_c" 1>&6
13945 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13946 ac_cpp='$CXXCPP $CPPFLAGS'
13947 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13948 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13949 cross_compiling=$ac_cv_prog_cxx_cross
13951 cat > conftest.$ac_ext <<EOF
13952 #line 13953 "configure
"
13953 #include "confdefs.h
"
13959 if { (eval echo configure:13960: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13961 glibcpp_cv_func_modff_use=yes
13963 echo "configure
: failed program was
:" >&5
13964 cat conftest.$ac_ext >&5
13966 glibcpp_cv_func_modff_use=no
13970 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13971 ac_cpp='$CPP $CPPFLAGS'
13972 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13973 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13974 cross_compiling=$ac_cv_prog_cc_cross
13980 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
13982 if test x$glibcpp_cv_func_modff_use = x"yes"; then
13983 for ac_func in modff
13985 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13986 echo "configure
:13987: checking
for $ac_func" >&5
13987 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13988 echo $ac_n "(cached
) $ac_c" 1>&6
13990 cat > conftest.$ac_ext <<EOF
13991 #line 13992 "configure
"
13992 #include "confdefs.h
"
13993 /* System header to define __stub macros and hopefully few prototypes,
13994 which can conflict with char $ac_func(); below. */
13995 #include <assert.h>
13996 /* Override any gcc2 internal prototype to avoid an error. */
13997 /* We use char because int might match the return type of a gcc2
13998 builtin and then its argument prototype would still apply. */
14003 /* The GNU C library defines this for functions which it implements
14004 to always fail with ENOSYS. Some functions are actually named
14005 something starting with __ and the normal name is an alias. */
14006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14014 if { (eval echo configure:14015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14016 eval "ac_cv_func_
$ac_func=yes"
14018 echo "configure
: failed program was
:" >&5
14019 cat conftest.$ac_ext >&5
14021 eval "ac_cv_func_
$ac_func=no
"
14026 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14027 echo "$ac_t""yes" 1>&6
14028 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14029 cat >> confdefs.h <<EOF
14030 #define $ac_tr_func 1
14034 echo "$ac_t""no
" 1>&6
14040 echo $ac_n "checking
for _modff declaration
""...
$ac_c" 1>&6
14041 echo "configure
:14042: checking
for _modff declaration
" >&5
14042 if test x${glibcpp_cv_func__modff_use+set} != xset; then
14043 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
14044 echo $ac_n "(cached
) $ac_c" 1>&6
14049 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14050 ac_cpp='$CXXCPP $CPPFLAGS'
14051 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14052 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14053 cross_compiling=$ac_cv_prog_cxx_cross
14055 cat > conftest.$ac_ext <<EOF
14056 #line 14057 "configure
"
14057 #include "confdefs.h
"
14063 if { (eval echo configure:14064: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14065 glibcpp_cv_func__modff_use=yes
14067 echo "configure
: failed program was
:" >&5
14068 cat conftest.$ac_ext >&5
14070 glibcpp_cv_func__modff_use=no
14074 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14075 ac_cpp='$CPP $CPPFLAGS'
14076 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14077 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14078 cross_compiling=$ac_cv_prog_cc_cross
14084 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
14086 if test x$glibcpp_cv_func__modff_use = x"yes"; then
14087 for ac_func in _modff
14089 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14090 echo "configure
:14091: checking
for $ac_func" >&5
14091 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14092 echo $ac_n "(cached
) $ac_c" 1>&6
14094 cat > conftest.$ac_ext <<EOF
14095 #line 14096 "configure
"
14096 #include "confdefs.h
"
14097 /* System header to define __stub macros and hopefully few prototypes,
14098 which can conflict with char $ac_func(); below. */
14099 #include <assert.h>
14100 /* Override any gcc2 internal prototype to avoid an error. */
14101 /* We use char because int might match the return type of a gcc2
14102 builtin and then its argument prototype would still apply. */
14107 /* The GNU C library defines this for functions which it implements
14108 to always fail with ENOSYS. Some functions are actually named
14109 something starting with __ and the normal name is an alias. */
14110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14118 if { (eval echo configure:14119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14120 eval "ac_cv_func_
$ac_func=yes"
14122 echo "configure
: failed program was
:" >&5
14123 cat conftest.$ac_ext >&5
14125 eval "ac_cv_func_
$ac_func=no
"
14130 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14131 echo "$ac_t""yes" 1>&6
14132 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14133 cat >> confdefs.h <<EOF
14134 #define $ac_tr_func 1
14138 echo "$ac_t""no
" 1>&6
14147 echo $ac_n "checking
for powf declaration
""...
$ac_c" 1>&6
14148 echo "configure
:14149: checking
for powf declaration
" >&5
14149 if test x${glibcpp_cv_func_powf_use+set} != xset; then
14150 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
14151 echo $ac_n "(cached
) $ac_c" 1>&6
14156 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14157 ac_cpp='$CXXCPP $CPPFLAGS'
14158 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14159 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14160 cross_compiling=$ac_cv_prog_cxx_cross
14162 cat > conftest.$ac_ext <<EOF
14163 #line 14164 "configure
"
14164 #include "confdefs.h
"
14170 if { (eval echo configure:14171: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14172 glibcpp_cv_func_powf_use=yes
14174 echo "configure
: failed program was
:" >&5
14175 cat conftest.$ac_ext >&5
14177 glibcpp_cv_func_powf_use=no
14181 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14182 ac_cpp='$CPP $CPPFLAGS'
14183 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14184 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14185 cross_compiling=$ac_cv_prog_cc_cross
14191 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
14193 if test x$glibcpp_cv_func_powf_use = x"yes"; then
14194 for ac_func in powf
14196 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14197 echo "configure
:14198: checking
for $ac_func" >&5
14198 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14199 echo $ac_n "(cached
) $ac_c" 1>&6
14201 cat > conftest.$ac_ext <<EOF
14202 #line 14203 "configure
"
14203 #include "confdefs.h
"
14204 /* System header to define __stub macros and hopefully few prototypes,
14205 which can conflict with char $ac_func(); below. */
14206 #include <assert.h>
14207 /* Override any gcc2 internal prototype to avoid an error. */
14208 /* We use char because int might match the return type of a gcc2
14209 builtin and then its argument prototype would still apply. */
14214 /* The GNU C library defines this for functions which it implements
14215 to always fail with ENOSYS. Some functions are actually named
14216 something starting with __ and the normal name is an alias. */
14217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14225 if { (eval echo configure:14226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14227 eval "ac_cv_func_
$ac_func=yes"
14229 echo "configure
: failed program was
:" >&5
14230 cat conftest.$ac_ext >&5
14232 eval "ac_cv_func_
$ac_func=no
"
14237 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14238 echo "$ac_t""yes" 1>&6
14239 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14240 cat >> confdefs.h <<EOF
14241 #define $ac_tr_func 1
14245 echo "$ac_t""no
" 1>&6
14251 echo $ac_n "checking
for _powf declaration
""...
$ac_c" 1>&6
14252 echo "configure
:14253: checking
for _powf declaration
" >&5
14253 if test x${glibcpp_cv_func__powf_use+set} != xset; then
14254 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
14255 echo $ac_n "(cached
) $ac_c" 1>&6
14260 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14261 ac_cpp='$CXXCPP $CPPFLAGS'
14262 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14263 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14264 cross_compiling=$ac_cv_prog_cxx_cross
14266 cat > conftest.$ac_ext <<EOF
14267 #line 14268 "configure
"
14268 #include "confdefs.h
"
14274 if { (eval echo configure:14275: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14276 glibcpp_cv_func__powf_use=yes
14278 echo "configure
: failed program was
:" >&5
14279 cat conftest.$ac_ext >&5
14281 glibcpp_cv_func__powf_use=no
14285 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14286 ac_cpp='$CPP $CPPFLAGS'
14287 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14288 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14289 cross_compiling=$ac_cv_prog_cc_cross
14295 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
14297 if test x$glibcpp_cv_func__powf_use = x"yes"; then
14298 for ac_func in _powf
14300 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14301 echo "configure
:14302: checking
for $ac_func" >&5
14302 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14303 echo $ac_n "(cached
) $ac_c" 1>&6
14305 cat > conftest.$ac_ext <<EOF
14306 #line 14307 "configure
"
14307 #include "confdefs.h
"
14308 /* System header to define __stub macros and hopefully few prototypes,
14309 which can conflict with char $ac_func(); below. */
14310 #include <assert.h>
14311 /* Override any gcc2 internal prototype to avoid an error. */
14312 /* We use char because int might match the return type of a gcc2
14313 builtin and then its argument prototype would still apply. */
14318 /* The GNU C library defines this for functions which it implements
14319 to always fail with ENOSYS. Some functions are actually named
14320 something starting with __ and the normal name is an alias. */
14321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14329 if { (eval echo configure:14330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14331 eval "ac_cv_func_
$ac_func=yes"
14333 echo "configure
: failed program was
:" >&5
14334 cat conftest.$ac_ext >&5
14336 eval "ac_cv_func_
$ac_func=no
"
14341 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14342 echo "$ac_t""yes" 1>&6
14343 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14344 cat >> confdefs.h <<EOF
14345 #define $ac_tr_func 1
14349 echo "$ac_t""no
" 1>&6
14358 echo $ac_n "checking
for sqrtf declaration
""...
$ac_c" 1>&6
14359 echo "configure
:14360: checking
for sqrtf declaration
" >&5
14360 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
14361 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
14362 echo $ac_n "(cached
) $ac_c" 1>&6
14367 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14368 ac_cpp='$CXXCPP $CPPFLAGS'
14369 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14370 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14371 cross_compiling=$ac_cv_prog_cxx_cross
14373 cat > conftest.$ac_ext <<EOF
14374 #line 14375 "configure
"
14375 #include "confdefs.h
"
14377 #ifdef HAVE_IEEEFP_H
14378 #include <ieeefp.h>
14385 if { (eval echo configure:14386: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14387 glibcpp_cv_func_sqrtf_use=yes
14389 echo "configure
: failed program was
:" >&5
14390 cat conftest.$ac_ext >&5
14392 glibcpp_cv_func_sqrtf_use=no
14396 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14397 ac_cpp='$CPP $CPPFLAGS'
14398 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14399 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14400 cross_compiling=$ac_cv_prog_cc_cross
14406 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
14408 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
14409 for ac_func in sqrtf
14411 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14412 echo "configure
:14413: checking
for $ac_func" >&5
14413 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14414 echo $ac_n "(cached
) $ac_c" 1>&6
14416 cat > conftest.$ac_ext <<EOF
14417 #line 14418 "configure
"
14418 #include "confdefs.h
"
14419 /* System header to define __stub macros and hopefully few prototypes,
14420 which can conflict with char $ac_func(); below. */
14421 #include <assert.h>
14422 /* Override any gcc2 internal prototype to avoid an error. */
14423 /* We use char because int might match the return type of a gcc2
14424 builtin and then its argument prototype would still apply. */
14429 /* The GNU C library defines this for functions which it implements
14430 to always fail with ENOSYS. Some functions are actually named
14431 something starting with __ and the normal name is an alias. */
14432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14440 if { (eval echo configure:14441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14442 eval "ac_cv_func_
$ac_func=yes"
14444 echo "configure
: failed program was
:" >&5
14445 cat conftest.$ac_ext >&5
14447 eval "ac_cv_func_
$ac_func=no
"
14452 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14453 echo "$ac_t""yes" 1>&6
14454 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14455 cat >> confdefs.h <<EOF
14456 #define $ac_tr_func 1
14460 echo "$ac_t""no
" 1>&6
14466 echo $ac_n "checking
for _sqrtf declaration
""...
$ac_c" 1>&6
14467 echo "configure
:14468: checking
for _sqrtf declaration
" >&5
14468 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
14469 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
14470 echo $ac_n "(cached
) $ac_c" 1>&6
14475 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14476 ac_cpp='$CXXCPP $CPPFLAGS'
14477 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14478 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14479 cross_compiling=$ac_cv_prog_cxx_cross
14481 cat > conftest.$ac_ext <<EOF
14482 #line 14483 "configure
"
14483 #include "confdefs.h
"
14485 #ifdef HAVE_IEEEFP_H
14486 #include <ieeefp.h>
14493 if { (eval echo configure:14494: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14495 glibcpp_cv_func__sqrtf_use=yes
14497 echo "configure
: failed program was
:" >&5
14498 cat conftest.$ac_ext >&5
14500 glibcpp_cv_func__sqrtf_use=no
14504 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14505 ac_cpp='$CPP $CPPFLAGS'
14506 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14507 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14508 cross_compiling=$ac_cv_prog_cc_cross
14514 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
14516 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
14517 for ac_func in _sqrtf
14519 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14520 echo "configure
:14521: checking
for $ac_func" >&5
14521 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14522 echo $ac_n "(cached
) $ac_c" 1>&6
14524 cat > conftest.$ac_ext <<EOF
14525 #line 14526 "configure
"
14526 #include "confdefs.h
"
14527 /* System header to define __stub macros and hopefully few prototypes,
14528 which can conflict with char $ac_func(); below. */
14529 #include <assert.h>
14530 /* Override any gcc2 internal prototype to avoid an error. */
14531 /* We use char because int might match the return type of a gcc2
14532 builtin and then its argument prototype would still apply. */
14537 /* The GNU C library defines this for functions which it implements
14538 to always fail with ENOSYS. Some functions are actually named
14539 something starting with __ and the normal name is an alias. */
14540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14548 if { (eval echo configure:14549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14550 eval "ac_cv_func_
$ac_func=yes"
14552 echo "configure
: failed program was
:" >&5
14553 cat conftest.$ac_ext >&5
14555 eval "ac_cv_func_
$ac_func=no
"
14560 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14561 echo "$ac_t""yes" 1>&6
14562 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14563 cat >> confdefs.h <<EOF
14564 #define $ac_tr_func 1
14568 echo "$ac_t""no
" 1>&6
14577 echo $ac_n "checking
for sincosf declaration
""...
$ac_c" 1>&6
14578 echo "configure
:14579: checking
for sincosf declaration
" >&5
14579 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
14580 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
14581 echo $ac_n "(cached
) $ac_c" 1>&6
14586 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14587 ac_cpp='$CXXCPP $CPPFLAGS'
14588 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14589 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14590 cross_compiling=$ac_cv_prog_cxx_cross
14592 cat > conftest.$ac_ext <<EOF
14593 #line 14594 "configure
"
14594 #include "confdefs.h
"
14600 if { (eval echo configure:14601: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14602 glibcpp_cv_func_sincosf_use=yes
14604 echo "configure
: failed program was
:" >&5
14605 cat conftest.$ac_ext >&5
14607 glibcpp_cv_func_sincosf_use=no
14611 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14612 ac_cpp='$CPP $CPPFLAGS'
14613 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14614 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14615 cross_compiling=$ac_cv_prog_cc_cross
14621 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
14623 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
14624 for ac_func in sincosf
14626 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14627 echo "configure
:14628: checking
for $ac_func" >&5
14628 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14629 echo $ac_n "(cached
) $ac_c" 1>&6
14631 cat > conftest.$ac_ext <<EOF
14632 #line 14633 "configure
"
14633 #include "confdefs.h
"
14634 /* System header to define __stub macros and hopefully few prototypes,
14635 which can conflict with char $ac_func(); below. */
14636 #include <assert.h>
14637 /* Override any gcc2 internal prototype to avoid an error. */
14638 /* We use char because int might match the return type of a gcc2
14639 builtin and then its argument prototype would still apply. */
14644 /* The GNU C library defines this for functions which it implements
14645 to always fail with ENOSYS. Some functions are actually named
14646 something starting with __ and the normal name is an alias. */
14647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14655 if { (eval echo configure:14656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14657 eval "ac_cv_func_
$ac_func=yes"
14659 echo "configure
: failed program was
:" >&5
14660 cat conftest.$ac_ext >&5
14662 eval "ac_cv_func_
$ac_func=no
"
14667 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14668 echo "$ac_t""yes" 1>&6
14669 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14670 cat >> confdefs.h <<EOF
14671 #define $ac_tr_func 1
14675 echo "$ac_t""no
" 1>&6
14681 echo $ac_n "checking
for _sincosf declaration
""...
$ac_c" 1>&6
14682 echo "configure
:14683: checking
for _sincosf declaration
" >&5
14683 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
14684 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
14685 echo $ac_n "(cached
) $ac_c" 1>&6
14690 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14691 ac_cpp='$CXXCPP $CPPFLAGS'
14692 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14693 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14694 cross_compiling=$ac_cv_prog_cxx_cross
14696 cat > conftest.$ac_ext <<EOF
14697 #line 14698 "configure
"
14698 #include "confdefs.h
"
14704 if { (eval echo configure:14705: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14706 glibcpp_cv_func__sincosf_use=yes
14708 echo "configure
: failed program was
:" >&5
14709 cat conftest.$ac_ext >&5
14711 glibcpp_cv_func__sincosf_use=no
14715 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14716 ac_cpp='$CPP $CPPFLAGS'
14717 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14718 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14719 cross_compiling=$ac_cv_prog_cc_cross
14725 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
14727 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
14728 for ac_func in _sincosf
14730 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14731 echo "configure
:14732: checking
for $ac_func" >&5
14732 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14733 echo $ac_n "(cached
) $ac_c" 1>&6
14735 cat > conftest.$ac_ext <<EOF
14736 #line 14737 "configure
"
14737 #include "confdefs.h
"
14738 /* System header to define __stub macros and hopefully few prototypes,
14739 which can conflict with char $ac_func(); below. */
14740 #include <assert.h>
14741 /* Override any gcc2 internal prototype to avoid an error. */
14742 /* We use char because int might match the return type of a gcc2
14743 builtin and then its argument prototype would still apply. */
14748 /* The GNU C library defines this for functions which it implements
14749 to always fail with ENOSYS. Some functions are actually named
14750 something starting with __ and the normal name is an alias. */
14751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14759 if { (eval echo configure:14760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14761 eval "ac_cv_func_
$ac_func=yes"
14763 echo "configure
: failed program was
:" >&5
14764 cat conftest.$ac_ext >&5
14766 eval "ac_cv_func_
$ac_func=no
"
14771 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14772 echo "$ac_t""yes" 1>&6
14773 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14774 cat >> confdefs.h <<EOF
14775 #define $ac_tr_func 1
14779 echo "$ac_t""no
" 1>&6
14788 echo $ac_n "checking
for finitef declaration
""...
$ac_c" 1>&6
14789 echo "configure
:14790: checking
for finitef declaration
" >&5
14790 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
14791 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
14792 echo $ac_n "(cached
) $ac_c" 1>&6
14797 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14798 ac_cpp='$CXXCPP $CPPFLAGS'
14799 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14800 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14801 cross_compiling=$ac_cv_prog_cxx_cross
14803 cat > conftest.$ac_ext <<EOF
14804 #line 14805 "configure
"
14805 #include "confdefs.h
"
14807 #ifdef HAVE_IEEEFP_H
14808 #include <ieeefp.h>
14815 if { (eval echo configure:14816: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14817 glibcpp_cv_func_finitef_use=yes
14819 echo "configure
: failed program was
:" >&5
14820 cat conftest.$ac_ext >&5
14822 glibcpp_cv_func_finitef_use=no
14826 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14827 ac_cpp='$CPP $CPPFLAGS'
14828 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14829 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14830 cross_compiling=$ac_cv_prog_cc_cross
14836 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
14838 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
14839 for ac_func in finitef
14841 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14842 echo "configure
:14843: checking
for $ac_func" >&5
14843 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14844 echo $ac_n "(cached
) $ac_c" 1>&6
14846 cat > conftest.$ac_ext <<EOF
14847 #line 14848 "configure
"
14848 #include "confdefs.h
"
14849 /* System header to define __stub macros and hopefully few prototypes,
14850 which can conflict with char $ac_func(); below. */
14851 #include <assert.h>
14852 /* Override any gcc2 internal prototype to avoid an error. */
14853 /* We use char because int might match the return type of a gcc2
14854 builtin and then its argument prototype would still apply. */
14859 /* The GNU C library defines this for functions which it implements
14860 to always fail with ENOSYS. Some functions are actually named
14861 something starting with __ and the normal name is an alias. */
14862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14870 if { (eval echo configure:14871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14872 eval "ac_cv_func_
$ac_func=yes"
14874 echo "configure
: failed program was
:" >&5
14875 cat conftest.$ac_ext >&5
14877 eval "ac_cv_func_
$ac_func=no
"
14882 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14883 echo "$ac_t""yes" 1>&6
14884 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14885 cat >> confdefs.h <<EOF
14886 #define $ac_tr_func 1
14890 echo "$ac_t""no
" 1>&6
14896 echo $ac_n "checking
for _finitef declaration
""...
$ac_c" 1>&6
14897 echo "configure
:14898: checking
for _finitef declaration
" >&5
14898 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
14899 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
14900 echo $ac_n "(cached
) $ac_c" 1>&6
14905 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14906 ac_cpp='$CXXCPP $CPPFLAGS'
14907 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14908 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14909 cross_compiling=$ac_cv_prog_cxx_cross
14911 cat > conftest.$ac_ext <<EOF
14912 #line 14913 "configure
"
14913 #include "confdefs.h
"
14915 #ifdef HAVE_IEEEFP_H
14916 #include <ieeefp.h>
14923 if { (eval echo configure:14924: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14925 glibcpp_cv_func__finitef_use=yes
14927 echo "configure
: failed program was
:" >&5
14928 cat conftest.$ac_ext >&5
14930 glibcpp_cv_func__finitef_use=no
14934 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14935 ac_cpp='$CPP $CPPFLAGS'
14936 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14937 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14938 cross_compiling=$ac_cv_prog_cc_cross
14944 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
14946 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
14947 for ac_func in _finitef
14949 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14950 echo "configure
:14951: checking
for $ac_func" >&5
14951 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14952 echo $ac_n "(cached
) $ac_c" 1>&6
14954 cat > conftest.$ac_ext <<EOF
14955 #line 14956 "configure
"
14956 #include "confdefs.h
"
14957 /* System header to define __stub macros and hopefully few prototypes,
14958 which can conflict with char $ac_func(); below. */
14959 #include <assert.h>
14960 /* Override any gcc2 internal prototype to avoid an error. */
14961 /* We use char because int might match the return type of a gcc2
14962 builtin and then its argument prototype would still apply. */
14967 /* The GNU C library defines this for functions which it implements
14968 to always fail with ENOSYS. Some functions are actually named
14969 something starting with __ and the normal name is an alias. */
14970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14978 if { (eval echo configure:14979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14980 eval "ac_cv_func_
$ac_func=yes"
14982 echo "configure
: failed program was
:" >&5
14983 cat conftest.$ac_ext >&5
14985 eval "ac_cv_func_
$ac_func=no
"
14990 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14991 echo "$ac_t""yes" 1>&6
14992 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14993 cat >> confdefs.h <<EOF
14994 #define $ac_tr_func 1
14998 echo "$ac_t""no
" 1>&6
15007 echo $ac_n "checking
for long double trig functions
""...
$ac_c" 1>&6
15008 echo "configure
:15009: checking
for long double trig functions
" >&5
15009 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
15010 echo $ac_n "(cached
) $ac_c" 1>&6
15015 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15016 ac_cpp='$CXXCPP $CPPFLAGS'
15017 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15018 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15019 cross_compiling=$ac_cv_prog_cxx_cross
15021 cat > conftest.$ac_ext <<EOF
15022 #line 15023 "configure
"
15023 #include "confdefs.h
"
15026 `for x in acosl asinl atanl \
15028 coshl sinhl tanhl; do echo "$x (0);"; done`
15031 if { (eval echo configure:15032: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15033 glibcpp_cv_func_long_double_trig_use=yes
15035 echo "configure
: failed program was
:" >&5
15036 cat conftest.$ac_ext >&5
15038 glibcpp_cv_func_long_double_trig_use=no
15042 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15043 ac_cpp='$CPP $CPPFLAGS'
15044 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15045 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15046 cross_compiling=$ac_cv_prog_cc_cross
15050 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
15051 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
15052 for ac_func in acosl asinl atanl \
15056 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15057 echo "configure
:15058: checking
for $ac_func" >&5
15058 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15059 echo $ac_n "(cached
) $ac_c" 1>&6
15061 cat > conftest.$ac_ext <<EOF
15062 #line 15063 "configure
"
15063 #include "confdefs.h
"
15064 /* System header to define __stub macros and hopefully few prototypes,
15065 which can conflict with char $ac_func(); below. */
15066 #include <assert.h>
15067 /* Override any gcc2 internal prototype to avoid an error. */
15068 /* We use char because int might match the return type of a gcc2
15069 builtin and then its argument prototype would still apply. */
15074 /* The GNU C library defines this for functions which it implements
15075 to always fail with ENOSYS. Some functions are actually named
15076 something starting with __ and the normal name is an alias. */
15077 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15085 if { (eval echo configure:15086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15087 eval "ac_cv_func_
$ac_func=yes"
15089 echo "configure
: failed program was
:" >&5
15090 cat conftest.$ac_ext >&5
15092 eval "ac_cv_func_
$ac_func=no
"
15097 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15098 echo "$ac_t""yes" 1>&6
15099 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15100 cat >> confdefs.h <<EOF
15101 #define $ac_tr_func 1
15105 echo "$ac_t""no
" 1>&6
15112 echo $ac_n "checking
for long double round functions
""...
$ac_c" 1>&6
15113 echo "configure
:15114: checking
for long double round functions
" >&5
15114 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
15115 echo $ac_n "(cached
) $ac_c" 1>&6
15120 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15121 ac_cpp='$CXXCPP $CPPFLAGS'
15122 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15123 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15124 cross_compiling=$ac_cv_prog_cxx_cross
15126 cat > conftest.$ac_ext <<EOF
15127 #line 15128 "configure
"
15128 #include "confdefs.h
"
15131 `for x in ceill floorl; do echo "$x (0);"; done`
15134 if { (eval echo configure:15135: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15136 glibcpp_cv_func_long_double_round_use=yes
15138 echo "configure
: failed program was
:" >&5
15139 cat conftest.$ac_ext >&5
15141 glibcpp_cv_func_long_double_round_use=no
15145 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15146 ac_cpp='$CPP $CPPFLAGS'
15147 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15148 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15149 cross_compiling=$ac_cv_prog_cc_cross
15153 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
15154 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
15155 for ac_func in ceill floorl
15157 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15158 echo "configure
:15159: checking
for $ac_func" >&5
15159 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15160 echo $ac_n "(cached
) $ac_c" 1>&6
15162 cat > conftest.$ac_ext <<EOF
15163 #line 15164 "configure
"
15164 #include "confdefs.h
"
15165 /* System header to define __stub macros and hopefully few prototypes,
15166 which can conflict with char $ac_func(); below. */
15167 #include <assert.h>
15168 /* Override any gcc2 internal prototype to avoid an error. */
15169 /* We use char because int might match the return type of a gcc2
15170 builtin and then its argument prototype would still apply. */
15175 /* The GNU C library defines this for functions which it implements
15176 to always fail with ENOSYS. Some functions are actually named
15177 something starting with __ and the normal name is an alias. */
15178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15186 if { (eval echo configure:15187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15188 eval "ac_cv_func_
$ac_func=yes"
15190 echo "configure
: failed program was
:" >&5
15191 cat conftest.$ac_ext >&5
15193 eval "ac_cv_func_
$ac_func=no
"
15198 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15199 echo "$ac_t""yes" 1>&6
15200 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15201 cat >> confdefs.h <<EOF
15202 #define $ac_tr_func 1
15206 echo "$ac_t""no
" 1>&6
15214 echo $ac_n "checking
for isnanl declaration
""...
$ac_c" 1>&6
15215 echo "configure
:15216: checking
for isnanl declaration
" >&5
15216 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
15217 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
15218 echo $ac_n "(cached
) $ac_c" 1>&6
15223 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15224 ac_cpp='$CXXCPP $CPPFLAGS'
15225 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15226 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15227 cross_compiling=$ac_cv_prog_cxx_cross
15229 cat > conftest.$ac_ext <<EOF
15230 #line 15231 "configure
"
15231 #include "confdefs.h
"
15233 #ifdef HAVE_IEEEFP_H
15234 #include <ieeefp.h>
15241 if { (eval echo configure:15242: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15243 glibcpp_cv_func_isnanl_use=yes
15245 echo "configure
: failed program was
:" >&5
15246 cat conftest.$ac_ext >&5
15248 glibcpp_cv_func_isnanl_use=no
15252 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15253 ac_cpp='$CPP $CPPFLAGS'
15254 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15255 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15256 cross_compiling=$ac_cv_prog_cc_cross
15262 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
15264 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
15265 for ac_func in isnanl
15267 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15268 echo "configure
:15269: checking
for $ac_func" >&5
15269 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15270 echo $ac_n "(cached
) $ac_c" 1>&6
15272 cat > conftest.$ac_ext <<EOF
15273 #line 15274 "configure
"
15274 #include "confdefs.h
"
15275 /* System header to define __stub macros and hopefully few prototypes,
15276 which can conflict with char $ac_func(); below. */
15277 #include <assert.h>
15278 /* Override any gcc2 internal prototype to avoid an error. */
15279 /* We use char because int might match the return type of a gcc2
15280 builtin and then its argument prototype would still apply. */
15285 /* The GNU C library defines this for functions which it implements
15286 to always fail with ENOSYS. Some functions are actually named
15287 something starting with __ and the normal name is an alias. */
15288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15296 if { (eval echo configure:15297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15298 eval "ac_cv_func_
$ac_func=yes"
15300 echo "configure
: failed program was
:" >&5
15301 cat conftest.$ac_ext >&5
15303 eval "ac_cv_func_
$ac_func=no
"
15308 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15309 echo "$ac_t""yes" 1>&6
15310 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15311 cat >> confdefs.h <<EOF
15312 #define $ac_tr_func 1
15316 echo "$ac_t""no
" 1>&6
15322 echo $ac_n "checking
for _isnanl declaration
""...
$ac_c" 1>&6
15323 echo "configure
:15324: checking
for _isnanl declaration
" >&5
15324 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
15325 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
15326 echo $ac_n "(cached
) $ac_c" 1>&6
15331 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15332 ac_cpp='$CXXCPP $CPPFLAGS'
15333 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15334 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15335 cross_compiling=$ac_cv_prog_cxx_cross
15337 cat > conftest.$ac_ext <<EOF
15338 #line 15339 "configure
"
15339 #include "confdefs.h
"
15341 #ifdef HAVE_IEEEFP_H
15342 #include <ieeefp.h>
15349 if { (eval echo configure:15350: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15351 glibcpp_cv_func__isnanl_use=yes
15353 echo "configure
: failed program was
:" >&5
15354 cat conftest.$ac_ext >&5
15356 glibcpp_cv_func__isnanl_use=no
15360 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15361 ac_cpp='$CPP $CPPFLAGS'
15362 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15363 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15364 cross_compiling=$ac_cv_prog_cc_cross
15370 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
15372 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
15373 for ac_func in _isnanl
15375 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15376 echo "configure
:15377: checking
for $ac_func" >&5
15377 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15378 echo $ac_n "(cached
) $ac_c" 1>&6
15380 cat > conftest.$ac_ext <<EOF
15381 #line 15382 "configure
"
15382 #include "confdefs.h
"
15383 /* System header to define __stub macros and hopefully few prototypes,
15384 which can conflict with char $ac_func(); below. */
15385 #include <assert.h>
15386 /* Override any gcc2 internal prototype to avoid an error. */
15387 /* We use char because int might match the return type of a gcc2
15388 builtin and then its argument prototype would still apply. */
15393 /* The GNU C library defines this for functions which it implements
15394 to always fail with ENOSYS. Some functions are actually named
15395 something starting with __ and the normal name is an alias. */
15396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15404 if { (eval echo configure:15405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15406 eval "ac_cv_func_
$ac_func=yes"
15408 echo "configure
: failed program was
:" >&5
15409 cat conftest.$ac_ext >&5
15411 eval "ac_cv_func_
$ac_func=no
"
15416 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15417 echo "$ac_t""yes" 1>&6
15418 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15419 cat >> confdefs.h <<EOF
15420 #define $ac_tr_func 1
15424 echo "$ac_t""no
" 1>&6
15433 echo $ac_n "checking
for isinfl declaration
""...
$ac_c" 1>&6
15434 echo "configure
:15435: checking
for isinfl declaration
" >&5
15435 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
15436 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
15437 echo $ac_n "(cached
) $ac_c" 1>&6
15442 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15443 ac_cpp='$CXXCPP $CPPFLAGS'
15444 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15445 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15446 cross_compiling=$ac_cv_prog_cxx_cross
15448 cat > conftest.$ac_ext <<EOF
15449 #line 15450 "configure
"
15450 #include "confdefs.h
"
15452 #ifdef HAVE_IEEEFP_H
15453 #include <ieeefp.h>
15460 if { (eval echo configure:15461: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15462 glibcpp_cv_func_isinfl_use=yes
15464 echo "configure
: failed program was
:" >&5
15465 cat conftest.$ac_ext >&5
15467 glibcpp_cv_func_isinfl_use=no
15471 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15472 ac_cpp='$CPP $CPPFLAGS'
15473 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15474 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15475 cross_compiling=$ac_cv_prog_cc_cross
15481 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
15483 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
15484 for ac_func in isinfl
15486 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15487 echo "configure
:15488: checking
for $ac_func" >&5
15488 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15489 echo $ac_n "(cached
) $ac_c" 1>&6
15491 cat > conftest.$ac_ext <<EOF
15492 #line 15493 "configure
"
15493 #include "confdefs.h
"
15494 /* System header to define __stub macros and hopefully few prototypes,
15495 which can conflict with char $ac_func(); below. */
15496 #include <assert.h>
15497 /* Override any gcc2 internal prototype to avoid an error. */
15498 /* We use char because int might match the return type of a gcc2
15499 builtin and then its argument prototype would still apply. */
15504 /* The GNU C library defines this for functions which it implements
15505 to always fail with ENOSYS. Some functions are actually named
15506 something starting with __ and the normal name is an alias. */
15507 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15515 if { (eval echo configure:15516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15517 eval "ac_cv_func_
$ac_func=yes"
15519 echo "configure
: failed program was
:" >&5
15520 cat conftest.$ac_ext >&5
15522 eval "ac_cv_func_
$ac_func=no
"
15527 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15528 echo "$ac_t""yes" 1>&6
15529 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15530 cat >> confdefs.h <<EOF
15531 #define $ac_tr_func 1
15535 echo "$ac_t""no
" 1>&6
15541 echo $ac_n "checking
for _isinfl declaration
""...
$ac_c" 1>&6
15542 echo "configure
:15543: checking
for _isinfl declaration
" >&5
15543 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
15544 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
15545 echo $ac_n "(cached
) $ac_c" 1>&6
15550 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15551 ac_cpp='$CXXCPP $CPPFLAGS'
15552 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15553 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15554 cross_compiling=$ac_cv_prog_cxx_cross
15556 cat > conftest.$ac_ext <<EOF
15557 #line 15558 "configure
"
15558 #include "confdefs.h
"
15560 #ifdef HAVE_IEEEFP_H
15561 #include <ieeefp.h>
15568 if { (eval echo configure:15569: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15570 glibcpp_cv_func__isinfl_use=yes
15572 echo "configure
: failed program was
:" >&5
15573 cat conftest.$ac_ext >&5
15575 glibcpp_cv_func__isinfl_use=no
15579 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15580 ac_cpp='$CPP $CPPFLAGS'
15581 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15582 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15583 cross_compiling=$ac_cv_prog_cc_cross
15589 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
15591 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
15592 for ac_func in _isinfl
15594 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15595 echo "configure
:15596: checking
for $ac_func" >&5
15596 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15597 echo $ac_n "(cached
) $ac_c" 1>&6
15599 cat > conftest.$ac_ext <<EOF
15600 #line 15601 "configure
"
15601 #include "confdefs.h
"
15602 /* System header to define __stub macros and hopefully few prototypes,
15603 which can conflict with char $ac_func(); below. */
15604 #include <assert.h>
15605 /* Override any gcc2 internal prototype to avoid an error. */
15606 /* We use char because int might match the return type of a gcc2
15607 builtin and then its argument prototype would still apply. */
15612 /* The GNU C library defines this for functions which it implements
15613 to always fail with ENOSYS. Some functions are actually named
15614 something starting with __ and the normal name is an alias. */
15615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15623 if { (eval echo configure:15624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15625 eval "ac_cv_func_
$ac_func=yes"
15627 echo "configure
: failed program was
:" >&5
15628 cat conftest.$ac_ext >&5
15630 eval "ac_cv_func_
$ac_func=no
"
15635 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15636 echo "$ac_t""yes" 1>&6
15637 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15638 cat >> confdefs.h <<EOF
15639 #define $ac_tr_func 1
15643 echo "$ac_t""no
" 1>&6
15652 echo $ac_n "checking
for copysignl declaration
""...
$ac_c" 1>&6
15653 echo "configure
:15654: checking
for copysignl declaration
" >&5
15654 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
15655 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
15656 echo $ac_n "(cached
) $ac_c" 1>&6
15661 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15662 ac_cpp='$CXXCPP $CPPFLAGS'
15663 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15664 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15665 cross_compiling=$ac_cv_prog_cxx_cross
15667 cat > conftest.$ac_ext <<EOF
15668 #line 15669 "configure
"
15669 #include "confdefs.h
"
15675 if { (eval echo configure:15676: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15677 glibcpp_cv_func_copysignl_use=yes
15679 echo "configure
: failed program was
:" >&5
15680 cat conftest.$ac_ext >&5
15682 glibcpp_cv_func_copysignl_use=no
15686 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15687 ac_cpp='$CPP $CPPFLAGS'
15688 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15689 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15690 cross_compiling=$ac_cv_prog_cc_cross
15696 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
15698 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
15699 for ac_func in copysignl
15701 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15702 echo "configure
:15703: checking
for $ac_func" >&5
15703 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15704 echo $ac_n "(cached
) $ac_c" 1>&6
15706 cat > conftest.$ac_ext <<EOF
15707 #line 15708 "configure
"
15708 #include "confdefs.h
"
15709 /* System header to define __stub macros and hopefully few prototypes,
15710 which can conflict with char $ac_func(); below. */
15711 #include <assert.h>
15712 /* Override any gcc2 internal prototype to avoid an error. */
15713 /* We use char because int might match the return type of a gcc2
15714 builtin and then its argument prototype would still apply. */
15719 /* The GNU C library defines this for functions which it implements
15720 to always fail with ENOSYS. Some functions are actually named
15721 something starting with __ and the normal name is an alias. */
15722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15730 if { (eval echo configure:15731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15732 eval "ac_cv_func_
$ac_func=yes"
15734 echo "configure
: failed program was
:" >&5
15735 cat conftest.$ac_ext >&5
15737 eval "ac_cv_func_
$ac_func=no
"
15742 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15743 echo "$ac_t""yes" 1>&6
15744 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15745 cat >> confdefs.h <<EOF
15746 #define $ac_tr_func 1
15750 echo "$ac_t""no
" 1>&6
15756 echo $ac_n "checking
for _copysignl declaration
""...
$ac_c" 1>&6
15757 echo "configure
:15758: checking
for _copysignl declaration
" >&5
15758 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
15759 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
15760 echo $ac_n "(cached
) $ac_c" 1>&6
15765 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15766 ac_cpp='$CXXCPP $CPPFLAGS'
15767 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15768 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15769 cross_compiling=$ac_cv_prog_cxx_cross
15771 cat > conftest.$ac_ext <<EOF
15772 #line 15773 "configure
"
15773 #include "confdefs.h
"
15779 if { (eval echo configure:15780: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15781 glibcpp_cv_func__copysignl_use=yes
15783 echo "configure
: failed program was
:" >&5
15784 cat conftest.$ac_ext >&5
15786 glibcpp_cv_func__copysignl_use=no
15790 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15791 ac_cpp='$CPP $CPPFLAGS'
15792 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15793 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15794 cross_compiling=$ac_cv_prog_cc_cross
15800 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
15802 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
15803 for ac_func in _copysignl
15805 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15806 echo "configure
:15807: checking
for $ac_func" >&5
15807 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15808 echo $ac_n "(cached
) $ac_c" 1>&6
15810 cat > conftest.$ac_ext <<EOF
15811 #line 15812 "configure
"
15812 #include "confdefs.h
"
15813 /* System header to define __stub macros and hopefully few prototypes,
15814 which can conflict with char $ac_func(); below. */
15815 #include <assert.h>
15816 /* Override any gcc2 internal prototype to avoid an error. */
15817 /* We use char because int might match the return type of a gcc2
15818 builtin and then its argument prototype would still apply. */
15823 /* The GNU C library defines this for functions which it implements
15824 to always fail with ENOSYS. Some functions are actually named
15825 something starting with __ and the normal name is an alias. */
15826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15834 if { (eval echo configure:15835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15836 eval "ac_cv_func_
$ac_func=yes"
15838 echo "configure
: failed program was
:" >&5
15839 cat conftest.$ac_ext >&5
15841 eval "ac_cv_func_
$ac_func=no
"
15846 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15847 echo "$ac_t""yes" 1>&6
15848 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15849 cat >> confdefs.h <<EOF
15850 #define $ac_tr_func 1
15854 echo "$ac_t""no
" 1>&6
15863 echo $ac_n "checking
for atan2l declaration
""...
$ac_c" 1>&6
15864 echo "configure
:15865: checking
for atan2l declaration
" >&5
15865 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
15866 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
15867 echo $ac_n "(cached
) $ac_c" 1>&6
15872 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15873 ac_cpp='$CXXCPP $CPPFLAGS'
15874 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15875 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15876 cross_compiling=$ac_cv_prog_cxx_cross
15878 cat > conftest.$ac_ext <<EOF
15879 #line 15880 "configure
"
15880 #include "confdefs.h
"
15886 if { (eval echo configure:15887: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15888 glibcpp_cv_func_atan2l_use=yes
15890 echo "configure
: failed program was
:" >&5
15891 cat conftest.$ac_ext >&5
15893 glibcpp_cv_func_atan2l_use=no
15897 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15898 ac_cpp='$CPP $CPPFLAGS'
15899 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15900 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15901 cross_compiling=$ac_cv_prog_cc_cross
15907 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
15909 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
15910 for ac_func in atan2l
15912 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15913 echo "configure
:15914: checking
for $ac_func" >&5
15914 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15915 echo $ac_n "(cached
) $ac_c" 1>&6
15917 cat > conftest.$ac_ext <<EOF
15918 #line 15919 "configure
"
15919 #include "confdefs.h
"
15920 /* System header to define __stub macros and hopefully few prototypes,
15921 which can conflict with char $ac_func(); below. */
15922 #include <assert.h>
15923 /* Override any gcc2 internal prototype to avoid an error. */
15924 /* We use char because int might match the return type of a gcc2
15925 builtin and then its argument prototype would still apply. */
15930 /* The GNU C library defines this for functions which it implements
15931 to always fail with ENOSYS. Some functions are actually named
15932 something starting with __ and the normal name is an alias. */
15933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15941 if { (eval echo configure:15942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15943 eval "ac_cv_func_
$ac_func=yes"
15945 echo "configure
: failed program was
:" >&5
15946 cat conftest.$ac_ext >&5
15948 eval "ac_cv_func_
$ac_func=no
"
15953 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15954 echo "$ac_t""yes" 1>&6
15955 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15956 cat >> confdefs.h <<EOF
15957 #define $ac_tr_func 1
15961 echo "$ac_t""no
" 1>&6
15967 echo $ac_n "checking
for _atan2l declaration
""...
$ac_c" 1>&6
15968 echo "configure
:15969: checking
for _atan2l declaration
" >&5
15969 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
15970 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
15971 echo $ac_n "(cached
) $ac_c" 1>&6
15976 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15977 ac_cpp='$CXXCPP $CPPFLAGS'
15978 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15979 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15980 cross_compiling=$ac_cv_prog_cxx_cross
15982 cat > conftest.$ac_ext <<EOF
15983 #line 15984 "configure
"
15984 #include "confdefs.h
"
15990 if { (eval echo configure:15991: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15992 glibcpp_cv_func__atan2l_use=yes
15994 echo "configure
: failed program was
:" >&5
15995 cat conftest.$ac_ext >&5
15997 glibcpp_cv_func__atan2l_use=no
16001 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16002 ac_cpp='$CPP $CPPFLAGS'
16003 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16004 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16005 cross_compiling=$ac_cv_prog_cc_cross
16011 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
16013 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
16014 for ac_func in _atan2l
16016 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16017 echo "configure
:16018: checking
for $ac_func" >&5
16018 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16019 echo $ac_n "(cached
) $ac_c" 1>&6
16021 cat > conftest.$ac_ext <<EOF
16022 #line 16023 "configure
"
16023 #include "confdefs.h
"
16024 /* System header to define __stub macros and hopefully few prototypes,
16025 which can conflict with char $ac_func(); below. */
16026 #include <assert.h>
16027 /* Override any gcc2 internal prototype to avoid an error. */
16028 /* We use char because int might match the return type of a gcc2
16029 builtin and then its argument prototype would still apply. */
16034 /* The GNU C library defines this for functions which it implements
16035 to always fail with ENOSYS. Some functions are actually named
16036 something starting with __ and the normal name is an alias. */
16037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16045 if { (eval echo configure:16046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16047 eval "ac_cv_func_
$ac_func=yes"
16049 echo "configure
: failed program was
:" >&5
16050 cat conftest.$ac_ext >&5
16052 eval "ac_cv_func_
$ac_func=no
"
16057 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16058 echo "$ac_t""yes" 1>&6
16059 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16060 cat >> confdefs.h <<EOF
16061 #define $ac_tr_func 1
16065 echo "$ac_t""no
" 1>&6
16074 echo $ac_n "checking
for expl declaration
""...
$ac_c" 1>&6
16075 echo "configure
:16076: checking
for expl declaration
" >&5
16076 if test x${glibcpp_cv_func_expl_use+set} != xset; then
16077 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
16078 echo $ac_n "(cached
) $ac_c" 1>&6
16083 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16084 ac_cpp='$CXXCPP $CPPFLAGS'
16085 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16086 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16087 cross_compiling=$ac_cv_prog_cxx_cross
16089 cat > conftest.$ac_ext <<EOF
16090 #line 16091 "configure
"
16091 #include "confdefs.h
"
16093 #ifdef HAVE_IEEEFP_H
16094 #include <ieeefp.h>
16101 if { (eval echo configure:16102: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16103 glibcpp_cv_func_expl_use=yes
16105 echo "configure
: failed program was
:" >&5
16106 cat conftest.$ac_ext >&5
16108 glibcpp_cv_func_expl_use=no
16112 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16113 ac_cpp='$CPP $CPPFLAGS'
16114 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16115 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16116 cross_compiling=$ac_cv_prog_cc_cross
16122 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
16124 if test x$glibcpp_cv_func_expl_use = x"yes"; then
16125 for ac_func in expl
16127 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16128 echo "configure
:16129: checking
for $ac_func" >&5
16129 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16130 echo $ac_n "(cached
) $ac_c" 1>&6
16132 cat > conftest.$ac_ext <<EOF
16133 #line 16134 "configure
"
16134 #include "confdefs.h
"
16135 /* System header to define __stub macros and hopefully few prototypes,
16136 which can conflict with char $ac_func(); below. */
16137 #include <assert.h>
16138 /* Override any gcc2 internal prototype to avoid an error. */
16139 /* We use char because int might match the return type of a gcc2
16140 builtin and then its argument prototype would still apply. */
16145 /* The GNU C library defines this for functions which it implements
16146 to always fail with ENOSYS. Some functions are actually named
16147 something starting with __ and the normal name is an alias. */
16148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16156 if { (eval echo configure:16157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16158 eval "ac_cv_func_
$ac_func=yes"
16160 echo "configure
: failed program was
:" >&5
16161 cat conftest.$ac_ext >&5
16163 eval "ac_cv_func_
$ac_func=no
"
16168 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16169 echo "$ac_t""yes" 1>&6
16170 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16171 cat >> confdefs.h <<EOF
16172 #define $ac_tr_func 1
16176 echo "$ac_t""no
" 1>&6
16182 echo $ac_n "checking
for _expl declaration
""...
$ac_c" 1>&6
16183 echo "configure
:16184: checking
for _expl declaration
" >&5
16184 if test x${glibcpp_cv_func__expl_use+set} != xset; then
16185 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
16186 echo $ac_n "(cached
) $ac_c" 1>&6
16191 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16192 ac_cpp='$CXXCPP $CPPFLAGS'
16193 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16194 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16195 cross_compiling=$ac_cv_prog_cxx_cross
16197 cat > conftest.$ac_ext <<EOF
16198 #line 16199 "configure
"
16199 #include "confdefs.h
"
16201 #ifdef HAVE_IEEEFP_H
16202 #include <ieeefp.h>
16209 if { (eval echo configure:16210: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16211 glibcpp_cv_func__expl_use=yes
16213 echo "configure
: failed program was
:" >&5
16214 cat conftest.$ac_ext >&5
16216 glibcpp_cv_func__expl_use=no
16220 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16221 ac_cpp='$CPP $CPPFLAGS'
16222 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16223 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16224 cross_compiling=$ac_cv_prog_cc_cross
16230 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
16232 if test x$glibcpp_cv_func__expl_use = x"yes"; then
16233 for ac_func in _expl
16235 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16236 echo "configure
:16237: checking
for $ac_func" >&5
16237 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16238 echo $ac_n "(cached
) $ac_c" 1>&6
16240 cat > conftest.$ac_ext <<EOF
16241 #line 16242 "configure
"
16242 #include "confdefs.h
"
16243 /* System header to define __stub macros and hopefully few prototypes,
16244 which can conflict with char $ac_func(); below. */
16245 #include <assert.h>
16246 /* Override any gcc2 internal prototype to avoid an error. */
16247 /* We use char because int might match the return type of a gcc2
16248 builtin and then its argument prototype would still apply. */
16253 /* The GNU C library defines this for functions which it implements
16254 to always fail with ENOSYS. Some functions are actually named
16255 something starting with __ and the normal name is an alias. */
16256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16264 if { (eval echo configure:16265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16266 eval "ac_cv_func_
$ac_func=yes"
16268 echo "configure
: failed program was
:" >&5
16269 cat conftest.$ac_ext >&5
16271 eval "ac_cv_func_
$ac_func=no
"
16276 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16277 echo "$ac_t""yes" 1>&6
16278 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16279 cat >> confdefs.h <<EOF
16280 #define $ac_tr_func 1
16284 echo "$ac_t""no
" 1>&6
16293 echo $ac_n "checking
for fabsl declaration
""...
$ac_c" 1>&6
16294 echo "configure
:16295: checking
for fabsl declaration
" >&5
16295 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
16296 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
16297 echo $ac_n "(cached
) $ac_c" 1>&6
16302 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16303 ac_cpp='$CXXCPP $CPPFLAGS'
16304 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16305 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16306 cross_compiling=$ac_cv_prog_cxx_cross
16308 cat > conftest.$ac_ext <<EOF
16309 #line 16310 "configure
"
16310 #include "confdefs.h
"
16312 #ifdef HAVE_IEEEFP_H
16313 #include <ieeefp.h>
16320 if { (eval echo configure:16321: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16322 glibcpp_cv_func_fabsl_use=yes
16324 echo "configure
: failed program was
:" >&5
16325 cat conftest.$ac_ext >&5
16327 glibcpp_cv_func_fabsl_use=no
16331 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16332 ac_cpp='$CPP $CPPFLAGS'
16333 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16334 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16335 cross_compiling=$ac_cv_prog_cc_cross
16341 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
16343 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
16344 for ac_func in fabsl
16346 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16347 echo "configure
:16348: checking
for $ac_func" >&5
16348 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16349 echo $ac_n "(cached
) $ac_c" 1>&6
16351 cat > conftest.$ac_ext <<EOF
16352 #line 16353 "configure
"
16353 #include "confdefs.h
"
16354 /* System header to define __stub macros and hopefully few prototypes,
16355 which can conflict with char $ac_func(); below. */
16356 #include <assert.h>
16357 /* Override any gcc2 internal prototype to avoid an error. */
16358 /* We use char because int might match the return type of a gcc2
16359 builtin and then its argument prototype would still apply. */
16364 /* The GNU C library defines this for functions which it implements
16365 to always fail with ENOSYS. Some functions are actually named
16366 something starting with __ and the normal name is an alias. */
16367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16375 if { (eval echo configure:16376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16377 eval "ac_cv_func_
$ac_func=yes"
16379 echo "configure
: failed program was
:" >&5
16380 cat conftest.$ac_ext >&5
16382 eval "ac_cv_func_
$ac_func=no
"
16387 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16388 echo "$ac_t""yes" 1>&6
16389 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16390 cat >> confdefs.h <<EOF
16391 #define $ac_tr_func 1
16395 echo "$ac_t""no
" 1>&6
16401 echo $ac_n "checking
for _fabsl declaration
""...
$ac_c" 1>&6
16402 echo "configure
:16403: checking
for _fabsl declaration
" >&5
16403 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
16404 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
16405 echo $ac_n "(cached
) $ac_c" 1>&6
16410 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16411 ac_cpp='$CXXCPP $CPPFLAGS'
16412 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16413 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16414 cross_compiling=$ac_cv_prog_cxx_cross
16416 cat > conftest.$ac_ext <<EOF
16417 #line 16418 "configure
"
16418 #include "confdefs.h
"
16420 #ifdef HAVE_IEEEFP_H
16421 #include <ieeefp.h>
16428 if { (eval echo configure:16429: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16430 glibcpp_cv_func__fabsl_use=yes
16432 echo "configure
: failed program was
:" >&5
16433 cat conftest.$ac_ext >&5
16435 glibcpp_cv_func__fabsl_use=no
16439 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16440 ac_cpp='$CPP $CPPFLAGS'
16441 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16442 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16443 cross_compiling=$ac_cv_prog_cc_cross
16449 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
16451 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
16452 for ac_func in _fabsl
16454 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16455 echo "configure
:16456: checking
for $ac_func" >&5
16456 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16457 echo $ac_n "(cached
) $ac_c" 1>&6
16459 cat > conftest.$ac_ext <<EOF
16460 #line 16461 "configure
"
16461 #include "confdefs.h
"
16462 /* System header to define __stub macros and hopefully few prototypes,
16463 which can conflict with char $ac_func(); below. */
16464 #include <assert.h>
16465 /* Override any gcc2 internal prototype to avoid an error. */
16466 /* We use char because int might match the return type of a gcc2
16467 builtin and then its argument prototype would still apply. */
16472 /* The GNU C library defines this for functions which it implements
16473 to always fail with ENOSYS. Some functions are actually named
16474 something starting with __ and the normal name is an alias. */
16475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16483 if { (eval echo configure:16484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16485 eval "ac_cv_func_
$ac_func=yes"
16487 echo "configure
: failed program was
:" >&5
16488 cat conftest.$ac_ext >&5
16490 eval "ac_cv_func_
$ac_func=no
"
16495 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16496 echo "$ac_t""yes" 1>&6
16497 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16498 cat >> confdefs.h <<EOF
16499 #define $ac_tr_func 1
16503 echo "$ac_t""no
" 1>&6
16512 echo $ac_n "checking
for fmodl declaration
""...
$ac_c" 1>&6
16513 echo "configure
:16514: checking
for fmodl declaration
" >&5
16514 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
16515 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
16516 echo $ac_n "(cached
) $ac_c" 1>&6
16521 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16522 ac_cpp='$CXXCPP $CPPFLAGS'
16523 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16524 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16525 cross_compiling=$ac_cv_prog_cxx_cross
16527 cat > conftest.$ac_ext <<EOF
16528 #line 16529 "configure
"
16529 #include "confdefs.h
"
16535 if { (eval echo configure:16536: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16537 glibcpp_cv_func_fmodl_use=yes
16539 echo "configure
: failed program was
:" >&5
16540 cat conftest.$ac_ext >&5
16542 glibcpp_cv_func_fmodl_use=no
16546 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16547 ac_cpp='$CPP $CPPFLAGS'
16548 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16549 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16550 cross_compiling=$ac_cv_prog_cc_cross
16556 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
16558 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
16559 for ac_func in fmodl
16561 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16562 echo "configure
:16563: checking
for $ac_func" >&5
16563 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16564 echo $ac_n "(cached
) $ac_c" 1>&6
16566 cat > conftest.$ac_ext <<EOF
16567 #line 16568 "configure
"
16568 #include "confdefs.h
"
16569 /* System header to define __stub macros and hopefully few prototypes,
16570 which can conflict with char $ac_func(); below. */
16571 #include <assert.h>
16572 /* Override any gcc2 internal prototype to avoid an error. */
16573 /* We use char because int might match the return type of a gcc2
16574 builtin and then its argument prototype would still apply. */
16579 /* The GNU C library defines this for functions which it implements
16580 to always fail with ENOSYS. Some functions are actually named
16581 something starting with __ and the normal name is an alias. */
16582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16590 if { (eval echo configure:16591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16592 eval "ac_cv_func_
$ac_func=yes"
16594 echo "configure
: failed program was
:" >&5
16595 cat conftest.$ac_ext >&5
16597 eval "ac_cv_func_
$ac_func=no
"
16602 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16603 echo "$ac_t""yes" 1>&6
16604 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16605 cat >> confdefs.h <<EOF
16606 #define $ac_tr_func 1
16610 echo "$ac_t""no
" 1>&6
16616 echo $ac_n "checking
for _fmodl declaration
""...
$ac_c" 1>&6
16617 echo "configure
:16618: checking
for _fmodl declaration
" >&5
16618 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
16619 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
16620 echo $ac_n "(cached
) $ac_c" 1>&6
16625 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16626 ac_cpp='$CXXCPP $CPPFLAGS'
16627 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16628 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16629 cross_compiling=$ac_cv_prog_cxx_cross
16631 cat > conftest.$ac_ext <<EOF
16632 #line 16633 "configure
"
16633 #include "confdefs.h
"
16639 if { (eval echo configure:16640: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16641 glibcpp_cv_func__fmodl_use=yes
16643 echo "configure
: failed program was
:" >&5
16644 cat conftest.$ac_ext >&5
16646 glibcpp_cv_func__fmodl_use=no
16650 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16651 ac_cpp='$CPP $CPPFLAGS'
16652 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16653 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16654 cross_compiling=$ac_cv_prog_cc_cross
16660 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
16662 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
16663 for ac_func in _fmodl
16665 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16666 echo "configure
:16667: checking
for $ac_func" >&5
16667 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16668 echo $ac_n "(cached
) $ac_c" 1>&6
16670 cat > conftest.$ac_ext <<EOF
16671 #line 16672 "configure
"
16672 #include "confdefs.h
"
16673 /* System header to define __stub macros and hopefully few prototypes,
16674 which can conflict with char $ac_func(); below. */
16675 #include <assert.h>
16676 /* Override any gcc2 internal prototype to avoid an error. */
16677 /* We use char because int might match the return type of a gcc2
16678 builtin and then its argument prototype would still apply. */
16683 /* The GNU C library defines this for functions which it implements
16684 to always fail with ENOSYS. Some functions are actually named
16685 something starting with __ and the normal name is an alias. */
16686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16694 if { (eval echo configure:16695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16696 eval "ac_cv_func_
$ac_func=yes"
16698 echo "configure
: failed program was
:" >&5
16699 cat conftest.$ac_ext >&5
16701 eval "ac_cv_func_
$ac_func=no
"
16706 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16707 echo "$ac_t""yes" 1>&6
16708 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16709 cat >> confdefs.h <<EOF
16710 #define $ac_tr_func 1
16714 echo "$ac_t""no
" 1>&6
16723 echo $ac_n "checking
for frexpl declaration
""...
$ac_c" 1>&6
16724 echo "configure
:16725: checking
for frexpl declaration
" >&5
16725 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
16726 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
16727 echo $ac_n "(cached
) $ac_c" 1>&6
16732 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16733 ac_cpp='$CXXCPP $CPPFLAGS'
16734 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16735 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16736 cross_compiling=$ac_cv_prog_cxx_cross
16738 cat > conftest.$ac_ext <<EOF
16739 #line 16740 "configure
"
16740 #include "confdefs.h
"
16746 if { (eval echo configure:16747: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16748 glibcpp_cv_func_frexpl_use=yes
16750 echo "configure
: failed program was
:" >&5
16751 cat conftest.$ac_ext >&5
16753 glibcpp_cv_func_frexpl_use=no
16757 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16758 ac_cpp='$CPP $CPPFLAGS'
16759 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16760 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16761 cross_compiling=$ac_cv_prog_cc_cross
16767 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
16769 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
16770 for ac_func in frexpl
16772 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16773 echo "configure
:16774: checking
for $ac_func" >&5
16774 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16775 echo $ac_n "(cached
) $ac_c" 1>&6
16777 cat > conftest.$ac_ext <<EOF
16778 #line 16779 "configure
"
16779 #include "confdefs.h
"
16780 /* System header to define __stub macros and hopefully few prototypes,
16781 which can conflict with char $ac_func(); below. */
16782 #include <assert.h>
16783 /* Override any gcc2 internal prototype to avoid an error. */
16784 /* We use char because int might match the return type of a gcc2
16785 builtin and then its argument prototype would still apply. */
16790 /* The GNU C library defines this for functions which it implements
16791 to always fail with ENOSYS. Some functions are actually named
16792 something starting with __ and the normal name is an alias. */
16793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16801 if { (eval echo configure:16802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16803 eval "ac_cv_func_
$ac_func=yes"
16805 echo "configure
: failed program was
:" >&5
16806 cat conftest.$ac_ext >&5
16808 eval "ac_cv_func_
$ac_func=no
"
16813 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16814 echo "$ac_t""yes" 1>&6
16815 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16816 cat >> confdefs.h <<EOF
16817 #define $ac_tr_func 1
16821 echo "$ac_t""no
" 1>&6
16827 echo $ac_n "checking
for _frexpl declaration
""...
$ac_c" 1>&6
16828 echo "configure
:16829: checking
for _frexpl declaration
" >&5
16829 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
16830 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
16831 echo $ac_n "(cached
) $ac_c" 1>&6
16836 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16837 ac_cpp='$CXXCPP $CPPFLAGS'
16838 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16839 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16840 cross_compiling=$ac_cv_prog_cxx_cross
16842 cat > conftest.$ac_ext <<EOF
16843 #line 16844 "configure
"
16844 #include "confdefs.h
"
16850 if { (eval echo configure:16851: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16852 glibcpp_cv_func__frexpl_use=yes
16854 echo "configure
: failed program was
:" >&5
16855 cat conftest.$ac_ext >&5
16857 glibcpp_cv_func__frexpl_use=no
16861 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16862 ac_cpp='$CPP $CPPFLAGS'
16863 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16864 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16865 cross_compiling=$ac_cv_prog_cc_cross
16871 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
16873 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
16874 for ac_func in _frexpl
16876 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16877 echo "configure
:16878: checking
for $ac_func" >&5
16878 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16879 echo $ac_n "(cached
) $ac_c" 1>&6
16881 cat > conftest.$ac_ext <<EOF
16882 #line 16883 "configure
"
16883 #include "confdefs.h
"
16884 /* System header to define __stub macros and hopefully few prototypes,
16885 which can conflict with char $ac_func(); below. */
16886 #include <assert.h>
16887 /* Override any gcc2 internal prototype to avoid an error. */
16888 /* We use char because int might match the return type of a gcc2
16889 builtin and then its argument prototype would still apply. */
16894 /* The GNU C library defines this for functions which it implements
16895 to always fail with ENOSYS. Some functions are actually named
16896 something starting with __ and the normal name is an alias. */
16897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16905 if { (eval echo configure:16906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16907 eval "ac_cv_func_
$ac_func=yes"
16909 echo "configure
: failed program was
:" >&5
16910 cat conftest.$ac_ext >&5
16912 eval "ac_cv_func_
$ac_func=no
"
16917 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16918 echo "$ac_t""yes" 1>&6
16919 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16920 cat >> confdefs.h <<EOF
16921 #define $ac_tr_func 1
16925 echo "$ac_t""no
" 1>&6
16934 echo $ac_n "checking
for hypotl declaration
""...
$ac_c" 1>&6
16935 echo "configure
:16936: checking
for hypotl declaration
" >&5
16936 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
16937 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
16938 echo $ac_n "(cached
) $ac_c" 1>&6
16943 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16944 ac_cpp='$CXXCPP $CPPFLAGS'
16945 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16946 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16947 cross_compiling=$ac_cv_prog_cxx_cross
16949 cat > conftest.$ac_ext <<EOF
16950 #line 16951 "configure
"
16951 #include "confdefs.h
"
16957 if { (eval echo configure:16958: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16959 glibcpp_cv_func_hypotl_use=yes
16961 echo "configure
: failed program was
:" >&5
16962 cat conftest.$ac_ext >&5
16964 glibcpp_cv_func_hypotl_use=no
16968 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16969 ac_cpp='$CPP $CPPFLAGS'
16970 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16971 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16972 cross_compiling=$ac_cv_prog_cc_cross
16978 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
16980 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
16981 for ac_func in hypotl
16983 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16984 echo "configure
:16985: checking
for $ac_func" >&5
16985 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16986 echo $ac_n "(cached
) $ac_c" 1>&6
16988 cat > conftest.$ac_ext <<EOF
16989 #line 16990 "configure
"
16990 #include "confdefs.h
"
16991 /* System header to define __stub macros and hopefully few prototypes,
16992 which can conflict with char $ac_func(); below. */
16993 #include <assert.h>
16994 /* Override any gcc2 internal prototype to avoid an error. */
16995 /* We use char because int might match the return type of a gcc2
16996 builtin and then its argument prototype would still apply. */
17001 /* The GNU C library defines this for functions which it implements
17002 to always fail with ENOSYS. Some functions are actually named
17003 something starting with __ and the normal name is an alias. */
17004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17012 if { (eval echo configure:17013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17014 eval "ac_cv_func_
$ac_func=yes"
17016 echo "configure
: failed program was
:" >&5
17017 cat conftest.$ac_ext >&5
17019 eval "ac_cv_func_
$ac_func=no
"
17024 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17025 echo "$ac_t""yes" 1>&6
17026 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17027 cat >> confdefs.h <<EOF
17028 #define $ac_tr_func 1
17032 echo "$ac_t""no
" 1>&6
17038 echo $ac_n "checking
for _hypotl declaration
""...
$ac_c" 1>&6
17039 echo "configure
:17040: checking
for _hypotl declaration
" >&5
17040 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
17041 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
17042 echo $ac_n "(cached
) $ac_c" 1>&6
17047 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17048 ac_cpp='$CXXCPP $CPPFLAGS'
17049 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17050 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17051 cross_compiling=$ac_cv_prog_cxx_cross
17053 cat > conftest.$ac_ext <<EOF
17054 #line 17055 "configure
"
17055 #include "confdefs.h
"
17061 if { (eval echo configure:17062: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17063 glibcpp_cv_func__hypotl_use=yes
17065 echo "configure
: failed program was
:" >&5
17066 cat conftest.$ac_ext >&5
17068 glibcpp_cv_func__hypotl_use=no
17072 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17073 ac_cpp='$CPP $CPPFLAGS'
17074 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17075 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17076 cross_compiling=$ac_cv_prog_cc_cross
17082 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
17084 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
17085 for ac_func in _hypotl
17087 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17088 echo "configure
:17089: checking
for $ac_func" >&5
17089 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17090 echo $ac_n "(cached
) $ac_c" 1>&6
17092 cat > conftest.$ac_ext <<EOF
17093 #line 17094 "configure
"
17094 #include "confdefs.h
"
17095 /* System header to define __stub macros and hopefully few prototypes,
17096 which can conflict with char $ac_func(); below. */
17097 #include <assert.h>
17098 /* Override any gcc2 internal prototype to avoid an error. */
17099 /* We use char because int might match the return type of a gcc2
17100 builtin and then its argument prototype would still apply. */
17105 /* The GNU C library defines this for functions which it implements
17106 to always fail with ENOSYS. Some functions are actually named
17107 something starting with __ and the normal name is an alias. */
17108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17116 if { (eval echo configure:17117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17118 eval "ac_cv_func_
$ac_func=yes"
17120 echo "configure
: failed program was
:" >&5
17121 cat conftest.$ac_ext >&5
17123 eval "ac_cv_func_
$ac_func=no
"
17128 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17129 echo "$ac_t""yes" 1>&6
17130 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17131 cat >> confdefs.h <<EOF
17132 #define $ac_tr_func 1
17136 echo "$ac_t""no
" 1>&6
17145 echo $ac_n "checking
for ldexpl declaration
""...
$ac_c" 1>&6
17146 echo "configure
:17147: checking
for ldexpl declaration
" >&5
17147 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
17148 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
17149 echo $ac_n "(cached
) $ac_c" 1>&6
17154 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17155 ac_cpp='$CXXCPP $CPPFLAGS'
17156 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17157 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17158 cross_compiling=$ac_cv_prog_cxx_cross
17160 cat > conftest.$ac_ext <<EOF
17161 #line 17162 "configure
"
17162 #include "confdefs.h
"
17168 if { (eval echo configure:17169: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17170 glibcpp_cv_func_ldexpl_use=yes
17172 echo "configure
: failed program was
:" >&5
17173 cat conftest.$ac_ext >&5
17175 glibcpp_cv_func_ldexpl_use=no
17179 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17180 ac_cpp='$CPP $CPPFLAGS'
17181 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17182 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17183 cross_compiling=$ac_cv_prog_cc_cross
17189 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
17191 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
17192 for ac_func in ldexpl
17194 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17195 echo "configure
:17196: checking
for $ac_func" >&5
17196 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17197 echo $ac_n "(cached
) $ac_c" 1>&6
17199 cat > conftest.$ac_ext <<EOF
17200 #line 17201 "configure
"
17201 #include "confdefs.h
"
17202 /* System header to define __stub macros and hopefully few prototypes,
17203 which can conflict with char $ac_func(); below. */
17204 #include <assert.h>
17205 /* Override any gcc2 internal prototype to avoid an error. */
17206 /* We use char because int might match the return type of a gcc2
17207 builtin and then its argument prototype would still apply. */
17212 /* The GNU C library defines this for functions which it implements
17213 to always fail with ENOSYS. Some functions are actually named
17214 something starting with __ and the normal name is an alias. */
17215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17223 if { (eval echo configure:17224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17225 eval "ac_cv_func_
$ac_func=yes"
17227 echo "configure
: failed program was
:" >&5
17228 cat conftest.$ac_ext >&5
17230 eval "ac_cv_func_
$ac_func=no
"
17235 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17236 echo "$ac_t""yes" 1>&6
17237 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17238 cat >> confdefs.h <<EOF
17239 #define $ac_tr_func 1
17243 echo "$ac_t""no
" 1>&6
17249 echo $ac_n "checking
for _ldexpl declaration
""...
$ac_c" 1>&6
17250 echo "configure
:17251: checking
for _ldexpl declaration
" >&5
17251 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
17252 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
17253 echo $ac_n "(cached
) $ac_c" 1>&6
17258 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17259 ac_cpp='$CXXCPP $CPPFLAGS'
17260 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17261 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17262 cross_compiling=$ac_cv_prog_cxx_cross
17264 cat > conftest.$ac_ext <<EOF
17265 #line 17266 "configure
"
17266 #include "confdefs.h
"
17272 if { (eval echo configure:17273: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17274 glibcpp_cv_func__ldexpl_use=yes
17276 echo "configure
: failed program was
:" >&5
17277 cat conftest.$ac_ext >&5
17279 glibcpp_cv_func__ldexpl_use=no
17283 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17284 ac_cpp='$CPP $CPPFLAGS'
17285 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17286 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17287 cross_compiling=$ac_cv_prog_cc_cross
17293 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
17295 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
17296 for ac_func in _ldexpl
17298 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17299 echo "configure
:17300: checking
for $ac_func" >&5
17300 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17301 echo $ac_n "(cached
) $ac_c" 1>&6
17303 cat > conftest.$ac_ext <<EOF
17304 #line 17305 "configure
"
17305 #include "confdefs.h
"
17306 /* System header to define __stub macros and hopefully few prototypes,
17307 which can conflict with char $ac_func(); below. */
17308 #include <assert.h>
17309 /* Override any gcc2 internal prototype to avoid an error. */
17310 /* We use char because int might match the return type of a gcc2
17311 builtin and then its argument prototype would still apply. */
17316 /* The GNU C library defines this for functions which it implements
17317 to always fail with ENOSYS. Some functions are actually named
17318 something starting with __ and the normal name is an alias. */
17319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17327 if { (eval echo configure:17328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17329 eval "ac_cv_func_
$ac_func=yes"
17331 echo "configure
: failed program was
:" >&5
17332 cat conftest.$ac_ext >&5
17334 eval "ac_cv_func_
$ac_func=no
"
17339 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17340 echo "$ac_t""yes" 1>&6
17341 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17342 cat >> confdefs.h <<EOF
17343 #define $ac_tr_func 1
17347 echo "$ac_t""no
" 1>&6
17356 echo $ac_n "checking
for logl declaration
""...
$ac_c" 1>&6
17357 echo "configure
:17358: checking
for logl declaration
" >&5
17358 if test x${glibcpp_cv_func_logl_use+set} != xset; then
17359 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
17360 echo $ac_n "(cached
) $ac_c" 1>&6
17365 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17366 ac_cpp='$CXXCPP $CPPFLAGS'
17367 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17368 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17369 cross_compiling=$ac_cv_prog_cxx_cross
17371 cat > conftest.$ac_ext <<EOF
17372 #line 17373 "configure
"
17373 #include "confdefs.h
"
17375 #ifdef HAVE_IEEEFP_H
17376 #include <ieeefp.h>
17383 if { (eval echo configure:17384: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17385 glibcpp_cv_func_logl_use=yes
17387 echo "configure
: failed program was
:" >&5
17388 cat conftest.$ac_ext >&5
17390 glibcpp_cv_func_logl_use=no
17394 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17395 ac_cpp='$CPP $CPPFLAGS'
17396 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17397 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17398 cross_compiling=$ac_cv_prog_cc_cross
17404 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
17406 if test x$glibcpp_cv_func_logl_use = x"yes"; then
17407 for ac_func in logl
17409 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17410 echo "configure
:17411: checking
for $ac_func" >&5
17411 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17412 echo $ac_n "(cached
) $ac_c" 1>&6
17414 cat > conftest.$ac_ext <<EOF
17415 #line 17416 "configure
"
17416 #include "confdefs.h
"
17417 /* System header to define __stub macros and hopefully few prototypes,
17418 which can conflict with char $ac_func(); below. */
17419 #include <assert.h>
17420 /* Override any gcc2 internal prototype to avoid an error. */
17421 /* We use char because int might match the return type of a gcc2
17422 builtin and then its argument prototype would still apply. */
17427 /* The GNU C library defines this for functions which it implements
17428 to always fail with ENOSYS. Some functions are actually named
17429 something starting with __ and the normal name is an alias. */
17430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17438 if { (eval echo configure:17439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17440 eval "ac_cv_func_
$ac_func=yes"
17442 echo "configure
: failed program was
:" >&5
17443 cat conftest.$ac_ext >&5
17445 eval "ac_cv_func_
$ac_func=no
"
17450 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17451 echo "$ac_t""yes" 1>&6
17452 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17453 cat >> confdefs.h <<EOF
17454 #define $ac_tr_func 1
17458 echo "$ac_t""no
" 1>&6
17464 echo $ac_n "checking
for _logl declaration
""...
$ac_c" 1>&6
17465 echo "configure
:17466: checking
for _logl declaration
" >&5
17466 if test x${glibcpp_cv_func__logl_use+set} != xset; then
17467 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
17468 echo $ac_n "(cached
) $ac_c" 1>&6
17473 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17474 ac_cpp='$CXXCPP $CPPFLAGS'
17475 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17476 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17477 cross_compiling=$ac_cv_prog_cxx_cross
17479 cat > conftest.$ac_ext <<EOF
17480 #line 17481 "configure
"
17481 #include "confdefs.h
"
17483 #ifdef HAVE_IEEEFP_H
17484 #include <ieeefp.h>
17491 if { (eval echo configure:17492: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17493 glibcpp_cv_func__logl_use=yes
17495 echo "configure
: failed program was
:" >&5
17496 cat conftest.$ac_ext >&5
17498 glibcpp_cv_func__logl_use=no
17502 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17503 ac_cpp='$CPP $CPPFLAGS'
17504 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17505 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17506 cross_compiling=$ac_cv_prog_cc_cross
17512 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
17514 if test x$glibcpp_cv_func__logl_use = x"yes"; then
17515 for ac_func in _logl
17517 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17518 echo "configure
:17519: checking
for $ac_func" >&5
17519 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17520 echo $ac_n "(cached
) $ac_c" 1>&6
17522 cat > conftest.$ac_ext <<EOF
17523 #line 17524 "configure
"
17524 #include "confdefs.h
"
17525 /* System header to define __stub macros and hopefully few prototypes,
17526 which can conflict with char $ac_func(); below. */
17527 #include <assert.h>
17528 /* Override any gcc2 internal prototype to avoid an error. */
17529 /* We use char because int might match the return type of a gcc2
17530 builtin and then its argument prototype would still apply. */
17535 /* The GNU C library defines this for functions which it implements
17536 to always fail with ENOSYS. Some functions are actually named
17537 something starting with __ and the normal name is an alias. */
17538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17546 if { (eval echo configure:17547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17548 eval "ac_cv_func_
$ac_func=yes"
17550 echo "configure
: failed program was
:" >&5
17551 cat conftest.$ac_ext >&5
17553 eval "ac_cv_func_
$ac_func=no
"
17558 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17559 echo "$ac_t""yes" 1>&6
17560 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17561 cat >> confdefs.h <<EOF
17562 #define $ac_tr_func 1
17566 echo "$ac_t""no
" 1>&6
17575 echo $ac_n "checking
for log10l declaration
""...
$ac_c" 1>&6
17576 echo "configure
:17577: checking
for log10l declaration
" >&5
17577 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
17578 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
17579 echo $ac_n "(cached
) $ac_c" 1>&6
17584 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17585 ac_cpp='$CXXCPP $CPPFLAGS'
17586 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17587 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17588 cross_compiling=$ac_cv_prog_cxx_cross
17590 cat > conftest.$ac_ext <<EOF
17591 #line 17592 "configure
"
17592 #include "confdefs.h
"
17594 #ifdef HAVE_IEEEFP_H
17595 #include <ieeefp.h>
17602 if { (eval echo configure:17603: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17604 glibcpp_cv_func_log10l_use=yes
17606 echo "configure
: failed program was
:" >&5
17607 cat conftest.$ac_ext >&5
17609 glibcpp_cv_func_log10l_use=no
17613 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17614 ac_cpp='$CPP $CPPFLAGS'
17615 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17616 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17617 cross_compiling=$ac_cv_prog_cc_cross
17623 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
17625 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
17626 for ac_func in log10l
17628 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17629 echo "configure
:17630: checking
for $ac_func" >&5
17630 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17631 echo $ac_n "(cached
) $ac_c" 1>&6
17633 cat > conftest.$ac_ext <<EOF
17634 #line 17635 "configure
"
17635 #include "confdefs.h
"
17636 /* System header to define __stub macros and hopefully few prototypes,
17637 which can conflict with char $ac_func(); below. */
17638 #include <assert.h>
17639 /* Override any gcc2 internal prototype to avoid an error. */
17640 /* We use char because int might match the return type of a gcc2
17641 builtin and then its argument prototype would still apply. */
17646 /* The GNU C library defines this for functions which it implements
17647 to always fail with ENOSYS. Some functions are actually named
17648 something starting with __ and the normal name is an alias. */
17649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17657 if { (eval echo configure:17658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17659 eval "ac_cv_func_
$ac_func=yes"
17661 echo "configure
: failed program was
:" >&5
17662 cat conftest.$ac_ext >&5
17664 eval "ac_cv_func_
$ac_func=no
"
17669 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17670 echo "$ac_t""yes" 1>&6
17671 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17672 cat >> confdefs.h <<EOF
17673 #define $ac_tr_func 1
17677 echo "$ac_t""no
" 1>&6
17683 echo $ac_n "checking
for _log10l declaration
""...
$ac_c" 1>&6
17684 echo "configure
:17685: checking
for _log10l declaration
" >&5
17685 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
17686 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
17687 echo $ac_n "(cached
) $ac_c" 1>&6
17692 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17693 ac_cpp='$CXXCPP $CPPFLAGS'
17694 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17695 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17696 cross_compiling=$ac_cv_prog_cxx_cross
17698 cat > conftest.$ac_ext <<EOF
17699 #line 17700 "configure
"
17700 #include "confdefs.h
"
17702 #ifdef HAVE_IEEEFP_H
17703 #include <ieeefp.h>
17710 if { (eval echo configure:17711: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17712 glibcpp_cv_func__log10l_use=yes
17714 echo "configure
: failed program was
:" >&5
17715 cat conftest.$ac_ext >&5
17717 glibcpp_cv_func__log10l_use=no
17721 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17722 ac_cpp='$CPP $CPPFLAGS'
17723 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17724 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17725 cross_compiling=$ac_cv_prog_cc_cross
17731 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
17733 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
17734 for ac_func in _log10l
17736 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17737 echo "configure
:17738: checking
for $ac_func" >&5
17738 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17739 echo $ac_n "(cached
) $ac_c" 1>&6
17741 cat > conftest.$ac_ext <<EOF
17742 #line 17743 "configure
"
17743 #include "confdefs.h
"
17744 /* System header to define __stub macros and hopefully few prototypes,
17745 which can conflict with char $ac_func(); below. */
17746 #include <assert.h>
17747 /* Override any gcc2 internal prototype to avoid an error. */
17748 /* We use char because int might match the return type of a gcc2
17749 builtin and then its argument prototype would still apply. */
17754 /* The GNU C library defines this for functions which it implements
17755 to always fail with ENOSYS. Some functions are actually named
17756 something starting with __ and the normal name is an alias. */
17757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17765 if { (eval echo configure:17766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17767 eval "ac_cv_func_
$ac_func=yes"
17769 echo "configure
: failed program was
:" >&5
17770 cat conftest.$ac_ext >&5
17772 eval "ac_cv_func_
$ac_func=no
"
17777 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17778 echo "$ac_t""yes" 1>&6
17779 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17780 cat >> confdefs.h <<EOF
17781 #define $ac_tr_func 1
17785 echo "$ac_t""no
" 1>&6
17794 echo $ac_n "checking
for modfl declaration
""...
$ac_c" 1>&6
17795 echo "configure
:17796: checking
for modfl declaration
" >&5
17796 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
17797 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
17798 echo $ac_n "(cached
) $ac_c" 1>&6
17803 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17804 ac_cpp='$CXXCPP $CPPFLAGS'
17805 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17806 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17807 cross_compiling=$ac_cv_prog_cxx_cross
17809 cat > conftest.$ac_ext <<EOF
17810 #line 17811 "configure
"
17811 #include "confdefs.h
"
17817 if { (eval echo configure:17818: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17819 glibcpp_cv_func_modfl_use=yes
17821 echo "configure
: failed program was
:" >&5
17822 cat conftest.$ac_ext >&5
17824 glibcpp_cv_func_modfl_use=no
17828 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17829 ac_cpp='$CPP $CPPFLAGS'
17830 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17831 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17832 cross_compiling=$ac_cv_prog_cc_cross
17838 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
17840 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
17841 for ac_func in modfl
17843 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17844 echo "configure
:17845: checking
for $ac_func" >&5
17845 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17846 echo $ac_n "(cached
) $ac_c" 1>&6
17848 cat > conftest.$ac_ext <<EOF
17849 #line 17850 "configure
"
17850 #include "confdefs.h
"
17851 /* System header to define __stub macros and hopefully few prototypes,
17852 which can conflict with char $ac_func(); below. */
17853 #include <assert.h>
17854 /* Override any gcc2 internal prototype to avoid an error. */
17855 /* We use char because int might match the return type of a gcc2
17856 builtin and then its argument prototype would still apply. */
17861 /* The GNU C library defines this for functions which it implements
17862 to always fail with ENOSYS. Some functions are actually named
17863 something starting with __ and the normal name is an alias. */
17864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17872 if { (eval echo configure:17873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17874 eval "ac_cv_func_
$ac_func=yes"
17876 echo "configure
: failed program was
:" >&5
17877 cat conftest.$ac_ext >&5
17879 eval "ac_cv_func_
$ac_func=no
"
17884 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17885 echo "$ac_t""yes" 1>&6
17886 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17887 cat >> confdefs.h <<EOF
17888 #define $ac_tr_func 1
17892 echo "$ac_t""no
" 1>&6
17898 echo $ac_n "checking
for _modfl declaration
""...
$ac_c" 1>&6
17899 echo "configure
:17900: checking
for _modfl declaration
" >&5
17900 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
17901 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
17902 echo $ac_n "(cached
) $ac_c" 1>&6
17907 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17908 ac_cpp='$CXXCPP $CPPFLAGS'
17909 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17910 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17911 cross_compiling=$ac_cv_prog_cxx_cross
17913 cat > conftest.$ac_ext <<EOF
17914 #line 17915 "configure
"
17915 #include "confdefs.h
"
17921 if { (eval echo configure:17922: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17923 glibcpp_cv_func__modfl_use=yes
17925 echo "configure
: failed program was
:" >&5
17926 cat conftest.$ac_ext >&5
17928 glibcpp_cv_func__modfl_use=no
17932 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17933 ac_cpp='$CPP $CPPFLAGS'
17934 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17935 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17936 cross_compiling=$ac_cv_prog_cc_cross
17942 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
17944 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
17945 for ac_func in _modfl
17947 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17948 echo "configure
:17949: checking
for $ac_func" >&5
17949 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17950 echo $ac_n "(cached
) $ac_c" 1>&6
17952 cat > conftest.$ac_ext <<EOF
17953 #line 17954 "configure
"
17954 #include "confdefs.h
"
17955 /* System header to define __stub macros and hopefully few prototypes,
17956 which can conflict with char $ac_func(); below. */
17957 #include <assert.h>
17958 /* Override any gcc2 internal prototype to avoid an error. */
17959 /* We use char because int might match the return type of a gcc2
17960 builtin and then its argument prototype would still apply. */
17965 /* The GNU C library defines this for functions which it implements
17966 to always fail with ENOSYS. Some functions are actually named
17967 something starting with __ and the normal name is an alias. */
17968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17976 if { (eval echo configure:17977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17978 eval "ac_cv_func_
$ac_func=yes"
17980 echo "configure
: failed program was
:" >&5
17981 cat conftest.$ac_ext >&5
17983 eval "ac_cv_func_
$ac_func=no
"
17988 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17989 echo "$ac_t""yes" 1>&6
17990 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17991 cat >> confdefs.h <<EOF
17992 #define $ac_tr_func 1
17996 echo "$ac_t""no
" 1>&6
18005 echo $ac_n "checking
for powl declaration
""...
$ac_c" 1>&6
18006 echo "configure
:18007: checking
for powl declaration
" >&5
18007 if test x${glibcpp_cv_func_powl_use+set} != xset; then
18008 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
18009 echo $ac_n "(cached
) $ac_c" 1>&6
18014 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18015 ac_cpp='$CXXCPP $CPPFLAGS'
18016 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18017 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18018 cross_compiling=$ac_cv_prog_cxx_cross
18020 cat > conftest.$ac_ext <<EOF
18021 #line 18022 "configure
"
18022 #include "confdefs.h
"
18028 if { (eval echo configure:18029: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18030 glibcpp_cv_func_powl_use=yes
18032 echo "configure
: failed program was
:" >&5
18033 cat conftest.$ac_ext >&5
18035 glibcpp_cv_func_powl_use=no
18039 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18040 ac_cpp='$CPP $CPPFLAGS'
18041 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18042 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18043 cross_compiling=$ac_cv_prog_cc_cross
18049 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
18051 if test x$glibcpp_cv_func_powl_use = x"yes"; then
18052 for ac_func in powl
18054 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18055 echo "configure
:18056: checking
for $ac_func" >&5
18056 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18057 echo $ac_n "(cached
) $ac_c" 1>&6
18059 cat > conftest.$ac_ext <<EOF
18060 #line 18061 "configure
"
18061 #include "confdefs.h
"
18062 /* System header to define __stub macros and hopefully few prototypes,
18063 which can conflict with char $ac_func(); below. */
18064 #include <assert.h>
18065 /* Override any gcc2 internal prototype to avoid an error. */
18066 /* We use char because int might match the return type of a gcc2
18067 builtin and then its argument prototype would still apply. */
18072 /* The GNU C library defines this for functions which it implements
18073 to always fail with ENOSYS. Some functions are actually named
18074 something starting with __ and the normal name is an alias. */
18075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18083 if { (eval echo configure:18084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18085 eval "ac_cv_func_
$ac_func=yes"
18087 echo "configure
: failed program was
:" >&5
18088 cat conftest.$ac_ext >&5
18090 eval "ac_cv_func_
$ac_func=no
"
18095 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18096 echo "$ac_t""yes" 1>&6
18097 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18098 cat >> confdefs.h <<EOF
18099 #define $ac_tr_func 1
18103 echo "$ac_t""no
" 1>&6
18109 echo $ac_n "checking
for _powl declaration
""...
$ac_c" 1>&6
18110 echo "configure
:18111: checking
for _powl declaration
" >&5
18111 if test x${glibcpp_cv_func__powl_use+set} != xset; then
18112 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
18113 echo $ac_n "(cached
) $ac_c" 1>&6
18118 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18119 ac_cpp='$CXXCPP $CPPFLAGS'
18120 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18121 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18122 cross_compiling=$ac_cv_prog_cxx_cross
18124 cat > conftest.$ac_ext <<EOF
18125 #line 18126 "configure
"
18126 #include "confdefs.h
"
18132 if { (eval echo configure:18133: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18134 glibcpp_cv_func__powl_use=yes
18136 echo "configure
: failed program was
:" >&5
18137 cat conftest.$ac_ext >&5
18139 glibcpp_cv_func__powl_use=no
18143 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18144 ac_cpp='$CPP $CPPFLAGS'
18145 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18146 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18147 cross_compiling=$ac_cv_prog_cc_cross
18153 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
18155 if test x$glibcpp_cv_func__powl_use = x"yes"; then
18156 for ac_func in _powl
18158 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18159 echo "configure
:18160: checking
for $ac_func" >&5
18160 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18161 echo $ac_n "(cached
) $ac_c" 1>&6
18163 cat > conftest.$ac_ext <<EOF
18164 #line 18165 "configure
"
18165 #include "confdefs.h
"
18166 /* System header to define __stub macros and hopefully few prototypes,
18167 which can conflict with char $ac_func(); below. */
18168 #include <assert.h>
18169 /* Override any gcc2 internal prototype to avoid an error. */
18170 /* We use char because int might match the return type of a gcc2
18171 builtin and then its argument prototype would still apply. */
18176 /* The GNU C library defines this for functions which it implements
18177 to always fail with ENOSYS. Some functions are actually named
18178 something starting with __ and the normal name is an alias. */
18179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18187 if { (eval echo configure:18188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18189 eval "ac_cv_func_
$ac_func=yes"
18191 echo "configure
: failed program was
:" >&5
18192 cat conftest.$ac_ext >&5
18194 eval "ac_cv_func_
$ac_func=no
"
18199 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18200 echo "$ac_t""yes" 1>&6
18201 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18202 cat >> confdefs.h <<EOF
18203 #define $ac_tr_func 1
18207 echo "$ac_t""no
" 1>&6
18216 echo $ac_n "checking
for sqrtl declaration
""...
$ac_c" 1>&6
18217 echo "configure
:18218: checking
for sqrtl declaration
" >&5
18218 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
18219 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
18220 echo $ac_n "(cached
) $ac_c" 1>&6
18225 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18226 ac_cpp='$CXXCPP $CPPFLAGS'
18227 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18228 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18229 cross_compiling=$ac_cv_prog_cxx_cross
18231 cat > conftest.$ac_ext <<EOF
18232 #line 18233 "configure
"
18233 #include "confdefs.h
"
18235 #ifdef HAVE_IEEEFP_H
18236 #include <ieeefp.h>
18243 if { (eval echo configure:18244: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18245 glibcpp_cv_func_sqrtl_use=yes
18247 echo "configure
: failed program was
:" >&5
18248 cat conftest.$ac_ext >&5
18250 glibcpp_cv_func_sqrtl_use=no
18254 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18255 ac_cpp='$CPP $CPPFLAGS'
18256 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18257 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18258 cross_compiling=$ac_cv_prog_cc_cross
18264 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
18266 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
18267 for ac_func in sqrtl
18269 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18270 echo "configure
:18271: checking
for $ac_func" >&5
18271 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18272 echo $ac_n "(cached
) $ac_c" 1>&6
18274 cat > conftest.$ac_ext <<EOF
18275 #line 18276 "configure
"
18276 #include "confdefs.h
"
18277 /* System header to define __stub macros and hopefully few prototypes,
18278 which can conflict with char $ac_func(); below. */
18279 #include <assert.h>
18280 /* Override any gcc2 internal prototype to avoid an error. */
18281 /* We use char because int might match the return type of a gcc2
18282 builtin and then its argument prototype would still apply. */
18287 /* The GNU C library defines this for functions which it implements
18288 to always fail with ENOSYS. Some functions are actually named
18289 something starting with __ and the normal name is an alias. */
18290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18298 if { (eval echo configure:18299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18300 eval "ac_cv_func_
$ac_func=yes"
18302 echo "configure
: failed program was
:" >&5
18303 cat conftest.$ac_ext >&5
18305 eval "ac_cv_func_
$ac_func=no
"
18310 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18311 echo "$ac_t""yes" 1>&6
18312 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18313 cat >> confdefs.h <<EOF
18314 #define $ac_tr_func 1
18318 echo "$ac_t""no
" 1>&6
18324 echo $ac_n "checking
for _sqrtl declaration
""...
$ac_c" 1>&6
18325 echo "configure
:18326: checking
for _sqrtl declaration
" >&5
18326 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
18327 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
18328 echo $ac_n "(cached
) $ac_c" 1>&6
18333 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18334 ac_cpp='$CXXCPP $CPPFLAGS'
18335 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18336 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18337 cross_compiling=$ac_cv_prog_cxx_cross
18339 cat > conftest.$ac_ext <<EOF
18340 #line 18341 "configure
"
18341 #include "confdefs.h
"
18343 #ifdef HAVE_IEEEFP_H
18344 #include <ieeefp.h>
18351 if { (eval echo configure:18352: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18353 glibcpp_cv_func__sqrtl_use=yes
18355 echo "configure
: failed program was
:" >&5
18356 cat conftest.$ac_ext >&5
18358 glibcpp_cv_func__sqrtl_use=no
18362 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18363 ac_cpp='$CPP $CPPFLAGS'
18364 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18365 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18366 cross_compiling=$ac_cv_prog_cc_cross
18372 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
18374 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
18375 for ac_func in _sqrtl
18377 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18378 echo "configure
:18379: checking
for $ac_func" >&5
18379 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18380 echo $ac_n "(cached
) $ac_c" 1>&6
18382 cat > conftest.$ac_ext <<EOF
18383 #line 18384 "configure
"
18384 #include "confdefs.h
"
18385 /* System header to define __stub macros and hopefully few prototypes,
18386 which can conflict with char $ac_func(); below. */
18387 #include <assert.h>
18388 /* Override any gcc2 internal prototype to avoid an error. */
18389 /* We use char because int might match the return type of a gcc2
18390 builtin and then its argument prototype would still apply. */
18395 /* The GNU C library defines this for functions which it implements
18396 to always fail with ENOSYS. Some functions are actually named
18397 something starting with __ and the normal name is an alias. */
18398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18406 if { (eval echo configure:18407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18408 eval "ac_cv_func_
$ac_func=yes"
18410 echo "configure
: failed program was
:" >&5
18411 cat conftest.$ac_ext >&5
18413 eval "ac_cv_func_
$ac_func=no
"
18418 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18419 echo "$ac_t""yes" 1>&6
18420 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18421 cat >> confdefs.h <<EOF
18422 #define $ac_tr_func 1
18426 echo "$ac_t""no
" 1>&6
18435 echo $ac_n "checking
for sincosl declaration
""...
$ac_c" 1>&6
18436 echo "configure
:18437: checking
for sincosl declaration
" >&5
18437 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
18438 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
18439 echo $ac_n "(cached
) $ac_c" 1>&6
18444 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18445 ac_cpp='$CXXCPP $CPPFLAGS'
18446 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18447 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18448 cross_compiling=$ac_cv_prog_cxx_cross
18450 cat > conftest.$ac_ext <<EOF
18451 #line 18452 "configure
"
18452 #include "confdefs.h
"
18458 if { (eval echo configure:18459: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18460 glibcpp_cv_func_sincosl_use=yes
18462 echo "configure
: failed program was
:" >&5
18463 cat conftest.$ac_ext >&5
18465 glibcpp_cv_func_sincosl_use=no
18469 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18470 ac_cpp='$CPP $CPPFLAGS'
18471 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18472 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18473 cross_compiling=$ac_cv_prog_cc_cross
18479 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
18481 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
18482 for ac_func in sincosl
18484 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18485 echo "configure
:18486: checking
for $ac_func" >&5
18486 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18487 echo $ac_n "(cached
) $ac_c" 1>&6
18489 cat > conftest.$ac_ext <<EOF
18490 #line 18491 "configure
"
18491 #include "confdefs.h
"
18492 /* System header to define __stub macros and hopefully few prototypes,
18493 which can conflict with char $ac_func(); below. */
18494 #include <assert.h>
18495 /* Override any gcc2 internal prototype to avoid an error. */
18496 /* We use char because int might match the return type of a gcc2
18497 builtin and then its argument prototype would still apply. */
18502 /* The GNU C library defines this for functions which it implements
18503 to always fail with ENOSYS. Some functions are actually named
18504 something starting with __ and the normal name is an alias. */
18505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18513 if { (eval echo configure:18514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18515 eval "ac_cv_func_
$ac_func=yes"
18517 echo "configure
: failed program was
:" >&5
18518 cat conftest.$ac_ext >&5
18520 eval "ac_cv_func_
$ac_func=no
"
18525 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18526 echo "$ac_t""yes" 1>&6
18527 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18528 cat >> confdefs.h <<EOF
18529 #define $ac_tr_func 1
18533 echo "$ac_t""no
" 1>&6
18539 echo $ac_n "checking
for _sincosl declaration
""...
$ac_c" 1>&6
18540 echo "configure
:18541: checking
for _sincosl declaration
" >&5
18541 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
18542 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
18543 echo $ac_n "(cached
) $ac_c" 1>&6
18548 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18549 ac_cpp='$CXXCPP $CPPFLAGS'
18550 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18551 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18552 cross_compiling=$ac_cv_prog_cxx_cross
18554 cat > conftest.$ac_ext <<EOF
18555 #line 18556 "configure
"
18556 #include "confdefs.h
"
18562 if { (eval echo configure:18563: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18564 glibcpp_cv_func__sincosl_use=yes
18566 echo "configure
: failed program was
:" >&5
18567 cat conftest.$ac_ext >&5
18569 glibcpp_cv_func__sincosl_use=no
18573 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18574 ac_cpp='$CPP $CPPFLAGS'
18575 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18576 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18577 cross_compiling=$ac_cv_prog_cc_cross
18583 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
18585 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
18586 for ac_func in _sincosl
18588 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18589 echo "configure
:18590: checking
for $ac_func" >&5
18590 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18591 echo $ac_n "(cached
) $ac_c" 1>&6
18593 cat > conftest.$ac_ext <<EOF
18594 #line 18595 "configure
"
18595 #include "confdefs.h
"
18596 /* System header to define __stub macros and hopefully few prototypes,
18597 which can conflict with char $ac_func(); below. */
18598 #include <assert.h>
18599 /* Override any gcc2 internal prototype to avoid an error. */
18600 /* We use char because int might match the return type of a gcc2
18601 builtin and then its argument prototype would still apply. */
18606 /* The GNU C library defines this for functions which it implements
18607 to always fail with ENOSYS. Some functions are actually named
18608 something starting with __ and the normal name is an alias. */
18609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18617 if { (eval echo configure:18618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18619 eval "ac_cv_func_
$ac_func=yes"
18621 echo "configure
: failed program was
:" >&5
18622 cat conftest.$ac_ext >&5
18624 eval "ac_cv_func_
$ac_func=no
"
18629 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18630 echo "$ac_t""yes" 1>&6
18631 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18632 cat >> confdefs.h <<EOF
18633 #define $ac_tr_func 1
18637 echo "$ac_t""no
" 1>&6
18646 echo $ac_n "checking
for finitel declaration
""...
$ac_c" 1>&6
18647 echo "configure
:18648: checking
for finitel declaration
" >&5
18648 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
18649 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
18650 echo $ac_n "(cached
) $ac_c" 1>&6
18655 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18656 ac_cpp='$CXXCPP $CPPFLAGS'
18657 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18658 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18659 cross_compiling=$ac_cv_prog_cxx_cross
18661 cat > conftest.$ac_ext <<EOF
18662 #line 18663 "configure
"
18663 #include "confdefs.h
"
18665 #ifdef HAVE_IEEEFP_H
18666 #include <ieeefp.h>
18673 if { (eval echo configure:18674: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18675 glibcpp_cv_func_finitel_use=yes
18677 echo "configure
: failed program was
:" >&5
18678 cat conftest.$ac_ext >&5
18680 glibcpp_cv_func_finitel_use=no
18684 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18685 ac_cpp='$CPP $CPPFLAGS'
18686 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18687 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18688 cross_compiling=$ac_cv_prog_cc_cross
18694 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
18696 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
18697 for ac_func in finitel
18699 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18700 echo "configure
:18701: checking
for $ac_func" >&5
18701 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18702 echo $ac_n "(cached
) $ac_c" 1>&6
18704 cat > conftest.$ac_ext <<EOF
18705 #line 18706 "configure
"
18706 #include "confdefs.h
"
18707 /* System header to define __stub macros and hopefully few prototypes,
18708 which can conflict with char $ac_func(); below. */
18709 #include <assert.h>
18710 /* Override any gcc2 internal prototype to avoid an error. */
18711 /* We use char because int might match the return type of a gcc2
18712 builtin and then its argument prototype would still apply. */
18717 /* The GNU C library defines this for functions which it implements
18718 to always fail with ENOSYS. Some functions are actually named
18719 something starting with __ and the normal name is an alias. */
18720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18728 if { (eval echo configure:18729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18730 eval "ac_cv_func_
$ac_func=yes"
18732 echo "configure
: failed program was
:" >&5
18733 cat conftest.$ac_ext >&5
18735 eval "ac_cv_func_
$ac_func=no
"
18740 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18741 echo "$ac_t""yes" 1>&6
18742 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18743 cat >> confdefs.h <<EOF
18744 #define $ac_tr_func 1
18748 echo "$ac_t""no
" 1>&6
18754 echo $ac_n "checking
for _finitel declaration
""...
$ac_c" 1>&6
18755 echo "configure
:18756: checking
for _finitel declaration
" >&5
18756 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
18757 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
18758 echo $ac_n "(cached
) $ac_c" 1>&6
18763 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18764 ac_cpp='$CXXCPP $CPPFLAGS'
18765 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18766 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18767 cross_compiling=$ac_cv_prog_cxx_cross
18769 cat > conftest.$ac_ext <<EOF
18770 #line 18771 "configure
"
18771 #include "confdefs.h
"
18773 #ifdef HAVE_IEEEFP_H
18774 #include <ieeefp.h>
18781 if { (eval echo configure:18782: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18783 glibcpp_cv_func__finitel_use=yes
18785 echo "configure
: failed program was
:" >&5
18786 cat conftest.$ac_ext >&5
18788 glibcpp_cv_func__finitel_use=no
18792 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18793 ac_cpp='$CPP $CPPFLAGS'
18794 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18795 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18796 cross_compiling=$ac_cv_prog_cc_cross
18802 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
18804 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
18805 for ac_func in _finitel
18807 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18808 echo "configure
:18809: checking
for $ac_func" >&5
18809 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18810 echo $ac_n "(cached
) $ac_c" 1>&6
18812 cat > conftest.$ac_ext <<EOF
18813 #line 18814 "configure
"
18814 #include "confdefs.h
"
18815 /* System header to define __stub macros and hopefully few prototypes,
18816 which can conflict with char $ac_func(); below. */
18817 #include <assert.h>
18818 /* Override any gcc2 internal prototype to avoid an error. */
18819 /* We use char because int might match the return type of a gcc2
18820 builtin and then its argument prototype would still apply. */
18825 /* The GNU C library defines this for functions which it implements
18826 to always fail with ENOSYS. Some functions are actually named
18827 something starting with __ and the normal name is an alias. */
18828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18836 if { (eval echo configure:18837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18838 eval "ac_cv_func_
$ac_func=yes"
18840 echo "configure
: failed program was
:" >&5
18841 cat conftest.$ac_ext >&5
18843 eval "ac_cv_func_
$ac_func=no
"
18848 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18849 echo "$ac_t""yes" 1>&6
18850 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18851 cat >> confdefs.h <<EOF
18852 #define $ac_tr_func 1
18856 echo "$ac_t""no
" 1>&6
18866 echo $ac_n "checking
for _float trig functions
""...
$ac_c" 1>&6
18867 echo "configure
:18868: checking
for _float trig functions
" >&5
18868 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
18869 echo $ac_n "(cached
) $ac_c" 1>&6
18874 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18875 ac_cpp='$CXXCPP $CPPFLAGS'
18876 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18877 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18878 cross_compiling=$ac_cv_prog_cxx_cross
18880 cat > conftest.$ac_ext <<EOF
18881 #line 18882 "configure
"
18882 #include "confdefs.h
"
18885 `for x in _acosf _asinf _atanf \
18886 _cosf _sinf _tanf \
18887 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
18890 if { (eval echo configure:18891: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18892 glibcpp_cv_func__float_trig_use=yes
18894 echo "configure
: failed program was
:" >&5
18895 cat conftest.$ac_ext >&5
18897 glibcpp_cv_func__float_trig_use=no
18901 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18902 ac_cpp='$CPP $CPPFLAGS'
18903 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18904 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18905 cross_compiling=$ac_cv_prog_cc_cross
18909 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
18910 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
18911 for ac_func in _acosf _asinf _atanf \
18912 _cosf _sinf _tanf \
18913 _coshf _sinhf _tanhf
18915 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18916 echo "configure
:18917: checking
for $ac_func" >&5
18917 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18918 echo $ac_n "(cached
) $ac_c" 1>&6
18920 cat > conftest.$ac_ext <<EOF
18921 #line 18922 "configure
"
18922 #include "confdefs.h
"
18923 /* System header to define __stub macros and hopefully few prototypes,
18924 which can conflict with char $ac_func(); below. */
18925 #include <assert.h>
18926 /* Override any gcc2 internal prototype to avoid an error. */
18927 /* We use char because int might match the return type of a gcc2
18928 builtin and then its argument prototype would still apply. */
18933 /* The GNU C library defines this for functions which it implements
18934 to always fail with ENOSYS. Some functions are actually named
18935 something starting with __ and the normal name is an alias. */
18936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18944 if { (eval echo configure:18945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18946 eval "ac_cv_func_
$ac_func=yes"
18948 echo "configure
: failed program was
:" >&5
18949 cat conftest.$ac_ext >&5
18951 eval "ac_cv_func_
$ac_func=no
"
18956 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18957 echo "$ac_t""yes" 1>&6
18958 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18959 cat >> confdefs.h <<EOF
18960 #define $ac_tr_func 1
18964 echo "$ac_t""no
" 1>&6
18971 echo $ac_n "checking
for _float round functions
""...
$ac_c" 1>&6
18972 echo "configure
:18973: checking
for _float round functions
" >&5
18973 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
18974 echo $ac_n "(cached
) $ac_c" 1>&6
18979 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18980 ac_cpp='$CXXCPP $CPPFLAGS'
18981 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18982 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18983 cross_compiling=$ac_cv_prog_cxx_cross
18985 cat > conftest.$ac_ext <<EOF
18986 #line 18987 "configure
"
18987 #include "confdefs.h
"
18990 `for x in _ceilf _floorf; do echo "$x (0);"; done`
18993 if { (eval echo configure:18994: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18995 glibcpp_cv_func__float_round_use=yes
18997 echo "configure
: failed program was
:" >&5
18998 cat conftest.$ac_ext >&5
19000 glibcpp_cv_func__float_round_use=no
19004 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19005 ac_cpp='$CPP $CPPFLAGS'
19006 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19007 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19008 cross_compiling=$ac_cv_prog_cc_cross
19012 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
19013 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
19014 for ac_func in _ceilf _floorf
19016 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19017 echo "configure
:19018: checking
for $ac_func" >&5
19018 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19019 echo $ac_n "(cached
) $ac_c" 1>&6
19021 cat > conftest.$ac_ext <<EOF
19022 #line 19023 "configure
"
19023 #include "confdefs.h
"
19024 /* System header to define __stub macros and hopefully few prototypes,
19025 which can conflict with char $ac_func(); below. */
19026 #include <assert.h>
19027 /* Override any gcc2 internal prototype to avoid an error. */
19028 /* We use char because int might match the return type of a gcc2
19029 builtin and then its argument prototype would still apply. */
19034 /* The GNU C library defines this for functions which it implements
19035 to always fail with ENOSYS. Some functions are actually named
19036 something starting with __ and the normal name is an alias. */
19037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19045 if { (eval echo configure:19046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19047 eval "ac_cv_func_
$ac_func=yes"
19049 echo "configure
: failed program was
:" >&5
19050 cat conftest.$ac_ext >&5
19052 eval "ac_cv_func_
$ac_func=no
"
19057 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19058 echo "$ac_t""yes" 1>&6
19059 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19060 cat >> confdefs.h <<EOF
19061 #define $ac_tr_func 1
19065 echo "$ac_t""no
" 1>&6
19073 echo $ac_n "checking
for _long double trig functions
""...
$ac_c" 1>&6
19074 echo "configure
:19075: checking
for _long double trig functions
" >&5
19075 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
19076 echo $ac_n "(cached
) $ac_c" 1>&6
19081 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19082 ac_cpp='$CXXCPP $CPPFLAGS'
19083 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19084 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19085 cross_compiling=$ac_cv_prog_cxx_cross
19087 cat > conftest.$ac_ext <<EOF
19088 #line 19089 "configure
"
19089 #include "confdefs.h
"
19092 `for x in _acosl _asinl _atanl \
19093 _cosl _sinl _tanl \
19094 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
19097 if { (eval echo configure:19098: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19099 glibcpp_cv_func__long_double_trig_use=yes
19101 echo "configure
: failed program was
:" >&5
19102 cat conftest.$ac_ext >&5
19104 glibcpp_cv_func__long_double_trig_use=no
19108 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19109 ac_cpp='$CPP $CPPFLAGS'
19110 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19111 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19112 cross_compiling=$ac_cv_prog_cc_cross
19116 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
19117 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
19118 for ac_func in _acosl _asinl _atanl \
19119 _cosl _sinl _tanl \
19120 _coshl _sinhl _tanhl
19122 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19123 echo "configure
:19124: checking
for $ac_func" >&5
19124 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19125 echo $ac_n "(cached
) $ac_c" 1>&6
19127 cat > conftest.$ac_ext <<EOF
19128 #line 19129 "configure
"
19129 #include "confdefs.h
"
19130 /* System header to define __stub macros and hopefully few prototypes,
19131 which can conflict with char $ac_func(); below. */
19132 #include <assert.h>
19133 /* Override any gcc2 internal prototype to avoid an error. */
19134 /* We use char because int might match the return type of a gcc2
19135 builtin and then its argument prototype would still apply. */
19140 /* The GNU C library defines this for functions which it implements
19141 to always fail with ENOSYS. Some functions are actually named
19142 something starting with __ and the normal name is an alias. */
19143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19151 if { (eval echo configure:19152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19153 eval "ac_cv_func_
$ac_func=yes"
19155 echo "configure
: failed program was
:" >&5
19156 cat conftest.$ac_ext >&5
19158 eval "ac_cv_func_
$ac_func=no
"
19163 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19164 echo "$ac_t""yes" 1>&6
19165 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19166 cat >> confdefs.h <<EOF
19167 #define $ac_tr_func 1
19171 echo "$ac_t""no
" 1>&6
19178 echo $ac_n "checking
for _long double round functions
""...
$ac_c" 1>&6
19179 echo "configure
:19180: checking
for _long double round functions
" >&5
19180 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
19181 echo $ac_n "(cached
) $ac_c" 1>&6
19186 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19187 ac_cpp='$CXXCPP $CPPFLAGS'
19188 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19189 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19190 cross_compiling=$ac_cv_prog_cxx_cross
19192 cat > conftest.$ac_ext <<EOF
19193 #line 19194 "configure
"
19194 #include "confdefs.h
"
19197 `for x in _ceill _floorl; do echo "$x (0);"; done`
19200 if { (eval echo configure:19201: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19202 glibcpp_cv_func__long_double_round_use=yes
19204 echo "configure
: failed program was
:" >&5
19205 cat conftest.$ac_ext >&5
19207 glibcpp_cv_func__long_double_round_use=no
19211 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19212 ac_cpp='$CPP $CPPFLAGS'
19213 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19214 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19215 cross_compiling=$ac_cv_prog_cc_cross
19219 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
19220 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
19221 for ac_func in _ceill _floorl
19223 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19224 echo "configure
:19225: checking
for $ac_func" >&5
19225 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19226 echo $ac_n "(cached
) $ac_c" 1>&6
19228 cat > conftest.$ac_ext <<EOF
19229 #line 19230 "configure
"
19230 #include "confdefs.h
"
19231 /* System header to define __stub macros and hopefully few prototypes,
19232 which can conflict with char $ac_func(); below. */
19233 #include <assert.h>
19234 /* Override any gcc2 internal prototype to avoid an error. */
19235 /* We use char because int might match the return type of a gcc2
19236 builtin and then its argument prototype would still apply. */
19241 /* The GNU C library defines this for functions which it implements
19242 to always fail with ENOSYS. Some functions are actually named
19243 something starting with __ and the normal name is an alias. */
19244 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19252 if { (eval echo configure:19253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19254 eval "ac_cv_func_
$ac_func=yes"
19256 echo "configure
: failed program was
:" >&5
19257 cat conftest.$ac_ext >&5
19259 eval "ac_cv_func_
$ac_func=no
"
19264 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19265 echo "$ac_t""yes" 1>&6
19266 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19267 cat >> confdefs.h <<EOF
19268 #define $ac_tr_func 1
19272 echo "$ac_t""no
" 1>&6
19279 LIBS="$ac_save_LIBS"
19280 CXXFLAGS="$ac_save_CXXFLAGS"
19283 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
19284 echo "configure
:19285: checking
for main
in -lm" >&5
19285 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
19286 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19287 echo $ac_n "(cached
) $ac_c" 1>&6
19289 ac_save_LIBS="$LIBS"
19291 cat > conftest.$ac_ext <<EOF
19292 #line 19293 "configure
"
19293 #include "confdefs.h
"
19299 if { (eval echo configure:19300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19301 eval "ac_cv_lib_
$ac_lib_var=yes"
19303 echo "configure
: failed program was
:" >&5
19304 cat conftest.$ac_ext >&5
19306 eval "ac_cv_lib_
$ac_lib_var=no
"
19309 LIBS="$ac_save_LIBS"
19312 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19313 echo "$ac_t""yes" 1>&6
19314 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
19315 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
19316 cat >> confdefs.h <<EOF
19317 #define $ac_tr_lib 1
19323 echo "$ac_t""no
" 1>&6
19326 for ac_func in nan copysignf
19328 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19329 echo "configure
:19330: checking
for $ac_func" >&5
19330 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19331 echo $ac_n "(cached
) $ac_c" 1>&6
19333 cat > conftest.$ac_ext <<EOF
19334 #line 19335 "configure
"
19335 #include "confdefs.h
"
19336 /* System header to define __stub macros and hopefully few prototypes,
19337 which can conflict with char $ac_func(); below. */
19338 #include <assert.h>
19339 /* Override any gcc2 internal prototype to avoid an error. */
19340 /* We use char because int might match the return type of a gcc2
19341 builtin and then its argument prototype would still apply. */
19346 /* The GNU C library defines this for functions which it implements
19347 to always fail with ENOSYS. Some functions are actually named
19348 something starting with __ and the normal name is an alias. */
19349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19357 if { (eval echo configure:19358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19359 eval "ac_cv_func_
$ac_func=yes"
19361 echo "configure
: failed program was
:" >&5
19362 cat conftest.$ac_ext >&5
19364 eval "ac_cv_func_
$ac_func=no
"
19369 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19370 echo "$ac_t""yes" 1>&6
19371 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19372 cat >> confdefs.h <<EOF
19373 #define $ac_tr_func 1
19377 echo "$ac_t""no
" 1>&6
19378 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
19383 for ac_func in __signbit
19385 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19386 echo "configure
:19387: checking
for $ac_func" >&5
19387 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19388 echo $ac_n "(cached
) $ac_c" 1>&6
19390 cat > conftest.$ac_ext <<EOF
19391 #line 19392 "configure
"
19392 #include "confdefs.h
"
19393 /* System header to define __stub macros and hopefully few prototypes,
19394 which can conflict with char $ac_func(); below. */
19395 #include <assert.h>
19396 /* Override any gcc2 internal prototype to avoid an error. */
19397 /* We use char because int might match the return type of a gcc2
19398 builtin and then its argument prototype would still apply. */
19403 /* The GNU C library defines this for functions which it implements
19404 to always fail with ENOSYS. Some functions are actually named
19405 something starting with __ and the normal name is an alias. */
19406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19414 if { (eval echo configure:19415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19416 eval "ac_cv_func_
$ac_func=yes"
19418 echo "configure
: failed program was
:" >&5
19419 cat conftest.$ac_ext >&5
19421 eval "ac_cv_func_
$ac_func=no
"
19426 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19427 echo "$ac_t""yes" 1>&6
19428 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19429 cat >> confdefs.h <<EOF
19430 #define $ac_tr_func 1
19434 echo "$ac_t""no
" 1>&6
19435 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
19439 for ac_func in __signbitf
19441 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19442 echo "configure
:19443: checking
for $ac_func" >&5
19443 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19444 echo $ac_n "(cached
) $ac_c" 1>&6
19446 cat > conftest.$ac_ext <<EOF
19447 #line 19448 "configure
"
19448 #include "confdefs.h
"
19449 /* System header to define __stub macros and hopefully few prototypes,
19450 which can conflict with char $ac_func(); below. */
19451 #include <assert.h>
19452 /* Override any gcc2 internal prototype to avoid an error. */
19453 /* We use char because int might match the return type of a gcc2
19454 builtin and then its argument prototype would still apply. */
19459 /* The GNU C library defines this for functions which it implements
19460 to always fail with ENOSYS. Some functions are actually named
19461 something starting with __ and the normal name is an alias. */
19462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19470 if { (eval echo configure:19471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19472 eval "ac_cv_func_
$ac_func=yes"
19474 echo "configure
: failed program was
:" >&5
19475 cat conftest.$ac_ext >&5
19477 eval "ac_cv_func_
$ac_func=no
"
19482 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19483 echo "$ac_t""yes" 1>&6
19484 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19485 cat >> confdefs.h <<EOF
19486 #define $ac_tr_func 1
19490 echo "$ac_t""no
" 1>&6
19491 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
19496 if test x$ac_cv_func_copysignl = x"yes"; then
19497 for ac_func in __signbitl
19499 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19500 echo "configure
:19501: checking
for $ac_func" >&5
19501 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19502 echo $ac_n "(cached
) $ac_c" 1>&6
19504 cat > conftest.$ac_ext <<EOF
19505 #line 19506 "configure
"
19506 #include "confdefs.h
"
19507 /* System header to define __stub macros and hopefully few prototypes,
19508 which can conflict with char $ac_func(); below. */
19509 #include <assert.h>
19510 /* Override any gcc2 internal prototype to avoid an error. */
19511 /* We use char because int might match the return type of a gcc2
19512 builtin and then its argument prototype would still apply. */
19517 /* The GNU C library defines this for functions which it implements
19518 to always fail with ENOSYS. Some functions are actually named
19519 something starting with __ and the normal name is an alias. */
19520 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19528 if { (eval echo configure:19529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19530 eval "ac_cv_func_
$ac_func=yes"
19532 echo "configure
: failed program was
:" >&5
19533 cat conftest.$ac_ext >&5
19535 eval "ac_cv_func_
$ac_func=no
"
19540 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19541 echo "$ac_t""yes" 1>&6
19542 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19543 cat >> confdefs.h <<EOF
19544 #define $ac_tr_func 1
19548 echo "$ac_t""no
" 1>&6
19549 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
19559 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
19560 echo "configure
:19561: checking
for mbstate_t
" >&5
19561 cat > conftest.$ac_ext <<EOF
19562 #line 19563 "configure
"
19563 #include "confdefs.h
"
19566 mbstate_t teststate;
19569 if { (eval echo configure:19570: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19573 echo "configure
: failed program was
:" >&5
19574 cat conftest.$ac_ext >&5
19579 echo "$ac_t""$have_mbstate_t" 1>&6
19580 if test x"$have_mbstate_t" = xyes; then
19581 cat >> confdefs.h <<\EOF
19582 #define HAVE_MBSTATE_T 1
19587 for ac_hdr in wchar.h
19589 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19590 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
19591 echo "configure
:19592: checking
for $ac_hdr" >&5
19592 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19593 echo $ac_n "(cached
) $ac_c" 1>&6
19595 cat > conftest.$ac_ext <<EOF
19596 #line 19597 "configure
"
19597 #include "confdefs.h
"
19600 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
19601 { (eval echo configure:19602: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19602 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
19603 if test -z "$ac_err"; then
19605 eval "ac_cv_header_
$ac_safe=yes"
19608 echo "configure
: failed program was
:" >&5
19609 cat conftest.$ac_ext >&5
19611 eval "ac_cv_header_
$ac_safe=no
"
19615 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19616 echo "$ac_t""yes" 1>&6
19617 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19618 cat >> confdefs.h <<EOF
19619 #define $ac_tr_hdr 1
19623 echo "$ac_t""no
" 1>&6
19628 for ac_hdr in wctype.h
19630 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19631 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
19632 echo "configure
:19633: checking
for $ac_hdr" >&5
19633 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19634 echo $ac_n "(cached
) $ac_c" 1>&6
19636 cat > conftest.$ac_ext <<EOF
19637 #line 19638 "configure
"
19638 #include "confdefs.h
"
19641 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
19642 { (eval echo configure:19643: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19643 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
19644 if test -z "$ac_err"; then
19646 eval "ac_cv_header_
$ac_safe=yes"
19649 echo "configure
: failed program was
:" >&5
19650 cat conftest.$ac_ext >&5
19652 eval "ac_cv_header_
$ac_safe=no
"
19656 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19657 echo "$ac_t""yes" 1>&6
19658 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19659 cat >> confdefs.h <<EOF
19660 #define $ac_tr_hdr 1
19662 ac_has_wctype_h=yes
19664 echo "$ac_t""no
" 1>&6
19670 if test x"$ac_has_wchar_h" = xyes &&
19671 test x"$ac_has_wctype_h" = xyes &&
19672 test x"$enable_c_mbchar" != xno; then
19674 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
19675 echo "configure
:19676: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
19676 cat > conftest.$ac_ext <<EOF
19677 #line 19678 "configure
"
19678 #include "confdefs.h
"
19681 int i = WCHAR_MIN; int j = WCHAR_MAX;
19684 if { (eval echo configure:19685: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19686 has_wchar_minmax=yes
19688 echo "configure
: failed program was
:" >&5
19689 cat conftest.$ac_ext >&5
19691 has_wchar_minmax=no
19694 echo "$ac_t""$has_wchar_minmax" 1>&6
19696 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
19697 echo "configure
:19698: checking
for WEOF
" >&5
19698 cat > conftest.$ac_ext <<EOF
19699 #line 19700 "configure
"
19700 #include "confdefs.h
"
19703 #include <stddef.h>
19708 if { (eval echo configure:19709: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19712 echo "configure
: failed program was
:" >&5
19713 cat conftest.$ac_ext >&5
19718 echo "$ac_t""$has_weof" 1>&6
19721 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
19723 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19724 echo "configure
:19725: checking
for $ac_func" >&5
19725 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19726 echo $ac_n "(cached
) $ac_c" 1>&6
19728 cat > conftest.$ac_ext <<EOF
19729 #line 19730 "configure
"
19730 #include "confdefs.h
"
19731 /* System header to define __stub macros and hopefully few prototypes,
19732 which can conflict with char $ac_func(); below. */
19733 #include <assert.h>
19734 /* Override any gcc2 internal prototype to avoid an error. */
19735 /* We use char because int might match the return type of a gcc2
19736 builtin and then its argument prototype would still apply. */
19741 /* The GNU C library defines this for functions which it implements
19742 to always fail with ENOSYS. Some functions are actually named
19743 something starting with __ and the normal name is an alias. */
19744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19752 if { (eval echo configure:19753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19754 eval "ac_cv_func_
$ac_func=yes"
19756 echo "configure
: failed program was
:" >&5
19757 cat conftest.$ac_ext >&5
19759 eval "ac_cv_func_
$ac_func=no
"
19764 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19765 echo "$ac_t""yes" 1>&6
19766 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19767 cat >> confdefs.h <<EOF
19768 #define $ac_tr_func 1
19772 echo "$ac_t""no
" 1>&6
19779 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
19780 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
19781 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
19782 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
19783 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
19784 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
19786 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19787 echo "configure
:19788: checking
for $ac_func" >&5
19788 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19789 echo $ac_n "(cached
) $ac_c" 1>&6
19791 cat > conftest.$ac_ext <<EOF
19792 #line 19793 "configure
"
19793 #include "confdefs.h
"
19794 /* System header to define __stub macros and hopefully few prototypes,
19795 which can conflict with char $ac_func(); below. */
19796 #include <assert.h>
19797 /* Override any gcc2 internal prototype to avoid an error. */
19798 /* We use char because int might match the return type of a gcc2
19799 builtin and then its argument prototype would still apply. */
19804 /* The GNU C library defines this for functions which it implements
19805 to always fail with ENOSYS. Some functions are actually named
19806 something starting with __ and the normal name is an alias. */
19807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19815 if { (eval echo configure:19816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19817 eval "ac_cv_func_
$ac_func=yes"
19819 echo "configure
: failed program was
:" >&5
19820 cat conftest.$ac_ext >&5
19822 eval "ac_cv_func_
$ac_func=no
"
19827 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19828 echo "$ac_t""yes" 1>&6
19829 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19830 cat >> confdefs.h <<EOF
19831 #define $ac_tr_func 1
19835 echo "$ac_t""no
" 1>&6
19842 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
19843 echo "configure
:19844: checking
for ISO C99 wchar_t support
" >&5
19844 if test x"$has_weof" = xyes &&
19845 test x"$has_wchar_minmax" = xyes &&
19846 test x"$ac_wfuncs" = xyes; then
19847 ac_isoC99_wchar_t=yes
19849 ac_isoC99_wchar_t=no
19851 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
19853 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
19854 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
19855 echo "configure
:19856: checking
for iconv.h
" >&5
19856 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19857 echo $ac_n "(cached
) $ac_c" 1>&6
19859 cat > conftest.$ac_ext <<EOF
19860 #line 19861 "configure
"
19861 #include "confdefs.h
"
19864 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
19865 { (eval echo configure:19866: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19866 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
19867 if test -z "$ac_err"; then
19869 eval "ac_cv_header_
$ac_safe=yes"
19872 echo "configure
: failed program was
:" >&5
19873 cat conftest.$ac_ext >&5
19875 eval "ac_cv_header_
$ac_safe=no
"
19879 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19880 echo "$ac_t""yes" 1>&6
19883 echo "$ac_t""no
" 1>&6
19887 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
19888 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
19889 echo "configure
:19890: checking
for langinfo.h
" >&5
19890 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19891 echo $ac_n "(cached
) $ac_c" 1>&6
19893 cat > conftest.$ac_ext <<EOF
19894 #line 19895 "configure
"
19895 #include "confdefs.h
"
19896 #include <langinfo.h>
19898 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
19899 { (eval echo configure:19900: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19900 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
19901 if test -z "$ac_err"; then
19903 eval "ac_cv_header_
$ac_safe=yes"
19906 echo "configure
: failed program was
:" >&5
19907 cat conftest.$ac_ext >&5
19909 eval "ac_cv_header_
$ac_safe=no
"
19913 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19914 echo "$ac_t""yes" 1>&6
19915 ac_has_langinfo_h=yes
19917 echo "$ac_t""no
" 1>&6
19918 ac_has_langinfo_h=no
19922 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
19923 echo "configure
:19924: checking
for iconv in -liconv" >&5
19924 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
19925 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19926 echo $ac_n "(cached
) $ac_c" 1>&6
19928 ac_save_LIBS="$LIBS"
19929 LIBS="-liconv $LIBS"
19930 cat > conftest.$ac_ext <<EOF
19931 #line 19932 "configure
"
19932 #include "confdefs.h
"
19933 /* Override any gcc2 internal prototype to avoid an error. */
19934 /* We use char because int might match the return type of a gcc2
19935 builtin and then its argument prototype would still apply. */
19942 if { (eval echo configure:19943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19944 eval "ac_cv_lib_
$ac_lib_var=yes"
19946 echo "configure
: failed program was
:" >&5
19947 cat conftest.$ac_ext >&5
19949 eval "ac_cv_lib_
$ac_lib_var=no
"
19952 LIBS="$ac_save_LIBS"
19955 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19956 echo "$ac_t""yes" 1>&6
19959 echo "$ac_t""no
" 1>&6
19962 ac_save_LIBS="$LIBS"
19963 LIBS="$LIBS $libiconv"
19965 for ac_func in iconv_open iconv_close iconv nl_langinfo
19967 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19968 echo "configure
:19969: checking
for $ac_func" >&5
19969 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19970 echo $ac_n "(cached
) $ac_c" 1>&6
19972 cat > conftest.$ac_ext <<EOF
19973 #line 19974 "configure
"
19974 #include "confdefs.h
"
19975 /* System header to define __stub macros and hopefully few prototypes,
19976 which can conflict with char $ac_func(); below. */
19977 #include <assert.h>
19978 /* Override any gcc2 internal prototype to avoid an error. */
19979 /* We use char because int might match the return type of a gcc2
19980 builtin and then its argument prototype would still apply. */
19985 /* The GNU C library defines this for functions which it implements
19986 to always fail with ENOSYS. Some functions are actually named
19987 something starting with __ and the normal name is an alias. */
19988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19996 if { (eval echo configure:19997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19998 eval "ac_cv_func_
$ac_func=yes"
20000 echo "configure
: failed program was
:" >&5
20001 cat conftest.$ac_ext >&5
20003 eval "ac_cv_func_
$ac_func=no
"
20008 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20009 echo "$ac_t""yes" 1>&6
20010 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20011 cat >> confdefs.h <<EOF
20012 #define $ac_tr_func 1
20017 echo "$ac_t""no
" 1>&6
20023 LIBS="$ac_save_LIBS"
20025 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
20026 echo "configure
:20027: checking
for XPG2 wchar_t support
" >&5
20027 if test x"$ac_has_iconv_h" = xyes &&
20028 test x"$ac_has_langinfo_h" = xyes &&
20029 test x"$ac_XPG2funcs" = xyes; then
20030 ac_XPG2_wchar_t=yes
20034 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
20036 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
20037 echo "configure
:20038: checking
for enabled wchar_t specializations
" >&5
20038 if test x"$ac_isoC99_wchar_t" = xyes &&
20039 test x"$ac_XPG2_wchar_t" = xyes; then
20040 cat >> confdefs.h <<\EOF
20041 #define _GLIBCPP_USE_WCHAR_T 1
20044 echo "$ac_t"""yes"" 1>&6
20046 echo "$ac_t"""no"" 1>&6
20049 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
20053 ac_test_CXXFLAGS="${CXXFLAGS+set}"
20054 ac_save_CXXFLAGS="$CXXFLAGS"
20055 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
20058 echo $ac_n "checking
for strtold declaration
""...
$ac_c" 1>&6
20059 echo "configure
:20060: checking
for strtold declaration
" >&5
20060 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
20061 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
20062 echo $ac_n "(cached
) $ac_c" 1>&6
20067 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20068 ac_cpp='$CXXCPP $CPPFLAGS'
20069 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20070 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20071 cross_compiling=$ac_cv_prog_cxx_cross
20073 cat > conftest.$ac_ext <<EOF
20074 #line 20075 "configure
"
20075 #include "confdefs.h
"
20076 #include <stdlib.h>
20081 if { (eval echo configure:20082: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20083 glibcpp_cv_func_strtold_use=yes
20085 echo "configure
: failed program was
:" >&5
20086 cat conftest.$ac_ext >&5
20088 glibcpp_cv_func_strtold_use=no
20092 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20093 ac_cpp='$CPP $CPPFLAGS'
20094 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20095 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20096 cross_compiling=$ac_cv_prog_cc_cross
20102 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
20103 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
20104 for ac_func in strtold
20106 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20107 echo "configure
:20108: checking
for $ac_func" >&5
20108 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20109 echo $ac_n "(cached
) $ac_c" 1>&6
20111 cat > conftest.$ac_ext <<EOF
20112 #line 20113 "configure
"
20113 #include "confdefs.h
"
20114 /* System header to define __stub macros and hopefully few prototypes,
20115 which can conflict with char $ac_func(); below. */
20116 #include <assert.h>
20117 /* Override any gcc2 internal prototype to avoid an error. */
20118 /* We use char because int might match the return type of a gcc2
20119 builtin and then its argument prototype would still apply. */
20124 /* The GNU C library defines this for functions which it implements
20125 to always fail with ENOSYS. Some functions are actually named
20126 something starting with __ and the normal name is an alias. */
20127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20135 if { (eval echo configure:20136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20137 eval "ac_cv_func_
$ac_func=yes"
20139 echo "configure
: failed program was
:" >&5
20140 cat conftest.$ac_ext >&5
20142 eval "ac_cv_func_
$ac_func=no
"
20147 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20148 echo "$ac_t""yes" 1>&6
20149 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20150 cat >> confdefs.h <<EOF
20151 #define $ac_tr_func 1
20155 echo "$ac_t""no
" 1>&6
20162 echo $ac_n "checking
for strtof declaration
""...
$ac_c" 1>&6
20163 echo "configure
:20164: checking
for strtof declaration
" >&5
20164 if test x${glibcpp_cv_func_strtof_use+set} != xset; then
20165 if eval "test \"`echo '$''{'glibcpp_cv_func_strtof_use'+set}'`\" = set"; then
20166 echo $ac_n "(cached
) $ac_c" 1>&6
20171 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20172 ac_cpp='$CXXCPP $CPPFLAGS'
20173 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20174 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20175 cross_compiling=$ac_cv_prog_cxx_cross
20177 cat > conftest.$ac_ext <<EOF
20178 #line 20179 "configure
"
20179 #include "confdefs.h
"
20180 #include <stdlib.h>
20185 if { (eval echo configure:20186: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20187 glibcpp_cv_func_strtof_use=yes
20189 echo "configure
: failed program was
:" >&5
20190 cat conftest.$ac_ext >&5
20192 glibcpp_cv_func_strtof_use=no
20196 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20197 ac_cpp='$CPP $CPPFLAGS'
20198 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20199 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20200 cross_compiling=$ac_cv_prog_cc_cross
20206 echo "$ac_t""$glibcpp_cv_func_strtof_use" 1>&6
20207 if test x$glibcpp_cv_func_strtof_use = x"yes"; then
20208 for ac_func in strtof
20210 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20211 echo "configure
:20212: checking
for $ac_func" >&5
20212 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20213 echo $ac_n "(cached
) $ac_c" 1>&6
20215 cat > conftest.$ac_ext <<EOF
20216 #line 20217 "configure
"
20217 #include "confdefs.h
"
20218 /* System header to define __stub macros and hopefully few prototypes,
20219 which can conflict with char $ac_func(); below. */
20220 #include <assert.h>
20221 /* Override any gcc2 internal prototype to avoid an error. */
20222 /* We use char because int might match the return type of a gcc2
20223 builtin and then its argument prototype would still apply. */
20228 /* The GNU C library defines this for functions which it implements
20229 to always fail with ENOSYS. Some functions are actually named
20230 something starting with __ and the normal name is an alias. */
20231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20239 if { (eval echo configure:20240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20241 eval "ac_cv_func_
$ac_func=yes"
20243 echo "configure
: failed program was
:" >&5
20244 cat conftest.$ac_ext >&5
20246 eval "ac_cv_func_
$ac_func=no
"
20251 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20252 echo "$ac_t""yes" 1>&6
20253 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20254 cat >> confdefs.h <<EOF
20255 #define $ac_tr_func 1
20259 echo "$ac_t""no
" 1>&6
20265 for ac_func in drand48
20267 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20268 echo "configure
:20269: checking
for $ac_func" >&5
20269 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20270 echo $ac_n "(cached
) $ac_c" 1>&6
20272 cat > conftest.$ac_ext <<EOF
20273 #line 20274 "configure
"
20274 #include "confdefs.h
"
20275 /* System header to define __stub macros and hopefully few prototypes,
20276 which can conflict with char $ac_func(); below. */
20277 #include <assert.h>
20278 /* Override any gcc2 internal prototype to avoid an error. */
20279 /* We use char because int might match the return type of a gcc2
20280 builtin and then its argument prototype would still apply. */
20285 /* The GNU C library defines this for functions which it implements
20286 to always fail with ENOSYS. Some functions are actually named
20287 something starting with __ and the normal name is an alias. */
20288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20296 if { (eval echo configure:20297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20298 eval "ac_cv_func_
$ac_func=yes"
20300 echo "configure
: failed program was
:" >&5
20301 cat conftest.$ac_ext >&5
20303 eval "ac_cv_func_
$ac_func=no
"
20308 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20309 echo "$ac_t""yes" 1>&6
20310 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20311 cat >> confdefs.h <<EOF
20312 #define $ac_tr_func 1
20316 echo "$ac_t""no
" 1>&6
20321 CXXFLAGS="$ac_save_CXXFLAGS"
20324 ac_safe=`echo "locale.h
" | sed 'y%./+-%__p_%'`
20325 echo $ac_n "checking
for locale.h
""...
$ac_c" 1>&6
20326 echo "configure
:20327: checking
for locale.h
" >&5
20327 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20328 echo $ac_n "(cached
) $ac_c" 1>&6
20330 cat > conftest.$ac_ext <<EOF
20331 #line 20332 "configure
"
20332 #include "confdefs.h
"
20333 #include <locale.h>
20335 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
20336 { (eval echo configure:20337: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20337 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
20338 if test -z "$ac_err"; then
20340 eval "ac_cv_header_
$ac_safe=yes"
20343 echo "configure
: failed program was
:" >&5
20344 cat conftest.$ac_ext >&5
20346 eval "ac_cv_header_
$ac_safe=no
"
20350 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20351 echo "$ac_t""yes" 1>&6
20353 echo $ac_n "checking
for LC_MESSAGES
""...
$ac_c" 1>&6
20354 echo "configure
:20355: checking
for LC_MESSAGES
" >&5
20355 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
20356 echo $ac_n "(cached
) $ac_c" 1>&6
20358 cat > conftest.$ac_ext <<EOF
20359 #line 20360 "configure
"
20360 #include "confdefs.h
"
20361 #include <locale.h>
20366 if { (eval echo configure:20367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20368 ac_cv_val_LC_MESSAGES=yes
20370 echo "configure
: failed program was
:" >&5
20371 cat conftest.$ac_ext >&5
20373 ac_cv_val_LC_MESSAGES=no
20378 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
20379 if test $ac_cv_val_LC_MESSAGES = yes; then
20380 cat >> confdefs.h <<\EOF
20381 #define HAVE_LC_MESSAGES 1
20387 echo "$ac_t""no
" 1>&6
20392 cat > conftest.$ac_ext <<EOF
20393 #line 20394 "configure
"
20394 #include "confdefs.h
"
20396 #include <setjmp.h>
20399 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
20402 if { (eval echo configure:20403: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20404 cat >> confdefs.h <<\EOF
20405 #define HAVE_SIGSETJMP 1
20410 echo "configure
: failed program was
:" >&5
20411 cat conftest.$ac_ext >&5
20415 for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h
20417 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20418 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
20419 echo "configure
:20420: checking
for $ac_hdr" >&5
20420 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20421 echo $ac_n "(cached
) $ac_c" 1>&6
20423 cat > conftest.$ac_ext <<EOF
20424 #line 20425 "configure
"
20425 #include "confdefs.h
"
20428 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
20429 { (eval echo configure:20430: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20430 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
20431 if test -z "$ac_err"; then
20433 eval "ac_cv_header_
$ac_safe=yes"
20436 echo "configure
: failed program was
:" >&5
20437 cat conftest.$ac_ext >&5
20439 eval "ac_cv_header_
$ac_safe=no
"
20443 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20444 echo "$ac_t""yes" 1>&6
20445 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20446 cat >> confdefs.h <<EOF
20447 #define $ac_tr_hdr 1
20451 echo "$ac_t""no
" 1>&6
20455 for ac_func in getpagesize
20457 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20458 echo "configure
:20459: checking
for $ac_func" >&5
20459 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20460 echo $ac_n "(cached
) $ac_c" 1>&6
20462 cat > conftest.$ac_ext <<EOF
20463 #line 20464 "configure
"
20464 #include "confdefs.h
"
20465 /* System header to define __stub macros and hopefully few prototypes,
20466 which can conflict with char $ac_func(); below. */
20467 #include <assert.h>
20468 /* Override any gcc2 internal prototype to avoid an error. */
20469 /* We use char because int might match the return type of a gcc2
20470 builtin and then its argument prototype would still apply. */
20475 /* The GNU C library defines this for functions which it implements
20476 to always fail with ENOSYS. Some functions are actually named
20477 something starting with __ and the normal name is an alias. */
20478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20486 if { (eval echo configure:20487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20488 eval "ac_cv_func_
$ac_func=yes"
20490 echo "configure
: failed program was
:" >&5
20491 cat conftest.$ac_ext >&5
20493 eval "ac_cv_func_
$ac_func=no
"
20498 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20499 echo "$ac_t""yes" 1>&6
20500 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20501 cat >> confdefs.h <<EOF
20502 #define $ac_tr_func 1
20506 echo "$ac_t""no
" 1>&6
20510 echo $ac_n "checking
for working mmap
""...
$ac_c" 1>&6
20511 echo "configure
:20512: checking
for working mmap
" >&5
20512 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
20513 echo $ac_n "(cached
) $ac_c" 1>&6
20515 if test "$cross_compiling" = yes; then
20516 ac_cv_func_mmap_fixed_mapped=no
20518 cat > conftest.$ac_ext <<EOF
20519 #line 20520 "configure
"
20520 #include "confdefs.h
"
20522 /* Thanks to Mike Haertel and Jim Avera for this test.
20523 Here is a matrix of mmap possibilities:
20524 mmap private not fixed
20525 mmap private fixed at somewhere currently unmapped
20526 mmap private fixed at somewhere already mapped
20527 mmap shared not fixed
20528 mmap shared fixed at somewhere currently unmapped
20529 mmap shared fixed at somewhere already mapped
20530 For private mappings, we should verify that changes cannot be read()
20531 back from the file, nor mmap's back from the file at a different
20532 address. (There have been systems where private was not correctly
20533 implemented like the infamous i386 svr4.0, and systems where the
20534 VM page cache was not coherent with the filesystem buffer cache
20535 like early versions of FreeBSD and possibly contemporary NetBSD.)
20536 For shared mappings, we should conversely verify that changes get
20537 propogated back to all the places they're supposed to be.
20539 Grep wants private fixed already mapped.
20540 The main things grep needs to know about mmap are:
20541 * does it exist and is it safe to write into the mmap'd area
20542 * how to use it (BSD variants) */
20543 #include <sys/types.h>
20545 #include <sys/mman.h>
20547 #if HAVE_SYS_TYPES_H
20548 # include <sys/types.h>
20552 # include <stdlib.h>
20555 #if HAVE_SYS_STAT_H
20556 # include <sys/stat.h>
20560 # include <unistd.h>
20563 /* This mess was copied from the GNU getpagesize.h. */
20564 #ifndef HAVE_GETPAGESIZE
20566 /* Assume that all systems that can run configure have sys/param.h. */
20567 # ifndef HAVE_SYS_PARAM_H
20568 # define HAVE_SYS_PARAM_H 1
20571 # ifdef _SC_PAGESIZE
20572 # define getpagesize() sysconf(_SC_PAGESIZE)
20573 # else /* no _SC_PAGESIZE */
20574 # ifdef HAVE_SYS_PARAM_H
20575 # include <sys/param.h>
20576 # ifdef EXEC_PAGESIZE
20577 # define getpagesize() EXEC_PAGESIZE
20578 # else /* no EXEC_PAGESIZE */
20580 # define getpagesize() NBPG * CLSIZE
20583 # endif /* no CLSIZE */
20584 # else /* no NBPG */
20586 # define getpagesize() NBPC
20587 # else /* no NBPC */
20589 # define getpagesize() PAGESIZE
20590 # endif /* PAGESIZE */
20591 # endif /* no NBPC */
20592 # endif /* no NBPG */
20593 # endif /* no EXEC_PAGESIZE */
20594 # else /* no HAVE_SYS_PARAM_H */
20595 # define getpagesize() 8192 /* punt totally */
20596 # endif /* no HAVE_SYS_PARAM_H */
20597 # endif /* no _SC_PAGESIZE */
20599 #endif /* no HAVE_GETPAGESIZE */
20602 extern "C
" { void *malloc(unsigned); }
20610 char *data, *data2, *data3;
20614 pagesize = getpagesize();
20617 * First, make a file with some known garbage in it.
20619 data = malloc(pagesize);
20622 for (i = 0; i < pagesize; ++i)
20623 *(data + i) = rand();
20625 fd = creat("conftestmmap
", 0600);
20628 if (write(fd, data, pagesize) != pagesize)
20633 * Next, try to mmap the file at a fixed address which
20634 * already has something else allocated at it. If we can,
20635 * also make sure that we see the same garbage.
20637 fd = open("conftestmmap
", O_RDWR);
20640 data2 = malloc(2 * pagesize);
20643 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
20644 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
20645 MAP_PRIVATE | MAP_FIXED, fd, 0L))
20647 for (i = 0; i < pagesize; ++i)
20648 if (*(data + i) != *(data2 + i))
20652 * Finally, make sure that changes to the mapped area
20653 * do not percolate back to the file as seen by read().
20654 * (This is a bug on some variants of i386 svr4.0.)
20656 for (i = 0; i < pagesize; ++i)
20657 *(data2 + i) = *(data2 + i) + 1;
20658 data3 = malloc(pagesize);
20661 if (read(fd, data3, pagesize) != pagesize)
20663 for (i = 0; i < pagesize; ++i)
20664 if (*(data + i) != *(data3 + i))
20667 unlink("conftestmmap
");
20672 if { (eval echo configure:20673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
20674 ac_cv_func_mmap_fixed_mapped=yes
20676 echo "configure
: failed program was
:" >&5
20677 cat conftest.$ac_ext >&5
20679 ac_cv_func_mmap_fixed_mapped=no
20686 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
20687 if test $ac_cv_func_mmap_fixed_mapped = yes; then
20688 cat >> confdefs.h <<\EOF
20689 #define HAVE_MMAP 1
20695 # Establish limits on memory usage during 'make check'
20698 setrlimit_have_headers=yes
20699 for ac_hdr in sys/resource.h unistd.h
20701 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20702 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
20703 echo "configure
:20704: checking
for $ac_hdr" >&5
20704 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20705 echo $ac_n "(cached
) $ac_c" 1>&6
20707 cat > conftest.$ac_ext <<EOF
20708 #line 20709 "configure
"
20709 #include "confdefs.h
"
20712 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
20713 { (eval echo configure:20714: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20714 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
20715 if test -z "$ac_err"; then
20717 eval "ac_cv_header_
$ac_safe=yes"
20720 echo "configure
: failed program was
:" >&5
20721 cat conftest.$ac_ext >&5
20723 eval "ac_cv_header_
$ac_safe=no
"
20727 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20728 echo "$ac_t""yes" 1>&6
20729 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20730 cat >> confdefs.h <<EOF
20731 #define $ac_tr_hdr 1
20735 echo "$ac_t""no
" 1>&6
20736 setrlimit_have_headers=no
20740 # If don't have the headers, then we can't run the tests now, and we
20741 # won't be seeing any of these during testsuite compilation.
20742 if test $setrlimit_have_headers = yes; then
20743 # Can't do these in a loop, else the resulting syntax is wrong.
20745 cat > conftest.$ac_ext <<EOF
20746 #line 20747 "configure
"
20747 #include "confdefs.h
"
20748 #include <sys/resource.h>
20749 #include <unistd.h>
20752 int f = RLIMIT_DATA ;
20755 if { (eval echo configure:20756: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20759 echo "configure
: failed program was
:" >&5
20760 cat conftest.$ac_ext >&5
20765 cat >> confdefs.h <<EOF
20766 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
20771 cat > conftest.$ac_ext <<EOF
20772 #line 20773 "configure
"
20773 #include "confdefs.h
"
20774 #include <sys/resource.h>
20775 #include <unistd.h>
20778 int f = RLIMIT_RSS ;
20781 if { (eval echo configure:20782: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20785 echo "configure
: failed program was
:" >&5
20786 cat conftest.$ac_ext >&5
20791 cat >> confdefs.h <<EOF
20792 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
20797 cat > conftest.$ac_ext <<EOF
20798 #line 20799 "configure
"
20799 #include "confdefs.h
"
20800 #include <sys/resource.h>
20801 #include <unistd.h>
20804 int f = RLIMIT_VMEM ;
20807 if { (eval echo configure:20808: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20811 echo "configure
: failed program was
:" >&5
20812 cat conftest.$ac_ext >&5
20817 cat >> confdefs.h <<EOF
20818 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
20823 cat > conftest.$ac_ext <<EOF
20824 #line 20825 "configure
"
20825 #include "confdefs.h
"
20826 #include <sys/resource.h>
20827 #include <unistd.h>
20830 int f = RLIMIT_AS ;
20833 if { (eval echo configure:20834: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20837 echo "configure
: failed program was
:" >&5
20838 cat conftest.$ac_ext >&5
20843 cat >> confdefs.h <<EOF
20844 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
20849 # Check for rlimit, setrlimit.
20850 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
20851 echo $ac_n "(cached
) $ac_c" 1>&6
20854 cat > conftest.$ac_ext <<EOF
20855 #line 20856 "configure
"
20856 #include "confdefs.h
"
20857 #include <sys/resource.h>
20858 #include <unistd.h>
20861 struct rlimit r; setrlimit(0, &r);
20864 if { (eval echo configure:20865: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20868 echo "configure
: failed program was
:" >&5
20869 cat conftest.$ac_ext >&5
20879 echo $ac_n "checking
for testsuite memory limit support
""...
$ac_c" 1>&6
20880 echo "configure
:20881: checking
for testsuite memory limit support
" >&5
20881 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
20883 cat >> confdefs.h <<\EOF
20884 #define _GLIBCPP_MEM_LIMITS 1
20890 echo "$ac_t""$ac_mem_limits" 1>&6
20893 # Look for setenv, so that extended locale tests can be performed.
20895 echo $ac_n "checking
for setenv declaration
""...
$ac_c" 1>&6
20896 echo "configure
:20897: checking
for setenv declaration
" >&5
20897 if test x${glibcpp_cv_func_setenv_use+set} != xset; then
20898 if eval "test \"`echo '$''{'glibcpp_cv_func_setenv_use'+set}'`\" = set"; then
20899 echo $ac_n "(cached
) $ac_c" 1>&6
20904 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20905 ac_cpp='$CXXCPP $CPPFLAGS'
20906 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20907 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20908 cross_compiling=$ac_cv_prog_cxx_cross
20910 cat > conftest.$ac_ext <<EOF
20911 #line 20912 "configure
"
20912 #include "confdefs.h
"
20913 #include <stdlib.h>
20918 if { (eval echo configure:20919: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20920 glibcpp_cv_func_setenv_use=yes
20922 echo "configure
: failed program was
:" >&5
20923 cat conftest.$ac_ext >&5
20925 glibcpp_cv_func_setenv_use=no
20929 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20930 ac_cpp='$CPP $CPPFLAGS'
20931 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20932 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20933 cross_compiling=$ac_cv_prog_cc_cross
20939 echo "$ac_t""$glibcpp_cv_func_setenv_use" 1>&6
20940 if test x$glibcpp_cv_func_setenv_use = x"yes"; then
20941 for ac_func in setenv
20943 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20944 echo "configure
:20945: checking
for $ac_func" >&5
20945 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+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 /* System header to define __stub macros and hopefully few prototypes,
20952 which can conflict with char $ac_func(); below. */
20953 #include <assert.h>
20954 /* Override any gcc2 internal prototype to avoid an error. */
20955 /* We use char because int might match the return type of a gcc2
20956 builtin and then its argument prototype would still apply. */
20961 /* The GNU C library defines this for functions which it implements
20962 to always fail with ENOSYS. Some functions are actually named
20963 something starting with __ and the normal name is an alias. */
20964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20972 if { (eval echo configure:20973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20974 eval "ac_cv_func_
$ac_func=yes"
20976 echo "configure
: failed program was
:" >&5
20977 cat conftest.$ac_ext >&5
20979 eval "ac_cv_func_
$ac_func=no
"
20984 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20985 echo "$ac_t""yes" 1>&6
20986 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20987 cat >> confdefs.h <<EOF
20988 #define $ac_tr_func 1
20992 echo "$ac_t""no
" 1>&6
21001 # This depends on the possibly-skipped linker test above.
21002 # Check whether --enable-symvers or --disable-symvers was given.
21003 if test "${enable_symvers+set}" = set; then
21004 enableval="$enable_symvers"
21005 case "$enableval" in
21006 yes) enable_symvers=yes ;;
21007 no) enable_symvers=no ;;
21008 # other names here, just as sanity checks
21009 #gnu|sun|etcetera) enable_symvers=$enableval ;;
21010 gnu) enable_symvers=$enableval ;;
21011 *) { echo "configure
: error
: Unknown argument to enable
/disable symvers
" 1>&2; exit 1; } ;;
21017 # If we never went through the GLIBCPP_CHECK_LINKER_FEATURES macro, then we
21018 # don't know enough about $LD to do tricks...
21019 if test x$enable_shared = xno ||
21021 test x$glibcpp_gnu_ld_version = x; then
21025 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
21026 echo $ac_n "checking
for shared libgcc
""...
$ac_c" 1>&6
21027 echo "configure
:21028: checking
for shared libgcc
" >&5
21028 ac_save_CFLAGS="$CFLAGS"
21030 cat > conftest.$ac_ext <<EOF
21031 #line 21032 "configure
"
21032 #include "confdefs.h
"
21038 if { (eval echo configure:21039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21040 glibcpp_shared_libgcc=yes
21042 echo "configure
: failed program was
:" >&5
21043 cat conftest.$ac_ext >&5
21045 glibcpp_shared_libgcc=no
21048 CFLAGS="$ac_save_CFLAGS"
21049 echo "$ac_t""$glibcpp_shared_libgcc" 1>&6
21051 # For GNU ld, we need at least this version. It's 2.12 in the same format
21052 # as the tested-for version. See GLIBCPP_CHECK_LINKER_FEATURES for more.
21053 glibcpp_min_gnu_ld_version=21200
21055 # Check to see if unspecified "yes" value can win, given results
21057 if test $enable_symvers = yes ; then
21058 if test $with_gnu_ld = yes &&
21059 test $glibcpp_shared_libgcc = yes ;
21061 if test $glibcpp_gnu_ld_version -ge $glibcpp_min_gnu_ld_version ; then
21064 ac_test_CFLAGS="${CFLAGS+set}"
21065 ac_save_CFLAGS="$CFLAGS"
21066 CFLAGS='-shared -Wl,--version-script,conftest.map'
21069 echo 'FOO { global: f[a-z]o; local: *; };' > conftest.map
21071 cat > conftest.$ac_ext <<EOF
21072 #line 21073 "configure
"
21073 #include "confdefs.h
"
21079 if { (eval echo configure:21080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21083 echo "configure
: failed program was
:" >&5
21084 cat conftest.$ac_ext >&5
21087 if test "$ac_test_CFLAGS" = set; then
21088 CFLAGS="$ac_save_CFLAGS"
21090 # this is the suspicious part
21096 # just fail for now
21101 case $enable_symvers in
21103 LINKER_MAP=config/linker-map.dummy
21106 LINKER_MAP=config/linker-map.gnu
21113 if test $enable_symvers != no; then
21114 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE=
21115 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE='#'
21117 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE='#'
21118 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE=
21120 echo $ac_n "checking versioning on shared library symbols
""...
$ac_c" 1>&6
21121 echo "configure
:21122: checking versioning on shared library symbols
" >&5
21122 echo "$ac_t""$enable_symvers" 1>&6
21125 # Propagate the target-specific source directories through the build chain.
21126 OS_INC_SRCDIR=$os_include_dir/bits
21127 ATOMICITY_INC_SRCDIR=$ATOMICITYH/bits
21128 CPU_LIMITS_INC_SRCDIR=$CPULIMITSH/bits
21133 # Set up cross-compile flags
21137 if test "$CANADIAN" = yes; then
21145 cat > confcache <<\EOF
21146 # This file is a shell script that caches the results of configure
21147 # tests run on this system so they can be shared between configure
21148 # scripts and configure runs. It is not useful on other systems.
21149 # If it contains results you don't want to keep, you may remove or edit it.
21151 # By default, configure uses ./config.cache as the cache file,
21152 # creating it if it does not exist already. You can give configure
21153 # the --cache-file=FILE option to use a different cache file; that is
21154 # what configure does when it calls configure scripts in
21155 # subdirectories, so they share the cache.
21156 # Giving --cache-file=/dev/null disables caching, for debugging configure.
21157 # config.status only pays attention to the cache file if you give it the
21158 # --recheck option to rerun configure.
21161 # The following way of writing the cache mishandles newlines in values,
21162 # but we know of no workaround that is simple, portable, and efficient.
21163 # So, don't put newlines in cache variables' values.
21164 # Ultrix sh set writes to stderr and can't be redirected directly,
21165 # and sets the high bit in the cache file unless we assign to the vars.
21167 case `(ac_space=' '; set | grep ac_space) 2>&1` in
21169 # `set' does not quote correctly, so add quotes (double-quote substitution
21170 # turns \\\\ into \\, and sed turns \\ into \).
21172 -e "s
/'/'\\\\''/g
" \
21173 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
21176 # `set' quotes correctly as required by POSIX, so do not add quotes.
21177 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
21180 if cmp -s $cache_file confcache; then
21183 if test -w $cache_file; then
21184 echo "updating cache
$cache_file"
21185 cat confcache > $cache_file
21187 echo "not updating unwritable cache
$cache_file"
21193 if test "${multilib}" = "yes"; then
21194 multilib_arg="--enable-multilib"
21199 # Needed so that g++ can find the correct include subdir automatically.
21202 # Export all the install information
21204 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
21205 # exported correctly in GLIBCPP_CONFIGURE.
21206 glibcpp_toolexecdir=no
21207 glibcpp_toolexeclibdir=no
21208 glibcpp_prefixdir=${prefix}
21210 echo $ac_n "checking
for interface version number
""...
$ac_c" 1>&6
21211 echo "configure
:21212: checking
for interface version number
" >&5
21212 libstdcxx_interface=$INTERFACE
21213 echo "$ac_t""$libstdcxx_interface" 1>&6
21215 # Process the option --with-gxx-include-dir=<path to include-files directory>
21216 echo $ac_n "checking
for --with-gxx-include-dir""...
$ac_c" 1>&6
21217 echo "configure
:21218: checking
for --with-gxx-include-dir" >&5
21218 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
21219 if test "${with_gxx_include_dir+set}" = set; then
21220 withval="$with_gxx_include_dir"
21221 case "${withval}" in
21223 { echo "configure
: error
: Missing directory
for --with-gxx-include-dir" 1>&2; exit 1; }
21230 gxx_include_dir=${withval}
21237 echo "$ac_t""$gxx_include_dir" 1>&6
21239 # Process the option "--enable-version-specific-runtime-libs"
21240 echo $ac_n "checking
for --enable-version-specific-runtime-libs""...
$ac_c" 1>&6
21241 echo "configure
:21242: checking
for --enable-version-specific-runtime-libs" >&5
21242 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
21243 if test "${enable_version_specific_runtime_libs+set}" = set; then
21244 enableval="$enable_version_specific_runtime_libs"
21245 case "$enableval" in
21246 yes) version_specific_libs=yes ;;
21247 no) version_specific_libs=no ;;
21248 *) { echo "configure
: error
: Unknown argument to enable
/disable version-specific libs
" 1>&2; exit 1; };;
21251 version_specific_libs=no
21253 # Option set, now we can test it.
21254 echo "$ac_t""$version_specific_libs" 1>&6
21256 if test $version_specific_libs = yes; then
21257 # Need the gcc compiler version to know where to install libraries
21258 # and header files if --enable-version-specific-runtime-libs option
21260 gcc_version_trigger=${srcdir}/../gcc/version.c
21261 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
21262 gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
21263 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/g++
21264 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
21265 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
21268 # Default case for install directory for include files.
21269 if test $version_specific_libs = no &&
21270 test $gxx_include_dir = no; then
21271 gxx_include_dir='$(prefix)'/include/g++-${libstdcxx_interface}
21274 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
21275 # Install a library built with a cross compiler in tooldir, not libdir.
21276 if test x"$glibcpp_toolexecdir" = x"no
"; then
21277 if test -n "$with_cross_host" &&
21278 test x"$with_cross_host" != x"no
"; then
21279 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
21280 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
21282 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
21283 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
21287 echo $ac_n "checking
for install location
""...
$ac_c" 1>&6
21288 echo "configure
:21289: checking
for install location
" >&5
21289 echo "$ac_t""$gxx_include_dir" 1>&6
21297 # Export all the include and flag information to makefiles.
21299 # Root level of the build directory include sources.
21300 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include
"
21302 # Passed down for canadian crosses.
21303 if test x"$CANADIAN" = xyes; then
21304 TOPLEVEL_INCLUDES='-I$(includedir)'
21307 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
21309 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
21311 if test x"$need_libio" = xyes; then
21312 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
21316 # Now, export this to all the little Makefiles....
21323 # Optimization flags that are probably a good idea for thrill-seekers. Just
21324 # uncomment the lines below and make, everything else is ready to go...
21325 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
21329 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
21333 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
21334 grep "enable shared
" > /dev/null; then
21335 LIBSUPCXX_PICFLAGS=-prefer-pic
21337 LIBSUPCXX_PICFLAGS=
21341 # Generate the various Makefiles, include files, and scripts.
21342 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
21343 # and libsupc++/Makefile.am so that multilib installs will end up
21344 # installed in the correct place. To work around this not being passed
21345 # down from config-ml.in -> top_srcdir/Makefile.am ->
21346 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
21348 cat > confcache <<\EOF
21349 # This file is a shell script that caches the results of configure
21350 # tests run on this system so they can be shared between configure
21351 # scripts and configure runs. It is not useful on other systems.
21352 # If it contains results you don't want to keep, you may remove or edit it.
21354 # By default, configure uses ./config.cache as the cache file,
21355 # creating it if it does not exist already. You can give configure
21356 # the --cache-file=FILE option to use a different cache file; that is
21357 # what configure does when it calls configure scripts in
21358 # subdirectories, so they share the cache.
21359 # Giving --cache-file=/dev/null disables caching, for debugging configure.
21360 # config.status only pays attention to the cache file if you give it the
21361 # --recheck option to rerun configure.
21364 # The following way of writing the cache mishandles newlines in values,
21365 # but we know of no workaround that is simple, portable, and efficient.
21366 # So, don't put newlines in cache variables' values.
21367 # Ultrix sh set writes to stderr and can't be redirected directly,
21368 # and sets the high bit in the cache file unless we assign to the vars.
21370 case `(ac_space=' '; set | grep ac_space) 2>&1` in
21372 # `set' does not quote correctly, so add quotes (double-quote substitution
21373 # turns \\\\ into \\, and sed turns \\ into \).
21375 -e "s
/'/'\\\\''/g
" \
21376 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
21379 # `set' quotes correctly as required by POSIX, so do not add quotes.
21380 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
21383 if cmp -s $cache_file confcache; then
21386 if test -w $cache_file; then
21387 echo "updating cache
$cache_file"
21388 cat confcache > $cache_file
21390 echo "not updating unwritable cache
$cache_file"
21395 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
21397 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
21398 # Let make expand exec_prefix.
21399 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
21401 # Any assignment to VPATH causes Sun make to only execute
21402 # the first set of double-colon rules, so remove it if not needed.
21403 # If there is a colon in the path, we need to keep it.
21404 if test "x
$srcdir" = x.; then
21405 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
21408 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
21410 DEFS=-DHAVE_CONFIG_H
21412 # Without the ".
/", some shells look in PATH for config.status.
21413 : ${CONFIG_STATUS=./config.status}
21415 echo creating $CONFIG_STATUS
21416 rm -f $CONFIG_STATUS
21417 cat > $CONFIG_STATUS <<EOF
21419 # Generated automatically by configure.
21420 # Run this file to recreate the current configuration.
21421 # This directory was configured as follows,
21422 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21424 # $0 $ac_configure_args
21426 # Compiler output produced by configure, useful for debugging
21427 # configure, is in ./config.log if it exists.
21429 ac_cs_usage="Usage
: $CONFIG_STATUS [--recheck] [--version] [--help]"
21432 case "\
$ac_option" in
21433 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21434 echo "running \
${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
21435 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
21436 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
21437 echo "$CONFIG_STATUS generated by autoconf version
2.13"
21439 -help | --help | --hel | --he | --h)
21440 echo "\
$ac_cs_usage"; exit 0 ;;
21441 *) echo "\
$ac_cs_usage"; exit 1 ;;
21445 ac_given_srcdir=$srcdir
21446 ac_given_INSTALL="$INSTALL"
21448 trap 'rm -fr `echo "Makefile \
21449 include
/Makefile src
/Makefile \
21450 libmath
/Makefile libio
/Makefile libsupc
++/Makefile \
21451 po
/Makefile testsuite
/Makefile mkcheck testsuite_flags config.h
" | sed "s
/:[^
]*//g
"` conftest*; exit 1' 1 2 15
21453 cat >> $CONFIG_STATUS <<EOF
21455 # Protect against being on the right side of a sed subst in config.status.
21456 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
21457 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
21461 s%@CFLAGS@%$CFLAGS%g
21462 s%@CPPFLAGS@%$CPPFLAGS%g
21463 s%@CXXFLAGS@%$CXXFLAGS%g
21464 s%@FFLAGS@%$FFLAGS%g
21466 s%@LDFLAGS@%$LDFLAGS%g
21468 s%@exec_prefix@%$exec_prefix%g
21469 s%@prefix@%$prefix%g
21470 s%@program_transform_name@%$program_transform_name%g
21471 s%@bindir@%$bindir%g
21472 s%@sbindir@%$sbindir%g
21473 s%@libexecdir@%$libexecdir%g
21474 s%@datadir@%$datadir%g
21475 s%@sysconfdir@%$sysconfdir%g
21476 s%@sharedstatedir@%$sharedstatedir%g
21477 s%@localstatedir@%$localstatedir%g
21478 s%@libdir@%$libdir%g
21479 s%@includedir@%$includedir%g
21480 s%@oldincludedir@%$oldincludedir%g
21481 s%@infodir@%$infodir%g
21482 s%@mandir@%$mandir%g
21483 s%@PACKAGE@%$PACKAGE%g
21484 s%@release_VERSION@%$release_VERSION%g
21485 s%@libtool_VERSION@%$libtool_VERSION%g
21487 s%@host_alias@%$host_alias%g
21488 s%@host_cpu@%$host_cpu%g
21489 s%@host_vendor@%$host_vendor%g
21490 s%@host_os@%$host_os%g
21491 s%@target@%$target%g
21492 s%@target_alias@%$target_alias%g
21493 s%@target_cpu@%$target_cpu%g
21494 s%@target_vendor@%$target_vendor%g
21495 s%@target_os@%$target_os%g
21497 s%@build_alias@%$build_alias%g
21498 s%@build_cpu@%$build_cpu%g
21499 s%@build_vendor@%$build_vendor%g
21500 s%@build_os@%$build_os%g
21501 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
21502 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
21503 s%@INSTALL_DATA@%$INSTALL_DATA%g
21504 s%@VERSION@%$VERSION%g
21505 s%@ACLOCAL@%$ACLOCAL%g
21506 s%@AUTOCONF@%$AUTOCONF%g
21507 s%@AUTOMAKE@%$AUTOMAKE%g
21508 s%@AUTOHEADER@%$AUTOHEADER%g
21509 s%@MAKEINFO@%$MAKEINFO%g
21510 s%@SET_MAKE@%$SET_MAKE%g
21511 s%@toplevel_srcdir@%$toplevel_srcdir%g
21512 s%@glibcpp_builddir@%$glibcpp_builddir%g
21513 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
21516 s%@glibcpp_basedir@%$glibcpp_basedir%g
21518 s%@glibcpp_CXX@%$glibcpp_CXX%g
21521 s%@RANLIB@%$RANLIB%g
21522 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
21523 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
21525 s%@EXEEXT@%$EXEEXT%g
21526 s%@OBJEXT@%$OBJEXT%g
21528 s%@LIBTOOL@%$LIBTOOL%g
21529 s%@CXXCPP@%$CXXCPP%g
21530 s%@enable_shared@%$enable_shared%g
21531 s%@enable_static@%$enable_static%g
21532 s%@ifGNUmake@%$ifGNUmake%g
21533 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
21535 s%@CSTDIO_H@%$CSTDIO_H%g
21536 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
21537 s%@CCODECVT_C@%$CCODECVT_C%g
21538 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
21539 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
21540 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
21541 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
21542 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
21543 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
21544 s%@libio_la@%$libio_la%g
21545 s%@check_msgfmt@%$check_msgfmt%g
21546 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
21547 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
21548 s%@glibcpp_localedir@%$glibcpp_localedir%g
21549 s%@USE_NLS@%$USE_NLS%g
21550 s%@CLOCALE_H@%$CLOCALE_H%g
21551 s%@CCODECVT_H@%$CCODECVT_H%g
21552 s%@CMESSAGES_H@%$CMESSAGES_H%g
21553 s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
21554 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
21555 s%@GLIBCPP_C_HEADERS_C_TRUE@%$GLIBCPP_C_HEADERS_C_TRUE%g
21556 s%@GLIBCPP_C_HEADERS_C_FALSE@%$GLIBCPP_C_HEADERS_C_FALSE%g
21557 s%@GLIBCPP_C_HEADERS_C_STD_TRUE@%$GLIBCPP_C_HEADERS_C_STD_TRUE%g
21558 s%@GLIBCPP_C_HEADERS_C_STD_FALSE@%$GLIBCPP_C_HEADERS_C_STD_FALSE%g
21559 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
21560 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
21561 s%@LIBUNWIND_FLAG@%$LIBUNWIND_FLAG%g
21562 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
21563 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
21564 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
21565 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
21566 s%@WERROR@%$WERROR%g
21567 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g
21568 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g
21569 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
21570 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
21571 s%@CPU_LIMITS_INC_SRCDIR@%$CPU_LIMITS_INC_SRCDIR%g
21572 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
21573 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
21574 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
21575 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
21576 s%@gxx_include_dir@%$gxx_include_dir%g
21577 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
21578 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
21579 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
21580 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
21581 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
21582 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
21583 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
21584 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
21585 s%@WARN_FLAGS@%$WARN_FLAGS%g
21586 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
21591 cat >> $CONFIG_STATUS <<\EOF
21593 # Split the substitutions into bite-sized pieces for seds with
21594 # small command number limits, like on Digital OSF/1 and HP-UX.
21595 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
21596 ac_file=1 # Number of current file.
21597 ac_beg=1 # First line for current file.
21598 ac_end=$ac_max_sed_cmds # Line after last line for current file.
21601 while $ac_more_lines; do
21602 if test $ac_beg -gt 1; then
21603 sed "1,${ac_beg}d
; ${ac_end}q
" conftest.subs > conftest.s$ac_file
21605 sed "${ac_end}q
" conftest.subs > conftest.s$ac_file
21607 if test ! -s conftest.s$ac_file; then
21608 ac_more_lines=false
21609 rm -f conftest.s$ac_file
21611 if test -z "$ac_sed_cmds"; then
21612 ac_sed_cmds="sed -f conftest.s
$ac_file"
21614 ac_sed_cmds="$ac_sed_cmds |
sed -f conftest.s
$ac_file"
21616 ac_file=`expr $ac_file + 1`
21618 ac_end=`expr $ac_end + $ac_max_sed_cmds`
21621 if test -z "$ac_sed_cmds"; then
21626 cat >> $CONFIG_STATUS <<EOF
21628 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
21629 include
/Makefile src
/Makefile \
21630 libmath
/Makefile libio
/Makefile libsupc
++/Makefile \
21631 po
/Makefile testsuite
/Makefile mkcheck testsuite_flags
"}
21633 cat >> $CONFIG_STATUS <<\EOF
21634 for ac_file in .. $CONFIG_FILES; do if test "x
$ac_file" != x..; then
21635 # Support "outfile
[:infile
[:infile...
]]", defaulting infile="outfile.
in".
21637 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
21638 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
21639 *) ac_file_in="${ac_file}.
in" ;;
21642 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
21644 # Remove last slash and all that follows it. Not all systems have dirname.
21645 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
21646 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
21647 # The file is in a subdirectory.
21648 test ! -d "$ac_dir" && mkdir "$ac_dir"
21649 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
21650 # A "..
/" for each directory in $ac_dir_suffix.
21651 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
21653 ac_dir_suffix= ac_dots=
21656 case "$ac_given_srcdir" in
21658 if test -z "$ac_dots"; then top_srcdir=.
21659 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
21660 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
21661 *) # Relative path.
21662 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
21663 top_srcdir="$ac_dots$ac_given_srcdir" ;;
21666 case "$ac_given_INSTALL" in
21667 [/$]*) INSTALL="$ac_given_INSTALL" ;;
21668 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
21671 echo creating "$ac_file"
21673 configure_input="Generated automatically from
`echo $ac_file_in|sed 's%.*/%%'` by configure.
"
21675 *Makefile*) ac_comsub="1i
\\
21676 # $configure_input" ;;
21680 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
21682 s%@configure_input@%$configure_input%g
21683 s%@srcdir@%$srcdir%g
21684 s%@top_srcdir@%$top_srcdir%g
21685 s%@INSTALL@%$INSTALL%g
21686 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
21690 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21691 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21693 # ac_d sets the value in "#define NAME VALUE" lines.
21694 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21695 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
21698 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
21699 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21700 ac_uB
='\([ ]\)%\1#\2define\3'
21703 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21704 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21705 ac_eB
='$%\1#\2define\3'
21709 if test "${CONFIG_HEADERS+set}" != set; then
21711 cat >> $CONFIG_STATUS <<EOF
21712 CONFIG_HEADERS="config.h"
21714 cat >> $CONFIG_STATUS <<\EOF
21716 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
21717 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21719 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
21720 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
21721 *) ac_file_in
="${ac_file}.in" ;;
21724 echo creating
$ac_file
21726 rm -f conftest.frag conftest.
in conftest.out
21727 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
21728 cat $ac_file_inputs > conftest.
in
21732 # Transform confdefs.h into a sed script conftest.vals that substitutes
21733 # the proper values into config.h.in to produce config.h. And first:
21734 # Protect against being on the right side of a sed subst in config.status.
21735 # Protect against being in an unquoted here document in config.status.
21736 rm -f conftest.vals
21737 cat > conftest.hdr
<<\EOF
21740 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
21744 sed -n -f conftest.hdr confdefs.h > conftest.vals
21747 # This sed command replaces #undef with comments. This is necessary, for
21748 # example, in the case of _POSIX_SOURCE, which is predefined and required
21749 # on some systems where configure will not decide to define it.
21750 cat >> conftest.vals <<\EOF
21751 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
21754 # Break up conftest.vals because some shells have a limit on
21755 # the size of here documents, and old seds have small limits too.
21757 rm -f conftest.tail
21760 ac_lines=`grep -c . conftest.vals
`
21761 # grep -c gives empty output for an empty file on some AIX systems.
21762 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
21763 # Write a limited-size here document to conftest.frag.
21764 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
21765 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
21767 sed -f conftest.frag conftest.in > conftest.out
21769 mv conftest.out conftest.in
21770 ' >> $CONFIG_STATUS
21771 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
21772 rm -f conftest.vals
21773 mv conftest.tail conftest.vals
21775 rm -f conftest.vals
21777 cat >> $CONFIG_STATUS <<\EOF
21778 rm -f conftest.frag conftest.h
21779 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
21780 cat conftest.in >> conftest.h
21782 if cmp -s $ac_file conftest.h 2>/dev/null; then
21783 echo "$ac_file is unchanged"
21786 # Remove last slash and all that follows it. Not all systems have dirname.
21787 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
21788 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
21789 # The file is in a subdirectory.
21790 test ! -d "$ac_dir" && mkdir "$ac_dir"
21793 mv conftest.h $ac_file
21799 cat >> $CONFIG_STATUS <<EOF
21800 ac_sources="$BASIC_FILE_CC $CLOCALE_CC $CCOLLATE_CC $CCTYPE_CC $CMESSAGES_CC $CMONEY_CC $CNUMERIC_CC $CTIME_CC $LINKER_MAP"
21801 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"
21804 cat >> $CONFIG_STATUS <<\EOF
21805 srcdir=$ac_given_srcdir
21806 while test -n "$ac_sources"; do
21807 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
21808 set $ac_sources; ac_source=$1; shift; ac_sources=$*
21810 echo "linking $srcdir/$ac_source to $ac_dest"
21812 if test ! -r $srcdir/$ac_source; then
21813 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
21817 # Make relative symlinks.
21818 # Remove last slash and all that follows it. Not all systems have dirname.
21819 ac_dest_dir=`echo $ac_dest|
sed 's%/[^/][^/]*$%%'`
21820 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
21821 # The dest file is in a subdirectory.
21822 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
21823 ac_dest_dir_suffix="/`echo $ac_dest_dir|
sed 's%^\./%%'`"
21824 # A "../" for each directory in $ac_dest_dir_suffix.
21825 ac_dots=`echo $ac_dest_dir_suffix|
sed 's%/[^/]*%../%g'`
21827 ac_dest_dir_suffix= ac_dots=
21831 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
21832 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
21835 # Make a symlink if possible; otherwise try a hard link.
21836 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
21837 ln $srcdir/$ac_source $ac_dest; then :
21839 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
21843 cat >> $CONFIG_STATUS <<EOF
21848 with_multisubdir=${with_multisubdir}
21849 ac_configure_args="${multilib_arg} ${ac_configure_args}"
21850 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
21851 glibcpp_basedir=${glibcpp_basedir}
21856 cat >> $CONFIG_STATUS <<\EOF
21857 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
21858 if test -n "$CONFIG_FILES"; then
21859 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
21860 grep '^MULTISUBDIR =' Makefile >> src/Makefile
21861 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
21864 chmod +x testsuite_flags
21868 chmod +x $CONFIG_STATUS
21869 rm -fr confdefs* $ac_clean_files
21870 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
21874 # Sanity checking & User-visible messages.
21875 # Checks down here, otherwise they get scrolled off before
21876 # the user will notice.
21878 # Trying to get more people to read documentation. Possibly remove
21879 # check and warn all the time. There is no "informational" AC_MSG_
21880 # macro, so these are going to be printed even when --quiet/--silent
21882 if test ! -f stamp-sanity-warned; then
21883 touch stamp-sanity-warned
21885 echo "Please make certain that you read the installation information here:"
21886 echo " faster => ${srcdir}/docs/install.html"
21887 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
21889 echo "and the configuration information here:"
21890 echo " faster => ${srcdir}/docs/configopts.html"
21891 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
21893 echo "before proceeding with ${_cv_gnu_make_command}."