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-c-mbchar enable multibyte (wide) characters [default=yes]"
49 --enable-c99 turns on 'ISO/IEC 9899:1999 support' [default=yes]"
51 --enable-long-long turns on 'long long' [default=yes]"
53 --enable-cheaders construct "C
" header files for g++ [default=c_std]"
55 --enable-cxx-flags=FLAGS pass compiler FLAGS when building library;
58 --enable-sjlj-exceptions force use of builtin_setjmp for exceptions"
60 --enable-concept-checks use Boost-derived template checks [default=no]"
62 --with-gxx-include-dir the installation directory for include files"
64 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory "
66 # Initialize some variables set by options.
67 # The variables have the same names as the options, with
68 # dashes changed to underlines.
70 cache_file
=.
/config.cache
79 program_transform_name
=s
,x
,x
,
87 bindir
='${exec_prefix}/bin'
88 sbindir
='${exec_prefix}/sbin'
89 libexecdir
='${exec_prefix}/libexec'
90 datadir
='${prefix}/share'
91 sysconfdir
='${prefix}/etc'
92 sharedstatedir
='${prefix}/com'
93 localstatedir
='${prefix}/var'
94 libdir
='${exec_prefix}/lib'
95 includedir
='${prefix}/include'
96 oldincludedir
='/usr/include'
97 infodir
='${prefix}/info'
98 mandir
='${prefix}/man'
100 # Initialize some other variables.
103 SHELL
=${CONFIG_SHELL-/bin/sh}
104 # Maximum number of lines to put in a shell here document.
111 # If the previous option needs an argument, assign it.
112 if test -n "$ac_prev"; then
113 eval "$ac_prev=\$ac_option"
119 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
123 # Accept the important Cygnus configure options, so we can diagnose typos.
127 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
129 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
130 bindir
="$ac_optarg" ;;
132 -build |
--build |
--buil |
--bui |
--bu)
134 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
135 build
="$ac_optarg" ;;
137 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
138 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
139 ac_prev
=cache_file
;;
140 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
141 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
142 cache_file
="$ac_optarg" ;;
144 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
146 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
148 datadir
="$ac_optarg" ;;
150 -disable-* |
--disable-*)
151 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
152 # Reject names that are not valid shell variable names.
153 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
154 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
156 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
157 eval "enable_${ac_feature}=no" ;;
159 -enable-* |
--enable-*)
160 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
161 # Reject names that are not valid shell variable names.
162 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
163 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
165 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
170 eval "enable_${ac_feature}='$ac_optarg'" ;;
172 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
173 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
174 |
--exec |
--exe |
--ex)
175 ac_prev
=exec_prefix
;;
176 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
177 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
178 |
--exec=* |
--exe=* |
--ex=*)
179 exec_prefix
="$ac_optarg" ;;
181 -gas |
--gas |
--ga |
--g)
182 # Obsolete; use --with-gas.
185 -help |
--help |
--hel |
--he)
186 # Omit some internal or obsolete options to make the list less imposing.
187 # This message is too long to be a string in the A/UX 3.1 sh.
189 Usage: configure [options] [host]
190 Options: [defaults in brackets after descriptions]
192 --cache-file=FILE cache test results in FILE
193 --help print this message
194 --no-create do not create output files
195 --quiet, --silent do not print \`checking...' messages
196 --version print the version of autoconf that created configure
197 Directory and file names:
198 --prefix=PREFIX install architecture-independent files in PREFIX
200 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
202 --bindir=DIR user executables in DIR [EPREFIX/bin]
203 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
204 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
205 --datadir=DIR read-only architecture-independent data in DIR
207 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
208 --sharedstatedir=DIR modifiable architecture-independent data in DIR
210 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
211 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
212 --includedir=DIR C header files in DIR [PREFIX/include]
213 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
214 --infodir=DIR info documentation in DIR [PREFIX/info]
215 --mandir=DIR man documentation in DIR [PREFIX/man]
216 --srcdir=DIR find the sources in DIR [configure dir or ..]
217 --program-prefix=PREFIX prepend PREFIX to installed program names
218 --program-suffix=SUFFIX append SUFFIX to installed program names
219 --program-transform-name=PROGRAM
220 run sed PROGRAM on installed program names
224 --build=BUILD configure for building on BUILD [BUILD=HOST]
225 --host=HOST configure for HOST [guessed]
226 --target=TARGET configure for TARGET [TARGET=HOST]
227 Features and packages:
228 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
229 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
230 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
231 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
232 --x-includes=DIR X include files are in DIR
233 --x-libraries=DIR X library files are in DIR
235 if test -n "$ac_help"; then
236 echo "--enable and --with options recognized:$ac_help"
240 -host |
--host |
--hos |
--ho)
242 -host=* |
--host=* |
--hos=* |
--ho=*)
245 -includedir |
--includedir |
--includedi |
--included |
--include \
246 |
--includ |
--inclu |
--incl |
--inc)
247 ac_prev
=includedir
;;
248 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
249 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
250 includedir
="$ac_optarg" ;;
252 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
254 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
255 infodir
="$ac_optarg" ;;
257 -libdir |
--libdir |
--libdi |
--libd)
259 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
260 libdir
="$ac_optarg" ;;
262 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
263 |
--libexe |
--libex |
--libe)
264 ac_prev
=libexecdir
;;
265 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
266 |
--libexe=* |
--libex=* |
--libe=*)
267 libexecdir
="$ac_optarg" ;;
269 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
270 |
--localstate |
--localstat |
--localsta |
--localst \
271 |
--locals |
--local |
--loca |
--loc |
--lo)
272 ac_prev
=localstatedir
;;
273 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
274 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
275 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
276 localstatedir
="$ac_optarg" ;;
278 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
280 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
281 mandir
="$ac_optarg" ;;
284 # Obsolete; use --without-fp.
287 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
291 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
292 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
295 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
296 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
297 |
--oldin |
--oldi |
--old |
--ol |
--o)
298 ac_prev
=oldincludedir
;;
299 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
300 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
301 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
302 oldincludedir
="$ac_optarg" ;;
304 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
306 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
307 prefix
="$ac_optarg" ;;
309 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
310 |
--program-pre |
--program-pr |
--program-p)
311 ac_prev
=program_prefix
;;
312 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
313 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
314 program_prefix
="$ac_optarg" ;;
316 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
317 |
--program-suf |
--program-su |
--program-s)
318 ac_prev
=program_suffix
;;
319 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
320 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
321 program_suffix
="$ac_optarg" ;;
323 -program-transform-name |
--program-transform-name \
324 |
--program-transform-nam |
--program-transform-na \
325 |
--program-transform-n |
--program-transform- \
326 |
--program-transform |
--program-transfor \
327 |
--program-transfo |
--program-transf \
328 |
--program-trans |
--program-tran \
329 |
--progr-tra |
--program-tr |
--program-t)
330 ac_prev
=program_transform_name
;;
331 -program-transform-name=* |
--program-transform-name=* \
332 |
--program-transform-nam=* |
--program-transform-na=* \
333 |
--program-transform-n=* |
--program-transform-=* \
334 |
--program-transform=* |
--program-transfor=* \
335 |
--program-transfo=* |
--program-transf=* \
336 |
--program-trans=* |
--program-tran=* \
337 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
338 program_transform_name
="$ac_optarg" ;;
340 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
341 |
-silent |
--silent |
--silen |
--sile |
--sil)
344 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
346 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
348 sbindir
="$ac_optarg" ;;
350 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
351 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
352 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
354 ac_prev
=sharedstatedir
;;
355 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
356 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
357 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
359 sharedstatedir
="$ac_optarg" ;;
361 -site |
--site |
--sit)
363 -site=* |
--site=* |
--sit=*)
366 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
368 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
369 srcdir
="$ac_optarg" ;;
371 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
372 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
373 ac_prev
=sysconfdir
;;
374 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
375 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
376 sysconfdir
="$ac_optarg" ;;
378 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
380 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
381 target
="$ac_optarg" ;;
383 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
386 -version |
--version |
--versio |
--versi |
--vers)
387 echo "configure generated by autoconf version 2.13"
391 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
392 # Reject names that are not valid shell variable names.
393 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
394 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
396 ac_package
=`echo $ac_package| sed 's/-/_/g'`
401 eval "with_${ac_package}='$ac_optarg'" ;;
403 -without-* |
--without-*)
404 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
405 # Reject names that are not valid shell variable names.
406 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
407 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
409 ac_package
=`echo $ac_package| sed 's/-/_/g'`
410 eval "with_${ac_package}=no" ;;
413 # Obsolete; use --with-x.
416 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
417 |
--x-incl |
--x-inc |
--x-in |
--x-i)
418 ac_prev
=x_includes
;;
419 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
420 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
421 x_includes
="$ac_optarg" ;;
423 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
424 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
425 ac_prev
=x_libraries
;;
426 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
427 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
428 x_libraries
="$ac_optarg" ;;
430 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
434 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
435 echo "configure: warning: $ac_option: invalid host type" 1>&2
437 if test "x$nonopt" != xNONE
; then
438 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
446 if test -n "$ac_prev"; then
447 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
450 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
452 # File descriptor usage:
455 # 2 errors and warnings
456 # 3 some systems may open it to /dev/tty
457 # 4 used on the Kubota Titan
458 # 6 checking for... messages and results
459 # 5 compiler messages saved in config.log
460 if test "$silent" = yes; then
468 This file contains any messages produced by compilers while
469 running configure, to aid debugging if configure makes a mistake.
472 # Strip out --no-create and --no-recursion so they do not pile up.
473 # Also quote any args containing shell metacharacters.
478 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
479 |
--no-cr |
--no-c) ;;
480 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
481 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
482 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
483 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
484 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
489 # Only set these to C if already set. These must not be set unconditionally
490 # because not all systems understand e.g. LANG=C (notably SCO).
491 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
492 # Non-C LC_CTYPE values break the ctype check.
493 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
494 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
495 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
496 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
498 # confdefs.h avoids OS command line length limits that DEFS can exceed.
499 rm -rf conftest
* confdefs.h
500 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
503 # A filename unique to this package, relative to the directory that
504 # configure is in, which we can look for to find out if srcdir is correct.
505 ac_unique_file
=src
/ios.cc
507 # Find the source files, if location was not specified.
508 if test -z "$srcdir"; then
509 ac_srcdir_defaulted
=yes
510 # Try the directory containing this script, then its parent.
512 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
513 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
515 if test ! -r $srcdir/$ac_unique_file; then
519 ac_srcdir_defaulted
=no
521 if test ! -r $srcdir/$ac_unique_file; then
522 if test "$ac_srcdir_defaulted" = yes; then
523 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
525 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
528 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
530 # Prefer explicitly selected file to automatically selected ones.
531 if test -z "$CONFIG_SITE"; then
532 if test "x$prefix" != xNONE
; then
533 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
535 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
538 for ac_site_file
in $CONFIG_SITE; do
539 if test -r "$ac_site_file"; then
540 echo "loading site script $ac_site_file"
545 if test -r "$cache_file"; then
546 echo "loading cache $cache_file"
549 echo "creating cache $cache_file"
554 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
555 ac_cpp
='$CPP $CPPFLAGS'
556 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
557 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
558 cross_compiling
=$ac_cv_prog_cc_cross
562 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
563 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
564 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
571 ac_n
= ac_c
='\c' ac_t
=
578 # For typical GNU versioning info, format is MAJOR.MINOR.MICRO
579 release_VERSION
=3.1.0
581 # For libtool versioning info, format is CURRENT:REVISION:AGE
582 libtool_VERSION
=4:0:0
585 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
586 # AC 2.50 sets target_alias iff the user specified --target, but we use it
587 # everywhere, so we set it here just to be sure.
589 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
590 if test -f $ac_dir/install-sh
; then
592 ac_install_sh
="$ac_aux_dir/install-sh -c"
594 elif test -f $ac_dir/install.sh
; then
596 ac_install_sh
="$ac_aux_dir/install.sh -c"
600 if test -z "$ac_aux_dir"; then
601 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
603 ac_config_guess
=$ac_aux_dir/config.guess
604 ac_config_sub
=$ac_aux_dir/config.sub
605 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
608 # Do some error checking and defaulting for the host and target type.
610 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
613 # 1. You are not allowed to specify --host, --target, and nonopt at the
615 # 2. Host defaults to nonopt.
616 # 3. If nonopt is not specified, then host defaults to the current host,
617 # as determined by config.guess.
618 # 4. Target and build default to nonopt.
619 # 5. If nonopt is not specified, then target and build default to host.
621 # The aliases save the names the user supplied, while $host etc.
622 # will get canonicalized.
623 case $host---$target---$nonopt in
624 NONE---
*---* |
*---NONE---* |
*---*---NONE) ;;
625 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
629 # Make sure we can run config.sub.
630 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
631 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
634 echo $ac_n "checking host system type""... $ac_c" 1>&6
635 echo "configure:636: checking host system type" >&5
638 case "$host_alias" in
642 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
643 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
645 *) host_alias
=$nonopt ;;
649 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
650 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
651 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
652 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
653 echo "$ac_t""$host" 1>&6
655 echo $ac_n "checking target system type""... $ac_c" 1>&6
656 echo "configure:657: checking target system type" >&5
659 case "$target_alias" in
662 NONE
) target_alias
=$host_alias ;;
663 *) target_alias
=$nonopt ;;
667 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
668 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
669 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
670 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
671 echo "$ac_t""$target" 1>&6
673 echo $ac_n "checking build system type""... $ac_c" 1>&6
674 echo "configure:675: checking build system type" >&5
677 case "$build_alias" in
680 NONE
) build_alias
=$host_alias ;;
681 *) build_alias
=$nonopt ;;
685 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
686 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
687 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
688 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
689 echo "$ac_t""$build" 1>&6
691 test "$host_alias" != "$target_alias" &&
692 test "$program_prefix$program_suffix$program_transform_name" = \
694 program_prefix
=${target_alias}-
696 target_alias
=${target_alias-$target}
699 # Find a good install program. We prefer a C program (faster),
700 # so one script is as good as another. But avoid the broken or
701 # incompatible versions:
702 # SysV /etc/install, /usr/sbin/install
703 # SunOS /usr/etc/install
706 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
707 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
708 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
709 # ./install, which can be erroneously created by make from ./install.sh.
710 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
711 echo "configure:712: checking for a BSD compatible install" >&5
712 if test -z "$INSTALL"; then
713 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
714 echo $ac_n "(cached) $ac_c" 1>&6
716 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
717 for ac_dir
in $PATH; do
718 # Account for people who put trailing slashes in PATH elements.
720 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
722 # OSF1 and SCO ODT 3.0 have their own names for install.
723 # Don't use installbsd from OSF since it installs stuff as root
725 for ac_prog
in ginstall scoinst
install; do
726 if test -f $ac_dir/$ac_prog; then
727 if test $ac_prog = install &&
728 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
729 # AIX install. It has an incompatible calling convention.
732 ac_cv_path_install
="$ac_dir/$ac_prog -c"
743 if test "${ac_cv_path_install+set}" = set; then
744 INSTALL
="$ac_cv_path_install"
746 # As a last resort, use the slow shell script. We don't cache a
747 # path for INSTALL within a source directory, because that will
748 # break other packages using the cache if that directory is
749 # removed, or if the path is relative.
750 INSTALL
="$ac_install_sh"
753 echo "$ac_t""$INSTALL" 1>&6
755 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
756 # It thinks the first close brace ends the variable substitution.
757 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
759 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
761 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
763 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
764 echo "configure:765: checking whether build environment is sane" >&5
767 echo timestamp
> conftestfile
768 # Do `set' in a subshell so we don't clobber the current shell's
769 # arguments. Must try -L first in case configure is actually a
770 # symlink; some systems play weird games with the mod time of symlinks
771 # (eg FreeBSD returns the mod time of the symlink's containing
774 set X
`ls -Lt $srcdir/configure conftestfile 2> /dev/null`
775 if test "$*" = "X"; then
777 set X
`ls -t $srcdir/configure conftestfile`
779 if test "$*" != "X $srcdir/configure conftestfile" \
780 && test "$*" != "X conftestfile $srcdir/configure"; then
782 # If neither matched, then we have a broken ls. This can happen
783 # if, for instance, CONFIG_SHELL is bash and it inherits a
784 # broken ls alias from the environment. This has actually
785 # happened. Such a system could not be considered "sane".
786 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
787 alias in your environment" 1>&2; exit 1; }
790 test "$2" = conftestfile
796 { echo "configure: error: newly created file is older than distributed files!
797 Check your system clock" 1>&2; exit 1; }
800 echo "$ac_t""yes" 1>&6
801 if test "$program_transform_name" = s
,x
,x
,; then
802 program_transform_name
=
804 # Double any \ or $. echo might interpret backslashes.
805 cat <<\EOF_SED
> conftestsed
806 s
,\\,\\\\,g
; s
,\$
,$$
,g
808 program_transform_name
="`echo $program_transform_name|sed -f conftestsed`"
811 test "$program_prefix" != NONE
&&
812 program_transform_name
="s,^,${program_prefix},; $program_transform_name"
813 # Use a double $ so make ignores it.
814 test "$program_suffix" != NONE
&&
815 program_transform_name
="s,\$\$,${program_suffix},; $program_transform_name"
817 # sed with no file args requires a program.
818 test "$program_transform_name" = "" && program_transform_name
="s,x,x,"
820 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
821 echo "configure:822: checking whether ${MAKE-make} sets \${MAKE}" >&5
822 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
823 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
824 echo $ac_n "(cached) $ac_c" 1>&6
826 cat > conftestmake
<<\EOF
828 @
echo 'ac_maketemp="${MAKE}"'
830 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
831 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
832 if test -n "$ac_maketemp"; then
833 eval ac_cv_prog_make_
${ac_make}_set
=yes
835 eval ac_cv_prog_make_
${ac_make}_set
=no
839 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
840 echo "$ac_t""yes" 1>&6
843 echo "$ac_t""no" 1>&6
844 SET_MAKE
="MAKE=${MAKE-make}"
850 VERSION
=$release_VERSION
852 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status
; then
853 { echo "configure: error: source directory already configured; run "make distclean
" there first" 1>&2; exit 1; }
855 cat >> confdefs.h
<<EOF
856 #define PACKAGE "$PACKAGE"
859 cat >> confdefs.h
<<EOF
860 #define VERSION "$VERSION"
865 missing_dir
=`cd $ac_aux_dir && pwd`
866 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
867 echo "configure:868: checking for working aclocal" >&5
868 # Run test in a subshell; some versions of sh will print an error if
869 # an executable is not found, even if stderr is redirected.
870 # Redirect stdin to placate older versions of autoconf. Sigh.
871 if (aclocal
--version) < /dev
/null
> /dev
/null
2>&1; then
873 echo "$ac_t""found" 1>&6
875 ACLOCAL
="$missing_dir/missing aclocal"
876 echo "$ac_t""missing" 1>&6
879 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
880 echo "configure:881: checking for working autoconf" >&5
881 # Run test in a subshell; some versions of sh will print an error if
882 # an executable is not found, even if stderr is redirected.
883 # Redirect stdin to placate older versions of autoconf. Sigh.
884 if (autoconf
--version) < /dev
/null
> /dev
/null
2>&1; then
886 echo "$ac_t""found" 1>&6
888 AUTOCONF
="$missing_dir/missing autoconf"
889 echo "$ac_t""missing" 1>&6
892 echo $ac_n "checking for working automake""... $ac_c" 1>&6
893 echo "configure:894: checking for working automake" >&5
894 # Run test in a subshell; some versions of sh will print an error if
895 # an executable is not found, even if stderr is redirected.
896 # Redirect stdin to placate older versions of autoconf. Sigh.
897 if (automake
--version) < /dev
/null
> /dev
/null
2>&1; then
899 echo "$ac_t""found" 1>&6
901 AUTOMAKE
="$missing_dir/missing automake"
902 echo "$ac_t""missing" 1>&6
905 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
906 echo "configure:907: checking for working autoheader" >&5
907 # Run test in a subshell; some versions of sh will print an error if
908 # an executable is not found, even if stderr is redirected.
909 # Redirect stdin to placate older versions of autoconf. Sigh.
910 if (autoheader
--version) < /dev
/null
> /dev
/null
2>&1; then
911 AUTOHEADER
=autoheader
912 echo "$ac_t""found" 1>&6
914 AUTOHEADER
="$missing_dir/missing autoheader"
915 echo "$ac_t""missing" 1>&6
918 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
919 echo "configure:920: checking for working makeinfo" >&5
920 # Run test in a subshell; some versions of sh will print an error if
921 # an executable is not found, even if stderr is redirected.
922 # Redirect stdin to placate older versions of autoconf. Sigh.
923 if (makeinfo
--version) < /dev
/null
> /dev
/null
2>&1; then
925 echo "$ac_t""found" 1>&6
927 MAKEINFO
="$missing_dir/missing makeinfo"
928 echo "$ac_t""missing" 1>&6
936 # Runs configure.host and configure.target, as well as finds CC, CXX
937 # and assorted other critical bits. Have to run this before the
938 # GLIBCPP_ENABLE_* macros below.
939 if test $host != $build; then
940 ac_tool_prefix
=${host_alias}-
945 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
946 echo "configure:947: checking for Cygwin environment" >&5
947 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
948 echo $ac_n "(cached) $ac_c" 1>&6
950 cat > conftest.
$ac_ext <<EOF
951 #line 952 "configure"
952 #include "confdefs.h"
957 #define __CYGWIN__ __CYGWIN32__
962 if { (eval echo configure
:963: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
966 echo "configure: failed program was:" >&5
967 cat conftest.
$ac_ext >&5
975 echo "$ac_t""$ac_cv_cygwin" 1>&6
977 test "$ac_cv_cygwin" = yes && CYGWIN
=yes
978 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
979 echo "configure:980: checking for mingw32 environment" >&5
980 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
981 echo $ac_n "(cached) $ac_c" 1>&6
983 cat > conftest.
$ac_ext <<EOF
984 #line 985 "configure"
985 #include "confdefs.h"
991 if { (eval echo configure
:992: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
995 echo "configure: failed program was:" >&5
996 cat conftest.
$ac_ext >&5
1004 echo "$ac_t""$ac_cv_mingw32" 1>&6
1006 test "$ac_cv_mingw32" = yes && MINGW32
=yes
1008 # Check whether --enable-multilib or --disable-multilib was given.
1009 if test "${enable_multilib+set}" = set; then
1010 enableval
="$enable_multilib"
1011 case "${enableval}" in
1012 yes) multilib
=yes ;;
1014 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
1020 # When building with srcdir == objdir, links to the source files will
1021 # be created in directories within the target_subdir. We have to
1022 # adjust toplevel_srcdir accordingly, so that configure finds
1023 # install-sh and other auxiliary files that live in the top-level
1025 if test "${srcdir}" = "."; then
1026 if test -z "${with_target_subdir}"; then
1029 if test "${with_target_subdir}" != "."; then
1030 toprel
="${with_multisrctop}../.."
1032 toprel
="${with_multisrctop}.."
1039 for ac_dir
in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do
1040 if test -f $ac_dir/install-sh
; then
1042 ac_install_sh
="$ac_aux_dir/install-sh -c"
1044 elif test -f $ac_dir/install.sh
; then
1046 ac_install_sh
="$ac_aux_dir/install.sh -c"
1050 if test -z "$ac_aux_dir"; then
1051 { echo "configure: error: can not find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" 1>&2; exit 1; }
1053 ac_config_guess=$ac_aux_dir/config.guess
1054 ac_config_sub=$ac_aux_dir/config.sub
1055 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
1057 toplevel_srcdir=\${top_srcdir}/$toprel
1060 # Export build and source directories.
1061 # These need to be absolute paths, yet at the same time need to
1062 # canonicalize only relative paths, because then amd will not unmount
1063 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1064 glibcpp_builddir=`pwd`
1066 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
1067 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1074 # Will set LN_S to either 'ln -s' or 'ln'. With autoconf 2.50+, can also
1075 # be 'cp -p' if linking isn't available.
1076 #ac_cv_prog_LN_S='cp -p'
1077 echo $ac_n "checking whether
ln -s works
""...
$ac_c" 1>&6
1078 echo "configure
:1079: checking whether
ln -s works
" >&5
1079 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1080 echo $ac_n "(cached
) $ac_c" 1>&6
1083 if ln -s X conftestdata 2>/dev/null
1086 ac_cv_prog_LN_S="ln -s"
1091 LN_S="$ac_cv_prog_LN_S"
1092 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1093 echo "$ac_t""yes" 1>&6
1095 echo "$ac_t""no
" 1>&6
1099 # We use these options to decide which functions to include.
1100 # Check whether --with-target-subdir or --without-target-subdir was given.
1101 if test "${with_target_subdir+set}" = set; then
1102 withval="$with_target_subdir"
1106 # Check whether --with-cross-host or --without-cross-host was given.
1107 if test "${with_cross_host+set}" = set; then
1108 withval="$with_cross_host"
1113 glibcpp_basedir=$srcdir/$toprel/./libstdc++-v3
1116 # Never versions of autoconf add an underscore to these functions.
1117 # Prevent future problems ...
1125 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1126 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1127 # are probably using a cross compiler, which will not be able to fully
1128 # link an executable. This should really be fixed in autoconf
1134 # Extract the first word of "gcc
", so it can be a program name with args.
1135 set dummy gcc; ac_word=$2
1136 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1137 echo "configure
:1138: checking
for $ac_word" >&5
1138 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1139 echo $ac_n "(cached
) $ac_c" 1>&6
1141 if test -n "$CC"; then
1142 ac_cv_prog_CC="$CC" # Let the user override the test.
1144 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1146 for ac_dir in $ac_dummy; do
1147 test -z "$ac_dir" && ac_dir=.
1148 if test -f $ac_dir/$ac_word; then
1157 if test -n "$CC"; then
1158 echo "$ac_t""$CC" 1>&6
1160 echo "$ac_t""no
" 1>&6
1163 if test -z "$CC"; then
1164 # Extract the first word of "cc
", so it can be a program name with args.
1165 set dummy cc; ac_word=$2
1166 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1167 echo "configure
:1168: checking
for $ac_word" >&5
1168 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1169 echo $ac_n "(cached
) $ac_c" 1>&6
1171 if test -n "$CC"; then
1172 ac_cv_prog_CC="$CC" # Let the user override the test.
1174 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1177 for ac_dir in $ac_dummy; do
1178 test -z "$ac_dir" && ac_dir=.
1179 if test -f $ac_dir/$ac_word; then
1180 if test "$ac_dir/$ac_word" = "/usr
/ucb
/cc
"; then
1181 ac_prog_rejected=yes
1189 if test $ac_prog_rejected = yes; then
1190 # We found a bogon in the path, so make sure we never use it.
1191 set dummy $ac_cv_prog_CC
1193 if test $# -gt 0; then
1194 # We chose a different compiler from the bogus one.
1195 # However, it has the same basename, so the bogon will be chosen
1196 # first if we set CC to just the basename; use the full file name.
1198 set dummy "$ac_dir/$ac_word" "$@
"
1206 if test -n "$CC"; then
1207 echo "$ac_t""$CC" 1>&6
1209 echo "$ac_t""no
" 1>&6
1212 test -z "$CC" && { echo "configure
: error
: no acceptable cc found
in \
$PATH" 1>&2; exit 1; }
1215 echo $ac_n "checking whether we are using GNU C
""...
$ac_c" 1>&6
1216 echo "configure
:1217: checking whether we are using GNU C
" >&5
1217 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1218 echo $ac_n "(cached
) $ac_c" 1>&6
1220 cat > conftest.c <<EOF
1225 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1226: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1232 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1234 if test $ac_cv_prog_gcc = yes; then
1236 ac_test_CFLAGS="${CFLAGS+set}"
1237 ac_save_CFLAGS="$CFLAGS"
1239 echo $ac_n "checking whether
${CC-cc} accepts
-g""...
$ac_c" 1>&6
1240 echo "configure
:1241: checking whether
${CC-cc} accepts
-g" >&5
1241 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1242 echo $ac_n "(cached
) $ac_c" 1>&6
1244 echo 'void f(){}' > conftest.c
1245 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1254 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1255 if test "$ac_test_CFLAGS" = set; then
1256 CFLAGS="$ac_save_CFLAGS"
1257 elif test $ac_cv_prog_cc_g = yes; then
1264 test "${CFLAGS+set}" = set || CFLAGS="-g"
1268 # Can't just call these here as g++ requires libstc++ to be built....
1271 # Likewise for AC_PROG_CXX.
1275 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1276 # flags that come in CXX while configuring libstdc++. They're different
1277 # from those used for all other target libraries. If CXX is set in
1278 # the environment, respect that here.
1280 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1282 # Extract the first word of "$ac_prog", so it can be a program name with args.
1283 set dummy $ac_prog; ac_word=$2
1284 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1285 echo "configure
:1286: checking
for $ac_word" >&5
1286 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1287 echo $ac_n "(cached
) $ac_c" 1>&6
1289 if test -n "$glibcpp_CXX"; then
1290 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
1292 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1294 for ac_dir in $ac_dummy; do
1295 test -z "$ac_dir" && ac_dir=.
1296 if test -f $ac_dir/$ac_word; then
1297 ac_cv_prog_glibcpp_CXX="$ac_prog"
1304 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1305 if test -n "$glibcpp_CXX"; then
1306 echo "$ac_t""$glibcpp_CXX" 1>&6
1308 echo "$ac_t""no
" 1>&6
1311 test -n "$glibcpp_CXX" && break
1313 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc
"
1317 test -z "$glibcpp_CXX" && { echo "configure
: error
: no acceptable c
++ found
in \
$PATH" 1>&2; exit 1; }
1319 echo $ac_n "checking whether we are using GNU C
++""...
$ac_c" 1>&6
1320 echo "configure
:1321: checking whether we are using GNU C
++" >&5
1321 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1322 echo $ac_n "(cached
) $ac_c" 1>&6
1324 cat > conftest.C <<EOF
1329 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1336 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1338 if test $ac_cv_prog_gxx = yes; then
1340 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1341 ac_save_CXXFLAGS="$CXXFLAGS"
1343 echo $ac_n "checking whether
${CXX-g++} accepts
-g""...
$ac_c" 1>&6
1344 echo "configure
:1345: checking whether
${CXX-g++} accepts
-g" >&5
1345 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1346 echo $ac_n "(cached
) $ac_c" 1>&6
1348 echo 'void f(){}' > conftest.cc
1349 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1350 ac_cv_prog_cxx_g=yes
1358 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1359 if test "$ac_test_CXXFLAGS" = set; then
1360 CXXFLAGS="$ac_save_CXXFLAGS"
1361 elif test $ac_cv_prog_cxx_g = yes; then
1368 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1372 # For some reason, gettext needs this.
1374 echo $ac_n "checking
for strerror
in -lcposix""...
$ac_c" 1>&6
1375 echo "configure
:1376: checking
for strerror
in -lcposix" >&5
1376 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
1377 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1378 echo $ac_n "(cached
) $ac_c" 1>&6
1380 ac_save_LIBS="$LIBS"
1381 LIBS="-lcposix $LIBS"
1382 cat > conftest.$ac_ext <<EOF
1383 #line 1384 "configure
"
1384 #include "confdefs.h
"
1385 /* Override any gcc2 internal prototype to avoid an error. */
1386 /* We use char because int might match the return type of a gcc2
1387 builtin and then its argument prototype would still apply. */
1394 if { (eval echo configure:1395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1396 eval "ac_cv_lib_
$ac_lib_var=yes"
1398 echo "configure
: failed program was
:" >&5
1399 cat conftest.$ac_ext >&5
1401 eval "ac_cv_lib_
$ac_lib_var=no
"
1404 LIBS="$ac_save_LIBS"
1407 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1408 echo "$ac_t""yes" 1>&6
1409 LIBS="$LIBS -lcposix"
1411 echo "$ac_t""no
" 1>&6
1417 # Extract the first word of "${ac_tool_prefix}as
", so it can be a program name with args.
1418 set dummy ${ac_tool_prefix}as; ac_word=$2
1419 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1420 echo "configure
:1421: checking
for $ac_word" >&5
1421 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1422 echo $ac_n "(cached
) $ac_c" 1>&6
1424 if test -n "$AS"; then
1425 ac_cv_prog_AS="$AS" # Let the user override the test.
1427 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1429 for ac_dir in $ac_dummy; do
1430 test -z "$ac_dir" && ac_dir=.
1431 if test -f $ac_dir/$ac_word; then
1432 ac_cv_prog_AS="${ac_tool_prefix}as
"
1437 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as
"
1441 if test -n "$AS"; then
1442 echo "$ac_t""$AS" 1>&6
1444 echo "$ac_t""no
" 1>&6
1449 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1450 set dummy ${ac_tool_prefix}ar; ac_word=$2
1451 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1452 echo "configure
:1453: checking
for $ac_word" >&5
1453 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1454 echo $ac_n "(cached
) $ac_c" 1>&6
1456 if test -n "$AR"; then
1457 ac_cv_prog_AR="$AR" # Let the user override the test.
1459 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1461 for ac_dir in $ac_dummy; do
1462 test -z "$ac_dir" && ac_dir=.
1463 if test -f $ac_dir/$ac_word; then
1464 ac_cv_prog_AR="${ac_tool_prefix}ar"
1469 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1473 if test -n "$AR"; then
1474 echo "$ac_t""$AR" 1>&6
1476 echo "$ac_t""no
" 1>&6
1481 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
1482 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1483 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1484 echo "configure
:1485: checking
for $ac_word" >&5
1485 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1486 echo $ac_n "(cached
) $ac_c" 1>&6
1488 if test -n "$RANLIB"; then
1489 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1491 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1493 for ac_dir in $ac_dummy; do
1494 test -z "$ac_dir" && ac_dir=.
1495 if test -f $ac_dir/$ac_word; then
1496 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
1503 RANLIB="$ac_cv_prog_RANLIB"
1504 if test -n "$RANLIB"; then
1505 echo "$ac_t""$RANLIB" 1>&6
1507 echo "$ac_t""no
" 1>&6
1511 if test -z "$ac_cv_prog_RANLIB"; then
1512 if test -n "$ac_tool_prefix"; then
1513 # Extract the first word of "ranlib
", so it can be a program name with args.
1514 set dummy ranlib; ac_word=$2
1515 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1516 echo "configure
:1517: checking
for $ac_word" >&5
1517 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1518 echo $ac_n "(cached
) $ac_c" 1>&6
1520 if test -n "$RANLIB"; then
1521 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1523 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1525 for ac_dir in $ac_dummy; do
1526 test -z "$ac_dir" && ac_dir=.
1527 if test -f $ac_dir/$ac_word; then
1528 ac_cv_prog_RANLIB="ranlib
"
1533 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error
"
1536 RANLIB="$ac_cv_prog_RANLIB"
1537 if test -n "$RANLIB"; then
1538 echo "$ac_t""$RANLIB" 1>&6
1540 echo "$ac_t""no
" 1>&6
1544 RANLIB="ranlib-not-found-in-path-error
"
1548 # Find a good install program. We prefer a C program (faster),
1549 # so one script is as good as another. But avoid the broken or
1550 # incompatible versions:
1551 # SysV /etc/install, /usr/sbin/install
1552 # SunOS /usr/etc/install
1553 # IRIX /sbin/install
1555 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1556 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1557 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
1558 # ./install, which can be erroneously created by make from ./install.sh.
1559 echo $ac_n "checking
for a BSD compatible
install""...
$ac_c" 1>&6
1560 echo "configure
:1561: checking
for a BSD compatible
install" >&5
1561 if test -z "$INSTALL"; then
1562 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1563 echo $ac_n "(cached
) $ac_c" 1>&6
1565 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1566 for ac_dir in $PATH; do
1567 # Account for people who put trailing slashes in PATH elements.
1569 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1571 # OSF1 and SCO ODT 3.0 have their own names for install.
1572 # Don't use installbsd from OSF since it installs stuff as root
1574 for ac_prog in ginstall scoinst install; do
1575 if test -f $ac_dir/$ac_prog; then
1576 if test $ac_prog = install &&
1577 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1578 # AIX install. It has an incompatible calling convention.
1581 ac_cv_path_install="$ac_dir/$ac_prog -c"
1592 if test "${ac_cv_path_install+set}" = set; then
1593 INSTALL="$ac_cv_path_install"
1595 # As a last resort, use the slow shell script. We don't cache a
1596 # path for INSTALL within a source directory, because that will
1597 # break other packages using the cache if that directory is
1598 # removed, or if the path is relative.
1599 INSTALL="$ac_install_sh"
1602 echo "$ac_t""$INSTALL" 1>&6
1604 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1605 # It thinks the first close brace ends the variable substitution.
1606 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1608 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1610 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1613 echo $ac_n "checking whether to
enable maintainer-specific portions of Makefiles
""...
$ac_c" 1>&6
1614 echo "configure
:1615: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
1615 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1616 if test "${enable_maintainer_mode+set}" = set; then
1617 enableval="$enable_maintainer_mode"
1618 USE_MAINTAINER_MODE=$enableval
1620 USE_MAINTAINER_MODE=no
1623 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1626 if test $USE_MAINTAINER_MODE = yes; then
1627 MAINTAINER_MODE_TRUE=
1628 MAINTAINER_MODE_FALSE='#'
1630 MAINTAINER_MODE_TRUE='#'
1631 MAINTAINER_MODE_FALSE=
1633 MAINT=$MAINTAINER_MODE_TRUE
1637 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1638 # at least currently, we never actually build a program, so we never
1639 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1640 # fails, because we are probably configuring with a cross compiler
1641 # which can't create executables. So we include AC_EXEEXT to keep
1642 # automake happy, but we don't execute it, since we don't care about
1645 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1646 # to nothing, so nothing would remain between `then' and `fi' if it
1647 # were not for the `:' below.
1651 echo $ac_n "checking
for executable suffix
""...
$ac_c" 1>&6
1652 echo "configure
:1653: checking
for executable suffix
" >&5
1653 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1654 echo $ac_n "(cached
) $ac_c" 1>&6
1656 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1660 echo 'int main () { return 0; }' > conftest.$ac_ext
1662 if { (eval echo configure:1663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1663 for file in conftest.*; do
1665 *.c | *.o | *.obj) ;;
1666 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1670 { echo "configure
: error
: installation or configuration problem
: compiler cannot create executables.
" 1>&2; exit 1; }
1673 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1678 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1679 echo "$ac_t""${ac_cv_exeext}" 1>&6
1684 . ${glibcpp_basedir}/configure.host
1686 case ${glibcpp_basedir} in
1687 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1688 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1691 # This does for the target what configure.host does for the host. In
1692 # addition to possibly modifying the same flags, it also sets up symlinks.
1694 . ${glibcpp_basedir}/configure.target
1695 echo "$ac_t""CPU config directory is
$cpu_include_dir" 1>&6
1696 echo "$ac_t""OS config directory is
$os_include_dir" 1>&6
1703 # Check whether --enable-shared or --disable-shared was given.
1704 if test "${enable_shared+set}" = set; then
1705 enableval="$enable_shared"
1706 p=${PACKAGE-default}
1708 yes) enable_shared=yes ;;
1709 no) enable_shared=no ;;
1712 # Look at the argument we got. We use all the common list separators.
1713 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1714 for pkg in $enableval; do
1715 if test "X
$pkg" = "X
$p"; then
1726 # Check whether --enable-static or --disable-static was given.
1727 if test "${enable_static+set}" = set; then
1728 enableval="$enable_static"
1729 p=${PACKAGE-default}
1731 yes) enable_static=yes ;;
1732 no) enable_static=no ;;
1735 # Look at the argument we got. We use all the common list separators.
1736 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1737 for pkg in $enableval; do
1738 if test "X
$pkg" = "X
$p"; then
1749 # Check whether --enable-fast-install or --disable-fast-install was given.
1750 if test "${enable_fast_install+set}" = set; then
1751 enableval="$enable_fast_install"
1752 p=${PACKAGE-default}
1754 yes) enable_fast_install=yes ;;
1755 no) enable_fast_install=no ;;
1757 enable_fast_install=no
1758 # Look at the argument we got. We use all the common list separators.
1759 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1760 for pkg in $enableval; do
1761 if test "X
$pkg" = "X
$p"; then
1762 enable_fast_install=yes
1769 enable_fast_install=yes
1772 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1773 if test "${with_gnu_ld+set}" = set; then
1774 withval="$with_gnu_ld"
1775 test "$withval" = no || with_gnu_ld=yes
1781 if test "$GCC" = yes; then
1782 # Check if gcc -print-prog-name=ld gives a path.
1783 echo $ac_n "checking
for ld used by GCC
""...
$ac_c" 1>&6
1784 echo "configure
:1785: checking
for ld used by GCC
" >&5
1787 # gcc leaves a trailing carriage return which upsets mingw
1788 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1790 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1793 # Accept absolute paths.
1794 [\\/]* | [A-Za-z]:[\\/]*)
1795 re_direlt='/[^/][^/]*/\.\./'
1796 # Canonicalize the path of ld
1797 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1798 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1799 ac_prog=`echo $ac_prog| sed "s
%$re_direlt%/%"`
1801 test -z "$LD" && LD="$ac_prog"
1804 # If it fails, then pretend we aren't using GCC.
1808 # If it is relative, then search for the first ld in PATH.
1812 elif test "$with_gnu_ld" = yes; then
1813 echo $ac_n "checking
for GNU ld
""...
$ac_c" 1>&6
1814 echo "configure
:1815: checking
for GNU ld
" >&5
1816 echo $ac_n "checking
for non-GNU ld
""...
$ac_c" 1>&6
1817 echo "configure
:1818: checking
for non-GNU ld
" >&5
1819 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1820 echo $ac_n "(cached
) $ac_c" 1>&6
1822 if test -z "$LD"; then
1823 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1824 for ac_dir in $PATH; do
1825 test -z "$ac_dir" && ac_dir=.
1826 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1827 lt_cv_path_LD="$ac_dir/$ac_prog"
1828 # Check to see if the program is GNU ld. I'd rather use --version,
1829 # but apparently some GNU ld's only accept -v.
1830 # Break only if it was the GNU/non-GNU ld that we prefer.
1831 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1832 test "$with_gnu_ld" != no && break
1834 test "$with_gnu_ld" != yes && break
1840 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1845 if test -n "$LD"; then
1846 echo "$ac_t""$LD" 1>&6
1848 echo "$ac_t""no
" 1>&6
1850 test -z "$LD" && { echo "configure
: error
: no acceptable ld found
in \
$PATH" 1>&2; exit 1; }
1851 echo $ac_n "checking
if the linker
($LD) is GNU ld
""...
$ac_c" 1>&6
1852 echo "configure
:1853: checking
if the linker
($LD) is GNU ld
" >&5
1853 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1854 echo $ac_n "(cached
) $ac_c" 1>&6
1856 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1857 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1858 lt_cv_prog_gnu_ld=yes
1860 lt_cv_prog_gnu_ld=no
1864 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1865 with_gnu_ld=$lt_cv_prog_gnu_ld
1868 echo $ac_n "checking
for $LD option to reload object files
""...
$ac_c" 1>&6
1869 echo "configure
:1870: checking
for $LD option to reload object files
" >&5
1870 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1871 echo $ac_n "(cached
) $ac_c" 1>&6
1873 lt_cv_ld_reload_flag='-r'
1876 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1877 reload_flag=$lt_cv_ld_reload_flag
1878 test -n "$reload_flag" && reload_flag=" $reload_flag"
1880 echo $ac_n "checking
for BSD-compatible nm
""...
$ac_c" 1>&6
1881 echo "configure
:1882: checking
for BSD-compatible nm
" >&5
1882 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1883 echo $ac_n "(cached
) $ac_c" 1>&6
1885 if test -n "$NM"; then
1886 # Let the user override the test.
1889 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1890 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1891 test -z "$ac_dir" && ac_dir=.
1892 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1893 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1894 # Check to see if the nm accepts a BSD-compat flag.
1895 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1896 # nm: unknown option "B
" ignored
1897 # Tru64's nm complains that /dev/null is an invalid object file
1898 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1899 lt_cv_path_NM="$tmp_nm -B"
1901 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1902 lt_cv_path_NM="$tmp_nm -p"
1905 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1906 continue # so that we can try to find one that supports BSD flags
1911 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1916 echo "$ac_t""$NM" 1>&6
1918 echo $ac_n "checking how to recognise dependant libraries
""...
$ac_c" 1>&6
1919 echo "configure
:1920: checking how to recognise dependant libraries
" >&5
1920 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1921 echo $ac_n "(cached
) $ac_c" 1>&6
1923 lt_cv_file_magic_cmd='$MAGIC_CMD'
1924 lt_cv_file_magic_test_file=
1925 lt_cv_deplibs_check_method='unknown'
1926 # Need to set the preceding variable on all platforms that support
1927 # interlibrary dependencies.
1928 # 'none' -- dependencies not supported.
1929 # `unknown' -- same as none, but documents that we really don't know.
1930 # 'pass_all' -- all dependencies passed with no checks.
1931 # 'test_compile' -- check by making test program.
1932 # 'file_magic [regex]' -- check by looking for files in library path
1933 # which responds to the $file_magic_cmd with a given egrep regex.
1934 # If you have `file' or equivalent on your system and you're not sure
1935 # whether `pass_all' will *always* work, you probably want this one.
1939 lt_cv_deplibs_check_method=pass_all
1943 lt_cv_deplibs_check_method=pass_all
1947 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1948 lt_cv_file_magic_cmd='/usr/bin/file -L'
1949 lt_cv_file_magic_test_file=/shlib/libc.so
1952 cygwin* | mingw* |pw32*)
1953 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1954 lt_cv_file_magic_cmd='$OBJDUMP -f'
1957 darwin* | rhapsody*)
1958 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1959 lt_cv_file_magic_cmd='/usr/bin/file -L'
1961 rhapsody* | darwin1.012)
1962 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
1965 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
1971 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1974 # Not sure whether the presence of OpenBSD here was a mistake.
1975 # Let's accept both of them until this is cleared up.
1976 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1977 lt_cv_file_magic_cmd=/usr/bin/file
1978 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1982 lt_cv_deplibs_check_method=pass_all
1987 lt_cv_deplibs_check_method=pass_all
1991 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1992 lt_cv_file_magic_cmd=/usr/bin/file
1993 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1999 # this will be overridden with pass_all, but let us keep it just in case
2000 lt_cv_deplibs_check_method="file_magic ELF
32-bit MSB dynamic lib MIPS
- version
1"
2004 *-32|*"-32 ") libmagic=32-bit;;
2005 *-n32|*"-n32 ") libmagic=N32;;
2006 *-64|*"-64 ") libmagic=64-bit;;
2007 *) libmagic=never-match;;
2009 # this will be overridden with pass_all, but let us keep it just in case
2010 lt_cv_deplibs_check_method="file_magic ELF
${libmagic} MSB mips-
[1234] dynamic lib MIPS
- version
1"
2013 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
2014 lt_cv_deplibs_check_method=pass_all
2017 # This must be Linux ELF.
2020 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
2021 lt_cv_deplibs_check_method=pass_all ;;
2023 # glibc up to 2.1.1 does not perform some relocations on ARM
2024 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2026 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2030 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2031 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2033 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2038 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2039 lt_cv_file_magic_cmd=/usr/bin/file
2040 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2043 osf3* | osf4* | osf5*)
2044 # this will be overridden with pass_all, but let us keep it just in case
2045 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2046 lt_cv_file_magic_test_file=/shlib/libc.so
2047 lt_cv_deplibs_check_method=pass_all
2051 lt_cv_deplibs_check_method=pass_all
2055 lt_cv_deplibs_check_method=pass_all
2056 lt_cv_file_magic_test_file=/lib/libc.so
2059 sysv5uw[78]* | sysv4*uw2*)
2060 lt_cv_deplibs_check_method=pass_all
2063 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2064 case $host_vendor in
2066 lt_cv_deplibs_check_method=pass_all
2069 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]'
2070 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2078 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2079 file_magic_cmd=$lt_cv_file_magic_cmd
2080 deplibs_check_method=$lt_cv_deplibs_check_method
2082 echo $ac_n "checking
for object suffix
""...
$ac_c" 1>&6
2083 echo "configure
:2084: checking
for object suffix
" >&5
2084 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2085 echo $ac_n "(cached
) $ac_c" 1>&6
2088 echo 'int i = 1;' > conftest.$ac_ext
2089 if { (eval echo configure:2090: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2090 for ac_file in conftest.*; do
2093 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2097 { echo "configure
: error
: installation or configuration problem
; compiler does not work
" 1>&2; exit 1; }
2102 echo "$ac_t""$ac_cv_objext" 1>&6
2103 OBJEXT=$ac_cv_objext
2104 ac_objext=$ac_cv_objext
2106 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2108 # Only perform the check for file, if the check method requires it
2109 case $deplibs_check_method in
2111 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2112 echo $ac_n "checking
for ${ac_tool_prefix}file""...
$ac_c" 1>&6
2113 echo "configure
:2114: checking
for ${ac_tool_prefix}file" >&5
2114 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2115 echo $ac_n "(cached
) $ac_c" 1>&6
2119 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2122 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2125 ac_save_MAGIC_CMD="$MAGIC_CMD"
2126 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2127 ac_dummy="/usr
/bin
:$PATH"
2128 for ac_dir in $ac_dummy; do
2129 test -z "$ac_dir" && ac_dir=.
2130 if test -f $ac_dir/${ac_tool_prefix}file; then
2131 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2132 if test -n "$file_magic_test_file"; then
2133 case $deplibs_check_method in
2135 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2136 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2137 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2138 egrep "$file_magic_regex" > /dev/null; then
2143 *** Warning: the command libtool uses to detect shared libraries,
2144 *** $file_magic_cmd, produces output that libtool cannot recognize.
2145 *** The result is that libtool may fail to recognize shared libraries
2146 *** as such. This will affect the creation of libtool libraries that
2147 *** depend on shared libraries, but programs linked with such libtool
2148 *** libraries will work regardless of this problem. Nevertheless, you
2149 *** may want to report the problem to your system manager and/or to
2150 *** bug-libtool@gnu.org
2160 MAGIC_CMD="$ac_save_MAGIC_CMD"
2165 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2166 if test -n "$MAGIC_CMD"; then
2167 echo "$ac_t""$MAGIC_CMD" 1>&6
2169 echo "$ac_t""no
" 1>&6
2172 if test -z "$lt_cv_path_MAGIC_CMD"; then
2173 if test -n "$ac_tool_prefix"; then
2174 echo $ac_n "checking
for file""...
$ac_c" 1>&6
2175 echo "configure
:2176: checking
for file" >&5
2176 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2177 echo $ac_n "(cached
) $ac_c" 1>&6
2181 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2184 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2187 ac_save_MAGIC_CMD="$MAGIC_CMD"
2188 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2189 ac_dummy="/usr
/bin
:$PATH"
2190 for ac_dir in $ac_dummy; do
2191 test -z "$ac_dir" && ac_dir=.
2192 if test -f $ac_dir/file; then
2193 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2194 if test -n "$file_magic_test_file"; then
2195 case $deplibs_check_method in
2197 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2198 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2199 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2200 egrep "$file_magic_regex" > /dev/null; then
2205 *** Warning: the command libtool uses to detect shared libraries,
2206 *** $file_magic_cmd, produces output that libtool cannot recognize.
2207 *** The result is that libtool may fail to recognize shared libraries
2208 *** as such. This will affect the creation of libtool libraries that
2209 *** depend on shared libraries, but programs linked with such libtool
2210 *** libraries will work regardless of this problem. Nevertheless, you
2211 *** may want to report the problem to your system manager and/or to
2212 *** bug-libtool@gnu.org
2222 MAGIC_CMD="$ac_save_MAGIC_CMD"
2227 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2228 if test -n "$MAGIC_CMD"; then
2229 echo "$ac_t""$MAGIC_CMD" 1>&6
2231 echo "$ac_t""no
" 1>&6
2243 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
2244 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2245 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2246 echo "configure
:2247: checking
for $ac_word" >&5
2247 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2248 echo $ac_n "(cached
) $ac_c" 1>&6
2250 if test -n "$RANLIB"; then
2251 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2253 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2255 for ac_dir in $ac_dummy; do
2256 test -z "$ac_dir" && ac_dir=.
2257 if test -f $ac_dir/$ac_word; then
2258 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
2265 RANLIB="$ac_cv_prog_RANLIB"
2266 if test -n "$RANLIB"; then
2267 echo "$ac_t""$RANLIB" 1>&6
2269 echo "$ac_t""no
" 1>&6
2273 if test -z "$ac_cv_prog_RANLIB"; then
2274 if test -n "$ac_tool_prefix"; then
2275 # Extract the first word of "ranlib
", so it can be a program name with args.
2276 set dummy ranlib; ac_word=$2
2277 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2278 echo "configure
:2279: checking
for $ac_word" >&5
2279 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2280 echo $ac_n "(cached
) $ac_c" 1>&6
2282 if test -n "$RANLIB"; then
2283 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2285 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2287 for ac_dir in $ac_dummy; do
2288 test -z "$ac_dir" && ac_dir=.
2289 if test -f $ac_dir/$ac_word; then
2290 ac_cv_prog_RANLIB="ranlib
"
2295 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2298 RANLIB="$ac_cv_prog_RANLIB"
2299 if test -n "$RANLIB"; then
2300 echo "$ac_t""$RANLIB" 1>&6
2302 echo "$ac_t""no
" 1>&6
2310 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
2311 set dummy ${ac_tool_prefix}strip; ac_word=$2
2312 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2313 echo "configure
:2314: checking
for $ac_word" >&5
2314 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2315 echo $ac_n "(cached
) $ac_c" 1>&6
2317 if test -n "$STRIP"; then
2318 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2320 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2322 for ac_dir in $ac_dummy; do
2323 test -z "$ac_dir" && ac_dir=.
2324 if test -f $ac_dir/$ac_word; then
2325 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
2332 STRIP="$ac_cv_prog_STRIP"
2333 if test -n "$STRIP"; then
2334 echo "$ac_t""$STRIP" 1>&6
2336 echo "$ac_t""no
" 1>&6
2340 if test -z "$ac_cv_prog_STRIP"; then
2341 if test -n "$ac_tool_prefix"; then
2342 # Extract the first word of "strip
", so it can be a program name with args.
2343 set dummy strip; ac_word=$2
2344 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2345 echo "configure
:2346: checking
for $ac_word" >&5
2346 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2347 echo $ac_n "(cached
) $ac_c" 1>&6
2349 if test -n "$STRIP"; then
2350 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2352 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2354 for ac_dir in $ac_dummy; do
2355 test -z "$ac_dir" && ac_dir=.
2356 if test -f $ac_dir/$ac_word; then
2357 ac_cv_prog_STRIP="strip
"
2362 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2365 STRIP="$ac_cv_prog_STRIP"
2366 if test -n "$STRIP"; then
2367 echo "$ac_t""$STRIP" 1>&6
2369 echo "$ac_t""no
" 1>&6
2378 # Check for any special flags to pass to ltconfig.
2379 libtool_flags="--cache-file=$cache_file"
2380 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2381 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2382 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2383 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2384 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2385 libtool_flags="$libtool_flags --enable-dlopen"
2387 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2388 if test "${enable_libtool_lock+set}" = set; then
2389 enableval="$enable_libtool_lock"
2393 test "x
$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2394 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2396 # Check whether --with-pic or --without-pic was given.
2397 if test "${with_pic+set}" = set; then
2404 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2405 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2407 # Some flags need to be propagated to the compiler or linker for good
2411 # Find out which ABI we are using.
2412 echo '#line 2413 "configure
"' > conftest.$ac_ext
2413 if { (eval echo configure:2414: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2414 case `/usr/bin/file conftest.$ac_objext` in
2430 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2431 SAVE_CFLAGS="$CFLAGS"
2432 CFLAGS="$CFLAGS -belf"
2433 echo $ac_n "checking whether the C compiler needs
-belf""...
$ac_c" 1>&6
2434 echo "configure
:2435: checking whether the C compiler needs
-belf" >&5
2435 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2436 echo $ac_n "(cached
) $ac_c" 1>&6
2440 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2441 ac_cpp='$CPP $CPPFLAGS'
2442 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2443 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2444 cross_compiling=$ac_cv_prog_cc_cross
2446 cat > conftest.$ac_ext <<EOF
2447 #line 2448 "configure
"
2448 #include "confdefs.h
"
2454 if { (eval echo configure:2455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2456 lt_cv_cc_needs_belf=yes
2458 echo "configure
: failed program was
:" >&5
2459 cat conftest.$ac_ext >&5
2461 lt_cv_cc_needs_belf=no
2465 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2466 ac_cpp='$CPP $CPPFLAGS'
2467 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2468 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2469 cross_compiling=$ac_cv_prog_cc_cross
2473 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2474 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2475 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2476 CFLAGS="$SAVE_CFLAGS"
2483 echo $ac_n "checking how to run the C
++ preprocessor
""...
$ac_c" 1>&6
2484 echo "configure
:2485: checking how to run the C
++ preprocessor
" >&5
2485 if test -z "$CXXCPP"; then
2486 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2487 echo $ac_n "(cached
) $ac_c" 1>&6
2490 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2491 ac_cpp='$CXXCPP $CPPFLAGS'
2492 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2493 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2494 cross_compiling=$ac_cv_prog_cxx_cross
2495 CXXCPP="${CXX-g++} -E"
2496 cat > conftest.$ac_ext <<EOF
2497 #line 2498 "configure
"
2498 #include "confdefs.h
"
2501 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2502 { (eval echo configure:2503: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2503 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2504 if test -z "$ac_err"; then
2508 echo "configure
: failed program was
:" >&5
2509 cat conftest.$ac_ext >&5
2514 ac_cv_prog_CXXCPP="$CXXCPP"
2516 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2517 ac_cpp='$CPP $CPPFLAGS'
2518 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2519 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2520 cross_compiling=$ac_cv_prog_cc_cross
2523 CXXCPP="$ac_cv_prog_CXXCPP"
2524 echo "$ac_t""$CXXCPP" 1>&6
2527 # Save cache, so that ltconfig can load it
2528 cat > confcache <<\EOF
2529 # This file is a shell script that caches the results of configure
2530 # tests run on this system so they can be shared between configure
2531 # scripts and configure runs. It is not useful on other systems.
2532 # If it contains results you don't want to keep, you may remove or edit it.
2534 # By default, configure uses ./config.cache as the cache file,
2535 # creating it if it does not exist already. You can give configure
2536 # the --cache-file=FILE option to use a different cache file; that is
2537 # what configure does when it calls configure scripts in
2538 # subdirectories, so they share the cache.
2539 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2540 # config.status only pays attention to the cache file if you give it the
2541 # --recheck option to rerun configure.
2544 # The following way of writing the cache mishandles newlines in values,
2545 # but we know of no workaround that is simple, portable, and efficient.
2546 # So, don't put newlines in cache variables' values.
2547 # Ultrix sh set writes to stderr and can't be redirected directly,
2548 # and sets the high bit in the cache file unless we assign to the vars.
2550 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2552 # `set' does not quote correctly, so add quotes (double-quote substitution
2553 # turns \\\\ into \\, and sed turns \\ into \).
2555 -e "s
/'/'\\\\''/g
" \
2556 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
2559 # `set' quotes correctly as required by POSIX, so do not add quotes.
2560 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2563 if cmp -s $cache_file confcache; then
2566 if test -w $cache_file; then
2567 echo "updating cache
$cache_file"
2568 cat confcache > $cache_file
2570 echo "not updating unwritable cache
$cache_file"
2576 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2577 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2578 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2579 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2580 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2581 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2582 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2583 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2584 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2585 || { echo "configure
: error
: libtool configure failed
" 1>&2; exit 1; }
2587 # Reload cache, that may have been modified by ltconfig
2588 if test -r "$cache_file"; then
2589 echo "loading cache
$cache_file"
2592 echo "creating cache
$cache_file"
2597 # This can be used to rebuild libtool when needed
2598 LIBTOOL_DEPS="$ac_aux_dir/ltconfig
$ac_aux_dir/ltmain.sh
$ac_aux_dir/ltcf-c.sh
"
2600 # Always use our own libtool.
2601 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2603 # Redirect the config.log output again, so that the ltconfig log is not
2604 # clobbered by the next message.
2605 exec 5>>./config.log
2609 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh
"
2611 lt_save_CFLAGS="$CFLAGS"
2612 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2613 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2614 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2615 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2616 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2617 deplibs_check_method="$deplibs_check_method" \
2618 file_magic_cmd="$file_magic_cmd" \
2619 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2620 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2621 || { echo "configure
: error
: libtool tag configuration failed
" 1>&2; exit 1; }
2623 CFLAGS="$lt_save_CFLAGS"
2625 # Redirect the config.log output again, so that the ltconfig log is not
2626 # clobbered by the next message.
2627 exec 5>>./config.log
2637 # Check for c++ or library specific bits that don't require linking.
2638 #GLIBCPP_CHECK_COMPILER_VERSION
2639 echo $ac_n "checking
for GNU
make""...
$ac_c" 1>&6
2640 echo "configure
:2641: checking
for GNU
make" >&5
2641 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2642 echo $ac_n "(cached
) $ac_c" 1>&6
2644 _cv_gnu_make_command='' ;
2645 for a in "${MAKE-make}" make gmake gnumake ; do
2646 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2648 _cv_gnu_make_command=$a ;
2655 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2656 if test "x
$_cv_gnu_make_command" != "x
" ; then
2664 # Enable all the variable C++ stuff. C_MBCHAR must come early.
2665 # Check whether --enable-debug or --disable-debug was given.
2666 if test "${enable_debug+set}" = set; then
2667 enableval="$enable_debug"
2668 case "${enableval}" in
2669 yes) enable_debug=yes ;;
2670 no) enable_debug=no ;;
2671 *) { echo "configure
: error
: Unknown argument to enable
/disable extra debugging
" 1>&2; exit 1; } ;;
2677 case "${enable_debug}" in
2679 DEBUG_FLAGS='-O0 -ggdb3'
2687 echo $ac_n "checking how to run the C preprocessor
""...
$ac_c" 1>&6
2688 echo "configure
:2689: checking how to run the C preprocessor
" >&5
2689 # On Suns, sometimes $CPP names a directory.
2690 if test -n "$CPP" && test -d "$CPP"; then
2693 if test -z "$CPP"; then
2694 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2695 echo $ac_n "(cached
) $ac_c" 1>&6
2697 # This must be in double quotes, not single quotes, because CPP may get
2698 # substituted into the Makefile and "${CC-cc}" will confuse make.
2700 # On the NeXT, cc -E runs the code through the compiler's parser,
2701 # not just through cpp.
2702 cat > conftest.$ac_ext <<EOF
2703 #line 2704 "configure
"
2704 #include "confdefs.h
"
2708 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2709 { (eval echo configure:2710: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2710 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2711 if test -z "$ac_err"; then
2715 echo "configure
: failed program was
:" >&5
2716 cat conftest.$ac_ext >&5
2718 CPP="${CC-cc} -E -traditional-cpp"
2719 cat > conftest.$ac_ext <<EOF
2720 #line 2721 "configure
"
2721 #include "confdefs.h
"
2725 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2726 { (eval echo configure:2727: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2727 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2728 if test -z "$ac_err"; then
2732 echo "configure
: failed program was
:" >&5
2733 cat conftest.$ac_ext >&5
2735 CPP="${CC-cc} -nologo -E"
2736 cat > conftest.$ac_ext <<EOF
2737 #line 2738 "configure
"
2738 #include "confdefs.h
"
2742 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2743 { (eval echo configure:2744: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2744 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2745 if test -z "$ac_err"; then
2749 echo "configure
: failed program was
:" >&5
2750 cat conftest.$ac_ext >&5
2759 ac_cv_prog_CPP="$CPP"
2761 CPP="$ac_cv_prog_CPP"
2763 ac_cv_prog_CPP="$CPP"
2765 echo "$ac_t""$CPP" 1>&6
2768 echo $ac_n "checking
for cstdio to use
""...
$ac_c" 1>&6
2769 echo "configure
:2770: checking
for cstdio to use
" >&5
2770 # Check whether --enable-cstdio or --disable-cstdio was given.
2771 if test "${enable_cstdio+set}" = set; then
2772 enableval="$enable_cstdio"
2773 if test x$enable_cstdio = xno; then
2781 enable_cstdio_flag=$enable_cstdio
2783 case x${enable_cstdio_flag} in
2785 CSTDIO_H=config/io/c_io_libio.h
2786 BASIC_FILE_H=config/io/basic_file_libio.h
2787 BASIC_FILE_CC=config/io/basic_file_libio.cc
2788 echo "$ac_t""libio
" 1>&6
2790 # see if we are on a system with libio native (ie, linux)
2791 ac_safe=`echo "libio.h
" | sed 'y%./+-%__p_%'`
2792 echo $ac_n "checking
for libio.h
""...
$ac_c" 1>&6
2793 echo "configure
:2794: checking
for libio.h
" >&5
2794 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2795 echo $ac_n "(cached
) $ac_c" 1>&6
2797 cat > conftest.$ac_ext <<EOF
2798 #line 2799 "configure
"
2799 #include "confdefs.h
"
2802 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2803 { (eval echo configure:2804: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2804 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2805 if test -z "$ac_err"; then
2807 eval "ac_cv_header_
$ac_safe=yes"
2810 echo "configure
: failed program was
:" >&5
2811 cat conftest.$ac_ext >&5
2813 eval "ac_cv_header_
$ac_safe=no
"
2817 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2818 echo "$ac_t""yes" 1>&6
2821 echo "$ac_t""no
" 1>&6
2826 # Need to check and see what version of glibc is being used. If
2827 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2828 # compile most of libio for linux systems.
2829 if test x$has_libio = x"yes"; then
2832 echo $ac_n "checking
for glibc version
>= 2.2""...
$ac_c" 1>&6
2833 echo "configure
:2834: checking
for glibc version
>= 2.2" >&5
2834 cat > conftest.$ac_ext <<EOF
2835 #line 2836 "configure
"
2836 #include "confdefs.h
"
2838 #include <features.h>
2839 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2844 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
2845 egrep "ok
" >/dev/null 2>&1; then
2847 glibc_satisfactory=yes
2850 glibc_satisfactory=no
2854 echo "$ac_t""$glibc_satisfactory" 1>&6
2858 # XXX at the moment, admit defeat and force the recompilation
2859 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2860 glibc_satisfactory=no
2862 if test x$glibc_satisfactory = x"yes"; then
2867 # bkoz XXX need to add checks to enable this
2868 # pme XXX here's a first pass at such a check
2869 if test x$enable_c_mbchar != xno; then
2877 # Using libio, but <libio.h> doesn't exist on the target system. . .
2879 # bkoz XXX need to add checks to enable this
2880 # pme XXX here's a first pass at such a check
2881 if test x$enable_c_mbchar != xno; then
2888 xstdio | x | xno | xnone | xyes)
2890 CSTDIO_H=config/io/c_io_stdio.h
2891 BASIC_FILE_H=config/io/basic_file_stdio.h
2892 BASIC_FILE_CC=config/io/basic_file_stdio.cc
2893 echo "$ac_t""stdio
" 1>&6
2895 # We're not using stdio.
2900 echo "$enable_cstdio is an unknown io package
" 1>&2
2908 # 2000-08-04 bkoz hack
2909 CCODECVT_C=config/io/c_io_libio_codecvt.c
2911 # 2000-08-04 bkoz hack
2915 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2916 GLIBCPP_BUILD_LIBIO_TRUE=
2917 GLIBCPP_BUILD_LIBIO_FALSE='#'
2919 GLIBCPP_BUILD_LIBIO_TRUE='#'
2920 GLIBCPP_BUILD_LIBIO_FALSE=
2924 if test "$need_libio" = yes; then
2925 GLIBCPP_NEED_LIBIO_TRUE=
2926 GLIBCPP_NEED_LIBIO_FALSE='#'
2928 GLIBCPP_NEED_LIBIO_TRUE='#'
2929 GLIBCPP_NEED_LIBIO_FALSE=
2933 if test "$need_wlibio" = yes; then
2934 GLIBCPP_NEED_WLIBIO_TRUE=
2935 GLIBCPP_NEED_WLIBIO_FALSE='#'
2937 GLIBCPP_NEED_WLIBIO_TRUE='#'
2938 GLIBCPP_NEED_WLIBIO_FALSE=
2940 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2941 libio_la=../libio/libio.la
2948 echo $ac_n "checking
for clocale to use
""...
$ac_c" 1>&6
2949 echo "configure
:2950: checking
for clocale to use
" >&5
2950 # Check whether --enable-clocale or --disable-clocale was given.
2951 if test "${enable_clocale+set}" = set; then
2952 enableval="$enable_clocale"
2953 if test x$enable_clocale = xno; then
2961 enable_clocale_flag=$enable_clocale
2963 if test x$enable_clocale_flag = xno; then
2964 case x${target_os} in
2966 cat > conftest.$ac_ext <<EOF
2967 #line 2968 "configure
"
2968 #include "confdefs.h
"
2970 #include <features.h>
2971 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2976 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
2977 egrep "_GLIBCPP_ok
" >/dev/null 2>&1; then
2979 enable_clocale_flag=gnu
2982 enable_clocale_flag=generic
2987 # Test for bugs early in glibc-2.2.x series
2988 if test x$enable_clocale_flag = xgnu; then
2989 if test "$cross_compiling" = yes; then
2990 enable_clocale_flag=generic
2992 cat > conftest.$ac_ext <<EOF
2993 #line 2994 "configure
"
2994 #include "confdefs.h
"
2996 #define _GNU_SOURCE 1
3000 const char __one[] = "Äuglein Augmen
";
3001 const char __two[] = "Äuglein
";
3006 loc = __newlocale(1 << LC_ALL, "de_DE
", 0);
3007 loc_dup = __duplocale(loc);
3008 i = __strcoll_l(__one, __two, loc);
3009 j = __strcoll_l(__one, __two, loc_dup);
3014 if { (eval echo configure:3015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3016 enable_clocale_flag=gnu
3018 echo "configure
: failed program was
:" >&5
3019 cat conftest.$ac_ext >&5
3021 enable_clocale_flag=generic
3028 # ... at some point put __strxfrm_l tests in as well.
3031 enable_clocale_flag=generic
3036 case x${enable_clocale_flag} in
3038 echo "$ac_t""generic
" 1>&6
3040 # Don't use gettext.
3043 CLOCALE_H=config/locale/c_locale_generic.h
3044 CLOCALE_CC=config/locale/c_locale_generic.cc
3045 CCODECVT_H=config/locale/codecvt_specializations_generic.h
3046 CCOLLATE_CC=config/locale/collate_members_generic.cc
3047 CCTYPE_CC=config/locale/ctype_members_generic.cc
3048 CMESSAGES_H=config/locale/messages_members_generic.h
3049 CMESSAGES_CC=config/locale/messages_members_generic.cc
3050 CMONEY_CC=config/locale/moneypunct_members_generic.cc
3051 CNUMERIC_CC=config/locale/numpunct_members_generic.cc
3052 CTIME_CC=config/locale/time_members_generic.cc
3055 echo "$ac_t""gnu
" 1>&6
3057 # Declare intention to use gettext, and add support for specific
3059 # For some reason, ALL_LINGUAS has to be before AM_GNU_GETTEXT
3061 # Don't call AM_GNU_GETTEXT here. Instead, assume glibc.
3062 # Need to deal with MSGFMT, USE_NLS, and glibcpp_[P,M]OFILES
3065 # Export the build objects.
3066 for ling in $ALL_LINGUAS; do \
3067 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo
"; \
3068 glibcpp_POFILES="$glibcpp_POFILES $ling.po
"; \
3073 CLOCALE_H=config/locale/c_locale_gnu.h
3074 CLOCALE_CC=config/locale/c_locale_gnu.cc
3075 CCODECVT_H=config/locale/codecvt_specializations_ieee_1003.1-200x.h
3076 CCOLLATE_CC=config/locale/collate_members_gnu.cc
3077 CCTYPE_CC=config/locale/ctype_members_gnu.cc
3078 CMESSAGES_H=config/locale/messages_members_gnu.h
3079 CMESSAGES_CC=config/locale/messages_members_gnu.cc
3080 CMONEY_CC=config/locale/moneypunct_members_gnu.cc
3081 CNUMERIC_CC=config/locale/numpunct_members_gnu.cc
3082 CTIME_CC=config/locale/time_members_gnu.cc
3085 echo "$ac_t""generic
" 1>&6
3087 # Don't use gettext.
3090 CLOCALE_H=config/locale/c_locale_ieee_1003.1-200x.h
3091 CLOCALE_CC=config/locale/c_locale_ieee_1003.1-200x.cc
3092 CCODECVT_H=config/locale/codecvt_specializations_ieee_1003.1-200x.h
3093 CCOLLATE_CC=config/locale/collate_members_generic.cc
3094 CCTYPE_CC=config/locale/ctype_members_generic.cc
3095 CMESSAGES_H=config/locale/messages_members_ieee_1003.1-200x.h
3096 CMESSAGES_CC=config/locale/messages_members_ieee_1003.1-200x.cc
3097 CMONEY_CC=config/locale/moneypunct_members_generic.cc
3098 CNUMERIC_CC=config/locale/numpunct_members_generic.cc
3099 CTIME_CC=config/locale/time_members_generic.cc
3102 echo "$enable_clocale is an unknown locale package
" 1>&2
3107 # This is where the testsuite looks for locale catalogs, using the
3108 # -DLOCALEDIR define during testsuite compilation.
3109 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3124 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3125 if test "${enable_c_mbchar+set}" = set; then
3126 enableval="$enable_c_mbchar"
3127 case "$enableval" in
3128 yes) enable_c_mbchar=yes ;;
3129 no) enable_c_mbchar=no ;;
3130 *) { echo "configure
: error
: Unknown argument to enable
/disable c-mbchar
" 1>&2; exit 1; } ;;
3137 # Check whether --enable-c99 or --disable-c99 was given.
3138 if test "${enable_c99+set}" = set; then
3139 enableval="$enable_c99"
3140 case "$enableval" in
3141 yes) enable_c99=yes ;;
3142 no) enable_c99=no ;;
3143 *) { echo "configure
: error
: Unknown argument to enable
/disable C99
" 1>&2; exit 1; } ;;
3151 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3152 ac_cpp='$CXXCPP $CPPFLAGS'
3153 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3154 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3155 cross_compiling=$ac_cv_prog_cxx_cross
3158 # Check for the existence of <math.h> functions used if C99 is enabled.
3160 echo $ac_n "checking
for ISO C99 support
in <math.h
>""...
$ac_c" 1>&6
3161 echo "configure
:3162: checking
for ISO C99 support
in <math.h
>" >&5
3162 cat > conftest.$ac_ext <<EOF
3163 #line 3164 "configure
"
3164 #include "confdefs.h
"
3170 if { (eval echo configure:3171: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3173 echo "configure
: failed program was
:" >&5
3174 cat conftest.$ac_ext >&5
3179 cat > conftest.$ac_ext <<EOF
3180 #line 3181 "configure
"
3181 #include "confdefs.h
"
3187 if { (eval echo configure:3188: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3190 echo "configure
: failed program was
:" >&5
3191 cat conftest.$ac_ext >&5
3196 cat > conftest.$ac_ext <<EOF
3197 #line 3198 "configure
"
3198 #include "confdefs.h
"
3204 if { (eval echo configure:3205: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3207 echo "configure
: failed program was
:" >&5
3208 cat conftest.$ac_ext >&5
3213 cat > conftest.$ac_ext <<EOF
3214 #line 3215 "configure
"
3215 #include "confdefs.h
"
3221 if { (eval echo configure:3222: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3224 echo "configure
: failed program was
:" >&5
3225 cat conftest.$ac_ext >&5
3230 cat > conftest.$ac_ext <<EOF
3231 #line 3232 "configure
"
3232 #include "confdefs.h
"
3238 if { (eval echo configure:3239: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3241 echo "configure
: failed program was
:" >&5
3242 cat conftest.$ac_ext >&5
3247 cat > conftest.$ac_ext <<EOF
3248 #line 3249 "configure
"
3249 #include "confdefs.h
"
3255 if { (eval echo configure:3256: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3258 echo "configure
: failed program was
:" >&5
3259 cat conftest.$ac_ext >&5
3264 cat > conftest.$ac_ext <<EOF
3265 #line 3266 "configure
"
3266 #include "confdefs.h
"
3272 if { (eval echo configure:3273: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3275 echo "configure
: failed program was
:" >&5
3276 cat conftest.$ac_ext >&5
3281 cat > conftest.$ac_ext <<EOF
3282 #line 3283 "configure
"
3283 #include "confdefs.h
"
3286 isgreaterequal(0.0,0.0);
3289 if { (eval echo configure:3290: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3292 echo "configure
: failed program was
:" >&5
3293 cat conftest.$ac_ext >&5
3298 cat > conftest.$ac_ext <<EOF
3299 #line 3300 "configure
"
3300 #include "confdefs.h
"
3306 if { (eval echo configure:3307: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3309 echo "configure
: failed program was
:" >&5
3310 cat conftest.$ac_ext >&5
3315 cat > conftest.$ac_ext <<EOF
3316 #line 3317 "configure
"
3317 #include "confdefs.h
"
3320 islessequal(0.0,0.0);
3323 if { (eval echo configure:3324: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3326 echo "configure
: failed program was
:" >&5
3327 cat conftest.$ac_ext >&5
3332 cat > conftest.$ac_ext <<EOF
3333 #line 3334 "configure
"
3334 #include "confdefs.h
"
3337 islessgreater(0.0,0.0);
3340 if { (eval echo configure:3341: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3343 echo "configure
: failed program was
:" >&5
3344 cat conftest.$ac_ext >&5
3349 cat > conftest.$ac_ext <<EOF
3350 #line 3351 "configure
"
3351 #include "confdefs.h
"
3354 isunordered(0.0,0.0);
3357 if { (eval echo configure:3358: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3360 echo "configure
: failed program was
:" >&5
3361 cat conftest.$ac_ext >&5
3366 echo "$ac_t""$ac_c99_math" 1>&6
3368 # Check for the existence in <stdio.h> of vscanf, et. al.
3370 echo $ac_n "checking
for ISO C99 support
in <stdio.h
>""...
$ac_c" 1>&6
3371 echo "configure
:3372: checking
for ISO C99 support
in <stdio.h
>" >&5
3372 cat > conftest.$ac_ext <<EOF
3373 #line 3374 "configure
"
3374 #include "confdefs.h
"
3377 snprintf("12", 0, "%i
");
3380 if { (eval echo configure:3381: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3383 echo "configure
: failed program was
:" >&5
3384 cat conftest.$ac_ext >&5
3389 cat > conftest.$ac_ext <<EOF
3390 #line 3391 "configure
"
3391 #include "confdefs.h
"
3394 void foo(char* fmt, ...)
3395 {va_list args; va_start(args, fmt);
3396 vfscanf(stderr, "%i
", args);}
3401 if { (eval echo configure:3402: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3404 echo "configure
: failed program was
:" >&5
3405 cat conftest.$ac_ext >&5
3410 cat > conftest.$ac_ext <<EOF
3411 #line 3412 "configure
"
3412 #include "confdefs.h
"
3415 void foo(char* fmt, ...)
3416 {va_list args; va_start(args, fmt);
3417 vscanf("%i
", args);}
3422 if { (eval echo configure:3423: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3425 echo "configure
: failed program was
:" >&5
3426 cat conftest.$ac_ext >&5
3431 cat > conftest.$ac_ext <<EOF
3432 #line 3433 "configure
"
3433 #include "confdefs.h
"
3436 void foo(char* fmt, ...)
3437 {va_list args; va_start(args, fmt);
3438 vsnprintf(fmt, 0, "%i
", args);}
3443 if { (eval echo configure:3444: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3446 echo "configure
: failed program was
:" >&5
3447 cat conftest.$ac_ext >&5
3452 cat > conftest.$ac_ext <<EOF
3453 #line 3454 "configure
"
3454 #include "confdefs.h
"
3457 void foo(char* fmt, ...)
3458 {va_list args; va_start(args, fmt);
3459 vsscanf(fmt, "%i
", args);}
3464 if { (eval echo configure:3465: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3467 echo "configure
: failed program was
:" >&5
3468 cat conftest.$ac_ext >&5
3473 echo "$ac_t""$ac_c99_stdio" 1>&6
3475 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3477 echo $ac_n "checking
for lldiv_t declaration
""...
$ac_c" 1>&6
3478 echo "configure
:3479: checking
for lldiv_t declaration
" >&5
3479 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3480 echo $ac_n "(cached
) $ac_c" 1>&6
3483 cat > conftest.$ac_ext <<EOF
3484 #line 3485 "configure
"
3485 #include "confdefs.h
"
3491 if { (eval echo configure:3492: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3495 echo "configure
: failed program was
:" >&5
3496 cat conftest.$ac_ext >&5
3504 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3506 echo $ac_n "checking
for ISO C99 support
in <stdlib.h
>""...
$ac_c" 1>&6
3507 echo "configure
:3508: checking
for ISO C99 support
in <stdlib.h
>" >&5
3508 cat > conftest.$ac_ext <<EOF
3509 #line 3510 "configure
"
3510 #include "confdefs.h
"
3513 char* tmp; strtof("gnu
", &tmp);
3516 if { (eval echo configure:3517: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3519 echo "configure
: failed program was
:" >&5
3520 cat conftest.$ac_ext >&5
3525 cat > conftest.$ac_ext <<EOF
3526 #line 3527 "configure
"
3527 #include "confdefs.h
"
3530 char* tmp; strtold("gnu
", &tmp);
3533 if { (eval echo configure:3534: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3536 echo "configure
: failed program was
:" >&5
3537 cat conftest.$ac_ext >&5
3542 cat > conftest.$ac_ext <<EOF
3543 #line 3544 "configure
"
3544 #include "confdefs.h
"
3550 if { (eval echo configure:3551: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3553 echo "configure
: failed program was
:" >&5
3554 cat conftest.$ac_ext >&5
3559 cat > conftest.$ac_ext <<EOF
3560 #line 3561 "configure
"
3561 #include "confdefs.h
"
3567 if { (eval echo configure:3568: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3570 echo "configure
: failed program was
:" >&5
3571 cat conftest.$ac_ext >&5
3576 cat > conftest.$ac_ext <<EOF
3577 #line 3578 "configure
"
3578 #include "confdefs.h
"
3584 if { (eval echo configure:3585: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3587 echo "configure
: failed program was
:" >&5
3588 cat conftest.$ac_ext >&5
3593 cat > conftest.$ac_ext <<EOF
3594 #line 3595 "configure
"
3595 #include "confdefs.h
"
3601 if { (eval echo configure:3602: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3604 echo "configure
: failed program was
:" >&5
3605 cat conftest.$ac_ext >&5
3610 if test x"$ac_c99_lldiv_t" = x"no
"; then
3613 echo "$ac_t""$ac_c99_stdlib" 1>&6
3615 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3616 # XXX the wchar.h checks should be rolled into the general C99 bits.
3618 echo $ac_n "checking
for additional ISO C99 support
in <wchar.h
>""...
$ac_c" 1>&6
3619 echo "configure
:3620: checking
for additional ISO C99 support
in <wchar.h
>" >&5
3620 cat > conftest.$ac_ext <<EOF
3621 #line 3622 "configure
"
3622 #include "confdefs.h
"
3625 wcstold(L"10.0", NULL);
3628 if { (eval echo configure:3629: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3631 echo "configure
: failed program was
:" >&5
3632 cat conftest.$ac_ext >&5
3637 cat > conftest.$ac_ext <<EOF
3638 #line 3639 "configure
"
3639 #include "confdefs.h
"
3642 wcstoll(L"10", NULL, 10);
3645 if { (eval echo configure:3646: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3648 echo "configure
: failed program was
:" >&5
3649 cat conftest.$ac_ext >&5
3654 cat > conftest.$ac_ext <<EOF
3655 #line 3656 "configure
"
3656 #include "confdefs.h
"
3659 wcstoull(L"10", NULL, 10);
3662 if { (eval echo configure:3663: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3665 echo "configure
: failed program was
:" >&5
3666 cat conftest.$ac_ext >&5
3671 echo "$ac_t""$ac_c99_wchar" 1>&6
3673 echo $ac_n "checking
for enabled ISO C99 support
""...
$ac_c" 1>&6
3674 echo "configure
:3675: checking
for enabled ISO C99 support
" >&5
3675 if test x"$ac_c99_math" = x"no
" ||
3676 test x"$ac_c99_stdio" = x"no
" ||
3677 test x"$ac_c99_stdlib" = x"no
" ||
3678 test x"$ac_c99_wchar" = x"no
"; then
3681 echo "$ac_t""$enable_c99" 1>&6
3683 # Option parsed, now set things appropriately
3684 if test x"$enable_c99" = x"yes"; then
3685 cat >> confdefs.h <<\EOF
3686 #define _GLIBCPP_USE_C99 1
3692 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3693 ac_cpp='$CPP $CPPFLAGS'
3694 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3695 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3696 cross_compiling=$ac_cv_prog_cc_cross
3700 # Check whether --enable-long-long or --disable-long-long was given.
3701 if test "${enable_long_long+set}" = set; then
3702 enableval="$enable_long_long"
3703 case "$enableval" in
3704 yes) enable_long_long=yes ;;
3705 no) enable_long_long=no ;;
3706 *) { echo "configure
: error
: Unknown argument to enable
/disable long long
" 1>&2; exit 1; } ;;
3709 enable_long_long=yes
3714 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3715 ac_cpp='$CXXCPP $CPPFLAGS'
3716 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3717 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3718 cross_compiling=$ac_cv_prog_cxx_cross
3721 echo $ac_n "checking
for enabled long long I
/O support
""...
$ac_c" 1>&6
3722 echo "configure
:3723: checking
for enabled long long I
/O support
" >&5
3723 # iostreams require strtoll, strtoull to compile
3724 cat > conftest.$ac_ext <<EOF
3725 #line 3726 "configure
"
3726 #include "confdefs.h
"
3729 char* tmp; strtoll("gnu
", &tmp, 10);
3732 if { (eval echo configure:3733: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3735 echo "configure
: failed program was
:" >&5
3736 cat conftest.$ac_ext >&5
3741 cat > conftest.$ac_ext <<EOF
3742 #line 3743 "configure
"
3743 #include "confdefs.h
"
3746 char* tmp; strtoull("gnu
", &tmp, 10);
3749 if { (eval echo configure:3750: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3752 echo "configure
: failed program was
:" >&5
3753 cat conftest.$ac_ext >&5
3759 # Option parsed, now set things appropriately
3760 if test x"$enable_long_long" = xyes; then
3761 cat >> confdefs.h <<\EOF
3762 #define _GLIBCPP_USE_LONG_LONG 1
3766 echo "$ac_t""$enable_long_long" 1>&6
3769 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3770 ac_cpp='$CPP $CPPFLAGS'
3771 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3772 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3773 cross_compiling=$ac_cv_prog_cc_cross
3776 echo $ac_n "checking
for c header strategy to use
""...
$ac_c" 1>&6
3777 echo "configure
:3778: checking
for c header strategy to use
" >&5
3778 # Check whether --enable-cheaders or --disable-cheaders was given.
3779 if test "${enable_cheaders+set}" = set; then
3780 enableval="$enable_cheaders"
3782 case "$enableval" in
3787 enable_cheaders=c_std
3790 enable_cheaders=c_shadow
3792 *) { echo "configure
: error
: Unknown argument to enable
/disable
"C" headers
" 1>&2; exit 1; }
3796 enable_cheaders=c_std
3799 echo "$ac_t""$enable_cheaders" 1>&6
3801 case "$enable_cheaders" in
3803 CSHADOW_FLAGS="-fno-builtin"
3804 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_shadow'
3805 cat >> confdefs.h <<\EOF
3806 #define _GLIBCPP_USE_SHADOW_HEADERS 1
3812 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3816 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3824 if test "$enable_cheaders" = c_shadow; then
3825 GLIBCPP_USE_CSHADOW_TRUE=
3826 GLIBCPP_USE_CSHADOW_FALSE='#'
3828 GLIBCPP_USE_CSHADOW_TRUE='#'
3829 GLIBCPP_USE_CSHADOW_FALSE=
3833 echo $ac_n "checking
for thread model used by GCC
""...
$ac_c" 1>&6
3834 echo "configure
:3835: checking
for thread model used by GCC
" >&5
3835 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3836 echo "$ac_t""$target_thread_file" 1>&6
3838 if test $target_thread_file != single; then
3839 cat >> confdefs.h <<\EOF
3840 #define HAVE_GTHR_DEFAULT 1
3843 cat >> confdefs.h <<\EOF
3844 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3849 glibcpp_thread_h=gthr-$target_thread_file.h
3852 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3853 if test "${enable_cxx_flags+set}" = set; then
3854 enableval="$enable_cxx_flags"
3855 case "x
$enableval" in
3857 { echo "configure
: error
: --enable-cxx-flags needs compiler flags as arguments
" 1>&2; exit 1; } ;;
3859 enable_cxx_flags='' ;;
3861 enable_cxx_flags="$enableval" ;;
3864 enable_cxx_flags='none'
3868 if test "$enable_cxx_flags" = "none
"; then
3869 enable_cxx_flags='';
3872 if test -n "$enable_cxx_flags"; then
3873 for f in $enable_cxx_flags; do
3877 *) # and we're trying to pass /what/ exactly?
3878 { echo "configure
: error
: compiler flags start with a
-" 1>&2; exit 1; } ;;
3882 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3886 echo $ac_n "checking
for exception model to use
""...
$ac_c" 1>&6
3887 echo "configure
:3888: checking
for exception model to use
" >&5
3890 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3891 ac_cpp='$CXXCPP $CPPFLAGS'
3892 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3893 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3894 cross_compiling=$ac_cv_prog_cxx_cross
3896 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3897 if test "${enable_sjlj_exceptions+set}" = set; then
3898 enableval="$enable_sjlj_exceptions"
3901 cat > conftest.$ac_ext << EOF
3902 #line 3903 "configure
"
3911 old_CXXFLAGS="$CXXFLAGS"
3913 if { (eval echo configure:3914: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3914 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
3915 enable_sjlj_exceptions=yes
3916 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
3917 enable_sjlj_exceptions=no
3920 CXXFLAGS="$old_CXXFLAGS"
3924 if test x$enable_sjlj_exceptions = xyes; then
3925 cat >> confdefs.h <<\EOF
3926 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
3929 ac_exception_model_name=sjlj
3930 elif test x$enable_sjlj_exceptions = xno; then
3931 ac_exception_model_name="call frame
"
3933 { echo "configure
: error
: unable to detect exception model
" 1>&2; exit 1; }
3936 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3937 ac_cpp='$CPP $CPPFLAGS'
3938 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3939 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3940 cross_compiling=$ac_cv_prog_cc_cross
3942 echo "$ac_t""$ac_exception_model_name" 1>&6
3944 # Check whether --enable-concept-checks or --disable-concept-checks was given.
3945 if test "${enable_concept_checks+set}" = set; then
3946 enableval="$enable_concept_checks"
3947 case "$enableval" in
3948 yes) enable_concept_checks=yes ;;
3949 no) enable_concept_checks=no ;;
3950 *) { echo "configure
: error
: Unknown argument to enable
/disable concept checks
" 1>&2; exit 1; } ;;
3953 enable_concept_checks=no
3955 if test x"$enable_concept_checks" = xyes; then
3956 cat >> confdefs.h <<\EOF
3957 #define _GLIBCPP_CONCEPT_CHECKS 1
3964 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
3966 # This lets us hard-code the functionality we know
3967 # we'll have in the cross target environment. "Let
" is a
3968 # sugar-coated word placed on an especially dull and tedious hack, actually.
3969 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
3970 # that involve linking can't be used:
3971 # "cannot open sim-crt0.o
"
3972 # "cannot open crt0.o
"
3973 # etc. All this is because there currently exists no unified,
3974 # consistent way for top level CC information to be passed down
3975 # to target directories: newlib includes, newlib linking info,
3976 # libgloss versus newlib crt0.o, etc. When all of this is done, all
3977 # of this hokey, excessive AC_DEFINE junk for crosses can be removed.
3979 # We are being configured with some form of cross compiler.
3980 GLIBCPP_IS_CROSS_COMPILING=1
3982 # If Canadian cross, then don't pick up tools from the build
3984 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
3990 # Construct crosses by hand, eliminating bits that need ld...
3991 # GLIBCPP_CHECK_COMPILER_FEATURES
3992 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
3993 # GLIBCPP_CHECK_MATH_SUPPORT
3995 case "$target_alias" in
3997 # Check for available headers.
3998 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
3999 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4000 fp.h locale.h float.h inttypes.h
4002 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4003 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4004 echo "configure
:4005: checking
for $ac_hdr" >&5
4005 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4006 echo $ac_n "(cached
) $ac_c" 1>&6
4008 cat > conftest.$ac_ext <<EOF
4009 #line 4010 "configure
"
4010 #include "confdefs.h
"
4013 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4014 { (eval echo configure:4015: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4015 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4016 if test -z "$ac_err"; then
4018 eval "ac_cv_header_
$ac_safe=yes"
4021 echo "configure
: failed program was
:" >&5
4022 cat conftest.$ac_ext >&5
4024 eval "ac_cv_header_
$ac_safe=no
"
4028 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4029 echo "$ac_t""yes" 1>&6
4030 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4031 cat >> confdefs.h <<EOF
4032 #define $ac_tr_hdr 1
4036 echo "$ac_t""no
" 1>&6
4040 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4043 # If we're not using GNU ld, then there's no point in even trying these
4044 # tests. Check for that first. We should have already tested for gld
4045 # by now (in libtool), but require it now just to be safe...
4046 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4047 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4050 # Set --gc-sections.
4051 if test "$ac_cv_prog_gnu_ld" = "notbroken
"; then
4052 # GNU ld it is! Joy and bunny rabbits!
4054 # All these tests are for C++; save the language and the compiler flags.
4055 # Need to do this so that g++ won't try to link in libstdc++
4056 ac_test_CFLAGS="${CFLAGS+set}"
4057 ac_save_CFLAGS="$CFLAGS"
4058 CFLAGS='-x c++ -Wl,--gc-sections'
4060 # Check for -Wl,--gc-sections
4061 # XXX This test is broken at the moment, as symbols required for
4062 # linking are now in libsupc++ (not built yet.....). In addition,
4063 # this test has cored on solaris in the past. In addition,
4064 # --gc-sections doesn't really work at the moment (keeps on discarding
4065 # used sections, first .eh_frame and now some of the glibc sections for
4066 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4067 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
4068 echo "configure
:4069: checking
for ld that supports
-Wl,--gc-sections" >&5
4069 if test "$cross_compiling" = yes; then
4070 ac_sectionLDflags=yes
4072 cat > conftest.$ac_ext <<EOF
4073 #line 4074 "configure
"
4074 #include "confdefs.h
"
4084 if { (eval echo configure:4085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4086 ac_sectionLDflags=yes
4088 echo "configure
: failed program was
:" >&5
4089 cat conftest.$ac_ext >&5
4091 ac_sectionLDflags=no
4096 if test "$ac_test_CFLAGS" = set; then
4097 CFLAGS="$ac_save_CFLAGS"
4099 # this is the suspicious part
4102 if test "$ac_sectionLDflags" = "yes"; then
4103 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4105 echo "$ac_t""$ac_sectionLDflags" 1>&6
4108 # Set linker optimization flags.
4109 if test x"$ac_cv_prog_gnu_ld" = x"yes" &&
4110 test x"$enable_debug" = x"no
"; then
4111 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4118 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
4119 echo "configure
:4120: checking
for main
in -lm" >&5
4120 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4121 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4122 echo $ac_n "(cached
) $ac_c" 1>&6
4124 ac_save_LIBS="$LIBS"
4126 cat > conftest.$ac_ext <<EOF
4127 #line 4128 "configure
"
4128 #include "confdefs.h
"
4134 if { (eval echo configure:4135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4136 eval "ac_cv_lib_
$ac_lib_var=yes"
4138 echo "configure
: failed program was
:" >&5
4139 cat conftest.$ac_ext >&5
4141 eval "ac_cv_lib_
$ac_lib_var=no
"
4144 LIBS="$ac_save_LIBS"
4147 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4148 echo "$ac_t""yes" 1>&6
4149 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4150 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4151 cat >> confdefs.h <<EOF
4152 #define $ac_tr_lib 1
4158 echo "$ac_t""no
" 1>&6
4161 for ac_func in nan copysignf
4163 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4164 echo "configure
:4165: checking
for $ac_func" >&5
4165 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4166 echo $ac_n "(cached
) $ac_c" 1>&6
4168 cat > conftest.$ac_ext <<EOF
4169 #line 4170 "configure
"
4170 #include "confdefs.h
"
4171 /* System header to define __stub macros and hopefully few prototypes,
4172 which can conflict with char $ac_func(); below. */
4174 /* Override any gcc2 internal prototype to avoid an error. */
4175 /* We use char because int might match the return type of a gcc2
4176 builtin and then its argument prototype would still apply. */
4181 /* The GNU C library defines this for functions which it implements
4182 to always fail with ENOSYS. Some functions are actually named
4183 something starting with __ and the normal name is an alias. */
4184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4192 if { (eval echo configure:4193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4194 eval "ac_cv_func_
$ac_func=yes"
4196 echo "configure
: failed program was
:" >&5
4197 cat conftest.$ac_ext >&5
4199 eval "ac_cv_func_
$ac_func=no
"
4204 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4205 echo "$ac_t""yes" 1>&6
4206 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4207 cat >> confdefs.h <<EOF
4208 #define $ac_tr_func 1
4212 echo "$ac_t""no
" 1>&6
4213 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
4219 USE_COMPLEX_LONG_DOUBLE=no
4220 if test x$ac_cv_func_copysignl = x"yes"; then
4221 USE_COMPLEX_LONG_DOUBLE=yes
4222 for ac_func in signbitl
4224 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4225 echo "configure
:4226: checking
for $ac_func" >&5
4226 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4227 echo $ac_n "(cached
) $ac_c" 1>&6
4229 cat > conftest.$ac_ext <<EOF
4230 #line 4231 "configure
"
4231 #include "confdefs.h
"
4232 /* System header to define __stub macros and hopefully few prototypes,
4233 which can conflict with char $ac_func(); below. */
4235 /* Override any gcc2 internal prototype to avoid an error. */
4236 /* We use char because int might match the return type of a gcc2
4237 builtin and then its argument prototype would still apply. */
4242 /* The GNU C library defines this for functions which it implements
4243 to always fail with ENOSYS. Some functions are actually named
4244 something starting with __ and the normal name is an alias. */
4245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
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_func_
$ac_func=yes"
4257 echo "configure
: failed program was
:" >&5
4258 cat conftest.$ac_ext >&5
4260 eval "ac_cv_func_
$ac_func=no
"
4265 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4266 echo "$ac_t""yes" 1>&6
4267 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4268 cat >> confdefs.h <<EOF
4269 #define $ac_tr_func 1
4273 echo "$ac_t""no
" 1>&6
4274 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
4285 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
4286 echo "configure
:4287: checking
for mbstate_t
" >&5
4287 cat > conftest.$ac_ext <<EOF
4288 #line 4289 "configure
"
4289 #include "confdefs.h
"
4292 mbstate_t teststate;
4295 if { (eval echo configure:4296: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4299 echo "configure
: failed program was
:" >&5
4300 cat conftest.$ac_ext >&5
4305 echo "$ac_t""$have_mbstate_t" 1>&6
4306 if test x"$have_mbstate_t" = xyes; then
4307 cat >> confdefs.h <<\EOF
4308 #define HAVE_MBSTATE_T 1
4313 for ac_hdr in wchar.h
4315 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4316 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4317 echo "configure
:4318: checking
for $ac_hdr" >&5
4318 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4319 echo $ac_n "(cached
) $ac_c" 1>&6
4321 cat > conftest.$ac_ext <<EOF
4322 #line 4323 "configure
"
4323 #include "confdefs.h
"
4326 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4327 { (eval echo configure:4328: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4328 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4329 if test -z "$ac_err"; then
4331 eval "ac_cv_header_
$ac_safe=yes"
4334 echo "configure
: failed program was
:" >&5
4335 cat conftest.$ac_ext >&5
4337 eval "ac_cv_header_
$ac_safe=no
"
4341 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4342 echo "$ac_t""yes" 1>&6
4343 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4344 cat >> confdefs.h <<EOF
4345 #define $ac_tr_hdr 1
4349 echo "$ac_t""no
" 1>&6
4354 ac_safe=`echo "wctype.h
" | sed 'y%./+-%__p_%'`
4355 echo $ac_n "checking
for wctype.h
""...
$ac_c" 1>&6
4356 echo "configure
:4357: checking
for wctype.h
" >&5
4357 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4358 echo $ac_n "(cached
) $ac_c" 1>&6
4360 cat > conftest.$ac_ext <<EOF
4361 #line 4362 "configure
"
4362 #include "confdefs.h
"
4365 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4366 { (eval echo configure:4367: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4367 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4368 if test -z "$ac_err"; then
4370 eval "ac_cv_header_
$ac_safe=yes"
4373 echo "configure
: failed program was
:" >&5
4374 cat conftest.$ac_ext >&5
4376 eval "ac_cv_header_
$ac_safe=no
"
4380 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4381 echo "$ac_t""yes" 1>&6
4384 echo "$ac_t""no
" 1>&6
4389 if test x"$ac_has_wchar_h" = xyes &&
4390 test x"$ac_has_wctype_h" = xyes &&
4391 test x"$enable_c_mbchar" != xno; then
4393 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
4394 echo "configure
:4395: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
4395 cat > conftest.$ac_ext <<EOF
4396 #line 4397 "configure
"
4397 #include "confdefs.h
"
4400 int i = WCHAR_MIN; int j = WCHAR_MAX;
4403 if { (eval echo configure:4404: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4405 has_wchar_minmax=yes
4407 echo "configure
: failed program was
:" >&5
4408 cat conftest.$ac_ext >&5
4413 echo "$ac_t""$has_wchar_minmax" 1>&6
4415 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
4416 echo "configure
:4417: checking
for WEOF
" >&5
4417 cat > conftest.$ac_ext <<EOF
4418 #line 4419 "configure
"
4419 #include "confdefs.h
"
4427 if { (eval echo configure:4428: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4431 echo "configure
: failed program was
:" >&5
4432 cat conftest.$ac_ext >&5
4437 echo "$ac_t""$has_weof" 1>&6
4440 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4442 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4443 echo "configure
:4444: checking
for $ac_func" >&5
4444 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4445 echo $ac_n "(cached
) $ac_c" 1>&6
4447 cat > conftest.$ac_ext <<EOF
4448 #line 4449 "configure
"
4449 #include "confdefs.h
"
4450 /* System header to define __stub macros and hopefully few prototypes,
4451 which can conflict with char $ac_func(); below. */
4453 /* Override any gcc2 internal prototype to avoid an error. */
4454 /* We use char because int might match the return type of a gcc2
4455 builtin and then its argument prototype would still apply. */
4460 /* The GNU C library defines this for functions which it implements
4461 to always fail with ENOSYS. Some functions are actually named
4462 something starting with __ and the normal name is an alias. */
4463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4471 if { (eval echo configure:4472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4473 eval "ac_cv_func_
$ac_func=yes"
4475 echo "configure
: failed program was
:" >&5
4476 cat conftest.$ac_ext >&5
4478 eval "ac_cv_func_
$ac_func=no
"
4483 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4484 echo "$ac_t""yes" 1>&6
4485 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4486 cat >> confdefs.h <<EOF
4487 #define $ac_tr_func 1
4491 echo "$ac_t""no
" 1>&6
4498 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
4499 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4500 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4501 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4502 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4503 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4505 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4506 echo "configure
:4507: checking
for $ac_func" >&5
4507 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4508 echo $ac_n "(cached
) $ac_c" 1>&6
4510 cat > conftest.$ac_ext <<EOF
4511 #line 4512 "configure
"
4512 #include "confdefs.h
"
4513 /* System header to define __stub macros and hopefully few prototypes,
4514 which can conflict with char $ac_func(); below. */
4516 /* Override any gcc2 internal prototype to avoid an error. */
4517 /* We use char because int might match the return type of a gcc2
4518 builtin and then its argument prototype would still apply. */
4523 /* The GNU C library defines this for functions which it implements
4524 to always fail with ENOSYS. Some functions are actually named
4525 something starting with __ and the normal name is an alias. */
4526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4534 if { (eval echo configure:4535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4536 eval "ac_cv_func_
$ac_func=yes"
4538 echo "configure
: failed program was
:" >&5
4539 cat conftest.$ac_ext >&5
4541 eval "ac_cv_func_
$ac_func=no
"
4546 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4547 echo "$ac_t""yes" 1>&6
4548 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4549 cat >> confdefs.h <<EOF
4550 #define $ac_tr_func 1
4554 echo "$ac_t""no
" 1>&6
4561 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
4562 echo "configure
:4563: checking
for ISO C99 wchar_t support
" >&5
4563 if test x"$has_weof" = xyes &&
4564 test x"$has_wchar_minmax" = xyes &&
4565 test x"$ac_wfuncs" = xyes; then
4566 ac_isoC99_wchar_t=yes
4568 ac_isoC99_wchar_t=no
4570 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4572 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
4573 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
4574 echo "configure
:4575: checking
for iconv.h
" >&5
4575 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4576 echo $ac_n "(cached
) $ac_c" 1>&6
4578 cat > conftest.$ac_ext <<EOF
4579 #line 4580 "configure
"
4580 #include "confdefs.h
"
4583 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4584 { (eval echo configure:4585: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4585 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4586 if test -z "$ac_err"; then
4588 eval "ac_cv_header_
$ac_safe=yes"
4591 echo "configure
: failed program was
:" >&5
4592 cat conftest.$ac_ext >&5
4594 eval "ac_cv_header_
$ac_safe=no
"
4598 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4599 echo "$ac_t""yes" 1>&6
4602 echo "$ac_t""no
" 1>&6
4606 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
4607 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
4608 echo "configure
:4609: checking
for langinfo.h
" >&5
4609 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4610 echo $ac_n "(cached
) $ac_c" 1>&6
4612 cat > conftest.$ac_ext <<EOF
4613 #line 4614 "configure
"
4614 #include "confdefs.h
"
4615 #include <langinfo.h>
4617 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4618 { (eval echo configure:4619: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4619 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4620 if test -z "$ac_err"; then
4622 eval "ac_cv_header_
$ac_safe=yes"
4625 echo "configure
: failed program was
:" >&5
4626 cat conftest.$ac_ext >&5
4628 eval "ac_cv_header_
$ac_safe=no
"
4632 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4633 echo "$ac_t""yes" 1>&6
4634 ac_has_langinfo_h=yes
4636 echo "$ac_t""no
" 1>&6
4637 ac_has_langinfo_h=no
4641 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
4642 echo "configure
:4643: checking
for iconv in -liconv" >&5
4643 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4644 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4645 echo $ac_n "(cached
) $ac_c" 1>&6
4647 ac_save_LIBS="$LIBS"
4648 LIBS="-liconv $LIBS"
4649 cat > conftest.$ac_ext <<EOF
4650 #line 4651 "configure
"
4651 #include "confdefs.h
"
4652 /* Override any gcc2 internal prototype to avoid an error. */
4653 /* We use char because int might match the return type of a gcc2
4654 builtin and then its argument prototype would still apply. */
4661 if { (eval echo configure:4662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4663 eval "ac_cv_lib_
$ac_lib_var=yes"
4665 echo "configure
: failed program was
:" >&5
4666 cat conftest.$ac_ext >&5
4668 eval "ac_cv_lib_
$ac_lib_var=no
"
4671 LIBS="$ac_save_LIBS"
4674 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4675 echo "$ac_t""yes" 1>&6
4678 echo "$ac_t""no
" 1>&6
4681 ac_save_LIBS="$LIBS"
4682 LIBS="$LIBS $libiconv"
4684 for ac_func in iconv_open iconv_close iconv nl_langinfo
4686 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4687 echo "configure
:4688: checking
for $ac_func" >&5
4688 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4689 echo $ac_n "(cached
) $ac_c" 1>&6
4691 cat > conftest.$ac_ext <<EOF
4692 #line 4693 "configure
"
4693 #include "confdefs.h
"
4694 /* System header to define __stub macros and hopefully few prototypes,
4695 which can conflict with char $ac_func(); below. */
4697 /* Override any gcc2 internal prototype to avoid an error. */
4698 /* We use char because int might match the return type of a gcc2
4699 builtin and then its argument prototype would still apply. */
4704 /* The GNU C library defines this for functions which it implements
4705 to always fail with ENOSYS. Some functions are actually named
4706 something starting with __ and the normal name is an alias. */
4707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4715 if { (eval echo configure:4716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4717 eval "ac_cv_func_
$ac_func=yes"
4719 echo "configure
: failed program was
:" >&5
4720 cat conftest.$ac_ext >&5
4722 eval "ac_cv_func_
$ac_func=no
"
4727 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4728 echo "$ac_t""yes" 1>&6
4729 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4730 cat >> confdefs.h <<EOF
4731 #define $ac_tr_func 1
4736 echo "$ac_t""no
" 1>&6
4742 LIBS="$ac_save_LIBS"
4744 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
4745 echo "configure
:4746: checking
for XPG2 wchar_t support
" >&5
4746 if test x"$ac_has_iconv_h" = xyes &&
4747 test x"$ac_has_langinfo_h" = xyes &&
4748 test x"$ac_XPG2funcs" = xyes; then
4753 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
4755 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
4756 echo "configure
:4757: checking
for enabled wchar_t specializations
" >&5
4757 if test x"$ac_isoC99_wchar_t" = xyes &&
4758 test x"$ac_XPG2_wchar_t" = xyes; then
4759 cat >> confdefs.h <<\EOF
4760 #define _GLIBCPP_USE_WCHAR_T 1
4763 echo "$ac_t"""yes"" 1>&6
4765 echo "$ac_t"""no"" 1>&6
4768 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
4771 os_include_dir="config
/os
/gnu-linux
"
4772 cat >> confdefs.h <<\EOF
4773 #define HAVE_COPYSIGN 1
4776 cat >> confdefs.h <<\EOF
4777 #define HAVE_COPYSIGNF 1
4780 cat >> confdefs.h <<\EOF
4781 #define HAVE_FINITEF 1
4784 cat >> confdefs.h <<\EOF
4785 #define HAVE_FREXPF 1
4788 cat >> confdefs.h <<\EOF
4789 #define HAVE_HYPOTF 1
4792 cat >> confdefs.h <<\EOF
4793 #define HAVE_SINCOS 1
4796 cat >> confdefs.h <<\EOF
4797 #define HAVE_SINCOSF 1
4800 if test x"long_double_math_on_this_cpu
" = x"yes"; then
4801 cat >> confdefs.h <<\EOF
4802 #define HAVE_HYPOTL 1
4808 # Check for available headers.
4809 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4810 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4811 fp.h locale.h float.h inttypes.h
4813 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4814 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4815 echo "configure
:4816: checking
for $ac_hdr" >&5
4816 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4817 echo $ac_n "(cached
) $ac_c" 1>&6
4819 cat > conftest.$ac_ext <<EOF
4820 #line 4821 "configure
"
4821 #include "confdefs.h
"
4824 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4825 { (eval echo configure:4826: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4826 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4827 if test -z "$ac_err"; then
4829 eval "ac_cv_header_
$ac_safe=yes"
4832 echo "configure
: failed program was
:" >&5
4833 cat conftest.$ac_ext >&5
4835 eval "ac_cv_header_
$ac_safe=no
"
4839 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4840 echo "$ac_t""yes" 1>&6
4841 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4842 cat >> confdefs.h <<EOF
4843 #define $ac_tr_hdr 1
4847 echo "$ac_t""no
" 1>&6
4851 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4854 # If we're not using GNU ld, then there's no point in even trying these
4855 # tests. Check for that first. We should have already tested for gld
4856 # by now (in libtool), but require it now just to be safe...
4857 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4858 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4861 # Set --gc-sections.
4862 if test "$ac_cv_prog_gnu_ld" = "notbroken
"; then
4863 # GNU ld it is! Joy and bunny rabbits!
4865 # All these tests are for C++; save the language and the compiler flags.
4866 # Need to do this so that g++ won't try to link in libstdc++
4867 ac_test_CFLAGS="${CFLAGS+set}"
4868 ac_save_CFLAGS="$CFLAGS"
4869 CFLAGS='-x c++ -Wl,--gc-sections'
4871 # Check for -Wl,--gc-sections
4872 # XXX This test is broken at the moment, as symbols required for
4873 # linking are now in libsupc++ (not built yet.....). In addition,
4874 # this test has cored on solaris in the past. In addition,
4875 # --gc-sections doesn't really work at the moment (keeps on discarding
4876 # used sections, first .eh_frame and now some of the glibc sections for
4877 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4878 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
4879 echo "configure
:4880: checking
for ld that supports
-Wl,--gc-sections" >&5
4880 if test "$cross_compiling" = yes; then
4881 ac_sectionLDflags=yes
4883 cat > conftest.$ac_ext <<EOF
4884 #line 4885 "configure
"
4885 #include "confdefs.h
"
4895 if { (eval echo configure:4896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4897 ac_sectionLDflags=yes
4899 echo "configure
: failed program was
:" >&5
4900 cat conftest.$ac_ext >&5
4902 ac_sectionLDflags=no
4907 if test "$ac_test_CFLAGS" = set; then
4908 CFLAGS="$ac_save_CFLAGS"
4910 # this is the suspicious part
4913 if test "$ac_sectionLDflags" = "yes"; then
4914 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4916 echo "$ac_t""$ac_sectionLDflags" 1>&6
4919 # Set linker optimization flags.
4920 if test x"$ac_cv_prog_gnu_ld" = x"yes" &&
4921 test x"$enable_debug" = x"no
"; then
4922 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4929 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
4930 echo "configure
:4931: checking
for main
in -lm" >&5
4931 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4932 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4933 echo $ac_n "(cached
) $ac_c" 1>&6
4935 ac_save_LIBS="$LIBS"
4937 cat > conftest.$ac_ext <<EOF
4938 #line 4939 "configure
"
4939 #include "confdefs.h
"
4945 if { (eval echo configure:4946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4947 eval "ac_cv_lib_
$ac_lib_var=yes"
4949 echo "configure
: failed program was
:" >&5
4950 cat conftest.$ac_ext >&5
4952 eval "ac_cv_lib_
$ac_lib_var=no
"
4955 LIBS="$ac_save_LIBS"
4958 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4959 echo "$ac_t""yes" 1>&6
4960 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4961 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4962 cat >> confdefs.h <<EOF
4963 #define $ac_tr_lib 1
4969 echo "$ac_t""no
" 1>&6
4972 for ac_func in nan copysignf
4974 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4975 echo "configure
:4976: checking
for $ac_func" >&5
4976 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4977 echo $ac_n "(cached
) $ac_c" 1>&6
4979 cat > conftest.$ac_ext <<EOF
4980 #line 4981 "configure
"
4981 #include "confdefs.h
"
4982 /* System header to define __stub macros and hopefully few prototypes,
4983 which can conflict with char $ac_func(); below. */
4985 /* Override any gcc2 internal prototype to avoid an error. */
4986 /* We use char because int might match the return type of a gcc2
4987 builtin and then its argument prototype would still apply. */
4992 /* The GNU C library defines this for functions which it implements
4993 to always fail with ENOSYS. Some functions are actually named
4994 something starting with __ and the normal name is an alias. */
4995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5003 if { (eval echo configure:5004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5005 eval "ac_cv_func_
$ac_func=yes"
5007 echo "configure
: failed program was
:" >&5
5008 cat conftest.$ac_ext >&5
5010 eval "ac_cv_func_
$ac_func=no
"
5015 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5016 echo "$ac_t""yes" 1>&6
5017 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5018 cat >> confdefs.h <<EOF
5019 #define $ac_tr_func 1
5023 echo "$ac_t""no
" 1>&6
5024 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
5030 USE_COMPLEX_LONG_DOUBLE=no
5031 if test x$ac_cv_func_copysignl = x"yes"; then
5032 USE_COMPLEX_LONG_DOUBLE=yes
5033 for ac_func in signbitl
5035 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5036 echo "configure
:5037: checking
for $ac_func" >&5
5037 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5038 echo $ac_n "(cached
) $ac_c" 1>&6
5040 cat > conftest.$ac_ext <<EOF
5041 #line 5042 "configure
"
5042 #include "confdefs.h
"
5043 /* System header to define __stub macros and hopefully few prototypes,
5044 which can conflict with char $ac_func(); below. */
5046 /* Override any gcc2 internal prototype to avoid an error. */
5047 /* We use char because int might match the return type of a gcc2
5048 builtin and then its argument prototype would still apply. */
5053 /* The GNU C library defines this for functions which it implements
5054 to always fail with ENOSYS. Some functions are actually named
5055 something starting with __ and the normal name is an alias. */
5056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5064 if { (eval echo configure:5065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5066 eval "ac_cv_func_
$ac_func=yes"
5068 echo "configure
: failed program was
:" >&5
5069 cat conftest.$ac_ext >&5
5071 eval "ac_cv_func_
$ac_func=no
"
5076 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5077 echo "$ac_t""yes" 1>&6
5078 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5079 cat >> confdefs.h <<EOF
5080 #define $ac_tr_func 1
5084 echo "$ac_t""no
" 1>&6
5085 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
5096 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
5097 echo "configure
:5098: checking
for mbstate_t
" >&5
5098 cat > conftest.$ac_ext <<EOF
5099 #line 5100 "configure
"
5100 #include "confdefs.h
"
5103 mbstate_t teststate;
5106 if { (eval echo configure:5107: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5110 echo "configure
: failed program was
:" >&5
5111 cat conftest.$ac_ext >&5
5116 echo "$ac_t""$have_mbstate_t" 1>&6
5117 if test x"$have_mbstate_t" = xyes; then
5118 cat >> confdefs.h <<\EOF
5119 #define HAVE_MBSTATE_T 1
5124 for ac_hdr in wchar.h
5126 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5127 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5128 echo "configure
:5129: checking
for $ac_hdr" >&5
5129 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5130 echo $ac_n "(cached
) $ac_c" 1>&6
5132 cat > conftest.$ac_ext <<EOF
5133 #line 5134 "configure
"
5134 #include "confdefs.h
"
5137 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5138 { (eval echo configure:5139: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5139 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5140 if test -z "$ac_err"; then
5142 eval "ac_cv_header_
$ac_safe=yes"
5145 echo "configure
: failed program was
:" >&5
5146 cat conftest.$ac_ext >&5
5148 eval "ac_cv_header_
$ac_safe=no
"
5152 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5153 echo "$ac_t""yes" 1>&6
5154 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5155 cat >> confdefs.h <<EOF
5156 #define $ac_tr_hdr 1
5160 echo "$ac_t""no
" 1>&6
5165 ac_safe=`echo "wctype.h
" | sed 'y%./+-%__p_%'`
5166 echo $ac_n "checking
for wctype.h
""...
$ac_c" 1>&6
5167 echo "configure
:5168: checking
for wctype.h
" >&5
5168 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5169 echo $ac_n "(cached
) $ac_c" 1>&6
5171 cat > conftest.$ac_ext <<EOF
5172 #line 5173 "configure
"
5173 #include "confdefs.h
"
5176 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5177 { (eval echo configure:5178: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5178 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5179 if test -z "$ac_err"; then
5181 eval "ac_cv_header_
$ac_safe=yes"
5184 echo "configure
: failed program was
:" >&5
5185 cat conftest.$ac_ext >&5
5187 eval "ac_cv_header_
$ac_safe=no
"
5191 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5192 echo "$ac_t""yes" 1>&6
5195 echo "$ac_t""no
" 1>&6
5200 if test x"$ac_has_wchar_h" = xyes &&
5201 test x"$ac_has_wctype_h" = xyes &&
5202 test x"$enable_c_mbchar" != xno; then
5204 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
5205 echo "configure
:5206: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
5206 cat > conftest.$ac_ext <<EOF
5207 #line 5208 "configure
"
5208 #include "confdefs.h
"
5211 int i = WCHAR_MIN; int j = WCHAR_MAX;
5214 if { (eval echo configure:5215: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5216 has_wchar_minmax=yes
5218 echo "configure
: failed program was
:" >&5
5219 cat conftest.$ac_ext >&5
5224 echo "$ac_t""$has_wchar_minmax" 1>&6
5226 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
5227 echo "configure
:5228: checking
for WEOF
" >&5
5228 cat > conftest.$ac_ext <<EOF
5229 #line 5230 "configure
"
5230 #include "confdefs.h
"
5238 if { (eval echo configure:5239: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5242 echo "configure
: failed program was
:" >&5
5243 cat conftest.$ac_ext >&5
5248 echo "$ac_t""$has_weof" 1>&6
5251 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5253 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5254 echo "configure
:5255: checking
for $ac_func" >&5
5255 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5256 echo $ac_n "(cached
) $ac_c" 1>&6
5258 cat > conftest.$ac_ext <<EOF
5259 #line 5260 "configure
"
5260 #include "confdefs.h
"
5261 /* System header to define __stub macros and hopefully few prototypes,
5262 which can conflict with char $ac_func(); below. */
5264 /* Override any gcc2 internal prototype to avoid an error. */
5265 /* We use char because int might match the return type of a gcc2
5266 builtin and then its argument prototype would still apply. */
5271 /* The GNU C library defines this for functions which it implements
5272 to always fail with ENOSYS. Some functions are actually named
5273 something starting with __ and the normal name is an alias. */
5274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5282 if { (eval echo configure:5283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5284 eval "ac_cv_func_
$ac_func=yes"
5286 echo "configure
: failed program was
:" >&5
5287 cat conftest.$ac_ext >&5
5289 eval "ac_cv_func_
$ac_func=no
"
5294 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5295 echo "$ac_t""yes" 1>&6
5296 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5297 cat >> confdefs.h <<EOF
5298 #define $ac_tr_func 1
5302 echo "$ac_t""no
" 1>&6
5309 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
5310 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5311 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5312 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5313 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5314 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5316 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5317 echo "configure
:5318: checking
for $ac_func" >&5
5318 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5319 echo $ac_n "(cached
) $ac_c" 1>&6
5321 cat > conftest.$ac_ext <<EOF
5322 #line 5323 "configure
"
5323 #include "confdefs.h
"
5324 /* System header to define __stub macros and hopefully few prototypes,
5325 which can conflict with char $ac_func(); below. */
5327 /* Override any gcc2 internal prototype to avoid an error. */
5328 /* We use char because int might match the return type of a gcc2
5329 builtin and then its argument prototype would still apply. */
5334 /* The GNU C library defines this for functions which it implements
5335 to always fail with ENOSYS. Some functions are actually named
5336 something starting with __ and the normal name is an alias. */
5337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5345 if { (eval echo configure:5346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5347 eval "ac_cv_func_
$ac_func=yes"
5349 echo "configure
: failed program was
:" >&5
5350 cat conftest.$ac_ext >&5
5352 eval "ac_cv_func_
$ac_func=no
"
5357 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5358 echo "$ac_t""yes" 1>&6
5359 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5360 cat >> confdefs.h <<EOF
5361 #define $ac_tr_func 1
5365 echo "$ac_t""no
" 1>&6
5372 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
5373 echo "configure
:5374: checking
for ISO C99 wchar_t support
" >&5
5374 if test x"$has_weof" = xyes &&
5375 test x"$has_wchar_minmax" = xyes &&
5376 test x"$ac_wfuncs" = xyes; then
5377 ac_isoC99_wchar_t=yes
5379 ac_isoC99_wchar_t=no
5381 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
5383 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
5384 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
5385 echo "configure
:5386: checking
for iconv.h
" >&5
5386 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5387 echo $ac_n "(cached
) $ac_c" 1>&6
5389 cat > conftest.$ac_ext <<EOF
5390 #line 5391 "configure
"
5391 #include "confdefs.h
"
5394 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5395 { (eval echo configure:5396: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5396 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5397 if test -z "$ac_err"; then
5399 eval "ac_cv_header_
$ac_safe=yes"
5402 echo "configure
: failed program was
:" >&5
5403 cat conftest.$ac_ext >&5
5405 eval "ac_cv_header_
$ac_safe=no
"
5409 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5410 echo "$ac_t""yes" 1>&6
5413 echo "$ac_t""no
" 1>&6
5417 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
5418 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
5419 echo "configure
:5420: checking
for langinfo.h
" >&5
5420 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5421 echo $ac_n "(cached
) $ac_c" 1>&6
5423 cat > conftest.$ac_ext <<EOF
5424 #line 5425 "configure
"
5425 #include "confdefs.h
"
5426 #include <langinfo.h>
5428 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5429 { (eval echo configure:5430: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5430 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5431 if test -z "$ac_err"; then
5433 eval "ac_cv_header_
$ac_safe=yes"
5436 echo "configure
: failed program was
:" >&5
5437 cat conftest.$ac_ext >&5
5439 eval "ac_cv_header_
$ac_safe=no
"
5443 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5444 echo "$ac_t""yes" 1>&6
5445 ac_has_langinfo_h=yes
5447 echo "$ac_t""no
" 1>&6
5448 ac_has_langinfo_h=no
5452 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
5453 echo "configure
:5454: checking
for iconv in -liconv" >&5
5454 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5455 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5456 echo $ac_n "(cached
) $ac_c" 1>&6
5458 ac_save_LIBS="$LIBS"
5459 LIBS="-liconv $LIBS"
5460 cat > conftest.$ac_ext <<EOF
5461 #line 5462 "configure
"
5462 #include "confdefs.h
"
5463 /* Override any gcc2 internal prototype to avoid an error. */
5464 /* We use char because int might match the return type of a gcc2
5465 builtin and then its argument prototype would still apply. */
5472 if { (eval echo configure:5473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5474 eval "ac_cv_lib_
$ac_lib_var=yes"
5476 echo "configure
: failed program was
:" >&5
5477 cat conftest.$ac_ext >&5
5479 eval "ac_cv_lib_
$ac_lib_var=no
"
5482 LIBS="$ac_save_LIBS"
5485 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5486 echo "$ac_t""yes" 1>&6
5489 echo "$ac_t""no
" 1>&6
5492 ac_save_LIBS="$LIBS"
5493 LIBS="$LIBS $libiconv"
5495 for ac_func in iconv_open iconv_close iconv nl_langinfo
5497 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5498 echo "configure
:5499: checking
for $ac_func" >&5
5499 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5500 echo $ac_n "(cached
) $ac_c" 1>&6
5502 cat > conftest.$ac_ext <<EOF
5503 #line 5504 "configure
"
5504 #include "confdefs.h
"
5505 /* System header to define __stub macros and hopefully few prototypes,
5506 which can conflict with char $ac_func(); below. */
5508 /* Override any gcc2 internal prototype to avoid an error. */
5509 /* We use char because int might match the return type of a gcc2
5510 builtin and then its argument prototype would still apply. */
5515 /* The GNU C library defines this for functions which it implements
5516 to always fail with ENOSYS. Some functions are actually named
5517 something starting with __ and the normal name is an alias. */
5518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5526 if { (eval echo configure:5527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5528 eval "ac_cv_func_
$ac_func=yes"
5530 echo "configure
: failed program was
:" >&5
5531 cat conftest.$ac_ext >&5
5533 eval "ac_cv_func_
$ac_func=no
"
5538 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5539 echo "$ac_t""yes" 1>&6
5540 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5541 cat >> confdefs.h <<EOF
5542 #define $ac_tr_func 1
5547 echo "$ac_t""no
" 1>&6
5553 LIBS="$ac_save_LIBS"
5555 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
5556 echo "configure
:5557: checking
for XPG2 wchar_t support
" >&5
5557 if test x"$ac_has_iconv_h" = xyes &&
5558 test x"$ac_has_langinfo_h" = xyes &&
5559 test x"$ac_XPG2funcs" = xyes; then
5564 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5566 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
5567 echo "configure
:5568: checking
for enabled wchar_t specializations
" >&5
5568 if test x"$ac_isoC99_wchar_t" = xyes &&
5569 test x"$ac_XPG2_wchar_t" = xyes; then
5570 cat >> confdefs.h <<\EOF
5571 #define _GLIBCPP_USE_WCHAR_T 1
5574 echo "$ac_t"""yes"" 1>&6
5576 echo "$ac_t"""no"" 1>&6
5579 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
5582 os_include_dir="config
/os
/hpux
"
5583 cat >> confdefs.h <<\EOF
5584 #define HAVE_COPYSIGN 1
5587 cat >> confdefs.h <<\EOF
5588 #define HAVE_COPYSIGNF 1
5591 cat >> confdefs.h <<\EOF
5592 #define HAVE_FINITEF 1
5595 cat >> confdefs.h <<\EOF
5596 #define HAVE_FREXPF 1
5599 cat >> confdefs.h <<\EOF
5600 #define HAVE_HYPOT 1
5603 cat >> confdefs.h <<\EOF
5604 #define HAVE_SINCOS 1
5607 cat >> confdefs.h <<\EOF
5608 #define HAVE_SINCOSF 1
5613 # Check for available headers.
5614 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5615 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5616 fp.h locale.h float.h inttypes.h
5618 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5619 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5620 echo "configure
:5621: checking
for $ac_hdr" >&5
5621 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5622 echo $ac_n "(cached
) $ac_c" 1>&6
5624 cat > conftest.$ac_ext <<EOF
5625 #line 5626 "configure
"
5626 #include "confdefs.h
"
5629 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5630 { (eval echo configure:5631: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5631 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5632 if test -z "$ac_err"; then
5634 eval "ac_cv_header_
$ac_safe=yes"
5637 echo "configure
: failed program was
:" >&5
5638 cat conftest.$ac_ext >&5
5640 eval "ac_cv_header_
$ac_safe=no
"
5644 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5645 echo "$ac_t""yes" 1>&6
5646 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5647 cat >> confdefs.h <<EOF
5648 #define $ac_tr_hdr 1
5652 echo "$ac_t""no
" 1>&6
5656 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5659 # If we're not using GNU ld, then there's no point in even trying these
5660 # tests. Check for that first. We should have already tested for gld
5661 # by now (in libtool), but require it now just to be safe...
5662 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5663 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5666 # Set --gc-sections.
5667 if test "$ac_cv_prog_gnu_ld" = "notbroken
"; then
5668 # GNU ld it is! Joy and bunny rabbits!
5670 # All these tests are for C++; save the language and the compiler flags.
5671 # Need to do this so that g++ won't try to link in libstdc++
5672 ac_test_CFLAGS="${CFLAGS+set}"
5673 ac_save_CFLAGS="$CFLAGS"
5674 CFLAGS='-x c++ -Wl,--gc-sections'
5676 # Check for -Wl,--gc-sections
5677 # XXX This test is broken at the moment, as symbols required for
5678 # linking are now in libsupc++ (not built yet.....). In addition,
5679 # this test has cored on solaris in the past. In addition,
5680 # --gc-sections doesn't really work at the moment (keeps on discarding
5681 # used sections, first .eh_frame and now some of the glibc sections for
5682 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5683 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
5684 echo "configure
:5685: checking
for ld that supports
-Wl,--gc-sections" >&5
5685 if test "$cross_compiling" = yes; then
5686 ac_sectionLDflags=yes
5688 cat > conftest.$ac_ext <<EOF
5689 #line 5690 "configure
"
5690 #include "confdefs.h
"
5700 if { (eval echo configure:5701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5702 ac_sectionLDflags=yes
5704 echo "configure
: failed program was
:" >&5
5705 cat conftest.$ac_ext >&5
5707 ac_sectionLDflags=no
5712 if test "$ac_test_CFLAGS" = set; then
5713 CFLAGS="$ac_save_CFLAGS"
5715 # this is the suspicious part
5718 if test "$ac_sectionLDflags" = "yes"; then
5719 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5721 echo "$ac_t""$ac_sectionLDflags" 1>&6
5724 # Set linker optimization flags.
5725 if test x"$ac_cv_prog_gnu_ld" = x"yes" &&
5726 test x"$enable_debug" = x"no
"; then
5727 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5734 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
5735 echo "configure
:5736: checking
for main
in -lm" >&5
5736 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5737 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5738 echo $ac_n "(cached
) $ac_c" 1>&6
5740 ac_save_LIBS="$LIBS"
5742 cat > conftest.$ac_ext <<EOF
5743 #line 5744 "configure
"
5744 #include "confdefs.h
"
5750 if { (eval echo configure:5751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5752 eval "ac_cv_lib_
$ac_lib_var=yes"
5754 echo "configure
: failed program was
:" >&5
5755 cat conftest.$ac_ext >&5
5757 eval "ac_cv_lib_
$ac_lib_var=no
"
5760 LIBS="$ac_save_LIBS"
5763 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5764 echo "$ac_t""yes" 1>&6
5765 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5766 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5767 cat >> confdefs.h <<EOF
5768 #define $ac_tr_lib 1
5774 echo "$ac_t""no
" 1>&6
5777 for ac_func in nan copysignf
5779 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5780 echo "configure
:5781: checking
for $ac_func" >&5
5781 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5782 echo $ac_n "(cached
) $ac_c" 1>&6
5784 cat > conftest.$ac_ext <<EOF
5785 #line 5786 "configure
"
5786 #include "confdefs.h
"
5787 /* System header to define __stub macros and hopefully few prototypes,
5788 which can conflict with char $ac_func(); below. */
5790 /* Override any gcc2 internal prototype to avoid an error. */
5791 /* We use char because int might match the return type of a gcc2
5792 builtin and then its argument prototype would still apply. */
5797 /* The GNU C library defines this for functions which it implements
5798 to always fail with ENOSYS. Some functions are actually named
5799 something starting with __ and the normal name is an alias. */
5800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5808 if { (eval echo configure:5809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5810 eval "ac_cv_func_
$ac_func=yes"
5812 echo "configure
: failed program was
:" >&5
5813 cat conftest.$ac_ext >&5
5815 eval "ac_cv_func_
$ac_func=no
"
5820 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5821 echo "$ac_t""yes" 1>&6
5822 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5823 cat >> confdefs.h <<EOF
5824 #define $ac_tr_func 1
5828 echo "$ac_t""no
" 1>&6
5829 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
5835 USE_COMPLEX_LONG_DOUBLE=no
5836 if test x$ac_cv_func_copysignl = x"yes"; then
5837 USE_COMPLEX_LONG_DOUBLE=yes
5838 for ac_func in signbitl
5840 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5841 echo "configure
:5842: checking
for $ac_func" >&5
5842 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5843 echo $ac_n "(cached
) $ac_c" 1>&6
5845 cat > conftest.$ac_ext <<EOF
5846 #line 5847 "configure
"
5847 #include "confdefs.h
"
5848 /* System header to define __stub macros and hopefully few prototypes,
5849 which can conflict with char $ac_func(); below. */
5851 /* Override any gcc2 internal prototype to avoid an error. */
5852 /* We use char because int might match the return type of a gcc2
5853 builtin and then its argument prototype would still apply. */
5858 /* The GNU C library defines this for functions which it implements
5859 to always fail with ENOSYS. Some functions are actually named
5860 something starting with __ and the normal name is an alias. */
5861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5869 if { (eval echo configure:5870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5871 eval "ac_cv_func_
$ac_func=yes"
5873 echo "configure
: failed program was
:" >&5
5874 cat conftest.$ac_ext >&5
5876 eval "ac_cv_func_
$ac_func=no
"
5881 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5882 echo "$ac_t""yes" 1>&6
5883 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5884 cat >> confdefs.h <<EOF
5885 #define $ac_tr_func 1
5889 echo "$ac_t""no
" 1>&6
5890 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
5901 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
5902 echo "configure
:5903: checking
for mbstate_t
" >&5
5903 cat > conftest.$ac_ext <<EOF
5904 #line 5905 "configure
"
5905 #include "confdefs.h
"
5908 mbstate_t teststate;
5911 if { (eval echo configure:5912: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5915 echo "configure
: failed program was
:" >&5
5916 cat conftest.$ac_ext >&5
5921 echo "$ac_t""$have_mbstate_t" 1>&6
5922 if test x"$have_mbstate_t" = xyes; then
5923 cat >> confdefs.h <<\EOF
5924 #define HAVE_MBSTATE_T 1
5929 for ac_hdr in wchar.h
5931 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5932 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5933 echo "configure
:5934: checking
for $ac_hdr" >&5
5934 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5935 echo $ac_n "(cached
) $ac_c" 1>&6
5937 cat > conftest.$ac_ext <<EOF
5938 #line 5939 "configure
"
5939 #include "confdefs.h
"
5942 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5943 { (eval echo configure:5944: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5944 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5945 if test -z "$ac_err"; then
5947 eval "ac_cv_header_
$ac_safe=yes"
5950 echo "configure
: failed program was
:" >&5
5951 cat conftest.$ac_ext >&5
5953 eval "ac_cv_header_
$ac_safe=no
"
5957 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5958 echo "$ac_t""yes" 1>&6
5959 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5960 cat >> confdefs.h <<EOF
5961 #define $ac_tr_hdr 1
5965 echo "$ac_t""no
" 1>&6
5970 ac_safe=`echo "wctype.h
" | sed 'y%./+-%__p_%'`
5971 echo $ac_n "checking
for wctype.h
""...
$ac_c" 1>&6
5972 echo "configure
:5973: checking
for wctype.h
" >&5
5973 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5974 echo $ac_n "(cached
) $ac_c" 1>&6
5976 cat > conftest.$ac_ext <<EOF
5977 #line 5978 "configure
"
5978 #include "confdefs.h
"
5981 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5982 { (eval echo configure:5983: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5983 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5984 if test -z "$ac_err"; then
5986 eval "ac_cv_header_
$ac_safe=yes"
5989 echo "configure
: failed program was
:" >&5
5990 cat conftest.$ac_ext >&5
5992 eval "ac_cv_header_
$ac_safe=no
"
5996 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5997 echo "$ac_t""yes" 1>&6
6000 echo "$ac_t""no
" 1>&6
6005 if test x"$ac_has_wchar_h" = xyes &&
6006 test x"$ac_has_wctype_h" = xyes &&
6007 test x"$enable_c_mbchar" != xno; then
6009 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
6010 echo "configure
:6011: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
6011 cat > conftest.$ac_ext <<EOF
6012 #line 6013 "configure
"
6013 #include "confdefs.h
"
6016 int i = WCHAR_MIN; int j = WCHAR_MAX;
6019 if { (eval echo configure:6020: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6021 has_wchar_minmax=yes
6023 echo "configure
: failed program was
:" >&5
6024 cat conftest.$ac_ext >&5
6029 echo "$ac_t""$has_wchar_minmax" 1>&6
6031 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
6032 echo "configure
:6033: checking
for WEOF
" >&5
6033 cat > conftest.$ac_ext <<EOF
6034 #line 6035 "configure
"
6035 #include "confdefs.h
"
6043 if { (eval echo configure:6044: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6047 echo "configure
: failed program was
:" >&5
6048 cat conftest.$ac_ext >&5
6053 echo "$ac_t""$has_weof" 1>&6
6056 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6058 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6059 echo "configure
:6060: checking
for $ac_func" >&5
6060 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6061 echo $ac_n "(cached
) $ac_c" 1>&6
6063 cat > conftest.$ac_ext <<EOF
6064 #line 6065 "configure
"
6065 #include "confdefs.h
"
6066 /* System header to define __stub macros and hopefully few prototypes,
6067 which can conflict with char $ac_func(); below. */
6069 /* Override any gcc2 internal prototype to avoid an error. */
6070 /* We use char because int might match the return type of a gcc2
6071 builtin and then its argument prototype would still apply. */
6076 /* The GNU C library defines this for functions which it implements
6077 to always fail with ENOSYS. Some functions are actually named
6078 something starting with __ and the normal name is an alias. */
6079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6087 if { (eval echo configure:6088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6089 eval "ac_cv_func_
$ac_func=yes"
6091 echo "configure
: failed program was
:" >&5
6092 cat conftest.$ac_ext >&5
6094 eval "ac_cv_func_
$ac_func=no
"
6099 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6100 echo "$ac_t""yes" 1>&6
6101 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6102 cat >> confdefs.h <<EOF
6103 #define $ac_tr_func 1
6107 echo "$ac_t""no
" 1>&6
6114 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
6115 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6116 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6117 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6118 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6119 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6121 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6122 echo "configure
:6123: checking
for $ac_func" >&5
6123 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6124 echo $ac_n "(cached
) $ac_c" 1>&6
6126 cat > conftest.$ac_ext <<EOF
6127 #line 6128 "configure
"
6128 #include "confdefs.h
"
6129 /* System header to define __stub macros and hopefully few prototypes,
6130 which can conflict with char $ac_func(); below. */
6132 /* Override any gcc2 internal prototype to avoid an error. */
6133 /* We use char because int might match the return type of a gcc2
6134 builtin and then its argument prototype would still apply. */
6139 /* The GNU C library defines this for functions which it implements
6140 to always fail with ENOSYS. Some functions are actually named
6141 something starting with __ and the normal name is an alias. */
6142 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6150 if { (eval echo configure:6151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6152 eval "ac_cv_func_
$ac_func=yes"
6154 echo "configure
: failed program was
:" >&5
6155 cat conftest.$ac_ext >&5
6157 eval "ac_cv_func_
$ac_func=no
"
6162 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6163 echo "$ac_t""yes" 1>&6
6164 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6165 cat >> confdefs.h <<EOF
6166 #define $ac_tr_func 1
6170 echo "$ac_t""no
" 1>&6
6177 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
6178 echo "configure
:6179: checking
for ISO C99 wchar_t support
" >&5
6179 if test x"$has_weof" = xyes &&
6180 test x"$has_wchar_minmax" = xyes &&
6181 test x"$ac_wfuncs" = xyes; then
6182 ac_isoC99_wchar_t=yes
6184 ac_isoC99_wchar_t=no
6186 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6188 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
6189 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
6190 echo "configure
:6191: checking
for iconv.h
" >&5
6191 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6192 echo $ac_n "(cached
) $ac_c" 1>&6
6194 cat > conftest.$ac_ext <<EOF
6195 #line 6196 "configure
"
6196 #include "confdefs.h
"
6199 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6200 { (eval echo configure:6201: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6201 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6202 if test -z "$ac_err"; then
6204 eval "ac_cv_header_
$ac_safe=yes"
6207 echo "configure
: failed program was
:" >&5
6208 cat conftest.$ac_ext >&5
6210 eval "ac_cv_header_
$ac_safe=no
"
6214 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6215 echo "$ac_t""yes" 1>&6
6218 echo "$ac_t""no
" 1>&6
6222 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
6223 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
6224 echo "configure
:6225: checking
for langinfo.h
" >&5
6225 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6226 echo $ac_n "(cached
) $ac_c" 1>&6
6228 cat > conftest.$ac_ext <<EOF
6229 #line 6230 "configure
"
6230 #include "confdefs.h
"
6231 #include <langinfo.h>
6233 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6234 { (eval echo configure:6235: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6235 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6236 if test -z "$ac_err"; then
6238 eval "ac_cv_header_
$ac_safe=yes"
6241 echo "configure
: failed program was
:" >&5
6242 cat conftest.$ac_ext >&5
6244 eval "ac_cv_header_
$ac_safe=no
"
6248 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6249 echo "$ac_t""yes" 1>&6
6250 ac_has_langinfo_h=yes
6252 echo "$ac_t""no
" 1>&6
6253 ac_has_langinfo_h=no
6257 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
6258 echo "configure
:6259: checking
for iconv in -liconv" >&5
6259 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6260 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6261 echo $ac_n "(cached
) $ac_c" 1>&6
6263 ac_save_LIBS="$LIBS"
6264 LIBS="-liconv $LIBS"
6265 cat > conftest.$ac_ext <<EOF
6266 #line 6267 "configure
"
6267 #include "confdefs.h
"
6268 /* Override any gcc2 internal prototype to avoid an error. */
6269 /* We use char because int might match the return type of a gcc2
6270 builtin and then its argument prototype would still apply. */
6277 if { (eval echo configure:6278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6279 eval "ac_cv_lib_
$ac_lib_var=yes"
6281 echo "configure
: failed program was
:" >&5
6282 cat conftest.$ac_ext >&5
6284 eval "ac_cv_lib_
$ac_lib_var=no
"
6287 LIBS="$ac_save_LIBS"
6290 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6291 echo "$ac_t""yes" 1>&6
6294 echo "$ac_t""no
" 1>&6
6297 ac_save_LIBS="$LIBS"
6298 LIBS="$LIBS $libiconv"
6300 for ac_func in iconv_open iconv_close iconv nl_langinfo
6302 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6303 echo "configure
:6304: checking
for $ac_func" >&5
6304 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6305 echo $ac_n "(cached
) $ac_c" 1>&6
6307 cat > conftest.$ac_ext <<EOF
6308 #line 6309 "configure
"
6309 #include "confdefs.h
"
6310 /* System header to define __stub macros and hopefully few prototypes,
6311 which can conflict with char $ac_func(); below. */
6313 /* Override any gcc2 internal prototype to avoid an error. */
6314 /* We use char because int might match the return type of a gcc2
6315 builtin and then its argument prototype would still apply. */
6320 /* The GNU C library defines this for functions which it implements
6321 to always fail with ENOSYS. Some functions are actually named
6322 something starting with __ and the normal name is an alias. */
6323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6331 if { (eval echo configure:6332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6333 eval "ac_cv_func_
$ac_func=yes"
6335 echo "configure
: failed program was
:" >&5
6336 cat conftest.$ac_ext >&5
6338 eval "ac_cv_func_
$ac_func=no
"
6343 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6344 echo "$ac_t""yes" 1>&6
6345 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6346 cat >> confdefs.h <<EOF
6347 #define $ac_tr_func 1
6352 echo "$ac_t""no
" 1>&6
6358 LIBS="$ac_save_LIBS"
6360 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
6361 echo "configure
:6362: checking
for XPG2 wchar_t support
" >&5
6362 if test x"$ac_has_iconv_h" = xyes &&
6363 test x"$ac_has_langinfo_h" = xyes &&
6364 test x"$ac_XPG2funcs" = xyes; then
6369 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6371 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
6372 echo "configure
:6373: checking
for enabled wchar_t specializations
" >&5
6373 if test x"$ac_isoC99_wchar_t" = xyes &&
6374 test x"$ac_XPG2_wchar_t" = xyes; then
6375 cat >> confdefs.h <<\EOF
6376 #define _GLIBCPP_USE_WCHAR_T 1
6379 echo "$ac_t"""yes"" 1>&6
6381 echo "$ac_t"""no"" 1>&6
6384 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
6387 os_include_dir="config
/os
/bsd
/netbsd
"
6388 cat >> confdefs.h <<\EOF
6389 #define HAVE_COPYSIGN 1
6392 cat >> confdefs.h <<\EOF
6393 #define HAVE_COPYSIGNF 1
6396 cat >> confdefs.h <<\EOF
6397 #define HAVE_FINITEF 1
6400 cat >> confdefs.h <<\EOF
6401 #define HAVE_FREXPF 1
6404 cat >> confdefs.h <<\EOF
6405 #define HAVE_HYPOTF 1
6410 os_include_dir="config
/os
/newlib
"
6411 cat >> confdefs.h <<\EOF
6412 #define HAVE_HYPOT 1
6418 # GLIBCPP_CHECK_STDLIB_SUPPORT
6419 cat >> confdefs.h <<\EOF
6420 #define HAVE_STRTOF 1
6423 cat >> confdefs.h <<\EOF
6424 #define HAVE_STRTOLD 1
6428 cat >> confdefs.h <<\EOF
6433 cat >> confdefs.h <<\EOF
6434 #define HAVE_ACOSF 1
6437 cat >> confdefs.h <<\EOF
6438 #define HAVE_ASINF 1
6441 cat >> confdefs.h <<\EOF
6442 #define HAVE_ATAN2F 1
6445 cat >> confdefs.h <<\EOF
6446 #define HAVE_ATANF 1
6449 cat >> confdefs.h <<\EOF
6450 #define HAVE_CEILF 1
6453 cat >> confdefs.h <<\EOF
6454 #define HAVE_COPYSIGN 1
6457 cat >> confdefs.h <<\EOF
6458 #define HAVE_COPYSIGNF 1
6461 cat >> confdefs.h <<\EOF
6465 cat >> confdefs.h <<\EOF
6466 #define HAVE_COSHF 1
6469 cat >> confdefs.h <<\EOF
6473 cat >> confdefs.h <<\EOF
6474 #define HAVE_FABSF 1
6477 cat >> confdefs.h <<\EOF
6478 #define HAVE_FINITE 1
6481 cat >> confdefs.h <<\EOF
6482 #define HAVE_FINITEF 1
6485 cat >> confdefs.h <<\EOF
6486 #define HAVE_FLOORF 1
6489 cat >> confdefs.h <<\EOF
6490 #define HAVE_FMODF 1
6493 cat >> confdefs.h <<\EOF
6494 #define HAVE_FREXPF 1
6497 cat >> confdefs.h <<\EOF
6498 #define HAVE_ISINF 1
6501 cat >> confdefs.h <<\EOF
6502 #define HAVE_ISINFF 1
6505 cat >> confdefs.h <<\EOF
6506 #define HAVE_ISNAN 1
6509 cat >> confdefs.h <<\EOF
6510 #define HAVE_ISNANF 1
6513 cat >> confdefs.h <<\EOF
6514 #define HAVE_LDEXPF 1
6517 cat >> confdefs.h <<\EOF
6518 #define HAVE_LOG10F 1
6521 cat >> confdefs.h <<\EOF
6525 cat >> confdefs.h <<\EOF
6526 #define HAVE_MODFF 1
6529 cat >> confdefs.h <<\EOF
6533 cat >> confdefs.h <<\EOF
6537 cat >> confdefs.h <<\EOF
6538 #define HAVE_SINHF 1
6541 cat >> confdefs.h <<\EOF
6542 #define HAVE_SQRTF 1
6545 cat >> confdefs.h <<\EOF
6549 cat >> confdefs.h <<\EOF
6550 #define HAVE_TANHF 1
6554 # At some point, we should differentiate between architectures
6555 # like x86, which have long double versions, and alpha/powerpc/etc.,
6556 # which don't. For the time being, punt.
6557 if test x"long_double_math_on_this_cpu
" = x"yes"; then
6558 cat >> confdefs.h <<\EOF
6559 #define HAVE_ACOSL 1
6562 cat >> confdefs.h <<\EOF
6563 #define HAVE_ASINL 1
6566 cat >> confdefs.h <<\EOF
6567 #define HAVE_ATAN2L 1
6570 cat >> confdefs.h <<\EOF
6571 #define HAVE_ATANL 1
6574 cat >> confdefs.h <<\EOF
6575 #define HAVE_CEILL 1
6578 cat >> confdefs.h <<\EOF
6579 #define HAVE_COPYSIGNL 1
6582 cat >> confdefs.h <<\EOF
6586 cat >> confdefs.h <<\EOF
6587 #define HAVE_COSHL 1
6590 cat >> confdefs.h <<\EOF
6594 cat >> confdefs.h <<\EOF
6595 #define HAVE_FABSL 1
6598 cat >> confdefs.h <<\EOF
6599 #define HAVE_FINITEL 1
6602 cat >> confdefs.h <<\EOF
6603 #define HAVE_FLOORL 1
6606 cat >> confdefs.h <<\EOF
6607 #define HAVE_FMODL 1
6610 cat >> confdefs.h <<\EOF
6611 #define HAVE_FREXPL 1
6614 cat >> confdefs.h <<\EOF
6615 #define HAVE_ISINFL 1
6618 cat >> confdefs.h <<\EOF
6619 #define HAVE_ISNANL 1
6622 cat >> confdefs.h <<\EOF
6623 #define HAVE_LDEXPL 1
6626 cat >> confdefs.h <<\EOF
6627 #define HAVE_LOG10L 1
6630 cat >> confdefs.h <<\EOF
6634 cat >> confdefs.h <<\EOF
6635 #define HAVE_MODFL 1
6638 cat >> confdefs.h <<\EOF
6642 cat >> confdefs.h <<\EOF
6643 #define HAVE_SINCOSL 1
6646 cat >> confdefs.h <<\EOF
6650 cat >> confdefs.h <<\EOF
6651 #define HAVE_SINHL 1
6654 cat >> confdefs.h <<\EOF
6655 #define HAVE_SQRTL 1
6658 cat >> confdefs.h <<\EOF
6662 cat >> confdefs.h <<\EOF
6663 #define HAVE_TANHL 1
6669 # We are being configured natively. We can do more elaborate tests
6670 # that include AC_TRY_COMPILE now, as the linker is assumed to be
6672 GLIBCPP_IS_CROSS_COMPILING=0
6675 # Check for available headers.
6676 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
6677 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h
6679 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6680 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6681 echo "configure
:6682: checking
for $ac_hdr" >&5
6682 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6683 echo $ac_n "(cached
) $ac_c" 1>&6
6685 cat > conftest.$ac_ext <<EOF
6686 #line 6687 "configure
"
6687 #include "confdefs.h
"
6690 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6691 { (eval echo configure:6692: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6692 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6693 if test -z "$ac_err"; then
6695 eval "ac_cv_header_
$ac_safe=yes"
6698 echo "configure
: failed program was
:" >&5
6699 cat conftest.$ac_ext >&5
6701 eval "ac_cv_header_
$ac_safe=no
"
6705 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6706 echo "$ac_t""yes" 1>&6
6707 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6708 cat >> confdefs.h <<EOF
6709 #define $ac_tr_hdr 1
6713 echo "$ac_t""no
" 1>&6
6719 # All these tests are for C++; save the language and the compiler flags.
6720 # The CXXFLAGS thing is suspicious, but based on similar bits previously
6721 # found in GLIBCPP_CONFIGURE.
6724 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6725 ac_cpp='$CXXCPP $CPPFLAGS'
6726 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6727 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6728 cross_compiling=$ac_cv_prog_cxx_cross
6730 ac_test_CXXFLAGS="${CXXFLAGS+set}"
6731 ac_save_CXXFLAGS="$CXXFLAGS"
6733 # Check for maintainer-mode bits.
6734 if test x"$USE_MAINTAINER_MODE" = xno; then
6740 # Check for -ffunction-sections -fdata-sections
6741 echo $ac_n "checking
for g
++ that supports
-ffunction-sections -fdata-sections""...
$ac_c" 1>&6
6742 echo "configure
:6743: checking
for g
++ that supports
-ffunction-sections -fdata-sections" >&5
6743 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
6744 cat > conftest.$ac_ext <<EOF
6745 #line 6746 "configure
"
6746 #include "confdefs.h
"
6753 if { (eval echo configure:6754: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6757 echo "configure
: failed program was
:" >&5
6758 cat conftest.$ac_ext >&5
6763 if test "$ac_test_CXXFLAGS" = set; then
6764 CXXFLAGS="$ac_save_CXXFLAGS"
6766 # this is the suspicious part
6769 if test x"$ac_fdsections" = x"yes" &&
6770 test x"$enable_debug" = x"no
"; then
6771 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6773 echo "$ac_t""$ac_fdsections" 1>&6
6776 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6777 ac_cpp='$CPP $CPPFLAGS'
6778 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6779 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6780 cross_compiling=$ac_cv_prog_cc_cross
6786 # If we're not using GNU ld, then there's no point in even trying these
6787 # tests. Check for that first. We should have already tested for gld
6788 # by now (in libtool), but require it now just to be safe...
6789 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6790 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6793 # Set --gc-sections.
6794 if test "$ac_cv_prog_gnu_ld" = "notbroken
"; then
6795 # GNU ld it is! Joy and bunny rabbits!
6797 # All these tests are for C++; save the language and the compiler flags.
6798 # Need to do this so that g++ won't try to link in libstdc++
6799 ac_test_CFLAGS="${CFLAGS+set}"
6800 ac_save_CFLAGS="$CFLAGS"
6801 CFLAGS='-x c++ -Wl,--gc-sections'
6803 # Check for -Wl,--gc-sections
6804 # XXX This test is broken at the moment, as symbols required for
6805 # linking are now in libsupc++ (not built yet.....). In addition,
6806 # this test has cored on solaris in the past. In addition,
6807 # --gc-sections doesn't really work at the moment (keeps on discarding
6808 # used sections, first .eh_frame and now some of the glibc sections for
6809 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6810 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
6811 echo "configure
:6812: checking
for ld that supports
-Wl,--gc-sections" >&5
6812 if test "$cross_compiling" = yes; then
6813 ac_sectionLDflags=yes
6815 cat > conftest.$ac_ext <<EOF
6816 #line 6817 "configure
"
6817 #include "confdefs.h
"
6827 if { (eval echo configure:6828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6829 ac_sectionLDflags=yes
6831 echo "configure
: failed program was
:" >&5
6832 cat conftest.$ac_ext >&5
6834 ac_sectionLDflags=no
6839 if test "$ac_test_CFLAGS" = set; then
6840 CFLAGS="$ac_save_CFLAGS"
6842 # this is the suspicious part
6845 if test "$ac_sectionLDflags" = "yes"; then
6846 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6848 echo "$ac_t""$ac_sectionLDflags" 1>&6
6851 # Set linker optimization flags.
6852 if test x"$ac_cv_prog_gnu_ld" = x"yes" &&
6853 test x"$enable_debug" = x"no
"; then
6854 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6862 echo $ac_n "checking
for __builtin_abs declaration
""...
$ac_c" 1>&6
6863 echo "configure
:6864: checking
for __builtin_abs declaration
" >&5
6864 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
6865 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
6866 echo $ac_n "(cached
) $ac_c" 1>&6
6871 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6872 ac_cpp='$CXXCPP $CPPFLAGS'
6873 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6874 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6875 cross_compiling=$ac_cv_prog_cxx_cross
6877 cat > conftest.$ac_ext <<EOF
6878 #line 6879 "configure
"
6879 #include "confdefs.h
"
6885 if { (eval echo configure:6886: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6887 glibcpp_cv_func___builtin_abs_use=yes
6889 echo "configure
: failed program was
:" >&5
6890 cat conftest.$ac_ext >&5
6892 glibcpp_cv_func___builtin_abs_use=no
6896 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6897 ac_cpp='$CPP $CPPFLAGS'
6898 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6899 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6900 cross_compiling=$ac_cv_prog_cc_cross
6906 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
6907 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
6908 echo $ac_n "checking
for __builtin_abs linkage
""...
$ac_c" 1>&6
6909 echo "configure
:6910: checking
for __builtin_abs linkage
" >&5
6910 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
6911 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
6912 echo $ac_n "(cached
) $ac_c" 1>&6
6915 cat > conftest.$ac_ext <<EOF
6916 #line 6917 "configure
"
6917 #include "confdefs.h
"
6923 if { (eval echo configure:6924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6925 glibcpp_cv_func___builtin_abs_link=yes
6927 echo "configure
: failed program was
:" >&5
6928 cat conftest.$ac_ext >&5
6930 glibcpp_cv_func___builtin_abs_link=no
6937 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
6938 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
6939 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6940 cat >> confdefs.h <<EOF
6941 #define ${ac_tr_func} 1
6948 echo $ac_n "checking
for __builtin_fabsf declaration
""...
$ac_c" 1>&6
6949 echo "configure
:6950: checking
for __builtin_fabsf declaration
" >&5
6950 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
6951 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
6952 echo $ac_n "(cached
) $ac_c" 1>&6
6957 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6958 ac_cpp='$CXXCPP $CPPFLAGS'
6959 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6960 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6961 cross_compiling=$ac_cv_prog_cxx_cross
6963 cat > conftest.$ac_ext <<EOF
6964 #line 6965 "configure
"
6965 #include "confdefs.h
"
6971 if { (eval echo configure:6972: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6973 glibcpp_cv_func___builtin_fabsf_use=yes
6975 echo "configure
: failed program was
:" >&5
6976 cat conftest.$ac_ext >&5
6978 glibcpp_cv_func___builtin_fabsf_use=no
6982 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6983 ac_cpp='$CPP $CPPFLAGS'
6984 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6985 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6986 cross_compiling=$ac_cv_prog_cc_cross
6992 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
6993 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
6994 echo $ac_n "checking
for __builtin_fabsf linkage
""...
$ac_c" 1>&6
6995 echo "configure
:6996: checking
for __builtin_fabsf linkage
" >&5
6996 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
6997 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
6998 echo $ac_n "(cached
) $ac_c" 1>&6
7001 cat > conftest.$ac_ext <<EOF
7002 #line 7003 "configure
"
7003 #include "confdefs.h
"
7009 if { (eval echo configure:7010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7011 glibcpp_cv_func___builtin_fabsf_link=yes
7013 echo "configure
: failed program was
:" >&5
7014 cat conftest.$ac_ext >&5
7016 glibcpp_cv_func___builtin_fabsf_link=no
7023 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
7024 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
7025 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7026 cat >> confdefs.h <<EOF
7027 #define ${ac_tr_func} 1
7034 echo $ac_n "checking
for __builtin_fabs declaration
""...
$ac_c" 1>&6
7035 echo "configure
:7036: checking
for __builtin_fabs declaration
" >&5
7036 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
7037 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
7038 echo $ac_n "(cached
) $ac_c" 1>&6
7043 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7044 ac_cpp='$CXXCPP $CPPFLAGS'
7045 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7046 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7047 cross_compiling=$ac_cv_prog_cxx_cross
7049 cat > conftest.$ac_ext <<EOF
7050 #line 7051 "configure
"
7051 #include "confdefs.h
"
7057 if { (eval echo configure:7058: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7059 glibcpp_cv_func___builtin_fabs_use=yes
7061 echo "configure
: failed program was
:" >&5
7062 cat conftest.$ac_ext >&5
7064 glibcpp_cv_func___builtin_fabs_use=no
7068 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7069 ac_cpp='$CPP $CPPFLAGS'
7070 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7071 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7072 cross_compiling=$ac_cv_prog_cc_cross
7078 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
7079 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
7080 echo $ac_n "checking
for __builtin_fabs linkage
""...
$ac_c" 1>&6
7081 echo "configure
:7082: checking
for __builtin_fabs linkage
" >&5
7082 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
7083 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
7084 echo $ac_n "(cached
) $ac_c" 1>&6
7087 cat > conftest.$ac_ext <<EOF
7088 #line 7089 "configure
"
7089 #include "confdefs.h
"
7095 if { (eval echo configure:7096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7097 glibcpp_cv_func___builtin_fabs_link=yes
7099 echo "configure
: failed program was
:" >&5
7100 cat conftest.$ac_ext >&5
7102 glibcpp_cv_func___builtin_fabs_link=no
7109 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
7110 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
7111 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7112 cat >> confdefs.h <<EOF
7113 #define ${ac_tr_func} 1
7120 echo $ac_n "checking
for __builtin_fabsl declaration
""...
$ac_c" 1>&6
7121 echo "configure
:7122: checking
for __builtin_fabsl declaration
" >&5
7122 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
7123 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
7124 echo $ac_n "(cached
) $ac_c" 1>&6
7129 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7130 ac_cpp='$CXXCPP $CPPFLAGS'
7131 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7132 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7133 cross_compiling=$ac_cv_prog_cxx_cross
7135 cat > conftest.$ac_ext <<EOF
7136 #line 7137 "configure
"
7137 #include "confdefs.h
"
7143 if { (eval echo configure:7144: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7145 glibcpp_cv_func___builtin_fabsl_use=yes
7147 echo "configure
: failed program was
:" >&5
7148 cat conftest.$ac_ext >&5
7150 glibcpp_cv_func___builtin_fabsl_use=no
7154 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7155 ac_cpp='$CPP $CPPFLAGS'
7156 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7157 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7158 cross_compiling=$ac_cv_prog_cc_cross
7164 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
7165 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
7166 echo $ac_n "checking
for __builtin_fabsl linkage
""...
$ac_c" 1>&6
7167 echo "configure
:7168: checking
for __builtin_fabsl linkage
" >&5
7168 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
7169 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
7170 echo $ac_n "(cached
) $ac_c" 1>&6
7173 cat > conftest.$ac_ext <<EOF
7174 #line 7175 "configure
"
7175 #include "confdefs.h
"
7181 if { (eval echo configure:7182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7183 glibcpp_cv_func___builtin_fabsl_link=yes
7185 echo "configure
: failed program was
:" >&5
7186 cat conftest.$ac_ext >&5
7188 glibcpp_cv_func___builtin_fabsl_link=no
7195 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
7196 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
7197 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7198 cat >> confdefs.h <<EOF
7199 #define ${ac_tr_func} 1
7206 echo $ac_n "checking
for __builtin_labs declaration
""...
$ac_c" 1>&6
7207 echo "configure
:7208: checking
for __builtin_labs declaration
" >&5
7208 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
7209 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
7210 echo $ac_n "(cached
) $ac_c" 1>&6
7215 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7216 ac_cpp='$CXXCPP $CPPFLAGS'
7217 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7218 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7219 cross_compiling=$ac_cv_prog_cxx_cross
7221 cat > conftest.$ac_ext <<EOF
7222 #line 7223 "configure
"
7223 #include "confdefs.h
"
7229 if { (eval echo configure:7230: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7231 glibcpp_cv_func___builtin_labs_use=yes
7233 echo "configure
: failed program was
:" >&5
7234 cat conftest.$ac_ext >&5
7236 glibcpp_cv_func___builtin_labs_use=no
7240 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7241 ac_cpp='$CPP $CPPFLAGS'
7242 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7243 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7244 cross_compiling=$ac_cv_prog_cc_cross
7250 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
7251 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
7252 echo $ac_n "checking
for __builtin_labs linkage
""...
$ac_c" 1>&6
7253 echo "configure
:7254: checking
for __builtin_labs linkage
" >&5
7254 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
7255 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
7256 echo $ac_n "(cached
) $ac_c" 1>&6
7259 cat > conftest.$ac_ext <<EOF
7260 #line 7261 "configure
"
7261 #include "confdefs.h
"
7267 if { (eval echo configure:7268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7269 glibcpp_cv_func___builtin_labs_link=yes
7271 echo "configure
: failed program was
:" >&5
7272 cat conftest.$ac_ext >&5
7274 glibcpp_cv_func___builtin_labs_link=no
7281 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
7282 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
7283 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7284 cat >> confdefs.h <<EOF
7285 #define ${ac_tr_func} 1
7293 echo $ac_n "checking
for __builtin_sqrtf declaration
""...
$ac_c" 1>&6
7294 echo "configure
:7295: checking
for __builtin_sqrtf declaration
" >&5
7295 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
7296 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
7297 echo $ac_n "(cached
) $ac_c" 1>&6
7302 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7303 ac_cpp='$CXXCPP $CPPFLAGS'
7304 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7305 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7306 cross_compiling=$ac_cv_prog_cxx_cross
7308 cat > conftest.$ac_ext <<EOF
7309 #line 7310 "configure
"
7310 #include "confdefs.h
"
7316 if { (eval echo configure:7317: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7318 glibcpp_cv_func___builtin_sqrtf_use=yes
7320 echo "configure
: failed program was
:" >&5
7321 cat conftest.$ac_ext >&5
7323 glibcpp_cv_func___builtin_sqrtf_use=no
7327 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7328 ac_cpp='$CPP $CPPFLAGS'
7329 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7330 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7331 cross_compiling=$ac_cv_prog_cc_cross
7337 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
7338 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
7339 echo $ac_n "checking
for __builtin_sqrtf linkage
""...
$ac_c" 1>&6
7340 echo "configure
:7341: checking
for __builtin_sqrtf linkage
" >&5
7341 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
7342 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
7343 echo $ac_n "(cached
) $ac_c" 1>&6
7346 cat > conftest.$ac_ext <<EOF
7347 #line 7348 "configure
"
7348 #include "confdefs.h
"
7354 if { (eval echo configure:7355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7356 glibcpp_cv_func___builtin_sqrtf_link=yes
7358 echo "configure
: failed program was
:" >&5
7359 cat conftest.$ac_ext >&5
7361 glibcpp_cv_func___builtin_sqrtf_link=no
7368 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
7369 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
7370 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7371 cat >> confdefs.h <<EOF
7372 #define ${ac_tr_func} 1
7379 echo $ac_n "checking
for __builtin_sqrt declaration
""...
$ac_c" 1>&6
7380 echo "configure
:7381: checking
for __builtin_sqrt declaration
" >&5
7381 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
7382 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
7383 echo $ac_n "(cached
) $ac_c" 1>&6
7388 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7389 ac_cpp='$CXXCPP $CPPFLAGS'
7390 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7391 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7392 cross_compiling=$ac_cv_prog_cxx_cross
7394 cat > conftest.$ac_ext <<EOF
7395 #line 7396 "configure
"
7396 #include "confdefs.h
"
7402 if { (eval echo configure:7403: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7404 glibcpp_cv_func___builtin_sqrt_use=yes
7406 echo "configure
: failed program was
:" >&5
7407 cat conftest.$ac_ext >&5
7409 glibcpp_cv_func___builtin_sqrt_use=no
7413 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7414 ac_cpp='$CPP $CPPFLAGS'
7415 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7416 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7417 cross_compiling=$ac_cv_prog_cc_cross
7423 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
7424 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
7425 echo $ac_n "checking
for __builtin_sqrt linkage
""...
$ac_c" 1>&6
7426 echo "configure
:7427: checking
for __builtin_sqrt linkage
" >&5
7427 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
7428 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
7429 echo $ac_n "(cached
) $ac_c" 1>&6
7432 cat > conftest.$ac_ext <<EOF
7433 #line 7434 "configure
"
7434 #include "confdefs.h
"
7440 if { (eval echo configure:7441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7442 glibcpp_cv_func___builtin_sqrt_link=yes
7444 echo "configure
: failed program was
:" >&5
7445 cat conftest.$ac_ext >&5
7447 glibcpp_cv_func___builtin_sqrt_link=no
7454 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
7455 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
7456 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7457 cat >> confdefs.h <<EOF
7458 #define ${ac_tr_func} 1
7465 echo $ac_n "checking
for __builtin_sqrtl declaration
""...
$ac_c" 1>&6
7466 echo "configure
:7467: checking
for __builtin_sqrtl declaration
" >&5
7467 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
7468 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
7469 echo $ac_n "(cached
) $ac_c" 1>&6
7474 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7475 ac_cpp='$CXXCPP $CPPFLAGS'
7476 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7477 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7478 cross_compiling=$ac_cv_prog_cxx_cross
7480 cat > conftest.$ac_ext <<EOF
7481 #line 7482 "configure
"
7482 #include "confdefs.h
"
7488 if { (eval echo configure:7489: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7490 glibcpp_cv_func___builtin_sqrtl_use=yes
7492 echo "configure
: failed program was
:" >&5
7493 cat conftest.$ac_ext >&5
7495 glibcpp_cv_func___builtin_sqrtl_use=no
7499 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7500 ac_cpp='$CPP $CPPFLAGS'
7501 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7502 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7503 cross_compiling=$ac_cv_prog_cc_cross
7509 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
7510 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
7511 echo $ac_n "checking
for __builtin_sqrtl linkage
""...
$ac_c" 1>&6
7512 echo "configure
:7513: checking
for __builtin_sqrtl linkage
" >&5
7513 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
7514 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
7515 echo $ac_n "(cached
) $ac_c" 1>&6
7518 cat > conftest.$ac_ext <<EOF
7519 #line 7520 "configure
"
7520 #include "confdefs.h
"
7526 if { (eval echo configure:7527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7528 glibcpp_cv_func___builtin_sqrtl_link=yes
7530 echo "configure
: failed program was
:" >&5
7531 cat conftest.$ac_ext >&5
7533 glibcpp_cv_func___builtin_sqrtl_link=no
7540 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
7541 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
7542 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7543 cat >> confdefs.h <<EOF
7544 #define ${ac_tr_func} 1
7552 echo $ac_n "checking
for __builtin_sinf declaration
""...
$ac_c" 1>&6
7553 echo "configure
:7554: checking
for __builtin_sinf declaration
" >&5
7554 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
7555 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
7556 echo $ac_n "(cached
) $ac_c" 1>&6
7561 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7562 ac_cpp='$CXXCPP $CPPFLAGS'
7563 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7564 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7565 cross_compiling=$ac_cv_prog_cxx_cross
7567 cat > conftest.$ac_ext <<EOF
7568 #line 7569 "configure
"
7569 #include "confdefs.h
"
7575 if { (eval echo configure:7576: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7577 glibcpp_cv_func___builtin_sinf_use=yes
7579 echo "configure
: failed program was
:" >&5
7580 cat conftest.$ac_ext >&5
7582 glibcpp_cv_func___builtin_sinf_use=no
7586 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7587 ac_cpp='$CPP $CPPFLAGS'
7588 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7589 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7590 cross_compiling=$ac_cv_prog_cc_cross
7596 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
7597 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
7598 echo $ac_n "checking
for __builtin_sinf linkage
""...
$ac_c" 1>&6
7599 echo "configure
:7600: checking
for __builtin_sinf linkage
" >&5
7600 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
7601 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
7602 echo $ac_n "(cached
) $ac_c" 1>&6
7605 cat > conftest.$ac_ext <<EOF
7606 #line 7607 "configure
"
7607 #include "confdefs.h
"
7613 if { (eval echo configure:7614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7615 glibcpp_cv_func___builtin_sinf_link=yes
7617 echo "configure
: failed program was
:" >&5
7618 cat conftest.$ac_ext >&5
7620 glibcpp_cv_func___builtin_sinf_link=no
7627 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
7628 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
7629 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7630 cat >> confdefs.h <<EOF
7631 #define ${ac_tr_func} 1
7638 echo $ac_n "checking
for __builtin_sin declaration
""...
$ac_c" 1>&6
7639 echo "configure
:7640: checking
for __builtin_sin declaration
" >&5
7640 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
7641 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
7642 echo $ac_n "(cached
) $ac_c" 1>&6
7647 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7648 ac_cpp='$CXXCPP $CPPFLAGS'
7649 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7650 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7651 cross_compiling=$ac_cv_prog_cxx_cross
7653 cat > conftest.$ac_ext <<EOF
7654 #line 7655 "configure
"
7655 #include "confdefs.h
"
7661 if { (eval echo configure:7662: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7663 glibcpp_cv_func___builtin_sin_use=yes
7665 echo "configure
: failed program was
:" >&5
7666 cat conftest.$ac_ext >&5
7668 glibcpp_cv_func___builtin_sin_use=no
7672 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7673 ac_cpp='$CPP $CPPFLAGS'
7674 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7675 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7676 cross_compiling=$ac_cv_prog_cc_cross
7682 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
7683 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
7684 echo $ac_n "checking
for __builtin_sin linkage
""...
$ac_c" 1>&6
7685 echo "configure
:7686: checking
for __builtin_sin linkage
" >&5
7686 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
7687 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
7688 echo $ac_n "(cached
) $ac_c" 1>&6
7691 cat > conftest.$ac_ext <<EOF
7692 #line 7693 "configure
"
7693 #include "confdefs.h
"
7699 if { (eval echo configure:7700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7701 glibcpp_cv_func___builtin_sin_link=yes
7703 echo "configure
: failed program was
:" >&5
7704 cat conftest.$ac_ext >&5
7706 glibcpp_cv_func___builtin_sin_link=no
7713 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
7714 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
7715 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7716 cat >> confdefs.h <<EOF
7717 #define ${ac_tr_func} 1
7724 echo $ac_n "checking
for __builtin_sinl declaration
""...
$ac_c" 1>&6
7725 echo "configure
:7726: checking
for __builtin_sinl declaration
" >&5
7726 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
7727 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
7728 echo $ac_n "(cached
) $ac_c" 1>&6
7733 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7734 ac_cpp='$CXXCPP $CPPFLAGS'
7735 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7736 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7737 cross_compiling=$ac_cv_prog_cxx_cross
7739 cat > conftest.$ac_ext <<EOF
7740 #line 7741 "configure
"
7741 #include "confdefs.h
"
7747 if { (eval echo configure:7748: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7749 glibcpp_cv_func___builtin_sinl_use=yes
7751 echo "configure
: failed program was
:" >&5
7752 cat conftest.$ac_ext >&5
7754 glibcpp_cv_func___builtin_sinl_use=no
7758 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7759 ac_cpp='$CPP $CPPFLAGS'
7760 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7761 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7762 cross_compiling=$ac_cv_prog_cc_cross
7768 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
7769 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
7770 echo $ac_n "checking
for __builtin_sinl linkage
""...
$ac_c" 1>&6
7771 echo "configure
:7772: checking
for __builtin_sinl linkage
" >&5
7772 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
7773 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
7774 echo $ac_n "(cached
) $ac_c" 1>&6
7777 cat > conftest.$ac_ext <<EOF
7778 #line 7779 "configure
"
7779 #include "confdefs.h
"
7785 if { (eval echo configure:7786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7787 glibcpp_cv_func___builtin_sinl_link=yes
7789 echo "configure
: failed program was
:" >&5
7790 cat conftest.$ac_ext >&5
7792 glibcpp_cv_func___builtin_sinl_link=no
7799 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
7800 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
7801 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7802 cat >> confdefs.h <<EOF
7803 #define ${ac_tr_func} 1
7811 echo $ac_n "checking
for __builtin_cosf declaration
""...
$ac_c" 1>&6
7812 echo "configure
:7813: checking
for __builtin_cosf declaration
" >&5
7813 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
7814 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
7815 echo $ac_n "(cached
) $ac_c" 1>&6
7820 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7821 ac_cpp='$CXXCPP $CPPFLAGS'
7822 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7823 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7824 cross_compiling=$ac_cv_prog_cxx_cross
7826 cat > conftest.$ac_ext <<EOF
7827 #line 7828 "configure
"
7828 #include "confdefs.h
"
7834 if { (eval echo configure:7835: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7836 glibcpp_cv_func___builtin_cosf_use=yes
7838 echo "configure
: failed program was
:" >&5
7839 cat conftest.$ac_ext >&5
7841 glibcpp_cv_func___builtin_cosf_use=no
7845 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7846 ac_cpp='$CPP $CPPFLAGS'
7847 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7848 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7849 cross_compiling=$ac_cv_prog_cc_cross
7855 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
7856 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
7857 echo $ac_n "checking
for __builtin_cosf linkage
""...
$ac_c" 1>&6
7858 echo "configure
:7859: checking
for __builtin_cosf linkage
" >&5
7859 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
7860 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
7861 echo $ac_n "(cached
) $ac_c" 1>&6
7864 cat > conftest.$ac_ext <<EOF
7865 #line 7866 "configure
"
7866 #include "confdefs.h
"
7872 if { (eval echo configure:7873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7874 glibcpp_cv_func___builtin_cosf_link=yes
7876 echo "configure
: failed program was
:" >&5
7877 cat conftest.$ac_ext >&5
7879 glibcpp_cv_func___builtin_cosf_link=no
7886 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
7887 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
7888 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7889 cat >> confdefs.h <<EOF
7890 #define ${ac_tr_func} 1
7897 echo $ac_n "checking
for __builtin_cos declaration
""...
$ac_c" 1>&6
7898 echo "configure
:7899: checking
for __builtin_cos declaration
" >&5
7899 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
7900 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
7901 echo $ac_n "(cached
) $ac_c" 1>&6
7906 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7907 ac_cpp='$CXXCPP $CPPFLAGS'
7908 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7909 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7910 cross_compiling=$ac_cv_prog_cxx_cross
7912 cat > conftest.$ac_ext <<EOF
7913 #line 7914 "configure
"
7914 #include "confdefs.h
"
7920 if { (eval echo configure:7921: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7922 glibcpp_cv_func___builtin_cos_use=yes
7924 echo "configure
: failed program was
:" >&5
7925 cat conftest.$ac_ext >&5
7927 glibcpp_cv_func___builtin_cos_use=no
7931 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7932 ac_cpp='$CPP $CPPFLAGS'
7933 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7934 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7935 cross_compiling=$ac_cv_prog_cc_cross
7941 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
7942 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
7943 echo $ac_n "checking
for __builtin_cos linkage
""...
$ac_c" 1>&6
7944 echo "configure
:7945: checking
for __builtin_cos linkage
" >&5
7945 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
7946 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
7947 echo $ac_n "(cached
) $ac_c" 1>&6
7950 cat > conftest.$ac_ext <<EOF
7951 #line 7952 "configure
"
7952 #include "confdefs.h
"
7958 if { (eval echo configure:7959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7960 glibcpp_cv_func___builtin_cos_link=yes
7962 echo "configure
: failed program was
:" >&5
7963 cat conftest.$ac_ext >&5
7965 glibcpp_cv_func___builtin_cos_link=no
7972 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
7973 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
7974 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7975 cat >> confdefs.h <<EOF
7976 #define ${ac_tr_func} 1
7983 echo $ac_n "checking
for __builtin_cosl declaration
""...
$ac_c" 1>&6
7984 echo "configure
:7985: checking
for __builtin_cosl declaration
" >&5
7985 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
7986 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
7987 echo $ac_n "(cached
) $ac_c" 1>&6
7992 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7993 ac_cpp='$CXXCPP $CPPFLAGS'
7994 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7995 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7996 cross_compiling=$ac_cv_prog_cxx_cross
7998 cat > conftest.$ac_ext <<EOF
7999 #line 8000 "configure
"
8000 #include "confdefs.h
"
8006 if { (eval echo configure:8007: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8008 glibcpp_cv_func___builtin_cosl_use=yes
8010 echo "configure
: failed program was
:" >&5
8011 cat conftest.$ac_ext >&5
8013 glibcpp_cv_func___builtin_cosl_use=no
8017 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8018 ac_cpp='$CPP $CPPFLAGS'
8019 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8020 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8021 cross_compiling=$ac_cv_prog_cc_cross
8027 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
8028 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
8029 echo $ac_n "checking
for __builtin_cosl linkage
""...
$ac_c" 1>&6
8030 echo "configure
:8031: checking
for __builtin_cosl linkage
" >&5
8031 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
8032 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
8033 echo $ac_n "(cached
) $ac_c" 1>&6
8036 cat > conftest.$ac_ext <<EOF
8037 #line 8038 "configure
"
8038 #include "confdefs.h
"
8044 if { (eval echo configure:8045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8046 glibcpp_cv_func___builtin_cosl_link=yes
8048 echo "configure
: failed program was
:" >&5
8049 cat conftest.$ac_ext >&5
8051 glibcpp_cv_func___builtin_cosl_link=no
8058 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
8059 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
8060 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8061 cat >> confdefs.h <<EOF
8062 #define ${ac_tr_func} 1
8070 if test x$dummyvar = x"yes"; then
8071 cat >> confdefs.h <<\EOF
8072 #define HAVE___BUILTIN_ABS 1
8075 cat >> confdefs.h <<\EOF
8076 #define HAVE___BUILTIN_LABS 1
8079 cat >> confdefs.h <<\EOF
8080 #define HAVE___BUILTIN_COS 1
8083 cat >> confdefs.h <<\EOF
8084 #define HAVE___BUILTIN_COSF 1
8087 cat >> confdefs.h <<\EOF
8088 #define HAVE___BUILTIN_COSL 1
8091 cat >> confdefs.h <<\EOF
8092 #define HAVE___BUILTIN_FABS 1
8095 cat >> confdefs.h <<\EOF
8096 #define HAVE___BUILTIN_FABSF 1
8099 cat >> confdefs.h <<\EOF
8100 #define HAVE___BUILTIN_FABSL 1
8103 cat >> confdefs.h <<\EOF
8104 #define HAVE___BUILTIN_SIN 1
8107 cat >> confdefs.h <<\EOF
8108 #define HAVE___BUILTIN_SINF 1
8111 cat >> confdefs.h <<\EOF
8112 #define HAVE___BUILTIN_SINL 1
8115 cat >> confdefs.h <<\EOF
8116 #define HAVE___BUILTIN_SQRT 1
8119 cat >> confdefs.h <<\EOF
8120 #define HAVE___BUILTIN_SQRTF 1
8123 cat >> confdefs.h <<\EOF
8124 #define HAVE___BUILTIN_SQRTL 1
8130 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8131 ac_save_CXXFLAGS="$CXXFLAGS"
8132 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
8134 echo $ac_n "checking
for sin
in -lm""...
$ac_c" 1>&6
8135 echo "configure
:8136: checking
for sin
in -lm" >&5
8136 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
8137 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8138 echo $ac_n "(cached
) $ac_c" 1>&6
8140 ac_save_LIBS="$LIBS"
8142 cat > conftest.$ac_ext <<EOF
8143 #line 8144 "configure
"
8144 #include "confdefs.h
"
8145 /* Override any gcc2 internal prototype to avoid an error. */
8146 /* We use char because int might match the return type of a gcc2
8147 builtin and then its argument prototype would still apply. */
8154 if { (eval echo configure:8155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8156 eval "ac_cv_lib_
$ac_lib_var=yes"
8158 echo "configure
: failed program was
:" >&5
8159 cat conftest.$ac_ext >&5
8161 eval "ac_cv_lib_
$ac_lib_var=no
"
8164 LIBS="$ac_save_LIBS"
8167 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8168 echo "$ac_t""yes" 1>&6
8171 echo "$ac_t""no
" 1>&6
8174 ac_save_LIBS="$LIBS"
8179 echo $ac_n "checking
for isinf declaration
""...
$ac_c" 1>&6
8180 echo "configure
:8181: checking
for isinf declaration
" >&5
8181 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
8182 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
8183 echo $ac_n "(cached
) $ac_c" 1>&6
8188 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8189 ac_cpp='$CXXCPP $CPPFLAGS'
8190 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8191 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8192 cross_compiling=$ac_cv_prog_cxx_cross
8194 cat > conftest.$ac_ext <<EOF
8195 #line 8196 "configure
"
8196 #include "confdefs.h
"
8198 #ifdef HAVE_IEEEFP_H
8206 if { (eval echo configure:8207: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8208 glibcpp_cv_func_isinf_use=yes
8210 echo "configure
: failed program was
:" >&5
8211 cat conftest.$ac_ext >&5
8213 glibcpp_cv_func_isinf_use=no
8217 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8218 ac_cpp='$CPP $CPPFLAGS'
8219 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8220 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8221 cross_compiling=$ac_cv_prog_cc_cross
8227 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
8229 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
8230 for ac_func in isinf
8232 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8233 echo "configure
:8234: checking
for $ac_func" >&5
8234 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8235 echo $ac_n "(cached
) $ac_c" 1>&6
8237 cat > conftest.$ac_ext <<EOF
8238 #line 8239 "configure
"
8239 #include "confdefs.h
"
8240 /* System header to define __stub macros and hopefully few prototypes,
8241 which can conflict with char $ac_func(); below. */
8243 /* Override any gcc2 internal prototype to avoid an error. */
8244 /* We use char because int might match the return type of a gcc2
8245 builtin and then its argument prototype would still apply. */
8250 /* The GNU C library defines this for functions which it implements
8251 to always fail with ENOSYS. Some functions are actually named
8252 something starting with __ and the normal name is an alias. */
8253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8261 if { (eval echo configure:8262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8263 eval "ac_cv_func_
$ac_func=yes"
8265 echo "configure
: failed program was
:" >&5
8266 cat conftest.$ac_ext >&5
8268 eval "ac_cv_func_
$ac_func=no
"
8273 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8274 echo "$ac_t""yes" 1>&6
8275 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8276 cat >> confdefs.h <<EOF
8277 #define $ac_tr_func 1
8281 echo "$ac_t""no
" 1>&6
8287 echo $ac_n "checking
for _isinf declaration
""...
$ac_c" 1>&6
8288 echo "configure
:8289: checking
for _isinf declaration
" >&5
8289 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
8290 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
8291 echo $ac_n "(cached
) $ac_c" 1>&6
8296 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8297 ac_cpp='$CXXCPP $CPPFLAGS'
8298 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8299 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8300 cross_compiling=$ac_cv_prog_cxx_cross
8302 cat > conftest.$ac_ext <<EOF
8303 #line 8304 "configure
"
8304 #include "confdefs.h
"
8306 #ifdef HAVE_IEEEFP_H
8314 if { (eval echo configure:8315: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8316 glibcpp_cv_func__isinf_use=yes
8318 echo "configure
: failed program was
:" >&5
8319 cat conftest.$ac_ext >&5
8321 glibcpp_cv_func__isinf_use=no
8325 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8326 ac_cpp='$CPP $CPPFLAGS'
8327 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8328 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8329 cross_compiling=$ac_cv_prog_cc_cross
8335 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
8337 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
8338 for ac_func in _isinf
8340 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8341 echo "configure
:8342: checking
for $ac_func" >&5
8342 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8343 echo $ac_n "(cached
) $ac_c" 1>&6
8345 cat > conftest.$ac_ext <<EOF
8346 #line 8347 "configure
"
8347 #include "confdefs.h
"
8348 /* System header to define __stub macros and hopefully few prototypes,
8349 which can conflict with char $ac_func(); below. */
8351 /* Override any gcc2 internal prototype to avoid an error. */
8352 /* We use char because int might match the return type of a gcc2
8353 builtin and then its argument prototype would still apply. */
8358 /* The GNU C library defines this for functions which it implements
8359 to always fail with ENOSYS. Some functions are actually named
8360 something starting with __ and the normal name is an alias. */
8361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8369 if { (eval echo configure:8370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8371 eval "ac_cv_func_
$ac_func=yes"
8373 echo "configure
: failed program was
:" >&5
8374 cat conftest.$ac_ext >&5
8376 eval "ac_cv_func_
$ac_func=no
"
8381 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8382 echo "$ac_t""yes" 1>&6
8383 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8384 cat >> confdefs.h <<EOF
8385 #define $ac_tr_func 1
8389 echo "$ac_t""no
" 1>&6
8398 echo $ac_n "checking
for isnan declaration
""...
$ac_c" 1>&6
8399 echo "configure
:8400: checking
for isnan declaration
" >&5
8400 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
8401 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
8402 echo $ac_n "(cached
) $ac_c" 1>&6
8407 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8408 ac_cpp='$CXXCPP $CPPFLAGS'
8409 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8410 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8411 cross_compiling=$ac_cv_prog_cxx_cross
8413 cat > conftest.$ac_ext <<EOF
8414 #line 8415 "configure
"
8415 #include "confdefs.h
"
8417 #ifdef HAVE_IEEEFP_H
8425 if { (eval echo configure:8426: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8427 glibcpp_cv_func_isnan_use=yes
8429 echo "configure
: failed program was
:" >&5
8430 cat conftest.$ac_ext >&5
8432 glibcpp_cv_func_isnan_use=no
8436 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8437 ac_cpp='$CPP $CPPFLAGS'
8438 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8439 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8440 cross_compiling=$ac_cv_prog_cc_cross
8446 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
8448 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
8449 for ac_func in isnan
8451 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8452 echo "configure
:8453: checking
for $ac_func" >&5
8453 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8454 echo $ac_n "(cached
) $ac_c" 1>&6
8456 cat > conftest.$ac_ext <<EOF
8457 #line 8458 "configure
"
8458 #include "confdefs.h
"
8459 /* System header to define __stub macros and hopefully few prototypes,
8460 which can conflict with char $ac_func(); below. */
8462 /* Override any gcc2 internal prototype to avoid an error. */
8463 /* We use char because int might match the return type of a gcc2
8464 builtin and then its argument prototype would still apply. */
8469 /* The GNU C library defines this for functions which it implements
8470 to always fail with ENOSYS. Some functions are actually named
8471 something starting with __ and the normal name is an alias. */
8472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8480 if { (eval echo configure:8481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8482 eval "ac_cv_func_
$ac_func=yes"
8484 echo "configure
: failed program was
:" >&5
8485 cat conftest.$ac_ext >&5
8487 eval "ac_cv_func_
$ac_func=no
"
8492 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8493 echo "$ac_t""yes" 1>&6
8494 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8495 cat >> confdefs.h <<EOF
8496 #define $ac_tr_func 1
8500 echo "$ac_t""no
" 1>&6
8506 echo $ac_n "checking
for _isnan declaration
""...
$ac_c" 1>&6
8507 echo "configure
:8508: checking
for _isnan declaration
" >&5
8508 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
8509 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
8510 echo $ac_n "(cached
) $ac_c" 1>&6
8515 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8516 ac_cpp='$CXXCPP $CPPFLAGS'
8517 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8518 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8519 cross_compiling=$ac_cv_prog_cxx_cross
8521 cat > conftest.$ac_ext <<EOF
8522 #line 8523 "configure
"
8523 #include "confdefs.h
"
8525 #ifdef HAVE_IEEEFP_H
8533 if { (eval echo configure:8534: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8535 glibcpp_cv_func__isnan_use=yes
8537 echo "configure
: failed program was
:" >&5
8538 cat conftest.$ac_ext >&5
8540 glibcpp_cv_func__isnan_use=no
8544 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8545 ac_cpp='$CPP $CPPFLAGS'
8546 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8547 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8548 cross_compiling=$ac_cv_prog_cc_cross
8554 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
8556 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
8557 for ac_func in _isnan
8559 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8560 echo "configure
:8561: checking
for $ac_func" >&5
8561 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8562 echo $ac_n "(cached
) $ac_c" 1>&6
8564 cat > conftest.$ac_ext <<EOF
8565 #line 8566 "configure
"
8566 #include "confdefs.h
"
8567 /* System header to define __stub macros and hopefully few prototypes,
8568 which can conflict with char $ac_func(); below. */
8570 /* Override any gcc2 internal prototype to avoid an error. */
8571 /* We use char because int might match the return type of a gcc2
8572 builtin and then its argument prototype would still apply. */
8577 /* The GNU C library defines this for functions which it implements
8578 to always fail with ENOSYS. Some functions are actually named
8579 something starting with __ and the normal name is an alias. */
8580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8588 if { (eval echo configure:8589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8590 eval "ac_cv_func_
$ac_func=yes"
8592 echo "configure
: failed program was
:" >&5
8593 cat conftest.$ac_ext >&5
8595 eval "ac_cv_func_
$ac_func=no
"
8600 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8601 echo "$ac_t""yes" 1>&6
8602 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8603 cat >> confdefs.h <<EOF
8604 #define $ac_tr_func 1
8608 echo "$ac_t""no
" 1>&6
8617 echo $ac_n "checking
for finite declaration
""...
$ac_c" 1>&6
8618 echo "configure
:8619: checking
for finite declaration
" >&5
8619 if test x${glibcpp_cv_func_finite_use+set} != xset; then
8620 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
8621 echo $ac_n "(cached
) $ac_c" 1>&6
8626 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8627 ac_cpp='$CXXCPP $CPPFLAGS'
8628 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8629 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8630 cross_compiling=$ac_cv_prog_cxx_cross
8632 cat > conftest.$ac_ext <<EOF
8633 #line 8634 "configure
"
8634 #include "confdefs.h
"
8636 #ifdef HAVE_IEEEFP_H
8644 if { (eval echo configure:8645: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8646 glibcpp_cv_func_finite_use=yes
8648 echo "configure
: failed program was
:" >&5
8649 cat conftest.$ac_ext >&5
8651 glibcpp_cv_func_finite_use=no
8655 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8656 ac_cpp='$CPP $CPPFLAGS'
8657 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8658 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8659 cross_compiling=$ac_cv_prog_cc_cross
8665 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
8667 if test x$glibcpp_cv_func_finite_use = x"yes"; then
8668 for ac_func in finite
8670 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8671 echo "configure
:8672: checking
for $ac_func" >&5
8672 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8673 echo $ac_n "(cached
) $ac_c" 1>&6
8675 cat > conftest.$ac_ext <<EOF
8676 #line 8677 "configure
"
8677 #include "confdefs.h
"
8678 /* System header to define __stub macros and hopefully few prototypes,
8679 which can conflict with char $ac_func(); below. */
8681 /* Override any gcc2 internal prototype to avoid an error. */
8682 /* We use char because int might match the return type of a gcc2
8683 builtin and then its argument prototype would still apply. */
8688 /* The GNU C library defines this for functions which it implements
8689 to always fail with ENOSYS. Some functions are actually named
8690 something starting with __ and the normal name is an alias. */
8691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8699 if { (eval echo configure:8700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8701 eval "ac_cv_func_
$ac_func=yes"
8703 echo "configure
: failed program was
:" >&5
8704 cat conftest.$ac_ext >&5
8706 eval "ac_cv_func_
$ac_func=no
"
8711 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8712 echo "$ac_t""yes" 1>&6
8713 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8714 cat >> confdefs.h <<EOF
8715 #define $ac_tr_func 1
8719 echo "$ac_t""no
" 1>&6
8725 echo $ac_n "checking
for _finite declaration
""...
$ac_c" 1>&6
8726 echo "configure
:8727: checking
for _finite declaration
" >&5
8727 if test x${glibcpp_cv_func__finite_use+set} != xset; then
8728 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
8729 echo $ac_n "(cached
) $ac_c" 1>&6
8734 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8735 ac_cpp='$CXXCPP $CPPFLAGS'
8736 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8737 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8738 cross_compiling=$ac_cv_prog_cxx_cross
8740 cat > conftest.$ac_ext <<EOF
8741 #line 8742 "configure
"
8742 #include "confdefs.h
"
8744 #ifdef HAVE_IEEEFP_H
8752 if { (eval echo configure:8753: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8754 glibcpp_cv_func__finite_use=yes
8756 echo "configure
: failed program was
:" >&5
8757 cat conftest.$ac_ext >&5
8759 glibcpp_cv_func__finite_use=no
8763 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8764 ac_cpp='$CPP $CPPFLAGS'
8765 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8766 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8767 cross_compiling=$ac_cv_prog_cc_cross
8773 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
8775 if test x$glibcpp_cv_func__finite_use = x"yes"; then
8776 for ac_func in _finite
8778 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8779 echo "configure
:8780: checking
for $ac_func" >&5
8780 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8781 echo $ac_n "(cached
) $ac_c" 1>&6
8783 cat > conftest.$ac_ext <<EOF
8784 #line 8785 "configure
"
8785 #include "confdefs.h
"
8786 /* System header to define __stub macros and hopefully few prototypes,
8787 which can conflict with char $ac_func(); below. */
8789 /* Override any gcc2 internal prototype to avoid an error. */
8790 /* We use char because int might match the return type of a gcc2
8791 builtin and then its argument prototype would still apply. */
8796 /* The GNU C library defines this for functions which it implements
8797 to always fail with ENOSYS. Some functions are actually named
8798 something starting with __ and the normal name is an alias. */
8799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8807 if { (eval echo configure:8808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8809 eval "ac_cv_func_
$ac_func=yes"
8811 echo "configure
: failed program was
:" >&5
8812 cat conftest.$ac_ext >&5
8814 eval "ac_cv_func_
$ac_func=no
"
8819 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8820 echo "$ac_t""yes" 1>&6
8821 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8822 cat >> confdefs.h <<EOF
8823 #define $ac_tr_func 1
8827 echo "$ac_t""no
" 1>&6
8836 echo $ac_n "checking
for copysign declaration
""...
$ac_c" 1>&6
8837 echo "configure
:8838: checking
for copysign declaration
" >&5
8838 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
8839 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
8840 echo $ac_n "(cached
) $ac_c" 1>&6
8845 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8846 ac_cpp='$CXXCPP $CPPFLAGS'
8847 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8848 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8849 cross_compiling=$ac_cv_prog_cxx_cross
8851 cat > conftest.$ac_ext <<EOF
8852 #line 8853 "configure
"
8853 #include "confdefs.h
"
8859 if { (eval echo configure:8860: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8861 glibcpp_cv_func_copysign_use=yes
8863 echo "configure
: failed program was
:" >&5
8864 cat conftest.$ac_ext >&5
8866 glibcpp_cv_func_copysign_use=no
8870 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8871 ac_cpp='$CPP $CPPFLAGS'
8872 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8873 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8874 cross_compiling=$ac_cv_prog_cc_cross
8880 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
8882 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
8883 for ac_func in copysign
8885 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8886 echo "configure
:8887: checking
for $ac_func" >&5
8887 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8888 echo $ac_n "(cached
) $ac_c" 1>&6
8890 cat > conftest.$ac_ext <<EOF
8891 #line 8892 "configure
"
8892 #include "confdefs.h
"
8893 /* System header to define __stub macros and hopefully few prototypes,
8894 which can conflict with char $ac_func(); below. */
8896 /* Override any gcc2 internal prototype to avoid an error. */
8897 /* We use char because int might match the return type of a gcc2
8898 builtin and then its argument prototype would still apply. */
8903 /* The GNU C library defines this for functions which it implements
8904 to always fail with ENOSYS. Some functions are actually named
8905 something starting with __ and the normal name is an alias. */
8906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8914 if { (eval echo configure:8915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8916 eval "ac_cv_func_
$ac_func=yes"
8918 echo "configure
: failed program was
:" >&5
8919 cat conftest.$ac_ext >&5
8921 eval "ac_cv_func_
$ac_func=no
"
8926 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8927 echo "$ac_t""yes" 1>&6
8928 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8929 cat >> confdefs.h <<EOF
8930 #define $ac_tr_func 1
8934 echo "$ac_t""no
" 1>&6
8940 echo $ac_n "checking
for _copysign declaration
""...
$ac_c" 1>&6
8941 echo "configure
:8942: checking
for _copysign declaration
" >&5
8942 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
8943 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
8944 echo $ac_n "(cached
) $ac_c" 1>&6
8949 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8950 ac_cpp='$CXXCPP $CPPFLAGS'
8951 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8952 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8953 cross_compiling=$ac_cv_prog_cxx_cross
8955 cat > conftest.$ac_ext <<EOF
8956 #line 8957 "configure
"
8957 #include "confdefs.h
"
8963 if { (eval echo configure:8964: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8965 glibcpp_cv_func__copysign_use=yes
8967 echo "configure
: failed program was
:" >&5
8968 cat conftest.$ac_ext >&5
8970 glibcpp_cv_func__copysign_use=no
8974 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8975 ac_cpp='$CPP $CPPFLAGS'
8976 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8977 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8978 cross_compiling=$ac_cv_prog_cc_cross
8984 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
8986 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
8987 for ac_func in _copysign
8989 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8990 echo "configure
:8991: checking
for $ac_func" >&5
8991 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8992 echo $ac_n "(cached
) $ac_c" 1>&6
8994 cat > conftest.$ac_ext <<EOF
8995 #line 8996 "configure
"
8996 #include "confdefs.h
"
8997 /* System header to define __stub macros and hopefully few prototypes,
8998 which can conflict with char $ac_func(); below. */
9000 /* Override any gcc2 internal prototype to avoid an error. */
9001 /* We use char because int might match the return type of a gcc2
9002 builtin and then its argument prototype would still apply. */
9007 /* The GNU C library defines this for functions which it implements
9008 to always fail with ENOSYS. Some functions are actually named
9009 something starting with __ and the normal name is an alias. */
9010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9018 if { (eval echo configure:9019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9020 eval "ac_cv_func_
$ac_func=yes"
9022 echo "configure
: failed program was
:" >&5
9023 cat conftest.$ac_ext >&5
9025 eval "ac_cv_func_
$ac_func=no
"
9030 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9031 echo "$ac_t""yes" 1>&6
9032 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9033 cat >> confdefs.h <<EOF
9034 #define $ac_tr_func 1
9038 echo "$ac_t""no
" 1>&6
9047 echo $ac_n "checking
for sincos declaration
""...
$ac_c" 1>&6
9048 echo "configure
:9049: checking
for sincos declaration
" >&5
9049 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
9050 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
9051 echo $ac_n "(cached
) $ac_c" 1>&6
9056 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9057 ac_cpp='$CXXCPP $CPPFLAGS'
9058 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9059 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9060 cross_compiling=$ac_cv_prog_cxx_cross
9062 cat > conftest.$ac_ext <<EOF
9063 #line 9064 "configure
"
9064 #include "confdefs.h
"
9070 if { (eval echo configure:9071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9072 glibcpp_cv_func_sincos_use=yes
9074 echo "configure
: failed program was
:" >&5
9075 cat conftest.$ac_ext >&5
9077 glibcpp_cv_func_sincos_use=no
9081 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9082 ac_cpp='$CPP $CPPFLAGS'
9083 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9084 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9085 cross_compiling=$ac_cv_prog_cc_cross
9091 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
9093 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
9094 for ac_func in sincos
9096 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9097 echo "configure
:9098: checking
for $ac_func" >&5
9098 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9099 echo $ac_n "(cached
) $ac_c" 1>&6
9101 cat > conftest.$ac_ext <<EOF
9102 #line 9103 "configure
"
9103 #include "confdefs.h
"
9104 /* System header to define __stub macros and hopefully few prototypes,
9105 which can conflict with char $ac_func(); below. */
9107 /* Override any gcc2 internal prototype to avoid an error. */
9108 /* We use char because int might match the return type of a gcc2
9109 builtin and then its argument prototype would still apply. */
9114 /* The GNU C library defines this for functions which it implements
9115 to always fail with ENOSYS. Some functions are actually named
9116 something starting with __ and the normal name is an alias. */
9117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9125 if { (eval echo configure:9126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9127 eval "ac_cv_func_
$ac_func=yes"
9129 echo "configure
: failed program was
:" >&5
9130 cat conftest.$ac_ext >&5
9132 eval "ac_cv_func_
$ac_func=no
"
9137 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9138 echo "$ac_t""yes" 1>&6
9139 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9140 cat >> confdefs.h <<EOF
9141 #define $ac_tr_func 1
9145 echo "$ac_t""no
" 1>&6
9151 echo $ac_n "checking
for _sincos declaration
""...
$ac_c" 1>&6
9152 echo "configure
:9153: checking
for _sincos declaration
" >&5
9153 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
9154 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
9155 echo $ac_n "(cached
) $ac_c" 1>&6
9160 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9161 ac_cpp='$CXXCPP $CPPFLAGS'
9162 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9163 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9164 cross_compiling=$ac_cv_prog_cxx_cross
9166 cat > conftest.$ac_ext <<EOF
9167 #line 9168 "configure
"
9168 #include "confdefs.h
"
9174 if { (eval echo configure:9175: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9176 glibcpp_cv_func__sincos_use=yes
9178 echo "configure
: failed program was
:" >&5
9179 cat conftest.$ac_ext >&5
9181 glibcpp_cv_func__sincos_use=no
9185 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9186 ac_cpp='$CPP $CPPFLAGS'
9187 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9188 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9189 cross_compiling=$ac_cv_prog_cc_cross
9195 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
9197 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
9198 for ac_func in _sincos
9200 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9201 echo "configure
:9202: checking
for $ac_func" >&5
9202 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9203 echo $ac_n "(cached
) $ac_c" 1>&6
9205 cat > conftest.$ac_ext <<EOF
9206 #line 9207 "configure
"
9207 #include "confdefs.h
"
9208 /* System header to define __stub macros and hopefully few prototypes,
9209 which can conflict with char $ac_func(); below. */
9211 /* Override any gcc2 internal prototype to avoid an error. */
9212 /* We use char because int might match the return type of a gcc2
9213 builtin and then its argument prototype would still apply. */
9218 /* The GNU C library defines this for functions which it implements
9219 to always fail with ENOSYS. Some functions are actually named
9220 something starting with __ and the normal name is an alias. */
9221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9229 if { (eval echo configure:9230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9231 eval "ac_cv_func_
$ac_func=yes"
9233 echo "configure
: failed program was
:" >&5
9234 cat conftest.$ac_ext >&5
9236 eval "ac_cv_func_
$ac_func=no
"
9241 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9242 echo "$ac_t""yes" 1>&6
9243 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9244 cat >> confdefs.h <<EOF
9245 #define $ac_tr_func 1
9249 echo "$ac_t""no
" 1>&6
9258 echo $ac_n "checking
for fpclass declaration
""...
$ac_c" 1>&6
9259 echo "configure
:9260: checking
for fpclass declaration
" >&5
9260 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
9261 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
9262 echo $ac_n "(cached
) $ac_c" 1>&6
9267 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9268 ac_cpp='$CXXCPP $CPPFLAGS'
9269 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9270 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9271 cross_compiling=$ac_cv_prog_cxx_cross
9273 cat > conftest.$ac_ext <<EOF
9274 #line 9275 "configure
"
9275 #include "confdefs.h
"
9277 #ifdef HAVE_IEEEFP_H
9285 if { (eval echo configure:9286: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9287 glibcpp_cv_func_fpclass_use=yes
9289 echo "configure
: failed program was
:" >&5
9290 cat conftest.$ac_ext >&5
9292 glibcpp_cv_func_fpclass_use=no
9296 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9297 ac_cpp='$CPP $CPPFLAGS'
9298 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9299 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9300 cross_compiling=$ac_cv_prog_cc_cross
9306 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
9308 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
9309 for ac_func in fpclass
9311 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9312 echo "configure
:9313: checking
for $ac_func" >&5
9313 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9314 echo $ac_n "(cached
) $ac_c" 1>&6
9316 cat > conftest.$ac_ext <<EOF
9317 #line 9318 "configure
"
9318 #include "confdefs.h
"
9319 /* System header to define __stub macros and hopefully few prototypes,
9320 which can conflict with char $ac_func(); below. */
9322 /* Override any gcc2 internal prototype to avoid an error. */
9323 /* We use char because int might match the return type of a gcc2
9324 builtin and then its argument prototype would still apply. */
9329 /* The GNU C library defines this for functions which it implements
9330 to always fail with ENOSYS. Some functions are actually named
9331 something starting with __ and the normal name is an alias. */
9332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9340 if { (eval echo configure:9341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9342 eval "ac_cv_func_
$ac_func=yes"
9344 echo "configure
: failed program was
:" >&5
9345 cat conftest.$ac_ext >&5
9347 eval "ac_cv_func_
$ac_func=no
"
9352 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9353 echo "$ac_t""yes" 1>&6
9354 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9355 cat >> confdefs.h <<EOF
9356 #define $ac_tr_func 1
9360 echo "$ac_t""no
" 1>&6
9366 echo $ac_n "checking
for _fpclass declaration
""...
$ac_c" 1>&6
9367 echo "configure
:9368: checking
for _fpclass declaration
" >&5
9368 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
9369 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
9370 echo $ac_n "(cached
) $ac_c" 1>&6
9375 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9376 ac_cpp='$CXXCPP $CPPFLAGS'
9377 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9378 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9379 cross_compiling=$ac_cv_prog_cxx_cross
9381 cat > conftest.$ac_ext <<EOF
9382 #line 9383 "configure
"
9383 #include "confdefs.h
"
9385 #ifdef HAVE_IEEEFP_H
9393 if { (eval echo configure:9394: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9395 glibcpp_cv_func__fpclass_use=yes
9397 echo "configure
: failed program was
:" >&5
9398 cat conftest.$ac_ext >&5
9400 glibcpp_cv_func__fpclass_use=no
9404 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9405 ac_cpp='$CPP $CPPFLAGS'
9406 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9407 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9408 cross_compiling=$ac_cv_prog_cc_cross
9414 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
9416 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
9417 for ac_func in _fpclass
9419 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9420 echo "configure
:9421: checking
for $ac_func" >&5
9421 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9422 echo $ac_n "(cached
) $ac_c" 1>&6
9424 cat > conftest.$ac_ext <<EOF
9425 #line 9426 "configure
"
9426 #include "confdefs.h
"
9427 /* System header to define __stub macros and hopefully few prototypes,
9428 which can conflict with char $ac_func(); below. */
9430 /* Override any gcc2 internal prototype to avoid an error. */
9431 /* We use char because int might match the return type of a gcc2
9432 builtin and then its argument prototype would still apply. */
9437 /* The GNU C library defines this for functions which it implements
9438 to always fail with ENOSYS. Some functions are actually named
9439 something starting with __ and the normal name is an alias. */
9440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9448 if { (eval echo configure:9449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9450 eval "ac_cv_func_
$ac_func=yes"
9452 echo "configure
: failed program was
:" >&5
9453 cat conftest.$ac_ext >&5
9455 eval "ac_cv_func_
$ac_func=no
"
9460 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9461 echo "$ac_t""yes" 1>&6
9462 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9463 cat >> confdefs.h <<EOF
9464 #define $ac_tr_func 1
9468 echo "$ac_t""no
" 1>&6
9477 echo $ac_n "checking
for qfpclass declaration
""...
$ac_c" 1>&6
9478 echo "configure
:9479: checking
for qfpclass declaration
" >&5
9479 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
9480 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
9481 echo $ac_n "(cached
) $ac_c" 1>&6
9486 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9487 ac_cpp='$CXXCPP $CPPFLAGS'
9488 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9489 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9490 cross_compiling=$ac_cv_prog_cxx_cross
9492 cat > conftest.$ac_ext <<EOF
9493 #line 9494 "configure
"
9494 #include "confdefs.h
"
9496 #ifdef HAVE_IEEEFP_H
9504 if { (eval echo configure:9505: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9506 glibcpp_cv_func_qfpclass_use=yes
9508 echo "configure
: failed program was
:" >&5
9509 cat conftest.$ac_ext >&5
9511 glibcpp_cv_func_qfpclass_use=no
9515 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9516 ac_cpp='$CPP $CPPFLAGS'
9517 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9518 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9519 cross_compiling=$ac_cv_prog_cc_cross
9525 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
9527 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
9528 for ac_func in qfpclass
9530 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9531 echo "configure
:9532: checking
for $ac_func" >&5
9532 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9533 echo $ac_n "(cached
) $ac_c" 1>&6
9535 cat > conftest.$ac_ext <<EOF
9536 #line 9537 "configure
"
9537 #include "confdefs.h
"
9538 /* System header to define __stub macros and hopefully few prototypes,
9539 which can conflict with char $ac_func(); below. */
9541 /* Override any gcc2 internal prototype to avoid an error. */
9542 /* We use char because int might match the return type of a gcc2
9543 builtin and then its argument prototype would still apply. */
9548 /* The GNU C library defines this for functions which it implements
9549 to always fail with ENOSYS. Some functions are actually named
9550 something starting with __ and the normal name is an alias. */
9551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9559 if { (eval echo configure:9560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9561 eval "ac_cv_func_
$ac_func=yes"
9563 echo "configure
: failed program was
:" >&5
9564 cat conftest.$ac_ext >&5
9566 eval "ac_cv_func_
$ac_func=no
"
9571 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9572 echo "$ac_t""yes" 1>&6
9573 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9574 cat >> confdefs.h <<EOF
9575 #define $ac_tr_func 1
9579 echo "$ac_t""no
" 1>&6
9585 echo $ac_n "checking
for _qfpclass declaration
""...
$ac_c" 1>&6
9586 echo "configure
:9587: checking
for _qfpclass declaration
" >&5
9587 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
9588 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
9589 echo $ac_n "(cached
) $ac_c" 1>&6
9594 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9595 ac_cpp='$CXXCPP $CPPFLAGS'
9596 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9597 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9598 cross_compiling=$ac_cv_prog_cxx_cross
9600 cat > conftest.$ac_ext <<EOF
9601 #line 9602 "configure
"
9602 #include "confdefs.h
"
9604 #ifdef HAVE_IEEEFP_H
9612 if { (eval echo configure:9613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9614 glibcpp_cv_func__qfpclass_use=yes
9616 echo "configure
: failed program was
:" >&5
9617 cat conftest.$ac_ext >&5
9619 glibcpp_cv_func__qfpclass_use=no
9623 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9624 ac_cpp='$CPP $CPPFLAGS'
9625 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9626 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9627 cross_compiling=$ac_cv_prog_cc_cross
9633 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
9635 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
9636 for ac_func in _qfpclass
9638 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9639 echo "configure
:9640: checking
for $ac_func" >&5
9640 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9641 echo $ac_n "(cached
) $ac_c" 1>&6
9643 cat > conftest.$ac_ext <<EOF
9644 #line 9645 "configure
"
9645 #include "confdefs.h
"
9646 /* System header to define __stub macros and hopefully few prototypes,
9647 which can conflict with char $ac_func(); below. */
9649 /* Override any gcc2 internal prototype to avoid an error. */
9650 /* We use char because int might match the return type of a gcc2
9651 builtin and then its argument prototype would still apply. */
9656 /* The GNU C library defines this for functions which it implements
9657 to always fail with ENOSYS. Some functions are actually named
9658 something starting with __ and the normal name is an alias. */
9659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9667 if { (eval echo configure:9668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9669 eval "ac_cv_func_
$ac_func=yes"
9671 echo "configure
: failed program was
:" >&5
9672 cat conftest.$ac_ext >&5
9674 eval "ac_cv_func_
$ac_func=no
"
9679 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9680 echo "$ac_t""yes" 1>&6
9681 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9682 cat >> confdefs.h <<EOF
9683 #define $ac_tr_func 1
9687 echo "$ac_t""no
" 1>&6
9696 echo $ac_n "checking
for hypot declaration
""...
$ac_c" 1>&6
9697 echo "configure
:9698: checking
for hypot declaration
" >&5
9698 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
9699 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
9700 echo $ac_n "(cached
) $ac_c" 1>&6
9705 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9706 ac_cpp='$CXXCPP $CPPFLAGS'
9707 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9708 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9709 cross_compiling=$ac_cv_prog_cxx_cross
9711 cat > conftest.$ac_ext <<EOF
9712 #line 9713 "configure
"
9713 #include "confdefs.h
"
9719 if { (eval echo configure:9720: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9721 glibcpp_cv_func_hypot_use=yes
9723 echo "configure
: failed program was
:" >&5
9724 cat conftest.$ac_ext >&5
9726 glibcpp_cv_func_hypot_use=no
9730 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9731 ac_cpp='$CPP $CPPFLAGS'
9732 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9733 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9734 cross_compiling=$ac_cv_prog_cc_cross
9740 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
9742 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
9743 for ac_func in hypot
9745 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9746 echo "configure
:9747: checking
for $ac_func" >&5
9747 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9748 echo $ac_n "(cached
) $ac_c" 1>&6
9750 cat > conftest.$ac_ext <<EOF
9751 #line 9752 "configure
"
9752 #include "confdefs.h
"
9753 /* System header to define __stub macros and hopefully few prototypes,
9754 which can conflict with char $ac_func(); below. */
9756 /* Override any gcc2 internal prototype to avoid an error. */
9757 /* We use char because int might match the return type of a gcc2
9758 builtin and then its argument prototype would still apply. */
9763 /* The GNU C library defines this for functions which it implements
9764 to always fail with ENOSYS. Some functions are actually named
9765 something starting with __ and the normal name is an alias. */
9766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9774 if { (eval echo configure:9775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9776 eval "ac_cv_func_
$ac_func=yes"
9778 echo "configure
: failed program was
:" >&5
9779 cat conftest.$ac_ext >&5
9781 eval "ac_cv_func_
$ac_func=no
"
9786 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9787 echo "$ac_t""yes" 1>&6
9788 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9789 cat >> confdefs.h <<EOF
9790 #define $ac_tr_func 1
9794 echo "$ac_t""no
" 1>&6
9800 echo $ac_n "checking
for _hypot declaration
""...
$ac_c" 1>&6
9801 echo "configure
:9802: checking
for _hypot declaration
" >&5
9802 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
9803 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
9804 echo $ac_n "(cached
) $ac_c" 1>&6
9809 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9810 ac_cpp='$CXXCPP $CPPFLAGS'
9811 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9812 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9813 cross_compiling=$ac_cv_prog_cxx_cross
9815 cat > conftest.$ac_ext <<EOF
9816 #line 9817 "configure
"
9817 #include "confdefs.h
"
9823 if { (eval echo configure:9824: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9825 glibcpp_cv_func__hypot_use=yes
9827 echo "configure
: failed program was
:" >&5
9828 cat conftest.$ac_ext >&5
9830 glibcpp_cv_func__hypot_use=no
9834 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9835 ac_cpp='$CPP $CPPFLAGS'
9836 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9837 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9838 cross_compiling=$ac_cv_prog_cc_cross
9844 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
9846 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
9847 for ac_func in _hypot
9849 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9850 echo "configure
:9851: checking
for $ac_func" >&5
9851 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9852 echo $ac_n "(cached
) $ac_c" 1>&6
9854 cat > conftest.$ac_ext <<EOF
9855 #line 9856 "configure
"
9856 #include "confdefs.h
"
9857 /* System header to define __stub macros and hopefully few prototypes,
9858 which can conflict with char $ac_func(); below. */
9860 /* Override any gcc2 internal prototype to avoid an error. */
9861 /* We use char because int might match the return type of a gcc2
9862 builtin and then its argument prototype would still apply. */
9867 /* The GNU C library defines this for functions which it implements
9868 to always fail with ENOSYS. Some functions are actually named
9869 something starting with __ and the normal name is an alias. */
9870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9878 if { (eval echo configure:9879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9880 eval "ac_cv_func_
$ac_func=yes"
9882 echo "configure
: failed program was
:" >&5
9883 cat conftest.$ac_ext >&5
9885 eval "ac_cv_func_
$ac_func=no
"
9890 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9891 echo "$ac_t""yes" 1>&6
9892 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9893 cat >> confdefs.h <<EOF
9894 #define $ac_tr_func 1
9898 echo "$ac_t""no
" 1>&6
9907 echo $ac_n "checking
for float trig functions
""...
$ac_c" 1>&6
9908 echo "configure
:9909: checking
for float trig functions
" >&5
9909 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
9910 echo $ac_n "(cached
) $ac_c" 1>&6
9915 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9916 ac_cpp='$CXXCPP $CPPFLAGS'
9917 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9918 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9919 cross_compiling=$ac_cv_prog_cxx_cross
9921 cat > conftest.$ac_ext <<EOF
9922 #line 9923 "configure
"
9923 #include "confdefs.h
"
9926 `for x in acosf asinf atanf \
9928 coshf sinhf tanhf; do echo "$x (0);"; done`
9931 if { (eval echo configure:9932: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9933 glibcpp_cv_func_float_trig_use=yes
9935 echo "configure
: failed program was
:" >&5
9936 cat conftest.$ac_ext >&5
9938 glibcpp_cv_func_float_trig_use=no
9942 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9943 ac_cpp='$CPP $CPPFLAGS'
9944 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9945 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9946 cross_compiling=$ac_cv_prog_cc_cross
9950 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
9951 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
9952 for ac_func in acosf asinf atanf \
9956 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9957 echo "configure
:9958: checking
for $ac_func" >&5
9958 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9959 echo $ac_n "(cached
) $ac_c" 1>&6
9961 cat > conftest.$ac_ext <<EOF
9962 #line 9963 "configure
"
9963 #include "confdefs.h
"
9964 /* System header to define __stub macros and hopefully few prototypes,
9965 which can conflict with char $ac_func(); below. */
9967 /* Override any gcc2 internal prototype to avoid an error. */
9968 /* We use char because int might match the return type of a gcc2
9969 builtin and then its argument prototype would still apply. */
9974 /* The GNU C library defines this for functions which it implements
9975 to always fail with ENOSYS. Some functions are actually named
9976 something starting with __ and the normal name is an alias. */
9977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9985 if { (eval echo configure:9986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9987 eval "ac_cv_func_
$ac_func=yes"
9989 echo "configure
: failed program was
:" >&5
9990 cat conftest.$ac_ext >&5
9992 eval "ac_cv_func_
$ac_func=no
"
9997 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9998 echo "$ac_t""yes" 1>&6
9999 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10000 cat >> confdefs.h <<EOF
10001 #define $ac_tr_func 1
10005 echo "$ac_t""no
" 1>&6
10012 echo $ac_n "checking
for float round functions
""...
$ac_c" 1>&6
10013 echo "configure
:10014: checking
for float round functions
" >&5
10014 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
10015 echo $ac_n "(cached
) $ac_c" 1>&6
10020 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10021 ac_cpp='$CXXCPP $CPPFLAGS'
10022 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10023 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10024 cross_compiling=$ac_cv_prog_cxx_cross
10026 cat > conftest.$ac_ext <<EOF
10027 #line 10028 "configure
"
10028 #include "confdefs.h
"
10031 `for x in ceilf floorf; do echo "$x (0);"; done`
10034 if { (eval echo configure:10035: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10036 glibcpp_cv_func_float_round_use=yes
10038 echo "configure
: failed program was
:" >&5
10039 cat conftest.$ac_ext >&5
10041 glibcpp_cv_func_float_round_use=no
10045 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10046 ac_cpp='$CPP $CPPFLAGS'
10047 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10048 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10049 cross_compiling=$ac_cv_prog_cc_cross
10053 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
10054 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
10055 for ac_func in ceilf floorf
10057 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10058 echo "configure
:10059: checking
for $ac_func" >&5
10059 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10060 echo $ac_n "(cached
) $ac_c" 1>&6
10062 cat > conftest.$ac_ext <<EOF
10063 #line 10064 "configure
"
10064 #include "confdefs.h
"
10065 /* System header to define __stub macros and hopefully few prototypes,
10066 which can conflict with char $ac_func(); below. */
10067 #include <assert.h>
10068 /* Override any gcc2 internal prototype to avoid an error. */
10069 /* We use char because int might match the return type of a gcc2
10070 builtin and then its argument prototype would still apply. */
10075 /* The GNU C library defines this for functions which it implements
10076 to always fail with ENOSYS. Some functions are actually named
10077 something starting with __ and the normal name is an alias. */
10078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10086 if { (eval echo configure:10087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10088 eval "ac_cv_func_
$ac_func=yes"
10090 echo "configure
: failed program was
:" >&5
10091 cat conftest.$ac_ext >&5
10093 eval "ac_cv_func_
$ac_func=no
"
10098 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10099 echo "$ac_t""yes" 1>&6
10100 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10101 cat >> confdefs.h <<EOF
10102 #define $ac_tr_func 1
10106 echo "$ac_t""no
" 1>&6
10114 echo $ac_n "checking
for isnanf declaration
""...
$ac_c" 1>&6
10115 echo "configure
:10116: checking
for isnanf declaration
" >&5
10116 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
10117 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
10118 echo $ac_n "(cached
) $ac_c" 1>&6
10123 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10124 ac_cpp='$CXXCPP $CPPFLAGS'
10125 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10126 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10127 cross_compiling=$ac_cv_prog_cxx_cross
10129 cat > conftest.$ac_ext <<EOF
10130 #line 10131 "configure
"
10131 #include "confdefs.h
"
10133 #ifdef HAVE_IEEEFP_H
10134 #include <ieeefp.h>
10141 if { (eval echo configure:10142: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10143 glibcpp_cv_func_isnanf_use=yes
10145 echo "configure
: failed program was
:" >&5
10146 cat conftest.$ac_ext >&5
10148 glibcpp_cv_func_isnanf_use=no
10152 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10153 ac_cpp='$CPP $CPPFLAGS'
10154 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10155 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10156 cross_compiling=$ac_cv_prog_cc_cross
10162 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
10164 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
10165 for ac_func in isnanf
10167 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10168 echo "configure
:10169: checking
for $ac_func" >&5
10169 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10170 echo $ac_n "(cached
) $ac_c" 1>&6
10172 cat > conftest.$ac_ext <<EOF
10173 #line 10174 "configure
"
10174 #include "confdefs.h
"
10175 /* System header to define __stub macros and hopefully few prototypes,
10176 which can conflict with char $ac_func(); below. */
10177 #include <assert.h>
10178 /* Override any gcc2 internal prototype to avoid an error. */
10179 /* We use char because int might match the return type of a gcc2
10180 builtin and then its argument prototype would still apply. */
10185 /* The GNU C library defines this for functions which it implements
10186 to always fail with ENOSYS. Some functions are actually named
10187 something starting with __ and the normal name is an alias. */
10188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10196 if { (eval echo configure:10197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10198 eval "ac_cv_func_
$ac_func=yes"
10200 echo "configure
: failed program was
:" >&5
10201 cat conftest.$ac_ext >&5
10203 eval "ac_cv_func_
$ac_func=no
"
10208 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10209 echo "$ac_t""yes" 1>&6
10210 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10211 cat >> confdefs.h <<EOF
10212 #define $ac_tr_func 1
10216 echo "$ac_t""no
" 1>&6
10222 echo $ac_n "checking
for _isnanf declaration
""...
$ac_c" 1>&6
10223 echo "configure
:10224: checking
for _isnanf declaration
" >&5
10224 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
10225 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
10226 echo $ac_n "(cached
) $ac_c" 1>&6
10231 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10232 ac_cpp='$CXXCPP $CPPFLAGS'
10233 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10234 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10235 cross_compiling=$ac_cv_prog_cxx_cross
10237 cat > conftest.$ac_ext <<EOF
10238 #line 10239 "configure
"
10239 #include "confdefs.h
"
10241 #ifdef HAVE_IEEEFP_H
10242 #include <ieeefp.h>
10249 if { (eval echo configure:10250: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10251 glibcpp_cv_func__isnanf_use=yes
10253 echo "configure
: failed program was
:" >&5
10254 cat conftest.$ac_ext >&5
10256 glibcpp_cv_func__isnanf_use=no
10260 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10261 ac_cpp='$CPP $CPPFLAGS'
10262 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10263 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10264 cross_compiling=$ac_cv_prog_cc_cross
10270 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
10272 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
10273 for ac_func in _isnanf
10275 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10276 echo "configure
:10277: checking
for $ac_func" >&5
10277 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10278 echo $ac_n "(cached
) $ac_c" 1>&6
10280 cat > conftest.$ac_ext <<EOF
10281 #line 10282 "configure
"
10282 #include "confdefs.h
"
10283 /* System header to define __stub macros and hopefully few prototypes,
10284 which can conflict with char $ac_func(); below. */
10285 #include <assert.h>
10286 /* Override any gcc2 internal prototype to avoid an error. */
10287 /* We use char because int might match the return type of a gcc2
10288 builtin and then its argument prototype would still apply. */
10293 /* The GNU C library defines this for functions which it implements
10294 to always fail with ENOSYS. Some functions are actually named
10295 something starting with __ and the normal name is an alias. */
10296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10304 if { (eval echo configure:10305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10306 eval "ac_cv_func_
$ac_func=yes"
10308 echo "configure
: failed program was
:" >&5
10309 cat conftest.$ac_ext >&5
10311 eval "ac_cv_func_
$ac_func=no
"
10316 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10317 echo "$ac_t""yes" 1>&6
10318 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10319 cat >> confdefs.h <<EOF
10320 #define $ac_tr_func 1
10324 echo "$ac_t""no
" 1>&6
10333 echo $ac_n "checking
for isinff declaration
""...
$ac_c" 1>&6
10334 echo "configure
:10335: checking
for isinff declaration
" >&5
10335 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
10336 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
10337 echo $ac_n "(cached
) $ac_c" 1>&6
10342 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10343 ac_cpp='$CXXCPP $CPPFLAGS'
10344 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10345 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10346 cross_compiling=$ac_cv_prog_cxx_cross
10348 cat > conftest.$ac_ext <<EOF
10349 #line 10350 "configure
"
10350 #include "confdefs.h
"
10352 #ifdef HAVE_IEEEFP_H
10353 #include <ieeefp.h>
10360 if { (eval echo configure:10361: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10362 glibcpp_cv_func_isinff_use=yes
10364 echo "configure
: failed program was
:" >&5
10365 cat conftest.$ac_ext >&5
10367 glibcpp_cv_func_isinff_use=no
10371 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10372 ac_cpp='$CPP $CPPFLAGS'
10373 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10374 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10375 cross_compiling=$ac_cv_prog_cc_cross
10381 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
10383 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
10384 for ac_func in isinff
10386 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10387 echo "configure
:10388: checking
for $ac_func" >&5
10388 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10389 echo $ac_n "(cached
) $ac_c" 1>&6
10391 cat > conftest.$ac_ext <<EOF
10392 #line 10393 "configure
"
10393 #include "confdefs.h
"
10394 /* System header to define __stub macros and hopefully few prototypes,
10395 which can conflict with char $ac_func(); below. */
10396 #include <assert.h>
10397 /* Override any gcc2 internal prototype to avoid an error. */
10398 /* We use char because int might match the return type of a gcc2
10399 builtin and then its argument prototype would still apply. */
10404 /* The GNU C library defines this for functions which it implements
10405 to always fail with ENOSYS. Some functions are actually named
10406 something starting with __ and the normal name is an alias. */
10407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10415 if { (eval echo configure:10416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10417 eval "ac_cv_func_
$ac_func=yes"
10419 echo "configure
: failed program was
:" >&5
10420 cat conftest.$ac_ext >&5
10422 eval "ac_cv_func_
$ac_func=no
"
10427 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10428 echo "$ac_t""yes" 1>&6
10429 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10430 cat >> confdefs.h <<EOF
10431 #define $ac_tr_func 1
10435 echo "$ac_t""no
" 1>&6
10441 echo $ac_n "checking
for _isinff declaration
""...
$ac_c" 1>&6
10442 echo "configure
:10443: checking
for _isinff declaration
" >&5
10443 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
10444 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
10445 echo $ac_n "(cached
) $ac_c" 1>&6
10450 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10451 ac_cpp='$CXXCPP $CPPFLAGS'
10452 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10453 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10454 cross_compiling=$ac_cv_prog_cxx_cross
10456 cat > conftest.$ac_ext <<EOF
10457 #line 10458 "configure
"
10458 #include "confdefs.h
"
10460 #ifdef HAVE_IEEEFP_H
10461 #include <ieeefp.h>
10468 if { (eval echo configure:10469: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10470 glibcpp_cv_func__isinff_use=yes
10472 echo "configure
: failed program was
:" >&5
10473 cat conftest.$ac_ext >&5
10475 glibcpp_cv_func__isinff_use=no
10479 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10480 ac_cpp='$CPP $CPPFLAGS'
10481 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10482 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10483 cross_compiling=$ac_cv_prog_cc_cross
10489 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
10491 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
10492 for ac_func in _isinff
10494 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10495 echo "configure
:10496: checking
for $ac_func" >&5
10496 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10497 echo $ac_n "(cached
) $ac_c" 1>&6
10499 cat > conftest.$ac_ext <<EOF
10500 #line 10501 "configure
"
10501 #include "confdefs.h
"
10502 /* System header to define __stub macros and hopefully few prototypes,
10503 which can conflict with char $ac_func(); below. */
10504 #include <assert.h>
10505 /* Override any gcc2 internal prototype to avoid an error. */
10506 /* We use char because int might match the return type of a gcc2
10507 builtin and then its argument prototype would still apply. */
10512 /* The GNU C library defines this for functions which it implements
10513 to always fail with ENOSYS. Some functions are actually named
10514 something starting with __ and the normal name is an alias. */
10515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10523 if { (eval echo configure:10524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10525 eval "ac_cv_func_
$ac_func=yes"
10527 echo "configure
: failed program was
:" >&5
10528 cat conftest.$ac_ext >&5
10530 eval "ac_cv_func_
$ac_func=no
"
10535 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10536 echo "$ac_t""yes" 1>&6
10537 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10538 cat >> confdefs.h <<EOF
10539 #define $ac_tr_func 1
10543 echo "$ac_t""no
" 1>&6
10552 echo $ac_n "checking
for atan2f declaration
""...
$ac_c" 1>&6
10553 echo "configure
:10554: checking
for atan2f declaration
" >&5
10554 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
10555 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
10556 echo $ac_n "(cached
) $ac_c" 1>&6
10561 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10562 ac_cpp='$CXXCPP $CPPFLAGS'
10563 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10564 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10565 cross_compiling=$ac_cv_prog_cxx_cross
10567 cat > conftest.$ac_ext <<EOF
10568 #line 10569 "configure
"
10569 #include "confdefs.h
"
10575 if { (eval echo configure:10576: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10577 glibcpp_cv_func_atan2f_use=yes
10579 echo "configure
: failed program was
:" >&5
10580 cat conftest.$ac_ext >&5
10582 glibcpp_cv_func_atan2f_use=no
10586 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10587 ac_cpp='$CPP $CPPFLAGS'
10588 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10589 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10590 cross_compiling=$ac_cv_prog_cc_cross
10596 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
10598 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
10599 for ac_func in atan2f
10601 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10602 echo "configure
:10603: checking
for $ac_func" >&5
10603 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10604 echo $ac_n "(cached
) $ac_c" 1>&6
10606 cat > conftest.$ac_ext <<EOF
10607 #line 10608 "configure
"
10608 #include "confdefs.h
"
10609 /* System header to define __stub macros and hopefully few prototypes,
10610 which can conflict with char $ac_func(); below. */
10611 #include <assert.h>
10612 /* Override any gcc2 internal prototype to avoid an error. */
10613 /* We use char because int might match the return type of a gcc2
10614 builtin and then its argument prototype would still apply. */
10619 /* The GNU C library defines this for functions which it implements
10620 to always fail with ENOSYS. Some functions are actually named
10621 something starting with __ and the normal name is an alias. */
10622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10630 if { (eval echo configure:10631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10632 eval "ac_cv_func_
$ac_func=yes"
10634 echo "configure
: failed program was
:" >&5
10635 cat conftest.$ac_ext >&5
10637 eval "ac_cv_func_
$ac_func=no
"
10642 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10643 echo "$ac_t""yes" 1>&6
10644 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10645 cat >> confdefs.h <<EOF
10646 #define $ac_tr_func 1
10650 echo "$ac_t""no
" 1>&6
10656 echo $ac_n "checking
for _atan2f declaration
""...
$ac_c" 1>&6
10657 echo "configure
:10658: checking
for _atan2f declaration
" >&5
10658 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
10659 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
10660 echo $ac_n "(cached
) $ac_c" 1>&6
10665 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10666 ac_cpp='$CXXCPP $CPPFLAGS'
10667 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10668 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10669 cross_compiling=$ac_cv_prog_cxx_cross
10671 cat > conftest.$ac_ext <<EOF
10672 #line 10673 "configure
"
10673 #include "confdefs.h
"
10679 if { (eval echo configure:10680: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10681 glibcpp_cv_func__atan2f_use=yes
10683 echo "configure
: failed program was
:" >&5
10684 cat conftest.$ac_ext >&5
10686 glibcpp_cv_func__atan2f_use=no
10690 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10691 ac_cpp='$CPP $CPPFLAGS'
10692 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10693 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10694 cross_compiling=$ac_cv_prog_cc_cross
10700 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
10702 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
10703 for ac_func in _atan2f
10705 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10706 echo "configure
:10707: checking
for $ac_func" >&5
10707 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10708 echo $ac_n "(cached
) $ac_c" 1>&6
10710 cat > conftest.$ac_ext <<EOF
10711 #line 10712 "configure
"
10712 #include "confdefs.h
"
10713 /* System header to define __stub macros and hopefully few prototypes,
10714 which can conflict with char $ac_func(); below. */
10715 #include <assert.h>
10716 /* Override any gcc2 internal prototype to avoid an error. */
10717 /* We use char because int might match the return type of a gcc2
10718 builtin and then its argument prototype would still apply. */
10723 /* The GNU C library defines this for functions which it implements
10724 to always fail with ENOSYS. Some functions are actually named
10725 something starting with __ and the normal name is an alias. */
10726 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10734 if { (eval echo configure:10735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10736 eval "ac_cv_func_
$ac_func=yes"
10738 echo "configure
: failed program was
:" >&5
10739 cat conftest.$ac_ext >&5
10741 eval "ac_cv_func_
$ac_func=no
"
10746 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10747 echo "$ac_t""yes" 1>&6
10748 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10749 cat >> confdefs.h <<EOF
10750 #define $ac_tr_func 1
10754 echo "$ac_t""no
" 1>&6
10763 echo $ac_n "checking
for fabsf declaration
""...
$ac_c" 1>&6
10764 echo "configure
:10765: checking
for fabsf declaration
" >&5
10765 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
10766 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
10767 echo $ac_n "(cached
) $ac_c" 1>&6
10772 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10773 ac_cpp='$CXXCPP $CPPFLAGS'
10774 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10775 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10776 cross_compiling=$ac_cv_prog_cxx_cross
10778 cat > conftest.$ac_ext <<EOF
10779 #line 10780 "configure
"
10780 #include "confdefs.h
"
10782 #ifdef HAVE_IEEEFP_H
10783 #include <ieeefp.h>
10790 if { (eval echo configure:10791: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10792 glibcpp_cv_func_fabsf_use=yes
10794 echo "configure
: failed program was
:" >&5
10795 cat conftest.$ac_ext >&5
10797 glibcpp_cv_func_fabsf_use=no
10801 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10802 ac_cpp='$CPP $CPPFLAGS'
10803 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10804 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10805 cross_compiling=$ac_cv_prog_cc_cross
10811 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
10813 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
10814 for ac_func in fabsf
10816 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10817 echo "configure
:10818: checking
for $ac_func" >&5
10818 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10819 echo $ac_n "(cached
) $ac_c" 1>&6
10821 cat > conftest.$ac_ext <<EOF
10822 #line 10823 "configure
"
10823 #include "confdefs.h
"
10824 /* System header to define __stub macros and hopefully few prototypes,
10825 which can conflict with char $ac_func(); below. */
10826 #include <assert.h>
10827 /* Override any gcc2 internal prototype to avoid an error. */
10828 /* We use char because int might match the return type of a gcc2
10829 builtin and then its argument prototype would still apply. */
10834 /* The GNU C library defines this for functions which it implements
10835 to always fail with ENOSYS. Some functions are actually named
10836 something starting with __ and the normal name is an alias. */
10837 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10845 if { (eval echo configure:10846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10847 eval "ac_cv_func_
$ac_func=yes"
10849 echo "configure
: failed program was
:" >&5
10850 cat conftest.$ac_ext >&5
10852 eval "ac_cv_func_
$ac_func=no
"
10857 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10858 echo "$ac_t""yes" 1>&6
10859 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10860 cat >> confdefs.h <<EOF
10861 #define $ac_tr_func 1
10865 echo "$ac_t""no
" 1>&6
10871 echo $ac_n "checking
for _fabsf declaration
""...
$ac_c" 1>&6
10872 echo "configure
:10873: checking
for _fabsf declaration
" >&5
10873 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
10874 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
10875 echo $ac_n "(cached
) $ac_c" 1>&6
10880 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10881 ac_cpp='$CXXCPP $CPPFLAGS'
10882 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10883 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10884 cross_compiling=$ac_cv_prog_cxx_cross
10886 cat > conftest.$ac_ext <<EOF
10887 #line 10888 "configure
"
10888 #include "confdefs.h
"
10890 #ifdef HAVE_IEEEFP_H
10891 #include <ieeefp.h>
10898 if { (eval echo configure:10899: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10900 glibcpp_cv_func__fabsf_use=yes
10902 echo "configure
: failed program was
:" >&5
10903 cat conftest.$ac_ext >&5
10905 glibcpp_cv_func__fabsf_use=no
10909 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10910 ac_cpp='$CPP $CPPFLAGS'
10911 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10912 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10913 cross_compiling=$ac_cv_prog_cc_cross
10919 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
10921 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
10922 for ac_func in _fabsf
10924 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10925 echo "configure
:10926: checking
for $ac_func" >&5
10926 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10927 echo $ac_n "(cached
) $ac_c" 1>&6
10929 cat > conftest.$ac_ext <<EOF
10930 #line 10931 "configure
"
10931 #include "confdefs.h
"
10932 /* System header to define __stub macros and hopefully few prototypes,
10933 which can conflict with char $ac_func(); below. */
10934 #include <assert.h>
10935 /* Override any gcc2 internal prototype to avoid an error. */
10936 /* We use char because int might match the return type of a gcc2
10937 builtin and then its argument prototype would still apply. */
10942 /* The GNU C library defines this for functions which it implements
10943 to always fail with ENOSYS. Some functions are actually named
10944 something starting with __ and the normal name is an alias. */
10945 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10953 if { (eval echo configure:10954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10955 eval "ac_cv_func_
$ac_func=yes"
10957 echo "configure
: failed program was
:" >&5
10958 cat conftest.$ac_ext >&5
10960 eval "ac_cv_func_
$ac_func=no
"
10965 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10966 echo "$ac_t""yes" 1>&6
10967 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10968 cat >> confdefs.h <<EOF
10969 #define $ac_tr_func 1
10973 echo "$ac_t""no
" 1>&6
10982 echo $ac_n "checking
for fmodf declaration
""...
$ac_c" 1>&6
10983 echo "configure
:10984: checking
for fmodf declaration
" >&5
10984 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
10985 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
10986 echo $ac_n "(cached
) $ac_c" 1>&6
10991 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10992 ac_cpp='$CXXCPP $CPPFLAGS'
10993 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10994 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10995 cross_compiling=$ac_cv_prog_cxx_cross
10997 cat > conftest.$ac_ext <<EOF
10998 #line 10999 "configure
"
10999 #include "confdefs.h
"
11005 if { (eval echo configure:11006: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11007 glibcpp_cv_func_fmodf_use=yes
11009 echo "configure
: failed program was
:" >&5
11010 cat conftest.$ac_ext >&5
11012 glibcpp_cv_func_fmodf_use=no
11016 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11017 ac_cpp='$CPP $CPPFLAGS'
11018 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11019 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11020 cross_compiling=$ac_cv_prog_cc_cross
11026 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
11028 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
11029 for ac_func in fmodf
11031 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11032 echo "configure
:11033: checking
for $ac_func" >&5
11033 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11034 echo $ac_n "(cached
) $ac_c" 1>&6
11036 cat > conftest.$ac_ext <<EOF
11037 #line 11038 "configure
"
11038 #include "confdefs.h
"
11039 /* System header to define __stub macros and hopefully few prototypes,
11040 which can conflict with char $ac_func(); below. */
11041 #include <assert.h>
11042 /* Override any gcc2 internal prototype to avoid an error. */
11043 /* We use char because int might match the return type of a gcc2
11044 builtin and then its argument prototype would still apply. */
11049 /* The GNU C library defines this for functions which it implements
11050 to always fail with ENOSYS. Some functions are actually named
11051 something starting with __ and the normal name is an alias. */
11052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11060 if { (eval echo configure:11061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11062 eval "ac_cv_func_
$ac_func=yes"
11064 echo "configure
: failed program was
:" >&5
11065 cat conftest.$ac_ext >&5
11067 eval "ac_cv_func_
$ac_func=no
"
11072 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11073 echo "$ac_t""yes" 1>&6
11074 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11075 cat >> confdefs.h <<EOF
11076 #define $ac_tr_func 1
11080 echo "$ac_t""no
" 1>&6
11086 echo $ac_n "checking
for _fmodf declaration
""...
$ac_c" 1>&6
11087 echo "configure
:11088: checking
for _fmodf declaration
" >&5
11088 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
11089 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
11090 echo $ac_n "(cached
) $ac_c" 1>&6
11095 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11096 ac_cpp='$CXXCPP $CPPFLAGS'
11097 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11098 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11099 cross_compiling=$ac_cv_prog_cxx_cross
11101 cat > conftest.$ac_ext <<EOF
11102 #line 11103 "configure
"
11103 #include "confdefs.h
"
11109 if { (eval echo configure:11110: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11111 glibcpp_cv_func__fmodf_use=yes
11113 echo "configure
: failed program was
:" >&5
11114 cat conftest.$ac_ext >&5
11116 glibcpp_cv_func__fmodf_use=no
11120 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11121 ac_cpp='$CPP $CPPFLAGS'
11122 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11123 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11124 cross_compiling=$ac_cv_prog_cc_cross
11130 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
11132 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
11133 for ac_func in _fmodf
11135 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11136 echo "configure
:11137: checking
for $ac_func" >&5
11137 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11138 echo $ac_n "(cached
) $ac_c" 1>&6
11140 cat > conftest.$ac_ext <<EOF
11141 #line 11142 "configure
"
11142 #include "confdefs.h
"
11143 /* System header to define __stub macros and hopefully few prototypes,
11144 which can conflict with char $ac_func(); below. */
11145 #include <assert.h>
11146 /* Override any gcc2 internal prototype to avoid an error. */
11147 /* We use char because int might match the return type of a gcc2
11148 builtin and then its argument prototype would still apply. */
11153 /* The GNU C library defines this for functions which it implements
11154 to always fail with ENOSYS. Some functions are actually named
11155 something starting with __ and the normal name is an alias. */
11156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11164 if { (eval echo configure:11165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11166 eval "ac_cv_func_
$ac_func=yes"
11168 echo "configure
: failed program was
:" >&5
11169 cat conftest.$ac_ext >&5
11171 eval "ac_cv_func_
$ac_func=no
"
11176 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11177 echo "$ac_t""yes" 1>&6
11178 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11179 cat >> confdefs.h <<EOF
11180 #define $ac_tr_func 1
11184 echo "$ac_t""no
" 1>&6
11193 echo $ac_n "checking
for frexpf declaration
""...
$ac_c" 1>&6
11194 echo "configure
:11195: checking
for frexpf declaration
" >&5
11195 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
11196 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
11197 echo $ac_n "(cached
) $ac_c" 1>&6
11202 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11203 ac_cpp='$CXXCPP $CPPFLAGS'
11204 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11205 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11206 cross_compiling=$ac_cv_prog_cxx_cross
11208 cat > conftest.$ac_ext <<EOF
11209 #line 11210 "configure
"
11210 #include "confdefs.h
"
11216 if { (eval echo configure:11217: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11218 glibcpp_cv_func_frexpf_use=yes
11220 echo "configure
: failed program was
:" >&5
11221 cat conftest.$ac_ext >&5
11223 glibcpp_cv_func_frexpf_use=no
11227 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11228 ac_cpp='$CPP $CPPFLAGS'
11229 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11230 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11231 cross_compiling=$ac_cv_prog_cc_cross
11237 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
11239 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
11240 for ac_func in frexpf
11242 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11243 echo "configure
:11244: checking
for $ac_func" >&5
11244 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11245 echo $ac_n "(cached
) $ac_c" 1>&6
11247 cat > conftest.$ac_ext <<EOF
11248 #line 11249 "configure
"
11249 #include "confdefs.h
"
11250 /* System header to define __stub macros and hopefully few prototypes,
11251 which can conflict with char $ac_func(); below. */
11252 #include <assert.h>
11253 /* Override any gcc2 internal prototype to avoid an error. */
11254 /* We use char because int might match the return type of a gcc2
11255 builtin and then its argument prototype would still apply. */
11260 /* The GNU C library defines this for functions which it implements
11261 to always fail with ENOSYS. Some functions are actually named
11262 something starting with __ and the normal name is an alias. */
11263 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11271 if { (eval echo configure:11272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11273 eval "ac_cv_func_
$ac_func=yes"
11275 echo "configure
: failed program was
:" >&5
11276 cat conftest.$ac_ext >&5
11278 eval "ac_cv_func_
$ac_func=no
"
11283 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11284 echo "$ac_t""yes" 1>&6
11285 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11286 cat >> confdefs.h <<EOF
11287 #define $ac_tr_func 1
11291 echo "$ac_t""no
" 1>&6
11297 echo $ac_n "checking
for _frexpf declaration
""...
$ac_c" 1>&6
11298 echo "configure
:11299: checking
for _frexpf declaration
" >&5
11299 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
11300 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
11301 echo $ac_n "(cached
) $ac_c" 1>&6
11306 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11307 ac_cpp='$CXXCPP $CPPFLAGS'
11308 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11309 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11310 cross_compiling=$ac_cv_prog_cxx_cross
11312 cat > conftest.$ac_ext <<EOF
11313 #line 11314 "configure
"
11314 #include "confdefs.h
"
11320 if { (eval echo configure:11321: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11322 glibcpp_cv_func__frexpf_use=yes
11324 echo "configure
: failed program was
:" >&5
11325 cat conftest.$ac_ext >&5
11327 glibcpp_cv_func__frexpf_use=no
11331 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11332 ac_cpp='$CPP $CPPFLAGS'
11333 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11334 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11335 cross_compiling=$ac_cv_prog_cc_cross
11341 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
11343 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
11344 for ac_func in _frexpf
11346 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11347 echo "configure
:11348: checking
for $ac_func" >&5
11348 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11349 echo $ac_n "(cached
) $ac_c" 1>&6
11351 cat > conftest.$ac_ext <<EOF
11352 #line 11353 "configure
"
11353 #include "confdefs.h
"
11354 /* System header to define __stub macros and hopefully few prototypes,
11355 which can conflict with char $ac_func(); below. */
11356 #include <assert.h>
11357 /* Override any gcc2 internal prototype to avoid an error. */
11358 /* We use char because int might match the return type of a gcc2
11359 builtin and then its argument prototype would still apply. */
11364 /* The GNU C library defines this for functions which it implements
11365 to always fail with ENOSYS. Some functions are actually named
11366 something starting with __ and the normal name is an alias. */
11367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11375 if { (eval echo configure:11376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11377 eval "ac_cv_func_
$ac_func=yes"
11379 echo "configure
: failed program was
:" >&5
11380 cat conftest.$ac_ext >&5
11382 eval "ac_cv_func_
$ac_func=no
"
11387 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11388 echo "$ac_t""yes" 1>&6
11389 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11390 cat >> confdefs.h <<EOF
11391 #define $ac_tr_func 1
11395 echo "$ac_t""no
" 1>&6
11404 echo $ac_n "checking
for hypotf declaration
""...
$ac_c" 1>&6
11405 echo "configure
:11406: checking
for hypotf declaration
" >&5
11406 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
11407 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
11408 echo $ac_n "(cached
) $ac_c" 1>&6
11413 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11414 ac_cpp='$CXXCPP $CPPFLAGS'
11415 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11416 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11417 cross_compiling=$ac_cv_prog_cxx_cross
11419 cat > conftest.$ac_ext <<EOF
11420 #line 11421 "configure
"
11421 #include "confdefs.h
"
11427 if { (eval echo configure:11428: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11429 glibcpp_cv_func_hypotf_use=yes
11431 echo "configure
: failed program was
:" >&5
11432 cat conftest.$ac_ext >&5
11434 glibcpp_cv_func_hypotf_use=no
11438 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11439 ac_cpp='$CPP $CPPFLAGS'
11440 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11441 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11442 cross_compiling=$ac_cv_prog_cc_cross
11448 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
11450 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
11451 for ac_func in hypotf
11453 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11454 echo "configure
:11455: checking
for $ac_func" >&5
11455 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11456 echo $ac_n "(cached
) $ac_c" 1>&6
11458 cat > conftest.$ac_ext <<EOF
11459 #line 11460 "configure
"
11460 #include "confdefs.h
"
11461 /* System header to define __stub macros and hopefully few prototypes,
11462 which can conflict with char $ac_func(); below. */
11463 #include <assert.h>
11464 /* Override any gcc2 internal prototype to avoid an error. */
11465 /* We use char because int might match the return type of a gcc2
11466 builtin and then its argument prototype would still apply. */
11471 /* The GNU C library defines this for functions which it implements
11472 to always fail with ENOSYS. Some functions are actually named
11473 something starting with __ and the normal name is an alias. */
11474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11482 if { (eval echo configure:11483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11484 eval "ac_cv_func_
$ac_func=yes"
11486 echo "configure
: failed program was
:" >&5
11487 cat conftest.$ac_ext >&5
11489 eval "ac_cv_func_
$ac_func=no
"
11494 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11495 echo "$ac_t""yes" 1>&6
11496 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11497 cat >> confdefs.h <<EOF
11498 #define $ac_tr_func 1
11502 echo "$ac_t""no
" 1>&6
11508 echo $ac_n "checking
for _hypotf declaration
""...
$ac_c" 1>&6
11509 echo "configure
:11510: checking
for _hypotf declaration
" >&5
11510 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
11511 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
11512 echo $ac_n "(cached
) $ac_c" 1>&6
11517 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11518 ac_cpp='$CXXCPP $CPPFLAGS'
11519 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11520 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11521 cross_compiling=$ac_cv_prog_cxx_cross
11523 cat > conftest.$ac_ext <<EOF
11524 #line 11525 "configure
"
11525 #include "confdefs.h
"
11531 if { (eval echo configure:11532: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11533 glibcpp_cv_func__hypotf_use=yes
11535 echo "configure
: failed program was
:" >&5
11536 cat conftest.$ac_ext >&5
11538 glibcpp_cv_func__hypotf_use=no
11542 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11543 ac_cpp='$CPP $CPPFLAGS'
11544 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11545 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11546 cross_compiling=$ac_cv_prog_cc_cross
11552 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
11554 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
11555 for ac_func in _hypotf
11557 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11558 echo "configure
:11559: checking
for $ac_func" >&5
11559 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11560 echo $ac_n "(cached
) $ac_c" 1>&6
11562 cat > conftest.$ac_ext <<EOF
11563 #line 11564 "configure
"
11564 #include "confdefs.h
"
11565 /* System header to define __stub macros and hopefully few prototypes,
11566 which can conflict with char $ac_func(); below. */
11567 #include <assert.h>
11568 /* Override any gcc2 internal prototype to avoid an error. */
11569 /* We use char because int might match the return type of a gcc2
11570 builtin and then its argument prototype would still apply. */
11575 /* The GNU C library defines this for functions which it implements
11576 to always fail with ENOSYS. Some functions are actually named
11577 something starting with __ and the normal name is an alias. */
11578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11586 if { (eval echo configure:11587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11588 eval "ac_cv_func_
$ac_func=yes"
11590 echo "configure
: failed program was
:" >&5
11591 cat conftest.$ac_ext >&5
11593 eval "ac_cv_func_
$ac_func=no
"
11598 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11599 echo "$ac_t""yes" 1>&6
11600 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11601 cat >> confdefs.h <<EOF
11602 #define $ac_tr_func 1
11606 echo "$ac_t""no
" 1>&6
11615 echo $ac_n "checking
for ldexpf declaration
""...
$ac_c" 1>&6
11616 echo "configure
:11617: checking
for ldexpf declaration
" >&5
11617 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
11618 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
11619 echo $ac_n "(cached
) $ac_c" 1>&6
11624 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11625 ac_cpp='$CXXCPP $CPPFLAGS'
11626 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11627 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11628 cross_compiling=$ac_cv_prog_cxx_cross
11630 cat > conftest.$ac_ext <<EOF
11631 #line 11632 "configure
"
11632 #include "confdefs.h
"
11638 if { (eval echo configure:11639: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11640 glibcpp_cv_func_ldexpf_use=yes
11642 echo "configure
: failed program was
:" >&5
11643 cat conftest.$ac_ext >&5
11645 glibcpp_cv_func_ldexpf_use=no
11649 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11650 ac_cpp='$CPP $CPPFLAGS'
11651 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11652 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11653 cross_compiling=$ac_cv_prog_cc_cross
11659 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
11661 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
11662 for ac_func in ldexpf
11664 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11665 echo "configure
:11666: checking
for $ac_func" >&5
11666 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11667 echo $ac_n "(cached
) $ac_c" 1>&6
11669 cat > conftest.$ac_ext <<EOF
11670 #line 11671 "configure
"
11671 #include "confdefs.h
"
11672 /* System header to define __stub macros and hopefully few prototypes,
11673 which can conflict with char $ac_func(); below. */
11674 #include <assert.h>
11675 /* Override any gcc2 internal prototype to avoid an error. */
11676 /* We use char because int might match the return type of a gcc2
11677 builtin and then its argument prototype would still apply. */
11682 /* The GNU C library defines this for functions which it implements
11683 to always fail with ENOSYS. Some functions are actually named
11684 something starting with __ and the normal name is an alias. */
11685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11693 if { (eval echo configure:11694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11695 eval "ac_cv_func_
$ac_func=yes"
11697 echo "configure
: failed program was
:" >&5
11698 cat conftest.$ac_ext >&5
11700 eval "ac_cv_func_
$ac_func=no
"
11705 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11706 echo "$ac_t""yes" 1>&6
11707 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11708 cat >> confdefs.h <<EOF
11709 #define $ac_tr_func 1
11713 echo "$ac_t""no
" 1>&6
11719 echo $ac_n "checking
for _ldexpf declaration
""...
$ac_c" 1>&6
11720 echo "configure
:11721: checking
for _ldexpf declaration
" >&5
11721 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
11722 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
11723 echo $ac_n "(cached
) $ac_c" 1>&6
11728 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11729 ac_cpp='$CXXCPP $CPPFLAGS'
11730 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11731 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11732 cross_compiling=$ac_cv_prog_cxx_cross
11734 cat > conftest.$ac_ext <<EOF
11735 #line 11736 "configure
"
11736 #include "confdefs.h
"
11742 if { (eval echo configure:11743: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11744 glibcpp_cv_func__ldexpf_use=yes
11746 echo "configure
: failed program was
:" >&5
11747 cat conftest.$ac_ext >&5
11749 glibcpp_cv_func__ldexpf_use=no
11753 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11754 ac_cpp='$CPP $CPPFLAGS'
11755 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11756 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11757 cross_compiling=$ac_cv_prog_cc_cross
11763 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
11765 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
11766 for ac_func in _ldexpf
11768 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11769 echo "configure
:11770: checking
for $ac_func" >&5
11770 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11771 echo $ac_n "(cached
) $ac_c" 1>&6
11773 cat > conftest.$ac_ext <<EOF
11774 #line 11775 "configure
"
11775 #include "confdefs.h
"
11776 /* System header to define __stub macros and hopefully few prototypes,
11777 which can conflict with char $ac_func(); below. */
11778 #include <assert.h>
11779 /* Override any gcc2 internal prototype to avoid an error. */
11780 /* We use char because int might match the return type of a gcc2
11781 builtin and then its argument prototype would still apply. */
11786 /* The GNU C library defines this for functions which it implements
11787 to always fail with ENOSYS. Some functions are actually named
11788 something starting with __ and the normal name is an alias. */
11789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11797 if { (eval echo configure:11798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11799 eval "ac_cv_func_
$ac_func=yes"
11801 echo "configure
: failed program was
:" >&5
11802 cat conftest.$ac_ext >&5
11804 eval "ac_cv_func_
$ac_func=no
"
11809 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11810 echo "$ac_t""yes" 1>&6
11811 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11812 cat >> confdefs.h <<EOF
11813 #define $ac_tr_func 1
11817 echo "$ac_t""no
" 1>&6
11826 echo $ac_n "checking
for logf declaration
""...
$ac_c" 1>&6
11827 echo "configure
:11828: checking
for logf declaration
" >&5
11828 if test x${glibcpp_cv_func_logf_use+set} != xset; then
11829 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
11830 echo $ac_n "(cached
) $ac_c" 1>&6
11835 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11836 ac_cpp='$CXXCPP $CPPFLAGS'
11837 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11838 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11839 cross_compiling=$ac_cv_prog_cxx_cross
11841 cat > conftest.$ac_ext <<EOF
11842 #line 11843 "configure
"
11843 #include "confdefs.h
"
11845 #ifdef HAVE_IEEEFP_H
11846 #include <ieeefp.h>
11853 if { (eval echo configure:11854: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11855 glibcpp_cv_func_logf_use=yes
11857 echo "configure
: failed program was
:" >&5
11858 cat conftest.$ac_ext >&5
11860 glibcpp_cv_func_logf_use=no
11864 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11865 ac_cpp='$CPP $CPPFLAGS'
11866 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11867 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11868 cross_compiling=$ac_cv_prog_cc_cross
11874 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
11876 if test x$glibcpp_cv_func_logf_use = x"yes"; then
11877 for ac_func in logf
11879 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11880 echo "configure
:11881: checking
for $ac_func" >&5
11881 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11882 echo $ac_n "(cached
) $ac_c" 1>&6
11884 cat > conftest.$ac_ext <<EOF
11885 #line 11886 "configure
"
11886 #include "confdefs.h
"
11887 /* System header to define __stub macros and hopefully few prototypes,
11888 which can conflict with char $ac_func(); below. */
11889 #include <assert.h>
11890 /* Override any gcc2 internal prototype to avoid an error. */
11891 /* We use char because int might match the return type of a gcc2
11892 builtin and then its argument prototype would still apply. */
11897 /* The GNU C library defines this for functions which it implements
11898 to always fail with ENOSYS. Some functions are actually named
11899 something starting with __ and the normal name is an alias. */
11900 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11908 if { (eval echo configure:11909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11910 eval "ac_cv_func_
$ac_func=yes"
11912 echo "configure
: failed program was
:" >&5
11913 cat conftest.$ac_ext >&5
11915 eval "ac_cv_func_
$ac_func=no
"
11920 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11921 echo "$ac_t""yes" 1>&6
11922 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11923 cat >> confdefs.h <<EOF
11924 #define $ac_tr_func 1
11928 echo "$ac_t""no
" 1>&6
11934 echo $ac_n "checking
for _logf declaration
""...
$ac_c" 1>&6
11935 echo "configure
:11936: checking
for _logf declaration
" >&5
11936 if test x${glibcpp_cv_func__logf_use+set} != xset; then
11937 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
11938 echo $ac_n "(cached
) $ac_c" 1>&6
11943 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11944 ac_cpp='$CXXCPP $CPPFLAGS'
11945 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11946 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11947 cross_compiling=$ac_cv_prog_cxx_cross
11949 cat > conftest.$ac_ext <<EOF
11950 #line 11951 "configure
"
11951 #include "confdefs.h
"
11953 #ifdef HAVE_IEEEFP_H
11954 #include <ieeefp.h>
11961 if { (eval echo configure:11962: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11963 glibcpp_cv_func__logf_use=yes
11965 echo "configure
: failed program was
:" >&5
11966 cat conftest.$ac_ext >&5
11968 glibcpp_cv_func__logf_use=no
11972 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11973 ac_cpp='$CPP $CPPFLAGS'
11974 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11975 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11976 cross_compiling=$ac_cv_prog_cc_cross
11982 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
11984 if test x$glibcpp_cv_func__logf_use = x"yes"; then
11985 for ac_func in _logf
11987 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11988 echo "configure
:11989: checking
for $ac_func" >&5
11989 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11990 echo $ac_n "(cached
) $ac_c" 1>&6
11992 cat > conftest.$ac_ext <<EOF
11993 #line 11994 "configure
"
11994 #include "confdefs.h
"
11995 /* System header to define __stub macros and hopefully few prototypes,
11996 which can conflict with char $ac_func(); below. */
11997 #include <assert.h>
11998 /* Override any gcc2 internal prototype to avoid an error. */
11999 /* We use char because int might match the return type of a gcc2
12000 builtin and then its argument prototype would still apply. */
12005 /* The GNU C library defines this for functions which it implements
12006 to always fail with ENOSYS. Some functions are actually named
12007 something starting with __ and the normal name is an alias. */
12008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12016 if { (eval echo configure:12017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12018 eval "ac_cv_func_
$ac_func=yes"
12020 echo "configure
: failed program was
:" >&5
12021 cat conftest.$ac_ext >&5
12023 eval "ac_cv_func_
$ac_func=no
"
12028 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12029 echo "$ac_t""yes" 1>&6
12030 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12031 cat >> confdefs.h <<EOF
12032 #define $ac_tr_func 1
12036 echo "$ac_t""no
" 1>&6
12045 echo $ac_n "checking
for log10f declaration
""...
$ac_c" 1>&6
12046 echo "configure
:12047: checking
for log10f declaration
" >&5
12047 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
12048 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
12049 echo $ac_n "(cached
) $ac_c" 1>&6
12054 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12055 ac_cpp='$CXXCPP $CPPFLAGS'
12056 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12057 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12058 cross_compiling=$ac_cv_prog_cxx_cross
12060 cat > conftest.$ac_ext <<EOF
12061 #line 12062 "configure
"
12062 #include "confdefs.h
"
12064 #ifdef HAVE_IEEEFP_H
12065 #include <ieeefp.h>
12072 if { (eval echo configure:12073: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12074 glibcpp_cv_func_log10f_use=yes
12076 echo "configure
: failed program was
:" >&5
12077 cat conftest.$ac_ext >&5
12079 glibcpp_cv_func_log10f_use=no
12083 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12084 ac_cpp='$CPP $CPPFLAGS'
12085 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12086 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12087 cross_compiling=$ac_cv_prog_cc_cross
12093 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
12095 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
12096 for ac_func in log10f
12098 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12099 echo "configure
:12100: checking
for $ac_func" >&5
12100 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12101 echo $ac_n "(cached
) $ac_c" 1>&6
12103 cat > conftest.$ac_ext <<EOF
12104 #line 12105 "configure
"
12105 #include "confdefs.h
"
12106 /* System header to define __stub macros and hopefully few prototypes,
12107 which can conflict with char $ac_func(); below. */
12108 #include <assert.h>
12109 /* Override any gcc2 internal prototype to avoid an error. */
12110 /* We use char because int might match the return type of a gcc2
12111 builtin and then its argument prototype would still apply. */
12116 /* The GNU C library defines this for functions which it implements
12117 to always fail with ENOSYS. Some functions are actually named
12118 something starting with __ and the normal name is an alias. */
12119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12127 if { (eval echo configure:12128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12129 eval "ac_cv_func_
$ac_func=yes"
12131 echo "configure
: failed program was
:" >&5
12132 cat conftest.$ac_ext >&5
12134 eval "ac_cv_func_
$ac_func=no
"
12139 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12140 echo "$ac_t""yes" 1>&6
12141 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12142 cat >> confdefs.h <<EOF
12143 #define $ac_tr_func 1
12147 echo "$ac_t""no
" 1>&6
12153 echo $ac_n "checking
for _log10f declaration
""...
$ac_c" 1>&6
12154 echo "configure
:12155: checking
for _log10f declaration
" >&5
12155 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
12156 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
12157 echo $ac_n "(cached
) $ac_c" 1>&6
12162 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12163 ac_cpp='$CXXCPP $CPPFLAGS'
12164 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12165 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12166 cross_compiling=$ac_cv_prog_cxx_cross
12168 cat > conftest.$ac_ext <<EOF
12169 #line 12170 "configure
"
12170 #include "confdefs.h
"
12172 #ifdef HAVE_IEEEFP_H
12173 #include <ieeefp.h>
12180 if { (eval echo configure:12181: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12182 glibcpp_cv_func__log10f_use=yes
12184 echo "configure
: failed program was
:" >&5
12185 cat conftest.$ac_ext >&5
12187 glibcpp_cv_func__log10f_use=no
12191 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12192 ac_cpp='$CPP $CPPFLAGS'
12193 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12194 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12195 cross_compiling=$ac_cv_prog_cc_cross
12201 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
12203 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
12204 for ac_func in _log10f
12206 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12207 echo "configure
:12208: checking
for $ac_func" >&5
12208 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12209 echo $ac_n "(cached
) $ac_c" 1>&6
12211 cat > conftest.$ac_ext <<EOF
12212 #line 12213 "configure
"
12213 #include "confdefs.h
"
12214 /* System header to define __stub macros and hopefully few prototypes,
12215 which can conflict with char $ac_func(); below. */
12216 #include <assert.h>
12217 /* Override any gcc2 internal prototype to avoid an error. */
12218 /* We use char because int might match the return type of a gcc2
12219 builtin and then its argument prototype would still apply. */
12224 /* The GNU C library defines this for functions which it implements
12225 to always fail with ENOSYS. Some functions are actually named
12226 something starting with __ and the normal name is an alias. */
12227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12235 if { (eval echo configure:12236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12237 eval "ac_cv_func_
$ac_func=yes"
12239 echo "configure
: failed program was
:" >&5
12240 cat conftest.$ac_ext >&5
12242 eval "ac_cv_func_
$ac_func=no
"
12247 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12248 echo "$ac_t""yes" 1>&6
12249 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12250 cat >> confdefs.h <<EOF
12251 #define $ac_tr_func 1
12255 echo "$ac_t""no
" 1>&6
12264 echo $ac_n "checking
for modff declaration
""...
$ac_c" 1>&6
12265 echo "configure
:12266: checking
for modff declaration
" >&5
12266 if test x${glibcpp_cv_func_modff_use+set} != xset; then
12267 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
12268 echo $ac_n "(cached
) $ac_c" 1>&6
12273 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12274 ac_cpp='$CXXCPP $CPPFLAGS'
12275 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12276 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12277 cross_compiling=$ac_cv_prog_cxx_cross
12279 cat > conftest.$ac_ext <<EOF
12280 #line 12281 "configure
"
12281 #include "confdefs.h
"
12287 if { (eval echo configure:12288: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12289 glibcpp_cv_func_modff_use=yes
12291 echo "configure
: failed program was
:" >&5
12292 cat conftest.$ac_ext >&5
12294 glibcpp_cv_func_modff_use=no
12298 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12299 ac_cpp='$CPP $CPPFLAGS'
12300 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12301 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12302 cross_compiling=$ac_cv_prog_cc_cross
12308 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
12310 if test x$glibcpp_cv_func_modff_use = x"yes"; then
12311 for ac_func in modff
12313 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12314 echo "configure
:12315: checking
for $ac_func" >&5
12315 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12316 echo $ac_n "(cached
) $ac_c" 1>&6
12318 cat > conftest.$ac_ext <<EOF
12319 #line 12320 "configure
"
12320 #include "confdefs.h
"
12321 /* System header to define __stub macros and hopefully few prototypes,
12322 which can conflict with char $ac_func(); below. */
12323 #include <assert.h>
12324 /* Override any gcc2 internal prototype to avoid an error. */
12325 /* We use char because int might match the return type of a gcc2
12326 builtin and then its argument prototype would still apply. */
12331 /* The GNU C library defines this for functions which it implements
12332 to always fail with ENOSYS. Some functions are actually named
12333 something starting with __ and the normal name is an alias. */
12334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12342 if { (eval echo configure:12343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12344 eval "ac_cv_func_
$ac_func=yes"
12346 echo "configure
: failed program was
:" >&5
12347 cat conftest.$ac_ext >&5
12349 eval "ac_cv_func_
$ac_func=no
"
12354 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12355 echo "$ac_t""yes" 1>&6
12356 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12357 cat >> confdefs.h <<EOF
12358 #define $ac_tr_func 1
12362 echo "$ac_t""no
" 1>&6
12368 echo $ac_n "checking
for _modff declaration
""...
$ac_c" 1>&6
12369 echo "configure
:12370: checking
for _modff declaration
" >&5
12370 if test x${glibcpp_cv_func__modff_use+set} != xset; then
12371 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
12372 echo $ac_n "(cached
) $ac_c" 1>&6
12377 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12378 ac_cpp='$CXXCPP $CPPFLAGS'
12379 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12380 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12381 cross_compiling=$ac_cv_prog_cxx_cross
12383 cat > conftest.$ac_ext <<EOF
12384 #line 12385 "configure
"
12385 #include "confdefs.h
"
12391 if { (eval echo configure:12392: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12393 glibcpp_cv_func__modff_use=yes
12395 echo "configure
: failed program was
:" >&5
12396 cat conftest.$ac_ext >&5
12398 glibcpp_cv_func__modff_use=no
12402 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12403 ac_cpp='$CPP $CPPFLAGS'
12404 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12405 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12406 cross_compiling=$ac_cv_prog_cc_cross
12412 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
12414 if test x$glibcpp_cv_func__modff_use = x"yes"; then
12415 for ac_func in _modff
12417 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12418 echo "configure
:12419: checking
for $ac_func" >&5
12419 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12420 echo $ac_n "(cached
) $ac_c" 1>&6
12422 cat > conftest.$ac_ext <<EOF
12423 #line 12424 "configure
"
12424 #include "confdefs.h
"
12425 /* System header to define __stub macros and hopefully few prototypes,
12426 which can conflict with char $ac_func(); below. */
12427 #include <assert.h>
12428 /* Override any gcc2 internal prototype to avoid an error. */
12429 /* We use char because int might match the return type of a gcc2
12430 builtin and then its argument prototype would still apply. */
12435 /* The GNU C library defines this for functions which it implements
12436 to always fail with ENOSYS. Some functions are actually named
12437 something starting with __ and the normal name is an alias. */
12438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12446 if { (eval echo configure:12447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12448 eval "ac_cv_func_
$ac_func=yes"
12450 echo "configure
: failed program was
:" >&5
12451 cat conftest.$ac_ext >&5
12453 eval "ac_cv_func_
$ac_func=no
"
12458 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12459 echo "$ac_t""yes" 1>&6
12460 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12461 cat >> confdefs.h <<EOF
12462 #define $ac_tr_func 1
12466 echo "$ac_t""no
" 1>&6
12475 echo $ac_n "checking
for powf declaration
""...
$ac_c" 1>&6
12476 echo "configure
:12477: checking
for powf declaration
" >&5
12477 if test x${glibcpp_cv_func_powf_use+set} != xset; then
12478 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
12479 echo $ac_n "(cached
) $ac_c" 1>&6
12484 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12485 ac_cpp='$CXXCPP $CPPFLAGS'
12486 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12487 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12488 cross_compiling=$ac_cv_prog_cxx_cross
12490 cat > conftest.$ac_ext <<EOF
12491 #line 12492 "configure
"
12492 #include "confdefs.h
"
12498 if { (eval echo configure:12499: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12500 glibcpp_cv_func_powf_use=yes
12502 echo "configure
: failed program was
:" >&5
12503 cat conftest.$ac_ext >&5
12505 glibcpp_cv_func_powf_use=no
12509 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12510 ac_cpp='$CPP $CPPFLAGS'
12511 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12512 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12513 cross_compiling=$ac_cv_prog_cc_cross
12519 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
12521 if test x$glibcpp_cv_func_powf_use = x"yes"; then
12522 for ac_func in powf
12524 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12525 echo "configure
:12526: checking
for $ac_func" >&5
12526 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12527 echo $ac_n "(cached
) $ac_c" 1>&6
12529 cat > conftest.$ac_ext <<EOF
12530 #line 12531 "configure
"
12531 #include "confdefs.h
"
12532 /* System header to define __stub macros and hopefully few prototypes,
12533 which can conflict with char $ac_func(); below. */
12534 #include <assert.h>
12535 /* Override any gcc2 internal prototype to avoid an error. */
12536 /* We use char because int might match the return type of a gcc2
12537 builtin and then its argument prototype would still apply. */
12542 /* The GNU C library defines this for functions which it implements
12543 to always fail with ENOSYS. Some functions are actually named
12544 something starting with __ and the normal name is an alias. */
12545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12553 if { (eval echo configure:12554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12555 eval "ac_cv_func_
$ac_func=yes"
12557 echo "configure
: failed program was
:" >&5
12558 cat conftest.$ac_ext >&5
12560 eval "ac_cv_func_
$ac_func=no
"
12565 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12566 echo "$ac_t""yes" 1>&6
12567 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12568 cat >> confdefs.h <<EOF
12569 #define $ac_tr_func 1
12573 echo "$ac_t""no
" 1>&6
12579 echo $ac_n "checking
for _powf declaration
""...
$ac_c" 1>&6
12580 echo "configure
:12581: checking
for _powf declaration
" >&5
12581 if test x${glibcpp_cv_func__powf_use+set} != xset; then
12582 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
12583 echo $ac_n "(cached
) $ac_c" 1>&6
12588 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12589 ac_cpp='$CXXCPP $CPPFLAGS'
12590 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12591 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12592 cross_compiling=$ac_cv_prog_cxx_cross
12594 cat > conftest.$ac_ext <<EOF
12595 #line 12596 "configure
"
12596 #include "confdefs.h
"
12602 if { (eval echo configure:12603: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12604 glibcpp_cv_func__powf_use=yes
12606 echo "configure
: failed program was
:" >&5
12607 cat conftest.$ac_ext >&5
12609 glibcpp_cv_func__powf_use=no
12613 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12614 ac_cpp='$CPP $CPPFLAGS'
12615 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12616 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12617 cross_compiling=$ac_cv_prog_cc_cross
12623 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
12625 if test x$glibcpp_cv_func__powf_use = x"yes"; then
12626 for ac_func in _powf
12628 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12629 echo "configure
:12630: checking
for $ac_func" >&5
12630 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12631 echo $ac_n "(cached
) $ac_c" 1>&6
12633 cat > conftest.$ac_ext <<EOF
12634 #line 12635 "configure
"
12635 #include "confdefs.h
"
12636 /* System header to define __stub macros and hopefully few prototypes,
12637 which can conflict with char $ac_func(); below. */
12638 #include <assert.h>
12639 /* Override any gcc2 internal prototype to avoid an error. */
12640 /* We use char because int might match the return type of a gcc2
12641 builtin and then its argument prototype would still apply. */
12646 /* The GNU C library defines this for functions which it implements
12647 to always fail with ENOSYS. Some functions are actually named
12648 something starting with __ and the normal name is an alias. */
12649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12657 if { (eval echo configure:12658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12659 eval "ac_cv_func_
$ac_func=yes"
12661 echo "configure
: failed program was
:" >&5
12662 cat conftest.$ac_ext >&5
12664 eval "ac_cv_func_
$ac_func=no
"
12669 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12670 echo "$ac_t""yes" 1>&6
12671 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12672 cat >> confdefs.h <<EOF
12673 #define $ac_tr_func 1
12677 echo "$ac_t""no
" 1>&6
12686 echo $ac_n "checking
for sqrtf declaration
""...
$ac_c" 1>&6
12687 echo "configure
:12688: checking
for sqrtf declaration
" >&5
12688 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
12689 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
12690 echo $ac_n "(cached
) $ac_c" 1>&6
12695 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12696 ac_cpp='$CXXCPP $CPPFLAGS'
12697 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12698 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12699 cross_compiling=$ac_cv_prog_cxx_cross
12701 cat > conftest.$ac_ext <<EOF
12702 #line 12703 "configure
"
12703 #include "confdefs.h
"
12705 #ifdef HAVE_IEEEFP_H
12706 #include <ieeefp.h>
12713 if { (eval echo configure:12714: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12715 glibcpp_cv_func_sqrtf_use=yes
12717 echo "configure
: failed program was
:" >&5
12718 cat conftest.$ac_ext >&5
12720 glibcpp_cv_func_sqrtf_use=no
12724 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12725 ac_cpp='$CPP $CPPFLAGS'
12726 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12727 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12728 cross_compiling=$ac_cv_prog_cc_cross
12734 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
12736 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
12737 for ac_func in sqrtf
12739 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12740 echo "configure
:12741: checking
for $ac_func" >&5
12741 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12742 echo $ac_n "(cached
) $ac_c" 1>&6
12744 cat > conftest.$ac_ext <<EOF
12745 #line 12746 "configure
"
12746 #include "confdefs.h
"
12747 /* System header to define __stub macros and hopefully few prototypes,
12748 which can conflict with char $ac_func(); below. */
12749 #include <assert.h>
12750 /* Override any gcc2 internal prototype to avoid an error. */
12751 /* We use char because int might match the return type of a gcc2
12752 builtin and then its argument prototype would still apply. */
12757 /* The GNU C library defines this for functions which it implements
12758 to always fail with ENOSYS. Some functions are actually named
12759 something starting with __ and the normal name is an alias. */
12760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12768 if { (eval echo configure:12769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12770 eval "ac_cv_func_
$ac_func=yes"
12772 echo "configure
: failed program was
:" >&5
12773 cat conftest.$ac_ext >&5
12775 eval "ac_cv_func_
$ac_func=no
"
12780 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12781 echo "$ac_t""yes" 1>&6
12782 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12783 cat >> confdefs.h <<EOF
12784 #define $ac_tr_func 1
12788 echo "$ac_t""no
" 1>&6
12794 echo $ac_n "checking
for _sqrtf declaration
""...
$ac_c" 1>&6
12795 echo "configure
:12796: checking
for _sqrtf declaration
" >&5
12796 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
12797 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
12798 echo $ac_n "(cached
) $ac_c" 1>&6
12803 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12804 ac_cpp='$CXXCPP $CPPFLAGS'
12805 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12806 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12807 cross_compiling=$ac_cv_prog_cxx_cross
12809 cat > conftest.$ac_ext <<EOF
12810 #line 12811 "configure
"
12811 #include "confdefs.h
"
12813 #ifdef HAVE_IEEEFP_H
12814 #include <ieeefp.h>
12821 if { (eval echo configure:12822: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12823 glibcpp_cv_func__sqrtf_use=yes
12825 echo "configure
: failed program was
:" >&5
12826 cat conftest.$ac_ext >&5
12828 glibcpp_cv_func__sqrtf_use=no
12832 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12833 ac_cpp='$CPP $CPPFLAGS'
12834 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12835 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12836 cross_compiling=$ac_cv_prog_cc_cross
12842 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
12844 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
12845 for ac_func in _sqrtf
12847 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12848 echo "configure
:12849: checking
for $ac_func" >&5
12849 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12850 echo $ac_n "(cached
) $ac_c" 1>&6
12852 cat > conftest.$ac_ext <<EOF
12853 #line 12854 "configure
"
12854 #include "confdefs.h
"
12855 /* System header to define __stub macros and hopefully few prototypes,
12856 which can conflict with char $ac_func(); below. */
12857 #include <assert.h>
12858 /* Override any gcc2 internal prototype to avoid an error. */
12859 /* We use char because int might match the return type of a gcc2
12860 builtin and then its argument prototype would still apply. */
12865 /* The GNU C library defines this for functions which it implements
12866 to always fail with ENOSYS. Some functions are actually named
12867 something starting with __ and the normal name is an alias. */
12868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12876 if { (eval echo configure:12877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12878 eval "ac_cv_func_
$ac_func=yes"
12880 echo "configure
: failed program was
:" >&5
12881 cat conftest.$ac_ext >&5
12883 eval "ac_cv_func_
$ac_func=no
"
12888 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12889 echo "$ac_t""yes" 1>&6
12890 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12891 cat >> confdefs.h <<EOF
12892 #define $ac_tr_func 1
12896 echo "$ac_t""no
" 1>&6
12905 echo $ac_n "checking
for sincosf declaration
""...
$ac_c" 1>&6
12906 echo "configure
:12907: checking
for sincosf declaration
" >&5
12907 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
12908 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
12909 echo $ac_n "(cached
) $ac_c" 1>&6
12914 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12915 ac_cpp='$CXXCPP $CPPFLAGS'
12916 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12917 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12918 cross_compiling=$ac_cv_prog_cxx_cross
12920 cat > conftest.$ac_ext <<EOF
12921 #line 12922 "configure
"
12922 #include "confdefs.h
"
12928 if { (eval echo configure:12929: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12930 glibcpp_cv_func_sincosf_use=yes
12932 echo "configure
: failed program was
:" >&5
12933 cat conftest.$ac_ext >&5
12935 glibcpp_cv_func_sincosf_use=no
12939 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12940 ac_cpp='$CPP $CPPFLAGS'
12941 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12942 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12943 cross_compiling=$ac_cv_prog_cc_cross
12949 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
12951 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
12952 for ac_func in sincosf
12954 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12955 echo "configure
:12956: checking
for $ac_func" >&5
12956 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12957 echo $ac_n "(cached
) $ac_c" 1>&6
12959 cat > conftest.$ac_ext <<EOF
12960 #line 12961 "configure
"
12961 #include "confdefs.h
"
12962 /* System header to define __stub macros and hopefully few prototypes,
12963 which can conflict with char $ac_func(); below. */
12964 #include <assert.h>
12965 /* Override any gcc2 internal prototype to avoid an error. */
12966 /* We use char because int might match the return type of a gcc2
12967 builtin and then its argument prototype would still apply. */
12972 /* The GNU C library defines this for functions which it implements
12973 to always fail with ENOSYS. Some functions are actually named
12974 something starting with __ and the normal name is an alias. */
12975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12983 if { (eval echo configure:12984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12985 eval "ac_cv_func_
$ac_func=yes"
12987 echo "configure
: failed program was
:" >&5
12988 cat conftest.$ac_ext >&5
12990 eval "ac_cv_func_
$ac_func=no
"
12995 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12996 echo "$ac_t""yes" 1>&6
12997 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12998 cat >> confdefs.h <<EOF
12999 #define $ac_tr_func 1
13003 echo "$ac_t""no
" 1>&6
13009 echo $ac_n "checking
for _sincosf declaration
""...
$ac_c" 1>&6
13010 echo "configure
:13011: checking
for _sincosf declaration
" >&5
13011 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
13012 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
13013 echo $ac_n "(cached
) $ac_c" 1>&6
13018 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13019 ac_cpp='$CXXCPP $CPPFLAGS'
13020 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13021 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13022 cross_compiling=$ac_cv_prog_cxx_cross
13024 cat > conftest.$ac_ext <<EOF
13025 #line 13026 "configure
"
13026 #include "confdefs.h
"
13032 if { (eval echo configure:13033: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13034 glibcpp_cv_func__sincosf_use=yes
13036 echo "configure
: failed program was
:" >&5
13037 cat conftest.$ac_ext >&5
13039 glibcpp_cv_func__sincosf_use=no
13043 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13044 ac_cpp='$CPP $CPPFLAGS'
13045 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13046 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13047 cross_compiling=$ac_cv_prog_cc_cross
13053 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
13055 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
13056 for ac_func in _sincosf
13058 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13059 echo "configure
:13060: checking
for $ac_func" >&5
13060 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13061 echo $ac_n "(cached
) $ac_c" 1>&6
13063 cat > conftest.$ac_ext <<EOF
13064 #line 13065 "configure
"
13065 #include "confdefs.h
"
13066 /* System header to define __stub macros and hopefully few prototypes,
13067 which can conflict with char $ac_func(); below. */
13068 #include <assert.h>
13069 /* Override any gcc2 internal prototype to avoid an error. */
13070 /* We use char because int might match the return type of a gcc2
13071 builtin and then its argument prototype would still apply. */
13076 /* The GNU C library defines this for functions which it implements
13077 to always fail with ENOSYS. Some functions are actually named
13078 something starting with __ and the normal name is an alias. */
13079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13087 if { (eval echo configure:13088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13089 eval "ac_cv_func_
$ac_func=yes"
13091 echo "configure
: failed program was
:" >&5
13092 cat conftest.$ac_ext >&5
13094 eval "ac_cv_func_
$ac_func=no
"
13099 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13100 echo "$ac_t""yes" 1>&6
13101 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13102 cat >> confdefs.h <<EOF
13103 #define $ac_tr_func 1
13107 echo "$ac_t""no
" 1>&6
13116 echo $ac_n "checking
for finitef declaration
""...
$ac_c" 1>&6
13117 echo "configure
:13118: checking
for finitef declaration
" >&5
13118 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
13119 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
13120 echo $ac_n "(cached
) $ac_c" 1>&6
13125 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13126 ac_cpp='$CXXCPP $CPPFLAGS'
13127 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13128 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13129 cross_compiling=$ac_cv_prog_cxx_cross
13131 cat > conftest.$ac_ext <<EOF
13132 #line 13133 "configure
"
13133 #include "confdefs.h
"
13135 #ifdef HAVE_IEEEFP_H
13136 #include <ieeefp.h>
13143 if { (eval echo configure:13144: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13145 glibcpp_cv_func_finitef_use=yes
13147 echo "configure
: failed program was
:" >&5
13148 cat conftest.$ac_ext >&5
13150 glibcpp_cv_func_finitef_use=no
13154 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13155 ac_cpp='$CPP $CPPFLAGS'
13156 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13157 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13158 cross_compiling=$ac_cv_prog_cc_cross
13164 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
13166 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
13167 for ac_func in finitef
13169 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13170 echo "configure
:13171: checking
for $ac_func" >&5
13171 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13172 echo $ac_n "(cached
) $ac_c" 1>&6
13174 cat > conftest.$ac_ext <<EOF
13175 #line 13176 "configure
"
13176 #include "confdefs.h
"
13177 /* System header to define __stub macros and hopefully few prototypes,
13178 which can conflict with char $ac_func(); below. */
13179 #include <assert.h>
13180 /* Override any gcc2 internal prototype to avoid an error. */
13181 /* We use char because int might match the return type of a gcc2
13182 builtin and then its argument prototype would still apply. */
13187 /* The GNU C library defines this for functions which it implements
13188 to always fail with ENOSYS. Some functions are actually named
13189 something starting with __ and the normal name is an alias. */
13190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13198 if { (eval echo configure:13199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13200 eval "ac_cv_func_
$ac_func=yes"
13202 echo "configure
: failed program was
:" >&5
13203 cat conftest.$ac_ext >&5
13205 eval "ac_cv_func_
$ac_func=no
"
13210 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13211 echo "$ac_t""yes" 1>&6
13212 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13213 cat >> confdefs.h <<EOF
13214 #define $ac_tr_func 1
13218 echo "$ac_t""no
" 1>&6
13224 echo $ac_n "checking
for _finitef declaration
""...
$ac_c" 1>&6
13225 echo "configure
:13226: checking
for _finitef declaration
" >&5
13226 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
13227 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
13228 echo $ac_n "(cached
) $ac_c" 1>&6
13233 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13234 ac_cpp='$CXXCPP $CPPFLAGS'
13235 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13236 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13237 cross_compiling=$ac_cv_prog_cxx_cross
13239 cat > conftest.$ac_ext <<EOF
13240 #line 13241 "configure
"
13241 #include "confdefs.h
"
13243 #ifdef HAVE_IEEEFP_H
13244 #include <ieeefp.h>
13251 if { (eval echo configure:13252: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13253 glibcpp_cv_func__finitef_use=yes
13255 echo "configure
: failed program was
:" >&5
13256 cat conftest.$ac_ext >&5
13258 glibcpp_cv_func__finitef_use=no
13262 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13263 ac_cpp='$CPP $CPPFLAGS'
13264 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13265 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13266 cross_compiling=$ac_cv_prog_cc_cross
13272 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
13274 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
13275 for ac_func in _finitef
13277 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13278 echo "configure
:13279: checking
for $ac_func" >&5
13279 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13280 echo $ac_n "(cached
) $ac_c" 1>&6
13282 cat > conftest.$ac_ext <<EOF
13283 #line 13284 "configure
"
13284 #include "confdefs.h
"
13285 /* System header to define __stub macros and hopefully few prototypes,
13286 which can conflict with char $ac_func(); below. */
13287 #include <assert.h>
13288 /* Override any gcc2 internal prototype to avoid an error. */
13289 /* We use char because int might match the return type of a gcc2
13290 builtin and then its argument prototype would still apply. */
13295 /* The GNU C library defines this for functions which it implements
13296 to always fail with ENOSYS. Some functions are actually named
13297 something starting with __ and the normal name is an alias. */
13298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13306 if { (eval echo configure:13307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13308 eval "ac_cv_func_
$ac_func=yes"
13310 echo "configure
: failed program was
:" >&5
13311 cat conftest.$ac_ext >&5
13313 eval "ac_cv_func_
$ac_func=no
"
13318 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13319 echo "$ac_t""yes" 1>&6
13320 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13321 cat >> confdefs.h <<EOF
13322 #define $ac_tr_func 1
13326 echo "$ac_t""no
" 1>&6
13335 echo $ac_n "checking
for long double trig functions
""...
$ac_c" 1>&6
13336 echo "configure
:13337: checking
for long double trig functions
" >&5
13337 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
13338 echo $ac_n "(cached
) $ac_c" 1>&6
13343 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13344 ac_cpp='$CXXCPP $CPPFLAGS'
13345 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13346 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13347 cross_compiling=$ac_cv_prog_cxx_cross
13349 cat > conftest.$ac_ext <<EOF
13350 #line 13351 "configure
"
13351 #include "confdefs.h
"
13354 `for x in acosl asinl atanl \
13356 coshl sinhl tanhl; do echo "$x (0);"; done`
13359 if { (eval echo configure:13360: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13361 glibcpp_cv_func_long_double_trig_use=yes
13363 echo "configure
: failed program was
:" >&5
13364 cat conftest.$ac_ext >&5
13366 glibcpp_cv_func_long_double_trig_use=no
13370 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13371 ac_cpp='$CPP $CPPFLAGS'
13372 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13373 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13374 cross_compiling=$ac_cv_prog_cc_cross
13378 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
13379 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
13380 for ac_func in acosl asinl atanl \
13384 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13385 echo "configure
:13386: checking
for $ac_func" >&5
13386 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13387 echo $ac_n "(cached
) $ac_c" 1>&6
13389 cat > conftest.$ac_ext <<EOF
13390 #line 13391 "configure
"
13391 #include "confdefs.h
"
13392 /* System header to define __stub macros and hopefully few prototypes,
13393 which can conflict with char $ac_func(); below. */
13394 #include <assert.h>
13395 /* Override any gcc2 internal prototype to avoid an error. */
13396 /* We use char because int might match the return type of a gcc2
13397 builtin and then its argument prototype would still apply. */
13402 /* The GNU C library defines this for functions which it implements
13403 to always fail with ENOSYS. Some functions are actually named
13404 something starting with __ and the normal name is an alias. */
13405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13413 if { (eval echo configure:13414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13415 eval "ac_cv_func_
$ac_func=yes"
13417 echo "configure
: failed program was
:" >&5
13418 cat conftest.$ac_ext >&5
13420 eval "ac_cv_func_
$ac_func=no
"
13425 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13426 echo "$ac_t""yes" 1>&6
13427 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13428 cat >> confdefs.h <<EOF
13429 #define $ac_tr_func 1
13433 echo "$ac_t""no
" 1>&6
13440 echo $ac_n "checking
for long double round functions
""...
$ac_c" 1>&6
13441 echo "configure
:13442: checking
for long double round functions
" >&5
13442 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
13443 echo $ac_n "(cached
) $ac_c" 1>&6
13448 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13449 ac_cpp='$CXXCPP $CPPFLAGS'
13450 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13451 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13452 cross_compiling=$ac_cv_prog_cxx_cross
13454 cat > conftest.$ac_ext <<EOF
13455 #line 13456 "configure
"
13456 #include "confdefs.h
"
13459 `for x in ceill floorl; do echo "$x (0);"; done`
13462 if { (eval echo configure:13463: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13464 glibcpp_cv_func_long_double_round_use=yes
13466 echo "configure
: failed program was
:" >&5
13467 cat conftest.$ac_ext >&5
13469 glibcpp_cv_func_long_double_round_use=no
13473 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13474 ac_cpp='$CPP $CPPFLAGS'
13475 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13476 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13477 cross_compiling=$ac_cv_prog_cc_cross
13481 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
13482 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
13483 for ac_func in ceill floorl
13485 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13486 echo "configure
:13487: checking
for $ac_func" >&5
13487 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13488 echo $ac_n "(cached
) $ac_c" 1>&6
13490 cat > conftest.$ac_ext <<EOF
13491 #line 13492 "configure
"
13492 #include "confdefs.h
"
13493 /* System header to define __stub macros and hopefully few prototypes,
13494 which can conflict with char $ac_func(); below. */
13495 #include <assert.h>
13496 /* Override any gcc2 internal prototype to avoid an error. */
13497 /* We use char because int might match the return type of a gcc2
13498 builtin and then its argument prototype would still apply. */
13503 /* The GNU C library defines this for functions which it implements
13504 to always fail with ENOSYS. Some functions are actually named
13505 something starting with __ and the normal name is an alias. */
13506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13514 if { (eval echo configure:13515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13516 eval "ac_cv_func_
$ac_func=yes"
13518 echo "configure
: failed program was
:" >&5
13519 cat conftest.$ac_ext >&5
13521 eval "ac_cv_func_
$ac_func=no
"
13526 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13527 echo "$ac_t""yes" 1>&6
13528 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13529 cat >> confdefs.h <<EOF
13530 #define $ac_tr_func 1
13534 echo "$ac_t""no
" 1>&6
13542 echo $ac_n "checking
for isnanl declaration
""...
$ac_c" 1>&6
13543 echo "configure
:13544: checking
for isnanl declaration
" >&5
13544 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
13545 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
13546 echo $ac_n "(cached
) $ac_c" 1>&6
13551 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13552 ac_cpp='$CXXCPP $CPPFLAGS'
13553 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13554 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13555 cross_compiling=$ac_cv_prog_cxx_cross
13557 cat > conftest.$ac_ext <<EOF
13558 #line 13559 "configure
"
13559 #include "confdefs.h
"
13561 #ifdef HAVE_IEEEFP_H
13562 #include <ieeefp.h>
13569 if { (eval echo configure:13570: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13571 glibcpp_cv_func_isnanl_use=yes
13573 echo "configure
: failed program was
:" >&5
13574 cat conftest.$ac_ext >&5
13576 glibcpp_cv_func_isnanl_use=no
13580 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13581 ac_cpp='$CPP $CPPFLAGS'
13582 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13583 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13584 cross_compiling=$ac_cv_prog_cc_cross
13590 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
13592 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
13593 for ac_func in isnanl
13595 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13596 echo "configure
:13597: checking
for $ac_func" >&5
13597 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13598 echo $ac_n "(cached
) $ac_c" 1>&6
13600 cat > conftest.$ac_ext <<EOF
13601 #line 13602 "configure
"
13602 #include "confdefs.h
"
13603 /* System header to define __stub macros and hopefully few prototypes,
13604 which can conflict with char $ac_func(); below. */
13605 #include <assert.h>
13606 /* Override any gcc2 internal prototype to avoid an error. */
13607 /* We use char because int might match the return type of a gcc2
13608 builtin and then its argument prototype would still apply. */
13613 /* The GNU C library defines this for functions which it implements
13614 to always fail with ENOSYS. Some functions are actually named
13615 something starting with __ and the normal name is an alias. */
13616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13624 if { (eval echo configure:13625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13626 eval "ac_cv_func_
$ac_func=yes"
13628 echo "configure
: failed program was
:" >&5
13629 cat conftest.$ac_ext >&5
13631 eval "ac_cv_func_
$ac_func=no
"
13636 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13637 echo "$ac_t""yes" 1>&6
13638 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13639 cat >> confdefs.h <<EOF
13640 #define $ac_tr_func 1
13644 echo "$ac_t""no
" 1>&6
13650 echo $ac_n "checking
for _isnanl declaration
""...
$ac_c" 1>&6
13651 echo "configure
:13652: checking
for _isnanl declaration
" >&5
13652 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
13653 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
13654 echo $ac_n "(cached
) $ac_c" 1>&6
13659 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13660 ac_cpp='$CXXCPP $CPPFLAGS'
13661 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13662 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13663 cross_compiling=$ac_cv_prog_cxx_cross
13665 cat > conftest.$ac_ext <<EOF
13666 #line 13667 "configure
"
13667 #include "confdefs.h
"
13669 #ifdef HAVE_IEEEFP_H
13670 #include <ieeefp.h>
13677 if { (eval echo configure:13678: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13679 glibcpp_cv_func__isnanl_use=yes
13681 echo "configure
: failed program was
:" >&5
13682 cat conftest.$ac_ext >&5
13684 glibcpp_cv_func__isnanl_use=no
13688 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13689 ac_cpp='$CPP $CPPFLAGS'
13690 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13691 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13692 cross_compiling=$ac_cv_prog_cc_cross
13698 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
13700 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
13701 for ac_func in _isnanl
13703 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13704 echo "configure
:13705: checking
for $ac_func" >&5
13705 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13706 echo $ac_n "(cached
) $ac_c" 1>&6
13708 cat > conftest.$ac_ext <<EOF
13709 #line 13710 "configure
"
13710 #include "confdefs.h
"
13711 /* System header to define __stub macros and hopefully few prototypes,
13712 which can conflict with char $ac_func(); below. */
13713 #include <assert.h>
13714 /* Override any gcc2 internal prototype to avoid an error. */
13715 /* We use char because int might match the return type of a gcc2
13716 builtin and then its argument prototype would still apply. */
13721 /* The GNU C library defines this for functions which it implements
13722 to always fail with ENOSYS. Some functions are actually named
13723 something starting with __ and the normal name is an alias. */
13724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13732 if { (eval echo configure:13733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13734 eval "ac_cv_func_
$ac_func=yes"
13736 echo "configure
: failed program was
:" >&5
13737 cat conftest.$ac_ext >&5
13739 eval "ac_cv_func_
$ac_func=no
"
13744 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13745 echo "$ac_t""yes" 1>&6
13746 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13747 cat >> confdefs.h <<EOF
13748 #define $ac_tr_func 1
13752 echo "$ac_t""no
" 1>&6
13761 echo $ac_n "checking
for isinfl declaration
""...
$ac_c" 1>&6
13762 echo "configure
:13763: checking
for isinfl declaration
" >&5
13763 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
13764 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
13765 echo $ac_n "(cached
) $ac_c" 1>&6
13770 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13771 ac_cpp='$CXXCPP $CPPFLAGS'
13772 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13773 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13774 cross_compiling=$ac_cv_prog_cxx_cross
13776 cat > conftest.$ac_ext <<EOF
13777 #line 13778 "configure
"
13778 #include "confdefs.h
"
13780 #ifdef HAVE_IEEEFP_H
13781 #include <ieeefp.h>
13788 if { (eval echo configure:13789: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13790 glibcpp_cv_func_isinfl_use=yes
13792 echo "configure
: failed program was
:" >&5
13793 cat conftest.$ac_ext >&5
13795 glibcpp_cv_func_isinfl_use=no
13799 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13800 ac_cpp='$CPP $CPPFLAGS'
13801 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13802 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13803 cross_compiling=$ac_cv_prog_cc_cross
13809 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
13811 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
13812 for ac_func in isinfl
13814 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13815 echo "configure
:13816: checking
for $ac_func" >&5
13816 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13817 echo $ac_n "(cached
) $ac_c" 1>&6
13819 cat > conftest.$ac_ext <<EOF
13820 #line 13821 "configure
"
13821 #include "confdefs.h
"
13822 /* System header to define __stub macros and hopefully few prototypes,
13823 which can conflict with char $ac_func(); below. */
13824 #include <assert.h>
13825 /* Override any gcc2 internal prototype to avoid an error. */
13826 /* We use char because int might match the return type of a gcc2
13827 builtin and then its argument prototype would still apply. */
13832 /* The GNU C library defines this for functions which it implements
13833 to always fail with ENOSYS. Some functions are actually named
13834 something starting with __ and the normal name is an alias. */
13835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13843 if { (eval echo configure:13844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13845 eval "ac_cv_func_
$ac_func=yes"
13847 echo "configure
: failed program was
:" >&5
13848 cat conftest.$ac_ext >&5
13850 eval "ac_cv_func_
$ac_func=no
"
13855 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13856 echo "$ac_t""yes" 1>&6
13857 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13858 cat >> confdefs.h <<EOF
13859 #define $ac_tr_func 1
13863 echo "$ac_t""no
" 1>&6
13869 echo $ac_n "checking
for _isinfl declaration
""...
$ac_c" 1>&6
13870 echo "configure
:13871: checking
for _isinfl declaration
" >&5
13871 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
13872 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
13873 echo $ac_n "(cached
) $ac_c" 1>&6
13878 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13879 ac_cpp='$CXXCPP $CPPFLAGS'
13880 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13881 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13882 cross_compiling=$ac_cv_prog_cxx_cross
13884 cat > conftest.$ac_ext <<EOF
13885 #line 13886 "configure
"
13886 #include "confdefs.h
"
13888 #ifdef HAVE_IEEEFP_H
13889 #include <ieeefp.h>
13896 if { (eval echo configure:13897: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13898 glibcpp_cv_func__isinfl_use=yes
13900 echo "configure
: failed program was
:" >&5
13901 cat conftest.$ac_ext >&5
13903 glibcpp_cv_func__isinfl_use=no
13907 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13908 ac_cpp='$CPP $CPPFLAGS'
13909 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13910 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13911 cross_compiling=$ac_cv_prog_cc_cross
13917 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
13919 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
13920 for ac_func in _isinfl
13922 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13923 echo "configure
:13924: checking
for $ac_func" >&5
13924 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13925 echo $ac_n "(cached
) $ac_c" 1>&6
13927 cat > conftest.$ac_ext <<EOF
13928 #line 13929 "configure
"
13929 #include "confdefs.h
"
13930 /* System header to define __stub macros and hopefully few prototypes,
13931 which can conflict with char $ac_func(); below. */
13932 #include <assert.h>
13933 /* Override any gcc2 internal prototype to avoid an error. */
13934 /* We use char because int might match the return type of a gcc2
13935 builtin and then its argument prototype would still apply. */
13940 /* The GNU C library defines this for functions which it implements
13941 to always fail with ENOSYS. Some functions are actually named
13942 something starting with __ and the normal name is an alias. */
13943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13951 if { (eval echo configure:13952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13953 eval "ac_cv_func_
$ac_func=yes"
13955 echo "configure
: failed program was
:" >&5
13956 cat conftest.$ac_ext >&5
13958 eval "ac_cv_func_
$ac_func=no
"
13963 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13964 echo "$ac_t""yes" 1>&6
13965 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13966 cat >> confdefs.h <<EOF
13967 #define $ac_tr_func 1
13971 echo "$ac_t""no
" 1>&6
13980 echo $ac_n "checking
for copysignl declaration
""...
$ac_c" 1>&6
13981 echo "configure
:13982: checking
for copysignl declaration
" >&5
13982 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
13983 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
13984 echo $ac_n "(cached
) $ac_c" 1>&6
13989 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13990 ac_cpp='$CXXCPP $CPPFLAGS'
13991 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13992 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13993 cross_compiling=$ac_cv_prog_cxx_cross
13995 cat > conftest.$ac_ext <<EOF
13996 #line 13997 "configure
"
13997 #include "confdefs.h
"
14003 if { (eval echo configure:14004: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14005 glibcpp_cv_func_copysignl_use=yes
14007 echo "configure
: failed program was
:" >&5
14008 cat conftest.$ac_ext >&5
14010 glibcpp_cv_func_copysignl_use=no
14014 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14015 ac_cpp='$CPP $CPPFLAGS'
14016 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14017 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14018 cross_compiling=$ac_cv_prog_cc_cross
14024 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
14026 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
14027 for ac_func in copysignl
14029 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14030 echo "configure
:14031: checking
for $ac_func" >&5
14031 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14032 echo $ac_n "(cached
) $ac_c" 1>&6
14034 cat > conftest.$ac_ext <<EOF
14035 #line 14036 "configure
"
14036 #include "confdefs.h
"
14037 /* System header to define __stub macros and hopefully few prototypes,
14038 which can conflict with char $ac_func(); below. */
14039 #include <assert.h>
14040 /* Override any gcc2 internal prototype to avoid an error. */
14041 /* We use char because int might match the return type of a gcc2
14042 builtin and then its argument prototype would still apply. */
14047 /* The GNU C library defines this for functions which it implements
14048 to always fail with ENOSYS. Some functions are actually named
14049 something starting with __ and the normal name is an alias. */
14050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14058 if { (eval echo configure:14059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14060 eval "ac_cv_func_
$ac_func=yes"
14062 echo "configure
: failed program was
:" >&5
14063 cat conftest.$ac_ext >&5
14065 eval "ac_cv_func_
$ac_func=no
"
14070 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14071 echo "$ac_t""yes" 1>&6
14072 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14073 cat >> confdefs.h <<EOF
14074 #define $ac_tr_func 1
14078 echo "$ac_t""no
" 1>&6
14084 echo $ac_n "checking
for _copysignl declaration
""...
$ac_c" 1>&6
14085 echo "configure
:14086: checking
for _copysignl declaration
" >&5
14086 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
14087 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
14088 echo $ac_n "(cached
) $ac_c" 1>&6
14093 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14094 ac_cpp='$CXXCPP $CPPFLAGS'
14095 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14096 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14097 cross_compiling=$ac_cv_prog_cxx_cross
14099 cat > conftest.$ac_ext <<EOF
14100 #line 14101 "configure
"
14101 #include "confdefs.h
"
14107 if { (eval echo configure:14108: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14109 glibcpp_cv_func__copysignl_use=yes
14111 echo "configure
: failed program was
:" >&5
14112 cat conftest.$ac_ext >&5
14114 glibcpp_cv_func__copysignl_use=no
14118 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14119 ac_cpp='$CPP $CPPFLAGS'
14120 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14121 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14122 cross_compiling=$ac_cv_prog_cc_cross
14128 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
14130 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
14131 for ac_func in _copysignl
14133 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14134 echo "configure
:14135: checking
for $ac_func" >&5
14135 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14136 echo $ac_n "(cached
) $ac_c" 1>&6
14138 cat > conftest.$ac_ext <<EOF
14139 #line 14140 "configure
"
14140 #include "confdefs.h
"
14141 /* System header to define __stub macros and hopefully few prototypes,
14142 which can conflict with char $ac_func(); below. */
14143 #include <assert.h>
14144 /* Override any gcc2 internal prototype to avoid an error. */
14145 /* We use char because int might match the return type of a gcc2
14146 builtin and then its argument prototype would still apply. */
14151 /* The GNU C library defines this for functions which it implements
14152 to always fail with ENOSYS. Some functions are actually named
14153 something starting with __ and the normal name is an alias. */
14154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14162 if { (eval echo configure:14163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14164 eval "ac_cv_func_
$ac_func=yes"
14166 echo "configure
: failed program was
:" >&5
14167 cat conftest.$ac_ext >&5
14169 eval "ac_cv_func_
$ac_func=no
"
14174 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14175 echo "$ac_t""yes" 1>&6
14176 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14177 cat >> confdefs.h <<EOF
14178 #define $ac_tr_func 1
14182 echo "$ac_t""no
" 1>&6
14191 echo $ac_n "checking
for atan2l declaration
""...
$ac_c" 1>&6
14192 echo "configure
:14193: checking
for atan2l declaration
" >&5
14193 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
14194 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
14195 echo $ac_n "(cached
) $ac_c" 1>&6
14200 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14201 ac_cpp='$CXXCPP $CPPFLAGS'
14202 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14203 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14204 cross_compiling=$ac_cv_prog_cxx_cross
14206 cat > conftest.$ac_ext <<EOF
14207 #line 14208 "configure
"
14208 #include "confdefs.h
"
14214 if { (eval echo configure:14215: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14216 glibcpp_cv_func_atan2l_use=yes
14218 echo "configure
: failed program was
:" >&5
14219 cat conftest.$ac_ext >&5
14221 glibcpp_cv_func_atan2l_use=no
14225 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14226 ac_cpp='$CPP $CPPFLAGS'
14227 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14228 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14229 cross_compiling=$ac_cv_prog_cc_cross
14235 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
14237 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
14238 for ac_func in atan2l
14240 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14241 echo "configure
:14242: checking
for $ac_func" >&5
14242 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14243 echo $ac_n "(cached
) $ac_c" 1>&6
14245 cat > conftest.$ac_ext <<EOF
14246 #line 14247 "configure
"
14247 #include "confdefs.h
"
14248 /* System header to define __stub macros and hopefully few prototypes,
14249 which can conflict with char $ac_func(); below. */
14250 #include <assert.h>
14251 /* Override any gcc2 internal prototype to avoid an error. */
14252 /* We use char because int might match the return type of a gcc2
14253 builtin and then its argument prototype would still apply. */
14258 /* The GNU C library defines this for functions which it implements
14259 to always fail with ENOSYS. Some functions are actually named
14260 something starting with __ and the normal name is an alias. */
14261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14269 if { (eval echo configure:14270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14271 eval "ac_cv_func_
$ac_func=yes"
14273 echo "configure
: failed program was
:" >&5
14274 cat conftest.$ac_ext >&5
14276 eval "ac_cv_func_
$ac_func=no
"
14281 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14282 echo "$ac_t""yes" 1>&6
14283 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14284 cat >> confdefs.h <<EOF
14285 #define $ac_tr_func 1
14289 echo "$ac_t""no
" 1>&6
14295 echo $ac_n "checking
for _atan2l declaration
""...
$ac_c" 1>&6
14296 echo "configure
:14297: checking
for _atan2l declaration
" >&5
14297 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
14298 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
14299 echo $ac_n "(cached
) $ac_c" 1>&6
14304 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14305 ac_cpp='$CXXCPP $CPPFLAGS'
14306 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14307 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14308 cross_compiling=$ac_cv_prog_cxx_cross
14310 cat > conftest.$ac_ext <<EOF
14311 #line 14312 "configure
"
14312 #include "confdefs.h
"
14318 if { (eval echo configure:14319: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14320 glibcpp_cv_func__atan2l_use=yes
14322 echo "configure
: failed program was
:" >&5
14323 cat conftest.$ac_ext >&5
14325 glibcpp_cv_func__atan2l_use=no
14329 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14330 ac_cpp='$CPP $CPPFLAGS'
14331 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14332 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14333 cross_compiling=$ac_cv_prog_cc_cross
14339 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
14341 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
14342 for ac_func in _atan2l
14344 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14345 echo "configure
:14346: checking
for $ac_func" >&5
14346 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14347 echo $ac_n "(cached
) $ac_c" 1>&6
14349 cat > conftest.$ac_ext <<EOF
14350 #line 14351 "configure
"
14351 #include "confdefs.h
"
14352 /* System header to define __stub macros and hopefully few prototypes,
14353 which can conflict with char $ac_func(); below. */
14354 #include <assert.h>
14355 /* Override any gcc2 internal prototype to avoid an error. */
14356 /* We use char because int might match the return type of a gcc2
14357 builtin and then its argument prototype would still apply. */
14362 /* The GNU C library defines this for functions which it implements
14363 to always fail with ENOSYS. Some functions are actually named
14364 something starting with __ and the normal name is an alias. */
14365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14373 if { (eval echo configure:14374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14375 eval "ac_cv_func_
$ac_func=yes"
14377 echo "configure
: failed program was
:" >&5
14378 cat conftest.$ac_ext >&5
14380 eval "ac_cv_func_
$ac_func=no
"
14385 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14386 echo "$ac_t""yes" 1>&6
14387 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14388 cat >> confdefs.h <<EOF
14389 #define $ac_tr_func 1
14393 echo "$ac_t""no
" 1>&6
14402 echo $ac_n "checking
for expl declaration
""...
$ac_c" 1>&6
14403 echo "configure
:14404: checking
for expl declaration
" >&5
14404 if test x${glibcpp_cv_func_expl_use+set} != xset; then
14405 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
14406 echo $ac_n "(cached
) $ac_c" 1>&6
14411 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14412 ac_cpp='$CXXCPP $CPPFLAGS'
14413 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14414 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14415 cross_compiling=$ac_cv_prog_cxx_cross
14417 cat > conftest.$ac_ext <<EOF
14418 #line 14419 "configure
"
14419 #include "confdefs.h
"
14421 #ifdef HAVE_IEEEFP_H
14422 #include <ieeefp.h>
14429 if { (eval echo configure:14430: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14431 glibcpp_cv_func_expl_use=yes
14433 echo "configure
: failed program was
:" >&5
14434 cat conftest.$ac_ext >&5
14436 glibcpp_cv_func_expl_use=no
14440 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14441 ac_cpp='$CPP $CPPFLAGS'
14442 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14443 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14444 cross_compiling=$ac_cv_prog_cc_cross
14450 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
14452 if test x$glibcpp_cv_func_expl_use = x"yes"; then
14453 for ac_func in expl
14455 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14456 echo "configure
:14457: checking
for $ac_func" >&5
14457 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14458 echo $ac_n "(cached
) $ac_c" 1>&6
14460 cat > conftest.$ac_ext <<EOF
14461 #line 14462 "configure
"
14462 #include "confdefs.h
"
14463 /* System header to define __stub macros and hopefully few prototypes,
14464 which can conflict with char $ac_func(); below. */
14465 #include <assert.h>
14466 /* Override any gcc2 internal prototype to avoid an error. */
14467 /* We use char because int might match the return type of a gcc2
14468 builtin and then its argument prototype would still apply. */
14473 /* The GNU C library defines this for functions which it implements
14474 to always fail with ENOSYS. Some functions are actually named
14475 something starting with __ and the normal name is an alias. */
14476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14484 if { (eval echo configure:14485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14486 eval "ac_cv_func_
$ac_func=yes"
14488 echo "configure
: failed program was
:" >&5
14489 cat conftest.$ac_ext >&5
14491 eval "ac_cv_func_
$ac_func=no
"
14496 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14497 echo "$ac_t""yes" 1>&6
14498 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14499 cat >> confdefs.h <<EOF
14500 #define $ac_tr_func 1
14504 echo "$ac_t""no
" 1>&6
14510 echo $ac_n "checking
for _expl declaration
""...
$ac_c" 1>&6
14511 echo "configure
:14512: checking
for _expl declaration
" >&5
14512 if test x${glibcpp_cv_func__expl_use+set} != xset; then
14513 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
14514 echo $ac_n "(cached
) $ac_c" 1>&6
14519 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14520 ac_cpp='$CXXCPP $CPPFLAGS'
14521 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14522 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14523 cross_compiling=$ac_cv_prog_cxx_cross
14525 cat > conftest.$ac_ext <<EOF
14526 #line 14527 "configure
"
14527 #include "confdefs.h
"
14529 #ifdef HAVE_IEEEFP_H
14530 #include <ieeefp.h>
14537 if { (eval echo configure:14538: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14539 glibcpp_cv_func__expl_use=yes
14541 echo "configure
: failed program was
:" >&5
14542 cat conftest.$ac_ext >&5
14544 glibcpp_cv_func__expl_use=no
14548 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14549 ac_cpp='$CPP $CPPFLAGS'
14550 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14551 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14552 cross_compiling=$ac_cv_prog_cc_cross
14558 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
14560 if test x$glibcpp_cv_func__expl_use = x"yes"; then
14561 for ac_func in _expl
14563 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14564 echo "configure
:14565: checking
for $ac_func" >&5
14565 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14566 echo $ac_n "(cached
) $ac_c" 1>&6
14568 cat > conftest.$ac_ext <<EOF
14569 #line 14570 "configure
"
14570 #include "confdefs.h
"
14571 /* System header to define __stub macros and hopefully few prototypes,
14572 which can conflict with char $ac_func(); below. */
14573 #include <assert.h>
14574 /* Override any gcc2 internal prototype to avoid an error. */
14575 /* We use char because int might match the return type of a gcc2
14576 builtin and then its argument prototype would still apply. */
14581 /* The GNU C library defines this for functions which it implements
14582 to always fail with ENOSYS. Some functions are actually named
14583 something starting with __ and the normal name is an alias. */
14584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14592 if { (eval echo configure:14593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14594 eval "ac_cv_func_
$ac_func=yes"
14596 echo "configure
: failed program was
:" >&5
14597 cat conftest.$ac_ext >&5
14599 eval "ac_cv_func_
$ac_func=no
"
14604 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14605 echo "$ac_t""yes" 1>&6
14606 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14607 cat >> confdefs.h <<EOF
14608 #define $ac_tr_func 1
14612 echo "$ac_t""no
" 1>&6
14621 echo $ac_n "checking
for fabsl declaration
""...
$ac_c" 1>&6
14622 echo "configure
:14623: checking
for fabsl declaration
" >&5
14623 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
14624 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
14625 echo $ac_n "(cached
) $ac_c" 1>&6
14630 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14631 ac_cpp='$CXXCPP $CPPFLAGS'
14632 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14633 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14634 cross_compiling=$ac_cv_prog_cxx_cross
14636 cat > conftest.$ac_ext <<EOF
14637 #line 14638 "configure
"
14638 #include "confdefs.h
"
14640 #ifdef HAVE_IEEEFP_H
14641 #include <ieeefp.h>
14648 if { (eval echo configure:14649: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14650 glibcpp_cv_func_fabsl_use=yes
14652 echo "configure
: failed program was
:" >&5
14653 cat conftest.$ac_ext >&5
14655 glibcpp_cv_func_fabsl_use=no
14659 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14660 ac_cpp='$CPP $CPPFLAGS'
14661 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14662 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14663 cross_compiling=$ac_cv_prog_cc_cross
14669 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
14671 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
14672 for ac_func in fabsl
14674 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14675 echo "configure
:14676: checking
for $ac_func" >&5
14676 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14677 echo $ac_n "(cached
) $ac_c" 1>&6
14679 cat > conftest.$ac_ext <<EOF
14680 #line 14681 "configure
"
14681 #include "confdefs.h
"
14682 /* System header to define __stub macros and hopefully few prototypes,
14683 which can conflict with char $ac_func(); below. */
14684 #include <assert.h>
14685 /* Override any gcc2 internal prototype to avoid an error. */
14686 /* We use char because int might match the return type of a gcc2
14687 builtin and then its argument prototype would still apply. */
14692 /* The GNU C library defines this for functions which it implements
14693 to always fail with ENOSYS. Some functions are actually named
14694 something starting with __ and the normal name is an alias. */
14695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14703 if { (eval echo configure:14704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14705 eval "ac_cv_func_
$ac_func=yes"
14707 echo "configure
: failed program was
:" >&5
14708 cat conftest.$ac_ext >&5
14710 eval "ac_cv_func_
$ac_func=no
"
14715 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14716 echo "$ac_t""yes" 1>&6
14717 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14718 cat >> confdefs.h <<EOF
14719 #define $ac_tr_func 1
14723 echo "$ac_t""no
" 1>&6
14729 echo $ac_n "checking
for _fabsl declaration
""...
$ac_c" 1>&6
14730 echo "configure
:14731: checking
for _fabsl declaration
" >&5
14731 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
14732 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
14733 echo $ac_n "(cached
) $ac_c" 1>&6
14738 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14739 ac_cpp='$CXXCPP $CPPFLAGS'
14740 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14741 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14742 cross_compiling=$ac_cv_prog_cxx_cross
14744 cat > conftest.$ac_ext <<EOF
14745 #line 14746 "configure
"
14746 #include "confdefs.h
"
14748 #ifdef HAVE_IEEEFP_H
14749 #include <ieeefp.h>
14756 if { (eval echo configure:14757: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14758 glibcpp_cv_func__fabsl_use=yes
14760 echo "configure
: failed program was
:" >&5
14761 cat conftest.$ac_ext >&5
14763 glibcpp_cv_func__fabsl_use=no
14767 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14768 ac_cpp='$CPP $CPPFLAGS'
14769 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14770 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14771 cross_compiling=$ac_cv_prog_cc_cross
14777 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
14779 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
14780 for ac_func in _fabsl
14782 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14783 echo "configure
:14784: checking
for $ac_func" >&5
14784 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14785 echo $ac_n "(cached
) $ac_c" 1>&6
14787 cat > conftest.$ac_ext <<EOF
14788 #line 14789 "configure
"
14789 #include "confdefs.h
"
14790 /* System header to define __stub macros and hopefully few prototypes,
14791 which can conflict with char $ac_func(); below. */
14792 #include <assert.h>
14793 /* Override any gcc2 internal prototype to avoid an error. */
14794 /* We use char because int might match the return type of a gcc2
14795 builtin and then its argument prototype would still apply. */
14800 /* The GNU C library defines this for functions which it implements
14801 to always fail with ENOSYS. Some functions are actually named
14802 something starting with __ and the normal name is an alias. */
14803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14811 if { (eval echo configure:14812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14813 eval "ac_cv_func_
$ac_func=yes"
14815 echo "configure
: failed program was
:" >&5
14816 cat conftest.$ac_ext >&5
14818 eval "ac_cv_func_
$ac_func=no
"
14823 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14824 echo "$ac_t""yes" 1>&6
14825 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14826 cat >> confdefs.h <<EOF
14827 #define $ac_tr_func 1
14831 echo "$ac_t""no
" 1>&6
14840 echo $ac_n "checking
for fmodl declaration
""...
$ac_c" 1>&6
14841 echo "configure
:14842: checking
for fmodl declaration
" >&5
14842 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
14843 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
14844 echo $ac_n "(cached
) $ac_c" 1>&6
14849 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14850 ac_cpp='$CXXCPP $CPPFLAGS'
14851 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14852 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14853 cross_compiling=$ac_cv_prog_cxx_cross
14855 cat > conftest.$ac_ext <<EOF
14856 #line 14857 "configure
"
14857 #include "confdefs.h
"
14863 if { (eval echo configure:14864: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14865 glibcpp_cv_func_fmodl_use=yes
14867 echo "configure
: failed program was
:" >&5
14868 cat conftest.$ac_ext >&5
14870 glibcpp_cv_func_fmodl_use=no
14874 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14875 ac_cpp='$CPP $CPPFLAGS'
14876 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14877 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14878 cross_compiling=$ac_cv_prog_cc_cross
14884 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
14886 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
14887 for ac_func in fmodl
14889 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14890 echo "configure
:14891: checking
for $ac_func" >&5
14891 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14892 echo $ac_n "(cached
) $ac_c" 1>&6
14894 cat > conftest.$ac_ext <<EOF
14895 #line 14896 "configure
"
14896 #include "confdefs.h
"
14897 /* System header to define __stub macros and hopefully few prototypes,
14898 which can conflict with char $ac_func(); below. */
14899 #include <assert.h>
14900 /* Override any gcc2 internal prototype to avoid an error. */
14901 /* We use char because int might match the return type of a gcc2
14902 builtin and then its argument prototype would still apply. */
14907 /* The GNU C library defines this for functions which it implements
14908 to always fail with ENOSYS. Some functions are actually named
14909 something starting with __ and the normal name is an alias. */
14910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14918 if { (eval echo configure:14919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14920 eval "ac_cv_func_
$ac_func=yes"
14922 echo "configure
: failed program was
:" >&5
14923 cat conftest.$ac_ext >&5
14925 eval "ac_cv_func_
$ac_func=no
"
14930 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14931 echo "$ac_t""yes" 1>&6
14932 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14933 cat >> confdefs.h <<EOF
14934 #define $ac_tr_func 1
14938 echo "$ac_t""no
" 1>&6
14944 echo $ac_n "checking
for _fmodl declaration
""...
$ac_c" 1>&6
14945 echo "configure
:14946: checking
for _fmodl declaration
" >&5
14946 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
14947 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
14948 echo $ac_n "(cached
) $ac_c" 1>&6
14953 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14954 ac_cpp='$CXXCPP $CPPFLAGS'
14955 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14956 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14957 cross_compiling=$ac_cv_prog_cxx_cross
14959 cat > conftest.$ac_ext <<EOF
14960 #line 14961 "configure
"
14961 #include "confdefs.h
"
14967 if { (eval echo configure:14968: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14969 glibcpp_cv_func__fmodl_use=yes
14971 echo "configure
: failed program was
:" >&5
14972 cat conftest.$ac_ext >&5
14974 glibcpp_cv_func__fmodl_use=no
14978 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14979 ac_cpp='$CPP $CPPFLAGS'
14980 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14981 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14982 cross_compiling=$ac_cv_prog_cc_cross
14988 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
14990 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
14991 for ac_func in _fmodl
14993 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14994 echo "configure
:14995: checking
for $ac_func" >&5
14995 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14996 echo $ac_n "(cached
) $ac_c" 1>&6
14998 cat > conftest.$ac_ext <<EOF
14999 #line 15000 "configure
"
15000 #include "confdefs.h
"
15001 /* System header to define __stub macros and hopefully few prototypes,
15002 which can conflict with char $ac_func(); below. */
15003 #include <assert.h>
15004 /* Override any gcc2 internal prototype to avoid an error. */
15005 /* We use char because int might match the return type of a gcc2
15006 builtin and then its argument prototype would still apply. */
15011 /* The GNU C library defines this for functions which it implements
15012 to always fail with ENOSYS. Some functions are actually named
15013 something starting with __ and the normal name is an alias. */
15014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15022 if { (eval echo configure:15023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15024 eval "ac_cv_func_
$ac_func=yes"
15026 echo "configure
: failed program was
:" >&5
15027 cat conftest.$ac_ext >&5
15029 eval "ac_cv_func_
$ac_func=no
"
15034 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15035 echo "$ac_t""yes" 1>&6
15036 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15037 cat >> confdefs.h <<EOF
15038 #define $ac_tr_func 1
15042 echo "$ac_t""no
" 1>&6
15051 echo $ac_n "checking
for frexpl declaration
""...
$ac_c" 1>&6
15052 echo "configure
:15053: checking
for frexpl declaration
" >&5
15053 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
15054 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
15055 echo $ac_n "(cached
) $ac_c" 1>&6
15060 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15061 ac_cpp='$CXXCPP $CPPFLAGS'
15062 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15063 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15064 cross_compiling=$ac_cv_prog_cxx_cross
15066 cat > conftest.$ac_ext <<EOF
15067 #line 15068 "configure
"
15068 #include "confdefs.h
"
15074 if { (eval echo configure:15075: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15076 glibcpp_cv_func_frexpl_use=yes
15078 echo "configure
: failed program was
:" >&5
15079 cat conftest.$ac_ext >&5
15081 glibcpp_cv_func_frexpl_use=no
15085 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15086 ac_cpp='$CPP $CPPFLAGS'
15087 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15088 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15089 cross_compiling=$ac_cv_prog_cc_cross
15095 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
15097 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
15098 for ac_func in frexpl
15100 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15101 echo "configure
:15102: checking
for $ac_func" >&5
15102 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15103 echo $ac_n "(cached
) $ac_c" 1>&6
15105 cat > conftest.$ac_ext <<EOF
15106 #line 15107 "configure
"
15107 #include "confdefs.h
"
15108 /* System header to define __stub macros and hopefully few prototypes,
15109 which can conflict with char $ac_func(); below. */
15110 #include <assert.h>
15111 /* Override any gcc2 internal prototype to avoid an error. */
15112 /* We use char because int might match the return type of a gcc2
15113 builtin and then its argument prototype would still apply. */
15118 /* The GNU C library defines this for functions which it implements
15119 to always fail with ENOSYS. Some functions are actually named
15120 something starting with __ and the normal name is an alias. */
15121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15129 if { (eval echo configure:15130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15131 eval "ac_cv_func_
$ac_func=yes"
15133 echo "configure
: failed program was
:" >&5
15134 cat conftest.$ac_ext >&5
15136 eval "ac_cv_func_
$ac_func=no
"
15141 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15142 echo "$ac_t""yes" 1>&6
15143 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15144 cat >> confdefs.h <<EOF
15145 #define $ac_tr_func 1
15149 echo "$ac_t""no
" 1>&6
15155 echo $ac_n "checking
for _frexpl declaration
""...
$ac_c" 1>&6
15156 echo "configure
:15157: checking
for _frexpl declaration
" >&5
15157 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
15158 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
15159 echo $ac_n "(cached
) $ac_c" 1>&6
15164 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15165 ac_cpp='$CXXCPP $CPPFLAGS'
15166 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15167 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15168 cross_compiling=$ac_cv_prog_cxx_cross
15170 cat > conftest.$ac_ext <<EOF
15171 #line 15172 "configure
"
15172 #include "confdefs.h
"
15178 if { (eval echo configure:15179: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15180 glibcpp_cv_func__frexpl_use=yes
15182 echo "configure
: failed program was
:" >&5
15183 cat conftest.$ac_ext >&5
15185 glibcpp_cv_func__frexpl_use=no
15189 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15190 ac_cpp='$CPP $CPPFLAGS'
15191 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15192 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15193 cross_compiling=$ac_cv_prog_cc_cross
15199 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
15201 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
15202 for ac_func in _frexpl
15204 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15205 echo "configure
:15206: checking
for $ac_func" >&5
15206 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15207 echo $ac_n "(cached
) $ac_c" 1>&6
15209 cat > conftest.$ac_ext <<EOF
15210 #line 15211 "configure
"
15211 #include "confdefs.h
"
15212 /* System header to define __stub macros and hopefully few prototypes,
15213 which can conflict with char $ac_func(); below. */
15214 #include <assert.h>
15215 /* Override any gcc2 internal prototype to avoid an error. */
15216 /* We use char because int might match the return type of a gcc2
15217 builtin and then its argument prototype would still apply. */
15222 /* The GNU C library defines this for functions which it implements
15223 to always fail with ENOSYS. Some functions are actually named
15224 something starting with __ and the normal name is an alias. */
15225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15233 if { (eval echo configure:15234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15235 eval "ac_cv_func_
$ac_func=yes"
15237 echo "configure
: failed program was
:" >&5
15238 cat conftest.$ac_ext >&5
15240 eval "ac_cv_func_
$ac_func=no
"
15245 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15246 echo "$ac_t""yes" 1>&6
15247 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15248 cat >> confdefs.h <<EOF
15249 #define $ac_tr_func 1
15253 echo "$ac_t""no
" 1>&6
15262 echo $ac_n "checking
for hypotl declaration
""...
$ac_c" 1>&6
15263 echo "configure
:15264: checking
for hypotl declaration
" >&5
15264 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
15265 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
15266 echo $ac_n "(cached
) $ac_c" 1>&6
15271 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15272 ac_cpp='$CXXCPP $CPPFLAGS'
15273 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15274 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15275 cross_compiling=$ac_cv_prog_cxx_cross
15277 cat > conftest.$ac_ext <<EOF
15278 #line 15279 "configure
"
15279 #include "confdefs.h
"
15285 if { (eval echo configure:15286: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15287 glibcpp_cv_func_hypotl_use=yes
15289 echo "configure
: failed program was
:" >&5
15290 cat conftest.$ac_ext >&5
15292 glibcpp_cv_func_hypotl_use=no
15296 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15297 ac_cpp='$CPP $CPPFLAGS'
15298 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15299 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15300 cross_compiling=$ac_cv_prog_cc_cross
15306 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
15308 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
15309 for ac_func in hypotl
15311 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15312 echo "configure
:15313: checking
for $ac_func" >&5
15313 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15314 echo $ac_n "(cached
) $ac_c" 1>&6
15316 cat > conftest.$ac_ext <<EOF
15317 #line 15318 "configure
"
15318 #include "confdefs.h
"
15319 /* System header to define __stub macros and hopefully few prototypes,
15320 which can conflict with char $ac_func(); below. */
15321 #include <assert.h>
15322 /* Override any gcc2 internal prototype to avoid an error. */
15323 /* We use char because int might match the return type of a gcc2
15324 builtin and then its argument prototype would still apply. */
15329 /* The GNU C library defines this for functions which it implements
15330 to always fail with ENOSYS. Some functions are actually named
15331 something starting with __ and the normal name is an alias. */
15332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15340 if { (eval echo configure:15341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15342 eval "ac_cv_func_
$ac_func=yes"
15344 echo "configure
: failed program was
:" >&5
15345 cat conftest.$ac_ext >&5
15347 eval "ac_cv_func_
$ac_func=no
"
15352 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15353 echo "$ac_t""yes" 1>&6
15354 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15355 cat >> confdefs.h <<EOF
15356 #define $ac_tr_func 1
15360 echo "$ac_t""no
" 1>&6
15366 echo $ac_n "checking
for _hypotl declaration
""...
$ac_c" 1>&6
15367 echo "configure
:15368: checking
for _hypotl declaration
" >&5
15368 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
15369 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
15370 echo $ac_n "(cached
) $ac_c" 1>&6
15375 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15376 ac_cpp='$CXXCPP $CPPFLAGS'
15377 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15378 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15379 cross_compiling=$ac_cv_prog_cxx_cross
15381 cat > conftest.$ac_ext <<EOF
15382 #line 15383 "configure
"
15383 #include "confdefs.h
"
15389 if { (eval echo configure:15390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15391 glibcpp_cv_func__hypotl_use=yes
15393 echo "configure
: failed program was
:" >&5
15394 cat conftest.$ac_ext >&5
15396 glibcpp_cv_func__hypotl_use=no
15400 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15401 ac_cpp='$CPP $CPPFLAGS'
15402 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15403 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15404 cross_compiling=$ac_cv_prog_cc_cross
15410 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
15412 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
15413 for ac_func in _hypotl
15415 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15416 echo "configure
:15417: checking
for $ac_func" >&5
15417 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15418 echo $ac_n "(cached
) $ac_c" 1>&6
15420 cat > conftest.$ac_ext <<EOF
15421 #line 15422 "configure
"
15422 #include "confdefs.h
"
15423 /* System header to define __stub macros and hopefully few prototypes,
15424 which can conflict with char $ac_func(); below. */
15425 #include <assert.h>
15426 /* Override any gcc2 internal prototype to avoid an error. */
15427 /* We use char because int might match the return type of a gcc2
15428 builtin and then its argument prototype would still apply. */
15433 /* The GNU C library defines this for functions which it implements
15434 to always fail with ENOSYS. Some functions are actually named
15435 something starting with __ and the normal name is an alias. */
15436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15444 if { (eval echo configure:15445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15446 eval "ac_cv_func_
$ac_func=yes"
15448 echo "configure
: failed program was
:" >&5
15449 cat conftest.$ac_ext >&5
15451 eval "ac_cv_func_
$ac_func=no
"
15456 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15457 echo "$ac_t""yes" 1>&6
15458 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15459 cat >> confdefs.h <<EOF
15460 #define $ac_tr_func 1
15464 echo "$ac_t""no
" 1>&6
15473 echo $ac_n "checking
for ldexpl declaration
""...
$ac_c" 1>&6
15474 echo "configure
:15475: checking
for ldexpl declaration
" >&5
15475 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
15476 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
15477 echo $ac_n "(cached
) $ac_c" 1>&6
15482 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15483 ac_cpp='$CXXCPP $CPPFLAGS'
15484 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15485 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15486 cross_compiling=$ac_cv_prog_cxx_cross
15488 cat > conftest.$ac_ext <<EOF
15489 #line 15490 "configure
"
15490 #include "confdefs.h
"
15496 if { (eval echo configure:15497: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15498 glibcpp_cv_func_ldexpl_use=yes
15500 echo "configure
: failed program was
:" >&5
15501 cat conftest.$ac_ext >&5
15503 glibcpp_cv_func_ldexpl_use=no
15507 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15508 ac_cpp='$CPP $CPPFLAGS'
15509 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15510 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15511 cross_compiling=$ac_cv_prog_cc_cross
15517 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
15519 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
15520 for ac_func in ldexpl
15522 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15523 echo "configure
:15524: checking
for $ac_func" >&5
15524 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15525 echo $ac_n "(cached
) $ac_c" 1>&6
15527 cat > conftest.$ac_ext <<EOF
15528 #line 15529 "configure
"
15529 #include "confdefs.h
"
15530 /* System header to define __stub macros and hopefully few prototypes,
15531 which can conflict with char $ac_func(); below. */
15532 #include <assert.h>
15533 /* Override any gcc2 internal prototype to avoid an error. */
15534 /* We use char because int might match the return type of a gcc2
15535 builtin and then its argument prototype would still apply. */
15540 /* The GNU C library defines this for functions which it implements
15541 to always fail with ENOSYS. Some functions are actually named
15542 something starting with __ and the normal name is an alias. */
15543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15551 if { (eval echo configure:15552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15553 eval "ac_cv_func_
$ac_func=yes"
15555 echo "configure
: failed program was
:" >&5
15556 cat conftest.$ac_ext >&5
15558 eval "ac_cv_func_
$ac_func=no
"
15563 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15564 echo "$ac_t""yes" 1>&6
15565 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15566 cat >> confdefs.h <<EOF
15567 #define $ac_tr_func 1
15571 echo "$ac_t""no
" 1>&6
15577 echo $ac_n "checking
for _ldexpl declaration
""...
$ac_c" 1>&6
15578 echo "configure
:15579: checking
for _ldexpl declaration
" >&5
15579 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
15580 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
15581 echo $ac_n "(cached
) $ac_c" 1>&6
15586 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15587 ac_cpp='$CXXCPP $CPPFLAGS'
15588 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15589 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15590 cross_compiling=$ac_cv_prog_cxx_cross
15592 cat > conftest.$ac_ext <<EOF
15593 #line 15594 "configure
"
15594 #include "confdefs.h
"
15600 if { (eval echo configure:15601: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15602 glibcpp_cv_func__ldexpl_use=yes
15604 echo "configure
: failed program was
:" >&5
15605 cat conftest.$ac_ext >&5
15607 glibcpp_cv_func__ldexpl_use=no
15611 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15612 ac_cpp='$CPP $CPPFLAGS'
15613 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15614 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15615 cross_compiling=$ac_cv_prog_cc_cross
15621 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
15623 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
15624 for ac_func in _ldexpl
15626 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15627 echo "configure
:15628: checking
for $ac_func" >&5
15628 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15629 echo $ac_n "(cached
) $ac_c" 1>&6
15631 cat > conftest.$ac_ext <<EOF
15632 #line 15633 "configure
"
15633 #include "confdefs.h
"
15634 /* System header to define __stub macros and hopefully few prototypes,
15635 which can conflict with char $ac_func(); below. */
15636 #include <assert.h>
15637 /* Override any gcc2 internal prototype to avoid an error. */
15638 /* We use char because int might match the return type of a gcc2
15639 builtin and then its argument prototype would still apply. */
15644 /* The GNU C library defines this for functions which it implements
15645 to always fail with ENOSYS. Some functions are actually named
15646 something starting with __ and the normal name is an alias. */
15647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15655 if { (eval echo configure:15656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15657 eval "ac_cv_func_
$ac_func=yes"
15659 echo "configure
: failed program was
:" >&5
15660 cat conftest.$ac_ext >&5
15662 eval "ac_cv_func_
$ac_func=no
"
15667 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15668 echo "$ac_t""yes" 1>&6
15669 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15670 cat >> confdefs.h <<EOF
15671 #define $ac_tr_func 1
15675 echo "$ac_t""no
" 1>&6
15684 echo $ac_n "checking
for logl declaration
""...
$ac_c" 1>&6
15685 echo "configure
:15686: checking
for logl declaration
" >&5
15686 if test x${glibcpp_cv_func_logl_use+set} != xset; then
15687 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
15688 echo $ac_n "(cached
) $ac_c" 1>&6
15693 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15694 ac_cpp='$CXXCPP $CPPFLAGS'
15695 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15696 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15697 cross_compiling=$ac_cv_prog_cxx_cross
15699 cat > conftest.$ac_ext <<EOF
15700 #line 15701 "configure
"
15701 #include "confdefs.h
"
15703 #ifdef HAVE_IEEEFP_H
15704 #include <ieeefp.h>
15711 if { (eval echo configure:15712: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15713 glibcpp_cv_func_logl_use=yes
15715 echo "configure
: failed program was
:" >&5
15716 cat conftest.$ac_ext >&5
15718 glibcpp_cv_func_logl_use=no
15722 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15723 ac_cpp='$CPP $CPPFLAGS'
15724 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15725 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15726 cross_compiling=$ac_cv_prog_cc_cross
15732 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
15734 if test x$glibcpp_cv_func_logl_use = x"yes"; then
15735 for ac_func in logl
15737 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15738 echo "configure
:15739: checking
for $ac_func" >&5
15739 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15740 echo $ac_n "(cached
) $ac_c" 1>&6
15742 cat > conftest.$ac_ext <<EOF
15743 #line 15744 "configure
"
15744 #include "confdefs.h
"
15745 /* System header to define __stub macros and hopefully few prototypes,
15746 which can conflict with char $ac_func(); below. */
15747 #include <assert.h>
15748 /* Override any gcc2 internal prototype to avoid an error. */
15749 /* We use char because int might match the return type of a gcc2
15750 builtin and then its argument prototype would still apply. */
15755 /* The GNU C library defines this for functions which it implements
15756 to always fail with ENOSYS. Some functions are actually named
15757 something starting with __ and the normal name is an alias. */
15758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15766 if { (eval echo configure:15767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15768 eval "ac_cv_func_
$ac_func=yes"
15770 echo "configure
: failed program was
:" >&5
15771 cat conftest.$ac_ext >&5
15773 eval "ac_cv_func_
$ac_func=no
"
15778 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15779 echo "$ac_t""yes" 1>&6
15780 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15781 cat >> confdefs.h <<EOF
15782 #define $ac_tr_func 1
15786 echo "$ac_t""no
" 1>&6
15792 echo $ac_n "checking
for _logl declaration
""...
$ac_c" 1>&6
15793 echo "configure
:15794: checking
for _logl declaration
" >&5
15794 if test x${glibcpp_cv_func__logl_use+set} != xset; then
15795 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
15796 echo $ac_n "(cached
) $ac_c" 1>&6
15801 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15802 ac_cpp='$CXXCPP $CPPFLAGS'
15803 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15804 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15805 cross_compiling=$ac_cv_prog_cxx_cross
15807 cat > conftest.$ac_ext <<EOF
15808 #line 15809 "configure
"
15809 #include "confdefs.h
"
15811 #ifdef HAVE_IEEEFP_H
15812 #include <ieeefp.h>
15819 if { (eval echo configure:15820: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15821 glibcpp_cv_func__logl_use=yes
15823 echo "configure
: failed program was
:" >&5
15824 cat conftest.$ac_ext >&5
15826 glibcpp_cv_func__logl_use=no
15830 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15831 ac_cpp='$CPP $CPPFLAGS'
15832 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15833 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15834 cross_compiling=$ac_cv_prog_cc_cross
15840 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
15842 if test x$glibcpp_cv_func__logl_use = x"yes"; then
15843 for ac_func in _logl
15845 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15846 echo "configure
:15847: checking
for $ac_func" >&5
15847 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15848 echo $ac_n "(cached
) $ac_c" 1>&6
15850 cat > conftest.$ac_ext <<EOF
15851 #line 15852 "configure
"
15852 #include "confdefs.h
"
15853 /* System header to define __stub macros and hopefully few prototypes,
15854 which can conflict with char $ac_func(); below. */
15855 #include <assert.h>
15856 /* Override any gcc2 internal prototype to avoid an error. */
15857 /* We use char because int might match the return type of a gcc2
15858 builtin and then its argument prototype would still apply. */
15863 /* The GNU C library defines this for functions which it implements
15864 to always fail with ENOSYS. Some functions are actually named
15865 something starting with __ and the normal name is an alias. */
15866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15874 if { (eval echo configure:15875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15876 eval "ac_cv_func_
$ac_func=yes"
15878 echo "configure
: failed program was
:" >&5
15879 cat conftest.$ac_ext >&5
15881 eval "ac_cv_func_
$ac_func=no
"
15886 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15887 echo "$ac_t""yes" 1>&6
15888 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15889 cat >> confdefs.h <<EOF
15890 #define $ac_tr_func 1
15894 echo "$ac_t""no
" 1>&6
15903 echo $ac_n "checking
for log10l declaration
""...
$ac_c" 1>&6
15904 echo "configure
:15905: checking
for log10l declaration
" >&5
15905 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
15906 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
15907 echo $ac_n "(cached
) $ac_c" 1>&6
15912 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15913 ac_cpp='$CXXCPP $CPPFLAGS'
15914 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15915 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15916 cross_compiling=$ac_cv_prog_cxx_cross
15918 cat > conftest.$ac_ext <<EOF
15919 #line 15920 "configure
"
15920 #include "confdefs.h
"
15922 #ifdef HAVE_IEEEFP_H
15923 #include <ieeefp.h>
15930 if { (eval echo configure:15931: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15932 glibcpp_cv_func_log10l_use=yes
15934 echo "configure
: failed program was
:" >&5
15935 cat conftest.$ac_ext >&5
15937 glibcpp_cv_func_log10l_use=no
15941 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15942 ac_cpp='$CPP $CPPFLAGS'
15943 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15944 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15945 cross_compiling=$ac_cv_prog_cc_cross
15951 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
15953 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
15954 for ac_func in log10l
15956 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15957 echo "configure
:15958: checking
for $ac_func" >&5
15958 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15959 echo $ac_n "(cached
) $ac_c" 1>&6
15961 cat > conftest.$ac_ext <<EOF
15962 #line 15963 "configure
"
15963 #include "confdefs.h
"
15964 /* System header to define __stub macros and hopefully few prototypes,
15965 which can conflict with char $ac_func(); below. */
15966 #include <assert.h>
15967 /* Override any gcc2 internal prototype to avoid an error. */
15968 /* We use char because int might match the return type of a gcc2
15969 builtin and then its argument prototype would still apply. */
15974 /* The GNU C library defines this for functions which it implements
15975 to always fail with ENOSYS. Some functions are actually named
15976 something starting with __ and the normal name is an alias. */
15977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15985 if { (eval echo configure:15986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15987 eval "ac_cv_func_
$ac_func=yes"
15989 echo "configure
: failed program was
:" >&5
15990 cat conftest.$ac_ext >&5
15992 eval "ac_cv_func_
$ac_func=no
"
15997 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15998 echo "$ac_t""yes" 1>&6
15999 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16000 cat >> confdefs.h <<EOF
16001 #define $ac_tr_func 1
16005 echo "$ac_t""no
" 1>&6
16011 echo $ac_n "checking
for _log10l declaration
""...
$ac_c" 1>&6
16012 echo "configure
:16013: checking
for _log10l declaration
" >&5
16013 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
16014 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
16015 echo $ac_n "(cached
) $ac_c" 1>&6
16020 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16021 ac_cpp='$CXXCPP $CPPFLAGS'
16022 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16023 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16024 cross_compiling=$ac_cv_prog_cxx_cross
16026 cat > conftest.$ac_ext <<EOF
16027 #line 16028 "configure
"
16028 #include "confdefs.h
"
16030 #ifdef HAVE_IEEEFP_H
16031 #include <ieeefp.h>
16038 if { (eval echo configure:16039: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16040 glibcpp_cv_func__log10l_use=yes
16042 echo "configure
: failed program was
:" >&5
16043 cat conftest.$ac_ext >&5
16045 glibcpp_cv_func__log10l_use=no
16049 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16050 ac_cpp='$CPP $CPPFLAGS'
16051 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16052 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16053 cross_compiling=$ac_cv_prog_cc_cross
16059 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
16061 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
16062 for ac_func in _log10l
16064 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16065 echo "configure
:16066: checking
for $ac_func" >&5
16066 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16067 echo $ac_n "(cached
) $ac_c" 1>&6
16069 cat > conftest.$ac_ext <<EOF
16070 #line 16071 "configure
"
16071 #include "confdefs.h
"
16072 /* System header to define __stub macros and hopefully few prototypes,
16073 which can conflict with char $ac_func(); below. */
16074 #include <assert.h>
16075 /* Override any gcc2 internal prototype to avoid an error. */
16076 /* We use char because int might match the return type of a gcc2
16077 builtin and then its argument prototype would still apply. */
16082 /* The GNU C library defines this for functions which it implements
16083 to always fail with ENOSYS. Some functions are actually named
16084 something starting with __ and the normal name is an alias. */
16085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16093 if { (eval echo configure:16094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16095 eval "ac_cv_func_
$ac_func=yes"
16097 echo "configure
: failed program was
:" >&5
16098 cat conftest.$ac_ext >&5
16100 eval "ac_cv_func_
$ac_func=no
"
16105 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16106 echo "$ac_t""yes" 1>&6
16107 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16108 cat >> confdefs.h <<EOF
16109 #define $ac_tr_func 1
16113 echo "$ac_t""no
" 1>&6
16122 echo $ac_n "checking
for modfl declaration
""...
$ac_c" 1>&6
16123 echo "configure
:16124: checking
for modfl declaration
" >&5
16124 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
16125 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
16126 echo $ac_n "(cached
) $ac_c" 1>&6
16131 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16132 ac_cpp='$CXXCPP $CPPFLAGS'
16133 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16134 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16135 cross_compiling=$ac_cv_prog_cxx_cross
16137 cat > conftest.$ac_ext <<EOF
16138 #line 16139 "configure
"
16139 #include "confdefs.h
"
16145 if { (eval echo configure:16146: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16147 glibcpp_cv_func_modfl_use=yes
16149 echo "configure
: failed program was
:" >&5
16150 cat conftest.$ac_ext >&5
16152 glibcpp_cv_func_modfl_use=no
16156 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16157 ac_cpp='$CPP $CPPFLAGS'
16158 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16159 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16160 cross_compiling=$ac_cv_prog_cc_cross
16166 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
16168 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
16169 for ac_func in modfl
16171 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16172 echo "configure
:16173: checking
for $ac_func" >&5
16173 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16174 echo $ac_n "(cached
) $ac_c" 1>&6
16176 cat > conftest.$ac_ext <<EOF
16177 #line 16178 "configure
"
16178 #include "confdefs.h
"
16179 /* System header to define __stub macros and hopefully few prototypes,
16180 which can conflict with char $ac_func(); below. */
16181 #include <assert.h>
16182 /* Override any gcc2 internal prototype to avoid an error. */
16183 /* We use char because int might match the return type of a gcc2
16184 builtin and then its argument prototype would still apply. */
16189 /* The GNU C library defines this for functions which it implements
16190 to always fail with ENOSYS. Some functions are actually named
16191 something starting with __ and the normal name is an alias. */
16192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16200 if { (eval echo configure:16201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16202 eval "ac_cv_func_
$ac_func=yes"
16204 echo "configure
: failed program was
:" >&5
16205 cat conftest.$ac_ext >&5
16207 eval "ac_cv_func_
$ac_func=no
"
16212 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16213 echo "$ac_t""yes" 1>&6
16214 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16215 cat >> confdefs.h <<EOF
16216 #define $ac_tr_func 1
16220 echo "$ac_t""no
" 1>&6
16226 echo $ac_n "checking
for _modfl declaration
""...
$ac_c" 1>&6
16227 echo "configure
:16228: checking
for _modfl declaration
" >&5
16228 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
16229 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
16230 echo $ac_n "(cached
) $ac_c" 1>&6
16235 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16236 ac_cpp='$CXXCPP $CPPFLAGS'
16237 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16238 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16239 cross_compiling=$ac_cv_prog_cxx_cross
16241 cat > conftest.$ac_ext <<EOF
16242 #line 16243 "configure
"
16243 #include "confdefs.h
"
16249 if { (eval echo configure:16250: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16251 glibcpp_cv_func__modfl_use=yes
16253 echo "configure
: failed program was
:" >&5
16254 cat conftest.$ac_ext >&5
16256 glibcpp_cv_func__modfl_use=no
16260 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16261 ac_cpp='$CPP $CPPFLAGS'
16262 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16263 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16264 cross_compiling=$ac_cv_prog_cc_cross
16270 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
16272 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
16273 for ac_func in _modfl
16275 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16276 echo "configure
:16277: checking
for $ac_func" >&5
16277 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16278 echo $ac_n "(cached
) $ac_c" 1>&6
16280 cat > conftest.$ac_ext <<EOF
16281 #line 16282 "configure
"
16282 #include "confdefs.h
"
16283 /* System header to define __stub macros and hopefully few prototypes,
16284 which can conflict with char $ac_func(); below. */
16285 #include <assert.h>
16286 /* Override any gcc2 internal prototype to avoid an error. */
16287 /* We use char because int might match the return type of a gcc2
16288 builtin and then its argument prototype would still apply. */
16293 /* The GNU C library defines this for functions which it implements
16294 to always fail with ENOSYS. Some functions are actually named
16295 something starting with __ and the normal name is an alias. */
16296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16304 if { (eval echo configure:16305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16306 eval "ac_cv_func_
$ac_func=yes"
16308 echo "configure
: failed program was
:" >&5
16309 cat conftest.$ac_ext >&5
16311 eval "ac_cv_func_
$ac_func=no
"
16316 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16317 echo "$ac_t""yes" 1>&6
16318 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16319 cat >> confdefs.h <<EOF
16320 #define $ac_tr_func 1
16324 echo "$ac_t""no
" 1>&6
16333 echo $ac_n "checking
for powl declaration
""...
$ac_c" 1>&6
16334 echo "configure
:16335: checking
for powl declaration
" >&5
16335 if test x${glibcpp_cv_func_powl_use+set} != xset; then
16336 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
16337 echo $ac_n "(cached
) $ac_c" 1>&6
16342 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16343 ac_cpp='$CXXCPP $CPPFLAGS'
16344 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16345 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16346 cross_compiling=$ac_cv_prog_cxx_cross
16348 cat > conftest.$ac_ext <<EOF
16349 #line 16350 "configure
"
16350 #include "confdefs.h
"
16356 if { (eval echo configure:16357: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16358 glibcpp_cv_func_powl_use=yes
16360 echo "configure
: failed program was
:" >&5
16361 cat conftest.$ac_ext >&5
16363 glibcpp_cv_func_powl_use=no
16367 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16368 ac_cpp='$CPP $CPPFLAGS'
16369 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16370 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16371 cross_compiling=$ac_cv_prog_cc_cross
16377 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
16379 if test x$glibcpp_cv_func_powl_use = x"yes"; then
16380 for ac_func in powl
16382 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16383 echo "configure
:16384: checking
for $ac_func" >&5
16384 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16385 echo $ac_n "(cached
) $ac_c" 1>&6
16387 cat > conftest.$ac_ext <<EOF
16388 #line 16389 "configure
"
16389 #include "confdefs.h
"
16390 /* System header to define __stub macros and hopefully few prototypes,
16391 which can conflict with char $ac_func(); below. */
16392 #include <assert.h>
16393 /* Override any gcc2 internal prototype to avoid an error. */
16394 /* We use char because int might match the return type of a gcc2
16395 builtin and then its argument prototype would still apply. */
16400 /* The GNU C library defines this for functions which it implements
16401 to always fail with ENOSYS. Some functions are actually named
16402 something starting with __ and the normal name is an alias. */
16403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16411 if { (eval echo configure:16412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16413 eval "ac_cv_func_
$ac_func=yes"
16415 echo "configure
: failed program was
:" >&5
16416 cat conftest.$ac_ext >&5
16418 eval "ac_cv_func_
$ac_func=no
"
16423 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16424 echo "$ac_t""yes" 1>&6
16425 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16426 cat >> confdefs.h <<EOF
16427 #define $ac_tr_func 1
16431 echo "$ac_t""no
" 1>&6
16437 echo $ac_n "checking
for _powl declaration
""...
$ac_c" 1>&6
16438 echo "configure
:16439: checking
for _powl declaration
" >&5
16439 if test x${glibcpp_cv_func__powl_use+set} != xset; then
16440 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
16441 echo $ac_n "(cached
) $ac_c" 1>&6
16446 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16447 ac_cpp='$CXXCPP $CPPFLAGS'
16448 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16449 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16450 cross_compiling=$ac_cv_prog_cxx_cross
16452 cat > conftest.$ac_ext <<EOF
16453 #line 16454 "configure
"
16454 #include "confdefs.h
"
16460 if { (eval echo configure:16461: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16462 glibcpp_cv_func__powl_use=yes
16464 echo "configure
: failed program was
:" >&5
16465 cat conftest.$ac_ext >&5
16467 glibcpp_cv_func__powl_use=no
16471 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16472 ac_cpp='$CPP $CPPFLAGS'
16473 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16474 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16475 cross_compiling=$ac_cv_prog_cc_cross
16481 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
16483 if test x$glibcpp_cv_func__powl_use = x"yes"; then
16484 for ac_func in _powl
16486 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16487 echo "configure
:16488: checking
for $ac_func" >&5
16488 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16489 echo $ac_n "(cached
) $ac_c" 1>&6
16491 cat > conftest.$ac_ext <<EOF
16492 #line 16493 "configure
"
16493 #include "confdefs.h
"
16494 /* System header to define __stub macros and hopefully few prototypes,
16495 which can conflict with char $ac_func(); below. */
16496 #include <assert.h>
16497 /* Override any gcc2 internal prototype to avoid an error. */
16498 /* We use char because int might match the return type of a gcc2
16499 builtin and then its argument prototype would still apply. */
16504 /* The GNU C library defines this for functions which it implements
16505 to always fail with ENOSYS. Some functions are actually named
16506 something starting with __ and the normal name is an alias. */
16507 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16515 if { (eval echo configure:16516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16517 eval "ac_cv_func_
$ac_func=yes"
16519 echo "configure
: failed program was
:" >&5
16520 cat conftest.$ac_ext >&5
16522 eval "ac_cv_func_
$ac_func=no
"
16527 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16528 echo "$ac_t""yes" 1>&6
16529 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16530 cat >> confdefs.h <<EOF
16531 #define $ac_tr_func 1
16535 echo "$ac_t""no
" 1>&6
16544 echo $ac_n "checking
for sqrtl declaration
""...
$ac_c" 1>&6
16545 echo "configure
:16546: checking
for sqrtl declaration
" >&5
16546 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
16547 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
16548 echo $ac_n "(cached
) $ac_c" 1>&6
16553 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16554 ac_cpp='$CXXCPP $CPPFLAGS'
16555 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16556 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16557 cross_compiling=$ac_cv_prog_cxx_cross
16559 cat > conftest.$ac_ext <<EOF
16560 #line 16561 "configure
"
16561 #include "confdefs.h
"
16563 #ifdef HAVE_IEEEFP_H
16564 #include <ieeefp.h>
16571 if { (eval echo configure:16572: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16573 glibcpp_cv_func_sqrtl_use=yes
16575 echo "configure
: failed program was
:" >&5
16576 cat conftest.$ac_ext >&5
16578 glibcpp_cv_func_sqrtl_use=no
16582 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16583 ac_cpp='$CPP $CPPFLAGS'
16584 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16585 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16586 cross_compiling=$ac_cv_prog_cc_cross
16592 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
16594 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
16595 for ac_func in sqrtl
16597 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16598 echo "configure
:16599: checking
for $ac_func" >&5
16599 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16600 echo $ac_n "(cached
) $ac_c" 1>&6
16602 cat > conftest.$ac_ext <<EOF
16603 #line 16604 "configure
"
16604 #include "confdefs.h
"
16605 /* System header to define __stub macros and hopefully few prototypes,
16606 which can conflict with char $ac_func(); below. */
16607 #include <assert.h>
16608 /* Override any gcc2 internal prototype to avoid an error. */
16609 /* We use char because int might match the return type of a gcc2
16610 builtin and then its argument prototype would still apply. */
16615 /* The GNU C library defines this for functions which it implements
16616 to always fail with ENOSYS. Some functions are actually named
16617 something starting with __ and the normal name is an alias. */
16618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16626 if { (eval echo configure:16627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16628 eval "ac_cv_func_
$ac_func=yes"
16630 echo "configure
: failed program was
:" >&5
16631 cat conftest.$ac_ext >&5
16633 eval "ac_cv_func_
$ac_func=no
"
16638 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16639 echo "$ac_t""yes" 1>&6
16640 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16641 cat >> confdefs.h <<EOF
16642 #define $ac_tr_func 1
16646 echo "$ac_t""no
" 1>&6
16652 echo $ac_n "checking
for _sqrtl declaration
""...
$ac_c" 1>&6
16653 echo "configure
:16654: checking
for _sqrtl declaration
" >&5
16654 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
16655 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
16656 echo $ac_n "(cached
) $ac_c" 1>&6
16661 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16662 ac_cpp='$CXXCPP $CPPFLAGS'
16663 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16664 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16665 cross_compiling=$ac_cv_prog_cxx_cross
16667 cat > conftest.$ac_ext <<EOF
16668 #line 16669 "configure
"
16669 #include "confdefs.h
"
16671 #ifdef HAVE_IEEEFP_H
16672 #include <ieeefp.h>
16679 if { (eval echo configure:16680: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16681 glibcpp_cv_func__sqrtl_use=yes
16683 echo "configure
: failed program was
:" >&5
16684 cat conftest.$ac_ext >&5
16686 glibcpp_cv_func__sqrtl_use=no
16690 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16691 ac_cpp='$CPP $CPPFLAGS'
16692 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16693 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16694 cross_compiling=$ac_cv_prog_cc_cross
16700 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
16702 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
16703 for ac_func in _sqrtl
16705 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16706 echo "configure
:16707: checking
for $ac_func" >&5
16707 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16708 echo $ac_n "(cached
) $ac_c" 1>&6
16710 cat > conftest.$ac_ext <<EOF
16711 #line 16712 "configure
"
16712 #include "confdefs.h
"
16713 /* System header to define __stub macros and hopefully few prototypes,
16714 which can conflict with char $ac_func(); below. */
16715 #include <assert.h>
16716 /* Override any gcc2 internal prototype to avoid an error. */
16717 /* We use char because int might match the return type of a gcc2
16718 builtin and then its argument prototype would still apply. */
16723 /* The GNU C library defines this for functions which it implements
16724 to always fail with ENOSYS. Some functions are actually named
16725 something starting with __ and the normal name is an alias. */
16726 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16734 if { (eval echo configure:16735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16736 eval "ac_cv_func_
$ac_func=yes"
16738 echo "configure
: failed program was
:" >&5
16739 cat conftest.$ac_ext >&5
16741 eval "ac_cv_func_
$ac_func=no
"
16746 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16747 echo "$ac_t""yes" 1>&6
16748 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16749 cat >> confdefs.h <<EOF
16750 #define $ac_tr_func 1
16754 echo "$ac_t""no
" 1>&6
16763 echo $ac_n "checking
for sincosl declaration
""...
$ac_c" 1>&6
16764 echo "configure
:16765: checking
for sincosl declaration
" >&5
16765 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
16766 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
16767 echo $ac_n "(cached
) $ac_c" 1>&6
16772 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16773 ac_cpp='$CXXCPP $CPPFLAGS'
16774 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16775 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16776 cross_compiling=$ac_cv_prog_cxx_cross
16778 cat > conftest.$ac_ext <<EOF
16779 #line 16780 "configure
"
16780 #include "confdefs.h
"
16786 if { (eval echo configure:16787: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16788 glibcpp_cv_func_sincosl_use=yes
16790 echo "configure
: failed program was
:" >&5
16791 cat conftest.$ac_ext >&5
16793 glibcpp_cv_func_sincosl_use=no
16797 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16798 ac_cpp='$CPP $CPPFLAGS'
16799 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16800 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16801 cross_compiling=$ac_cv_prog_cc_cross
16807 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
16809 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
16810 for ac_func in sincosl
16812 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16813 echo "configure
:16814: checking
for $ac_func" >&5
16814 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16815 echo $ac_n "(cached
) $ac_c" 1>&6
16817 cat > conftest.$ac_ext <<EOF
16818 #line 16819 "configure
"
16819 #include "confdefs.h
"
16820 /* System header to define __stub macros and hopefully few prototypes,
16821 which can conflict with char $ac_func(); below. */
16822 #include <assert.h>
16823 /* Override any gcc2 internal prototype to avoid an error. */
16824 /* We use char because int might match the return type of a gcc2
16825 builtin and then its argument prototype would still apply. */
16830 /* The GNU C library defines this for functions which it implements
16831 to always fail with ENOSYS. Some functions are actually named
16832 something starting with __ and the normal name is an alias. */
16833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16841 if { (eval echo configure:16842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16843 eval "ac_cv_func_
$ac_func=yes"
16845 echo "configure
: failed program was
:" >&5
16846 cat conftest.$ac_ext >&5
16848 eval "ac_cv_func_
$ac_func=no
"
16853 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16854 echo "$ac_t""yes" 1>&6
16855 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16856 cat >> confdefs.h <<EOF
16857 #define $ac_tr_func 1
16861 echo "$ac_t""no
" 1>&6
16867 echo $ac_n "checking
for _sincosl declaration
""...
$ac_c" 1>&6
16868 echo "configure
:16869: checking
for _sincosl declaration
" >&5
16869 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
16870 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
16871 echo $ac_n "(cached
) $ac_c" 1>&6
16876 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16877 ac_cpp='$CXXCPP $CPPFLAGS'
16878 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16879 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16880 cross_compiling=$ac_cv_prog_cxx_cross
16882 cat > conftest.$ac_ext <<EOF
16883 #line 16884 "configure
"
16884 #include "confdefs.h
"
16890 if { (eval echo configure:16891: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16892 glibcpp_cv_func__sincosl_use=yes
16894 echo "configure
: failed program was
:" >&5
16895 cat conftest.$ac_ext >&5
16897 glibcpp_cv_func__sincosl_use=no
16901 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16902 ac_cpp='$CPP $CPPFLAGS'
16903 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16904 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16905 cross_compiling=$ac_cv_prog_cc_cross
16911 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
16913 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
16914 for ac_func in _sincosl
16916 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16917 echo "configure
:16918: checking
for $ac_func" >&5
16918 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16919 echo $ac_n "(cached
) $ac_c" 1>&6
16921 cat > conftest.$ac_ext <<EOF
16922 #line 16923 "configure
"
16923 #include "confdefs.h
"
16924 /* System header to define __stub macros and hopefully few prototypes,
16925 which can conflict with char $ac_func(); below. */
16926 #include <assert.h>
16927 /* Override any gcc2 internal prototype to avoid an error. */
16928 /* We use char because int might match the return type of a gcc2
16929 builtin and then its argument prototype would still apply. */
16934 /* The GNU C library defines this for functions which it implements
16935 to always fail with ENOSYS. Some functions are actually named
16936 something starting with __ and the normal name is an alias. */
16937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16945 if { (eval echo configure:16946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16947 eval "ac_cv_func_
$ac_func=yes"
16949 echo "configure
: failed program was
:" >&5
16950 cat conftest.$ac_ext >&5
16952 eval "ac_cv_func_
$ac_func=no
"
16957 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16958 echo "$ac_t""yes" 1>&6
16959 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16960 cat >> confdefs.h <<EOF
16961 #define $ac_tr_func 1
16965 echo "$ac_t""no
" 1>&6
16974 echo $ac_n "checking
for finitel declaration
""...
$ac_c" 1>&6
16975 echo "configure
:16976: checking
for finitel declaration
" >&5
16976 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
16977 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
16978 echo $ac_n "(cached
) $ac_c" 1>&6
16983 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16984 ac_cpp='$CXXCPP $CPPFLAGS'
16985 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16986 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16987 cross_compiling=$ac_cv_prog_cxx_cross
16989 cat > conftest.$ac_ext <<EOF
16990 #line 16991 "configure
"
16991 #include "confdefs.h
"
16993 #ifdef HAVE_IEEEFP_H
16994 #include <ieeefp.h>
17001 if { (eval echo configure:17002: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17003 glibcpp_cv_func_finitel_use=yes
17005 echo "configure
: failed program was
:" >&5
17006 cat conftest.$ac_ext >&5
17008 glibcpp_cv_func_finitel_use=no
17012 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17013 ac_cpp='$CPP $CPPFLAGS'
17014 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17015 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17016 cross_compiling=$ac_cv_prog_cc_cross
17022 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
17024 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
17025 for ac_func in finitel
17027 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17028 echo "configure
:17029: checking
for $ac_func" >&5
17029 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17030 echo $ac_n "(cached
) $ac_c" 1>&6
17032 cat > conftest.$ac_ext <<EOF
17033 #line 17034 "configure
"
17034 #include "confdefs.h
"
17035 /* System header to define __stub macros and hopefully few prototypes,
17036 which can conflict with char $ac_func(); below. */
17037 #include <assert.h>
17038 /* Override any gcc2 internal prototype to avoid an error. */
17039 /* We use char because int might match the return type of a gcc2
17040 builtin and then its argument prototype would still apply. */
17045 /* The GNU C library defines this for functions which it implements
17046 to always fail with ENOSYS. Some functions are actually named
17047 something starting with __ and the normal name is an alias. */
17048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17056 if { (eval echo configure:17057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17058 eval "ac_cv_func_
$ac_func=yes"
17060 echo "configure
: failed program was
:" >&5
17061 cat conftest.$ac_ext >&5
17063 eval "ac_cv_func_
$ac_func=no
"
17068 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17069 echo "$ac_t""yes" 1>&6
17070 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17071 cat >> confdefs.h <<EOF
17072 #define $ac_tr_func 1
17076 echo "$ac_t""no
" 1>&6
17082 echo $ac_n "checking
for _finitel declaration
""...
$ac_c" 1>&6
17083 echo "configure
:17084: checking
for _finitel declaration
" >&5
17084 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
17085 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
17086 echo $ac_n "(cached
) $ac_c" 1>&6
17091 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17092 ac_cpp='$CXXCPP $CPPFLAGS'
17093 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17094 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17095 cross_compiling=$ac_cv_prog_cxx_cross
17097 cat > conftest.$ac_ext <<EOF
17098 #line 17099 "configure
"
17099 #include "confdefs.h
"
17101 #ifdef HAVE_IEEEFP_H
17102 #include <ieeefp.h>
17109 if { (eval echo configure:17110: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17111 glibcpp_cv_func__finitel_use=yes
17113 echo "configure
: failed program was
:" >&5
17114 cat conftest.$ac_ext >&5
17116 glibcpp_cv_func__finitel_use=no
17120 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17121 ac_cpp='$CPP $CPPFLAGS'
17122 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17123 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17124 cross_compiling=$ac_cv_prog_cc_cross
17130 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
17132 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
17133 for ac_func in _finitel
17135 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17136 echo "configure
:17137: checking
for $ac_func" >&5
17137 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17138 echo $ac_n "(cached
) $ac_c" 1>&6
17140 cat > conftest.$ac_ext <<EOF
17141 #line 17142 "configure
"
17142 #include "confdefs.h
"
17143 /* System header to define __stub macros and hopefully few prototypes,
17144 which can conflict with char $ac_func(); below. */
17145 #include <assert.h>
17146 /* Override any gcc2 internal prototype to avoid an error. */
17147 /* We use char because int might match the return type of a gcc2
17148 builtin and then its argument prototype would still apply. */
17153 /* The GNU C library defines this for functions which it implements
17154 to always fail with ENOSYS. Some functions are actually named
17155 something starting with __ and the normal name is an alias. */
17156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17164 if { (eval echo configure:17165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17166 eval "ac_cv_func_
$ac_func=yes"
17168 echo "configure
: failed program was
:" >&5
17169 cat conftest.$ac_ext >&5
17171 eval "ac_cv_func_
$ac_func=no
"
17176 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17177 echo "$ac_t""yes" 1>&6
17178 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17179 cat >> confdefs.h <<EOF
17180 #define $ac_tr_func 1
17184 echo "$ac_t""no
" 1>&6
17194 echo $ac_n "checking
for _float trig functions
""...
$ac_c" 1>&6
17195 echo "configure
:17196: checking
for _float trig functions
" >&5
17196 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
17197 echo $ac_n "(cached
) $ac_c" 1>&6
17202 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17203 ac_cpp='$CXXCPP $CPPFLAGS'
17204 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17205 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17206 cross_compiling=$ac_cv_prog_cxx_cross
17208 cat > conftest.$ac_ext <<EOF
17209 #line 17210 "configure
"
17210 #include "confdefs.h
"
17213 `for x in _acosf _asinf _atanf \
17214 _cosf _sinf _tanf \
17215 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
17218 if { (eval echo configure:17219: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17220 glibcpp_cv_func__float_trig_use=yes
17222 echo "configure
: failed program was
:" >&5
17223 cat conftest.$ac_ext >&5
17225 glibcpp_cv_func__float_trig_use=no
17229 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17230 ac_cpp='$CPP $CPPFLAGS'
17231 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17232 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17233 cross_compiling=$ac_cv_prog_cc_cross
17237 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
17238 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
17239 for ac_func in _acosf _asinf _atanf \
17240 _cosf _sinf _tanf \
17241 _coshf _sinhf _tanhf
17243 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17244 echo "configure
:17245: checking
for $ac_func" >&5
17245 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17246 echo $ac_n "(cached
) $ac_c" 1>&6
17248 cat > conftest.$ac_ext <<EOF
17249 #line 17250 "configure
"
17250 #include "confdefs.h
"
17251 /* System header to define __stub macros and hopefully few prototypes,
17252 which can conflict with char $ac_func(); below. */
17253 #include <assert.h>
17254 /* Override any gcc2 internal prototype to avoid an error. */
17255 /* We use char because int might match the return type of a gcc2
17256 builtin and then its argument prototype would still apply. */
17261 /* The GNU C library defines this for functions which it implements
17262 to always fail with ENOSYS. Some functions are actually named
17263 something starting with __ and the normal name is an alias. */
17264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17272 if { (eval echo configure:17273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17274 eval "ac_cv_func_
$ac_func=yes"
17276 echo "configure
: failed program was
:" >&5
17277 cat conftest.$ac_ext >&5
17279 eval "ac_cv_func_
$ac_func=no
"
17284 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17285 echo "$ac_t""yes" 1>&6
17286 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17287 cat >> confdefs.h <<EOF
17288 #define $ac_tr_func 1
17292 echo "$ac_t""no
" 1>&6
17299 echo $ac_n "checking
for _float round functions
""...
$ac_c" 1>&6
17300 echo "configure
:17301: checking
for _float round functions
" >&5
17301 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
17302 echo $ac_n "(cached
) $ac_c" 1>&6
17307 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17308 ac_cpp='$CXXCPP $CPPFLAGS'
17309 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17310 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17311 cross_compiling=$ac_cv_prog_cxx_cross
17313 cat > conftest.$ac_ext <<EOF
17314 #line 17315 "configure
"
17315 #include "confdefs.h
"
17318 `for x in _ceilf _floorf; do echo "$x (0);"; done`
17321 if { (eval echo configure:17322: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17323 glibcpp_cv_func__float_round_use=yes
17325 echo "configure
: failed program was
:" >&5
17326 cat conftest.$ac_ext >&5
17328 glibcpp_cv_func__float_round_use=no
17332 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17333 ac_cpp='$CPP $CPPFLAGS'
17334 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17335 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17336 cross_compiling=$ac_cv_prog_cc_cross
17340 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
17341 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
17342 for ac_func in _ceilf _floorf
17344 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17345 echo "configure
:17346: checking
for $ac_func" >&5
17346 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17347 echo $ac_n "(cached
) $ac_c" 1>&6
17349 cat > conftest.$ac_ext <<EOF
17350 #line 17351 "configure
"
17351 #include "confdefs.h
"
17352 /* System header to define __stub macros and hopefully few prototypes,
17353 which can conflict with char $ac_func(); below. */
17354 #include <assert.h>
17355 /* Override any gcc2 internal prototype to avoid an error. */
17356 /* We use char because int might match the return type of a gcc2
17357 builtin and then its argument prototype would still apply. */
17362 /* The GNU C library defines this for functions which it implements
17363 to always fail with ENOSYS. Some functions are actually named
17364 something starting with __ and the normal name is an alias. */
17365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17373 if { (eval echo configure:17374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17375 eval "ac_cv_func_
$ac_func=yes"
17377 echo "configure
: failed program was
:" >&5
17378 cat conftest.$ac_ext >&5
17380 eval "ac_cv_func_
$ac_func=no
"
17385 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17386 echo "$ac_t""yes" 1>&6
17387 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17388 cat >> confdefs.h <<EOF
17389 #define $ac_tr_func 1
17393 echo "$ac_t""no
" 1>&6
17401 echo $ac_n "checking
for _long double trig functions
""...
$ac_c" 1>&6
17402 echo "configure
:17403: checking
for _long double trig functions
" >&5
17403 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
17404 echo $ac_n "(cached
) $ac_c" 1>&6
17409 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17410 ac_cpp='$CXXCPP $CPPFLAGS'
17411 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17412 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17413 cross_compiling=$ac_cv_prog_cxx_cross
17415 cat > conftest.$ac_ext <<EOF
17416 #line 17417 "configure
"
17417 #include "confdefs.h
"
17420 `for x in _acosl _asinl _atanl \
17421 _cosl _sinl _tanl \
17422 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
17425 if { (eval echo configure:17426: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17427 glibcpp_cv_func__long_double_trig_use=yes
17429 echo "configure
: failed program was
:" >&5
17430 cat conftest.$ac_ext >&5
17432 glibcpp_cv_func__long_double_trig_use=no
17436 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17437 ac_cpp='$CPP $CPPFLAGS'
17438 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17439 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17440 cross_compiling=$ac_cv_prog_cc_cross
17444 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
17445 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
17446 for ac_func in _acosl _asinl _atanl \
17447 _cosl _sinl _tanl \
17448 _coshl _sinhl _tanhl
17450 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17451 echo "configure
:17452: checking
for $ac_func" >&5
17452 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17453 echo $ac_n "(cached
) $ac_c" 1>&6
17455 cat > conftest.$ac_ext <<EOF
17456 #line 17457 "configure
"
17457 #include "confdefs.h
"
17458 /* System header to define __stub macros and hopefully few prototypes,
17459 which can conflict with char $ac_func(); below. */
17460 #include <assert.h>
17461 /* Override any gcc2 internal prototype to avoid an error. */
17462 /* We use char because int might match the return type of a gcc2
17463 builtin and then its argument prototype would still apply. */
17468 /* The GNU C library defines this for functions which it implements
17469 to always fail with ENOSYS. Some functions are actually named
17470 something starting with __ and the normal name is an alias. */
17471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17479 if { (eval echo configure:17480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17481 eval "ac_cv_func_
$ac_func=yes"
17483 echo "configure
: failed program was
:" >&5
17484 cat conftest.$ac_ext >&5
17486 eval "ac_cv_func_
$ac_func=no
"
17491 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17492 echo "$ac_t""yes" 1>&6
17493 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17494 cat >> confdefs.h <<EOF
17495 #define $ac_tr_func 1
17499 echo "$ac_t""no
" 1>&6
17506 echo $ac_n "checking
for _long double round functions
""...
$ac_c" 1>&6
17507 echo "configure
:17508: checking
for _long double round functions
" >&5
17508 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
17509 echo $ac_n "(cached
) $ac_c" 1>&6
17514 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17515 ac_cpp='$CXXCPP $CPPFLAGS'
17516 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17517 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17518 cross_compiling=$ac_cv_prog_cxx_cross
17520 cat > conftest.$ac_ext <<EOF
17521 #line 17522 "configure
"
17522 #include "confdefs.h
"
17525 `for x in _ceill _floorl; do echo "$x (0);"; done`
17528 if { (eval echo configure:17529: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17530 glibcpp_cv_func__long_double_round_use=yes
17532 echo "configure
: failed program was
:" >&5
17533 cat conftest.$ac_ext >&5
17535 glibcpp_cv_func__long_double_round_use=no
17539 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17540 ac_cpp='$CPP $CPPFLAGS'
17541 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17542 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17543 cross_compiling=$ac_cv_prog_cc_cross
17547 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
17548 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
17549 for ac_func in _ceill _floorl
17551 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17552 echo "configure
:17553: checking
for $ac_func" >&5
17553 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17554 echo $ac_n "(cached
) $ac_c" 1>&6
17556 cat > conftest.$ac_ext <<EOF
17557 #line 17558 "configure
"
17558 #include "confdefs.h
"
17559 /* System header to define __stub macros and hopefully few prototypes,
17560 which can conflict with char $ac_func(); below. */
17561 #include <assert.h>
17562 /* Override any gcc2 internal prototype to avoid an error. */
17563 /* We use char because int might match the return type of a gcc2
17564 builtin and then its argument prototype would still apply. */
17569 /* The GNU C library defines this for functions which it implements
17570 to always fail with ENOSYS. Some functions are actually named
17571 something starting with __ and the normal name is an alias. */
17572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17580 if { (eval echo configure:17581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17582 eval "ac_cv_func_
$ac_func=yes"
17584 echo "configure
: failed program was
:" >&5
17585 cat conftest.$ac_ext >&5
17587 eval "ac_cv_func_
$ac_func=no
"
17592 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17593 echo "$ac_t""yes" 1>&6
17594 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17595 cat >> confdefs.h <<EOF
17596 #define $ac_tr_func 1
17600 echo "$ac_t""no
" 1>&6
17607 LIBS="$ac_save_LIBS"
17608 CXXFLAGS="$ac_save_CXXFLAGS"
17611 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
17612 echo "configure
:17613: checking
for main
in -lm" >&5
17613 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
17614 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17615 echo $ac_n "(cached
) $ac_c" 1>&6
17617 ac_save_LIBS="$LIBS"
17619 cat > conftest.$ac_ext <<EOF
17620 #line 17621 "configure
"
17621 #include "confdefs.h
"
17627 if { (eval echo configure:17628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17629 eval "ac_cv_lib_
$ac_lib_var=yes"
17631 echo "configure
: failed program was
:" >&5
17632 cat conftest.$ac_ext >&5
17634 eval "ac_cv_lib_
$ac_lib_var=no
"
17637 LIBS="$ac_save_LIBS"
17640 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17641 echo "$ac_t""yes" 1>&6
17642 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
17643 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
17644 cat >> confdefs.h <<EOF
17645 #define $ac_tr_lib 1
17651 echo "$ac_t""no
" 1>&6
17654 for ac_func in nan copysignf
17656 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17657 echo "configure
:17658: checking
for $ac_func" >&5
17658 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17659 echo $ac_n "(cached
) $ac_c" 1>&6
17661 cat > conftest.$ac_ext <<EOF
17662 #line 17663 "configure
"
17663 #include "confdefs.h
"
17664 /* System header to define __stub macros and hopefully few prototypes,
17665 which can conflict with char $ac_func(); below. */
17666 #include <assert.h>
17667 /* Override any gcc2 internal prototype to avoid an error. */
17668 /* We use char because int might match the return type of a gcc2
17669 builtin and then its argument prototype would still apply. */
17674 /* The GNU C library defines this for functions which it implements
17675 to always fail with ENOSYS. Some functions are actually named
17676 something starting with __ and the normal name is an alias. */
17677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17685 if { (eval echo configure:17686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17687 eval "ac_cv_func_
$ac_func=yes"
17689 echo "configure
: failed program was
:" >&5
17690 cat conftest.$ac_ext >&5
17692 eval "ac_cv_func_
$ac_func=no
"
17697 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17698 echo "$ac_t""yes" 1>&6
17699 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17700 cat >> confdefs.h <<EOF
17701 #define $ac_tr_func 1
17705 echo "$ac_t""no
" 1>&6
17706 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
17712 USE_COMPLEX_LONG_DOUBLE=no
17713 if test x$ac_cv_func_copysignl = x"yes"; then
17714 USE_COMPLEX_LONG_DOUBLE=yes
17715 for ac_func in signbitl
17717 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17718 echo "configure
:17719: checking
for $ac_func" >&5
17719 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17720 echo $ac_n "(cached
) $ac_c" 1>&6
17722 cat > conftest.$ac_ext <<EOF
17723 #line 17724 "configure
"
17724 #include "confdefs.h
"
17725 /* System header to define __stub macros and hopefully few prototypes,
17726 which can conflict with char $ac_func(); below. */
17727 #include <assert.h>
17728 /* Override any gcc2 internal prototype to avoid an error. */
17729 /* We use char because int might match the return type of a gcc2
17730 builtin and then its argument prototype would still apply. */
17735 /* The GNU C library defines this for functions which it implements
17736 to always fail with ENOSYS. Some functions are actually named
17737 something starting with __ and the normal name is an alias. */
17738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17746 if { (eval echo configure:17747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17748 eval "ac_cv_func_
$ac_func=yes"
17750 echo "configure
: failed program was
:" >&5
17751 cat conftest.$ac_ext >&5
17753 eval "ac_cv_func_
$ac_func=no
"
17758 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17759 echo "$ac_t""yes" 1>&6
17760 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17761 cat >> confdefs.h <<EOF
17762 #define $ac_tr_func 1
17766 echo "$ac_t""no
" 1>&6
17767 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
17778 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
17779 echo "configure
:17780: checking
for mbstate_t
" >&5
17780 cat > conftest.$ac_ext <<EOF
17781 #line 17782 "configure
"
17782 #include "confdefs.h
"
17785 mbstate_t teststate;
17788 if { (eval echo configure:17789: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17792 echo "configure
: failed program was
:" >&5
17793 cat conftest.$ac_ext >&5
17798 echo "$ac_t""$have_mbstate_t" 1>&6
17799 if test x"$have_mbstate_t" = xyes; then
17800 cat >> confdefs.h <<\EOF
17801 #define HAVE_MBSTATE_T 1
17806 for ac_hdr in wchar.h
17808 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17809 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
17810 echo "configure
:17811: checking
for $ac_hdr" >&5
17811 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17812 echo $ac_n "(cached
) $ac_c" 1>&6
17814 cat > conftest.$ac_ext <<EOF
17815 #line 17816 "configure
"
17816 #include "confdefs.h
"
17819 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
17820 { (eval echo configure:17821: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17821 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
17822 if test -z "$ac_err"; then
17824 eval "ac_cv_header_
$ac_safe=yes"
17827 echo "configure
: failed program was
:" >&5
17828 cat conftest.$ac_ext >&5
17830 eval "ac_cv_header_
$ac_safe=no
"
17834 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17835 echo "$ac_t""yes" 1>&6
17836 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17837 cat >> confdefs.h <<EOF
17838 #define $ac_tr_hdr 1
17842 echo "$ac_t""no
" 1>&6
17847 ac_safe=`echo "wctype.h
" | sed 'y%./+-%__p_%'`
17848 echo $ac_n "checking
for wctype.h
""...
$ac_c" 1>&6
17849 echo "configure
:17850: checking
for wctype.h
" >&5
17850 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17851 echo $ac_n "(cached
) $ac_c" 1>&6
17853 cat > conftest.$ac_ext <<EOF
17854 #line 17855 "configure
"
17855 #include "confdefs.h
"
17856 #include <wctype.h>
17858 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
17859 { (eval echo configure:17860: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17860 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
17861 if test -z "$ac_err"; then
17863 eval "ac_cv_header_
$ac_safe=yes"
17866 echo "configure
: failed program was
:" >&5
17867 cat conftest.$ac_ext >&5
17869 eval "ac_cv_header_
$ac_safe=no
"
17873 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17874 echo "$ac_t""yes" 1>&6
17875 ac_has_wctype_h=yes
17877 echo "$ac_t""no
" 1>&6
17882 if test x"$ac_has_wchar_h" = xyes &&
17883 test x"$ac_has_wctype_h" = xyes &&
17884 test x"$enable_c_mbchar" != xno; then
17886 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
17887 echo "configure
:17888: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
17888 cat > conftest.$ac_ext <<EOF
17889 #line 17890 "configure
"
17890 #include "confdefs.h
"
17893 int i = WCHAR_MIN; int j = WCHAR_MAX;
17896 if { (eval echo configure:17897: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17898 has_wchar_minmax=yes
17900 echo "configure
: failed program was
:" >&5
17901 cat conftest.$ac_ext >&5
17903 has_wchar_minmax=no
17906 echo "$ac_t""$has_wchar_minmax" 1>&6
17908 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
17909 echo "configure
:17910: checking
for WEOF
" >&5
17910 cat > conftest.$ac_ext <<EOF
17911 #line 17912 "configure
"
17912 #include "confdefs.h
"
17915 #include <stddef.h>
17920 if { (eval echo configure:17921: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17924 echo "configure
: failed program was
:" >&5
17925 cat conftest.$ac_ext >&5
17930 echo "$ac_t""$has_weof" 1>&6
17933 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
17935 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17936 echo "configure
:17937: checking
for $ac_func" >&5
17937 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17938 echo $ac_n "(cached
) $ac_c" 1>&6
17940 cat > conftest.$ac_ext <<EOF
17941 #line 17942 "configure
"
17942 #include "confdefs.h
"
17943 /* System header to define __stub macros and hopefully few prototypes,
17944 which can conflict with char $ac_func(); below. */
17945 #include <assert.h>
17946 /* Override any gcc2 internal prototype to avoid an error. */
17947 /* We use char because int might match the return type of a gcc2
17948 builtin and then its argument prototype would still apply. */
17953 /* The GNU C library defines this for functions which it implements
17954 to always fail with ENOSYS. Some functions are actually named
17955 something starting with __ and the normal name is an alias. */
17956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17964 if { (eval echo configure:17965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17966 eval "ac_cv_func_
$ac_func=yes"
17968 echo "configure
: failed program was
:" >&5
17969 cat conftest.$ac_ext >&5
17971 eval "ac_cv_func_
$ac_func=no
"
17976 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17977 echo "$ac_t""yes" 1>&6
17978 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17979 cat >> confdefs.h <<EOF
17980 #define $ac_tr_func 1
17984 echo "$ac_t""no
" 1>&6
17991 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
17992 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
17993 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
17994 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
17995 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
17996 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
17998 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17999 echo "configure
:18000: checking
for $ac_func" >&5
18000 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18001 echo $ac_n "(cached
) $ac_c" 1>&6
18003 cat > conftest.$ac_ext <<EOF
18004 #line 18005 "configure
"
18005 #include "confdefs.h
"
18006 /* System header to define __stub macros and hopefully few prototypes,
18007 which can conflict with char $ac_func(); below. */
18008 #include <assert.h>
18009 /* Override any gcc2 internal prototype to avoid an error. */
18010 /* We use char because int might match the return type of a gcc2
18011 builtin and then its argument prototype would still apply. */
18016 /* The GNU C library defines this for functions which it implements
18017 to always fail with ENOSYS. Some functions are actually named
18018 something starting with __ and the normal name is an alias. */
18019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18027 if { (eval echo configure:18028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18029 eval "ac_cv_func_
$ac_func=yes"
18031 echo "configure
: failed program was
:" >&5
18032 cat conftest.$ac_ext >&5
18034 eval "ac_cv_func_
$ac_func=no
"
18039 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18040 echo "$ac_t""yes" 1>&6
18041 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18042 cat >> confdefs.h <<EOF
18043 #define $ac_tr_func 1
18047 echo "$ac_t""no
" 1>&6
18054 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
18055 echo "configure
:18056: checking
for ISO C99 wchar_t support
" >&5
18056 if test x"$has_weof" = xyes &&
18057 test x"$has_wchar_minmax" = xyes &&
18058 test x"$ac_wfuncs" = xyes; then
18059 ac_isoC99_wchar_t=yes
18061 ac_isoC99_wchar_t=no
18063 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
18065 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
18066 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
18067 echo "configure
:18068: checking
for iconv.h
" >&5
18068 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18069 echo $ac_n "(cached
) $ac_c" 1>&6
18071 cat > conftest.$ac_ext <<EOF
18072 #line 18073 "configure
"
18073 #include "confdefs.h
"
18076 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
18077 { (eval echo configure:18078: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18078 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
18079 if test -z "$ac_err"; then
18081 eval "ac_cv_header_
$ac_safe=yes"
18084 echo "configure
: failed program was
:" >&5
18085 cat conftest.$ac_ext >&5
18087 eval "ac_cv_header_
$ac_safe=no
"
18091 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18092 echo "$ac_t""yes" 1>&6
18095 echo "$ac_t""no
" 1>&6
18099 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
18100 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
18101 echo "configure
:18102: checking
for langinfo.h
" >&5
18102 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18103 echo $ac_n "(cached
) $ac_c" 1>&6
18105 cat > conftest.$ac_ext <<EOF
18106 #line 18107 "configure
"
18107 #include "confdefs.h
"
18108 #include <langinfo.h>
18110 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
18111 { (eval echo configure:18112: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18112 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
18113 if test -z "$ac_err"; then
18115 eval "ac_cv_header_
$ac_safe=yes"
18118 echo "configure
: failed program was
:" >&5
18119 cat conftest.$ac_ext >&5
18121 eval "ac_cv_header_
$ac_safe=no
"
18125 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18126 echo "$ac_t""yes" 1>&6
18127 ac_has_langinfo_h=yes
18129 echo "$ac_t""no
" 1>&6
18130 ac_has_langinfo_h=no
18134 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
18135 echo "configure
:18136: checking
for iconv in -liconv" >&5
18136 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
18137 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18138 echo $ac_n "(cached
) $ac_c" 1>&6
18140 ac_save_LIBS="$LIBS"
18141 LIBS="-liconv $LIBS"
18142 cat > conftest.$ac_ext <<EOF
18143 #line 18144 "configure
"
18144 #include "confdefs.h
"
18145 /* Override any gcc2 internal prototype to avoid an error. */
18146 /* We use char because int might match the return type of a gcc2
18147 builtin and then its argument prototype would still apply. */
18154 if { (eval echo configure:18155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18156 eval "ac_cv_lib_
$ac_lib_var=yes"
18158 echo "configure
: failed program was
:" >&5
18159 cat conftest.$ac_ext >&5
18161 eval "ac_cv_lib_
$ac_lib_var=no
"
18164 LIBS="$ac_save_LIBS"
18167 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18168 echo "$ac_t""yes" 1>&6
18171 echo "$ac_t""no
" 1>&6
18174 ac_save_LIBS="$LIBS"
18175 LIBS="$LIBS $libiconv"
18177 for ac_func in iconv_open iconv_close iconv nl_langinfo
18179 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18180 echo "configure
:18181: checking
for $ac_func" >&5
18181 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18182 echo $ac_n "(cached
) $ac_c" 1>&6
18184 cat > conftest.$ac_ext <<EOF
18185 #line 18186 "configure
"
18186 #include "confdefs.h
"
18187 /* System header to define __stub macros and hopefully few prototypes,
18188 which can conflict with char $ac_func(); below. */
18189 #include <assert.h>
18190 /* Override any gcc2 internal prototype to avoid an error. */
18191 /* We use char because int might match the return type of a gcc2
18192 builtin and then its argument prototype would still apply. */
18197 /* The GNU C library defines this for functions which it implements
18198 to always fail with ENOSYS. Some functions are actually named
18199 something starting with __ and the normal name is an alias. */
18200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18208 if { (eval echo configure:18209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18210 eval "ac_cv_func_
$ac_func=yes"
18212 echo "configure
: failed program was
:" >&5
18213 cat conftest.$ac_ext >&5
18215 eval "ac_cv_func_
$ac_func=no
"
18220 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18221 echo "$ac_t""yes" 1>&6
18222 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18223 cat >> confdefs.h <<EOF
18224 #define $ac_tr_func 1
18229 echo "$ac_t""no
" 1>&6
18235 LIBS="$ac_save_LIBS"
18237 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
18238 echo "configure
:18239: checking
for XPG2 wchar_t support
" >&5
18239 if test x"$ac_has_iconv_h" = xyes &&
18240 test x"$ac_has_langinfo_h" = xyes &&
18241 test x"$ac_XPG2funcs" = xyes; then
18242 ac_XPG2_wchar_t=yes
18246 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
18248 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
18249 echo "configure
:18250: checking
for enabled wchar_t specializations
" >&5
18250 if test x"$ac_isoC99_wchar_t" = xyes &&
18251 test x"$ac_XPG2_wchar_t" = xyes; then
18252 cat >> confdefs.h <<\EOF
18253 #define _GLIBCPP_USE_WCHAR_T 1
18256 echo "$ac_t"""yes"" 1>&6
18258 echo "$ac_t"""no"" 1>&6
18261 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
18265 ac_test_CXXFLAGS="${CXXFLAGS+set}"
18266 ac_save_CXXFLAGS="$CXXFLAGS"
18267 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
18270 echo $ac_n "checking
for strtold declaration
""...
$ac_c" 1>&6
18271 echo "configure
:18272: checking
for strtold declaration
" >&5
18272 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
18273 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
18274 echo $ac_n "(cached
) $ac_c" 1>&6
18279 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18280 ac_cpp='$CXXCPP $CPPFLAGS'
18281 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18282 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18283 cross_compiling=$ac_cv_prog_cxx_cross
18285 cat > conftest.$ac_ext <<EOF
18286 #line 18287 "configure
"
18287 #include "confdefs.h
"
18288 #include <stdlib.h>
18293 if { (eval echo configure:18294: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18295 glibcpp_cv_func_strtold_use=yes
18297 echo "configure
: failed program was
:" >&5
18298 cat conftest.$ac_ext >&5
18300 glibcpp_cv_func_strtold_use=no
18304 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18305 ac_cpp='$CPP $CPPFLAGS'
18306 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18307 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18308 cross_compiling=$ac_cv_prog_cc_cross
18314 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
18315 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
18316 for ac_func in strtold
18318 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18319 echo "configure
:18320: checking
for $ac_func" >&5
18320 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18321 echo $ac_n "(cached
) $ac_c" 1>&6
18323 cat > conftest.$ac_ext <<EOF
18324 #line 18325 "configure
"
18325 #include "confdefs.h
"
18326 /* System header to define __stub macros and hopefully few prototypes,
18327 which can conflict with char $ac_func(); below. */
18328 #include <assert.h>
18329 /* Override any gcc2 internal prototype to avoid an error. */
18330 /* We use char because int might match the return type of a gcc2
18331 builtin and then its argument prototype would still apply. */
18336 /* The GNU C library defines this for functions which it implements
18337 to always fail with ENOSYS. Some functions are actually named
18338 something starting with __ and the normal name is an alias. */
18339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18347 if { (eval echo configure:18348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18349 eval "ac_cv_func_
$ac_func=yes"
18351 echo "configure
: failed program was
:" >&5
18352 cat conftest.$ac_ext >&5
18354 eval "ac_cv_func_
$ac_func=no
"
18359 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18360 echo "$ac_t""yes" 1>&6
18361 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18362 cat >> confdefs.h <<EOF
18363 #define $ac_tr_func 1
18367 echo "$ac_t""no
" 1>&6
18373 for ac_func in drand48
18375 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18376 echo "configure
:18377: checking
for $ac_func" >&5
18377 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18378 echo $ac_n "(cached
) $ac_c" 1>&6
18380 cat > conftest.$ac_ext <<EOF
18381 #line 18382 "configure
"
18382 #include "confdefs.h
"
18383 /* System header to define __stub macros and hopefully few prototypes,
18384 which can conflict with char $ac_func(); below. */
18385 #include <assert.h>
18386 /* Override any gcc2 internal prototype to avoid an error. */
18387 /* We use char because int might match the return type of a gcc2
18388 builtin and then its argument prototype would still apply. */
18393 /* The GNU C library defines this for functions which it implements
18394 to always fail with ENOSYS. Some functions are actually named
18395 something starting with __ and the normal name is an alias. */
18396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18404 if { (eval echo configure:18405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18406 eval "ac_cv_func_
$ac_func=yes"
18408 echo "configure
: failed program was
:" >&5
18409 cat conftest.$ac_ext >&5
18411 eval "ac_cv_func_
$ac_func=no
"
18416 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18417 echo "$ac_t""yes" 1>&6
18418 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18419 cat >> confdefs.h <<EOF
18420 #define $ac_tr_func 1
18424 echo "$ac_t""no
" 1>&6
18429 CXXFLAGS="$ac_save_CXXFLAGS"
18432 ac_safe=`echo "locale.h
" | sed 'y%./+-%__p_%'`
18433 echo $ac_n "checking
for locale.h
""...
$ac_c" 1>&6
18434 echo "configure
:18435: checking
for locale.h
" >&5
18435 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18436 echo $ac_n "(cached
) $ac_c" 1>&6
18438 cat > conftest.$ac_ext <<EOF
18439 #line 18440 "configure
"
18440 #include "confdefs.h
"
18441 #include <locale.h>
18443 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
18444 { (eval echo configure:18445: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18445 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
18446 if test -z "$ac_err"; then
18448 eval "ac_cv_header_
$ac_safe=yes"
18451 echo "configure
: failed program was
:" >&5
18452 cat conftest.$ac_ext >&5
18454 eval "ac_cv_header_
$ac_safe=no
"
18458 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18459 echo "$ac_t""yes" 1>&6
18461 echo $ac_n "checking
for LC_MESSAGES
""...
$ac_c" 1>&6
18462 echo "configure
:18463: checking
for LC_MESSAGES
" >&5
18463 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
18464 echo $ac_n "(cached
) $ac_c" 1>&6
18466 cat > conftest.$ac_ext <<EOF
18467 #line 18468 "configure
"
18468 #include "confdefs.h
"
18469 #include <locale.h>
18474 if { (eval echo configure:18475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18476 ac_cv_val_LC_MESSAGES=yes
18478 echo "configure
: failed program was
:" >&5
18479 cat conftest.$ac_ext >&5
18481 ac_cv_val_LC_MESSAGES=no
18486 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
18487 if test $ac_cv_val_LC_MESSAGES = yes; then
18488 cat >> confdefs.h <<\EOF
18489 #define HAVE_LC_MESSAGES 1
18495 echo "$ac_t""no
" 1>&6
18500 cat > conftest.$ac_ext <<EOF
18501 #line 18502 "configure
"
18502 #include "confdefs.h
"
18504 #include <setjmp.h>
18507 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
18510 if { (eval echo configure:18511: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18512 cat >> confdefs.h <<\EOF
18513 #define HAVE_SIGSETJMP 1
18518 echo "configure
: failed program was
:" >&5
18519 cat conftest.$ac_ext >&5
18523 for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h
18525 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18526 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
18527 echo "configure
:18528: checking
for $ac_hdr" >&5
18528 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18529 echo $ac_n "(cached
) $ac_c" 1>&6
18531 cat > conftest.$ac_ext <<EOF
18532 #line 18533 "configure
"
18533 #include "confdefs.h
"
18536 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
18537 { (eval echo configure:18538: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18538 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
18539 if test -z "$ac_err"; then
18541 eval "ac_cv_header_
$ac_safe=yes"
18544 echo "configure
: failed program was
:" >&5
18545 cat conftest.$ac_ext >&5
18547 eval "ac_cv_header_
$ac_safe=no
"
18551 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18552 echo "$ac_t""yes" 1>&6
18553 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18554 cat >> confdefs.h <<EOF
18555 #define $ac_tr_hdr 1
18559 echo "$ac_t""no
" 1>&6
18563 for ac_func in getpagesize
18565 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18566 echo "configure
:18567: checking
for $ac_func" >&5
18567 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18568 echo $ac_n "(cached
) $ac_c" 1>&6
18570 cat > conftest.$ac_ext <<EOF
18571 #line 18572 "configure
"
18572 #include "confdefs.h
"
18573 /* System header to define __stub macros and hopefully few prototypes,
18574 which can conflict with char $ac_func(); below. */
18575 #include <assert.h>
18576 /* Override any gcc2 internal prototype to avoid an error. */
18577 /* We use char because int might match the return type of a gcc2
18578 builtin and then its argument prototype would still apply. */
18583 /* The GNU C library defines this for functions which it implements
18584 to always fail with ENOSYS. Some functions are actually named
18585 something starting with __ and the normal name is an alias. */
18586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18594 if { (eval echo configure:18595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18596 eval "ac_cv_func_
$ac_func=yes"
18598 echo "configure
: failed program was
:" >&5
18599 cat conftest.$ac_ext >&5
18601 eval "ac_cv_func_
$ac_func=no
"
18606 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18607 echo "$ac_t""yes" 1>&6
18608 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18609 cat >> confdefs.h <<EOF
18610 #define $ac_tr_func 1
18614 echo "$ac_t""no
" 1>&6
18618 echo $ac_n "checking
for working mmap
""...
$ac_c" 1>&6
18619 echo "configure
:18620: checking
for working mmap
" >&5
18620 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
18621 echo $ac_n "(cached
) $ac_c" 1>&6
18623 if test "$cross_compiling" = yes; then
18624 ac_cv_func_mmap_fixed_mapped=no
18626 cat > conftest.$ac_ext <<EOF
18627 #line 18628 "configure
"
18628 #include "confdefs.h
"
18630 /* Thanks to Mike Haertel and Jim Avera for this test.
18631 Here is a matrix of mmap possibilities:
18632 mmap private not fixed
18633 mmap private fixed at somewhere currently unmapped
18634 mmap private fixed at somewhere already mapped
18635 mmap shared not fixed
18636 mmap shared fixed at somewhere currently unmapped
18637 mmap shared fixed at somewhere already mapped
18638 For private mappings, we should verify that changes cannot be read()
18639 back from the file, nor mmap's back from the file at a different
18640 address. (There have been systems where private was not correctly
18641 implemented like the infamous i386 svr4.0, and systems where the
18642 VM page cache was not coherent with the filesystem buffer cache
18643 like early versions of FreeBSD and possibly contemporary NetBSD.)
18644 For shared mappings, we should conversely verify that changes get
18645 propogated back to all the places they're supposed to be.
18647 Grep wants private fixed already mapped.
18648 The main things grep needs to know about mmap are:
18649 * does it exist and is it safe to write into the mmap'd area
18650 * how to use it (BSD variants) */
18651 #include <sys/types.h>
18653 #include <sys/mman.h>
18655 #if HAVE_SYS_TYPES_H
18656 # include <sys/types.h>
18660 # include <stdlib.h>
18663 #if HAVE_SYS_STAT_H
18664 # include <sys/stat.h>
18668 # include <unistd.h>
18671 /* This mess was copied from the GNU getpagesize.h. */
18672 #ifndef HAVE_GETPAGESIZE
18674 /* Assume that all systems that can run configure have sys/param.h. */
18675 # ifndef HAVE_SYS_PARAM_H
18676 # define HAVE_SYS_PARAM_H 1
18679 # ifdef _SC_PAGESIZE
18680 # define getpagesize() sysconf(_SC_PAGESIZE)
18681 # else /* no _SC_PAGESIZE */
18682 # ifdef HAVE_SYS_PARAM_H
18683 # include <sys/param.h>
18684 # ifdef EXEC_PAGESIZE
18685 # define getpagesize() EXEC_PAGESIZE
18686 # else /* no EXEC_PAGESIZE */
18688 # define getpagesize() NBPG * CLSIZE
18691 # endif /* no CLSIZE */
18692 # else /* no NBPG */
18694 # define getpagesize() NBPC
18695 # else /* no NBPC */
18697 # define getpagesize() PAGESIZE
18698 # endif /* PAGESIZE */
18699 # endif /* no NBPC */
18700 # endif /* no NBPG */
18701 # endif /* no EXEC_PAGESIZE */
18702 # else /* no HAVE_SYS_PARAM_H */
18703 # define getpagesize() 8192 /* punt totally */
18704 # endif /* no HAVE_SYS_PARAM_H */
18705 # endif /* no _SC_PAGESIZE */
18707 #endif /* no HAVE_GETPAGESIZE */
18710 extern "C
" { void *malloc(unsigned); }
18718 char *data, *data2, *data3;
18722 pagesize = getpagesize();
18725 * First, make a file with some known garbage in it.
18727 data = malloc(pagesize);
18730 for (i = 0; i < pagesize; ++i)
18731 *(data + i) = rand();
18733 fd = creat("conftestmmap
", 0600);
18736 if (write(fd, data, pagesize) != pagesize)
18741 * Next, try to mmap the file at a fixed address which
18742 * already has something else allocated at it. If we can,
18743 * also make sure that we see the same garbage.
18745 fd = open("conftestmmap
", O_RDWR);
18748 data2 = malloc(2 * pagesize);
18751 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
18752 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
18753 MAP_PRIVATE | MAP_FIXED, fd, 0L))
18755 for (i = 0; i < pagesize; ++i)
18756 if (*(data + i) != *(data2 + i))
18760 * Finally, make sure that changes to the mapped area
18761 * do not percolate back to the file as seen by read().
18762 * (This is a bug on some variants of i386 svr4.0.)
18764 for (i = 0; i < pagesize; ++i)
18765 *(data2 + i) = *(data2 + i) + 1;
18766 data3 = malloc(pagesize);
18769 if (read(fd, data3, pagesize) != pagesize)
18771 for (i = 0; i < pagesize; ++i)
18772 if (*(data + i) != *(data3 + i))
18775 unlink("conftestmmap
");
18780 if { (eval echo configure:18781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
18782 ac_cv_func_mmap_fixed_mapped=yes
18784 echo "configure
: failed program was
:" >&5
18785 cat conftest.$ac_ext >&5
18787 ac_cv_func_mmap_fixed_mapped=no
18794 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
18795 if test $ac_cv_func_mmap_fixed_mapped = yes; then
18796 cat >> confdefs.h <<\EOF
18797 #define HAVE_MMAP 1
18803 # Establish limits on memory usage during 'make check'
18806 setrlimit_have_headers=yes
18807 for ac_hdr in sys/resource.h unistd.h
18809 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18810 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
18811 echo "configure
:18812: checking
for $ac_hdr" >&5
18812 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18813 echo $ac_n "(cached
) $ac_c" 1>&6
18815 cat > conftest.$ac_ext <<EOF
18816 #line 18817 "configure
"
18817 #include "confdefs.h
"
18820 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
18821 { (eval echo configure:18822: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18822 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
18823 if test -z "$ac_err"; then
18825 eval "ac_cv_header_
$ac_safe=yes"
18828 echo "configure
: failed program was
:" >&5
18829 cat conftest.$ac_ext >&5
18831 eval "ac_cv_header_
$ac_safe=no
"
18835 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18836 echo "$ac_t""yes" 1>&6
18837 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18838 cat >> confdefs.h <<EOF
18839 #define $ac_tr_hdr 1
18843 echo "$ac_t""no
" 1>&6
18844 setrlimit_have_headers=no
18848 # If don't have the headers, then we can't run the tests now, and we
18849 # won't be seeing any of these during testsuite compilation.
18850 if test $setrlimit_have_headers = yes; then
18851 # Can't do these in a loop, else the resulting syntax is wrong.
18853 cat > conftest.$ac_ext <<EOF
18854 #line 18855 "configure
"
18855 #include "confdefs.h
"
18856 #include <sys/resource.h>
18857 #include <unistd.h>
18860 int f = RLIMIT_DATA ;
18863 if { (eval echo configure:18864: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18867 echo "configure
: failed program was
:" >&5
18868 cat conftest.$ac_ext >&5
18873 cat >> confdefs.h <<EOF
18874 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
18879 cat > conftest.$ac_ext <<EOF
18880 #line 18881 "configure
"
18881 #include "confdefs.h
"
18882 #include <sys/resource.h>
18883 #include <unistd.h>
18886 int f = RLIMIT_RSS ;
18889 if { (eval echo configure:18890: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18893 echo "configure
: failed program was
:" >&5
18894 cat conftest.$ac_ext >&5
18899 cat >> confdefs.h <<EOF
18900 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
18905 cat > conftest.$ac_ext <<EOF
18906 #line 18907 "configure
"
18907 #include "confdefs.h
"
18908 #include <sys/resource.h>
18909 #include <unistd.h>
18912 int f = RLIMIT_VMEM ;
18915 if { (eval echo configure:18916: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18919 echo "configure
: failed program was
:" >&5
18920 cat conftest.$ac_ext >&5
18925 cat >> confdefs.h <<EOF
18926 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
18931 cat > conftest.$ac_ext <<EOF
18932 #line 18933 "configure
"
18933 #include "confdefs.h
"
18934 #include <sys/resource.h>
18935 #include <unistd.h>
18938 int f = RLIMIT_AS ;
18941 if { (eval echo configure:18942: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18945 echo "configure
: failed program was
:" >&5
18946 cat conftest.$ac_ext >&5
18951 cat >> confdefs.h <<EOF
18952 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
18957 # Check for rlimit, setrlimit.
18958 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
18959 echo $ac_n "(cached
) $ac_c" 1>&6
18962 cat > conftest.$ac_ext <<EOF
18963 #line 18964 "configure
"
18964 #include "confdefs.h
"
18965 #include <sys/resource.h>
18966 #include <unistd.h>
18969 struct rlimit r; setrlimit(0, &r);
18972 if { (eval echo configure:18973: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18976 echo "configure
: failed program was
:" >&5
18977 cat conftest.$ac_ext >&5
18987 echo $ac_n "checking
for testsuite memory limit support
""...
$ac_c" 1>&6
18988 echo "configure
:18989: checking
for testsuite memory limit support
" >&5
18989 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
18991 cat >> confdefs.h <<\EOF
18992 #define _GLIBCPP_MEM_LIMITS 1
18998 echo "$ac_t""$ac_mem_limits" 1>&6
19001 # Look for setenv, so that extended locale tests can be performed.
19002 for ac_func in setenv
19004 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19005 echo "configure
:19006: checking
for $ac_func" >&5
19006 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19007 echo $ac_n "(cached
) $ac_c" 1>&6
19009 cat > conftest.$ac_ext <<EOF
19010 #line 19011 "configure
"
19011 #include "confdefs.h
"
19012 /* System header to define __stub macros and hopefully few prototypes,
19013 which can conflict with char $ac_func(); below. */
19014 #include <assert.h>
19015 /* Override any gcc2 internal prototype to avoid an error. */
19016 /* We use char because int might match the return type of a gcc2
19017 builtin and then its argument prototype would still apply. */
19022 /* The GNU C library defines this for functions which it implements
19023 to always fail with ENOSYS. Some functions are actually named
19024 something starting with __ and the normal name is an alias. */
19025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19033 if { (eval echo configure:19034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19035 eval "ac_cv_func_
$ac_func=yes"
19037 echo "configure
: failed program was
:" >&5
19038 cat conftest.$ac_ext >&5
19040 eval "ac_cv_func_
$ac_func=no
"
19045 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19046 echo "$ac_t""yes" 1>&6
19047 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19048 cat >> confdefs.h <<EOF
19049 #define $ac_tr_func 1
19053 echo "$ac_t""no
" 1>&6
19061 # Propagate the target-specific source directories through the build chain.
19062 OS_INC_SRCDIR=$os_include_dir/bits
19063 ATOMICITY_INC_SRCDIR=$ATOMICITYH/bits
19064 CPU_LIMITS_INC_SRCDIR=$CPULIMITSH/bits
19069 # Set up cross-compile flags
19073 if test "$CANADIAN" = yes; then
19081 cat > confcache <<\EOF
19082 # This file is a shell script that caches the results of configure
19083 # tests run on this system so they can be shared between configure
19084 # scripts and configure runs. It is not useful on other systems.
19085 # If it contains results you don't want to keep, you may remove or edit it.
19087 # By default, configure uses ./config.cache as the cache file,
19088 # creating it if it does not exist already. You can give configure
19089 # the --cache-file=FILE option to use a different cache file; that is
19090 # what configure does when it calls configure scripts in
19091 # subdirectories, so they share the cache.
19092 # Giving --cache-file=/dev/null disables caching, for debugging configure.
19093 # config.status only pays attention to the cache file if you give it the
19094 # --recheck option to rerun configure.
19097 # The following way of writing the cache mishandles newlines in values,
19098 # but we know of no workaround that is simple, portable, and efficient.
19099 # So, don't put newlines in cache variables' values.
19100 # Ultrix sh set writes to stderr and can't be redirected directly,
19101 # and sets the high bit in the cache file unless we assign to the vars.
19103 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19105 # `set' does not quote correctly, so add quotes (double-quote substitution
19106 # turns \\\\ into \\, and sed turns \\ into \).
19108 -e "s
/'/'\\\\''/g
" \
19109 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
19112 # `set' quotes correctly as required by POSIX, so do not add quotes.
19113 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
19116 if cmp -s $cache_file confcache; then
19119 if test -w $cache_file; then
19120 echo "updating cache
$cache_file"
19121 cat confcache > $cache_file
19123 echo "not updating unwritable cache
$cache_file"
19129 if test "${multilib}" = "yes"; then
19130 multilib_arg="--enable-multilib"
19135 # Needed so that g++ can find the correct include subdir automatically.
19138 # Export all the install information
19140 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
19141 # exported correctly in GLIBCPP_CONFIGURE.
19142 glibcpp_toolexecdir=no
19143 glibcpp_toolexeclibdir=no
19144 glibcpp_prefixdir=${prefix}
19146 echo $ac_n "checking
for interface version number
""...
$ac_c" 1>&6
19147 echo "configure
:19148: checking
for interface version number
" >&5
19148 libstdcxx_interface=$INTERFACE
19149 echo "$ac_t""$libstdcxx_interface" 1>&6
19151 # Process the option --with-gxx-include-dir=<path to include-files directory>
19152 echo $ac_n "checking
for --with-gxx-include-dir""...
$ac_c" 1>&6
19153 echo "configure
:19154: checking
for --with-gxx-include-dir" >&5
19154 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
19155 if test "${with_gxx_include_dir+set}" = set; then
19156 withval="$with_gxx_include_dir"
19157 case "${withval}" in
19159 { echo "configure
: error
: Missing directory
for --with-gxx-include-dir" 1>&2; exit 1; }
19166 gxx_include_dir=${withval}
19173 echo "$ac_t""$gxx_include_dir" 1>&6
19175 # Process the option "--enable-version-specific-runtime-libs"
19176 echo $ac_n "checking
for --enable-version-specific-runtime-libs""...
$ac_c" 1>&6
19177 echo "configure
:19178: checking
for --enable-version-specific-runtime-libs" >&5
19178 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
19179 if test "${enable_version_specific_runtime_libs+set}" = set; then
19180 enableval="$enable_version_specific_runtime_libs"
19181 case "$enableval" in
19182 yes) version_specific_libs=yes ;;
19183 no) version_specific_libs=no ;;
19184 *) { echo "configure
: error
: Unknown argument to enable
/disable version-specific libs
" 1>&2; exit 1; };;
19187 version_specific_libs=no
19189 # Option set, now we can test it.
19190 echo "$ac_t""$version_specific_libs" 1>&6
19192 if test $version_specific_libs = yes; then
19193 # Need the gcc compiler version to know where to install libraries
19194 # and header files if --enable-version-specific-runtime-libs option
19196 gcc_version_trigger=${srcdir}/../gcc/version.c
19197 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
19198 gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
19199 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/g++
19200 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
19201 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
19204 # Default case for install directory for include files.
19205 if test $version_specific_libs = no &&
19206 test $gxx_include_dir = no; then
19207 gxx_include_dir='$(prefix)'/include/g++-${libstdcxx_interface}
19210 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
19211 # Install a library built with a cross compiler in tooldir, not libdir.
19212 if test x"$glibcpp_toolexecdir" = x"no
"; then
19213 if test -n "$with_cross_host" &&
19214 test x"$with_cross_host" != x"no
"; then
19215 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
19216 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
19218 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
19219 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
19223 echo $ac_n "checking
for install location
""...
$ac_c" 1>&6
19224 echo "configure
:19225: checking
for install location
" >&5
19225 echo "$ac_t""$gxx_include_dir" 1>&6
19233 # Export all the include and flag information to makefiles.
19235 # Root level of the build directory include sources.
19236 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include
"
19238 # Passed down for canadian crosses.
19239 if test x"$CANADIAN" = xyes; then
19240 TOPLEVEL_INCLUDES='-I$(includedir)'
19243 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
19245 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
19247 if test x"$need_libio" = xyes; then
19248 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
19252 # Now, export this to all the little Makefiles....
19259 # Optimization flags that are probably a good idea for thrill-seekers. Just
19260 # uncomment the lines below and make, everything else is ready to go...
19261 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
19265 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
19269 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
19270 grep "enable shared
" > /dev/null; then
19271 LIBSUPCXX_PICFLAGS=-prefer-pic
19273 LIBSUPCXX_PICFLAGS=
19277 # Generate the various Makefiles, include files, and scripts.
19278 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
19279 # and libsupc++/Makefile.am so that multilib installs will end up
19280 # installed in the correct place. To work around this not being passed
19281 # down from config-ml.in -> top_srcdir/Makefile.am ->
19282 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
19284 cat > confcache <<\EOF
19285 # This file is a shell script that caches the results of configure
19286 # tests run on this system so they can be shared between configure
19287 # scripts and configure runs. It is not useful on other systems.
19288 # If it contains results you don't want to keep, you may remove or edit it.
19290 # By default, configure uses ./config.cache as the cache file,
19291 # creating it if it does not exist already. You can give configure
19292 # the --cache-file=FILE option to use a different cache file; that is
19293 # what configure does when it calls configure scripts in
19294 # subdirectories, so they share the cache.
19295 # Giving --cache-file=/dev/null disables caching, for debugging configure.
19296 # config.status only pays attention to the cache file if you give it the
19297 # --recheck option to rerun configure.
19300 # The following way of writing the cache mishandles newlines in values,
19301 # but we know of no workaround that is simple, portable, and efficient.
19302 # So, don't put newlines in cache variables' values.
19303 # Ultrix sh set writes to stderr and can't be redirected directly,
19304 # and sets the high bit in the cache file unless we assign to the vars.
19306 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19308 # `set' does not quote correctly, so add quotes (double-quote substitution
19309 # turns \\\\ into \\, and sed turns \\ into \).
19311 -e "s
/'/'\\\\''/g
" \
19312 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
19315 # `set' quotes correctly as required by POSIX, so do not add quotes.
19316 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
19319 if cmp -s $cache_file confcache; then
19322 if test -w $cache_file; then
19323 echo "updating cache
$cache_file"
19324 cat confcache > $cache_file
19326 echo "not updating unwritable cache
$cache_file"
19331 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
19333 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
19334 # Let make expand exec_prefix.
19335 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
19337 # Any assignment to VPATH causes Sun make to only execute
19338 # the first set of double-colon rules, so remove it if not needed.
19339 # If there is a colon in the path, we need to keep it.
19340 if test "x
$srcdir" = x.; then
19341 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
19344 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
19346 DEFS=-DHAVE_CONFIG_H
19348 # Without the ".
/", some shells look in PATH for config.status.
19349 : ${CONFIG_STATUS=./config.status}
19351 echo creating $CONFIG_STATUS
19352 rm -f $CONFIG_STATUS
19353 cat > $CONFIG_STATUS <<EOF
19355 # Generated automatically by configure.
19356 # Run this file to recreate the current configuration.
19357 # This directory was configured as follows,
19358 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19360 # $0 $ac_configure_args
19362 # Compiler output produced by configure, useful for debugging
19363 # configure, is in ./config.log if it exists.
19365 ac_cs_usage="Usage
: $CONFIG_STATUS [--recheck] [--version] [--help]"
19368 case "\
$ac_option" in
19369 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19370 echo "running \
${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
19371 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
19372 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
19373 echo "$CONFIG_STATUS generated by autoconf version
2.13"
19375 -help | --help | --hel | --he | --h)
19376 echo "\
$ac_cs_usage"; exit 0 ;;
19377 *) echo "\
$ac_cs_usage"; exit 1 ;;
19381 ac_given_srcdir=$srcdir
19382 ac_given_INSTALL="$INSTALL"
19384 trap 'rm -fr `echo "Makefile \
19385 include
/Makefile src
/Makefile \
19386 libmath
/Makefile libio
/Makefile libsupc
++/Makefile \
19387 po
/Makefile testsuite
/Makefile mkcheck testsuite_flags config.h
" | sed "s
/:[^
]*//g
"` conftest*; exit 1' 1 2 15
19389 cat >> $CONFIG_STATUS <<EOF
19391 # Protect against being on the right side of a sed subst in config.status.
19392 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
19393 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
19397 s%@CFLAGS@%$CFLAGS%g
19398 s%@CPPFLAGS@%$CPPFLAGS%g
19399 s%@CXXFLAGS@%$CXXFLAGS%g
19400 s%@FFLAGS@%$FFLAGS%g
19402 s%@LDFLAGS@%$LDFLAGS%g
19404 s%@exec_prefix@%$exec_prefix%g
19405 s%@prefix@%$prefix%g
19406 s%@program_transform_name@%$program_transform_name%g
19407 s%@bindir@%$bindir%g
19408 s%@sbindir@%$sbindir%g
19409 s%@libexecdir@%$libexecdir%g
19410 s%@datadir@%$datadir%g
19411 s%@sysconfdir@%$sysconfdir%g
19412 s%@sharedstatedir@%$sharedstatedir%g
19413 s%@localstatedir@%$localstatedir%g
19414 s%@libdir@%$libdir%g
19415 s%@includedir@%$includedir%g
19416 s%@oldincludedir@%$oldincludedir%g
19417 s%@infodir@%$infodir%g
19418 s%@mandir@%$mandir%g
19419 s%@PACKAGE@%$PACKAGE%g
19420 s%@release_VERSION@%$release_VERSION%g
19421 s%@libtool_VERSION@%$libtool_VERSION%g
19423 s%@host_alias@%$host_alias%g
19424 s%@host_cpu@%$host_cpu%g
19425 s%@host_vendor@%$host_vendor%g
19426 s%@host_os@%$host_os%g
19427 s%@target@%$target%g
19428 s%@target_alias@%$target_alias%g
19429 s%@target_cpu@%$target_cpu%g
19430 s%@target_vendor@%$target_vendor%g
19431 s%@target_os@%$target_os%g
19433 s%@build_alias@%$build_alias%g
19434 s%@build_cpu@%$build_cpu%g
19435 s%@build_vendor@%$build_vendor%g
19436 s%@build_os@%$build_os%g
19437 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
19438 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
19439 s%@INSTALL_DATA@%$INSTALL_DATA%g
19440 s%@VERSION@%$VERSION%g
19441 s%@ACLOCAL@%$ACLOCAL%g
19442 s%@AUTOCONF@%$AUTOCONF%g
19443 s%@AUTOMAKE@%$AUTOMAKE%g
19444 s%@AUTOHEADER@%$AUTOHEADER%g
19445 s%@MAKEINFO@%$MAKEINFO%g
19446 s%@SET_MAKE@%$SET_MAKE%g
19447 s%@toplevel_srcdir@%$toplevel_srcdir%g
19448 s%@glibcpp_builddir@%$glibcpp_builddir%g
19449 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
19451 s%@glibcpp_basedir@%$glibcpp_basedir%g
19453 s%@glibcpp_CXX@%$glibcpp_CXX%g
19456 s%@RANLIB@%$RANLIB%g
19457 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
19458 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
19460 s%@EXEEXT@%$EXEEXT%g
19461 s%@OBJEXT@%$OBJEXT%g
19463 s%@LIBTOOL@%$LIBTOOL%g
19464 s%@CXXCPP@%$CXXCPP%g
19465 s%@enable_shared@%$enable_shared%g
19466 s%@enable_static@%$enable_static%g
19467 s%@ifGNUmake@%$ifGNUmake%g
19468 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
19470 s%@CSTDIO_H@%$CSTDIO_H%g
19471 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
19472 s%@CCODECVT_C@%$CCODECVT_C%g
19473 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
19474 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
19475 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
19476 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
19477 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
19478 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
19479 s%@libio_la@%$libio_la%g
19480 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
19481 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
19482 s%@glibcpp_localedir@%$glibcpp_localedir%g
19483 s%@USE_NLS@%$USE_NLS%g
19484 s%@CLOCALE_H@%$CLOCALE_H%g
19485 s%@CCODECVT_H@%$CCODECVT_H%g
19486 s%@CMESSAGES_H@%$CMESSAGES_H%g
19487 s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
19488 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
19489 s%@GLIBCPP_USE_CSHADOW_TRUE@%$GLIBCPP_USE_CSHADOW_TRUE%g
19490 s%@GLIBCPP_USE_CSHADOW_FALSE@%$GLIBCPP_USE_CSHADOW_FALSE%g
19491 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
19492 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
19493 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
19494 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
19495 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
19496 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
19497 s%@USE_COMPLEX_LONG_DOUBLE@%$USE_COMPLEX_LONG_DOUBLE%g
19498 s%@WERROR@%$WERROR%g
19499 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
19500 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
19501 s%@CPU_LIMITS_INC_SRCDIR@%$CPU_LIMITS_INC_SRCDIR%g
19502 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
19503 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
19504 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
19505 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
19506 s%@gxx_include_dir@%$gxx_include_dir%g
19507 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
19508 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
19509 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
19510 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
19511 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
19512 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
19513 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
19514 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
19515 s%@WARN_FLAGS@%$WARN_FLAGS%g
19516 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
19521 cat >> $CONFIG_STATUS <<\EOF
19523 # Split the substitutions into bite-sized pieces for seds with
19524 # small command number limits, like on Digital OSF/1 and HP-UX.
19525 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
19526 ac_file=1 # Number of current file.
19527 ac_beg=1 # First line for current file.
19528 ac_end=$ac_max_sed_cmds # Line after last line for current file.
19531 while $ac_more_lines; do
19532 if test $ac_beg -gt 1; then
19533 sed "1,${ac_beg}d
; ${ac_end}q
" conftest.subs > conftest.s$ac_file
19535 sed "${ac_end}q
" conftest.subs > conftest.s$ac_file
19537 if test ! -s conftest.s$ac_file; then
19538 ac_more_lines=false
19539 rm -f conftest.s$ac_file
19541 if test -z "$ac_sed_cmds"; then
19542 ac_sed_cmds="sed -f conftest.s
$ac_file"
19544 ac_sed_cmds="$ac_sed_cmds |
sed -f conftest.s
$ac_file"
19546 ac_file=`expr $ac_file + 1`
19548 ac_end=`expr $ac_end + $ac_max_sed_cmds`
19551 if test -z "$ac_sed_cmds"; then
19556 cat >> $CONFIG_STATUS <<EOF
19558 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
19559 include
/Makefile src
/Makefile \
19560 libmath
/Makefile libio
/Makefile libsupc
++/Makefile \
19561 po
/Makefile testsuite
/Makefile mkcheck testsuite_flags
"}
19563 cat >> $CONFIG_STATUS <<\EOF
19564 for ac_file in .. $CONFIG_FILES; do if test "x
$ac_file" != x..; then
19565 # Support "outfile
[:infile
[:infile...
]]", defaulting infile="outfile.
in".
19567 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
19568 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
19569 *) ac_file_in="${ac_file}.
in" ;;
19572 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
19574 # Remove last slash and all that follows it. Not all systems have dirname.
19575 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
19576 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
19577 # The file is in a subdirectory.
19578 test ! -d "$ac_dir" && mkdir "$ac_dir"
19579 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
19580 # A "..
/" for each directory in $ac_dir_suffix.
19581 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
19583 ac_dir_suffix= ac_dots=
19586 case "$ac_given_srcdir" in
19588 if test -z "$ac_dots"; then top_srcdir=.
19589 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
19590 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
19591 *) # Relative path.
19592 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
19593 top_srcdir="$ac_dots$ac_given_srcdir" ;;
19596 case "$ac_given_INSTALL" in
19597 [/$]*) INSTALL="$ac_given_INSTALL" ;;
19598 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
19601 echo creating "$ac_file"
19603 configure_input="Generated automatically from
`echo $ac_file_in|sed 's%.*/%%'` by configure.
"
19605 *Makefile*) ac_comsub="1i
\\
19606 # $configure_input" ;;
19610 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
19612 s%@configure_input@%$configure_input%g
19613 s%@srcdir@%$srcdir%g
19614 s%@top_srcdir@%$top_srcdir%g
19615 s%@INSTALL@%$INSTALL%g
19616 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
19620 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
19621 # NAME is the cpp macro being defined and VALUE is the value it is being given.
19623 # ac_d sets the value in "#define NAME VALUE" lines.
19624 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
19625 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
19628 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
19629 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
19630 ac_uB
='\([ ]\)%\1#\2define\3'
19633 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
19634 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
19635 ac_eB
='$%\1#\2define\3'
19639 if test "${CONFIG_HEADERS+set}" != set; then
19641 cat >> $CONFIG_STATUS <<EOF
19642 CONFIG_HEADERS="config.h"
19644 cat >> $CONFIG_STATUS <<\EOF
19646 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
19647 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19649 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
19650 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
19651 *) ac_file_in
="${ac_file}.in" ;;
19654 echo creating
$ac_file
19656 rm -f conftest.frag conftest.
in conftest.out
19657 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
19658 cat $ac_file_inputs > conftest.
in
19662 # Transform confdefs.h into a sed script conftest.vals that substitutes
19663 # the proper values into config.h.in to produce config.h. And first:
19664 # Protect against being on the right side of a sed subst in config.status.
19665 # Protect against being in an unquoted here document in config.status.
19666 rm -f conftest.vals
19667 cat > conftest.hdr
<<\EOF
19670 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
19674 sed -n -f conftest.hdr confdefs.h > conftest.vals
19677 # This sed command replaces #undef with comments. This is necessary, for
19678 # example, in the case of _POSIX_SOURCE, which is predefined and required
19679 # on some systems where configure will not decide to define it.
19680 cat >> conftest.vals <<\EOF
19681 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
19684 # Break up conftest.vals because some shells have a limit on
19685 # the size of here documents, and old seds have small limits too.
19687 rm -f conftest.tail
19690 ac_lines=`grep -c . conftest.vals
`
19691 # grep -c gives empty output for an empty file on some AIX systems.
19692 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
19693 # Write a limited-size here document to conftest.frag.
19694 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
19695 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
19697 sed -f conftest.frag conftest.in > conftest.out
19699 mv conftest.out conftest.in
19700 ' >> $CONFIG_STATUS
19701 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
19702 rm -f conftest.vals
19703 mv conftest.tail conftest.vals
19705 rm -f conftest.vals
19707 cat >> $CONFIG_STATUS <<\EOF
19708 rm -f conftest.frag conftest.h
19709 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
19710 cat conftest.in >> conftest.h
19712 if cmp -s $ac_file conftest.h 2>/dev/null; then
19713 echo "$ac_file is unchanged"
19716 # Remove last slash and all that follows it. Not all systems have dirname.
19717 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
19718 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
19719 # The file is in a subdirectory.
19720 test ! -d "$ac_dir" && mkdir "$ac_dir"
19723 mv conftest.h $ac_file
19729 cat >> $CONFIG_STATUS <<EOF
19730 ac_sources="$BASIC_FILE_CC $CLOCALE_CC $CCOLLATE_CC $CCTYPE_CC $CMESSAGES_CC $CMONEY_CC $CNUMERIC_CC $CTIME_CC"
19731 ac_dests="src/basic_file.cc src/c++locale.cc src/collate.cc src/ctype.cc src/messages.cc src/moneypunct.cc src/numpunct.cc src/time.cc"
19734 cat >> $CONFIG_STATUS <<\EOF
19735 srcdir=$ac_given_srcdir
19736 while test -n "$ac_sources"; do
19737 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
19738 set $ac_sources; ac_source=$1; shift; ac_sources=$*
19740 echo "linking $srcdir/$ac_source to $ac_dest"
19742 if test ! -r $srcdir/$ac_source; then
19743 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
19747 # Make relative symlinks.
19748 # Remove last slash and all that follows it. Not all systems have dirname.
19749 ac_dest_dir=`echo $ac_dest|
sed 's%/[^/][^/]*$%%'`
19750 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
19751 # The dest file is in a subdirectory.
19752 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
19753 ac_dest_dir_suffix="/`echo $ac_dest_dir|
sed 's%^\./%%'`"
19754 # A "../" for each directory in $ac_dest_dir_suffix.
19755 ac_dots=`echo $ac_dest_dir_suffix|
sed 's%/[^/]*%../%g'`
19757 ac_dest_dir_suffix= ac_dots=
19761 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
19762 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
19765 # Make a symlink if possible; otherwise try a hard link.
19766 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
19767 ln $srcdir/$ac_source $ac_dest; then :
19769 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
19773 cat >> $CONFIG_STATUS <<EOF
19778 with_multisubdir=${with_multisubdir}
19779 ac_configure_args="${multilib_arg} ${ac_configure_args}"
19780 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
19781 glibcpp_basedir=${glibcpp_basedir}
19786 cat >> $CONFIG_STATUS <<\EOF
19787 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
19788 if test -n "$CONFIG_FILES"; then
19789 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
19790 grep '^MULTISUBDIR =' Makefile >> src/Makefile
19791 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
19794 chmod +x testsuite_flags
19798 chmod +x $CONFIG_STATUS
19799 rm -fr confdefs* $ac_clean_files
19800 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
19804 # Sanity checking & User-visible messages.
19805 # Checks down here, otherwise they get scrolled off before
19806 # the user will notice.
19808 # Trying to get more people to read documentation. Possibly remove
19809 # check and warn all the time. There is no "informational" AC_MSG_
19810 # macro, so these are going to be printed even when --quiet/--silent
19812 if test ! -f stamp-sanity-warned; then
19813 touch stamp-sanity-warned
19815 echo "Please make certain that you read the installation information here:"
19816 echo " faster => ${srcdir}/docs/install.html"
19817 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
19819 echo "and the configuration information here:"
19820 echo " faster => ${srcdir}/docs/configopts.html"
19821 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
19823 echo "before proceeding with ${_cv_gnu_make_command}."